From c7769ce1a966782b75690ba7ea0b99e9e93e5cf2 Mon Sep 17 00:00:00 2001 From: Yaroslav Kuznietsov Date: Fri, 28 Oct 2022 18:30:03 +0300 Subject: [PATCH 001/111] [Lens] Gauge expression types improvement. (#144168) * Provided expression type. * FIxed types. --- .../public/visualizations/gauge/constants.ts | 2 +- .../gauge/visualization.test.ts | 2 - .../visualizations/gauge/visualization.tsx | 60 +++++++------------ 3 files changed, 23 insertions(+), 41 deletions(-) diff --git a/x-pack/plugins/lens/public/visualizations/gauge/constants.ts b/x-pack/plugins/lens/public/visualizations/gauge/constants.ts index 3c6ab9f8471b8..29ee228848163 100644 --- a/x-pack/plugins/lens/public/visualizations/gauge/constants.ts +++ b/x-pack/plugins/lens/public/visualizations/gauge/constants.ts @@ -5,7 +5,7 @@ * 2.0. */ -import { GaugeState as GaugeStateOriginal } from '@kbn/expression-gauge-plugin/common'; +import type { GaugeState as GaugeStateOriginal } from '@kbn/expression-gauge-plugin/common'; import { LayerType } from '../../../common'; export const LENS_GAUGE_ID = 'lnsGauge'; diff --git a/x-pack/plugins/lens/public/visualizations/gauge/visualization.test.ts b/x-pack/plugins/lens/public/visualizations/gauge/visualization.test.ts index 1ecedc1a63c41..38580d33163ca 100644 --- a/x-pack/plugins/lens/public/visualizations/gauge/visualization.test.ts +++ b/x-pack/plugins/lens/public/visualizations/gauge/visualization.test.ts @@ -570,8 +570,6 @@ describe('gauge', () => { ticksPosition: ['auto'], labelMajorMode: ['auto'], labelMinor: ['Subtitle'], - labelMajor: [], - palette: [], shape: ['horizontalBullet'], }, }, diff --git a/x-pack/plugins/lens/public/visualizations/gauge/visualization.tsx b/x-pack/plugins/lens/public/visualizations/gauge/visualization.tsx index 803e4e30acb59..684703a7e0011 100644 --- a/x-pack/plugins/lens/public/visualizations/gauge/visualization.tsx +++ b/x-pack/plugins/lens/public/visualizations/gauge/visualization.tsx @@ -12,10 +12,10 @@ import { ThemeServiceStart } from '@kbn/core/public'; import { KibanaThemeProvider } from '@kbn/kibana-react-plugin/public'; import { FormattedMessage, I18nProvider } from '@kbn/i18n-react'; import { Ast } from '@kbn/interpreter'; -import { DatatableRow } from '@kbn/expressions-plugin/common'; +import { buildExpressionFunction, DatatableRow } from '@kbn/expressions-plugin/common'; import { PaletteRegistry, CustomPaletteParams, CUSTOM_PALETTE } from '@kbn/coloring'; -import type { GaugeArguments } from '@kbn/expression-gauge-plugin/common'; -import { GaugeShapes, EXPRESSION_GAUGE_NAME } from '@kbn/expression-gauge-plugin/common'; +import type { GaugeExpressionFunctionDefinition } from '@kbn/expression-gauge-plugin/common'; +import { GaugeShapes } from '@kbn/expression-gauge-plugin/common'; import { getGoalValue, getMaxValue, @@ -27,12 +27,7 @@ import { LayerTypes } from '@kbn/expression-xy-plugin/public'; import type { FormBasedPersistedState } from '../../datasources/form_based/types'; import type { DatasourceLayers, OperationMetadata, Suggestion, Visualization } from '../../types'; import { getSuggestions } from './suggestions'; -import { - GROUP_ID, - LENS_GAUGE_ID, - GaugeVisualizationState, - GaugeExpressionState, -} from './constants'; +import { GROUP_ID, LENS_GAUGE_ID, GaugeVisualizationState } from './constants'; import { GaugeToolbar } from './toolbar_component'; import { applyPaletteParams } from '../../shared_components'; import { GaugeDimensionEditor } from './dimension_editor'; @@ -116,7 +111,7 @@ const toExpression = ( paletteService: PaletteRegistry, state: GaugeVisualizationState, datasourceLayers: DatasourceLayers, - attributes?: Partial>, + attributes?: unknown, datasourceExpressionsByLayers: Record | undefined = {} ): Ast | null => { const datasource = datasourceLayers[state.layerId]; @@ -127,36 +122,25 @@ const toExpression = ( return null; } + const gaugeFn = buildExpressionFunction('gauge', { + metric: state.metricAccessor, + min: state.minAccessor, + max: state.maxAccessor, + goal: state.goalAccessor, + shape: state.shape ?? GaugeShapes.HORIZONTAL_BULLET, + colorMode: state?.colorMode ?? 'none', + palette: state.palette?.params + ? paletteService.get(CUSTOM_PALETTE).toExpression(computePaletteParams(state.palette.params)) + : undefined, + ticksPosition: state.ticksPosition ?? 'auto', + labelMinor: state.labelMinor, + labelMajor: state.labelMajor, + labelMajorMode: state.labelMajorMode ?? 'auto', + }); + return { type: 'expression', - chain: [ - ...(datasourceExpression?.chain ?? []), - { - type: 'function', - function: EXPRESSION_GAUGE_NAME, - arguments: { - metric: state.metricAccessor ? [state.metricAccessor] : [], - min: state.minAccessor ? [state.minAccessor] : [], - max: state.maxAccessor ? [state.maxAccessor] : [], - goal: state.goalAccessor ? [state.goalAccessor] : [], - shape: [state.shape ?? GaugeShapes.HORIZONTAL_BULLET], - colorMode: [state?.colorMode ?? 'none'], - palette: state.palette?.params - ? [ - paletteService - .get(CUSTOM_PALETTE) - .toExpression( - computePaletteParams((state.palette?.params || {}) as CustomPaletteParams) - ), - ] - : [], - ticksPosition: state.ticksPosition ? [state.ticksPosition] : ['auto'], - labelMinor: state.labelMinor ? [state.labelMinor] : [], - labelMajor: state.labelMajor ? [state.labelMajor] : [], - labelMajorMode: state.labelMajorMode ? [state.labelMajorMode] : ['auto'], - }, - }, - ], + chain: [...(datasourceExpression?.chain ?? []), gaugeFn.toAst()], }; }; From c5b1afdec17c4f1323553229871ca681eef9ee02 Mon Sep 17 00:00:00 2001 From: "Joey F. Poon" Date: Fri, 28 Oct 2022 10:47:53 -0500 Subject: [PATCH 002/111] [Security Solution] split endpoint rbac feature flags (#143991) --- .../endpoint/service/authz/authz.test.ts | 4 + .../common/endpoint/service/authz/authz.ts | 15 +- .../common/experimental_features.ts | 6 + .../endpoint/use_endpoint_privileges.ts | 4 +- .../public/management/links.ts | 4 +- .../endpoint/endpoint_app_context_services.ts | 4 +- .../security_solution/server/features.ts | 810 +++++++++--------- .../server/request_context_factory.ts | 6 +- 8 files changed, 439 insertions(+), 414 deletions(-) diff --git a/x-pack/plugins/security_solution/common/endpoint/service/authz/authz.test.ts b/x-pack/plugins/security_solution/common/endpoint/service/authz/authz.test.ts index e00434559b9ca..7ee477e3076c8 100644 --- a/x-pack/plugins/security_solution/common/endpoint/service/authz/authz.test.ts +++ b/x-pack/plugins/security_solution/common/endpoint/service/authz/authz.test.ts @@ -115,6 +115,10 @@ describe('Endpoint Authz service', () => { }); describe('and endpoint rbac is enabled', () => { + beforeEach(() => { + userRoles = []; + }); + it.each<[EndpointAuthzKeyList[number], string]>([ ['canWriteEndpointList', 'writeEndpointList'], ['canReadEndpointList', 'readEndpointList'], diff --git a/x-pack/plugins/security_solution/common/endpoint/service/authz/authz.ts b/x-pack/plugins/security_solution/common/endpoint/service/authz/authz.ts index 93b5289bdc391..0bf21e4734ba2 100644 --- a/x-pack/plugins/security_solution/common/endpoint/service/authz/authz.ts +++ b/x-pack/plugins/security_solution/common/endpoint/service/authz/authz.ts @@ -25,9 +25,18 @@ function hasPermission( hasEndpointManagementAccess: boolean, privilege: typeof ENDPOINT_PRIVILEGES[number] ): boolean { - return isEndpointRbacEnabled - ? fleetAuthz.packagePrivileges?.endpoint?.actions[privilege].executePackageAction ?? false - : hasEndpointManagementAccess; + // user is superuser, always return true + if (hasEndpointManagementAccess) { + return true; + } + + // not superuser and FF not enabled, no access + if (!isEndpointRbacEnabled) { + return false; + } + + // FF enabled, access based on privileges + return fleetAuthz.packagePrivileges?.endpoint?.actions[privilege].executePackageAction ?? false; } /** diff --git a/x-pack/plugins/security_solution/common/experimental_features.ts b/x-pack/plugins/security_solution/common/experimental_features.ts index a92dde76777f5..1c4c8c6bfb67c 100644 --- a/x-pack/plugins/security_solution/common/experimental_features.ts +++ b/x-pack/plugins/security_solution/common/experimental_features.ts @@ -65,6 +65,12 @@ export const allowedExperimentalValues = Object.freeze({ */ endpointRbacEnabled: false, + /** + * Enables endpoint package level rbac for response actions only. + * if endpointRbacEnabled is enabled, it will take precedence. + */ + endpointRbacV1Enabled: false, + /** * Enables the Guided Onboarding tour in security */ diff --git a/x-pack/plugins/security_solution/public/common/components/user_privileges/endpoint/use_endpoint_privileges.ts b/x-pack/plugins/security_solution/public/common/components/user_privileges/endpoint/use_endpoint_privileges.ts index 17de09113df9a..483bf2192efc5 100644 --- a/x-pack/plugins/security_solution/public/common/components/user_privileges/endpoint/use_endpoint_privileges.ts +++ b/x-pack/plugins/security_solution/public/common/components/user_privileges/endpoint/use_endpoint_privileges.ts @@ -44,6 +44,7 @@ export const useEndpointPrivileges = (): Immutable => { const fleetServices = fleetServicesFromUseKibana ?? fleetServicesFromPluginStart; const isEndpointRbacEnabled = useIsExperimentalFeatureEnabled('endpointRbacEnabled'); + const isEndpointRbacV1Enabled = useIsExperimentalFeatureEnabled('endpointRbacV1Enabled'); const endpointPermissions = calculatePermissionsFromCapabilities( useKibana().services.application.capabilities @@ -57,7 +58,7 @@ export const useEndpointPrivileges = (): Immutable => { licenseService, fleetAuthz, userRoles, - isEndpointRbacEnabled, + isEndpointRbacEnabled || isEndpointRbacV1Enabled, endpointPermissions ) : getEndpointAuthzInitialState()), @@ -72,6 +73,7 @@ export const useEndpointPrivileges = (): Immutable => { licenseService, userRoles, isEndpointRbacEnabled, + isEndpointRbacV1Enabled, endpointPermissions, ]); diff --git a/x-pack/plugins/security_solution/public/management/links.ts b/x-pack/plugins/security_solution/public/management/links.ts index 0eaa0202bd0d1..22ad1a374a11b 100644 --- a/x-pack/plugins/security_solution/public/management/links.ts +++ b/x-pack/plugins/security_solution/public/management/links.ts @@ -244,7 +244,7 @@ export const getManagementFilteredLinks = async ( plugins: StartPlugins ): Promise => { const fleetAuthz = plugins.fleet?.authz; - const isEndpointRbacEnabled = ExperimentalFeaturesService.get().endpointRbacEnabled; + const { endpointRbacEnabled, endpointRbacV1Enabled } = ExperimentalFeaturesService.get(); const endpointPermissions = calculatePermissionsFromCapabilities(core.application.capabilities); const linksToExclude: SecurityPageName[] = []; @@ -255,7 +255,7 @@ export const getManagementFilteredLinks = async ( licenseService, fleetAuthz, currentUserResponse.roles, - isEndpointRbacEnabled, + endpointRbacEnabled || endpointRbacV1Enabled, endpointPermissions ) : getEndpointAuthzInitialState(); diff --git a/x-pack/plugins/security_solution/server/endpoint/endpoint_app_context_services.ts b/x-pack/plugins/security_solution/server/endpoint/endpoint_app_context_services.ts index 6b6baf163dc90..21c083ac77129 100644 --- a/x-pack/plugins/security_solution/server/endpoint/endpoint_app_context_services.ts +++ b/x-pack/plugins/security_solution/server/endpoint/endpoint_app_context_services.ts @@ -167,7 +167,7 @@ export class EndpointAppContextService { public async getEndpointAuthz(request: KibanaRequest): Promise { const fleetAuthz = await this.getFleetAuthzService().fromRequest(request); const userRoles = this.security?.authc.getCurrentUser(request)?.roles ?? []; - const isEndpointRbacEnabled = this.experimentalFeatures.endpointRbacEnabled; + const { endpointRbacEnabled, endpointRbacV1Enabled } = this.experimentalFeatures; let endpointPermissions = defaultEndpointPermissions(); if (this.security) { @@ -185,7 +185,7 @@ export class EndpointAppContextService { this.getLicenseService(), fleetAuthz, userRoles, - isEndpointRbacEnabled, + endpointRbacEnabled || endpointRbacV1Enabled, endpointPermissions ); } diff --git a/x-pack/plugins/security_solution/server/features.ts b/x-pack/plugins/security_solution/server/features.ts index 64a082eaea9a6..8dd4b56f655b6 100644 --- a/x-pack/plugins/security_solution/server/features.ts +++ b/x-pack/plugins/security_solution/server/features.ts @@ -7,7 +7,7 @@ import { i18n } from '@kbn/i18n'; -import type { KibanaFeatureConfig } from '@kbn/features-plugin/common'; +import type { KibanaFeatureConfig, SubFeatureConfig } from '@kbn/features-plugin/common'; import { DEFAULT_APP_CATEGORIES } from '@kbn/core/server'; import { DATA_VIEW_SAVED_OBJECT_TYPE } from '@kbn/data-views-plugin/common'; import { createUICapabilities } from '@kbn/cases-plugin/common'; @@ -101,6 +101,411 @@ const CLOUD_POSTURE_APP_ID = 'csp'; // Same as the saved-object type for rules defined by Cloud Security Posture const CLOUD_POSTURE_SAVED_OBJECT_RULE_TYPE = 'csp_rule'; +const responseActionSubFeatures: SubFeatureConfig[] = [ + { + requireAllSpaces: true, + privilegesTooltip: i18n.translate( + 'xpack.securitySolution.featureRegistry.subFeatures.actionsLogManagement.privilegesTooltip', + { + defaultMessage: 'All Spaces is required for Actions Log Management access.', + } + ), + name: i18n.translate( + 'xpack.securitySolution.featureRegistry.subFeatures.actionsLogManagement', + { + defaultMessage: 'Actions Log Management', + } + ), + privilegeGroups: [ + { + groupType: 'mutually_exclusive', + privileges: [ + { + api: [`${APP_ID}-writeActionsLogManagement`, `${APP_ID}-readActionsLogManagement`], + id: 'actions_log_management_all', + includeIn: 'none', + name: 'All', + savedObject: { + all: [], + read: [], + }, + ui: ['writeActionsLogManagement', 'readActionsLogManagement'], + }, + { + api: [`${APP_ID}-readActionsLogManagement`], + id: 'actions_log_management_read', + includeIn: 'none', + name: 'Read', + savedObject: { + all: [], + read: [], + }, + ui: ['readActionsLogManagement'], + }, + ], + }, + ], + }, + { + requireAllSpaces: true, + privilegesTooltip: i18n.translate( + 'xpack.securitySolution.featureRegistry.subFeatures.hostIsolation.privilegesTooltip', + { + defaultMessage: 'All Spaces is required for Host Isolation access.', + } + ), + name: i18n.translate('xpack.securitySolution.featureRegistry.subFeatures.hostIsolation', { + defaultMessage: 'Host Isolation', + }), + privilegeGroups: [ + { + groupType: 'mutually_exclusive', + privileges: [ + { + api: [`${APP_ID}-writeHostIsolation`], + id: 'host_isolation_all', + includeIn: 'none', + name: 'All', + savedObject: { + all: [], + read: [], + }, + ui: ['writeHostIsolation'], + }, + ], + }, + ], + }, + { + requireAllSpaces: true, + privilegesTooltip: i18n.translate( + 'xpack.securitySolution.featureRegistry.subFeatures.processOperations.privilegesTooltip', + { + defaultMessage: 'All Spaces is required for Process Operations access.', + } + ), + name: i18n.translate('xpack.securitySolution.featureRegistry.subFeatures.processOperations', { + defaultMessage: 'Process Operations', + }), + privilegeGroups: [ + { + groupType: 'mutually_exclusive', + privileges: [ + { + api: [`${APP_ID}-writeProcessOperations`], + id: 'process_operations_all', + includeIn: 'none', + name: 'All', + savedObject: { + all: [], + read: [], + }, + ui: ['writeProcessOperations'], + }, + ], + }, + ], + }, + { + requireAllSpaces: true, + privilegesTooltip: i18n.translate( + 'xpack.securitySolution.featureRegistry.subFeatures.fileOperations.privilegesTooltip', + { + defaultMessage: 'All Spaces is required for File Operations access.', + } + ), + name: i18n.translate('xpack.securitySolution.featureRegistr.subFeatures.fileOperations', { + defaultMessage: 'File Operations', + }), + privilegeGroups: [ + { + groupType: 'mutually_exclusive', + privileges: [ + { + api: [`${APP_ID}-writeFileOperations`], + id: 'file_operations_all', + includeIn: 'none', + name: 'All', + savedObject: { + all: [], + read: [], + }, + ui: ['writeFileOperations'], + }, + ], + }, + ], + }, +]; + +const subFeatures: SubFeatureConfig[] = [ + { + requireAllSpaces: true, + privilegesTooltip: i18n.translate( + 'xpack.securitySolution.featureRegistry.subFeatures.endpointList.privilegesTooltip', + { + defaultMessage: 'All Spaces is required for Endpoint List access.', + } + ), + name: i18n.translate('xpack.securitySolution.featureRegistry.subFeatures.endpointList', { + defaultMessage: 'Endpoint List', + }), + privilegeGroups: [ + { + groupType: 'mutually_exclusive', + privileges: [ + { + api: [`${APP_ID}-writeEndpointList`, `${APP_ID}-readEndpointList`], + id: 'endpoint_list_all', + includeIn: 'none', + name: 'All', + savedObject: { + all: [], + read: [], + }, + ui: ['writeEndpointList', 'readEndpointList'], + }, + { + api: [`${APP_ID}-readEndpointList`], + id: 'endpoint_list_read', + includeIn: 'none', + name: 'Read', + savedObject: { + all: [], + read: [], + }, + ui: ['readEndpointList'], + }, + ], + }, + ], + }, + { + requireAllSpaces: true, + privilegesTooltip: i18n.translate( + 'xpack.securitySolution.featureRegistry.subFeatures.trustedApplications.privilegesTooltip', + { + defaultMessage: 'All Spaces is required for Trusted Applications access.', + } + ), + name: i18n.translate('xpack.securitySolution.featureRegistry.subFeatures.trustedApplications', { + defaultMessage: 'Trusted Applications', + }), + privilegeGroups: [ + { + groupType: 'mutually_exclusive', + privileges: [ + { + api: [`${APP_ID}-writeTrustedApplications`, `${APP_ID}-readTrustedApplications`], + id: 'trusted_applications_all', + includeIn: 'none', + name: 'All', + savedObject: { + all: [], + read: [], + }, + ui: ['writeTrustedApplications', 'readTrustedApplications'], + }, + { + api: [`${APP_ID}-readTrustedApplications`], + id: 'trusted_applications_read', + includeIn: 'none', + name: 'Read', + savedObject: { + all: [], + read: [], + }, + ui: ['readTrustedApplications'], + }, + ], + }, + ], + }, + { + requireAllSpaces: true, + privilegesTooltip: i18n.translate( + 'xpack.securitySolution.featureRegistry.subFeatures.hostIsolationExceptions.privilegesTooltip', + { + defaultMessage: 'All Spaces is required for Host Isolation Exceptions access.', + } + ), + name: i18n.translate( + 'xpack.securitySolution.featureRegistry.subFeatures.hostIsolationExceptions', + { + defaultMessage: 'Host Isolation Exceptions', + } + ), + privilegeGroups: [ + { + groupType: 'mutually_exclusive', + privileges: [ + { + api: [ + `${APP_ID}-writeHostIsolationExceptions`, + `${APP_ID}-readHostIsolationExceptions`, + ], + id: 'host_isolation_exceptions_all', + includeIn: 'none', + name: 'All', + savedObject: { + all: [], + read: [], + }, + ui: ['writeHostIsolationExceptions', 'readHostIsolationExceptions'], + }, + { + api: [`${APP_ID}-readHostIsolationExceptions`], + id: 'host_isolation_exceptions_read', + includeIn: 'none', + name: 'Read', + savedObject: { + all: [], + read: [], + }, + ui: ['readHostIsolationExceptions'], + }, + ], + }, + ], + }, + { + requireAllSpaces: true, + privilegesTooltip: i18n.translate( + 'xpack.securitySolution.featureRegistry.subFeatures.blockList.privilegesTooltip', + { + defaultMessage: 'All Spaces is required for Blocklist access.', + } + ), + name: i18n.translate('xpack.securitySolution.featureRegistry.subFeatures.blockList', { + defaultMessage: 'Blocklist', + }), + privilegeGroups: [ + { + groupType: 'mutually_exclusive', + privileges: [ + { + api: [`${APP_ID}-writeBlocklist`, `${APP_ID}-readBlocklist`], + id: 'blocklist_all', + includeIn: 'none', + name: 'All', + savedObject: { + all: [], + read: [], + }, + ui: ['writeBlocklist', 'readBlocklist'], + }, + { + api: [`${APP_ID}-readBlocklist`], + id: 'blocklist_read', + includeIn: 'none', + name: 'Read', + savedObject: { + all: [], + read: [], + }, + ui: ['readBlocklist'], + }, + ], + }, + ], + }, + { + requireAllSpaces: true, + privilegesTooltip: i18n.translate( + 'xpack.securitySolution.featureRegistry.subFeatures.eventFilters.privilegesTooltip', + { + defaultMessage: 'All Spaces is required for Event Filters access.', + } + ), + name: i18n.translate('xpack.securitySolution.featureRegistry.subFeatures.eventFilters', { + defaultMessage: 'Event Filters', + }), + privilegeGroups: [ + { + groupType: 'mutually_exclusive', + privileges: [ + { + api: [`${APP_ID}-writeEventFilters`, `${APP_ID}-readEventFilters`], + id: 'event_filters_all', + includeIn: 'none', + name: 'All', + savedObject: { + all: [], + read: [], + }, + ui: ['writeEventFilters', 'readEventFilters'], + }, + { + api: [`${APP_ID}-readEventFilters`], + id: 'event_filters_read', + includeIn: 'none', + name: 'Read', + savedObject: { + all: [], + read: [], + }, + ui: ['readEventFilters'], + }, + ], + }, + ], + }, + { + requireAllSpaces: true, + privilegesTooltip: i18n.translate( + 'xpack.securitySolution.featureRegistry.subFeatures.policyManagement.privilegesTooltip', + { + defaultMessage: 'All Spaces is required for Policy Management access.', + } + ), + name: i18n.translate('xpack.securitySolution.featureRegistry.subFeatures.policyManagement', { + defaultMessage: 'Policy Management', + }), + privilegeGroups: [ + { + groupType: 'mutually_exclusive', + privileges: [ + { + api: [`${APP_ID}-writePolicyManagement`, `${APP_ID}-readPolicyManagement`], + id: 'policy_management_all', + includeIn: 'none', + name: 'All', + savedObject: { + all: [], + read: [], + }, + ui: ['writePolicyManagement', 'readPolicyManagement'], + }, + { + api: [`${APP_ID}-readPolicyManagement`], + id: 'policy_management_read', + includeIn: 'none', + name: 'Read', + savedObject: { + all: [], + read: [], + }, + ui: ['readPolicyManagement'], + }, + ], + }, + ], + }, + ...responseActionSubFeatures, +]; + +function getSubFeatures(experimentalFeatures: ConfigType['experimentalFeatures']) { + if (experimentalFeatures.endpointRbacEnabled) { + return subFeatures; + } + + if (experimentalFeatures.endpointRbacV1Enabled) { + return responseActionSubFeatures; + } + + return []; +} + export const getKibanaPrivilegesFeaturePrivileges = ( ruleTypes: string[], experimentalFeatures: ConfigType['experimentalFeatures'] @@ -182,406 +587,5 @@ export const getKibanaPrivilegesFeaturePrivileges = ( ui: ['show'], }, }, - subFeatures: experimentalFeatures.endpointRbacEnabled - ? [ - { - requireAllSpaces: true, - privilegesTooltip: i18n.translate( - 'xpack.securitySolution.featureRegistry.subFeatures.endpointList.privilegesTooltip', - { - defaultMessage: 'All Spaces is required for Endpoint List access.', - } - ), - name: i18n.translate('xpack.securitySolution.featureRegistry.subFeatures.endpointList', { - defaultMessage: 'Endpoint List', - }), - privilegeGroups: [ - { - groupType: 'mutually_exclusive', - privileges: [ - { - api: [`${APP_ID}-writeEndpointList`, `${APP_ID}-readEndpointList`], - id: 'endpoint_list_all', - includeIn: 'none', - name: 'All', - savedObject: { - all: [], - read: [], - }, - ui: ['writeEndpointList', 'readEndpointList'], - }, - { - api: [`${APP_ID}-readEndpointList`], - id: 'endpoint_list_read', - includeIn: 'none', - name: 'Read', - savedObject: { - all: [], - read: [], - }, - ui: ['readEndpointList'], - }, - ], - }, - ], - }, - { - requireAllSpaces: true, - privilegesTooltip: i18n.translate( - 'xpack.securitySolution.featureRegistry.subFeatures.trustedApplications.privilegesTooltip', - { - defaultMessage: 'All Spaces is required for Trusted Applications access.', - } - ), - name: i18n.translate( - 'xpack.securitySolution.featureRegistry.subFeatures.trustedApplications', - { - defaultMessage: 'Trusted Applications', - } - ), - privilegeGroups: [ - { - groupType: 'mutually_exclusive', - privileges: [ - { - api: [`${APP_ID}-writeTrustedApplications`, `${APP_ID}-readTrustedApplications`], - id: 'trusted_applications_all', - includeIn: 'none', - name: 'All', - savedObject: { - all: [], - read: [], - }, - ui: ['writeTrustedApplications', 'readTrustedApplications'], - }, - { - api: [`${APP_ID}-readTrustedApplications`], - id: 'trusted_applications_read', - includeIn: 'none', - name: 'Read', - savedObject: { - all: [], - read: [], - }, - ui: ['readTrustedApplications'], - }, - ], - }, - ], - }, - { - requireAllSpaces: true, - privilegesTooltip: i18n.translate( - 'xpack.securitySolution.featureRegistry.subFeatures.hostIsolationExceptions.privilegesTooltip', - { - defaultMessage: 'All Spaces is required for Host Isolation Exceptions access.', - } - ), - name: i18n.translate( - 'xpack.securitySolution.featureRegistry.subFeatures.hostIsolationExceptions', - { - defaultMessage: 'Host Isolation Exceptions', - } - ), - privilegeGroups: [ - { - groupType: 'mutually_exclusive', - privileges: [ - { - api: [ - `${APP_ID}-writeHostIsolationExceptions`, - `${APP_ID}-readHostIsolationExceptions`, - ], - id: 'host_isolation_exceptions_all', - includeIn: 'none', - name: 'All', - savedObject: { - all: [], - read: [], - }, - ui: ['writeHostIsolationExceptions', 'readHostIsolationExceptions'], - }, - { - api: [`${APP_ID}-readHostIsolationExceptions`], - id: 'host_isolation_exceptions_read', - includeIn: 'none', - name: 'Read', - savedObject: { - all: [], - read: [], - }, - ui: ['readHostIsolationExceptions'], - }, - ], - }, - ], - }, - { - requireAllSpaces: true, - privilegesTooltip: i18n.translate( - 'xpack.securitySolution.featureRegistry.subFeatures.blockList.privilegesTooltip', - { - defaultMessage: 'All Spaces is required for Blocklist access.', - } - ), - name: i18n.translate('xpack.securitySolution.featureRegistry.subFeatures.blockList', { - defaultMessage: 'Blocklist', - }), - privilegeGroups: [ - { - groupType: 'mutually_exclusive', - privileges: [ - { - api: [`${APP_ID}-writeBlocklist`, `${APP_ID}-readBlocklist`], - id: 'blocklist_all', - includeIn: 'none', - name: 'All', - savedObject: { - all: [], - read: [], - }, - ui: ['writeBlocklist', 'readBlocklist'], - }, - { - api: [`${APP_ID}-readBlocklist`], - id: 'blocklist_read', - includeIn: 'none', - name: 'Read', - savedObject: { - all: [], - read: [], - }, - ui: ['readBlocklist'], - }, - ], - }, - ], - }, - { - requireAllSpaces: true, - privilegesTooltip: i18n.translate( - 'xpack.securitySolution.featureRegistry.subFeatures.eventFilters.privilegesTooltip', - { - defaultMessage: 'All Spaces is required for Event Filters access.', - } - ), - name: i18n.translate('xpack.securitySolution.featureRegistry.subFeatures.eventFilters', { - defaultMessage: 'Event Filters', - }), - privilegeGroups: [ - { - groupType: 'mutually_exclusive', - privileges: [ - { - api: [`${APP_ID}-writeEventFilters`, `${APP_ID}-readEventFilters`], - id: 'event_filters_all', - includeIn: 'none', - name: 'All', - savedObject: { - all: [], - read: [], - }, - ui: ['writeEventFilters', 'readEventFilters'], - }, - { - api: [`${APP_ID}-readEventFilters`], - id: 'event_filters_read', - includeIn: 'none', - name: 'Read', - savedObject: { - all: [], - read: [], - }, - ui: ['readEventFilters'], - }, - ], - }, - ], - }, - { - requireAllSpaces: true, - privilegesTooltip: i18n.translate( - 'xpack.securitySolution.featureRegistry.subFeatures.policyManagement.privilegesTooltip', - { - defaultMessage: 'All Spaces is required for Policy Management access.', - } - ), - name: i18n.translate( - 'xpack.securitySolution.featureRegistry.subFeatures.policyManagement', - { - defaultMessage: 'Policy Management', - } - ), - privilegeGroups: [ - { - groupType: 'mutually_exclusive', - privileges: [ - { - api: [`${APP_ID}-writePolicyManagement`, `${APP_ID}-readPolicyManagement`], - id: 'policy_management_all', - includeIn: 'none', - name: 'All', - savedObject: { - all: [], - read: [], - }, - ui: ['writePolicyManagement', 'readPolicyManagement'], - }, - { - api: [`${APP_ID}-readPolicyManagement`], - id: 'policy_management_read', - includeIn: 'none', - name: 'Read', - savedObject: { - all: [], - read: [], - }, - ui: ['readPolicyManagement'], - }, - ], - }, - ], - }, - { - requireAllSpaces: true, - privilegesTooltip: i18n.translate( - 'xpack.securitySolution.featureRegistry.subFeatures.actionsLogManagement.privilegesTooltip', - { - defaultMessage: 'All Spaces is required for Actions Log Management access.', - } - ), - name: i18n.translate( - 'xpack.securitySolution.featureRegistry.subFeatures.actionsLogManagement', - { - defaultMessage: 'Actions Log Management', - } - ), - privilegeGroups: [ - { - groupType: 'mutually_exclusive', - privileges: [ - { - api: [ - `${APP_ID}-writeActionsLogManagement`, - `${APP_ID}-readActionsLogManagement`, - ], - id: 'actions_log_management_all', - includeIn: 'none', - name: 'All', - savedObject: { - all: [], - read: [], - }, - ui: ['writeActionsLogManagement', 'readActionsLogManagement'], - }, - { - api: [`${APP_ID}-readActionsLogManagement`], - id: 'actions_log_management_read', - includeIn: 'none', - name: 'Read', - savedObject: { - all: [], - read: [], - }, - ui: ['readActionsLogManagement'], - }, - ], - }, - ], - }, - { - requireAllSpaces: true, - privilegesTooltip: i18n.translate( - 'xpack.securitySolution.featureRegistry.subFeatures.hostIsolation.privilegesTooltip', - { - defaultMessage: 'All Spaces is required for Host Isolation access.', - } - ), - name: i18n.translate('xpack.securitySolution.featureRegistry.subFeatures.hostIsolation', { - defaultMessage: 'Host Isolation', - }), - privilegeGroups: [ - { - groupType: 'mutually_exclusive', - privileges: [ - { - api: [`${APP_ID}-writeHostIsolation`], - id: 'host_isolation_all', - includeIn: 'none', - name: 'All', - savedObject: { - all: [], - read: [], - }, - ui: ['writeHostIsolation'], - }, - ], - }, - ], - }, - { - requireAllSpaces: true, - privilegesTooltip: i18n.translate( - 'xpack.securitySolution.featureRegistry.subFeatures.processOperations.privilegesTooltip', - { - defaultMessage: 'All Spaces is required for Process Operations access.', - } - ), - name: i18n.translate( - 'xpack.securitySolution.featureRegistry.subFeatures.processOperations', - { - defaultMessage: 'Process Operations', - } - ), - privilegeGroups: [ - { - groupType: 'mutually_exclusive', - privileges: [ - { - api: [`${APP_ID}-writeProcessOperations`], - id: 'process_operations_all', - includeIn: 'none', - name: 'All', - savedObject: { - all: [], - read: [], - }, - ui: ['writeProcessOperations'], - }, - ], - }, - ], - }, - { - requireAllSpaces: true, - privilegesTooltip: i18n.translate( - 'xpack.securitySolution.featureRegistry.subFeatures.fileOperations.privilegesTooltip', - { - defaultMessage: 'All Spaces is required for File Operations access.', - } - ), - name: i18n.translate('xpack.securitySolution.featureRegistr.subFeatures.fileOperations', { - defaultMessage: 'File Operations', - }), - privilegeGroups: [ - { - groupType: 'mutually_exclusive', - privileges: [ - { - api: [`${APP_ID}-writeFileOperations`], - id: 'file_operations_all', - includeIn: 'none', - name: 'All', - savedObject: { - all: [], - read: [], - }, - ui: ['writeFileOperations'], - }, - ], - }, - ], - }, - ] - : [], + subFeatures: getSubFeatures(experimentalFeatures), }); diff --git a/x-pack/plugins/security_solution/server/request_context_factory.ts b/x-pack/plugins/security_solution/server/request_context_factory.ts index ecf56a988636d..5eab776e217fe 100644 --- a/x-pack/plugins/security_solution/server/request_context_factory.ts +++ b/x-pack/plugins/security_solution/server/request_context_factory.ts @@ -106,14 +106,14 @@ export class RequestContextFactory implements IRequestContextFactory { if (!startPlugins.fleet) { endpointAuthz = getEndpointAuthzInitialState(); } else { - const isEndpointRbacEnabled = - endpointAppContextService.experimentalFeatures.endpointRbacEnabled; + const { endpointRbacEnabled, endpointRbacV1Enabled } = + endpointAppContextService.experimentalFeatures; const userRoles = security?.authc.getCurrentUser(request)?.roles ?? []; endpointAuthz = calculateEndpointAuthz( licenseService, fleetAuthz, userRoles, - isEndpointRbacEnabled, + endpointRbacEnabled || endpointRbacV1Enabled, endpointPermissions ); } From 608a67ad457468cd16ba2f472a41ee935792618b Mon Sep 17 00:00:00 2001 From: Yaroslav Kuznietsov Date: Fri, 28 Oct 2022 19:28:25 +0300 Subject: [PATCH 003/111] [Lens][TSVB] Navigate to lens functional tests speed improvement. (#144043) * Gauge functional tests fixed and speeded up. * Metric functional tests fixed. * Fixed timeseries tests. * Fixed tests of topN. * Added small fixes for dashboard. * Fixed all tests. * Splitted up open_in_lens functional tests. * Fixed more tests. * Fixed heatmap. * Added more fixes for tests performance. * Fixed mistake. * Removed timeouts. * Fixed createColorRule. * Fixed getRhythmChartLegendValue. --- .buildkite/ftr_configs.yml | 3 +- .../open_in_lens/{ => agg_based}/config.ts | 2 +- .../apps/lens/open_in_lens/agg_based/gauge.ts | 2 +- .../apps/lens/open_in_lens/agg_based/goal.ts | 22 +++--- .../apps/lens/open_in_lens/agg_based/index.ts | 64 +++++++++++++++- .../lens/open_in_lens/agg_based/metric.ts | 23 +++--- .../apps/lens/open_in_lens/agg_based/pie.ts | 2 +- .../apps/lens/open_in_lens/index.ts | 75 ------------------- .../apps/lens/open_in_lens/tsvb/config.ts | 17 +++++ .../apps/lens/open_in_lens/tsvb/gauge.ts | 10 ++- .../apps/lens/open_in_lens/tsvb/index.ts | 64 +++++++++++++++- .../apps/lens/open_in_lens/tsvb/metric.ts | 8 +- .../apps/lens/open_in_lens/tsvb/timeseries.ts | 9 ++- .../apps/lens/open_in_lens/tsvb/top_n.ts | 5 +- .../test/functional/page_objects/lens_page.ts | 10 +-- 15 files changed, 192 insertions(+), 124 deletions(-) rename x-pack/test/functional/apps/lens/open_in_lens/{ => agg_based}/config.ts (94%) delete mode 100644 x-pack/test/functional/apps/lens/open_in_lens/index.ts create mode 100644 x-pack/test/functional/apps/lens/open_in_lens/tsvb/config.ts diff --git a/.buildkite/ftr_configs.yml b/.buildkite/ftr_configs.yml index 461ef5e8fb479..97c0b24e70098 100644 --- a/.buildkite/ftr_configs.yml +++ b/.buildkite/ftr_configs.yml @@ -177,7 +177,8 @@ enabled: - x-pack/test/functional/apps/lens/group1/config.ts - x-pack/test/functional/apps/lens/group2/config.ts - x-pack/test/functional/apps/lens/group3/config.ts - - x-pack/test/functional/apps/lens/open_in_lens/config.ts + - x-pack/test/functional/apps/lens/open_in_lens/tsvb/config.ts + - x-pack/test/functional/apps/lens/open_in_lens/agg_based/config.ts - x-pack/test/functional/apps/license_management/config.ts - x-pack/test/functional/apps/logstash/config.ts - x-pack/test/functional/apps/management/config.ts diff --git a/x-pack/test/functional/apps/lens/open_in_lens/config.ts b/x-pack/test/functional/apps/lens/open_in_lens/agg_based/config.ts similarity index 94% rename from x-pack/test/functional/apps/lens/open_in_lens/config.ts rename to x-pack/test/functional/apps/lens/open_in_lens/agg_based/config.ts index d927f93adeffd..3bf1f38d29ca9 100644 --- a/x-pack/test/functional/apps/lens/open_in_lens/config.ts +++ b/x-pack/test/functional/apps/lens/open_in_lens/agg_based/config.ts @@ -8,7 +8,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/x-pack/test/functional/apps/lens/open_in_lens/agg_based/gauge.ts b/x-pack/test/functional/apps/lens/open_in_lens/agg_based/gauge.ts index 35838915ede31..2ffaf120f175e 100644 --- a/x-pack/test/functional/apps/lens/open_in_lens/agg_based/gauge.ts +++ b/x-pack/test/functional/apps/lens/open_in_lens/agg_based/gauge.ts @@ -120,7 +120,7 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { expect(textContent).to.contain('Maximum:15000000000'); expect(textContent).to.contain('Value:13104036080.615'); - dimensions[0].click(); + await dimensions[0].click(); await lens.openPalettePanel('lnsGauge'); const colorStops = await lens.getPaletteColorStops(); diff --git a/x-pack/test/functional/apps/lens/open_in_lens/agg_based/goal.ts b/x-pack/test/functional/apps/lens/open_in_lens/agg_based/goal.ts index d5b793b267131..d3dc518ceab06 100644 --- a/x-pack/test/functional/apps/lens/open_in_lens/agg_based/goal.ts +++ b/x-pack/test/functional/apps/lens/open_in_lens/agg_based/goal.ts @@ -40,8 +40,9 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { it('should convert to Lens', async () => { await visualize.navigateToLensFromAnotherVisulization(); await lens.waitForVisualization('mtrVis'); - expect((await lens.getMetricVisualizationData()).length).to.be.equal(1); - expect(await lens.getMetricVisualizationData()).to.eql([ + const data = await lens.getMetricVisualizationData(); + expect(data.length).to.be.equal(1); + expect(data).to.eql([ { title: 'Count', subtitle: undefined, @@ -70,8 +71,9 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { expect(await dimensions[0].getVisibleText()).to.be('Average machine.ram'); expect(await dimensions[1].getVisibleText()).to.be('Static value: 1'); - expect((await lens.getMetricVisualizationData()).length).to.be.equal(1); - expect(await lens.getMetricVisualizationData()).to.eql([ + const data = await lens.getMetricVisualizationData(); + expect(data.length).to.be.equal(1); + expect(data).to.eql([ { title: 'Average machine.ram', subtitle: undefined, @@ -100,8 +102,9 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { expect(await dimensions[1].getVisibleText()).to.be('Static value: 1'); expect(await dimensions[2].getVisibleText()).to.be('@timestamp'); - expect((await lens.getMetricVisualizationData()).length).to.be.equal(1); - expect(await lens.getMetricVisualizationData()).to.eql([ + const data = await lens.getMetricVisualizationData(); + expect(data.length).to.be.equal(1); + expect(data).to.eql([ { title: 'Overall Max of Count', subtitle: undefined, @@ -142,8 +145,9 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { expect(await dimensions[1].getVisibleText()).to.be('Static value: 1'); expect(await dimensions[2].getVisibleText()).to.be('machine.os.raw: Descending'); - expect((await lens.getMetricVisualizationData()).length).to.be.equal(6); - expect(await lens.getMetricVisualizationData()).to.eql([ + const data = await lens.getMetricVisualizationData(); + expect(data.length).to.be.equal(6); + expect(data).to.eql([ { title: 'ios', subtitle: 'Average machine.ram', @@ -200,7 +204,7 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { }, ]); - dimensions[0].click(); + await dimensions[0].click(); await lens.openPalettePanel('lnsMetric'); const colorStops = await lens.getPaletteColorStops(); diff --git a/x-pack/test/functional/apps/lens/open_in_lens/agg_based/index.ts b/x-pack/test/functional/apps/lens/open_in_lens/agg_based/index.ts index 52ef856d53ef6..c7380d2388a35 100644 --- a/x-pack/test/functional/apps/lens/open_in_lens/agg_based/index.ts +++ b/x-pack/test/functional/apps/lens/open_in_lens/agg_based/index.ts @@ -5,10 +5,70 @@ * 2.0. */ +import { EsArchiver } from '@kbn/es-archiver'; import { FtrProviderContext } from '../../../../ftr_provider_context'; -export default function ({ loadTestFile }: FtrProviderContext) { - describe('Agg based Vis to Lens', function () { +export default function ({ loadTestFile, getService, getPageObjects }: FtrProviderContext) { + const browser = getService('browser'); + const log = getService('log'); + const esArchiver = getService('esArchiver'); + const kibanaServer = getService('kibanaServer'); + const PageObjects = getPageObjects(['timePicker']); + const config = getService('config'); + let remoteEsArchiver; + + describe('lens app - Agg based Vis Open in Lens', () => { + const esArchive = 'x-pack/test/functional/es_archives/logstash_functional'; + const localIndexPatternString = 'logstash-*'; + const remoteIndexPatternString = 'ftr-remote:logstash-*'; + const localFixtures = { + lensBasic: 'x-pack/test/functional/fixtures/kbn_archiver/lens/lens_basic.json', + lensDefault: 'x-pack/test/functional/fixtures/kbn_archiver/lens/default', + }; + + const remoteFixtures = { + lensBasic: 'x-pack/test/functional/fixtures/kbn_archiver/lens/ccs/lens_basic.json', + lensDefault: 'x-pack/test/functional/fixtures/kbn_archiver/lens/ccs/default', + }; + let esNode: EsArchiver; + let fixtureDirs: { + lensBasic: string; + lensDefault: string; + }; + let indexPatternString: string; + before(async () => { + log.debug('Starting lens before method'); + await browser.setWindowSize(1280, 1200); + try { + config.get('esTestCluster.ccs'); + remoteEsArchiver = getService('remoteEsArchiver' as 'esArchiver'); + esNode = remoteEsArchiver; + fixtureDirs = remoteFixtures; + indexPatternString = remoteIndexPatternString; + } catch (error) { + esNode = esArchiver; + fixtureDirs = localFixtures; + indexPatternString = localIndexPatternString; + } + + await esNode.load(esArchive); + // changing the timepicker default here saves us from having to set it in Discover (~8s) + await PageObjects.timePicker.setDefaultAbsoluteRangeViaUiSettings(); + await kibanaServer.uiSettings.update({ + defaultIndex: indexPatternString, + 'dateFormat:tz': 'UTC', + }); + await kibanaServer.importExport.load(fixtureDirs.lensBasic); + await kibanaServer.importExport.load(fixtureDirs.lensDefault); + }); + + after(async () => { + await esArchiver.unload(esArchive); + await PageObjects.timePicker.resetDefaultAbsoluteRangeViaUiSettings(); + await kibanaServer.importExport.unload(fixtureDirs.lensBasic); + await kibanaServer.importExport.unload(fixtureDirs.lensDefault); + }); + loadTestFile(require.resolve('./pie')); loadTestFile(require.resolve('./metric')); loadTestFile(require.resolve('./xy')); diff --git a/x-pack/test/functional/apps/lens/open_in_lens/agg_based/metric.ts b/x-pack/test/functional/apps/lens/open_in_lens/agg_based/metric.ts index 4958704801c8c..cd26a217dcca1 100644 --- a/x-pack/test/functional/apps/lens/open_in_lens/agg_based/metric.ts +++ b/x-pack/test/functional/apps/lens/open_in_lens/agg_based/metric.ts @@ -41,8 +41,9 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { it('should convert to Lens', async () => { await visualize.navigateToLensFromAnotherVisulization(); await lens.waitForVisualization('mtrVis'); - expect((await lens.getMetricVisualizationData()).length).to.be.equal(1); - expect(await lens.getMetricVisualizationData()).to.eql([ + const data = await lens.getMetricVisualizationData(); + expect(data.length).to.be.equal(1); + expect(data).to.eql([ { title: 'Count', subtitle: undefined, @@ -70,8 +71,9 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { expect(dimensions).to.have.length(1); expect(await dimensions[0].getVisibleText()).to.be('Average machine.ram'); - expect((await lens.getMetricVisualizationData()).length).to.be.equal(1); - expect(await lens.getMetricVisualizationData()).to.eql([ + const data = await lens.getMetricVisualizationData(); + expect(data.length).to.be.equal(1); + expect(data).to.eql([ { title: 'Average machine.ram', subtitle: undefined, @@ -99,8 +101,9 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { expect(await dimensions[0].getVisibleText()).to.be('Overall Max of Count'); expect(await dimensions[1].getVisibleText()).to.be('@timestamp'); - expect((await lens.getMetricVisualizationData()).length).to.be.equal(1); - expect(await lens.getMetricVisualizationData()).to.eql([ + const data = await lens.getMetricVisualizationData(); + expect(data.length).to.be.equal(1); + expect(data).to.eql([ { title: 'Overall Max of Count', subtitle: undefined, @@ -152,9 +155,9 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { expect(dimensions).to.have.length(2); expect(await dimensions[0].getVisibleText()).to.be('Average machine.ram'); expect(await dimensions[1].getVisibleText()).to.be('machine.os.raw: Descending'); - - expect((await lens.getMetricVisualizationData()).length).to.be.equal(6); - expect(await lens.getMetricVisualizationData()).to.eql([ + const data = await lens.getMetricVisualizationData(); + expect(data.length).to.be.equal(6); + expect(data).to.eql([ { title: 'osx', subtitle: 'Average machine.ram', @@ -211,7 +214,7 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { }, ]); - dimensions[0].click(); + await dimensions[0].click(); await lens.openPalettePanel('lnsMetric'); const colorStops = await lens.getPaletteColorStops(); diff --git a/x-pack/test/functional/apps/lens/open_in_lens/agg_based/pie.ts b/x-pack/test/functional/apps/lens/open_in_lens/agg_based/pie.ts index 346aada45cea8..6a5bc5e6ce40a 100644 --- a/x-pack/test/functional/apps/lens/open_in_lens/agg_based/pie.ts +++ b/x-pack/test/functional/apps/lens/open_in_lens/agg_based/pie.ts @@ -127,7 +127,7 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { expect(type).to.be('Donut'); const goBackBtn = await testSubjects.find('lnsApp_goBackToAppButton'); - goBackBtn.click(); + await goBackBtn.click(); await visEditor.clickOptionsTab(); const isDonutButton = await testSubjects.find('visTypePieIsDonut'); diff --git a/x-pack/test/functional/apps/lens/open_in_lens/index.ts b/x-pack/test/functional/apps/lens/open_in_lens/index.ts deleted file mode 100644 index 5d81bfcb9a927..0000000000000 --- a/x-pack/test/functional/apps/lens/open_in_lens/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; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { EsArchiver } from '@kbn/es-archiver'; -import { FtrProviderContext } from '../../../ftr_provider_context'; - -export default ({ getService, loadTestFile, getPageObjects }: FtrProviderContext) => { - const browser = getService('browser'); - const log = getService('log'); - const esArchiver = getService('esArchiver'); - const kibanaServer = getService('kibanaServer'); - const PageObjects = getPageObjects(['timePicker']); - const config = getService('config'); - let remoteEsArchiver; - - describe('lens app - Open in Lens', () => { - const esArchive = 'x-pack/test/functional/es_archives/logstash_functional'; - const localIndexPatternString = 'logstash-*'; - const remoteIndexPatternString = 'ftr-remote:logstash-*'; - const localFixtures = { - lensBasic: 'x-pack/test/functional/fixtures/kbn_archiver/lens/lens_basic.json', - lensDefault: 'x-pack/test/functional/fixtures/kbn_archiver/lens/default', - }; - - const remoteFixtures = { - lensBasic: 'x-pack/test/functional/fixtures/kbn_archiver/lens/ccs/lens_basic.json', - lensDefault: 'x-pack/test/functional/fixtures/kbn_archiver/lens/ccs/default', - }; - let esNode: EsArchiver; - let fixtureDirs: { - lensBasic: string; - lensDefault: string; - }; - let indexPatternString: string; - before(async () => { - log.debug('Starting lens before method'); - await browser.setWindowSize(1280, 1200); - try { - config.get('esTestCluster.ccs'); - remoteEsArchiver = getService('remoteEsArchiver' as 'esArchiver'); - esNode = remoteEsArchiver; - fixtureDirs = remoteFixtures; - indexPatternString = remoteIndexPatternString; - } catch (error) { - esNode = esArchiver; - fixtureDirs = localFixtures; - indexPatternString = localIndexPatternString; - } - - await esNode.load(esArchive); - // changing the timepicker default here saves us from having to set it in Discover (~8s) - await PageObjects.timePicker.setDefaultAbsoluteRangeViaUiSettings(); - await kibanaServer.uiSettings.update({ - defaultIndex: indexPatternString, - 'dateFormat:tz': 'UTC', - }); - await kibanaServer.importExport.load(fixtureDirs.lensBasic); - await kibanaServer.importExport.load(fixtureDirs.lensDefault); - }); - - after(async () => { - await esArchiver.unload(esArchive); - await PageObjects.timePicker.resetDefaultAbsoluteRangeViaUiSettings(); - await kibanaServer.importExport.unload(fixtureDirs.lensBasic); - await kibanaServer.importExport.unload(fixtureDirs.lensDefault); - }); - - loadTestFile(require.resolve('./tsvb')); - loadTestFile(require.resolve('./agg_based')); - }); -}; diff --git a/x-pack/test/functional/apps/lens/open_in_lens/tsvb/config.ts b/x-pack/test/functional/apps/lens/open_in_lens/tsvb/config.ts new file mode 100644 index 0000000000000..3bf1f38d29ca9 --- /dev/null +++ b/x-pack/test/functional/apps/lens/open_in_lens/tsvb/config.ts @@ -0,0 +1,17 @@ +/* + * 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 { 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/x-pack/test/functional/apps/lens/open_in_lens/tsvb/gauge.ts b/x-pack/test/functional/apps/lens/open_in_lens/tsvb/gauge.ts index 4655fd34accfa..3778e3a6a79e1 100644 --- a/x-pack/test/functional/apps/lens/open_in_lens/tsvb/gauge.ts +++ b/x-pack/test/functional/apps/lens/open_in_lens/tsvb/gauge.ts @@ -26,9 +26,6 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { }); beforeEach(async () => { - await visualize.navigateToNewVisualization(); - await visualize.clickVisualBuilder(); - await visualBuilder.checkVisualBuilderIsPresent(); await visualBuilder.resetPage(); await visualBuilder.clickGauge(); await visualBuilder.clickDataTab('gauge'); @@ -39,6 +36,8 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { }); it('should convert to Lens', async () => { + await header.waitUntilLoadingHasFinished(); + await visualize.navigateToLensFromAnotherVisulization(); await lens.waitForVisualization('mtrVis'); @@ -76,7 +75,9 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { it('should not allow converting of not valid panel', async () => { await visualBuilder.selectAggType('Value Count'); + await header.waitUntilLoadingHasFinished(); + expect(await visualize.hasNavigateToLensButton()).to.be(false); }); @@ -96,6 +97,7 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { await visualBuilder.setColorPickerValue('#54A000', 4); await header.waitUntilLoadingHasFinished(); + await visualize.navigateToLensFromAnotherVisulization(); await lens.waitForVisualization('mtrVis'); @@ -111,7 +113,7 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { const dimensions = await testSubjects.findAll('lns-dimensionTrigger'); expect(dimensions).to.have.length(3); - dimensions[0].click(); + await dimensions[0].click(); await lens.openPalettePanel('lnsMetric'); const colorStops = await lens.getPaletteColorStops(); diff --git a/x-pack/test/functional/apps/lens/open_in_lens/tsvb/index.ts b/x-pack/test/functional/apps/lens/open_in_lens/tsvb/index.ts index 8428d145c60ef..90b0eb2c88186 100644 --- a/x-pack/test/functional/apps/lens/open_in_lens/tsvb/index.ts +++ b/x-pack/test/functional/apps/lens/open_in_lens/tsvb/index.ts @@ -5,10 +5,70 @@ * 2.0. */ +import { EsArchiver } from '@kbn/es-archiver'; import { FtrProviderContext } from '../../../../ftr_provider_context'; -export default function ({ loadTestFile }: FtrProviderContext) { - describe('TSVB to Lens', function () { +export default function ({ loadTestFile, getService, getPageObjects }: FtrProviderContext) { + const browser = getService('browser'); + const log = getService('log'); + const esArchiver = getService('esArchiver'); + const kibanaServer = getService('kibanaServer'); + const PageObjects = getPageObjects(['timePicker']); + const config = getService('config'); + let remoteEsArchiver; + + describe('lens app - TSVB Open in Lens', () => { + const esArchive = 'x-pack/test/functional/es_archives/logstash_functional'; + const localIndexPatternString = 'logstash-*'; + const remoteIndexPatternString = 'ftr-remote:logstash-*'; + const localFixtures = { + lensBasic: 'x-pack/test/functional/fixtures/kbn_archiver/lens/lens_basic.json', + lensDefault: 'x-pack/test/functional/fixtures/kbn_archiver/lens/default', + }; + + const remoteFixtures = { + lensBasic: 'x-pack/test/functional/fixtures/kbn_archiver/lens/ccs/lens_basic.json', + lensDefault: 'x-pack/test/functional/fixtures/kbn_archiver/lens/ccs/default', + }; + let esNode: EsArchiver; + let fixtureDirs: { + lensBasic: string; + lensDefault: string; + }; + let indexPatternString: string; + before(async () => { + log.debug('Starting lens before method'); + await browser.setWindowSize(1280, 1200); + try { + config.get('esTestCluster.ccs'); + remoteEsArchiver = getService('remoteEsArchiver' as 'esArchiver'); + esNode = remoteEsArchiver; + fixtureDirs = remoteFixtures; + indexPatternString = remoteIndexPatternString; + } catch (error) { + esNode = esArchiver; + fixtureDirs = localFixtures; + indexPatternString = localIndexPatternString; + } + + await esNode.load(esArchive); + // changing the timepicker default here saves us from having to set it in Discover (~8s) + await PageObjects.timePicker.setDefaultAbsoluteRangeViaUiSettings(); + await kibanaServer.uiSettings.update({ + defaultIndex: indexPatternString, + 'dateFormat:tz': 'UTC', + }); + await kibanaServer.importExport.load(fixtureDirs.lensBasic); + await kibanaServer.importExport.load(fixtureDirs.lensDefault); + }); + + after(async () => { + await esArchiver.unload(esArchive); + await PageObjects.timePicker.resetDefaultAbsoluteRangeViaUiSettings(); + await kibanaServer.importExport.unload(fixtureDirs.lensBasic); + await kibanaServer.importExport.unload(fixtureDirs.lensDefault); + }); + loadTestFile(require.resolve('./metric')); loadTestFile(require.resolve('./gauge')); loadTestFile(require.resolve('./timeseries')); diff --git a/x-pack/test/functional/apps/lens/open_in_lens/tsvb/metric.ts b/x-pack/test/functional/apps/lens/open_in_lens/tsvb/metric.ts index 081b3787e39a7..f4bb52b9ebb51 100644 --- a/x-pack/test/functional/apps/lens/open_in_lens/tsvb/metric.ts +++ b/x-pack/test/functional/apps/lens/open_in_lens/tsvb/metric.ts @@ -25,9 +25,6 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { }); beforeEach(async () => { - await visualize.navigateToNewVisualization(); - await visualize.clickVisualBuilder(); - await visualBuilder.checkVisualBuilderIsPresent(); await visualBuilder.resetPage(); await visualBuilder.clickMetric(); await visualBuilder.clickDataTab('metric'); @@ -90,7 +87,9 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { it('should not allow converting of not valid panel', async () => { await visualBuilder.selectAggType('Value Count'); + await header.waitUntilLoadingHasFinished(); + expect(await visualize.hasNavigateToLensButton()).to.be(false); }); @@ -101,6 +100,7 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { await visualBuilder.setColorPickerValue('#54B399'); await header.waitUntilLoadingHasFinished(); + await visualize.navigateToLensFromAnotherVisulization(); await lens.waitForVisualization('mtrVis'); @@ -116,7 +116,7 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { const dimensions = await testSubjects.findAll('lns-dimensionTrigger'); expect(dimensions).to.have.length(1); - dimensions[0].click(); + await dimensions[0].click(); await lens.openPalettePanel('lnsMetric'); const colorStops = await lens.getPaletteColorStops(); diff --git a/x-pack/test/functional/apps/lens/open_in_lens/tsvb/timeseries.ts b/x-pack/test/functional/apps/lens/open_in_lens/tsvb/timeseries.ts index dc77e9fcedb9a..8d86e8e6843e8 100644 --- a/x-pack/test/functional/apps/lens/open_in_lens/tsvb/timeseries.ts +++ b/x-pack/test/functional/apps/lens/open_in_lens/tsvb/timeseries.ts @@ -28,9 +28,6 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { }); beforeEach(async () => { - await visualize.navigateToNewVisualization(); - await visualize.clickVisualBuilder(); - await visualBuilder.checkVisualBuilderIsPresent(); await visualBuilder.resetPage(); }); @@ -39,6 +36,8 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { }); it('visualizes field to Lens and loads fields to the dimesion editor', async () => { + await header.waitUntilLoadingHasFinished(); + await visualize.navigateToLensFromAnotherVisulization(); await lens.waitForVisualization('xyVisChart'); await retry.try(async () => { @@ -50,11 +49,13 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { }); it('navigates back to TSVB when the Back button is clicked', async () => { + await header.waitUntilLoadingHasFinished(); + await visualize.navigateToLensFromAnotherVisulization(); await lens.waitForVisualization('xyVisChart'); const goBackBtn = await testSubjects.find('lnsApp_goBackToAppButton'); - goBackBtn.click(); + await goBackBtn.click(); await visualBuilder.checkVisualBuilderIsPresent(); await retry.try(async () => { const actualCount = await visualBuilder.getRhythmChartLegendValue(); diff --git a/x-pack/test/functional/apps/lens/open_in_lens/tsvb/top_n.ts b/x-pack/test/functional/apps/lens/open_in_lens/tsvb/top_n.ts index 1192b38b03c69..0716a1ac4a78b 100644 --- a/x-pack/test/functional/apps/lens/open_in_lens/tsvb/top_n.ts +++ b/x-pack/test/functional/apps/lens/open_in_lens/tsvb/top_n.ts @@ -27,9 +27,6 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { }); beforeEach(async () => { - await visualize.navigateToNewVisualization(); - await visualize.clickVisualBuilder(); - await visualBuilder.checkVisualBuilderIsPresent(); await visualBuilder.resetPage(); await visualBuilder.clickTopN(); await visualBuilder.checkTopNTabIsPresent(); @@ -160,7 +157,7 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { await visualize.navigateToLensFromAnotherVisulization(); await lens.waitForVisualization('xyVisChart'); const goBackBtn = await testSubjects.find('lnsApp_goBackToAppButton'); - goBackBtn.click(); + await goBackBtn.click(); await visualBuilder.checkTopNTabIsPresent(); }); diff --git a/x-pack/test/functional/page_objects/lens_page.ts b/x-pack/test/functional/page_objects/lens_page.ts index c814b5b161fcd..2d200279f6fb9 100644 --- a/x-pack/test/functional/page_objects/lens_page.ts +++ b/x-pack/test/functional/page_objects/lens_page.ts @@ -1229,14 +1229,12 @@ export function LensPageProvider({ getService, getPageObjects }: FtrProviderCont const tiles = await this.getMetricTiles(); const showingBar = Boolean(await findService.existsByCssSelector('.echSingleMetricProgress')); - const metricData = []; + const metricDataPromises = []; for (const tile of tiles) { - metricData.push({ - ...(await this.getMetricDatum(tile)), - showingBar, - }); + metricDataPromises.push(this.getMetricDatum(tile)); } - return metricData; + const metricData = await Promise.all(metricDataPromises); + return metricData.map((d) => ({ ...d, showingBar })); }, /** From 01fdb2c6d8ccbd1c70af677f4ee0722af68e7640 Mon Sep 17 00:00:00 2001 From: Kurt Date: Fri, 28 Oct 2022 13:26:16 -0400 Subject: [PATCH 004/111] Changing the structure of the error message that is received from ES when checking privileges during `suggest` user profiles (#144050) * Changing the structure of the error message that is received from ES and logging the additional data * Adding property description for error --- .../authorization/check_privileges.test.ts | 19 ++- .../server/authorization/check_privileges.ts | 7 +- .../security/server/authorization/types.ts | 11 +- .../user_profile/user_profile_service.test.ts | 108 +++++++++++++++++- .../user_profile/user_profile_service.ts | 14 ++- 5 files changed, 140 insertions(+), 19 deletions(-) diff --git a/x-pack/plugins/security/server/authorization/check_privileges.test.ts b/x-pack/plugins/security/server/authorization/check_privileges.test.ts index a0109eb46f7dc..6bdca9dd23d89 100644 --- a/x-pack/plugins/security/server/authorization/check_privileges.test.ts +++ b/x-pack/plugins/security/server/authorization/check_privileges.test.ts @@ -3109,14 +3109,25 @@ describe('#checkUserProfilesPrivileges.atSpace', () => { ], esHasPrivilegesResponse: Promise.resolve({ has_privilege_uids: ['uid-1', 'uid-2'], - error_uids: ['uid-3'], + errors: { + count: 1, + details: { + 'uid-3': { type: 'Not Found', reason: 'UID not found' }, + }, + }, }), }) ).resolves.toMatchInlineSnapshot(` Object { - "errorUids": Array [ - "uid-3", - ], + "errors": Object { + "count": 1, + "details": Object { + "uid-3": Object { + "reason": "UID not found", + "type": "Not Found", + }, + }, + }, "hasPrivilegeUids": Array [ "uid-1", "uid-2", diff --git a/x-pack/plugins/security/server/authorization/check_privileges.ts b/x-pack/plugins/security/server/authorization/check_privileges.ts index ffcb466c0b1c6..d121a4787b416 100644 --- a/x-pack/plugins/security/server/authorization/check_privileges.ts +++ b/x-pack/plugins/security/server/authorization/check_privileges.ts @@ -78,7 +78,10 @@ export function checkPrivilegesFactory( const response = await clusterClient.asInternalUser.transport.request<{ has_privilege_uids: string[]; - error_uids?: string[]; + errors: { + count: number; + details: Record; + }; }>({ method: 'POST', path: '_security/profile/_has_privileges', @@ -90,7 +93,7 @@ export function checkPrivilegesFactory( return { hasPrivilegeUids: response.has_privilege_uids, - errorUids: response.error_uids ?? [], + ...(response.errors && { errors: response.errors }), }; }; diff --git a/x-pack/plugins/security/server/authorization/types.ts b/x-pack/plugins/security/server/authorization/types.ts index 20b52dbd3bc0f..7d8258c0bd8b8 100644 --- a/x-pack/plugins/security/server/authorization/types.ts +++ b/x-pack/plugins/security/server/authorization/types.ts @@ -139,9 +139,14 @@ export interface CheckUserProfilesPrivilegesResponse { * The subset of the requested profile IDs of the users that have all the requested privileges. */ hasPrivilegeUids: string[]; + /** - * The subset of the requested profile IDs for which an error was encountered. It does not include the missing profile - * IDs or the profile IDs of the users that do not have all the requested privileges. + * An errors object that may be returned from ES that contains a `count` of UIDs that have errors in the `details` property. + * + * Each entry in `details` will contain an error `type`, e.g 'resource_not_found_exception', and a `reason` message, e.g. 'profile document not found' */ - errorUids: string[]; + errors?: { + count: number; + details: Record; + }; } 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 5b5a602d99ec3..883fe8d1c8e97 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 @@ -816,7 +816,6 @@ describe('UserProfileService', () => { const mockAtSpacePrivilegeCheck = { atSpace: jest.fn() }; mockAtSpacePrivilegeCheck.atSpace.mockResolvedValue({ hasPrivilegeUids: ['UID-0', 'UID-1', 'UID-8'], - errorUids: [], }); mockAuthz.checkUserProfilesPrivileges.mockReturnValue(mockAtSpacePrivilegeCheck); @@ -911,15 +910,12 @@ describe('UserProfileService', () => { mockAtSpacePrivilegeCheck.atSpace .mockResolvedValueOnce({ hasPrivilegeUids: ['UID-0'], - errorUids: [], }) .mockResolvedValueOnce({ hasPrivilegeUids: ['UID-20'], - errorUids: [], }) .mockResolvedValueOnce({ hasPrivilegeUids: [], - errorUids: [], }); mockAuthz.checkUserProfilesPrivileges.mockReturnValue(mockAtSpacePrivilegeCheck); @@ -1020,7 +1016,6 @@ describe('UserProfileService', () => { const mockAtSpacePrivilegeCheck = { atSpace: jest.fn() }; mockAtSpacePrivilegeCheck.atSpace.mockResolvedValue({ hasPrivilegeUids: ['UID-0', 'UID-1', 'UID-8'], - errorUids: [], }); mockAuthz.checkUserProfilesPrivileges.mockReturnValue(mockAtSpacePrivilegeCheck); @@ -1084,6 +1079,109 @@ describe('UserProfileService', () => { kibana: ['privilege-1', 'privilege-2'], }); }); + + it('properly handles privileges checks and logs errors when errors with reasons are returned from the privilege check', 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'], + errors: { + count: 2, + details: { + 'UID-3': { type: 'some type 3', reason: 'some reason 3' }, + 'UID-4': { type: 'some type 4', reason: 'some reason 4' }, + }, + }, + }); + + mockAuthz.checkUserProfilesPrivileges.mockReturnValue(mockAtSpacePrivilegeCheck); + + const startContract = userProfileService.start(mockStartParams); + + await expect( + startContract.suggest({ + name: 'some', + size: 2, + dataPath: 'one,two', + 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 { + "email": "some@email", + "full_name": undefined, + "username": "some-username", + }, + }, + Object { + "data": Object { + "some": "kibana-data-1", + }, + "enabled": true, + "uid": "UID-1", + "user": Object { + "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.one,kibana.two', + }); + + 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'], + }); + + expect(logger.error).toHaveBeenCalledWith( + 'Privileges check API failed for UID UID-3 because some reason 3.' + ); + + expect(logger.error).toHaveBeenCalledWith( + 'Privileges check API failed for UID UID-4 because some reason 4.' + ); + }); }); }); 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 8babcaae4f90a..888b0a2a47866 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 @@ -506,11 +506,15 @@ export class UserProfileService { this.logger.error(`Privileges check API returned unknown profile UIDs: ${unknownUids}.`); } - // Log profile UIDs for which an error was encountered. - if (response.errorUids.length > 0) { - this.logger.error( - `Privileges check API failed for the following user profiles: ${response.errorUids}.` - ); + // Log profile UIDs and reason for which an error was encountered. + if (response.errors?.count) { + const uids = Object.keys(response.errors.details); + + for (const uid of uids) { + this.logger.error( + `Privileges check API failed for UID ${uid} because ${response.errors.details[uid].reason}.` + ); + } } } From f6762956e710c0020c5a90dd6f735caa9add0844 Mon Sep 17 00:00:00 2001 From: Larry Gregory Date: Fri, 28 Oct 2022 13:37:36 -0400 Subject: [PATCH 005/111] Bump trim-newlines to 3.0.1 (#143365) * Bump trim-newlines to 3.0.1 * update yarn.lock Co-authored-by: Thomas Watson --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index a0b5043df251d..af9e89e7d1771 100644 --- a/yarn.lock +++ b/yarn.lock @@ -27236,9 +27236,9 @@ trim-newlines@^1.0.0: integrity sha512-Nm4cF79FhSTzrLKGDMi3I4utBtFv8qKy4sq1enftf2gMdpqI8oVQTAfySkTz5r49giVzDj88SVZXP4CeYQwjaw== trim-newlines@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/trim-newlines/-/trim-newlines-3.0.0.tgz#79726304a6a898aa8373427298d54c2ee8b1cb30" - integrity sha512-C4+gOpvmxaSMKuEf9Qc134F1ZuOHVXKRbtEflf4NTtuuJDEIJ9p5PXsalL8SkeRw+qit1Mo+yuvMPAKwWg/1hA== + version "3.0.1" + resolved "https://registry.yarnpkg.com/trim-newlines/-/trim-newlines-3.0.1.tgz#260a5d962d8b752425b32f3a7db0dcacd176c144" + integrity sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw== trim-trailing-lines@^1.0.0: version "1.1.0" From dc5fd06a73f71879ff4d4eb5edfd36d204dd3fff Mon Sep 17 00:00:00 2001 From: John Dorlus Date: Fri, 28 Oct 2022 14:42:07 -0400 Subject: [PATCH 006/111] Added a describe block for the tests that involve space b. There is an accessibility issue that causes one test to fail and then the subsequent test fails. The issue has been logged. The rest of the tests have been unskipped. (#144156) --- x-pack/test/accessibility/apps/spaces.ts | 48 ++++++++++++------------ 1 file changed, 25 insertions(+), 23 deletions(-) diff --git a/x-pack/test/accessibility/apps/spaces.ts b/x-pack/test/accessibility/apps/spaces.ts index 482429071e3bb..2a4923a15d08c 100644 --- a/x-pack/test/accessibility/apps/spaces.ts +++ b/x-pack/test/accessibility/apps/spaces.ts @@ -20,8 +20,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { const toasts = getService('toasts'); const kibanaServer = getService('kibanaServer'); - // FLAKY: https://github.com/elastic/kibana/issues/137136 - describe.skip('Kibana Spaces Accessibility', () => { + describe('Kibana Spaces Accessibility', () => { before(async () => { await kibanaServer.savedObjects.cleanStandardList(); await PageObjects.common.navigateToApp('home'); @@ -86,29 +85,32 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { }); // creating space b and making it the current space so space selector page gets displayed when space b gets deleted - // FLAKY: https://github.com/elastic/kibana/issues/135341 - it.skip('a11y test for delete space button', async () => { - await PageObjects.spaceSelector.clickCreateSpace(); - await PageObjects.spaceSelector.clickEnterSpaceName(); - await PageObjects.spaceSelector.addSpaceName('space_b'); - await PageObjects.spaceSelector.clickSaveSpaceCreation(); - await PageObjects.common.navigateToApp('home'); - await PageObjects.spaceSelector.openSpacesNav(); - await PageObjects.spaceSelector.clickSpaceAvatar('space_b'); - await PageObjects.header.waitUntilLoadingHasFinished(); - await PageObjects.spaceSelector.openSpacesNav(); - await PageObjects.spaceSelector.clickManageSpaces(); - await PageObjects.spaceSelector.clickOnDeleteSpaceButton('space_b'); - await a11y.testAppSnapshot(); - }); - - // test starts with deleting space b so we can get the space selection page instead of logging out in the test - it('a11y test for space selection page', async () => { - await PageObjects.spaceSelector.confirmDeletingSpace(); - await retry.try(async () => { + // Skipped due to an a11y violation + // https://github.com/elastic/kibana/issues/144155 + describe.skip('Create Space B and Verify', async () => { + it('a11y test for delete space button', async () => { + await PageObjects.spaceSelector.clickCreateSpace(); + await PageObjects.spaceSelector.clickEnterSpaceName(); + await PageObjects.spaceSelector.addSpaceName('space_b'); + await PageObjects.spaceSelector.clickSaveSpaceCreation(); + await PageObjects.common.navigateToApp('home'); + await PageObjects.spaceSelector.openSpacesNav(); + await PageObjects.spaceSelector.clickSpaceAvatar('space_b'); + await PageObjects.header.waitUntilLoadingHasFinished(); + await PageObjects.spaceSelector.openSpacesNav(); + await PageObjects.spaceSelector.clickManageSpaces(); + await PageObjects.spaceSelector.clickOnDeleteSpaceButton('space_b'); await a11y.testAppSnapshot(); }); - await PageObjects.spaceSelector.clickSpaceCard('default'); + + // test starts with deleting space b so we can get the space selection page instead of logging out in the test + it('a11y test for space selection page', async () => { + await PageObjects.spaceSelector.confirmDeletingSpace(); + await retry.try(async () => { + await a11y.testAppSnapshot(); + }); + await PageObjects.spaceSelector.clickSpaceCard('default'); + }); }); }); } From 6344c1e3fc6671ee302791cc19f25e537b9fc2a4 Mon Sep 17 00:00:00 2001 From: Nicolas Chaulet Date: Fri, 28 Oct 2022 14:52:17 -0400 Subject: [PATCH 007/111] [Fleet] Show Add Fleet Server instead of add agent when adding agent from agent policy (#144105) --- .../agent_policy/components/actions_menu.tsx | 24 ++++++-- .../agent_enrollment_flyout/index.tsx | 60 +++++++++++++++---- 2 files changed, 69 insertions(+), 15 deletions(-) diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/actions_menu.tsx b/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/actions_menu.tsx index 6e2dc54470a17..fa4e03c81b656 100644 --- a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/actions_menu.tsx +++ b/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/actions_menu.tsx @@ -12,6 +12,7 @@ import { EuiContextMenuItem, EuiPortal } from '@elastic/eui'; import type { AgentPolicy } from '../../../types'; import { useAuthz } from '../../../hooks'; import { AgentEnrollmentFlyout, ContextMenuActions } from '../../../components'; +import { FLEET_SERVER_PACKAGE } from '../../../constants'; import { AgentPolicyYamlFlyout } from './agent_policy_yaml_flyout'; import { AgentPolicyCopyProvider } from './agent_policy_copy_provider'; @@ -36,6 +37,14 @@ export const AgentPolicyActionMenu = memo<{ enrollmentFlyoutOpenByDefault ); + const isFleetServerPolicy = useMemo( + () => + agentPolicy.package_policies?.some( + (packagePolicy) => packagePolicy.package?.name === FLEET_SERVER_PACKAGE + ), + [agentPolicy] + ); + const [isContextMenuOpen, setIsContextMenuOpen] = useState(false); const onContextMenuChange = useCallback( @@ -83,10 +92,17 @@ export const AgentPolicyActionMenu = memo<{ }} key="enrollAgents" > - + {isFleetServerPolicy ? ( + + ) : ( + + )} , viewPolicyItem, = ({ const fleetServerHostsRequest = useGetFleetServerHosts(); const fleetStatus = useFleetStatus(); + const { docLinks } = useStartServices(); const fleetServerHosts = fleetServerHostsRequest.data?.items?.filter((f) => true)?.[0]?.host_urls ?? []; @@ -102,19 +109,50 @@ export const AgentEnrollmentFlyout: React.FunctionComponent = ({

- + {isFleetServerPolicySelected ? ( + + ) : ( + + )}

- - - + {isFleetServerPolicySelected ? ( + + + + + ), + }} + /> + + ) : ( + + + + )} + {selectionType === 'tabs' ? ( <> From 09810e71bc2b0dd65d7b135becfcb6cbb3e73814 Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Fri, 28 Oct 2022 14:52:42 -0400 Subject: [PATCH 008/111] skip failing test suite (#144186) --- .../anomaly_detection_integrations/lens_to_ml_with_wizard.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/x-pack/test/functional/apps/ml/anomaly_detection_integrations/lens_to_ml_with_wizard.ts b/x-pack/test/functional/apps/ml/anomaly_detection_integrations/lens_to_ml_with_wizard.ts index 9c70e92a02026..5fc18c470a135 100644 --- a/x-pack/test/functional/apps/ml/anomaly_detection_integrations/lens_to_ml_with_wizard.ts +++ b/x-pack/test/functional/apps/ml/anomaly_detection_integrations/lens_to_ml_with_wizard.ts @@ -89,7 +89,8 @@ export default function ({ getService, getPageObject, getPageObjects }: FtrProvi await ml.jobTable.assertJobRowJobId(jobId); } - describe('create jobs from lens with wizard', function () { + // Failing: See https://github.com/elastic/kibana/issues/144186 + describe.skip('create jobs from lens with wizard', function () { this.tags(['ml']); before(async () => { From 260d4855ffcf69390df535ef70e1be0a94249e50 Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Fri, 28 Oct 2022 14:54:09 -0400 Subject: [PATCH 009/111] skip failing test suite (#142762) --- .../apps/ml/anomaly_detection_integrations/lens_to_ml.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/x-pack/test/functional/apps/ml/anomaly_detection_integrations/lens_to_ml.ts b/x-pack/test/functional/apps/ml/anomaly_detection_integrations/lens_to_ml.ts index 935ae3c599ac0..1d0fb39bc3799 100644 --- a/x-pack/test/functional/apps/ml/anomaly_detection_integrations/lens_to_ml.ts +++ b/x-pack/test/functional/apps/ml/anomaly_detection_integrations/lens_to_ml.ts @@ -36,7 +36,8 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await dashboardPanelActions.openContextMenuMorePanel(header); } - describe('create jobs from lens', function () { + // Failing: See https://github.com/elastic/kibana/issues/142762 + describe.skip('create jobs from lens', function () { this.tags(['ml']); before(async () => { From e5d186a6f0c3a70939231aad4fca27c8851cb54c Mon Sep 17 00:00:00 2001 From: spalger Date: Fri, 28 Oct 2022 09:33:05 -0500 Subject: [PATCH 010/111] [ts] stop building @types packages in bootstrap --- .buildkite/scripts/steps/build_api_docs.sh | 7 +- .buildkite/scripts/steps/check_types.sh | 2 +- .gitignore | 2 + .../commands/bootstrap/bootstrap_command.mjs | 4 +- .../bootstrap/regenerate_base_tsconfig.mjs | 33 +- .../src/commands/projects.js | 4 +- kbn_pm/src/commands/test_command.mjs | 259 +++- kbn_pm/tsconfig.json | 1 - package.json | 341 ----- packages/BUILD.bazel | 13 +- .../content-management/table_list/index.ts | 1 + .../index.ts | 2 +- .../index.ts | 1 + .../node/core-node-server-internal/index.ts | 2 +- .../src/node_service.ts | 2 +- packages/kbn-es-query/index.ts | 1 + .../index.ts | 2 + .../templates/package/BUILD.bazel.ejs | 18 +- .../templates/package/package.json.ejs | 3 +- .../templates/package/tsconfig.json.ejs | 1 - .../templates/packages_BUILD.bazel.ejs | 13 +- packages/kbn-guided-onboarding/index.ts | 2 +- packages/kbn-logging/index.ts | 9 +- packages/kbn-logging/src/ecs/index.ts | 8 +- packages/kbn-plugin-discovery/index.js | 2 + .../src/plugin_search_paths.js | 1 + packages/kbn-rule-data-utils/tsconfig.json | 1 - packages/kbn-storybook/tsconfig.json | 1 - packages/shared-ux/storybook/mock/index.ts | 2 +- scripts/convert_ts_projects.js | 10 - src/dev/build/tasks/index.ts | 1 - src/dev/i18n/config.ts | 4 +- src/dev/i18n/extract_default_translations.js | 65 +- .../tasks/extract_untracked_translations.ts | 54 +- src/dev/i18n/utils/index.ts | 3 +- src/dev/notice/generate_build_notice_text.js | 1 - src/dev/run_check_file_casing.ts | 1 - src/dev/run_i18n_check.ts | 2 +- src/dev/typescript/build_ts_refs.ts | 43 - src/dev/typescript/build_ts_refs_cli.ts | 147 -- src/dev/typescript/concurrent_map.ts | 31 - .../typescript/convert_all_to_composite.ts | 19 - .../get_ts_project_for_absolute_path.ts | 48 - src/dev/typescript/index.ts | 2 - src/dev/typescript/project.ts | 27 +- src/dev/typescript/project_set.ts | 29 - src/dev/typescript/projects.ts | 18 +- src/dev/typescript/ref_output_cache/README.md | 17 - .../typescript/ref_output_cache/archives.ts | 186 --- src/dev/typescript/ref_output_cache/index.ts | 9 - .../__fixtures__/archives/1234.zip | Bin 845 -> 0 bytes .../__fixtures__/archives/5678.zip | Bin 694 -> 0 bytes .../integration_tests/archives.test.ts | 239 --- .../ref_output_cache.test.ts | 175 --- .../ref_output_cache/ref_output_cache.ts | 208 --- .../typescript/ref_output_cache/repo_info.ts | 71 - src/dev/typescript/ref_output_cache/zip.ts | 45 - src/dev/typescript/root_refs_config.ts | 36 +- src/dev/typescript/run_type_check_cli.ts | 264 +++- src/plugins/data_view_editor/tsconfig.json | 1 - src/plugins/discover/public/index.ts | 6 +- .../convert_to_lens/lib/convert/types.ts | 2 +- test/tsconfig.json | 4 +- tsconfig.base.json | 709 ++++++++- tsconfig.json | 4 + tsconfig.types.json | 18 - .../examples/files_example/public/imports.ts | 8 +- x-pack/packages/ml/agg_utils/index.ts | 7 +- .../lib/get_execution_log_aggregation.ts | 4 +- x-pack/plugins/apm/ftr_e2e/tsconfig.json | 2 + .../apm/server/routes/environments/route.ts | 5 +- .../event_log/server/event_log_client.ts | 2 +- x-pack/plugins/fleet/cypress/tsconfig.json | 1 + x-pack/plugins/fleet/tsconfig.json | 4 +- .../routes/apidoc_scripts/schema_extractor.ts | 19 +- x-pack/plugins/osquery/cypress/tsconfig.json | 1 + .../containers/onboarding/api/indices.test.ts | 4 +- .../onboarding/api/ingest_pipelines.test.ts | 4 +- .../onboarding/api/stored_scripts.test.ts | 4 +- .../onboarding/api/transforms.test.ts | 4 +- .../common/types/timeline/actions/index.ts | 2 +- .../plugins/kibana_cors_test/tsconfig.json | 16 + .../plugins/iframe_embedded/tsconfig.json | 16 + .../plugins/test_feature_usage/tsconfig.json | 17 + .../elasticsearch_client/tsconfig.json | 16 + .../plugins/event_log/tsconfig.json | 17 + .../plugins/feature_usage_test/tsconfig.json | 17 + .../plugins/sample_task_plugin/tsconfig.json | 17 + .../task_manager_performance/tsconfig.json | 17 + .../plugins/global_search_test/tsconfig.json | 17 + .../plugins/resolver_test/tsconfig.json | 18 + x-pack/test/tsconfig.json | 8 +- .../application_usage_test/tsconfig.json | 4 +- .../stack_management_usage_test/tsconfig.json | 7 +- .../test_suites/application_usage/index.ts | 5 +- .../stack_management_usage/index.ts | 5 +- yarn.lock | 1360 ----------------- 97 files changed, 1580 insertions(+), 3285 deletions(-) rename scripts/build_ts_refs.js => kbn_pm/src/commands/projects.js (77%) delete mode 100644 scripts/convert_ts_projects.js delete mode 100644 src/dev/typescript/build_ts_refs.ts delete mode 100644 src/dev/typescript/build_ts_refs_cli.ts delete mode 100644 src/dev/typescript/concurrent_map.ts delete mode 100644 src/dev/typescript/convert_all_to_composite.ts delete mode 100644 src/dev/typescript/get_ts_project_for_absolute_path.ts delete mode 100644 src/dev/typescript/project_set.ts delete mode 100644 src/dev/typescript/ref_output_cache/README.md delete mode 100644 src/dev/typescript/ref_output_cache/archives.ts delete mode 100644 src/dev/typescript/ref_output_cache/index.ts delete mode 100644 src/dev/typescript/ref_output_cache/integration_tests/__fixtures__/archives/1234.zip delete mode 100644 src/dev/typescript/ref_output_cache/integration_tests/__fixtures__/archives/5678.zip delete mode 100644 src/dev/typescript/ref_output_cache/integration_tests/archives.test.ts delete mode 100644 src/dev/typescript/ref_output_cache/integration_tests/ref_output_cache.test.ts delete mode 100644 src/dev/typescript/ref_output_cache/ref_output_cache.ts delete mode 100644 src/dev/typescript/ref_output_cache/repo_info.ts delete mode 100644 src/dev/typescript/ref_output_cache/zip.ts delete mode 100644 tsconfig.types.json create mode 100644 x-pack/test/functional_cors/plugins/kibana_cors_test/tsconfig.json create mode 100644 x-pack/test/functional_embedded/plugins/iframe_embedded/tsconfig.json create mode 100644 x-pack/test/licensing_plugin/plugins/test_feature_usage/tsconfig.json create mode 100644 x-pack/test/plugin_api_integration/plugins/elasticsearch_client/tsconfig.json create mode 100644 x-pack/test/plugin_api_integration/plugins/event_log/tsconfig.json create mode 100644 x-pack/test/plugin_api_integration/plugins/feature_usage_test/tsconfig.json create mode 100644 x-pack/test/plugin_api_integration/plugins/sample_task_plugin/tsconfig.json create mode 100644 x-pack/test/plugin_api_perf/plugins/task_manager_performance/tsconfig.json create mode 100644 x-pack/test/plugin_functional/plugins/global_search_test/tsconfig.json create mode 100644 x-pack/test/plugin_functional/plugins/resolver_test/tsconfig.json diff --git a/.buildkite/scripts/steps/build_api_docs.sh b/.buildkite/scripts/steps/build_api_docs.sh index 59f2254e8b8fc..185d8ec09aa5a 100755 --- a/.buildkite/scripts/steps/build_api_docs.sh +++ b/.buildkite/scripts/steps/build_api_docs.sh @@ -4,11 +4,8 @@ set -euo pipefail .buildkite/scripts/bootstrap.sh -echo "--- Build TS Refs" -node scripts/build_ts_refs \ - --clean \ - --no-cache \ - --force +echo "--- Run scripts/type_check to ensure that all build available" +node scripts/type_check echo "--- Build API Docs" node --max-old-space-size=12000 scripts/build_api_docs diff --git a/.buildkite/scripts/steps/check_types.sh b/.buildkite/scripts/steps/check_types.sh index 517f71fbbd730..eb7a41d74e8d8 100755 --- a/.buildkite/scripts/steps/check_types.sh +++ b/.buildkite/scripts/steps/check_types.sh @@ -8,4 +8,4 @@ source .buildkite/scripts/common/util.sh echo --- Check Types checks-reporter-with-killswitch "Check Types" \ - node scripts/type_check --concurrency 8 + node scripts/type_check diff --git a/.gitignore b/.gitignore index 81b0d437f8126..24b636ac3196b 100644 --- a/.gitignore +++ b/.gitignore @@ -94,6 +94,8 @@ report.asciidoc # Automatically generated and user-modifiable /tsconfig.refs.json +tsconfig.base.type_check.json +tsconfig.type_check.json # Yarn local mirror content .yarn-local-mirror diff --git a/kbn_pm/src/commands/bootstrap/bootstrap_command.mjs b/kbn_pm/src/commands/bootstrap/bootstrap_command.mjs index 25930ed2a20a1..e00316aac3e77 100644 --- a/kbn_pm/src/commands/bootstrap/bootstrap_command.mjs +++ b/kbn_pm/src/commands/bootstrap/bootstrap_command.mjs @@ -12,6 +12,7 @@ import { haveNodeModulesBeenManuallyDeleted, removeYarnIntegrityFileIfExists } f import { setupRemoteCache } from './setup_remote_cache.mjs'; import { regenerateSyntheticPackageMap } from './regenerate_synthetic_package_map.mjs'; import { sortPackageJson } from './sort_package_json.mjs'; +import { REPO_ROOT } from '../../lib/paths.mjs'; import { pluginDiscovery } from './plugins.mjs'; import { regenerateBaseTsconfig } from './regenerate_base_tsconfig.mjs'; @@ -99,7 +100,8 @@ export const command = { await sortPackageJson(); }); await time('regenerate tsconfig.base.json', async () => { - await regenerateBaseTsconfig(plugins); + const { discoverBazelPackages } = await import('@kbn/bazel-packages'); + await regenerateBaseTsconfig(await discoverBazelPackages(REPO_ROOT), plugins); }); if (validate) { diff --git a/kbn_pm/src/commands/bootstrap/regenerate_base_tsconfig.mjs b/kbn_pm/src/commands/bootstrap/regenerate_base_tsconfig.mjs index 3cf71531614a5..e7fc7fd2be48e 100644 --- a/kbn_pm/src/commands/bootstrap/regenerate_base_tsconfig.mjs +++ b/kbn_pm/src/commands/bootstrap/regenerate_base_tsconfig.mjs @@ -14,13 +14,27 @@ import { convertPluginIdToPackageId } from './plugins.mjs'; import { normalizePath } from './normalize_path.mjs'; /** + * @param {import('@kbn/bazel-packages').BazelPackage[]} packages * @param {import('@kbn/plugin-discovery').KibanaPlatformPlugin[]} plugins */ -export async function regenerateBaseTsconfig(plugins) { +export async function regenerateBaseTsconfig(packages, plugins) { const tsconfigPath = Path.resolve(REPO_ROOT, 'tsconfig.base.json'); const lines = (await Fsp.readFile(tsconfigPath, 'utf-8')).split('\n'); - const packageMap = plugins + const packagesMap = packages + .slice() + .sort((a, b) => a.normalizedRepoRelativeDir.localeCompare(b.normalizedRepoRelativeDir)) + .flatMap((p) => { + if (!p.pkg) { + return []; + } + + const id = p.pkg.name; + const path = p.normalizedRepoRelativeDir; + return [` "${id}": ["${path}"],`, ` "${id}/*": ["${path}/*"],`]; + }); + + const pluginsMap = plugins .slice() .sort((a, b) => a.manifestPath.localeCompare(b.manifestPath)) .flatMap((p) => { @@ -32,8 +46,15 @@ export async function regenerateBaseTsconfig(plugins) { const start = lines.findIndex((l) => l.trim() === '// START AUTOMATED PACKAGE LISTING'); const end = lines.findIndex((l) => l.trim() === '// END AUTOMATED PACKAGE LISTING'); - await Fsp.writeFile( - tsconfigPath, - [...lines.slice(0, start + 1), ...packageMap, ...lines.slice(end)].join('\n') - ); + const current = await Fsp.readFile(tsconfigPath, 'utf8'); + const updated = [ + ...lines.slice(0, start + 1), + ...packagesMap, + ...pluginsMap, + ...lines.slice(end), + ].join('\n'); + + if (updated !== current) { + await Fsp.writeFile(tsconfigPath, updated); + } } diff --git a/scripts/build_ts_refs.js b/kbn_pm/src/commands/projects.js similarity index 77% rename from scripts/build_ts_refs.js rename to kbn_pm/src/commands/projects.js index a4ee6ec491ef1..8ebd3be073d07 100644 --- a/scripts/build_ts_refs.js +++ b/kbn_pm/src/commands/projects.js @@ -6,5 +6,5 @@ * Side Public License, v 1. */ -require('../src/setup_node_env'); -require('../src/dev/typescript').runBuildRefsCli(); +const { PROJECTS } = require('../../../src/dev/typescript/projects'); +module.exports = { PROJECTS }; diff --git a/kbn_pm/src/commands/test_command.mjs b/kbn_pm/src/commands/test_command.mjs index e425c5b94698d..f585536ea5d40 100644 --- a/kbn_pm/src/commands/test_command.mjs +++ b/kbn_pm/src/commands/test_command.mjs @@ -6,10 +6,267 @@ * Side Public License, v 1. */ +import Fs from 'fs'; +import Path from 'path'; + +import { REPO_ROOT } from '../lib/paths.mjs'; +import { pluginDiscovery } from './bootstrap/plugins.mjs'; + +const RULE_DEPS = /([\s\n]deps\s*=\s*)((?:\w+(?: \+ )?)?(?:\[[^\]]*\])?)(\s*,|\s*\))/; + +/** + * @param {string} text + * @param {number} index + */ +function findStartOfLine(text, index) { + let cursor = index; + while (cursor > 0) { + if (text[cursor - 1] === '\n') { + return cursor; + } + cursor -= 1; + } + + return cursor; +} + +/** + * @param {string} starlark + * @param {string} name + */ +function findBazelRule(starlark, name) { + const match = starlark.match(new RegExp(`name\\s*=\\s*${name}`)); + if (typeof match?.index !== 'number') { + throw new Error(`unable to find rule named [${name}]`); + } + + const openParen = starlark.slice(0, match.index).lastIndexOf('('); + if (openParen === -1) { + throw new Error(`unable to find opening paren for rule [${name}] [index=${match.index}]`); + } + + const start = findStartOfLine(starlark, openParen); + const end = starlark.indexOf(')', start); + if (end === -1) { + throw new Error(`unable to find closing parent for rule [${name}] [start=${start}]`); + } + + const type = starlark.slice(start, starlark.indexOf('(', start)).trim(); + + // add 1 so that the "end" chunk starts after the closing ) + return { start, end: end + 1, type }; +} + +/** + * @param {string} starlark + * @param {string} name + */ +function removeBazelRule(starlark, name) { + const pos = findBazelRule(starlark, name); + + let end = pos.end; + + // slurp up all the newlines directly after the closing ) + while (starlark[end] === '\n') { + end += 1; + } + + return starlark.slice(0, pos.start) + starlark.slice(end); +} + +/** + * @param {string} starlark + * @param {string} dep + * @returns + */ +function addDep(starlark, dep) { + const depsMatch = starlark.match(RULE_DEPS); + + if (typeof depsMatch?.index !== 'number') { + return starlark.replace(/,?[\s\n]*\)[\s\n]*$/, '') + `,\n deps = [${dep}],\n)`; + } + + const [, head, value, tail] = depsMatch; + + return ( + starlark.slice(0, depsMatch.index) + + head + + (() => { + const multiline = value.includes('\n'); + const existingArray = value.indexOf(']'); + if (existingArray === -1) { + return value + ` + [${dep}]`; + } + + const valHead = value.slice(0, existingArray).replace(/,?\s*$/, ','); + const valTail = value.slice(existingArray); + + return `${valHead}${multiline ? '\n ' : ' '}${dep}${multiline ? ',\n' : ''}${valTail}`; + })() + + tail + + starlark.slice(depsMatch.index + depsMatch[0].length) + ); +} + +/** + * @param {string} starlark + * @param {string} name + * @param {string} newName + * @param {(rule: string) => string} mod + */ +function duplicateRule(starlark, name, newName, mod) { + const origPos = findBazelRule(starlark, name); + + const orig = starlark.slice(origPos.start, origPos.end); + + const withName = orig.replace( + /^(\s*)name\s*=\s*.*$/m, + (match, head) => `${head}name = ${newName}${match.endsWith(',') ? ',' : ''}` + ); + + return starlark.slice(0, origPos.end) + `\n\n${mod(withName)}` + starlark.slice(origPos.end); +} + /** @type {import('../lib/command').Command} */ export const command = { name: '_test', async run({ log }) { - log.success('empty'); + const updates = { pkgJson: 0, buildBazel: 0, tsconfig: 0, tsconfigRefs: 0 }; + + await import('../../../src/setup_node_env/index' + '.js'); + const { PROJECTS } = await import('./projects' + '.js'); + const { discoverBazelPackages } = await import('@kbn/bazel-packages'); + const pkgs = await discoverBazelPackages(REPO_ROOT); + const plugins = await pluginDiscovery(); + + // update package.json files to point to their target_types dir + const relTypes = './target_types/index.d.ts'; + for (const pkg of pkgs) { + if (!pkg.hasBuildTypesRule()) { + log.warning(`not defining "types" for ${pkg.manifest.id} because it doesn't build types`); + continue; + } + + const dir = Path.resolve(REPO_ROOT, pkg.normalizedRepoRelativeDir); + const pkgJsonPath = Path.resolve(dir, 'package.json'); + + const pkgJson = Fs.readFileSync(pkgJsonPath, 'utf8'); + const parsed = JSON.parse(pkgJson); + + if (parsed.types === relTypes) { + continue; + } + + Fs.writeFileSync( + pkgJsonPath, + JSON.stringify( + { + ...parsed, + types: relTypes, + }, + null, + 2 + ) + (pkgJson.endsWith('\n') ? '\n' : '') + ); + + updates.pkgJson += 1; + } + log.success(`updated ${updates.pkgJson} package.json files`); + + // update BUILD.bazel files to not rely on type_summarizer + for (const pkg of pkgs) { + if (!pkg.hasBuildTypesRule()) { + continue; + } + + const starlark = pkg.buildBazelContent; + if (typeof starlark !== 'string') { + throw new Error('missing buildBazelContent'); + } + + const npmTypes = findBazelRule(starlark, '"npm_module_types"'); + + if (npmTypes.type === 'alias') { + log.info(`ignoring npm_module_types rule which is an alias in ${pkg.manifest.id}`); + continue; + } + + // remove rules for old npm_module_types + const withoutOldTypes = removeBazelRule(starlark, '"npm_module_types"'); + + // duplicate js_library rule and name npm_module_types rule which adds the ':tsc_types' dep + const withTypesJsLib = duplicateRule( + withoutOldTypes, + 'PKG_DIRNAME', + '"npm_module_types"', + (newRule) => addDep(newRule, '":tsc_types"') + ); + + const withBuildTypesWrapper = + removeBazelRule(withTypesJsLib, '"build_types"').trimEnd() + + ` + +pkg_npm( + name = "build_types", + deps = [":npm_module_types"], + visibility = ["//visibility:public"], +) +`; + + Fs.writeFileSync( + Path.resolve(REPO_ROOT, pkg.normalizedRepoRelativeDir, 'BUILD.bazel'), + withBuildTypesWrapper + ); + + updates.buildBazel += 1; + } + log.success(`updated ${updates.buildBazel} BUILD.bazel files`); + + // stop enabling declaration source maps in tsconfig + for (const pkg of [...pkgs, ...plugins]) { + const dir = + 'normalizedRepoRelativeDir' in pkg + ? Path.resolve(REPO_ROOT, pkg.normalizedRepoRelativeDir) + : pkg.directory; + + let changed; + + const tsconfigPath = Path.resolve(dir, 'tsconfig.json'); + if (Fs.existsSync(tsconfigPath)) { + const current = Fs.readFileSync(tsconfigPath, 'utf8'); + const next = current.replace(/\n\s*"declarationMap"\s*:.+\n/m, '\n'); + + if (current !== next) { + changed = true; + Fs.writeFileSync(tsconfigPath, next); + } + } + + const buildBazelPath = Path.resolve(dir, 'BUILD.bazel'); + if (Fs.existsSync(buildBazelPath)) { + const current = Fs.readFileSync(buildBazelPath, 'utf8'); + const next = current.replace(/\n.*\bdeclaration_map\b.*\n/, '\n'); + if (current !== next) { + changed = true; + Fs.writeFileSync(buildBazelPath, next); + } + } + + if (changed) { + updates.tsconfig += 1; + } + } + log.success(`dropped declarationMap from ${updates.tsconfig} tsconfig.json files`); + + // rename "references" in plugin tsconfig.json files to "kbn_references" + for (const project of PROJECTS) { + const tsconfigJson = Fs.readFileSync(project.tsConfigPath, 'utf8'); + const updated = tsconfigJson.replace('"references"', '"kbn_references"'); + if (updated !== tsconfigJson) { + Fs.writeFileSync(project.tsConfigPath, updated); + updates.tsconfigRefs += 1; + } + } + log.success(`updated tsconfig references key in ${updates.tsconfigRefs} tsconfig.json files`); }, }; diff --git a/kbn_pm/tsconfig.json b/kbn_pm/tsconfig.json index 06582d6dbd655..53fea34be6d25 100644 --- a/kbn_pm/tsconfig.json +++ b/kbn_pm/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "target", "allowJs": true, "checkJs": true, - "composite": false, "target": "ES2022", "module": "ESNext" }, diff --git a/package.json b/package.json index 6b392f582dc14..a6595c7e66984 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,6 @@ "bazel": "bazel", "build": "node scripts/build --all-platforms", "build:apidocs": "node scripts/build_api_docs", - "build:types": "rm -rf ./target/types && tsc --p tsconfig.types.json", "checkLicenses": "node scripts/check_licenses --dev", "cover:functional:merge": "nyc report --temp-dir target/kibana-coverage/functional --report-dir target/coverage/report/functional --reporter=json-summary", "cover:report": "nyc report --temp-dir target/kibana-coverage/functional --report-dir target/coverage/report --reporter=lcov && open ./target/coverage/report/lcov-report/index.html", @@ -863,346 +862,6 @@ "@types/json-stable-stringify": "^1.0.32", "@types/json5": "^0.0.30", "@types/jsonwebtoken": "^8.5.6", - "@types/kbn__ace": "link:bazel-bin/packages/kbn-ace/npm_module_types", - "@types/kbn__aiops-components": "link:bazel-bin/x-pack/packages/ml/aiops_components/npm_module_types", - "@types/kbn__aiops-utils": "link:bazel-bin/x-pack/packages/ml/aiops_utils/npm_module_types", - "@types/kbn__alerts": "link:bazel-bin/packages/kbn-alerts/npm_module_types", - "@types/kbn__analytics": "link:bazel-bin/packages/kbn-analytics/npm_module_types", - "@types/kbn__analytics-client": "link:bazel-bin/packages/analytics/client/npm_module_types", - "@types/kbn__analytics-shippers-elastic-v3-browser": "link:bazel-bin/packages/analytics/shippers/elastic_v3/browser/npm_module_types", - "@types/kbn__analytics-shippers-elastic-v3-common": "link:bazel-bin/packages/analytics/shippers/elastic_v3/common/npm_module_types", - "@types/kbn__analytics-shippers-elastic-v3-server": "link:bazel-bin/packages/analytics/shippers/elastic_v3/server/npm_module_types", - "@types/kbn__analytics-shippers-fullstory": "link:bazel-bin/packages/analytics/shippers/fullstory/npm_module_types", - "@types/kbn__analytics-shippers-gainsight": "link:bazel-bin/packages/analytics/shippers/gainsight/npm_module_types", - "@types/kbn__apm-config-loader": "link:bazel-bin/packages/kbn-apm-config-loader/npm_module_types", - "@types/kbn__apm-synthtrace": "link:bazel-bin/packages/kbn-apm-synthtrace/npm_module_types", - "@types/kbn__apm-utils": "link:bazel-bin/packages/kbn-apm-utils/npm_module_types", - "@types/kbn__axe-config": "link:bazel-bin/packages/kbn-axe-config/npm_module_types", - "@types/kbn__bazel-packages": "link:bazel-bin/packages/kbn-bazel-packages/npm_module_types", - "@types/kbn__bazel-runner": "link:bazel-bin/packages/kbn-bazel-runner/npm_module_types", - "@types/kbn__cases-components": "link:bazel-bin/packages/kbn-cases-components/npm_module_types", - "@types/kbn__chart-icons": "link:bazel-bin/packages/kbn-chart-icons/npm_module_types", - "@types/kbn__ci-stats-core": "link:bazel-bin/packages/kbn-ci-stats-core/npm_module_types", - "@types/kbn__ci-stats-performance-metrics": "link:bazel-bin/packages/kbn-ci-stats-performance-metrics/npm_module_types", - "@types/kbn__ci-stats-reporter": "link:bazel-bin/packages/kbn-ci-stats-reporter/npm_module_types", - "@types/kbn__cli-dev-mode": "link:bazel-bin/packages/kbn-cli-dev-mode/npm_module_types", - "@types/kbn__coloring": "link:bazel-bin/packages/kbn-coloring/npm_module_types", - "@types/kbn__config": "link:bazel-bin/packages/kbn-config/npm_module_types", - "@types/kbn__config-mocks": "link:bazel-bin/packages/kbn-config-mocks/npm_module_types", - "@types/kbn__config-schema": "link:bazel-bin/packages/kbn-config-schema/npm_module_types", - "@types/kbn__content-management-table-list": "link:bazel-bin/packages/content-management/table_list/npm_module_types", - "@types/kbn__core-analytics-browser": "link:bazel-bin/packages/core/analytics/core-analytics-browser/npm_module_types", - "@types/kbn__core-analytics-browser-internal": "link:bazel-bin/packages/core/analytics/core-analytics-browser-internal/npm_module_types", - "@types/kbn__core-analytics-browser-mocks": "link:bazel-bin/packages/core/analytics/core-analytics-browser-mocks/npm_module_types", - "@types/kbn__core-analytics-server": "link:bazel-bin/packages/core/analytics/core-analytics-server/npm_module_types", - "@types/kbn__core-analytics-server-internal": "link:bazel-bin/packages/core/analytics/core-analytics-server-internal/npm_module_types", - "@types/kbn__core-analytics-server-mocks": "link:bazel-bin/packages/core/analytics/core-analytics-server-mocks/npm_module_types", - "@types/kbn__core-application-browser": "link:bazel-bin/packages/core/application/core-application-browser/npm_module_types", - "@types/kbn__core-application-browser-internal": "link:bazel-bin/packages/core/application/core-application-browser-internal/npm_module_types", - "@types/kbn__core-application-browser-mocks": "link:bazel-bin/packages/core/application/core-application-browser-mocks/npm_module_types", - "@types/kbn__core-application-common": "link:bazel-bin/packages/core/application/core-application-common/npm_module_types", - "@types/kbn__core-apps-browser-internal": "link:bazel-bin/packages/core/apps/core-apps-browser-internal/npm_module_types", - "@types/kbn__core-apps-browser-mocks": "link:bazel-bin/packages/core/apps/core-apps-browser-mocks/npm_module_types", - "@types/kbn__core-base-browser": "link:bazel-bin/packages/core/base/core-base-browser/npm_module_types", - "@types/kbn__core-base-browser-internal": "link:bazel-bin/packages/core/base/core-base-browser-internal/npm_module_types", - "@types/kbn__core-base-browser-mocks": "link:bazel-bin/packages/core/base/core-base-browser-mocks/npm_module_types", - "@types/kbn__core-base-common": "link:bazel-bin/packages/core/base/core-base-common/npm_module_types", - "@types/kbn__core-base-common-internal": "link:bazel-bin/packages/core/base/core-base-common-internal/npm_module_types", - "@types/kbn__core-base-server": "link:bazel-bin/packages/core/base/core-base-server/npm_module_types", - "@types/kbn__core-base-server-internal": "link:bazel-bin/packages/core/base/core-base-server-internal/npm_module_types", - "@types/kbn__core-base-server-mocks": "link:bazel-bin/packages/core/base/core-base-server-mocks/npm_module_types", - "@types/kbn__core-capabilities-browser-internal": "link:bazel-bin/packages/core/capabilities/core-capabilities-browser-internal/npm_module_types", - "@types/kbn__core-capabilities-browser-mocks": "link:bazel-bin/packages/core/capabilities/core-capabilities-browser-mocks/npm_module_types", - "@types/kbn__core-capabilities-common": "link:bazel-bin/packages/core/capabilities/core-capabilities-common/npm_module_types", - "@types/kbn__core-capabilities-server": "link:bazel-bin/packages/core/capabilities/core-capabilities-server/npm_module_types", - "@types/kbn__core-capabilities-server-internal": "link:bazel-bin/packages/core/capabilities/core-capabilities-server-internal/npm_module_types", - "@types/kbn__core-capabilities-server-mocks": "link:bazel-bin/packages/core/capabilities/core-capabilities-server-mocks/npm_module_types", - "@types/kbn__core-chrome-browser": "link:bazel-bin/packages/core/chrome/core-chrome-browser/npm_module_types", - "@types/kbn__core-chrome-browser-internal": "link:bazel-bin/packages/core/chrome/core-chrome-browser-internal/npm_module_types", - "@types/kbn__core-chrome-browser-mocks": "link:bazel-bin/packages/core/chrome/core-chrome-browser-mocks/npm_module_types", - "@types/kbn__core-common-internal-base": "link:bazel-bin/packages/core/common/internal-base/npm_module_types", - "@types/kbn__core-config-server-internal": "link:bazel-bin/packages/core/config/core-config-server-internal/npm_module_types", - "@types/kbn__core-config-server-mocks": "link:bazel-bin/packages/core/config/core-config-server-mocks/npm_module_types", - "@types/kbn__core-deprecations-browser": "link:bazel-bin/packages/core/deprecations/core-deprecations-browser/npm_module_types", - "@types/kbn__core-deprecations-browser-internal": "link:bazel-bin/packages/core/deprecations/core-deprecations-browser-internal/npm_module_types", - "@types/kbn__core-deprecations-browser-mocks": "link:bazel-bin/packages/core/deprecations/core-deprecations-browser-mocks/npm_module_types", - "@types/kbn__core-deprecations-common": "link:bazel-bin/packages/core/deprecations/core-deprecations-common/npm_module_types", - "@types/kbn__core-deprecations-server": "link:bazel-bin/packages/core/deprecations/core-deprecations-server/npm_module_types", - "@types/kbn__core-deprecations-server-internal": "link:bazel-bin/packages/core/deprecations/core-deprecations-server-internal/npm_module_types", - "@types/kbn__core-deprecations-server-mocks": "link:bazel-bin/packages/core/deprecations/core-deprecations-server-mocks/npm_module_types", - "@types/kbn__core-doc-links-browser": "link:bazel-bin/packages/core/doc-links/core-doc-links-browser/npm_module_types", - "@types/kbn__core-doc-links-browser-internal": "link:bazel-bin/packages/core/doc-links/core-doc-links-browser-internal/npm_module_types", - "@types/kbn__core-doc-links-browser-mocks": "link:bazel-bin/packages/core/doc-links/core-doc-links-browser-mocks/npm_module_types", - "@types/kbn__core-doc-links-server": "link:bazel-bin/packages/core/doc-links/core-doc-links-server/npm_module_types", - "@types/kbn__core-doc-links-server-internal": "link:bazel-bin/packages/core/doc-links/core-doc-links-server-internal/npm_module_types", - "@types/kbn__core-doc-links-server-mocks": "link:bazel-bin/packages/core/doc-links/core-doc-links-server-mocks/npm_module_types", - "@types/kbn__core-elasticsearch-client-server": "link:bazel-bin/packages/core/elasticsearch/core-elasticsearch-client-server/npm_module_types", - "@types/kbn__core-elasticsearch-client-server-internal": "link:bazel-bin/packages/core/elasticsearch/core-elasticsearch-client-server-internal/npm_module_types", - "@types/kbn__core-elasticsearch-client-server-mocks": "link:bazel-bin/packages/core/elasticsearch/core-elasticsearch-client-server-mocks/npm_module_types", - "@types/kbn__core-elasticsearch-server": "link:bazel-bin/packages/core/elasticsearch/core-elasticsearch-server/npm_module_types", - "@types/kbn__core-elasticsearch-server-internal": "link:bazel-bin/packages/core/elasticsearch/core-elasticsearch-server-internal/npm_module_types", - "@types/kbn__core-elasticsearch-server-mocks": "link:bazel-bin/packages/core/elasticsearch/core-elasticsearch-server-mocks/npm_module_types", - "@types/kbn__core-environment-server-internal": "link:bazel-bin/packages/core/environment/core-environment-server-internal/npm_module_types", - "@types/kbn__core-environment-server-mocks": "link:bazel-bin/packages/core/environment/core-environment-server-mocks/npm_module_types", - "@types/kbn__core-execution-context-browser": "link:bazel-bin/packages/core/execution-context/core-execution-context-browser/npm_module_types", - "@types/kbn__core-execution-context-browser-internal": "link:bazel-bin/packages/core/execution-context/core-execution-context-browser-internal/npm_module_types", - "@types/kbn__core-execution-context-browser-mocks": "link:bazel-bin/packages/core/execution-context/core-execution-context-browser-mocks/npm_module_types", - "@types/kbn__core-execution-context-common": "link:bazel-bin/packages/core/execution-context/core-execution-context-common/npm_module_types", - "@types/kbn__core-execution-context-server": "link:bazel-bin/packages/core/execution-context/core-execution-context-server/npm_module_types", - "@types/kbn__core-execution-context-server-internal": "link:bazel-bin/packages/core/execution-context/core-execution-context-server-internal/npm_module_types", - "@types/kbn__core-execution-context-server-mocks": "link:bazel-bin/packages/core/execution-context/core-execution-context-server-mocks/npm_module_types", - "@types/kbn__core-fatal-errors-browser": "link:bazel-bin/packages/core/fatal-errors/core-fatal-errors-browser/npm_module_types", - "@types/kbn__core-fatal-errors-browser-internal": "link:bazel-bin/packages/core/fatal-errors/core-fatal-errors-browser-internal/npm_module_types", - "@types/kbn__core-fatal-errors-browser-mocks": "link:bazel-bin/packages/core/fatal-errors/core-fatal-errors-browser-mocks/npm_module_types", - "@types/kbn__core-http-browser": "link:bazel-bin/packages/core/http/core-http-browser/npm_module_types", - "@types/kbn__core-http-browser-internal": "link:bazel-bin/packages/core/http/core-http-browser-internal/npm_module_types", - "@types/kbn__core-http-browser-mocks": "link:bazel-bin/packages/core/http/core-http-browser-mocks/npm_module_types", - "@types/kbn__core-http-common": "link:bazel-bin/packages/core/http/core-http-common/npm_module_types", - "@types/kbn__core-http-context-server-internal": "link:bazel-bin/packages/core/http/core-http-context-server-internal/npm_module_types", - "@types/kbn__core-http-context-server-mocks": "link:bazel-bin/packages/core/http/core-http-context-server-mocks/npm_module_types", - "@types/kbn__core-http-request-handler-context-server": "link:bazel-bin/packages/core/http/core-http-request-handler-context-server/npm_module_types", - "@types/kbn__core-http-request-handler-context-server-internal": "link:bazel-bin/packages/core/http/core-http-request-handler-context-server-internal/npm_module_types", - "@types/kbn__core-http-resources-server": "link:bazel-bin/packages/core/http/core-http-resources-server/npm_module_types", - "@types/kbn__core-http-resources-server-internal": "link:bazel-bin/packages/core/http/core-http-resources-server-internal/npm_module_types", - "@types/kbn__core-http-resources-server-mocks": "link:bazel-bin/packages/core/http/core-http-resources-server-mocks/npm_module_types", - "@types/kbn__core-http-router-server-internal": "link:bazel-bin/packages/core/http/core-http-router-server-internal/npm_module_types", - "@types/kbn__core-http-router-server-mocks": "link:bazel-bin/packages/core/http/core-http-router-server-mocks/npm_module_types", - "@types/kbn__core-http-server": "link:bazel-bin/packages/core/http/core-http-server/npm_module_types", - "@types/kbn__core-http-server-internal": "link:bazel-bin/packages/core/http/core-http-server-internal/npm_module_types", - "@types/kbn__core-http-server-mocks": "link:bazel-bin/packages/core/http/core-http-server-mocks/npm_module_types", - "@types/kbn__core-i18n-browser": "link:bazel-bin/packages/core/i18n/core-i18n-browser/npm_module_types", - "@types/kbn__core-i18n-browser-internal": "link:bazel-bin/packages/core/i18n/core-i18n-browser-internal/npm_module_types", - "@types/kbn__core-i18n-browser-mocks": "link:bazel-bin/packages/core/i18n/core-i18n-browser-mocks/npm_module_types", - "@types/kbn__core-i18n-server": "link:bazel-bin/packages/core/i18n/core-i18n-server/npm_module_types", - "@types/kbn__core-i18n-server-internal": "link:bazel-bin/packages/core/i18n/core-i18n-server-internal/npm_module_types", - "@types/kbn__core-i18n-server-mocks": "link:bazel-bin/packages/core/i18n/core-i18n-server-mocks/npm_module_types", - "@types/kbn__core-injected-metadata-browser": "link:bazel-bin/packages/core/injected-metadata/core-injected-metadata-browser/npm_module_types", - "@types/kbn__core-injected-metadata-browser-internal": "link:bazel-bin/packages/core/injected-metadata/core-injected-metadata-browser-internal/npm_module_types", - "@types/kbn__core-injected-metadata-browser-mocks": "link:bazel-bin/packages/core/injected-metadata/core-injected-metadata-browser-mocks/npm_module_types", - "@types/kbn__core-injected-metadata-common-internal": "link:bazel-bin/packages/core/injected-metadata/core-injected-metadata-common-internal/npm_module_types", - "@types/kbn__core-integrations-browser-internal": "link:bazel-bin/packages/core/integrations/core-integrations-browser-internal/npm_module_types", - "@types/kbn__core-integrations-browser-mocks": "link:bazel-bin/packages/core/integrations/core-integrations-browser-mocks/npm_module_types", - "@types/kbn__core-lifecycle-browser": "link:bazel-bin/packages/core/lifecycle/core-lifecycle-browser/npm_module_types", - "@types/kbn__core-lifecycle-browser-internal": "link:bazel-bin/packages/core/lifecycle/core-lifecycle-browser-internal/npm_module_types", - "@types/kbn__core-lifecycle-browser-mocks": "link:bazel-bin/packages/core/lifecycle/core-lifecycle-browser-mocks/npm_module_types", - "@types/kbn__core-lifecycle-server": "link:bazel-bin/packages/core/lifecycle/core-lifecycle-server/npm_module_types", - "@types/kbn__core-lifecycle-server-internal": "link:bazel-bin/packages/core/lifecycle/core-lifecycle-server-internal/npm_module_types", - "@types/kbn__core-lifecycle-server-mocks": "link:bazel-bin/packages/core/lifecycle/core-lifecycle-server-mocks/npm_module_types", - "@types/kbn__core-logging-server": "link:bazel-bin/packages/core/logging/core-logging-server/npm_module_types", - "@types/kbn__core-logging-server-internal": "link:bazel-bin/packages/core/logging/core-logging-server-internal/npm_module_types", - "@types/kbn__core-logging-server-mocks": "link:bazel-bin/packages/core/logging/core-logging-server-mocks/npm_module_types", - "@types/kbn__core-metrics-collectors-server-internal": "link:bazel-bin/packages/core/metrics/core-metrics-collectors-server-internal/npm_module_types", - "@types/kbn__core-metrics-collectors-server-mocks": "link:bazel-bin/packages/core/metrics/core-metrics-collectors-server-mocks/npm_module_types", - "@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-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", - "@types/kbn__core-plugins-base-server-internal": "link:bazel-bin/packages/core/plugins/core-plugins-base-server-internal/npm_module_types", - "@types/kbn__core-plugins-browser": "link:bazel-bin/packages/core/plugins/core-plugins-browser/npm_module_types", - "@types/kbn__core-plugins-browser-internal": "link:bazel-bin/packages/core/plugins/core-plugins-browser-internal/npm_module_types", - "@types/kbn__core-plugins-browser-mocks": "link:bazel-bin/packages/core/plugins/core-plugins-browser-mocks/npm_module_types", - "@types/kbn__core-plugins-server": "link:bazel-bin/packages/core/plugins/core-plugins-server/npm_module_types", - "@types/kbn__core-plugins-server-internal": "link:bazel-bin/packages/core/plugins/core-plugins-server-internal/npm_module_types", - "@types/kbn__core-plugins-server-mocks": "link:bazel-bin/packages/core/plugins/core-plugins-server-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", - "@types/kbn__core-public-internal-base": "link:bazel-bin/packages/core/public/internal-base/npm_module_types", - "@types/kbn__core-rendering-browser-internal": "link:bazel-bin/packages/core/rendering/core-rendering-browser-internal/npm_module_types", - "@types/kbn__core-rendering-browser-mocks": "link:bazel-bin/packages/core/rendering/core-rendering-browser-mocks/npm_module_types", - "@types/kbn__core-rendering-server-internal": "link:bazel-bin/packages/core/rendering/core-rendering-server-internal/npm_module_types", - "@types/kbn__core-rendering-server-mocks": "link:bazel-bin/packages/core/rendering/core-rendering-server-mocks/npm_module_types", - "@types/kbn__core-root-browser-internal": "link:bazel-bin/packages/core/root/core-root-browser-internal/npm_module_types", - "@types/kbn__core-saved-objects-api-browser": "link:bazel-bin/packages/core/saved-objects/core-saved-objects-api-browser/npm_module_types", - "@types/kbn__core-saved-objects-api-server": "link:bazel-bin/packages/core/saved-objects/core-saved-objects-api-server/npm_module_types", - "@types/kbn__core-saved-objects-api-server-internal": "link:bazel-bin/packages/core/saved-objects/core-saved-objects-api-server-internal/npm_module_types", - "@types/kbn__core-saved-objects-api-server-mocks": "link:bazel-bin/packages/core/saved-objects/core-saved-objects-api-server-mocks/npm_module_types", - "@types/kbn__core-saved-objects-base-server-internal": "link:bazel-bin/packages/core/saved-objects/core-saved-objects-base-server-internal/npm_module_types", - "@types/kbn__core-saved-objects-base-server-mocks": "link:bazel-bin/packages/core/saved-objects/core-saved-objects-base-server-mocks/npm_module_types", - "@types/kbn__core-saved-objects-browser": "link:bazel-bin/packages/core/saved-objects/core-saved-objects-browser/npm_module_types", - "@types/kbn__core-saved-objects-browser-internal": "link:bazel-bin/packages/core/saved-objects/core-saved-objects-browser-internal/npm_module_types", - "@types/kbn__core-saved-objects-browser-mocks": "link:bazel-bin/packages/core/saved-objects/core-saved-objects-browser-mocks/npm_module_types", - "@types/kbn__core-saved-objects-common": "link:bazel-bin/packages/core/saved-objects/core-saved-objects-common/npm_module_types", - "@types/kbn__core-saved-objects-import-export-server-internal": "link:bazel-bin/packages/core/saved-objects/core-saved-objects-import-export-server-internal/npm_module_types", - "@types/kbn__core-saved-objects-import-export-server-mocks": "link:bazel-bin/packages/core/saved-objects/core-saved-objects-import-export-server-mocks/npm_module_types", - "@types/kbn__core-saved-objects-migration-server-internal": "link:bazel-bin/packages/core/saved-objects/core-saved-objects-migration-server-internal/npm_module_types", - "@types/kbn__core-saved-objects-migration-server-mocks": "link:bazel-bin/packages/core/saved-objects/core-saved-objects-migration-server-mocks/npm_module_types", - "@types/kbn__core-saved-objects-server": "link:bazel-bin/packages/core/saved-objects/core-saved-objects-server/npm_module_types", - "@types/kbn__core-saved-objects-server-internal": "link:bazel-bin/packages/core/saved-objects/core-saved-objects-server-internal/npm_module_types", - "@types/kbn__core-saved-objects-server-mocks": "link:bazel-bin/packages/core/saved-objects/core-saved-objects-server-mocks/npm_module_types", - "@types/kbn__core-saved-objects-utils-server": "link:bazel-bin/packages/core/saved-objects/core-saved-objects-utils-server/npm_module_types", - "@types/kbn__core-server-internal-base": "link:bazel-bin/packages/core/server/internal-base/npm_module_types", - "@types/kbn__core-status-common": "link:bazel-bin/packages/core/status/core-status-common/npm_module_types", - "@types/kbn__core-status-common-internal": "link:bazel-bin/packages/core/status/core-status-common-internal/npm_module_types", - "@types/kbn__core-status-server": "link:bazel-bin/packages/core/status/core-status-server/npm_module_types", - "@types/kbn__core-status-server-internal": "link:bazel-bin/packages/core/status/core-status-server-internal/npm_module_types", - "@types/kbn__core-status-server-mocks": "link:bazel-bin/packages/core/status/core-status-server-mocks/npm_module_types", - "@types/kbn__core-test-helpers-deprecations-getters": "link:bazel-bin/packages/core/test-helpers/core-test-helpers-deprecations-getters/npm_module_types", - "@types/kbn__core-test-helpers-http-setup-browser": "link:bazel-bin/packages/core/test-helpers/core-test-helpers-http-setup-browser/npm_module_types", - "@types/kbn__core-test-helpers-so-type-serializer": "link:bazel-bin/packages/core/test-helpers/core-test-helpers-so-type-serializer/npm_module_types", - "@types/kbn__core-test-helpers-test-utils": "link:bazel-bin/packages/core/test-helpers/core-test-helpers-test-utils/npm_module_types", - "@types/kbn__core-theme-browser": "link:bazel-bin/packages/core/theme/core-theme-browser/npm_module_types", - "@types/kbn__core-theme-browser-internal": "link:bazel-bin/packages/core/theme/core-theme-browser-internal/npm_module_types", - "@types/kbn__core-theme-browser-mocks": "link:bazel-bin/packages/core/theme/core-theme-browser-mocks/npm_module_types", - "@types/kbn__core-ui-settings-browser": "link:bazel-bin/packages/core/ui-settings/core-ui-settings-browser/npm_module_types", - "@types/kbn__core-ui-settings-browser-internal": "link:bazel-bin/packages/core/ui-settings/core-ui-settings-browser-internal/npm_module_types", - "@types/kbn__core-ui-settings-browser-mocks": "link:bazel-bin/packages/core/ui-settings/core-ui-settings-browser-mocks/npm_module_types", - "@types/kbn__core-ui-settings-common": "link:bazel-bin/packages/core/ui-settings/core-ui-settings-common/npm_module_types", - "@types/kbn__core-ui-settings-server": "link:bazel-bin/packages/core/ui-settings/core-ui-settings-server/npm_module_types", - "@types/kbn__core-ui-settings-server-internal": "link:bazel-bin/packages/core/ui-settings/core-ui-settings-server-internal/npm_module_types", - "@types/kbn__core-ui-settings-server-mocks": "link:bazel-bin/packages/core/ui-settings/core-ui-settings-server-mocks/npm_module_types", - "@types/kbn__core-usage-data-base-server-internal": "link:bazel-bin/packages/core/usage-data/core-usage-data-base-server-internal/npm_module_types", - "@types/kbn__core-usage-data-server": "link:bazel-bin/packages/core/usage-data/core-usage-data-server/npm_module_types", - "@types/kbn__core-usage-data-server-internal": "link:bazel-bin/packages/core/usage-data/core-usage-data-server-internal/npm_module_types", - "@types/kbn__core-usage-data-server-mocks": "link:bazel-bin/packages/core/usage-data/core-usage-data-server-mocks/npm_module_types", - "@types/kbn__crypto": "link:bazel-bin/packages/kbn-crypto/npm_module_types", - "@types/kbn__crypto-browser": "link:bazel-bin/packages/kbn-crypto-browser/npm_module_types", - "@types/kbn__datemath": "link:bazel-bin/packages/kbn-datemath/npm_module_types", - "@types/kbn__dev-cli-errors": "link:bazel-bin/packages/kbn-dev-cli-errors/npm_module_types", - "@types/kbn__dev-cli-runner": "link:bazel-bin/packages/kbn-dev-cli-runner/npm_module_types", - "@types/kbn__dev-proc-runner": "link:bazel-bin/packages/kbn-dev-proc-runner/npm_module_types", - "@types/kbn__dev-utils": "link:bazel-bin/packages/kbn-dev-utils/npm_module_types", - "@types/kbn__doc-links": "link:bazel-bin/packages/kbn-doc-links/npm_module_types", - "@types/kbn__docs-utils": "link:bazel-bin/packages/kbn-docs-utils/npm_module_types", - "@types/kbn__ebt-tools": "link:bazel-bin/packages/kbn-ebt-tools/npm_module_types", - "@types/kbn__es-archiver": "link:bazel-bin/packages/kbn-es-archiver/npm_module_types", - "@types/kbn__es-errors": "link:bazel-bin/packages/kbn-es-errors/npm_module_types", - "@types/kbn__es-query": "link:bazel-bin/packages/kbn-es-query/npm_module_types", - "@types/kbn__es-types": "link:bazel-bin/packages/kbn-es-types/npm_module_types", - "@types/kbn__eslint-plugin-disable": "link:bazel-bin/packages/kbn-eslint-plugin-disable/npm_module_types", - "@types/kbn__eslint-plugin-imports": "link:bazel-bin/packages/kbn-eslint-plugin-imports/npm_module_types", - "@types/kbn__failed-test-reporter-cli": "link:bazel-bin/packages/kbn-failed-test-reporter-cli/npm_module_types", - "@types/kbn__field-types": "link:bazel-bin/packages/kbn-field-types/npm_module_types", - "@types/kbn__find-used-node-modules": "link:bazel-bin/packages/kbn-find-used-node-modules/npm_module_types", - "@types/kbn__ftr-common-functional-services": "link:bazel-bin/packages/kbn-ftr-common-functional-services/npm_module_types", - "@types/kbn__ftr-screenshot-filename": "link:bazel-bin/packages/kbn-ftr-screenshot-filename/npm_module_types", - "@types/kbn__generate": "link:bazel-bin/packages/kbn-generate/npm_module_types", - "@types/kbn__get-repo-files": "link:bazel-bin/packages/kbn-get-repo-files/npm_module_types", - "@types/kbn__guided-onboarding": "link:bazel-bin/packages/kbn-guided-onboarding/npm_module_types", - "@types/kbn__handlebars": "link:bazel-bin/packages/kbn-handlebars/npm_module_types", - "@types/kbn__hapi-mocks": "link:bazel-bin/packages/kbn-hapi-mocks/npm_module_types", - "@types/kbn__home-sample-data-card": "link:bazel-bin/packages/home/sample_data_card/npm_module_types", - "@types/kbn__home-sample-data-tab": "link:bazel-bin/packages/home/sample_data_tab/npm_module_types", - "@types/kbn__home-sample-data-types": "link:bazel-bin/packages/home/sample_data_types/npm_module_types", - "@types/kbn__i18n": "link:bazel-bin/packages/kbn-i18n/npm_module_types", - "@types/kbn__i18n-react": "link:bazel-bin/packages/kbn-i18n-react/npm_module_types", - "@types/kbn__import-resolver": "link:bazel-bin/packages/kbn-import-resolver/npm_module_types", - "@types/kbn__interpreter": "link:bazel-bin/packages/kbn-interpreter/npm_module_types", - "@types/kbn__io-ts-utils": "link:bazel-bin/packages/kbn-io-ts-utils/npm_module_types", - "@types/kbn__jest-serializers": "link:bazel-bin/packages/kbn-jest-serializers/npm_module_types", - "@types/kbn__journeys": "link:bazel-bin/packages/kbn-journeys/npm_module_types", - "@types/kbn__kbn-ci-stats-performance-metrics": "link:bazel-bin/packages/kbn-kbn-ci-stats-performance-metrics/npm_module_types", - "@types/kbn__kibana-manifest-schema": "link:bazel-bin/packages/kbn-kibana-manifest-schema/npm_module_types", - "@types/kbn__language-documentation-popover": "link:bazel-bin/packages/kbn-language-documentation-popover/npm_module_types", - "@types/kbn__logging": "link:bazel-bin/packages/kbn-logging/npm_module_types", - "@types/kbn__logging-mocks": "link:bazel-bin/packages/kbn-logging-mocks/npm_module_types", - "@types/kbn__managed-vscode-config": "link:bazel-bin/packages/kbn-managed-vscode-config/npm_module_types", - "@types/kbn__managed-vscode-config-cli": "link:bazel-bin/packages/kbn-managed-vscode-config-cli/npm_module_types", - "@types/kbn__mapbox-gl": "link:bazel-bin/packages/kbn-mapbox-gl/npm_module_types", - "@types/kbn__ml-agg-utils": "link:bazel-bin/x-pack/packages/ml/agg_utils/npm_module_types", - "@types/kbn__ml-is-populated-object": "link:bazel-bin/x-pack/packages/ml/is_populated_object/npm_module_types", - "@types/kbn__ml-string-hash": "link:bazel-bin/x-pack/packages/ml/string_hash/npm_module_types", - "@types/kbn__monaco": "link:bazel-bin/packages/kbn-monaco/npm_module_types", - "@types/kbn__optimizer": "link:bazel-bin/packages/kbn-optimizer/npm_module_types", - "@types/kbn__optimizer-webpack-helpers": "link:bazel-bin/packages/kbn-optimizer-webpack-helpers/npm_module_types", - "@types/kbn__osquery-io-ts-types": "link:bazel-bin/packages/kbn-osquery-io-ts-types/npm_module_types", - "@types/kbn__performance-testing-dataset-extractor": "link:bazel-bin/packages/kbn-performance-testing-dataset-extractor/npm_module_types", - "@types/kbn__plugin-discovery": "link:bazel-bin/packages/kbn-plugin-discovery/npm_module_types", - "@types/kbn__plugin-generator": "link:bazel-bin/packages/kbn-plugin-generator/npm_module_types", - "@types/kbn__plugin-helpers": "link:bazel-bin/packages/kbn-plugin-helpers/npm_module_types", - "@types/kbn__react-field": "link:bazel-bin/packages/kbn-react-field/npm_module_types", - "@types/kbn__repo-source-classifier": "link:bazel-bin/packages/kbn-repo-source-classifier/npm_module_types", - "@types/kbn__repo-source-classifier-cli": "link:bazel-bin/packages/kbn-repo-source-classifier-cli/npm_module_types", - "@types/kbn__rule-data-utils": "link:bazel-bin/packages/kbn-rule-data-utils/npm_module_types", - "@types/kbn__securitysolution-autocomplete": "link:bazel-bin/packages/kbn-securitysolution-autocomplete/npm_module_types", - "@types/kbn__securitysolution-es-utils": "link:bazel-bin/packages/kbn-securitysolution-es-utils/npm_module_types", - "@types/kbn__securitysolution-exception-list-components": "link:bazel-bin/packages/kbn-securitysolution-exception-list-components/npm_module_types", - "@types/kbn__securitysolution-hook-utils": "link:bazel-bin/packages/kbn-securitysolution-hook-utils/npm_module_types", - "@types/kbn__securitysolution-io-ts-alerting-types": "link:bazel-bin/packages/kbn-securitysolution-io-ts-alerting-types/npm_module_types", - "@types/kbn__securitysolution-io-ts-list-types": "link:bazel-bin/packages/kbn-securitysolution-io-ts-list-types/npm_module_types", - "@types/kbn__securitysolution-io-ts-types": "link:bazel-bin/packages/kbn-securitysolution-io-ts-types/npm_module_types", - "@types/kbn__securitysolution-io-ts-utils": "link:bazel-bin/packages/kbn-securitysolution-io-ts-utils/npm_module_types", - "@types/kbn__securitysolution-list-api": "link:bazel-bin/packages/kbn-securitysolution-list-api/npm_module_types", - "@types/kbn__securitysolution-list-constants": "link:bazel-bin/packages/kbn-securitysolution-list-constants/npm_module_types", - "@types/kbn__securitysolution-list-hooks": "link:bazel-bin/packages/kbn-securitysolution-list-hooks/npm_module_types", - "@types/kbn__securitysolution-list-utils": "link:bazel-bin/packages/kbn-securitysolution-list-utils/npm_module_types", - "@types/kbn__securitysolution-rules": "link:bazel-bin/packages/kbn-securitysolution-rules/npm_module_types", - "@types/kbn__securitysolution-t-grid": "link:bazel-bin/packages/kbn-securitysolution-t-grid/npm_module_types", - "@types/kbn__securitysolution-utils": "link:bazel-bin/packages/kbn-securitysolution-utils/npm_module_types", - "@types/kbn__server-http-tools": "link:bazel-bin/packages/kbn-server-http-tools/npm_module_types", - "@types/kbn__server-route-repository": "link:bazel-bin/packages/kbn-server-route-repository/npm_module_types", - "@types/kbn__shared-svg": "link:bazel-bin/packages/kbn-shared-svg/npm_module_types", - "@types/kbn__shared-ux-avatar-solution": "link:bazel-bin/packages/shared-ux/avatar/solution/npm_module_types", - "@types/kbn__shared-ux-avatar-user-profile-components": "link:bazel-bin/packages/shared-ux/avatar/user_profile/impl/npm_module_types", - "@types/kbn__shared-ux-button-exit-full-screen": "link:bazel-bin/packages/shared-ux/button/exit_full_screen/impl/npm_module_types", - "@types/kbn__shared-ux-button-exit-full-screen-mocks": "link:bazel-bin/packages/shared-ux/button/exit_full_screen/mocks/npm_module_types", - "@types/kbn__shared-ux-button-exit-full-screen-types": "link:bazel-bin/packages/shared-ux/button/exit_full_screen/types/npm_module_types", - "@types/kbn__shared-ux-button-toolbar": "link:bazel-bin/packages/shared-ux/button_toolbar/npm_module_types", - "@types/kbn__shared-ux-card-no-data": "link:bazel-bin/packages/shared-ux/card/no_data/impl/npm_module_types", - "@types/kbn__shared-ux-card-no-data-mocks": "link:bazel-bin/packages/shared-ux/card/no_data/mocks/npm_module_types", - "@types/kbn__shared-ux-card-no-data-types": "link:bazel-bin/packages/shared-ux/card/no_data/types/npm_module_types", - "@types/kbn__shared-ux-link-redirect-app": "link:bazel-bin/packages/shared-ux/link/redirect_app/impl/npm_module_types", - "@types/kbn__shared-ux-link-redirect-app-mocks": "link:bazel-bin/packages/shared-ux/link/redirect_app/mocks/npm_module_types", - "@types/kbn__shared-ux-link-redirect-app-types": "link:bazel-bin/packages/shared-ux/link/redirect_app/types/npm_module_types", - "@types/kbn__shared-ux-markdown": "link:bazel-bin/packages/shared-ux/markdown/impl/npm_module_types", - "@types/kbn__shared-ux-markdown-mocks": "link:bazel-bin/packages/shared-ux/markdown/mocks/npm_module_types", - "@types/kbn__shared-ux-markdown-types": "link:bazel-bin/packages/shared-ux/markdown/types/npm_module_types", - "@types/kbn__shared-ux-page-analytics-no-data": "link:bazel-bin/packages/shared-ux/page/analytics_no_data/impl/npm_module_types", - "@types/kbn__shared-ux-page-analytics-no-data-mocks": "link:bazel-bin/packages/shared-ux/page/analytics_no_data/mocks/npm_module_types", - "@types/kbn__shared-ux-page-analytics-no-data-types": "link:bazel-bin/packages/shared-ux/page/analytics_no_data/types/npm_module_types", - "@types/kbn__shared-ux-page-kibana-no-data": "link:bazel-bin/packages/shared-ux/page/kibana_no_data/impl/npm_module_types", - "@types/kbn__shared-ux-page-kibana-no-data-mocks": "link:bazel-bin/packages/shared-ux/page/kibana_no_data/mocks/npm_module_types", - "@types/kbn__shared-ux-page-kibana-no-data-types": "link:bazel-bin/packages/shared-ux/page/kibana_no_data/types/npm_module_types", - "@types/kbn__shared-ux-page-kibana-template": "link:bazel-bin/packages/shared-ux/page/kibana_template/impl/npm_module_types", - "@types/kbn__shared-ux-page-kibana-template-mocks": "link:bazel-bin/packages/shared-ux/page/kibana_template/mocks/npm_module_types", - "@types/kbn__shared-ux-page-kibana-template-types": "link:bazel-bin/packages/shared-ux/page/kibana_template/types/npm_module_types", - "@types/kbn__shared-ux-page-no-data": "link:bazel-bin/packages/shared-ux/page/no_data/impl/npm_module_types", - "@types/kbn__shared-ux-page-no-data-config": "link:bazel-bin/packages/shared-ux/page/no_data_config/impl/npm_module_types", - "@types/kbn__shared-ux-page-no-data-config-mocks": "link:bazel-bin/packages/shared-ux/page/no_data_config/mocks/npm_module_types", - "@types/kbn__shared-ux-page-no-data-config-types": "link:bazel-bin/packages/shared-ux/page/no_data_config/types/npm_module_types", - "@types/kbn__shared-ux-page-no-data-mocks": "link:bazel-bin/packages/shared-ux/page/no_data/mocks/npm_module_types", - "@types/kbn__shared-ux-page-no-data-types": "link:bazel-bin/packages/shared-ux/page/no_data/types/npm_module_types", - "@types/kbn__shared-ux-page-solution-nav": "link:bazel-bin/packages/shared-ux/page/solution_nav/npm_module_types", - "@types/kbn__shared-ux-prompt-no-data-views": "link:bazel-bin/packages/shared-ux/prompt/no_data_views/impl/npm_module_types", - "@types/kbn__shared-ux-prompt-no-data-views-mocks": "link:bazel-bin/packages/shared-ux/prompt/no_data_views/mocks/npm_module_types", - "@types/kbn__shared-ux-prompt-no-data-views-types": "link:bazel-bin/packages/shared-ux/prompt/no_data_views/types/npm_module_types", - "@types/kbn__shared-ux-router-mocks": "link:bazel-bin/packages/shared-ux/router/mocks/npm_module_types", - "@types/kbn__shared-ux-services": "link:bazel-bin/packages/kbn-shared-ux-services/npm_module_types", - "@types/kbn__shared-ux-storybook": "link:bazel-bin/packages/kbn-shared-ux-storybook/npm_module_types", - "@types/kbn__shared-ux-storybook-mock": "link:bazel-bin/packages/shared-ux/storybook/mock/npm_module_types", - "@types/kbn__shared-ux-utility": "link:bazel-bin/packages/kbn-shared-ux-utility/npm_module_types", - "@types/kbn__some-dev-log": "link:bazel-bin/packages/kbn-some-dev-log/npm_module_types", - "@types/kbn__sort-package-json": "link:bazel-bin/packages/kbn-sort-package-json/npm_module_types", - "@types/kbn__std": "link:bazel-bin/packages/kbn-std/npm_module_types", - "@types/kbn__stdio-dev-helpers": "link:bazel-bin/packages/kbn-stdio-dev-helpers/npm_module_types", - "@types/kbn__storybook": "link:bazel-bin/packages/kbn-storybook/npm_module_types", - "@types/kbn__telemetry-tools": "link:bazel-bin/packages/kbn-telemetry-tools/npm_module_types", - "@types/kbn__test": "link:bazel-bin/packages/kbn-test/npm_module_types", - "@types/kbn__test-jest-helpers": "link:bazel-bin/packages/kbn-test-jest-helpers/npm_module_types", - "@types/kbn__test-subj-selector": "link:bazel-bin/packages/kbn-test-subj-selector/npm_module_types", - "@types/kbn__tooling-log": "link:bazel-bin/packages/kbn-tooling-log/npm_module_types", - "@types/kbn__type-summarizer": "link:bazel-bin/packages/kbn-type-summarizer/npm_module_types", - "@types/kbn__type-summarizer-cli": "link:bazel-bin/packages/kbn-type-summarizer-cli/npm_module_types", - "@types/kbn__type-summarizer-core": "link:bazel-bin/packages/kbn-type-summarizer-core/npm_module_types", - "@types/kbn__typed-react-router-config": "link:bazel-bin/packages/kbn-typed-react-router-config/npm_module_types", - "@types/kbn__ui-shared-deps-npm": "link:bazel-bin/packages/kbn-ui-shared-deps-npm/npm_module_types", - "@types/kbn__ui-shared-deps-src": "link:bazel-bin/packages/kbn-ui-shared-deps-src/npm_module_types", - "@types/kbn__ui-theme": "link:bazel-bin/packages/kbn-ui-theme/npm_module_types", - "@types/kbn__user-profile-components": "link:bazel-bin/packages/kbn-user-profile-components/npm_module_types", - "@types/kbn__utility-types": "link:bazel-bin/packages/kbn-utility-types/npm_module_types", - "@types/kbn__utility-types-jest": "link:bazel-bin/packages/kbn-utility-types-jest/npm_module_types", - "@types/kbn__utils": "link:bazel-bin/packages/kbn-utils/npm_module_types", - "@types/kbn__yarn-lock-validator": "link:bazel-bin/packages/kbn-yarn-lock-validator/npm_module_types", "@types/license-checker": "15.0.0", "@types/listr": "^0.14.0", "@types/loader-utils": "^1.1.3", diff --git a/packages/BUILD.bazel b/packages/BUILD.bazel index d14389555251f..3dc520d9a824b 100644 --- a/packages/BUILD.bazel +++ b/packages/BUILD.bazel @@ -690,13 +690,18 @@ filegroup( ], ) -# Grouping target to call all underlying packages build -# targets so we can build them all at once -# It will auto build all declared code packages and types packages +# Grouping target to call all underlying packages js builds filegroup( name = "build", srcs = [ - ":build_pkg_code", + ":build_pkg_code" + ], +) + +# Grouping target to call all underlying packages ts builds +filegroup( + name = "build_types", + srcs = [ ":build_pkg_types" ], ) diff --git a/packages/content-management/table_list/index.ts b/packages/content-management/table_list/index.ts index c6550a12da30a..532b35450d541 100644 --- a/packages/content-management/table_list/index.ts +++ b/packages/content-management/table_list/index.ts @@ -9,3 +9,4 @@ export { TableListView, TableListViewProvider, TableListViewKibanaProvider } from './src'; export type { UserContentCommonSchema } from './src'; +export type { TableListViewKibanaDependencies } from './src/services'; diff --git a/packages/core/elasticsearch/core-elasticsearch-client-server-internal/index.ts b/packages/core/elasticsearch/core-elasticsearch-client-server-internal/index.ts index 6f1f276c7d089..84ae0392ce1d6 100644 --- a/packages/core/elasticsearch/core-elasticsearch-client-server-internal/index.ts +++ b/packages/core/elasticsearch/core-elasticsearch-client-server-internal/index.ts @@ -9,7 +9,7 @@ export { ScopedClusterClient } from './src/scoped_cluster_client'; export { ClusterClient } from './src/cluster_client'; export { configureClient } from './src/configure_client'; -export { type AgentStore, AgentManager } from './src/agent_manager'; +export { type AgentStore, AgentManager, type NetworkAgent } from './src/agent_manager'; export { getRequestDebugMeta, getErrorMessage } from './src/log_query_and_deprecation'; export { PRODUCT_RESPONSE_HEADER, diff --git a/packages/core/elasticsearch/core-elasticsearch-server-internal/index.ts b/packages/core/elasticsearch/core-elasticsearch-server-internal/index.ts index 7538a0804768e..48b54addb7d95 100644 --- a/packages/core/elasticsearch/core-elasticsearch-server-internal/index.ts +++ b/packages/core/elasticsearch/core-elasticsearch-server-internal/index.ts @@ -29,3 +29,4 @@ export { export { CoreElasticsearchRouteHandlerContext } from './src/elasticsearch_route_handler_context'; export { retryCallCluster, migrationRetryCallCluster } from './src/retry_call_cluster'; export { isInlineScriptingEnabled } from './src/is_scripting_enabled'; +export type { ClusterInfo } from './src/get_cluster_info'; diff --git a/packages/core/node/core-node-server-internal/index.ts b/packages/core/node/core-node-server-internal/index.ts index 9fa1dabc8ceeb..61c0356b6cfd6 100644 --- a/packages/core/node/core-node-server-internal/index.ts +++ b/packages/core/node/core-node-server-internal/index.ts @@ -8,5 +8,5 @@ export { nodeConfig } from './src/node_config'; -export { NodeService } from './src/node_service'; +export { NodeService, type PrebootDeps } from './src/node_service'; export type { InternalNodeServicePreboot } from './src/node_service'; diff --git a/packages/core/node/core-node-server-internal/src/node_service.ts b/packages/core/node/core-node-server-internal/src/node_service.ts index 7d3ab67364224..fb4ee57c41cbe 100644 --- a/packages/core/node/core-node-server-internal/src/node_service.ts +++ b/packages/core/node/core-node-server-internal/src/node_service.ts @@ -33,7 +33,7 @@ export interface InternalNodeServicePreboot { roles: NodeRoles; } -interface PrebootDeps { +export interface PrebootDeps { loggingSystem: ILoggingSystem; } diff --git a/packages/kbn-es-query/index.ts b/packages/kbn-es-query/index.ts index 43c660544bc90..4ea965ea4b7a8 100644 --- a/packages/kbn-es-query/index.ts +++ b/packages/kbn-es-query/index.ts @@ -22,6 +22,7 @@ export type { ExistsFilter, FieldFilter, Filter, + FilterItem, FilterCompareOptions, FilterMeta, LatLon, diff --git a/packages/kbn-ftr-common-functional-services/index.ts b/packages/kbn-ftr-common-functional-services/index.ts index 950a860f7553f..8bad5e67102fd 100644 --- a/packages/kbn-ftr-common-functional-services/index.ts +++ b/packages/kbn-ftr-common-functional-services/index.ts @@ -19,3 +19,5 @@ export type EsArchiver = ProvidedType; import { EsProvider } from './services/es'; export type Es = ProvidedType; + +export type { FtrProviderContext } from './services/ftr_provider_context'; diff --git a/packages/kbn-generate/templates/package/BUILD.bazel.ejs b/packages/kbn-generate/templates/package/BUILD.bazel.ejs index cb1d250f468e9..92a407eea682c 100644 --- a/packages/kbn-generate/templates/package/BUILD.bazel.ejs +++ b/packages/kbn-generate/templates/package/BUILD.bazel.ejs @@ -99,7 +99,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -113,6 +112,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + <%- pkg.web ? '[":target_node", ":target_web", ":tsc_types"]' : '[":target_node", ":tsc_types"]' %>, + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -124,15 +131,6 @@ filegroup( 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"], diff --git a/packages/kbn-generate/templates/package/package.json.ejs b/packages/kbn-generate/templates/package/package.json.ejs index 44f53c0a1324c..7ab4cb3dfc20f 100644 --- a/packages/kbn-generate/templates/package/package.json.ejs +++ b/packages/kbn-generate/templates/package/package.json.ejs @@ -3,7 +3,8 @@ "version": "1.0.0", "private": true, "license": "SSPL-1.0 OR Elastic License 2.0", - "main": "./target_node/index.js" + "main": "./target_node/index.js", + "types": "./target_types/index.d.ts" <%_ if (pkg.web) { %>, "browser": "./target_web/index.js" <%_ } %> diff --git a/packages/kbn-generate/templates/package/tsconfig.json.ejs b/packages/kbn-generate/templates/package/tsconfig.json.ejs index d32cb46b253df..9ce192ed67b46 100644 --- a/packages/kbn-generate/templates/package/tsconfig.json.ejs +++ b/packages/kbn-generate/templates/package/tsconfig.json.ejs @@ -2,7 +2,6 @@ "extends": "<%- relativePathTo("tsconfig.bazel.json") %>", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/kbn-generate/templates/packages_BUILD.bazel.ejs b/packages/kbn-generate/templates/packages_BUILD.bazel.ejs index 43dd306d3cbb7..2656c97ad40e5 100644 --- a/packages/kbn-generate/templates/packages_BUILD.bazel.ejs +++ b/packages/kbn-generate/templates/packages_BUILD.bazel.ejs @@ -25,13 +25,18 @@ filegroup( ], ) -# Grouping target to call all underlying packages build -# targets so we can build them all at once -# It will auto build all declared code packages and types packages +# Grouping target to call all underlying packages js builds filegroup( name = "build", srcs = [ - ":build_pkg_code", + ":build_pkg_code" + ], +) + +# Grouping target to call all underlying packages ts builds +filegroup( + name = "build_types", + srcs = [ ":build_pkg_types" ], ) diff --git a/packages/kbn-guided-onboarding/index.ts b/packages/kbn-guided-onboarding/index.ts index 2bb4e91906cfd..f98f330cd4be3 100644 --- a/packages/kbn-guided-onboarding/index.ts +++ b/packages/kbn-guided-onboarding/index.ts @@ -6,6 +6,6 @@ * Side Public License, v 1. */ -export type { GuideState, GuideId } from './src/types'; +export type { GuideState, GuideId, GuideStepIds, StepStatus, GuideStep } from './src/types'; export { GuideCard, ObservabilityLinkCard } from './src/components/landing_page'; export type { UseCase } from './src/components/landing_page'; diff --git a/packages/kbn-logging/index.ts b/packages/kbn-logging/index.ts index 868e995a6c498..1f0e992f08a7a 100644 --- a/packages/kbn-logging/index.ts +++ b/packages/kbn-logging/index.ts @@ -14,4 +14,11 @@ export type { LogMeta } from './src/log_meta'; export type { LoggerFactory } from './src/logger_factory'; export type { Layout } from './src/layout'; export type { Appender, DisposableAppender } from './src/appenders'; -export type { Ecs, EcsEventCategory, EcsEventKind, EcsEventOutcome, EcsEventType } from './src/ecs'; +export type { + Ecs, + EcsEvent, + EcsEventCategory, + EcsEventKind, + EcsEventOutcome, + EcsEventType, +} from './src/ecs'; diff --git a/packages/kbn-logging/src/ecs/index.ts b/packages/kbn-logging/src/ecs/index.ts index 693e16c73a434..2e472185708ec 100644 --- a/packages/kbn-logging/src/ecs/index.ts +++ b/packages/kbn-logging/src/ecs/index.ts @@ -45,7 +45,13 @@ import { EcsUser } from './user'; import { EcsUserAgent } from './user_agent'; import { EcsVulnerability } from './vulnerability'; -export type { EcsEventCategory, EcsEventKind, EcsEventOutcome, EcsEventType } from './event'; +export type { + EcsEvent, + EcsEventCategory, + EcsEventKind, + EcsEventOutcome, + EcsEventType, +} from './event'; interface EcsField { /** diff --git a/packages/kbn-plugin-discovery/index.js b/packages/kbn-plugin-discovery/index.js index 7b47cc94052a4..a88ae4dc8d0d6 100644 --- a/packages/kbn-plugin-discovery/index.js +++ b/packages/kbn-plugin-discovery/index.js @@ -6,6 +6,8 @@ * Side Public License, v 1. */ +/** @typedef {import('./src/types').KibanaPlatformPlugin} KibanaPlatformPlugin */ + const { parseKibanaPlatformPlugin } = require('./src/parse_kibana_platform_plugin'); const { getPluginSearchPaths } = require('./src/plugin_search_paths'); const { diff --git a/packages/kbn-plugin-discovery/src/plugin_search_paths.js b/packages/kbn-plugin-discovery/src/plugin_search_paths.js index 6012f42a38ee1..b82e85a005c77 100644 --- a/packages/kbn-plugin-discovery/src/plugin_search_paths.js +++ b/packages/kbn-plugin-discovery/src/plugin_search_paths.js @@ -26,6 +26,7 @@ function getPluginSearchPaths({ rootDir, oss, examples, testPlugins }) { resolve(rootDir, 'test/plugin_functional/plugins'), resolve(rootDir, 'test/interpreter_functional/plugins'), resolve(rootDir, 'test/common/fixtures/plugins'), + resolve(rootDir, 'test/server_integration/__fixtures__/plugins'), ] : []), ...(testPlugins && !oss diff --git a/packages/kbn-rule-data-utils/tsconfig.json b/packages/kbn-rule-data-utils/tsconfig.json index dee08b30aa7a1..e6381fc4edf9f 100644 --- a/packages/kbn-rule-data-utils/tsconfig.json +++ b/packages/kbn-rule-data-utils/tsconfig.json @@ -4,7 +4,6 @@ "declaration": true, "declarationMap": true, "emitDeclarationOnly": true, - "incremental": false, "outDir": "./target_types", "stripInternal": false, "types": [ diff --git a/packages/kbn-storybook/tsconfig.json b/packages/kbn-storybook/tsconfig.json index 78e504491d999..b3dd6513e3984 100644 --- a/packages/kbn-storybook/tsconfig.json +++ b/packages/kbn-storybook/tsconfig.json @@ -4,7 +4,6 @@ "declaration": true, "declarationMap": true, "emitDeclarationOnly": true, - "incremental": false, "outDir": "target_types", "skipLibCheck": true, "target": "es2015", diff --git a/packages/shared-ux/storybook/mock/index.ts b/packages/shared-ux/storybook/mock/index.ts index 2d60e15d952c5..5252bace4ad5f 100644 --- a/packages/shared-ux/storybook/mock/index.ts +++ b/packages/shared-ux/storybook/mock/index.ts @@ -6,4 +6,4 @@ * Side Public License, v 1. */ -export { AbstractStorybookMock } from './src/mocks'; +export { AbstractStorybookMock, type ArgumentParams } from './src/mocks'; diff --git a/scripts/convert_ts_projects.js b/scripts/convert_ts_projects.js deleted file mode 100644 index 65053db0d0bd1..0000000000000 --- a/scripts/convert_ts_projects.js +++ /dev/null @@ -1,10 +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. - */ - -require('../src/setup_node_env'); -require('../src/dev/typescript/convert_all_to_composite'); diff --git a/src/dev/build/tasks/index.ts b/src/dev/build/tasks/index.ts index 51d501e78e052..3fb7002061fb4 100644 --- a/src/dev/build/tasks/index.ts +++ b/src/dev/build/tasks/index.ts @@ -36,5 +36,4 @@ export * from './verify_env_task'; export * from './write_sha_sums_task'; export * from './fetch_agent_versions_list'; -// @ts-expect-error this module can't be TS because it ends up pulling x-pack into Kibana export { InstallChromium } from './install_chromium'; diff --git a/src/dev/i18n/config.ts b/src/dev/i18n/config.ts index 6953d163885d7..f03db42ce916e 100644 --- a/src/dev/i18n/config.ts +++ b/src/dev/i18n/config.ts @@ -19,7 +19,7 @@ export interface I18nConfig { } export async function checkConfigNamespacePrefix(configPath: string) { - const { prefix, paths } = JSON.parse(await readFileAsync(resolve(configPath))); + const { prefix, paths } = JSON.parse(await readFileAsync(resolve(configPath), 'utf8')); for (const [namespace] of Object.entries(paths)) { if (prefix && prefix !== namespace.split('.')[0]) { throw new Error(`namespace ${namespace} must be prefixed with ${prefix} in ${configPath}`); @@ -35,7 +35,7 @@ export async function assignConfigFromPath( paths: {}, exclude: [], translations: [], - ...JSON.parse(await readFileAsync(resolve(configPath))), + ...JSON.parse(await readFileAsync(resolve(configPath), 'utf8')), }; for (const [namespace, namespacePaths] of Object.entries(additionalConfig.paths)) { diff --git a/src/dev/i18n/extract_default_translations.js b/src/dev/i18n/extract_default_translations.js index c52e14ca222d1..54f251c0c096f 100644 --- a/src/dev/i18n/extract_default_translations.js +++ b/src/dev/i18n/extract_default_translations.js @@ -70,45 +70,38 @@ export async function matchEntriesWithExctractors(inputPath, options = {}) { absolute, }); - const codeEntries = entries.reduce((paths, entry) => { - const resolvedPath = path.resolve(inputPath, entry); - paths.push(resolvedPath); - - return paths; - }, []); - - return [[codeEntries, extractCodeMessages]]; + return { + entries: entries.map((entry) => path.resolve(inputPath, entry)), + extractFunction: extractCodeMessages, + }; } export async function extractMessagesFromPathToMap(inputPath, targetMap, config, reporter) { - const categorizedEntries = await matchEntriesWithExctractors(inputPath); - return Promise.all( - categorizedEntries.map(async ([entries, extractFunction]) => { - const files = await Promise.all( - filterEntries(entries, config.exclude).map(async (entry) => { - return { - name: entry, - content: await readFileAsync(entry), - }; - }) - ); - - for (const { name, content } of files) { - const reporterWithContext = reporter.withContext({ name }); - - try { - for (const [id, value] of extractFunction(content, reporterWithContext)) { - validateMessageNamespace(id, name, config.paths, reporterWithContext); - addMessageToMap(targetMap, id, value, reporterWithContext); - } - } catch (error) { - if (!isFailError(error)) { - throw error; - } - - reporterWithContext.report(error); - } - } + const { entries, extractFunction } = await matchEntriesWithExctractors(inputPath); + + const files = await Promise.all( + filterEntries(entries, config.exclude).map(async (entry) => { + return { + name: entry, + content: await readFileAsync(entry), + }; }) ); + + for (const { name, content } of files) { + const reporterWithContext = reporter.withContext({ name }); + + try { + for (const [id, value] of extractFunction(content, reporterWithContext)) { + validateMessageNamespace(id, name, config.paths, reporterWithContext); + addMessageToMap(targetMap, id, value, reporterWithContext); + } + } catch (error) { + if (!isFailError(error)) { + throw error; + } + + reporterWithContext.report(error); + } + } } diff --git a/src/dev/i18n/tasks/extract_untracked_translations.ts b/src/dev/i18n/tasks/extract_untracked_translations.ts index 2ef27d581ab70..e2ea89661d519 100644 --- a/src/dev/i18n/tasks/extract_untracked_translations.ts +++ b/src/dev/i18n/tasks/extract_untracked_translations.ts @@ -7,13 +7,9 @@ */ import { createFailError } from '@kbn/dev-cli-errors'; -import { - I18nConfig, - matchEntriesWithExctractors, - normalizePath, - readFileAsync, - ErrorReporter, -} from '..'; +import { matchEntriesWithExctractors } from '../extract_default_translations'; +import { I18nConfig } from '../config'; +import { normalizePath, readFileAsync, ErrorReporter } from '../utils'; function filterEntries(entries: string[], exclude: string[]) { return entries.filter((entry: string) => @@ -45,35 +41,33 @@ export async function extractUntrackedMessagesTask({ '**/dist/**', ]); for (const inputPath of inputPaths) { - const categorizedEntries = await matchEntriesWithExctractors(inputPath, { + const { entries, extractFunction } = await matchEntriesWithExctractors(inputPath, { additionalIgnore: ignore, mark: true, absolute: true, }); - for (const [entries, extractFunction] of categorizedEntries) { - const files = await Promise.all( - filterEntries(entries, config.exclude) - .filter((entry) => { - const normalizedEntry = normalizePath(entry); - return !availablePaths.some( - (availablePath) => - normalizedEntry.startsWith(`${normalizePath(availablePath)}/`) || - normalizePath(availablePath) === normalizedEntry - ); - }) - .map(async (entry: any) => ({ - name: entry, - content: await readFileAsync(entry), - })) - ); + const files = await Promise.all( + filterEntries(entries, config.exclude) + .filter((entry) => { + const normalizedEntry = normalizePath(entry); + return !availablePaths.some( + (availablePath) => + normalizedEntry.startsWith(`${normalizePath(availablePath)}/`) || + normalizePath(availablePath) === normalizedEntry + ); + }) + .map(async (entry: any) => ({ + name: entry, + content: await readFileAsync(entry), + })) + ); - for (const { name, content } of files) { - const reporterWithContext = reporter.withContext({ name }); - for (const [id] of extractFunction(content, reporterWithContext)) { - const errorMessage = `Untracked file contains i18n label (${id}).`; - reporterWithContext.report(createFailError(errorMessage)); - } + for (const { name, content } of files) { + const reporterWithContext = reporter.withContext({ name }); + for (const [id] of extractFunction(content, reporterWithContext)) { + const errorMessage = `Untracked file contains i18n label (${id}).`; + reporterWithContext.report(createFailError(errorMessage)); } } } diff --git a/src/dev/i18n/utils/index.ts b/src/dev/i18n/utils/index.ts index f350999ba47cf..d5fd98c6baed4 100644 --- a/src/dev/i18n/utils/index.ts +++ b/src/dev/i18n/utils/index.ts @@ -17,7 +17,6 @@ export { difference, isPropertyWithKey, isI18nTranslateFunction, - node, formatJSString, formatHTMLString, traverseNodes, @@ -30,7 +29,7 @@ export { extractValuesKeysFromNode, arrayify, // classes - ErrorReporter, // @ts-ignore + ErrorReporter, } from './utils'; export { verifyICUMessage } from './verify_icu_message'; diff --git a/src/dev/notice/generate_build_notice_text.js b/src/dev/notice/generate_build_notice_text.js index 17f20d02b891c..6bbec86bf3c24 100644 --- a/src/dev/notice/generate_build_notice_text.js +++ b/src/dev/notice/generate_build_notice_text.js @@ -19,7 +19,6 @@ import { generateNodeNoticeText } from './generate_node_notice_text'; * getInstalledPackages() in ../packages * @property {string} options.nodeDir The directory containing the version of node.js * that will ship with Kibana - * @return {undefined} */ export async function generateBuildNoticeText(options = {}) { const { packages, nodeDir, nodeVersion, noticeFromSource } = options; diff --git a/src/dev/run_check_file_casing.ts b/src/dev/run_check_file_casing.ts index 9cc28ec8de91c..3dff1c1731098 100644 --- a/src/dev/run_check_file_casing.ts +++ b/src/dev/run_check_file_casing.ts @@ -11,7 +11,6 @@ import globby from 'globby'; import { REPO_ROOT } from '@kbn/utils'; import { run } from '@kbn/dev-cli-runner'; import { File } from './file'; -// @ts-expect-error precommit hooks aren't migrated to TypeScript yet. import { checkFileCasing } from './precommit_hook/check_file_casing'; run(async ({ log }) => { diff --git a/src/dev/run_i18n_check.ts b/src/dev/run_i18n_check.ts index 220eef24f3808..2d04e7c9ca3a5 100644 --- a/src/dev/run_i18n_check.ts +++ b/src/dev/run_i18n_check.ts @@ -132,7 +132,7 @@ run( reportTime(runStartTime, 'total', { success: true, }); - } catch (error: Error | ErrorReporter) { + } catch (error) { process.exitCode = 1; if (error instanceof ErrorReporter) { error.errors.forEach((e: string | Error) => log.error(e)); diff --git a/src/dev/typescript/build_ts_refs.ts b/src/dev/typescript/build_ts_refs.ts deleted file mode 100644 index b01251e99b27b..0000000000000 --- a/src/dev/typescript/build_ts_refs.ts +++ /dev/null @@ -1,43 +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 Path from 'path'; - -import { ProcRunner } from '@kbn/dev-proc-runner'; -import { ToolingLog } from '@kbn/tooling-log'; -import { REPO_ROOT } from '@kbn/utils'; - -import { ROOT_REFS_CONFIG_PATH } from './root_refs_config'; -import { Project } from './project'; - -export async function buildTsRefs({ - log, - procRunner, - verbose, - project, -}: { - log: ToolingLog; - procRunner: ProcRunner; - verbose?: boolean; - project?: Project; -}): Promise<{ failed: boolean }> { - const relative = Path.relative(REPO_ROOT, project ? project.tsConfigPath : ROOT_REFS_CONFIG_PATH); - log.info(`Building TypeScript projects refs for ${relative}...`); - - try { - await procRunner.run('tsc', { - cmd: Path.relative(REPO_ROOT, require.resolve('typescript/bin/tsc')), - args: ['-b', relative, '--pretty', ...(verbose ? ['--verbose'] : [])], - cwd: REPO_ROOT, - wait: true, - }); - return { failed: false }; - } catch (error) { - return { failed: true }; - } -} diff --git a/src/dev/typescript/build_ts_refs_cli.ts b/src/dev/typescript/build_ts_refs_cli.ts deleted file mode 100644 index 22b616faf6fb4..0000000000000 --- a/src/dev/typescript/build_ts_refs_cli.ts +++ /dev/null @@ -1,147 +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 Path from 'path'; - -import { run } from '@kbn/dev-cli-runner'; -import { createFlagError } from '@kbn/dev-cli-errors'; -import { REPO_ROOT } from '@kbn/utils'; -import del from 'del'; - -import { RefOutputCache } from './ref_output_cache'; -import { buildTsRefs } from './build_ts_refs'; -import { updateRootRefsConfig, ROOT_REFS_CONFIG_PATH } from './root_refs_config'; -import { Project } from './project'; -import { PROJECT_CACHE } from './projects'; -import { concurrentMap } from './concurrent_map'; - -const CACHE_WORKING_DIR = Path.resolve(REPO_ROOT, 'data/ts_refs_output_cache'); - -const TS_ERROR_REF = /\sTS\d{1,6}:\s/; - -const isTypeFailure = (error: any) => - error.exitCode > 0 && - error.stderr === '' && - typeof error.stdout === 'string' && - TS_ERROR_REF.test(error.stdout); - -export async function runBuildRefsCli() { - run( - async ({ log, flags, procRunner, statsMeta }) => { - const enabled = process.env.BUILD_TS_REFS_DISABLE !== 'true' || !!flags.force; - statsMeta.set('buildTsRefsEnabled', enabled); - - if (!enabled) { - log.info( - 'Building ts refs is disabled because the BUILD_TS_REFS_DISABLE environment variable is set to "true". Pass `--force` to run the build anyway.' - ); - return; - } - - const projectFilter = flags.project; - if (projectFilter && typeof projectFilter !== 'string') { - throw createFlagError('expected --project to be a string'); - } - - // if the tsconfig.refs.json file is not self-managed then make sure it has - // a reference to every composite project in the repo - await updateRootRefsConfig(log); - - const rootProject = Project.load( - projectFilter ? projectFilter : ROOT_REFS_CONFIG_PATH, - {}, - { - skipConfigValidation: true, - } - ); - // load all the projects referenced from the root project deeply, so we know all - // the ts projects we are going to be cleaning or populating with caches - const projects = rootProject.getProjectsDeep(PROJECT_CACHE); - - const cacheEnabled = process.env.BUILD_TS_REFS_CACHE_ENABLE !== 'false' && !!flags.cache; - const doCapture = process.env.BUILD_TS_REFS_CACHE_CAPTURE === 'true'; - const doClean = !!flags.clean || doCapture; - const doInitCache = cacheEnabled && !doCapture; - - if (doCapture && projectFilter) { - throw createFlagError('--project can not be combined with cache capture'); - } - - statsMeta.set('buildTsRefsEnabled', enabled); - statsMeta.set('buildTsRefsCacheEnabled', cacheEnabled); - statsMeta.set('buildTsRefsDoCapture', doCapture); - statsMeta.set('buildTsRefsDoClean', doClean); - statsMeta.set('buildTsRefsDoInitCache', doInitCache); - - if (doClean) { - log.info('deleting', projects.outDirs.length, 'ts output directories'); - await concurrentMap(100, projects.outDirs, (outDir) => del(outDir)); - } - - let outputCache; - if (cacheEnabled) { - outputCache = await RefOutputCache.create({ - log, - projects, - repoRoot: REPO_ROOT, - workingDir: CACHE_WORKING_DIR, - upstreamUrl: 'https://github.com/elastic/kibana.git', - }); - } - - if (outputCache && doInitCache) { - await outputCache.initCaches(); - } - - try { - await buildTsRefs({ - log, - procRunner, - verbose: !!flags.verbose, - project: rootProject, - }); - log.success('ts refs build successfully'); - } catch (error) { - const typeFailure = isTypeFailure(error); - - if (flags['ignore-type-failures'] && typeFailure) { - log.warning( - 'tsc reported type errors but we are ignoring them for now, to see them please run `node scripts/type_check` or `node scripts/build_ts_refs` without the `--ignore-type-failures` flag.' - ); - } else { - throw error; - } - } - - if (outputCache && doCapture) { - await outputCache.captureCache(Path.resolve(REPO_ROOT, 'target/ts_refs_cache')); - } - - if (outputCache) { - await outputCache.cleanup(); - } - }, - { - description: 'Build TypeScript project references', - flags: { - boolean: ['clean', 'force', 'cache', 'ignore-type-failures'], - string: ['project'], - default: { - cache: true, - }, - help: ` - --project Only build the TS Refs for a specific project - --force Run the build even if the BUILD_TS_REFS_DISABLE is set to "true" - --clean Delete outDirs for each ts project before building - --no-cache Disable fetching/extracting outDir caches based on the mergeBase with upstream - --ignore-type-failures If tsc reports type errors, ignore them and just log a small warning - `, - }, - } - ); -} diff --git a/src/dev/typescript/concurrent_map.ts b/src/dev/typescript/concurrent_map.ts deleted file mode 100644 index ad7231687faad..0000000000000 --- a/src/dev/typescript/concurrent_map.ts +++ /dev/null @@ -1,31 +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 * as Rx from 'rxjs'; -import { mergeMap, toArray, map } from 'rxjs/operators'; - -export async function concurrentMap( - concurrency: number, - arr: T[], - fn: (item: T, i: number) => Promise -): Promise { - if (!arr.length) { - return []; - } - - return await Rx.lastValueFrom( - Rx.from(arr).pipe( - // execute items in parallel based on concurrency - mergeMap(async (item, index) => ({ index, result: await fn(item, index) }), concurrency), - // collect the results into an array - toArray(), - // sort items back into order and return array of just results - map((list) => list.sort((a, b) => a.index - b.index).map(({ result }) => result)) - ) - ); -} diff --git a/src/dev/typescript/convert_all_to_composite.ts b/src/dev/typescript/convert_all_to_composite.ts deleted file mode 100644 index f3c2bcdd0b535..0000000000000 --- a/src/dev/typescript/convert_all_to_composite.ts +++ /dev/null @@ -1,19 +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 { run } from '@kbn/dev-cli-runner'; - -import { PROJECTS } from './projects'; - -run(async ({ log }) => { - for (const project of PROJECTS) { - if (!project.config.compilerOptions?.composite) { - log.info(project.tsConfigPath); - } - } -}); diff --git a/src/dev/typescript/get_ts_project_for_absolute_path.ts b/src/dev/typescript/get_ts_project_for_absolute_path.ts deleted file mode 100644 index 1d64a71a1d5d6..0000000000000 --- a/src/dev/typescript/get_ts_project_for_absolute_path.ts +++ /dev/null @@ -1,48 +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 { relative, resolve } from 'path'; -import { REPO_ROOT } from '@kbn/utils'; -import { File } from '../file'; -import { Project } from './project'; -import { PROJECTS } from './projects'; - -/** - * Finds the `tsconfig.json` Project object for a specific path by looking through - * Project instances defined in `src/dev/typescript/projects.ts`. If there isn't exactly one project - * that includes the path an error is thrown with, hopefully, a helpful error - * message that aims to help developers know how to fix the situation and ensure - * that each TypeScript file maps to only a single `tsconfig.json` file. - * - * @param path Absolute path to a .ts file - */ -export function getTsProjectForAbsolutePath(path: string): Project { - const relPath = relative(REPO_ROOT, path); - const file = new File(resolve(REPO_ROOT, path)); - const projects = PROJECTS.filter((p) => p.isAbsolutePathSelected(path)); - - if (!projects.length) { - throw new Error( - `Unable to find tsconfig.json file selecting "${relPath}". Ensure one exists and it is listed in "src/dev/typescript/projects.ts"` - ); - } - - if (projects.length !== 1 && !file.isTypescriptAmbient()) { - const configPaths = projects.map((p) => `"${relative(REPO_ROOT, p.tsConfigPath)}"`); - - const pathsMsg = `${configPaths.slice(0, -1).join(', ')} or ${ - configPaths[configPaths.length - 1] - }`; - - throw new Error( - `"${relPath}" is selected by multiple tsconfig.json files. This probably means the includes/excludes in ${pathsMsg} are too broad and include the code from multiple projects.` - ); - } - - return projects[0]; -} diff --git a/src/dev/typescript/index.ts b/src/dev/typescript/index.ts index d9ccc3975b4eb..c390ecc60f018 100644 --- a/src/dev/typescript/index.ts +++ b/src/dev/typescript/index.ts @@ -7,6 +7,4 @@ */ export { Project } from './project'; -export { getTsProjectForAbsolutePath } from './get_ts_project_for_absolute_path'; export { runTypeCheckCli } from './run_type_check_cli'; -export * from './build_ts_refs_cli'; diff --git a/src/dev/typescript/project.ts b/src/dev/typescript/project.ts index baeaf39ec288d..32245e26c69ec 100644 --- a/src/dev/typescript/project.ts +++ b/src/dev/typescript/project.ts @@ -12,7 +12,6 @@ import { IMinimatch, Minimatch } from 'minimatch'; import { REPO_ROOT } from '@kbn/utils'; import { parseTsConfig } from './ts_configfile'; -import { ProjectSet } from './project_set'; function makeMatchers(directory: string, patterns: string[]) { return patterns.map( @@ -109,6 +108,8 @@ export class Project { return project; } + public readonly typeCheckConfigPath: string; + constructor( public readonly tsConfigPath: string, public readonly directory: string, @@ -121,7 +122,9 @@ export class Project { private readonly includePatterns?: string[], private readonly exclude?: IMinimatch[], private readonly excludePatterns?: string[] - ) {} + ) { + this.typeCheckConfigPath = Path.resolve(this.directory, 'tsconfig.type_check.json'); + } public getIncludePatterns(): string[] { return this.includePatterns @@ -146,11 +149,6 @@ export class Project { return testMatchers(this.getExclude(), path) ? false : testMatchers(this.getInclude(), path); } - public isCompositeProject(): boolean { - const own = this.config.compilerOptions?.composite; - return !!(own === undefined ? this.baseProject?.isCompositeProject() : own); - } - public getOutDir(): string | undefined { if (this.config.compilerOptions?.outDir) { return Path.resolve(this.directory, this.config.compilerOptions.outDir); @@ -171,21 +169,6 @@ export class Project { return this.baseProject ? this.baseProject.getRefdPaths() : []; } - public getProjectsDeep(cache?: Map) { - const projects = new Set(); - const queue = new Set([this.tsConfigPath]); - - for (const path of queue) { - const project = Project.load(path, {}, { skipConfigValidation: true, cache }); - projects.add(project); - for (const refPath of project.getRefdPaths()) { - queue.add(refPath); - } - } - - return new ProjectSet(projects); - } - public getConfigPaths(): string[] { return this.baseProject ? [this.tsConfigPath, ...this.baseProject.getConfigPaths()] diff --git a/src/dev/typescript/project_set.ts b/src/dev/typescript/project_set.ts deleted file mode 100644 index 4ef3693cf6d02..0000000000000 --- a/src/dev/typescript/project_set.ts +++ /dev/null @@ -1,29 +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 { Project } from './project'; - -export class ProjectSet { - public readonly outDirs: string[]; - private readonly projects: Project[]; - - constructor(projects: Iterable) { - this.projects = [...projects]; - this.outDirs = this.projects - .map((p) => p.getOutDir()) - .filter((p): p is string => typeof p === 'string'); - } - - filterByPaths(paths: string[]) { - return new ProjectSet( - this.projects.filter((p) => - paths.some((f) => p.isAbsolutePathSelected(f) || p.getConfigPaths().includes(f)) - ) - ); - } -} diff --git a/src/dev/typescript/projects.ts b/src/dev/typescript/projects.ts index f57854b83550d..e346a1de449c7 100644 --- a/src/dev/typescript/projects.ts +++ b/src/dev/typescript/projects.ts @@ -32,7 +32,12 @@ export const PROJECTS = [ createProject('x-pack/test/tsconfig.json', { name: 'x-pack/test' }), createProject('x-pack/performance/tsconfig.json', { name: 'x-pack/performance' }), createProject('src/core/tsconfig.json'), - createProject('.buildkite/tsconfig.json'), + createProject('.buildkite/tsconfig.json', { + // this directory has additionally dependencies which scripts/type_check can't guarantee + // are present or up-to-date, and users likely won't know how to manage either, so the + // type check is explicitly disabled in this project for now + disableTypeCheck: true, + }), createProject('kbn_pm/tsconfig.json'), createProject('x-pack/plugins/drilldowns/url_drilldown/tsconfig.json', { @@ -89,14 +94,15 @@ export const PROJECTS = [ 'src/plugins/*/tsconfig.json', 'src/plugins/chart_expressions/*/tsconfig.json', 'src/plugins/vis_types/*/tsconfig.json', - 'x-pack/plugins/*/tsconfig.json', - 'x-pack/plugins/cloud_integrations/*/tsconfig.json', 'examples/*/tsconfig.json', - 'x-pack/examples/*/tsconfig.json', + 'test/*/plugins/*/tsconfig.json', 'test/analytics/fixtures/plugins/*/tsconfig.json', - 'test/plugin_functional/plugins/*/tsconfig.json', - 'test/interpreter_functional/plugins/*/tsconfig.json', 'test/server_integration/__fixtures__/plugins/*/tsconfig.json', + 'test/interactive_setup_api_integration/fixtures/*/tsconfig.json', + 'x-pack/plugins/*/tsconfig.json', + 'x-pack/plugins/cloud_integrations/*/tsconfig.json', + 'x-pack/examples/*/tsconfig.json', + 'x-pack/test/*/plugins/*/tsconfig.json', ...BAZEL_PACKAGE_DIRS.map((dir) => `${dir}/*/tsconfig.json`), ]), ]; diff --git a/src/dev/typescript/ref_output_cache/README.md b/src/dev/typescript/ref_output_cache/README.md deleted file mode 100644 index 41506a118dcb9..0000000000000 --- a/src/dev/typescript/ref_output_cache/README.md +++ /dev/null @@ -1,17 +0,0 @@ -# `node scripts/build_ts_refs` output cache - -This module implements the logic for caching the output of building the ts refs and extracting those caches into the source repo to speed up the execution of this script. We've implemented this as a stop-gap solution while we migrate to Bazel which will handle caching the types produced by the -scripts independently and speed things up incredibly, but in the meantime we need something to fix the 10 minute bootstrap times we're seeing. - -How it works: - - 1. traverse the TS projects referenced from `tsconfig.refs.json` and collect their `compilerOptions.outDir` setting. - 2. determine the `upstreamBranch` by reading the `branch` property out of `package.json` - 3. fetch the latest changes from `https://github.com/elastic/kibana.git` for that branch - 4. determine the merge base between `HEAD` and the latest ref from the `upstreamBranch` - 5. check in the `data/ts_refs_output_cache/archives` dir (where we keep the 10 most recent downloads) and at `https://ts-refs-cache.kibana.dev/{sha}.zip` for the cache of the merge base commit, and up to 5 commits before that in the log, stopping once we find one that is available locally or was downloaded. - 6. check for the `.ts-ref-cache-merge-base` file in each `outDir`, which records the `mergeBase` that was used to initialize that `outDir`, if the file exists and matches the `sha` that we plan to use for our cache then exclude that `outDir` from getting initialized with the cache data - 7. for each `outDir` that either hasn't been initialized with cache data or was initialized with cache data from another merge base, delete the `outDir` and replace it with the copy stored in the downloaded cache - 1. if there isn't a cached version of that `outDir` replace it with an empty directory - 8. write the current `mergeBase` to the `.ts-ref-cache-merge-base` file in each `outDir` - 9. run `tsc`, which will only build things which have changed since the cache was created \ No newline at end of file diff --git a/src/dev/typescript/ref_output_cache/archives.ts b/src/dev/typescript/ref_output_cache/archives.ts deleted file mode 100644 index 882315b919031..0000000000000 --- a/src/dev/typescript/ref_output_cache/archives.ts +++ /dev/null @@ -1,186 +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 Fs from 'fs/promises'; -import { createWriteStream } from 'fs'; -import Path from 'path'; -import { promisify } from 'util'; -import { pipeline } from 'stream'; - -import { ToolingLog } from '@kbn/tooling-log'; -import Axios from 'axios'; -import del from 'del'; - -// https://github.com/axios/axios/tree/ffea03453f77a8176c51554d5f6c3c6829294649/lib/adapters -// @ts-expect-error untyped internal module used to prevent axios from using xhr adapter in tests -import AxiosHttpAdapter from 'axios/lib/adapters/http'; - -interface Archive { - sha: string; - path: string; - time: number; -} - -const asyncPipeline = promisify(pipeline); - -async function getCacheNames(cacheDir: string) { - try { - return await Fs.readdir(cacheDir); - } catch (error) { - if (error.code === 'ENOENT') { - return []; - } - - throw error; - } -} - -export class Archives { - static async create(log: ToolingLog, workingDir: string) { - const dir = Path.resolve(workingDir, 'archives'); - const bySha = new Map(); - - for (const name of await getCacheNames(dir)) { - const path = Path.resolve(dir, name); - - if (!name.endsWith('.zip')) { - log.debug('deleting unexpected file in archives dir', path); - await Fs.unlink(path); - continue; - } - - const sha = name.replace('.zip', ''); - log.verbose('identified archive for', sha); - const s = await Fs.stat(path); - const time = Math.max(s.atimeMs, s.mtimeMs); - bySha.set(sha, { - path, - time, - sha, - }); - } - - return new Archives(log, workingDir, bySha); - } - - protected constructor( - private readonly log: ToolingLog, - private readonly workDir: string, - private readonly bySha: Map - ) {} - - size() { - return this.bySha.size; - } - - get(sha: string) { - return this.bySha.get(sha); - } - - async delete(sha: string) { - const archive = this.get(sha); - if (archive) { - await Fs.unlink(archive.path); - this.bySha.delete(sha); - } - } - - *[Symbol.iterator]() { - yield* this.bySha.values(); - } - - /** - * Attempt to download the cache for a given sha, adding it to this.bySha - * and returning true if successful, logging and returning false otherwise. - * - * @param sha the commit sha we should try to download the cache for - */ - async attemptToDownload(sha: string) { - if (this.bySha.has(sha)) { - return true; - } - - const url = `https://ts-refs-cache.kibana.dev/${sha}.zip`; - this.log.debug('attempting to download cache for', sha, 'from', url); - - const filename = `${sha}.zip`; - const target = Path.resolve(this.workDir, 'archives', `${filename}`); - const tmpTarget = `${target}.tmp`; - - try { - const resp = await Axios.request({ - url, - responseType: 'stream', - adapter: AxiosHttpAdapter, - }); - - await Fs.mkdir(Path.dirname(target), { recursive: true }); - await asyncPipeline(resp.data, createWriteStream(tmpTarget)); - this.log.debug('download complete, renaming tmp'); - - await Fs.rename(tmpTarget, target); - this.bySha.set(sha, { - sha, - path: target, - time: Date.now(), - }); - - this.log.debug('download of cache for', sha, 'complete'); - return true; - } catch (error) { - await del(tmpTarget, { force: true }); - - if (!error.response) { - this.log.debug(`failed to download cache, ignoring error:`, error.message); - return false; - } - - if (error.response.status === 404) { - return false; - } - - this.log.debug(`failed to download cache,`, error.response.status, 'response'); - } - } - - /** - * Iterate through a list of shas, which represent commits - * on our upstreamBranch, and look for caches which are - * already downloaded, or try to download them. If the cache - * for that commit is not available for any reason the next - * sha will be tried. - * - * If we reach the end of the list without any caches being - * available undefined is returned. - * - * @param shas shas for commits to try and find caches for - */ - async getFirstAvailable(shas: string[]): Promise { - if (!shas.length) { - throw new Error('no possible shas to pick archive from'); - } - - for (const sha of shas) { - let archive = this.bySha.get(sha); - - // if we don't have one locally try to download one - if (!archive && (await this.attemptToDownload(sha))) { - archive = this.bySha.get(sha); - } - - // if we found the archive return it - if (archive) { - return archive; - } - - this.log.debug('no archive available for', sha); - } - - return undefined; - } -} diff --git a/src/dev/typescript/ref_output_cache/index.ts b/src/dev/typescript/ref_output_cache/index.ts deleted file mode 100644 index 8d55a31a1771c..0000000000000 --- a/src/dev/typescript/ref_output_cache/index.ts +++ /dev/null @@ -1,9 +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. - */ - -export * from './ref_output_cache'; diff --git a/src/dev/typescript/ref_output_cache/integration_tests/__fixtures__/archives/1234.zip b/src/dev/typescript/ref_output_cache/integration_tests/__fixtures__/archives/1234.zip deleted file mode 100644 index 07c14c13488b5f58d0406cb2feaccf0a8f314634..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 845 zcmWIWW@Zs#00FK!o`XC4E#bdMZ5YSRI3zHK>lhYHD5j-FI znjpcfE+B1aVDO7EQ(^wb#zu_?5<)^OiH#)&MGTUn8D29MKKjGM^XTNyomHKztd=XQ z6jzF>uB$xxQ*&nJOM$Uy%Q^4xOjTj@tnAFs2W=DLQuW~g0>-cx%#rEpukHfl^PVQ^pzecFuV&|Ki-^%a3`EfNj zcG>rPucxt`Huk9RJGn07eDs-rxowlAcboM;`26AhJ=rkh!RCPY zAa|nM@)#&92DBwU-q+FDKR7}kJAPL67mk3%G~7G<>h^;M0X8uuWt{}SzTS9 zbGx+E8(PxWUN>R82==IjpxCWepjSZN3GilQ5@E(2B|s%$@YWGT5f?!a6Jdde9IT)y zf`KKCPEZrEg&!#P(ZUbrRG7iY-T=i43@m9}0c4UFM*-ffY#?)(fsmh(fng#LGcW)E DTd typeof v === 'object' && v && typeof v.time === 'number', - (v) => ({ ...v, time: '' }) - ) -); - -jest.mock('axios', () => { - return { - request: jest.fn(), - }; -}); -const mockRequest: jest.Mock = jest.requireMock('axios').request; - -import { Archives } from '../archives'; - -const FIXTURE = Path.resolve(__dirname, '__fixtures__'); -const TMP = Path.resolve(__dirname, '__tmp__'); - -beforeAll(() => del(TMP, { force: true })); -beforeEach(() => cpy('.', TMP, { cwd: FIXTURE, parents: true })); -afterEach(async () => { - await del(TMP, { force: true }); - jest.resetAllMocks(); -}); - -const readArchiveDir = () => - Fs.readdirSync(Path.resolve(TMP, 'archives')).sort((a, b) => a.localeCompare(b)); - -const log = new ToolingLog(); -const logWriter = new ToolingLogCollectingWriter(); -log.setWriters([logWriter]); -afterEach(() => (logWriter.messages.length = 0)); - -it('deletes invalid files', async () => { - const path = Path.resolve(TMP, 'archives/foo.txt'); - Fs.writeFileSync(path, 'hello'); - const archives = await Archives.create(log, TMP); - - expect(archives.size()).toBe(2); - expect(Fs.existsSync(path)).toBe(false); -}); - -it('exposes archives by sha', async () => { - const archives = await Archives.create(log, TMP); - expect(archives.get('1234')).toMatchInlineSnapshot(` - Object { - "path": /src/dev/typescript/ref_output_cache/integration_tests/__tmp__/archives/1234.zip, - "sha": "1234", - "time": "", - } - `); - expect(archives.get('5678')).toMatchInlineSnapshot(` - Object { - "path": /src/dev/typescript/ref_output_cache/integration_tests/__tmp__/archives/5678.zip, - "sha": "5678", - "time": "", - } - `); - expect(archives.get('foo')).toMatchInlineSnapshot(`undefined`); -}); - -it('deletes archives', async () => { - const archives = await Archives.create(log, TMP); - expect(archives.size()).toBe(2); - await archives.delete('1234'); - expect(archives.size()).toBe(1); - expect(readArchiveDir()).toMatchInlineSnapshot(` - Array [ - "5678.zip", - ] - `); -}); - -it('returns false when attempting to download for sha without cache', async () => { - const archives = await Archives.create(log, TMP); - - mockRequest.mockImplementation(() => { - throw new Error('404!'); - }); - - await expect(archives.attemptToDownload('foobar')).resolves.toBe(false); -}); - -it('returns true when able to download an archive for a sha', async () => { - const archives = await Archives.create(log, TMP); - - mockRequest.mockImplementation(() => { - return { - data: Readable.from('foobar zip contents'), - }; - }); - - expect(archives.size()).toBe(2); - await expect(archives.attemptToDownload('foobar')).resolves.toBe(true); - expect(archives.size()).toBe(3); - expect(readArchiveDir()).toMatchInlineSnapshot(` - Array [ - "1234.zip", - "5678.zip", - "foobar.zip", - ] - `); - expect(Fs.readFileSync(Path.resolve(TMP, 'archives/foobar.zip'), 'utf-8')).toBe( - 'foobar zip contents' - ); -}); - -it('returns true if attempting to download a cache which is already downloaded', async () => { - const archives = await Archives.create(log, TMP); - - mockRequest.mockImplementation(() => { - throw new Error(`it shouldn't try to download anything`); - }); - - expect(archives.size()).toBe(2); - await expect(archives.attemptToDownload('1234')).resolves.toBe(true); - expect(archives.size()).toBe(2); - expect(readArchiveDir()).toMatchInlineSnapshot(` - Array [ - "1234.zip", - "5678.zip", - ] - `); -}); - -it('returns false and deletes the zip if the download fails part way', async () => { - const archives = await Archives.create(log, TMP); - - mockRequest.mockImplementation(() => { - let readCounter = 0; - return { - data: new Readable({ - read() { - readCounter++; - if (readCounter === 1) { - this.push('foo'); - } else { - this.emit('error', new Error('something went wrong')); - } - }, - }), - }; - }); - - await expect(archives.attemptToDownload('foo')).resolves.toBe(false); - expect(archives.size()).toBe(2); - expect(readArchiveDir()).toMatchInlineSnapshot(` - Array [ - "1234.zip", - "5678.zip", - ] - `); -}); - -it('resolves to first sha if it is available locally', async () => { - const archives = await Archives.create(log, TMP); - - expect(await archives.getFirstAvailable(['1234', '5678'])).toHaveProperty('sha', '1234'); - expect(await archives.getFirstAvailable(['5678', '1234'])).toHaveProperty('sha', '5678'); -}); - -it('resolves to first local sha when it tried to reach network and gets errors', async () => { - const archives = await Archives.create(log, TMP); - - mockRequest.mockImplementation(() => { - throw new Error('no network available'); - }); - - expect(await archives.getFirstAvailable(['foo', 'bar', '1234'])).toHaveProperty('sha', '1234'); - expect(mockRequest).toHaveBeenCalledTimes(2); - expect(logWriter.messages).toMatchInlineSnapshot(` - Array [ - " sill identified archive for 1234", - " sill identified archive for 5678", - " debg attempting to download cache for foo from https://ts-refs-cache.kibana.dev/foo.zip", - " debg failed to download cache, ignoring error: no network available", - " debg no archive available for foo", - " debg attempting to download cache for bar from https://ts-refs-cache.kibana.dev/bar.zip", - " debg failed to download cache, ignoring error: no network available", - " debg no archive available for bar", - ] - `); -}); - -it('resolves to first remote that downloads successfully', async () => { - const archives = await Archives.create(log, TMP); - - mockRequest.mockImplementation((params) => { - if (params.url === `https://ts-refs-cache.kibana.dev/bar.zip`) { - return { - data: Readable.from('bar cache data'), - }; - } - - throw new Error('no network available'); - }); - - const archive = await archives.getFirstAvailable(['foo', 'bar', '1234']); - expect(archive).toHaveProperty('sha', 'bar'); - expect(mockRequest).toHaveBeenCalledTimes(2); - expect(logWriter.messages).toMatchInlineSnapshot(` - Array [ - " sill identified archive for 1234", - " sill identified archive for 5678", - " debg attempting to download cache for foo from https://ts-refs-cache.kibana.dev/foo.zip", - " debg failed to download cache, ignoring error: no network available", - " debg no archive available for foo", - " debg attempting to download cache for bar from https://ts-refs-cache.kibana.dev/bar.zip", - " debg download complete, renaming tmp", - " debg download of cache for bar complete", - ] - `); - - expect(Fs.readFileSync(archive!.path, 'utf-8')).toBe('bar cache data'); -}); diff --git a/src/dev/typescript/ref_output_cache/integration_tests/ref_output_cache.test.ts b/src/dev/typescript/ref_output_cache/integration_tests/ref_output_cache.test.ts deleted file mode 100644 index a44d309cb9ddd..0000000000000 --- a/src/dev/typescript/ref_output_cache/integration_tests/ref_output_cache.test.ts +++ /dev/null @@ -1,175 +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 Path from 'path'; -import Fs from 'fs'; - -import del from 'del'; -import cpy from 'cpy'; -import globby from 'globby'; -import normalize from 'normalize-path'; -import { ToolingLog, ToolingLogCollectingWriter } from '@kbn/tooling-log'; -import { createAbsolutePathSerializer, createStripAnsiSerializer } from '@kbn/jest-serializers'; - -import { RefOutputCache, OUTDIR_MERGE_BASE_FILENAME } from '../ref_output_cache'; -import { Archives } from '../archives'; -import type { RepoInfo } from '../repo_info'; -import { Project } from '../../project'; -import { ProjectSet } from '../../project_set'; - -jest.mock('../repo_info'); -const { RepoInfo: MockRepoInfo } = jest.requireMock('../repo_info'); - -jest.mock('axios'); -const { request: mockRequest } = jest.requireMock('axios'); - -expect.addSnapshotSerializer(createAbsolutePathSerializer()); -expect.addSnapshotSerializer(createStripAnsiSerializer()); - -const FIXTURE = Path.resolve(__dirname, '__fixtures__'); -const TMP = Path.resolve(__dirname, '__tmp__'); -const repo: jest.Mocked = new MockRepoInfo(); -const log = new ToolingLog(); -const logWriter = new ToolingLogCollectingWriter(); -log.setWriters([logWriter]); - -beforeAll(() => del(TMP, { force: true })); -beforeEach(() => cpy('.', TMP, { cwd: FIXTURE, parents: true })); -afterEach(async () => { - await del(TMP, { force: true }); - jest.resetAllMocks(); - logWriter.messages.length = 0; -}); - -function makeMockProject(path: string) { - Fs.mkdirSync(Path.resolve(path, 'target/test-types'), { recursive: true }); - Fs.writeFileSync( - Path.resolve(path, 'tsconfig.json'), - JSON.stringify({ - compilerOptions: { - outDir: './target/test-types', - }, - include: ['**/*'], - exclude: ['test/target/**/*'], - }) - ); - - return Project.load(Path.resolve(path, 'tsconfig.json')); -} - -it('creates and extracts caches, ingoring dirs with matching merge-base file, placing merge-base files, and overriding modified time for updated inputs', async () => { - // setup repo mock - const HEAD = 'abcdefg'; - repo.getHeadSha.mockResolvedValue(HEAD); - repo.getRelative.mockImplementation((path) => Path.relative(TMP, path)); - repo.getRecentShasFrom.mockResolvedValue(['5678', '1234']); - repo.getFilesChangesSinceSha.mockResolvedValue([]); - - // create two fake outDirs - const projects = new ProjectSet([ - makeMockProject(Path.resolve(TMP, 'test1')), - makeMockProject(Path.resolve(TMP, 'test2')), - ]); - - // init an archives instance using tmp - const archives = await Archives.create(log, TMP); - - // init the RefOutputCache with our mock data - const refOutputCache = new RefOutputCache(log, repo, archives, projects, HEAD); - - // create the new cache right in the archives dir - await refOutputCache.captureCache(Path.resolve(TMP)); - const cachePath = Path.resolve(TMP, `${HEAD}.zip`); - - // check that the cache was created and stored in the archives - if (!Fs.existsSync(cachePath)) { - throw new Error('zip was not created as expected'); - } - - mockRequest.mockImplementation((params: any) => { - if (params.url.endsWith(`${HEAD}.zip`)) { - return { - data: Fs.createReadStream(cachePath), - }; - } - - throw new Error(`unexpected url: ${params.url}`); - }); - - // modify the files in the outDirs so we can see which ones are restored from the cache - for (const dir of projects.outDirs) { - Fs.writeFileSync(Path.resolve(dir, 'no-cleared.txt'), 'not cleared by cache init'); - } - - // add the mergeBase to test1 outDir so that it is not cleared - Fs.writeFileSync(Path.resolve(projects.outDirs[0], OUTDIR_MERGE_BASE_FILENAME), HEAD); - - // rebuild the outDir from the refOutputCache - await refOutputCache.initCaches(); - - // verify that "test1" outdir is untouched and that "test2" is cleared out - const files = Object.fromEntries( - globby - .sync( - projects.outDirs.map((p) => normalize(p)), - { dot: true } - ) - .map((path) => [Path.relative(TMP, path), Fs.readFileSync(path, 'utf-8')]) - ); - - expect(files).toMatchInlineSnapshot(` - Object { - "test1/target/test-types/.ts-ref-cache-merge-base": "abcdefg", - "test1/target/test-types/no-cleared.txt": "not cleared by cache init", - "test2/target/test-types/.ts-ref-cache-merge-base": "abcdefg", - } - `); - expect(logWriter.messages).toMatchInlineSnapshot(` - Array [ - " sill identified archive for 1234", - " sill identified archive for 5678", - " debg writing ts-ref cache to abcdefg.zip", - " succ wrote archive to abcdefg.zip", - " debg attempting to download cache for abcdefg from https://ts-refs-cache.kibana.dev/abcdefg.zip", - " debg download complete, renaming tmp", - " debg download of cache for abcdefg complete", - " debg extracting archives/abcdefg.zip to rebuild caches in 1 outDirs", - " debg [test2/target/test-types] clearing outDir and replacing with cache", - ] - `); -}); - -it('cleans up oldest archives when there are more than 10', async () => { - for (let i = 0; i < 100; i++) { - const time = i * 10_000; - const path = Path.resolve(TMP, `archives/${time}.zip`); - Fs.writeFileSync(path, ''); - Fs.utimesSync(path, time, time); - } - - const archives = await Archives.create(log, TMP); - const cache = new RefOutputCache(log, repo, archives, new ProjectSet([]), '1234'); - expect(cache.archives.size()).toBe(102); - await cache.cleanup(); - expect(cache.archives.size()).toBe(10); - expect(Fs.readdirSync(Path.resolve(TMP, 'archives')).sort((a, b) => a.localeCompare(b))) - .toMatchInlineSnapshot(` - Array [ - "1234.zip", - "5678.zip", - "920000.zip", - "930000.zip", - "940000.zip", - "950000.zip", - "960000.zip", - "970000.zip", - "980000.zip", - "990000.zip", - ] - `); -}); diff --git a/src/dev/typescript/ref_output_cache/ref_output_cache.ts b/src/dev/typescript/ref_output_cache/ref_output_cache.ts deleted file mode 100644 index 80d2a6052000b..0000000000000 --- a/src/dev/typescript/ref_output_cache/ref_output_cache.ts +++ /dev/null @@ -1,208 +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 Path from 'path'; -import Fs from 'fs/promises'; - -import { extract } from '@kbn/dev-utils'; -import { ToolingLog } from '@kbn/tooling-log'; -import { kibanaPackageJson } from '@kbn/utils'; -import del from 'del'; -import tempy from 'tempy'; - -import { Archives } from './archives'; -import { zip } from './zip'; -import { concurrentMap } from '../concurrent_map'; -import { RepoInfo } from './repo_info'; -import { ProjectSet } from '../project_set'; - -export const OUTDIR_MERGE_BASE_FILENAME = '.ts-ref-cache-merge-base'; - -export async function matchMergeBase(outDir: string, sha: string) { - try { - const existing = await Fs.readFile(Path.resolve(outDir, OUTDIR_MERGE_BASE_FILENAME), 'utf8'); - return existing === sha; - } catch (error) { - if (error.code === 'ENOENT') { - return false; - } - - throw error; - } -} - -export async function isDir(path: string) { - try { - return (await Fs.stat(path)).isDirectory(); - } catch (error) { - if (error.code === 'ENOENT') { - return false; - } - - throw error; - } -} - -export class RefOutputCache { - static async create(options: { - log: ToolingLog; - workingDir: string; - projects: ProjectSet; - repoRoot: string; - upstreamUrl: string; - }) { - const repoInfo = new RepoInfo(options.log, options.repoRoot, options.upstreamUrl); - const archives = await Archives.create(options.log, options.workingDir); - - const upstreamBranch: string = kibanaPackageJson.branch; - const mergeBase = await repoInfo.getMergeBase('HEAD', upstreamBranch); - - return new RefOutputCache(options.log, repoInfo, archives, options.projects, mergeBase); - } - - constructor( - private readonly log: ToolingLog, - private readonly repo: RepoInfo, - public readonly archives: Archives, - private readonly projects: ProjectSet, - private readonly mergeBase: string - ) {} - - /** - * Find the most recent cache/archive of the outDirs and replace the outDirs - * on disk with the files in the cache if the outDir has an outdated merge-base - * written to the directory. - */ - async initCaches() { - const outdatedOutDirs = ( - await concurrentMap(100, this.projects.outDirs, async (outDir) => ({ - path: outDir, - outdated: !(await matchMergeBase(outDir, this.mergeBase)), - })) - ) - .filter((o) => o.outdated) - .map((o) => o.path); - - if (!outdatedOutDirs.length) { - this.log.debug('all outDirs have a recent cache'); - return; - } - - const archive = - this.archives.get(this.mergeBase) ?? - (await this.archives.getFirstAvailable([ - this.mergeBase, - ...(await this.repo.getRecentShasFrom(this.mergeBase, 5)), - ])); - - if (!archive) { - return; - } - - const changedFiles = await this.repo.getFilesChangesSinceSha(archive.sha); - const outDirsForcingExtraCacheCheck = this.projects.filterByPaths(changedFiles).outDirs; - - const tmpDir = tempy.directory(); - this.log.debug( - 'extracting', - this.repo.getRelative(archive.path), - 'to rebuild caches in', - outdatedOutDirs.length, - 'outDirs' - ); - await extract({ - archivePath: archive.path, - targetDir: tmpDir, - }); - - const cacheNames = await Fs.readdir(tmpDir); - const beginningOfTime = new Date(0); - - await concurrentMap(50, outdatedOutDirs, async (outDir) => { - const relative = this.repo.getRelative(outDir); - const cacheName = `${relative.split(Path.sep).join('__')}.zip`; - - if (!cacheNames.includes(cacheName)) { - this.log.debug(`[${relative}] not in cache`); - await Fs.mkdir(outDir, { recursive: true }); - await Fs.writeFile(Path.resolve(outDir, OUTDIR_MERGE_BASE_FILENAME), archive.sha); - return; - } - - if (await matchMergeBase(outDir, archive.sha)) { - this.log.debug(`[${relative}] keeping outdir, created from selected sha`); - return; - } - - const setModifiedTimes = outDirsForcingExtraCacheCheck.includes(outDir) - ? beginningOfTime - : undefined; - - if (setModifiedTimes) { - this.log.debug(`[${relative}] replacing outDir with cache (forcing revalidation)`); - } else { - this.log.debug(`[${relative}] clearing outDir and replacing with cache`); - } - - await del(outDir); - await extract({ - archivePath: Path.resolve(tmpDir, cacheName), - targetDir: outDir, - setModifiedTimes, - }); - await Fs.writeFile(Path.resolve(outDir, OUTDIR_MERGE_BASE_FILENAME), this.mergeBase); - }); - } - - /** - * Iterate through the outDirs, zip them up, and then zip up those zips - * into a single file which we can upload/download/extract just a portion - * of the archive. - * - * @param outputDir directory that the {HEAD}.zip file should be written to - */ - async captureCache(outputDir: string) { - const tmpDir = tempy.directory(); - const currentSha = await this.repo.getHeadSha(); - const outputPath = Path.resolve(outputDir, `${currentSha}.zip`); - const relativeOutputPath = this.repo.getRelative(outputPath); - - this.log.debug('writing ts-ref cache to', relativeOutputPath); - - const subZips: Array<[string, string]> = []; - - await Promise.all( - this.projects.outDirs.map(async (absolute) => { - const relative = this.repo.getRelative(absolute); - const subZipName = `${relative.split(Path.sep).join('__')}.zip`; - const subZipPath = Path.resolve(tmpDir, subZipName); - await zip([[absolute, '/']], [], subZipPath); - subZips.push([subZipPath, subZipName]); - }) - ); - - await zip([], subZips, outputPath); - await del(tmpDir, { force: true }); - this.log.success('wrote archive to', relativeOutputPath); - } - - /** - * Cleanup the downloaded cache files, keeping the 10 newest files. Each file - * is about 25-30MB, so 10 downloads is a a decent amount of disk space for - * caches but we could potentially increase this number in the future if we like - */ - async cleanup() { - // sort archives by time desc - const archives = [...this.archives].sort((a, b) => b.time - a.time); - - // delete the 11th+ archive - for (const { sha } of archives.slice(10)) { - await this.archives.delete(sha); - } - } -} diff --git a/src/dev/typescript/ref_output_cache/repo_info.ts b/src/dev/typescript/ref_output_cache/repo_info.ts deleted file mode 100644 index ab6470e5b1401..0000000000000 --- a/src/dev/typescript/ref_output_cache/repo_info.ts +++ /dev/null @@ -1,71 +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 Path from 'path'; - -import execa from 'execa'; -import { ToolingLog } from '@kbn/tooling-log'; - -export class RepoInfo { - constructor( - private readonly log: ToolingLog, - private readonly dir: string, - private readonly upstreamUrl: string - ) {} - - async getRecentShasFrom(sha: string, size: number) { - return (await this.git(['log', '--pretty=%P', `-n`, `${size}`, sha])) - .split('\n') - .map((l) => l.trim()) - .filter(Boolean); - } - - async getMergeBase(ref: string, upstreamBranch: string) { - this.log.info('ensuring we have the latest changelog from upstream', upstreamBranch); - await this.git(['fetch', this.upstreamUrl, upstreamBranch]); - - this.log.info('determining merge base with upstream'); - - const mergeBase = await this.git(['merge-base', ref, 'FETCH_HEAD']); - this.log.info('merge base with', upstreamBranch, 'is', mergeBase); - - return mergeBase; - } - - async getHeadSha() { - return await this.git(['rev-parse', 'HEAD']); - } - - getRelative(path: string) { - return Path.relative(this.dir, path); - } - - private async git(args: string[]) { - const proc = await execa('git', args, { - cwd: this.dir, - }); - - return proc.stdout.trim(); - } - - async getFilesChangesSinceSha(sha: string) { - this.log.debug('determining files changes since sha', sha); - - const proc = await execa('git', ['diff', '--name-only', sha], { - cwd: this.dir, - }); - const files = proc.stdout - .trim() - .split('\n') - .map((p) => Path.resolve(this.dir, p)); - - this.log.verbose('found the following changes compared to', sha, `\n - ${files.join('\n - ')}`); - - return files; - } -} diff --git a/src/dev/typescript/ref_output_cache/zip.ts b/src/dev/typescript/ref_output_cache/zip.ts deleted file mode 100644 index 6b0ee053367de..0000000000000 --- a/src/dev/typescript/ref_output_cache/zip.ts +++ /dev/null @@ -1,45 +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 Fs from 'fs/promises'; -import { createWriteStream } from 'fs'; -import Path from 'path'; -import { pipeline } from 'stream'; -import { promisify } from 'util'; - -import archiver from 'archiver'; - -const asyncPipeline = promisify(pipeline); - -export async function zip( - dirs: Array<[string, string]>, - files: Array<[string, string]>, - outputPath: string -) { - const archive = archiver('zip', { - zlib: { - level: 9, - }, - }); - - for (const [absolute, relative] of dirs) { - archive.directory(absolute, relative); - } - - for (const [absolute, relative] of files) { - archive.file(absolute, { - name: relative, - }); - } - - // ensure output dir exists - await Fs.mkdir(Path.dirname(outputPath), { recursive: true }); - - // await the promise from the pipeline and archive.finalize() - await Promise.all([asyncPipeline(archive, createWriteStream(outputPath)), archive.finalize()]); -} diff --git a/src/dev/typescript/root_refs_config.ts b/src/dev/typescript/root_refs_config.ts index dc06a53988ab4..ebbc1574d85c5 100644 --- a/src/dev/typescript/root_refs_config.ts +++ b/src/dev/typescript/root_refs_config.ts @@ -7,11 +7,13 @@ */ import Path from 'path'; -import Fs from 'fs/promises'; +import Fsp from 'fs/promises'; import dedent from 'dedent'; import { ToolingLog } from '@kbn/tooling-log'; import { REPO_ROOT } from '@kbn/utils'; +import { createFailError } from '@kbn/dev-cli-errors'; +import { BazelPackage } from '@kbn/bazel-packages'; import normalize from 'normalize-path'; import { PROJECTS } from './projects'; @@ -21,7 +23,7 @@ export const REF_CONFIG_PATHS = [ROOT_REFS_CONFIG_PATH]; async function isRootRefsConfigSelfManaged() { try { - const currentRefsFile = await Fs.readFile(ROOT_REFS_CONFIG_PATH, 'utf-8'); + const currentRefsFile = await Fsp.readFile(ROOT_REFS_CONFIG_PATH, 'utf-8'); return currentRefsFile.trim().startsWith('// SELF MANAGED'); } catch (error) { if (error.code === 'ENOENT') { @@ -34,9 +36,7 @@ async function isRootRefsConfigSelfManaged() { function generateTsConfig(refs: string[]) { return dedent` - // This file is automatically updated when you run \`node scripts/build_ts_refs\`. If you start this - // file with the text "// SELF MANAGED" then you can comment out any projects that you like and only - // build types for specific projects and their dependencies + // This file is automatically updated when you run \`node scripts/build_ts_refs\`. { "include": [], "references": [ @@ -46,18 +46,28 @@ ${refs.map((p) => ` { "path": ${JSON.stringify(p)} },`).join('\n')} `; } -export async function updateRootRefsConfig(log: ToolingLog) { +export async function updateRootRefsConfig(log: ToolingLog, bazelPackages: BazelPackage[]) { if (await isRootRefsConfigSelfManaged()) { - log.warning( - 'tsconfig.refs.json starts with "// SELF MANAGED" so not updating to include all projects' + throw createFailError( + `tsconfig.refs.json starts with "// SELF MANAGED" but we removed this functinality because of some complexity it caused with TS performance upgrades and we were pretty sure that nobody was using it. Please reach out to operations to discuss options <3` ); - return; } - const refs = PROJECTS.filter((p) => p.isCompositeProject()) - .map((p) => `./${normalize(Path.relative(REPO_ROOT, p.tsConfigPath))}`) - .sort((a, b) => a.localeCompare(b)); + const bazelPackageDirs = new Set( + bazelPackages.map((p) => Path.resolve(REPO_ROOT, p.normalizedRepoRelativeDir)) + ); + const refs = PROJECTS.flatMap((p) => { + if (p.disableTypeCheck || bazelPackageDirs.has(p.directory)) { + return []; + } + + return `./${normalize(Path.relative(REPO_ROOT, p.typeCheckConfigPath))}`; + }).sort((a, b) => a.localeCompare(b)); log.debug('updating', ROOT_REFS_CONFIG_PATH); - await Fs.writeFile(ROOT_REFS_CONFIG_PATH, generateTsConfig(refs) + '\n'); + await Fsp.writeFile(ROOT_REFS_CONFIG_PATH, generateTsConfig(refs) + '\n'); +} + +export async function cleanupRootRefsConfig() { + await Fsp.unlink(ROOT_REFS_CONFIG_PATH); } diff --git a/src/dev/typescript/run_type_check_cli.ts b/src/dev/typescript/run_type_check_cli.ts index 2c09c18203933..a7abbc8e2fbba 100644 --- a/src/dev/typescript/run_type_check_cli.ts +++ b/src/dev/typescript/run_type_check_cli.ts @@ -7,106 +7,204 @@ */ import Path from 'path'; -import Os from 'os'; +import Fs from 'fs'; -import * as Rx from 'rxjs'; -import { mergeMap, reduce } from 'rxjs/operators'; -import execa from 'execa'; import { run } from '@kbn/dev-cli-runner'; import { createFailError } from '@kbn/dev-cli-errors'; +import { REPO_ROOT } from '@kbn/utils'; +import { Jsonc } from '@kbn/bazel-packages'; +import { runBazel } from '@kbn/bazel-runner'; +import { BazelPackage, discoverBazelPackages } from '@kbn/bazel-packages'; import { PROJECTS } from './projects'; -import { buildTsRefs } from './build_ts_refs'; -import { updateRootRefsConfig } from './root_refs_config'; +import { Project } from './project'; +import { + updateRootRefsConfig, + cleanupRootRefsConfig, + ROOT_REFS_CONFIG_PATH, +} from './root_refs_config'; + +function rel(from: string, to: string) { + const relative = Path.relative(from, to); + return relative.startsWith('.') ? relative : `./${relative}`; +} + +function isValidRefs(refs: unknown): refs is Array<{ path: string }> { + return ( + Array.isArray(refs) && + refs.every( + (r) => typeof r === 'object' && r !== null && 'path' in r && typeof r.path === 'string' + ) + ); +} + +function parseTsconfig(path: string) { + const jsonc = Fs.readFileSync(path, 'utf8'); + const parsed = Jsonc.parse(jsonc) as Record; + if (typeof parsed !== 'object' || parsed === null) { + throw createFailError(`expected JSON at ${path} to parse into an object`); + } + + return parsed; +} + +function toTypeCheckConfigPath(path: string) { + return path.endsWith('tsconfig.base.json') + ? path.replace(/\/tsconfig\.base\.json$/, '/tsconfig.base.type_check.json') + : path.replace(/\/tsconfig\.json$/, '/tsconfig.type_check.json'); +} + +function createTypeCheckConfigs(projects: Project[], bazelPackages: BazelPackage[]) { + const created = new Set(); + const bazelPackageIds = new Set(bazelPackages.map((p) => p.manifest.id)); + + // write root tsconfig.type_check.json + const baseTypeCheckConfigPath = Path.resolve(REPO_ROOT, 'tsconfig.base.type_check.json'); + const baseConfigPath = Path.resolve(REPO_ROOT, 'tsconfig.base.json'); + const baseStat = Fs.statSync(baseConfigPath); + const basePaths = parseTsconfig(baseConfigPath).compilerOptions.paths; + if (typeof basePaths !== 'object' || basePaths === null) { + throw createFailError(`expected root compilerOptions.paths to be an object`); + } + Fs.writeFileSync( + baseTypeCheckConfigPath, + JSON.stringify( + { + extends: './tsconfig.base.json', + compilerOptions: { + paths: Object.fromEntries( + Object.entries(basePaths).flatMap(([key, value]) => { + if (key.endsWith('/*') && bazelPackageIds.has(key.slice(0, -2))) { + return []; + } + + if (bazelPackageIds.has(key)) { + return []; + } + + return [[key, value]]; + }) + ), + }, + }, + null, + 2 + ) + ); + Fs.utimesSync(baseTypeCheckConfigPath, baseStat.atime, baseStat.mtime); + created.add(baseTypeCheckConfigPath); + + // write tsconfig.type_check.json files for each project that is not the root + const queue = new Set(projects.map((p) => p.tsConfigPath)); + for (const path of queue) { + const tsconfigStat = Fs.statSync(path); + const parsed = parseTsconfig(path); + + const dir = Path.dirname(path); + const typeCheckConfigPath = Path.resolve(dir, 'tsconfig.type_check.json'); + const refs = parsed.kbn_references ?? []; + if (!isValidRefs(refs)) { + throw new Error(`expected valid TS refs in ${path}`); + } + + const typeCheckConfig = { + ...parsed, + extends: parsed.extends + ? toTypeCheckConfigPath(parsed.extends) + : rel(dir, baseTypeCheckConfigPath), + compilerOptions: { + ...parsed.compilerOptions, + composite: true, + incremental: true, + rootDir: '.', + paths: undefined, + }, + kbn_references: undefined, + references: refs.map((ref) => ({ + path: toTypeCheckConfigPath(ref.path), + })), + }; + + Fs.writeFileSync(typeCheckConfigPath, JSON.stringify(typeCheckConfig, null, 2)); + Fs.utimesSync(typeCheckConfigPath, tsconfigStat.atime, tsconfigStat.mtime); + + created.add(typeCheckConfigPath); + + // add all the referenced config files to the queue if they're not already in it + for (const ref of refs) { + queue.add(Path.resolve(dir, ref.path)); + } + } + + return created; +} export async function runTypeCheckCli() { run( - async ({ log, flags, procRunner }) => { + async ({ log, flagsReader, procRunner }) => { + log.warning( + `Building types for all bazel packages. This can take a while depending on your changes and won't show any progress while it runs.` + ); + await runBazel(['build', '//packages:build_types', '--show_result=1'], { + cwd: REPO_ROOT, + logPrefix: '\x1b[94m[bazel]\x1b[39m', + onErrorExit(code: any, output: any) { + throw createFailError( + `The bazel command that was running exited with code [${code}] and output: ${output}` + ); + }, + }); + + const bazelPackages = await discoverBazelPackages(REPO_ROOT); + // if the tsconfig.refs.json file is not self-managed then make sure it has // a reference to every composite project in the repo - await updateRootRefsConfig(log); + await updateRootRefsConfig(log, bazelPackages); - const projectFilter = - flags.project && typeof flags.project === 'string' - ? Path.resolve(flags.project) - : undefined; + const projectFilter = flagsReader.path('project'); const projects = PROJECTS.filter((p) => { return !p.disableTypeCheck && (!projectFilter || p.tsConfigPath === projectFilter); }); - if (projects.length > 1 || projects[0].isCompositeProject()) { - const { failed } = await buildTsRefs({ - log, - procRunner, - verbose: !!flags.verbose, - project: projects.length === 1 ? projects[0] : undefined, + const created = createTypeCheckConfigs(projects, bazelPackages); + + let pluginBuildResult; + try { + log.info(`Building TypeScript projects to check types...`); + + const relative = Path.relative( + REPO_ROOT, + projects.length === 1 ? projects[0].typeCheckConfigPath : ROOT_REFS_CONFIG_PATH + ); + + await procRunner.run('tsc', { + cmd: Path.relative(REPO_ROOT, require.resolve('typescript/bin/tsc')), + args: [ + '-b', + relative, + '--pretty', + ...(flagsReader.boolean('verbose') ? ['--verbose'] : []), + ], + cwd: REPO_ROOT, + wait: true, }); - if (failed) { - throw createFailError('Unable to build TS project refs'); - } + + pluginBuildResult = { failed: false }; + } catch (error) { + pluginBuildResult = { failed: true }; } - if (!projects.length) { - if (projectFilter) { - throw createFailError(`Unable to find project at ${flags.project}`); - } else { - throw createFailError(`Unable to find projects to type-check`); + // cleanup + if (flagsReader.boolean('cleanup')) { + await cleanupRootRefsConfig(); + for (const path of created) { + Fs.unlinkSync(path); } } - const concurrencyArg = - typeof flags.concurrency === 'string' && parseInt(flags.concurrency, 10); - const concurrency = - concurrencyArg && concurrencyArg > 0 - ? concurrencyArg - : Math.min(4, Math.round((Os.cpus() || []).length / 2) || 1) || 1; - - log.info('running type check in', projects.length, 'projects'); - - const tscArgs = [ - ...['--emitDeclarationOnly', 'false'], - '--noEmit', - '--pretty', - ...(flags['skip-lib-check'] - ? ['--skipLibCheck', flags['skip-lib-check'] as string] - : ['--skipLibCheck', 'false']), - ]; - - const failureCount = await Rx.lastValueFrom( - Rx.from(projects).pipe( - mergeMap(async (p) => { - const relativePath = Path.relative(process.cwd(), p.tsConfigPath); - - const result = await execa( - process.execPath, - [ - '--max-old-space-size=5120', - require.resolve('typescript/bin/tsc'), - ...['--project', p.tsConfigPath], - ...tscArgs, - ], - { - reject: false, - all: true, - } - ); - - if (result.failed) { - log.error(`Type check failed in ${relativePath}:`); - log.error(result.all ?? ' - tsc produced no output - '); - return 1; - } else { - log.success(relativePath); - return 0; - } - }, concurrency), - reduce((acc, f) => acc + f, 0) - ) - ); - - if (failureCount > 0) { - throw createFailError(`${failureCount} type checks failed`); + if (pluginBuildResult.failed) { + throw createFailError('Unable to build TS project refs'); } }, { @@ -121,13 +219,15 @@ export async function runTypeCheckCli() { node scripts/type_check --project packages/kbn-pm/tsconfig.json `, flags: { - string: ['project', 'concurrency'], - boolean: ['skip-lib-check'], + string: ['project'], + boolean: ['cleanup'], + default: { + cleanup: true, + }, help: ` - --concurrency Number of projects to check in parallel. Defaults to 50% of available CPUs, up to 4. --project [path] Path to a tsconfig.json file determines the project to check - --skip-lib-check Skip type checking of all declaration files (*.d.ts). Default is false --help Show this message + --no-cleanup Pass to avoid deleting the temporary tsconfig files written to disk `, }, } diff --git a/src/plugins/data_view_editor/tsconfig.json b/src/plugins/data_view_editor/tsconfig.json index 2b7cdc53a6a3a..441894b02e351 100644 --- a/src/plugins/data_view_editor/tsconfig.json +++ b/src/plugins/data_view_editor/tsconfig.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.base.json", "compilerOptions": { - "composite": true, "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, diff --git a/src/plugins/discover/public/index.ts b/src/plugins/discover/public/index.ts index b516161d0e97b..451bf3303216e 100644 --- a/src/plugins/discover/public/index.ts +++ b/src/plugins/discover/public/index.ts @@ -23,13 +23,13 @@ export type { DiscoverAppLocator, DiscoverAppLocatorParams } from './locator'; // re-export types and static functions to give other plugins time to migrate away export { - SavedSearch, + type SavedSearch, getSavedSearch, getSavedSearchFullPathUrl, getSavedSearchUrl, getSavedSearchUrlConflictMessage, throwErrorOnSavedSearchUrlConflict, VIEW_MODE, - DiscoverGridSettings, - DiscoverGridSettingsColumn, + type DiscoverGridSettings, + type DiscoverGridSettingsColumn, } from '@kbn/saved-search-plugin/public'; diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/types.ts b/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/types.ts index 943550aee0066..8c5a8660a4926 100644 --- a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/types.ts +++ b/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/types.ts @@ -137,4 +137,4 @@ export type DateHistogramSeries = Pick< 'split_mode' | 'override_index_pattern' | 'series_interval' | 'series_drop_last_bucket' >; -export { FiltersColumn, TermsColumn, DateHistogramColumn }; +export type { FiltersColumn, TermsColumn, DateHistogramColumn }; diff --git a/test/tsconfig.json b/test/tsconfig.json index 2df2827807972..ac6d07be71bd3 100644 --- a/test/tsconfig.json +++ b/test/tsconfig.json @@ -23,9 +23,9 @@ "exclude": [ "target/**/*", "analytics/fixtures/plugins/**/*", - "interpreter_functional/plugins/**/*", - "plugin_functional/plugins/**/*", + "interactive_setup_api_integration/fixtures/test_endpoints/**/*", "server_integration/__fixtures__/plugins/**/*", + "*/plugins/**/*", ], "references": [ { "path": "../src/core/tsconfig.json" }, diff --git a/tsconfig.base.json b/tsconfig.base.json index 6d42c567d3422..55b307ddc81f7 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -1,10 +1,707 @@ { "compilerOptions": { "baseUrl": ".", + "rootDir": ".", "paths": { "@kbn/core": ["src/core"], "@kbn/core/*": ["src/core/*"], // START AUTOMATED PACKAGE LISTING + "@kbn/analytics-client": ["packages/analytics/client"], + "@kbn/analytics-client/*": ["packages/analytics/client/*"], + "@kbn/analytics-shippers-elastic-v3-browser": ["packages/analytics/shippers/elastic_v3/browser"], + "@kbn/analytics-shippers-elastic-v3-browser/*": ["packages/analytics/shippers/elastic_v3/browser/*"], + "@kbn/analytics-shippers-elastic-v3-common": ["packages/analytics/shippers/elastic_v3/common"], + "@kbn/analytics-shippers-elastic-v3-common/*": ["packages/analytics/shippers/elastic_v3/common/*"], + "@kbn/analytics-shippers-elastic-v3-server": ["packages/analytics/shippers/elastic_v3/server"], + "@kbn/analytics-shippers-elastic-v3-server/*": ["packages/analytics/shippers/elastic_v3/server/*"], + "@kbn/analytics-shippers-fullstory": ["packages/analytics/shippers/fullstory"], + "@kbn/analytics-shippers-fullstory/*": ["packages/analytics/shippers/fullstory/*"], + "@kbn/analytics-shippers-gainsight": ["packages/analytics/shippers/gainsight"], + "@kbn/analytics-shippers-gainsight/*": ["packages/analytics/shippers/gainsight/*"], + "@kbn/content-management-table-list": ["packages/content-management/table_list"], + "@kbn/content-management-table-list/*": ["packages/content-management/table_list/*"], + "@kbn/core-analytics-browser": ["packages/core/analytics/core-analytics-browser"], + "@kbn/core-analytics-browser/*": ["packages/core/analytics/core-analytics-browser/*"], + "@kbn/core-analytics-browser-internal": ["packages/core/analytics/core-analytics-browser-internal"], + "@kbn/core-analytics-browser-internal/*": ["packages/core/analytics/core-analytics-browser-internal/*"], + "@kbn/core-analytics-browser-mocks": ["packages/core/analytics/core-analytics-browser-mocks"], + "@kbn/core-analytics-browser-mocks/*": ["packages/core/analytics/core-analytics-browser-mocks/*"], + "@kbn/core-analytics-server": ["packages/core/analytics/core-analytics-server"], + "@kbn/core-analytics-server/*": ["packages/core/analytics/core-analytics-server/*"], + "@kbn/core-analytics-server-internal": ["packages/core/analytics/core-analytics-server-internal"], + "@kbn/core-analytics-server-internal/*": ["packages/core/analytics/core-analytics-server-internal/*"], + "@kbn/core-analytics-server-mocks": ["packages/core/analytics/core-analytics-server-mocks"], + "@kbn/core-analytics-server-mocks/*": ["packages/core/analytics/core-analytics-server-mocks/*"], + "@kbn/core-application-browser": ["packages/core/application/core-application-browser"], + "@kbn/core-application-browser/*": ["packages/core/application/core-application-browser/*"], + "@kbn/core-application-browser-internal": ["packages/core/application/core-application-browser-internal"], + "@kbn/core-application-browser-internal/*": ["packages/core/application/core-application-browser-internal/*"], + "@kbn/core-application-browser-mocks": ["packages/core/application/core-application-browser-mocks"], + "@kbn/core-application-browser-mocks/*": ["packages/core/application/core-application-browser-mocks/*"], + "@kbn/core-application-common": ["packages/core/application/core-application-common"], + "@kbn/core-application-common/*": ["packages/core/application/core-application-common/*"], + "@kbn/core-apps-browser-internal": ["packages/core/apps/core-apps-browser-internal"], + "@kbn/core-apps-browser-internal/*": ["packages/core/apps/core-apps-browser-internal/*"], + "@kbn/core-apps-browser-mocks": ["packages/core/apps/core-apps-browser-mocks"], + "@kbn/core-apps-browser-mocks/*": ["packages/core/apps/core-apps-browser-mocks/*"], + "@kbn/core-base-browser-internal": ["packages/core/base/core-base-browser-internal"], + "@kbn/core-base-browser-internal/*": ["packages/core/base/core-base-browser-internal/*"], + "@kbn/core-base-browser-mocks": ["packages/core/base/core-base-browser-mocks"], + "@kbn/core-base-browser-mocks/*": ["packages/core/base/core-base-browser-mocks/*"], + "@kbn/core-base-common": ["packages/core/base/core-base-common"], + "@kbn/core-base-common/*": ["packages/core/base/core-base-common/*"], + "@kbn/core-base-common-internal": ["packages/core/base/core-base-common-internal"], + "@kbn/core-base-common-internal/*": ["packages/core/base/core-base-common-internal/*"], + "@kbn/core-base-server-internal": ["packages/core/base/core-base-server-internal"], + "@kbn/core-base-server-internal/*": ["packages/core/base/core-base-server-internal/*"], + "@kbn/core-base-server-mocks": ["packages/core/base/core-base-server-mocks"], + "@kbn/core-base-server-mocks/*": ["packages/core/base/core-base-server-mocks/*"], + "@kbn/core-capabilities-browser-internal": ["packages/core/capabilities/core-capabilities-browser-internal"], + "@kbn/core-capabilities-browser-internal/*": ["packages/core/capabilities/core-capabilities-browser-internal/*"], + "@kbn/core-capabilities-browser-mocks": ["packages/core/capabilities/core-capabilities-browser-mocks"], + "@kbn/core-capabilities-browser-mocks/*": ["packages/core/capabilities/core-capabilities-browser-mocks/*"], + "@kbn/core-capabilities-common": ["packages/core/capabilities/core-capabilities-common"], + "@kbn/core-capabilities-common/*": ["packages/core/capabilities/core-capabilities-common/*"], + "@kbn/core-capabilities-server": ["packages/core/capabilities/core-capabilities-server"], + "@kbn/core-capabilities-server/*": ["packages/core/capabilities/core-capabilities-server/*"], + "@kbn/core-capabilities-server-internal": ["packages/core/capabilities/core-capabilities-server-internal"], + "@kbn/core-capabilities-server-internal/*": ["packages/core/capabilities/core-capabilities-server-internal/*"], + "@kbn/core-capabilities-server-mocks": ["packages/core/capabilities/core-capabilities-server-mocks"], + "@kbn/core-capabilities-server-mocks/*": ["packages/core/capabilities/core-capabilities-server-mocks/*"], + "@kbn/core-chrome-browser": ["packages/core/chrome/core-chrome-browser"], + "@kbn/core-chrome-browser/*": ["packages/core/chrome/core-chrome-browser/*"], + "@kbn/core-chrome-browser-internal": ["packages/core/chrome/core-chrome-browser-internal"], + "@kbn/core-chrome-browser-internal/*": ["packages/core/chrome/core-chrome-browser-internal/*"], + "@kbn/core-chrome-browser-mocks": ["packages/core/chrome/core-chrome-browser-mocks"], + "@kbn/core-chrome-browser-mocks/*": ["packages/core/chrome/core-chrome-browser-mocks/*"], + "@kbn/core-config-server-internal": ["packages/core/config/core-config-server-internal"], + "@kbn/core-config-server-internal/*": ["packages/core/config/core-config-server-internal/*"], + "@kbn/core-deprecations-browser": ["packages/core/deprecations/core-deprecations-browser"], + "@kbn/core-deprecations-browser/*": ["packages/core/deprecations/core-deprecations-browser/*"], + "@kbn/core-deprecations-browser-internal": ["packages/core/deprecations/core-deprecations-browser-internal"], + "@kbn/core-deprecations-browser-internal/*": ["packages/core/deprecations/core-deprecations-browser-internal/*"], + "@kbn/core-deprecations-browser-mocks": ["packages/core/deprecations/core-deprecations-browser-mocks"], + "@kbn/core-deprecations-browser-mocks/*": ["packages/core/deprecations/core-deprecations-browser-mocks/*"], + "@kbn/core-deprecations-common": ["packages/core/deprecations/core-deprecations-common"], + "@kbn/core-deprecations-common/*": ["packages/core/deprecations/core-deprecations-common/*"], + "@kbn/core-deprecations-server": ["packages/core/deprecations/core-deprecations-server"], + "@kbn/core-deprecations-server/*": ["packages/core/deprecations/core-deprecations-server/*"], + "@kbn/core-deprecations-server-internal": ["packages/core/deprecations/core-deprecations-server-internal"], + "@kbn/core-deprecations-server-internal/*": ["packages/core/deprecations/core-deprecations-server-internal/*"], + "@kbn/core-deprecations-server-mocks": ["packages/core/deprecations/core-deprecations-server-mocks"], + "@kbn/core-deprecations-server-mocks/*": ["packages/core/deprecations/core-deprecations-server-mocks/*"], + "@kbn/core-doc-links-browser": ["packages/core/doc-links/core-doc-links-browser"], + "@kbn/core-doc-links-browser/*": ["packages/core/doc-links/core-doc-links-browser/*"], + "@kbn/core-doc-links-browser-internal": ["packages/core/doc-links/core-doc-links-browser-internal"], + "@kbn/core-doc-links-browser-internal/*": ["packages/core/doc-links/core-doc-links-browser-internal/*"], + "@kbn/core-doc-links-browser-mocks": ["packages/core/doc-links/core-doc-links-browser-mocks"], + "@kbn/core-doc-links-browser-mocks/*": ["packages/core/doc-links/core-doc-links-browser-mocks/*"], + "@kbn/core-doc-links-server": ["packages/core/doc-links/core-doc-links-server"], + "@kbn/core-doc-links-server/*": ["packages/core/doc-links/core-doc-links-server/*"], + "@kbn/core-doc-links-server-internal": ["packages/core/doc-links/core-doc-links-server-internal"], + "@kbn/core-doc-links-server-internal/*": ["packages/core/doc-links/core-doc-links-server-internal/*"], + "@kbn/core-doc-links-server-mocks": ["packages/core/doc-links/core-doc-links-server-mocks"], + "@kbn/core-doc-links-server-mocks/*": ["packages/core/doc-links/core-doc-links-server-mocks/*"], + "@kbn/core-elasticsearch-client-server-internal": ["packages/core/elasticsearch/core-elasticsearch-client-server-internal"], + "@kbn/core-elasticsearch-client-server-internal/*": ["packages/core/elasticsearch/core-elasticsearch-client-server-internal/*"], + "@kbn/core-elasticsearch-client-server-mocks": ["packages/core/elasticsearch/core-elasticsearch-client-server-mocks"], + "@kbn/core-elasticsearch-client-server-mocks/*": ["packages/core/elasticsearch/core-elasticsearch-client-server-mocks/*"], + "@kbn/core-elasticsearch-server": ["packages/core/elasticsearch/core-elasticsearch-server"], + "@kbn/core-elasticsearch-server/*": ["packages/core/elasticsearch/core-elasticsearch-server/*"], + "@kbn/core-elasticsearch-server-internal": ["packages/core/elasticsearch/core-elasticsearch-server-internal"], + "@kbn/core-elasticsearch-server-internal/*": ["packages/core/elasticsearch/core-elasticsearch-server-internal/*"], + "@kbn/core-elasticsearch-server-mocks": ["packages/core/elasticsearch/core-elasticsearch-server-mocks"], + "@kbn/core-elasticsearch-server-mocks/*": ["packages/core/elasticsearch/core-elasticsearch-server-mocks/*"], + "@kbn/core-environment-server-internal": ["packages/core/environment/core-environment-server-internal"], + "@kbn/core-environment-server-internal/*": ["packages/core/environment/core-environment-server-internal/*"], + "@kbn/core-environment-server-mocks": ["packages/core/environment/core-environment-server-mocks"], + "@kbn/core-environment-server-mocks/*": ["packages/core/environment/core-environment-server-mocks/*"], + "@kbn/core-execution-context-browser": ["packages/core/execution-context/core-execution-context-browser"], + "@kbn/core-execution-context-browser/*": ["packages/core/execution-context/core-execution-context-browser/*"], + "@kbn/core-execution-context-browser-internal": ["packages/core/execution-context/core-execution-context-browser-internal"], + "@kbn/core-execution-context-browser-internal/*": ["packages/core/execution-context/core-execution-context-browser-internal/*"], + "@kbn/core-execution-context-browser-mocks": ["packages/core/execution-context/core-execution-context-browser-mocks"], + "@kbn/core-execution-context-browser-mocks/*": ["packages/core/execution-context/core-execution-context-browser-mocks/*"], + "@kbn/core-execution-context-common": ["packages/core/execution-context/core-execution-context-common"], + "@kbn/core-execution-context-common/*": ["packages/core/execution-context/core-execution-context-common/*"], + "@kbn/core-execution-context-server": ["packages/core/execution-context/core-execution-context-server"], + "@kbn/core-execution-context-server/*": ["packages/core/execution-context/core-execution-context-server/*"], + "@kbn/core-execution-context-server-internal": ["packages/core/execution-context/core-execution-context-server-internal"], + "@kbn/core-execution-context-server-internal/*": ["packages/core/execution-context/core-execution-context-server-internal/*"], + "@kbn/core-execution-context-server-mocks": ["packages/core/execution-context/core-execution-context-server-mocks"], + "@kbn/core-execution-context-server-mocks/*": ["packages/core/execution-context/core-execution-context-server-mocks/*"], + "@kbn/core-fatal-errors-browser": ["packages/core/fatal-errors/core-fatal-errors-browser"], + "@kbn/core-fatal-errors-browser/*": ["packages/core/fatal-errors/core-fatal-errors-browser/*"], + "@kbn/core-fatal-errors-browser-internal": ["packages/core/fatal-errors/core-fatal-errors-browser-internal"], + "@kbn/core-fatal-errors-browser-internal/*": ["packages/core/fatal-errors/core-fatal-errors-browser-internal/*"], + "@kbn/core-fatal-errors-browser-mocks": ["packages/core/fatal-errors/core-fatal-errors-browser-mocks"], + "@kbn/core-fatal-errors-browser-mocks/*": ["packages/core/fatal-errors/core-fatal-errors-browser-mocks/*"], + "@kbn/core-http-browser": ["packages/core/http/core-http-browser"], + "@kbn/core-http-browser/*": ["packages/core/http/core-http-browser/*"], + "@kbn/core-http-browser-internal": ["packages/core/http/core-http-browser-internal"], + "@kbn/core-http-browser-internal/*": ["packages/core/http/core-http-browser-internal/*"], + "@kbn/core-http-browser-mocks": ["packages/core/http/core-http-browser-mocks"], + "@kbn/core-http-browser-mocks/*": ["packages/core/http/core-http-browser-mocks/*"], + "@kbn/core-http-common": ["packages/core/http/core-http-common"], + "@kbn/core-http-common/*": ["packages/core/http/core-http-common/*"], + "@kbn/core-http-context-server-internal": ["packages/core/http/core-http-context-server-internal"], + "@kbn/core-http-context-server-internal/*": ["packages/core/http/core-http-context-server-internal/*"], + "@kbn/core-http-context-server-mocks": ["packages/core/http/core-http-context-server-mocks"], + "@kbn/core-http-context-server-mocks/*": ["packages/core/http/core-http-context-server-mocks/*"], + "@kbn/core-http-request-handler-context-server": ["packages/core/http/core-http-request-handler-context-server"], + "@kbn/core-http-request-handler-context-server/*": ["packages/core/http/core-http-request-handler-context-server/*"], + "@kbn/core-http-request-handler-context-server-internal": ["packages/core/http/core-http-request-handler-context-server-internal"], + "@kbn/core-http-request-handler-context-server-internal/*": ["packages/core/http/core-http-request-handler-context-server-internal/*"], + "@kbn/core-http-resources-server": ["packages/core/http/core-http-resources-server"], + "@kbn/core-http-resources-server/*": ["packages/core/http/core-http-resources-server/*"], + "@kbn/core-http-resources-server-internal": ["packages/core/http/core-http-resources-server-internal"], + "@kbn/core-http-resources-server-internal/*": ["packages/core/http/core-http-resources-server-internal/*"], + "@kbn/core-http-resources-server-mocks": ["packages/core/http/core-http-resources-server-mocks"], + "@kbn/core-http-resources-server-mocks/*": ["packages/core/http/core-http-resources-server-mocks/*"], + "@kbn/core-http-router-server-internal": ["packages/core/http/core-http-router-server-internal"], + "@kbn/core-http-router-server-internal/*": ["packages/core/http/core-http-router-server-internal/*"], + "@kbn/core-http-router-server-mocks": ["packages/core/http/core-http-router-server-mocks"], + "@kbn/core-http-router-server-mocks/*": ["packages/core/http/core-http-router-server-mocks/*"], + "@kbn/core-http-server": ["packages/core/http/core-http-server"], + "@kbn/core-http-server/*": ["packages/core/http/core-http-server/*"], + "@kbn/core-http-server-internal": ["packages/core/http/core-http-server-internal"], + "@kbn/core-http-server-internal/*": ["packages/core/http/core-http-server-internal/*"], + "@kbn/core-http-server-mocks": ["packages/core/http/core-http-server-mocks"], + "@kbn/core-http-server-mocks/*": ["packages/core/http/core-http-server-mocks/*"], + "@kbn/core-i18n-browser": ["packages/core/i18n/core-i18n-browser"], + "@kbn/core-i18n-browser/*": ["packages/core/i18n/core-i18n-browser/*"], + "@kbn/core-i18n-browser-internal": ["packages/core/i18n/core-i18n-browser-internal"], + "@kbn/core-i18n-browser-internal/*": ["packages/core/i18n/core-i18n-browser-internal/*"], + "@kbn/core-i18n-browser-mocks": ["packages/core/i18n/core-i18n-browser-mocks"], + "@kbn/core-i18n-browser-mocks/*": ["packages/core/i18n/core-i18n-browser-mocks/*"], + "@kbn/core-i18n-server": ["packages/core/i18n/core-i18n-server"], + "@kbn/core-i18n-server/*": ["packages/core/i18n/core-i18n-server/*"], + "@kbn/core-i18n-server-internal": ["packages/core/i18n/core-i18n-server-internal"], + "@kbn/core-i18n-server-internal/*": ["packages/core/i18n/core-i18n-server-internal/*"], + "@kbn/core-i18n-server-mocks": ["packages/core/i18n/core-i18n-server-mocks"], + "@kbn/core-i18n-server-mocks/*": ["packages/core/i18n/core-i18n-server-mocks/*"], + "@kbn/core-injected-metadata-browser": ["packages/core/injected-metadata/core-injected-metadata-browser"], + "@kbn/core-injected-metadata-browser/*": ["packages/core/injected-metadata/core-injected-metadata-browser/*"], + "@kbn/core-injected-metadata-browser-internal": ["packages/core/injected-metadata/core-injected-metadata-browser-internal"], + "@kbn/core-injected-metadata-browser-internal/*": ["packages/core/injected-metadata/core-injected-metadata-browser-internal/*"], + "@kbn/core-injected-metadata-browser-mocks": ["packages/core/injected-metadata/core-injected-metadata-browser-mocks"], + "@kbn/core-injected-metadata-browser-mocks/*": ["packages/core/injected-metadata/core-injected-metadata-browser-mocks/*"], + "@kbn/core-injected-metadata-common-internal": ["packages/core/injected-metadata/core-injected-metadata-common-internal"], + "@kbn/core-injected-metadata-common-internal/*": ["packages/core/injected-metadata/core-injected-metadata-common-internal/*"], + "@kbn/core-integrations-browser-internal": ["packages/core/integrations/core-integrations-browser-internal"], + "@kbn/core-integrations-browser-internal/*": ["packages/core/integrations/core-integrations-browser-internal/*"], + "@kbn/core-integrations-browser-mocks": ["packages/core/integrations/core-integrations-browser-mocks"], + "@kbn/core-integrations-browser-mocks/*": ["packages/core/integrations/core-integrations-browser-mocks/*"], + "@kbn/core-lifecycle-browser": ["packages/core/lifecycle/core-lifecycle-browser"], + "@kbn/core-lifecycle-browser/*": ["packages/core/lifecycle/core-lifecycle-browser/*"], + "@kbn/core-lifecycle-browser-internal": ["packages/core/lifecycle/core-lifecycle-browser-internal"], + "@kbn/core-lifecycle-browser-internal/*": ["packages/core/lifecycle/core-lifecycle-browser-internal/*"], + "@kbn/core-lifecycle-browser-mocks": ["packages/core/lifecycle/core-lifecycle-browser-mocks"], + "@kbn/core-lifecycle-browser-mocks/*": ["packages/core/lifecycle/core-lifecycle-browser-mocks/*"], + "@kbn/core-lifecycle-server": ["packages/core/lifecycle/core-lifecycle-server"], + "@kbn/core-lifecycle-server/*": ["packages/core/lifecycle/core-lifecycle-server/*"], + "@kbn/core-lifecycle-server-internal": ["packages/core/lifecycle/core-lifecycle-server-internal"], + "@kbn/core-lifecycle-server-internal/*": ["packages/core/lifecycle/core-lifecycle-server-internal/*"], + "@kbn/core-lifecycle-server-mocks": ["packages/core/lifecycle/core-lifecycle-server-mocks"], + "@kbn/core-lifecycle-server-mocks/*": ["packages/core/lifecycle/core-lifecycle-server-mocks/*"], + "@kbn/core-logging-server": ["packages/core/logging/core-logging-server"], + "@kbn/core-logging-server/*": ["packages/core/logging/core-logging-server/*"], + "@kbn/core-logging-server-internal": ["packages/core/logging/core-logging-server-internal"], + "@kbn/core-logging-server-internal/*": ["packages/core/logging/core-logging-server-internal/*"], + "@kbn/core-logging-server-mocks": ["packages/core/logging/core-logging-server-mocks"], + "@kbn/core-logging-server-mocks/*": ["packages/core/logging/core-logging-server-mocks/*"], + "@kbn/core-metrics-collectors-server-internal": ["packages/core/metrics/core-metrics-collectors-server-internal"], + "@kbn/core-metrics-collectors-server-internal/*": ["packages/core/metrics/core-metrics-collectors-server-internal/*"], + "@kbn/core-metrics-collectors-server-mocks": ["packages/core/metrics/core-metrics-collectors-server-mocks"], + "@kbn/core-metrics-collectors-server-mocks/*": ["packages/core/metrics/core-metrics-collectors-server-mocks/*"], + "@kbn/core-metrics-server": ["packages/core/metrics/core-metrics-server"], + "@kbn/core-metrics-server/*": ["packages/core/metrics/core-metrics-server/*"], + "@kbn/core-metrics-server-internal": ["packages/core/metrics/core-metrics-server-internal"], + "@kbn/core-metrics-server-internal/*": ["packages/core/metrics/core-metrics-server-internal/*"], + "@kbn/core-metrics-server-mocks": ["packages/core/metrics/core-metrics-server-mocks"], + "@kbn/core-metrics-server-mocks/*": ["packages/core/metrics/core-metrics-server-mocks/*"], + "@kbn/core-mount-utils-browser": ["packages/core/mount-utils/core-mount-utils-browser"], + "@kbn/core-mount-utils-browser/*": ["packages/core/mount-utils/core-mount-utils-browser/*"], + "@kbn/core-mount-utils-browser-internal": ["packages/core/mount-utils/core-mount-utils-browser-internal"], + "@kbn/core-mount-utils-browser-internal/*": ["packages/core/mount-utils/core-mount-utils-browser-internal/*"], + "@kbn/core-node-server": ["packages/core/node/core-node-server"], + "@kbn/core-node-server/*": ["packages/core/node/core-node-server/*"], + "@kbn/core-node-server-internal": ["packages/core/node/core-node-server-internal"], + "@kbn/core-node-server-internal/*": ["packages/core/node/core-node-server-internal/*"], + "@kbn/core-node-server-mocks": ["packages/core/node/core-node-server-mocks"], + "@kbn/core-node-server-mocks/*": ["packages/core/node/core-node-server-mocks/*"], + "@kbn/core-notifications-browser": ["packages/core/notifications/core-notifications-browser"], + "@kbn/core-notifications-browser/*": ["packages/core/notifications/core-notifications-browser/*"], + "@kbn/core-notifications-browser-internal": ["packages/core/notifications/core-notifications-browser-internal"], + "@kbn/core-notifications-browser-internal/*": ["packages/core/notifications/core-notifications-browser-internal/*"], + "@kbn/core-notifications-browser-mocks": ["packages/core/notifications/core-notifications-browser-mocks"], + "@kbn/core-notifications-browser-mocks/*": ["packages/core/notifications/core-notifications-browser-mocks/*"], + "@kbn/core-overlays-browser": ["packages/core/overlays/core-overlays-browser"], + "@kbn/core-overlays-browser/*": ["packages/core/overlays/core-overlays-browser/*"], + "@kbn/core-overlays-browser-internal": ["packages/core/overlays/core-overlays-browser-internal"], + "@kbn/core-overlays-browser-internal/*": ["packages/core/overlays/core-overlays-browser-internal/*"], + "@kbn/core-overlays-browser-mocks": ["packages/core/overlays/core-overlays-browser-mocks"], + "@kbn/core-overlays-browser-mocks/*": ["packages/core/overlays/core-overlays-browser-mocks/*"], + "@kbn/core-plugins-base-server-internal": ["packages/core/plugins/core-plugins-base-server-internal"], + "@kbn/core-plugins-base-server-internal/*": ["packages/core/plugins/core-plugins-base-server-internal/*"], + "@kbn/core-plugins-browser": ["packages/core/plugins/core-plugins-browser"], + "@kbn/core-plugins-browser/*": ["packages/core/plugins/core-plugins-browser/*"], + "@kbn/core-plugins-browser-internal": ["packages/core/plugins/core-plugins-browser-internal"], + "@kbn/core-plugins-browser-internal/*": ["packages/core/plugins/core-plugins-browser-internal/*"], + "@kbn/core-plugins-browser-mocks": ["packages/core/plugins/core-plugins-browser-mocks"], + "@kbn/core-plugins-browser-mocks/*": ["packages/core/plugins/core-plugins-browser-mocks/*"], + "@kbn/core-plugins-server": ["packages/core/plugins/core-plugins-server"], + "@kbn/core-plugins-server/*": ["packages/core/plugins/core-plugins-server/*"], + "@kbn/core-plugins-server-internal": ["packages/core/plugins/core-plugins-server-internal"], + "@kbn/core-plugins-server-internal/*": ["packages/core/plugins/core-plugins-server-internal/*"], + "@kbn/core-plugins-server-mocks": ["packages/core/plugins/core-plugins-server-mocks"], + "@kbn/core-plugins-server-mocks/*": ["packages/core/plugins/core-plugins-server-mocks/*"], + "@kbn/core-preboot-server": ["packages/core/preboot/core-preboot-server"], + "@kbn/core-preboot-server/*": ["packages/core/preboot/core-preboot-server/*"], + "@kbn/core-preboot-server-internal": ["packages/core/preboot/core-preboot-server-internal"], + "@kbn/core-preboot-server-internal/*": ["packages/core/preboot/core-preboot-server-internal/*"], + "@kbn/core-preboot-server-mocks": ["packages/core/preboot/core-preboot-server-mocks"], + "@kbn/core-preboot-server-mocks/*": ["packages/core/preboot/core-preboot-server-mocks/*"], + "@kbn/core-rendering-browser-internal": ["packages/core/rendering/core-rendering-browser-internal"], + "@kbn/core-rendering-browser-internal/*": ["packages/core/rendering/core-rendering-browser-internal/*"], + "@kbn/core-rendering-browser-mocks": ["packages/core/rendering/core-rendering-browser-mocks"], + "@kbn/core-rendering-browser-mocks/*": ["packages/core/rendering/core-rendering-browser-mocks/*"], + "@kbn/core-rendering-server-internal": ["packages/core/rendering/core-rendering-server-internal"], + "@kbn/core-rendering-server-internal/*": ["packages/core/rendering/core-rendering-server-internal/*"], + "@kbn/core-rendering-server-mocks": ["packages/core/rendering/core-rendering-server-mocks"], + "@kbn/core-rendering-server-mocks/*": ["packages/core/rendering/core-rendering-server-mocks/*"], + "@kbn/core-root-browser-internal": ["packages/core/root/core-root-browser-internal"], + "@kbn/core-root-browser-internal/*": ["packages/core/root/core-root-browser-internal/*"], + "@kbn/core-saved-objects-api-browser": ["packages/core/saved-objects/core-saved-objects-api-browser"], + "@kbn/core-saved-objects-api-browser/*": ["packages/core/saved-objects/core-saved-objects-api-browser/*"], + "@kbn/core-saved-objects-api-server": ["packages/core/saved-objects/core-saved-objects-api-server"], + "@kbn/core-saved-objects-api-server/*": ["packages/core/saved-objects/core-saved-objects-api-server/*"], + "@kbn/core-saved-objects-api-server-internal": ["packages/core/saved-objects/core-saved-objects-api-server-internal"], + "@kbn/core-saved-objects-api-server-internal/*": ["packages/core/saved-objects/core-saved-objects-api-server-internal/*"], + "@kbn/core-saved-objects-api-server-mocks": ["packages/core/saved-objects/core-saved-objects-api-server-mocks"], + "@kbn/core-saved-objects-api-server-mocks/*": ["packages/core/saved-objects/core-saved-objects-api-server-mocks/*"], + "@kbn/core-saved-objects-base-server-internal": ["packages/core/saved-objects/core-saved-objects-base-server-internal"], + "@kbn/core-saved-objects-base-server-internal/*": ["packages/core/saved-objects/core-saved-objects-base-server-internal/*"], + "@kbn/core-saved-objects-base-server-mocks": ["packages/core/saved-objects/core-saved-objects-base-server-mocks"], + "@kbn/core-saved-objects-base-server-mocks/*": ["packages/core/saved-objects/core-saved-objects-base-server-mocks/*"], + "@kbn/core-saved-objects-browser": ["packages/core/saved-objects/core-saved-objects-browser"], + "@kbn/core-saved-objects-browser/*": ["packages/core/saved-objects/core-saved-objects-browser/*"], + "@kbn/core-saved-objects-browser-internal": ["packages/core/saved-objects/core-saved-objects-browser-internal"], + "@kbn/core-saved-objects-browser-internal/*": ["packages/core/saved-objects/core-saved-objects-browser-internal/*"], + "@kbn/core-saved-objects-browser-mocks": ["packages/core/saved-objects/core-saved-objects-browser-mocks"], + "@kbn/core-saved-objects-browser-mocks/*": ["packages/core/saved-objects/core-saved-objects-browser-mocks/*"], + "@kbn/core-saved-objects-common": ["packages/core/saved-objects/core-saved-objects-common"], + "@kbn/core-saved-objects-common/*": ["packages/core/saved-objects/core-saved-objects-common/*"], + "@kbn/core-saved-objects-import-export-server-internal": ["packages/core/saved-objects/core-saved-objects-import-export-server-internal"], + "@kbn/core-saved-objects-import-export-server-internal/*": ["packages/core/saved-objects/core-saved-objects-import-export-server-internal/*"], + "@kbn/core-saved-objects-import-export-server-mocks": ["packages/core/saved-objects/core-saved-objects-import-export-server-mocks"], + "@kbn/core-saved-objects-import-export-server-mocks/*": ["packages/core/saved-objects/core-saved-objects-import-export-server-mocks/*"], + "@kbn/core-saved-objects-migration-server-internal": ["packages/core/saved-objects/core-saved-objects-migration-server-internal"], + "@kbn/core-saved-objects-migration-server-internal/*": ["packages/core/saved-objects/core-saved-objects-migration-server-internal/*"], + "@kbn/core-saved-objects-migration-server-mocks": ["packages/core/saved-objects/core-saved-objects-migration-server-mocks"], + "@kbn/core-saved-objects-migration-server-mocks/*": ["packages/core/saved-objects/core-saved-objects-migration-server-mocks/*"], + "@kbn/core-saved-objects-server": ["packages/core/saved-objects/core-saved-objects-server"], + "@kbn/core-saved-objects-server/*": ["packages/core/saved-objects/core-saved-objects-server/*"], + "@kbn/core-saved-objects-server-internal": ["packages/core/saved-objects/core-saved-objects-server-internal"], + "@kbn/core-saved-objects-server-internal/*": ["packages/core/saved-objects/core-saved-objects-server-internal/*"], + "@kbn/core-saved-objects-server-mocks": ["packages/core/saved-objects/core-saved-objects-server-mocks"], + "@kbn/core-saved-objects-server-mocks/*": ["packages/core/saved-objects/core-saved-objects-server-mocks/*"], + "@kbn/core-saved-objects-utils-server": ["packages/core/saved-objects/core-saved-objects-utils-server"], + "@kbn/core-saved-objects-utils-server/*": ["packages/core/saved-objects/core-saved-objects-utils-server/*"], + "@kbn/core-status-common": ["packages/core/status/core-status-common"], + "@kbn/core-status-common/*": ["packages/core/status/core-status-common/*"], + "@kbn/core-status-common-internal": ["packages/core/status/core-status-common-internal"], + "@kbn/core-status-common-internal/*": ["packages/core/status/core-status-common-internal/*"], + "@kbn/core-status-server": ["packages/core/status/core-status-server"], + "@kbn/core-status-server/*": ["packages/core/status/core-status-server/*"], + "@kbn/core-status-server-internal": ["packages/core/status/core-status-server-internal"], + "@kbn/core-status-server-internal/*": ["packages/core/status/core-status-server-internal/*"], + "@kbn/core-status-server-mocks": ["packages/core/status/core-status-server-mocks"], + "@kbn/core-status-server-mocks/*": ["packages/core/status/core-status-server-mocks/*"], + "@kbn/core-test-helpers-deprecations-getters": ["packages/core/test-helpers/core-test-helpers-deprecations-getters"], + "@kbn/core-test-helpers-deprecations-getters/*": ["packages/core/test-helpers/core-test-helpers-deprecations-getters/*"], + "@kbn/core-test-helpers-http-setup-browser": ["packages/core/test-helpers/core-test-helpers-http-setup-browser"], + "@kbn/core-test-helpers-http-setup-browser/*": ["packages/core/test-helpers/core-test-helpers-http-setup-browser/*"], + "@kbn/core-test-helpers-so-type-serializer": ["packages/core/test-helpers/core-test-helpers-so-type-serializer"], + "@kbn/core-test-helpers-so-type-serializer/*": ["packages/core/test-helpers/core-test-helpers-so-type-serializer/*"], + "@kbn/core-test-helpers-test-utils": ["packages/core/test-helpers/core-test-helpers-test-utils"], + "@kbn/core-test-helpers-test-utils/*": ["packages/core/test-helpers/core-test-helpers-test-utils/*"], + "@kbn/core-theme-browser": ["packages/core/theme/core-theme-browser"], + "@kbn/core-theme-browser/*": ["packages/core/theme/core-theme-browser/*"], + "@kbn/core-theme-browser-internal": ["packages/core/theme/core-theme-browser-internal"], + "@kbn/core-theme-browser-internal/*": ["packages/core/theme/core-theme-browser-internal/*"], + "@kbn/core-theme-browser-mocks": ["packages/core/theme/core-theme-browser-mocks"], + "@kbn/core-theme-browser-mocks/*": ["packages/core/theme/core-theme-browser-mocks/*"], + "@kbn/core-ui-settings-browser": ["packages/core/ui-settings/core-ui-settings-browser"], + "@kbn/core-ui-settings-browser/*": ["packages/core/ui-settings/core-ui-settings-browser/*"], + "@kbn/core-ui-settings-browser-internal": ["packages/core/ui-settings/core-ui-settings-browser-internal"], + "@kbn/core-ui-settings-browser-internal/*": ["packages/core/ui-settings/core-ui-settings-browser-internal/*"], + "@kbn/core-ui-settings-browser-mocks": ["packages/core/ui-settings/core-ui-settings-browser-mocks"], + "@kbn/core-ui-settings-browser-mocks/*": ["packages/core/ui-settings/core-ui-settings-browser-mocks/*"], + "@kbn/core-ui-settings-common": ["packages/core/ui-settings/core-ui-settings-common"], + "@kbn/core-ui-settings-common/*": ["packages/core/ui-settings/core-ui-settings-common/*"], + "@kbn/core-ui-settings-server": ["packages/core/ui-settings/core-ui-settings-server"], + "@kbn/core-ui-settings-server/*": ["packages/core/ui-settings/core-ui-settings-server/*"], + "@kbn/core-ui-settings-server-internal": ["packages/core/ui-settings/core-ui-settings-server-internal"], + "@kbn/core-ui-settings-server-internal/*": ["packages/core/ui-settings/core-ui-settings-server-internal/*"], + "@kbn/core-ui-settings-server-mocks": ["packages/core/ui-settings/core-ui-settings-server-mocks"], + "@kbn/core-ui-settings-server-mocks/*": ["packages/core/ui-settings/core-ui-settings-server-mocks/*"], + "@kbn/core-usage-data-base-server-internal": ["packages/core/usage-data/core-usage-data-base-server-internal"], + "@kbn/core-usage-data-base-server-internal/*": ["packages/core/usage-data/core-usage-data-base-server-internal/*"], + "@kbn/core-usage-data-server": ["packages/core/usage-data/core-usage-data-server"], + "@kbn/core-usage-data-server/*": ["packages/core/usage-data/core-usage-data-server/*"], + "@kbn/core-usage-data-server-internal": ["packages/core/usage-data/core-usage-data-server-internal"], + "@kbn/core-usage-data-server-internal/*": ["packages/core/usage-data/core-usage-data-server-internal/*"], + "@kbn/core-usage-data-server-mocks": ["packages/core/usage-data/core-usage-data-server-mocks"], + "@kbn/core-usage-data-server-mocks/*": ["packages/core/usage-data/core-usage-data-server-mocks/*"], + "@kbn/home-sample-data-card": ["packages/home/sample_data_card"], + "@kbn/home-sample-data-card/*": ["packages/home/sample_data_card/*"], + "@kbn/home-sample-data-tab": ["packages/home/sample_data_tab"], + "@kbn/home-sample-data-tab/*": ["packages/home/sample_data_tab/*"], + "@kbn/home-sample-data-types": ["packages/home/sample_data_types"], + "@kbn/home-sample-data-types/*": ["packages/home/sample_data_types/*"], + "@kbn/ace": ["packages/kbn-ace"], + "@kbn/ace/*": ["packages/kbn-ace/*"], + "@kbn/alerts": ["packages/kbn-alerts"], + "@kbn/alerts/*": ["packages/kbn-alerts/*"], + "@kbn/ambient-storybook-types": ["packages/kbn-ambient-storybook-types"], + "@kbn/ambient-storybook-types/*": ["packages/kbn-ambient-storybook-types/*"], + "@kbn/ambient-ui-types": ["packages/kbn-ambient-ui-types"], + "@kbn/ambient-ui-types/*": ["packages/kbn-ambient-ui-types/*"], + "@kbn/analytics": ["packages/kbn-analytics"], + "@kbn/analytics/*": ["packages/kbn-analytics/*"], + "@kbn/apm-config-loader": ["packages/kbn-apm-config-loader"], + "@kbn/apm-config-loader/*": ["packages/kbn-apm-config-loader/*"], + "@kbn/apm-synthtrace": ["packages/kbn-apm-synthtrace"], + "@kbn/apm-synthtrace/*": ["packages/kbn-apm-synthtrace/*"], + "@kbn/apm-utils": ["packages/kbn-apm-utils"], + "@kbn/apm-utils/*": ["packages/kbn-apm-utils/*"], + "@kbn/axe-config": ["packages/kbn-axe-config"], + "@kbn/axe-config/*": ["packages/kbn-axe-config/*"], + "@kbn/babel-plugin-synthetic-packages": ["packages/kbn-babel-plugin-synthetic-packages"], + "@kbn/babel-plugin-synthetic-packages/*": ["packages/kbn-babel-plugin-synthetic-packages/*"], + "@kbn/babel-preset": ["packages/kbn-babel-preset"], + "@kbn/babel-preset/*": ["packages/kbn-babel-preset/*"], + "@kbn/bazel-packages": ["packages/kbn-bazel-packages"], + "@kbn/bazel-packages/*": ["packages/kbn-bazel-packages/*"], + "@kbn/bazel-runner": ["packages/kbn-bazel-runner"], + "@kbn/bazel-runner/*": ["packages/kbn-bazel-runner/*"], + "@kbn/cases-components": ["packages/kbn-cases-components"], + "@kbn/cases-components/*": ["packages/kbn-cases-components/*"], + "@kbn/chart-icons": ["packages/kbn-chart-icons"], + "@kbn/chart-icons/*": ["packages/kbn-chart-icons/*"], + "@kbn/ci-stats-core": ["packages/kbn-ci-stats-core"], + "@kbn/ci-stats-core/*": ["packages/kbn-ci-stats-core/*"], + "@kbn/ci-stats-performance-metrics": ["packages/kbn-ci-stats-performance-metrics"], + "@kbn/ci-stats-performance-metrics/*": ["packages/kbn-ci-stats-performance-metrics/*"], + "@kbn/ci-stats-reporter": ["packages/kbn-ci-stats-reporter"], + "@kbn/ci-stats-reporter/*": ["packages/kbn-ci-stats-reporter/*"], + "@kbn/cli-dev-mode": ["packages/kbn-cli-dev-mode"], + "@kbn/cli-dev-mode/*": ["packages/kbn-cli-dev-mode/*"], + "@kbn/coloring": ["packages/kbn-coloring"], + "@kbn/coloring/*": ["packages/kbn-coloring/*"], + "@kbn/config": ["packages/kbn-config"], + "@kbn/config/*": ["packages/kbn-config/*"], + "@kbn/config-mocks": ["packages/kbn-config-mocks"], + "@kbn/config-mocks/*": ["packages/kbn-config-mocks/*"], + "@kbn/config-schema": ["packages/kbn-config-schema"], + "@kbn/config-schema/*": ["packages/kbn-config-schema/*"], + "@kbn/crypto": ["packages/kbn-crypto"], + "@kbn/crypto/*": ["packages/kbn-crypto/*"], + "@kbn/crypto-browser": ["packages/kbn-crypto-browser"], + "@kbn/crypto-browser/*": ["packages/kbn-crypto-browser/*"], + "@kbn/datemath": ["packages/kbn-datemath"], + "@kbn/datemath/*": ["packages/kbn-datemath/*"], + "@kbn/dev-cli-errors": ["packages/kbn-dev-cli-errors"], + "@kbn/dev-cli-errors/*": ["packages/kbn-dev-cli-errors/*"], + "@kbn/dev-cli-runner": ["packages/kbn-dev-cli-runner"], + "@kbn/dev-cli-runner/*": ["packages/kbn-dev-cli-runner/*"], + "@kbn/dev-proc-runner": ["packages/kbn-dev-proc-runner"], + "@kbn/dev-proc-runner/*": ["packages/kbn-dev-proc-runner/*"], + "@kbn/dev-utils": ["packages/kbn-dev-utils"], + "@kbn/dev-utils/*": ["packages/kbn-dev-utils/*"], + "@kbn/doc-links": ["packages/kbn-doc-links"], + "@kbn/doc-links/*": ["packages/kbn-doc-links/*"], + "@kbn/docs-utils": ["packages/kbn-docs-utils"], + "@kbn/docs-utils/*": ["packages/kbn-docs-utils/*"], + "@kbn/ebt-tools": ["packages/kbn-ebt-tools"], + "@kbn/ebt-tools/*": ["packages/kbn-ebt-tools/*"], + "@kbn/es": ["packages/kbn-es"], + "@kbn/es/*": ["packages/kbn-es/*"], + "@kbn/es-archiver": ["packages/kbn-es-archiver"], + "@kbn/es-archiver/*": ["packages/kbn-es-archiver/*"], + "@kbn/es-errors": ["packages/kbn-es-errors"], + "@kbn/es-errors/*": ["packages/kbn-es-errors/*"], + "@kbn/es-query": ["packages/kbn-es-query"], + "@kbn/es-query/*": ["packages/kbn-es-query/*"], + "@kbn/es-types": ["packages/kbn-es-types"], + "@kbn/es-types/*": ["packages/kbn-es-types/*"], + "@kbn/eslint-config": ["packages/kbn-eslint-config"], + "@kbn/eslint-config/*": ["packages/kbn-eslint-config/*"], + "@kbn/eslint-plugin-disable": ["packages/kbn-eslint-plugin-disable"], + "@kbn/eslint-plugin-disable/*": ["packages/kbn-eslint-plugin-disable/*"], + "@kbn/eslint-plugin-eslint": ["packages/kbn-eslint-plugin-eslint"], + "@kbn/eslint-plugin-eslint/*": ["packages/kbn-eslint-plugin-eslint/*"], + "@kbn/eslint-plugin-imports": ["packages/kbn-eslint-plugin-imports"], + "@kbn/eslint-plugin-imports/*": ["packages/kbn-eslint-plugin-imports/*"], + "@kbn/expect": ["packages/kbn-expect"], + "@kbn/expect/*": ["packages/kbn-expect/*"], + "@kbn/failed-test-reporter-cli": ["packages/kbn-failed-test-reporter-cli"], + "@kbn/failed-test-reporter-cli/*": ["packages/kbn-failed-test-reporter-cli/*"], + "@kbn/field-types": ["packages/kbn-field-types"], + "@kbn/field-types/*": ["packages/kbn-field-types/*"], + "@kbn/find-used-node-modules": ["packages/kbn-find-used-node-modules"], + "@kbn/find-used-node-modules/*": ["packages/kbn-find-used-node-modules/*"], + "@kbn/flot-charts": ["packages/kbn-flot-charts"], + "@kbn/flot-charts/*": ["packages/kbn-flot-charts/*"], + "@kbn/ftr-common-functional-services": ["packages/kbn-ftr-common-functional-services"], + "@kbn/ftr-common-functional-services/*": ["packages/kbn-ftr-common-functional-services/*"], + "@kbn/ftr-screenshot-filename": ["packages/kbn-ftr-screenshot-filename"], + "@kbn/ftr-screenshot-filename/*": ["packages/kbn-ftr-screenshot-filename/*"], + "@kbn/generate": ["packages/kbn-generate"], + "@kbn/generate/*": ["packages/kbn-generate/*"], + "@kbn/get-repo-files": ["packages/kbn-get-repo-files"], + "@kbn/get-repo-files/*": ["packages/kbn-get-repo-files/*"], + "@kbn/guided-onboarding": ["packages/kbn-guided-onboarding"], + "@kbn/guided-onboarding/*": ["packages/kbn-guided-onboarding/*"], + "@kbn/handlebars": ["packages/kbn-handlebars"], + "@kbn/handlebars/*": ["packages/kbn-handlebars/*"], + "@kbn/hapi-mocks": ["packages/kbn-hapi-mocks"], + "@kbn/hapi-mocks/*": ["packages/kbn-hapi-mocks/*"], + "@kbn/i18n": ["packages/kbn-i18n"], + "@kbn/i18n/*": ["packages/kbn-i18n/*"], + "@kbn/i18n-react": ["packages/kbn-i18n-react"], + "@kbn/i18n-react/*": ["packages/kbn-i18n-react/*"], + "@kbn/import-resolver": ["packages/kbn-import-resolver"], + "@kbn/import-resolver/*": ["packages/kbn-import-resolver/*"], + "@kbn/interpreter": ["packages/kbn-interpreter"], + "@kbn/interpreter/*": ["packages/kbn-interpreter/*"], + "@kbn/io-ts-utils": ["packages/kbn-io-ts-utils"], + "@kbn/io-ts-utils/*": ["packages/kbn-io-ts-utils/*"], + "@kbn/jest-serializers": ["packages/kbn-jest-serializers"], + "@kbn/jest-serializers/*": ["packages/kbn-jest-serializers/*"], + "@kbn/journeys": ["packages/kbn-journeys"], + "@kbn/journeys/*": ["packages/kbn-journeys/*"], + "@kbn/kibana-manifest-schema": ["packages/kbn-kibana-manifest-schema"], + "@kbn/kibana-manifest-schema/*": ["packages/kbn-kibana-manifest-schema/*"], + "@kbn/language-documentation-popover": ["packages/kbn-language-documentation-popover"], + "@kbn/language-documentation-popover/*": ["packages/kbn-language-documentation-popover/*"], + "@kbn/logging": ["packages/kbn-logging"], + "@kbn/logging/*": ["packages/kbn-logging/*"], + "@kbn/logging-mocks": ["packages/kbn-logging-mocks"], + "@kbn/logging-mocks/*": ["packages/kbn-logging-mocks/*"], + "@kbn/managed-vscode-config": ["packages/kbn-managed-vscode-config"], + "@kbn/managed-vscode-config/*": ["packages/kbn-managed-vscode-config/*"], + "@kbn/managed-vscode-config-cli": ["packages/kbn-managed-vscode-config-cli"], + "@kbn/managed-vscode-config-cli/*": ["packages/kbn-managed-vscode-config-cli/*"], + "@kbn/mapbox-gl": ["packages/kbn-mapbox-gl"], + "@kbn/mapbox-gl/*": ["packages/kbn-mapbox-gl/*"], + "@kbn/monaco": ["packages/kbn-monaco"], + "@kbn/monaco/*": ["packages/kbn-monaco/*"], + "@kbn/optimizer": ["packages/kbn-optimizer"], + "@kbn/optimizer/*": ["packages/kbn-optimizer/*"], + "@kbn/optimizer-webpack-helpers": ["packages/kbn-optimizer-webpack-helpers"], + "@kbn/optimizer-webpack-helpers/*": ["packages/kbn-optimizer-webpack-helpers/*"], + "@kbn/osquery-io-ts-types": ["packages/kbn-osquery-io-ts-types"], + "@kbn/osquery-io-ts-types/*": ["packages/kbn-osquery-io-ts-types/*"], + "@kbn/performance-testing-dataset-extractor": ["packages/kbn-performance-testing-dataset-extractor"], + "@kbn/performance-testing-dataset-extractor/*": ["packages/kbn-performance-testing-dataset-extractor/*"], + "@kbn/plugin-discovery": ["packages/kbn-plugin-discovery"], + "@kbn/plugin-discovery/*": ["packages/kbn-plugin-discovery/*"], + "@kbn/plugin-generator": ["packages/kbn-plugin-generator"], + "@kbn/plugin-generator/*": ["packages/kbn-plugin-generator/*"], + "@kbn/plugin-helpers": ["packages/kbn-plugin-helpers"], + "@kbn/plugin-helpers/*": ["packages/kbn-plugin-helpers/*"], + "@kbn/react-field": ["packages/kbn-react-field"], + "@kbn/react-field/*": ["packages/kbn-react-field/*"], + "@kbn/repo-source-classifier": ["packages/kbn-repo-source-classifier"], + "@kbn/repo-source-classifier/*": ["packages/kbn-repo-source-classifier/*"], + "@kbn/repo-source-classifier-cli": ["packages/kbn-repo-source-classifier-cli"], + "@kbn/repo-source-classifier-cli/*": ["packages/kbn-repo-source-classifier-cli/*"], + "@kbn/rule-data-utils": ["packages/kbn-rule-data-utils"], + "@kbn/rule-data-utils/*": ["packages/kbn-rule-data-utils/*"], + "@kbn/safer-lodash-set": ["packages/kbn-safer-lodash-set"], + "@kbn/safer-lodash-set/*": ["packages/kbn-safer-lodash-set/*"], + "@kbn/securitysolution-autocomplete": ["packages/kbn-securitysolution-autocomplete"], + "@kbn/securitysolution-autocomplete/*": ["packages/kbn-securitysolution-autocomplete/*"], + "@kbn/securitysolution-es-utils": ["packages/kbn-securitysolution-es-utils"], + "@kbn/securitysolution-es-utils/*": ["packages/kbn-securitysolution-es-utils/*"], + "@kbn/securitysolution-exception-list-components": ["packages/kbn-securitysolution-exception-list-components"], + "@kbn/securitysolution-exception-list-components/*": ["packages/kbn-securitysolution-exception-list-components/*"], + "@kbn/securitysolution-hook-utils": ["packages/kbn-securitysolution-hook-utils"], + "@kbn/securitysolution-hook-utils/*": ["packages/kbn-securitysolution-hook-utils/*"], + "@kbn/securitysolution-io-ts-alerting-types": ["packages/kbn-securitysolution-io-ts-alerting-types"], + "@kbn/securitysolution-io-ts-alerting-types/*": ["packages/kbn-securitysolution-io-ts-alerting-types/*"], + "@kbn/securitysolution-io-ts-list-types": ["packages/kbn-securitysolution-io-ts-list-types"], + "@kbn/securitysolution-io-ts-list-types/*": ["packages/kbn-securitysolution-io-ts-list-types/*"], + "@kbn/securitysolution-io-ts-types": ["packages/kbn-securitysolution-io-ts-types"], + "@kbn/securitysolution-io-ts-types/*": ["packages/kbn-securitysolution-io-ts-types/*"], + "@kbn/securitysolution-io-ts-utils": ["packages/kbn-securitysolution-io-ts-utils"], + "@kbn/securitysolution-io-ts-utils/*": ["packages/kbn-securitysolution-io-ts-utils/*"], + "@kbn/securitysolution-list-api": ["packages/kbn-securitysolution-list-api"], + "@kbn/securitysolution-list-api/*": ["packages/kbn-securitysolution-list-api/*"], + "@kbn/securitysolution-list-constants": ["packages/kbn-securitysolution-list-constants"], + "@kbn/securitysolution-list-constants/*": ["packages/kbn-securitysolution-list-constants/*"], + "@kbn/securitysolution-list-hooks": ["packages/kbn-securitysolution-list-hooks"], + "@kbn/securitysolution-list-hooks/*": ["packages/kbn-securitysolution-list-hooks/*"], + "@kbn/securitysolution-list-utils": ["packages/kbn-securitysolution-list-utils"], + "@kbn/securitysolution-list-utils/*": ["packages/kbn-securitysolution-list-utils/*"], + "@kbn/securitysolution-rules": ["packages/kbn-securitysolution-rules"], + "@kbn/securitysolution-rules/*": ["packages/kbn-securitysolution-rules/*"], + "@kbn/securitysolution-t-grid": ["packages/kbn-securitysolution-t-grid"], + "@kbn/securitysolution-t-grid/*": ["packages/kbn-securitysolution-t-grid/*"], + "@kbn/securitysolution-utils": ["packages/kbn-securitysolution-utils"], + "@kbn/securitysolution-utils/*": ["packages/kbn-securitysolution-utils/*"], + "@kbn/server-http-tools": ["packages/kbn-server-http-tools"], + "@kbn/server-http-tools/*": ["packages/kbn-server-http-tools/*"], + "@kbn/server-route-repository": ["packages/kbn-server-route-repository"], + "@kbn/server-route-repository/*": ["packages/kbn-server-route-repository/*"], + "@kbn/shared-svg": ["packages/kbn-shared-svg"], + "@kbn/shared-svg/*": ["packages/kbn-shared-svg/*"], + "@kbn/shared-ux-utility": ["packages/kbn-shared-ux-utility"], + "@kbn/shared-ux-utility/*": ["packages/kbn-shared-ux-utility/*"], + "@kbn/some-dev-log": ["packages/kbn-some-dev-log"], + "@kbn/some-dev-log/*": ["packages/kbn-some-dev-log/*"], + "@kbn/sort-package-json": ["packages/kbn-sort-package-json"], + "@kbn/sort-package-json/*": ["packages/kbn-sort-package-json/*"], + "@kbn/spec-to-console": ["packages/kbn-spec-to-console"], + "@kbn/spec-to-console/*": ["packages/kbn-spec-to-console/*"], + "@kbn/std": ["packages/kbn-std"], + "@kbn/std/*": ["packages/kbn-std/*"], + "@kbn/stdio-dev-helpers": ["packages/kbn-stdio-dev-helpers"], + "@kbn/stdio-dev-helpers/*": ["packages/kbn-stdio-dev-helpers/*"], + "@kbn/storybook": ["packages/kbn-storybook"], + "@kbn/storybook/*": ["packages/kbn-storybook/*"], + "@kbn/synthetic-package-map": ["packages/kbn-synthetic-package-map"], + "@kbn/synthetic-package-map/*": ["packages/kbn-synthetic-package-map/*"], + "@kbn/telemetry-tools": ["packages/kbn-telemetry-tools"], + "@kbn/telemetry-tools/*": ["packages/kbn-telemetry-tools/*"], + "@kbn/test": ["packages/kbn-test"], + "@kbn/test/*": ["packages/kbn-test/*"], + "@kbn/test-jest-helpers": ["packages/kbn-test-jest-helpers"], + "@kbn/test-jest-helpers/*": ["packages/kbn-test-jest-helpers/*"], + "@kbn/test-subj-selector": ["packages/kbn-test-subj-selector"], + "@kbn/test-subj-selector/*": ["packages/kbn-test-subj-selector/*"], + "@kbn/timelion-grammar": ["packages/kbn-timelion-grammar"], + "@kbn/timelion-grammar/*": ["packages/kbn-timelion-grammar/*"], + "@kbn/tinymath": ["packages/kbn-tinymath"], + "@kbn/tinymath/*": ["packages/kbn-tinymath/*"], + "@kbn/tooling-log": ["packages/kbn-tooling-log"], + "@kbn/tooling-log/*": ["packages/kbn-tooling-log/*"], + "@kbn/type-summarizer": ["packages/kbn-type-summarizer"], + "@kbn/type-summarizer/*": ["packages/kbn-type-summarizer/*"], + "@kbn/type-summarizer-cli": ["packages/kbn-type-summarizer-cli"], + "@kbn/type-summarizer-cli/*": ["packages/kbn-type-summarizer-cli/*"], + "@kbn/type-summarizer-core": ["packages/kbn-type-summarizer-core"], + "@kbn/type-summarizer-core/*": ["packages/kbn-type-summarizer-core/*"], + "@kbn/typed-react-router-config": ["packages/kbn-typed-react-router-config"], + "@kbn/typed-react-router-config/*": ["packages/kbn-typed-react-router-config/*"], + "@kbn/ui-framework": ["packages/kbn-ui-framework"], + "@kbn/ui-framework/*": ["packages/kbn-ui-framework/*"], + "@kbn/ui-shared-deps-npm": ["packages/kbn-ui-shared-deps-npm"], + "@kbn/ui-shared-deps-npm/*": ["packages/kbn-ui-shared-deps-npm/*"], + "@kbn/ui-shared-deps-src": ["packages/kbn-ui-shared-deps-src"], + "@kbn/ui-shared-deps-src/*": ["packages/kbn-ui-shared-deps-src/*"], + "@kbn/ui-theme": ["packages/kbn-ui-theme"], + "@kbn/ui-theme/*": ["packages/kbn-ui-theme/*"], + "@kbn/user-profile-components": ["packages/kbn-user-profile-components"], + "@kbn/user-profile-components/*": ["packages/kbn-user-profile-components/*"], + "@kbn/utility-types": ["packages/kbn-utility-types"], + "@kbn/utility-types/*": ["packages/kbn-utility-types/*"], + "@kbn/utility-types-jest": ["packages/kbn-utility-types-jest"], + "@kbn/utility-types-jest/*": ["packages/kbn-utility-types-jest/*"], + "@kbn/utils": ["packages/kbn-utils"], + "@kbn/utils/*": ["packages/kbn-utils/*"], + "@kbn/yarn-lock-validator": ["packages/kbn-yarn-lock-validator"], + "@kbn/yarn-lock-validator/*": ["packages/kbn-yarn-lock-validator/*"], + "@kbn/shared-ux-avatar-solution": ["packages/shared-ux/avatar/solution"], + "@kbn/shared-ux-avatar-solution/*": ["packages/shared-ux/avatar/solution/*"], + "@kbn/shared-ux-avatar-user-profile-components": ["packages/shared-ux/avatar/user_profile/impl"], + "@kbn/shared-ux-avatar-user-profile-components/*": ["packages/shared-ux/avatar/user_profile/impl/*"], + "@kbn/shared-ux-button-toolbar": ["packages/shared-ux/button_toolbar"], + "@kbn/shared-ux-button-toolbar/*": ["packages/shared-ux/button_toolbar/*"], + "@kbn/shared-ux-button-exit-full-screen": ["packages/shared-ux/button/exit_full_screen/impl"], + "@kbn/shared-ux-button-exit-full-screen/*": ["packages/shared-ux/button/exit_full_screen/impl/*"], + "@kbn/shared-ux-button-exit-full-screen-mocks": ["packages/shared-ux/button/exit_full_screen/mocks"], + "@kbn/shared-ux-button-exit-full-screen-mocks/*": ["packages/shared-ux/button/exit_full_screen/mocks/*"], + "@kbn/shared-ux-button-exit-full-screen-types": ["packages/shared-ux/button/exit_full_screen/types"], + "@kbn/shared-ux-button-exit-full-screen-types/*": ["packages/shared-ux/button/exit_full_screen/types/*"], + "@kbn/shared-ux-card-no-data": ["packages/shared-ux/card/no_data/impl"], + "@kbn/shared-ux-card-no-data/*": ["packages/shared-ux/card/no_data/impl/*"], + "@kbn/shared-ux-card-no-data-mocks": ["packages/shared-ux/card/no_data/mocks"], + "@kbn/shared-ux-card-no-data-mocks/*": ["packages/shared-ux/card/no_data/mocks/*"], + "@kbn/shared-ux-card-no-data-types": ["packages/shared-ux/card/no_data/types"], + "@kbn/shared-ux-card-no-data-types/*": ["packages/shared-ux/card/no_data/types/*"], + "@kbn/shared-ux-link-redirect-app": ["packages/shared-ux/link/redirect_app/impl"], + "@kbn/shared-ux-link-redirect-app/*": ["packages/shared-ux/link/redirect_app/impl/*"], + "@kbn/shared-ux-link-redirect-app-mocks": ["packages/shared-ux/link/redirect_app/mocks"], + "@kbn/shared-ux-link-redirect-app-mocks/*": ["packages/shared-ux/link/redirect_app/mocks/*"], + "@kbn/shared-ux-link-redirect-app-types": ["packages/shared-ux/link/redirect_app/types"], + "@kbn/shared-ux-link-redirect-app-types/*": ["packages/shared-ux/link/redirect_app/types/*"], + "@kbn/shared-ux-markdown": ["packages/shared-ux/markdown/impl"], + "@kbn/shared-ux-markdown/*": ["packages/shared-ux/markdown/impl/*"], + "@kbn/shared-ux-markdown-mocks": ["packages/shared-ux/markdown/mocks"], + "@kbn/shared-ux-markdown-mocks/*": ["packages/shared-ux/markdown/mocks/*"], + "@kbn/shared-ux-markdown-types": ["packages/shared-ux/markdown/types"], + "@kbn/shared-ux-markdown-types/*": ["packages/shared-ux/markdown/types/*"], + "@kbn/shared-ux-page-analytics-no-data": ["packages/shared-ux/page/analytics_no_data/impl"], + "@kbn/shared-ux-page-analytics-no-data/*": ["packages/shared-ux/page/analytics_no_data/impl/*"], + "@kbn/shared-ux-page-analytics-no-data-mocks": ["packages/shared-ux/page/analytics_no_data/mocks"], + "@kbn/shared-ux-page-analytics-no-data-mocks/*": ["packages/shared-ux/page/analytics_no_data/mocks/*"], + "@kbn/shared-ux-page-analytics-no-data-types": ["packages/shared-ux/page/analytics_no_data/types"], + "@kbn/shared-ux-page-analytics-no-data-types/*": ["packages/shared-ux/page/analytics_no_data/types/*"], + "@kbn/shared-ux-page-kibana-no-data": ["packages/shared-ux/page/kibana_no_data/impl"], + "@kbn/shared-ux-page-kibana-no-data/*": ["packages/shared-ux/page/kibana_no_data/impl/*"], + "@kbn/shared-ux-page-kibana-no-data-mocks": ["packages/shared-ux/page/kibana_no_data/mocks"], + "@kbn/shared-ux-page-kibana-no-data-mocks/*": ["packages/shared-ux/page/kibana_no_data/mocks/*"], + "@kbn/shared-ux-page-kibana-no-data-types": ["packages/shared-ux/page/kibana_no_data/types"], + "@kbn/shared-ux-page-kibana-no-data-types/*": ["packages/shared-ux/page/kibana_no_data/types/*"], + "@kbn/shared-ux-page-kibana-template": ["packages/shared-ux/page/kibana_template/impl"], + "@kbn/shared-ux-page-kibana-template/*": ["packages/shared-ux/page/kibana_template/impl/*"], + "@kbn/shared-ux-page-kibana-template-mocks": ["packages/shared-ux/page/kibana_template/mocks"], + "@kbn/shared-ux-page-kibana-template-mocks/*": ["packages/shared-ux/page/kibana_template/mocks/*"], + "@kbn/shared-ux-page-kibana-template-types": ["packages/shared-ux/page/kibana_template/types"], + "@kbn/shared-ux-page-kibana-template-types/*": ["packages/shared-ux/page/kibana_template/types/*"], + "@kbn/shared-ux-page-no-data-config": ["packages/shared-ux/page/no_data_config/impl"], + "@kbn/shared-ux-page-no-data-config/*": ["packages/shared-ux/page/no_data_config/impl/*"], + "@kbn/shared-ux-page-no-data-config-mocks": ["packages/shared-ux/page/no_data_config/mocks"], + "@kbn/shared-ux-page-no-data-config-mocks/*": ["packages/shared-ux/page/no_data_config/mocks/*"], + "@kbn/shared-ux-page-no-data-config-types": ["packages/shared-ux/page/no_data_config/types"], + "@kbn/shared-ux-page-no-data-config-types/*": ["packages/shared-ux/page/no_data_config/types/*"], + "@kbn/shared-ux-page-no-data": ["packages/shared-ux/page/no_data/impl"], + "@kbn/shared-ux-page-no-data/*": ["packages/shared-ux/page/no_data/impl/*"], + "@kbn/shared-ux-page-no-data-mocks": ["packages/shared-ux/page/no_data/mocks"], + "@kbn/shared-ux-page-no-data-mocks/*": ["packages/shared-ux/page/no_data/mocks/*"], + "@kbn/shared-ux-page-no-data-types": ["packages/shared-ux/page/no_data/types"], + "@kbn/shared-ux-page-no-data-types/*": ["packages/shared-ux/page/no_data/types/*"], + "@kbn/shared-ux-page-solution-nav": ["packages/shared-ux/page/solution_nav"], + "@kbn/shared-ux-page-solution-nav/*": ["packages/shared-ux/page/solution_nav/*"], + "@kbn/shared-ux-prompt-no-data-views": ["packages/shared-ux/prompt/no_data_views/impl"], + "@kbn/shared-ux-prompt-no-data-views/*": ["packages/shared-ux/prompt/no_data_views/impl/*"], + "@kbn/shared-ux-prompt-no-data-views-mocks": ["packages/shared-ux/prompt/no_data_views/mocks"], + "@kbn/shared-ux-prompt-no-data-views-mocks/*": ["packages/shared-ux/prompt/no_data_views/mocks/*"], + "@kbn/shared-ux-prompt-no-data-views-types": ["packages/shared-ux/prompt/no_data_views/types"], + "@kbn/shared-ux-prompt-no-data-views-types/*": ["packages/shared-ux/prompt/no_data_views/types/*"], + "@kbn/shared-ux-router": ["packages/shared-ux/router/impl"], + "@kbn/shared-ux-router/*": ["packages/shared-ux/router/impl/*"], + "@kbn/shared-ux-router-mocks": ["packages/shared-ux/router/mocks"], + "@kbn/shared-ux-router-mocks/*": ["packages/shared-ux/router/mocks/*"], + "@kbn/shared-ux-router-types": ["packages/shared-ux/router/types"], + "@kbn/shared-ux-router-types/*": ["packages/shared-ux/router/types/*"], + "@kbn/shared-ux-storybook-config": ["packages/shared-ux/storybook/config"], + "@kbn/shared-ux-storybook-config/*": ["packages/shared-ux/storybook/config/*"], + "@kbn/shared-ux-storybook-mock": ["packages/shared-ux/storybook/mock"], + "@kbn/shared-ux-storybook-mock/*": ["packages/shared-ux/storybook/mock/*"], + "@kbn/ml-agg-utils": ["x-pack/packages/ml/agg_utils"], + "@kbn/ml-agg-utils/*": ["x-pack/packages/ml/agg_utils/*"], + "@kbn/aiops-components": ["x-pack/packages/ml/aiops_components"], + "@kbn/aiops-components/*": ["x-pack/packages/ml/aiops_components/*"], + "@kbn/aiops-utils": ["x-pack/packages/ml/aiops_utils"], + "@kbn/aiops-utils/*": ["x-pack/packages/ml/aiops_utils/*"], + "@kbn/ml-is-populated-object": ["x-pack/packages/ml/is_populated_object"], + "@kbn/ml-is-populated-object/*": ["x-pack/packages/ml/is_populated_object/*"], + "@kbn/ml-string-hash": ["x-pack/packages/ml/string_hash"], + "@kbn/ml-string-hash/*": ["x-pack/packages/ml/string_hash/*"], "@kbn/bfetch-explorer-plugin": ["examples/bfetch_explorer"], "@kbn/bfetch-explorer-plugin/*": ["examples/bfetch_explorer/*"], "@kbn/dashboard-embeddable-examples-plugin": ["examples/dashboard_embeddable_examples"], @@ -277,6 +974,10 @@ "@kbn/ui-settings-plugin/*": ["test/plugin_functional/plugins/ui_settings_plugin/*"], "@kbn/usage-collection-test-plugin": ["test/plugin_functional/plugins/usage_collection"], "@kbn/usage-collection-test-plugin/*": ["test/plugin_functional/plugins/usage_collection/*"], + "@kbn/status-plugin-a-plugin": ["test/server_integration/__fixtures__/plugins/status_plugin_a"], + "@kbn/status-plugin-a-plugin/*": ["test/server_integration/__fixtures__/plugins/status_plugin_a/*"], + "@kbn/status-plugin-b-plugin": ["test/server_integration/__fixtures__/plugins/status_plugin_b"], + "@kbn/status-plugin-b-plugin/*": ["test/server_integration/__fixtures__/plugins/status_plugin_b/*"], "@kbn/alerting-example-plugin": ["x-pack/examples/alerting_example"], "@kbn/alerting-example-plugin/*": ["x-pack/examples/alerting_example/*"], "@kbn/embedded-lens-example-plugin": ["x-pack/examples/embedded_lens_example"], @@ -492,10 +1193,10 @@ "strict": true, // for now, don't use unknown in catch "useUnknownInCatchVariables": false, - // All TS projects should be composite and only include the files they select, and ref the files outside of the project - "composite": true, - // save information about the project graph on disk - "incremental": true, + // disabled for better IDE support, enabled when running the type_check script + "composite": false, + // disabled for better IDE support, enabled when running the type_check script + "incremental": false, // Do not check d.ts files by default "skipLibCheck": true, // enables "core language features" diff --git a/tsconfig.json b/tsconfig.json index ba72ca7a3a856..a60c0b3a11af9 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,15 +1,19 @@ { "extends": "./tsconfig.base.json", "compilerOptions": { + "allowJs": true, "outDir": "target/root_types" }, "include": [ "kibana.d.ts", "typings/**/*", + "package.json", "src/cli/**/*", "src/cli_setup/**/*", "src/cli_plugin/**/*", + "src/cli_keystore/**/*", + "src/setup_node_env/**/*", "src/dev/**/*", "src/fixtures/**/*", diff --git a/tsconfig.types.json b/tsconfig.types.json deleted file mode 100644 index 470745f52d5c3..0000000000000 --- a/tsconfig.types.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "composite": false, - "outDir": "./target/types", - "stripInternal": false, - "declaration": true, - "declarationMap": true, - "emitDeclarationOnly": true, - "declarationMap": true, - "rootDir": "./src" - }, - "include": [ - "src/core/server/index.ts", - "src/core/public/index.ts", - "typings" - ] -} diff --git a/x-pack/examples/files_example/public/imports.ts b/x-pack/examples/files_example/public/imports.ts index a60d9cb4a6a36..82835ba213615 100644 --- a/x-pack/examples/files_example/public/imports.ts +++ b/x-pack/examples/files_example/public/imports.ts @@ -6,12 +6,12 @@ */ export { - FilesClient, - FilesSetup, - FilesStart, + type FilesClient, + type FilesSetup, + type FilesStart, UploadFile, FilesContext, - ScopedFilesClient, + type ScopedFilesClient, FilePicker, Image, } from '@kbn/files-plugin/public'; diff --git a/x-pack/packages/ml/agg_utils/index.ts b/x-pack/packages/ml/agg_utils/index.ts index cc7a426f94050..444a59cbf0dc4 100644 --- a/x-pack/packages/ml/agg_utils/index.ts +++ b/x-pack/packages/ml/agg_utils/index.ts @@ -11,7 +11,11 @@ export { fetchHistogramsForFields } from './src/fetch_histograms_for_fields'; export { getSamplerAggregationsResponsePath } from './src/get_sampler_aggregations_response_path'; export { numberValidator } from './src/validate_number'; -export type { FieldsForHistograms } from './src/fetch_histograms_for_fields'; +export type { + FieldsForHistograms, + NumericChartData, + NumericHistogramField, +} from './src/fetch_histograms_for_fields'; export type { AggCardinality, ChangePoint, @@ -22,5 +26,6 @@ export type { HistogramField, NumericColumnStats, NumericColumnStatsMap, + FieldValuePair, } from './src/types'; export type { NumberValidationResult } from './src/validate_number'; diff --git a/x-pack/plugins/alerting/server/lib/get_execution_log_aggregation.ts b/x-pack/plugins/alerting/server/lib/get_execution_log_aggregation.ts index c2b261cd531ad..c5a2c18ad679b 100644 --- a/x-pack/plugins/alerting/server/lib/get_execution_log_aggregation.ts +++ b/x-pack/plugins/alerting/server/lib/get_execution_log_aggregation.ts @@ -5,7 +5,7 @@ * 2.0. */ -import { KueryNode } from '@kbn/core-saved-objects-api-server'; +import { KueryNode } from '@kbn/es-query'; import type * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; import Boom from '@hapi/boom'; import { flatMap, get, isEmpty } from 'lodash'; @@ -443,7 +443,7 @@ export function getExecutionLogAggregation({ function buildDslFilterQuery(filter: IExecutionLogAggOptions['filter']) { try { const filterKueryNode = typeof filter === 'string' ? fromKueryExpression(filter) : filter; - return filter ? toElasticsearchQuery(filterKueryNode) : undefined; + return filterKueryNode ? toElasticsearchQuery(filterKueryNode) : undefined; } catch (err) { throw Boom.badRequest(`Invalid kuery syntax for filter ${filter}`); } diff --git a/x-pack/plugins/apm/ftr_e2e/tsconfig.json b/x-pack/plugins/apm/ftr_e2e/tsconfig.json index 730971a284ed5..94d0da061f4b2 100644 --- a/x-pack/plugins/apm/ftr_e2e/tsconfig.json +++ b/x-pack/plugins/apm/ftr_e2e/tsconfig.json @@ -8,6 +8,8 @@ "target/**/*" ], "compilerOptions": { + "target": "es2015", + "allowJs": true, "outDir": "target/types", "types": [ "cypress", diff --git a/x-pack/plugins/apm/server/routes/environments/route.ts b/x-pack/plugins/apm/server/routes/environments/route.ts index 6b0225caa9b36..cfe3db58fcf60 100644 --- a/x-pack/plugins/apm/server/routes/environments/route.ts +++ b/x-pack/plugins/apm/server/routes/environments/route.ts @@ -31,10 +31,7 @@ const environmentsRoute = createApmServerRoute({ environments: Array< | 'ENVIRONMENT_NOT_DEFINED' | 'ENVIRONMENT_ALL' - | t.Branded< - string, - import('./../../../../../../node_modules/@types/kbn__io-ts-utils/index').NonEmptyStringBrand - > + | t.Branded >; }> => { const [setup, apmEventClient] = await Promise.all([ diff --git a/x-pack/plugins/event_log/server/event_log_client.ts b/x-pack/plugins/event_log/server/event_log_client.ts index e23b5f137eef1..85a798d0fb8bb 100644 --- a/x-pack/plugins/event_log/server/event_log_client.ts +++ b/x-pack/plugins/event_log/server/event_log_client.ts @@ -12,7 +12,7 @@ import { IClusterClient, KibanaRequest } from '@kbn/core/server'; import * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; import { SpacesServiceStart } from '@kbn/spaces-plugin/server'; -import { KueryNode } from '@kbn/core-saved-objects-api-server'; +import { KueryNode } from '@kbn/es-query'; import { EsContext } from './es'; import { IEventLogClient } from './types'; import { QueryEventsBySavedObjectResult } from './es/cluster_client_adapter'; diff --git a/x-pack/plugins/fleet/cypress/tsconfig.json b/x-pack/plugins/fleet/cypress/tsconfig.json index aba041b4e17b8..c775711e6047b 100644 --- a/x-pack/plugins/fleet/cypress/tsconfig.json +++ b/x-pack/plugins/fleet/cypress/tsconfig.json @@ -8,6 +8,7 @@ "target/**/*" ], "compilerOptions": { + "allowJs": true, "outDir": "target/types", "types": [ "cypress", diff --git a/x-pack/plugins/fleet/tsconfig.json b/x-pack/plugins/fleet/tsconfig.json index c9c730b6a170c..baf6bfd5049d7 100644 --- a/x-pack/plugins/fleet/tsconfig.json +++ b/x-pack/plugins/fleet/tsconfig.json @@ -1,6 +1,7 @@ { "extends": "../../../tsconfig.base.json", "compilerOptions": { + "allowJs": true, "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, @@ -21,13 +22,14 @@ ], "references": [ { "path": "../../../src/core/tsconfig.json" }, + { "path": "../../../tsconfig.json" }, // add references to other TypeScript projects the plugin depends on // requiredPlugins from ./kibana.json { "path": "../licensing/tsconfig.json" }, { "path": "../../../src/plugins/data/tsconfig.json" }, { "path": "../encrypted_saved_objects/tsconfig.json" }, - {"path": "../../../src/plugins/guided_onboarding/tsconfig.json"}, + { "path": "../../../src/plugins/guided_onboarding/tsconfig.json" }, // optionalPlugins from ./kibana.json { "path": "../security/tsconfig.json" }, diff --git a/x-pack/plugins/ml/server/routes/apidoc_scripts/schema_extractor.ts b/x-pack/plugins/ml/server/routes/apidoc_scripts/schema_extractor.ts index 2422feaf895a4..41c31f82f76b0 100644 --- a/x-pack/plugins/ml/server/routes/apidoc_scripts/schema_extractor.ts +++ b/x-pack/plugins/ml/server/routes/apidoc_scripts/schema_extractor.ts @@ -5,6 +5,9 @@ * 2.0. */ +import Path from 'path'; +import { REPO_ROOT } from '@kbn/utils'; + // eslint-disable-next-line import/no-extraneous-dependencies import * as ts from 'typescript'; @@ -17,13 +20,19 @@ export interface DocEntry { } /** Generate documentation for all schema definitions in a set of .ts files */ -export function extractDocumentation( - fileNames: string[], - options: ts.CompilerOptions = { +export function extractDocumentation(fileNames: string[]): Map { + const json = ts.readConfigFile(Path.resolve(REPO_ROOT, 'tsconfig.base.json'), ts.sys.readFile); + + if (json.error) { + throw new Error(`Unable to parse tsconfig.base.json file: ${json.error.messageText}`); + } + + const options = { target: ts.ScriptTarget.ES2015, module: ts.ModuleKind.CommonJS, - } -): Map { + paths: json.config.compilerOptions.paths, + }; + // Build a program using the set of root file names in fileNames const program = ts.createProgram(fileNames, options); diff --git a/x-pack/plugins/osquery/cypress/tsconfig.json b/x-pack/plugins/osquery/cypress/tsconfig.json index 548ac5dc3eb13..1b8f31fd9b56a 100644 --- a/x-pack/plugins/osquery/cypress/tsconfig.json +++ b/x-pack/plugins/osquery/cypress/tsconfig.json @@ -8,6 +8,7 @@ "target/**/*" ], "compilerOptions": { + "allowJs": true, "outDir": "target/types", "types": [ "cypress", diff --git a/x-pack/plugins/security_solution/public/risk_score/containers/onboarding/api/indices.test.ts b/x-pack/plugins/security_solution/public/risk_score/containers/onboarding/api/indices.test.ts index b738e2e029e5c..a5846027a7fe3 100644 --- a/x-pack/plugins/security_solution/public/risk_score/containers/onboarding/api/indices.test.ts +++ b/x-pack/plugins/security_solution/public/risk_score/containers/onboarding/api/indices.test.ts @@ -6,7 +6,7 @@ */ import type { HttpSetup } from '@kbn/core-http-browser'; -import type { NotificationsStart } from '@kbn/securitysolution-io-ts-list-types'; +import type { NotificationsStart } from '@kbn/core-notifications-browser'; import { createIndices, deleteIndices } from './indices'; const mockRequest = jest.fn(); @@ -22,7 +22,7 @@ const mockNotification = { addDanger: mockAddDanger, addError: mockAddError, }, -} as NotificationsStart; +} as unknown as NotificationsStart; const mockRenderDocLink = jest.fn(); diff --git a/x-pack/plugins/security_solution/public/risk_score/containers/onboarding/api/ingest_pipelines.test.ts b/x-pack/plugins/security_solution/public/risk_score/containers/onboarding/api/ingest_pipelines.test.ts index a1c5318c4b830..0e24ecf96edc8 100644 --- a/x-pack/plugins/security_solution/public/risk_score/containers/onboarding/api/ingest_pipelines.test.ts +++ b/x-pack/plugins/security_solution/public/risk_score/containers/onboarding/api/ingest_pipelines.test.ts @@ -6,7 +6,7 @@ */ import type { HttpSetup } from '@kbn/core-http-browser'; -import type { NotificationsStart } from '@kbn/securitysolution-io-ts-list-types'; +import type { NotificationsStart } from '@kbn/core-notifications-browser'; import { createIngestPipeline, deleteIngestPipelines } from './ingest_pipelines'; const mockRequest = jest.fn(); @@ -23,7 +23,7 @@ const mockNotification = { addDanger: mockAddDanger, addError: mockAddError, }, -} as NotificationsStart; +} as unknown as NotificationsStart; const mockRenderDocLink = jest.fn(); diff --git a/x-pack/plugins/security_solution/public/risk_score/containers/onboarding/api/stored_scripts.test.ts b/x-pack/plugins/security_solution/public/risk_score/containers/onboarding/api/stored_scripts.test.ts index 95c8b3b3e5346..057a2927c6a96 100644 --- a/x-pack/plugins/security_solution/public/risk_score/containers/onboarding/api/stored_scripts.test.ts +++ b/x-pack/plugins/security_solution/public/risk_score/containers/onboarding/api/stored_scripts.test.ts @@ -6,7 +6,7 @@ */ import type { HttpSetup } from '@kbn/core-http-browser'; -import type { NotificationsStart } from '@kbn/securitysolution-io-ts-list-types'; +import type { NotificationsStart } from '@kbn/core-notifications-browser'; import { createStoredScript, deleteStoredScript } from './stored_scripts'; const mockRequest = jest.fn(); @@ -23,7 +23,7 @@ const mockNotification = { addDanger: mockAddDanger, addError: mockAddError, }, -} as NotificationsStart; +} as unknown as NotificationsStart; const mockRenderDocLink = jest.fn(); diff --git a/x-pack/plugins/security_solution/public/risk_score/containers/onboarding/api/transforms.test.ts b/x-pack/plugins/security_solution/public/risk_score/containers/onboarding/api/transforms.test.ts index e121bd5e9c434..90f6b67950c65 100644 --- a/x-pack/plugins/security_solution/public/risk_score/containers/onboarding/api/transforms.test.ts +++ b/x-pack/plugins/security_solution/public/risk_score/containers/onboarding/api/transforms.test.ts @@ -6,7 +6,7 @@ */ import type { HttpSetup } from '@kbn/core-http-browser'; -import type { NotificationsStart } from '@kbn/securitysolution-io-ts-list-types'; +import type { NotificationsStart } from '@kbn/core-notifications-browser'; import { createTransform, deleteTransforms, getTransformState, stopTransforms } from './transforms'; const mockRequest = jest.fn(); @@ -24,7 +24,7 @@ const mockNotification = { addDanger: mockAddDanger, addError: mockAddError, }, -} as NotificationsStart; +} as unknown as NotificationsStart; const mockRenderDocLink = jest.fn(); 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 cde9b04d0e707..76bd03b3a6725 100644 --- a/x-pack/plugins/timelines/common/types/timeline/actions/index.ts +++ b/x-pack/plugins/timelines/common/types/timeline/actions/index.ts @@ -22,7 +22,7 @@ import { ColumnHeaderOptions } from '../columns'; import { TimelineItem, TimelineNonEcsData } from '../../../search_strategy'; import { Ecs } from '../../../ecs'; -export { +export type { FieldBrowserOptions, CreateFieldComponent, GetFieldTableColumns, diff --git a/x-pack/test/functional_cors/plugins/kibana_cors_test/tsconfig.json b/x-pack/test/functional_cors/plugins/kibana_cors_test/tsconfig.json new file mode 100644 index 0000000000000..6c2426c6ced28 --- /dev/null +++ b/x-pack/test/functional_cors/plugins/kibana_cors_test/tsconfig.json @@ -0,0 +1,16 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "./target/types" + }, + "include": [ + "**/*.ts", + "**/*.tsx", + ], + "exclude": [ + "./target" + ], + "references": [ + { "path": "../../../../../src/core/tsconfig.json" } + ] +} diff --git a/x-pack/test/functional_embedded/plugins/iframe_embedded/tsconfig.json b/x-pack/test/functional_embedded/plugins/iframe_embedded/tsconfig.json new file mode 100644 index 0000000000000..6c2426c6ced28 --- /dev/null +++ b/x-pack/test/functional_embedded/plugins/iframe_embedded/tsconfig.json @@ -0,0 +1,16 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "./target/types" + }, + "include": [ + "**/*.ts", + "**/*.tsx", + ], + "exclude": [ + "./target" + ], + "references": [ + { "path": "../../../../../src/core/tsconfig.json" } + ] +} diff --git a/x-pack/test/licensing_plugin/plugins/test_feature_usage/tsconfig.json b/x-pack/test/licensing_plugin/plugins/test_feature_usage/tsconfig.json new file mode 100644 index 0000000000000..1003a197cf292 --- /dev/null +++ b/x-pack/test/licensing_plugin/plugins/test_feature_usage/tsconfig.json @@ -0,0 +1,17 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "./target/types" + }, + "include": [ + "**/*.ts", + "**/*.tsx", + ], + "exclude": [ + "./target" + ], + "references": [ + { "path": "../../../../../src/core/tsconfig.json" }, + { "path": "../../../../plugins/licensing/tsconfig.json" } + ] +} diff --git a/x-pack/test/plugin_api_integration/plugins/elasticsearch_client/tsconfig.json b/x-pack/test/plugin_api_integration/plugins/elasticsearch_client/tsconfig.json new file mode 100644 index 0000000000000..6c2426c6ced28 --- /dev/null +++ b/x-pack/test/plugin_api_integration/plugins/elasticsearch_client/tsconfig.json @@ -0,0 +1,16 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "./target/types" + }, + "include": [ + "**/*.ts", + "**/*.tsx", + ], + "exclude": [ + "./target" + ], + "references": [ + { "path": "../../../../../src/core/tsconfig.json" } + ] +} diff --git a/x-pack/test/plugin_api_integration/plugins/event_log/tsconfig.json b/x-pack/test/plugin_api_integration/plugins/event_log/tsconfig.json new file mode 100644 index 0000000000000..32bb0bdbada8d --- /dev/null +++ b/x-pack/test/plugin_api_integration/plugins/event_log/tsconfig.json @@ -0,0 +1,17 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "./target/types" + }, + "include": [ + "**/*.ts", + "**/*.tsx", + ], + "exclude": [ + "./target" + ], + "references": [ + { "path": "../../../../../src/core/tsconfig.json" }, + { "path": "../../../../plugins/event_log/tsconfig.json" } + ] +} diff --git a/x-pack/test/plugin_api_integration/plugins/feature_usage_test/tsconfig.json b/x-pack/test/plugin_api_integration/plugins/feature_usage_test/tsconfig.json new file mode 100644 index 0000000000000..41f0b16411391 --- /dev/null +++ b/x-pack/test/plugin_api_integration/plugins/feature_usage_test/tsconfig.json @@ -0,0 +1,17 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "./target/types" + }, + "include": [ + "**/*.ts", + "**/*.tsx", + ], + "exclude": [ + "./target" + ], + "references": [ + { "path": "../../../../../src/core/tsconfig.json" }, + { "path": "../../../../plugins/licensing/tsconfig.json" }, + ] +} diff --git a/x-pack/test/plugin_api_integration/plugins/sample_task_plugin/tsconfig.json b/x-pack/test/plugin_api_integration/plugins/sample_task_plugin/tsconfig.json new file mode 100644 index 0000000000000..7cb611398d09d --- /dev/null +++ b/x-pack/test/plugin_api_integration/plugins/sample_task_plugin/tsconfig.json @@ -0,0 +1,17 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "./target/types" + }, + "include": [ + "**/*.ts", + "**/*.tsx", + ], + "exclude": [ + "./target" + ], + "references": [ + { "path": "../../../../../src/core/tsconfig.json" }, + { "path": "../../../../plugins/task_manager/tsconfig.json" }, + ] +} diff --git a/x-pack/test/plugin_api_perf/plugins/task_manager_performance/tsconfig.json b/x-pack/test/plugin_api_perf/plugins/task_manager_performance/tsconfig.json new file mode 100644 index 0000000000000..7cb611398d09d --- /dev/null +++ b/x-pack/test/plugin_api_perf/plugins/task_manager_performance/tsconfig.json @@ -0,0 +1,17 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "./target/types" + }, + "include": [ + "**/*.ts", + "**/*.tsx", + ], + "exclude": [ + "./target" + ], + "references": [ + { "path": "../../../../../src/core/tsconfig.json" }, + { "path": "../../../../plugins/task_manager/tsconfig.json" }, + ] +} diff --git a/x-pack/test/plugin_functional/plugins/global_search_test/tsconfig.json b/x-pack/test/plugin_functional/plugins/global_search_test/tsconfig.json new file mode 100644 index 0000000000000..5b6b09cd88a15 --- /dev/null +++ b/x-pack/test/plugin_functional/plugins/global_search_test/tsconfig.json @@ -0,0 +1,17 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "./target/types" + }, + "include": [ + "**/*.ts", + "**/*.tsx", + ], + "exclude": [ + "./target" + ], + "references": [ + { "path": "../../../../../src/core/tsconfig.json" }, + { "path": "../../../../plugins/global_search/tsconfig.json" }, + ] +} diff --git a/x-pack/test/plugin_functional/plugins/resolver_test/tsconfig.json b/x-pack/test/plugin_functional/plugins/resolver_test/tsconfig.json new file mode 100644 index 0000000000000..3b00244c482bc --- /dev/null +++ b/x-pack/test/plugin_functional/plugins/resolver_test/tsconfig.json @@ -0,0 +1,18 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "./target/types" + }, + "include": [ + "**/*.ts", + "**/*.tsx", + ], + "exclude": [ + "./target" + ], + "references": [ + { "path": "../../../../../src/core/tsconfig.json" }, + { "path": "../../../../../src/plugins/kibana_react/tsconfig.json" }, + { "path": "../../../../plugins/security_solution/tsconfig.json" }, + ] +} diff --git a/x-pack/test/tsconfig.json b/x-pack/test/tsconfig.json index 7267b31905c95..b376f96c6f1e1 100644 --- a/x-pack/test/tsconfig.json +++ b/x-pack/test/tsconfig.json @@ -15,7 +15,10 @@ "../../typings/**/*", "../../packages/kbn-test/types/ftr_globals/**/*", ], - "exclude": ["target/**/*"], + "exclude": [ + "target/**/*", + "*/plugins/**/*", + ], "references": [ { "path": "../../test/tsconfig.json" }, { "path": "../../src/core/tsconfig.json" }, @@ -101,6 +104,7 @@ { "path": "../plugins/remote_clusters/tsconfig.json" }, { "path": "../plugins/cross_cluster_replication/tsconfig.json" }, { "path": "../plugins/index_lifecycle_management/tsconfig.json"}, - { "path": "../plugins/synthetics/tsconfig.json"} + { "path": "../plugins/synthetics/tsconfig.json" }, + { "path": "./plugin_functional/plugins/global_search_test/tsconfig.json" } ] } diff --git a/x-pack/test/usage_collection/plugins/application_usage_test/tsconfig.json b/x-pack/test/usage_collection/plugins/application_usage_test/tsconfig.json index 02a6929fb8539..cd836c96e6427 100644 --- a/x-pack/test/usage_collection/plugins/application_usage_test/tsconfig.json +++ b/x-pack/test/usage_collection/plugins/application_usage_test/tsconfig.json @@ -7,7 +7,9 @@ "public/**/*.ts", "public/**/*.tsx", ], - "exclude": [], + "exclude": [ + "./target" + ], "references": [ { "path": "../../../../../src/core/tsconfig.json" }, ] diff --git a/x-pack/test/usage_collection/plugins/stack_management_usage_test/tsconfig.json b/x-pack/test/usage_collection/plugins/stack_management_usage_test/tsconfig.json index e625acbc569cf..71c002540105c 100644 --- a/x-pack/test/usage_collection/plugins/stack_management_usage_test/tsconfig.json +++ b/x-pack/test/usage_collection/plugins/stack_management_usage_test/tsconfig.json @@ -7,5 +7,10 @@ "public/**/*.ts", "public/**/*.tsx", ], - "exclude": [] + "exclude": [ + "./target" + ], + "references": [ + { "path": "../../../../../src/core/tsconfig.json" } + ] } diff --git a/x-pack/test/usage_collection/test_suites/application_usage/index.ts b/x-pack/test/usage_collection/test_suites/application_usage/index.ts index 9311e554832e0..4b820f6ff01c2 100644 --- a/x-pack/test/usage_collection/test_suites/application_usage/index.ts +++ b/x-pack/test/usage_collection/test_suites/application_usage/index.ts @@ -17,7 +17,10 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { it('keys in the schema match the registered application IDs', async () => { await common.navigateToApp('home'); // Navigate to Home await common.isChromeVisible(); // Make sure the page is fully loaded - const appIds = await browser.execute(() => window.__applicationIds__); + const appIds: unknown = await browser.execute(() => { + // @ts-expect-error this code runs in the browser + return window.__applicationIds__; + }); if (!appIds || !Array.isArray(appIds)) { throw new Error( 'Failed to retrieve all the existing applications in Kibana. Did it fail to boot or to navigate to home?' diff --git a/x-pack/test/usage_collection/test_suites/stack_management_usage/index.ts b/x-pack/test/usage_collection/test_suites/stack_management_usage/index.ts index 724c38a2b06e5..e1e83cb0a4584 100644 --- a/x-pack/test/usage_collection/test_suites/stack_management_usage/index.ts +++ b/x-pack/test/usage_collection/test_suites/stack_management_usage/index.ts @@ -19,7 +19,10 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { before(async () => { await common.navigateToApp('home'); // Navigate to Home to make sure all the appIds are loaded await common.isChromeVisible(); // Make sure the page is fully loaded - registeredSettings = await browser.execute(() => window.__registeredUiSettings__); + registeredSettings = await browser.execute(() => { + // @ts-expect-error this code runs in the browser + return window.__registeredUiSettings__; + }); }); it('registers all UI Settings in the UsageStats interface', () => { diff --git a/yarn.lock b/yarn.lock index af9e89e7d1771..92fbf75faf58e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6862,1366 +6862,6 @@ dependencies: "@types/node" "*" -"@types/kbn__ace@link:bazel-bin/packages/kbn-ace/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__aiops-components@link:bazel-bin/x-pack/packages/ml/aiops_components/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__aiops-utils@link:bazel-bin/x-pack/packages/ml/aiops_utils/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__alerts@link:bazel-bin/packages/kbn-alerts/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__analytics-client@link:bazel-bin/packages/analytics/client/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__analytics-shippers-elastic-v3-browser@link:bazel-bin/packages/analytics/shippers/elastic_v3/browser/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__analytics-shippers-elastic-v3-common@link:bazel-bin/packages/analytics/shippers/elastic_v3/common/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__analytics-shippers-elastic-v3-server@link:bazel-bin/packages/analytics/shippers/elastic_v3/server/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__analytics-shippers-fullstory@link:bazel-bin/packages/analytics/shippers/fullstory/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__analytics-shippers-gainsight@link:bazel-bin/packages/analytics/shippers/gainsight/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__analytics@link:bazel-bin/packages/kbn-analytics/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__apm-config-loader@link:bazel-bin/packages/kbn-apm-config-loader/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__apm-synthtrace@link:bazel-bin/packages/kbn-apm-synthtrace/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__apm-utils@link:bazel-bin/packages/kbn-apm-utils/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__axe-config@link:bazel-bin/packages/kbn-axe-config/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__bazel-packages@link:bazel-bin/packages/kbn-bazel-packages/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__bazel-runner@link:bazel-bin/packages/kbn-bazel-runner/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__cases-components@link:bazel-bin/packages/kbn-cases-components/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__chart-icons@link:bazel-bin/packages/kbn-chart-icons/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__ci-stats-core@link:bazel-bin/packages/kbn-ci-stats-core/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__ci-stats-performance-metrics@link:bazel-bin/packages/kbn-ci-stats-performance-metrics/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__ci-stats-reporter@link:bazel-bin/packages/kbn-ci-stats-reporter/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__cli-dev-mode@link:bazel-bin/packages/kbn-cli-dev-mode/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__coloring@link:bazel-bin/packages/kbn-coloring/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__config-mocks@link:bazel-bin/packages/kbn-config-mocks/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__config-schema@link:bazel-bin/packages/kbn-config-schema/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__config@link:bazel-bin/packages/kbn-config/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__content-management-table-list@link:bazel-bin/packages/content-management/table_list/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-analytics-browser-internal@link:bazel-bin/packages/core/analytics/core-analytics-browser-internal/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-analytics-browser-mocks@link:bazel-bin/packages/core/analytics/core-analytics-browser-mocks/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-analytics-browser@link:bazel-bin/packages/core/analytics/core-analytics-browser/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-analytics-server-internal@link:bazel-bin/packages/core/analytics/core-analytics-server-internal/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-analytics-server-mocks@link:bazel-bin/packages/core/analytics/core-analytics-server-mocks/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-analytics-server@link:bazel-bin/packages/core/analytics/core-analytics-server/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-application-browser-internal@link:bazel-bin/packages/core/application/core-application-browser-internal/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-application-browser-mocks@link:bazel-bin/packages/core/application/core-application-browser-mocks/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-application-browser@link:bazel-bin/packages/core/application/core-application-browser/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-application-common@link:bazel-bin/packages/core/application/core-application-common/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-apps-browser-internal@link:bazel-bin/packages/core/apps/core-apps-browser-internal/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-apps-browser-mocks@link:bazel-bin/packages/core/apps/core-apps-browser-mocks/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-base-browser-internal@link:bazel-bin/packages/core/base/core-base-browser-internal/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-base-browser-mocks@link:bazel-bin/packages/core/base/core-base-browser-mocks/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-base-browser@link:bazel-bin/packages/core/base/core-base-browser/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-base-common-internal@link:bazel-bin/packages/core/base/core-base-common-internal/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-base-common@link:bazel-bin/packages/core/base/core-base-common/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-base-server-internal@link:bazel-bin/packages/core/base/core-base-server-internal/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-base-server-mocks@link:bazel-bin/packages/core/base/core-base-server-mocks/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-base-server@link:bazel-bin/packages/core/base/core-base-server/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-capabilities-browser-internal@link:bazel-bin/packages/core/capabilities/core-capabilities-browser-internal/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-capabilities-browser-mocks@link:bazel-bin/packages/core/capabilities/core-capabilities-browser-mocks/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-capabilities-common@link:bazel-bin/packages/core/capabilities/core-capabilities-common/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-capabilities-server-internal@link:bazel-bin/packages/core/capabilities/core-capabilities-server-internal/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-capabilities-server-mocks@link:bazel-bin/packages/core/capabilities/core-capabilities-server-mocks/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-capabilities-server@link:bazel-bin/packages/core/capabilities/core-capabilities-server/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-chrome-browser-internal@link:bazel-bin/packages/core/chrome/core-chrome-browser-internal/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-chrome-browser-mocks@link:bazel-bin/packages/core/chrome/core-chrome-browser-mocks/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-chrome-browser@link:bazel-bin/packages/core/chrome/core-chrome-browser/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-common-internal-base@link:bazel-bin/packages/core/common/internal-base/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-config-server-internal@link:bazel-bin/packages/core/config/core-config-server-internal/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-config-server-mocks@link:bazel-bin/packages/core/config/core-config-server-mocks/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-deprecations-browser-internal@link:bazel-bin/packages/core/deprecations/core-deprecations-browser-internal/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-deprecations-browser-mocks@link:bazel-bin/packages/core/deprecations/core-deprecations-browser-mocks/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-deprecations-browser@link:bazel-bin/packages/core/deprecations/core-deprecations-browser/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-deprecations-common@link:bazel-bin/packages/core/deprecations/core-deprecations-common/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-deprecations-server-internal@link:bazel-bin/packages/core/deprecations/core-deprecations-server-internal/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-deprecations-server-mocks@link:bazel-bin/packages/core/deprecations/core-deprecations-server-mocks/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-deprecations-server@link:bazel-bin/packages/core/deprecations/core-deprecations-server/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-doc-links-browser-internal@link:bazel-bin/packages/core/doc-links/core-doc-links-browser-internal/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-doc-links-browser-mocks@link:bazel-bin/packages/core/doc-links/core-doc-links-browser-mocks/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-doc-links-browser@link:bazel-bin/packages/core/doc-links/core-doc-links-browser/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-doc-links-server-internal@link:bazel-bin/packages/core/doc-links/core-doc-links-server-internal/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-doc-links-server-mocks@link:bazel-bin/packages/core/doc-links/core-doc-links-server-mocks/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-doc-links-server@link:bazel-bin/packages/core/doc-links/core-doc-links-server/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-elasticsearch-client-server-internal@link:bazel-bin/packages/core/elasticsearch/core-elasticsearch-client-server-internal/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-elasticsearch-client-server-mocks@link:bazel-bin/packages/core/elasticsearch/core-elasticsearch-client-server-mocks/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-elasticsearch-client-server@link:bazel-bin/packages/core/elasticsearch/core-elasticsearch-client-server/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-elasticsearch-server-internal@link:bazel-bin/packages/core/elasticsearch/core-elasticsearch-server-internal/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-elasticsearch-server-mocks@link:bazel-bin/packages/core/elasticsearch/core-elasticsearch-server-mocks/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-elasticsearch-server@link:bazel-bin/packages/core/elasticsearch/core-elasticsearch-server/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-environment-server-internal@link:bazel-bin/packages/core/environment/core-environment-server-internal/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-environment-server-mocks@link:bazel-bin/packages/core/environment/core-environment-server-mocks/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-execution-context-browser-internal@link:bazel-bin/packages/core/execution-context/core-execution-context-browser-internal/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-execution-context-browser-mocks@link:bazel-bin/packages/core/execution-context/core-execution-context-browser-mocks/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-execution-context-browser@link:bazel-bin/packages/core/execution-context/core-execution-context-browser/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-execution-context-common@link:bazel-bin/packages/core/execution-context/core-execution-context-common/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-execution-context-server-internal@link:bazel-bin/packages/core/execution-context/core-execution-context-server-internal/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-execution-context-server-mocks@link:bazel-bin/packages/core/execution-context/core-execution-context-server-mocks/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-execution-context-server@link:bazel-bin/packages/core/execution-context/core-execution-context-server/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-fatal-errors-browser-internal@link:bazel-bin/packages/core/fatal-errors/core-fatal-errors-browser-internal/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-fatal-errors-browser-mocks@link:bazel-bin/packages/core/fatal-errors/core-fatal-errors-browser-mocks/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-fatal-errors-browser@link:bazel-bin/packages/core/fatal-errors/core-fatal-errors-browser/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-http-browser-internal@link:bazel-bin/packages/core/http/core-http-browser-internal/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-http-browser-mocks@link:bazel-bin/packages/core/http/core-http-browser-mocks/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-http-browser@link:bazel-bin/packages/core/http/core-http-browser/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-http-common@link:bazel-bin/packages/core/http/core-http-common/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-http-context-server-internal@link:bazel-bin/packages/core/http/core-http-context-server-internal/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-http-context-server-mocks@link:bazel-bin/packages/core/http/core-http-context-server-mocks/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-http-request-handler-context-server-internal@link:bazel-bin/packages/core/http/core-http-request-handler-context-server-internal/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-http-request-handler-context-server@link:bazel-bin/packages/core/http/core-http-request-handler-context-server/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-http-resources-server-internal@link:bazel-bin/packages/core/http/core-http-resources-server-internal/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-http-resources-server-mocks@link:bazel-bin/packages/core/http/core-http-resources-server-mocks/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-http-resources-server@link:bazel-bin/packages/core/http/core-http-resources-server/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-http-router-server-internal@link:bazel-bin/packages/core/http/core-http-router-server-internal/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-http-router-server-mocks@link:bazel-bin/packages/core/http/core-http-router-server-mocks/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-http-server-internal@link:bazel-bin/packages/core/http/core-http-server-internal/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-http-server-mocks@link:bazel-bin/packages/core/http/core-http-server-mocks/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-http-server@link:bazel-bin/packages/core/http/core-http-server/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-i18n-browser-internal@link:bazel-bin/packages/core/i18n/core-i18n-browser-internal/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-i18n-browser-mocks@link:bazel-bin/packages/core/i18n/core-i18n-browser-mocks/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-i18n-browser@link:bazel-bin/packages/core/i18n/core-i18n-browser/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-i18n-server-internal@link:bazel-bin/packages/core/i18n/core-i18n-server-internal/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-i18n-server-mocks@link:bazel-bin/packages/core/i18n/core-i18n-server-mocks/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-i18n-server@link:bazel-bin/packages/core/i18n/core-i18n-server/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-injected-metadata-browser-internal@link:bazel-bin/packages/core/injected-metadata/core-injected-metadata-browser-internal/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-injected-metadata-browser-mocks@link:bazel-bin/packages/core/injected-metadata/core-injected-metadata-browser-mocks/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-injected-metadata-browser@link:bazel-bin/packages/core/injected-metadata/core-injected-metadata-browser/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-injected-metadata-common-internal@link:bazel-bin/packages/core/injected-metadata/core-injected-metadata-common-internal/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-integrations-browser-internal@link:bazel-bin/packages/core/integrations/core-integrations-browser-internal/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-integrations-browser-mocks@link:bazel-bin/packages/core/integrations/core-integrations-browser-mocks/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-lifecycle-browser-internal@link:bazel-bin/packages/core/lifecycle/core-lifecycle-browser-internal/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-lifecycle-browser-mocks@link:bazel-bin/packages/core/lifecycle/core-lifecycle-browser-mocks/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-lifecycle-browser@link:bazel-bin/packages/core/lifecycle/core-lifecycle-browser/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-lifecycle-server-internal@link:bazel-bin/packages/core/lifecycle/core-lifecycle-server-internal/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-lifecycle-server-mocks@link:bazel-bin/packages/core/lifecycle/core-lifecycle-server-mocks/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-lifecycle-server@link:bazel-bin/packages/core/lifecycle/core-lifecycle-server/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-logging-server-internal@link:bazel-bin/packages/core/logging/core-logging-server-internal/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-logging-server-mocks@link:bazel-bin/packages/core/logging/core-logging-server-mocks/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-logging-server@link:bazel-bin/packages/core/logging/core-logging-server/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-metrics-collectors-server-internal@link:bazel-bin/packages/core/metrics/core-metrics-collectors-server-internal/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-metrics-collectors-server-mocks@link:bazel-bin/packages/core/metrics/core-metrics-collectors-server-mocks/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-metrics-server-internal@link:bazel-bin/packages/core/metrics/core-metrics-server-internal/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-metrics-server-mocks@link:bazel-bin/packages/core/metrics/core-metrics-server-mocks/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-metrics-server@link:bazel-bin/packages/core/metrics/core-metrics-server/npm_module_types": - 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 "" - -"@types/kbn__core-node-server-mocks@link:bazel-bin/packages/core/node/core-node-server-mocks/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-node-server@link:bazel-bin/packages/core/node/core-node-server/npm_module_types": - 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 "" - -"@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-plugins-base-server-internal@link:bazel-bin/packages/core/plugins/core-plugins-base-server-internal/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-plugins-browser-internal@link:bazel-bin/packages/core/plugins/core-plugins-browser-internal/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-plugins-browser-mocks@link:bazel-bin/packages/core/plugins/core-plugins-browser-mocks/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-plugins-browser@link:bazel-bin/packages/core/plugins/core-plugins-browser/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-plugins-server-internal@link:bazel-bin/packages/core/plugins/core-plugins-server-internal/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-plugins-server-mocks@link:bazel-bin/packages/core/plugins/core-plugins-server-mocks/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-plugins-server@link:bazel-bin/packages/core/plugins/core-plugins-server/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 "" - -"@types/kbn__core-preboot-server-mocks@link:bazel-bin/packages/core/preboot/core-preboot-server-mocks/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-preboot-server@link:bazel-bin/packages/core/preboot/core-preboot-server/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-public-internal-base@link:bazel-bin/packages/core/public/internal-base/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-rendering-browser-internal@link:bazel-bin/packages/core/rendering/core-rendering-browser-internal/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-rendering-browser-mocks@link:bazel-bin/packages/core/rendering/core-rendering-browser-mocks/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-rendering-server-internal@link:bazel-bin/packages/core/rendering/core-rendering-server-internal/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-rendering-server-mocks@link:bazel-bin/packages/core/rendering/core-rendering-server-mocks/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-root-browser-internal@link:bazel-bin/packages/core/root/core-root-browser-internal/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-saved-objects-api-browser@link:bazel-bin/packages/core/saved-objects/core-saved-objects-api-browser/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-saved-objects-api-server-internal@link:bazel-bin/packages/core/saved-objects/core-saved-objects-api-server-internal/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-saved-objects-api-server-mocks@link:bazel-bin/packages/core/saved-objects/core-saved-objects-api-server-mocks/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-saved-objects-api-server@link:bazel-bin/packages/core/saved-objects/core-saved-objects-api-server/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-saved-objects-base-server-internal@link:bazel-bin/packages/core/saved-objects/core-saved-objects-base-server-internal/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-saved-objects-base-server-mocks@link:bazel-bin/packages/core/saved-objects/core-saved-objects-base-server-mocks/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-saved-objects-browser-internal@link:bazel-bin/packages/core/saved-objects/core-saved-objects-browser-internal/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-saved-objects-browser-mocks@link:bazel-bin/packages/core/saved-objects/core-saved-objects-browser-mocks/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-saved-objects-browser@link:bazel-bin/packages/core/saved-objects/core-saved-objects-browser/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-saved-objects-common@link:bazel-bin/packages/core/saved-objects/core-saved-objects-common/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-saved-objects-import-export-server-internal@link:bazel-bin/packages/core/saved-objects/core-saved-objects-import-export-server-internal/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-saved-objects-import-export-server-mocks@link:bazel-bin/packages/core/saved-objects/core-saved-objects-import-export-server-mocks/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-saved-objects-migration-server-internal@link:bazel-bin/packages/core/saved-objects/core-saved-objects-migration-server-internal/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-saved-objects-migration-server-mocks@link:bazel-bin/packages/core/saved-objects/core-saved-objects-migration-server-mocks/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-saved-objects-server-internal@link:bazel-bin/packages/core/saved-objects/core-saved-objects-server-internal/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-saved-objects-server-mocks@link:bazel-bin/packages/core/saved-objects/core-saved-objects-server-mocks/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-saved-objects-server@link:bazel-bin/packages/core/saved-objects/core-saved-objects-server/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-saved-objects-utils-server@link:bazel-bin/packages/core/saved-objects/core-saved-objects-utils-server/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-server-internal-base@link:bazel-bin/packages/core/server/internal-base/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-status-common-internal@link:bazel-bin/packages/core/status/core-status-common-internal/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-status-common@link:bazel-bin/packages/core/status/core-status-common/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-status-server-internal@link:bazel-bin/packages/core/status/core-status-server-internal/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-status-server-mocks@link:bazel-bin/packages/core/status/core-status-server-mocks/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-status-server@link:bazel-bin/packages/core/status/core-status-server/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-test-helpers-deprecations-getters@link:bazel-bin/packages/core/test-helpers/core-test-helpers-deprecations-getters/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-test-helpers-http-setup-browser@link:bazel-bin/packages/core/test-helpers/core-test-helpers-http-setup-browser/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-test-helpers-so-type-serializer@link:bazel-bin/packages/core/test-helpers/core-test-helpers-so-type-serializer/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-test-helpers-test-utils@link:bazel-bin/packages/core/test-helpers/core-test-helpers-test-utils/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-theme-browser-internal@link:bazel-bin/packages/core/theme/core-theme-browser-internal/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-theme-browser-mocks@link:bazel-bin/packages/core/theme/core-theme-browser-mocks/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-theme-browser@link:bazel-bin/packages/core/theme/core-theme-browser/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-ui-settings-browser-internal@link:bazel-bin/packages/core/ui-settings/core-ui-settings-browser-internal/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-ui-settings-browser-mocks@link:bazel-bin/packages/core/ui-settings/core-ui-settings-browser-mocks/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-ui-settings-browser@link:bazel-bin/packages/core/ui-settings/core-ui-settings-browser/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-ui-settings-common@link:bazel-bin/packages/core/ui-settings/core-ui-settings-common/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-ui-settings-server-internal@link:bazel-bin/packages/core/ui-settings/core-ui-settings-server-internal/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-ui-settings-server-mocks@link:bazel-bin/packages/core/ui-settings/core-ui-settings-server-mocks/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-ui-settings-server@link:bazel-bin/packages/core/ui-settings/core-ui-settings-server/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-usage-data-base-server-internal@link:bazel-bin/packages/core/usage-data/core-usage-data-base-server-internal/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-usage-data-server-internal@link:bazel-bin/packages/core/usage-data/core-usage-data-server-internal/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-usage-data-server-mocks@link:bazel-bin/packages/core/usage-data/core-usage-data-server-mocks/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__core-usage-data-server@link:bazel-bin/packages/core/usage-data/core-usage-data-server/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__crypto-browser@link:bazel-bin/packages/kbn-crypto-browser/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__crypto@link:bazel-bin/packages/kbn-crypto/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__datemath@link:bazel-bin/packages/kbn-datemath/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__dev-cli-errors@link:bazel-bin/packages/kbn-dev-cli-errors/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__dev-cli-runner@link:bazel-bin/packages/kbn-dev-cli-runner/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__dev-proc-runner@link:bazel-bin/packages/kbn-dev-proc-runner/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__dev-utils@link:bazel-bin/packages/kbn-dev-utils/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__doc-links@link:bazel-bin/packages/kbn-doc-links/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__docs-utils@link:bazel-bin/packages/kbn-docs-utils/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__ebt-tools@link:bazel-bin/packages/kbn-ebt-tools/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__es-archiver@link:bazel-bin/packages/kbn-es-archiver/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__es-errors@link:bazel-bin/packages/kbn-es-errors/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__es-query@link:bazel-bin/packages/kbn-es-query/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__es-types@link:bazel-bin/packages/kbn-es-types/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__eslint-plugin-disable@link:bazel-bin/packages/kbn-eslint-plugin-disable/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__eslint-plugin-imports@link:bazel-bin/packages/kbn-eslint-plugin-imports/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__failed-test-reporter-cli@link:bazel-bin/packages/kbn-failed-test-reporter-cli/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__field-types@link:bazel-bin/packages/kbn-field-types/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__find-used-node-modules@link:bazel-bin/packages/kbn-find-used-node-modules/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__ftr-common-functional-services@link:bazel-bin/packages/kbn-ftr-common-functional-services/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__ftr-screenshot-filename@link:bazel-bin/packages/kbn-ftr-screenshot-filename/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__generate@link:bazel-bin/packages/kbn-generate/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__get-repo-files@link:bazel-bin/packages/kbn-get-repo-files/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__guided-onboarding@link:bazel-bin/packages/kbn-guided-onboarding/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__handlebars@link:bazel-bin/packages/kbn-handlebars/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__hapi-mocks@link:bazel-bin/packages/kbn-hapi-mocks/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__home-sample-data-card@link:bazel-bin/packages/home/sample_data_card/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__home-sample-data-tab@link:bazel-bin/packages/home/sample_data_tab/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__home-sample-data-types@link:bazel-bin/packages/home/sample_data_types/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__i18n-react@link:bazel-bin/packages/kbn-i18n-react/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__i18n@link:bazel-bin/packages/kbn-i18n/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__import-resolver@link:bazel-bin/packages/kbn-import-resolver/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__interpreter@link:bazel-bin/packages/kbn-interpreter/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__io-ts-utils@link:bazel-bin/packages/kbn-io-ts-utils/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__jest-serializers@link:bazel-bin/packages/kbn-jest-serializers/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__journeys@link:bazel-bin/packages/kbn-journeys/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__kbn-ci-stats-performance-metrics@link:bazel-bin/packages/kbn-kbn-ci-stats-performance-metrics/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__kibana-manifest-schema@link:bazel-bin/packages/kbn-kibana-manifest-schema/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__language-documentation-popover@link:bazel-bin/packages/kbn-language-documentation-popover/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__logging-mocks@link:bazel-bin/packages/kbn-logging-mocks/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__logging@link:bazel-bin/packages/kbn-logging/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__managed-vscode-config-cli@link:bazel-bin/packages/kbn-managed-vscode-config-cli/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__managed-vscode-config@link:bazel-bin/packages/kbn-managed-vscode-config/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__mapbox-gl@link:bazel-bin/packages/kbn-mapbox-gl/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__ml-agg-utils@link:bazel-bin/x-pack/packages/ml/agg_utils/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__ml-is-populated-object@link:bazel-bin/x-pack/packages/ml/is_populated_object/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__ml-string-hash@link:bazel-bin/x-pack/packages/ml/string_hash/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__monaco@link:bazel-bin/packages/kbn-monaco/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__optimizer-webpack-helpers@link:bazel-bin/packages/kbn-optimizer-webpack-helpers/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__optimizer@link:bazel-bin/packages/kbn-optimizer/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__osquery-io-ts-types@link:bazel-bin/packages/kbn-osquery-io-ts-types/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__performance-testing-dataset-extractor@link:bazel-bin/packages/kbn-performance-testing-dataset-extractor/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__plugin-discovery@link:bazel-bin/packages/kbn-plugin-discovery/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__plugin-generator@link:bazel-bin/packages/kbn-plugin-generator/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__plugin-helpers@link:bazel-bin/packages/kbn-plugin-helpers/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__react-field@link:bazel-bin/packages/kbn-react-field/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__repo-source-classifier-cli@link:bazel-bin/packages/kbn-repo-source-classifier-cli/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__repo-source-classifier@link:bazel-bin/packages/kbn-repo-source-classifier/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__rule-data-utils@link:bazel-bin/packages/kbn-rule-data-utils/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__securitysolution-autocomplete@link:bazel-bin/packages/kbn-securitysolution-autocomplete/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__securitysolution-es-utils@link:bazel-bin/packages/kbn-securitysolution-es-utils/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__securitysolution-exception-list-components@link:bazel-bin/packages/kbn-securitysolution-exception-list-components/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__securitysolution-hook-utils@link:bazel-bin/packages/kbn-securitysolution-hook-utils/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__securitysolution-io-ts-alerting-types@link:bazel-bin/packages/kbn-securitysolution-io-ts-alerting-types/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__securitysolution-io-ts-list-types@link:bazel-bin/packages/kbn-securitysolution-io-ts-list-types/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__securitysolution-io-ts-types@link:bazel-bin/packages/kbn-securitysolution-io-ts-types/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__securitysolution-io-ts-utils@link:bazel-bin/packages/kbn-securitysolution-io-ts-utils/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__securitysolution-list-api@link:bazel-bin/packages/kbn-securitysolution-list-api/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__securitysolution-list-constants@link:bazel-bin/packages/kbn-securitysolution-list-constants/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__securitysolution-list-hooks@link:bazel-bin/packages/kbn-securitysolution-list-hooks/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__securitysolution-list-utils@link:bazel-bin/packages/kbn-securitysolution-list-utils/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__securitysolution-rules@link:bazel-bin/packages/kbn-securitysolution-rules/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__securitysolution-t-grid@link:bazel-bin/packages/kbn-securitysolution-t-grid/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__securitysolution-utils@link:bazel-bin/packages/kbn-securitysolution-utils/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__server-http-tools@link:bazel-bin/packages/kbn-server-http-tools/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__server-route-repository@link:bazel-bin/packages/kbn-server-route-repository/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__shared-svg@link:bazel-bin/packages/kbn-shared-svg/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__shared-ux-avatar-solution@link:bazel-bin/packages/shared-ux/avatar/solution/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__shared-ux-avatar-user-profile-components@link:bazel-bin/packages/shared-ux/avatar/user_profile/impl/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__shared-ux-button-exit-full-screen-mocks@link:bazel-bin/packages/shared-ux/button/exit_full_screen/mocks/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__shared-ux-button-exit-full-screen-types@link:bazel-bin/packages/shared-ux/button/exit_full_screen/types/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__shared-ux-button-exit-full-screen@link:bazel-bin/packages/shared-ux/button/exit_full_screen/impl/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__shared-ux-button-toolbar@link:bazel-bin/packages/shared-ux/button_toolbar/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__shared-ux-card-no-data-mocks@link:bazel-bin/packages/shared-ux/card/no_data/mocks/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__shared-ux-card-no-data-types@link:bazel-bin/packages/shared-ux/card/no_data/types/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__shared-ux-card-no-data@link:bazel-bin/packages/shared-ux/card/no_data/impl/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__shared-ux-link-redirect-app-mocks@link:bazel-bin/packages/shared-ux/link/redirect_app/mocks/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__shared-ux-link-redirect-app-types@link:bazel-bin/packages/shared-ux/link/redirect_app/types/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__shared-ux-link-redirect-app@link:bazel-bin/packages/shared-ux/link/redirect_app/impl/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__shared-ux-markdown-mocks@link:bazel-bin/packages/shared-ux/markdown/mocks/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__shared-ux-markdown-types@link:bazel-bin/packages/shared-ux/markdown/types/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__shared-ux-markdown@link:bazel-bin/packages/shared-ux/markdown/impl/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__shared-ux-page-analytics-no-data-mocks@link:bazel-bin/packages/shared-ux/page/analytics_no_data/mocks/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__shared-ux-page-analytics-no-data-types@link:bazel-bin/packages/shared-ux/page/analytics_no_data/types/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__shared-ux-page-analytics-no-data@link:bazel-bin/packages/shared-ux/page/analytics_no_data/impl/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__shared-ux-page-kibana-no-data-mocks@link:bazel-bin/packages/shared-ux/page/kibana_no_data/mocks/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__shared-ux-page-kibana-no-data-types@link:bazel-bin/packages/shared-ux/page/kibana_no_data/types/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__shared-ux-page-kibana-no-data@link:bazel-bin/packages/shared-ux/page/kibana_no_data/impl/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__shared-ux-page-kibana-template-mocks@link:bazel-bin/packages/shared-ux/page/kibana_template/mocks/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__shared-ux-page-kibana-template-types@link:bazel-bin/packages/shared-ux/page/kibana_template/types/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__shared-ux-page-kibana-template@link:bazel-bin/packages/shared-ux/page/kibana_template/impl/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__shared-ux-page-no-data-config-mocks@link:bazel-bin/packages/shared-ux/page/no_data_config/mocks/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__shared-ux-page-no-data-config-types@link:bazel-bin/packages/shared-ux/page/no_data_config/types/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__shared-ux-page-no-data-config@link:bazel-bin/packages/shared-ux/page/no_data_config/impl/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__shared-ux-page-no-data-mocks@link:bazel-bin/packages/shared-ux/page/no_data/mocks/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__shared-ux-page-no-data-types@link:bazel-bin/packages/shared-ux/page/no_data/types/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__shared-ux-page-no-data@link:bazel-bin/packages/shared-ux/page/no_data/impl/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__shared-ux-page-solution-nav@link:bazel-bin/packages/shared-ux/page/solution_nav/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__shared-ux-prompt-no-data-views-mocks@link:bazel-bin/packages/shared-ux/prompt/no_data_views/mocks/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__shared-ux-prompt-no-data-views-types@link:bazel-bin/packages/shared-ux/prompt/no_data_views/types/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__shared-ux-prompt-no-data-views@link:bazel-bin/packages/shared-ux/prompt/no_data_views/impl/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__shared-ux-router-mocks@link:bazel-bin/packages/shared-ux/router/mocks/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__shared-ux-services@link:bazel-bin/packages/kbn-shared-ux-services/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__shared-ux-storybook-mock@link:bazel-bin/packages/shared-ux/storybook/mock/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__shared-ux-storybook@link:bazel-bin/packages/kbn-shared-ux-storybook/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__shared-ux-utility@link:bazel-bin/packages/kbn-shared-ux-utility/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__some-dev-log@link:bazel-bin/packages/kbn-some-dev-log/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__sort-package-json@link:bazel-bin/packages/kbn-sort-package-json/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__std@link:bazel-bin/packages/kbn-std/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__stdio-dev-helpers@link:bazel-bin/packages/kbn-stdio-dev-helpers/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__storybook@link:bazel-bin/packages/kbn-storybook/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__telemetry-tools@link:bazel-bin/packages/kbn-telemetry-tools/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__test-jest-helpers@link:bazel-bin/packages/kbn-test-jest-helpers/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__test-subj-selector@link:bazel-bin/packages/kbn-test-subj-selector/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__test@link:bazel-bin/packages/kbn-test/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__tooling-log@link:bazel-bin/packages/kbn-tooling-log/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__type-summarizer-cli@link:bazel-bin/packages/kbn-type-summarizer-cli/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__type-summarizer-core@link:bazel-bin/packages/kbn-type-summarizer-core/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__type-summarizer@link:bazel-bin/packages/kbn-type-summarizer/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__typed-react-router-config@link:bazel-bin/packages/kbn-typed-react-router-config/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__ui-shared-deps-npm@link:bazel-bin/packages/kbn-ui-shared-deps-npm/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__ui-shared-deps-src@link:bazel-bin/packages/kbn-ui-shared-deps-src/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__ui-theme@link:bazel-bin/packages/kbn-ui-theme/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__user-profile-components@link:bazel-bin/packages/kbn-user-profile-components/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__utility-types-jest@link:bazel-bin/packages/kbn-utility-types-jest/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__utility-types@link:bazel-bin/packages/kbn-utility-types/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__utils@link:bazel-bin/packages/kbn-utils/npm_module_types": - version "0.0.0" - uid "" - -"@types/kbn__yarn-lock-validator@link:bazel-bin/packages/kbn-yarn-lock-validator/npm_module_types": - version "0.0.0" - uid "" - "@types/keyv@*": version "3.1.1" resolved "https://registry.yarnpkg.com/@types/keyv/-/keyv-3.1.1.tgz#e45a45324fca9dab716ab1230ee249c9fb52cfa7" From 52f2b33a07b0f1269b22d9c5ec83e6401236e5c0 Mon Sep 17 00:00:00 2001 From: spalger Date: Fri, 28 Oct 2022 14:06:46 -0500 Subject: [PATCH 011/111] [auto] migrate existing plugin/package configs --- examples/bfetch_explorer/tsconfig.json | 2 +- .../tsconfig.json | 2 +- .../tsconfig.json | 2 +- examples/developer_examples/tsconfig.json | 2 +- examples/embeddable_examples/tsconfig.json | 2 +- examples/embeddable_explorer/tsconfig.json | 2 +- examples/expressions_explorer/tsconfig.json | 2 +- examples/field_formats_example/tsconfig.json | 2 +- .../guided_onboarding_example/tsconfig.json | 3 +-- examples/hello_world/tsconfig.json | 2 +- examples/locator_examples/tsconfig.json | 2 +- examples/locator_explorer/tsconfig.json | 2 +- .../partial_results_example/tsconfig.json | 2 +- examples/preboot_example/tsconfig.json | 3 +-- examples/response_stream/tsconfig.json | 2 +- examples/routing_example/tsconfig.json | 2 +- .../screenshot_mode_example/tsconfig.json | 2 +- examples/search_examples/tsconfig.json | 2 +- examples/share_examples/tsconfig.json | 2 +- .../state_containers_examples/tsconfig.json | 2 +- examples/ui_action_examples/tsconfig.json | 2 +- examples/ui_actions_explorer/tsconfig.json | 2 +- examples/user_profile_examples/tsconfig.json | 2 +- packages/analytics/client/BUILD.bazel | 22 ++++++++-------- packages/analytics/client/package.json | 3 ++- packages/analytics/client/tsconfig.json | 1 - .../shippers/elastic_v3/browser/BUILD.bazel | 22 ++++++++-------- .../shippers/elastic_v3/browser/package.json | 3 ++- .../shippers/elastic_v3/browser/tsconfig.json | 1 - .../shippers/elastic_v3/common/BUILD.bazel | 22 ++++++++-------- .../shippers/elastic_v3/common/package.json | 3 ++- .../shippers/elastic_v3/common/tsconfig.json | 1 - .../shippers/elastic_v3/server/BUILD.bazel | 22 ++++++++-------- .../shippers/elastic_v3/server/package.json | 3 ++- .../shippers/elastic_v3/server/tsconfig.json | 1 - .../analytics/shippers/fullstory/BUILD.bazel | 22 ++++++++-------- .../analytics/shippers/fullstory/package.json | 3 ++- .../shippers/fullstory/tsconfig.json | 1 - .../analytics/shippers/gainsight/BUILD.bazel | 22 ++++++++-------- .../analytics/shippers/gainsight/package.json | 3 ++- .../shippers/gainsight/tsconfig.json | 1 - .../content-management/table_list/BUILD.bazel | 22 ++++++++-------- .../table_list/package.json | 3 ++- .../table_list/tsconfig.json | 1 - .../BUILD.bazel | 22 ++++++++-------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../core-analytics-browser-mocks/BUILD.bazel | 22 ++++++++-------- .../core-analytics-browser-mocks/package.json | 3 ++- .../tsconfig.json | 1 - .../core-analytics-browser/BUILD.bazel | 22 ++++++++-------- .../core-analytics-browser/package.json | 3 ++- .../core-analytics-browser/tsconfig.json | 1 - .../BUILD.bazel | 22 ++++++++-------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../core-analytics-server-mocks/BUILD.bazel | 22 ++++++++-------- .../core-analytics-server-mocks/package.json | 3 ++- .../core-analytics-server-mocks/tsconfig.json | 1 - .../core-analytics-server/BUILD.bazel | 22 ++++++++-------- .../core-analytics-server/package.json | 3 ++- .../core-analytics-server/tsconfig.json | 1 - .../BUILD.bazel | 22 ++++++++-------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../BUILD.bazel | 22 ++++++++-------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../core-application-browser/BUILD.bazel | 22 ++++++++-------- .../core-application-browser/package.json | 3 ++- .../core-application-browser/tsconfig.json | 1 - .../core-application-common/BUILD.bazel | 22 ++++++++-------- .../core-application-common/package.json | 3 ++- .../core-application-common/tsconfig.json | 1 - .../core-apps-browser-internal/BUILD.bazel | 22 ++++++++-------- .../core-apps-browser-internal/package.json | 3 ++- .../core-apps-browser-internal/tsconfig.json | 1 - .../apps/core-apps-browser-mocks/BUILD.bazel | 22 ++++++++-------- .../apps/core-apps-browser-mocks/package.json | 3 ++- .../core-apps-browser-mocks/tsconfig.json | 1 - .../core-base-browser-internal/BUILD.bazel | 22 ++++++++-------- .../core-base-browser-internal/package.json | 3 ++- .../core-base-browser-internal/tsconfig.json | 1 - .../base/core-base-browser-mocks/BUILD.bazel | 22 ++++++++-------- .../base/core-base-browser-mocks/package.json | 3 ++- .../core-base-browser-mocks/tsconfig.json | 1 - .../core-base-common-internal/BUILD.bazel | 22 ++++++++-------- .../core-base-common-internal/package.json | 3 ++- .../core-base-common-internal/tsconfig.json | 1 - .../core/base/core-base-common/BUILD.bazel | 22 ++++++++-------- .../core/base/core-base-common/package.json | 3 ++- .../core/base/core-base-common/tsconfig.json | 1 - .../core-base-server-internal/BUILD.bazel | 22 ++++++++-------- .../core-base-server-internal/package.json | 3 ++- .../core-base-server-internal/tsconfig.json | 1 - .../base/core-base-server-mocks/BUILD.bazel | 22 ++++++++-------- .../base/core-base-server-mocks/package.json | 3 ++- .../base/core-base-server-mocks/tsconfig.json | 1 - .../BUILD.bazel | 22 ++++++++-------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../BUILD.bazel | 22 ++++++++-------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../core-capabilities-common/BUILD.bazel | 22 ++++++++-------- .../core-capabilities-common/package.json | 3 ++- .../core-capabilities-common/tsconfig.json | 1 - .../BUILD.bazel | 22 ++++++++-------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../BUILD.bazel | 22 ++++++++-------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../core-capabilities-server/BUILD.bazel | 22 ++++++++-------- .../core-capabilities-server/package.json | 3 ++- .../core-capabilities-server/tsconfig.json | 1 - .../core-chrome-browser-internal/BUILD.bazel | 22 ++++++++-------- .../core-chrome-browser-internal/package.json | 3 ++- .../tsconfig.json | 1 - .../core-chrome-browser-mocks/BUILD.bazel | 22 ++++++++-------- .../core-chrome-browser-mocks/package.json | 3 ++- .../core-chrome-browser-mocks/tsconfig.json | 1 - .../chrome/core-chrome-browser/BUILD.bazel | 22 ++++++++-------- .../chrome/core-chrome-browser/package.json | 3 ++- .../chrome/core-chrome-browser/tsconfig.json | 1 - .../core-config-server-internal/BUILD.bazel | 22 ++++++++-------- .../core-config-server-internal/package.json | 3 ++- .../core-config-server-internal/tsconfig.json | 1 - .../BUILD.bazel | 22 ++++++++-------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../BUILD.bazel | 22 ++++++++-------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../core-deprecations-browser/BUILD.bazel | 22 ++++++++-------- .../core-deprecations-browser/package.json | 3 ++- .../core-deprecations-browser/tsconfig.json | 1 - .../core-deprecations-common/BUILD.bazel | 22 ++++++++-------- .../core-deprecations-common/package.json | 3 ++- .../core-deprecations-common/tsconfig.json | 1 - .../BUILD.bazel | 22 ++++++++-------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../BUILD.bazel | 22 ++++++++-------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../core-deprecations-server/BUILD.bazel | 22 ++++++++-------- .../core-deprecations-server/package.json | 3 ++- .../core-deprecations-server/tsconfig.json | 1 - .../BUILD.bazel | 22 ++++++++-------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../core-doc-links-browser-mocks/BUILD.bazel | 22 ++++++++-------- .../core-doc-links-browser-mocks/package.json | 3 ++- .../tsconfig.json | 1 - .../core-doc-links-browser/BUILD.bazel | 22 ++++++++-------- .../core-doc-links-browser/package.json | 3 ++- .../core-doc-links-browser/tsconfig.json | 1 - .../BUILD.bazel | 22 ++++++++-------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../core-doc-links-server-mocks/BUILD.bazel | 22 ++++++++-------- .../core-doc-links-server-mocks/package.json | 3 ++- .../core-doc-links-server-mocks/tsconfig.json | 1 - .../core-doc-links-server/BUILD.bazel | 22 ++++++++-------- .../core-doc-links-server/package.json | 3 ++- .../core-doc-links-server/tsconfig.json | 1 - .../BUILD.bazel | 22 ++++++++-------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../BUILD.bazel | 22 ++++++++-------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../BUILD.bazel | 22 ++++++++-------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../BUILD.bazel | 22 ++++++++-------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../core-elasticsearch-server/BUILD.bazel | 22 ++++++++-------- .../core-elasticsearch-server/package.json | 3 ++- .../core-elasticsearch-server/tsconfig.json | 1 - .../BUILD.bazel | 21 ++++++++-------- .../package.json | 3 ++- .../core-environment-server-mocks/BUILD.bazel | 21 ++++++++-------- .../package.json | 3 ++- .../BUILD.bazel | 21 ++++++++-------- .../package.json | 3 ++- .../BUILD.bazel | 21 ++++++++-------- .../package.json | 3 ++- .../BUILD.bazel | 21 ++++++++-------- .../package.json | 3 ++- .../core-execution-context-common/BUILD.bazel | 21 ++++++++-------- .../package.json | 3 ++- .../BUILD.bazel | 21 ++++++++-------- .../package.json | 3 ++- .../BUILD.bazel | 21 ++++++++-------- .../package.json | 3 ++- .../core-execution-context-server/BUILD.bazel | 21 ++++++++-------- .../package.json | 3 ++- .../BUILD.bazel | 22 ++++++++-------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../BUILD.bazel | 22 ++++++++-------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../core-fatal-errors-browser/BUILD.bazel | 22 ++++++++-------- .../core-fatal-errors-browser/package.json | 3 ++- .../core-fatal-errors-browser/tsconfig.json | 1 - .../core-http-browser-internal/BUILD.bazel | 21 ++++++++-------- .../core-http-browser-internal/package.json | 3 ++- .../http/core-http-browser-mocks/BUILD.bazel | 21 ++++++++-------- .../http/core-http-browser-mocks/package.json | 3 ++- .../core/http/core-http-browser/BUILD.bazel | 21 ++++++++-------- .../core/http/core-http-browser/package.json | 3 ++- .../core/http/core-http-common/BUILD.bazel | 21 ++++++++-------- .../core/http/core-http-common/package.json | 3 ++- .../BUILD.bazel | 22 ++++++++-------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../BUILD.bazel | 22 ++++++++-------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../BUILD.bazel | 22 ++++++++-------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../BUILD.bazel | 22 ++++++++-------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../BUILD.bazel | 22 ++++++++-------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../BUILD.bazel | 22 ++++++++-------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../core-http-resources-server/BUILD.bazel | 22 ++++++++-------- .../core-http-resources-server/package.json | 3 ++- .../core-http-resources-server/tsconfig.json | 1 - .../BUILD.bazel | 22 ++++++++-------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../core-http-router-server-mocks/BUILD.bazel | 22 ++++++++-------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../core-http-server-internal/BUILD.bazel | 22 ++++++++-------- .../core-http-server-internal/package.json | 3 ++- .../core-http-server-internal/tsconfig.json | 1 - .../http/core-http-server-mocks/BUILD.bazel | 22 ++++++++-------- .../http/core-http-server-mocks/package.json | 3 ++- .../http/core-http-server-mocks/tsconfig.json | 1 - .../core/http/core-http-server/BUILD.bazel | 21 ++++++++-------- .../core/http/core-http-server/package.json | 3 ++- .../core-i18n-browser-internal/BUILD.bazel | 22 ++++++++-------- .../core-i18n-browser-internal/package.json | 3 ++- .../core-i18n-browser-internal/tsconfig.json | 1 - .../i18n/core-i18n-browser-mocks/BUILD.bazel | 22 ++++++++-------- .../i18n/core-i18n-browser-mocks/package.json | 3 ++- .../core-i18n-browser-mocks/tsconfig.json | 1 - .../core/i18n/core-i18n-browser/BUILD.bazel | 22 ++++++++-------- .../core/i18n/core-i18n-browser/package.json | 3 ++- .../core/i18n/core-i18n-browser/tsconfig.json | 1 - .../core-i18n-server-internal/BUILD.bazel | 22 ++++++++-------- .../core-i18n-server-internal/package.json | 3 ++- .../core-i18n-server-internal/tsconfig.json | 1 - .../i18n/core-i18n-server-mocks/BUILD.bazel | 22 ++++++++-------- .../i18n/core-i18n-server-mocks/package.json | 3 ++- .../i18n/core-i18n-server-mocks/tsconfig.json | 1 - .../core/i18n/core-i18n-server/BUILD.bazel | 22 ++++++++-------- .../core/i18n/core-i18n-server/package.json | 3 ++- .../core/i18n/core-i18n-server/tsconfig.json | 1 - .../BUILD.bazel | 22 ++++++++-------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../BUILD.bazel | 22 ++++++++-------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../BUILD.bazel | 22 ++++++++-------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../BUILD.bazel | 22 ++++++++-------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../BUILD.bazel | 22 ++++++++-------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../BUILD.bazel | 22 ++++++++-------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../BUILD.bazel | 22 ++++++++-------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../core-lifecycle-browser-mocks/BUILD.bazel | 22 ++++++++-------- .../core-lifecycle-browser-mocks/package.json | 3 ++- .../tsconfig.json | 1 - .../core-lifecycle-browser/BUILD.bazel | 22 ++++++++-------- .../core-lifecycle-browser/package.json | 3 ++- .../core-lifecycle-browser/tsconfig.json | 1 - .../BUILD.bazel | 22 ++++++++-------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../core-lifecycle-server-mocks/BUILD.bazel | 22 ++++++++-------- .../core-lifecycle-server-mocks/package.json | 3 ++- .../core-lifecycle-server-mocks/tsconfig.json | 1 - .../core-lifecycle-server/BUILD.bazel | 22 ++++++++-------- .../core-lifecycle-server/package.json | 3 ++- .../core-lifecycle-server/tsconfig.json | 1 - .../core-logging-server-internal/BUILD.bazel | 22 ++++++++-------- .../core-logging-server-internal/package.json | 3 ++- .../tsconfig.json | 1 - .../core-logging-server-mocks/BUILD.bazel | 22 ++++++++-------- .../core-logging-server-mocks/package.json | 3 ++- .../core-logging-server-mocks/tsconfig.json | 1 - .../logging/core-logging-server/BUILD.bazel | 22 ++++++++-------- .../logging/core-logging-server/package.json | 3 ++- .../logging/core-logging-server/tsconfig.json | 1 - .../BUILD.bazel | 22 ++++++++-------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../BUILD.bazel | 22 ++++++++-------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../core-metrics-server-internal/BUILD.bazel | 22 ++++++++-------- .../core-metrics-server-internal/package.json | 3 ++- .../tsconfig.json | 1 - .../core-metrics-server-mocks/BUILD.bazel | 22 ++++++++-------- .../core-metrics-server-mocks/package.json | 3 ++- .../core-metrics-server-mocks/tsconfig.json | 1 - .../metrics/core-metrics-server/BUILD.bazel | 22 ++++++++-------- .../metrics/core-metrics-server/package.json | 3 ++- .../metrics/core-metrics-server/tsconfig.json | 1 - .../BUILD.bazel | 22 ++++++++-------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../core-mount-utils-browser/BUILD.bazel | 22 ++++++++-------- .../core-mount-utils-browser/package.json | 3 ++- .../core-mount-utils-browser/tsconfig.json | 1 - .../core-node-server-internal/BUILD.bazel | 21 ++++++++-------- .../core-node-server-internal/package.json | 3 ++- .../node/core-node-server-mocks/BUILD.bazel | 21 ++++++++-------- .../node/core-node-server-mocks/package.json | 3 ++- .../core/node/core-node-server/BUILD.bazel | 21 ++++++++-------- .../core/node/core-node-server/package.json | 3 ++- .../BUILD.bazel | 22 ++++++++-------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../BUILD.bazel | 22 ++++++++-------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../core-notifications-browser/BUILD.bazel | 22 ++++++++-------- .../core-notifications-browser/package.json | 3 ++- .../core-notifications-browser/tsconfig.json | 1 - .../BUILD.bazel | 22 ++++++++-------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../core-overlays-browser-mocks/BUILD.bazel | 22 ++++++++-------- .../core-overlays-browser-mocks/package.json | 3 ++- .../core-overlays-browser-mocks/tsconfig.json | 1 - .../core-overlays-browser/BUILD.bazel | 22 ++++++++-------- .../core-overlays-browser/package.json | 3 ++- .../core-overlays-browser/tsconfig.json | 1 - .../BUILD.bazel | 22 ++++++++-------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../core-plugins-browser-internal/BUILD.bazel | 22 ++++++++-------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../core-plugins-browser-mocks/BUILD.bazel | 22 ++++++++-------- .../core-plugins-browser-mocks/package.json | 3 ++- .../core-plugins-browser-mocks/tsconfig.json | 1 - .../plugins/core-plugins-browser/BUILD.bazel | 22 ++++++++-------- .../plugins/core-plugins-browser/package.json | 3 ++- .../core-plugins-browser/tsconfig.json | 1 - .../core-plugins-server-internal/BUILD.bazel | 22 ++++++++-------- .../core-plugins-server-internal/package.json | 3 ++- .../tsconfig.json | 1 - .../core-plugins-server-mocks/BUILD.bazel | 22 ++++++++-------- .../core-plugins-server-mocks/package.json | 3 ++- .../core-plugins-server-mocks/tsconfig.json | 1 - .../plugins/core-plugins-server/BUILD.bazel | 22 ++++++++-------- .../plugins/core-plugins-server/package.json | 3 ++- .../plugins/core-plugins-server/tsconfig.json | 1 - .../core-preboot-server-internal/BUILD.bazel | 22 ++++++++-------- .../core-preboot-server-internal/package.json | 3 ++- .../tsconfig.json | 1 - .../core-preboot-server-mocks/BUILD.bazel | 22 ++++++++-------- .../core-preboot-server-mocks/package.json | 3 ++- .../core-preboot-server-mocks/tsconfig.json | 1 - .../preboot/core-preboot-server/BUILD.bazel | 22 ++++++++-------- .../preboot/core-preboot-server/package.json | 3 ++- .../preboot/core-preboot-server/tsconfig.json | 1 - .../BUILD.bazel | 22 ++++++++-------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../core-rendering-browser-mocks/BUILD.bazel | 22 ++++++++-------- .../core-rendering-browser-mocks/package.json | 3 ++- .../tsconfig.json | 1 - .../BUILD.bazel | 22 ++++++++-------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../core-rendering-server-mocks/BUILD.bazel | 22 ++++++++-------- .../core-rendering-server-mocks/package.json | 3 ++- .../core-rendering-server-mocks/tsconfig.json | 1 - .../core-root-browser-internal/BUILD.bazel | 22 ++++++++-------- .../core-root-browser-internal/package.json | 3 ++- .../core-root-browser-internal/tsconfig.json | 1 - .../BUILD.bazel | 22 ++++++++-------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../BUILD.bazel | 22 ++++++++-------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../BUILD.bazel | 22 ++++++++-------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../core-saved-objects-api-server/BUILD.bazel | 22 ++++++++-------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../BUILD.bazel | 22 ++++++++-------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../BUILD.bazel | 22 ++++++++-------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../BUILD.bazel | 22 ++++++++-------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../BUILD.bazel | 22 ++++++++-------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../core-saved-objects-browser/BUILD.bazel | 22 ++++++++-------- .../core-saved-objects-browser/package.json | 3 ++- .../core-saved-objects-browser/tsconfig.json | 1 - .../core-saved-objects-common/BUILD.bazel | 22 ++++++++-------- .../core-saved-objects-common/package.json | 3 ++- .../core-saved-objects-common/tsconfig.json | 1 - .../BUILD.bazel | 22 ++++++++-------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../BUILD.bazel | 22 ++++++++-------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../BUILD.bazel | 22 ++++++++-------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../BUILD.bazel | 22 ++++++++-------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../BUILD.bazel | 22 ++++++++-------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../BUILD.bazel | 22 ++++++++-------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../core-saved-objects-server/BUILD.bazel | 22 ++++++++-------- .../core-saved-objects-server/package.json | 3 ++- .../core-saved-objects-server/tsconfig.json | 1 - .../BUILD.bazel | 22 ++++++++-------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../core-status-common-internal/BUILD.bazel | 22 ++++++++-------- .../core-status-common-internal/package.json | 3 ++- .../core-status-common-internal/tsconfig.json | 1 - .../status/core-status-common/BUILD.bazel | 22 ++++++++-------- .../status/core-status-common/package.json | 3 ++- .../status/core-status-common/tsconfig.json | 1 - .../core-status-server-internal/BUILD.bazel | 22 ++++++++-------- .../core-status-server-internal/package.json | 3 ++- .../core-status-server-internal/tsconfig.json | 1 - .../core-status-server-mocks/BUILD.bazel | 22 ++++++++-------- .../core-status-server-mocks/package.json | 3 ++- .../core-status-server-mocks/tsconfig.json | 1 - .../status/core-status-server/BUILD.bazel | 22 ++++++++-------- .../status/core-status-server/package.json | 3 ++- .../status/core-status-server/tsconfig.json | 1 - .../BUILD.bazel | 22 ++++++++-------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../BUILD.bazel | 22 ++++++++-------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../BUILD.bazel | 22 ++++++++-------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../core-test-helpers-test-utils/BUILD.bazel | 22 ++++++++-------- .../core-test-helpers-test-utils/package.json | 3 ++- .../tsconfig.json | 1 - .../core-theme-browser-internal/BUILD.bazel | 22 ++++++++-------- .../core-theme-browser-internal/package.json | 3 ++- .../core-theme-browser-internal/tsconfig.json | 1 - .../core-theme-browser-mocks/BUILD.bazel | 22 ++++++++-------- .../core-theme-browser-mocks/package.json | 3 ++- .../core-theme-browser-mocks/tsconfig.json | 1 - .../core/theme/core-theme-browser/BUILD.bazel | 22 ++++++++-------- .../theme/core-theme-browser/package.json | 3 ++- .../theme/core-theme-browser/tsconfig.json | 1 - .../BUILD.bazel | 22 ++++++++-------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../BUILD.bazel | 22 ++++++++-------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../core-ui-settings-browser/BUILD.bazel | 22 ++++++++-------- .../core-ui-settings-browser/package.json | 3 ++- .../core-ui-settings-browser/tsconfig.json | 1 - .../core-ui-settings-common/BUILD.bazel | 22 ++++++++-------- .../core-ui-settings-common/package.json | 3 ++- .../core-ui-settings-common/tsconfig.json | 1 - .../BUILD.bazel | 22 ++++++++-------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../core-ui-settings-server-mocks/BUILD.bazel | 22 ++++++++-------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../core-ui-settings-server/BUILD.bazel | 22 ++++++++-------- .../core-ui-settings-server/package.json | 3 ++- .../core-ui-settings-server/tsconfig.json | 1 - .../BUILD.bazel | 22 ++++++++-------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../BUILD.bazel | 22 ++++++++-------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../core-usage-data-server-mocks/BUILD.bazel | 22 ++++++++-------- .../core-usage-data-server-mocks/package.json | 3 ++- .../tsconfig.json | 1 - .../core-usage-data-server/BUILD.bazel | 22 ++++++++-------- .../core-usage-data-server/package.json | 3 ++- .../core-usage-data-server/tsconfig.json | 1 - packages/home/sample_data_card/BUILD.bazel | 21 ++++++++-------- packages/home/sample_data_card/package.json | 3 ++- packages/home/sample_data_tab/BUILD.bazel | 22 ++++++++-------- packages/home/sample_data_tab/package.json | 3 ++- packages/home/sample_data_tab/tsconfig.json | 1 - packages/home/sample_data_types/tsconfig.json | 1 - packages/kbn-ace/BUILD.bazel | 24 ++++++++---------- packages/kbn-ace/package.json | 3 ++- packages/kbn-ace/tsconfig.json | 1 - packages/kbn-alerts/BUILD.bazel | 24 ++++++++---------- packages/kbn-alerts/package.json | 3 ++- packages/kbn-alerts/tsconfig.json | 1 - .../kbn-ambient-storybook-types/tsconfig.json | 1 - packages/kbn-ambient-ui-types/tsconfig.json | 1 - packages/kbn-analytics/BUILD.bazel | 24 ++++++++---------- packages/kbn-analytics/package.json | 3 ++- packages/kbn-analytics/tsconfig.json | 1 - packages/kbn-apm-config-loader/BUILD.bazel | 24 ++++++++---------- packages/kbn-apm-config-loader/package.json | 3 ++- packages/kbn-apm-config-loader/tsconfig.json | 1 - packages/kbn-apm-synthtrace/BUILD.bazel | 24 ++++++++---------- packages/kbn-apm-synthtrace/package.json | 3 ++- packages/kbn-apm-synthtrace/tsconfig.json | 1 - packages/kbn-apm-utils/BUILD.bazel | 24 ++++++++---------- packages/kbn-apm-utils/package.json | 3 ++- packages/kbn-apm-utils/tsconfig.json | 1 - packages/kbn-axe-config/BUILD.bazel | 22 ++++++++-------- packages/kbn-axe-config/package.json | 3 ++- packages/kbn-axe-config/tsconfig.json | 1 - packages/kbn-bazel-packages/BUILD.bazel | 22 ++++++++-------- packages/kbn-bazel-packages/package.json | 3 ++- packages/kbn-bazel-packages/tsconfig.json | 1 - packages/kbn-bazel-runner/BUILD.bazel | 22 ++++++++-------- packages/kbn-bazel-runner/package.json | 3 ++- packages/kbn-bazel-runner/tsconfig.json | 1 - packages/kbn-cases-components/BUILD.bazel | 22 ++++++++-------- packages/kbn-cases-components/package.json | 3 ++- packages/kbn-cases-components/tsconfig.json | 1 - packages/kbn-chart-icons/BUILD.bazel | 22 ++++++++-------- packages/kbn-chart-icons/package.json | 3 ++- packages/kbn-chart-icons/tsconfig.json | 1 - packages/kbn-ci-stats-core/BUILD.bazel | 22 ++++++++-------- packages/kbn-ci-stats-core/package.json | 3 ++- packages/kbn-ci-stats-core/tsconfig.json | 1 - .../BUILD.bazel | 22 ++++++++-------- .../package.json | 3 ++- .../tsconfig.json | 1 - packages/kbn-ci-stats-reporter/BUILD.bazel | 22 ++++++++-------- packages/kbn-ci-stats-reporter/package.json | 3 ++- packages/kbn-ci-stats-reporter/tsconfig.json | 1 - packages/kbn-cli-dev-mode/BUILD.bazel | 24 ++++++++---------- packages/kbn-cli-dev-mode/package.json | 3 ++- packages/kbn-cli-dev-mode/tsconfig.json | 1 - packages/kbn-coloring/BUILD.bazel | 22 ++++++++-------- packages/kbn-coloring/package.json | 3 ++- packages/kbn-coloring/tsconfig.json | 1 - packages/kbn-config-mocks/BUILD.bazel | 22 ++++++++-------- packages/kbn-config-mocks/package.json | 3 ++- packages/kbn-config-mocks/tsconfig.json | 1 - packages/kbn-config-schema/BUILD.bazel | 24 ++++++++---------- packages/kbn-config-schema/package.json | 3 ++- packages/kbn-config-schema/tsconfig.json | 1 - packages/kbn-config/BUILD.bazel | 24 ++++++++---------- packages/kbn-config/package.json | 3 ++- packages/kbn-config/tsconfig.json | 1 - packages/kbn-crypto-browser/BUILD.bazel | 21 ++++++++-------- packages/kbn-crypto-browser/package.json | 3 ++- packages/kbn-crypto/BUILD.bazel | 24 ++++++++---------- packages/kbn-crypto/package.json | 3 ++- packages/kbn-crypto/tsconfig.json | 1 - packages/kbn-datemath/BUILD.bazel | 24 ++++++++---------- packages/kbn-datemath/package.json | 3 ++- packages/kbn-datemath/tsconfig.json | 1 - packages/kbn-dev-cli-errors/BUILD.bazel | 22 ++++++++-------- packages/kbn-dev-cli-errors/package.json | 3 ++- packages/kbn-dev-cli-errors/tsconfig.json | 1 - packages/kbn-dev-cli-runner/BUILD.bazel | 22 ++++++++-------- packages/kbn-dev-cli-runner/package.json | 3 ++- packages/kbn-dev-cli-runner/tsconfig.json | 1 - packages/kbn-dev-proc-runner/BUILD.bazel | 22 ++++++++-------- packages/kbn-dev-proc-runner/package.json | 3 ++- packages/kbn-dev-proc-runner/tsconfig.json | 1 - packages/kbn-dev-utils/BUILD.bazel | 24 ++++++++---------- packages/kbn-dev-utils/package.json | 3 ++- packages/kbn-dev-utils/tsconfig.json | 1 - packages/kbn-doc-links/BUILD.bazel | 24 ++++++++---------- packages/kbn-doc-links/package.json | 3 ++- packages/kbn-doc-links/tsconfig.json | 1 - packages/kbn-docs-utils/BUILD.bazel | 24 ++++++++---------- packages/kbn-docs-utils/package.json | 3 ++- packages/kbn-docs-utils/tsconfig.json | 1 - packages/kbn-ebt-tools/BUILD.bazel | 24 ++++++++---------- packages/kbn-ebt-tools/package.json | 3 ++- packages/kbn-ebt-tools/tsconfig.json | 1 - packages/kbn-es-archiver/BUILD.bazel | 24 ++++++++---------- packages/kbn-es-archiver/package.json | 3 ++- packages/kbn-es-archiver/tsconfig.json | 1 - packages/kbn-es-errors/BUILD.bazel | 21 ++++++++-------- packages/kbn-es-errors/package.json | 3 ++- packages/kbn-es-query/BUILD.bazel | 24 ++++++++---------- packages/kbn-es-query/package.json | 3 ++- packages/kbn-es-query/tsconfig.json | 1 - packages/kbn-es-types/BUILD.bazel | 22 ++++++++-------- packages/kbn-es-types/package.json | 3 ++- packages/kbn-es-types/tsconfig.json | 1 - .../kbn-eslint-plugin-disable/BUILD.bazel | 22 ++++++++-------- .../kbn-eslint-plugin-disable/package.json | 3 ++- .../kbn-eslint-plugin-disable/tsconfig.json | 1 - .../kbn-eslint-plugin-imports/BUILD.bazel | 22 ++++++++-------- .../kbn-eslint-plugin-imports/package.json | 3 ++- .../kbn-eslint-plugin-imports/tsconfig.json | 1 - .../kbn-failed-test-reporter-cli/BUILD.bazel | 22 ++++++++-------- .../kbn-failed-test-reporter-cli/package.json | 3 ++- .../tsconfig.json | 1 - packages/kbn-field-types/BUILD.bazel | 24 ++++++++---------- packages/kbn-field-types/package.json | 3 ++- packages/kbn-field-types/tsconfig.json | 1 - .../kbn-find-used-node-modules/BUILD.bazel | 22 ++++++++-------- .../kbn-find-used-node-modules/package.json | 3 ++- .../kbn-find-used-node-modules/tsconfig.json | 1 - .../BUILD.bazel | 22 ++++++++-------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../kbn-ftr-screenshot-filename/BUILD.bazel | 22 ++++++++-------- .../kbn-ftr-screenshot-filename/package.json | 3 ++- .../kbn-ftr-screenshot-filename/tsconfig.json | 1 - packages/kbn-generate/BUILD.bazel | 24 ++++++++---------- packages/kbn-generate/package.json | 3 ++- packages/kbn-generate/tsconfig.json | 1 - packages/kbn-get-repo-files/BUILD.bazel | 22 ++++++++-------- packages/kbn-get-repo-files/package.json | 3 ++- packages/kbn-get-repo-files/tsconfig.json | 1 - packages/kbn-guided-onboarding/BUILD.bazel | 22 ++++++++-------- packages/kbn-guided-onboarding/package.json | 3 ++- packages/kbn-guided-onboarding/tsconfig.json | 1 - packages/kbn-handlebars/BUILD.bazel | 24 ++++++++---------- packages/kbn-handlebars/tsconfig.json | 1 - packages/kbn-hapi-mocks/BUILD.bazel | 22 ++++++++-------- packages/kbn-hapi-mocks/package.json | 3 ++- packages/kbn-hapi-mocks/tsconfig.json | 1 - packages/kbn-i18n-react/BUILD.bazel | 24 ++++++++---------- packages/kbn-i18n-react/package.json | 3 ++- packages/kbn-i18n-react/tsconfig.json | 1 - packages/kbn-i18n/BUILD.bazel | 24 ++++++++---------- packages/kbn-i18n/package.json | 3 ++- packages/kbn-i18n/tsconfig.json | 1 - packages/kbn-import-resolver/BUILD.bazel | 22 ++++++++-------- packages/kbn-import-resolver/package.json | 3 ++- packages/kbn-import-resolver/tsconfig.json | 1 - packages/kbn-interpreter/BUILD.bazel | 24 ++++++++---------- packages/kbn-interpreter/package.json | 3 ++- packages/kbn-interpreter/tsconfig.json | 1 - packages/kbn-io-ts-utils/BUILD.bazel | 24 ++++++++---------- packages/kbn-io-ts-utils/package.json | 3 ++- packages/kbn-io-ts-utils/tsconfig.json | 1 - packages/kbn-jest-serializers/BUILD.bazel | 22 ++++++++-------- packages/kbn-jest-serializers/package.json | 3 ++- packages/kbn-jest-serializers/tsconfig.json | 1 - packages/kbn-journeys/BUILD.bazel | 22 ++++++++-------- packages/kbn-journeys/package.json | 3 ++- packages/kbn-journeys/tsconfig.json | 1 - .../kbn-kibana-manifest-schema/BUILD.bazel | 22 ++++++++-------- .../kbn-kibana-manifest-schema/package.json | 3 ++- .../kbn-kibana-manifest-schema/tsconfig.json | 1 - .../BUILD.bazel | 24 ++++++++---------- .../package.json | 3 ++- .../tsconfig.json | 1 - packages/kbn-logging-mocks/BUILD.bazel | 24 ++++++++---------- packages/kbn-logging-mocks/package.json | 3 ++- packages/kbn-logging-mocks/tsconfig.json | 1 - packages/kbn-logging/BUILD.bazel | 24 ++++++++---------- packages/kbn-logging/package.json | 3 ++- packages/kbn-logging/tsconfig.json | 1 - .../kbn-managed-vscode-config-cli/BUILD.bazel | 22 ++++++++-------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../kbn-managed-vscode-config/BUILD.bazel | 22 ++++++++-------- .../kbn-managed-vscode-config/package.json | 3 ++- .../kbn-managed-vscode-config/tsconfig.json | 1 - packages/kbn-mapbox-gl/BUILD.bazel | 24 ++++++++---------- packages/kbn-mapbox-gl/package.json | 3 ++- packages/kbn-mapbox-gl/tsconfig.json | 1 - packages/kbn-monaco/BUILD.bazel | 24 ++++++++---------- packages/kbn-monaco/package.json | 3 ++- packages/kbn-monaco/tsconfig.json | 1 - .../kbn-optimizer-webpack-helpers/BUILD.bazel | 22 ++++++++-------- .../package.json | 3 ++- .../tsconfig.json | 1 - packages/kbn-optimizer/BUILD.bazel | 24 ++++++++---------- packages/kbn-optimizer/package.json | 3 ++- packages/kbn-optimizer/tsconfig.json | 1 - packages/kbn-osquery-io-ts-types/BUILD.bazel | 22 ++++++++-------- packages/kbn-osquery-io-ts-types/package.json | 3 ++- .../kbn-osquery-io-ts-types/tsconfig.json | 1 - .../BUILD.bazel | 22 ++++++++-------- .../package.json | 3 ++- .../tsconfig.json | 1 - packages/kbn-plugin-discovery/BUILD.bazel | 22 ++++++++-------- packages/kbn-plugin-discovery/package.json | 3 ++- packages/kbn-plugin-discovery/tsconfig.json | 1 - packages/kbn-plugin-generator/BUILD.bazel | 24 ++++++++---------- packages/kbn-plugin-generator/package.json | 3 ++- packages/kbn-plugin-generator/tsconfig.json | 1 - packages/kbn-plugin-helpers/BUILD.bazel | 24 ++++++++---------- packages/kbn-plugin-helpers/package.json | 3 ++- packages/kbn-plugin-helpers/tsconfig.json | 1 - packages/kbn-react-field/BUILD.bazel | 24 ++++++++---------- packages/kbn-react-field/package.json | 3 ++- packages/kbn-react-field/tsconfig.json | 1 - .../BUILD.bazel | 22 ++++++++-------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../kbn-repo-source-classifier/BUILD.bazel | 22 ++++++++-------- .../kbn-repo-source-classifier/package.json | 3 ++- .../kbn-repo-source-classifier/tsconfig.json | 1 - packages/kbn-rule-data-utils/BUILD.bazel | 24 ++++++++---------- packages/kbn-rule-data-utils/package.json | 3 ++- packages/kbn-rule-data-utils/tsconfig.json | 1 - packages/kbn-safer-lodash-set/package.json | 2 +- .../BUILD.bazel | 25 ++++++++----------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../kbn-securitysolution-es-utils/BUILD.bazel | 24 ++++++++---------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../BUILD.bazel | 22 ++++++++-------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../BUILD.bazel | 24 ++++++++---------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../BUILD.bazel | 24 ++++++++---------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../BUILD.bazel | 24 ++++++++---------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../BUILD.bazel | 24 ++++++++---------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../BUILD.bazel | 24 ++++++++---------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../kbn-securitysolution-list-api/BUILD.bazel | 24 ++++++++---------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../BUILD.bazel | 24 ++++++++---------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../BUILD.bazel | 24 ++++++++---------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../BUILD.bazel | 25 ++++++++----------- .../package.json | 3 ++- .../tsconfig.json | 1 - .../kbn-securitysolution-rules/BUILD.bazel | 24 ++++++++---------- .../kbn-securitysolution-rules/package.json | 3 ++- .../kbn-securitysolution-rules/tsconfig.json | 1 - .../kbn-securitysolution-t-grid/BUILD.bazel | 24 ++++++++---------- .../kbn-securitysolution-t-grid/package.json | 3 ++- .../kbn-securitysolution-t-grid/tsconfig.json | 1 - .../kbn-securitysolution-utils/BUILD.bazel | 24 ++++++++---------- .../kbn-securitysolution-utils/package.json | 3 ++- .../kbn-securitysolution-utils/tsconfig.json | 1 - packages/kbn-server-http-tools/BUILD.bazel | 24 ++++++++---------- packages/kbn-server-http-tools/package.json | 3 ++- packages/kbn-server-http-tools/tsconfig.json | 1 - .../kbn-server-route-repository/BUILD.bazel | 25 ++++++++----------- .../kbn-server-route-repository/package.json | 3 ++- .../kbn-server-route-repository/tsconfig.json | 1 - packages/kbn-shared-svg/BUILD.bazel | 22 ++++++++-------- packages/kbn-shared-svg/package.json | 3 ++- packages/kbn-shared-svg/tsconfig.json | 1 - packages/kbn-shared-ux-utility/BUILD.bazel | 22 ++++++++-------- packages/kbn-shared-ux-utility/package.json | 3 ++- packages/kbn-shared-ux-utility/tsconfig.json | 1 - packages/kbn-some-dev-log/BUILD.bazel | 22 ++++++++-------- packages/kbn-some-dev-log/package.json | 3 ++- packages/kbn-some-dev-log/tsconfig.json | 1 - packages/kbn-sort-package-json/BUILD.bazel | 22 ++++++++-------- packages/kbn-sort-package-json/package.json | 3 ++- packages/kbn-sort-package-json/tsconfig.json | 1 - packages/kbn-std/BUILD.bazel | 24 ++++++++---------- packages/kbn-std/package.json | 3 ++- packages/kbn-std/tsconfig.json | 1 - packages/kbn-stdio-dev-helpers/BUILD.bazel | 22 ++++++++-------- packages/kbn-stdio-dev-helpers/package.json | 3 ++- packages/kbn-stdio-dev-helpers/tsconfig.json | 1 - packages/kbn-storybook/BUILD.bazel | 25 ++++++++----------- packages/kbn-storybook/package.json | 3 ++- packages/kbn-storybook/tsconfig.json | 1 - .../kbn-synthetic-package-map/tsconfig.json | 1 - packages/kbn-telemetry-tools/BUILD.bazel | 24 ++++++++---------- packages/kbn-telemetry-tools/package.json | 3 ++- packages/kbn-telemetry-tools/tsconfig.json | 1 - packages/kbn-test-jest-helpers/BUILD.bazel | 24 ++++++++---------- packages/kbn-test-jest-helpers/package.json | 3 ++- packages/kbn-test-jest-helpers/tsconfig.json | 1 - packages/kbn-test-subj-selector/BUILD.bazel | 22 ++++++++-------- packages/kbn-test-subj-selector/package.json | 3 ++- packages/kbn-test-subj-selector/tsconfig.json | 1 - packages/kbn-test/BUILD.bazel | 24 ++++++++---------- packages/kbn-test/package.json | 3 ++- packages/kbn-test/tsconfig.json | 1 - packages/kbn-tooling-log/BUILD.bazel | 22 ++++++++-------- packages/kbn-tooling-log/package.json | 3 ++- packages/kbn-tooling-log/tsconfig.json | 1 - packages/kbn-type-summarizer-cli/BUILD.bazel | 22 ++++++++-------- packages/kbn-type-summarizer-cli/package.json | 3 ++- .../kbn-type-summarizer-cli/tsconfig.json | 1 - packages/kbn-type-summarizer-core/BUILD.bazel | 22 ++++++++-------- .../kbn-type-summarizer-core/package.json | 3 ++- .../kbn-type-summarizer-core/tsconfig.json | 1 - packages/kbn-type-summarizer/BUILD.bazel | 22 ++++++++-------- packages/kbn-type-summarizer/package.json | 3 ++- packages/kbn-type-summarizer/tsconfig.json | 1 - .../kbn-typed-react-router-config/BUILD.bazel | 24 ++++++++---------- .../package.json | 3 ++- .../tsconfig.json | 1 - packages/kbn-ui-shared-deps-npm/BUILD.bazel | 24 ++++++++---------- packages/kbn-ui-shared-deps-npm/package.json | 3 ++- packages/kbn-ui-shared-deps-npm/tsconfig.json | 1 - packages/kbn-ui-shared-deps-src/BUILD.bazel | 24 ++++++++---------- packages/kbn-ui-shared-deps-src/package.json | 3 ++- packages/kbn-ui-shared-deps-src/tsconfig.json | 1 - packages/kbn-ui-theme/BUILD.bazel | 24 ++++++++---------- packages/kbn-ui-theme/package.json | 3 ++- packages/kbn-ui-theme/tsconfig.json | 1 - .../kbn-user-profile-components/BUILD.bazel | 24 ++++++++---------- .../kbn-user-profile-components/tsconfig.json | 1 - packages/kbn-utility-types-jest/BUILD.bazel | 24 ++++++++---------- packages/kbn-utility-types-jest/package.json | 3 ++- packages/kbn-utility-types-jest/tsconfig.json | 1 - packages/kbn-utility-types/BUILD.bazel | 24 ++++++++---------- packages/kbn-utility-types/package.json | 3 ++- packages/kbn-utility-types/tsconfig.json | 1 - packages/kbn-utils/BUILD.bazel | 24 ++++++++---------- packages/kbn-utils/package.json | 3 ++- packages/kbn-utils/tsconfig.json | 1 - packages/kbn-yarn-lock-validator/BUILD.bazel | 22 ++++++++-------- packages/kbn-yarn-lock-validator/package.json | 3 ++- .../kbn-yarn-lock-validator/tsconfig.json | 1 - .../shared-ux/avatar/solution/BUILD.bazel | 22 ++++++++-------- .../shared-ux/avatar/solution/package.json | 3 ++- .../shared-ux/avatar/solution/tsconfig.json | 1 - .../avatar/user_profile/impl/BUILD.bazel | 22 ++++++++-------- .../avatar/user_profile/impl/package.json | 3 ++- .../avatar/user_profile/impl/tsconfig.json | 1 - .../button/exit_full_screen/impl/BUILD.bazel | 22 ++++++++-------- .../button/exit_full_screen/impl/package.json | 3 ++- .../exit_full_screen/impl/tsconfig.json | 1 - .../button/exit_full_screen/mocks/BUILD.bazel | 22 ++++++++-------- .../exit_full_screen/mocks/package.json | 3 ++- .../exit_full_screen/mocks/tsconfig.json | 1 - .../exit_full_screen/types/tsconfig.json | 1 - packages/shared-ux/button_toolbar/BUILD.bazel | 22 ++++++++-------- .../shared-ux/button_toolbar/package.json | 3 ++- .../shared-ux/button_toolbar/tsconfig.json | 1 - .../shared-ux/card/no_data/impl/BUILD.bazel | 22 ++++++++-------- .../shared-ux/card/no_data/impl/package.json | 3 ++- .../shared-ux/card/no_data/impl/tsconfig.json | 1 - .../shared-ux/card/no_data/mocks/BUILD.bazel | 22 ++++++++-------- .../shared-ux/card/no_data/mocks/package.json | 3 ++- .../card/no_data/mocks/tsconfig.json | 1 - .../card/no_data/types/tsconfig.json | 1 - .../link/redirect_app/impl/BUILD.bazel | 22 ++++++++-------- .../link/redirect_app/impl/package.json | 3 ++- .../link/redirect_app/impl/tsconfig.json | 1 - .../link/redirect_app/mocks/BUILD.bazel | 22 ++++++++-------- .../link/redirect_app/mocks/package.json | 3 ++- .../link/redirect_app/mocks/tsconfig.json | 1 - .../link/redirect_app/types/tsconfig.json | 1 - packages/shared-ux/markdown/impl/BUILD.bazel | 22 ++++++++-------- packages/shared-ux/markdown/impl/package.json | 3 ++- .../shared-ux/markdown/impl/tsconfig.json | 1 - packages/shared-ux/markdown/mocks/BUILD.bazel | 22 ++++++++-------- .../shared-ux/markdown/mocks/package.json | 3 ++- .../shared-ux/markdown/mocks/tsconfig.json | 1 - .../shared-ux/markdown/types/package.json | 3 ++- .../shared-ux/markdown/types/tsconfig.json | 1 - .../page/analytics_no_data/impl/BUILD.bazel | 22 ++++++++-------- .../page/analytics_no_data/impl/package.json | 3 ++- .../page/analytics_no_data/impl/tsconfig.json | 1 - .../page/analytics_no_data/mocks/BUILD.bazel | 22 ++++++++-------- .../page/analytics_no_data/mocks/package.json | 3 ++- .../analytics_no_data/mocks/tsconfig.json | 1 - .../analytics_no_data/types/tsconfig.json | 1 - .../page/kibana_no_data/impl/BUILD.bazel | 22 ++++++++-------- .../page/kibana_no_data/impl/package.json | 3 ++- .../page/kibana_no_data/impl/tsconfig.json | 1 - .../page/kibana_no_data/mocks/BUILD.bazel | 22 ++++++++-------- .../page/kibana_no_data/mocks/package.json | 3 ++- .../page/kibana_no_data/mocks/tsconfig.json | 1 - .../page/kibana_no_data/types/tsconfig.json | 1 - .../page/kibana_template/impl/BUILD.bazel | 22 ++++++++-------- .../page/kibana_template/impl/package.json | 3 ++- .../page/kibana_template/impl/tsconfig.json | 1 - .../page/kibana_template/mocks/BUILD.bazel | 22 ++++++++-------- .../page/kibana_template/mocks/package.json | 3 ++- .../page/kibana_template/mocks/tsconfig.json | 1 - .../page/kibana_template/types/tsconfig.json | 1 - .../shared-ux/page/no_data/impl/BUILD.bazel | 22 ++++++++-------- .../shared-ux/page/no_data/impl/package.json | 3 ++- .../shared-ux/page/no_data/impl/tsconfig.json | 1 - .../shared-ux/page/no_data/mocks/BUILD.bazel | 22 ++++++++-------- .../shared-ux/page/no_data/mocks/package.json | 3 ++- .../page/no_data/mocks/tsconfig.json | 1 - .../page/no_data/types/tsconfig.json | 1 - .../page/no_data_config/impl/BUILD.bazel | 22 ++++++++-------- .../page/no_data_config/impl/package.json | 3 ++- .../page/no_data_config/impl/tsconfig.json | 1 - .../page/no_data_config/mocks/BUILD.bazel | 22 ++++++++-------- .../page/no_data_config/mocks/package.json | 3 ++- .../page/no_data_config/mocks/tsconfig.json | 1 - .../page/no_data_config/types/tsconfig.json | 1 - .../shared-ux/page/solution_nav/BUILD.bazel | 21 ++++++++-------- .../shared-ux/page/solution_nav/package.json | 3 ++- .../prompt/no_data_views/impl/BUILD.bazel | 22 ++++++++-------- .../prompt/no_data_views/impl/package.json | 3 ++- .../prompt/no_data_views/impl/tsconfig.json | 1 - .../prompt/no_data_views/mocks/BUILD.bazel | 22 ++++++++-------- .../prompt/no_data_views/mocks/package.json | 3 ++- .../prompt/no_data_views/mocks/tsconfig.json | 1 - .../prompt/no_data_views/types/tsconfig.json | 1 - packages/shared-ux/router/impl/BUILD.bazel | 22 ++++++++-------- packages/shared-ux/router/impl/package.json | 3 ++- packages/shared-ux/router/impl/tsconfig.json | 1 - packages/shared-ux/router/mocks/BUILD.bazel | 22 ++++++++-------- packages/shared-ux/router/mocks/package.json | 3 ++- packages/shared-ux/router/mocks/tsconfig.json | 1 - packages/shared-ux/router/types/tsconfig.json | 1 - .../shared-ux/storybook/config/BUILD.bazel | 22 ++++++++-------- .../shared-ux/storybook/config/package.json | 3 ++- .../shared-ux/storybook/config/tsconfig.json | 1 - packages/shared-ux/storybook/mock/BUILD.bazel | 22 ++++++++-------- .../shared-ux/storybook/mock/package.json | 3 ++- .../shared-ux/storybook/mock/tsconfig.json | 1 - src/plugins/advanced_settings/tsconfig.json | 3 +-- src/plugins/bfetch/tsconfig.json | 3 +-- .../expression_gauge/tsconfig.json | 3 +-- .../expression_heatmap/tsconfig.json | 3 +-- .../expression_legacy_metric/tsconfig.json | 3 +-- .../expression_metric/tsconfig.json | 3 +-- .../expression_partition_vis/tsconfig.json | 3 +-- .../expression_tagcloud/tsconfig.json | 3 +-- .../expression_xy/tsconfig.json | 3 +-- src/plugins/chart_expressions/tsconfig.json | 2 +- src/plugins/charts/tsconfig.json | 3 +-- src/plugins/console/tsconfig.json | 3 +-- src/plugins/controls/tsconfig.json | 3 +-- src/plugins/custom_integrations/tsconfig.json | 3 +-- src/plugins/dashboard/tsconfig.json | 3 +-- src/plugins/data/tsconfig.json | 3 +-- src/plugins/data_view_editor/tsconfig.json | 3 +-- .../data_view_field_editor/tsconfig.json | 3 +-- .../data_view_management/tsconfig.json | 3 +-- src/plugins/data_views/tsconfig.json | 3 +-- src/plugins/dev_tools/tsconfig.json | 3 +-- src/plugins/discover/tsconfig.json | 3 +-- src/plugins/embeddable/tsconfig.json | 3 +-- src/plugins/es_ui_shared/tsconfig.json | 3 +-- src/plugins/event_annotation/tsconfig.json | 3 +-- src/plugins/expression_error/tsconfig.json | 3 +-- src/plugins/expression_image/tsconfig.json | 3 +-- src/plugins/expression_metric/tsconfig.json | 3 +-- .../expression_repeat_image/tsconfig.json | 3 +-- .../expression_reveal_image/tsconfig.json | 3 +-- src/plugins/expression_shape/tsconfig.json | 3 +-- src/plugins/expressions/tsconfig.json | 3 +-- src/plugins/field_formats/tsconfig.json | 3 +-- src/plugins/guided_onboarding/tsconfig.json | 3 +-- src/plugins/home/tsconfig.json | 3 +-- src/plugins/input_control_vis/tsconfig.json | 3 +-- src/plugins/inspector/tsconfig.json | 3 +-- src/plugins/interactive_setup/tsconfig.json | 3 +-- src/plugins/kibana_overview/tsconfig.json | 3 +-- src/plugins/kibana_react/tsconfig.json | 3 +-- .../kibana_usage_collection/tsconfig.json | 3 +-- src/plugins/kibana_utils/tsconfig.json | 3 +-- src/plugins/management/tsconfig.json | 3 +-- src/plugins/maps_ems/tsconfig.json | 3 +-- src/plugins/navigation/tsconfig.json | 3 +-- src/plugins/newsfeed/tsconfig.json | 3 +-- src/plugins/presentation_util/tsconfig.json | 3 +-- src/plugins/saved_objects/tsconfig.json | 3 +-- .../saved_objects_finder/tsconfig.json | 3 +-- .../saved_objects_management/tsconfig.json | 3 +-- .../saved_objects_tagging_oss/tsconfig.json | 3 +-- src/plugins/saved_search/tsconfig.json | 3 +-- src/plugins/screenshot_mode/tsconfig.json | 3 +-- src/plugins/share/tsconfig.json | 3 +-- src/plugins/telemetry/tsconfig.json | 3 +-- .../tsconfig.json | 3 +-- .../tsconfig.json | 3 +-- src/plugins/ui_actions/tsconfig.json | 3 +-- src/plugins/ui_actions_enhanced/tsconfig.json | 3 +-- src/plugins/unified_field_list/tsconfig.json | 3 +-- src/plugins/unified_histogram/tsconfig.json | 3 +-- src/plugins/unified_search/tsconfig.json | 3 +-- src/plugins/url_forwarding/tsconfig.json | 3 +-- src/plugins/usage_collection/tsconfig.json | 3 +-- src/plugins/vis_default_editor/tsconfig.json | 3 +-- src/plugins/vis_type_markdown/tsconfig.json | 3 +-- src/plugins/vis_types/gauge/tsconfig.json | 3 +-- src/plugins/vis_types/heatmap/tsconfig.json | 3 +-- src/plugins/vis_types/metric/tsconfig.json | 3 +-- src/plugins/vis_types/pie/tsconfig.json | 3 +-- src/plugins/vis_types/table/tsconfig.json | 3 +-- src/plugins/vis_types/tagcloud/tsconfig.json | 3 +-- src/plugins/vis_types/timelion/tsconfig.json | 3 +-- .../vis_types/timeseries/tsconfig.json | 3 +-- src/plugins/vis_types/vega/tsconfig.json | 3 +-- src/plugins/vis_types/vislib/tsconfig.json | 3 +-- src/plugins/vis_types/xy/tsconfig.json | 3 +-- src/plugins/visualizations/tsconfig.json | 3 +-- .../analytics_ftr_helpers/tsconfig.json | 2 +- .../plugins/analytics_plugin_a/tsconfig.json | 2 +- .../fixtures/test_endpoints/tsconfig.json | 2 +- .../plugins/kbn_tp_run_pipeline/tsconfig.json | 2 +- .../tsconfig.json | 2 +- .../plugins/app_link_test/tsconfig.json | 2 +- .../plugins/core_app_status/tsconfig.json | 3 +-- .../plugins/core_history_block/tsconfig.json | 2 +- .../plugins/core_http/tsconfig.json | 2 +- .../plugins/core_plugin_a/tsconfig.json | 2 +- .../core_plugin_appleave/tsconfig.json | 2 +- .../plugins/core_plugin_b/tsconfig.json | 2 +- .../core_plugin_chromeless/tsconfig.json | 2 +- .../core_plugin_deep_links/tsconfig.json | 2 +- .../core_plugin_deprecations/tsconfig.json | 2 +- .../tsconfig.json | 2 +- .../core_plugin_helpmenu/tsconfig.json | 2 +- .../core_plugin_route_timeouts/tsconfig.json | 2 +- .../core_plugin_static_assets/tsconfig.json | 2 +- .../core_provider_plugin/tsconfig.json | 3 +-- .../plugins/data_search/tsconfig.json | 2 +- .../elasticsearch_client_plugin/tsconfig.json | 2 +- .../plugins/index_patterns/tsconfig.json | 2 +- .../kbn_sample_panel_action/tsconfig.json | 2 +- .../plugins/kbn_top_nav/tsconfig.json | 2 +- .../tsconfig.json | 2 +- .../management_test_plugin/tsconfig.json | 2 +- .../plugins/rendering_plugin/tsconfig.json | 2 +- .../tsconfig.json | 2 +- .../tsconfig.json | 2 +- .../saved_objects_hidden_type/tsconfig.json | 2 +- .../session_notifications/tsconfig.json | 2 +- .../plugins/telemetry/tsconfig.json | 2 +- .../plugins/ui_settings_plugin/tsconfig.json | 2 +- .../plugins/usage_collection/tsconfig.json | 2 +- .../plugins/status_plugin_a/tsconfig.json | 2 +- .../plugins/status_plugin_b/tsconfig.json | 2 +- test/tsconfig.json | 2 +- tsconfig.json | 2 +- .../examples/alerting_example/tsconfig.json | 2 +- .../embedded_lens_example/tsconfig.json | 2 +- .../exploratory_view_example/tsconfig.json | 2 +- x-pack/examples/files_example/tsconfig.json | 2 +- .../examples/reporting_example/tsconfig.json | 2 +- .../screenshotting_example/tsconfig.json | 2 +- .../testing_embedded_lens/tsconfig.json | 2 +- .../tsconfig.json | 2 +- .../tsconfig.json | 2 +- .../tsconfig.json | 2 +- .../triggers_actions_ui_example/tsconfig.json | 2 +- .../tsconfig.json | 2 +- x-pack/packages/ml/agg_utils/BUILD.bazel | 22 ++++++++-------- x-pack/packages/ml/agg_utils/package.json | 3 ++- x-pack/packages/ml/agg_utils/tsconfig.json | 1 - .../packages/ml/aiops_components/BUILD.bazel | 21 ++++++++-------- .../packages/ml/aiops_components/package.json | 3 ++- x-pack/packages/ml/aiops_utils/BUILD.bazel | 22 ++++++++-------- x-pack/packages/ml/aiops_utils/package.json | 3 ++- x-pack/packages/ml/aiops_utils/tsconfig.json | 1 - .../ml/is_populated_object/BUILD.bazel | 22 ++++++++-------- .../ml/is_populated_object/package.json | 3 ++- .../ml/is_populated_object/tsconfig.json | 1 - x-pack/packages/ml/string_hash/BUILD.bazel | 22 ++++++++-------- x-pack/packages/ml/string_hash/package.json | 3 ++- x-pack/packages/ml/string_hash/tsconfig.json | 1 - x-pack/plugins/actions/tsconfig.json | 3 +-- x-pack/plugins/aiops/tsconfig.json | 3 +-- x-pack/plugins/alerting/tsconfig.json | 3 +-- x-pack/plugins/apm/ftr_e2e/tsconfig.json | 2 +- x-pack/plugins/apm/tsconfig.json | 3 +-- x-pack/plugins/banners/tsconfig.json | 3 +-- x-pack/plugins/canvas/tsconfig.json | 3 +-- x-pack/plugins/cases/tsconfig.json | 3 +-- x-pack/plugins/cloud/tsconfig.json | 3 +-- .../cloud_chat/tsconfig.json | 3 +-- .../cloud_experiments/tsconfig.json | 3 +-- .../cloud_full_story/tsconfig.json | 3 +-- .../cloud_gain_sight/tsconfig.json | 3 +-- .../cloud_links/tsconfig.json | 3 +-- .../cloud_security_posture/tsconfig.json | 3 +-- .../cross_cluster_replication/tsconfig.json | 3 +-- .../plugins/dashboard_enhanced/tsconfig.json | 3 +-- x-pack/plugins/data_visualizer/tsconfig.json | 3 +-- .../plugins/discover_enhanced/tsconfig.json | 3 +-- .../drilldowns/url_drilldown/tsconfig.json | 3 +-- .../plugins/embeddable_enhanced/tsconfig.json | 3 +-- .../encrypted_saved_objects/tsconfig.json | 3 +-- .../app_search/cypress/tsconfig.json | 2 +- .../cypress/tsconfig.json | 2 +- .../applications/shared/cypress/tsconfig.json | 2 +- .../workplace_search/cypress/tsconfig.json | 2 +- .../plugins/enterprise_search/tsconfig.json | 3 +-- x-pack/plugins/event_log/tsconfig.json | 3 +-- x-pack/plugins/features/tsconfig.json | 3 +-- x-pack/plugins/file_upload/tsconfig.json | 3 +-- x-pack/plugins/files/tsconfig.json | 3 +-- x-pack/plugins/fleet/tsconfig.json | 3 +-- x-pack/plugins/global_search/tsconfig.json | 3 +-- .../plugins/global_search_bar/tsconfig.json | 3 +-- .../global_search_providers/tsconfig.json | 3 +-- x-pack/plugins/graph/tsconfig.json | 3 +-- x-pack/plugins/grokdebugger/tsconfig.json | 3 +-- .../index_lifecycle_management/tsconfig.json | 3 +-- x-pack/plugins/index_management/tsconfig.json | 3 +-- x-pack/plugins/infra/tsconfig.json | 3 +-- x-pack/plugins/ingest_pipelines/tsconfig.json | 3 +-- .../plugins/kubernetes_security/tsconfig.json | 3 +-- x-pack/plugins/lens/tsconfig.json | 3 +-- .../plugins/license_api_guard/tsconfig.json | 3 +-- .../plugins/license_management/tsconfig.json | 3 +-- x-pack/plugins/licensing/tsconfig.json | 3 +-- x-pack/plugins/lists/tsconfig.json | 3 +-- x-pack/plugins/logstash/tsconfig.json | 3 +-- x-pack/plugins/maps/tsconfig.json | 3 +-- x-pack/plugins/ml/tsconfig.json | 3 +-- x-pack/plugins/monitoring/tsconfig.json | 3 +-- .../monitoring_collection/tsconfig.json | 3 +-- .../plugins/observability/e2e/tsconfig.json | 2 +- x-pack/plugins/observability/tsconfig.json | 3 +-- x-pack/plugins/osquery/tsconfig.json | 3 +-- x-pack/plugins/painless_lab/tsconfig.json | 3 +-- x-pack/plugins/profiling/tsconfig.json | 3 +-- x-pack/plugins/remote_clusters/tsconfig.json | 3 +-- x-pack/plugins/reporting/tsconfig.json | 3 +-- x-pack/plugins/rollup/tsconfig.json | 3 +-- x-pack/plugins/rule_registry/tsconfig.json | 3 +-- x-pack/plugins/runtime_fields/tsconfig.json | 3 +-- .../saved_objects_tagging/tsconfig.json | 3 +-- x-pack/plugins/screenshotting/tsconfig.json | 3 +-- x-pack/plugins/searchprofiler/tsconfig.json | 3 +-- x-pack/plugins/security/tsconfig.json | 3 +-- .../security_solution/cypress/tsconfig.json | 2 +- .../plugins/security_solution/tsconfig.json | 3 +-- x-pack/plugins/session_view/tsconfig.json | 3 +-- x-pack/plugins/snapshot_restore/tsconfig.json | 3 +-- x-pack/plugins/spaces/tsconfig.json | 3 +-- x-pack/plugins/stack_alerts/tsconfig.json | 3 +-- x-pack/plugins/stack_connectors/tsconfig.json | 3 +-- x-pack/plugins/synthetics/e2e/tsconfig.json | 2 +- x-pack/plugins/synthetics/tsconfig.json | 3 +-- x-pack/plugins/task_manager/tsconfig.json | 3 +-- .../telemetry_collection_xpack/tsconfig.json | 3 +-- .../threat_intelligence/cypress/tsconfig.json | 2 +- .../plugins/threat_intelligence/tsconfig.json | 3 +-- x-pack/plugins/timelines/tsconfig.json | 3 +-- x-pack/plugins/transform/tsconfig.json | 3 +-- x-pack/plugins/translations/tsconfig.json | 3 +-- .../plugins/triggers_actions_ui/tsconfig.json | 3 +-- .../plugins/upgrade_assistant/tsconfig.json | 3 +-- x-pack/plugins/ux/e2e/tsconfig.json | 2 +- x-pack/plugins/ux/tsconfig.json | 3 +-- x-pack/plugins/watcher/tsconfig.json | 3 +-- .../plugins/kibana_cors_test/tsconfig.json | 2 +- .../plugins/iframe_embedded/tsconfig.json | 2 +- .../plugins/test_feature_usage/tsconfig.json | 2 +- .../elasticsearch_client/tsconfig.json | 2 +- .../plugins/event_log/tsconfig.json | 2 +- .../plugins/feature_usage_test/tsconfig.json | 2 +- .../plugins/sample_task_plugin/tsconfig.json | 2 +- .../task_manager_performance/tsconfig.json | 2 +- .../plugins/global_search_test/tsconfig.json | 2 +- .../plugins/resolver_test/tsconfig.json | 2 +- x-pack/test/tsconfig.json | 2 +- .../application_usage_test/tsconfig.json | 2 +- .../stack_management_usage_test/tsconfig.json | 2 +- 1208 files changed, 4104 insertions(+), 5004 deletions(-) diff --git a/examples/bfetch_explorer/tsconfig.json b/examples/bfetch_explorer/tsconfig.json index fe909968bd8e2..42e691f7ad155 100644 --- a/examples/bfetch_explorer/tsconfig.json +++ b/examples/bfetch_explorer/tsconfig.json @@ -11,7 +11,7 @@ "../../typings/**/*", ], "exclude": [], - "references": [ + "kbn_references": [ { "path": "../../src/core/tsconfig.json" }, { "path": "../developer_examples/tsconfig.json" }, { "path": "../../src/plugins/bfetch/tsconfig.json" }, diff --git a/examples/dashboard_embeddable_examples/tsconfig.json b/examples/dashboard_embeddable_examples/tsconfig.json index f17d3ae29f8e7..f35247900bc7c 100644 --- a/examples/dashboard_embeddable_examples/tsconfig.json +++ b/examples/dashboard_embeddable_examples/tsconfig.json @@ -11,7 +11,7 @@ "../../typings/**/*", ], "exclude": [], - "references": [ + "kbn_references": [ { "path": "../../src/core/tsconfig.json" }, { "path": "../../src/plugins/dashboard/tsconfig.json" }, { "path": "../../src/plugins/embeddable/tsconfig.json" }, diff --git a/examples/data_view_field_editor_example/tsconfig.json b/examples/data_view_field_editor_example/tsconfig.json index 40f566047a302..51e599fd0eff5 100644 --- a/examples/data_view_field_editor_example/tsconfig.json +++ b/examples/data_view_field_editor_example/tsconfig.json @@ -10,7 +10,7 @@ "../../typings/**/*", ], "exclude": [], - "references": [ + "kbn_references": [ { "path": "../../src/core/tsconfig.json" }, { "path": "../../src/plugins/kibana_react/tsconfig.json" }, { "path": "../../src/plugins/data/tsconfig.json" }, diff --git a/examples/developer_examples/tsconfig.json b/examples/developer_examples/tsconfig.json index 23b24a38d1aef..0f3d8e259cb56 100644 --- a/examples/developer_examples/tsconfig.json +++ b/examples/developer_examples/tsconfig.json @@ -11,7 +11,7 @@ "../../typings/**/*", ], "exclude": [], - "references": [ + "kbn_references": [ { "path": "../../src/core/tsconfig.json" } ] } diff --git a/examples/embeddable_examples/tsconfig.json b/examples/embeddable_examples/tsconfig.json index 34c7c8e04467e..f32e7eb0850d3 100644 --- a/examples/embeddable_examples/tsconfig.json +++ b/examples/embeddable_examples/tsconfig.json @@ -12,7 +12,7 @@ "../../typings/**/*" ], "exclude": [], - "references": [ + "kbn_references": [ { "path": "../../src/core/tsconfig.json" }, { "path": "../../src/plugins/kibana_utils/tsconfig.json" }, { "path": "../../src/plugins/kibana_react/tsconfig.json" }, diff --git a/examples/embeddable_explorer/tsconfig.json b/examples/embeddable_explorer/tsconfig.json index e5b19e2c1457a..b0c9c5dd74e20 100644 --- a/examples/embeddable_explorer/tsconfig.json +++ b/examples/embeddable_explorer/tsconfig.json @@ -11,7 +11,7 @@ "../../typings/**/*" ], "exclude": [], - "references": [ + "kbn_references": [ { "path": "../../src/core/tsconfig.json" }, { "path": "../../src/plugins/embeddable/tsconfig.json" }, { "path": "../../src/plugins/ui_actions/tsconfig.json" }, diff --git a/examples/expressions_explorer/tsconfig.json b/examples/expressions_explorer/tsconfig.json index f3451b496caa0..0386f5e7188fa 100644 --- a/examples/expressions_explorer/tsconfig.json +++ b/examples/expressions_explorer/tsconfig.json @@ -10,7 +10,7 @@ "../../typings/**/*", ], "exclude": [], - "references": [ + "kbn_references": [ { "path": "../../src/core/tsconfig.json" }, { "path": "../../src/plugins/kibana_react/tsconfig.json" }, { "path": "../../src/plugins/expressions/tsconfig.json" }, diff --git a/examples/field_formats_example/tsconfig.json b/examples/field_formats_example/tsconfig.json index 66b059df68943..66e9d7db028c7 100644 --- a/examples/field_formats_example/tsconfig.json +++ b/examples/field_formats_example/tsconfig.json @@ -13,7 +13,7 @@ "../../typings/**/*" ], "exclude": [], - "references": [ + "kbn_references": [ { "path": "../../src/core/tsconfig.json" }, { "path": "../developer_examples/tsconfig.json" }, { "path": "../../src/plugins/field_formats/tsconfig.json" }, diff --git a/examples/guided_onboarding_example/tsconfig.json b/examples/guided_onboarding_example/tsconfig.json index 177f63fa7a449..579818d8cbf76 100644 --- a/examples/guided_onboarding_example/tsconfig.json +++ b/examples/guided_onboarding_example/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "__jest__/**/*", @@ -13,7 +12,7 @@ "server/**/*", "../../typings/**/*", ], - "references": [ + "kbn_references": [ { "path": "../../src/core/tsconfig.json" }, diff --git a/examples/hello_world/tsconfig.json b/examples/hello_world/tsconfig.json index b494fba903415..f074171954048 100644 --- a/examples/hello_world/tsconfig.json +++ b/examples/hello_world/tsconfig.json @@ -12,7 +12,7 @@ "../../typings/**/*" ], "exclude": [], - "references": [ + "kbn_references": [ { "path": "../../src/core/tsconfig.json" }, { "path": "../developer_examples/tsconfig.json" } ] diff --git a/examples/locator_examples/tsconfig.json b/examples/locator_examples/tsconfig.json index 5010ad5a5fe0f..43d13f87d005f 100644 --- a/examples/locator_examples/tsconfig.json +++ b/examples/locator_examples/tsconfig.json @@ -11,7 +11,7 @@ "../../typings/**/*" ], "exclude": [], - "references": [ + "kbn_references": [ { "path": "../../src/core/tsconfig.json" }, { "path": "../../src/plugins/share/tsconfig.json" }, ] diff --git a/examples/locator_explorer/tsconfig.json b/examples/locator_explorer/tsconfig.json index 2fa75fc163fdd..c609c50849cb4 100644 --- a/examples/locator_explorer/tsconfig.json +++ b/examples/locator_explorer/tsconfig.json @@ -11,7 +11,7 @@ "../../typings/**/*" ], "exclude": [], - "references": [ + "kbn_references": [ { "path": "../../src/core/tsconfig.json" }, { "path": "../../src/plugins/share/tsconfig.json" }, { "path": "../locator_examples/tsconfig.json" }, diff --git a/examples/partial_results_example/tsconfig.json b/examples/partial_results_example/tsconfig.json index 911cd4a36ed46..ba03cbc836189 100644 --- a/examples/partial_results_example/tsconfig.json +++ b/examples/partial_results_example/tsconfig.json @@ -11,7 +11,7 @@ "../../typings/**/*" ], "exclude": [], - "references": [ + "kbn_references": [ { "path": "../../src/core/tsconfig.json" }, { "path": "../developer_examples/tsconfig.json" }, { "path": "../../src/plugins/expressions/tsconfig.json" }, diff --git a/examples/preboot_example/tsconfig.json b/examples/preboot_example/tsconfig.json index e5b5eda0c6478..270d718917518 100644 --- a/examples/preboot_example/tsconfig.json +++ b/examples/preboot_example/tsconfig.json @@ -4,8 +4,7 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": ["public/**/*", "server/**/*"], - "references": [{ "path": "../../src/core/tsconfig.json" }] + "kbn_references": [{ "path": "../../src/core/tsconfig.json" }] } diff --git a/examples/response_stream/tsconfig.json b/examples/response_stream/tsconfig.json index 9641610c54283..162ecac0dca93 100644 --- a/examples/response_stream/tsconfig.json +++ b/examples/response_stream/tsconfig.json @@ -12,7 +12,7 @@ "../../typings/**/*", ], "exclude": [], - "references": [ + "kbn_references": [ { "path": "../../src/core/tsconfig.json" }, { "path": "../developer_examples/tsconfig.json" }, { "path": "../../src/plugins/data/tsconfig.json" }, diff --git a/examples/routing_example/tsconfig.json b/examples/routing_example/tsconfig.json index e47bf1c9bedb8..b3962d53fa4f3 100644 --- a/examples/routing_example/tsconfig.json +++ b/examples/routing_example/tsconfig.json @@ -12,7 +12,7 @@ "../../typings/**/*", ], "exclude": [], - "references": [ + "kbn_references": [ { "path": "../../src/core/tsconfig.json" }, { "path": "../developer_examples/tsconfig.json" }, ] diff --git a/examples/screenshot_mode_example/tsconfig.json b/examples/screenshot_mode_example/tsconfig.json index ef35abc699c66..5fc60b67ef569 100644 --- a/examples/screenshot_mode_example/tsconfig.json +++ b/examples/screenshot_mode_example/tsconfig.json @@ -12,7 +12,7 @@ "../../typings/**/*" ], "exclude": [], - "references": [ + "kbn_references": [ { "path": "../../src/core/tsconfig.json" }, { "path": "../../src/plugins/navigation/tsconfig.json" }, { "path": "../../src/plugins/screenshot_mode/tsconfig.json" }, diff --git a/examples/search_examples/tsconfig.json b/examples/search_examples/tsconfig.json index 3086b9651984c..ef6c3e9c307e2 100644 --- a/examples/search_examples/tsconfig.json +++ b/examples/search_examples/tsconfig.json @@ -12,7 +12,7 @@ "../../typings/**/*", ], "exclude": [], - "references": [ + "kbn_references": [ { "path": "../../src/core/tsconfig.json" }, { "path": "../../src/plugins/data/tsconfig.json" }, { "path": "../../src/plugins/data_views/tsconfig.json" }, diff --git a/examples/share_examples/tsconfig.json b/examples/share_examples/tsconfig.json index 5010ad5a5fe0f..43d13f87d005f 100644 --- a/examples/share_examples/tsconfig.json +++ b/examples/share_examples/tsconfig.json @@ -11,7 +11,7 @@ "../../typings/**/*" ], "exclude": [], - "references": [ + "kbn_references": [ { "path": "../../src/core/tsconfig.json" }, { "path": "../../src/plugins/share/tsconfig.json" }, ] diff --git a/examples/state_containers_examples/tsconfig.json b/examples/state_containers_examples/tsconfig.json index 40b66f9fc9c7b..09652684fecfa 100644 --- a/examples/state_containers_examples/tsconfig.json +++ b/examples/state_containers_examples/tsconfig.json @@ -12,7 +12,7 @@ "../../typings/**/*" ], "exclude": [], - "references": [ + "kbn_references": [ { "path": "../../src/core/tsconfig.json" }, { "path": "../../src/plugins/kibana_utils/tsconfig.json" }, { "path": "../../src/plugins/kibana_react/tsconfig.json" }, diff --git a/examples/ui_action_examples/tsconfig.json b/examples/ui_action_examples/tsconfig.json index 41d91ac4b9be6..3a141670cb3fe 100644 --- a/examples/ui_action_examples/tsconfig.json +++ b/examples/ui_action_examples/tsconfig.json @@ -11,7 +11,7 @@ "../../typings/**/*", ], "exclude": [], - "references": [ + "kbn_references": [ { "path": "../../src/plugins/kibana_react/tsconfig.json" }, { "path": "../../src/plugins/ui_actions/tsconfig.json" }, ] diff --git a/examples/ui_actions_explorer/tsconfig.json b/examples/ui_actions_explorer/tsconfig.json index 6debf7c0c650a..cfa13411c270d 100644 --- a/examples/ui_actions_explorer/tsconfig.json +++ b/examples/ui_actions_explorer/tsconfig.json @@ -10,7 +10,7 @@ "../../typings/**/*", ], "exclude": [], - "references": [ + "kbn_references": [ { "path": "../../src/core/tsconfig.json" }, { "path": "../../src/plugins/kibana_react/tsconfig.json" }, { "path": "../../src/plugins/ui_actions/tsconfig.json" }, diff --git a/examples/user_profile_examples/tsconfig.json b/examples/user_profile_examples/tsconfig.json index da98fc26aa8f2..f1d9145a39c1b 100644 --- a/examples/user_profile_examples/tsconfig.json +++ b/examples/user_profile_examples/tsconfig.json @@ -11,7 +11,7 @@ "../../typings/**/*" ], "exclude": [], - "references": [ + "kbn_references": [ { "path": "../../src/core/tsconfig.json" }, { "path": "../../x-pack/plugins/security/tsconfig.json" }, { "path": "../developer_examples/tsconfig.json" } diff --git a/packages/analytics/client/BUILD.bazel b/packages/analytics/client/BUILD.bazel index d7372b3508d4a..cc9cf69242b8c 100644 --- a/packages/analytics/client/BUILD.bazel +++ b/packages/analytics/client/BUILD.bazel @@ -98,7 +98,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -112,6 +111,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -123,17 +130,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/analytics/client/package.json b/packages/analytics/client/package.json index 6f4f7ed05b540..247d642adf6d1 100644 --- a/packages/analytics/client/package.json +++ b/packages/analytics/client/package.json @@ -5,5 +5,6 @@ "browser": "./target_web/index.js", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/analytics/client/tsconfig.json b/packages/analytics/client/tsconfig.json index eb3dd2cba2ce8..e543b7493c3b9 100644 --- a/packages/analytics/client/tsconfig.json +++ b/packages/analytics/client/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/analytics/shippers/elastic_v3/browser/BUILD.bazel b/packages/analytics/shippers/elastic_v3/browser/BUILD.bazel index 940f32a52fcdc..790079da9d8ff 100644 --- a/packages/analytics/shippers/elastic_v3/browser/BUILD.bazel +++ b/packages/analytics/shippers/elastic_v3/browser/BUILD.bazel @@ -97,7 +97,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -111,6 +110,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -122,17 +129,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/analytics/shippers/elastic_v3/browser/package.json b/packages/analytics/shippers/elastic_v3/browser/package.json index 90a73a6b3dfdd..59c2e7e9fa5bd 100644 --- a/packages/analytics/shippers/elastic_v3/browser/package.json +++ b/packages/analytics/shippers/elastic_v3/browser/package.json @@ -5,5 +5,6 @@ "browser": "./target_web/index.js", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/analytics/shippers/elastic_v3/browser/tsconfig.json b/packages/analytics/shippers/elastic_v3/browser/tsconfig.json index 73bd8629597a9..2f35c0edbedd7 100644 --- a/packages/analytics/shippers/elastic_v3/browser/tsconfig.json +++ b/packages/analytics/shippers/elastic_v3/browser/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/analytics/shippers/elastic_v3/common/BUILD.bazel b/packages/analytics/shippers/elastic_v3/common/BUILD.bazel index 21603c1d08cf0..bb38300b97302 100644 --- a/packages/analytics/shippers/elastic_v3/common/BUILD.bazel +++ b/packages/analytics/shippers/elastic_v3/common/BUILD.bazel @@ -93,7 +93,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -107,6 +106,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -118,17 +125,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/analytics/shippers/elastic_v3/common/package.json b/packages/analytics/shippers/elastic_v3/common/package.json index 2313d1d491090..9e9c8f3054097 100644 --- a/packages/analytics/shippers/elastic_v3/common/package.json +++ b/packages/analytics/shippers/elastic_v3/common/package.json @@ -5,5 +5,6 @@ "browser": "./target_web/index.js", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/analytics/shippers/elastic_v3/common/tsconfig.json b/packages/analytics/shippers/elastic_v3/common/tsconfig.json index 73bd8629597a9..2f35c0edbedd7 100644 --- a/packages/analytics/shippers/elastic_v3/common/tsconfig.json +++ b/packages/analytics/shippers/elastic_v3/common/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/analytics/shippers/elastic_v3/server/BUILD.bazel b/packages/analytics/shippers/elastic_v3/server/BUILD.bazel index 8f69ca7bb4e0a..8f78c9a9c1a71 100644 --- a/packages/analytics/shippers/elastic_v3/server/BUILD.bazel +++ b/packages/analytics/shippers/elastic_v3/server/BUILD.bazel @@ -92,7 +92,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -106,6 +105,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -117,17 +124,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/analytics/shippers/elastic_v3/server/package.json b/packages/analytics/shippers/elastic_v3/server/package.json index 846beb3cf2a3d..9b05193e3aec0 100644 --- a/packages/analytics/shippers/elastic_v3/server/package.json +++ b/packages/analytics/shippers/elastic_v3/server/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/analytics/shippers/elastic_v3/server/tsconfig.json b/packages/analytics/shippers/elastic_v3/server/tsconfig.json index 73bd8629597a9..2f35c0edbedd7 100644 --- a/packages/analytics/shippers/elastic_v3/server/tsconfig.json +++ b/packages/analytics/shippers/elastic_v3/server/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/analytics/shippers/fullstory/BUILD.bazel b/packages/analytics/shippers/fullstory/BUILD.bazel index a8fe8a579376d..b949d085e5d80 100644 --- a/packages/analytics/shippers/fullstory/BUILD.bazel +++ b/packages/analytics/shippers/fullstory/BUILD.bazel @@ -94,7 +94,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -108,6 +107,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -119,17 +126,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/analytics/shippers/fullstory/package.json b/packages/analytics/shippers/fullstory/package.json index 8ad45e29d2060..8b8f09163ceb7 100644 --- a/packages/analytics/shippers/fullstory/package.json +++ b/packages/analytics/shippers/fullstory/package.json @@ -5,5 +5,6 @@ "browser": "./target_web/index.js", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/analytics/shippers/fullstory/tsconfig.json b/packages/analytics/shippers/fullstory/tsconfig.json index 49e920b0a461a..af8fdef592c43 100644 --- a/packages/analytics/shippers/fullstory/tsconfig.json +++ b/packages/analytics/shippers/fullstory/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/analytics/shippers/gainsight/BUILD.bazel b/packages/analytics/shippers/gainsight/BUILD.bazel index acc516408a52c..12a1890e8add5 100644 --- a/packages/analytics/shippers/gainsight/BUILD.bazel +++ b/packages/analytics/shippers/gainsight/BUILD.bazel @@ -94,7 +94,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -108,6 +107,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -119,17 +126,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/analytics/shippers/gainsight/package.json b/packages/analytics/shippers/gainsight/package.json index 8edfc5f262a7a..bd15dac62c115 100644 --- a/packages/analytics/shippers/gainsight/package.json +++ b/packages/analytics/shippers/gainsight/package.json @@ -5,5 +5,6 @@ "browser": "./target_web/index.js", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/analytics/shippers/gainsight/tsconfig.json b/packages/analytics/shippers/gainsight/tsconfig.json index 49e920b0a461a..af8fdef592c43 100644 --- a/packages/analytics/shippers/gainsight/tsconfig.json +++ b/packages/analytics/shippers/gainsight/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/content-management/table_list/BUILD.bazel b/packages/content-management/table_list/BUILD.bazel index 170ce00558045..0c55131524a78 100644 --- a/packages/content-management/table_list/BUILD.bazel +++ b/packages/content-management/table_list/BUILD.bazel @@ -121,7 +121,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -135,6 +134,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -146,17 +153,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/content-management/table_list/package.json b/packages/content-management/table_list/package.json index f4cc8ba690d20..2df98754b0224 100644 --- a/packages/content-management/table_list/package.json +++ b/packages/content-management/table_list/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "browser": "./target_web/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/content-management/table_list/tsconfig.json b/packages/content-management/table_list/tsconfig.json index df09013c1e96f..a7520dbfb4fe2 100644 --- a/packages/content-management/table_list/tsconfig.json +++ b/packages/content-management/table_list/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/analytics/core-analytics-browser-internal/BUILD.bazel b/packages/core/analytics/core-analytics-browser-internal/BUILD.bazel index d7603c98604bf..3413eaf4fdda1 100644 --- a/packages/core/analytics/core-analytics-browser-internal/BUILD.bazel +++ b/packages/core/analytics/core-analytics-browser-internal/BUILD.bazel @@ -87,7 +87,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -101,6 +100,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -112,17 +119,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/analytics/core-analytics-browser-internal/package.json b/packages/core/analytics/core-analytics-browser-internal/package.json index a556bd85f8e49..f40589e37d198 100644 --- a/packages/core/analytics/core-analytics-browser-internal/package.json +++ b/packages/core/analytics/core-analytics-browser-internal/package.json @@ -5,5 +5,6 @@ "main": "./target_node/index.js", "browser": "./target_web/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/analytics/core-analytics-browser-internal/tsconfig.json b/packages/core/analytics/core-analytics-browser-internal/tsconfig.json index 49e920b0a461a..af8fdef592c43 100644 --- a/packages/core/analytics/core-analytics-browser-internal/tsconfig.json +++ b/packages/core/analytics/core-analytics-browser-internal/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/analytics/core-analytics-browser-mocks/BUILD.bazel b/packages/core/analytics/core-analytics-browser-mocks/BUILD.bazel index d831336371e2d..d80d2a8feae21 100644 --- a/packages/core/analytics/core-analytics-browser-mocks/BUILD.bazel +++ b/packages/core/analytics/core-analytics-browser-mocks/BUILD.bazel @@ -73,7 +73,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -87,6 +86,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -98,17 +105,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/analytics/core-analytics-browser-mocks/package.json b/packages/core/analytics/core-analytics-browser-mocks/package.json index 56e1fd2076796..b8dd2d03bad66 100644 --- a/packages/core/analytics/core-analytics-browser-mocks/package.json +++ b/packages/core/analytics/core-analytics-browser-mocks/package.json @@ -5,5 +5,6 @@ "main": "./target_node/index.js", "browser": "./target_web/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/analytics/core-analytics-browser-mocks/tsconfig.json b/packages/core/analytics/core-analytics-browser-mocks/tsconfig.json index 49e920b0a461a..af8fdef592c43 100644 --- a/packages/core/analytics/core-analytics-browser-mocks/tsconfig.json +++ b/packages/core/analytics/core-analytics-browser-mocks/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/analytics/core-analytics-browser/BUILD.bazel b/packages/core/analytics/core-analytics-browser/BUILD.bazel index 2027a6f952490..2dbf3c4791bba 100644 --- a/packages/core/analytics/core-analytics-browser/BUILD.bazel +++ b/packages/core/analytics/core-analytics-browser/BUILD.bazel @@ -72,7 +72,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -86,6 +85,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -97,17 +104,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/analytics/core-analytics-browser/package.json b/packages/core/analytics/core-analytics-browser/package.json index c448c49689233..4ef1d65780abb 100644 --- a/packages/core/analytics/core-analytics-browser/package.json +++ b/packages/core/analytics/core-analytics-browser/package.json @@ -5,5 +5,6 @@ "main": "./target_node/index.js", "browser": "./target_web/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/analytics/core-analytics-browser/tsconfig.json b/packages/core/analytics/core-analytics-browser/tsconfig.json index 49e920b0a461a..af8fdef592c43 100644 --- a/packages/core/analytics/core-analytics-browser/tsconfig.json +++ b/packages/core/analytics/core-analytics-browser/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/analytics/core-analytics-server-internal/BUILD.bazel b/packages/core/analytics/core-analytics-server-internal/BUILD.bazel index c763e9dfe62ba..1a507d0a065ce 100644 --- a/packages/core/analytics/core-analytics-server-internal/BUILD.bazel +++ b/packages/core/analytics/core-analytics-server-internal/BUILD.bazel @@ -71,7 +71,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -85,6 +84,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -96,17 +103,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/analytics/core-analytics-server-internal/package.json b/packages/core/analytics/core-analytics-server-internal/package.json index a80f7ed586a9d..742c092fa58f4 100644 --- a/packages/core/analytics/core-analytics-server-internal/package.json +++ b/packages/core/analytics/core-analytics-server-internal/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/analytics/core-analytics-server-internal/tsconfig.json b/packages/core/analytics/core-analytics-server-internal/tsconfig.json index 49e920b0a461a..af8fdef592c43 100644 --- a/packages/core/analytics/core-analytics-server-internal/tsconfig.json +++ b/packages/core/analytics/core-analytics-server-internal/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/analytics/core-analytics-server-mocks/BUILD.bazel b/packages/core/analytics/core-analytics-server-mocks/BUILD.bazel index bfa67397b62f3..cfcf0175d52db 100644 --- a/packages/core/analytics/core-analytics-server-mocks/BUILD.bazel +++ b/packages/core/analytics/core-analytics-server-mocks/BUILD.bazel @@ -67,7 +67,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -81,6 +80,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -92,17 +99,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/analytics/core-analytics-server-mocks/package.json b/packages/core/analytics/core-analytics-server-mocks/package.json index be11f7741aa83..864715f795249 100644 --- a/packages/core/analytics/core-analytics-server-mocks/package.json +++ b/packages/core/analytics/core-analytics-server-mocks/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/analytics/core-analytics-server-mocks/tsconfig.json b/packages/core/analytics/core-analytics-server-mocks/tsconfig.json index 49e920b0a461a..af8fdef592c43 100644 --- a/packages/core/analytics/core-analytics-server-mocks/tsconfig.json +++ b/packages/core/analytics/core-analytics-server-mocks/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/analytics/core-analytics-server/BUILD.bazel b/packages/core/analytics/core-analytics-server/BUILD.bazel index afa70041d300c..7cb5e329e0ffe 100644 --- a/packages/core/analytics/core-analytics-server/BUILD.bazel +++ b/packages/core/analytics/core-analytics-server/BUILD.bazel @@ -64,7 +64,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -78,6 +77,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -89,17 +96,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/analytics/core-analytics-server/package.json b/packages/core/analytics/core-analytics-server/package.json index 40581cbaee9b4..0b5d1fce5638e 100644 --- a/packages/core/analytics/core-analytics-server/package.json +++ b/packages/core/analytics/core-analytics-server/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/analytics/core-analytics-server/tsconfig.json b/packages/core/analytics/core-analytics-server/tsconfig.json index 49e920b0a461a..af8fdef592c43 100644 --- a/packages/core/analytics/core-analytics-server/tsconfig.json +++ b/packages/core/analytics/core-analytics-server/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/application/core-application-browser-internal/BUILD.bazel b/packages/core/application/core-application-browser-internal/BUILD.bazel index 4467da2ddc9ed..3232dfc677aff 100644 --- a/packages/core/application/core-application-browser-internal/BUILD.bazel +++ b/packages/core/application/core-application-browser-internal/BUILD.bazel @@ -108,7 +108,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", root_dir = ".", @@ -123,6 +122,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -134,17 +141,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/application/core-application-browser-internal/package.json b/packages/core/application/core-application-browser-internal/package.json index 66df230cd02d6..4ded58a99f55c 100644 --- a/packages/core/application/core-application-browser-internal/package.json +++ b/packages/core/application/core-application-browser-internal/package.json @@ -5,5 +5,6 @@ "main": "./target_node/index.js", "browser": "./target_web/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/application/core-application-browser-internal/tsconfig.json b/packages/core/application/core-application-browser-internal/tsconfig.json index fdd506125afb6..bccdc4b2a95aa 100644 --- a/packages/core/application/core-application-browser-internal/tsconfig.json +++ b/packages/core/application/core-application-browser-internal/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "rootDir": ".", diff --git a/packages/core/application/core-application-browser-mocks/BUILD.bazel b/packages/core/application/core-application-browser-mocks/BUILD.bazel index 64080aad293c6..979cc8d11021b 100644 --- a/packages/core/application/core-application-browser-mocks/BUILD.bazel +++ b/packages/core/application/core-application-browser-mocks/BUILD.bazel @@ -81,7 +81,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", root_dir = ".", @@ -96,6 +95,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -107,17 +114,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/application/core-application-browser-mocks/package.json b/packages/core/application/core-application-browser-mocks/package.json index 2b769204903c4..925c02bcbb09d 100644 --- a/packages/core/application/core-application-browser-mocks/package.json +++ b/packages/core/application/core-application-browser-mocks/package.json @@ -5,5 +5,6 @@ "main": "./target_node/index.js", "browser": "./target_web/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/application/core-application-browser-mocks/tsconfig.json b/packages/core/application/core-application-browser-mocks/tsconfig.json index a4f1ce7985a55..6548f04ad9fd3 100644 --- a/packages/core/application/core-application-browser-mocks/tsconfig.json +++ b/packages/core/application/core-application-browser-mocks/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "rootDir": ".", diff --git a/packages/core/application/core-application-browser/BUILD.bazel b/packages/core/application/core-application-browser/BUILD.bazel index 44dba5ffcdd94..b2e1184ef03ed 100644 --- a/packages/core/application/core-application-browser/BUILD.bazel +++ b/packages/core/application/core-application-browser/BUILD.bazel @@ -80,7 +80,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", root_dir = ".", @@ -95,6 +94,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -106,17 +113,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/application/core-application-browser/package.json b/packages/core/application/core-application-browser/package.json index 012c3410a9be1..3626396a9eff3 100644 --- a/packages/core/application/core-application-browser/package.json +++ b/packages/core/application/core-application-browser/package.json @@ -5,5 +5,6 @@ "main": "./target_node/index.js", "browser": "./target_web/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/application/core-application-browser/tsconfig.json b/packages/core/application/core-application-browser/tsconfig.json index d06f069b513d1..43a846448fc74 100644 --- a/packages/core/application/core-application-browser/tsconfig.json +++ b/packages/core/application/core-application-browser/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "rootDir": ".", diff --git a/packages/core/application/core-application-common/BUILD.bazel b/packages/core/application/core-application-common/BUILD.bazel index f14d7331b6bfb..43edda698fa09 100644 --- a/packages/core/application/core-application-common/BUILD.bazel +++ b/packages/core/application/core-application-common/BUILD.bazel @@ -75,7 +75,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", root_dir = ".", @@ -90,6 +89,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -101,17 +108,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/application/core-application-common/package.json b/packages/core/application/core-application-common/package.json index e1d006502592c..22b9a3e452f17 100644 --- a/packages/core/application/core-application-common/package.json +++ b/packages/core/application/core-application-common/package.json @@ -5,5 +5,6 @@ "main": "./target_node/index.js", "browser": "./target_web/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/application/core-application-common/tsconfig.json b/packages/core/application/core-application-common/tsconfig.json index d06f069b513d1..43a846448fc74 100644 --- a/packages/core/application/core-application-common/tsconfig.json +++ b/packages/core/application/core-application-common/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "rootDir": ".", diff --git a/packages/core/apps/core-apps-browser-internal/BUILD.bazel b/packages/core/apps/core-apps-browser-internal/BUILD.bazel index 4ca5c1a1cf2af..941b011104ba9 100644 --- a/packages/core/apps/core-apps-browser-internal/BUILD.bazel +++ b/packages/core/apps/core-apps-browser-internal/BUILD.bazel @@ -96,7 +96,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -110,6 +109,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -121,17 +128,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/apps/core-apps-browser-internal/package.json b/packages/core/apps/core-apps-browser-internal/package.json index 58262f9a7aaeb..04029a6f91fbc 100644 --- a/packages/core/apps/core-apps-browser-internal/package.json +++ b/packages/core/apps/core-apps-browser-internal/package.json @@ -5,5 +5,6 @@ "main": "./target_node/index.js", "browser": "./target_web/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/apps/core-apps-browser-internal/tsconfig.json b/packages/core/apps/core-apps-browser-internal/tsconfig.json index 2249e2ee93761..571fbfcd8ef25 100644 --- a/packages/core/apps/core-apps-browser-internal/tsconfig.json +++ b/packages/core/apps/core-apps-browser-internal/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/apps/core-apps-browser-mocks/BUILD.bazel b/packages/core/apps/core-apps-browser-mocks/BUILD.bazel index 42c29b72766b9..65ce563a97d97 100644 --- a/packages/core/apps/core-apps-browser-mocks/BUILD.bazel +++ b/packages/core/apps/core-apps-browser-mocks/BUILD.bazel @@ -74,7 +74,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -88,6 +87,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -99,17 +106,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/apps/core-apps-browser-mocks/package.json b/packages/core/apps/core-apps-browser-mocks/package.json index 486f6445a8b24..690d50dc3a1cf 100644 --- a/packages/core/apps/core-apps-browser-mocks/package.json +++ b/packages/core/apps/core-apps-browser-mocks/package.json @@ -5,5 +5,6 @@ "main": "./target_node/index.js", "browser": "./target_web/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/apps/core-apps-browser-mocks/tsconfig.json b/packages/core/apps/core-apps-browser-mocks/tsconfig.json index 26b4c7aca3a67..8a9b8b46147f1 100644 --- a/packages/core/apps/core-apps-browser-mocks/tsconfig.json +++ b/packages/core/apps/core-apps-browser-mocks/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/base/core-base-browser-internal/BUILD.bazel b/packages/core/base/core-base-browser-internal/BUILD.bazel index ed4516e12a0bc..02e0c85678632 100644 --- a/packages/core/base/core-base-browser-internal/BUILD.bazel +++ b/packages/core/base/core-base-browser-internal/BUILD.bazel @@ -76,7 +76,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -90,6 +89,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -101,17 +108,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/base/core-base-browser-internal/package.json b/packages/core/base/core-base-browser-internal/package.json index 9bdf9735ff417..dc3cbe0f4fd5f 100644 --- a/packages/core/base/core-base-browser-internal/package.json +++ b/packages/core/base/core-base-browser-internal/package.json @@ -5,5 +5,6 @@ "main": "./target_node/index.js", "browser": "./target_web/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/base/core-base-browser-internal/tsconfig.json b/packages/core/base/core-base-browser-internal/tsconfig.json index ca626e2c05d8c..d5dece108de5d 100644 --- a/packages/core/base/core-base-browser-internal/tsconfig.json +++ b/packages/core/base/core-base-browser-internal/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/base/core-base-browser-mocks/BUILD.bazel b/packages/core/base/core-base-browser-mocks/BUILD.bazel index 498b89a92fca3..28088cfd13dd9 100644 --- a/packages/core/base/core-base-browser-mocks/BUILD.bazel +++ b/packages/core/base/core-base-browser-mocks/BUILD.bazel @@ -71,7 +71,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -85,6 +84,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -96,17 +103,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/base/core-base-browser-mocks/package.json b/packages/core/base/core-base-browser-mocks/package.json index e3b87c084e5dc..b0e8f7612cbc0 100644 --- a/packages/core/base/core-base-browser-mocks/package.json +++ b/packages/core/base/core-base-browser-mocks/package.json @@ -5,5 +5,6 @@ "main": "./target_node/index.js", "browser": "./target_web/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/base/core-base-browser-mocks/tsconfig.json b/packages/core/base/core-base-browser-mocks/tsconfig.json index 49e920b0a461a..af8fdef592c43 100644 --- a/packages/core/base/core-base-browser-mocks/tsconfig.json +++ b/packages/core/base/core-base-browser-mocks/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/base/core-base-common-internal/BUILD.bazel b/packages/core/base/core-base-common-internal/BUILD.bazel index 7b787813b3122..06e7daca4fa3e 100644 --- a/packages/core/base/core-base-common-internal/BUILD.bazel +++ b/packages/core/base/core-base-common-internal/BUILD.bazel @@ -73,7 +73,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -87,6 +86,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -98,17 +105,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/base/core-base-common-internal/package.json b/packages/core/base/core-base-common-internal/package.json index 2d8f6269c4d90..ea555dbf17a7d 100644 --- a/packages/core/base/core-base-common-internal/package.json +++ b/packages/core/base/core-base-common-internal/package.json @@ -5,5 +5,6 @@ "main": "./target_node/index.js", "browser": "./target_web/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/base/core-base-common-internal/tsconfig.json b/packages/core/base/core-base-common-internal/tsconfig.json index ca626e2c05d8c..d5dece108de5d 100644 --- a/packages/core/base/core-base-common-internal/tsconfig.json +++ b/packages/core/base/core-base-common-internal/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/base/core-base-common/BUILD.bazel b/packages/core/base/core-base-common/BUILD.bazel index 6015135dd1f4c..4a5b48d3aaeb3 100644 --- a/packages/core/base/core-base-common/BUILD.bazel +++ b/packages/core/base/core-base-common/BUILD.bazel @@ -66,7 +66,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -80,6 +79,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -91,17 +98,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/base/core-base-common/package.json b/packages/core/base/core-base-common/package.json index 13c95c7081a6a..6eb5ea8f82bc7 100644 --- a/packages/core/base/core-base-common/package.json +++ b/packages/core/base/core-base-common/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/base/core-base-common/tsconfig.json b/packages/core/base/core-base-common/tsconfig.json index 49e920b0a461a..af8fdef592c43 100644 --- a/packages/core/base/core-base-common/tsconfig.json +++ b/packages/core/base/core-base-common/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/base/core-base-server-internal/BUILD.bazel b/packages/core/base/core-base-server-internal/BUILD.bazel index eef5afa8dd2cf..b30d20874ae1c 100644 --- a/packages/core/base/core-base-server-internal/BUILD.bazel +++ b/packages/core/base/core-base-server-internal/BUILD.bazel @@ -68,7 +68,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -82,6 +81,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -93,17 +100,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/base/core-base-server-internal/package.json b/packages/core/base/core-base-server-internal/package.json index 783acf08a9d47..88348d974ae7a 100644 --- a/packages/core/base/core-base-server-internal/package.json +++ b/packages/core/base/core-base-server-internal/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/base/core-base-server-internal/tsconfig.json b/packages/core/base/core-base-server-internal/tsconfig.json index 49e920b0a461a..af8fdef592c43 100644 --- a/packages/core/base/core-base-server-internal/tsconfig.json +++ b/packages/core/base/core-base-server-internal/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/base/core-base-server-mocks/BUILD.bazel b/packages/core/base/core-base-server-mocks/BUILD.bazel index 4c56b292cbb8a..164c71eade849 100644 --- a/packages/core/base/core-base-server-mocks/BUILD.bazel +++ b/packages/core/base/core-base-server-mocks/BUILD.bazel @@ -73,7 +73,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -87,6 +86,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -98,17 +105,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/base/core-base-server-mocks/package.json b/packages/core/base/core-base-server-mocks/package.json index 688dfb4329d73..99b8d1823c036 100644 --- a/packages/core/base/core-base-server-mocks/package.json +++ b/packages/core/base/core-base-server-mocks/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/base/core-base-server-mocks/tsconfig.json b/packages/core/base/core-base-server-mocks/tsconfig.json index 49e920b0a461a..af8fdef592c43 100644 --- a/packages/core/base/core-base-server-mocks/tsconfig.json +++ b/packages/core/base/core-base-server-mocks/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/capabilities/core-capabilities-browser-internal/BUILD.bazel b/packages/core/capabilities/core-capabilities-browser-internal/BUILD.bazel index ca6da26fa9b1e..ae1ae63ce7275 100644 --- a/packages/core/capabilities/core-capabilities-browser-internal/BUILD.bazel +++ b/packages/core/capabilities/core-capabilities-browser-internal/BUILD.bazel @@ -79,7 +79,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", root_dir = ".", @@ -94,6 +93,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -105,17 +112,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/capabilities/core-capabilities-browser-internal/package.json b/packages/core/capabilities/core-capabilities-browser-internal/package.json index b452a083ec728..db46291953708 100644 --- a/packages/core/capabilities/core-capabilities-browser-internal/package.json +++ b/packages/core/capabilities/core-capabilities-browser-internal/package.json @@ -5,5 +5,6 @@ "main": "./target_node/index.js", "browser": "./target_web/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/capabilities/core-capabilities-browser-internal/tsconfig.json b/packages/core/capabilities/core-capabilities-browser-internal/tsconfig.json index d06f069b513d1..43a846448fc74 100644 --- a/packages/core/capabilities/core-capabilities-browser-internal/tsconfig.json +++ b/packages/core/capabilities/core-capabilities-browser-internal/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "rootDir": ".", diff --git a/packages/core/capabilities/core-capabilities-browser-mocks/BUILD.bazel b/packages/core/capabilities/core-capabilities-browser-mocks/BUILD.bazel index 8e99e65253b21..bed02693f0b20 100644 --- a/packages/core/capabilities/core-capabilities-browser-mocks/BUILD.bazel +++ b/packages/core/capabilities/core-capabilities-browser-mocks/BUILD.bazel @@ -75,7 +75,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", root_dir = ".", @@ -90,6 +89,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -101,17 +108,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/capabilities/core-capabilities-browser-mocks/package.json b/packages/core/capabilities/core-capabilities-browser-mocks/package.json index 0c13a2a43193e..c278de75213cd 100644 --- a/packages/core/capabilities/core-capabilities-browser-mocks/package.json +++ b/packages/core/capabilities/core-capabilities-browser-mocks/package.json @@ -5,5 +5,6 @@ "main": "./target_node/index.js", "browser": "./target_web/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/capabilities/core-capabilities-browser-mocks/tsconfig.json b/packages/core/capabilities/core-capabilities-browser-mocks/tsconfig.json index d06f069b513d1..43a846448fc74 100644 --- a/packages/core/capabilities/core-capabilities-browser-mocks/tsconfig.json +++ b/packages/core/capabilities/core-capabilities-browser-mocks/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "rootDir": ".", diff --git a/packages/core/capabilities/core-capabilities-common/BUILD.bazel b/packages/core/capabilities/core-capabilities-common/BUILD.bazel index c77771433993f..1cb1470f2c4e7 100644 --- a/packages/core/capabilities/core-capabilities-common/BUILD.bazel +++ b/packages/core/capabilities/core-capabilities-common/BUILD.bazel @@ -71,7 +71,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -85,6 +84,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -96,17 +103,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/capabilities/core-capabilities-common/package.json b/packages/core/capabilities/core-capabilities-common/package.json index 9a28f18149cd8..c0454d5a5e73e 100644 --- a/packages/core/capabilities/core-capabilities-common/package.json +++ b/packages/core/capabilities/core-capabilities-common/package.json @@ -5,5 +5,6 @@ "main": "./target_node/index.js", "browser": "./target_web/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/capabilities/core-capabilities-common/tsconfig.json b/packages/core/capabilities/core-capabilities-common/tsconfig.json index 49e920b0a461a..af8fdef592c43 100644 --- a/packages/core/capabilities/core-capabilities-common/tsconfig.json +++ b/packages/core/capabilities/core-capabilities-common/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/capabilities/core-capabilities-server-internal/BUILD.bazel b/packages/core/capabilities/core-capabilities-server-internal/BUILD.bazel index 17b31dd7d1b33..e4c5b10b28e0f 100644 --- a/packages/core/capabilities/core-capabilities-server-internal/BUILD.bazel +++ b/packages/core/capabilities/core-capabilities-server-internal/BUILD.bazel @@ -79,7 +79,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -93,6 +92,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -104,17 +111,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/capabilities/core-capabilities-server-internal/package.json b/packages/core/capabilities/core-capabilities-server-internal/package.json index 6a51e2dbeb65e..c5d445c4ae520 100644 --- a/packages/core/capabilities/core-capabilities-server-internal/package.json +++ b/packages/core/capabilities/core-capabilities-server-internal/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/capabilities/core-capabilities-server-internal/tsconfig.json b/packages/core/capabilities/core-capabilities-server-internal/tsconfig.json index 49e920b0a461a..af8fdef592c43 100644 --- a/packages/core/capabilities/core-capabilities-server-internal/tsconfig.json +++ b/packages/core/capabilities/core-capabilities-server-internal/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/capabilities/core-capabilities-server-mocks/BUILD.bazel b/packages/core/capabilities/core-capabilities-server-mocks/BUILD.bazel index f98190c9edfa4..1666555ef5f37 100644 --- a/packages/core/capabilities/core-capabilities-server-mocks/BUILD.bazel +++ b/packages/core/capabilities/core-capabilities-server-mocks/BUILD.bazel @@ -66,7 +66,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -80,6 +79,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -91,17 +98,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/capabilities/core-capabilities-server-mocks/package.json b/packages/core/capabilities/core-capabilities-server-mocks/package.json index 77b26c96f6e73..0c82d3de94e53 100644 --- a/packages/core/capabilities/core-capabilities-server-mocks/package.json +++ b/packages/core/capabilities/core-capabilities-server-mocks/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/capabilities/core-capabilities-server-mocks/tsconfig.json b/packages/core/capabilities/core-capabilities-server-mocks/tsconfig.json index 49e920b0a461a..af8fdef592c43 100644 --- a/packages/core/capabilities/core-capabilities-server-mocks/tsconfig.json +++ b/packages/core/capabilities/core-capabilities-server-mocks/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/capabilities/core-capabilities-server/BUILD.bazel b/packages/core/capabilities/core-capabilities-server/BUILD.bazel index 072e0683d329e..f52df2ffaec03 100644 --- a/packages/core/capabilities/core-capabilities-server/BUILD.bazel +++ b/packages/core/capabilities/core-capabilities-server/BUILD.bazel @@ -66,7 +66,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -80,6 +79,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -91,17 +98,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/capabilities/core-capabilities-server/package.json b/packages/core/capabilities/core-capabilities-server/package.json index 74a347c2077ba..013a8a5e8fa38 100644 --- a/packages/core/capabilities/core-capabilities-server/package.json +++ b/packages/core/capabilities/core-capabilities-server/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/capabilities/core-capabilities-server/tsconfig.json b/packages/core/capabilities/core-capabilities-server/tsconfig.json index 49e920b0a461a..af8fdef592c43 100644 --- a/packages/core/capabilities/core-capabilities-server/tsconfig.json +++ b/packages/core/capabilities/core-capabilities-server/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/chrome/core-chrome-browser-internal/BUILD.bazel b/packages/core/chrome/core-chrome-browser-internal/BUILD.bazel index e918fa0471f42..7399951064bff 100644 --- a/packages/core/chrome/core-chrome-browser-internal/BUILD.bazel +++ b/packages/core/chrome/core-chrome-browser-internal/BUILD.bazel @@ -103,7 +103,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -117,6 +116,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -128,17 +135,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/chrome/core-chrome-browser-internal/package.json b/packages/core/chrome/core-chrome-browser-internal/package.json index b5005295ddbaa..121dce5d9fe60 100644 --- a/packages/core/chrome/core-chrome-browser-internal/package.json +++ b/packages/core/chrome/core-chrome-browser-internal/package.json @@ -5,5 +5,6 @@ "main": "./target_node/index.js", "browser": "./target_web/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/chrome/core-chrome-browser-internal/tsconfig.json b/packages/core/chrome/core-chrome-browser-internal/tsconfig.json index 9f2708fb14528..4eb9855fa759d 100644 --- a/packages/core/chrome/core-chrome-browser-internal/tsconfig.json +++ b/packages/core/chrome/core-chrome-browser-internal/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/chrome/core-chrome-browser-mocks/BUILD.bazel b/packages/core/chrome/core-chrome-browser-mocks/BUILD.bazel index fc64579bbe4fd..4a45606503f67 100644 --- a/packages/core/chrome/core-chrome-browser-mocks/BUILD.bazel +++ b/packages/core/chrome/core-chrome-browser-mocks/BUILD.bazel @@ -78,7 +78,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -92,6 +91,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -103,17 +110,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/chrome/core-chrome-browser-mocks/package.json b/packages/core/chrome/core-chrome-browser-mocks/package.json index 30dff70a53dfe..bd5b73194a52f 100644 --- a/packages/core/chrome/core-chrome-browser-mocks/package.json +++ b/packages/core/chrome/core-chrome-browser-mocks/package.json @@ -5,5 +5,6 @@ "main": "./target_node/index.js", "browser": "./target_web/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/chrome/core-chrome-browser-mocks/tsconfig.json b/packages/core/chrome/core-chrome-browser-mocks/tsconfig.json index 26b4c7aca3a67..8a9b8b46147f1 100644 --- a/packages/core/chrome/core-chrome-browser-mocks/tsconfig.json +++ b/packages/core/chrome/core-chrome-browser-mocks/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/chrome/core-chrome-browser/BUILD.bazel b/packages/core/chrome/core-chrome-browser/BUILD.bazel index f3cede656b502..00e46c7614988 100644 --- a/packages/core/chrome/core-chrome-browser/BUILD.bazel +++ b/packages/core/chrome/core-chrome-browser/BUILD.bazel @@ -77,7 +77,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -91,6 +90,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -102,17 +109,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/chrome/core-chrome-browser/package.json b/packages/core/chrome/core-chrome-browser/package.json index d17be5c1a6710..42854ddcca13c 100644 --- a/packages/core/chrome/core-chrome-browser/package.json +++ b/packages/core/chrome/core-chrome-browser/package.json @@ -5,5 +5,6 @@ "main": "./target_node/index.js", "browser": "./target_web/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/chrome/core-chrome-browser/tsconfig.json b/packages/core/chrome/core-chrome-browser/tsconfig.json index 26b4c7aca3a67..8a9b8b46147f1 100644 --- a/packages/core/chrome/core-chrome-browser/tsconfig.json +++ b/packages/core/chrome/core-chrome-browser/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/config/core-config-server-internal/BUILD.bazel b/packages/core/config/core-config-server-internal/BUILD.bazel index 058a195cf3809..2b4ef85f0484c 100644 --- a/packages/core/config/core-config-server-internal/BUILD.bazel +++ b/packages/core/config/core-config-server-internal/BUILD.bazel @@ -73,7 +73,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -87,6 +86,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -98,17 +105,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/config/core-config-server-internal/package.json b/packages/core/config/core-config-server-internal/package.json index 51cf128309957..504824cb9613f 100644 --- a/packages/core/config/core-config-server-internal/package.json +++ b/packages/core/config/core-config-server-internal/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/config/core-config-server-internal/tsconfig.json b/packages/core/config/core-config-server-internal/tsconfig.json index 49e920b0a461a..af8fdef592c43 100644 --- a/packages/core/config/core-config-server-internal/tsconfig.json +++ b/packages/core/config/core-config-server-internal/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/deprecations/core-deprecations-browser-internal/BUILD.bazel b/packages/core/deprecations/core-deprecations-browser-internal/BUILD.bazel index 7b93e6218ab14..799d368a5a66b 100644 --- a/packages/core/deprecations/core-deprecations-browser-internal/BUILD.bazel +++ b/packages/core/deprecations/core-deprecations-browser-internal/BUILD.bazel @@ -80,7 +80,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -94,6 +93,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -105,17 +112,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/deprecations/core-deprecations-browser-internal/package.json b/packages/core/deprecations/core-deprecations-browser-internal/package.json index 3c84e32ba713d..5778e7fa149a5 100644 --- a/packages/core/deprecations/core-deprecations-browser-internal/package.json +++ b/packages/core/deprecations/core-deprecations-browser-internal/package.json @@ -5,5 +5,6 @@ "main": "./target_node/index.js", "browser": "./target_web/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/deprecations/core-deprecations-browser-internal/tsconfig.json b/packages/core/deprecations/core-deprecations-browser-internal/tsconfig.json index 49e920b0a461a..af8fdef592c43 100644 --- a/packages/core/deprecations/core-deprecations-browser-internal/tsconfig.json +++ b/packages/core/deprecations/core-deprecations-browser-internal/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/deprecations/core-deprecations-browser-mocks/BUILD.bazel b/packages/core/deprecations/core-deprecations-browser-mocks/BUILD.bazel index e94e6997e6693..bea9231acf84e 100644 --- a/packages/core/deprecations/core-deprecations-browser-mocks/BUILD.bazel +++ b/packages/core/deprecations/core-deprecations-browser-mocks/BUILD.bazel @@ -75,7 +75,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -89,6 +88,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -100,17 +107,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/deprecations/core-deprecations-browser-mocks/package.json b/packages/core/deprecations/core-deprecations-browser-mocks/package.json index c079cca114440..cd9f1986ad146 100644 --- a/packages/core/deprecations/core-deprecations-browser-mocks/package.json +++ b/packages/core/deprecations/core-deprecations-browser-mocks/package.json @@ -5,5 +5,6 @@ "main": "./target_node/index.js", "browser": "./target_web/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/deprecations/core-deprecations-browser-mocks/tsconfig.json b/packages/core/deprecations/core-deprecations-browser-mocks/tsconfig.json index 49e920b0a461a..af8fdef592c43 100644 --- a/packages/core/deprecations/core-deprecations-browser-mocks/tsconfig.json +++ b/packages/core/deprecations/core-deprecations-browser-mocks/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/deprecations/core-deprecations-browser/BUILD.bazel b/packages/core/deprecations/core-deprecations-browser/BUILD.bazel index 2e6c813bf7841..98367818f6162 100644 --- a/packages/core/deprecations/core-deprecations-browser/BUILD.bazel +++ b/packages/core/deprecations/core-deprecations-browser/BUILD.bazel @@ -73,7 +73,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -87,6 +86,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -98,17 +105,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/deprecations/core-deprecations-browser/package.json b/packages/core/deprecations/core-deprecations-browser/package.json index 451ebf492334b..410b55d4d1751 100644 --- a/packages/core/deprecations/core-deprecations-browser/package.json +++ b/packages/core/deprecations/core-deprecations-browser/package.json @@ -5,5 +5,6 @@ "main": "./target_node/index.js", "browser": "./target_web/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/deprecations/core-deprecations-browser/tsconfig.json b/packages/core/deprecations/core-deprecations-browser/tsconfig.json index 49e920b0a461a..af8fdef592c43 100644 --- a/packages/core/deprecations/core-deprecations-browser/tsconfig.json +++ b/packages/core/deprecations/core-deprecations-browser/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/deprecations/core-deprecations-common/BUILD.bazel b/packages/core/deprecations/core-deprecations-common/BUILD.bazel index 9ba96b5eb6e3f..0a21fa19ef491 100644 --- a/packages/core/deprecations/core-deprecations-common/BUILD.bazel +++ b/packages/core/deprecations/core-deprecations-common/BUILD.bazel @@ -72,7 +72,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -86,6 +85,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -97,17 +104,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/deprecations/core-deprecations-common/package.json b/packages/core/deprecations/core-deprecations-common/package.json index 377b27999d62f..511e4a942f32e 100644 --- a/packages/core/deprecations/core-deprecations-common/package.json +++ b/packages/core/deprecations/core-deprecations-common/package.json @@ -5,5 +5,6 @@ "main": "./target_node/index.js", "browser": "./target_web/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/deprecations/core-deprecations-common/tsconfig.json b/packages/core/deprecations/core-deprecations-common/tsconfig.json index 49e920b0a461a..af8fdef592c43 100644 --- a/packages/core/deprecations/core-deprecations-common/tsconfig.json +++ b/packages/core/deprecations/core-deprecations-common/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/deprecations/core-deprecations-server-internal/BUILD.bazel b/packages/core/deprecations/core-deprecations-server-internal/BUILD.bazel index fc13f6b731d67..336bda22def79 100644 --- a/packages/core/deprecations/core-deprecations-server-internal/BUILD.bazel +++ b/packages/core/deprecations/core-deprecations-server-internal/BUILD.bazel @@ -84,7 +84,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -98,6 +97,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -109,17 +116,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/deprecations/core-deprecations-server-internal/package.json b/packages/core/deprecations/core-deprecations-server-internal/package.json index f8ace4c54ccdb..4dca63aa16619 100644 --- a/packages/core/deprecations/core-deprecations-server-internal/package.json +++ b/packages/core/deprecations/core-deprecations-server-internal/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/deprecations/core-deprecations-server-internal/tsconfig.json b/packages/core/deprecations/core-deprecations-server-internal/tsconfig.json index 71bb40fe57f3f..ff48529c6f303 100644 --- a/packages/core/deprecations/core-deprecations-server-internal/tsconfig.json +++ b/packages/core/deprecations/core-deprecations-server-internal/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/deprecations/core-deprecations-server-mocks/BUILD.bazel b/packages/core/deprecations/core-deprecations-server-mocks/BUILD.bazel index ba5e204595d9d..ab178fad79f1f 100644 --- a/packages/core/deprecations/core-deprecations-server-mocks/BUILD.bazel +++ b/packages/core/deprecations/core-deprecations-server-mocks/BUILD.bazel @@ -65,7 +65,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -79,6 +78,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -90,17 +97,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/deprecations/core-deprecations-server-mocks/package.json b/packages/core/deprecations/core-deprecations-server-mocks/package.json index f1cc7299b3a2f..15318700c494f 100644 --- a/packages/core/deprecations/core-deprecations-server-mocks/package.json +++ b/packages/core/deprecations/core-deprecations-server-mocks/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/deprecations/core-deprecations-server-mocks/tsconfig.json b/packages/core/deprecations/core-deprecations-server-mocks/tsconfig.json index 71bb40fe57f3f..ff48529c6f303 100644 --- a/packages/core/deprecations/core-deprecations-server-mocks/tsconfig.json +++ b/packages/core/deprecations/core-deprecations-server-mocks/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/deprecations/core-deprecations-server/BUILD.bazel b/packages/core/deprecations/core-deprecations-server/BUILD.bazel index 4038dda7b56ad..27f711ff83b43 100644 --- a/packages/core/deprecations/core-deprecations-server/BUILD.bazel +++ b/packages/core/deprecations/core-deprecations-server/BUILD.bazel @@ -68,7 +68,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", root_dir = ".", @@ -83,6 +82,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -94,17 +101,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/deprecations/core-deprecations-server/package.json b/packages/core/deprecations/core-deprecations-server/package.json index ebd6fb9aeeef9..68882ca7ba6dd 100644 --- a/packages/core/deprecations/core-deprecations-server/package.json +++ b/packages/core/deprecations/core-deprecations-server/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/deprecations/core-deprecations-server/tsconfig.json b/packages/core/deprecations/core-deprecations-server/tsconfig.json index ff8b3da96b4db..3fe98195b374a 100644 --- a/packages/core/deprecations/core-deprecations-server/tsconfig.json +++ b/packages/core/deprecations/core-deprecations-server/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "rootDir": ".", diff --git a/packages/core/doc-links/core-doc-links-browser-internal/BUILD.bazel b/packages/core/doc-links/core-doc-links-browser-internal/BUILD.bazel index db16ffd0f13e5..b0a8cea7da17d 100644 --- a/packages/core/doc-links/core-doc-links-browser-internal/BUILD.bazel +++ b/packages/core/doc-links/core-doc-links-browser-internal/BUILD.bazel @@ -75,7 +75,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -89,6 +88,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -100,17 +107,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/doc-links/core-doc-links-browser-internal/package.json b/packages/core/doc-links/core-doc-links-browser-internal/package.json index 3c8b135788782..00bfad1514cc1 100644 --- a/packages/core/doc-links/core-doc-links-browser-internal/package.json +++ b/packages/core/doc-links/core-doc-links-browser-internal/package.json @@ -5,5 +5,6 @@ "main": "./target_node/index.js", "browser": "./target_web/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/doc-links/core-doc-links-browser-internal/tsconfig.json b/packages/core/doc-links/core-doc-links-browser-internal/tsconfig.json index 49e920b0a461a..af8fdef592c43 100644 --- a/packages/core/doc-links/core-doc-links-browser-internal/tsconfig.json +++ b/packages/core/doc-links/core-doc-links-browser-internal/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/doc-links/core-doc-links-browser-mocks/BUILD.bazel b/packages/core/doc-links/core-doc-links-browser-mocks/BUILD.bazel index 337b138428c3b..67d4cf29a1e48 100644 --- a/packages/core/doc-links/core-doc-links-browser-mocks/BUILD.bazel +++ b/packages/core/doc-links/core-doc-links-browser-mocks/BUILD.bazel @@ -76,7 +76,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -90,6 +89,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -101,17 +108,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/doc-links/core-doc-links-browser-mocks/package.json b/packages/core/doc-links/core-doc-links-browser-mocks/package.json index 52a9c13781c46..d2085b6c99089 100644 --- a/packages/core/doc-links/core-doc-links-browser-mocks/package.json +++ b/packages/core/doc-links/core-doc-links-browser-mocks/package.json @@ -5,5 +5,6 @@ "main": "./target_node/index.js", "browser": "./target_web/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/doc-links/core-doc-links-browser-mocks/tsconfig.json b/packages/core/doc-links/core-doc-links-browser-mocks/tsconfig.json index 49e920b0a461a..af8fdef592c43 100644 --- a/packages/core/doc-links/core-doc-links-browser-mocks/tsconfig.json +++ b/packages/core/doc-links/core-doc-links-browser-mocks/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/doc-links/core-doc-links-browser/BUILD.bazel b/packages/core/doc-links/core-doc-links-browser/BUILD.bazel index e44b71fef345d..564858b40c5a7 100644 --- a/packages/core/doc-links/core-doc-links-browser/BUILD.bazel +++ b/packages/core/doc-links/core-doc-links-browser/BUILD.bazel @@ -72,7 +72,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -86,6 +85,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -97,17 +104,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/doc-links/core-doc-links-browser/package.json b/packages/core/doc-links/core-doc-links-browser/package.json index 253f8a00b8fd9..91d8b643949d2 100644 --- a/packages/core/doc-links/core-doc-links-browser/package.json +++ b/packages/core/doc-links/core-doc-links-browser/package.json @@ -5,5 +5,6 @@ "main": "./target_node/index.js", "browser": "./target_web/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/doc-links/core-doc-links-browser/tsconfig.json b/packages/core/doc-links/core-doc-links-browser/tsconfig.json index 49e920b0a461a..af8fdef592c43 100644 --- a/packages/core/doc-links/core-doc-links-browser/tsconfig.json +++ b/packages/core/doc-links/core-doc-links-browser/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/doc-links/core-doc-links-server-internal/BUILD.bazel b/packages/core/doc-links/core-doc-links-server-internal/BUILD.bazel index d30ea5cdb8f59..911d177dd40ba 100644 --- a/packages/core/doc-links/core-doc-links-server-internal/BUILD.bazel +++ b/packages/core/doc-links/core-doc-links-server-internal/BUILD.bazel @@ -68,7 +68,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -82,6 +81,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -93,17 +100,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/doc-links/core-doc-links-server-internal/package.json b/packages/core/doc-links/core-doc-links-server-internal/package.json index 79ac0d187e905..1c5ee24849e21 100644 --- a/packages/core/doc-links/core-doc-links-server-internal/package.json +++ b/packages/core/doc-links/core-doc-links-server-internal/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/doc-links/core-doc-links-server-internal/tsconfig.json b/packages/core/doc-links/core-doc-links-server-internal/tsconfig.json index 49e920b0a461a..af8fdef592c43 100644 --- a/packages/core/doc-links/core-doc-links-server-internal/tsconfig.json +++ b/packages/core/doc-links/core-doc-links-server-internal/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/doc-links/core-doc-links-server-mocks/BUILD.bazel b/packages/core/doc-links/core-doc-links-server-mocks/BUILD.bazel index f4db53e9cfea1..546564f9f581b 100644 --- a/packages/core/doc-links/core-doc-links-server-mocks/BUILD.bazel +++ b/packages/core/doc-links/core-doc-links-server-mocks/BUILD.bazel @@ -68,7 +68,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -82,6 +81,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -93,17 +100,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/doc-links/core-doc-links-server-mocks/package.json b/packages/core/doc-links/core-doc-links-server-mocks/package.json index 59078c9ab887c..7d15b2ecb0a7d 100644 --- a/packages/core/doc-links/core-doc-links-server-mocks/package.json +++ b/packages/core/doc-links/core-doc-links-server-mocks/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/doc-links/core-doc-links-server-mocks/tsconfig.json b/packages/core/doc-links/core-doc-links-server-mocks/tsconfig.json index 49e920b0a461a..af8fdef592c43 100644 --- a/packages/core/doc-links/core-doc-links-server-mocks/tsconfig.json +++ b/packages/core/doc-links/core-doc-links-server-mocks/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/doc-links/core-doc-links-server/BUILD.bazel b/packages/core/doc-links/core-doc-links-server/BUILD.bazel index 34f62b3377ee5..b670b86f3b41f 100644 --- a/packages/core/doc-links/core-doc-links-server/BUILD.bazel +++ b/packages/core/doc-links/core-doc-links-server/BUILD.bazel @@ -64,7 +64,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -78,6 +77,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -89,17 +96,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/doc-links/core-doc-links-server/package.json b/packages/core/doc-links/core-doc-links-server/package.json index 7b6f3c6e77e6c..98e82071c1afb 100644 --- a/packages/core/doc-links/core-doc-links-server/package.json +++ b/packages/core/doc-links/core-doc-links-server/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/doc-links/core-doc-links-server/tsconfig.json b/packages/core/doc-links/core-doc-links-server/tsconfig.json index 49e920b0a461a..af8fdef592c43 100644 --- a/packages/core/doc-links/core-doc-links-server/tsconfig.json +++ b/packages/core/doc-links/core-doc-links-server/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/elasticsearch/core-elasticsearch-client-server-internal/BUILD.bazel b/packages/core/elasticsearch/core-elasticsearch-client-server-internal/BUILD.bazel index 8c8c4d4a5a482..af435dff173a7 100644 --- a/packages/core/elasticsearch/core-elasticsearch-client-server-internal/BUILD.bazel +++ b/packages/core/elasticsearch/core-elasticsearch-client-server-internal/BUILD.bazel @@ -82,7 +82,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -96,6 +95,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -107,17 +114,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/elasticsearch/core-elasticsearch-client-server-internal/package.json b/packages/core/elasticsearch/core-elasticsearch-client-server-internal/package.json index 230b7c0645780..26a5453f7deb8 100644 --- a/packages/core/elasticsearch/core-elasticsearch-client-server-internal/package.json +++ b/packages/core/elasticsearch/core-elasticsearch-client-server-internal/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/elasticsearch/core-elasticsearch-client-server-internal/tsconfig.json b/packages/core/elasticsearch/core-elasticsearch-client-server-internal/tsconfig.json index 49e920b0a461a..af8fdef592c43 100644 --- a/packages/core/elasticsearch/core-elasticsearch-client-server-internal/tsconfig.json +++ b/packages/core/elasticsearch/core-elasticsearch-client-server-internal/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/elasticsearch/core-elasticsearch-client-server-mocks/BUILD.bazel b/packages/core/elasticsearch/core-elasticsearch-client-server-mocks/BUILD.bazel index 24e35e71cc654..903df3a4bf668 100644 --- a/packages/core/elasticsearch/core-elasticsearch-client-server-mocks/BUILD.bazel +++ b/packages/core/elasticsearch/core-elasticsearch-client-server-mocks/BUILD.bazel @@ -67,7 +67,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -81,6 +80,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -92,17 +99,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/elasticsearch/core-elasticsearch-client-server-mocks/package.json b/packages/core/elasticsearch/core-elasticsearch-client-server-mocks/package.json index 97675bc749230..2e40a2411c6f5 100644 --- a/packages/core/elasticsearch/core-elasticsearch-client-server-mocks/package.json +++ b/packages/core/elasticsearch/core-elasticsearch-client-server-mocks/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/elasticsearch/core-elasticsearch-client-server-mocks/tsconfig.json b/packages/core/elasticsearch/core-elasticsearch-client-server-mocks/tsconfig.json index 49e920b0a461a..af8fdef592c43 100644 --- a/packages/core/elasticsearch/core-elasticsearch-client-server-mocks/tsconfig.json +++ b/packages/core/elasticsearch/core-elasticsearch-client-server-mocks/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/elasticsearch/core-elasticsearch-server-internal/BUILD.bazel b/packages/core/elasticsearch/core-elasticsearch-server-internal/BUILD.bazel index 0609c66baced3..a609d040b08f3 100644 --- a/packages/core/elasticsearch/core-elasticsearch-server-internal/BUILD.bazel +++ b/packages/core/elasticsearch/core-elasticsearch-server-internal/BUILD.bazel @@ -101,7 +101,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -115,6 +114,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -126,17 +133,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/elasticsearch/core-elasticsearch-server-internal/package.json b/packages/core/elasticsearch/core-elasticsearch-server-internal/package.json index f1c98d0af1bf4..7da243a2ddd91 100644 --- a/packages/core/elasticsearch/core-elasticsearch-server-internal/package.json +++ b/packages/core/elasticsearch/core-elasticsearch-server-internal/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/elasticsearch/core-elasticsearch-server-internal/tsconfig.json b/packages/core/elasticsearch/core-elasticsearch-server-internal/tsconfig.json index 49e920b0a461a..af8fdef592c43 100644 --- a/packages/core/elasticsearch/core-elasticsearch-server-internal/tsconfig.json +++ b/packages/core/elasticsearch/core-elasticsearch-server-internal/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/elasticsearch/core-elasticsearch-server-mocks/BUILD.bazel b/packages/core/elasticsearch/core-elasticsearch-server-mocks/BUILD.bazel index 41de319850636..bfc62c14edd0b 100644 --- a/packages/core/elasticsearch/core-elasticsearch-server-mocks/BUILD.bazel +++ b/packages/core/elasticsearch/core-elasticsearch-server-mocks/BUILD.bazel @@ -70,7 +70,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -84,6 +83,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -95,17 +102,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/elasticsearch/core-elasticsearch-server-mocks/package.json b/packages/core/elasticsearch/core-elasticsearch-server-mocks/package.json index dcf8a6db03748..4bfdb9ae43502 100644 --- a/packages/core/elasticsearch/core-elasticsearch-server-mocks/package.json +++ b/packages/core/elasticsearch/core-elasticsearch-server-mocks/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/elasticsearch/core-elasticsearch-server-mocks/tsconfig.json b/packages/core/elasticsearch/core-elasticsearch-server-mocks/tsconfig.json index 49e920b0a461a..af8fdef592c43 100644 --- a/packages/core/elasticsearch/core-elasticsearch-server-mocks/tsconfig.json +++ b/packages/core/elasticsearch/core-elasticsearch-server-mocks/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/elasticsearch/core-elasticsearch-server/BUILD.bazel b/packages/core/elasticsearch/core-elasticsearch-server/BUILD.bazel index 5797b6cf23bf9..b21a8c7febbb4 100644 --- a/packages/core/elasticsearch/core-elasticsearch-server/BUILD.bazel +++ b/packages/core/elasticsearch/core-elasticsearch-server/BUILD.bazel @@ -68,7 +68,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -82,6 +81,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -93,17 +100,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/elasticsearch/core-elasticsearch-server/package.json b/packages/core/elasticsearch/core-elasticsearch-server/package.json index 08ab13b7c7dda..3c922fc3fff6d 100644 --- a/packages/core/elasticsearch/core-elasticsearch-server/package.json +++ b/packages/core/elasticsearch/core-elasticsearch-server/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/elasticsearch/core-elasticsearch-server/tsconfig.json b/packages/core/elasticsearch/core-elasticsearch-server/tsconfig.json index 49e920b0a461a..af8fdef592c43 100644 --- a/packages/core/elasticsearch/core-elasticsearch-server/tsconfig.json +++ b/packages/core/elasticsearch/core-elasticsearch-server/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/environment/core-environment-server-internal/BUILD.bazel b/packages/core/environment/core-environment-server-internal/BUILD.bazel index ce2fe36681310..02787bec3ad60 100644 --- a/packages/core/environment/core-environment-server-internal/BUILD.bazel +++ b/packages/core/environment/core-environment-server-internal/BUILD.bazel @@ -90,6 +90,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -101,17 +109,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/environment/core-environment-server-internal/package.json b/packages/core/environment/core-environment-server-internal/package.json index e66035563796f..4be8f11e12fc6 100644 --- a/packages/core/environment/core-environment-server-internal/package.json +++ b/packages/core/environment/core-environment-server-internal/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/environment/core-environment-server-mocks/BUILD.bazel b/packages/core/environment/core-environment-server-mocks/BUILD.bazel index 89cfa56844a40..99bb5420b5685 100644 --- a/packages/core/environment/core-environment-server-mocks/BUILD.bazel +++ b/packages/core/environment/core-environment-server-mocks/BUILD.bazel @@ -77,6 +77,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -88,17 +96,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/environment/core-environment-server-mocks/package.json b/packages/core/environment/core-environment-server-mocks/package.json index ea167991009e8..c8de3e7c69acf 100644 --- a/packages/core/environment/core-environment-server-mocks/package.json +++ b/packages/core/environment/core-environment-server-mocks/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/execution-context/core-execution-context-browser-internal/BUILD.bazel b/packages/core/execution-context/core-execution-context-browser-internal/BUILD.bazel index 6a4a658fd4333..5dafaa8a707cf 100644 --- a/packages/core/execution-context/core-execution-context-browser-internal/BUILD.bazel +++ b/packages/core/execution-context/core-execution-context-browser-internal/BUILD.bazel @@ -91,6 +91,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -102,17 +110,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/execution-context/core-execution-context-browser-internal/package.json b/packages/core/execution-context/core-execution-context-browser-internal/package.json index 75caa4626bafb..448610f80f573 100644 --- a/packages/core/execution-context/core-execution-context-browser-internal/package.json +++ b/packages/core/execution-context/core-execution-context-browser-internal/package.json @@ -5,5 +5,6 @@ "main": "./target_node/index.js", "browser": "./target_web/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/execution-context/core-execution-context-browser-mocks/BUILD.bazel b/packages/core/execution-context/core-execution-context-browser-mocks/BUILD.bazel index fdc055a9e9593..f47b874438a3a 100644 --- a/packages/core/execution-context/core-execution-context-browser-mocks/BUILD.bazel +++ b/packages/core/execution-context/core-execution-context-browser-mocks/BUILD.bazel @@ -87,6 +87,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -98,17 +106,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/execution-context/core-execution-context-browser-mocks/package.json b/packages/core/execution-context/core-execution-context-browser-mocks/package.json index 7551413f36cd8..e6e278b62aec6 100644 --- a/packages/core/execution-context/core-execution-context-browser-mocks/package.json +++ b/packages/core/execution-context/core-execution-context-browser-mocks/package.json @@ -5,5 +5,6 @@ "main": "./target_node/index.js", "browser": "./target_web/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/execution-context/core-execution-context-browser/BUILD.bazel b/packages/core/execution-context/core-execution-context-browser/BUILD.bazel index 9f029affa559a..bd66cba6f7716 100644 --- a/packages/core/execution-context/core-execution-context-browser/BUILD.bazel +++ b/packages/core/execution-context/core-execution-context-browser/BUILD.bazel @@ -86,6 +86,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -97,17 +105,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/execution-context/core-execution-context-browser/package.json b/packages/core/execution-context/core-execution-context-browser/package.json index 03061d5e07777..fe065da833ba4 100644 --- a/packages/core/execution-context/core-execution-context-browser/package.json +++ b/packages/core/execution-context/core-execution-context-browser/package.json @@ -5,5 +5,6 @@ "main": "./target_node/index.js", "browser": "./target_web/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/execution-context/core-execution-context-common/BUILD.bazel b/packages/core/execution-context/core-execution-context-common/BUILD.bazel index fc9e586791b13..2346a268246e5 100644 --- a/packages/core/execution-context/core-execution-context-common/BUILD.bazel +++ b/packages/core/execution-context/core-execution-context-common/BUILD.bazel @@ -84,6 +84,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -95,17 +103,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/execution-context/core-execution-context-common/package.json b/packages/core/execution-context/core-execution-context-common/package.json index 21667c5d6240a..8811373e38431 100644 --- a/packages/core/execution-context/core-execution-context-common/package.json +++ b/packages/core/execution-context/core-execution-context-common/package.json @@ -5,5 +5,6 @@ "main": "./target_node/index.js", "browser": "./target_web/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/execution-context/core-execution-context-server-internal/BUILD.bazel b/packages/core/execution-context/core-execution-context-server-internal/BUILD.bazel index 8a3f5dec58259..bc44df8b75205 100644 --- a/packages/core/execution-context/core-execution-context-server-internal/BUILD.bazel +++ b/packages/core/execution-context/core-execution-context-server-internal/BUILD.bazel @@ -87,6 +87,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -98,17 +106,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/execution-context/core-execution-context-server-internal/package.json b/packages/core/execution-context/core-execution-context-server-internal/package.json index 4620f30b6f1f8..40e2e6b7d1a2d 100644 --- a/packages/core/execution-context/core-execution-context-server-internal/package.json +++ b/packages/core/execution-context/core-execution-context-server-internal/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/execution-context/core-execution-context-server-mocks/BUILD.bazel b/packages/core/execution-context/core-execution-context-server-mocks/BUILD.bazel index 5727d8b9246c7..4f20c479b8de3 100644 --- a/packages/core/execution-context/core-execution-context-server-mocks/BUILD.bazel +++ b/packages/core/execution-context/core-execution-context-server-mocks/BUILD.bazel @@ -78,6 +78,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -89,17 +97,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/execution-context/core-execution-context-server-mocks/package.json b/packages/core/execution-context/core-execution-context-server-mocks/package.json index ecbc92ed92b99..398a5984a4568 100644 --- a/packages/core/execution-context/core-execution-context-server-mocks/package.json +++ b/packages/core/execution-context/core-execution-context-server-mocks/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/execution-context/core-execution-context-server/BUILD.bazel b/packages/core/execution-context/core-execution-context-server/BUILD.bazel index e5c7efe6299e2..8b50d3351a8cd 100644 --- a/packages/core/execution-context/core-execution-context-server/BUILD.bazel +++ b/packages/core/execution-context/core-execution-context-server/BUILD.bazel @@ -78,6 +78,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -89,17 +97,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/execution-context/core-execution-context-server/package.json b/packages/core/execution-context/core-execution-context-server/package.json index 7e5c747f2f727..898c44da57f1c 100644 --- a/packages/core/execution-context/core-execution-context-server/package.json +++ b/packages/core/execution-context/core-execution-context-server/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/fatal-errors/core-fatal-errors-browser-internal/BUILD.bazel b/packages/core/fatal-errors/core-fatal-errors-browser-internal/BUILD.bazel index ff30db81b45b5..bd1cf9b240027 100644 --- a/packages/core/fatal-errors/core-fatal-errors-browser-internal/BUILD.bazel +++ b/packages/core/fatal-errors/core-fatal-errors-browser-internal/BUILD.bazel @@ -93,7 +93,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -107,6 +106,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -118,17 +125,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/fatal-errors/core-fatal-errors-browser-internal/package.json b/packages/core/fatal-errors/core-fatal-errors-browser-internal/package.json index 55ac81c5f63c1..327573f65a502 100644 --- a/packages/core/fatal-errors/core-fatal-errors-browser-internal/package.json +++ b/packages/core/fatal-errors/core-fatal-errors-browser-internal/package.json @@ -5,5 +5,6 @@ "main": "./target_node/index.js", "browser": "./target_web/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/fatal-errors/core-fatal-errors-browser-internal/tsconfig.json b/packages/core/fatal-errors/core-fatal-errors-browser-internal/tsconfig.json index 9f2708fb14528..4eb9855fa759d 100644 --- a/packages/core/fatal-errors/core-fatal-errors-browser-internal/tsconfig.json +++ b/packages/core/fatal-errors/core-fatal-errors-browser-internal/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/fatal-errors/core-fatal-errors-browser-mocks/BUILD.bazel b/packages/core/fatal-errors/core-fatal-errors-browser-mocks/BUILD.bazel index 3bf9c96969ff0..cc6407d5d9e3e 100644 --- a/packages/core/fatal-errors/core-fatal-errors-browser-mocks/BUILD.bazel +++ b/packages/core/fatal-errors/core-fatal-errors-browser-mocks/BUILD.bazel @@ -76,7 +76,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -90,6 +89,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -101,17 +108,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/fatal-errors/core-fatal-errors-browser-mocks/package.json b/packages/core/fatal-errors/core-fatal-errors-browser-mocks/package.json index 667ceae5bd237..edc9e1832b147 100644 --- a/packages/core/fatal-errors/core-fatal-errors-browser-mocks/package.json +++ b/packages/core/fatal-errors/core-fatal-errors-browser-mocks/package.json @@ -5,5 +5,6 @@ "main": "./target_node/index.js", "browser": "./target_web/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/fatal-errors/core-fatal-errors-browser-mocks/tsconfig.json b/packages/core/fatal-errors/core-fatal-errors-browser-mocks/tsconfig.json index ca626e2c05d8c..d5dece108de5d 100644 --- a/packages/core/fatal-errors/core-fatal-errors-browser-mocks/tsconfig.json +++ b/packages/core/fatal-errors/core-fatal-errors-browser-mocks/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/fatal-errors/core-fatal-errors-browser/BUILD.bazel b/packages/core/fatal-errors/core-fatal-errors-browser/BUILD.bazel index ba78e8d4f7f44..680205ac2db28 100644 --- a/packages/core/fatal-errors/core-fatal-errors-browser/BUILD.bazel +++ b/packages/core/fatal-errors/core-fatal-errors-browser/BUILD.bazel @@ -74,7 +74,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -88,6 +87,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -99,17 +106,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/fatal-errors/core-fatal-errors-browser/package.json b/packages/core/fatal-errors/core-fatal-errors-browser/package.json index ad27ac3cfab68..880780bb73c05 100644 --- a/packages/core/fatal-errors/core-fatal-errors-browser/package.json +++ b/packages/core/fatal-errors/core-fatal-errors-browser/package.json @@ -5,5 +5,6 @@ "main": "./target_node/index.js", "browser": "./target_web/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/fatal-errors/core-fatal-errors-browser/tsconfig.json b/packages/core/fatal-errors/core-fatal-errors-browser/tsconfig.json index ca626e2c05d8c..d5dece108de5d 100644 --- a/packages/core/fatal-errors/core-fatal-errors-browser/tsconfig.json +++ b/packages/core/fatal-errors/core-fatal-errors-browser/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/http/core-http-browser-internal/BUILD.bazel b/packages/core/http/core-http-browser-internal/BUILD.bazel index 80395aa4d3621..5f46ac65c2c24 100644 --- a/packages/core/http/core-http-browser-internal/BUILD.bazel +++ b/packages/core/http/core-http-browser-internal/BUILD.bazel @@ -99,6 +99,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -110,17 +118,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/http/core-http-browser-internal/package.json b/packages/core/http/core-http-browser-internal/package.json index 10d7af546754e..f61b71cc8d6ea 100644 --- a/packages/core/http/core-http-browser-internal/package.json +++ b/packages/core/http/core-http-browser-internal/package.json @@ -5,5 +5,6 @@ "main": "./target_node/index.js", "browser": "./target_web/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/http/core-http-browser-mocks/BUILD.bazel b/packages/core/http/core-http-browser-mocks/BUILD.bazel index d10b9058c2571..f951d30645a75 100644 --- a/packages/core/http/core-http-browser-mocks/BUILD.bazel +++ b/packages/core/http/core-http-browser-mocks/BUILD.bazel @@ -88,6 +88,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -99,17 +107,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/http/core-http-browser-mocks/package.json b/packages/core/http/core-http-browser-mocks/package.json index 960705248b954..85d397fcb3018 100644 --- a/packages/core/http/core-http-browser-mocks/package.json +++ b/packages/core/http/core-http-browser-mocks/package.json @@ -5,5 +5,6 @@ "main": "./target_node/index.js", "browser": "./target_web/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/http/core-http-browser/BUILD.bazel b/packages/core/http/core-http-browser/BUILD.bazel index 6e29983fac19a..f0566749a6206 100644 --- a/packages/core/http/core-http-browser/BUILD.bazel +++ b/packages/core/http/core-http-browser/BUILD.bazel @@ -86,6 +86,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -97,17 +105,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/http/core-http-browser/package.json b/packages/core/http/core-http-browser/package.json index 78ed7967b8713..6124448731b9d 100644 --- a/packages/core/http/core-http-browser/package.json +++ b/packages/core/http/core-http-browser/package.json @@ -5,5 +5,6 @@ "main": "./target_node/index.js", "browser": "./target_web/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/http/core-http-common/BUILD.bazel b/packages/core/http/core-http-common/BUILD.bazel index 8dae5135dd38c..4852f4c69dcba 100644 --- a/packages/core/http/core-http-common/BUILD.bazel +++ b/packages/core/http/core-http-common/BUILD.bazel @@ -84,6 +84,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -95,17 +103,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/http/core-http-common/package.json b/packages/core/http/core-http-common/package.json index 3ec2d1e626b4b..42a7a24c829e7 100644 --- a/packages/core/http/core-http-common/package.json +++ b/packages/core/http/core-http-common/package.json @@ -5,5 +5,6 @@ "main": "./target_node/index.js", "browser": "./target_web/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/http/core-http-context-server-internal/BUILD.bazel b/packages/core/http/core-http-context-server-internal/BUILD.bazel index 199941679d710..93229dd4f2eee 100644 --- a/packages/core/http/core-http-context-server-internal/BUILD.bazel +++ b/packages/core/http/core-http-context-server-internal/BUILD.bazel @@ -71,7 +71,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -85,6 +84,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -96,17 +103,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/http/core-http-context-server-internal/package.json b/packages/core/http/core-http-context-server-internal/package.json index 4c236c6ea30ce..3c43287f81311 100644 --- a/packages/core/http/core-http-context-server-internal/package.json +++ b/packages/core/http/core-http-context-server-internal/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/http/core-http-context-server-internal/tsconfig.json b/packages/core/http/core-http-context-server-internal/tsconfig.json index 49e920b0a461a..af8fdef592c43 100644 --- a/packages/core/http/core-http-context-server-internal/tsconfig.json +++ b/packages/core/http/core-http-context-server-internal/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/http/core-http-context-server-mocks/BUILD.bazel b/packages/core/http/core-http-context-server-mocks/BUILD.bazel index 127468271b0f1..e6deb74b09ab9 100644 --- a/packages/core/http/core-http-context-server-mocks/BUILD.bazel +++ b/packages/core/http/core-http-context-server-mocks/BUILD.bazel @@ -65,7 +65,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -79,6 +78,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -90,17 +97,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/http/core-http-context-server-mocks/package.json b/packages/core/http/core-http-context-server-mocks/package.json index aff7cd8429cac..a45376bd7c46f 100644 --- a/packages/core/http/core-http-context-server-mocks/package.json +++ b/packages/core/http/core-http-context-server-mocks/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/http/core-http-context-server-mocks/tsconfig.json b/packages/core/http/core-http-context-server-mocks/tsconfig.json index 49e920b0a461a..af8fdef592c43 100644 --- a/packages/core/http/core-http-context-server-mocks/tsconfig.json +++ b/packages/core/http/core-http-context-server-mocks/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/http/core-http-request-handler-context-server-internal/BUILD.bazel b/packages/core/http/core-http-request-handler-context-server-internal/BUILD.bazel index 82040b5fb1ad8..af501978f3246 100644 --- a/packages/core/http/core-http-request-handler-context-server-internal/BUILD.bazel +++ b/packages/core/http/core-http-request-handler-context-server-internal/BUILD.bazel @@ -75,7 +75,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -89,6 +88,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -100,17 +107,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/http/core-http-request-handler-context-server-internal/package.json b/packages/core/http/core-http-request-handler-context-server-internal/package.json index 672bb6ce72715..15efa6e69096b 100644 --- a/packages/core/http/core-http-request-handler-context-server-internal/package.json +++ b/packages/core/http/core-http-request-handler-context-server-internal/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/http/core-http-request-handler-context-server-internal/tsconfig.json b/packages/core/http/core-http-request-handler-context-server-internal/tsconfig.json index 71bb40fe57f3f..ff48529c6f303 100644 --- a/packages/core/http/core-http-request-handler-context-server-internal/tsconfig.json +++ b/packages/core/http/core-http-request-handler-context-server-internal/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/http/core-http-request-handler-context-server/BUILD.bazel b/packages/core/http/core-http-request-handler-context-server/BUILD.bazel index 45c5ebc08776f..6ca6411dbfbd1 100644 --- a/packages/core/http/core-http-request-handler-context-server/BUILD.bazel +++ b/packages/core/http/core-http-request-handler-context-server/BUILD.bazel @@ -69,7 +69,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -83,6 +82,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -94,17 +101,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/http/core-http-request-handler-context-server/package.json b/packages/core/http/core-http-request-handler-context-server/package.json index da85fc826828d..665e4f309631a 100644 --- a/packages/core/http/core-http-request-handler-context-server/package.json +++ b/packages/core/http/core-http-request-handler-context-server/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/http/core-http-request-handler-context-server/tsconfig.json b/packages/core/http/core-http-request-handler-context-server/tsconfig.json index 71bb40fe57f3f..ff48529c6f303 100644 --- a/packages/core/http/core-http-request-handler-context-server/tsconfig.json +++ b/packages/core/http/core-http-request-handler-context-server/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/http/core-http-resources-server-internal/BUILD.bazel b/packages/core/http/core-http-resources-server-internal/BUILD.bazel index 8c286485efafb..3c299b5442ebc 100644 --- a/packages/core/http/core-http-resources-server-internal/BUILD.bazel +++ b/packages/core/http/core-http-resources-server-internal/BUILD.bazel @@ -74,7 +74,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -88,6 +87,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -99,17 +106,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/http/core-http-resources-server-internal/package.json b/packages/core/http/core-http-resources-server-internal/package.json index 71e4a44a35504..70144170ed0b0 100644 --- a/packages/core/http/core-http-resources-server-internal/package.json +++ b/packages/core/http/core-http-resources-server-internal/package.json @@ -3,5 +3,6 @@ "private": true, "version": "1.0.0", "main": "./target_node/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/http/core-http-resources-server-internal/tsconfig.json b/packages/core/http/core-http-resources-server-internal/tsconfig.json index 71bb40fe57f3f..ff48529c6f303 100644 --- a/packages/core/http/core-http-resources-server-internal/tsconfig.json +++ b/packages/core/http/core-http-resources-server-internal/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/http/core-http-resources-server-mocks/BUILD.bazel b/packages/core/http/core-http-resources-server-mocks/BUILD.bazel index 81eefd0db2ee2..5060511ec65ee 100644 --- a/packages/core/http/core-http-resources-server-mocks/BUILD.bazel +++ b/packages/core/http/core-http-resources-server-mocks/BUILD.bazel @@ -69,7 +69,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -83,6 +82,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -94,17 +101,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/http/core-http-resources-server-mocks/package.json b/packages/core/http/core-http-resources-server-mocks/package.json index 47247cd2abaf5..7a264c389f642 100644 --- a/packages/core/http/core-http-resources-server-mocks/package.json +++ b/packages/core/http/core-http-resources-server-mocks/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/http/core-http-resources-server-mocks/tsconfig.json b/packages/core/http/core-http-resources-server-mocks/tsconfig.json index 71bb40fe57f3f..ff48529c6f303 100644 --- a/packages/core/http/core-http-resources-server-mocks/tsconfig.json +++ b/packages/core/http/core-http-resources-server-mocks/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/http/core-http-resources-server/BUILD.bazel b/packages/core/http/core-http-resources-server/BUILD.bazel index 16583b6801b4a..a17973e8d5e64 100644 --- a/packages/core/http/core-http-resources-server/BUILD.bazel +++ b/packages/core/http/core-http-resources-server/BUILD.bazel @@ -66,7 +66,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -80,6 +79,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -91,17 +98,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/http/core-http-resources-server/package.json b/packages/core/http/core-http-resources-server/package.json index 156bc4c8948b4..ecf7f2691ae9f 100644 --- a/packages/core/http/core-http-resources-server/package.json +++ b/packages/core/http/core-http-resources-server/package.json @@ -3,5 +3,6 @@ "private": true, "version": "1.0.0", "main": "./target_node/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/http/core-http-resources-server/tsconfig.json b/packages/core/http/core-http-resources-server/tsconfig.json index 71bb40fe57f3f..ff48529c6f303 100644 --- a/packages/core/http/core-http-resources-server/tsconfig.json +++ b/packages/core/http/core-http-resources-server/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/http/core-http-router-server-internal/BUILD.bazel b/packages/core/http/core-http-router-server-internal/BUILD.bazel index 5938665d14a73..511f84695274d 100644 --- a/packages/core/http/core-http-router-server-internal/BUILD.bazel +++ b/packages/core/http/core-http-router-server-internal/BUILD.bazel @@ -80,7 +80,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -94,6 +93,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -105,17 +112,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/http/core-http-router-server-internal/package.json b/packages/core/http/core-http-router-server-internal/package.json index 12e3cf1498f36..6bf05d2b0d2c3 100644 --- a/packages/core/http/core-http-router-server-internal/package.json +++ b/packages/core/http/core-http-router-server-internal/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/http/core-http-router-server-internal/tsconfig.json b/packages/core/http/core-http-router-server-internal/tsconfig.json index 49e920b0a461a..af8fdef592c43 100644 --- a/packages/core/http/core-http-router-server-internal/tsconfig.json +++ b/packages/core/http/core-http-router-server-internal/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/http/core-http-router-server-mocks/BUILD.bazel b/packages/core/http/core-http-router-server-mocks/BUILD.bazel index e178c6eb061d1..867785d471708 100644 --- a/packages/core/http/core-http-router-server-mocks/BUILD.bazel +++ b/packages/core/http/core-http-router-server-mocks/BUILD.bazel @@ -71,7 +71,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -85,6 +84,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -96,17 +103,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/http/core-http-router-server-mocks/package.json b/packages/core/http/core-http-router-server-mocks/package.json index 05055e151a0e1..578109fa9e5b0 100644 --- a/packages/core/http/core-http-router-server-mocks/package.json +++ b/packages/core/http/core-http-router-server-mocks/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/http/core-http-router-server-mocks/tsconfig.json b/packages/core/http/core-http-router-server-mocks/tsconfig.json index 49e920b0a461a..af8fdef592c43 100644 --- a/packages/core/http/core-http-router-server-mocks/tsconfig.json +++ b/packages/core/http/core-http-router-server-mocks/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/http/core-http-server-internal/BUILD.bazel b/packages/core/http/core-http-server-internal/BUILD.bazel index 214bb5833b7a9..a5457aca25e03 100644 --- a/packages/core/http/core-http-server-internal/BUILD.bazel +++ b/packages/core/http/core-http-server-internal/BUILD.bazel @@ -114,7 +114,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -128,6 +127,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -139,17 +146,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/http/core-http-server-internal/package.json b/packages/core/http/core-http-server-internal/package.json index bf2e87b07d228..10e06bebc4846 100644 --- a/packages/core/http/core-http-server-internal/package.json +++ b/packages/core/http/core-http-server-internal/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/http/core-http-server-internal/tsconfig.json b/packages/core/http/core-http-server-internal/tsconfig.json index 49e920b0a461a..af8fdef592c43 100644 --- a/packages/core/http/core-http-server-internal/tsconfig.json +++ b/packages/core/http/core-http-server-internal/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/http/core-http-server-mocks/BUILD.bazel b/packages/core/http/core-http-server-mocks/BUILD.bazel index 3031a90cce2b8..e5f898bd4f632 100644 --- a/packages/core/http/core-http-server-mocks/BUILD.bazel +++ b/packages/core/http/core-http-server-mocks/BUILD.bazel @@ -84,7 +84,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -98,6 +97,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -109,17 +116,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/http/core-http-server-mocks/package.json b/packages/core/http/core-http-server-mocks/package.json index 2efeb0f8db9d3..e1d3718cfc708 100644 --- a/packages/core/http/core-http-server-mocks/package.json +++ b/packages/core/http/core-http-server-mocks/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/http/core-http-server-mocks/tsconfig.json b/packages/core/http/core-http-server-mocks/tsconfig.json index 49e920b0a461a..af8fdef592c43 100644 --- a/packages/core/http/core-http-server-mocks/tsconfig.json +++ b/packages/core/http/core-http-server-mocks/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/http/core-http-server/BUILD.bazel b/packages/core/http/core-http-server/BUILD.bazel index b3d2f9ab4109c..128d466207ed6 100644 --- a/packages/core/http/core-http-server/BUILD.bazel +++ b/packages/core/http/core-http-server/BUILD.bazel @@ -85,6 +85,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -96,17 +104,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/http/core-http-server/package.json b/packages/core/http/core-http-server/package.json index e56981c661222..17ad2086c6034 100644 --- a/packages/core/http/core-http-server/package.json +++ b/packages/core/http/core-http-server/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/i18n/core-i18n-browser-internal/BUILD.bazel b/packages/core/i18n/core-i18n-browser-internal/BUILD.bazel index b0c5e3eedff9e..fbfe5f0d565a0 100644 --- a/packages/core/i18n/core-i18n-browser-internal/BUILD.bazel +++ b/packages/core/i18n/core-i18n-browser-internal/BUILD.bazel @@ -77,7 +77,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -91,6 +90,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -102,17 +109,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/i18n/core-i18n-browser-internal/package.json b/packages/core/i18n/core-i18n-browser-internal/package.json index 4feb5bab3251f..b2a27795b4663 100644 --- a/packages/core/i18n/core-i18n-browser-internal/package.json +++ b/packages/core/i18n/core-i18n-browser-internal/package.json @@ -5,5 +5,6 @@ "main": "./target_node/index.js", "browser": "./target_web/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/i18n/core-i18n-browser-internal/tsconfig.json b/packages/core/i18n/core-i18n-browser-internal/tsconfig.json index 26b4c7aca3a67..8a9b8b46147f1 100644 --- a/packages/core/i18n/core-i18n-browser-internal/tsconfig.json +++ b/packages/core/i18n/core-i18n-browser-internal/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/i18n/core-i18n-browser-mocks/BUILD.bazel b/packages/core/i18n/core-i18n-browser-mocks/BUILD.bazel index b4824a3afb15c..024b03ca186e6 100644 --- a/packages/core/i18n/core-i18n-browser-mocks/BUILD.bazel +++ b/packages/core/i18n/core-i18n-browser-mocks/BUILD.bazel @@ -76,7 +76,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -90,6 +89,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -101,17 +108,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/i18n/core-i18n-browser-mocks/package.json b/packages/core/i18n/core-i18n-browser-mocks/package.json index ef738f9292f52..b04b9ab71bc6b 100644 --- a/packages/core/i18n/core-i18n-browser-mocks/package.json +++ b/packages/core/i18n/core-i18n-browser-mocks/package.json @@ -5,5 +5,6 @@ "main": "./target_node/index.js", "browser": "./target_web/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/i18n/core-i18n-browser-mocks/tsconfig.json b/packages/core/i18n/core-i18n-browser-mocks/tsconfig.json index 49e920b0a461a..af8fdef592c43 100644 --- a/packages/core/i18n/core-i18n-browser-mocks/tsconfig.json +++ b/packages/core/i18n/core-i18n-browser-mocks/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/i18n/core-i18n-browser/BUILD.bazel b/packages/core/i18n/core-i18n-browser/BUILD.bazel index 704a1bcba3fbe..be675f43567fb 100644 --- a/packages/core/i18n/core-i18n-browser/BUILD.bazel +++ b/packages/core/i18n/core-i18n-browser/BUILD.bazel @@ -73,7 +73,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -87,6 +86,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -98,17 +105,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/i18n/core-i18n-browser/package.json b/packages/core/i18n/core-i18n-browser/package.json index 651e5a0ab57a9..cb97be2e54d99 100644 --- a/packages/core/i18n/core-i18n-browser/package.json +++ b/packages/core/i18n/core-i18n-browser/package.json @@ -5,5 +5,6 @@ "main": "./target_node/index.js", "browser": "./target_web/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/i18n/core-i18n-browser/tsconfig.json b/packages/core/i18n/core-i18n-browser/tsconfig.json index 49e920b0a461a..af8fdef592c43 100644 --- a/packages/core/i18n/core-i18n-browser/tsconfig.json +++ b/packages/core/i18n/core-i18n-browser/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/i18n/core-i18n-server-internal/BUILD.bazel b/packages/core/i18n/core-i18n-server-internal/BUILD.bazel index b315f479c4889..d1885f2ff09c1 100644 --- a/packages/core/i18n/core-i18n-server-internal/BUILD.bazel +++ b/packages/core/i18n/core-i18n-server-internal/BUILD.bazel @@ -88,7 +88,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", root_dir = ".", @@ -103,6 +102,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -114,17 +121,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/i18n/core-i18n-server-internal/package.json b/packages/core/i18n/core-i18n-server-internal/package.json index a3510ea753b03..eeee098fa9348 100644 --- a/packages/core/i18n/core-i18n-server-internal/package.json +++ b/packages/core/i18n/core-i18n-server-internal/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/i18n/core-i18n-server-internal/tsconfig.json b/packages/core/i18n/core-i18n-server-internal/tsconfig.json index ff8b3da96b4db..3fe98195b374a 100644 --- a/packages/core/i18n/core-i18n-server-internal/tsconfig.json +++ b/packages/core/i18n/core-i18n-server-internal/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "rootDir": ".", diff --git a/packages/core/i18n/core-i18n-server-mocks/BUILD.bazel b/packages/core/i18n/core-i18n-server-mocks/BUILD.bazel index d324c377b6adf..0468c8d6b8628 100644 --- a/packages/core/i18n/core-i18n-server-mocks/BUILD.bazel +++ b/packages/core/i18n/core-i18n-server-mocks/BUILD.bazel @@ -74,7 +74,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -88,6 +87,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -99,17 +106,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/i18n/core-i18n-server-mocks/package.json b/packages/core/i18n/core-i18n-server-mocks/package.json index 92368578109cb..e53b59962a3bf 100644 --- a/packages/core/i18n/core-i18n-server-mocks/package.json +++ b/packages/core/i18n/core-i18n-server-mocks/package.json @@ -5,5 +5,6 @@ "main": "./target_node/index.js", "browser": "./target_web/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/i18n/core-i18n-server-mocks/tsconfig.json b/packages/core/i18n/core-i18n-server-mocks/tsconfig.json index 49e920b0a461a..af8fdef592c43 100644 --- a/packages/core/i18n/core-i18n-server-mocks/tsconfig.json +++ b/packages/core/i18n/core-i18n-server-mocks/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/i18n/core-i18n-server/BUILD.bazel b/packages/core/i18n/core-i18n-server/BUILD.bazel index c3b9d8fec6241..ac40679dcbefb 100644 --- a/packages/core/i18n/core-i18n-server/BUILD.bazel +++ b/packages/core/i18n/core-i18n-server/BUILD.bazel @@ -64,7 +64,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", root_dir = ".", @@ -79,6 +78,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -90,17 +97,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/i18n/core-i18n-server/package.json b/packages/core/i18n/core-i18n-server/package.json index d2e327af8f3c4..6e4c172f54200 100644 --- a/packages/core/i18n/core-i18n-server/package.json +++ b/packages/core/i18n/core-i18n-server/package.json @@ -5,5 +5,6 @@ "main": "./target_node/index.js", "browser": "./target_web/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/i18n/core-i18n-server/tsconfig.json b/packages/core/i18n/core-i18n-server/tsconfig.json index 49e920b0a461a..af8fdef592c43 100644 --- a/packages/core/i18n/core-i18n-server/tsconfig.json +++ b/packages/core/i18n/core-i18n-server/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/injected-metadata/core-injected-metadata-browser-internal/BUILD.bazel b/packages/core/injected-metadata/core-injected-metadata-browser-internal/BUILD.bazel index 3ace9f8f44058..619d355c908fc 100644 --- a/packages/core/injected-metadata/core-injected-metadata-browser-internal/BUILD.bazel +++ b/packages/core/injected-metadata/core-injected-metadata-browser-internal/BUILD.bazel @@ -78,7 +78,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -92,6 +91,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -103,17 +110,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/injected-metadata/core-injected-metadata-browser-internal/package.json b/packages/core/injected-metadata/core-injected-metadata-browser-internal/package.json index 19a13df15cbdc..107773154a0b5 100644 --- a/packages/core/injected-metadata/core-injected-metadata-browser-internal/package.json +++ b/packages/core/injected-metadata/core-injected-metadata-browser-internal/package.json @@ -5,5 +5,6 @@ "main": "./target_node/index.js", "browser": "./target_web/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/injected-metadata/core-injected-metadata-browser-internal/tsconfig.json b/packages/core/injected-metadata/core-injected-metadata-browser-internal/tsconfig.json index ca626e2c05d8c..d5dece108de5d 100644 --- a/packages/core/injected-metadata/core-injected-metadata-browser-internal/tsconfig.json +++ b/packages/core/injected-metadata/core-injected-metadata-browser-internal/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/injected-metadata/core-injected-metadata-browser-mocks/BUILD.bazel b/packages/core/injected-metadata/core-injected-metadata-browser-mocks/BUILD.bazel index 88a4c0b92767d..f4c3fbdec9a1c 100644 --- a/packages/core/injected-metadata/core-injected-metadata-browser-mocks/BUILD.bazel +++ b/packages/core/injected-metadata/core-injected-metadata-browser-mocks/BUILD.bazel @@ -72,7 +72,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -86,6 +85,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -97,17 +104,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/injected-metadata/core-injected-metadata-browser-mocks/package.json b/packages/core/injected-metadata/core-injected-metadata-browser-mocks/package.json index 090b9a9aba665..4c96174666f69 100644 --- a/packages/core/injected-metadata/core-injected-metadata-browser-mocks/package.json +++ b/packages/core/injected-metadata/core-injected-metadata-browser-mocks/package.json @@ -5,5 +5,6 @@ "main": "./target_node/index.js", "browser": "./target_web/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/injected-metadata/core-injected-metadata-browser-mocks/tsconfig.json b/packages/core/injected-metadata/core-injected-metadata-browser-mocks/tsconfig.json index ca626e2c05d8c..d5dece108de5d 100644 --- a/packages/core/injected-metadata/core-injected-metadata-browser-mocks/tsconfig.json +++ b/packages/core/injected-metadata/core-injected-metadata-browser-mocks/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/injected-metadata/core-injected-metadata-browser/BUILD.bazel b/packages/core/injected-metadata/core-injected-metadata-browser/BUILD.bazel index a02b406b4be9f..ba69e107cf1f8 100644 --- a/packages/core/injected-metadata/core-injected-metadata-browser/BUILD.bazel +++ b/packages/core/injected-metadata/core-injected-metadata-browser/BUILD.bazel @@ -92,7 +92,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -106,6 +105,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -117,17 +124,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/injected-metadata/core-injected-metadata-browser/package.json b/packages/core/injected-metadata/core-injected-metadata-browser/package.json index 6bc4611c157ac..c3e89f1bad632 100644 --- a/packages/core/injected-metadata/core-injected-metadata-browser/package.json +++ b/packages/core/injected-metadata/core-injected-metadata-browser/package.json @@ -5,5 +5,6 @@ "main": "./target_node/index.js", "browser": "./target_web/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/injected-metadata/core-injected-metadata-browser/tsconfig.json b/packages/core/injected-metadata/core-injected-metadata-browser/tsconfig.json index ca626e2c05d8c..d5dece108de5d 100644 --- a/packages/core/injected-metadata/core-injected-metadata-browser/tsconfig.json +++ b/packages/core/injected-metadata/core-injected-metadata-browser/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/injected-metadata/core-injected-metadata-common-internal/BUILD.bazel b/packages/core/injected-metadata/core-injected-metadata-common-internal/BUILD.bazel index f03dfb7944e14..0540de01bc9c4 100644 --- a/packages/core/injected-metadata/core-injected-metadata-common-internal/BUILD.bazel +++ b/packages/core/injected-metadata/core-injected-metadata-common-internal/BUILD.bazel @@ -76,7 +76,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -90,6 +89,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -101,17 +108,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/injected-metadata/core-injected-metadata-common-internal/package.json b/packages/core/injected-metadata/core-injected-metadata-common-internal/package.json index 2859de4a935a6..7f4052847f183 100644 --- a/packages/core/injected-metadata/core-injected-metadata-common-internal/package.json +++ b/packages/core/injected-metadata/core-injected-metadata-common-internal/package.json @@ -5,5 +5,6 @@ "main": "./target_node/index.js", "browser": "./target_web/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/injected-metadata/core-injected-metadata-common-internal/tsconfig.json b/packages/core/injected-metadata/core-injected-metadata-common-internal/tsconfig.json index ca626e2c05d8c..d5dece108de5d 100644 --- a/packages/core/injected-metadata/core-injected-metadata-common-internal/tsconfig.json +++ b/packages/core/injected-metadata/core-injected-metadata-common-internal/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/integrations/core-integrations-browser-internal/BUILD.bazel b/packages/core/integrations/core-integrations-browser-internal/BUILD.bazel index 73df7f69b705a..f7ac69215dd0c 100644 --- a/packages/core/integrations/core-integrations-browser-internal/BUILD.bazel +++ b/packages/core/integrations/core-integrations-browser-internal/BUILD.bazel @@ -84,7 +84,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -98,6 +97,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -109,17 +116,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/integrations/core-integrations-browser-internal/package.json b/packages/core/integrations/core-integrations-browser-internal/package.json index 1ab0addd1add6..a4e0066c114a0 100644 --- a/packages/core/integrations/core-integrations-browser-internal/package.json +++ b/packages/core/integrations/core-integrations-browser-internal/package.json @@ -5,5 +5,6 @@ "main": "./target_node/index.js", "browser": "./target_web/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/integrations/core-integrations-browser-internal/tsconfig.json b/packages/core/integrations/core-integrations-browser-internal/tsconfig.json index 4abe25d2969e6..bb5b7ea01eb29 100644 --- a/packages/core/integrations/core-integrations-browser-internal/tsconfig.json +++ b/packages/core/integrations/core-integrations-browser-internal/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/integrations/core-integrations-browser-mocks/BUILD.bazel b/packages/core/integrations/core-integrations-browser-mocks/BUILD.bazel index bbfc2771fd1e7..ce47f36d5853e 100644 --- a/packages/core/integrations/core-integrations-browser-mocks/BUILD.bazel +++ b/packages/core/integrations/core-integrations-browser-mocks/BUILD.bazel @@ -72,7 +72,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -86,6 +85,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -97,17 +104,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/integrations/core-integrations-browser-mocks/package.json b/packages/core/integrations/core-integrations-browser-mocks/package.json index a2c706786a127..eea3536fe806a 100644 --- a/packages/core/integrations/core-integrations-browser-mocks/package.json +++ b/packages/core/integrations/core-integrations-browser-mocks/package.json @@ -5,5 +5,6 @@ "main": "./target_node/index.js", "browser": "./target_web/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/integrations/core-integrations-browser-mocks/tsconfig.json b/packages/core/integrations/core-integrations-browser-mocks/tsconfig.json index ca626e2c05d8c..d5dece108de5d 100644 --- a/packages/core/integrations/core-integrations-browser-mocks/tsconfig.json +++ b/packages/core/integrations/core-integrations-browser-mocks/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/lifecycle/core-lifecycle-browser-internal/BUILD.bazel b/packages/core/lifecycle/core-lifecycle-browser-internal/BUILD.bazel index 3f1aa3eb50c42..9cbc08c356faf 100644 --- a/packages/core/lifecycle/core-lifecycle-browser-internal/BUILD.bazel +++ b/packages/core/lifecycle/core-lifecycle-browser-internal/BUILD.bazel @@ -75,7 +75,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -89,6 +88,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -100,17 +107,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/lifecycle/core-lifecycle-browser-internal/package.json b/packages/core/lifecycle/core-lifecycle-browser-internal/package.json index 738d3fed2bb51..c78d95efa4f5a 100644 --- a/packages/core/lifecycle/core-lifecycle-browser-internal/package.json +++ b/packages/core/lifecycle/core-lifecycle-browser-internal/package.json @@ -5,5 +5,6 @@ "main": "./target_node/index.js", "browser": "./target_web/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/lifecycle/core-lifecycle-browser-internal/tsconfig.json b/packages/core/lifecycle/core-lifecycle-browser-internal/tsconfig.json index 62f956eb463d9..91c6502f925cc 100644 --- a/packages/core/lifecycle/core-lifecycle-browser-internal/tsconfig.json +++ b/packages/core/lifecycle/core-lifecycle-browser-internal/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/lifecycle/core-lifecycle-browser-mocks/BUILD.bazel b/packages/core/lifecycle/core-lifecycle-browser-mocks/BUILD.bazel index eaf6de1d6576b..bdd2bacdad713 100644 --- a/packages/core/lifecycle/core-lifecycle-browser-mocks/BUILD.bazel +++ b/packages/core/lifecycle/core-lifecycle-browser-mocks/BUILD.bazel @@ -101,7 +101,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -115,6 +114,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -126,17 +133,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/lifecycle/core-lifecycle-browser-mocks/package.json b/packages/core/lifecycle/core-lifecycle-browser-mocks/package.json index fd1224d4d078e..2017564049aa9 100644 --- a/packages/core/lifecycle/core-lifecycle-browser-mocks/package.json +++ b/packages/core/lifecycle/core-lifecycle-browser-mocks/package.json @@ -5,5 +5,6 @@ "main": "./target_node/index.js", "browser": "./target_web/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/lifecycle/core-lifecycle-browser-mocks/tsconfig.json b/packages/core/lifecycle/core-lifecycle-browser-mocks/tsconfig.json index 4283cbe1b760b..1fc18ba8b1f50 100644 --- a/packages/core/lifecycle/core-lifecycle-browser-mocks/tsconfig.json +++ b/packages/core/lifecycle/core-lifecycle-browser-mocks/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/lifecycle/core-lifecycle-browser/BUILD.bazel b/packages/core/lifecycle/core-lifecycle-browser/BUILD.bazel index d32c12c107283..2a7a1775395a1 100644 --- a/packages/core/lifecycle/core-lifecycle-browser/BUILD.bazel +++ b/packages/core/lifecycle/core-lifecycle-browser/BUILD.bazel @@ -87,7 +87,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -101,6 +100,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -112,17 +119,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/lifecycle/core-lifecycle-browser/package.json b/packages/core/lifecycle/core-lifecycle-browser/package.json index 0e14a56f8bf15..72eae4ae4d40e 100644 --- a/packages/core/lifecycle/core-lifecycle-browser/package.json +++ b/packages/core/lifecycle/core-lifecycle-browser/package.json @@ -5,5 +5,6 @@ "main": "./target_node/index.js", "browser": "./target_web/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/lifecycle/core-lifecycle-browser/tsconfig.json b/packages/core/lifecycle/core-lifecycle-browser/tsconfig.json index ae5054c1cd726..288ccfcbced9e 100644 --- a/packages/core/lifecycle/core-lifecycle-browser/tsconfig.json +++ b/packages/core/lifecycle/core-lifecycle-browser/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/lifecycle/core-lifecycle-server-internal/BUILD.bazel b/packages/core/lifecycle/core-lifecycle-server-internal/BUILD.bazel index f09460293560f..650127f655d2a 100644 --- a/packages/core/lifecycle/core-lifecycle-server-internal/BUILD.bazel +++ b/packages/core/lifecycle/core-lifecycle-server-internal/BUILD.bazel @@ -84,7 +84,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -98,6 +97,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -109,17 +116,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/lifecycle/core-lifecycle-server-internal/package.json b/packages/core/lifecycle/core-lifecycle-server-internal/package.json index 9b0c909b58e0e..6b02fc1feea5e 100644 --- a/packages/core/lifecycle/core-lifecycle-server-internal/package.json +++ b/packages/core/lifecycle/core-lifecycle-server-internal/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/lifecycle/core-lifecycle-server-internal/tsconfig.json b/packages/core/lifecycle/core-lifecycle-server-internal/tsconfig.json index 71bb40fe57f3f..ff48529c6f303 100644 --- a/packages/core/lifecycle/core-lifecycle-server-internal/tsconfig.json +++ b/packages/core/lifecycle/core-lifecycle-server-internal/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/lifecycle/core-lifecycle-server-mocks/BUILD.bazel b/packages/core/lifecycle/core-lifecycle-server-mocks/BUILD.bazel index 95f299b0062cd..8edde25e3ea13 100644 --- a/packages/core/lifecycle/core-lifecycle-server-mocks/BUILD.bazel +++ b/packages/core/lifecycle/core-lifecycle-server-mocks/BUILD.bazel @@ -102,7 +102,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -116,6 +115,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -127,17 +134,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/lifecycle/core-lifecycle-server-mocks/package.json b/packages/core/lifecycle/core-lifecycle-server-mocks/package.json index ce6bae6105a29..532c072107303 100644 --- a/packages/core/lifecycle/core-lifecycle-server-mocks/package.json +++ b/packages/core/lifecycle/core-lifecycle-server-mocks/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/lifecycle/core-lifecycle-server-mocks/tsconfig.json b/packages/core/lifecycle/core-lifecycle-server-mocks/tsconfig.json index 71bb40fe57f3f..ff48529c6f303 100644 --- a/packages/core/lifecycle/core-lifecycle-server-mocks/tsconfig.json +++ b/packages/core/lifecycle/core-lifecycle-server-mocks/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/lifecycle/core-lifecycle-server/BUILD.bazel b/packages/core/lifecycle/core-lifecycle-server/BUILD.bazel index 85b3b6ab1ca97..ad8be070d8fa0 100644 --- a/packages/core/lifecycle/core-lifecycle-server/BUILD.bazel +++ b/packages/core/lifecycle/core-lifecycle-server/BUILD.bazel @@ -81,7 +81,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -95,6 +94,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -106,17 +113,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/lifecycle/core-lifecycle-server/package.json b/packages/core/lifecycle/core-lifecycle-server/package.json index da5e093f9c250..e594d4972e6c8 100644 --- a/packages/core/lifecycle/core-lifecycle-server/package.json +++ b/packages/core/lifecycle/core-lifecycle-server/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/lifecycle/core-lifecycle-server/tsconfig.json b/packages/core/lifecycle/core-lifecycle-server/tsconfig.json index 71bb40fe57f3f..ff48529c6f303 100644 --- a/packages/core/lifecycle/core-lifecycle-server/tsconfig.json +++ b/packages/core/lifecycle/core-lifecycle-server/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/logging/core-logging-server-internal/BUILD.bazel b/packages/core/logging/core-logging-server-internal/BUILD.bazel index fbc3cc6626eec..6fe13febb2fb0 100644 --- a/packages/core/logging/core-logging-server-internal/BUILD.bazel +++ b/packages/core/logging/core-logging-server-internal/BUILD.bazel @@ -78,7 +78,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -92,6 +91,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -103,17 +110,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/logging/core-logging-server-internal/package.json b/packages/core/logging/core-logging-server-internal/package.json index 60dd5b9afb1dd..df0984f8e6cab 100644 --- a/packages/core/logging/core-logging-server-internal/package.json +++ b/packages/core/logging/core-logging-server-internal/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/logging/core-logging-server-internal/tsconfig.json b/packages/core/logging/core-logging-server-internal/tsconfig.json index 49e920b0a461a..af8fdef592c43 100644 --- a/packages/core/logging/core-logging-server-internal/tsconfig.json +++ b/packages/core/logging/core-logging-server-internal/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/logging/core-logging-server-mocks/BUILD.bazel b/packages/core/logging/core-logging-server-mocks/BUILD.bazel index 8a6ccc81559c2..c81d459fe3982 100644 --- a/packages/core/logging/core-logging-server-mocks/BUILD.bazel +++ b/packages/core/logging/core-logging-server-mocks/BUILD.bazel @@ -68,7 +68,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -82,6 +81,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -93,17 +100,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/logging/core-logging-server-mocks/package.json b/packages/core/logging/core-logging-server-mocks/package.json index 97f6f4002f58e..d028f9469f534 100644 --- a/packages/core/logging/core-logging-server-mocks/package.json +++ b/packages/core/logging/core-logging-server-mocks/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/logging/core-logging-server-mocks/tsconfig.json b/packages/core/logging/core-logging-server-mocks/tsconfig.json index 49e920b0a461a..af8fdef592c43 100644 --- a/packages/core/logging/core-logging-server-mocks/tsconfig.json +++ b/packages/core/logging/core-logging-server-mocks/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/logging/core-logging-server/BUILD.bazel b/packages/core/logging/core-logging-server/BUILD.bazel index c575f538904de..fff34ff183480 100644 --- a/packages/core/logging/core-logging-server/BUILD.bazel +++ b/packages/core/logging/core-logging-server/BUILD.bazel @@ -67,7 +67,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -81,6 +80,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -92,17 +99,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/logging/core-logging-server/package.json b/packages/core/logging/core-logging-server/package.json index c3cbc4dab845e..924cbc152d03d 100644 --- a/packages/core/logging/core-logging-server/package.json +++ b/packages/core/logging/core-logging-server/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/logging/core-logging-server/tsconfig.json b/packages/core/logging/core-logging-server/tsconfig.json index 49e920b0a461a..af8fdef592c43 100644 --- a/packages/core/logging/core-logging-server/tsconfig.json +++ b/packages/core/logging/core-logging-server/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/metrics/core-metrics-collectors-server-internal/BUILD.bazel b/packages/core/metrics/core-metrics-collectors-server-internal/BUILD.bazel index 9761bcbf1cefb..16a97c7e54995 100644 --- a/packages/core/metrics/core-metrics-collectors-server-internal/BUILD.bazel +++ b/packages/core/metrics/core-metrics-collectors-server-internal/BUILD.bazel @@ -76,7 +76,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -90,6 +89,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -101,17 +108,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/metrics/core-metrics-collectors-server-internal/package.json b/packages/core/metrics/core-metrics-collectors-server-internal/package.json index 1955c52a1e1c1..d9df7f7c232db 100644 --- a/packages/core/metrics/core-metrics-collectors-server-internal/package.json +++ b/packages/core/metrics/core-metrics-collectors-server-internal/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/metrics/core-metrics-collectors-server-internal/tsconfig.json b/packages/core/metrics/core-metrics-collectors-server-internal/tsconfig.json index 49e920b0a461a..af8fdef592c43 100644 --- a/packages/core/metrics/core-metrics-collectors-server-internal/tsconfig.json +++ b/packages/core/metrics/core-metrics-collectors-server-internal/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/metrics/core-metrics-collectors-server-mocks/BUILD.bazel b/packages/core/metrics/core-metrics-collectors-server-mocks/BUILD.bazel index c9a692ca29fbe..9b7f70aed3743 100644 --- a/packages/core/metrics/core-metrics-collectors-server-mocks/BUILD.bazel +++ b/packages/core/metrics/core-metrics-collectors-server-mocks/BUILD.bazel @@ -67,7 +67,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -81,6 +80,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -92,17 +99,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/metrics/core-metrics-collectors-server-mocks/package.json b/packages/core/metrics/core-metrics-collectors-server-mocks/package.json index 03bd1c83684aa..344b8978cd02e 100644 --- a/packages/core/metrics/core-metrics-collectors-server-mocks/package.json +++ b/packages/core/metrics/core-metrics-collectors-server-mocks/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/metrics/core-metrics-collectors-server-mocks/tsconfig.json b/packages/core/metrics/core-metrics-collectors-server-mocks/tsconfig.json index 49e920b0a461a..af8fdef592c43 100644 --- a/packages/core/metrics/core-metrics-collectors-server-mocks/tsconfig.json +++ b/packages/core/metrics/core-metrics-collectors-server-mocks/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/metrics/core-metrics-server-internal/BUILD.bazel b/packages/core/metrics/core-metrics-server-internal/BUILD.bazel index 0a7f393ec0b31..aceafc4e3ca86 100644 --- a/packages/core/metrics/core-metrics-server-internal/BUILD.bazel +++ b/packages/core/metrics/core-metrics-server-internal/BUILD.bazel @@ -86,7 +86,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -100,6 +99,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -111,17 +118,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/metrics/core-metrics-server-internal/package.json b/packages/core/metrics/core-metrics-server-internal/package.json index 7579aea46091b..f6d827b4edc36 100644 --- a/packages/core/metrics/core-metrics-server-internal/package.json +++ b/packages/core/metrics/core-metrics-server-internal/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/metrics/core-metrics-server-internal/tsconfig.json b/packages/core/metrics/core-metrics-server-internal/tsconfig.json index 49e920b0a461a..af8fdef592c43 100644 --- a/packages/core/metrics/core-metrics-server-internal/tsconfig.json +++ b/packages/core/metrics/core-metrics-server-internal/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/metrics/core-metrics-server-mocks/BUILD.bazel b/packages/core/metrics/core-metrics-server-mocks/BUILD.bazel index a442484a1f83f..afd9c1a6d6bc9 100644 --- a/packages/core/metrics/core-metrics-server-mocks/BUILD.bazel +++ b/packages/core/metrics/core-metrics-server-mocks/BUILD.bazel @@ -69,7 +69,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -83,6 +82,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -94,17 +101,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/metrics/core-metrics-server-mocks/package.json b/packages/core/metrics/core-metrics-server-mocks/package.json index b5eb0fab3002d..f6eb0962aaba7 100644 --- a/packages/core/metrics/core-metrics-server-mocks/package.json +++ b/packages/core/metrics/core-metrics-server-mocks/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/metrics/core-metrics-server-mocks/tsconfig.json b/packages/core/metrics/core-metrics-server-mocks/tsconfig.json index 49e920b0a461a..af8fdef592c43 100644 --- a/packages/core/metrics/core-metrics-server-mocks/tsconfig.json +++ b/packages/core/metrics/core-metrics-server-mocks/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/metrics/core-metrics-server/BUILD.bazel b/packages/core/metrics/core-metrics-server/BUILD.bazel index 7abd9909f1a7a..d0d2f3218b408 100644 --- a/packages/core/metrics/core-metrics-server/BUILD.bazel +++ b/packages/core/metrics/core-metrics-server/BUILD.bazel @@ -65,7 +65,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -79,6 +78,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -90,17 +97,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/metrics/core-metrics-server/package.json b/packages/core/metrics/core-metrics-server/package.json index fbb56452c9a32..62890dfc756ce 100644 --- a/packages/core/metrics/core-metrics-server/package.json +++ b/packages/core/metrics/core-metrics-server/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/metrics/core-metrics-server/tsconfig.json b/packages/core/metrics/core-metrics-server/tsconfig.json index 49e920b0a461a..af8fdef592c43 100644 --- a/packages/core/metrics/core-metrics-server/tsconfig.json +++ b/packages/core/metrics/core-metrics-server/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, 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 index d08deae72386f..56ff089165622 100644 --- a/packages/core/mount-utils/core-mount-utils-browser-internal/BUILD.bazel +++ b/packages/core/mount-utils/core-mount-utils-browser-internal/BUILD.bazel @@ -84,7 +84,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -98,6 +97,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -109,17 +116,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) 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 index 073345848d8e2..560e995b68ad1 100644 --- a/packages/core/mount-utils/core-mount-utils-browser-internal/package.json +++ b/packages/core/mount-utils/core-mount-utils-browser-internal/package.json @@ -5,5 +5,6 @@ "main": "./target_node/index.js", "browser": "./target_web/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } 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 index 9f2708fb14528..4eb9855fa759d 100644 --- a/packages/core/mount-utils/core-mount-utils-browser-internal/tsconfig.json +++ b/packages/core/mount-utils/core-mount-utils-browser-internal/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/mount-utils/core-mount-utils-browser/BUILD.bazel b/packages/core/mount-utils/core-mount-utils-browser/BUILD.bazel index 18d6b52114c91..ee91849586b48 100644 --- a/packages/core/mount-utils/core-mount-utils-browser/BUILD.bazel +++ b/packages/core/mount-utils/core-mount-utils-browser/BUILD.bazel @@ -73,7 +73,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -87,6 +86,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -98,17 +105,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/mount-utils/core-mount-utils-browser/package.json b/packages/core/mount-utils/core-mount-utils-browser/package.json index b07256c1a50ce..07c43e9ef9e0f 100644 --- a/packages/core/mount-utils/core-mount-utils-browser/package.json +++ b/packages/core/mount-utils/core-mount-utils-browser/package.json @@ -5,5 +5,6 @@ "main": "./target_node/index.js", "browser": "./target_web/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.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 index ca626e2c05d8c..d5dece108de5d 100644 --- a/packages/core/mount-utils/core-mount-utils-browser/tsconfig.json +++ b/packages/core/mount-utils/core-mount-utils-browser/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/node/core-node-server-internal/BUILD.bazel b/packages/core/node/core-node-server-internal/BUILD.bazel index 756f977074570..a7f8ae678685b 100644 --- a/packages/core/node/core-node-server-internal/BUILD.bazel +++ b/packages/core/node/core-node-server-internal/BUILD.bazel @@ -86,6 +86,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -97,17 +105,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/node/core-node-server-internal/package.json b/packages/core/node/core-node-server-internal/package.json index 47b4c05c3b50a..7d114d9377587 100644 --- a/packages/core/node/core-node-server-internal/package.json +++ b/packages/core/node/core-node-server-internal/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/node/core-node-server-mocks/BUILD.bazel b/packages/core/node/core-node-server-mocks/BUILD.bazel index a57bfcd99fc29..c1e2d83989b11 100644 --- a/packages/core/node/core-node-server-mocks/BUILD.bazel +++ b/packages/core/node/core-node-server-mocks/BUILD.bazel @@ -77,6 +77,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -88,17 +96,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/node/core-node-server-mocks/package.json b/packages/core/node/core-node-server-mocks/package.json index 8be7afe931b6d..103ca0f3dce9b 100644 --- a/packages/core/node/core-node-server-mocks/package.json +++ b/packages/core/node/core-node-server-mocks/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/node/core-node-server/BUILD.bazel b/packages/core/node/core-node-server/BUILD.bazel index 29508960a2d05..5be2d208a1bfe 100644 --- a/packages/core/node/core-node-server/BUILD.bazel +++ b/packages/core/node/core-node-server/BUILD.bazel @@ -76,6 +76,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -87,17 +95,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/node/core-node-server/package.json b/packages/core/node/core-node-server/package.json index c1d8321a642a1..d303dbbe08b41 100644 --- a/packages/core/node/core-node-server/package.json +++ b/packages/core/node/core-node-server/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/notifications/core-notifications-browser-internal/BUILD.bazel b/packages/core/notifications/core-notifications-browser-internal/BUILD.bazel index ee21319d18cef..59a85f07f2e4b 100644 --- a/packages/core/notifications/core-notifications-browser-internal/BUILD.bazel +++ b/packages/core/notifications/core-notifications-browser-internal/BUILD.bazel @@ -100,7 +100,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -114,6 +113,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -125,17 +132,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/notifications/core-notifications-browser-internal/package.json b/packages/core/notifications/core-notifications-browser-internal/package.json index b45295f607634..116a9d21f6012 100644 --- a/packages/core/notifications/core-notifications-browser-internal/package.json +++ b/packages/core/notifications/core-notifications-browser-internal/package.json @@ -5,5 +5,6 @@ "main": "./target_node/index.js", "browser": "./target_web/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/notifications/core-notifications-browser-internal/tsconfig.json b/packages/core/notifications/core-notifications-browser-internal/tsconfig.json index 4abe25d2969e6..bb5b7ea01eb29 100644 --- a/packages/core/notifications/core-notifications-browser-internal/tsconfig.json +++ b/packages/core/notifications/core-notifications-browser-internal/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/notifications/core-notifications-browser-mocks/BUILD.bazel b/packages/core/notifications/core-notifications-browser-mocks/BUILD.bazel index 58f69c8ac5260..b1eedb89fb2c1 100644 --- a/packages/core/notifications/core-notifications-browser-mocks/BUILD.bazel +++ b/packages/core/notifications/core-notifications-browser-mocks/BUILD.bazel @@ -68,7 +68,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -82,6 +81,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -93,17 +100,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/notifications/core-notifications-browser-mocks/package.json b/packages/core/notifications/core-notifications-browser-mocks/package.json index c38d419c5124c..cb403f57dfc47 100644 --- a/packages/core/notifications/core-notifications-browser-mocks/package.json +++ b/packages/core/notifications/core-notifications-browser-mocks/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/notifications/core-notifications-browser-mocks/tsconfig.json b/packages/core/notifications/core-notifications-browser-mocks/tsconfig.json index 49e920b0a461a..af8fdef592c43 100644 --- a/packages/core/notifications/core-notifications-browser-mocks/tsconfig.json +++ b/packages/core/notifications/core-notifications-browser-mocks/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/notifications/core-notifications-browser/BUILD.bazel b/packages/core/notifications/core-notifications-browser/BUILD.bazel index 2a6899e0e8bb1..1e96205532362 100644 --- a/packages/core/notifications/core-notifications-browser/BUILD.bazel +++ b/packages/core/notifications/core-notifications-browser/BUILD.bazel @@ -74,7 +74,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -88,6 +87,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -99,17 +106,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/notifications/core-notifications-browser/package.json b/packages/core/notifications/core-notifications-browser/package.json index 891373d673de8..9274f6230e315 100644 --- a/packages/core/notifications/core-notifications-browser/package.json +++ b/packages/core/notifications/core-notifications-browser/package.json @@ -5,5 +5,6 @@ "main": "./target_node/index.js", "browser": "./target_web/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/notifications/core-notifications-browser/tsconfig.json b/packages/core/notifications/core-notifications-browser/tsconfig.json index fc8aa85fbac2b..84be4fe27d5d6 100644 --- a/packages/core/notifications/core-notifications-browser/tsconfig.json +++ b/packages/core/notifications/core-notifications-browser/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/overlays/core-overlays-browser-internal/BUILD.bazel b/packages/core/overlays/core-overlays-browser-internal/BUILD.bazel index b1332ccef15bf..b605c45b504d2 100644 --- a/packages/core/overlays/core-overlays-browser-internal/BUILD.bazel +++ b/packages/core/overlays/core-overlays-browser-internal/BUILD.bazel @@ -90,7 +90,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -104,6 +103,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -115,17 +122,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/overlays/core-overlays-browser-internal/package.json b/packages/core/overlays/core-overlays-browser-internal/package.json index 9281db3f4663f..0e2232e3f1cef 100644 --- a/packages/core/overlays/core-overlays-browser-internal/package.json +++ b/packages/core/overlays/core-overlays-browser-internal/package.json @@ -5,5 +5,6 @@ "main": "./target_node/index.js", "browser": "./target_web/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/overlays/core-overlays-browser-internal/tsconfig.json b/packages/core/overlays/core-overlays-browser-internal/tsconfig.json index 4abe25d2969e6..bb5b7ea01eb29 100644 --- a/packages/core/overlays/core-overlays-browser-internal/tsconfig.json +++ b/packages/core/overlays/core-overlays-browser-internal/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/overlays/core-overlays-browser-mocks/BUILD.bazel b/packages/core/overlays/core-overlays-browser-mocks/BUILD.bazel index 3ebf281c48c1e..f376cb502121a 100644 --- a/packages/core/overlays/core-overlays-browser-mocks/BUILD.bazel +++ b/packages/core/overlays/core-overlays-browser-mocks/BUILD.bazel @@ -67,7 +67,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -81,6 +80,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -92,17 +99,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/overlays/core-overlays-browser-mocks/package.json b/packages/core/overlays/core-overlays-browser-mocks/package.json index 0822dac0cd36c..336f714766496 100644 --- a/packages/core/overlays/core-overlays-browser-mocks/package.json +++ b/packages/core/overlays/core-overlays-browser-mocks/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/overlays/core-overlays-browser-mocks/tsconfig.json b/packages/core/overlays/core-overlays-browser-mocks/tsconfig.json index 49e920b0a461a..af8fdef592c43 100644 --- a/packages/core/overlays/core-overlays-browser-mocks/tsconfig.json +++ b/packages/core/overlays/core-overlays-browser-mocks/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/overlays/core-overlays-browser/BUILD.bazel b/packages/core/overlays/core-overlays-browser/BUILD.bazel index 4870d44be2f88..c77d2fe12d6be 100644 --- a/packages/core/overlays/core-overlays-browser/BUILD.bazel +++ b/packages/core/overlays/core-overlays-browser/BUILD.bazel @@ -74,7 +74,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -88,6 +87,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -99,17 +106,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/overlays/core-overlays-browser/package.json b/packages/core/overlays/core-overlays-browser/package.json index 56644fa250e67..02c1fee3083c0 100644 --- a/packages/core/overlays/core-overlays-browser/package.json +++ b/packages/core/overlays/core-overlays-browser/package.json @@ -5,5 +5,6 @@ "main": "./target_node/index.js", "browser": "./target_web/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/overlays/core-overlays-browser/tsconfig.json b/packages/core/overlays/core-overlays-browser/tsconfig.json index ca626e2c05d8c..d5dece108de5d 100644 --- a/packages/core/overlays/core-overlays-browser/tsconfig.json +++ b/packages/core/overlays/core-overlays-browser/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/plugins/core-plugins-base-server-internal/BUILD.bazel b/packages/core/plugins/core-plugins-base-server-internal/BUILD.bazel index 7e4d73b638a75..3a88e9ead9844 100644 --- a/packages/core/plugins/core-plugins-base-server-internal/BUILD.bazel +++ b/packages/core/plugins/core-plugins-base-server-internal/BUILD.bazel @@ -66,7 +66,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -80,6 +79,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -91,17 +98,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/plugins/core-plugins-base-server-internal/package.json b/packages/core/plugins/core-plugins-base-server-internal/package.json index 6af3453f1a29b..d11839515ba61 100644 --- a/packages/core/plugins/core-plugins-base-server-internal/package.json +++ b/packages/core/plugins/core-plugins-base-server-internal/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/plugins/core-plugins-base-server-internal/tsconfig.json b/packages/core/plugins/core-plugins-base-server-internal/tsconfig.json index 71bb40fe57f3f..ff48529c6f303 100644 --- a/packages/core/plugins/core-plugins-base-server-internal/tsconfig.json +++ b/packages/core/plugins/core-plugins-base-server-internal/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/plugins/core-plugins-browser-internal/BUILD.bazel b/packages/core/plugins/core-plugins-browser-internal/BUILD.bazel index 734d78cce2298..b1ce21eaff312 100644 --- a/packages/core/plugins/core-plugins-browser-internal/BUILD.bazel +++ b/packages/core/plugins/core-plugins-browser-internal/BUILD.bazel @@ -84,7 +84,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -98,6 +97,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -109,17 +116,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/plugins/core-plugins-browser-internal/package.json b/packages/core/plugins/core-plugins-browser-internal/package.json index 0820932cb2f9a..c8679403e28c4 100644 --- a/packages/core/plugins/core-plugins-browser-internal/package.json +++ b/packages/core/plugins/core-plugins-browser-internal/package.json @@ -5,5 +5,6 @@ "main": "./target_node/index.js", "browser": "./target_web/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/plugins/core-plugins-browser-internal/tsconfig.json b/packages/core/plugins/core-plugins-browser-internal/tsconfig.json index 4283cbe1b760b..1fc18ba8b1f50 100644 --- a/packages/core/plugins/core-plugins-browser-internal/tsconfig.json +++ b/packages/core/plugins/core-plugins-browser-internal/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/plugins/core-plugins-browser-mocks/BUILD.bazel b/packages/core/plugins/core-plugins-browser-mocks/BUILD.bazel index 0d334ef02a291..a6c47b536d2ef 100644 --- a/packages/core/plugins/core-plugins-browser-mocks/BUILD.bazel +++ b/packages/core/plugins/core-plugins-browser-mocks/BUILD.bazel @@ -73,7 +73,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -87,6 +86,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -98,17 +105,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/plugins/core-plugins-browser-mocks/package.json b/packages/core/plugins/core-plugins-browser-mocks/package.json index 98090f042ab02..b8cb7ed38fc34 100644 --- a/packages/core/plugins/core-plugins-browser-mocks/package.json +++ b/packages/core/plugins/core-plugins-browser-mocks/package.json @@ -5,5 +5,6 @@ "main": "./target_node/index.js", "browser": "./target_web/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/plugins/core-plugins-browser-mocks/tsconfig.json b/packages/core/plugins/core-plugins-browser-mocks/tsconfig.json index 4283cbe1b760b..1fc18ba8b1f50 100644 --- a/packages/core/plugins/core-plugins-browser-mocks/tsconfig.json +++ b/packages/core/plugins/core-plugins-browser-mocks/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/plugins/core-plugins-browser/BUILD.bazel b/packages/core/plugins/core-plugins-browser/BUILD.bazel index fca01ef98d105..b56de1b3a8391 100644 --- a/packages/core/plugins/core-plugins-browser/BUILD.bazel +++ b/packages/core/plugins/core-plugins-browser/BUILD.bazel @@ -75,7 +75,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -89,6 +88,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -100,17 +107,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/plugins/core-plugins-browser/package.json b/packages/core/plugins/core-plugins-browser/package.json index f03af035d2235..20337d05ec8fc 100644 --- a/packages/core/plugins/core-plugins-browser/package.json +++ b/packages/core/plugins/core-plugins-browser/package.json @@ -5,5 +5,6 @@ "main": "./target_node/index.js", "browser": "./target_web/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/plugins/core-plugins-browser/tsconfig.json b/packages/core/plugins/core-plugins-browser/tsconfig.json index 4283cbe1b760b..1fc18ba8b1f50 100644 --- a/packages/core/plugins/core-plugins-browser/tsconfig.json +++ b/packages/core/plugins/core-plugins-browser/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/plugins/core-plugins-server-internal/BUILD.bazel b/packages/core/plugins/core-plugins-server-internal/BUILD.bazel index 61044f11d5b51..480a21f44eed0 100644 --- a/packages/core/plugins/core-plugins-server-internal/BUILD.bazel +++ b/packages/core/plugins/core-plugins-server-internal/BUILD.bazel @@ -114,7 +114,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -128,6 +127,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -139,17 +146,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/plugins/core-plugins-server-internal/package.json b/packages/core/plugins/core-plugins-server-internal/package.json index 68adae5d08fed..fef5ddbf7b61d 100644 --- a/packages/core/plugins/core-plugins-server-internal/package.json +++ b/packages/core/plugins/core-plugins-server-internal/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/plugins/core-plugins-server-internal/tsconfig.json b/packages/core/plugins/core-plugins-server-internal/tsconfig.json index 71bb40fe57f3f..ff48529c6f303 100644 --- a/packages/core/plugins/core-plugins-server-internal/tsconfig.json +++ b/packages/core/plugins/core-plugins-server-internal/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/plugins/core-plugins-server-mocks/BUILD.bazel b/packages/core/plugins/core-plugins-server-mocks/BUILD.bazel index 39ca50e2b847c..18c5beb51fb46 100644 --- a/packages/core/plugins/core-plugins-server-mocks/BUILD.bazel +++ b/packages/core/plugins/core-plugins-server-mocks/BUILD.bazel @@ -65,7 +65,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -79,6 +78,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -90,17 +97,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/plugins/core-plugins-server-mocks/package.json b/packages/core/plugins/core-plugins-server-mocks/package.json index 0af107840be65..2ac79f595e267 100644 --- a/packages/core/plugins/core-plugins-server-mocks/package.json +++ b/packages/core/plugins/core-plugins-server-mocks/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/plugins/core-plugins-server-mocks/tsconfig.json b/packages/core/plugins/core-plugins-server-mocks/tsconfig.json index 71bb40fe57f3f..ff48529c6f303 100644 --- a/packages/core/plugins/core-plugins-server-mocks/tsconfig.json +++ b/packages/core/plugins/core-plugins-server-mocks/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/plugins/core-plugins-server/BUILD.bazel b/packages/core/plugins/core-plugins-server/BUILD.bazel index ec304498d123c..1204629766db4 100644 --- a/packages/core/plugins/core-plugins-server/BUILD.bazel +++ b/packages/core/plugins/core-plugins-server/BUILD.bazel @@ -78,7 +78,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -92,6 +91,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -103,17 +110,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/plugins/core-plugins-server/package.json b/packages/core/plugins/core-plugins-server/package.json index 75fda3c2ef661..72e1521adb935 100644 --- a/packages/core/plugins/core-plugins-server/package.json +++ b/packages/core/plugins/core-plugins-server/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/plugins/core-plugins-server/tsconfig.json b/packages/core/plugins/core-plugins-server/tsconfig.json index 71bb40fe57f3f..ff48529c6f303 100644 --- a/packages/core/plugins/core-plugins-server/tsconfig.json +++ b/packages/core/plugins/core-plugins-server/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/preboot/core-preboot-server-internal/BUILD.bazel b/packages/core/preboot/core-preboot-server-internal/BUILD.bazel index a165a573fc524..5f6d76b008d5f 100644 --- a/packages/core/preboot/core-preboot-server-internal/BUILD.bazel +++ b/packages/core/preboot/core-preboot-server-internal/BUILD.bazel @@ -77,7 +77,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -91,6 +90,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -102,17 +109,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/preboot/core-preboot-server-internal/package.json b/packages/core/preboot/core-preboot-server-internal/package.json index a038ae305d586..f768ed11d3533 100644 --- a/packages/core/preboot/core-preboot-server-internal/package.json +++ b/packages/core/preboot/core-preboot-server-internal/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/preboot/core-preboot-server-internal/tsconfig.json b/packages/core/preboot/core-preboot-server-internal/tsconfig.json index 49e920b0a461a..af8fdef592c43 100644 --- a/packages/core/preboot/core-preboot-server-internal/tsconfig.json +++ b/packages/core/preboot/core-preboot-server-internal/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/preboot/core-preboot-server-mocks/BUILD.bazel b/packages/core/preboot/core-preboot-server-mocks/BUILD.bazel index 53f7ebd9e6c1e..2decb5b2d8f2f 100644 --- a/packages/core/preboot/core-preboot-server-mocks/BUILD.bazel +++ b/packages/core/preboot/core-preboot-server-mocks/BUILD.bazel @@ -67,7 +67,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -81,6 +80,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -92,17 +99,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/preboot/core-preboot-server-mocks/package.json b/packages/core/preboot/core-preboot-server-mocks/package.json index 1f40513429607..150053877e939 100644 --- a/packages/core/preboot/core-preboot-server-mocks/package.json +++ b/packages/core/preboot/core-preboot-server-mocks/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/preboot/core-preboot-server-mocks/tsconfig.json b/packages/core/preboot/core-preboot-server-mocks/tsconfig.json index 49e920b0a461a..af8fdef592c43 100644 --- a/packages/core/preboot/core-preboot-server-mocks/tsconfig.json +++ b/packages/core/preboot/core-preboot-server-mocks/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/preboot/core-preboot-server/BUILD.bazel b/packages/core/preboot/core-preboot-server/BUILD.bazel index 16cea9dc173ef..6bd1af7108de3 100644 --- a/packages/core/preboot/core-preboot-server/BUILD.bazel +++ b/packages/core/preboot/core-preboot-server/BUILD.bazel @@ -63,7 +63,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -77,6 +76,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -88,17 +95,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/preboot/core-preboot-server/package.json b/packages/core/preboot/core-preboot-server/package.json index b5afd04887380..b658189601696 100644 --- a/packages/core/preboot/core-preboot-server/package.json +++ b/packages/core/preboot/core-preboot-server/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/preboot/core-preboot-server/tsconfig.json b/packages/core/preboot/core-preboot-server/tsconfig.json index 49e920b0a461a..af8fdef592c43 100644 --- a/packages/core/preboot/core-preboot-server/tsconfig.json +++ b/packages/core/preboot/core-preboot-server/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/rendering/core-rendering-browser-internal/BUILD.bazel b/packages/core/rendering/core-rendering-browser-internal/BUILD.bazel index e9f1ff1b1e19d..c0fb214bfb960 100644 --- a/packages/core/rendering/core-rendering-browser-internal/BUILD.bazel +++ b/packages/core/rendering/core-rendering-browser-internal/BUILD.bazel @@ -97,7 +97,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -111,6 +110,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -122,17 +129,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/rendering/core-rendering-browser-internal/package.json b/packages/core/rendering/core-rendering-browser-internal/package.json index 78cf06e44c4dc..1ccaccf9621ee 100644 --- a/packages/core/rendering/core-rendering-browser-internal/package.json +++ b/packages/core/rendering/core-rendering-browser-internal/package.json @@ -5,5 +5,6 @@ "main": "./target_node/index.js", "browser": "./target_web/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/rendering/core-rendering-browser-internal/tsconfig.json b/packages/core/rendering/core-rendering-browser-internal/tsconfig.json index 2249e2ee93761..571fbfcd8ef25 100644 --- a/packages/core/rendering/core-rendering-browser-internal/tsconfig.json +++ b/packages/core/rendering/core-rendering-browser-internal/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/rendering/core-rendering-browser-mocks/BUILD.bazel b/packages/core/rendering/core-rendering-browser-mocks/BUILD.bazel index 7493624fa2e65..d2cdb9c78c286 100644 --- a/packages/core/rendering/core-rendering-browser-mocks/BUILD.bazel +++ b/packages/core/rendering/core-rendering-browser-mocks/BUILD.bazel @@ -73,7 +73,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -87,6 +86,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -98,17 +105,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/rendering/core-rendering-browser-mocks/package.json b/packages/core/rendering/core-rendering-browser-mocks/package.json index 525a131a56f61..b9cef0d400733 100644 --- a/packages/core/rendering/core-rendering-browser-mocks/package.json +++ b/packages/core/rendering/core-rendering-browser-mocks/package.json @@ -5,5 +5,6 @@ "main": "./target_node/index.js", "browser": "./target_web/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/rendering/core-rendering-browser-mocks/tsconfig.json b/packages/core/rendering/core-rendering-browser-mocks/tsconfig.json index 26b4c7aca3a67..8a9b8b46147f1 100644 --- a/packages/core/rendering/core-rendering-browser-mocks/tsconfig.json +++ b/packages/core/rendering/core-rendering-browser-mocks/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/rendering/core-rendering-server-internal/BUILD.bazel b/packages/core/rendering/core-rendering-server-internal/BUILD.bazel index b02ff09264699..9b9c41de78663 100644 --- a/packages/core/rendering/core-rendering-server-internal/BUILD.bazel +++ b/packages/core/rendering/core-rendering-server-internal/BUILD.bazel @@ -86,7 +86,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -100,6 +99,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -111,17 +118,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/rendering/core-rendering-server-internal/package.json b/packages/core/rendering/core-rendering-server-internal/package.json index ef29d29e9fa2f..b41efec088ad2 100644 --- a/packages/core/rendering/core-rendering-server-internal/package.json +++ b/packages/core/rendering/core-rendering-server-internal/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/rendering/core-rendering-server-internal/tsconfig.json b/packages/core/rendering/core-rendering-server-internal/tsconfig.json index 73c8a6666ff7e..495e6859a42d1 100644 --- a/packages/core/rendering/core-rendering-server-internal/tsconfig.json +++ b/packages/core/rendering/core-rendering-server-internal/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/rendering/core-rendering-server-mocks/BUILD.bazel b/packages/core/rendering/core-rendering-server-mocks/BUILD.bazel index 9ec36da1a1f67..7f960ef9e8067 100644 --- a/packages/core/rendering/core-rendering-server-mocks/BUILD.bazel +++ b/packages/core/rendering/core-rendering-server-mocks/BUILD.bazel @@ -65,7 +65,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -79,6 +78,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -90,17 +97,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/rendering/core-rendering-server-mocks/package.json b/packages/core/rendering/core-rendering-server-mocks/package.json index 572e1d5530587..e729d1c022bc7 100644 --- a/packages/core/rendering/core-rendering-server-mocks/package.json +++ b/packages/core/rendering/core-rendering-server-mocks/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/rendering/core-rendering-server-mocks/tsconfig.json b/packages/core/rendering/core-rendering-server-mocks/tsconfig.json index 71bb40fe57f3f..ff48529c6f303 100644 --- a/packages/core/rendering/core-rendering-server-mocks/tsconfig.json +++ b/packages/core/rendering/core-rendering-server-mocks/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/root/core-root-browser-internal/BUILD.bazel b/packages/core/root/core-root-browser-internal/BUILD.bazel index d0d5e786d7867..a95b5d6d1c409 100644 --- a/packages/core/root/core-root-browser-internal/BUILD.bazel +++ b/packages/core/root/core-root-browser-internal/BUILD.bazel @@ -131,7 +131,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -145,6 +144,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -156,17 +163,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/root/core-root-browser-internal/package.json b/packages/core/root/core-root-browser-internal/package.json index 30a34c02fc4eb..d010180d2747d 100644 --- a/packages/core/root/core-root-browser-internal/package.json +++ b/packages/core/root/core-root-browser-internal/package.json @@ -5,5 +5,6 @@ "main": "./target_node/index.js", "browser": "./target_web/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/root/core-root-browser-internal/tsconfig.json b/packages/core/root/core-root-browser-internal/tsconfig.json index 4283cbe1b760b..1fc18ba8b1f50 100644 --- a/packages/core/root/core-root-browser-internal/tsconfig.json +++ b/packages/core/root/core-root-browser-internal/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/saved-objects/core-saved-objects-api-browser/BUILD.bazel b/packages/core/saved-objects/core-saved-objects-api-browser/BUILD.bazel index 3e66402ebc4a3..c5335b58bdd18 100644 --- a/packages/core/saved-objects/core-saved-objects-api-browser/BUILD.bazel +++ b/packages/core/saved-objects/core-saved-objects-api-browser/BUILD.bazel @@ -74,7 +74,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -88,6 +87,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -99,17 +106,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/saved-objects/core-saved-objects-api-browser/package.json b/packages/core/saved-objects/core-saved-objects-api-browser/package.json index e6894b4b21767..af4889e4c3418 100644 --- a/packages/core/saved-objects/core-saved-objects-api-browser/package.json +++ b/packages/core/saved-objects/core-saved-objects-api-browser/package.json @@ -5,5 +5,6 @@ "main": "./target_node/index.js", "browser": "./target_web/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/saved-objects/core-saved-objects-api-browser/tsconfig.json b/packages/core/saved-objects/core-saved-objects-api-browser/tsconfig.json index 49e920b0a461a..af8fdef592c43 100644 --- a/packages/core/saved-objects/core-saved-objects-api-browser/tsconfig.json +++ b/packages/core/saved-objects/core-saved-objects-api-browser/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/BUILD.bazel b/packages/core/saved-objects/core-saved-objects-api-server-internal/BUILD.bazel index 93f8baadd9fee..c35025c728e59 100644 --- a/packages/core/saved-objects/core-saved-objects-api-server-internal/BUILD.bazel +++ b/packages/core/saved-objects/core-saved-objects-api-server-internal/BUILD.bazel @@ -90,7 +90,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", root_dir = ".", @@ -105,6 +104,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -116,17 +123,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/package.json b/packages/core/saved-objects/core-saved-objects-api-server-internal/package.json index e7f962034bc41..99461f483c868 100644 --- a/packages/core/saved-objects/core-saved-objects-api-server-internal/package.json +++ b/packages/core/saved-objects/core-saved-objects-api-server-internal/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/tsconfig.json b/packages/core/saved-objects/core-saved-objects-api-server-internal/tsconfig.json index ff8b3da96b4db..3fe98195b374a 100644 --- a/packages/core/saved-objects/core-saved-objects-api-server-internal/tsconfig.json +++ b/packages/core/saved-objects/core-saved-objects-api-server-internal/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "rootDir": ".", diff --git a/packages/core/saved-objects/core-saved-objects-api-server-mocks/BUILD.bazel b/packages/core/saved-objects/core-saved-objects-api-server-mocks/BUILD.bazel index f3bb20f392461..c746f77a7473e 100644 --- a/packages/core/saved-objects/core-saved-objects-api-server-mocks/BUILD.bazel +++ b/packages/core/saved-objects/core-saved-objects-api-server-mocks/BUILD.bazel @@ -68,7 +68,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", root_dir = ".", @@ -83,6 +82,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -94,17 +101,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/saved-objects/core-saved-objects-api-server-mocks/package.json b/packages/core/saved-objects/core-saved-objects-api-server-mocks/package.json index 59726267976f3..344dee3e9e712 100644 --- a/packages/core/saved-objects/core-saved-objects-api-server-mocks/package.json +++ b/packages/core/saved-objects/core-saved-objects-api-server-mocks/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/saved-objects/core-saved-objects-api-server-mocks/tsconfig.json b/packages/core/saved-objects/core-saved-objects-api-server-mocks/tsconfig.json index ff8b3da96b4db..3fe98195b374a 100644 --- a/packages/core/saved-objects/core-saved-objects-api-server-mocks/tsconfig.json +++ b/packages/core/saved-objects/core-saved-objects-api-server-mocks/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "rootDir": ".", diff --git a/packages/core/saved-objects/core-saved-objects-api-server/BUILD.bazel b/packages/core/saved-objects/core-saved-objects-api-server/BUILD.bazel index dc47211c43300..80a40011e1a99 100644 --- a/packages/core/saved-objects/core-saved-objects-api-server/BUILD.bazel +++ b/packages/core/saved-objects/core-saved-objects-api-server/BUILD.bazel @@ -65,7 +65,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -79,6 +78,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -90,17 +97,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/saved-objects/core-saved-objects-api-server/package.json b/packages/core/saved-objects/core-saved-objects-api-server/package.json index 6335368dfd7f3..006b28669cf72 100644 --- a/packages/core/saved-objects/core-saved-objects-api-server/package.json +++ b/packages/core/saved-objects/core-saved-objects-api-server/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/saved-objects/core-saved-objects-api-server/tsconfig.json b/packages/core/saved-objects/core-saved-objects-api-server/tsconfig.json index 49e920b0a461a..af8fdef592c43 100644 --- a/packages/core/saved-objects/core-saved-objects-api-server/tsconfig.json +++ b/packages/core/saved-objects/core-saved-objects-api-server/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/saved-objects/core-saved-objects-base-server-internal/BUILD.bazel b/packages/core/saved-objects/core-saved-objects-base-server-internal/BUILD.bazel index c962d39d8f3e0..99fc132ed18ec 100644 --- a/packages/core/saved-objects/core-saved-objects-base-server-internal/BUILD.bazel +++ b/packages/core/saved-objects/core-saved-objects-base-server-internal/BUILD.bazel @@ -76,7 +76,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -90,6 +89,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -101,17 +108,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/saved-objects/core-saved-objects-base-server-internal/package.json b/packages/core/saved-objects/core-saved-objects-base-server-internal/package.json index 6192262ab0084..d630f04e66318 100644 --- a/packages/core/saved-objects/core-saved-objects-base-server-internal/package.json +++ b/packages/core/saved-objects/core-saved-objects-base-server-internal/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/saved-objects/core-saved-objects-base-server-internal/tsconfig.json b/packages/core/saved-objects/core-saved-objects-base-server-internal/tsconfig.json index 49e920b0a461a..af8fdef592c43 100644 --- a/packages/core/saved-objects/core-saved-objects-base-server-internal/tsconfig.json +++ b/packages/core/saved-objects/core-saved-objects-base-server-internal/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/saved-objects/core-saved-objects-base-server-mocks/BUILD.bazel b/packages/core/saved-objects/core-saved-objects-base-server-mocks/BUILD.bazel index c4e1b5727b1b9..c5ef952013257 100644 --- a/packages/core/saved-objects/core-saved-objects-base-server-mocks/BUILD.bazel +++ b/packages/core/saved-objects/core-saved-objects-base-server-mocks/BUILD.bazel @@ -64,7 +64,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -78,6 +77,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -89,17 +96,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/saved-objects/core-saved-objects-base-server-mocks/package.json b/packages/core/saved-objects/core-saved-objects-base-server-mocks/package.json index e6120310e30e7..3ff49367166fc 100644 --- a/packages/core/saved-objects/core-saved-objects-base-server-mocks/package.json +++ b/packages/core/saved-objects/core-saved-objects-base-server-mocks/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/saved-objects/core-saved-objects-base-server-mocks/tsconfig.json b/packages/core/saved-objects/core-saved-objects-base-server-mocks/tsconfig.json index 49e920b0a461a..af8fdef592c43 100644 --- a/packages/core/saved-objects/core-saved-objects-base-server-mocks/tsconfig.json +++ b/packages/core/saved-objects/core-saved-objects-base-server-mocks/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/saved-objects/core-saved-objects-browser-internal/BUILD.bazel b/packages/core/saved-objects/core-saved-objects-browser-internal/BUILD.bazel index 33d1373bef26a..0228c86c6d99f 100644 --- a/packages/core/saved-objects/core-saved-objects-browser-internal/BUILD.bazel +++ b/packages/core/saved-objects/core-saved-objects-browser-internal/BUILD.bazel @@ -83,7 +83,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -97,6 +96,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -108,17 +115,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/saved-objects/core-saved-objects-browser-internal/package.json b/packages/core/saved-objects/core-saved-objects-browser-internal/package.json index dcb18eba421c5..1117da4a27c9d 100644 --- a/packages/core/saved-objects/core-saved-objects-browser-internal/package.json +++ b/packages/core/saved-objects/core-saved-objects-browser-internal/package.json @@ -5,5 +5,6 @@ "main": "./target_node/index.js", "browser": "./target_web/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/saved-objects/core-saved-objects-browser-internal/tsconfig.json b/packages/core/saved-objects/core-saved-objects-browser-internal/tsconfig.json index 49e920b0a461a..af8fdef592c43 100644 --- a/packages/core/saved-objects/core-saved-objects-browser-internal/tsconfig.json +++ b/packages/core/saved-objects/core-saved-objects-browser-internal/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/saved-objects/core-saved-objects-browser-mocks/BUILD.bazel b/packages/core/saved-objects/core-saved-objects-browser-mocks/BUILD.bazel index 60418c4f8551d..0bea85871440b 100644 --- a/packages/core/saved-objects/core-saved-objects-browser-mocks/BUILD.bazel +++ b/packages/core/saved-objects/core-saved-objects-browser-mocks/BUILD.bazel @@ -74,7 +74,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -88,6 +87,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -99,17 +106,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/saved-objects/core-saved-objects-browser-mocks/package.json b/packages/core/saved-objects/core-saved-objects-browser-mocks/package.json index d05e22ddfda3f..bba43d5d36aee 100644 --- a/packages/core/saved-objects/core-saved-objects-browser-mocks/package.json +++ b/packages/core/saved-objects/core-saved-objects-browser-mocks/package.json @@ -5,5 +5,6 @@ "main": "./target_node/index.js", "browser": "./target_web/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/saved-objects/core-saved-objects-browser-mocks/tsconfig.json b/packages/core/saved-objects/core-saved-objects-browser-mocks/tsconfig.json index 49e920b0a461a..af8fdef592c43 100644 --- a/packages/core/saved-objects/core-saved-objects-browser-mocks/tsconfig.json +++ b/packages/core/saved-objects/core-saved-objects-browser-mocks/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/saved-objects/core-saved-objects-browser/BUILD.bazel b/packages/core/saved-objects/core-saved-objects-browser/BUILD.bazel index e34140928c202..e540033110900 100644 --- a/packages/core/saved-objects/core-saved-objects-browser/BUILD.bazel +++ b/packages/core/saved-objects/core-saved-objects-browser/BUILD.bazel @@ -72,7 +72,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -86,6 +85,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -97,17 +104,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/saved-objects/core-saved-objects-browser/package.json b/packages/core/saved-objects/core-saved-objects-browser/package.json index 6494337430596..76019a9aaab85 100644 --- a/packages/core/saved-objects/core-saved-objects-browser/package.json +++ b/packages/core/saved-objects/core-saved-objects-browser/package.json @@ -5,5 +5,6 @@ "main": "./target_node/index.js", "browser": "./target_web/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/saved-objects/core-saved-objects-browser/tsconfig.json b/packages/core/saved-objects/core-saved-objects-browser/tsconfig.json index 49e920b0a461a..af8fdef592c43 100644 --- a/packages/core/saved-objects/core-saved-objects-browser/tsconfig.json +++ b/packages/core/saved-objects/core-saved-objects-browser/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/saved-objects/core-saved-objects-common/BUILD.bazel b/packages/core/saved-objects/core-saved-objects-common/BUILD.bazel index cf86db22a2fed..18376aa9960ea 100644 --- a/packages/core/saved-objects/core-saved-objects-common/BUILD.bazel +++ b/packages/core/saved-objects/core-saved-objects-common/BUILD.bazel @@ -72,7 +72,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -86,6 +85,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -97,17 +104,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/saved-objects/core-saved-objects-common/package.json b/packages/core/saved-objects/core-saved-objects-common/package.json index b2af72692eda1..11849bd364a11 100644 --- a/packages/core/saved-objects/core-saved-objects-common/package.json +++ b/packages/core/saved-objects/core-saved-objects-common/package.json @@ -5,5 +5,6 @@ "main": "./target_node/index.js", "browser": "./target_web/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/saved-objects/core-saved-objects-common/tsconfig.json b/packages/core/saved-objects/core-saved-objects-common/tsconfig.json index 49e920b0a461a..af8fdef592c43 100644 --- a/packages/core/saved-objects/core-saved-objects-common/tsconfig.json +++ b/packages/core/saved-objects/core-saved-objects-common/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/saved-objects/core-saved-objects-import-export-server-internal/BUILD.bazel b/packages/core/saved-objects/core-saved-objects-import-export-server-internal/BUILD.bazel index 6f44087cd02f4..1004b8bdc0061 100644 --- a/packages/core/saved-objects/core-saved-objects-import-export-server-internal/BUILD.bazel +++ b/packages/core/saved-objects/core-saved-objects-import-export-server-internal/BUILD.bazel @@ -78,7 +78,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", root_dir = ".", @@ -93,6 +92,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -104,17 +111,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/saved-objects/core-saved-objects-import-export-server-internal/package.json b/packages/core/saved-objects/core-saved-objects-import-export-server-internal/package.json index 666eda215a5d7..83b06bcce8d24 100644 --- a/packages/core/saved-objects/core-saved-objects-import-export-server-internal/package.json +++ b/packages/core/saved-objects/core-saved-objects-import-export-server-internal/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/saved-objects/core-saved-objects-import-export-server-internal/tsconfig.json b/packages/core/saved-objects/core-saved-objects-import-export-server-internal/tsconfig.json index ff8b3da96b4db..3fe98195b374a 100644 --- a/packages/core/saved-objects/core-saved-objects-import-export-server-internal/tsconfig.json +++ b/packages/core/saved-objects/core-saved-objects-import-export-server-internal/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "rootDir": ".", diff --git a/packages/core/saved-objects/core-saved-objects-import-export-server-mocks/BUILD.bazel b/packages/core/saved-objects/core-saved-objects-import-export-server-mocks/BUILD.bazel index 1eba980837e31..4189affe70b4c 100644 --- a/packages/core/saved-objects/core-saved-objects-import-export-server-mocks/BUILD.bazel +++ b/packages/core/saved-objects/core-saved-objects-import-export-server-mocks/BUILD.bazel @@ -64,7 +64,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", root_dir = ".", @@ -79,6 +78,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -90,17 +97,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/saved-objects/core-saved-objects-import-export-server-mocks/package.json b/packages/core/saved-objects/core-saved-objects-import-export-server-mocks/package.json index e043ddc547020..e6117d0a4df34 100644 --- a/packages/core/saved-objects/core-saved-objects-import-export-server-mocks/package.json +++ b/packages/core/saved-objects/core-saved-objects-import-export-server-mocks/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/saved-objects/core-saved-objects-import-export-server-mocks/tsconfig.json b/packages/core/saved-objects/core-saved-objects-import-export-server-mocks/tsconfig.json index ff8b3da96b4db..3fe98195b374a 100644 --- a/packages/core/saved-objects/core-saved-objects-import-export-server-mocks/tsconfig.json +++ b/packages/core/saved-objects/core-saved-objects-import-export-server-mocks/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "rootDir": ".", diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/BUILD.bazel b/packages/core/saved-objects/core-saved-objects-migration-server-internal/BUILD.bazel index cb6e6dde51a28..e582bb0811880 100644 --- a/packages/core/saved-objects/core-saved-objects-migration-server-internal/BUILD.bazel +++ b/packages/core/saved-objects/core-saved-objects-migration-server-internal/BUILD.bazel @@ -92,7 +92,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", root_dir = ".", @@ -107,6 +106,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -118,17 +125,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/package.json b/packages/core/saved-objects/core-saved-objects-migration-server-internal/package.json index d6f11a4e41824..1759e06b65948 100644 --- a/packages/core/saved-objects/core-saved-objects-migration-server-internal/package.json +++ b/packages/core/saved-objects/core-saved-objects-migration-server-internal/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/tsconfig.json b/packages/core/saved-objects/core-saved-objects-migration-server-internal/tsconfig.json index ff8b3da96b4db..3fe98195b374a 100644 --- a/packages/core/saved-objects/core-saved-objects-migration-server-internal/tsconfig.json +++ b/packages/core/saved-objects/core-saved-objects-migration-server-internal/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "rootDir": ".", diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-mocks/BUILD.bazel b/packages/core/saved-objects/core-saved-objects-migration-server-mocks/BUILD.bazel index 1bb04039073b2..9dbf4e0b79d68 100644 --- a/packages/core/saved-objects/core-saved-objects-migration-server-mocks/BUILD.bazel +++ b/packages/core/saved-objects/core-saved-objects-migration-server-mocks/BUILD.bazel @@ -69,7 +69,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", root_dir = ".", @@ -84,6 +83,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -95,17 +102,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-mocks/package.json b/packages/core/saved-objects/core-saved-objects-migration-server-mocks/package.json index 2a4723650d990..ac9a5a8191858 100644 --- a/packages/core/saved-objects/core-saved-objects-migration-server-mocks/package.json +++ b/packages/core/saved-objects/core-saved-objects-migration-server-mocks/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-mocks/tsconfig.json b/packages/core/saved-objects/core-saved-objects-migration-server-mocks/tsconfig.json index ff8b3da96b4db..3fe98195b374a 100644 --- a/packages/core/saved-objects/core-saved-objects-migration-server-mocks/tsconfig.json +++ b/packages/core/saved-objects/core-saved-objects-migration-server-mocks/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "rootDir": ".", diff --git a/packages/core/saved-objects/core-saved-objects-server-internal/BUILD.bazel b/packages/core/saved-objects/core-saved-objects-server-internal/BUILD.bazel index d071fd819314d..f2fcaa1c68991 100644 --- a/packages/core/saved-objects/core-saved-objects-server-internal/BUILD.bazel +++ b/packages/core/saved-objects/core-saved-objects-server-internal/BUILD.bazel @@ -90,7 +90,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", root_dir = ".", @@ -105,6 +104,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -116,17 +123,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/saved-objects/core-saved-objects-server-internal/package.json b/packages/core/saved-objects/core-saved-objects-server-internal/package.json index cd52a32958cc9..1d0e563c9440a 100644 --- a/packages/core/saved-objects/core-saved-objects-server-internal/package.json +++ b/packages/core/saved-objects/core-saved-objects-server-internal/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/saved-objects/core-saved-objects-server-internal/tsconfig.json b/packages/core/saved-objects/core-saved-objects-server-internal/tsconfig.json index ff8b3da96b4db..3fe98195b374a 100644 --- a/packages/core/saved-objects/core-saved-objects-server-internal/tsconfig.json +++ b/packages/core/saved-objects/core-saved-objects-server-internal/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "rootDir": ".", diff --git a/packages/core/saved-objects/core-saved-objects-server-mocks/BUILD.bazel b/packages/core/saved-objects/core-saved-objects-server-mocks/BUILD.bazel index 717a2bfa6087e..83fc281ab340d 100644 --- a/packages/core/saved-objects/core-saved-objects-server-mocks/BUILD.bazel +++ b/packages/core/saved-objects/core-saved-objects-server-mocks/BUILD.bazel @@ -78,7 +78,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", root_dir = ".", @@ -93,6 +92,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -104,17 +111,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/saved-objects/core-saved-objects-server-mocks/package.json b/packages/core/saved-objects/core-saved-objects-server-mocks/package.json index 1bbda68c5d8e4..9057e65e2b314 100644 --- a/packages/core/saved-objects/core-saved-objects-server-mocks/package.json +++ b/packages/core/saved-objects/core-saved-objects-server-mocks/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/saved-objects/core-saved-objects-server-mocks/tsconfig.json b/packages/core/saved-objects/core-saved-objects-server-mocks/tsconfig.json index ff8b3da96b4db..3fe98195b374a 100644 --- a/packages/core/saved-objects/core-saved-objects-server-mocks/tsconfig.json +++ b/packages/core/saved-objects/core-saved-objects-server-mocks/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "rootDir": ".", diff --git a/packages/core/saved-objects/core-saved-objects-server/BUILD.bazel b/packages/core/saved-objects/core-saved-objects-server/BUILD.bazel index 2237defc1b11d..98b1470fee9d7 100644 --- a/packages/core/saved-objects/core-saved-objects-server/BUILD.bazel +++ b/packages/core/saved-objects/core-saved-objects-server/BUILD.bazel @@ -71,7 +71,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -85,6 +84,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -96,17 +103,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/saved-objects/core-saved-objects-server/package.json b/packages/core/saved-objects/core-saved-objects-server/package.json index 566ccc3ad49cb..1cfa72bf9cee7 100644 --- a/packages/core/saved-objects/core-saved-objects-server/package.json +++ b/packages/core/saved-objects/core-saved-objects-server/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/saved-objects/core-saved-objects-server/tsconfig.json b/packages/core/saved-objects/core-saved-objects-server/tsconfig.json index 49e920b0a461a..af8fdef592c43 100644 --- a/packages/core/saved-objects/core-saved-objects-server/tsconfig.json +++ b/packages/core/saved-objects/core-saved-objects-server/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/saved-objects/core-saved-objects-utils-server/BUILD.bazel b/packages/core/saved-objects/core-saved-objects-utils-server/BUILD.bazel index 9dca62c268a06..ae246f3976c45 100644 --- a/packages/core/saved-objects/core-saved-objects-utils-server/BUILD.bazel +++ b/packages/core/saved-objects/core-saved-objects-utils-server/BUILD.bazel @@ -71,7 +71,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -85,6 +84,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -96,17 +103,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/saved-objects/core-saved-objects-utils-server/package.json b/packages/core/saved-objects/core-saved-objects-utils-server/package.json index eb223e7f49ebb..28293054578d7 100644 --- a/packages/core/saved-objects/core-saved-objects-utils-server/package.json +++ b/packages/core/saved-objects/core-saved-objects-utils-server/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/saved-objects/core-saved-objects-utils-server/tsconfig.json b/packages/core/saved-objects/core-saved-objects-utils-server/tsconfig.json index 49e920b0a461a..af8fdef592c43 100644 --- a/packages/core/saved-objects/core-saved-objects-utils-server/tsconfig.json +++ b/packages/core/saved-objects/core-saved-objects-utils-server/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/status/core-status-common-internal/BUILD.bazel b/packages/core/status/core-status-common-internal/BUILD.bazel index db1d2ac2b6278..10c02ceed52f5 100644 --- a/packages/core/status/core-status-common-internal/BUILD.bazel +++ b/packages/core/status/core-status-common-internal/BUILD.bazel @@ -74,7 +74,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -88,6 +87,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -99,17 +106,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/status/core-status-common-internal/package.json b/packages/core/status/core-status-common-internal/package.json index 7d101cfc7c766..7d5bbf52425a2 100644 --- a/packages/core/status/core-status-common-internal/package.json +++ b/packages/core/status/core-status-common-internal/package.json @@ -5,5 +5,6 @@ "main": "./target_node/index.js", "browser": "./target_web/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/status/core-status-common-internal/tsconfig.json b/packages/core/status/core-status-common-internal/tsconfig.json index 26b4c7aca3a67..8a9b8b46147f1 100644 --- a/packages/core/status/core-status-common-internal/tsconfig.json +++ b/packages/core/status/core-status-common-internal/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/status/core-status-common/BUILD.bazel b/packages/core/status/core-status-common/BUILD.bazel index f13519217c685..a488a5999df06 100644 --- a/packages/core/status/core-status-common/BUILD.bazel +++ b/packages/core/status/core-status-common/BUILD.bazel @@ -75,7 +75,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -89,6 +88,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -100,17 +107,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/status/core-status-common/package.json b/packages/core/status/core-status-common/package.json index 19a21ce0125ec..0c32405177b40 100644 --- a/packages/core/status/core-status-common/package.json +++ b/packages/core/status/core-status-common/package.json @@ -5,5 +5,6 @@ "main": "./target_node/index.js", "browser": "./target_web/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/status/core-status-common/tsconfig.json b/packages/core/status/core-status-common/tsconfig.json index 26b4c7aca3a67..8a9b8b46147f1 100644 --- a/packages/core/status/core-status-common/tsconfig.json +++ b/packages/core/status/core-status-common/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/status/core-status-server-internal/BUILD.bazel b/packages/core/status/core-status-server-internal/BUILD.bazel index 7b199378c4881..2e15439eee3d8 100644 --- a/packages/core/status/core-status-server-internal/BUILD.bazel +++ b/packages/core/status/core-status-server-internal/BUILD.bazel @@ -93,7 +93,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -107,6 +106,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -118,17 +125,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/status/core-status-server-internal/package.json b/packages/core/status/core-status-server-internal/package.json index 495d8c56d3815..0c20231606015 100644 --- a/packages/core/status/core-status-server-internal/package.json +++ b/packages/core/status/core-status-server-internal/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/status/core-status-server-internal/tsconfig.json b/packages/core/status/core-status-server-internal/tsconfig.json index 71bb40fe57f3f..ff48529c6f303 100644 --- a/packages/core/status/core-status-server-internal/tsconfig.json +++ b/packages/core/status/core-status-server-internal/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/status/core-status-server-mocks/BUILD.bazel b/packages/core/status/core-status-server-mocks/BUILD.bazel index 54472c706546b..ba64513644814 100644 --- a/packages/core/status/core-status-server-mocks/BUILD.bazel +++ b/packages/core/status/core-status-server-mocks/BUILD.bazel @@ -69,7 +69,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -83,6 +82,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -94,17 +101,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/status/core-status-server-mocks/package.json b/packages/core/status/core-status-server-mocks/package.json index 406cc5eae71aa..666843aad8947 100644 --- a/packages/core/status/core-status-server-mocks/package.json +++ b/packages/core/status/core-status-server-mocks/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/status/core-status-server-mocks/tsconfig.json b/packages/core/status/core-status-server-mocks/tsconfig.json index 71bb40fe57f3f..ff48529c6f303 100644 --- a/packages/core/status/core-status-server-mocks/tsconfig.json +++ b/packages/core/status/core-status-server-mocks/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/status/core-status-server/BUILD.bazel b/packages/core/status/core-status-server/BUILD.bazel index e48b21c23dc2f..d9cf0a216956d 100644 --- a/packages/core/status/core-status-server/BUILD.bazel +++ b/packages/core/status/core-status-server/BUILD.bazel @@ -67,7 +67,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -81,6 +80,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -92,17 +99,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/status/core-status-server/package.json b/packages/core/status/core-status-server/package.json index 93dd8920d03a7..95e42e16f8096 100644 --- a/packages/core/status/core-status-server/package.json +++ b/packages/core/status/core-status-server/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/status/core-status-server/tsconfig.json b/packages/core/status/core-status-server/tsconfig.json index 71bb40fe57f3f..ff48529c6f303 100644 --- a/packages/core/status/core-status-server/tsconfig.json +++ b/packages/core/status/core-status-server/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/test-helpers/core-test-helpers-deprecations-getters/BUILD.bazel b/packages/core/test-helpers/core-test-helpers-deprecations-getters/BUILD.bazel index 141c97a65972c..72af0cdf54522 100644 --- a/packages/core/test-helpers/core-test-helpers-deprecations-getters/BUILD.bazel +++ b/packages/core/test-helpers/core-test-helpers-deprecations-getters/BUILD.bazel @@ -69,7 +69,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -83,6 +82,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -94,17 +101,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/test-helpers/core-test-helpers-deprecations-getters/package.json b/packages/core/test-helpers/core-test-helpers-deprecations-getters/package.json index 6a1a7f90ea344..37bfe7ddbf750 100644 --- a/packages/core/test-helpers/core-test-helpers-deprecations-getters/package.json +++ b/packages/core/test-helpers/core-test-helpers-deprecations-getters/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/test-helpers/core-test-helpers-deprecations-getters/tsconfig.json b/packages/core/test-helpers/core-test-helpers-deprecations-getters/tsconfig.json index 49e920b0a461a..af8fdef592c43 100644 --- a/packages/core/test-helpers/core-test-helpers-deprecations-getters/tsconfig.json +++ b/packages/core/test-helpers/core-test-helpers-deprecations-getters/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/test-helpers/core-test-helpers-http-setup-browser/BUILD.bazel b/packages/core/test-helpers/core-test-helpers-http-setup-browser/BUILD.bazel index bc700b4287d21..4161d62c3a056 100644 --- a/packages/core/test-helpers/core-test-helpers-http-setup-browser/BUILD.bazel +++ b/packages/core/test-helpers/core-test-helpers-http-setup-browser/BUILD.bazel @@ -79,7 +79,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -93,6 +92,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -104,17 +111,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/test-helpers/core-test-helpers-http-setup-browser/package.json b/packages/core/test-helpers/core-test-helpers-http-setup-browser/package.json index 608f8b82af43d..813f6050c044c 100644 --- a/packages/core/test-helpers/core-test-helpers-http-setup-browser/package.json +++ b/packages/core/test-helpers/core-test-helpers-http-setup-browser/package.json @@ -5,5 +5,6 @@ "main": "./target_node/index.js", "browser": "./target_web/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/test-helpers/core-test-helpers-http-setup-browser/tsconfig.json b/packages/core/test-helpers/core-test-helpers-http-setup-browser/tsconfig.json index 49e920b0a461a..af8fdef592c43 100644 --- a/packages/core/test-helpers/core-test-helpers-http-setup-browser/tsconfig.json +++ b/packages/core/test-helpers/core-test-helpers-http-setup-browser/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/test-helpers/core-test-helpers-so-type-serializer/BUILD.bazel b/packages/core/test-helpers/core-test-helpers-so-type-serializer/BUILD.bazel index 714250a907fb4..4f9f25dd77077 100644 --- a/packages/core/test-helpers/core-test-helpers-so-type-serializer/BUILD.bazel +++ b/packages/core/test-helpers/core-test-helpers-so-type-serializer/BUILD.bazel @@ -70,7 +70,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -84,6 +83,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -95,17 +102,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/test-helpers/core-test-helpers-so-type-serializer/package.json b/packages/core/test-helpers/core-test-helpers-so-type-serializer/package.json index 95de844e70ed9..2c0288ec01238 100644 --- a/packages/core/test-helpers/core-test-helpers-so-type-serializer/package.json +++ b/packages/core/test-helpers/core-test-helpers-so-type-serializer/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/test-helpers/core-test-helpers-so-type-serializer/tsconfig.json b/packages/core/test-helpers/core-test-helpers-so-type-serializer/tsconfig.json index 71bb40fe57f3f..ff48529c6f303 100644 --- a/packages/core/test-helpers/core-test-helpers-so-type-serializer/tsconfig.json +++ b/packages/core/test-helpers/core-test-helpers-so-type-serializer/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/test-helpers/core-test-helpers-test-utils/BUILD.bazel b/packages/core/test-helpers/core-test-helpers-test-utils/BUILD.bazel index 9338058a06c7c..19fda628add70 100644 --- a/packages/core/test-helpers/core-test-helpers-test-utils/BUILD.bazel +++ b/packages/core/test-helpers/core-test-helpers-test-utils/BUILD.bazel @@ -85,7 +85,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -99,6 +98,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -110,17 +117,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/test-helpers/core-test-helpers-test-utils/package.json b/packages/core/test-helpers/core-test-helpers-test-utils/package.json index cae81416edded..e812501e0ff73 100644 --- a/packages/core/test-helpers/core-test-helpers-test-utils/package.json +++ b/packages/core/test-helpers/core-test-helpers-test-utils/package.json @@ -3,5 +3,6 @@ "private": true, "version": "1.0.0", "main": "./target_node/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/test-helpers/core-test-helpers-test-utils/tsconfig.json b/packages/core/test-helpers/core-test-helpers-test-utils/tsconfig.json index 71bb40fe57f3f..ff48529c6f303 100644 --- a/packages/core/test-helpers/core-test-helpers-test-utils/tsconfig.json +++ b/packages/core/test-helpers/core-test-helpers-test-utils/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/theme/core-theme-browser-internal/BUILD.bazel b/packages/core/theme/core-theme-browser-internal/BUILD.bazel index d129c3774a1fe..c149e0b9e0695 100644 --- a/packages/core/theme/core-theme-browser-internal/BUILD.bazel +++ b/packages/core/theme/core-theme-browser-internal/BUILD.bazel @@ -86,7 +86,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -100,6 +99,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -111,17 +118,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/theme/core-theme-browser-internal/package.json b/packages/core/theme/core-theme-browser-internal/package.json index bca678f03158a..9a5bf644a384e 100644 --- a/packages/core/theme/core-theme-browser-internal/package.json +++ b/packages/core/theme/core-theme-browser-internal/package.json @@ -5,5 +5,6 @@ "main": "./target_node/index.js", "browser": "./target_web/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/theme/core-theme-browser-internal/tsconfig.json b/packages/core/theme/core-theme-browser-internal/tsconfig.json index 9f2708fb14528..4eb9855fa759d 100644 --- a/packages/core/theme/core-theme-browser-internal/tsconfig.json +++ b/packages/core/theme/core-theme-browser-internal/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/theme/core-theme-browser-mocks/BUILD.bazel b/packages/core/theme/core-theme-browser-mocks/BUILD.bazel index aeb99fe3ad442..d67987e887b02 100644 --- a/packages/core/theme/core-theme-browser-mocks/BUILD.bazel +++ b/packages/core/theme/core-theme-browser-mocks/BUILD.bazel @@ -76,7 +76,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -90,6 +89,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -101,17 +108,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/theme/core-theme-browser-mocks/package.json b/packages/core/theme/core-theme-browser-mocks/package.json index afe7068bec5ca..d90fe901d7969 100644 --- a/packages/core/theme/core-theme-browser-mocks/package.json +++ b/packages/core/theme/core-theme-browser-mocks/package.json @@ -5,5 +5,6 @@ "main": "./target_node/index.js", "browser": "./target_web/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/theme/core-theme-browser-mocks/tsconfig.json b/packages/core/theme/core-theme-browser-mocks/tsconfig.json index ca626e2c05d8c..d5dece108de5d 100644 --- a/packages/core/theme/core-theme-browser-mocks/tsconfig.json +++ b/packages/core/theme/core-theme-browser-mocks/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/theme/core-theme-browser/BUILD.bazel b/packages/core/theme/core-theme-browser/BUILD.bazel index d8ddc008526f2..bf1b34b975a3a 100644 --- a/packages/core/theme/core-theme-browser/BUILD.bazel +++ b/packages/core/theme/core-theme-browser/BUILD.bazel @@ -72,7 +72,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -86,6 +85,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -97,17 +104,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/theme/core-theme-browser/package.json b/packages/core/theme/core-theme-browser/package.json index dff1d13070158..4f21a8f07883e 100644 --- a/packages/core/theme/core-theme-browser/package.json +++ b/packages/core/theme/core-theme-browser/package.json @@ -5,5 +5,6 @@ "main": "./target_node/index.js", "browser": "./target_web/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/theme/core-theme-browser/tsconfig.json b/packages/core/theme/core-theme-browser/tsconfig.json index 49e920b0a461a..af8fdef592c43 100644 --- a/packages/core/theme/core-theme-browser/tsconfig.json +++ b/packages/core/theme/core-theme-browser/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/ui-settings/core-ui-settings-browser-internal/BUILD.bazel b/packages/core/ui-settings/core-ui-settings-browser-internal/BUILD.bazel index 183cb5bd02c37..8407c14febccf 100644 --- a/packages/core/ui-settings/core-ui-settings-browser-internal/BUILD.bazel +++ b/packages/core/ui-settings/core-ui-settings-browser-internal/BUILD.bazel @@ -79,7 +79,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -93,6 +92,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -104,17 +111,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/ui-settings/core-ui-settings-browser-internal/package.json b/packages/core/ui-settings/core-ui-settings-browser-internal/package.json index 5e2b66bbc89bd..496fc4fb73861 100644 --- a/packages/core/ui-settings/core-ui-settings-browser-internal/package.json +++ b/packages/core/ui-settings/core-ui-settings-browser-internal/package.json @@ -5,5 +5,6 @@ "main": "./target_node/index.js", "browser": "./target_web/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/ui-settings/core-ui-settings-browser-internal/tsconfig.json b/packages/core/ui-settings/core-ui-settings-browser-internal/tsconfig.json index 49e920b0a461a..af8fdef592c43 100644 --- a/packages/core/ui-settings/core-ui-settings-browser-internal/tsconfig.json +++ b/packages/core/ui-settings/core-ui-settings-browser-internal/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/ui-settings/core-ui-settings-browser-mocks/BUILD.bazel b/packages/core/ui-settings/core-ui-settings-browser-mocks/BUILD.bazel index d4cc743003475..944128daf6dc4 100644 --- a/packages/core/ui-settings/core-ui-settings-browser-mocks/BUILD.bazel +++ b/packages/core/ui-settings/core-ui-settings-browser-mocks/BUILD.bazel @@ -76,7 +76,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -90,6 +89,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -101,17 +108,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/ui-settings/core-ui-settings-browser-mocks/package.json b/packages/core/ui-settings/core-ui-settings-browser-mocks/package.json index 574769c8fcca5..9f3010fa6d923 100644 --- a/packages/core/ui-settings/core-ui-settings-browser-mocks/package.json +++ b/packages/core/ui-settings/core-ui-settings-browser-mocks/package.json @@ -5,5 +5,6 @@ "main": "./target_node/index.js", "browser": "./target_web/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/ui-settings/core-ui-settings-browser-mocks/tsconfig.json b/packages/core/ui-settings/core-ui-settings-browser-mocks/tsconfig.json index 49e920b0a461a..af8fdef592c43 100644 --- a/packages/core/ui-settings/core-ui-settings-browser-mocks/tsconfig.json +++ b/packages/core/ui-settings/core-ui-settings-browser-mocks/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/ui-settings/core-ui-settings-browser/BUILD.bazel b/packages/core/ui-settings/core-ui-settings-browser/BUILD.bazel index 16de7303b7d5c..0b46af92d86e3 100644 --- a/packages/core/ui-settings/core-ui-settings-browser/BUILD.bazel +++ b/packages/core/ui-settings/core-ui-settings-browser/BUILD.bazel @@ -74,7 +74,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -88,6 +87,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -99,17 +106,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/ui-settings/core-ui-settings-browser/package.json b/packages/core/ui-settings/core-ui-settings-browser/package.json index a98b162fd60e7..0d4798f84d103 100644 --- a/packages/core/ui-settings/core-ui-settings-browser/package.json +++ b/packages/core/ui-settings/core-ui-settings-browser/package.json @@ -5,5 +5,6 @@ "main": "./target_node/index.js", "browser": "./target_web/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/ui-settings/core-ui-settings-browser/tsconfig.json b/packages/core/ui-settings/core-ui-settings-browser/tsconfig.json index fc8aa85fbac2b..84be4fe27d5d6 100644 --- a/packages/core/ui-settings/core-ui-settings-browser/tsconfig.json +++ b/packages/core/ui-settings/core-ui-settings-browser/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/ui-settings/core-ui-settings-common/BUILD.bazel b/packages/core/ui-settings/core-ui-settings-common/BUILD.bazel index 5a5789757febe..c88e3142602d3 100644 --- a/packages/core/ui-settings/core-ui-settings-common/BUILD.bazel +++ b/packages/core/ui-settings/core-ui-settings-common/BUILD.bazel @@ -73,7 +73,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -87,6 +86,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -98,17 +105,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/ui-settings/core-ui-settings-common/package.json b/packages/core/ui-settings/core-ui-settings-common/package.json index b5ce3280dd343..12da969fe70f7 100644 --- a/packages/core/ui-settings/core-ui-settings-common/package.json +++ b/packages/core/ui-settings/core-ui-settings-common/package.json @@ -5,5 +5,6 @@ "main": "./target_node/index.js", "browser": "./target_web/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/ui-settings/core-ui-settings-common/tsconfig.json b/packages/core/ui-settings/core-ui-settings-common/tsconfig.json index 49e920b0a461a..af8fdef592c43 100644 --- a/packages/core/ui-settings/core-ui-settings-common/tsconfig.json +++ b/packages/core/ui-settings/core-ui-settings-common/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/ui-settings/core-ui-settings-server-internal/BUILD.bazel b/packages/core/ui-settings/core-ui-settings-server-internal/BUILD.bazel index ae77747b313e3..c20eb3dc87c95 100644 --- a/packages/core/ui-settings/core-ui-settings-server-internal/BUILD.bazel +++ b/packages/core/ui-settings/core-ui-settings-server-internal/BUILD.bazel @@ -88,7 +88,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -102,6 +101,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -113,17 +120,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/ui-settings/core-ui-settings-server-internal/package.json b/packages/core/ui-settings/core-ui-settings-server-internal/package.json index 519392b438efb..04b1646e4a86a 100644 --- a/packages/core/ui-settings/core-ui-settings-server-internal/package.json +++ b/packages/core/ui-settings/core-ui-settings-server-internal/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/ui-settings/core-ui-settings-server-internal/tsconfig.json b/packages/core/ui-settings/core-ui-settings-server-internal/tsconfig.json index 71bb40fe57f3f..ff48529c6f303 100644 --- a/packages/core/ui-settings/core-ui-settings-server-internal/tsconfig.json +++ b/packages/core/ui-settings/core-ui-settings-server-internal/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/ui-settings/core-ui-settings-server-mocks/BUILD.bazel b/packages/core/ui-settings/core-ui-settings-server-mocks/BUILD.bazel index 332b7e19f9cf3..8b016335d66e4 100644 --- a/packages/core/ui-settings/core-ui-settings-server-mocks/BUILD.bazel +++ b/packages/core/ui-settings/core-ui-settings-server-mocks/BUILD.bazel @@ -66,7 +66,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -80,6 +79,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -91,17 +98,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/ui-settings/core-ui-settings-server-mocks/package.json b/packages/core/ui-settings/core-ui-settings-server-mocks/package.json index 1984eb8ec5d61..c22f7b69954bf 100644 --- a/packages/core/ui-settings/core-ui-settings-server-mocks/package.json +++ b/packages/core/ui-settings/core-ui-settings-server-mocks/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/ui-settings/core-ui-settings-server-mocks/tsconfig.json b/packages/core/ui-settings/core-ui-settings-server-mocks/tsconfig.json index 71bb40fe57f3f..ff48529c6f303 100644 --- a/packages/core/ui-settings/core-ui-settings-server-mocks/tsconfig.json +++ b/packages/core/ui-settings/core-ui-settings-server-mocks/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/ui-settings/core-ui-settings-server/BUILD.bazel b/packages/core/ui-settings/core-ui-settings-server/BUILD.bazel index c28f92633e949..0cf8fb2d3119b 100644 --- a/packages/core/ui-settings/core-ui-settings-server/BUILD.bazel +++ b/packages/core/ui-settings/core-ui-settings-server/BUILD.bazel @@ -66,7 +66,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -80,6 +79,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -91,17 +98,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/ui-settings/core-ui-settings-server/package.json b/packages/core/ui-settings/core-ui-settings-server/package.json index 930339f0db50a..4f4e046e69801 100644 --- a/packages/core/ui-settings/core-ui-settings-server/package.json +++ b/packages/core/ui-settings/core-ui-settings-server/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/ui-settings/core-ui-settings-server/tsconfig.json b/packages/core/ui-settings/core-ui-settings-server/tsconfig.json index 71bb40fe57f3f..ff48529c6f303 100644 --- a/packages/core/ui-settings/core-ui-settings-server/tsconfig.json +++ b/packages/core/ui-settings/core-ui-settings-server/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/usage-data/core-usage-data-base-server-internal/BUILD.bazel b/packages/core/usage-data/core-usage-data-base-server-internal/BUILD.bazel index 62219c02bc49e..d2412fae38af9 100644 --- a/packages/core/usage-data/core-usage-data-base-server-internal/BUILD.bazel +++ b/packages/core/usage-data/core-usage-data-base-server-internal/BUILD.bazel @@ -67,7 +67,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", root_dir = ".", @@ -82,6 +81,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -93,17 +100,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/usage-data/core-usage-data-base-server-internal/package.json b/packages/core/usage-data/core-usage-data-base-server-internal/package.json index 837a01d45b384..3bac6ca65b835 100644 --- a/packages/core/usage-data/core-usage-data-base-server-internal/package.json +++ b/packages/core/usage-data/core-usage-data-base-server-internal/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/usage-data/core-usage-data-base-server-internal/tsconfig.json b/packages/core/usage-data/core-usage-data-base-server-internal/tsconfig.json index ff8b3da96b4db..3fe98195b374a 100644 --- a/packages/core/usage-data/core-usage-data-base-server-internal/tsconfig.json +++ b/packages/core/usage-data/core-usage-data-base-server-internal/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "rootDir": ".", diff --git a/packages/core/usage-data/core-usage-data-server-internal/BUILD.bazel b/packages/core/usage-data/core-usage-data-server-internal/BUILD.bazel index e8ffc9ba8ff47..c677b2c16ecee 100644 --- a/packages/core/usage-data/core-usage-data-server-internal/BUILD.bazel +++ b/packages/core/usage-data/core-usage-data-server-internal/BUILD.bazel @@ -89,7 +89,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -103,6 +102,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -114,17 +121,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/usage-data/core-usage-data-server-internal/package.json b/packages/core/usage-data/core-usage-data-server-internal/package.json index ed9ef4ee6838f..3138c86ae3baa 100644 --- a/packages/core/usage-data/core-usage-data-server-internal/package.json +++ b/packages/core/usage-data/core-usage-data-server-internal/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/usage-data/core-usage-data-server-internal/tsconfig.json b/packages/core/usage-data/core-usage-data-server-internal/tsconfig.json index 71bb40fe57f3f..ff48529c6f303 100644 --- a/packages/core/usage-data/core-usage-data-server-internal/tsconfig.json +++ b/packages/core/usage-data/core-usage-data-server-internal/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/usage-data/core-usage-data-server-mocks/BUILD.bazel b/packages/core/usage-data/core-usage-data-server-mocks/BUILD.bazel index d6c5c460ae9af..d75bd1efb5724 100644 --- a/packages/core/usage-data/core-usage-data-server-mocks/BUILD.bazel +++ b/packages/core/usage-data/core-usage-data-server-mocks/BUILD.bazel @@ -69,7 +69,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -83,6 +82,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -94,17 +101,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/usage-data/core-usage-data-server-mocks/package.json b/packages/core/usage-data/core-usage-data-server-mocks/package.json index 508797d341cff..90dca09cf1471 100644 --- a/packages/core/usage-data/core-usage-data-server-mocks/package.json +++ b/packages/core/usage-data/core-usage-data-server-mocks/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/usage-data/core-usage-data-server-mocks/tsconfig.json b/packages/core/usage-data/core-usage-data-server-mocks/tsconfig.json index 71bb40fe57f3f..ff48529c6f303 100644 --- a/packages/core/usage-data/core-usage-data-server-mocks/tsconfig.json +++ b/packages/core/usage-data/core-usage-data-server-mocks/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/core/usage-data/core-usage-data-server/BUILD.bazel b/packages/core/usage-data/core-usage-data-server/BUILD.bazel index 1e349174279ef..2133607f6aa8c 100644 --- a/packages/core/usage-data/core-usage-data-server/BUILD.bazel +++ b/packages/core/usage-data/core-usage-data-server/BUILD.bazel @@ -64,7 +64,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", root_dir = ".", @@ -79,6 +78,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -90,17 +97,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/core/usage-data/core-usage-data-server/package.json b/packages/core/usage-data/core-usage-data-server/package.json index e271128d733c7..5f6f8f77a93a8 100644 --- a/packages/core/usage-data/core-usage-data-server/package.json +++ b/packages/core/usage-data/core-usage-data-server/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/core/usage-data/core-usage-data-server/tsconfig.json b/packages/core/usage-data/core-usage-data-server/tsconfig.json index ff8b3da96b4db..3fe98195b374a 100644 --- a/packages/core/usage-data/core-usage-data-server/tsconfig.json +++ b/packages/core/usage-data/core-usage-data-server/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "rootDir": ".", diff --git a/packages/home/sample_data_card/BUILD.bazel b/packages/home/sample_data_card/BUILD.bazel index 0bdc2557abd6d..6697c6c0cefb4 100644 --- a/packages/home/sample_data_card/BUILD.bazel +++ b/packages/home/sample_data_card/BUILD.bazel @@ -126,6 +126,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -137,17 +145,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/home/sample_data_card/package.json b/packages/home/sample_data_card/package.json index 6eb1711b5052e..35d0f1b22ef39 100644 --- a/packages/home/sample_data_card/package.json +++ b/packages/home/sample_data_card/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "browser": "./target_web/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } \ No newline at end of file diff --git a/packages/home/sample_data_tab/BUILD.bazel b/packages/home/sample_data_tab/BUILD.bazel index 97cef4c460d1a..54e0ea0c82c6f 100644 --- a/packages/home/sample_data_tab/BUILD.bazel +++ b/packages/home/sample_data_tab/BUILD.bazel @@ -107,7 +107,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -121,6 +120,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -132,17 +139,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/home/sample_data_tab/package.json b/packages/home/sample_data_tab/package.json index 15c15f137361a..beb7a99f8aa6c 100644 --- a/packages/home/sample_data_tab/package.json +++ b/packages/home/sample_data_tab/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "browser": "./target_web/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } \ No newline at end of file diff --git a/packages/home/sample_data_tab/tsconfig.json b/packages/home/sample_data_tab/tsconfig.json index eea57a49d44d4..9fdd594692a28 100644 --- a/packages/home/sample_data_tab/tsconfig.json +++ b/packages/home/sample_data_tab/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/home/sample_data_types/tsconfig.json b/packages/home/sample_data_types/tsconfig.json index 6f94a41f6eb89..159c10aa98cec 100644 --- a/packages/home/sample_data_types/tsconfig.json +++ b/packages/home/sample_data_types/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/kbn-ace/BUILD.bazel b/packages/kbn-ace/BUILD.bazel index 7f30af32afa95..87b2e9f57354d 100644 --- a/packages/kbn-ace/BUILD.bazel +++ b/packages/kbn-ace/BUILD.bazel @@ -90,7 +90,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -104,6 +103,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -117,19 +124,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [ - ":npm_module_types", - ], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-ace/package.json b/packages/kbn-ace/package.json index ce8e83e0686ef..da9587a86cb16 100644 --- a/packages/kbn-ace/package.json +++ b/packages/kbn-ace/package.json @@ -4,5 +4,6 @@ "private": true, "browser": "./target_web/index.js", "main": "./target_node/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-ace/tsconfig.json b/packages/kbn-ace/tsconfig.json index 42de0516bfae6..febbd6d200d02 100644 --- a/packages/kbn-ace/tsconfig.json +++ b/packages/kbn-ace/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "./target_types", "stripInternal": true, diff --git a/packages/kbn-alerts/BUILD.bazel b/packages/kbn-alerts/BUILD.bazel index c9e52274d39f5..74f684fc6d458 100644 --- a/packages/kbn-alerts/BUILD.bazel +++ b/packages/kbn-alerts/BUILD.bazel @@ -82,7 +82,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -96,6 +95,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -109,19 +116,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [ - ":npm_module_types", - ], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-alerts/package.json b/packages/kbn-alerts/package.json index 13b60ad9fa072..cc4285cfc50a8 100644 --- a/packages/kbn-alerts/package.json +++ b/packages/kbn-alerts/package.json @@ -5,5 +5,6 @@ "license": "SSPL-1.0 OR Elastic License 2.0", "browser": "./target_web/index.js", "main": "./target_node/index.js", - "private": true + "private": true, + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-alerts/tsconfig.json b/packages/kbn-alerts/tsconfig.json index ac9ae0ffc0247..fccc6563c0e73 100644 --- a/packages/kbn-alerts/tsconfig.json +++ b/packages/kbn-alerts/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "types": ["jest", "node"] diff --git a/packages/kbn-ambient-storybook-types/tsconfig.json b/packages/kbn-ambient-storybook-types/tsconfig.json index 68ffb14bbba9b..b816729f8b354 100644 --- a/packages/kbn-ambient-storybook-types/tsconfig.json +++ b/packages/kbn-ambient-storybook-types/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "rootDir": "src", diff --git a/packages/kbn-ambient-ui-types/tsconfig.json b/packages/kbn-ambient-ui-types/tsconfig.json index ad9af24958c59..a86b5dfec75b9 100644 --- a/packages/kbn-ambient-ui-types/tsconfig.json +++ b/packages/kbn-ambient-ui-types/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/kbn-analytics/BUILD.bazel b/packages/kbn-analytics/BUILD.bazel index 53d0cbf16ddee..d9add8b38c069 100644 --- a/packages/kbn-analytics/BUILD.bazel +++ b/packages/kbn-analytics/BUILD.bazel @@ -85,7 +85,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -99,6 +98,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -112,19 +119,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [ - ":npm_module_types", - ], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-analytics/package.json b/packages/kbn-analytics/package.json index afe101b731cc3..57216d4e563db 100644 --- a/packages/kbn-analytics/package.json +++ b/packages/kbn-analytics/package.json @@ -6,5 +6,6 @@ "main": "target_node/index.js", "browser": "target_web/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } \ No newline at end of file diff --git a/packages/kbn-analytics/tsconfig.json b/packages/kbn-analytics/tsconfig.json index bbc85272398c5..40efa4b7c3830 100644 --- a/packages/kbn-analytics/tsconfig.json +++ b/packages/kbn-analytics/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "isolatedModules": true, "outDir": "./target_types", diff --git a/packages/kbn-apm-config-loader/BUILD.bazel b/packages/kbn-apm-config-loader/BUILD.bazel index 526193788cd92..fd51d0719bac6 100644 --- a/packages/kbn-apm-config-loader/BUILD.bazel +++ b/packages/kbn-apm-config-loader/BUILD.bazel @@ -75,7 +75,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -89,6 +88,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -102,19 +109,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [ - ":npm_module_types", - ], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-apm-config-loader/package.json b/packages/kbn-apm-config-loader/package.json index d973d54f41065..30d7f3780f83e 100644 --- a/packages/kbn-apm-config-loader/package.json +++ b/packages/kbn-apm-config-loader/package.json @@ -3,5 +3,6 @@ "main": "./target_node/index.js", "version": "1.0.0", "license": "SSPL-1.0 OR Elastic License 2.0", - "private": true + "private": true, + "types": "./target_types/index.d.ts" } \ No newline at end of file diff --git a/packages/kbn-apm-config-loader/tsconfig.json b/packages/kbn-apm-config-loader/tsconfig.json index e6381fc4edf9f..51d1f22922c47 100644 --- a/packages/kbn-apm-config-loader/tsconfig.json +++ b/packages/kbn-apm-config-loader/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "./target_types", "stripInternal": false, diff --git a/packages/kbn-apm-synthtrace/BUILD.bazel b/packages/kbn-apm-synthtrace/BUILD.bazel index 4107a948e27c8..2e7b4ac1f4562 100644 --- a/packages/kbn-apm-synthtrace/BUILD.bazel +++ b/packages/kbn-apm-synthtrace/BUILD.bazel @@ -85,7 +85,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -100,6 +99,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -113,19 +120,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [ - ":npm_module_types", - ], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-apm-synthtrace/package.json b/packages/kbn-apm-synthtrace/package.json index 17d4c9b10b75b..935eb518639db 100644 --- a/packages/kbn-apm-synthtrace/package.json +++ b/packages/kbn-apm-synthtrace/package.json @@ -7,5 +7,6 @@ "synthtrace": "./bin/synthtrace" }, "main": "./target_node/index.js", - "private": true + "private": true, + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-apm-synthtrace/tsconfig.json b/packages/kbn-apm-synthtrace/tsconfig.json index 66a3e0d12e411..cc3e7412412df 100644 --- a/packages/kbn-apm-synthtrace/tsconfig.json +++ b/packages/kbn-apm-synthtrace/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "types": ["node", "jest"] diff --git a/packages/kbn-apm-utils/BUILD.bazel b/packages/kbn-apm-utils/BUILD.bazel index 41b28d8c11cfc..5f685b859613a 100644 --- a/packages/kbn-apm-utils/BUILD.bazel +++ b/packages/kbn-apm-utils/BUILD.bazel @@ -65,7 +65,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -79,6 +78,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -92,19 +99,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [ - ":npm_module_types", - ], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-apm-utils/package.json b/packages/kbn-apm-utils/package.json index c57753bc83e50..7e31210e1d19d 100644 --- a/packages/kbn-apm-utils/package.json +++ b/packages/kbn-apm-utils/package.json @@ -3,5 +3,6 @@ "main": "./target_node/index.js", "version": "1.0.0", "license": "SSPL-1.0 OR Elastic License 2.0", - "private": true + "private": true, + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-apm-utils/tsconfig.json b/packages/kbn-apm-utils/tsconfig.json index e82293883bbb4..b4316f3d2faac 100644 --- a/packages/kbn-apm-utils/tsconfig.json +++ b/packages/kbn-apm-utils/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "types": [ diff --git a/packages/kbn-axe-config/BUILD.bazel b/packages/kbn-axe-config/BUILD.bazel index 8bf795bffdc6f..b565aea2e8c04 100644 --- a/packages/kbn-axe-config/BUILD.bazel +++ b/packages/kbn-axe-config/BUILD.bazel @@ -91,7 +91,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -105,6 +104,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -116,17 +123,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-axe-config/package.json b/packages/kbn-axe-config/package.json index 62dd325c3ca2f..77c6d2b4c31c4 100644 --- a/packages/kbn-axe-config/package.json +++ b/packages/kbn-axe-config/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "browser": "./target_web/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-axe-config/tsconfig.json b/packages/kbn-axe-config/tsconfig.json index d27353840efba..118bd3fb10818 100644 --- a/packages/kbn-axe-config/tsconfig.json +++ b/packages/kbn-axe-config/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/kbn-bazel-packages/BUILD.bazel b/packages/kbn-bazel-packages/BUILD.bazel index 71d6384a3cff4..83804b96e50be 100644 --- a/packages/kbn-bazel-packages/BUILD.bazel +++ b/packages/kbn-bazel-packages/BUILD.bazel @@ -86,7 +86,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, allow_js = True, emit_declaration_only = True, out_dir = "target_types", @@ -101,6 +100,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -112,17 +119,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-bazel-packages/package.json b/packages/kbn-bazel-packages/package.json index fabf8b6cbbc14..32e4cdd4df279 100644 --- a/packages/kbn-bazel-packages/package.json +++ b/packages/kbn-bazel-packages/package.json @@ -3,5 +3,6 @@ "private": true, "version": "1.0.0", "main": "./target_node/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-bazel-packages/tsconfig.json b/packages/kbn-bazel-packages/tsconfig.json index 613c256ed2831..88c042aec7ed6 100644 --- a/packages/kbn-bazel-packages/tsconfig.json +++ b/packages/kbn-bazel-packages/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "allowJs": true, "checkJs": true, diff --git a/packages/kbn-bazel-runner/BUILD.bazel b/packages/kbn-bazel-runner/BUILD.bazel index 994ad432c69d0..6d5f2efd9defd 100644 --- a/packages/kbn-bazel-runner/BUILD.bazel +++ b/packages/kbn-bazel-runner/BUILD.bazel @@ -94,7 +94,6 @@ ts_project( deps = TYPES_DEPS, allow_js = True, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -108,6 +107,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -119,17 +126,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-bazel-runner/package.json b/packages/kbn-bazel-runner/package.json index 540dfbac4a037..bf34fa74f8a69 100644 --- a/packages/kbn-bazel-runner/package.json +++ b/packages/kbn-bazel-runner/package.json @@ -3,5 +3,6 @@ "private": true, "version": "1.0.0", "main": "./target_node/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-bazel-runner/tsconfig.json b/packages/kbn-bazel-runner/tsconfig.json index d8daff6265139..84a0388b22912 100644 --- a/packages/kbn-bazel-runner/tsconfig.json +++ b/packages/kbn-bazel-runner/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "allowJs": true, "checkJs": true, diff --git a/packages/kbn-cases-components/BUILD.bazel b/packages/kbn-cases-components/BUILD.bazel index ef6db08ca7540..742948f37f0f7 100644 --- a/packages/kbn-cases-components/BUILD.bazel +++ b/packages/kbn-cases-components/BUILD.bazel @@ -84,7 +84,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -98,6 +97,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -109,17 +116,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-cases-components/package.json b/packages/kbn-cases-components/package.json index eeb816ca5538b..09d1d72ea8366 100644 --- a/packages/kbn-cases-components/package.json +++ b/packages/kbn-cases-components/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "browser": "./target_web/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-cases-components/tsconfig.json b/packages/kbn-cases-components/tsconfig.json index 171db889bdd36..7b8e63a49fcb6 100644 --- a/packages/kbn-cases-components/tsconfig.json +++ b/packages/kbn-cases-components/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/kbn-chart-icons/BUILD.bazel b/packages/kbn-chart-icons/BUILD.bazel index 84de85a505094..d1ef991c0befd 100644 --- a/packages/kbn-chart-icons/BUILD.bazel +++ b/packages/kbn-chart-icons/BUILD.bazel @@ -103,7 +103,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -117,6 +116,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -128,17 +135,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-chart-icons/package.json b/packages/kbn-chart-icons/package.json index c1f5912c1269e..901cc41588b06 100644 --- a/packages/kbn-chart-icons/package.json +++ b/packages/kbn-chart-icons/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "browser": "./target_web/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-chart-icons/tsconfig.json b/packages/kbn-chart-icons/tsconfig.json index f3c863a9cd6f4..aed4b0c3763dc 100644 --- a/packages/kbn-chart-icons/tsconfig.json +++ b/packages/kbn-chart-icons/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "types": [ diff --git a/packages/kbn-ci-stats-core/BUILD.bazel b/packages/kbn-ci-stats-core/BUILD.bazel index 83f567539da4e..6d68336effc27 100644 --- a/packages/kbn-ci-stats-core/BUILD.bazel +++ b/packages/kbn-ci-stats-core/BUILD.bazel @@ -86,7 +86,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -100,6 +99,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -111,17 +118,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-ci-stats-core/package.json b/packages/kbn-ci-stats-core/package.json index fc56e2e3213ea..eb271889023a3 100644 --- a/packages/kbn-ci-stats-core/package.json +++ b/packages/kbn-ci-stats-core/package.json @@ -3,5 +3,6 @@ "private": true, "version": "1.0.0", "main": "./target_node/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-ci-stats-core/tsconfig.json b/packages/kbn-ci-stats-core/tsconfig.json index d27353840efba..118bd3fb10818 100644 --- a/packages/kbn-ci-stats-core/tsconfig.json +++ b/packages/kbn-ci-stats-core/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/kbn-ci-stats-performance-metrics/BUILD.bazel b/packages/kbn-ci-stats-performance-metrics/BUILD.bazel index 98c676c8db5c6..3b3340c0e6cb3 100644 --- a/packages/kbn-ci-stats-performance-metrics/BUILD.bazel +++ b/packages/kbn-ci-stats-performance-metrics/BUILD.bazel @@ -93,7 +93,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -107,6 +106,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -118,17 +125,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-ci-stats-performance-metrics/package.json b/packages/kbn-ci-stats-performance-metrics/package.json index 0801174ab4a02..6d12a45cc4dbe 100644 --- a/packages/kbn-ci-stats-performance-metrics/package.json +++ b/packages/kbn-ci-stats-performance-metrics/package.json @@ -3,5 +3,6 @@ "private": true, "version": "1.0.0", "main": "./target_node/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-ci-stats-performance-metrics/tsconfig.json b/packages/kbn-ci-stats-performance-metrics/tsconfig.json index d27353840efba..118bd3fb10818 100644 --- a/packages/kbn-ci-stats-performance-metrics/tsconfig.json +++ b/packages/kbn-ci-stats-performance-metrics/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/kbn-ci-stats-reporter/BUILD.bazel b/packages/kbn-ci-stats-reporter/BUILD.bazel index d2f1e85e58556..1a43bc14012ed 100644 --- a/packages/kbn-ci-stats-reporter/BUILD.bazel +++ b/packages/kbn-ci-stats-reporter/BUILD.bazel @@ -92,7 +92,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -106,6 +105,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -117,17 +124,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-ci-stats-reporter/package.json b/packages/kbn-ci-stats-reporter/package.json index 1393c08cddac4..b16ac7db77dcf 100644 --- a/packages/kbn-ci-stats-reporter/package.json +++ b/packages/kbn-ci-stats-reporter/package.json @@ -3,5 +3,6 @@ "private": true, "version": "1.0.0", "main": "./target_node/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-ci-stats-reporter/tsconfig.json b/packages/kbn-ci-stats-reporter/tsconfig.json index d27353840efba..118bd3fb10818 100644 --- a/packages/kbn-ci-stats-reporter/tsconfig.json +++ b/packages/kbn-ci-stats-reporter/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/kbn-cli-dev-mode/BUILD.bazel b/packages/kbn-cli-dev-mode/BUILD.bazel index 90d11fdeb62bb..399ee78330c6a 100644 --- a/packages/kbn-cli-dev-mode/BUILD.bazel +++ b/packages/kbn-cli-dev-mode/BUILD.bazel @@ -103,7 +103,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -117,6 +116,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -130,19 +137,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [ - ":npm_module_types", - ], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-cli-dev-mode/package.json b/packages/kbn-cli-dev-mode/package.json index 6113b1deef073..f799551d83adc 100644 --- a/packages/kbn-cli-dev-mode/package.json +++ b/packages/kbn-cli-dev-mode/package.json @@ -3,5 +3,6 @@ "main": "./target_node/index.js", "version": "1.0.0", "license": "SSPL-1.0 OR Elastic License 2.0", - "private": true + "private": true, + "types": "./target_types/index.d.ts" } \ No newline at end of file diff --git a/packages/kbn-cli-dev-mode/tsconfig.json b/packages/kbn-cli-dev-mode/tsconfig.json index ed2c3cb774aff..d59a0bbd408f1 100644 --- a/packages/kbn-cli-dev-mode/tsconfig.json +++ b/packages/kbn-cli-dev-mode/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "./target_types", "types": [ diff --git a/packages/kbn-coloring/BUILD.bazel b/packages/kbn-coloring/BUILD.bazel index 60b34fcaacb17..80a1f90ce918a 100644 --- a/packages/kbn-coloring/BUILD.bazel +++ b/packages/kbn-coloring/BUILD.bazel @@ -116,7 +116,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -130,6 +129,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -141,17 +148,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-coloring/package.json b/packages/kbn-coloring/package.json index c1b5d5337756d..df816c6e892b8 100644 --- a/packages/kbn-coloring/package.json +++ b/packages/kbn-coloring/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "browser": "./target_web/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-coloring/tsconfig.json b/packages/kbn-coloring/tsconfig.json index 3bb2dd2715fcb..3f9461054a2c1 100644 --- a/packages/kbn-coloring/tsconfig.json +++ b/packages/kbn-coloring/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/kbn-config-mocks/BUILD.bazel b/packages/kbn-config-mocks/BUILD.bazel index 391dc55607766..5389233b8419b 100644 --- a/packages/kbn-config-mocks/BUILD.bazel +++ b/packages/kbn-config-mocks/BUILD.bazel @@ -69,7 +69,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -83,6 +82,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -94,17 +101,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-config-mocks/package.json b/packages/kbn-config-mocks/package.json index da209eec5fadf..c2bbafd095dbe 100644 --- a/packages/kbn-config-mocks/package.json +++ b/packages/kbn-config-mocks/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-config-mocks/tsconfig.json b/packages/kbn-config-mocks/tsconfig.json index d27353840efba..118bd3fb10818 100644 --- a/packages/kbn-config-mocks/tsconfig.json +++ b/packages/kbn-config-mocks/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/kbn-config-schema/BUILD.bazel b/packages/kbn-config-schema/BUILD.bazel index c14ba00345437..f90c8c44c6a35 100644 --- a/packages/kbn-config-schema/BUILD.bazel +++ b/packages/kbn-config-schema/BUILD.bazel @@ -75,7 +75,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -89,6 +88,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -102,19 +109,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [ - ":npm_module_types", - ], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-config-schema/package.json b/packages/kbn-config-schema/package.json index 9f1b42f200385..4b58a5c559651 100644 --- a/packages/kbn-config-schema/package.json +++ b/packages/kbn-config-schema/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "license": "SSPL-1.0 OR Elastic License 2.0", "author": "Kibana Core", - "private": true + "private": true, + "types": "./target_types/index.d.ts" } \ No newline at end of file diff --git a/packages/kbn-config-schema/tsconfig.json b/packages/kbn-config-schema/tsconfig.json index 3de05fab09789..569d575c72bcb 100644 --- a/packages/kbn-config-schema/tsconfig.json +++ b/packages/kbn-config-schema/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": true, diff --git a/packages/kbn-config/BUILD.bazel b/packages/kbn-config/BUILD.bazel index 4e1066bd7a19b..69436dbcb4f6f 100644 --- a/packages/kbn-config/BUILD.bazel +++ b/packages/kbn-config/BUILD.bazel @@ -94,7 +94,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -108,6 +107,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -121,19 +128,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [ - ":npm_module_types", - ], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-config/package.json b/packages/kbn-config/package.json index 836e12b41c243..11fabd92af291 100644 --- a/packages/kbn-config/package.json +++ b/packages/kbn-config/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "author": "Kibana Core", "license": "SSPL-1.0 OR Elastic License 2.0", - "private": true + "private": true, + "types": "./target_types/index.d.ts" } \ No newline at end of file diff --git a/packages/kbn-config/tsconfig.json b/packages/kbn-config/tsconfig.json index e6381fc4edf9f..51d1f22922c47 100644 --- a/packages/kbn-config/tsconfig.json +++ b/packages/kbn-config/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "./target_types", "stripInternal": false, diff --git a/packages/kbn-crypto-browser/BUILD.bazel b/packages/kbn-crypto-browser/BUILD.bazel index 41b70fbc2b623..bf3b4e43ef362 100644 --- a/packages/kbn-crypto-browser/BUILD.bazel +++ b/packages/kbn-crypto-browser/BUILD.bazel @@ -84,6 +84,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -95,17 +103,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-crypto-browser/package.json b/packages/kbn-crypto-browser/package.json index 42bf708c93cdf..98bedc14e7b0b 100644 --- a/packages/kbn-crypto-browser/package.json +++ b/packages/kbn-crypto-browser/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "browser": "./target_web/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-crypto/BUILD.bazel b/packages/kbn-crypto/BUILD.bazel index 55ed47a64303a..fb3bcbcfbd060 100644 --- a/packages/kbn-crypto/BUILD.bazel +++ b/packages/kbn-crypto/BUILD.bazel @@ -72,7 +72,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -86,6 +85,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -99,19 +106,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [ - ":npm_module_types", - ], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-crypto/package.json b/packages/kbn-crypto/package.json index 96bf21906ed4a..8fa6cd3c232fa 100644 --- a/packages/kbn-crypto/package.json +++ b/packages/kbn-crypto/package.json @@ -3,5 +3,6 @@ "version": "1.0.0", "private": true, "license": "SSPL-1.0 OR Elastic License 2.0", - "main": "./target_node/index.js" + "main": "./target_node/index.js", + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-crypto/tsconfig.json b/packages/kbn-crypto/tsconfig.json index 5177725e200ca..3dcbf034e70bf 100644 --- a/packages/kbn-crypto/tsconfig.json +++ b/packages/kbn-crypto/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "./target_types", "types": [ diff --git a/packages/kbn-datemath/BUILD.bazel b/packages/kbn-datemath/BUILD.bazel index 95e93f70e92e1..4e33d59d71823 100644 --- a/packages/kbn-datemath/BUILD.bazel +++ b/packages/kbn-datemath/BUILD.bazel @@ -64,7 +64,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig" @@ -78,6 +77,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -91,19 +98,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [ - ":npm_module_types", - ], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-datemath/package.json b/packages/kbn-datemath/package.json index 0bd726afb721e..933620644ddd6 100644 --- a/packages/kbn-datemath/package.json +++ b/packages/kbn-datemath/package.json @@ -6,5 +6,6 @@ "main": "./target_node/index.js", "peerDependencies": { "moment": "^2.24.0" - } + }, + "types": "./target_types/index.d.ts" } \ No newline at end of file diff --git a/packages/kbn-datemath/tsconfig.json b/packages/kbn-datemath/tsconfig.json index e82293883bbb4..b4316f3d2faac 100644 --- a/packages/kbn-datemath/tsconfig.json +++ b/packages/kbn-datemath/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "types": [ diff --git a/packages/kbn-dev-cli-errors/BUILD.bazel b/packages/kbn-dev-cli-errors/BUILD.bazel index 21d04e63b1ec6..07b095254a0a7 100644 --- a/packages/kbn-dev-cli-errors/BUILD.bazel +++ b/packages/kbn-dev-cli-errors/BUILD.bazel @@ -83,7 +83,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -97,6 +96,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -108,17 +115,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-dev-cli-errors/package.json b/packages/kbn-dev-cli-errors/package.json index e4757b7ad9b38..a40c9a3bccacc 100644 --- a/packages/kbn-dev-cli-errors/package.json +++ b/packages/kbn-dev-cli-errors/package.json @@ -3,5 +3,6 @@ "private": true, "version": "1.0.0", "main": "./target_node/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-dev-cli-errors/tsconfig.json b/packages/kbn-dev-cli-errors/tsconfig.json index d27353840efba..118bd3fb10818 100644 --- a/packages/kbn-dev-cli-errors/tsconfig.json +++ b/packages/kbn-dev-cli-errors/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/kbn-dev-cli-runner/BUILD.bazel b/packages/kbn-dev-cli-runner/BUILD.bazel index b1ddeb1dcaf95..65036f7070977 100644 --- a/packages/kbn-dev-cli-runner/BUILD.bazel +++ b/packages/kbn-dev-cli-runner/BUILD.bazel @@ -106,7 +106,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -120,6 +119,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -131,17 +138,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-dev-cli-runner/package.json b/packages/kbn-dev-cli-runner/package.json index 12670190159af..94e1769933ce0 100644 --- a/packages/kbn-dev-cli-runner/package.json +++ b/packages/kbn-dev-cli-runner/package.json @@ -3,5 +3,6 @@ "private": true, "version": "1.0.0", "main": "./target_node/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-dev-cli-runner/tsconfig.json b/packages/kbn-dev-cli-runner/tsconfig.json index d27353840efba..118bd3fb10818 100644 --- a/packages/kbn-dev-cli-runner/tsconfig.json +++ b/packages/kbn-dev-cli-runner/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/kbn-dev-proc-runner/BUILD.bazel b/packages/kbn-dev-proc-runner/BUILD.bazel index e32831d604d2e..a2a344f41c35a 100644 --- a/packages/kbn-dev-proc-runner/BUILD.bazel +++ b/packages/kbn-dev-proc-runner/BUILD.bazel @@ -99,7 +99,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -113,6 +112,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -124,17 +131,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-dev-proc-runner/package.json b/packages/kbn-dev-proc-runner/package.json index 38907397d2c52..bdc3c1793cf31 100644 --- a/packages/kbn-dev-proc-runner/package.json +++ b/packages/kbn-dev-proc-runner/package.json @@ -3,5 +3,6 @@ "private": true, "version": "1.0.0", "main": "./target_node/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-dev-proc-runner/tsconfig.json b/packages/kbn-dev-proc-runner/tsconfig.json index d27353840efba..118bd3fb10818 100644 --- a/packages/kbn-dev-proc-runner/tsconfig.json +++ b/packages/kbn-dev-proc-runner/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/kbn-dev-utils/BUILD.bazel b/packages/kbn-dev-utils/BUILD.bazel index 849ea8404f32c..acdd6d9d4f557 100644 --- a/packages/kbn-dev-utils/BUILD.bazel +++ b/packages/kbn-dev-utils/BUILD.bazel @@ -146,7 +146,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -160,6 +159,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -173,19 +180,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [ - ":npm_module_types", - ], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-dev-utils/package.json b/packages/kbn-dev-utils/package.json index 1316319286a96..b7c8416c7b1a9 100644 --- a/packages/kbn-dev-utils/package.json +++ b/packages/kbn-dev-utils/package.json @@ -3,5 +3,6 @@ "version": "1.0.0", "private": true, "license": "SSPL-1.0 OR Elastic License 2.0", - "main": "./target_node/index.js" + "main": "./target_node/index.js", + "types": "./target_types/index.d.ts" } \ No newline at end of file diff --git a/packages/kbn-dev-utils/tsconfig.json b/packages/kbn-dev-utils/tsconfig.json index d27353840efba..118bd3fb10818 100644 --- a/packages/kbn-dev-utils/tsconfig.json +++ b/packages/kbn-dev-utils/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/kbn-doc-links/BUILD.bazel b/packages/kbn-doc-links/BUILD.bazel index 292560832da85..af0668f181897 100644 --- a/packages/kbn-doc-links/BUILD.bazel +++ b/packages/kbn-doc-links/BUILD.bazel @@ -75,7 +75,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -89,6 +88,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -102,19 +109,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [ - ":npm_module_types", - ], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-doc-links/package.json b/packages/kbn-doc-links/package.json index e4212ed989d9a..f041cf1b37dd4 100644 --- a/packages/kbn-doc-links/package.json +++ b/packages/kbn-doc-links/package.json @@ -4,5 +4,6 @@ "main": "./target_node/index.js", "version": "1.0.0", "license": "SSPL-1.0 OR Elastic License 2.0", - "private": true + "private": true, + "types": "./target_types/index.d.ts" } \ No newline at end of file diff --git a/packages/kbn-doc-links/tsconfig.json b/packages/kbn-doc-links/tsconfig.json index ac7a28f2db4a9..1a036108f4579 100644 --- a/packages/kbn-doc-links/tsconfig.json +++ b/packages/kbn-doc-links/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "./target_types", "stripInternal": false, diff --git a/packages/kbn-docs-utils/BUILD.bazel b/packages/kbn-docs-utils/BUILD.bazel index 5564b87e15f13..6add8283f9648 100644 --- a/packages/kbn-docs-utils/BUILD.bazel +++ b/packages/kbn-docs-utils/BUILD.bazel @@ -79,7 +79,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -93,6 +92,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -106,19 +113,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [ - ":npm_module_types", - ], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-docs-utils/package.json b/packages/kbn-docs-utils/package.json index d75a79ed44b22..7f0c60985ad62 100644 --- a/packages/kbn-docs-utils/package.json +++ b/packages/kbn-docs-utils/package.json @@ -3,5 +3,6 @@ "version": "1.0.0", "license": "SSPL-1.0 OR Elastic License 2.0", "private": "true", - "main": "target_node/index.js" + "main": "target_node/index.js", + "types": "./target_types/index.d.ts" } \ No newline at end of file diff --git a/packages/kbn-docs-utils/tsconfig.json b/packages/kbn-docs-utils/tsconfig.json index beba7f7a9cc21..884ead81c781f 100644 --- a/packages/kbn-docs-utils/tsconfig.json +++ b/packages/kbn-docs-utils/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "types": [ diff --git a/packages/kbn-ebt-tools/BUILD.bazel b/packages/kbn-ebt-tools/BUILD.bazel index ac899cb06bb77..07908d50346e8 100644 --- a/packages/kbn-ebt-tools/BUILD.bazel +++ b/packages/kbn-ebt-tools/BUILD.bazel @@ -65,7 +65,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -79,6 +78,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -92,19 +99,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [ - ":npm_module_types", - ], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-ebt-tools/package.json b/packages/kbn-ebt-tools/package.json index 5e5136966b5f9..c3c73a542d016 100644 --- a/packages/kbn-ebt-tools/package.json +++ b/packages/kbn-ebt-tools/package.json @@ -4,5 +4,6 @@ "license": "SSPL-1.0 OR Elastic License 2.0", "browser": "./target_web/index.js", "main": "./target_node/index.js", - "private": true + "private": true, + "types": "./target_types/index.d.ts" } \ No newline at end of file diff --git a/packages/kbn-ebt-tools/tsconfig.json b/packages/kbn-ebt-tools/tsconfig.json index 687c3a7ad6df7..57c1dd1c94e0f 100644 --- a/packages/kbn-ebt-tools/tsconfig.json +++ b/packages/kbn-ebt-tools/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "types": [ diff --git a/packages/kbn-es-archiver/BUILD.bazel b/packages/kbn-es-archiver/BUILD.bazel index 7d214d913aeae..8358212331445 100644 --- a/packages/kbn-es-archiver/BUILD.bazel +++ b/packages/kbn-es-archiver/BUILD.bazel @@ -87,7 +87,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -101,6 +100,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -114,19 +121,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [ - ":npm_module_types", - ], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-es-archiver/package.json b/packages/kbn-es-archiver/package.json index ddd55875664e3..5fd04d0f1b693 100644 --- a/packages/kbn-es-archiver/package.json +++ b/packages/kbn-es-archiver/package.json @@ -3,5 +3,6 @@ "version": "1.0.0", "license": "SSPL-1.0 OR Elastic License 2.0", "private": "true", - "main": "target_node/index.js" + "main": "target_node/index.js", + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-es-archiver/tsconfig.json b/packages/kbn-es-archiver/tsconfig.json index 1f9eaf542f1cc..d7a6decde32cd 100644 --- a/packages/kbn-es-archiver/tsconfig.json +++ b/packages/kbn-es-archiver/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "./target_types", "types": [ diff --git a/packages/kbn-es-errors/BUILD.bazel b/packages/kbn-es-errors/BUILD.bazel index 94ae9c962267e..0da72c1c13103 100644 --- a/packages/kbn-es-errors/BUILD.bazel +++ b/packages/kbn-es-errors/BUILD.bazel @@ -79,6 +79,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -90,17 +98,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-es-errors/package.json b/packages/kbn-es-errors/package.json index f47e1020bd140..91cd12e91b809 100644 --- a/packages/kbn-es-errors/package.json +++ b/packages/kbn-es-errors/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-es-query/BUILD.bazel b/packages/kbn-es-query/BUILD.bazel index a34b58155359d..db68c064b560b 100644 --- a/packages/kbn-es-query/BUILD.bazel +++ b/packages/kbn-es-query/BUILD.bazel @@ -102,7 +102,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -116,6 +115,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES + [":grammar"], + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -129,19 +136,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [ - ":npm_module_types", - ], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-es-query/package.json b/packages/kbn-es-query/package.json index b317ce4ca4c95..026ceae873e39 100644 --- a/packages/kbn-es-query/package.json +++ b/packages/kbn-es-query/package.json @@ -4,5 +4,6 @@ "main": "./target_node/index.js", "version": "1.0.0", "license": "SSPL-1.0 OR Elastic License 2.0", - "private": true + "private": true, + "types": "./target_types/index.d.ts" } \ No newline at end of file diff --git a/packages/kbn-es-query/tsconfig.json b/packages/kbn-es-query/tsconfig.json index b8c5f137f874b..78afadbecae24 100644 --- a/packages/kbn-es-query/tsconfig.json +++ b/packages/kbn-es-query/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "./target_types", "types": [ diff --git a/packages/kbn-es-types/BUILD.bazel b/packages/kbn-es-types/BUILD.bazel index 99ebf0cc1e688..77db3b126b120 100644 --- a/packages/kbn-es-types/BUILD.bazel +++ b/packages/kbn-es-types/BUILD.bazel @@ -66,7 +66,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -80,6 +79,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -91,17 +98,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-es-types/package.json b/packages/kbn-es-types/package.json index b0119ee1d53b2..1e5c960975672 100644 --- a/packages/kbn-es-types/package.json +++ b/packages/kbn-es-types/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "author": "Kibana Core", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-es-types/tsconfig.json b/packages/kbn-es-types/tsconfig.json index 81935b1385550..98e6b09c1c81a 100644 --- a/packages/kbn-es-types/tsconfig.json +++ b/packages/kbn-es-types/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/kbn-eslint-plugin-disable/BUILD.bazel b/packages/kbn-eslint-plugin-disable/BUILD.bazel index c51c46e13dc2e..9fb19d53e2c18 100644 --- a/packages/kbn-eslint-plugin-disable/BUILD.bazel +++ b/packages/kbn-eslint-plugin-disable/BUILD.bazel @@ -86,7 +86,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -100,6 +99,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -111,17 +118,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-eslint-plugin-disable/package.json b/packages/kbn-eslint-plugin-disable/package.json index f7dc82db82217..aab648cd1d4a1 100644 --- a/packages/kbn-eslint-plugin-disable/package.json +++ b/packages/kbn-eslint-plugin-disable/package.json @@ -3,5 +3,6 @@ "private": true, "version": "1.0.0", "main": "./target_node/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-eslint-plugin-disable/tsconfig.json b/packages/kbn-eslint-plugin-disable/tsconfig.json index d27353840efba..118bd3fb10818 100644 --- a/packages/kbn-eslint-plugin-disable/tsconfig.json +++ b/packages/kbn-eslint-plugin-disable/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/kbn-eslint-plugin-imports/BUILD.bazel b/packages/kbn-eslint-plugin-imports/BUILD.bazel index 06608d0a653cd..dab195054dda2 100644 --- a/packages/kbn-eslint-plugin-imports/BUILD.bazel +++ b/packages/kbn-eslint-plugin-imports/BUILD.bazel @@ -98,7 +98,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -112,6 +111,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -123,17 +130,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-eslint-plugin-imports/package.json b/packages/kbn-eslint-plugin-imports/package.json index 28f0c3ca199cf..bf29c788f4134 100644 --- a/packages/kbn-eslint-plugin-imports/package.json +++ b/packages/kbn-eslint-plugin-imports/package.json @@ -3,5 +3,6 @@ "private": true, "version": "1.0.0", "main": "./target_node/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-eslint-plugin-imports/tsconfig.json b/packages/kbn-eslint-plugin-imports/tsconfig.json index d27353840efba..118bd3fb10818 100644 --- a/packages/kbn-eslint-plugin-imports/tsconfig.json +++ b/packages/kbn-eslint-plugin-imports/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/kbn-failed-test-reporter-cli/BUILD.bazel b/packages/kbn-failed-test-reporter-cli/BUILD.bazel index 788f20808b5d0..18f84214fd460 100644 --- a/packages/kbn-failed-test-reporter-cli/BUILD.bazel +++ b/packages/kbn-failed-test-reporter-cli/BUILD.bazel @@ -105,7 +105,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -119,6 +118,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -130,17 +137,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-failed-test-reporter-cli/package.json b/packages/kbn-failed-test-reporter-cli/package.json index daf9a58cd77d7..1aec5a4e73a09 100644 --- a/packages/kbn-failed-test-reporter-cli/package.json +++ b/packages/kbn-failed-test-reporter-cli/package.json @@ -3,5 +3,6 @@ "private": true, "version": "1.0.0", "main": "./target_node/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-failed-test-reporter-cli/tsconfig.json b/packages/kbn-failed-test-reporter-cli/tsconfig.json index 81935b1385550..98e6b09c1c81a 100644 --- a/packages/kbn-failed-test-reporter-cli/tsconfig.json +++ b/packages/kbn-failed-test-reporter-cli/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/kbn-field-types/BUILD.bazel b/packages/kbn-field-types/BUILD.bazel index fa6bf48c39c88..c6186d28953da 100644 --- a/packages/kbn-field-types/BUILD.bazel +++ b/packages/kbn-field-types/BUILD.bazel @@ -80,7 +80,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -94,6 +93,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -107,19 +114,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [ - ":npm_module_types", - ], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-field-types/package.json b/packages/kbn-field-types/package.json index 14b842526d9bc..5e8205f07c8ec 100644 --- a/packages/kbn-field-types/package.json +++ b/packages/kbn-field-types/package.json @@ -4,5 +4,6 @@ "private": true, "license": "SSPL-1.0 OR Elastic License 2.0", "browser": "./target_web/index.js", - "main": "./target_node/index.js" + "main": "./target_node/index.js", + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-field-types/tsconfig.json b/packages/kbn-field-types/tsconfig.json index 0ea3964c901c8..580a9759f9e76 100644 --- a/packages/kbn-field-types/tsconfig.json +++ b/packages/kbn-field-types/tsconfig.json @@ -3,7 +3,6 @@ "compilerOptions": { "outDir": "./target_types", "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "types": [ "jest", diff --git a/packages/kbn-find-used-node-modules/BUILD.bazel b/packages/kbn-find-used-node-modules/BUILD.bazel index 1af4e9354558f..f8ae0bb461b1a 100644 --- a/packages/kbn-find-used-node-modules/BUILD.bazel +++ b/packages/kbn-find-used-node-modules/BUILD.bazel @@ -91,7 +91,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -105,6 +104,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -116,17 +123,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-find-used-node-modules/package.json b/packages/kbn-find-used-node-modules/package.json index 138a77f3ed286..2d5c10aab3372 100644 --- a/packages/kbn-find-used-node-modules/package.json +++ b/packages/kbn-find-used-node-modules/package.json @@ -3,5 +3,6 @@ "private": true, "version": "1.0.0", "main": "./target_node/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-find-used-node-modules/tsconfig.json b/packages/kbn-find-used-node-modules/tsconfig.json index d27353840efba..118bd3fb10818 100644 --- a/packages/kbn-find-used-node-modules/tsconfig.json +++ b/packages/kbn-find-used-node-modules/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/kbn-ftr-common-functional-services/BUILD.bazel b/packages/kbn-ftr-common-functional-services/BUILD.bazel index 8085c75af4af1..37e6f35ae2405 100644 --- a/packages/kbn-ftr-common-functional-services/BUILD.bazel +++ b/packages/kbn-ftr-common-functional-services/BUILD.bazel @@ -86,7 +86,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -100,6 +99,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -111,17 +118,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-ftr-common-functional-services/package.json b/packages/kbn-ftr-common-functional-services/package.json index 642a5a39c7141..0de1d379fff8a 100644 --- a/packages/kbn-ftr-common-functional-services/package.json +++ b/packages/kbn-ftr-common-functional-services/package.json @@ -3,5 +3,6 @@ "private": true, "version": "1.0.0", "main": "./target_node/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-ftr-common-functional-services/tsconfig.json b/packages/kbn-ftr-common-functional-services/tsconfig.json index 81935b1385550..98e6b09c1c81a 100644 --- a/packages/kbn-ftr-common-functional-services/tsconfig.json +++ b/packages/kbn-ftr-common-functional-services/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/kbn-ftr-screenshot-filename/BUILD.bazel b/packages/kbn-ftr-screenshot-filename/BUILD.bazel index 5cbd3e2c87ac7..5ac795bfe2e03 100644 --- a/packages/kbn-ftr-screenshot-filename/BUILD.bazel +++ b/packages/kbn-ftr-screenshot-filename/BUILD.bazel @@ -84,7 +84,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -98,6 +97,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -109,17 +116,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-ftr-screenshot-filename/package.json b/packages/kbn-ftr-screenshot-filename/package.json index 8e3a9b1e57db4..060e1ca7018b2 100644 --- a/packages/kbn-ftr-screenshot-filename/package.json +++ b/packages/kbn-ftr-screenshot-filename/package.json @@ -3,5 +3,6 @@ "private": true, "version": "1.0.0", "main": "./target_node/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-ftr-screenshot-filename/tsconfig.json b/packages/kbn-ftr-screenshot-filename/tsconfig.json index 81935b1385550..98e6b09c1c81a 100644 --- a/packages/kbn-ftr-screenshot-filename/tsconfig.json +++ b/packages/kbn-ftr-screenshot-filename/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/kbn-generate/BUILD.bazel b/packages/kbn-generate/BUILD.bazel index e4afaec6069b9..3a470bc08ffb8 100644 --- a/packages/kbn-generate/BUILD.bazel +++ b/packages/kbn-generate/BUILD.bazel @@ -78,7 +78,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -92,6 +91,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -105,19 +112,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [ - ":npm_module_types", - ], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-generate/package.json b/packages/kbn-generate/package.json index 8413023c99a2d..bd92463816cad 100644 --- a/packages/kbn-generate/package.json +++ b/packages/kbn-generate/package.json @@ -3,5 +3,6 @@ "version": "1.0.0", "private": true, "license": "SSPL-1.0 OR Elastic License 2.0", - "main": "./target_node/index.js" + "main": "./target_node/index.js", + "types": "./target_types/index.d.ts" } \ No newline at end of file diff --git a/packages/kbn-generate/tsconfig.json b/packages/kbn-generate/tsconfig.json index d27353840efba..118bd3fb10818 100644 --- a/packages/kbn-generate/tsconfig.json +++ b/packages/kbn-generate/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/kbn-get-repo-files/BUILD.bazel b/packages/kbn-get-repo-files/BUILD.bazel index 7285008285038..215dc3efda888 100644 --- a/packages/kbn-get-repo-files/BUILD.bazel +++ b/packages/kbn-get-repo-files/BUILD.bazel @@ -85,7 +85,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -99,6 +98,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -110,17 +117,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-get-repo-files/package.json b/packages/kbn-get-repo-files/package.json index 21aa7c24d2b82..10613d821446b 100644 --- a/packages/kbn-get-repo-files/package.json +++ b/packages/kbn-get-repo-files/package.json @@ -3,5 +3,6 @@ "private": true, "version": "1.0.0", "main": "./target_node/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-get-repo-files/tsconfig.json b/packages/kbn-get-repo-files/tsconfig.json index d27353840efba..118bd3fb10818 100644 --- a/packages/kbn-get-repo-files/tsconfig.json +++ b/packages/kbn-get-repo-files/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/kbn-guided-onboarding/BUILD.bazel b/packages/kbn-guided-onboarding/BUILD.bazel index b36e63daa8221..9e3bde78c5d23 100644 --- a/packages/kbn-guided-onboarding/BUILD.bazel +++ b/packages/kbn-guided-onboarding/BUILD.bazel @@ -111,7 +111,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -125,6 +124,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -136,17 +143,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-guided-onboarding/package.json b/packages/kbn-guided-onboarding/package.json index 5838833e14277..f0f92c8a130e4 100644 --- a/packages/kbn-guided-onboarding/package.json +++ b/packages/kbn-guided-onboarding/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "browser": "./target_web/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-guided-onboarding/tsconfig.json b/packages/kbn-guided-onboarding/tsconfig.json index a88e5af86e42a..d28fc4d40371b 100644 --- a/packages/kbn-guided-onboarding/tsconfig.json +++ b/packages/kbn-guided-onboarding/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/kbn-handlebars/BUILD.bazel b/packages/kbn-handlebars/BUILD.bazel index 984366123bafb..2588bbe7857c0 100644 --- a/packages/kbn-handlebars/BUILD.bazel +++ b/packages/kbn-handlebars/BUILD.bazel @@ -77,7 +77,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -91,6 +90,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -104,19 +111,8 @@ filegroup( visibility = ["//visibility:public"], ) -pkg_npm_types( - name = "npm_module_types", - srcs = SRCS, - deps = [":tsc_types"], - package_name = TYPES_PKG_REQUIRE_NAME, - tsconfig = ":tsconfig", - visibility = ["//visibility:public"], -) - -filegroup( +pkg_npm( name = "build_types", - srcs = [ - ":npm_module_types", - ], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-handlebars/tsconfig.json b/packages/kbn-handlebars/tsconfig.json index 1f9eaf542f1cc..d7a6decde32cd 100644 --- a/packages/kbn-handlebars/tsconfig.json +++ b/packages/kbn-handlebars/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "./target_types", "types": [ diff --git a/packages/kbn-hapi-mocks/BUILD.bazel b/packages/kbn-hapi-mocks/BUILD.bazel index c5d50341a89cb..120a4fc0b0d9a 100644 --- a/packages/kbn-hapi-mocks/BUILD.bazel +++ b/packages/kbn-hapi-mocks/BUILD.bazel @@ -69,7 +69,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -83,6 +82,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -94,17 +101,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-hapi-mocks/package.json b/packages/kbn-hapi-mocks/package.json index 9de2e541c5891..67968be611826 100644 --- a/packages/kbn-hapi-mocks/package.json +++ b/packages/kbn-hapi-mocks/package.json @@ -3,5 +3,6 @@ "private": true, "version": "1.0.0", "main": "./target_node/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-hapi-mocks/tsconfig.json b/packages/kbn-hapi-mocks/tsconfig.json index d27353840efba..118bd3fb10818 100644 --- a/packages/kbn-hapi-mocks/tsconfig.json +++ b/packages/kbn-hapi-mocks/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/kbn-i18n-react/BUILD.bazel b/packages/kbn-i18n-react/BUILD.bazel index cfcf823bec4a8..644507b4a45b5 100644 --- a/packages/kbn-i18n-react/BUILD.bazel +++ b/packages/kbn-i18n-react/BUILD.bazel @@ -82,7 +82,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -96,6 +95,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -109,19 +116,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [ - ":npm_module_types", - ], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-i18n-react/package.json b/packages/kbn-i18n-react/package.json index 4ea48c4745e3b..d0f23a32a555e 100644 --- a/packages/kbn-i18n-react/package.json +++ b/packages/kbn-i18n-react/package.json @@ -5,5 +5,6 @@ "version": "1.0.0", "author": "Kibana Core", "license": "SSPL-1.0 OR Elastic License 2.0", - "private": true + "private": true, + "types": "./target_types/index.d.ts" } \ No newline at end of file diff --git a/packages/kbn-i18n-react/tsconfig.json b/packages/kbn-i18n-react/tsconfig.json index 5fb46504402a6..a673e39a05ac1 100644 --- a/packages/kbn-i18n-react/tsconfig.json +++ b/packages/kbn-i18n-react/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "./target_types", "types": [ diff --git a/packages/kbn-i18n/BUILD.bazel b/packages/kbn-i18n/BUILD.bazel index d58fdfc60df1e..1cf9837ec074b 100644 --- a/packages/kbn-i18n/BUILD.bazel +++ b/packages/kbn-i18n/BUILD.bazel @@ -82,7 +82,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -96,6 +95,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -109,19 +116,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [ - ":npm_module_types", - ], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-i18n/package.json b/packages/kbn-i18n/package.json index 18f34463cc164..26a8aeb99dc34 100644 --- a/packages/kbn-i18n/package.json +++ b/packages/kbn-i18n/package.json @@ -5,5 +5,6 @@ "version": "1.0.0", "license": "SSPL-1.0 OR Elastic License 2.0", "author": "Kibana Core", - "private": true + "private": true, + "types": "./target_types/index.d.ts" } \ No newline at end of file diff --git a/packages/kbn-i18n/tsconfig.json b/packages/kbn-i18n/tsconfig.json index d73cd8d4e6abf..7b1a7613f0f51 100644 --- a/packages/kbn-i18n/tsconfig.json +++ b/packages/kbn-i18n/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "./target_types", "types": [ diff --git a/packages/kbn-import-resolver/BUILD.bazel b/packages/kbn-import-resolver/BUILD.bazel index eeed5518da97a..c32b02f8ba821 100644 --- a/packages/kbn-import-resolver/BUILD.bazel +++ b/packages/kbn-import-resolver/BUILD.bazel @@ -95,7 +95,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -109,6 +108,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -120,17 +127,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-import-resolver/package.json b/packages/kbn-import-resolver/package.json index a809d48bc2410..bb114bbc01752 100644 --- a/packages/kbn-import-resolver/package.json +++ b/packages/kbn-import-resolver/package.json @@ -3,5 +3,6 @@ "private": true, "version": "1.0.0", "main": "./target_node/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-import-resolver/tsconfig.json b/packages/kbn-import-resolver/tsconfig.json index d27353840efba..118bd3fb10818 100644 --- a/packages/kbn-import-resolver/tsconfig.json +++ b/packages/kbn-import-resolver/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/kbn-interpreter/BUILD.bazel b/packages/kbn-interpreter/BUILD.bazel index e2cd2103ddde9..d20c34f71461d 100644 --- a/packages/kbn-interpreter/BUILD.bazel +++ b/packages/kbn-interpreter/BUILD.bazel @@ -94,7 +94,6 @@ ts_project( deps = TYPES_DEPS, allow_js = True, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -108,6 +107,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES + [":grammar"], + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -121,19 +128,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [ - ":npm_module_types", - ], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-interpreter/package.json b/packages/kbn-interpreter/package.json index ca1f35c02874b..8f0f37663e004 100644 --- a/packages/kbn-interpreter/package.json +++ b/packages/kbn-interpreter/package.json @@ -5,5 +5,6 @@ "main": "./target_node/index.js", "version": "1.0.0", "license": "SSPL-1.0 OR Elastic License 2.0", - "private": true + "private": true, + "types": "./target_types/index.d.ts" } \ No newline at end of file diff --git a/packages/kbn-interpreter/tsconfig.json b/packages/kbn-interpreter/tsconfig.json index 929d49761b904..3f7db41bf648c 100644 --- a/packages/kbn-interpreter/tsconfig.json +++ b/packages/kbn-interpreter/tsconfig.json @@ -3,7 +3,6 @@ "compilerOptions": { "allowJs": true, "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "./target_types", "stripInternal": true, diff --git a/packages/kbn-io-ts-utils/BUILD.bazel b/packages/kbn-io-ts-utils/BUILD.bazel index 322c44f18a5b8..dd1b7b1d9250f 100644 --- a/packages/kbn-io-ts-utils/BUILD.bazel +++ b/packages/kbn-io-ts-utils/BUILD.bazel @@ -81,7 +81,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -95,6 +94,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -108,19 +115,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [ - ":npm_module_types", - ], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-io-ts-utils/package.json b/packages/kbn-io-ts-utils/package.json index 806f3c46cf337..65fd13e605336 100644 --- a/packages/kbn-io-ts-utils/package.json +++ b/packages/kbn-io-ts-utils/package.json @@ -4,5 +4,6 @@ "main": "./target_node/index.js", "version": "1.0.0", "license": "SSPL-1.0 OR Elastic License 2.0", - "private": true + "private": true, + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-io-ts-utils/tsconfig.json b/packages/kbn-io-ts-utils/tsconfig.json index e6381fc4edf9f..51d1f22922c47 100644 --- a/packages/kbn-io-ts-utils/tsconfig.json +++ b/packages/kbn-io-ts-utils/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "./target_types", "stripInternal": false, diff --git a/packages/kbn-jest-serializers/BUILD.bazel b/packages/kbn-jest-serializers/BUILD.bazel index ce394cd8848a7..edfae6d725f9a 100644 --- a/packages/kbn-jest-serializers/BUILD.bazel +++ b/packages/kbn-jest-serializers/BUILD.bazel @@ -87,7 +87,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -101,6 +100,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -112,17 +119,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-jest-serializers/package.json b/packages/kbn-jest-serializers/package.json index 1f6642f0557fd..8c3ac00c0fd43 100644 --- a/packages/kbn-jest-serializers/package.json +++ b/packages/kbn-jest-serializers/package.json @@ -3,5 +3,6 @@ "private": true, "version": "1.0.0", "main": "./target_node/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-jest-serializers/tsconfig.json b/packages/kbn-jest-serializers/tsconfig.json index d27353840efba..118bd3fb10818 100644 --- a/packages/kbn-jest-serializers/tsconfig.json +++ b/packages/kbn-jest-serializers/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/kbn-journeys/BUILD.bazel b/packages/kbn-journeys/BUILD.bazel index cfadfb4b8b4b7..b6c6f0ed2fbf2 100644 --- a/packages/kbn-journeys/BUILD.bazel +++ b/packages/kbn-journeys/BUILD.bazel @@ -93,7 +93,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -107,6 +106,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -118,17 +125,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-journeys/package.json b/packages/kbn-journeys/package.json index 06920a5ebd241..728e8e8bdebd7 100644 --- a/packages/kbn-journeys/package.json +++ b/packages/kbn-journeys/package.json @@ -3,5 +3,6 @@ "private": true, "version": "1.0.0", "main": "./target_node/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-journeys/tsconfig.json b/packages/kbn-journeys/tsconfig.json index f4d18db9ffafa..73854b491efab 100644 --- a/packages/kbn-journeys/tsconfig.json +++ b/packages/kbn-journeys/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/kbn-kibana-manifest-schema/BUILD.bazel b/packages/kbn-kibana-manifest-schema/BUILD.bazel index 7c471f7197be9..c0a8ff97d7fe8 100644 --- a/packages/kbn-kibana-manifest-schema/BUILD.bazel +++ b/packages/kbn-kibana-manifest-schema/BUILD.bazel @@ -87,7 +87,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -101,6 +100,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -112,17 +119,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-kibana-manifest-schema/package.json b/packages/kbn-kibana-manifest-schema/package.json index 3bcb493067c9b..127b9fc74fad9 100644 --- a/packages/kbn-kibana-manifest-schema/package.json +++ b/packages/kbn-kibana-manifest-schema/package.json @@ -3,5 +3,6 @@ "private": true, "version": "1.0.0", "main": "./target_node/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-kibana-manifest-schema/tsconfig.json b/packages/kbn-kibana-manifest-schema/tsconfig.json index d27353840efba..118bd3fb10818 100644 --- a/packages/kbn-kibana-manifest-schema/tsconfig.json +++ b/packages/kbn-kibana-manifest-schema/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/kbn-language-documentation-popover/BUILD.bazel b/packages/kbn-language-documentation-popover/BUILD.bazel index 2e2eaa3760abb..86a6a03388a4a 100644 --- a/packages/kbn-language-documentation-popover/BUILD.bazel +++ b/packages/kbn-language-documentation-popover/BUILD.bazel @@ -94,7 +94,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -108,6 +107,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_webpack", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -121,19 +128,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [ - ":npm_module_types", - ], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-language-documentation-popover/package.json b/packages/kbn-language-documentation-popover/package.json index 4c3b01d1e78b5..a710551dd0553 100644 --- a/packages/kbn-language-documentation-popover/package.json +++ b/packages/kbn-language-documentation-popover/package.json @@ -4,5 +4,6 @@ "browser": "./target_webpack/index.js", "version": "1.0.0", "license": "SSPL-1.0 OR Elastic License 2.0", - "private": true + "private": true, + "types": "./target_types/index.d.ts" } \ No newline at end of file diff --git a/packages/kbn-language-documentation-popover/tsconfig.json b/packages/kbn-language-documentation-popover/tsconfig.json index 283570b9ee68b..9420678ac59f2 100644 --- a/packages/kbn-language-documentation-popover/tsconfig.json +++ b/packages/kbn-language-documentation-popover/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "./target_types", "types": [ diff --git a/packages/kbn-logging-mocks/BUILD.bazel b/packages/kbn-logging-mocks/BUILD.bazel index 78d175af69dec..10dcbe3f69505 100644 --- a/packages/kbn-logging-mocks/BUILD.bazel +++ b/packages/kbn-logging-mocks/BUILD.bazel @@ -65,7 +65,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -79,6 +78,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -92,19 +99,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [ - ":npm_module_types", - ], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-logging-mocks/package.json b/packages/kbn-logging-mocks/package.json index 38e1b1eb403bd..30bd2b81ce507 100644 --- a/packages/kbn-logging-mocks/package.json +++ b/packages/kbn-logging-mocks/package.json @@ -4,5 +4,6 @@ "private": true, "author": "Kibana Core", "license": "SSPL-1.0 OR Elastic License 2.0", - "main": "./target_node/index.js" + "main": "./target_node/index.js", + "types": "./target_types/index.d.ts" } \ No newline at end of file diff --git a/packages/kbn-logging-mocks/tsconfig.json b/packages/kbn-logging-mocks/tsconfig.json index d27353840efba..118bd3fb10818 100644 --- a/packages/kbn-logging-mocks/tsconfig.json +++ b/packages/kbn-logging-mocks/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/kbn-logging/BUILD.bazel b/packages/kbn-logging/BUILD.bazel index cf64d4247f328..2bc2c6d05eb0e 100644 --- a/packages/kbn-logging/BUILD.bazel +++ b/packages/kbn-logging/BUILD.bazel @@ -67,7 +67,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -81,6 +80,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -94,19 +101,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [ - ":npm_module_types", - ], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-logging/package.json b/packages/kbn-logging/package.json index 7b3b64b44d947..837a9aab94981 100644 --- a/packages/kbn-logging/package.json +++ b/packages/kbn-logging/package.json @@ -4,5 +4,6 @@ "private": true, "author": "Kibana Core", "license": "SSPL-1.0 OR Elastic License 2.0", - "main": "./target_node/index.js" + "main": "./target_node/index.js", + "types": "./target_types/index.d.ts" } \ No newline at end of file diff --git a/packages/kbn-logging/tsconfig.json b/packages/kbn-logging/tsconfig.json index d27353840efba..118bd3fb10818 100644 --- a/packages/kbn-logging/tsconfig.json +++ b/packages/kbn-logging/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/kbn-managed-vscode-config-cli/BUILD.bazel b/packages/kbn-managed-vscode-config-cli/BUILD.bazel index f403baed4049d..a6ebbf057fc99 100644 --- a/packages/kbn-managed-vscode-config-cli/BUILD.bazel +++ b/packages/kbn-managed-vscode-config-cli/BUILD.bazel @@ -87,7 +87,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -101,6 +100,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -112,17 +119,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-managed-vscode-config-cli/package.json b/packages/kbn-managed-vscode-config-cli/package.json index ba4086c773eee..ad22c98077e23 100644 --- a/packages/kbn-managed-vscode-config-cli/package.json +++ b/packages/kbn-managed-vscode-config-cli/package.json @@ -3,5 +3,6 @@ "private": true, "version": "1.0.0", "main": "./target_node/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-managed-vscode-config-cli/tsconfig.json b/packages/kbn-managed-vscode-config-cli/tsconfig.json index d27353840efba..118bd3fb10818 100644 --- a/packages/kbn-managed-vscode-config-cli/tsconfig.json +++ b/packages/kbn-managed-vscode-config-cli/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/kbn-managed-vscode-config/BUILD.bazel b/packages/kbn-managed-vscode-config/BUILD.bazel index a31f34509fec8..1225a95d6c3ff 100644 --- a/packages/kbn-managed-vscode-config/BUILD.bazel +++ b/packages/kbn-managed-vscode-config/BUILD.bazel @@ -89,7 +89,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -103,6 +102,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -114,17 +121,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-managed-vscode-config/package.json b/packages/kbn-managed-vscode-config/package.json index cc337813a7300..9e260b8a64a58 100644 --- a/packages/kbn-managed-vscode-config/package.json +++ b/packages/kbn-managed-vscode-config/package.json @@ -3,5 +3,6 @@ "private": true, "version": "1.0.0", "main": "./target_node/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-managed-vscode-config/tsconfig.json b/packages/kbn-managed-vscode-config/tsconfig.json index d27353840efba..118bd3fb10818 100644 --- a/packages/kbn-managed-vscode-config/tsconfig.json +++ b/packages/kbn-managed-vscode-config/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/kbn-mapbox-gl/BUILD.bazel b/packages/kbn-mapbox-gl/BUILD.bazel index e81aa132d1111..d72e79f8f5397 100644 --- a/packages/kbn-mapbox-gl/BUILD.bazel +++ b/packages/kbn-mapbox-gl/BUILD.bazel @@ -77,7 +77,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -91,6 +90,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -104,19 +111,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [ - ":npm_module_types", - ], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-mapbox-gl/package.json b/packages/kbn-mapbox-gl/package.json index f0a5c7eabdfcb..e21ea665ef26f 100644 --- a/packages/kbn-mapbox-gl/package.json +++ b/packages/kbn-mapbox-gl/package.json @@ -4,5 +4,6 @@ "private": true, "license": "SSPL-1.0 OR Elastic License 2.0", "browser": "./target_web/index.js", - "main": "./target_node/index.js" + "main": "./target_node/index.js", + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-mapbox-gl/tsconfig.json b/packages/kbn-mapbox-gl/tsconfig.json index 1700b44fb54eb..6a59fac1e0248 100644 --- a/packages/kbn-mapbox-gl/tsconfig.json +++ b/packages/kbn-mapbox-gl/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "types": [] diff --git a/packages/kbn-monaco/BUILD.bazel b/packages/kbn-monaco/BUILD.bazel index dbf1b3f0af065..5648c71f6a281 100644 --- a/packages/kbn-monaco/BUILD.bazel +++ b/packages/kbn-monaco/BUILD.bazel @@ -106,7 +106,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -120,6 +119,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":target_workers", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -133,19 +140,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [ - ":npm_module_types", - ], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-monaco/package.json b/packages/kbn-monaco/package.json index 7761c5a923fdc..71c9cbb7fb62d 100644 --- a/packages/kbn-monaco/package.json +++ b/packages/kbn-monaco/package.json @@ -7,5 +7,6 @@ "license": "SSPL-1.0 OR Elastic License 2.0", "scripts": { "build:antlr4ts": "../../node_modules/antlr4ts-cli/antlr4ts ./src/painless/antlr/painless_lexer.g4 ./src/painless/antlr/painless_parser.g4 && node ./scripts/fix_generated_antlr.js" - } + }, + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-monaco/tsconfig.json b/packages/kbn-monaco/tsconfig.json index 7787b024c1375..e717ec6c3149f 100644 --- a/packages/kbn-monaco/tsconfig.json +++ b/packages/kbn-monaco/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "./target_types", "types": [ diff --git a/packages/kbn-optimizer-webpack-helpers/BUILD.bazel b/packages/kbn-optimizer-webpack-helpers/BUILD.bazel index 1819a7190e422..e0a5d2fda7e2e 100644 --- a/packages/kbn-optimizer-webpack-helpers/BUILD.bazel +++ b/packages/kbn-optimizer-webpack-helpers/BUILD.bazel @@ -84,7 +84,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -98,6 +97,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -109,17 +116,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-optimizer-webpack-helpers/package.json b/packages/kbn-optimizer-webpack-helpers/package.json index a37b5ba48ee48..52f873cc9ee80 100644 --- a/packages/kbn-optimizer-webpack-helpers/package.json +++ b/packages/kbn-optimizer-webpack-helpers/package.json @@ -3,5 +3,6 @@ "private": true, "version": "1.0.0", "main": "./target_node/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-optimizer-webpack-helpers/tsconfig.json b/packages/kbn-optimizer-webpack-helpers/tsconfig.json index d27353840efba..118bd3fb10818 100644 --- a/packages/kbn-optimizer-webpack-helpers/tsconfig.json +++ b/packages/kbn-optimizer-webpack-helpers/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/kbn-optimizer/BUILD.bazel b/packages/kbn-optimizer/BUILD.bazel index 530058c9f5d7e..4906af1ad6f6c 100644 --- a/packages/kbn-optimizer/BUILD.bazel +++ b/packages/kbn-optimizer/BUILD.bazel @@ -126,7 +126,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -140,6 +139,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -153,19 +160,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [ - ":npm_module_types", - ], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-optimizer/package.json b/packages/kbn-optimizer/package.json index a7d8a50927634..488e1b5dbfde8 100644 --- a/packages/kbn-optimizer/package.json +++ b/packages/kbn-optimizer/package.json @@ -3,5 +3,6 @@ "version": "1.0.0", "private": true, "license": "SSPL-1.0 OR Elastic License 2.0", - "main": "./target_node/index.js" + "main": "./target_node/index.js", + "types": "./target_types/index.d.ts" } \ No newline at end of file diff --git a/packages/kbn-optimizer/tsconfig.json b/packages/kbn-optimizer/tsconfig.json index ea94fe47d50fc..e2ce5c11570c7 100644 --- a/packages/kbn-optimizer/tsconfig.json +++ b/packages/kbn-optimizer/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "./target_types", "types": [ diff --git a/packages/kbn-osquery-io-ts-types/BUILD.bazel b/packages/kbn-osquery-io-ts-types/BUILD.bazel index 0d5ed0c6fe99c..80390c1de4b0a 100644 --- a/packages/kbn-osquery-io-ts-types/BUILD.bazel +++ b/packages/kbn-osquery-io-ts-types/BUILD.bazel @@ -86,7 +86,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -100,6 +99,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -111,17 +118,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-osquery-io-ts-types/package.json b/packages/kbn-osquery-io-ts-types/package.json index 18fcced429c59..49b11c73a039a 100644 --- a/packages/kbn-osquery-io-ts-types/package.json +++ b/packages/kbn-osquery-io-ts-types/package.json @@ -5,5 +5,6 @@ "description": "io ts utilities and types to be shared with plugins from the osquery project", "main": "./target_node/index.js", "browser": "./target_web/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-osquery-io-ts-types/tsconfig.json b/packages/kbn-osquery-io-ts-types/tsconfig.json index 606fa32e5a836..292157c18591a 100644 --- a/packages/kbn-osquery-io-ts-types/tsconfig.json +++ b/packages/kbn-osquery-io-ts-types/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "types": [ diff --git a/packages/kbn-performance-testing-dataset-extractor/BUILD.bazel b/packages/kbn-performance-testing-dataset-extractor/BUILD.bazel index 53782e9cfbd08..2b088b0cfdc4a 100644 --- a/packages/kbn-performance-testing-dataset-extractor/BUILD.bazel +++ b/packages/kbn-performance-testing-dataset-extractor/BUILD.bazel @@ -94,7 +94,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -108,6 +107,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -119,17 +126,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-performance-testing-dataset-extractor/package.json b/packages/kbn-performance-testing-dataset-extractor/package.json index 12073ed76f3ea..f4da970da1525 100644 --- a/packages/kbn-performance-testing-dataset-extractor/package.json +++ b/packages/kbn-performance-testing-dataset-extractor/package.json @@ -4,5 +4,6 @@ "private": true, "version": "1.0.0", "main": "./target_node/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-performance-testing-dataset-extractor/tsconfig.json b/packages/kbn-performance-testing-dataset-extractor/tsconfig.json index d27353840efba..118bd3fb10818 100644 --- a/packages/kbn-performance-testing-dataset-extractor/tsconfig.json +++ b/packages/kbn-performance-testing-dataset-extractor/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/kbn-plugin-discovery/BUILD.bazel b/packages/kbn-plugin-discovery/BUILD.bazel index d6e9f09d23e1f..cdfcc23545c83 100644 --- a/packages/kbn-plugin-discovery/BUILD.bazel +++ b/packages/kbn-plugin-discovery/BUILD.bazel @@ -84,7 +84,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, allow_js = True, emit_declaration_only = True, out_dir = "target_types", @@ -99,6 +98,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -110,17 +117,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-plugin-discovery/package.json b/packages/kbn-plugin-discovery/package.json index 7758cd5773215..ff8f17b0fa2ce 100644 --- a/packages/kbn-plugin-discovery/package.json +++ b/packages/kbn-plugin-discovery/package.json @@ -3,5 +3,6 @@ "private": true, "version": "1.0.0", "main": "./target_node/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-plugin-discovery/tsconfig.json b/packages/kbn-plugin-discovery/tsconfig.json index aeada1a0d0272..745082de9b592 100644 --- a/packages/kbn-plugin-discovery/tsconfig.json +++ b/packages/kbn-plugin-discovery/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "allowJs": true, "checkJs": true, "outDir": "target_types", diff --git a/packages/kbn-plugin-generator/BUILD.bazel b/packages/kbn-plugin-generator/BUILD.bazel index d3ad237231c25..82a7c0f250ce3 100644 --- a/packages/kbn-plugin-generator/BUILD.bazel +++ b/packages/kbn-plugin-generator/BUILD.bazel @@ -95,7 +95,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -109,6 +108,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -122,19 +129,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [ - ":npm_module_types", - ], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-plugin-generator/package.json b/packages/kbn-plugin-generator/package.json index 28b7e849ab3c1..add2a70f0e5be 100644 --- a/packages/kbn-plugin-generator/package.json +++ b/packages/kbn-plugin-generator/package.json @@ -3,5 +3,6 @@ "version": "1.0.0", "private": true, "license": "SSPL-1.0 OR Elastic License 2.0", - "main": "target_node/index.js" + "main": "target_node/index.js", + "types": "./target_types/index.d.ts" } \ No newline at end of file diff --git a/packages/kbn-plugin-generator/tsconfig.json b/packages/kbn-plugin-generator/tsconfig.json index 9331b2056d687..70567fe331a27 100644 --- a/packages/kbn-plugin-generator/tsconfig.json +++ b/packages/kbn-plugin-generator/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "target": "ES2019", diff --git a/packages/kbn-plugin-helpers/BUILD.bazel b/packages/kbn-plugin-helpers/BUILD.bazel index c1793269c2fee..482b5bdf8b4d5 100644 --- a/packages/kbn-plugin-helpers/BUILD.bazel +++ b/packages/kbn-plugin-helpers/BUILD.bazel @@ -88,7 +88,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -102,6 +101,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -115,19 +122,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [ - ":npm_module_types", - ], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-plugin-helpers/package.json b/packages/kbn-plugin-helpers/package.json index 206b3e77b39af..dc12d7ddb6b64 100644 --- a/packages/kbn-plugin-helpers/package.json +++ b/packages/kbn-plugin-helpers/package.json @@ -7,5 +7,6 @@ "main": "target_node/index.js", "bin": { "plugin-helpers": "bin/plugin-helpers.js" - } + }, + "types": "./target_types/index.d.ts" } \ No newline at end of file diff --git a/packages/kbn-plugin-helpers/tsconfig.json b/packages/kbn-plugin-helpers/tsconfig.json index d64baa32906cb..11089e8846334 100644 --- a/packages/kbn-plugin-helpers/tsconfig.json +++ b/packages/kbn-plugin-helpers/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "target": "ES2018", diff --git a/packages/kbn-react-field/BUILD.bazel b/packages/kbn-react-field/BUILD.bazel index 0a851c9a156cf..0437d78106355 100644 --- a/packages/kbn-react-field/BUILD.bazel +++ b/packages/kbn-react-field/BUILD.bazel @@ -92,7 +92,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -106,6 +105,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_webpack", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -119,19 +126,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [ - ":npm_module_types", - ], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-react-field/package.json b/packages/kbn-react-field/package.json index 832284b06ccfe..aae5d673b5fbd 100644 --- a/packages/kbn-react-field/package.json +++ b/packages/kbn-react-field/package.json @@ -4,5 +4,6 @@ "browser": "./target_webpack/index.js", "version": "1.0.0", "license": "SSPL-1.0 OR Elastic License 2.0", - "private": true + "private": true, + "types": "./target_types/index.d.ts" } \ No newline at end of file diff --git a/packages/kbn-react-field/tsconfig.json b/packages/kbn-react-field/tsconfig.json index 283570b9ee68b..9420678ac59f2 100644 --- a/packages/kbn-react-field/tsconfig.json +++ b/packages/kbn-react-field/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "./target_types", "types": [ diff --git a/packages/kbn-repo-source-classifier-cli/BUILD.bazel b/packages/kbn-repo-source-classifier-cli/BUILD.bazel index d787c21c1291f..6706dc9aa2c13 100644 --- a/packages/kbn-repo-source-classifier-cli/BUILD.bazel +++ b/packages/kbn-repo-source-classifier-cli/BUILD.bazel @@ -95,7 +95,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -109,6 +108,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -120,17 +127,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-repo-source-classifier-cli/package.json b/packages/kbn-repo-source-classifier-cli/package.json index a8e0cea71bef6..490014811b834 100644 --- a/packages/kbn-repo-source-classifier-cli/package.json +++ b/packages/kbn-repo-source-classifier-cli/package.json @@ -3,5 +3,6 @@ "private": true, "version": "1.0.0", "main": "./target_node/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-repo-source-classifier-cli/tsconfig.json b/packages/kbn-repo-source-classifier-cli/tsconfig.json index d27353840efba..118bd3fb10818 100644 --- a/packages/kbn-repo-source-classifier-cli/tsconfig.json +++ b/packages/kbn-repo-source-classifier-cli/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/kbn-repo-source-classifier/BUILD.bazel b/packages/kbn-repo-source-classifier/BUILD.bazel index 46ed3890b17f8..b143ea3f93121 100644 --- a/packages/kbn-repo-source-classifier/BUILD.bazel +++ b/packages/kbn-repo-source-classifier/BUILD.bazel @@ -86,7 +86,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -100,6 +99,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -111,17 +118,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-repo-source-classifier/package.json b/packages/kbn-repo-source-classifier/package.json index a6f81d992b285..bda6886d162dd 100644 --- a/packages/kbn-repo-source-classifier/package.json +++ b/packages/kbn-repo-source-classifier/package.json @@ -3,5 +3,6 @@ "private": true, "version": "1.0.0", "main": "./target_node/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-repo-source-classifier/tsconfig.json b/packages/kbn-repo-source-classifier/tsconfig.json index d27353840efba..118bd3fb10818 100644 --- a/packages/kbn-repo-source-classifier/tsconfig.json +++ b/packages/kbn-repo-source-classifier/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/kbn-rule-data-utils/BUILD.bazel b/packages/kbn-rule-data-utils/BUILD.bazel index 788ef54533536..fe77bd4443fe9 100644 --- a/packages/kbn-rule-data-utils/BUILD.bazel +++ b/packages/kbn-rule-data-utils/BUILD.bazel @@ -79,7 +79,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -93,6 +92,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -106,19 +113,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [ - ":npm_module_types", - ], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-rule-data-utils/package.json b/packages/kbn-rule-data-utils/package.json index d11f65e294a48..9613e173d6f4a 100644 --- a/packages/kbn-rule-data-utils/package.json +++ b/packages/kbn-rule-data-utils/package.json @@ -4,5 +4,6 @@ "main": "./target_node/index.js", "version": "1.0.0", "license": "SSPL-1.0 OR Elastic License 2.0", - "private": true + "private": true, + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-rule-data-utils/tsconfig.json b/packages/kbn-rule-data-utils/tsconfig.json index e6381fc4edf9f..51d1f22922c47 100644 --- a/packages/kbn-rule-data-utils/tsconfig.json +++ b/packages/kbn-rule-data-utils/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "./target_types", "stripInternal": false, diff --git a/packages/kbn-safer-lodash-set/package.json b/packages/kbn-safer-lodash-set/package.json index f850b5fe0fc48..8d1b80bdfb082 100644 --- a/packages/kbn-safer-lodash-set/package.json +++ b/packages/kbn-safer-lodash-set/package.json @@ -3,7 +3,7 @@ "version": "0.0.0", "description": "A safer version of the lodash set and setWith functions", "main": "index.js", - "types": "index.d.ts", + "types": "./target_types/index.d.ts", "scripts": { "lint": "../../node_modules/.bin/dependency-check --missing ../../package.json ./packages/kbn-safer-lodash-set/set.js ./packages/kbn-safer-lodash-set/setWith.js ./packages/kbn-safer-lodash-set/fp/*.js", "test": "npm run lint && ../../node_modules/.bin/tape test/*.js && npm run test:types", diff --git a/packages/kbn-securitysolution-autocomplete/BUILD.bazel b/packages/kbn-securitysolution-autocomplete/BUILD.bazel index ae396cfb7a18d..8309ff7f0ef47 100644 --- a/packages/kbn-securitysolution-autocomplete/BUILD.bazel +++ b/packages/kbn-securitysolution-autocomplete/BUILD.bazel @@ -102,7 +102,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -116,6 +115,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -129,20 +136,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [ - ":npm_module_types", - ], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) - diff --git a/packages/kbn-securitysolution-autocomplete/package.json b/packages/kbn-securitysolution-autocomplete/package.json index 53ab4b7e9dccc..91b92d5aa4b3a 100644 --- a/packages/kbn-securitysolution-autocomplete/package.json +++ b/packages/kbn-securitysolution-autocomplete/package.json @@ -5,5 +5,6 @@ "license": "SSPL-1.0 OR Elastic License 2.0", "browser": "./target_web/index.js", "main": "./target_node/index.js", - "private": true + "private": true, + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-securitysolution-autocomplete/tsconfig.json b/packages/kbn-securitysolution-autocomplete/tsconfig.json index 488da46adb0d7..2b02a63db1d05 100644 --- a/packages/kbn-securitysolution-autocomplete/tsconfig.json +++ b/packages/kbn-securitysolution-autocomplete/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "types": ["jest", "node"] diff --git a/packages/kbn-securitysolution-es-utils/BUILD.bazel b/packages/kbn-securitysolution-es-utils/BUILD.bazel index 59dbdb1fa63a6..c4ff9faedce27 100644 --- a/packages/kbn-securitysolution-es-utils/BUILD.bazel +++ b/packages/kbn-securitysolution-es-utils/BUILD.bazel @@ -73,7 +73,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -87,6 +86,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -100,19 +107,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [ - ":npm_module_types", - ], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-securitysolution-es-utils/package.json b/packages/kbn-securitysolution-es-utils/package.json index 57ed8cf46c5b8..d4cc8d25a36ff 100644 --- a/packages/kbn-securitysolution-es-utils/package.json +++ b/packages/kbn-securitysolution-es-utils/package.json @@ -4,5 +4,6 @@ "description": "security solution elastic search utilities to use across plugins such lists, security_solution, cases, etc...", "license": "SSPL-1.0 OR Elastic License 2.0", "main": "./target_node/index.js", - "private": true + "private": true, + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-securitysolution-es-utils/tsconfig.json b/packages/kbn-securitysolution-es-utils/tsconfig.json index 687c3a7ad6df7..57c1dd1c94e0f 100644 --- a/packages/kbn-securitysolution-es-utils/tsconfig.json +++ b/packages/kbn-securitysolution-es-utils/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "types": [ diff --git a/packages/kbn-securitysolution-exception-list-components/BUILD.bazel b/packages/kbn-securitysolution-exception-list-components/BUILD.bazel index a9e449d150f8b..36379eea91840 100644 --- a/packages/kbn-securitysolution-exception-list-components/BUILD.bazel +++ b/packages/kbn-securitysolution-exception-list-components/BUILD.bazel @@ -124,7 +124,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -138,6 +137,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -149,17 +156,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-securitysolution-exception-list-components/package.json b/packages/kbn-securitysolution-exception-list-components/package.json index 263863d725c1e..b0acf0d547f8e 100644 --- a/packages/kbn-securitysolution-exception-list-components/package.json +++ b/packages/kbn-securitysolution-exception-list-components/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "browser": "./target_web/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-securitysolution-exception-list-components/tsconfig.json b/packages/kbn-securitysolution-exception-list-components/tsconfig.json index 412652e0a8f9d..29f59e3a040d3 100644 --- a/packages/kbn-securitysolution-exception-list-components/tsconfig.json +++ b/packages/kbn-securitysolution-exception-list-components/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/kbn-securitysolution-hook-utils/BUILD.bazel b/packages/kbn-securitysolution-hook-utils/BUILD.bazel index ab33e32a0ad4c..f2886137fedd5 100644 --- a/packages/kbn-securitysolution-hook-utils/BUILD.bazel +++ b/packages/kbn-securitysolution-hook-utils/BUILD.bazel @@ -80,7 +80,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -94,6 +93,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -107,19 +114,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [ - ":npm_module_types", - ], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-securitysolution-hook-utils/package.json b/packages/kbn-securitysolution-hook-utils/package.json index fb2576a324223..e676b6494a01b 100644 --- a/packages/kbn-securitysolution-hook-utils/package.json +++ b/packages/kbn-securitysolution-hook-utils/package.json @@ -5,5 +5,6 @@ "license": "SSPL-1.0 OR Elastic License 2.0", "browser": "./target_web/index.js", "main": "./target_node/index.js", - "private": true + "private": true, + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-securitysolution-hook-utils/tsconfig.json b/packages/kbn-securitysolution-hook-utils/tsconfig.json index 2d7301e4f7985..b1621b0cd4477 100644 --- a/packages/kbn-securitysolution-hook-utils/tsconfig.json +++ b/packages/kbn-securitysolution-hook-utils/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "types": ["jest", "node"] diff --git a/packages/kbn-securitysolution-io-ts-alerting-types/BUILD.bazel b/packages/kbn-securitysolution-io-ts-alerting-types/BUILD.bazel index 713f56917c19f..51ab304ca82a2 100644 --- a/packages/kbn-securitysolution-io-ts-alerting-types/BUILD.bazel +++ b/packages/kbn-securitysolution-io-ts-alerting-types/BUILD.bazel @@ -83,7 +83,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -97,6 +96,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -110,19 +117,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [ - ":npm_module_types", - ], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-securitysolution-io-ts-alerting-types/package.json b/packages/kbn-securitysolution-io-ts-alerting-types/package.json index d5dd5516cd9f6..bcfacbe9c5146 100644 --- a/packages/kbn-securitysolution-io-ts-alerting-types/package.json +++ b/packages/kbn-securitysolution-io-ts-alerting-types/package.json @@ -5,5 +5,6 @@ "license": "SSPL-1.0 OR Elastic License 2.0", "browser": "./target_web/index.js", "main": "./target_node/index.js", - "private": true + "private": true, + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-securitysolution-io-ts-alerting-types/tsconfig.json b/packages/kbn-securitysolution-io-ts-alerting-types/tsconfig.json index 687c3a7ad6df7..57c1dd1c94e0f 100644 --- a/packages/kbn-securitysolution-io-ts-alerting-types/tsconfig.json +++ b/packages/kbn-securitysolution-io-ts-alerting-types/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "types": [ diff --git a/packages/kbn-securitysolution-io-ts-list-types/BUILD.bazel b/packages/kbn-securitysolution-io-ts-list-types/BUILD.bazel index 718ab4e75c9d8..28b36936420f0 100644 --- a/packages/kbn-securitysolution-io-ts-list-types/BUILD.bazel +++ b/packages/kbn-securitysolution-io-ts-list-types/BUILD.bazel @@ -84,7 +84,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -98,6 +97,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -111,19 +118,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [ - ":npm_module_types", - ], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-securitysolution-io-ts-list-types/package.json b/packages/kbn-securitysolution-io-ts-list-types/package.json index ff4611f469906..20dd5d2e37ad0 100644 --- a/packages/kbn-securitysolution-io-ts-list-types/package.json +++ b/packages/kbn-securitysolution-io-ts-list-types/package.json @@ -5,5 +5,6 @@ "license": "SSPL-1.0 OR Elastic License 2.0", "browser": "./target_web/index.js", "main": "./target_node/index.js", - "private": true + "private": true, + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-securitysolution-io-ts-list-types/tsconfig.json b/packages/kbn-securitysolution-io-ts-list-types/tsconfig.json index 687c3a7ad6df7..57c1dd1c94e0f 100644 --- a/packages/kbn-securitysolution-io-ts-list-types/tsconfig.json +++ b/packages/kbn-securitysolution-io-ts-list-types/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "types": [ diff --git a/packages/kbn-securitysolution-io-ts-types/BUILD.bazel b/packages/kbn-securitysolution-io-ts-types/BUILD.bazel index f09e4139fccca..4b102f68e2a4e 100644 --- a/packages/kbn-securitysolution-io-ts-types/BUILD.bazel +++ b/packages/kbn-securitysolution-io-ts-types/BUILD.bazel @@ -81,7 +81,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -95,6 +94,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -108,19 +115,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [ - ":npm_module_types", - ], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-securitysolution-io-ts-types/package.json b/packages/kbn-securitysolution-io-ts-types/package.json index 76e405c227053..e02a79f16a098 100644 --- a/packages/kbn-securitysolution-io-ts-types/package.json +++ b/packages/kbn-securitysolution-io-ts-types/package.json @@ -5,5 +5,6 @@ "license": "SSPL-1.0 OR Elastic License 2.0", "browser": "target_web/index.js", "main": "./target_node/index.js", - "private": true + "private": true, + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-securitysolution-io-ts-types/tsconfig.json b/packages/kbn-securitysolution-io-ts-types/tsconfig.json index 687c3a7ad6df7..57c1dd1c94e0f 100644 --- a/packages/kbn-securitysolution-io-ts-types/tsconfig.json +++ b/packages/kbn-securitysolution-io-ts-types/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "types": [ diff --git a/packages/kbn-securitysolution-io-ts-utils/BUILD.bazel b/packages/kbn-securitysolution-io-ts-utils/BUILD.bazel index eb30bfe8cc433..9ec44f8d52546 100644 --- a/packages/kbn-securitysolution-io-ts-utils/BUILD.bazel +++ b/packages/kbn-securitysolution-io-ts-utils/BUILD.bazel @@ -84,7 +84,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -98,6 +97,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -111,19 +118,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [ - ":npm_module_types", - ], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-securitysolution-io-ts-utils/package.json b/packages/kbn-securitysolution-io-ts-utils/package.json index bf8c1230a4f55..8ae2eff526ac9 100644 --- a/packages/kbn-securitysolution-io-ts-utils/package.json +++ b/packages/kbn-securitysolution-io-ts-utils/package.json @@ -5,5 +5,6 @@ "license": "SSPL-1.0 OR Elastic License 2.0", "browser": "./target_web/index.js", "main": "./target_node/index.js", - "private": true + "private": true, + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-securitysolution-io-ts-utils/tsconfig.json b/packages/kbn-securitysolution-io-ts-utils/tsconfig.json index 687c3a7ad6df7..57c1dd1c94e0f 100644 --- a/packages/kbn-securitysolution-io-ts-utils/tsconfig.json +++ b/packages/kbn-securitysolution-io-ts-utils/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "types": [ diff --git a/packages/kbn-securitysolution-list-api/BUILD.bazel b/packages/kbn-securitysolution-list-api/BUILD.bazel index 39f3f797c569b..05254f32c2c7e 100644 --- a/packages/kbn-securitysolution-list-api/BUILD.bazel +++ b/packages/kbn-securitysolution-list-api/BUILD.bazel @@ -83,7 +83,6 @@ ts_project( deps = TYPES_DEPS, args = ["--pretty"], declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -97,6 +96,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -110,19 +117,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [ - ":npm_module_types", - ], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-securitysolution-list-api/package.json b/packages/kbn-securitysolution-list-api/package.json index d243f71127c1f..01156ef460a99 100644 --- a/packages/kbn-securitysolution-list-api/package.json +++ b/packages/kbn-securitysolution-list-api/package.json @@ -5,5 +5,6 @@ "license": "SSPL-1.0 OR Elastic License 2.0", "browser": "./target_web/index.js", "main": "./target_node/index.js", - "private": true + "private": true, + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-securitysolution-list-api/tsconfig.json b/packages/kbn-securitysolution-list-api/tsconfig.json index 687c3a7ad6df7..57c1dd1c94e0f 100644 --- a/packages/kbn-securitysolution-list-api/tsconfig.json +++ b/packages/kbn-securitysolution-list-api/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "types": [ diff --git a/packages/kbn-securitysolution-list-constants/BUILD.bazel b/packages/kbn-securitysolution-list-constants/BUILD.bazel index 779eef5617de1..ba79dbeb420fb 100644 --- a/packages/kbn-securitysolution-list-constants/BUILD.bazel +++ b/packages/kbn-securitysolution-list-constants/BUILD.bazel @@ -71,7 +71,6 @@ ts_project( deps = TYPES_DEPS, args = ["--pretty"], declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -85,6 +84,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -98,19 +105,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [ - ":npm_module_types", - ], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-securitysolution-list-constants/package.json b/packages/kbn-securitysolution-list-constants/package.json index 8900265c30cd2..2b8be64d94547 100644 --- a/packages/kbn-securitysolution-list-constants/package.json +++ b/packages/kbn-securitysolution-list-constants/package.json @@ -5,5 +5,6 @@ "license": "SSPL-1.0 OR Elastic License 2.0", "browser": "./target_web/index.js", "main": "./target_node/index.js", - "private": true + "private": true, + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-securitysolution-list-constants/tsconfig.json b/packages/kbn-securitysolution-list-constants/tsconfig.json index 687c3a7ad6df7..57c1dd1c94e0f 100644 --- a/packages/kbn-securitysolution-list-constants/tsconfig.json +++ b/packages/kbn-securitysolution-list-constants/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "types": [ diff --git a/packages/kbn-securitysolution-list-hooks/BUILD.bazel b/packages/kbn-securitysolution-list-hooks/BUILD.bazel index 2487cf359d29e..e1cbefa4ab0c6 100644 --- a/packages/kbn-securitysolution-list-hooks/BUILD.bazel +++ b/packages/kbn-securitysolution-list-hooks/BUILD.bazel @@ -90,7 +90,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -104,6 +103,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -117,19 +124,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [ - ":npm_module_types", - ], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-securitysolution-list-hooks/package.json b/packages/kbn-securitysolution-list-hooks/package.json index d6d6077332903..75d0ec81e656c 100644 --- a/packages/kbn-securitysolution-list-hooks/package.json +++ b/packages/kbn-securitysolution-list-hooks/package.json @@ -5,5 +5,6 @@ "license": "SSPL-1.0 OR Elastic License 2.0", "browser": "./target_web/index.js", "main": "./target_node/index.js", - "private": true + "private": true, + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-securitysolution-list-hooks/tsconfig.json b/packages/kbn-securitysolution-list-hooks/tsconfig.json index 687c3a7ad6df7..57c1dd1c94e0f 100644 --- a/packages/kbn-securitysolution-list-hooks/tsconfig.json +++ b/packages/kbn-securitysolution-list-hooks/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "types": [ diff --git a/packages/kbn-securitysolution-list-utils/BUILD.bazel b/packages/kbn-securitysolution-list-utils/BUILD.bazel index 5155da63bfbc5..20a6074aee9c9 100644 --- a/packages/kbn-securitysolution-list-utils/BUILD.bazel +++ b/packages/kbn-securitysolution-list-utils/BUILD.bazel @@ -90,7 +90,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -105,6 +104,15 @@ js_library( ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], + +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -118,19 +126,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [ - ":npm_module_types", - ], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-securitysolution-list-utils/package.json b/packages/kbn-securitysolution-list-utils/package.json index 27724ead26b2e..548f68c1f0ebb 100644 --- a/packages/kbn-securitysolution-list-utils/package.json +++ b/packages/kbn-securitysolution-list-utils/package.json @@ -5,5 +5,6 @@ "license": "SSPL-1.0 OR Elastic License 2.0", "browser": "./target_web/index.js", "main": "./target_node/index.js", - "private": true + "private": true, + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-securitysolution-list-utils/tsconfig.json b/packages/kbn-securitysolution-list-utils/tsconfig.json index 687c3a7ad6df7..57c1dd1c94e0f 100644 --- a/packages/kbn-securitysolution-list-utils/tsconfig.json +++ b/packages/kbn-securitysolution-list-utils/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "types": [ diff --git a/packages/kbn-securitysolution-rules/BUILD.bazel b/packages/kbn-securitysolution-rules/BUILD.bazel index 280c7cd0dae50..7519e7bae1dd4 100644 --- a/packages/kbn-securitysolution-rules/BUILD.bazel +++ b/packages/kbn-securitysolution-rules/BUILD.bazel @@ -78,7 +78,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -92,6 +91,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -105,19 +112,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [ - ":npm_module_types", - ], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-securitysolution-rules/package.json b/packages/kbn-securitysolution-rules/package.json index da061b244e7a0..5e41733300a35 100644 --- a/packages/kbn-securitysolution-rules/package.json +++ b/packages/kbn-securitysolution-rules/package.json @@ -5,5 +5,6 @@ "license": "SSPL-1.0 OR Elastic License 2.0", "browser": "./target_web/index.js", "main": "./target_node/index.js", - "private": true + "private": true, + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-securitysolution-rules/tsconfig.json b/packages/kbn-securitysolution-rules/tsconfig.json index 687c3a7ad6df7..57c1dd1c94e0f 100644 --- a/packages/kbn-securitysolution-rules/tsconfig.json +++ b/packages/kbn-securitysolution-rules/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "types": [ diff --git a/packages/kbn-securitysolution-t-grid/BUILD.bazel b/packages/kbn-securitysolution-t-grid/BUILD.bazel index d907afc660311..219d8e85a6642 100644 --- a/packages/kbn-securitysolution-t-grid/BUILD.bazel +++ b/packages/kbn-securitysolution-t-grid/BUILD.bazel @@ -79,7 +79,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -93,6 +92,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -106,19 +113,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [ - ":npm_module_types", - ], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-securitysolution-t-grid/package.json b/packages/kbn-securitysolution-t-grid/package.json index accf7b4d61731..95c525df9b152 100644 --- a/packages/kbn-securitysolution-t-grid/package.json +++ b/packages/kbn-securitysolution-t-grid/package.json @@ -5,5 +5,6 @@ "license": "SSPL-1.0 OR Elastic License 2.0", "browser": "./target_web/index.js", "main": "./target_node/index.js", - "private": true + "private": true, + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-securitysolution-t-grid/tsconfig.json b/packages/kbn-securitysolution-t-grid/tsconfig.json index 687c3a7ad6df7..57c1dd1c94e0f 100644 --- a/packages/kbn-securitysolution-t-grid/tsconfig.json +++ b/packages/kbn-securitysolution-t-grid/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "types": [ diff --git a/packages/kbn-securitysolution-utils/BUILD.bazel b/packages/kbn-securitysolution-utils/BUILD.bazel index 68e9ab6dd597b..1144c136e74a2 100644 --- a/packages/kbn-securitysolution-utils/BUILD.bazel +++ b/packages/kbn-securitysolution-utils/BUILD.bazel @@ -78,7 +78,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -92,6 +91,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -105,19 +112,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [ - ":npm_module_types", - ], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-securitysolution-utils/package.json b/packages/kbn-securitysolution-utils/package.json index e43d2570f730f..2c77139c326dd 100644 --- a/packages/kbn-securitysolution-utils/package.json +++ b/packages/kbn-securitysolution-utils/package.json @@ -5,5 +5,6 @@ "license": "SSPL-1.0 OR Elastic License 2.0", "browser": "./target_web/index.js", "main": "./target_node/index.js", - "private": true + "private": true, + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-securitysolution-utils/tsconfig.json b/packages/kbn-securitysolution-utils/tsconfig.json index 687c3a7ad6df7..57c1dd1c94e0f 100644 --- a/packages/kbn-securitysolution-utils/tsconfig.json +++ b/packages/kbn-securitysolution-utils/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "types": [ diff --git a/packages/kbn-server-http-tools/BUILD.bazel b/packages/kbn-server-http-tools/BUILD.bazel index 004cfb336f049..bd69d4046d67f 100644 --- a/packages/kbn-server-http-tools/BUILD.bazel +++ b/packages/kbn-server-http-tools/BUILD.bazel @@ -82,7 +82,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -96,6 +95,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -109,19 +116,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [ - ":npm_module_types", - ], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-server-http-tools/package.json b/packages/kbn-server-http-tools/package.json index 277bfbbf4ef97..b0abbd436e938 100644 --- a/packages/kbn-server-http-tools/package.json +++ b/packages/kbn-server-http-tools/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "author": "Kibana Core", "license": "SSPL-1.0 OR Elastic License 2.0", - "private": true + "private": true, + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-server-http-tools/tsconfig.json b/packages/kbn-server-http-tools/tsconfig.json index f338a6db6548d..a220affbfc45a 100644 --- a/packages/kbn-server-http-tools/tsconfig.json +++ b/packages/kbn-server-http-tools/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "./target/types", "types": [ diff --git a/packages/kbn-server-route-repository/BUILD.bazel b/packages/kbn-server-route-repository/BUILD.bazel index 7ecc92bbe1a26..19360a1da0f80 100644 --- a/packages/kbn-server-route-repository/BUILD.bazel +++ b/packages/kbn-server-route-repository/BUILD.bazel @@ -89,7 +89,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -103,6 +102,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -116,20 +123,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [ - ":npm_module_types", - ], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) - diff --git a/packages/kbn-server-route-repository/package.json b/packages/kbn-server-route-repository/package.json index 1491f24c54dc1..04ca169ad0ab3 100644 --- a/packages/kbn-server-route-repository/package.json +++ b/packages/kbn-server-route-repository/package.json @@ -4,5 +4,6 @@ "main": "./target_node/index.js", "version": "1.0.0", "license": "SSPL-1.0 OR Elastic License 2.0", - "private": true + "private": true, + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-server-route-repository/tsconfig.json b/packages/kbn-server-route-repository/tsconfig.json index 843407053b4ab..825b15f4cb419 100644 --- a/packages/kbn-server-route-repository/tsconfig.json +++ b/packages/kbn-server-route-repository/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "./target_types", "stripInternal": false, diff --git a/packages/kbn-shared-svg/BUILD.bazel b/packages/kbn-shared-svg/BUILD.bazel index 82b755751dc41..79262ef0b54b1 100644 --- a/packages/kbn-shared-svg/BUILD.bazel +++ b/packages/kbn-shared-svg/BUILD.bazel @@ -94,7 +94,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -108,6 +107,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -119,17 +126,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-shared-svg/package.json b/packages/kbn-shared-svg/package.json index 9939ae3d9f8e2..d28953d0d843a 100644 --- a/packages/kbn-shared-svg/package.json +++ b/packages/kbn-shared-svg/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "browser": "./target_web/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-shared-svg/tsconfig.json b/packages/kbn-shared-svg/tsconfig.json index 423bb95cf1cd7..cd57547f72077 100644 --- a/packages/kbn-shared-svg/tsconfig.json +++ b/packages/kbn-shared-svg/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/kbn-shared-ux-utility/BUILD.bazel b/packages/kbn-shared-ux-utility/BUILD.bazel index 2449a3011b456..d19df36a5ea49 100644 --- a/packages/kbn-shared-ux-utility/BUILD.bazel +++ b/packages/kbn-shared-ux-utility/BUILD.bazel @@ -99,7 +99,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -113,6 +112,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -124,17 +131,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-shared-ux-utility/package.json b/packages/kbn-shared-ux-utility/package.json index dca0f7758ddbc..6bf6571104b45 100644 --- a/packages/kbn-shared-ux-utility/package.json +++ b/packages/kbn-shared-ux-utility/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "browser": "./target_web/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-shared-ux-utility/tsconfig.json b/packages/kbn-shared-ux-utility/tsconfig.json index be6b0161bf248..a79192e00175e 100644 --- a/packages/kbn-shared-ux-utility/tsconfig.json +++ b/packages/kbn-shared-ux-utility/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/kbn-some-dev-log/BUILD.bazel b/packages/kbn-some-dev-log/BUILD.bazel index cb06fc26d6be4..02ba30b3d1dba 100644 --- a/packages/kbn-some-dev-log/BUILD.bazel +++ b/packages/kbn-some-dev-log/BUILD.bazel @@ -83,7 +83,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -97,6 +96,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -108,17 +115,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-some-dev-log/package.json b/packages/kbn-some-dev-log/package.json index 9b01a43a03c00..2dccc54aa1e35 100644 --- a/packages/kbn-some-dev-log/package.json +++ b/packages/kbn-some-dev-log/package.json @@ -3,5 +3,6 @@ "private": true, "version": "1.0.0", "main": "./target_node/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-some-dev-log/tsconfig.json b/packages/kbn-some-dev-log/tsconfig.json index d27353840efba..118bd3fb10818 100644 --- a/packages/kbn-some-dev-log/tsconfig.json +++ b/packages/kbn-some-dev-log/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/kbn-sort-package-json/BUILD.bazel b/packages/kbn-sort-package-json/BUILD.bazel index 95edbe3935617..9014d4cc2ada5 100644 --- a/packages/kbn-sort-package-json/BUILD.bazel +++ b/packages/kbn-sort-package-json/BUILD.bazel @@ -85,7 +85,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -99,6 +98,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -110,17 +117,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-sort-package-json/package.json b/packages/kbn-sort-package-json/package.json index 922124b1bdd73..316213bcac017 100644 --- a/packages/kbn-sort-package-json/package.json +++ b/packages/kbn-sort-package-json/package.json @@ -3,5 +3,6 @@ "private": true, "version": "1.0.0", "main": "./target_node/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-sort-package-json/tsconfig.json b/packages/kbn-sort-package-json/tsconfig.json index d27353840efba..118bd3fb10818 100644 --- a/packages/kbn-sort-package-json/tsconfig.json +++ b/packages/kbn-sort-package-json/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/kbn-std/BUILD.bazel b/packages/kbn-std/BUILD.bazel index f92779194187f..b5b198ffd873d 100644 --- a/packages/kbn-std/BUILD.bazel +++ b/packages/kbn-std/BUILD.bazel @@ -76,7 +76,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -90,6 +89,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -103,19 +110,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [ - ":npm_module_types", - ], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-std/package.json b/packages/kbn-std/package.json index 68f59742310d1..b338657ccea3c 100644 --- a/packages/kbn-std/package.json +++ b/packages/kbn-std/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "author": "Kibana Core", "license": "SSPL-1.0 OR Elastic License 2.0", - "private": true + "private": true, + "types": "./target_types/index.d.ts" } \ No newline at end of file diff --git a/packages/kbn-std/tsconfig.json b/packages/kbn-std/tsconfig.json index ecf2b68de7b6f..ae16eba4505a9 100644 --- a/packages/kbn-std/tsconfig.json +++ b/packages/kbn-std/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "./target_types", "stripInternal": true, diff --git a/packages/kbn-stdio-dev-helpers/BUILD.bazel b/packages/kbn-stdio-dev-helpers/BUILD.bazel index cb4dd154463d6..fee92d0b182d8 100644 --- a/packages/kbn-stdio-dev-helpers/BUILD.bazel +++ b/packages/kbn-stdio-dev-helpers/BUILD.bazel @@ -87,7 +87,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -101,6 +100,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -112,17 +119,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-stdio-dev-helpers/package.json b/packages/kbn-stdio-dev-helpers/package.json index ac14acd56e729..6d0237b0d0f68 100644 --- a/packages/kbn-stdio-dev-helpers/package.json +++ b/packages/kbn-stdio-dev-helpers/package.json @@ -3,5 +3,6 @@ "private": true, "version": "1.0.0", "main": "./target_node/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-stdio-dev-helpers/tsconfig.json b/packages/kbn-stdio-dev-helpers/tsconfig.json index d27353840efba..118bd3fb10818 100644 --- a/packages/kbn-stdio-dev-helpers/tsconfig.json +++ b/packages/kbn-stdio-dev-helpers/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/kbn-storybook/BUILD.bazel b/packages/kbn-storybook/BUILD.bazel index e58a4954fd44c..aed873551d328 100644 --- a/packages/kbn-storybook/BUILD.bazel +++ b/packages/kbn-storybook/BUILD.bazel @@ -108,7 +108,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -122,6 +121,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -135,20 +142,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [ - ":npm_module_types", - ], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) - diff --git a/packages/kbn-storybook/package.json b/packages/kbn-storybook/package.json index 162152c7f1922..59f6a1a58e3a8 100644 --- a/packages/kbn-storybook/package.json +++ b/packages/kbn-storybook/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "private": true, "license": "SSPL-1.0 OR Elastic License 2.0", - "main": "./target_node/index.js" + "main": "./target_node/index.js", + "types": "./target_types/index.d.ts" } \ No newline at end of file diff --git a/packages/kbn-storybook/tsconfig.json b/packages/kbn-storybook/tsconfig.json index b3dd6513e3984..3621ceb664a10 100644 --- a/packages/kbn-storybook/tsconfig.json +++ b/packages/kbn-storybook/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "skipLibCheck": true, diff --git a/packages/kbn-synthetic-package-map/tsconfig.json b/packages/kbn-synthetic-package-map/tsconfig.json index 7e53dd39bce02..7b74a1e555c86 100644 --- a/packages/kbn-synthetic-package-map/tsconfig.json +++ b/packages/kbn-synthetic-package-map/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/kbn-telemetry-tools/BUILD.bazel b/packages/kbn-telemetry-tools/BUILD.bazel index d4e2a87075782..7b55705968e78 100644 --- a/packages/kbn-telemetry-tools/BUILD.bazel +++ b/packages/kbn-telemetry-tools/BUILD.bazel @@ -82,7 +82,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -96,6 +95,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -109,19 +116,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [ - ":npm_module_types", - ], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-telemetry-tools/package.json b/packages/kbn-telemetry-tools/package.json index 649ff72a56956..9381f23de133f 100644 --- a/packages/kbn-telemetry-tools/package.json +++ b/packages/kbn-telemetry-tools/package.json @@ -4,5 +4,6 @@ "author": "Kibana Core", "license": "SSPL-1.0 OR Elastic License 2.0", "main": "./target_node/index.js", - "private": true + "private": true, + "types": "./target_types/index.d.ts" } \ No newline at end of file diff --git a/packages/kbn-telemetry-tools/tsconfig.json b/packages/kbn-telemetry-tools/tsconfig.json index eb400d5ce0de6..f910e6b2f0bac 100644 --- a/packages/kbn-telemetry-tools/tsconfig.json +++ b/packages/kbn-telemetry-tools/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "isolatedModules": true, "outDir": "./target_types", diff --git a/packages/kbn-test-jest-helpers/BUILD.bazel b/packages/kbn-test-jest-helpers/BUILD.bazel index 6017936b06552..847d0c25e73af 100644 --- a/packages/kbn-test-jest-helpers/BUILD.bazel +++ b/packages/kbn-test-jest-helpers/BUILD.bazel @@ -141,7 +141,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -155,6 +154,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -168,19 +175,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [ - ":npm_module_types", - ], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-test-jest-helpers/package.json b/packages/kbn-test-jest-helpers/package.json index fa5851895c6d0..646b0baa96a13 100644 --- a/packages/kbn-test-jest-helpers/package.json +++ b/packages/kbn-test-jest-helpers/package.json @@ -3,5 +3,6 @@ "version": "1.0.0", "private": true, "license": "SSPL-1.0 OR Elastic License 2.0", - "main": "./target_node" + "main": "./target_node", + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-test-jest-helpers/tsconfig.json b/packages/kbn-test-jest-helpers/tsconfig.json index 8755357502305..4a70c2e13a6df 100644 --- a/packages/kbn-test-jest-helpers/tsconfig.json +++ b/packages/kbn-test-jest-helpers/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "./target_types", "stripInternal": true, diff --git a/packages/kbn-test-subj-selector/BUILD.bazel b/packages/kbn-test-subj-selector/BUILD.bazel index a92554c948230..57afbf86c1bc9 100644 --- a/packages/kbn-test-subj-selector/BUILD.bazel +++ b/packages/kbn-test-subj-selector/BUILD.bazel @@ -83,7 +83,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -97,6 +96,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -108,17 +115,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-test-subj-selector/package.json b/packages/kbn-test-subj-selector/package.json index 6c8d040735d50..1cb9f52b9e027 100644 --- a/packages/kbn-test-subj-selector/package.json +++ b/packages/kbn-test-subj-selector/package.json @@ -3,5 +3,6 @@ "private": true, "version": "1.0.0", "main": "./target_node/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-test-subj-selector/tsconfig.json b/packages/kbn-test-subj-selector/tsconfig.json index 81935b1385550..98e6b09c1c81a 100644 --- a/packages/kbn-test-subj-selector/tsconfig.json +++ b/packages/kbn-test-subj-selector/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/kbn-test/BUILD.bazel b/packages/kbn-test/BUILD.bazel index 32eccf2963060..c16e3e223fe4d 100644 --- a/packages/kbn-test/BUILD.bazel +++ b/packages/kbn-test/BUILD.bazel @@ -163,7 +163,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -177,6 +176,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -190,19 +197,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [ - ":npm_module_types", - ], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-test/package.json b/packages/kbn-test/package.json index de6ba54c26800..dff56ec9b524c 100644 --- a/packages/kbn-test/package.json +++ b/packages/kbn-test/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "private": true, "license": "SSPL-1.0 OR Elastic License 2.0", - "main": "./target_node" + "main": "./target_node", + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-test/tsconfig.json b/packages/kbn-test/tsconfig.json index a8c39f0affd7a..8b4a1a0e713c0 100644 --- a/packages/kbn-test/tsconfig.json +++ b/packages/kbn-test/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "./target_types", "stripInternal": true, diff --git a/packages/kbn-tooling-log/BUILD.bazel b/packages/kbn-tooling-log/BUILD.bazel index 1ae1e37deaf3d..a61c6039312ae 100644 --- a/packages/kbn-tooling-log/BUILD.bazel +++ b/packages/kbn-tooling-log/BUILD.bazel @@ -89,7 +89,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -103,6 +102,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -114,17 +121,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-tooling-log/package.json b/packages/kbn-tooling-log/package.json index 5af0ae2aca79a..45bdc79a120d8 100644 --- a/packages/kbn-tooling-log/package.json +++ b/packages/kbn-tooling-log/package.json @@ -3,5 +3,6 @@ "private": true, "version": "1.0.0", "main": "./target_node/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-tooling-log/tsconfig.json b/packages/kbn-tooling-log/tsconfig.json index d27353840efba..118bd3fb10818 100644 --- a/packages/kbn-tooling-log/tsconfig.json +++ b/packages/kbn-tooling-log/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/kbn-type-summarizer-cli/BUILD.bazel b/packages/kbn-type-summarizer-cli/BUILD.bazel index 07d6d932210f8..441fa393e5e44 100644 --- a/packages/kbn-type-summarizer-cli/BUILD.bazel +++ b/packages/kbn-type-summarizer-cli/BUILD.bazel @@ -88,7 +88,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -102,6 +101,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + directory_file_path( name = "bazel-cli-path", directory = ":target_node", @@ -126,17 +133,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-type-summarizer-cli/package.json b/packages/kbn-type-summarizer-cli/package.json index 8b71981054f11..2b013abe15705 100644 --- a/packages/kbn-type-summarizer-cli/package.json +++ b/packages/kbn-type-summarizer-cli/package.json @@ -3,5 +3,6 @@ "private": true, "version": "1.0.0", "main": "./target_node/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-type-summarizer-cli/tsconfig.json b/packages/kbn-type-summarizer-cli/tsconfig.json index d27353840efba..118bd3fb10818 100644 --- a/packages/kbn-type-summarizer-cli/tsconfig.json +++ b/packages/kbn-type-summarizer-cli/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/kbn-type-summarizer-core/BUILD.bazel b/packages/kbn-type-summarizer-core/BUILD.bazel index 89ab644f23d0b..b63a38b44d088 100644 --- a/packages/kbn-type-summarizer-core/BUILD.bazel +++ b/packages/kbn-type-summarizer-core/BUILD.bazel @@ -94,7 +94,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -108,6 +107,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -119,17 +126,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-type-summarizer-core/package.json b/packages/kbn-type-summarizer-core/package.json index 1ad7560b3571c..cae83a800eb3b 100644 --- a/packages/kbn-type-summarizer-core/package.json +++ b/packages/kbn-type-summarizer-core/package.json @@ -3,5 +3,6 @@ "private": true, "version": "1.0.0", "main": "./target_node/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-type-summarizer-core/tsconfig.json b/packages/kbn-type-summarizer-core/tsconfig.json index d27353840efba..118bd3fb10818 100644 --- a/packages/kbn-type-summarizer-core/tsconfig.json +++ b/packages/kbn-type-summarizer-core/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/kbn-type-summarizer/BUILD.bazel b/packages/kbn-type-summarizer/BUILD.bazel index 11dc9632c502e..b1f73bec487ea 100644 --- a/packages/kbn-type-summarizer/BUILD.bazel +++ b/packages/kbn-type-summarizer/BUILD.bazel @@ -96,7 +96,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -110,6 +109,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -121,17 +128,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-type-summarizer/package.json b/packages/kbn-type-summarizer/package.json index 9ea19f6497219..4442ef893a931 100644 --- a/packages/kbn-type-summarizer/package.json +++ b/packages/kbn-type-summarizer/package.json @@ -3,5 +3,6 @@ "private": true, "version": "1.0.0", "main": "./target_node/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-type-summarizer/tsconfig.json b/packages/kbn-type-summarizer/tsconfig.json index d27353840efba..118bd3fb10818 100644 --- a/packages/kbn-type-summarizer/tsconfig.json +++ b/packages/kbn-type-summarizer/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/kbn-typed-react-router-config/BUILD.bazel b/packages/kbn-typed-react-router-config/BUILD.bazel index e6f1587e537ed..841e2b287d7af 100644 --- a/packages/kbn-typed-react-router-config/BUILD.bazel +++ b/packages/kbn-typed-react-router-config/BUILD.bazel @@ -93,7 +93,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -107,6 +106,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -120,19 +127,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [ - ":npm_module_types", - ], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-typed-react-router-config/package.json b/packages/kbn-typed-react-router-config/package.json index 0f45f63f4ab2d..d200aeef52311 100644 --- a/packages/kbn-typed-react-router-config/package.json +++ b/packages/kbn-typed-react-router-config/package.json @@ -4,5 +4,6 @@ "browser": "target_web/index.js", "version": "1.0.0", "license": "SSPL-1.0 OR Elastic License 2.0", - "private": true + "private": true, + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-typed-react-router-config/tsconfig.json b/packages/kbn-typed-react-router-config/tsconfig.json index e915172b9f504..77747d770c2aa 100644 --- a/packages/kbn-typed-react-router-config/tsconfig.json +++ b/packages/kbn-typed-react-router-config/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "isolatedModules": true, "outDir": "./target_types", diff --git a/packages/kbn-ui-shared-deps-npm/BUILD.bazel b/packages/kbn-ui-shared-deps-npm/BUILD.bazel index 7f589c7c0a842..b0066920faa4d 100644 --- a/packages/kbn-ui-shared-deps-npm/BUILD.bazel +++ b/packages/kbn-ui-shared-deps-npm/BUILD.bazel @@ -129,7 +129,6 @@ ts_project( deps = TYPES_DEPS, allow_js = True, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -161,6 +160,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":shared_built_assets", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -174,19 +181,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [ - ":npm_module_types", - ], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-ui-shared-deps-npm/package.json b/packages/kbn-ui-shared-deps-npm/package.json index 78568254e30ea..aaefa7f714ceb 100644 --- a/packages/kbn-ui-shared-deps-npm/package.json +++ b/packages/kbn-ui-shared-deps-npm/package.json @@ -3,5 +3,6 @@ "version": "1.0.0", "private": true, "license": "SSPL-1.0 OR Elastic License 2.0", - "main": "target_node/index.js" + "main": "target_node/index.js", + "types": "./target_types/index.d.ts" } \ No newline at end of file diff --git a/packages/kbn-ui-shared-deps-npm/tsconfig.json b/packages/kbn-ui-shared-deps-npm/tsconfig.json index b0034d2ce15f3..78b399657886a 100644 --- a/packages/kbn-ui-shared-deps-npm/tsconfig.json +++ b/packages/kbn-ui-shared-deps-npm/tsconfig.json @@ -3,7 +3,6 @@ "compilerOptions": { "allowJs": true, "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "./target_types", "types": [ diff --git a/packages/kbn-ui-shared-deps-src/BUILD.bazel b/packages/kbn-ui-shared-deps-src/BUILD.bazel index 0507f18756929..6fecff6dc2d28 100644 --- a/packages/kbn-ui-shared-deps-src/BUILD.bazel +++ b/packages/kbn-ui-shared-deps-src/BUILD.bazel @@ -86,7 +86,6 @@ ts_project( deps = TYPES_DEPS, allow_js = True, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -118,6 +117,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":shared_built_assets", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -131,19 +138,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [ - ":npm_module_types", - ], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-ui-shared-deps-src/package.json b/packages/kbn-ui-shared-deps-src/package.json index e45e8d5496988..3290d7e60032f 100644 --- a/packages/kbn-ui-shared-deps-src/package.json +++ b/packages/kbn-ui-shared-deps-src/package.json @@ -3,5 +3,6 @@ "version": "1.0.0", "private": true, "license": "SSPL-1.0 OR Elastic License 2.0", - "main": "target_node/index.js" + "main": "target_node/index.js", + "types": "./target_types/index.d.ts" } \ No newline at end of file diff --git a/packages/kbn-ui-shared-deps-src/tsconfig.json b/packages/kbn-ui-shared-deps-src/tsconfig.json index b0034d2ce15f3..78b399657886a 100644 --- a/packages/kbn-ui-shared-deps-src/tsconfig.json +++ b/packages/kbn-ui-shared-deps-src/tsconfig.json @@ -3,7 +3,6 @@ "compilerOptions": { "allowJs": true, "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "./target_types", "types": [ diff --git a/packages/kbn-ui-theme/BUILD.bazel b/packages/kbn-ui-theme/BUILD.bazel index 0a890d07fba0f..4e17de1eb6ab7 100644 --- a/packages/kbn-ui-theme/BUILD.bazel +++ b/packages/kbn-ui-theme/BUILD.bazel @@ -73,7 +73,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -87,6 +86,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -100,19 +107,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [ - ":npm_module_types", - ], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-ui-theme/package.json b/packages/kbn-ui-theme/package.json index 40fd88b77e7b5..1577f211eae88 100644 --- a/packages/kbn-ui-theme/package.json +++ b/packages/kbn-ui-theme/package.json @@ -4,5 +4,6 @@ "private": true, "main": "./target_node/index.js", "browser": "./target_web/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-ui-theme/tsconfig.json b/packages/kbn-ui-theme/tsconfig.json index d5a96f0f9690a..05fa2c9e696b5 100644 --- a/packages/kbn-ui-theme/tsconfig.json +++ b/packages/kbn-ui-theme/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "./target_types", "stripInternal": true, diff --git a/packages/kbn-user-profile-components/BUILD.bazel b/packages/kbn-user-profile-components/BUILD.bazel index 1037d47a79ad4..d8d88de063f0e 100644 --- a/packages/kbn-user-profile-components/BUILD.bazel +++ b/packages/kbn-user-profile-components/BUILD.bazel @@ -80,7 +80,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -94,6 +93,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -107,19 +114,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [ - ":npm_module_types", - ], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-user-profile-components/tsconfig.json b/packages/kbn-user-profile-components/tsconfig.json index 25f14da15b543..c94005d674932 100644 --- a/packages/kbn-user-profile-components/tsconfig.json +++ b/packages/kbn-user-profile-components/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "./target_types", "stripInternal": true, diff --git a/packages/kbn-utility-types-jest/BUILD.bazel b/packages/kbn-utility-types-jest/BUILD.bazel index 589d17734e55a..eaf186c40a3fa 100644 --- a/packages/kbn-utility-types-jest/BUILD.bazel +++ b/packages/kbn-utility-types-jest/BUILD.bazel @@ -63,7 +63,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -77,6 +76,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -90,19 +97,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [ - ":npm_module_types", - ], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-utility-types-jest/package.json b/packages/kbn-utility-types-jest/package.json index b409e49384fc7..e057306d4bbdb 100644 --- a/packages/kbn-utility-types-jest/package.json +++ b/packages/kbn-utility-types-jest/package.json @@ -3,5 +3,6 @@ "version": "1.0.0", "private": true, "license": "SSPL-1.0 OR Elastic License 2.0", - "main": "target_node/index.js" + "main": "target_node/index.js", + "types": "./target_types/index.d.ts" } \ No newline at end of file diff --git a/packages/kbn-utility-types-jest/tsconfig.json b/packages/kbn-utility-types-jest/tsconfig.json index ecf2b68de7b6f..ae16eba4505a9 100644 --- a/packages/kbn-utility-types-jest/tsconfig.json +++ b/packages/kbn-utility-types-jest/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "./target_types", "stripInternal": true, diff --git a/packages/kbn-utility-types/BUILD.bazel b/packages/kbn-utility-types/BUILD.bazel index 20c640a4b2250..87a665c2a6b44 100644 --- a/packages/kbn-utility-types/BUILD.bazel +++ b/packages/kbn-utility-types/BUILD.bazel @@ -67,7 +67,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -81,6 +80,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -94,19 +101,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [ - ":npm_module_types", - ], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-utility-types/package.json b/packages/kbn-utility-types/package.json index fa899c332dee9..fa0eb82dde2ef 100644 --- a/packages/kbn-utility-types/package.json +++ b/packages/kbn-utility-types/package.json @@ -6,5 +6,6 @@ "main": "target_node/index.js", "scripts": { "test": "../../node_modules/.bin/tsd src/tsd_tests" - } + }, + "types": "./target_types/index.d.ts" } \ No newline at end of file diff --git a/packages/kbn-utility-types/tsconfig.json b/packages/kbn-utility-types/tsconfig.json index d0ba699cae05a..19facb3c91aba 100644 --- a/packages/kbn-utility-types/tsconfig.json +++ b/packages/kbn-utility-types/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "./target_types", "stripInternal": true, diff --git a/packages/kbn-utils/BUILD.bazel b/packages/kbn-utils/BUILD.bazel index fdfd50d882662..b66307a04b533 100644 --- a/packages/kbn-utils/BUILD.bazel +++ b/packages/kbn-utils/BUILD.bazel @@ -71,7 +71,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -85,6 +84,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -98,19 +105,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [ - ":npm_module_types", - ], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-utils/package.json b/packages/kbn-utils/package.json index 596f0548202de..40a60b179667f 100644 --- a/packages/kbn-utils/package.json +++ b/packages/kbn-utils/package.json @@ -3,5 +3,6 @@ "main": "./target_node/index.js", "version": "1.0.0", "license": "SSPL-1.0 OR Elastic License 2.0", - "private": true + "private": true, + "types": "./target_types/index.d.ts" } \ No newline at end of file diff --git a/packages/kbn-utils/tsconfig.json b/packages/kbn-utils/tsconfig.json index 687c3a7ad6df7..57c1dd1c94e0f 100644 --- a/packages/kbn-utils/tsconfig.json +++ b/packages/kbn-utils/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "types": [ diff --git a/packages/kbn-yarn-lock-validator/BUILD.bazel b/packages/kbn-yarn-lock-validator/BUILD.bazel index e648a6a01d958..3fb3f48203758 100644 --- a/packages/kbn-yarn-lock-validator/BUILD.bazel +++ b/packages/kbn-yarn-lock-validator/BUILD.bazel @@ -88,7 +88,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -102,6 +101,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -113,17 +120,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/kbn-yarn-lock-validator/package.json b/packages/kbn-yarn-lock-validator/package.json index 4d024fb6aded5..01f9de41f960e 100644 --- a/packages/kbn-yarn-lock-validator/package.json +++ b/packages/kbn-yarn-lock-validator/package.json @@ -3,5 +3,6 @@ "private": true, "version": "1.0.0", "main": "./target_node/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/kbn-yarn-lock-validator/tsconfig.json b/packages/kbn-yarn-lock-validator/tsconfig.json index d27353840efba..118bd3fb10818 100644 --- a/packages/kbn-yarn-lock-validator/tsconfig.json +++ b/packages/kbn-yarn-lock-validator/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/shared-ux/avatar/solution/BUILD.bazel b/packages/shared-ux/avatar/solution/BUILD.bazel index 300cb116146aa..d8d9b159db6e7 100644 --- a/packages/shared-ux/avatar/solution/BUILD.bazel +++ b/packages/shared-ux/avatar/solution/BUILD.bazel @@ -114,7 +114,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -128,6 +127,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -139,17 +146,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/shared-ux/avatar/solution/package.json b/packages/shared-ux/avatar/solution/package.json index b0ec8ec947b09..ab91c7c422572 100644 --- a/packages/shared-ux/avatar/solution/package.json +++ b/packages/shared-ux/avatar/solution/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "browser": "./target_web/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/shared-ux/avatar/solution/tsconfig.json b/packages/shared-ux/avatar/solution/tsconfig.json index a9a0b1253496a..21b85ae51cd13 100644 --- a/packages/shared-ux/avatar/solution/tsconfig.json +++ b/packages/shared-ux/avatar/solution/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/shared-ux/avatar/user_profile/impl/BUILD.bazel b/packages/shared-ux/avatar/user_profile/impl/BUILD.bazel index 447bd41d39788..53beaf2faea93 100644 --- a/packages/shared-ux/avatar/user_profile/impl/BUILD.bazel +++ b/packages/shared-ux/avatar/user_profile/impl/BUILD.bazel @@ -95,7 +95,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -109,6 +108,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -120,17 +127,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/shared-ux/avatar/user_profile/impl/package.json b/packages/shared-ux/avatar/user_profile/impl/package.json index 4621591d690cb..7169836ff1879 100644 --- a/packages/shared-ux/avatar/user_profile/impl/package.json +++ b/packages/shared-ux/avatar/user_profile/impl/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "browser": "./target_web/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/shared-ux/avatar/user_profile/impl/tsconfig.json b/packages/shared-ux/avatar/user_profile/impl/tsconfig.json index 5f12c69172930..d1cc3a9c6e996 100644 --- a/packages/shared-ux/avatar/user_profile/impl/tsconfig.json +++ b/packages/shared-ux/avatar/user_profile/impl/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/shared-ux/button/exit_full_screen/impl/BUILD.bazel b/packages/shared-ux/button/exit_full_screen/impl/BUILD.bazel index cb06b3e77b75b..b16786012c828 100644 --- a/packages/shared-ux/button/exit_full_screen/impl/BUILD.bazel +++ b/packages/shared-ux/button/exit_full_screen/impl/BUILD.bazel @@ -121,7 +121,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -135,6 +134,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -146,17 +153,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/shared-ux/button/exit_full_screen/impl/package.json b/packages/shared-ux/button/exit_full_screen/impl/package.json index 33cd7d782fd5c..bc56bbeebf40e 100644 --- a/packages/shared-ux/button/exit_full_screen/impl/package.json +++ b/packages/shared-ux/button/exit_full_screen/impl/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "browser": "./target_web/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/shared-ux/button/exit_full_screen/impl/tsconfig.json b/packages/shared-ux/button/exit_full_screen/impl/tsconfig.json index 428214e7cb241..7d24ab6a036ba 100644 --- a/packages/shared-ux/button/exit_full_screen/impl/tsconfig.json +++ b/packages/shared-ux/button/exit_full_screen/impl/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/shared-ux/button/exit_full_screen/mocks/BUILD.bazel b/packages/shared-ux/button/exit_full_screen/mocks/BUILD.bazel index 0accd2fac6a40..995904da1deeb 100644 --- a/packages/shared-ux/button/exit_full_screen/mocks/BUILD.bazel +++ b/packages/shared-ux/button/exit_full_screen/mocks/BUILD.bazel @@ -97,7 +97,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -111,6 +110,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -122,17 +129,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/shared-ux/button/exit_full_screen/mocks/package.json b/packages/shared-ux/button/exit_full_screen/mocks/package.json index 1ce5731e7bee3..ff766d8e9de14 100644 --- a/packages/shared-ux/button/exit_full_screen/mocks/package.json +++ b/packages/shared-ux/button/exit_full_screen/mocks/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "browser": "./target_web/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } \ No newline at end of file diff --git a/packages/shared-ux/button/exit_full_screen/mocks/tsconfig.json b/packages/shared-ux/button/exit_full_screen/mocks/tsconfig.json index d0c94b11c5748..56a703280be4e 100644 --- a/packages/shared-ux/button/exit_full_screen/mocks/tsconfig.json +++ b/packages/shared-ux/button/exit_full_screen/mocks/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/shared-ux/button/exit_full_screen/types/tsconfig.json b/packages/shared-ux/button/exit_full_screen/types/tsconfig.json index 7a4adfcdbecff..a109753c20458 100644 --- a/packages/shared-ux/button/exit_full_screen/types/tsconfig.json +++ b/packages/shared-ux/button/exit_full_screen/types/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/shared-ux/button_toolbar/BUILD.bazel b/packages/shared-ux/button_toolbar/BUILD.bazel index b0c98951c4695..e0fcde158bdf8 100644 --- a/packages/shared-ux/button_toolbar/BUILD.bazel +++ b/packages/shared-ux/button_toolbar/BUILD.bazel @@ -106,7 +106,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -120,6 +119,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -131,17 +138,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/shared-ux/button_toolbar/package.json b/packages/shared-ux/button_toolbar/package.json index c9a4569ee2e02..d74cca7bf9bec 100644 --- a/packages/shared-ux/button_toolbar/package.json +++ b/packages/shared-ux/button_toolbar/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "browser": "./target_web/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } \ No newline at end of file diff --git a/packages/shared-ux/button_toolbar/tsconfig.json b/packages/shared-ux/button_toolbar/tsconfig.json index eea57a49d44d4..9fdd594692a28 100644 --- a/packages/shared-ux/button_toolbar/tsconfig.json +++ b/packages/shared-ux/button_toolbar/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/shared-ux/card/no_data/impl/BUILD.bazel b/packages/shared-ux/card/no_data/impl/BUILD.bazel index 394f328ccdcc9..38d138d551c83 100644 --- a/packages/shared-ux/card/no_data/impl/BUILD.bazel +++ b/packages/shared-ux/card/no_data/impl/BUILD.bazel @@ -111,7 +111,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -125,6 +124,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -136,17 +143,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/shared-ux/card/no_data/impl/package.json b/packages/shared-ux/card/no_data/impl/package.json index a1d3efd5a6985..42a1bc7007e0b 100644 --- a/packages/shared-ux/card/no_data/impl/package.json +++ b/packages/shared-ux/card/no_data/impl/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "browser": "./target_web/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/shared-ux/card/no_data/impl/tsconfig.json b/packages/shared-ux/card/no_data/impl/tsconfig.json index 8d29e93670483..608ee34a18e41 100644 --- a/packages/shared-ux/card/no_data/impl/tsconfig.json +++ b/packages/shared-ux/card/no_data/impl/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/shared-ux/card/no_data/mocks/BUILD.bazel b/packages/shared-ux/card/no_data/mocks/BUILD.bazel index 1ca316ad280d2..6f08805292436 100644 --- a/packages/shared-ux/card/no_data/mocks/BUILD.bazel +++ b/packages/shared-ux/card/no_data/mocks/BUILD.bazel @@ -103,7 +103,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -117,6 +116,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -128,17 +135,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/shared-ux/card/no_data/mocks/package.json b/packages/shared-ux/card/no_data/mocks/package.json index 10380b879954c..06737fb83c6c1 100644 --- a/packages/shared-ux/card/no_data/mocks/package.json +++ b/packages/shared-ux/card/no_data/mocks/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "browser": "./target_web/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } \ No newline at end of file diff --git a/packages/shared-ux/card/no_data/mocks/tsconfig.json b/packages/shared-ux/card/no_data/mocks/tsconfig.json index 6a7af9bb371d5..307c421c355d7 100644 --- a/packages/shared-ux/card/no_data/mocks/tsconfig.json +++ b/packages/shared-ux/card/no_data/mocks/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/shared-ux/card/no_data/types/tsconfig.json b/packages/shared-ux/card/no_data/types/tsconfig.json index 7a4adfcdbecff..a109753c20458 100644 --- a/packages/shared-ux/card/no_data/types/tsconfig.json +++ b/packages/shared-ux/card/no_data/types/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/shared-ux/link/redirect_app/impl/BUILD.bazel b/packages/shared-ux/link/redirect_app/impl/BUILD.bazel index 35d4970100a40..484b5b5a2c7f5 100644 --- a/packages/shared-ux/link/redirect_app/impl/BUILD.bazel +++ b/packages/shared-ux/link/redirect_app/impl/BUILD.bazel @@ -108,7 +108,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -122,6 +121,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -133,17 +140,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/shared-ux/link/redirect_app/impl/package.json b/packages/shared-ux/link/redirect_app/impl/package.json index 6deb187dcec2a..5dae14bdd878e 100644 --- a/packages/shared-ux/link/redirect_app/impl/package.json +++ b/packages/shared-ux/link/redirect_app/impl/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "browser": "./target_web/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/shared-ux/link/redirect_app/impl/tsconfig.json b/packages/shared-ux/link/redirect_app/impl/tsconfig.json index 7a819812f065f..31fd602881744 100644 --- a/packages/shared-ux/link/redirect_app/impl/tsconfig.json +++ b/packages/shared-ux/link/redirect_app/impl/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/shared-ux/link/redirect_app/mocks/BUILD.bazel b/packages/shared-ux/link/redirect_app/mocks/BUILD.bazel index 5f1d2f9575e0a..b300fc7892218 100644 --- a/packages/shared-ux/link/redirect_app/mocks/BUILD.bazel +++ b/packages/shared-ux/link/redirect_app/mocks/BUILD.bazel @@ -99,7 +99,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -113,6 +112,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -124,17 +131,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/shared-ux/link/redirect_app/mocks/package.json b/packages/shared-ux/link/redirect_app/mocks/package.json index adf441fb3d134..539bfd8f88c0a 100644 --- a/packages/shared-ux/link/redirect_app/mocks/package.json +++ b/packages/shared-ux/link/redirect_app/mocks/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "browser": "./target_web/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/shared-ux/link/redirect_app/mocks/tsconfig.json b/packages/shared-ux/link/redirect_app/mocks/tsconfig.json index d0c94b11c5748..56a703280be4e 100644 --- a/packages/shared-ux/link/redirect_app/mocks/tsconfig.json +++ b/packages/shared-ux/link/redirect_app/mocks/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/shared-ux/link/redirect_app/types/tsconfig.json b/packages/shared-ux/link/redirect_app/types/tsconfig.json index 8ecd8e9fc1eff..e4aed6f220b10 100644 --- a/packages/shared-ux/link/redirect_app/types/tsconfig.json +++ b/packages/shared-ux/link/redirect_app/types/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/shared-ux/markdown/impl/BUILD.bazel b/packages/shared-ux/markdown/impl/BUILD.bazel index 838edc4628ebc..bb19abe42c476 100644 --- a/packages/shared-ux/markdown/impl/BUILD.bazel +++ b/packages/shared-ux/markdown/impl/BUILD.bazel @@ -106,7 +106,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -120,6 +119,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -131,17 +138,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/shared-ux/markdown/impl/package.json b/packages/shared-ux/markdown/impl/package.json index c6b80b3561d70..55541e9fb54bf 100644 --- a/packages/shared-ux/markdown/impl/package.json +++ b/packages/shared-ux/markdown/impl/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "browser": "./target_web/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/shared-ux/markdown/impl/tsconfig.json b/packages/shared-ux/markdown/impl/tsconfig.json index 80903485ee0cb..dbb261fbbc413 100644 --- a/packages/shared-ux/markdown/impl/tsconfig.json +++ b/packages/shared-ux/markdown/impl/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/shared-ux/markdown/mocks/BUILD.bazel b/packages/shared-ux/markdown/mocks/BUILD.bazel index 0317b8948db24..c6ad9fd3c8e74 100644 --- a/packages/shared-ux/markdown/mocks/BUILD.bazel +++ b/packages/shared-ux/markdown/mocks/BUILD.bazel @@ -101,7 +101,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -115,6 +114,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -126,17 +133,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/shared-ux/markdown/mocks/package.json b/packages/shared-ux/markdown/mocks/package.json index 9c1d37d8d0bb3..68a15def6151f 100644 --- a/packages/shared-ux/markdown/mocks/package.json +++ b/packages/shared-ux/markdown/mocks/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "browser": "./target_web/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/shared-ux/markdown/mocks/tsconfig.json b/packages/shared-ux/markdown/mocks/tsconfig.json index a7a0cf8d2dbb0..d087908a4bc00 100644 --- a/packages/shared-ux/markdown/mocks/tsconfig.json +++ b/packages/shared-ux/markdown/mocks/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/shared-ux/markdown/types/package.json b/packages/shared-ux/markdown/types/package.json index 72969eaf198ea..a3b0f4553f0d5 100644 --- a/packages/shared-ux/markdown/types/package.json +++ b/packages/shared-ux/markdown/types/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "browser": "./target_web/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/shared-ux/markdown/types/tsconfig.json b/packages/shared-ux/markdown/types/tsconfig.json index f63e4827cac34..ad91a6945198f 100644 --- a/packages/shared-ux/markdown/types/tsconfig.json +++ b/packages/shared-ux/markdown/types/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/shared-ux/page/analytics_no_data/impl/BUILD.bazel b/packages/shared-ux/page/analytics_no_data/impl/BUILD.bazel index 12b7d8110bdda..eba6e6ed2ed19 100644 --- a/packages/shared-ux/page/analytics_no_data/impl/BUILD.bazel +++ b/packages/shared-ux/page/analytics_no_data/impl/BUILD.bazel @@ -105,7 +105,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -119,6 +118,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -130,17 +137,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/shared-ux/page/analytics_no_data/impl/package.json b/packages/shared-ux/page/analytics_no_data/impl/package.json index e9977444fb94e..af1f2d6860a6f 100644 --- a/packages/shared-ux/page/analytics_no_data/impl/package.json +++ b/packages/shared-ux/page/analytics_no_data/impl/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "browser": "./target_web/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/shared-ux/page/analytics_no_data/impl/tsconfig.json b/packages/shared-ux/page/analytics_no_data/impl/tsconfig.json index 2f623301513cd..0b9a552bee78c 100644 --- a/packages/shared-ux/page/analytics_no_data/impl/tsconfig.json +++ b/packages/shared-ux/page/analytics_no_data/impl/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/shared-ux/page/analytics_no_data/mocks/BUILD.bazel b/packages/shared-ux/page/analytics_no_data/mocks/BUILD.bazel index d032c29103ade..d5f264c1a3a8c 100644 --- a/packages/shared-ux/page/analytics_no_data/mocks/BUILD.bazel +++ b/packages/shared-ux/page/analytics_no_data/mocks/BUILD.bazel @@ -97,7 +97,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -111,6 +110,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -122,17 +129,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/shared-ux/page/analytics_no_data/mocks/package.json b/packages/shared-ux/page/analytics_no_data/mocks/package.json index 6fc9704e831f1..cc2fb0317a86b 100644 --- a/packages/shared-ux/page/analytics_no_data/mocks/package.json +++ b/packages/shared-ux/page/analytics_no_data/mocks/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "browser": "./target_web/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } \ No newline at end of file diff --git a/packages/shared-ux/page/analytics_no_data/mocks/tsconfig.json b/packages/shared-ux/page/analytics_no_data/mocks/tsconfig.json index 6a7af9bb371d5..307c421c355d7 100644 --- a/packages/shared-ux/page/analytics_no_data/mocks/tsconfig.json +++ b/packages/shared-ux/page/analytics_no_data/mocks/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/shared-ux/page/analytics_no_data/types/tsconfig.json b/packages/shared-ux/page/analytics_no_data/types/tsconfig.json index 7a4adfcdbecff..a109753c20458 100644 --- a/packages/shared-ux/page/analytics_no_data/types/tsconfig.json +++ b/packages/shared-ux/page/analytics_no_data/types/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/shared-ux/page/kibana_no_data/impl/BUILD.bazel b/packages/shared-ux/page/kibana_no_data/impl/BUILD.bazel index a70bfd65de9ad..31e3910483812 100644 --- a/packages/shared-ux/page/kibana_no_data/impl/BUILD.bazel +++ b/packages/shared-ux/page/kibana_no_data/impl/BUILD.bazel @@ -113,7 +113,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -127,6 +126,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -138,17 +145,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/shared-ux/page/kibana_no_data/impl/package.json b/packages/shared-ux/page/kibana_no_data/impl/package.json index e495957ad7541..d929610c0b7a6 100644 --- a/packages/shared-ux/page/kibana_no_data/impl/package.json +++ b/packages/shared-ux/page/kibana_no_data/impl/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "browser": "./target_web/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/shared-ux/page/kibana_no_data/impl/tsconfig.json b/packages/shared-ux/page/kibana_no_data/impl/tsconfig.json index 7b961b47dff81..6e42e35ef76f6 100644 --- a/packages/shared-ux/page/kibana_no_data/impl/tsconfig.json +++ b/packages/shared-ux/page/kibana_no_data/impl/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/shared-ux/page/kibana_no_data/mocks/BUILD.bazel b/packages/shared-ux/page/kibana_no_data/mocks/BUILD.bazel index 51990b9e217f8..4bc5c5b663b7a 100644 --- a/packages/shared-ux/page/kibana_no_data/mocks/BUILD.bazel +++ b/packages/shared-ux/page/kibana_no_data/mocks/BUILD.bazel @@ -100,7 +100,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -114,6 +113,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -125,17 +132,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/shared-ux/page/kibana_no_data/mocks/package.json b/packages/shared-ux/page/kibana_no_data/mocks/package.json index f134da02e430f..b5aba9769ed95 100644 --- a/packages/shared-ux/page/kibana_no_data/mocks/package.json +++ b/packages/shared-ux/page/kibana_no_data/mocks/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "browser": "./target_web/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } \ No newline at end of file diff --git a/packages/shared-ux/page/kibana_no_data/mocks/tsconfig.json b/packages/shared-ux/page/kibana_no_data/mocks/tsconfig.json index d0c94b11c5748..56a703280be4e 100644 --- a/packages/shared-ux/page/kibana_no_data/mocks/tsconfig.json +++ b/packages/shared-ux/page/kibana_no_data/mocks/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/shared-ux/page/kibana_no_data/types/tsconfig.json b/packages/shared-ux/page/kibana_no_data/types/tsconfig.json index 7a4adfcdbecff..a109753c20458 100644 --- a/packages/shared-ux/page/kibana_no_data/types/tsconfig.json +++ b/packages/shared-ux/page/kibana_no_data/types/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/shared-ux/page/kibana_template/impl/BUILD.bazel b/packages/shared-ux/page/kibana_template/impl/BUILD.bazel index 3c745c3855f12..e58fb156edc58 100644 --- a/packages/shared-ux/page/kibana_template/impl/BUILD.bazel +++ b/packages/shared-ux/page/kibana_template/impl/BUILD.bazel @@ -101,7 +101,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -115,6 +114,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -126,17 +133,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/shared-ux/page/kibana_template/impl/package.json b/packages/shared-ux/page/kibana_template/impl/package.json index a089481047999..111538a3dd75b 100644 --- a/packages/shared-ux/page/kibana_template/impl/package.json +++ b/packages/shared-ux/page/kibana_template/impl/package.json @@ -3,5 +3,6 @@ "private": true, "version": "1.0.0", "main": "./target_node/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } \ No newline at end of file diff --git a/packages/shared-ux/page/kibana_template/impl/tsconfig.json b/packages/shared-ux/page/kibana_template/impl/tsconfig.json index 71b05517f1b82..4baaa9985adb5 100644 --- a/packages/shared-ux/page/kibana_template/impl/tsconfig.json +++ b/packages/shared-ux/page/kibana_template/impl/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/shared-ux/page/kibana_template/mocks/BUILD.bazel b/packages/shared-ux/page/kibana_template/mocks/BUILD.bazel index 675fdae1fdb17..c2ec3013e01a8 100644 --- a/packages/shared-ux/page/kibana_template/mocks/BUILD.bazel +++ b/packages/shared-ux/page/kibana_template/mocks/BUILD.bazel @@ -99,7 +99,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -113,6 +112,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -124,17 +131,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/shared-ux/page/kibana_template/mocks/package.json b/packages/shared-ux/page/kibana_template/mocks/package.json index c6dc7b5671d7e..4541001003f30 100644 --- a/packages/shared-ux/page/kibana_template/mocks/package.json +++ b/packages/shared-ux/page/kibana_template/mocks/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "browser": "./target_web/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } \ No newline at end of file diff --git a/packages/shared-ux/page/kibana_template/mocks/tsconfig.json b/packages/shared-ux/page/kibana_template/mocks/tsconfig.json index 7d7c02e190762..a6a4dabce03f1 100644 --- a/packages/shared-ux/page/kibana_template/mocks/tsconfig.json +++ b/packages/shared-ux/page/kibana_template/mocks/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/shared-ux/page/kibana_template/types/tsconfig.json b/packages/shared-ux/page/kibana_template/types/tsconfig.json index 7a4adfcdbecff..a109753c20458 100644 --- a/packages/shared-ux/page/kibana_template/types/tsconfig.json +++ b/packages/shared-ux/page/kibana_template/types/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/shared-ux/page/no_data/impl/BUILD.bazel b/packages/shared-ux/page/no_data/impl/BUILD.bazel index 9907ecbdbe646..040968fa52553 100644 --- a/packages/shared-ux/page/no_data/impl/BUILD.bazel +++ b/packages/shared-ux/page/no_data/impl/BUILD.bazel @@ -109,7 +109,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -123,6 +122,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -134,17 +141,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/shared-ux/page/no_data/impl/package.json b/packages/shared-ux/page/no_data/impl/package.json index 1f09f616a765f..61a823cc5e7ab 100644 --- a/packages/shared-ux/page/no_data/impl/package.json +++ b/packages/shared-ux/page/no_data/impl/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "browser": "./target_web/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/shared-ux/page/no_data/impl/tsconfig.json b/packages/shared-ux/page/no_data/impl/tsconfig.json index 0627b1f2462fa..f970a21467add 100644 --- a/packages/shared-ux/page/no_data/impl/tsconfig.json +++ b/packages/shared-ux/page/no_data/impl/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/shared-ux/page/no_data/mocks/BUILD.bazel b/packages/shared-ux/page/no_data/mocks/BUILD.bazel index 3435be28aaefd..de980573ac7fa 100644 --- a/packages/shared-ux/page/no_data/mocks/BUILD.bazel +++ b/packages/shared-ux/page/no_data/mocks/BUILD.bazel @@ -97,7 +97,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -111,6 +110,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -122,17 +129,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/shared-ux/page/no_data/mocks/package.json b/packages/shared-ux/page/no_data/mocks/package.json index d6051a988cdc4..f3b8c22a03da0 100644 --- a/packages/shared-ux/page/no_data/mocks/package.json +++ b/packages/shared-ux/page/no_data/mocks/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "browser": "./target_web/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } \ No newline at end of file diff --git a/packages/shared-ux/page/no_data/mocks/tsconfig.json b/packages/shared-ux/page/no_data/mocks/tsconfig.json index 6a7af9bb371d5..307c421c355d7 100644 --- a/packages/shared-ux/page/no_data/mocks/tsconfig.json +++ b/packages/shared-ux/page/no_data/mocks/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/shared-ux/page/no_data/types/tsconfig.json b/packages/shared-ux/page/no_data/types/tsconfig.json index 7a4adfcdbecff..a109753c20458 100644 --- a/packages/shared-ux/page/no_data/types/tsconfig.json +++ b/packages/shared-ux/page/no_data/types/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/shared-ux/page/no_data_config/impl/BUILD.bazel b/packages/shared-ux/page/no_data_config/impl/BUILD.bazel index d0063830aeb33..2aee71ee7367a 100644 --- a/packages/shared-ux/page/no_data_config/impl/BUILD.bazel +++ b/packages/shared-ux/page/no_data_config/impl/BUILD.bazel @@ -103,7 +103,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -117,6 +116,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -128,17 +135,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/shared-ux/page/no_data_config/impl/package.json b/packages/shared-ux/page/no_data_config/impl/package.json index 216bba70b5d50..a30692bf98701 100644 --- a/packages/shared-ux/page/no_data_config/impl/package.json +++ b/packages/shared-ux/page/no_data_config/impl/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "browser": "./target_web/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/shared-ux/page/no_data_config/impl/tsconfig.json b/packages/shared-ux/page/no_data_config/impl/tsconfig.json index 2f623301513cd..0b9a552bee78c 100644 --- a/packages/shared-ux/page/no_data_config/impl/tsconfig.json +++ b/packages/shared-ux/page/no_data_config/impl/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/shared-ux/page/no_data_config/mocks/BUILD.bazel b/packages/shared-ux/page/no_data_config/mocks/BUILD.bazel index fa48d2d6135e3..3906ada90b43e 100644 --- a/packages/shared-ux/page/no_data_config/mocks/BUILD.bazel +++ b/packages/shared-ux/page/no_data_config/mocks/BUILD.bazel @@ -96,7 +96,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -110,6 +109,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -121,17 +128,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/shared-ux/page/no_data_config/mocks/package.json b/packages/shared-ux/page/no_data_config/mocks/package.json index 32245715f2b1b..4277f81e3dcfe 100644 --- a/packages/shared-ux/page/no_data_config/mocks/package.json +++ b/packages/shared-ux/page/no_data_config/mocks/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "browser": "./target_web/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } \ No newline at end of file diff --git a/packages/shared-ux/page/no_data_config/mocks/tsconfig.json b/packages/shared-ux/page/no_data_config/mocks/tsconfig.json index 6a7af9bb371d5..307c421c355d7 100644 --- a/packages/shared-ux/page/no_data_config/mocks/tsconfig.json +++ b/packages/shared-ux/page/no_data_config/mocks/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/shared-ux/page/no_data_config/types/tsconfig.json b/packages/shared-ux/page/no_data_config/types/tsconfig.json index 7a4adfcdbecff..a109753c20458 100644 --- a/packages/shared-ux/page/no_data_config/types/tsconfig.json +++ b/packages/shared-ux/page/no_data_config/types/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/shared-ux/page/solution_nav/BUILD.bazel b/packages/shared-ux/page/solution_nav/BUILD.bazel index 0b6b0a8258029..9dc4115016d65 100644 --- a/packages/shared-ux/page/solution_nav/BUILD.bazel +++ b/packages/shared-ux/page/solution_nav/BUILD.bazel @@ -126,6 +126,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -137,17 +145,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/shared-ux/page/solution_nav/package.json b/packages/shared-ux/page/solution_nav/package.json index f57abed80f231..3f07febd136ff 100644 --- a/packages/shared-ux/page/solution_nav/package.json +++ b/packages/shared-ux/page/solution_nav/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "browser": "./target_web/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/shared-ux/prompt/no_data_views/impl/BUILD.bazel b/packages/shared-ux/prompt/no_data_views/impl/BUILD.bazel index 6d326673bc90c..8d0d5f0733756 100644 --- a/packages/shared-ux/prompt/no_data_views/impl/BUILD.bazel +++ b/packages/shared-ux/prompt/no_data_views/impl/BUILD.bazel @@ -117,7 +117,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -131,6 +130,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -142,17 +149,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/shared-ux/prompt/no_data_views/impl/package.json b/packages/shared-ux/prompt/no_data_views/impl/package.json index 79070e1242994..2be74fd5f5670 100644 --- a/packages/shared-ux/prompt/no_data_views/impl/package.json +++ b/packages/shared-ux/prompt/no_data_views/impl/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "browser": "./target_web/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/shared-ux/prompt/no_data_views/impl/tsconfig.json b/packages/shared-ux/prompt/no_data_views/impl/tsconfig.json index 1ea41c1013592..8a581e3760903 100644 --- a/packages/shared-ux/prompt/no_data_views/impl/tsconfig.json +++ b/packages/shared-ux/prompt/no_data_views/impl/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/shared-ux/prompt/no_data_views/mocks/BUILD.bazel b/packages/shared-ux/prompt/no_data_views/mocks/BUILD.bazel index 6d5bed4906a79..c30e7a9c03cf9 100644 --- a/packages/shared-ux/prompt/no_data_views/mocks/BUILD.bazel +++ b/packages/shared-ux/prompt/no_data_views/mocks/BUILD.bazel @@ -97,7 +97,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -111,6 +110,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -122,17 +129,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/shared-ux/prompt/no_data_views/mocks/package.json b/packages/shared-ux/prompt/no_data_views/mocks/package.json index 2478bd3e76dd4..4485a0918cda7 100644 --- a/packages/shared-ux/prompt/no_data_views/mocks/package.json +++ b/packages/shared-ux/prompt/no_data_views/mocks/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "browser": "./target_web/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } \ No newline at end of file diff --git a/packages/shared-ux/prompt/no_data_views/mocks/tsconfig.json b/packages/shared-ux/prompt/no_data_views/mocks/tsconfig.json index d0c94b11c5748..56a703280be4e 100644 --- a/packages/shared-ux/prompt/no_data_views/mocks/tsconfig.json +++ b/packages/shared-ux/prompt/no_data_views/mocks/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/shared-ux/prompt/no_data_views/types/tsconfig.json b/packages/shared-ux/prompt/no_data_views/types/tsconfig.json index 7a4adfcdbecff..a109753c20458 100644 --- a/packages/shared-ux/prompt/no_data_views/types/tsconfig.json +++ b/packages/shared-ux/prompt/no_data_views/types/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/shared-ux/router/impl/BUILD.bazel b/packages/shared-ux/router/impl/BUILD.bazel index bc9b0aaac6d38..a008a5d15df59 100644 --- a/packages/shared-ux/router/impl/BUILD.bazel +++ b/packages/shared-ux/router/impl/BUILD.bazel @@ -99,7 +99,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -113,6 +112,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -124,17 +131,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/shared-ux/router/impl/package.json b/packages/shared-ux/router/impl/package.json index 3faa6ac609ebc..6c80fa334caa4 100644 --- a/packages/shared-ux/router/impl/package.json +++ b/packages/shared-ux/router/impl/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "browser": "./target_web/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/shared-ux/router/impl/tsconfig.json b/packages/shared-ux/router/impl/tsconfig.json index 764f1f42f52f9..b804dcf4531f6 100644 --- a/packages/shared-ux/router/impl/tsconfig.json +++ b/packages/shared-ux/router/impl/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/shared-ux/router/mocks/BUILD.bazel b/packages/shared-ux/router/mocks/BUILD.bazel index 248dd93ce803b..6a7e263075e8a 100644 --- a/packages/shared-ux/router/mocks/BUILD.bazel +++ b/packages/shared-ux/router/mocks/BUILD.bazel @@ -93,7 +93,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", root_dir = ".", @@ -108,6 +107,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -119,17 +126,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/shared-ux/router/mocks/package.json b/packages/shared-ux/router/mocks/package.json index d089a5d01f106..a4dcbf97cb778 100644 --- a/packages/shared-ux/router/mocks/package.json +++ b/packages/shared-ux/router/mocks/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "browser": "./target_web/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/packages/shared-ux/router/mocks/tsconfig.json b/packages/shared-ux/router/mocks/tsconfig.json index a4f1ce7985a55..6548f04ad9fd3 100644 --- a/packages/shared-ux/router/mocks/tsconfig.json +++ b/packages/shared-ux/router/mocks/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "rootDir": ".", diff --git a/packages/shared-ux/router/types/tsconfig.json b/packages/shared-ux/router/types/tsconfig.json index 1a57218f76493..8ad061f2a6e2b 100644 --- a/packages/shared-ux/router/types/tsconfig.json +++ b/packages/shared-ux/router/types/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/shared-ux/storybook/config/BUILD.bazel b/packages/shared-ux/storybook/config/BUILD.bazel index 422fe45ee7226..9451199caf5c9 100644 --- a/packages/shared-ux/storybook/config/BUILD.bazel +++ b/packages/shared-ux/storybook/config/BUILD.bazel @@ -100,7 +100,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -114,6 +113,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -125,17 +132,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/shared-ux/storybook/config/package.json b/packages/shared-ux/storybook/config/package.json index ee7206b2d87df..bcf7b626d7a26 100644 --- a/packages/shared-ux/storybook/config/package.json +++ b/packages/shared-ux/storybook/config/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "browser": "./target_web/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } \ No newline at end of file diff --git a/packages/shared-ux/storybook/config/tsconfig.json b/packages/shared-ux/storybook/config/tsconfig.json index d3feada0ae0fc..c19d100b90e40 100644 --- a/packages/shared-ux/storybook/config/tsconfig.json +++ b/packages/shared-ux/storybook/config/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/shared-ux/storybook/mock/BUILD.bazel b/packages/shared-ux/storybook/mock/BUILD.bazel index feff755d4828c..2b59617938208 100644 --- a/packages/shared-ux/storybook/mock/BUILD.bazel +++ b/packages/shared-ux/storybook/mock/BUILD.bazel @@ -94,7 +94,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -108,6 +107,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -119,17 +126,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/packages/shared-ux/storybook/mock/package.json b/packages/shared-ux/storybook/mock/package.json index 0baee9437cac0..83429ee8a3249 100644 --- a/packages/shared-ux/storybook/mock/package.json +++ b/packages/shared-ux/storybook/mock/package.json @@ -4,5 +4,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "browser": "./target_web/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } \ No newline at end of file diff --git a/packages/shared-ux/storybook/mock/tsconfig.json b/packages/shared-ux/storybook/mock/tsconfig.json index ca626e2c05d8c..d5dece108de5d 100644 --- a/packages/shared-ux/storybook/mock/tsconfig.json +++ b/packages/shared-ux/storybook/mock/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/src/plugins/advanced_settings/tsconfig.json b/src/plugins/advanced_settings/tsconfig.json index 5bf4ce3d6248b..921db12b89863 100644 --- a/src/plugins/advanced_settings/tsconfig.json +++ b/src/plugins/advanced_settings/tsconfig.json @@ -4,13 +4,12 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "public/**/*", "server/**/*" ], - "references": [ + "kbn_references": [ { "path": "../../core/tsconfig.json" }, { "path": "../management/tsconfig.json" }, { "path": "../home/tsconfig.json" }, diff --git a/src/plugins/bfetch/tsconfig.json b/src/plugins/bfetch/tsconfig.json index 8fceb7d815ee9..829b781e8bd2c 100644 --- a/src/plugins/bfetch/tsconfig.json +++ b/src/plugins/bfetch/tsconfig.json @@ -4,10 +4,9 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": ["common/**/*", "public/**/*", "server/**/*", "index.ts"], - "references": [ + "kbn_references": [ { "path": "../../core/tsconfig.json" }, { "path": "../kibana_utils/tsconfig.json" }, ] diff --git a/src/plugins/chart_expressions/expression_gauge/tsconfig.json b/src/plugins/chart_expressions/expression_gauge/tsconfig.json index fb6f5e2ec90b8..3ab82197cb9f8 100644 --- a/src/plugins/chart_expressions/expression_gauge/tsconfig.json +++ b/src/plugins/chart_expressions/expression_gauge/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true, "isolatedModules": true }, "include": [ @@ -12,7 +11,7 @@ "public/**/*", "server/**/*", ], - "references": [ + "kbn_references": [ { "path": "../tsconfig.json" }, { "path": "../../../core/tsconfig.json" }, { "path": "../../expressions/tsconfig.json" }, diff --git a/src/plugins/chart_expressions/expression_heatmap/tsconfig.json b/src/plugins/chart_expressions/expression_heatmap/tsconfig.json index fb6f5e2ec90b8..3ab82197cb9f8 100644 --- a/src/plugins/chart_expressions/expression_heatmap/tsconfig.json +++ b/src/plugins/chart_expressions/expression_heatmap/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true, "isolatedModules": true }, "include": [ @@ -12,7 +11,7 @@ "public/**/*", "server/**/*", ], - "references": [ + "kbn_references": [ { "path": "../tsconfig.json" }, { "path": "../../../core/tsconfig.json" }, { "path": "../../expressions/tsconfig.json" }, diff --git a/src/plugins/chart_expressions/expression_legacy_metric/tsconfig.json b/src/plugins/chart_expressions/expression_legacy_metric/tsconfig.json index 230318aa0e04d..900bc4c8da266 100644 --- a/src/plugins/chart_expressions/expression_legacy_metric/tsconfig.json +++ b/src/plugins/chart_expressions/expression_legacy_metric/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true, "isolatedModules": true }, "include": [ @@ -12,7 +11,7 @@ "public/**/*", "server/**/*", ], - "references": [ + "kbn_references": [ { "path": "../tsconfig.json" }, { "path": "../../../core/tsconfig.json" }, { "path": "../../expressions/tsconfig.json" }, diff --git a/src/plugins/chart_expressions/expression_metric/tsconfig.json b/src/plugins/chart_expressions/expression_metric/tsconfig.json index fb6f5e2ec90b8..3ab82197cb9f8 100644 --- a/src/plugins/chart_expressions/expression_metric/tsconfig.json +++ b/src/plugins/chart_expressions/expression_metric/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true, "isolatedModules": true }, "include": [ @@ -12,7 +11,7 @@ "public/**/*", "server/**/*", ], - "references": [ + "kbn_references": [ { "path": "../tsconfig.json" }, { "path": "../../../core/tsconfig.json" }, { "path": "../../expressions/tsconfig.json" }, diff --git a/src/plugins/chart_expressions/expression_partition_vis/tsconfig.json b/src/plugins/chart_expressions/expression_partition_vis/tsconfig.json index 54434f0d30c21..c899eae805aff 100644 --- a/src/plugins/chart_expressions/expression_partition_vis/tsconfig.json +++ b/src/plugins/chart_expressions/expression_partition_vis/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true, "isolatedModules": true }, "include": [ @@ -12,7 +11,7 @@ "public/**/*", "server/**/*", ], - "references": [ + "kbn_references": [ { "path": "../tsconfig.json" }, { "path": "../../../core/tsconfig.json" }, { "path": "../../expressions/tsconfig.json" }, diff --git a/src/plugins/chart_expressions/expression_tagcloud/tsconfig.json b/src/plugins/chart_expressions/expression_tagcloud/tsconfig.json index 30d2da20d4bdd..70951dc9e2c08 100644 --- a/src/plugins/chart_expressions/expression_tagcloud/tsconfig.json +++ b/src/plugins/chart_expressions/expression_tagcloud/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true, "isolatedModules": true }, "include": [ @@ -12,7 +11,7 @@ "public/**/*", "server/**/*", ], - "references": [ + "kbn_references": [ { "path": "../tsconfig.json" }, { "path": "../../../core/tsconfig.json" }, { "path": "../../presentation_util/tsconfig.json" }, diff --git a/src/plugins/chart_expressions/expression_xy/tsconfig.json b/src/plugins/chart_expressions/expression_xy/tsconfig.json index cb45e437ccd39..62d9861684ccf 100644 --- a/src/plugins/chart_expressions/expression_xy/tsconfig.json +++ b/src/plugins/chart_expressions/expression_xy/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true, "isolatedModules": true }, "include": [ @@ -12,7 +11,7 @@ "public/**/*", "server/**/*", ], - "references": [ + "kbn_references": [ { "path": "../tsconfig.json" }, { "path": "../../charts/tsconfig.json" }, { "path": "../../../core/tsconfig.json" }, diff --git a/src/plugins/chart_expressions/tsconfig.json b/src/plugins/chart_expressions/tsconfig.json index caa1608e4cefb..6890928b48d6c 100644 --- a/src/plugins/chart_expressions/tsconfig.json +++ b/src/plugins/chart_expressions/tsconfig.json @@ -10,7 +10,7 @@ "include": [ "common/**/*" ], - "references": [ + "kbn_references": [ { "path": "../../core/tsconfig.json" }, ] } diff --git a/src/plugins/charts/tsconfig.json b/src/plugins/charts/tsconfig.json index fc05a26068654..881263657efbc 100644 --- a/src/plugins/charts/tsconfig.json +++ b/src/plugins/charts/tsconfig.json @@ -4,10 +4,9 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": ["common/**/*", "public/**/*", "server/**/*"], - "references": [ + "kbn_references": [ { "path": "../../core/tsconfig.json" }, { "path": "../expressions/tsconfig.json" }, { "path": "../embeddable/tsconfig.json" } diff --git a/src/plugins/console/tsconfig.json b/src/plugins/console/tsconfig.json index 1597ce812edc5..25abeb2ca24d2 100644 --- a/src/plugins/console/tsconfig.json +++ b/src/plugins/console/tsconfig.json @@ -4,10 +4,9 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": ["common/**/*", "public/**/*", "server/**/*"], - "references": [ + "kbn_references": [ { "path": "../../core/tsconfig.json" }, { "path": "../dev_tools/tsconfig.json" }, { "path": "../es_ui_shared/tsconfig.json" }, diff --git a/src/plugins/controls/tsconfig.json b/src/plugins/controls/tsconfig.json index 5a17afc931340..75fa7069996ac 100644 --- a/src/plugins/controls/tsconfig.json +++ b/src/plugins/controls/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "extraPublicDirs": ["common"], "include": [ @@ -16,7 +15,7 @@ "../../../typings/**/*", "./jest_setup.ts" ], - "references": [ + "kbn_references": [ { "path": "../../core/tsconfig.json" }, { "path": "../saved_objects/tsconfig.json" }, { "path": "../kibana_react/tsconfig.json" }, diff --git a/src/plugins/custom_integrations/tsconfig.json b/src/plugins/custom_integrations/tsconfig.json index 4637688572bb1..0fee0d2156ce9 100644 --- a/src/plugins/custom_integrations/tsconfig.json +++ b/src/plugins/custom_integrations/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "../../../typings/**/*", @@ -13,7 +12,7 @@ "server/**/*", "storybook/**/*" ], - "references": [ + "kbn_references": [ { "path": "../../core/tsconfig.json" }, { "path": "../kibana_react/tsconfig.json" } ] diff --git a/src/plugins/dashboard/tsconfig.json b/src/plugins/dashboard/tsconfig.json index 862bed9d667a0..9769a1dd4deca 100644 --- a/src/plugins/dashboard/tsconfig.json +++ b/src/plugins/dashboard/tsconfig.json @@ -4,10 +4,9 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": ["*.ts", ".storybook/**/*", "common/**/*", "public/**/*", "server/**/*"], - "references": [ + "kbn_references": [ { "path": "../../core/tsconfig.json" }, { "path": "../inspector/tsconfig.json" }, { "path": "../kibana_react/tsconfig.json" }, diff --git a/src/plugins/data/tsconfig.json b/src/plugins/data/tsconfig.json index 2e9c05992cc9d..415ec0795359b 100644 --- a/src/plugins/data/tsconfig.json +++ b/src/plugins/data/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "common/**/*", @@ -16,7 +15,7 @@ "public/**/*.json", "../../../typings/index.d.ts" ], - "references": [ + "kbn_references": [ { "path": "../../core/tsconfig.json" }, { "path": "../bfetch/tsconfig.json" }, { "path": "../ui_actions/tsconfig.json" }, diff --git a/src/plugins/data_view_editor/tsconfig.json b/src/plugins/data_view_editor/tsconfig.json index 441894b02e351..6a0f779db2f9c 100644 --- a/src/plugins/data_view_editor/tsconfig.json +++ b/src/plugins/data_view_editor/tsconfig.json @@ -4,12 +4,11 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "public/**/*", ], - "references": [ + "kbn_references": [ { "path": "../../core/tsconfig.json" }, { "path": "../data/tsconfig.json" }, { "path": "../data_views/tsconfig.json" }, diff --git a/src/plugins/data_view_field_editor/tsconfig.json b/src/plugins/data_view_field_editor/tsconfig.json index 2d1f603a1183d..c4f3c835bff02 100644 --- a/src/plugins/data_view_field_editor/tsconfig.json +++ b/src/plugins/data_view_field_editor/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "../../../typings/**/*", @@ -13,7 +12,7 @@ "public/**/*", "server/**/*", ], - "references": [ + "kbn_references": [ { "path": "../../core/tsconfig.json" }, { "path": "../data/tsconfig.json" }, { "path": "../data_views/tsconfig.json" }, diff --git a/src/plugins/data_view_management/tsconfig.json b/src/plugins/data_view_management/tsconfig.json index 374cea271ed90..9d2b60cc69543 100644 --- a/src/plugins/data_view_management/tsconfig.json +++ b/src/plugins/data_view_management/tsconfig.json @@ -4,13 +4,12 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "public/**/*", "server/**/*", ], - "references": [ + "kbn_references": [ { "path": "../../core/tsconfig.json" }, { "path": "../data/tsconfig.json" }, { "path": "../management/tsconfig.json" }, diff --git a/src/plugins/data_views/tsconfig.json b/src/plugins/data_views/tsconfig.json index f5c80ce30cce0..5ac2028373852 100644 --- a/src/plugins/data_views/tsconfig.json +++ b/src/plugins/data_views/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "common/**/*", @@ -15,7 +14,7 @@ "public/**/*.json", "server/**/*.json" ], - "references": [ + "kbn_references": [ { "path": "../../core/tsconfig.json" }, { "path": "../usage_collection/tsconfig.json" }, { "path": "../kibana_utils/tsconfig.json" }, diff --git a/src/plugins/dev_tools/tsconfig.json b/src/plugins/dev_tools/tsconfig.json index df16711f6ea50..d7addc6650756 100644 --- a/src/plugins/dev_tools/tsconfig.json +++ b/src/plugins/dev_tools/tsconfig.json @@ -4,10 +4,9 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": ["public/**/*"], - "references": [ + "kbn_references": [ { "path": "../../core/tsconfig.json" }, { "path": "../url_forwarding/tsconfig.json" }, { "path": "../../../src/plugins/management/tsconfig.json" } diff --git a/src/plugins/discover/tsconfig.json b/src/plugins/discover/tsconfig.json index 93488793f8237..041cc6fc277c4 100644 --- a/src/plugins/discover/tsconfig.json +++ b/src/plugins/discover/tsconfig.json @@ -4,10 +4,9 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": ["common/**/*", "public/**/*", "server/**/*", "../../../typings/**/*", ".storybook/**/*"], - "references": [ + "kbn_references": [ { "path": "../../core/tsconfig.json" }, { "path": "../charts/tsconfig.json" }, { "path": "../saved_search/tsconfig.json" }, diff --git a/src/plugins/embeddable/tsconfig.json b/src/plugins/embeddable/tsconfig.json index e1edfc039f360..6943f5fdc5471 100644 --- a/src/plugins/embeddable/tsconfig.json +++ b/src/plugins/embeddable/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ ".storybook/**/*", @@ -12,7 +11,7 @@ "public/**/*", "server/**/*" ], - "references": [ + "kbn_references": [ { "path": "../../core/tsconfig.json" }, { "path": "../inspector/tsconfig.json" }, { "path": "../saved_objects/tsconfig.json" }, diff --git a/src/plugins/es_ui_shared/tsconfig.json b/src/plugins/es_ui_shared/tsconfig.json index 430ec5b85e4f7..5cb4f3ddfffa7 100644 --- a/src/plugins/es_ui_shared/tsconfig.json +++ b/src/plugins/es_ui_shared/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "__packages_do_not_import__/**/*", @@ -15,7 +14,7 @@ "../../../typings/**/*", ".storybook/**/*" ], - "references": [ + "kbn_references": [ { "path": "../../core/tsconfig.json" }, { "path": "../data_views/tsconfig.json" } ] diff --git a/src/plugins/event_annotation/tsconfig.json b/src/plugins/event_annotation/tsconfig.json index 31f9c45e1e85b..21d8b73900569 100644 --- a/src/plugins/event_annotation/tsconfig.json +++ b/src/plugins/event_annotation/tsconfig.json @@ -4,14 +4,13 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "common/**/*", "public/**/*", "server/**/*" ], - "references": [ + "kbn_references": [ { "path": "../../core/tsconfig.json" }, diff --git a/src/plugins/expression_error/tsconfig.json b/src/plugins/expression_error/tsconfig.json index 111ff58935a35..419685fe65a31 100644 --- a/src/plugins/expression_error/tsconfig.json +++ b/src/plugins/expression_error/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true, "isolatedModules": true }, "include": [ @@ -12,7 +11,7 @@ "public/**/*", "server/**/*", ], - "references": [ + "kbn_references": [ { "path": "../../core/tsconfig.json" }, { "path": "../presentation_util/tsconfig.json" }, { "path": "../expressions/tsconfig.json" }, diff --git a/src/plugins/expression_image/tsconfig.json b/src/plugins/expression_image/tsconfig.json index 9a7175a8d767b..f77c026619110 100644 --- a/src/plugins/expression_image/tsconfig.json +++ b/src/plugins/expression_image/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true, "isolatedModules": true }, "include": [ @@ -13,7 +12,7 @@ "server/**/*", "__fixtures__/**/*", ], - "references": [ + "kbn_references": [ { "path": "../../core/tsconfig.json" }, { "path": "../presentation_util/tsconfig.json" }, { "path": "../expressions/tsconfig.json" }, diff --git a/src/plugins/expression_metric/tsconfig.json b/src/plugins/expression_metric/tsconfig.json index 9a7175a8d767b..f77c026619110 100644 --- a/src/plugins/expression_metric/tsconfig.json +++ b/src/plugins/expression_metric/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true, "isolatedModules": true }, "include": [ @@ -13,7 +12,7 @@ "server/**/*", "__fixtures__/**/*", ], - "references": [ + "kbn_references": [ { "path": "../../core/tsconfig.json" }, { "path": "../presentation_util/tsconfig.json" }, { "path": "../expressions/tsconfig.json" }, diff --git a/src/plugins/expression_repeat_image/tsconfig.json b/src/plugins/expression_repeat_image/tsconfig.json index 111ff58935a35..419685fe65a31 100644 --- a/src/plugins/expression_repeat_image/tsconfig.json +++ b/src/plugins/expression_repeat_image/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true, "isolatedModules": true }, "include": [ @@ -12,7 +11,7 @@ "public/**/*", "server/**/*", ], - "references": [ + "kbn_references": [ { "path": "../../core/tsconfig.json" }, { "path": "../presentation_util/tsconfig.json" }, { "path": "../expressions/tsconfig.json" }, diff --git a/src/plugins/expression_reveal_image/tsconfig.json b/src/plugins/expression_reveal_image/tsconfig.json index 111ff58935a35..419685fe65a31 100644 --- a/src/plugins/expression_reveal_image/tsconfig.json +++ b/src/plugins/expression_reveal_image/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true, "isolatedModules": true }, "include": [ @@ -12,7 +11,7 @@ "public/**/*", "server/**/*", ], - "references": [ + "kbn_references": [ { "path": "../../core/tsconfig.json" }, { "path": "../presentation_util/tsconfig.json" }, { "path": "../expressions/tsconfig.json" }, diff --git a/src/plugins/expression_shape/tsconfig.json b/src/plugins/expression_shape/tsconfig.json index 9a7175a8d767b..f77c026619110 100644 --- a/src/plugins/expression_shape/tsconfig.json +++ b/src/plugins/expression_shape/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true, "isolatedModules": true }, "include": [ @@ -13,7 +12,7 @@ "server/**/*", "__fixtures__/**/*", ], - "references": [ + "kbn_references": [ { "path": "../../core/tsconfig.json" }, { "path": "../presentation_util/tsconfig.json" }, { "path": "../expressions/tsconfig.json" }, diff --git a/src/plugins/expressions/tsconfig.json b/src/plugins/expressions/tsconfig.json index 7bfed50cba0f1..890274c1b3911 100644 --- a/src/plugins/expressions/tsconfig.json +++ b/src/plugins/expressions/tsconfig.json @@ -4,10 +4,9 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": ["common/**/*", "public/**/*", "server/**/*", "./index.ts"], - "references": [ + "kbn_references": [ { "path": "../../core/tsconfig.json" }, { "path": "../kibana_utils/tsconfig.json" }, { "path": "../inspector/tsconfig.json" }, diff --git a/src/plugins/field_formats/tsconfig.json b/src/plugins/field_formats/tsconfig.json index 9fb87bc5dd970..4838076f81cd3 100644 --- a/src/plugins/field_formats/tsconfig.json +++ b/src/plugins/field_formats/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "common/**/*", @@ -14,5 +13,5 @@ "common/**/*.json", "public/**/*.json" ], - "references": [{ "path": "../../core/tsconfig.json" }] + "kbn_references": [{ "path": "../../core/tsconfig.json" }] } diff --git a/src/plugins/guided_onboarding/tsconfig.json b/src/plugins/guided_onboarding/tsconfig.json index 2837b97459430..4833767f0d6ec 100644 --- a/src/plugins/guided_onboarding/tsconfig.json +++ b/src/plugins/guided_onboarding/tsconfig.json @@ -4,11 +4,10 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": ["common/**/*", "public/**/*", "server/**/*"], - "references": [ + "kbn_references": [ { "path": "../../core/tsconfig.json" }, diff --git a/src/plugins/home/tsconfig.json b/src/plugins/home/tsconfig.json index af12fb12f3381..b7c8c94e30b8b 100644 --- a/src/plugins/home/tsconfig.json +++ b/src/plugins/home/tsconfig.json @@ -4,11 +4,10 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true, "isolatedModules": true }, "include": ["common/**/*", "public/**/*", "server/**/*", "config.ts", ".storybook/**/*"], - "references": [ + "kbn_references": [ { "path": "../../core/tsconfig.json" }, { "path": "../data_views/tsconfig.json" }, { "path": "../custom_integrations/tsconfig.json" }, diff --git a/src/plugins/input_control_vis/tsconfig.json b/src/plugins/input_control_vis/tsconfig.json index 1840efb32bbcf..0fd1cae17a21d 100644 --- a/src/plugins/input_control_vis/tsconfig.json +++ b/src/plugins/input_control_vis/tsconfig.json @@ -4,13 +4,12 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "public/**/*", "server/**/*", ], - "references": [ + "kbn_references": [ { "path": "../kibana_react/tsconfig.json" }, { "path": "../data/tsconfig.json"}, { "path": "../data_views/tsconfig.json"}, diff --git a/src/plugins/inspector/tsconfig.json b/src/plugins/inspector/tsconfig.json index fd82c73d087cc..5ccf9c81aee71 100644 --- a/src/plugins/inspector/tsconfig.json +++ b/src/plugins/inspector/tsconfig.json @@ -4,10 +4,9 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": ["common/**/*", "public/**/*", "index.ts"], - "references": [ + "kbn_references": [ { "path": "../../core/tsconfig.json" }, { "path": "../kibana_react/tsconfig.json" }, { "path": "../share/tsconfig.json" } diff --git a/src/plugins/interactive_setup/tsconfig.json b/src/plugins/interactive_setup/tsconfig.json index 6ebeff836f69b..d3b0e79241850 100644 --- a/src/plugins/interactive_setup/tsconfig.json +++ b/src/plugins/interactive_setup/tsconfig.json @@ -4,8 +4,7 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": ["common/**/*", "public/**/*", "server/**/*"], - "references": [{ "path": "../../core/tsconfig.json" }] + "kbn_references": [{ "path": "../../core/tsconfig.json" }] } diff --git a/src/plugins/kibana_overview/tsconfig.json b/src/plugins/kibana_overview/tsconfig.json index ffa89f25316a9..98d5602cbd1a0 100644 --- a/src/plugins/kibana_overview/tsconfig.json +++ b/src/plugins/kibana_overview/tsconfig.json @@ -4,13 +4,12 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "public/**/*", "common/**/*", ], - "references": [ + "kbn_references": [ { "path": "../../core/tsconfig.json" }, { "path": "../../plugins/navigation/tsconfig.json" }, { "path": "../../plugins/data/tsconfig.json" }, diff --git a/src/plugins/kibana_react/tsconfig.json b/src/plugins/kibana_react/tsconfig.json index 43b51a45e08c4..3469a30024b54 100644 --- a/src/plugins/kibana_react/tsconfig.json +++ b/src/plugins/kibana_react/tsconfig.json @@ -4,8 +4,7 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [".storybook/**/*", "common/**/*", "public/**/*", "../../../typings/**/*"], - "references": [{ "path": "../kibana_utils/tsconfig.json" }] + "kbn_references": [{ "path": "../kibana_utils/tsconfig.json" }] } diff --git a/src/plugins/kibana_usage_collection/tsconfig.json b/src/plugins/kibana_usage_collection/tsconfig.json index d03ceb4bf3aac..2ad8ff44a3128 100644 --- a/src/plugins/kibana_usage_collection/tsconfig.json +++ b/src/plugins/kibana_usage_collection/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true, "isolatedModules": true }, "include": [ @@ -13,7 +12,7 @@ "server/**/**/*", "../../../typings/*" ], - "references": [ + "kbn_references": [ { "path": "../../core/tsconfig.json" }, { "path": "../../plugins/usage_collection/tsconfig.json" }, { "path": "../../plugins/telemetry/tsconfig.json" }, diff --git a/src/plugins/kibana_utils/tsconfig.json b/src/plugins/kibana_utils/tsconfig.json index 0fba68be6aa57..1b5d5491ff28a 100644 --- a/src/plugins/kibana_utils/tsconfig.json +++ b/src/plugins/kibana_utils/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "common/**/*", @@ -14,5 +13,5 @@ "index.ts", "../../../typings/**/*" ], - "references": [{ "path": "../../core/tsconfig.json" }] + "kbn_references": [{ "path": "../../core/tsconfig.json" }] } diff --git a/src/plugins/management/tsconfig.json b/src/plugins/management/tsconfig.json index beef79c9affd0..27031a7f93243 100644 --- a/src/plugins/management/tsconfig.json +++ b/src/plugins/management/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "common/**/*", @@ -12,7 +11,7 @@ "server/**/*", "../../../typings/**/*" ], - "references": [ + "kbn_references": [ { "path": "../../core/tsconfig.json" }, { "path": "../home/tsconfig.json"}, { "path": "../kibana_react/tsconfig.json"}, diff --git a/src/plugins/maps_ems/tsconfig.json b/src/plugins/maps_ems/tsconfig.json index e8f3d380639f9..0060910ae4e0a 100644 --- a/src/plugins/maps_ems/tsconfig.json +++ b/src/plugins/maps_ems/tsconfig.json @@ -4,10 +4,9 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": ["common/**/*", "public/**/*", "server/**/*", "./config.ts"], - "references": [ + "kbn_references": [ { "path": "../../core/tsconfig.json" }, { "path": "../../../x-pack/plugins/licensing/tsconfig.json" } ] diff --git a/src/plugins/navigation/tsconfig.json b/src/plugins/navigation/tsconfig.json index ca9acf96f4190..5586a0d795ebd 100644 --- a/src/plugins/navigation/tsconfig.json +++ b/src/plugins/navigation/tsconfig.json @@ -4,10 +4,9 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": ["public/**/*"], - "references": [ + "kbn_references": [ { "path": "../../core/tsconfig.json" }, { "path": "../kibana_react/tsconfig.json" }, { "path": "../data/tsconfig.json" }, diff --git a/src/plugins/newsfeed/tsconfig.json b/src/plugins/newsfeed/tsconfig.json index e1558370fdd04..051ecbe4f202c 100644 --- a/src/plugins/newsfeed/tsconfig.json +++ b/src/plugins/newsfeed/tsconfig.json @@ -4,10 +4,9 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": ["public/**/*", "server/**/*", "common/*", "../../../typings/**/*"], - "references": [ + "kbn_references": [ { "path": "../../core/tsconfig.json" }, { "path": "../kibana_react/tsconfig.json"}, { "path": "../screenshot_mode/tsconfig.json" } diff --git a/src/plugins/presentation_util/tsconfig.json b/src/plugins/presentation_util/tsconfig.json index 38f2cf3c14a12..a4bc9c05f4a9a 100644 --- a/src/plugins/presentation_util/tsconfig.json +++ b/src/plugins/presentation_util/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "extraPublicDirs": ["common"], "include": [ @@ -15,7 +14,7 @@ "storybook/**/*", "../../../typings/**/*" ], - "references": [ + "kbn_references": [ { "path": "../../core/tsconfig.json" }, { "path": "../saved_objects/tsconfig.json" }, { "path": "../embeddable/tsconfig.json" }, diff --git a/src/plugins/saved_objects/tsconfig.json b/src/plugins/saved_objects/tsconfig.json index b8761ab81fa78..fbc175869da2e 100644 --- a/src/plugins/saved_objects/tsconfig.json +++ b/src/plugins/saved_objects/tsconfig.json @@ -4,10 +4,9 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": ["common/**/*", "public/**/*", "server/**/*"], - "references": [ + "kbn_references": [ { "path": "../../core/tsconfig.json" }, { "path": "../data/tsconfig.json" }, { "path": "../kibana_utils/tsconfig.json" }, diff --git a/src/plugins/saved_objects_finder/tsconfig.json b/src/plugins/saved_objects_finder/tsconfig.json index 547ab2cc357f7..197d86c7b1435 100644 --- a/src/plugins/saved_objects_finder/tsconfig.json +++ b/src/plugins/saved_objects_finder/tsconfig.json @@ -4,10 +4,9 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": ["common/**/*", "public/**/*", "server/**/*"], - "references": [ + "kbn_references": [ { "path": "../../core/tsconfig.json" }, { "path": "../saved_objects_management/tsconfig.json" } ] diff --git a/src/plugins/saved_objects_management/tsconfig.json b/src/plugins/saved_objects_management/tsconfig.json index 58483e144aab8..c6c8e80f82341 100644 --- a/src/plugins/saved_objects_management/tsconfig.json +++ b/src/plugins/saved_objects_management/tsconfig.json @@ -4,14 +4,13 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "common/**/*", "public/**/*", "server/**/*", ], - "references": [ + "kbn_references": [ { "path": "../../core/tsconfig.json" }, { "path": "../data/tsconfig.json" }, { "path": "../home/tsconfig.json" }, diff --git a/src/plugins/saved_objects_tagging_oss/tsconfig.json b/src/plugins/saved_objects_tagging_oss/tsconfig.json index 5a3f642a9d6ea..1126b3175a76e 100644 --- a/src/plugins/saved_objects_tagging_oss/tsconfig.json +++ b/src/plugins/saved_objects_tagging_oss/tsconfig.json @@ -4,13 +4,12 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "common/**/*", "public/**/*", ], - "references": [ + "kbn_references": [ { "path": "../../core/tsconfig.json" }, { "path": "../saved_objects/tsconfig.json" }, ] diff --git a/src/plugins/saved_search/tsconfig.json b/src/plugins/saved_search/tsconfig.json index 288f30441b922..785abeea70a3e 100644 --- a/src/plugins/saved_search/tsconfig.json +++ b/src/plugins/saved_search/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "common/**/*", @@ -12,7 +11,7 @@ "server/**/*", "../../../typings/**/*", ], - "references": [ + "kbn_references": [ { "path": "../../core/tsconfig.json" }, { "path": "../data/tsconfig.json" }, { "path": "../kibana_utils/tsconfig.json" }, diff --git a/src/plugins/screenshot_mode/tsconfig.json b/src/plugins/screenshot_mode/tsconfig.json index 832972ae0baa0..5762571bd5bbd 100644 --- a/src/plugins/screenshot_mode/tsconfig.json +++ b/src/plugins/screenshot_mode/tsconfig.json @@ -4,14 +4,13 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "common/**/*", "public/**/*", "server/**/*" ], - "references": [ + "kbn_references": [ { "path": "../../core/tsconfig.json" }, ] } diff --git a/src/plugins/share/tsconfig.json b/src/plugins/share/tsconfig.json index 2633d840895d6..80ef97d5006cc 100644 --- a/src/plugins/share/tsconfig.json +++ b/src/plugins/share/tsconfig.json @@ -4,10 +4,9 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": ["common/**/*", "public/**/*", "server/**/*"], - "references": [ + "kbn_references": [ { "path": "../../core/tsconfig.json" }, { "path": "../kibana_react/tsconfig.json" }, { "path": "../kibana_utils/tsconfig.json" } diff --git a/src/plugins/telemetry/tsconfig.json b/src/plugins/telemetry/tsconfig.json index 052d484447e42..7fc00b85008c4 100644 --- a/src/plugins/telemetry/tsconfig.json +++ b/src/plugins/telemetry/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true, "isolatedModules": true }, "include": [ @@ -15,7 +14,7 @@ "schema/oss_plugins.json", "schema/oss_root.json", ], - "references": [ + "kbn_references": [ { "path": "../../core/tsconfig.json" }, { "path": "../../plugins/home/tsconfig.json" }, { "path": "../../plugins/kibana_react/tsconfig.json" }, diff --git a/src/plugins/telemetry_collection_manager/tsconfig.json b/src/plugins/telemetry_collection_manager/tsconfig.json index adfe3bba07963..cd505b02a02f5 100644 --- a/src/plugins/telemetry_collection_manager/tsconfig.json +++ b/src/plugins/telemetry_collection_manager/tsconfig.json @@ -4,14 +4,13 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true, "isolatedModules": true }, "include": [ "server/**/*", "common/*" ], - "references": [ + "kbn_references": [ { "path": "../../core/tsconfig.json" }, { "path": "../../plugins/usage_collection/tsconfig.json" } ] diff --git a/src/plugins/telemetry_management_section/tsconfig.json b/src/plugins/telemetry_management_section/tsconfig.json index 1e2b2e57d51c8..6ced5687dd321 100644 --- a/src/plugins/telemetry_management_section/tsconfig.json +++ b/src/plugins/telemetry_management_section/tsconfig.json @@ -4,14 +4,13 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true, "isolatedModules": true }, "include": [ "public/**/*", "../../../typings/**/*" ], - "references": [ + "kbn_references": [ { "path": "../../core/tsconfig.json" }, { "path": "../kibana_utils/tsconfig.json" }, { "path": "../usage_collection/tsconfig.json" }, diff --git a/src/plugins/ui_actions/tsconfig.json b/src/plugins/ui_actions/tsconfig.json index 2fa166bae01bc..2bd694005d435 100644 --- a/src/plugins/ui_actions/tsconfig.json +++ b/src/plugins/ui_actions/tsconfig.json @@ -4,10 +4,9 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": ["public/**/*"], - "references": [ + "kbn_references": [ { "path": "../../core/tsconfig.json" }, { "path": "../expressions/tsconfig.json" }, { "path": "../kibana_utils/tsconfig.json" }, diff --git a/src/plugins/ui_actions_enhanced/tsconfig.json b/src/plugins/ui_actions_enhanced/tsconfig.json index d9d9474f0bd72..c0d3e64038dc4 100644 --- a/src/plugins/ui_actions_enhanced/tsconfig.json +++ b/src/plugins/ui_actions_enhanced/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "public/**/*", @@ -12,7 +11,7 @@ "common/**/*", "../../../typings/**/*" ], - "references": [ + "kbn_references": [ { "path": "../../core/tsconfig.json" }, { "path": "../data/tsconfig.json" }, { "path": "../embeddable/tsconfig.json" }, diff --git a/src/plugins/unified_field_list/tsconfig.json b/src/plugins/unified_field_list/tsconfig.json index eabadac9ef6fe..82d06d8618461 100644 --- a/src/plugins/unified_field_list/tsconfig.json +++ b/src/plugins/unified_field_list/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "../../typings/**/*", @@ -12,7 +11,7 @@ "public/**/*", "server/**/*", ], - "references": [ + "kbn_references": [ { "path": "../../core/tsconfig.json" }, { "path": "../kibana_utils/tsconfig.json" }, { "path": "../kibana_react/tsconfig.json" }, diff --git a/src/plugins/unified_histogram/tsconfig.json b/src/plugins/unified_histogram/tsconfig.json index af8f24161fd31..a275fdc784dbc 100644 --- a/src/plugins/unified_histogram/tsconfig.json +++ b/src/plugins/unified_histogram/tsconfig.json @@ -4,10 +4,9 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": ["common/**/*", "public/**/*", "server/**/*"], - "references": [ + "kbn_references": [ { "path": "../../core/tsconfig.json" }, { "path": "../charts/tsconfig.json" }, { "path": "../data/tsconfig.json" }, diff --git a/src/plugins/unified_search/tsconfig.json b/src/plugins/unified_search/tsconfig.json index 2f09d27c84b08..7477e97c779c9 100644 --- a/src/plugins/unified_search/tsconfig.json +++ b/src/plugins/unified_search/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "public/**/*", @@ -13,7 +12,7 @@ "server/**/*", "config.ts", ], - "references": [ + "kbn_references": [ { "path": "../../core/tsconfig.json" }, { "path": "../data/tsconfig.json" }, { "path": "../data_views/tsconfig.json" }, diff --git a/src/plugins/url_forwarding/tsconfig.json b/src/plugins/url_forwarding/tsconfig.json index 464cca51c6b9f..9a108878e86fb 100644 --- a/src/plugins/url_forwarding/tsconfig.json +++ b/src/plugins/url_forwarding/tsconfig.json @@ -4,10 +4,9 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": ["public/**/*"], - "references": [ + "kbn_references": [ { "path": "../../core/tsconfig.json" }, ] } diff --git a/src/plugins/usage_collection/tsconfig.json b/src/plugins/usage_collection/tsconfig.json index 0430eb5d64bf1..531dde7fd609e 100644 --- a/src/plugins/usage_collection/tsconfig.json +++ b/src/plugins/usage_collection/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true, "isolatedModules": true }, "include": [ @@ -13,7 +12,7 @@ "common/*", "../../../typings/**/*" ], - "references": [ + "kbn_references": [ { "path": "../../core/tsconfig.json" }, { "path": "../../plugins/kibana_utils/tsconfig.json" } ] diff --git a/src/plugins/vis_default_editor/tsconfig.json b/src/plugins/vis_default_editor/tsconfig.json index b6edd0176bfd0..6495253035f69 100644 --- a/src/plugins/vis_default_editor/tsconfig.json +++ b/src/plugins/vis_default_editor/tsconfig.json @@ -4,12 +4,11 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "public/**/*" ], - "references": [ + "kbn_references": [ { "path": "../../core/tsconfig.json" }, { "path": "../data/tsconfig.json" }, { "path": "../visualizations/tsconfig.json" }, diff --git a/src/plugins/vis_type_markdown/tsconfig.json b/src/plugins/vis_type_markdown/tsconfig.json index 7c32f44935195..3bd790ef80469 100644 --- a/src/plugins/vis_type_markdown/tsconfig.json +++ b/src/plugins/vis_type_markdown/tsconfig.json @@ -4,14 +4,13 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "public/**/*", "server/**/*", "*.ts" ], - "references": [ + "kbn_references": [ { "path": "../../core/tsconfig.json" }, { "path": "../expressions/tsconfig.json" }, { "path": "../visualizations/tsconfig.json" }, diff --git a/src/plugins/vis_types/gauge/tsconfig.json b/src/plugins/vis_types/gauge/tsconfig.json index b1717173757e7..c94152b4d70df 100644 --- a/src/plugins/vis_types/gauge/tsconfig.json +++ b/src/plugins/vis_types/gauge/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "common/**/*", @@ -12,7 +11,7 @@ "server/**/*", "*.ts" ], - "references": [ + "kbn_references": [ { "path": "../../../core/tsconfig.json" }, { "path": "../../charts/tsconfig.json" }, { "path": "../../data/tsconfig.json" }, diff --git a/src/plugins/vis_types/heatmap/tsconfig.json b/src/plugins/vis_types/heatmap/tsconfig.json index 99e25a4eba632..f35697fe36997 100644 --- a/src/plugins/vis_types/heatmap/tsconfig.json +++ b/src/plugins/vis_types/heatmap/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "common/**/*", @@ -12,7 +11,7 @@ "server/**/*", "*.ts" ], - "references": [ + "kbn_references": [ { "path": "../../../core/tsconfig.json" }, { "path": "../../charts/tsconfig.json" }, { "path": "../../data/tsconfig.json" }, diff --git a/src/plugins/vis_types/metric/tsconfig.json b/src/plugins/vis_types/metric/tsconfig.json index e8e2bb0573014..f86fa052e0884 100644 --- a/src/plugins/vis_types/metric/tsconfig.json +++ b/src/plugins/vis_types/metric/tsconfig.json @@ -4,10 +4,9 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": ["public/**/*", "server/**/*", "*.ts"], - "references": [ + "kbn_references": [ { "path": "../../../core/tsconfig.json" }, { "path": "../../data/tsconfig.json" }, { "path": "../../visualizations/tsconfig.json" }, diff --git a/src/plugins/vis_types/pie/tsconfig.json b/src/plugins/vis_types/pie/tsconfig.json index ed052af072f2a..6c4dc9eae2541 100644 --- a/src/plugins/vis_types/pie/tsconfig.json +++ b/src/plugins/vis_types/pie/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "common/**/*", @@ -12,7 +11,7 @@ "server/**/*", "*.ts" ], - "references": [ + "kbn_references": [ { "path": "../../../core/tsconfig.json" }, { "path": "../../charts/tsconfig.json" }, { "path": "../../data/tsconfig.json" }, diff --git a/src/plugins/vis_types/table/tsconfig.json b/src/plugins/vis_types/table/tsconfig.json index 892c5691c8f04..7af02367b7996 100644 --- a/src/plugins/vis_types/table/tsconfig.json +++ b/src/plugins/vis_types/table/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "common/**/*", @@ -12,7 +11,7 @@ "server/**/*", "*.ts" ], - "references": [ + "kbn_references": [ { "path": "../../../core/tsconfig.json" }, { "path": "../../data/tsconfig.json" }, { "path": "../../visualizations/tsconfig.json" }, diff --git a/src/plugins/vis_types/tagcloud/tsconfig.json b/src/plugins/vis_types/tagcloud/tsconfig.json index 4087f9f04c92b..0159681d2e198 100644 --- a/src/plugins/vis_types/tagcloud/tsconfig.json +++ b/src/plugins/vis_types/tagcloud/tsconfig.json @@ -4,14 +4,13 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "public/**/*", "server/**/*", "*.ts" ], - "references": [ + "kbn_references": [ { "path": "../../../core/tsconfig.json" }, { "path": "../../data/tsconfig.json" }, { "path": "../../expressions/tsconfig.json" }, diff --git a/src/plugins/vis_types/timelion/tsconfig.json b/src/plugins/vis_types/timelion/tsconfig.json index 5e20e43224cdb..ce85b8190205b 100644 --- a/src/plugins/vis_types/timelion/tsconfig.json +++ b/src/plugins/vis_types/timelion/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "common/**/*", @@ -12,7 +11,7 @@ "server/**/*", "*.ts" ], - "references": [ + "kbn_references": [ { "path": "../../../core/tsconfig.json" }, { "path": "../../visualizations/tsconfig.json" }, { "path": "../../data/tsconfig.json" }, diff --git a/src/plugins/vis_types/timeseries/tsconfig.json b/src/plugins/vis_types/timeseries/tsconfig.json index be96a71b9a580..1d5497f4e06b3 100644 --- a/src/plugins/vis_types/timeseries/tsconfig.json +++ b/src/plugins/vis_types/timeseries/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "common/**/*", @@ -13,7 +12,7 @@ "../../../../typings/**/*", "*.ts" ], - "references": [ + "kbn_references": [ { "path": "../../../core/tsconfig.json" }, { "path": "../../charts/tsconfig.json" }, { "path": "../../data/tsconfig.json" }, diff --git a/src/plugins/vis_types/vega/tsconfig.json b/src/plugins/vis_types/vega/tsconfig.json index 7aa32cbda7201..49e8216e3b39c 100644 --- a/src/plugins/vis_types/vega/tsconfig.json +++ b/src/plugins/vis_types/vega/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true, "strictNullChecks": false }, "include": [ @@ -14,7 +13,7 @@ // have to declare *.json explicitly due to https://github.com/microsoft/TypeScript/issues/25636 "public/test_utils/vega_map_test.json" ], - "references": [ + "kbn_references": [ { "path": "../../../core/tsconfig.json" }, { "path": "../../data/tsconfig.json" }, { "path": "../../data_views/tsconfig.json" }, diff --git a/src/plugins/vis_types/vislib/tsconfig.json b/src/plugins/vis_types/vislib/tsconfig.json index ef4d0a97fd2a4..ef2876e91c5fb 100644 --- a/src/plugins/vis_types/vislib/tsconfig.json +++ b/src/plugins/vis_types/vislib/tsconfig.json @@ -4,14 +4,13 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "common/**/*", "public/**/*", "server/**/*" ], - "references": [ + "kbn_references": [ { "path": "../../../core/tsconfig.json" }, { "path": "../../charts/tsconfig.json" }, { "path": "../../data/tsconfig.json" }, diff --git a/src/plugins/vis_types/xy/tsconfig.json b/src/plugins/vis_types/xy/tsconfig.json index 7cc6e60099cbf..f478d2de1b956 100644 --- a/src/plugins/vis_types/xy/tsconfig.json +++ b/src/plugins/vis_types/xy/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "common/**/*", @@ -12,7 +11,7 @@ "server/**/*", "*.ts" ], - "references": [ + "kbn_references": [ { "path": "../../../core/tsconfig.json" }, { "path": "../../charts/tsconfig.json" }, { "path": "../../visualizations/tsconfig.json" }, diff --git a/src/plugins/visualizations/tsconfig.json b/src/plugins/visualizations/tsconfig.json index 6a533c71facd7..7f00434c6181e 100644 --- a/src/plugins/visualizations/tsconfig.json +++ b/src/plugins/visualizations/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "common/**/*", @@ -12,7 +11,7 @@ "server/**/*", "../../../typings/**/*" ], - "references": [ + "kbn_references": [ { "path": "../../core/tsconfig.json" }, { "path": "../charts/tsconfig.json" }, { "path": "../data/tsconfig.json" }, diff --git a/test/analytics/fixtures/plugins/analytics_ftr_helpers/tsconfig.json b/test/analytics/fixtures/plugins/analytics_ftr_helpers/tsconfig.json index c54e279cedf8c..7231438f0b0e0 100644 --- a/test/analytics/fixtures/plugins/analytics_ftr_helpers/tsconfig.json +++ b/test/analytics/fixtures/plugins/analytics_ftr_helpers/tsconfig.json @@ -11,7 +11,7 @@ "../../../../../typings/**/*", ], "exclude": [], - "references": [ + "kbn_references": [ { "path": "../../../../../src/core/tsconfig.json" } ] } diff --git a/test/analytics/fixtures/plugins/analytics_plugin_a/tsconfig.json b/test/analytics/fixtures/plugins/analytics_plugin_a/tsconfig.json index d1faee2d113b6..483252cfa6fd9 100644 --- a/test/analytics/fixtures/plugins/analytics_plugin_a/tsconfig.json +++ b/test/analytics/fixtures/plugins/analytics_plugin_a/tsconfig.json @@ -10,7 +10,7 @@ "../../../../../typings/**/*", ], "exclude": [], - "references": [ + "kbn_references": [ { "path": "../../../../../src/core/tsconfig.json" } ] } diff --git a/test/interactive_setup_api_integration/fixtures/test_endpoints/tsconfig.json b/test/interactive_setup_api_integration/fixtures/test_endpoints/tsconfig.json index 893665751cf30..99f621e423747 100644 --- a/test/interactive_setup_api_integration/fixtures/test_endpoints/tsconfig.json +++ b/test/interactive_setup_api_integration/fixtures/test_endpoints/tsconfig.json @@ -10,7 +10,7 @@ "server/**/*.ts", ], "exclude": [], - "references": [ + "kbn_references": [ { "path": "../../../../src/core/tsconfig.json" }, ], } diff --git a/test/interpreter_functional/plugins/kbn_tp_run_pipeline/tsconfig.json b/test/interpreter_functional/plugins/kbn_tp_run_pipeline/tsconfig.json index 86170d3561408..c50067e5cb872 100644 --- a/test/interpreter_functional/plugins/kbn_tp_run_pipeline/tsconfig.json +++ b/test/interpreter_functional/plugins/kbn_tp_run_pipeline/tsconfig.json @@ -11,7 +11,7 @@ "../../../../typings/**/*", ], "exclude": [], - "references": [ + "kbn_references": [ { "path": "../../../../src/core/tsconfig.json" }, { "path": "../../../../src/plugins/expressions/tsconfig.json" }, { "path": "../../../../src/plugins/inspector/tsconfig.json" }, diff --git a/test/node_roles_functional/plugins/core_plugin_initializer_context/tsconfig.json b/test/node_roles_functional/plugins/core_plugin_initializer_context/tsconfig.json index f148b232e21fb..97fa33bb4d1ed 100644 --- a/test/node_roles_functional/plugins/core_plugin_initializer_context/tsconfig.json +++ b/test/node_roles_functional/plugins/core_plugin_initializer_context/tsconfig.json @@ -9,7 +9,7 @@ "../../../../typings/**/*", ], "exclude": [], - "references": [ + "kbn_references": [ { "path": "../../../../src/core/tsconfig.json" } ] } diff --git a/test/plugin_functional/plugins/app_link_test/tsconfig.json b/test/plugin_functional/plugins/app_link_test/tsconfig.json index b53fafd70cf5d..5e38e7f98cbb6 100644 --- a/test/plugin_functional/plugins/app_link_test/tsconfig.json +++ b/test/plugin_functional/plugins/app_link_test/tsconfig.json @@ -10,7 +10,7 @@ "../../../../typings/**/*", ], "exclude": [], - "references": [ + "kbn_references": [ { "path": "../../../../src/plugins/kibana_react/tsconfig.json" } ] } diff --git a/test/plugin_functional/plugins/core_app_status/tsconfig.json b/test/plugin_functional/plugins/core_app_status/tsconfig.json index f380bcc8e8b36..c81a6cc88fae2 100644 --- a/test/plugin_functional/plugins/core_app_status/tsconfig.json +++ b/test/plugin_functional/plugins/core_app_status/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "index.ts", @@ -13,7 +12,7 @@ "../../../../typings/**/*", ], "exclude": [], - "references": [ + "kbn_references": [ { "path": "../../../../src/core/tsconfig.json" }, ], } diff --git a/test/plugin_functional/plugins/core_history_block/tsconfig.json b/test/plugin_functional/plugins/core_history_block/tsconfig.json index a6882ecb3d1e0..4804462c5637d 100644 --- a/test/plugin_functional/plugins/core_history_block/tsconfig.json +++ b/test/plugin_functional/plugins/core_history_block/tsconfig.json @@ -5,7 +5,7 @@ }, "include": ["index.ts", "public/**/*.ts", "public/**/*.tsx", "../../../../typings/**/*"], "exclude": [], - "references": [ + "kbn_references": [ { "path": "../../../../src/core/tsconfig.json" }, { "path": "../../../../src/plugins/kibana_react/tsconfig.json" } ] diff --git a/test/plugin_functional/plugins/core_http/tsconfig.json b/test/plugin_functional/plugins/core_http/tsconfig.json index eab76d901e427..151126379c603 100644 --- a/test/plugin_functional/plugins/core_http/tsconfig.json +++ b/test/plugin_functional/plugins/core_http/tsconfig.json @@ -11,7 +11,7 @@ "../../../../typings/**/*", ], "exclude": [], - "references": [ + "kbn_references": [ { "path": "../../../../src/core/tsconfig.json" } ] } diff --git a/test/plugin_functional/plugins/core_plugin_a/tsconfig.json b/test/plugin_functional/plugins/core_plugin_a/tsconfig.json index eab76d901e427..151126379c603 100644 --- a/test/plugin_functional/plugins/core_plugin_a/tsconfig.json +++ b/test/plugin_functional/plugins/core_plugin_a/tsconfig.json @@ -11,7 +11,7 @@ "../../../../typings/**/*", ], "exclude": [], - "references": [ + "kbn_references": [ { "path": "../../../../src/core/tsconfig.json" } ] } diff --git a/test/plugin_functional/plugins/core_plugin_appleave/tsconfig.json b/test/plugin_functional/plugins/core_plugin_appleave/tsconfig.json index 87e51c3eab37a..b69ff0d55b060 100644 --- a/test/plugin_functional/plugins/core_plugin_appleave/tsconfig.json +++ b/test/plugin_functional/plugins/core_plugin_appleave/tsconfig.json @@ -10,7 +10,7 @@ "../../../../typings/**/*", ], "exclude": [], - "references": [ + "kbn_references": [ { "path": "../../../../src/core/tsconfig.json" } ] } diff --git a/test/plugin_functional/plugins/core_plugin_b/tsconfig.json b/test/plugin_functional/plugins/core_plugin_b/tsconfig.json index 78476ce6697e1..582a563fa87d6 100644 --- a/test/plugin_functional/plugins/core_plugin_b/tsconfig.json +++ b/test/plugin_functional/plugins/core_plugin_b/tsconfig.json @@ -11,7 +11,7 @@ "../../../../typings/**/*", ], "exclude": [], - "references": [ + "kbn_references": [ { "path": "../../../../src/core/tsconfig.json" }, { "path": "../core_plugin_a/tsconfig.json" }, ] diff --git a/test/plugin_functional/plugins/core_plugin_chromeless/tsconfig.json b/test/plugin_functional/plugins/core_plugin_chromeless/tsconfig.json index 010574f0c3be0..a45b03ddb0183 100644 --- a/test/plugin_functional/plugins/core_plugin_chromeless/tsconfig.json +++ b/test/plugin_functional/plugins/core_plugin_chromeless/tsconfig.json @@ -10,7 +10,7 @@ "../../../../typings/**/*", ], "exclude": [], - "references": [ + "kbn_references": [ { "path": "../../../../src/core/tsconfig.json" }, ] } diff --git a/test/plugin_functional/plugins/core_plugin_deep_links/tsconfig.json b/test/plugin_functional/plugins/core_plugin_deep_links/tsconfig.json index 87e51c3eab37a..b69ff0d55b060 100644 --- a/test/plugin_functional/plugins/core_plugin_deep_links/tsconfig.json +++ b/test/plugin_functional/plugins/core_plugin_deep_links/tsconfig.json @@ -10,7 +10,7 @@ "../../../../typings/**/*", ], "exclude": [], - "references": [ + "kbn_references": [ { "path": "../../../../src/core/tsconfig.json" } ] } diff --git a/test/plugin_functional/plugins/core_plugin_deprecations/tsconfig.json b/test/plugin_functional/plugins/core_plugin_deprecations/tsconfig.json index eab76d901e427..151126379c603 100644 --- a/test/plugin_functional/plugins/core_plugin_deprecations/tsconfig.json +++ b/test/plugin_functional/plugins/core_plugin_deprecations/tsconfig.json @@ -11,7 +11,7 @@ "../../../../typings/**/*", ], "exclude": [], - "references": [ + "kbn_references": [ { "path": "../../../../src/core/tsconfig.json" } ] } diff --git a/test/plugin_functional/plugins/core_plugin_execution_context/tsconfig.json b/test/plugin_functional/plugins/core_plugin_execution_context/tsconfig.json index 4c00a35a3db77..7e4d103b3c8b9 100644 --- a/test/plugin_functional/plugins/core_plugin_execution_context/tsconfig.json +++ b/test/plugin_functional/plugins/core_plugin_execution_context/tsconfig.json @@ -8,7 +8,7 @@ "server/**/*.ts", ], "exclude": [], - "references": [ + "kbn_references": [ { "path": "../../../../src/core/tsconfig.json" } ] } diff --git a/test/plugin_functional/plugins/core_plugin_helpmenu/tsconfig.json b/test/plugin_functional/plugins/core_plugin_helpmenu/tsconfig.json index d346449e67c42..da607f805aca3 100644 --- a/test/plugin_functional/plugins/core_plugin_helpmenu/tsconfig.json +++ b/test/plugin_functional/plugins/core_plugin_helpmenu/tsconfig.json @@ -10,7 +10,7 @@ "../../../../typings/**/*" ], "exclude": [], - "references": [ + "kbn_references": [ { "path": "../../../../src/core/tsconfig.json" } ] } diff --git a/test/plugin_functional/plugins/core_plugin_route_timeouts/tsconfig.json b/test/plugin_functional/plugins/core_plugin_route_timeouts/tsconfig.json index b0e6d4f5d84ce..4e34148ffcc4f 100644 --- a/test/plugin_functional/plugins/core_plugin_route_timeouts/tsconfig.json +++ b/test/plugin_functional/plugins/core_plugin_route_timeouts/tsconfig.json @@ -8,7 +8,7 @@ "../../../../typings/**/*" ], "exclude": [], - "references": [ + "kbn_references": [ { "path": "../../../../src/core/tsconfig.json" } ] } diff --git a/test/plugin_functional/plugins/core_plugin_static_assets/tsconfig.json b/test/plugin_functional/plugins/core_plugin_static_assets/tsconfig.json index d346449e67c42..da607f805aca3 100644 --- a/test/plugin_functional/plugins/core_plugin_static_assets/tsconfig.json +++ b/test/plugin_functional/plugins/core_plugin_static_assets/tsconfig.json @@ -10,7 +10,7 @@ "../../../../typings/**/*" ], "exclude": [], - "references": [ + "kbn_references": [ { "path": "../../../../src/core/tsconfig.json" } ] } diff --git a/test/plugin_functional/plugins/core_provider_plugin/tsconfig.json b/test/plugin_functional/plugins/core_provider_plugin/tsconfig.json index d18f6a63263bf..1010dbde5e134 100644 --- a/test/plugin_functional/plugins/core_provider_plugin/tsconfig.json +++ b/test/plugin_functional/plugins/core_provider_plugin/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "index.ts", @@ -13,7 +12,7 @@ "../../../../typings/**/*" ], "exclude": [], - "references": [ + "kbn_references": [ { "path": "../../../../src/core/tsconfig.json" }, ], } diff --git a/test/plugin_functional/plugins/data_search/tsconfig.json b/test/plugin_functional/plugins/data_search/tsconfig.json index e82f3fca8fb3c..fd0c6aee86728 100644 --- a/test/plugin_functional/plugins/data_search/tsconfig.json +++ b/test/plugin_functional/plugins/data_search/tsconfig.json @@ -8,7 +8,7 @@ "../../../../typings/**/*" ], "exclude": [], - "references": [ + "kbn_references": [ { "path": "../../../../src/core/tsconfig.json" }, { "path": "../../../../src/plugins/data/tsconfig.json" }, ] diff --git a/test/plugin_functional/plugins/elasticsearch_client_plugin/tsconfig.json b/test/plugin_functional/plugins/elasticsearch_client_plugin/tsconfig.json index b0e6d4f5d84ce..4e34148ffcc4f 100644 --- a/test/plugin_functional/plugins/elasticsearch_client_plugin/tsconfig.json +++ b/test/plugin_functional/plugins/elasticsearch_client_plugin/tsconfig.json @@ -8,7 +8,7 @@ "../../../../typings/**/*" ], "exclude": [], - "references": [ + "kbn_references": [ { "path": "../../../../src/core/tsconfig.json" } ] } diff --git a/test/plugin_functional/plugins/index_patterns/tsconfig.json b/test/plugin_functional/plugins/index_patterns/tsconfig.json index 9ac0d7726c379..9eb1323172491 100644 --- a/test/plugin_functional/plugins/index_patterns/tsconfig.json +++ b/test/plugin_functional/plugins/index_patterns/tsconfig.json @@ -10,7 +10,7 @@ "../../../../typings/**/*", ], "exclude": [], - "references": [ + "kbn_references": [ { "path": "../../../../src/core/tsconfig.json" }, { "path": "../../../../src/plugins/data/tsconfig.json" }, ] diff --git a/test/plugin_functional/plugins/kbn_sample_panel_action/tsconfig.json b/test/plugin_functional/plugins/kbn_sample_panel_action/tsconfig.json index 043ace6ce064d..5ee68ce60a9a8 100644 --- a/test/plugin_functional/plugins/kbn_sample_panel_action/tsconfig.json +++ b/test/plugin_functional/plugins/kbn_sample_panel_action/tsconfig.json @@ -10,7 +10,7 @@ "../../../../typings/**/*", ], "exclude": [], - "references": [ + "kbn_references": [ { "path": "../../../../src/core/tsconfig.json" }, { "path": "../../../../src/plugins/ui_actions/tsconfig.json" }, { "path": "../../../../src/plugins/embeddable/tsconfig.json" }, diff --git a/test/plugin_functional/plugins/kbn_top_nav/tsconfig.json b/test/plugin_functional/plugins/kbn_top_nav/tsconfig.json index adf3815905d1d..2d0007320313b 100644 --- a/test/plugin_functional/plugins/kbn_top_nav/tsconfig.json +++ b/test/plugin_functional/plugins/kbn_top_nav/tsconfig.json @@ -11,7 +11,7 @@ "../../../../typings/**/*", ], "exclude": [], - "references": [ + "kbn_references": [ { "path": "../../../../src/core/tsconfig.json" }, { "path": "../../../../src/plugins/navigation/tsconfig.json" }, ] diff --git a/test/plugin_functional/plugins/kbn_tp_custom_visualizations/tsconfig.json b/test/plugin_functional/plugins/kbn_tp_custom_visualizations/tsconfig.json index 8cbb8696409b6..954a4daa1eef0 100644 --- a/test/plugin_functional/plugins/kbn_tp_custom_visualizations/tsconfig.json +++ b/test/plugin_functional/plugins/kbn_tp_custom_visualizations/tsconfig.json @@ -10,7 +10,7 @@ "../../../../typings/**/*" ], "exclude": [], - "references": [ + "kbn_references": [ { "path": "../../../../src/core/tsconfig.json" }, { "path": "../../../../src/plugins/data/tsconfig.json" }, { "path": "../../../../src/plugins/visualizations/tsconfig.json" }, diff --git a/test/plugin_functional/plugins/management_test_plugin/tsconfig.json b/test/plugin_functional/plugins/management_test_plugin/tsconfig.json index 8222b8f011005..ee1ece5036cff 100644 --- a/test/plugin_functional/plugins/management_test_plugin/tsconfig.json +++ b/test/plugin_functional/plugins/management_test_plugin/tsconfig.json @@ -10,7 +10,7 @@ "../../../../typings/**/*", ], "exclude": [], - "references": [ + "kbn_references": [ { "path": "../../../../src/core/tsconfig.json" }, { "path": "../../../../src/plugins/management/tsconfig.json" }, ] diff --git a/test/plugin_functional/plugins/rendering_plugin/tsconfig.json b/test/plugin_functional/plugins/rendering_plugin/tsconfig.json index eab76d901e427..151126379c603 100644 --- a/test/plugin_functional/plugins/rendering_plugin/tsconfig.json +++ b/test/plugin_functional/plugins/rendering_plugin/tsconfig.json @@ -11,7 +11,7 @@ "../../../../typings/**/*", ], "exclude": [], - "references": [ + "kbn_references": [ { "path": "../../../../src/core/tsconfig.json" } ] } diff --git a/test/plugin_functional/plugins/saved_object_export_transforms/tsconfig.json b/test/plugin_functional/plugins/saved_object_export_transforms/tsconfig.json index f148b232e21fb..97fa33bb4d1ed 100644 --- a/test/plugin_functional/plugins/saved_object_export_transforms/tsconfig.json +++ b/test/plugin_functional/plugins/saved_object_export_transforms/tsconfig.json @@ -9,7 +9,7 @@ "../../../../typings/**/*", ], "exclude": [], - "references": [ + "kbn_references": [ { "path": "../../../../src/core/tsconfig.json" } ] } diff --git a/test/plugin_functional/plugins/saved_object_import_warnings/tsconfig.json b/test/plugin_functional/plugins/saved_object_import_warnings/tsconfig.json index eab76d901e427..151126379c603 100644 --- a/test/plugin_functional/plugins/saved_object_import_warnings/tsconfig.json +++ b/test/plugin_functional/plugins/saved_object_import_warnings/tsconfig.json @@ -11,7 +11,7 @@ "../../../../typings/**/*", ], "exclude": [], - "references": [ + "kbn_references": [ { "path": "../../../../src/core/tsconfig.json" } ] } diff --git a/test/plugin_functional/plugins/saved_objects_hidden_type/tsconfig.json b/test/plugin_functional/plugins/saved_objects_hidden_type/tsconfig.json index f148b232e21fb..97fa33bb4d1ed 100644 --- a/test/plugin_functional/plugins/saved_objects_hidden_type/tsconfig.json +++ b/test/plugin_functional/plugins/saved_objects_hidden_type/tsconfig.json @@ -9,7 +9,7 @@ "../../../../typings/**/*", ], "exclude": [], - "references": [ + "kbn_references": [ { "path": "../../../../src/core/tsconfig.json" } ] } diff --git a/test/plugin_functional/plugins/session_notifications/tsconfig.json b/test/plugin_functional/plugins/session_notifications/tsconfig.json index c50f2e3f119c8..32b53be5109fb 100644 --- a/test/plugin_functional/plugins/session_notifications/tsconfig.json +++ b/test/plugin_functional/plugins/session_notifications/tsconfig.json @@ -11,7 +11,7 @@ "../../../../typings/**/*", ], "exclude": [], - "references": [ + "kbn_references": [ { "path": "../../../../src/core/tsconfig.json" }, { "path": "../../../../src/plugins/navigation/tsconfig.json" }, { "path": "../../../../src/plugins/data/tsconfig.json" }, diff --git a/test/plugin_functional/plugins/telemetry/tsconfig.json b/test/plugin_functional/plugins/telemetry/tsconfig.json index b32ac67279f40..bde8ed4c57ae0 100644 --- a/test/plugin_functional/plugins/telemetry/tsconfig.json +++ b/test/plugin_functional/plugins/telemetry/tsconfig.json @@ -5,7 +5,7 @@ }, "include": ["public/**/*.ts", "types.ts", "../../../../typings/**/*"], "exclude": [], - "references": [ + "kbn_references": [ { "path": "../../../../src/core/tsconfig.json" }, { "path": "../../../../src/plugins/telemetry/tsconfig.json" }, ] diff --git a/test/plugin_functional/plugins/ui_settings_plugin/tsconfig.json b/test/plugin_functional/plugins/ui_settings_plugin/tsconfig.json index 6551c1496164f..1282ecf76b30e 100644 --- a/test/plugin_functional/plugins/ui_settings_plugin/tsconfig.json +++ b/test/plugin_functional/plugins/ui_settings_plugin/tsconfig.json @@ -8,7 +8,7 @@ "../../../../typings/**/*", ], "exclude": [], - "references": [ + "kbn_references": [ { "path": "../../../../src/core/tsconfig.json" } ] } diff --git a/test/plugin_functional/plugins/usage_collection/tsconfig.json b/test/plugin_functional/plugins/usage_collection/tsconfig.json index d6f7d08f18589..56abcf79f17d0 100644 --- a/test/plugin_functional/plugins/usage_collection/tsconfig.json +++ b/test/plugin_functional/plugins/usage_collection/tsconfig.json @@ -11,7 +11,7 @@ "../../../../typings/**/*", ], "exclude": [], - "references": [ + "kbn_references": [ { "path": "../../../../src/core/tsconfig.json" }, { "path": "../../../../src/plugins/usage_collection/tsconfig.json" }, ] diff --git a/test/server_integration/__fixtures__/plugins/status_plugin_a/tsconfig.json b/test/server_integration/__fixtures__/plugins/status_plugin_a/tsconfig.json index 14ebb2e7d00c4..e0bcff939a451 100644 --- a/test/server_integration/__fixtures__/plugins/status_plugin_a/tsconfig.json +++ b/test/server_integration/__fixtures__/plugins/status_plugin_a/tsconfig.json @@ -9,7 +9,7 @@ "../../../../../../typings/**/*", ], "exclude": [], - "references": [ + "kbn_references": [ { "path": "../../../../../src/core/tsconfig.json" } ] } diff --git a/test/server_integration/__fixtures__/plugins/status_plugin_b/tsconfig.json b/test/server_integration/__fixtures__/plugins/status_plugin_b/tsconfig.json index 6b27e9b4b7a6c..0d45d9195da6d 100644 --- a/test/server_integration/__fixtures__/plugins/status_plugin_b/tsconfig.json +++ b/test/server_integration/__fixtures__/plugins/status_plugin_b/tsconfig.json @@ -9,7 +9,7 @@ "../../../../../typings/**/*", ], "exclude": [], - "references": [ + "kbn_references": [ { "path": "../../../../../src/core/tsconfig.json" } ] } diff --git a/test/tsconfig.json b/test/tsconfig.json index ac6d07be71bd3..84c5b5eb5ce02 100644 --- a/test/tsconfig.json +++ b/test/tsconfig.json @@ -27,7 +27,7 @@ "server_integration/__fixtures__/plugins/**/*", "*/plugins/**/*", ], - "references": [ + "kbn_references": [ { "path": "../src/core/tsconfig.json" }, { "path": "../src/plugins/telemetry_management_section/tsconfig.json" }, { "path": "../src/plugins/advanced_settings/tsconfig.json" }, diff --git a/tsconfig.json b/tsconfig.json index a60c0b3a11af9..9a00fdfdfc1f9 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -20,7 +20,7 @@ "x-pack/tasks/**/*", ], "exclude": [], - "references": [ + "kbn_references": [ { "path": "./src/core/tsconfig.json" }, { "path": "./src/plugins/usage_collection/tsconfig.json" }, { "path": "./src/plugins/interactive_setup/tsconfig.json" }, diff --git a/x-pack/examples/alerting_example/tsconfig.json b/x-pack/examples/alerting_example/tsconfig.json index 881c48029031d..024d7304ffad0 100644 --- a/x-pack/examples/alerting_example/tsconfig.json +++ b/x-pack/examples/alerting_example/tsconfig.json @@ -12,7 +12,7 @@ "../../../typings/**/*", ], "exclude": [], - "references": [ + "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, { "path": "../../../src/plugins/kibana_react/tsconfig.json" }, { "path": "../../../src/plugins/charts/tsconfig.json" }, diff --git a/x-pack/examples/embedded_lens_example/tsconfig.json b/x-pack/examples/embedded_lens_example/tsconfig.json index e1016a6c011a1..d5689e03aeb6d 100644 --- a/x-pack/examples/embedded_lens_example/tsconfig.json +++ b/x-pack/examples/embedded_lens_example/tsconfig.json @@ -11,7 +11,7 @@ "../../../typings/**/*" ], "exclude": [], - "references": [ + "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, { "path": "../../../src/plugins/data/tsconfig.json" }, { "path": "../../../src/plugins/embeddable/tsconfig.json" }, diff --git a/x-pack/examples/exploratory_view_example/tsconfig.json b/x-pack/examples/exploratory_view_example/tsconfig.json index ef464f3815e28..795beb43c563f 100644 --- a/x-pack/examples/exploratory_view_example/tsconfig.json +++ b/x-pack/examples/exploratory_view_example/tsconfig.json @@ -11,7 +11,7 @@ "../../../typings/**/*" ], "exclude": [], - "references": [ + "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, { "path": "../../../src/plugins/data/tsconfig.json" }, { "path": "../../../src/plugins/embeddable/tsconfig.json" }, diff --git a/x-pack/examples/files_example/tsconfig.json b/x-pack/examples/files_example/tsconfig.json index e75078a80019c..c079931912a96 100644 --- a/x-pack/examples/files_example/tsconfig.json +++ b/x-pack/examples/files_example/tsconfig.json @@ -14,7 +14,7 @@ "../../../typings/**/*" ], "exclude": [], - "references": [ + "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, { "path": "../../plugins/files/tsconfig.json" }, { "path": "../../../examples/developer_examples/tsconfig.json" } diff --git a/x-pack/examples/reporting_example/tsconfig.json b/x-pack/examples/reporting_example/tsconfig.json index 1b097d8e52868..4d20a411bd068 100644 --- a/x-pack/examples/reporting_example/tsconfig.json +++ b/x-pack/examples/reporting_example/tsconfig.json @@ -12,7 +12,7 @@ "../../../typings/**/*" ], "exclude": [], - "references": [ + "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, { "path": "../../../src/plugins/kibana_react/tsconfig.json" }, { "path": "../../../src/plugins/navigation/tsconfig.json" }, diff --git a/x-pack/examples/screenshotting_example/tsconfig.json b/x-pack/examples/screenshotting_example/tsconfig.json index b28f046f7b94b..cf117533adc8c 100644 --- a/x-pack/examples/screenshotting_example/tsconfig.json +++ b/x-pack/examples/screenshotting_example/tsconfig.json @@ -12,7 +12,7 @@ "../../../typings/**/*" ], "exclude": [], - "references": [ + "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, { "path": "../../../src/plugins/kibana_react/tsconfig.json" }, { "path": "../../../src/plugins/navigation/tsconfig.json" }, diff --git a/x-pack/examples/testing_embedded_lens/tsconfig.json b/x-pack/examples/testing_embedded_lens/tsconfig.json index e1016a6c011a1..d5689e03aeb6d 100644 --- a/x-pack/examples/testing_embedded_lens/tsconfig.json +++ b/x-pack/examples/testing_embedded_lens/tsconfig.json @@ -11,7 +11,7 @@ "../../../typings/**/*" ], "exclude": [], - "references": [ + "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, { "path": "../../../src/plugins/data/tsconfig.json" }, { "path": "../../../src/plugins/embeddable/tsconfig.json" }, diff --git a/x-pack/examples/third_party_lens_navigation_prompt/tsconfig.json b/x-pack/examples/third_party_lens_navigation_prompt/tsconfig.json index d1f0f1f152e96..2fe95c9cd4833 100644 --- a/x-pack/examples/third_party_lens_navigation_prompt/tsconfig.json +++ b/x-pack/examples/third_party_lens_navigation_prompt/tsconfig.json @@ -9,7 +9,7 @@ "../../../typings/**/*" ], "exclude": [], - "references": [ + "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, { "path": "../../../src/plugins/expressions/tsconfig.json" }, { "path": "../../../src/plugins/kibana_react/tsconfig.json" }, diff --git a/x-pack/examples/third_party_maps_source_example/tsconfig.json b/x-pack/examples/third_party_maps_source_example/tsconfig.json index 1d8ff2f14e329..988c6c54a2d29 100644 --- a/x-pack/examples/third_party_maps_source_example/tsconfig.json +++ b/x-pack/examples/third_party_maps_source_example/tsconfig.json @@ -9,7 +9,7 @@ "common/**/*.ts", "../../../typings/**/*", ], - "references": [ + "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, { "path": "../../plugins/maps/tsconfig.json"}, { "path": "../../../examples/developer_examples/tsconfig.json" }, diff --git a/x-pack/examples/third_party_vis_lens_example/tsconfig.json b/x-pack/examples/third_party_vis_lens_example/tsconfig.json index d9d1af39a2b98..bb145ebd30065 100644 --- a/x-pack/examples/third_party_vis_lens_example/tsconfig.json +++ b/x-pack/examples/third_party_vis_lens_example/tsconfig.json @@ -11,7 +11,7 @@ "../../../typings/**/*" ], "exclude": [], - "references": [ + "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, { "path": "../../../src/plugins/expressions/tsconfig.json" }, { "path": "../../../src/plugins/kibana_react/tsconfig.json" }, diff --git a/x-pack/examples/triggers_actions_ui_example/tsconfig.json b/x-pack/examples/triggers_actions_ui_example/tsconfig.json index f9a5d7110d7ce..d28a560f8ba88 100644 --- a/x-pack/examples/triggers_actions_ui_example/tsconfig.json +++ b/x-pack/examples/triggers_actions_ui_example/tsconfig.json @@ -11,7 +11,7 @@ "../../../typings/**/*", ], "exclude": [], - "references": [ + "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, { "path": "../../../src/plugins/kibana_react/tsconfig.json" }, { "path": "../../plugins/alerting/tsconfig.json" }, diff --git a/x-pack/examples/ui_actions_enhanced_examples/tsconfig.json b/x-pack/examples/ui_actions_enhanced_examples/tsconfig.json index 0df8dda165f0d..8b87cc628e771 100644 --- a/x-pack/examples/ui_actions_enhanced_examples/tsconfig.json +++ b/x-pack/examples/ui_actions_enhanced_examples/tsconfig.json @@ -11,7 +11,7 @@ "../../../typings/**/*" ], "exclude": [], - "references": [ + "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, { "path": "../../../src/plugins/kibana_utils/tsconfig.json" }, { "path": "../../../src/plugins/kibana_react/tsconfig.json" }, diff --git a/x-pack/packages/ml/agg_utils/BUILD.bazel b/x-pack/packages/ml/agg_utils/BUILD.bazel index 8841369749200..ef8d59c000f01 100644 --- a/x-pack/packages/ml/agg_utils/BUILD.bazel +++ b/x-pack/packages/ml/agg_utils/BUILD.bazel @@ -95,7 +95,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -109,6 +108,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -120,17 +127,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/x-pack/packages/ml/agg_utils/package.json b/x-pack/packages/ml/agg_utils/package.json index c7e49c11207b2..671b3c479e480 100644 --- a/x-pack/packages/ml/agg_utils/package.json +++ b/x-pack/packages/ml/agg_utils/package.json @@ -6,5 +6,6 @@ "private": true, "version": "1.0.0", "main": "./target_node/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/x-pack/packages/ml/agg_utils/tsconfig.json b/x-pack/packages/ml/agg_utils/tsconfig.json index 8afcd182578e7..424a7c9d59623 100644 --- a/x-pack/packages/ml/agg_utils/tsconfig.json +++ b/x-pack/packages/ml/agg_utils/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/x-pack/packages/ml/aiops_components/BUILD.bazel b/x-pack/packages/ml/aiops_components/BUILD.bazel index 08b49643adc2f..b47a6a8b1acd4 100644 --- a/x-pack/packages/ml/aiops_components/BUILD.bazel +++ b/x-pack/packages/ml/aiops_components/BUILD.bazel @@ -131,6 +131,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -142,17 +150,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/x-pack/packages/ml/aiops_components/package.json b/x-pack/packages/ml/aiops_components/package.json index f3cb901271998..e3fd69c7c8e11 100644 --- a/x-pack/packages/ml/aiops_components/package.json +++ b/x-pack/packages/ml/aiops_components/package.json @@ -7,5 +7,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "browser": "./target_web/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/x-pack/packages/ml/aiops_utils/BUILD.bazel b/x-pack/packages/ml/aiops_utils/BUILD.bazel index 0e8edc688c617..b5a8daddebd9a 100644 --- a/x-pack/packages/ml/aiops_utils/BUILD.bazel +++ b/x-pack/packages/ml/aiops_utils/BUILD.bazel @@ -96,7 +96,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -110,6 +109,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -121,17 +128,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/x-pack/packages/ml/aiops_utils/package.json b/x-pack/packages/ml/aiops_utils/package.json index 395e8e4b8a168..d1b7bba50061b 100644 --- a/x-pack/packages/ml/aiops_utils/package.json +++ b/x-pack/packages/ml/aiops_utils/package.json @@ -7,5 +7,6 @@ "version": "1.0.0", "main": "./target_node/index.js", "browser": "./target_web/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/x-pack/packages/ml/aiops_utils/tsconfig.json b/x-pack/packages/ml/aiops_utils/tsconfig.json index 9f2708fb14528..4eb9855fa759d 100644 --- a/x-pack/packages/ml/aiops_utils/tsconfig.json +++ b/x-pack/packages/ml/aiops_utils/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/x-pack/packages/ml/is_populated_object/BUILD.bazel b/x-pack/packages/ml/is_populated_object/BUILD.bazel index 94906ecec9f56..00c2677acc693 100644 --- a/x-pack/packages/ml/is_populated_object/BUILD.bazel +++ b/x-pack/packages/ml/is_populated_object/BUILD.bazel @@ -83,7 +83,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -97,6 +96,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -108,17 +115,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/x-pack/packages/ml/is_populated_object/package.json b/x-pack/packages/ml/is_populated_object/package.json index ec81756845881..f5bdff98a7207 100644 --- a/x-pack/packages/ml/is_populated_object/package.json +++ b/x-pack/packages/ml/is_populated_object/package.json @@ -6,5 +6,6 @@ "private": true, "version": "1.0.0", "main": "./target_node/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/x-pack/packages/ml/is_populated_object/tsconfig.json b/x-pack/packages/ml/is_populated_object/tsconfig.json index 49e920b0a461a..af8fdef592c43 100644 --- a/x-pack/packages/ml/is_populated_object/tsconfig.json +++ b/x-pack/packages/ml/is_populated_object/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/x-pack/packages/ml/string_hash/BUILD.bazel b/x-pack/packages/ml/string_hash/BUILD.bazel index f84191aedec26..b3684de8b3d0c 100644 --- a/x-pack/packages/ml/string_hash/BUILD.bazel +++ b/x-pack/packages/ml/string_hash/BUILD.bazel @@ -83,7 +83,6 @@ ts_project( srcs = SRCS, deps = TYPES_DEPS, declaration = True, - declaration_map = True, emit_declaration_only = True, out_dir = "target_types", tsconfig = ":tsconfig", @@ -97,6 +96,14 @@ js_library( visibility = ["//visibility:public"], ) +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":tsc_types"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + pkg_npm( name = "npm_module", deps = [":" + PKG_DIRNAME], @@ -108,17 +115,8 @@ filegroup( 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( +pkg_npm( name = "build_types", - srcs = [":npm_module_types"], + deps = [":npm_module_types"], visibility = ["//visibility:public"], ) diff --git a/x-pack/packages/ml/string_hash/package.json b/x-pack/packages/ml/string_hash/package.json index 9456893b31658..29bb620205745 100644 --- a/x-pack/packages/ml/string_hash/package.json +++ b/x-pack/packages/ml/string_hash/package.json @@ -6,5 +6,6 @@ "private": true, "version": "1.0.0", "main": "./target_node/index.js", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" } diff --git a/x-pack/packages/ml/string_hash/tsconfig.json b/x-pack/packages/ml/string_hash/tsconfig.json index 49e920b0a461a..af8fdef592c43 100644 --- a/x-pack/packages/ml/string_hash/tsconfig.json +++ b/x-pack/packages/ml/string_hash/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", "stripInternal": false, diff --git a/x-pack/plugins/actions/tsconfig.json b/x-pack/plugins/actions/tsconfig.json index 6fced06e2057f..3928d87b2a871 100644 --- a/x-pack/plugins/actions/tsconfig.json +++ b/x-pack/plugins/actions/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "server/**/*", @@ -13,7 +12,7 @@ "public/**/*", "common/**/*" ], - "references": [ + "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, { "path": "../../../src/plugins/data/tsconfig.json" }, { "path": "../spaces/tsconfig.json" }, diff --git a/x-pack/plugins/aiops/tsconfig.json b/x-pack/plugins/aiops/tsconfig.json index d91aab0ecf39a..d528e4fa3642d 100644 --- a/x-pack/plugins/aiops/tsconfig.json +++ b/x-pack/plugins/aiops/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "../../../typings/**/*", @@ -14,7 +13,7 @@ "server/**/*", "types/**/*" ], - "references": [ + "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, { "path": "../../../src/plugins/kibana_utils/tsconfig.json" }, { "path": "../../../src/plugins/kibana_react/tsconfig.json" }, diff --git a/x-pack/plugins/alerting/tsconfig.json b/x-pack/plugins/alerting/tsconfig.json index 357f4ca940871..105ed878b0975 100644 --- a/x-pack/plugins/alerting/tsconfig.json +++ b/x-pack/plugins/alerting/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "server/**/*", @@ -13,7 +12,7 @@ "public/**/*", "common/*" ], - "references": [ + "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, { "path": "../actions/tsconfig.json" }, { "path": "../spaces/tsconfig.json" }, diff --git a/x-pack/plugins/apm/ftr_e2e/tsconfig.json b/x-pack/plugins/apm/ftr_e2e/tsconfig.json index 94d0da061f4b2..9e423a05eb443 100644 --- a/x-pack/plugins/apm/ftr_e2e/tsconfig.json +++ b/x-pack/plugins/apm/ftr_e2e/tsconfig.json @@ -17,7 +17,7 @@ "cypress-real-events" ] }, - "references": [ + "kbn_references": [ { "path": "../../../test/tsconfig.json" }, { "path": "../../../../test/tsconfig.json" }, { "path": "../tsconfig.json" }, diff --git a/x-pack/plugins/apm/tsconfig.json b/x-pack/plugins/apm/tsconfig.json index 2c10a8d175ad1..c382c84c4f4af 100644 --- a/x-pack/plugins/apm/tsconfig.json +++ b/x-pack/plugins/apm/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "../../../typings/**/*", @@ -17,7 +16,7 @@ "public/**/*.json", "server/**/*.json" ], - "references": [ + "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, { "path": "../../../src/plugins/data/tsconfig.json" }, { "path": "../../../src/plugins/embeddable/tsconfig.json" }, diff --git a/x-pack/plugins/banners/tsconfig.json b/x-pack/plugins/banners/tsconfig.json index 56c347d985ed2..77b896508fac8 100644 --- a/x-pack/plugins/banners/tsconfig.json +++ b/x-pack/plugins/banners/tsconfig.json @@ -4,10 +4,9 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": ["public/**/*", "server/**/*", "common/**/*", "../../../typings/**/*"], - "references": [ + "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, { "path": "../../../src/plugins/kibana_react/tsconfig.json" }, { "path": "../../../src/plugins/screenshot_mode/tsconfig.json" }, diff --git a/x-pack/plugins/canvas/tsconfig.json b/x-pack/plugins/canvas/tsconfig.json index f0dd93fa0f7a0..22ac8de781cff 100644 --- a/x-pack/plugins/canvas/tsconfig.json +++ b/x-pack/plugins/canvas/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true, // the plugin contains some heavy json files "resolveJsonModule": false @@ -22,7 +21,7 @@ "tasks/mocks/*", "types/**/*" ], - "references": [ + "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, { "path": "../../../src/plugins/bfetch/tsconfig.json" }, { "path": "../../../src/plugins/charts/tsconfig.json" }, diff --git a/x-pack/plugins/cases/tsconfig.json b/x-pack/plugins/cases/tsconfig.json index b893fcfc9b277..0237880148358 100644 --- a/x-pack/plugins/cases/tsconfig.json +++ b/x-pack/plugins/cases/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "common/**/*", @@ -12,7 +11,7 @@ "server/**/*", "../../../typings/**/*" ], - "references": [ + "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, // optionalPlugins from ./kibana.json diff --git a/x-pack/plugins/cloud/tsconfig.json b/x-pack/plugins/cloud/tsconfig.json index ca9ba32ed10b0..523869f892d3a 100644 --- a/x-pack/plugins/cloud/tsconfig.json +++ b/x-pack/plugins/cloud/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true, }, "include": [ ".storybook/**/*", @@ -13,7 +12,7 @@ "server/**/*", "../../../typings/**/*" ], - "references": [ + "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, { "path": "../../../src/plugins/usage_collection/tsconfig.json" }, ] diff --git a/x-pack/plugins/cloud_integrations/cloud_chat/tsconfig.json b/x-pack/plugins/cloud_integrations/cloud_chat/tsconfig.json index 967962363be2c..bc4d834ed6971 100644 --- a/x-pack/plugins/cloud_integrations/cloud_chat/tsconfig.json +++ b/x-pack/plugins/cloud_integrations/cloud_chat/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true, }, "include": [ ".storybook/**/*", @@ -13,7 +12,7 @@ "server/**/*", "../../../typings/**/*" ], - "references": [ + "kbn_references": [ { "path": "../../../../src/core/tsconfig.json" }, { "path": "../../cloud/tsconfig.json" }, { "path": "../../security/tsconfig.json" }, diff --git a/x-pack/plugins/cloud_integrations/cloud_experiments/tsconfig.json b/x-pack/plugins/cloud_integrations/cloud_experiments/tsconfig.json index 7f0e98957c5f7..5e32996131fb1 100644 --- a/x-pack/plugins/cloud_integrations/cloud_experiments/tsconfig.json +++ b/x-pack/plugins/cloud_integrations/cloud_experiments/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true, }, "include": [ ".storybook/**/*", @@ -13,7 +12,7 @@ "server/**/*", "../../../typings/**/*" ], - "references": [ + "kbn_references": [ { "path": "../../../../src/core/tsconfig.json" }, { "path": "../../../../src/plugins/data_views/tsconfig.json" }, { "path": "../../../../src/plugins/usage_collection/tsconfig.json" }, diff --git a/x-pack/plugins/cloud_integrations/cloud_full_story/tsconfig.json b/x-pack/plugins/cloud_integrations/cloud_full_story/tsconfig.json index e81bf47099981..b2f06a09a6e03 100644 --- a/x-pack/plugins/cloud_integrations/cloud_full_story/tsconfig.json +++ b/x-pack/plugins/cloud_integrations/cloud_full_story/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true, }, "include": [ ".storybook/**/*", @@ -13,7 +12,7 @@ "server/**/*", "../../../typings/**/*" ], - "references": [ + "kbn_references": [ { "path": "../../../../src/core/tsconfig.json" }, { "path": "../../cloud/tsconfig.json" }, ] diff --git a/x-pack/plugins/cloud_integrations/cloud_gain_sight/tsconfig.json b/x-pack/plugins/cloud_integrations/cloud_gain_sight/tsconfig.json index e81bf47099981..b2f06a09a6e03 100644 --- a/x-pack/plugins/cloud_integrations/cloud_gain_sight/tsconfig.json +++ b/x-pack/plugins/cloud_integrations/cloud_gain_sight/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true, }, "include": [ ".storybook/**/*", @@ -13,7 +12,7 @@ "server/**/*", "../../../typings/**/*" ], - "references": [ + "kbn_references": [ { "path": "../../../../src/core/tsconfig.json" }, { "path": "../../cloud/tsconfig.json" }, ] diff --git a/x-pack/plugins/cloud_integrations/cloud_links/tsconfig.json b/x-pack/plugins/cloud_integrations/cloud_links/tsconfig.json index 967962363be2c..bc4d834ed6971 100644 --- a/x-pack/plugins/cloud_integrations/cloud_links/tsconfig.json +++ b/x-pack/plugins/cloud_integrations/cloud_links/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true, }, "include": [ ".storybook/**/*", @@ -13,7 +12,7 @@ "server/**/*", "../../../typings/**/*" ], - "references": [ + "kbn_references": [ { "path": "../../../../src/core/tsconfig.json" }, { "path": "../../cloud/tsconfig.json" }, { "path": "../../security/tsconfig.json" }, diff --git a/x-pack/plugins/cloud_security_posture/tsconfig.json b/x-pack/plugins/cloud_security_posture/tsconfig.json index 4788655dabb2d..09588ccdd6247 100755 --- a/x-pack/plugins/cloud_security_posture/tsconfig.json +++ b/x-pack/plugins/cloud_security_posture/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "common/**/*", @@ -16,7 +15,7 @@ "public/**/*.json", "../../../typings/**/*" ], - "references": [ + "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, { "path": "../../../src/plugins/data/tsconfig.json" }, { "path": "../../../src/plugins/navigation/tsconfig.json" }, diff --git a/x-pack/plugins/cross_cluster_replication/tsconfig.json b/x-pack/plugins/cross_cluster_replication/tsconfig.json index 4c1f3b20fa23e..f815f7e812d0a 100644 --- a/x-pack/plugins/cross_cluster_replication/tsconfig.json +++ b/x-pack/plugins/cross_cluster_replication/tsconfig.json @@ -4,14 +4,13 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "common/**/*", "public/**/*", "server/**/*", ], - "references": [ + "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, // required plugins { "path": "../../../src/plugins/home/tsconfig.json" }, diff --git a/x-pack/plugins/dashboard_enhanced/tsconfig.json b/x-pack/plugins/dashboard_enhanced/tsconfig.json index 9cd81c66fff4b..79ef7ff25b110 100644 --- a/x-pack/plugins/dashboard_enhanced/tsconfig.json +++ b/x-pack/plugins/dashboard_enhanced/tsconfig.json @@ -4,14 +4,13 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "common/**/*", "public/**/*", "server/**/*", ], - "references": [ + "kbn_references": [ { "path": "../../../src/plugins/kibana_react/tsconfig.json" }, { "path": "../../../src/plugins/kibana_utils/tsconfig.json" }, { "path": "../../../src/plugins/dashboard/tsconfig.json" }, diff --git a/x-pack/plugins/data_visualizer/tsconfig.json b/x-pack/plugins/data_visualizer/tsconfig.json index 2168eaa5696c5..82484dc83b6cd 100644 --- a/x-pack/plugins/data_visualizer/tsconfig.json +++ b/x-pack/plugins/data_visualizer/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "../../../typings/**/*", @@ -14,7 +13,7 @@ "server/**/*", "types/**/*" ], - "references": [ + "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, { "path": "../../../src/plugins/kibana_utils/tsconfig.json" }, { "path": "../../../src/plugins/kibana_react/tsconfig.json" }, diff --git a/x-pack/plugins/discover_enhanced/tsconfig.json b/x-pack/plugins/discover_enhanced/tsconfig.json index 631ca8a577cdf..baa3aae67c3f8 100644 --- a/x-pack/plugins/discover_enhanced/tsconfig.json +++ b/x-pack/plugins/discover_enhanced/tsconfig.json @@ -4,10 +4,9 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": ["*.ts", "common/**/*", "public/**/*", "server/**/*"], - "references": [ + "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, { "path": "../../../src/plugins/data/tsconfig.json" }, { "path": "../../../src/plugins/discover/tsconfig.json" }, diff --git a/x-pack/plugins/drilldowns/url_drilldown/tsconfig.json b/x-pack/plugins/drilldowns/url_drilldown/tsconfig.json index b3ae397963c1d..b4ef559e81ce4 100644 --- a/x-pack/plugins/drilldowns/url_drilldown/tsconfig.json +++ b/x-pack/plugins/drilldowns/url_drilldown/tsconfig.json @@ -4,10 +4,9 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": ["public/**/*"], - "references": [ + "kbn_references": [ { "path": "../../../../src/core/tsconfig.json" }, { "path": "../../../../src/plugins/ui_actions_enhanced/tsconfig.json" }, { "path": "../../../../src/plugins/embeddable/tsconfig.json" }, diff --git a/x-pack/plugins/embeddable_enhanced/tsconfig.json b/x-pack/plugins/embeddable_enhanced/tsconfig.json index 13e684dbdefce..c4086ef69251a 100644 --- a/x-pack/plugins/embeddable_enhanced/tsconfig.json +++ b/x-pack/plugins/embeddable_enhanced/tsconfig.json @@ -4,12 +4,11 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "public/**/*", ], - "references": [ + "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, { "path": "../../../src/plugins/embeddable/tsconfig.json" }, { "path": "../../../src/plugins/kibana_react/tsconfig.json" }, diff --git a/x-pack/plugins/encrypted_saved_objects/tsconfig.json b/x-pack/plugins/encrypted_saved_objects/tsconfig.json index 4b06756a9cf2f..a09f47180d4f7 100644 --- a/x-pack/plugins/encrypted_saved_objects/tsconfig.json +++ b/x-pack/plugins/encrypted_saved_objects/tsconfig.json @@ -4,10 +4,9 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": ["server/**/*"], - "references": [ + "kbn_references": [ { "path": "../security/tsconfig.json" }, ] } diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/cypress/tsconfig.json b/x-pack/plugins/enterprise_search/public/applications/app_search/cypress/tsconfig.json index 40361607aa3c5..e2c99c65d590e 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/cypress/tsconfig.json +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/cypress/tsconfig.json @@ -1,6 +1,6 @@ { "extends": "../../shared/cypress/tsconfig.json", - "references": [{ "path": "../../shared/cypress/tsconfig.json" }], + "kbn_references": [{ "path": "../../shared/cypress/tsconfig.json" }], "compilerOptions": { "outDir": "../../../../target/cypress/types/app_search" }, "include": ["./**/*"] } diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/cypress/tsconfig.json b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/cypress/tsconfig.json index fd75825bd3e26..9ea4c931ce39e 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/cypress/tsconfig.json +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_overview/cypress/tsconfig.json @@ -1,6 +1,6 @@ { "extends": "../../shared/cypress/tsconfig.json", - "references": [{ "path": "../../shared/cypress/tsconfig.json" }], + "kbn_references": [{ "path": "../../shared/cypress/tsconfig.json" }], "compilerOptions": { "outDir": "../../../../target/cypress/types/enterprise_search" }, "include": ["./**/*"] } diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/cypress/tsconfig.json b/x-pack/plugins/enterprise_search/public/applications/shared/cypress/tsconfig.json index e728943de044e..f36cb624e03ec 100644 --- a/x-pack/plugins/enterprise_search/public/applications/shared/cypress/tsconfig.json +++ b/x-pack/plugins/enterprise_search/public/applications/shared/cypress/tsconfig.json @@ -1,6 +1,6 @@ { "extends": "../../../../../../../tsconfig.base.json", - "references": [{ "path": "../../../../../../../test/tsconfig.json" }], + "kbn_references": [{ "path": "../../../../../../../test/tsconfig.json" }], "include": ["./**/*"], "compilerOptions": { "outDir": "../../../../target/cypress/types/shared", diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/cypress/tsconfig.json b/x-pack/plugins/enterprise_search/public/applications/workplace_search/cypress/tsconfig.json index 39f8bea5debc6..296f97269fb0c 100644 --- a/x-pack/plugins/enterprise_search/public/applications/workplace_search/cypress/tsconfig.json +++ b/x-pack/plugins/enterprise_search/public/applications/workplace_search/cypress/tsconfig.json @@ -1,6 +1,6 @@ { "extends": "../../shared/cypress/tsconfig.json", - "references": [{ "path": "../../shared/cypress/tsconfig.json" }], + "kbn_references": [{ "path": "../../shared/cypress/tsconfig.json" }], "compilerOptions": { "outDir": "../../../../target/cypress/types/workplace_search" }, "include": ["./**/*"] } diff --git a/x-pack/plugins/enterprise_search/tsconfig.json b/x-pack/plugins/enterprise_search/tsconfig.json index 10fcc3b8c0d58..e94487d939500 100644 --- a/x-pack/plugins/enterprise_search/tsconfig.json +++ b/x-pack/plugins/enterprise_search/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "exclude": ["public/applications/**/cypress/**/*"], "include": [ @@ -13,7 +12,7 @@ "server/**/*", "../../../typings/**/*", ], - "references": [ + "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, { "path": "../../../src/plugins/charts/tsconfig.json" }, { "path": "../../../src/plugins/data/tsconfig.json" }, diff --git a/x-pack/plugins/event_log/tsconfig.json b/x-pack/plugins/event_log/tsconfig.json index 28dd8f244a3da..2695ae967fb74 100644 --- a/x-pack/plugins/event_log/tsconfig.json +++ b/x-pack/plugins/event_log/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "server/**/*", @@ -14,7 +13,7 @@ "generated/*.json", "common/**/*" ], - "references": [ + "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, { "path": "../spaces/tsconfig.json" } ] diff --git a/x-pack/plugins/features/tsconfig.json b/x-pack/plugins/features/tsconfig.json index b16d7b47bba5b..d658362136865 100644 --- a/x-pack/plugins/features/tsconfig.json +++ b/x-pack/plugins/features/tsconfig.json @@ -4,14 +4,13 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "common/**/*", "public/**/*", "server/**/*", ], - "references": [ + "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, { "path": "../licensing/tsconfig.json" }, ] diff --git a/x-pack/plugins/file_upload/tsconfig.json b/x-pack/plugins/file_upload/tsconfig.json index efea61e38b3e8..a8cdfe45ef59f 100644 --- a/x-pack/plugins/file_upload/tsconfig.json +++ b/x-pack/plugins/file_upload/tsconfig.json @@ -4,10 +4,9 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": ["common/**/*", "public/**/*", "server/**/*"], - "references": [ + "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, { "path": "../../../src/plugins/data/tsconfig.json" }, { "path": "../../../src/plugins/usage_collection/tsconfig.json" }, diff --git a/x-pack/plugins/files/tsconfig.json b/x-pack/plugins/files/tsconfig.json index 5b8c42aab622a..2c9f74511d6d4 100644 --- a/x-pack/plugins/files/tsconfig.json +++ b/x-pack/plugins/files/tsconfig.json @@ -4,10 +4,9 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": ["common/**/*", "public/**/*", "server/**/*", ".storybook/**/*"], - "references": [ + "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, { "path": "../security/tsconfig.json" }, { "path": "../../../src/plugins/usage_collection/tsconfig.json" } diff --git a/x-pack/plugins/fleet/tsconfig.json b/x-pack/plugins/fleet/tsconfig.json index baf6bfd5049d7..62cbbe3a4ef0d 100644 --- a/x-pack/plugins/fleet/tsconfig.json +++ b/x-pack/plugins/fleet/tsconfig.json @@ -5,7 +5,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true, }, "exclude": ["cypress.config.ts"], "include": [ @@ -20,7 +19,7 @@ "cypress.config.ts", "../../../typings/**/*" ], - "references": [ + "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, { "path": "../../../tsconfig.json" }, // add references to other TypeScript projects the plugin depends on diff --git a/x-pack/plugins/global_search/tsconfig.json b/x-pack/plugins/global_search/tsconfig.json index 6a0385e5c080b..8a5a197e6b72f 100644 --- a/x-pack/plugins/global_search/tsconfig.json +++ b/x-pack/plugins/global_search/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "public/**/*", @@ -12,7 +11,7 @@ "common/**/*", "../../../typings/**/*" ], - "references": [ + "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, { "path": "../licensing/tsconfig.json" } ] diff --git a/x-pack/plugins/global_search_bar/tsconfig.json b/x-pack/plugins/global_search_bar/tsconfig.json index 04464a3c08200..a3fb00c15aea0 100644 --- a/x-pack/plugins/global_search_bar/tsconfig.json +++ b/x-pack/plugins/global_search_bar/tsconfig.json @@ -4,10 +4,9 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": ["common/**/*", "public/**/*", "server/**/*"], - "references": [ + "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, { "path": "../../../src/plugins/usage_collection/tsconfig.json" }, { "path": "../global_search/tsconfig.json" }, diff --git a/x-pack/plugins/global_search_providers/tsconfig.json b/x-pack/plugins/global_search_providers/tsconfig.json index 4ce15f6d44683..5787569cddceb 100644 --- a/x-pack/plugins/global_search_providers/tsconfig.json +++ b/x-pack/plugins/global_search_providers/tsconfig.json @@ -4,14 +4,13 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "public/**/*", "server/**/*", "../../../typings/**/*", ], - "references": [ + "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, { "path": "../global_search/tsconfig.json" } ] diff --git a/x-pack/plugins/graph/tsconfig.json b/x-pack/plugins/graph/tsconfig.json index 38711a903fe5c..7ecc6018f8f64 100644 --- a/x-pack/plugins/graph/tsconfig.json +++ b/x-pack/plugins/graph/tsconfig.json @@ -5,7 +5,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "*.ts", @@ -14,7 +13,7 @@ "server/**/*", "../../../typings/**/*", ], - "references": [ + "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, { "path": "../licensing/tsconfig.json" }, { "path": "../features/tsconfig.json"}, diff --git a/x-pack/plugins/grokdebugger/tsconfig.json b/x-pack/plugins/grokdebugger/tsconfig.json index aefb15f74c7b6..da551988a7e60 100644 --- a/x-pack/plugins/grokdebugger/tsconfig.json +++ b/x-pack/plugins/grokdebugger/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "common/**/*", @@ -12,7 +11,7 @@ "server/**/*", "../../../typings/**/*", ], - "references": [ + "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, { "path": "../../../src/plugins/dev_tools/tsconfig.json"}, { "path": "../../../src/plugins/home/tsconfig.json"}, diff --git a/x-pack/plugins/index_lifecycle_management/tsconfig.json b/x-pack/plugins/index_lifecycle_management/tsconfig.json index 4b5d7657ed9f6..97d01cbe8a45b 100644 --- a/x-pack/plugins/index_lifecycle_management/tsconfig.json +++ b/x-pack/plugins/index_lifecycle_management/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "__jest__/**/*", @@ -14,7 +13,7 @@ "server/**/*", "../../../typings/**/*", ], - "references": [ + "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, // required plugins { "path": "../licensing/tsconfig.json" }, diff --git a/x-pack/plugins/index_management/tsconfig.json b/x-pack/plugins/index_management/tsconfig.json index 120e58c2850c5..cf7a457358cb8 100644 --- a/x-pack/plugins/index_management/tsconfig.json +++ b/x-pack/plugins/index_management/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "__jest__/**/*", @@ -14,7 +13,7 @@ "test/**/*", "../../../typings/**/*", ], - "references": [ + "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, { "path": "../../../src/plugins/home/tsconfig.json" }, { "path": "../../../src/plugins/management/tsconfig.json" }, diff --git a/x-pack/plugins/infra/tsconfig.json b/x-pack/plugins/infra/tsconfig.json index 370644367b441..c092210c7ba68 100644 --- a/x-pack/plugins/infra/tsconfig.json +++ b/x-pack/plugins/infra/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "../../../typings/**/*", @@ -14,7 +13,7 @@ "server/**/*", "types/**/*" ], - "references": [ + "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, { "path": "../../../src/plugins/data/tsconfig.json" }, { "path": "../../../src/plugins/data_views/tsconfig.json" }, diff --git a/x-pack/plugins/ingest_pipelines/tsconfig.json b/x-pack/plugins/ingest_pipelines/tsconfig.json index 0bb8031adcf77..27d9c33354bae 100644 --- a/x-pack/plugins/ingest_pipelines/tsconfig.json +++ b/x-pack/plugins/ingest_pipelines/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "common/**/*", @@ -13,7 +12,7 @@ "__jest__/**/*", "../../../typings/**/*" ], - "references": [ + "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, { "path": "../licensing/tsconfig.json" }, { "path": "../features/tsconfig.json" }, diff --git a/x-pack/plugins/kubernetes_security/tsconfig.json b/x-pack/plugins/kubernetes_security/tsconfig.json index b941be57d72ae..3358602dde0bb 100644 --- a/x-pack/plugins/kubernetes_security/tsconfig.json +++ b/x-pack/plugins/kubernetes_security/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ // add all the folders containg files to be compiled @@ -17,7 +16,7 @@ "storybook/**/*", "../../../typings/**/*" ], - "references": [ + "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, // add references to other TypeScript projects the plugin depends on diff --git a/x-pack/plugins/lens/tsconfig.json b/x-pack/plugins/lens/tsconfig.json index e29e0d1cb86b4..3a70a796373e6 100644 --- a/x-pack/plugins/lens/tsconfig.json +++ b/x-pack/plugins/lens/tsconfig.json @@ -4,10 +4,9 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": ["*.ts", "common/**/*", "public/**/*", "server/**/*", "../../../typings/**/*"], - "references": [ + "kbn_references": [ { "path": "../spaces/tsconfig.json" }, { "path": "../../../src/core/tsconfig.json" }, { "path": "../task_manager/tsconfig.json" }, diff --git a/x-pack/plugins/license_api_guard/tsconfig.json b/x-pack/plugins/license_api_guard/tsconfig.json index 123e73a9e8163..a3e855927b83f 100644 --- a/x-pack/plugins/license_api_guard/tsconfig.json +++ b/x-pack/plugins/license_api_guard/tsconfig.json @@ -4,12 +4,11 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "server/**/*" ], - "references": [ + "kbn_references": [ { "path": "../licensing/tsconfig.json" }, { "path": "../../../src/core/tsconfig.json" } ] diff --git a/x-pack/plugins/license_management/tsconfig.json b/x-pack/plugins/license_management/tsconfig.json index 4384a9a0efd98..2cca1d4daff61 100644 --- a/x-pack/plugins/license_management/tsconfig.json +++ b/x-pack/plugins/license_management/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "public/**/*", @@ -13,7 +12,7 @@ "__jest__/**/*", "__mocks__/*", ], - "references": [ + "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, { "path": "../../../src/plugins/kibana_react/tsconfig.json" }, { "path": "../../../src/plugins/telemetry_management_section/tsconfig.json" }, diff --git a/x-pack/plugins/licensing/tsconfig.json b/x-pack/plugins/licensing/tsconfig.json index 355d99fa461b8..0a86901065804 100644 --- a/x-pack/plugins/licensing/tsconfig.json +++ b/x-pack/plugins/licensing/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true, "isolatedModules": true, }, "include": [ @@ -12,7 +11,7 @@ "server/**/*", "common/**/*" ], - "references": [ + "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, { "path": "../../../src/plugins/kibana_react/tsconfig.json" } ] diff --git a/x-pack/plugins/lists/tsconfig.json b/x-pack/plugins/lists/tsconfig.json index 6cfffbbaa7421..3da969b34db3d 100644 --- a/x-pack/plugins/lists/tsconfig.json +++ b/x-pack/plugins/lists/tsconfig.json @@ -5,7 +5,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "common/**/*", @@ -14,7 +13,7 @@ // have to declare *.json explicitly due to https://github.com/microsoft/TypeScript/issues/25636 "server/**/*.json", ], - "references": [ + "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, { "path": "../spaces/tsconfig.json" }, { "path": "../security/tsconfig.json"}, diff --git a/x-pack/plugins/logstash/tsconfig.json b/x-pack/plugins/logstash/tsconfig.json index 5a13e8ca71599..96ffd953c3efd 100644 --- a/x-pack/plugins/logstash/tsconfig.json +++ b/x-pack/plugins/logstash/tsconfig.json @@ -5,14 +5,13 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "common/**/*", "public/**/*", "server/**/*", ], - "references": [ + "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, { "path": "../../../src/plugins/home/tsconfig.json"}, { "path": "../../../src/plugins/management/tsconfig.json"}, diff --git a/x-pack/plugins/maps/tsconfig.json b/x-pack/plugins/maps/tsconfig.json index ee28c2be8d31c..fc8e578497199 100644 --- a/x-pack/plugins/maps/tsconfig.json +++ b/x-pack/plugins/maps/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "common/**/*", @@ -13,7 +12,7 @@ "config.ts", "../../../typings/**/*", ], - "references": [ + "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, { "path": "../../../src/plugins/maps_ems/tsconfig.json" }, { "path": "../../../src/plugins/dashboard/tsconfig.json" }, diff --git a/x-pack/plugins/ml/tsconfig.json b/x-pack/plugins/ml/tsconfig.json index a99bc950ca445..21897ae7ba4f4 100644 --- a/x-pack/plugins/ml/tsconfig.json +++ b/x-pack/plugins/ml/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "common/**/*", @@ -16,7 +15,7 @@ "public/**/*.json", "server/**/*.json" ], - "references": [ + "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, { "path": "../../../src/plugins/embeddable/tsconfig.json" }, { "path": "../../../src/plugins/data_views/tsconfig.json" }, diff --git a/x-pack/plugins/monitoring/tsconfig.json b/x-pack/plugins/monitoring/tsconfig.json index 79fcff4d840ff..7c63f49c65659 100644 --- a/x-pack/plugins/monitoring/tsconfig.json +++ b/x-pack/plugins/monitoring/tsconfig.json @@ -4,14 +4,13 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "common/**/*", "public/**/*", "server/**/*" ], - "references": [ + "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, { "path": "../../../src/plugins/data/tsconfig.json" }, { "path": "../../../src/plugins/home/tsconfig.json" }, diff --git a/x-pack/plugins/monitoring_collection/tsconfig.json b/x-pack/plugins/monitoring_collection/tsconfig.json index c382b243b3fec..14ca8450fed91 100644 --- a/x-pack/plugins/monitoring_collection/tsconfig.json +++ b/x-pack/plugins/monitoring_collection/tsconfig.json @@ -4,12 +4,11 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "server/**/*" ], - "references": [ + "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, { "path": "../../../src/plugins/usage_collection/tsconfig.json" }, ] diff --git a/x-pack/plugins/observability/e2e/tsconfig.json b/x-pack/plugins/observability/e2e/tsconfig.json index 241e4fab48aa2..0f9477b174d33 100644 --- a/x-pack/plugins/observability/e2e/tsconfig.json +++ b/x-pack/plugins/observability/e2e/tsconfig.json @@ -6,7 +6,7 @@ "outDir": "target/types", "types": [ "node"], }, - "references": [ + "kbn_references": [ { "path": "../../apm/tsconfig.json", }, diff --git a/x-pack/plugins/observability/tsconfig.json b/x-pack/plugins/observability/tsconfig.json index 163160f555669..4f9d89cd2b3cd 100644 --- a/x-pack/plugins/observability/tsconfig.json +++ b/x-pack/plugins/observability/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "common/**/*", @@ -14,7 +13,7 @@ "typings/**/*", "../../../typings/**/*" ], - "references": [ + "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, { "path": "../../../src/plugins/data/tsconfig.json" }, { "path": "../../../src/plugins/home/tsconfig.json" }, diff --git a/x-pack/plugins/osquery/tsconfig.json b/x-pack/plugins/osquery/tsconfig.json index 37070a7af748d..108eb636b9f59 100644 --- a/x-pack/plugins/osquery/tsconfig.json +++ b/x-pack/plugins/osquery/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "exclude": ["cypress.config.ts"], "include": [ @@ -19,7 +18,7 @@ // ECS and Osquery schema files "public/common/schemas/*/**.json", ], - "references": [ + "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, // add references to other TypeScript projects the plugin depends on diff --git a/x-pack/plugins/painless_lab/tsconfig.json b/x-pack/plugins/painless_lab/tsconfig.json index e0cf386193bb4..d917b78df9992 100644 --- a/x-pack/plugins/painless_lab/tsconfig.json +++ b/x-pack/plugins/painless_lab/tsconfig.json @@ -4,14 +4,13 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "common/**/*", "public/**/*", "server/**/*", ], - "references": [ + "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, { "path": "../../../src/plugins/dev_tools/tsconfig.json" }, { "path": "../../../src/plugins/home/tsconfig.json" }, diff --git a/x-pack/plugins/profiling/tsconfig.json b/x-pack/plugins/profiling/tsconfig.json index 5b8daabf46cbe..35b9870406304 100644 --- a/x-pack/plugins/profiling/tsconfig.json +++ b/x-pack/plugins/profiling/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true, }, "include": [ // add all the folders containing files to be compiled @@ -14,7 +13,7 @@ "public/**/*.tsx", "server/**/*.ts" ], - "references": [ + "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, { "path": "../../../src/plugins/data/tsconfig.json" }, { "path": "../../../src/plugins/kibana_utils/tsconfig.json" }, diff --git a/x-pack/plugins/remote_clusters/tsconfig.json b/x-pack/plugins/remote_clusters/tsconfig.json index 006c3c53c1be4..ec75eaa23f831 100644 --- a/x-pack/plugins/remote_clusters/tsconfig.json +++ b/x-pack/plugins/remote_clusters/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "__jest__/**/*", @@ -14,7 +13,7 @@ "server/**/*", "../../../typings/**/*", ], - "references": [ + "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, // required plugins { "path": "../licensing/tsconfig.json" }, diff --git a/x-pack/plugins/reporting/tsconfig.json b/x-pack/plugins/reporting/tsconfig.json index cb22a7d9e719a..48a0d127af970 100644 --- a/x-pack/plugins/reporting/tsconfig.json +++ b/x-pack/plugins/reporting/tsconfig.json @@ -4,10 +4,9 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": ["common/**/*", "public/**/*", "server/**/*", "../../../typings/**/*"], - "references": [ + "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, { "path": "../../../src/plugins/data/tsconfig.json" }, { "path": "../../../src/plugins/discover/tsconfig.json" }, diff --git a/x-pack/plugins/rollup/tsconfig.json b/x-pack/plugins/rollup/tsconfig.json index 252c27a66fba2..c798f98f1bed6 100644 --- a/x-pack/plugins/rollup/tsconfig.json +++ b/x-pack/plugins/rollup/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "common/**/*", @@ -12,7 +11,7 @@ "public/**/*", "server/**/*", ], - "references": [ + "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, // required plugins { "path": "../../../src/plugins/management/tsconfig.json" }, diff --git a/x-pack/plugins/rule_registry/tsconfig.json b/x-pack/plugins/rule_registry/tsconfig.json index 810524a7a8122..e24270edc4d4b 100644 --- a/x-pack/plugins/rule_registry/tsconfig.json +++ b/x-pack/plugins/rule_registry/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "common/**/*", @@ -14,7 +13,7 @@ "public/**/*", "../../../typings/**/*" ], - "references": [ + "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, { "path": "../../../src/plugins/data/tsconfig.json" }, { "path": "../alerting/tsconfig.json" }, diff --git a/x-pack/plugins/runtime_fields/tsconfig.json b/x-pack/plugins/runtime_fields/tsconfig.json index 321854e2d7bbe..6ca831aa51fdc 100644 --- a/x-pack/plugins/runtime_fields/tsconfig.json +++ b/x-pack/plugins/runtime_fields/tsconfig.json @@ -4,13 +4,12 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "public/**/*", "../../../typings/**/*", ], - "references": [ + "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, { "path": "../../../src/plugins/es_ui_shared/tsconfig.json" }, ] diff --git a/x-pack/plugins/saved_objects_tagging/tsconfig.json b/x-pack/plugins/saved_objects_tagging/tsconfig.json index 608cdb2c793cd..7d7495aac26c7 100644 --- a/x-pack/plugins/saved_objects_tagging/tsconfig.json +++ b/x-pack/plugins/saved_objects_tagging/tsconfig.json @@ -4,14 +4,13 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true, }, "include": [ "common/**/*", "public/**/*", "server/**/*", ], - "references": [ + "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, { "path": "../../../src/plugins/usage_collection/tsconfig.json" }, { "path": "../../../src/plugins/management/tsconfig.json" }, diff --git a/x-pack/plugins/screenshotting/tsconfig.json b/x-pack/plugins/screenshotting/tsconfig.json index af98e0fcc3244..6b9d6ffffb672 100644 --- a/x-pack/plugins/screenshotting/tsconfig.json +++ b/x-pack/plugins/screenshotting/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "common/**/*", @@ -12,7 +11,7 @@ "server/**/*", "../../../typings/**/*" ], - "references": [ + "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, { "path": "../../../src/plugins/expressions/tsconfig.json" }, { "path": "../../../src/plugins/screenshot_mode/tsconfig.json" }, diff --git a/x-pack/plugins/searchprofiler/tsconfig.json b/x-pack/plugins/searchprofiler/tsconfig.json index c53c65b812a44..9b5a054e4f4da 100644 --- a/x-pack/plugins/searchprofiler/tsconfig.json +++ b/x-pack/plugins/searchprofiler/tsconfig.json @@ -4,14 +4,13 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "common/**/*", "public/**/*", "server/**/*", ], - "references": [ + "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, { "path": "../../../src/plugins/es_ui_shared/tsconfig.json" }, { "path": "../../../src/plugins/dev_tools/tsconfig.json" }, diff --git a/x-pack/plugins/security/tsconfig.json b/x-pack/plugins/security/tsconfig.json index 68c43cf64e6b6..988cf4d550c92 100644 --- a/x-pack/plugins/security/tsconfig.json +++ b/x-pack/plugins/security/tsconfig.json @@ -4,10 +4,9 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": ["common/**/*", "public/**/*", "server/**/*"], - "references": [ + "kbn_references": [ { "path": "../cloud/tsconfig.json" }, { "path": "../features/tsconfig.json" }, { "path": "../licensing/tsconfig.json" }, diff --git a/x-pack/plugins/security_solution/cypress/tsconfig.json b/x-pack/plugins/security_solution/cypress/tsconfig.json index 55ba3de538060..a0d03c742d07c 100644 --- a/x-pack/plugins/security_solution/cypress/tsconfig.json +++ b/x-pack/plugins/security_solution/cypress/tsconfig.json @@ -17,7 +17,7 @@ "node", ], }, - "references": [ + "kbn_references": [ { "path": "../tsconfig.json" } ] } diff --git a/x-pack/plugins/security_solution/tsconfig.json b/x-pack/plugins/security_solution/tsconfig.json index f69973fdac74f..51a166cccd5e5 100644 --- a/x-pack/plugins/security_solution/tsconfig.json +++ b/x-pack/plugins/security_solution/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "common/**/*", @@ -16,7 +15,7 @@ "public/**/*.json", "../../../typings/**/*" ], - "references": [ + "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, { "path": "../../../src/plugins/data/tsconfig.json" }, { "path": "../../../src/plugins/embeddable/tsconfig.json" }, diff --git a/x-pack/plugins/session_view/tsconfig.json b/x-pack/plugins/session_view/tsconfig.json index 0a21d320dfb29..33de77da0c6c4 100644 --- a/x-pack/plugins/session_view/tsconfig.json +++ b/x-pack/plugins/session_view/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ // add all the folders containg files to be compiled @@ -17,7 +16,7 @@ "storybook/**/*", "../../../typings/**/*" ], - "references": [ + "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, // add references to other TypeScript projects the plugin depends on diff --git a/x-pack/plugins/snapshot_restore/tsconfig.json b/x-pack/plugins/snapshot_restore/tsconfig.json index 82f0e86df3683..79c5bd269fc5c 100644 --- a/x-pack/plugins/snapshot_restore/tsconfig.json +++ b/x-pack/plugins/snapshot_restore/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "__jest__/**/*", @@ -14,7 +13,7 @@ "test/**/*", "../../../typings/**/*", ], - "references": [ + "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, { "path": "../licensing/tsconfig.json" }, { "path": "../features/tsconfig.json" }, diff --git a/x-pack/plugins/spaces/tsconfig.json b/x-pack/plugins/spaces/tsconfig.json index bf2c6e7fc8694..a0dec9464b8f8 100644 --- a/x-pack/plugins/spaces/tsconfig.json +++ b/x-pack/plugins/spaces/tsconfig.json @@ -4,10 +4,9 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": ["common/**/*", "public/**/*", "server/**/*"], - "references": [ + "kbn_references": [ { "path": "../features/tsconfig.json" }, { "path": "../licensing/tsconfig.json" }, { "path": "../../../src/plugins/es_ui_shared/tsconfig.json" }, diff --git a/x-pack/plugins/stack_alerts/tsconfig.json b/x-pack/plugins/stack_alerts/tsconfig.json index 9df9ddd06cfe5..1aadefdb18304 100644 --- a/x-pack/plugins/stack_alerts/tsconfig.json +++ b/x-pack/plugins/stack_alerts/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "server/**/*", @@ -12,7 +11,7 @@ "public/**/*", "common/*" ], - "references": [ + "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, { "path": "../alerting/tsconfig.json" }, { "path": "../features/tsconfig.json" }, diff --git a/x-pack/plugins/stack_connectors/tsconfig.json b/x-pack/plugins/stack_connectors/tsconfig.json index 1cf8281670d0a..3262f96e0f15e 100644 --- a/x-pack/plugins/stack_connectors/tsconfig.json +++ b/x-pack/plugins/stack_connectors/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "server/**/*", @@ -13,7 +12,7 @@ "common/**/*", "public/**/*" ], - "references": [ + "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, { "path": "../actions/tsconfig.json" }, { "path": "../triggers_actions_ui/tsconfig.json" } diff --git a/x-pack/plugins/synthetics/e2e/tsconfig.json b/x-pack/plugins/synthetics/e2e/tsconfig.json index b4368ae13b9e4..c62e73d4df121 100644 --- a/x-pack/plugins/synthetics/e2e/tsconfig.json +++ b/x-pack/plugins/synthetics/e2e/tsconfig.json @@ -6,7 +6,7 @@ "outDir": "target/types", "types": [ "node"], }, - "references": [ + "kbn_references": [ { "path": "../../apm/tsconfig.json", }, diff --git a/x-pack/plugins/synthetics/tsconfig.json b/x-pack/plugins/synthetics/tsconfig.json index 2ee6d15a4f074..7544cd171ef04 100644 --- a/x-pack/plugins/synthetics/tsconfig.json +++ b/x-pack/plugins/synthetics/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "common/**/*", @@ -15,7 +14,7 @@ "server/legacy_uptime/lib/requests/__fixtures__/monitor_charts_mock.json", "../../../typings/**/*" ], - "references": [ + "kbn_references": [ { "path": "../alerting/tsconfig.json" }, diff --git a/x-pack/plugins/task_manager/tsconfig.json b/x-pack/plugins/task_manager/tsconfig.json index 42ebd42b4f7a5..cb2a5fb3c8f56 100644 --- a/x-pack/plugins/task_manager/tsconfig.json +++ b/x-pack/plugins/task_manager/tsconfig.json @@ -4,14 +4,13 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "server/**/*", // have to declare *.json explicitly due to https://github.com/microsoft/TypeScript/issues/25636 "server/**/*.json", ], - "references": [ + "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, { "path": "../../../src/plugins/kibana_utils/tsconfig.json" }, { "path": "../../../src/plugins/usage_collection/tsconfig.json" }, diff --git a/x-pack/plugins/telemetry_collection_xpack/tsconfig.json b/x-pack/plugins/telemetry_collection_xpack/tsconfig.json index 03ca7efad22a4..6278cbf832236 100644 --- a/x-pack/plugins/telemetry_collection_xpack/tsconfig.json +++ b/x-pack/plugins/telemetry_collection_xpack/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true, "isolatedModules": true }, "include": [ @@ -15,7 +14,7 @@ "schema/xpack_plugins.json", "schema/xpack_root.json", ], - "references": [ + "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, { "path": "../../../src/plugins/telemetry_collection_manager/tsconfig.json" }, { "path": "../../../src/plugins/telemetry/tsconfig.json" } diff --git a/x-pack/plugins/threat_intelligence/cypress/tsconfig.json b/x-pack/plugins/threat_intelligence/cypress/tsconfig.json index 55ba3de538060..a0d03c742d07c 100644 --- a/x-pack/plugins/threat_intelligence/cypress/tsconfig.json +++ b/x-pack/plugins/threat_intelligence/cypress/tsconfig.json @@ -17,7 +17,7 @@ "node", ], }, - "references": [ + "kbn_references": [ { "path": "../tsconfig.json" } ] } diff --git a/x-pack/plugins/threat_intelligence/tsconfig.json b/x-pack/plugins/threat_intelligence/tsconfig.json index 8d19be714a8de..aea4550210c13 100644 --- a/x-pack/plugins/threat_intelligence/tsconfig.json +++ b/x-pack/plugins/threat_intelligence/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true, }, "include": [ "common/**/*", @@ -13,7 +12,7 @@ "public/**/*.json", "../../../typings/**/*" ], - "references": [ + "kbn_references": [ { "path": "../timelines/tsconfig.json" }, { "path": "../../../src/core/tsconfig.json" }, { "path": "../../../src/plugins/data/tsconfig.json" }, diff --git a/x-pack/plugins/timelines/tsconfig.json b/x-pack/plugins/timelines/tsconfig.json index 3063c1acda545..15961117840ae 100644 --- a/x-pack/plugins/timelines/tsconfig.json +++ b/x-pack/plugins/timelines/tsconfig.json @@ -5,7 +5,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "common/**/*", @@ -16,7 +15,7 @@ "public/**/*.json", "../../../typings/**/*" ], - "references": [ + "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, { "path": "../../../src/plugins/data/tsconfig.json" }, { "path": "../../../src/plugins/home/tsconfig.json" }, diff --git a/x-pack/plugins/transform/tsconfig.json b/x-pack/plugins/transform/tsconfig.json index 01bb29d5f4374..3298fc0e3b406 100644 --- a/x-pack/plugins/transform/tsconfig.json +++ b/x-pack/plugins/transform/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "common/**/*", @@ -14,7 +13,7 @@ // have to declare *.json explicitly due to https://github.com/microsoft/TypeScript/issues/25636 "public/**/*.json", ], - "references": [ + "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, { "path": "../features/tsconfig.json" }, { "path": "../license_management/tsconfig.json" }, diff --git a/x-pack/plugins/translations/tsconfig.json b/x-pack/plugins/translations/tsconfig.json index 6b09de638f3f9..4397d0f0b146e 100644 --- a/x-pack/plugins/translations/tsconfig.json +++ b/x-pack/plugins/translations/tsconfig.json @@ -4,8 +4,7 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": ["server/**/*", "translations/ja-JP.json", "translations/zh-CN.json"], - "references": [{ "path": "../../../src/core/tsconfig.json" }] + "kbn_references": [{ "path": "../../../src/core/tsconfig.json" }] } diff --git a/x-pack/plugins/triggers_actions_ui/tsconfig.json b/x-pack/plugins/triggers_actions_ui/tsconfig.json index c98e5f1dfd511..a433af59649a1 100644 --- a/x-pack/plugins/triggers_actions_ui/tsconfig.json +++ b/x-pack/plugins/triggers_actions_ui/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ ".storybook/**/*", @@ -14,7 +13,7 @@ "config.ts", "../../../typings/**/*" ], - "references": [ + "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, { "path": "../alerting/tsconfig.json" }, { "path": "../features/tsconfig.json" }, diff --git a/x-pack/plugins/upgrade_assistant/tsconfig.json b/x-pack/plugins/upgrade_assistant/tsconfig.json index 4336acb77c2eb..2663859f207c0 100644 --- a/x-pack/plugins/upgrade_assistant/tsconfig.json +++ b/x-pack/plugins/upgrade_assistant/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "../../../typings/**/*", @@ -16,7 +15,7 @@ "public/**/*.json", "server/**/*.json" ], - "references": [ + "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, { "path": "../../../src/plugins/management/tsconfig.json" }, { "path": "../../../src/plugins/usage_collection/tsconfig.json" }, diff --git a/x-pack/plugins/ux/e2e/tsconfig.json b/x-pack/plugins/ux/e2e/tsconfig.json index d93edaa58f749..bde3d9cb57da7 100644 --- a/x-pack/plugins/ux/e2e/tsconfig.json +++ b/x-pack/plugins/ux/e2e/tsconfig.json @@ -6,7 +6,7 @@ "outDir": "target/types", "types": [ "node"], }, - "references": [ + "kbn_references": [ { "path": "../../apm/tsconfig.json", }, diff --git a/x-pack/plugins/ux/tsconfig.json b/x-pack/plugins/ux/tsconfig.json index 34fe9482984c3..a07702fc36407 100644 --- a/x-pack/plugins/ux/tsconfig.json +++ b/x-pack/plugins/ux/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "../../../typings/**/*", @@ -13,7 +12,7 @@ "typings/**/*", "public/**/*.json", ], - "references": [ + "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, { "path": "../../../src/plugins/data/tsconfig.json" }, { "path": "../../../src/plugins/embeddable/tsconfig.json" }, diff --git a/x-pack/plugins/watcher/tsconfig.json b/x-pack/plugins/watcher/tsconfig.json index e17e7e753592a..045ed49f24a42 100644 --- a/x-pack/plugins/watcher/tsconfig.json +++ b/x-pack/plugins/watcher/tsconfig.json @@ -4,7 +4,6 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, - "declarationMap": true }, "include": [ "__jest__/**/*", @@ -14,7 +13,7 @@ "__fixtures__/*", "../../../typings/**/*" ], - "references": [ + "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, { "path": "../../../src/plugins/home/tsconfig.json" }, { "path": "../../../src/plugins/management/tsconfig.json" }, diff --git a/x-pack/test/functional_cors/plugins/kibana_cors_test/tsconfig.json b/x-pack/test/functional_cors/plugins/kibana_cors_test/tsconfig.json index 6c2426c6ced28..9925e88e82877 100644 --- a/x-pack/test/functional_cors/plugins/kibana_cors_test/tsconfig.json +++ b/x-pack/test/functional_cors/plugins/kibana_cors_test/tsconfig.json @@ -10,7 +10,7 @@ "exclude": [ "./target" ], - "references": [ + "kbn_references": [ { "path": "../../../../../src/core/tsconfig.json" } ] } diff --git a/x-pack/test/functional_embedded/plugins/iframe_embedded/tsconfig.json b/x-pack/test/functional_embedded/plugins/iframe_embedded/tsconfig.json index 6c2426c6ced28..9925e88e82877 100644 --- a/x-pack/test/functional_embedded/plugins/iframe_embedded/tsconfig.json +++ b/x-pack/test/functional_embedded/plugins/iframe_embedded/tsconfig.json @@ -10,7 +10,7 @@ "exclude": [ "./target" ], - "references": [ + "kbn_references": [ { "path": "../../../../../src/core/tsconfig.json" } ] } diff --git a/x-pack/test/licensing_plugin/plugins/test_feature_usage/tsconfig.json b/x-pack/test/licensing_plugin/plugins/test_feature_usage/tsconfig.json index 1003a197cf292..1c8c99611ad56 100644 --- a/x-pack/test/licensing_plugin/plugins/test_feature_usage/tsconfig.json +++ b/x-pack/test/licensing_plugin/plugins/test_feature_usage/tsconfig.json @@ -10,7 +10,7 @@ "exclude": [ "./target" ], - "references": [ + "kbn_references": [ { "path": "../../../../../src/core/tsconfig.json" }, { "path": "../../../../plugins/licensing/tsconfig.json" } ] diff --git a/x-pack/test/plugin_api_integration/plugins/elasticsearch_client/tsconfig.json b/x-pack/test/plugin_api_integration/plugins/elasticsearch_client/tsconfig.json index 6c2426c6ced28..9925e88e82877 100644 --- a/x-pack/test/plugin_api_integration/plugins/elasticsearch_client/tsconfig.json +++ b/x-pack/test/plugin_api_integration/plugins/elasticsearch_client/tsconfig.json @@ -10,7 +10,7 @@ "exclude": [ "./target" ], - "references": [ + "kbn_references": [ { "path": "../../../../../src/core/tsconfig.json" } ] } diff --git a/x-pack/test/plugin_api_integration/plugins/event_log/tsconfig.json b/x-pack/test/plugin_api_integration/plugins/event_log/tsconfig.json index 32bb0bdbada8d..1eb7ab3f254cb 100644 --- a/x-pack/test/plugin_api_integration/plugins/event_log/tsconfig.json +++ b/x-pack/test/plugin_api_integration/plugins/event_log/tsconfig.json @@ -10,7 +10,7 @@ "exclude": [ "./target" ], - "references": [ + "kbn_references": [ { "path": "../../../../../src/core/tsconfig.json" }, { "path": "../../../../plugins/event_log/tsconfig.json" } ] diff --git a/x-pack/test/plugin_api_integration/plugins/feature_usage_test/tsconfig.json b/x-pack/test/plugin_api_integration/plugins/feature_usage_test/tsconfig.json index 41f0b16411391..3c7a74893c545 100644 --- a/x-pack/test/plugin_api_integration/plugins/feature_usage_test/tsconfig.json +++ b/x-pack/test/plugin_api_integration/plugins/feature_usage_test/tsconfig.json @@ -10,7 +10,7 @@ "exclude": [ "./target" ], - "references": [ + "kbn_references": [ { "path": "../../../../../src/core/tsconfig.json" }, { "path": "../../../../plugins/licensing/tsconfig.json" }, ] diff --git a/x-pack/test/plugin_api_integration/plugins/sample_task_plugin/tsconfig.json b/x-pack/test/plugin_api_integration/plugins/sample_task_plugin/tsconfig.json index 7cb611398d09d..0bbd4f56f7ce6 100644 --- a/x-pack/test/plugin_api_integration/plugins/sample_task_plugin/tsconfig.json +++ b/x-pack/test/plugin_api_integration/plugins/sample_task_plugin/tsconfig.json @@ -10,7 +10,7 @@ "exclude": [ "./target" ], - "references": [ + "kbn_references": [ { "path": "../../../../../src/core/tsconfig.json" }, { "path": "../../../../plugins/task_manager/tsconfig.json" }, ] diff --git a/x-pack/test/plugin_api_perf/plugins/task_manager_performance/tsconfig.json b/x-pack/test/plugin_api_perf/plugins/task_manager_performance/tsconfig.json index 7cb611398d09d..0bbd4f56f7ce6 100644 --- a/x-pack/test/plugin_api_perf/plugins/task_manager_performance/tsconfig.json +++ b/x-pack/test/plugin_api_perf/plugins/task_manager_performance/tsconfig.json @@ -10,7 +10,7 @@ "exclude": [ "./target" ], - "references": [ + "kbn_references": [ { "path": "../../../../../src/core/tsconfig.json" }, { "path": "../../../../plugins/task_manager/tsconfig.json" }, ] diff --git a/x-pack/test/plugin_functional/plugins/global_search_test/tsconfig.json b/x-pack/test/plugin_functional/plugins/global_search_test/tsconfig.json index 5b6b09cd88a15..cf8ae37666cca 100644 --- a/x-pack/test/plugin_functional/plugins/global_search_test/tsconfig.json +++ b/x-pack/test/plugin_functional/plugins/global_search_test/tsconfig.json @@ -10,7 +10,7 @@ "exclude": [ "./target" ], - "references": [ + "kbn_references": [ { "path": "../../../../../src/core/tsconfig.json" }, { "path": "../../../../plugins/global_search/tsconfig.json" }, ] diff --git a/x-pack/test/plugin_functional/plugins/resolver_test/tsconfig.json b/x-pack/test/plugin_functional/plugins/resolver_test/tsconfig.json index 3b00244c482bc..9034d94a86b7b 100644 --- a/x-pack/test/plugin_functional/plugins/resolver_test/tsconfig.json +++ b/x-pack/test/plugin_functional/plugins/resolver_test/tsconfig.json @@ -10,7 +10,7 @@ "exclude": [ "./target" ], - "references": [ + "kbn_references": [ { "path": "../../../../../src/core/tsconfig.json" }, { "path": "../../../../../src/plugins/kibana_react/tsconfig.json" }, { "path": "../../../../plugins/security_solution/tsconfig.json" }, diff --git a/x-pack/test/tsconfig.json b/x-pack/test/tsconfig.json index b376f96c6f1e1..664048f980dc1 100644 --- a/x-pack/test/tsconfig.json +++ b/x-pack/test/tsconfig.json @@ -19,7 +19,7 @@ "target/**/*", "*/plugins/**/*", ], - "references": [ + "kbn_references": [ { "path": "../../test/tsconfig.json" }, { "path": "../../src/core/tsconfig.json" }, { "path": "../../src/plugins/bfetch/tsconfig.json" }, diff --git a/x-pack/test/usage_collection/plugins/application_usage_test/tsconfig.json b/x-pack/test/usage_collection/plugins/application_usage_test/tsconfig.json index cd836c96e6427..9915d6a039072 100644 --- a/x-pack/test/usage_collection/plugins/application_usage_test/tsconfig.json +++ b/x-pack/test/usage_collection/plugins/application_usage_test/tsconfig.json @@ -10,7 +10,7 @@ "exclude": [ "./target" ], - "references": [ + "kbn_references": [ { "path": "../../../../../src/core/tsconfig.json" }, ] } diff --git a/x-pack/test/usage_collection/plugins/stack_management_usage_test/tsconfig.json b/x-pack/test/usage_collection/plugins/stack_management_usage_test/tsconfig.json index 71c002540105c..d14f3df51ff9c 100644 --- a/x-pack/test/usage_collection/plugins/stack_management_usage_test/tsconfig.json +++ b/x-pack/test/usage_collection/plugins/stack_management_usage_test/tsconfig.json @@ -10,7 +10,7 @@ "exclude": [ "./target" ], - "references": [ + "kbn_references": [ { "path": "../../../../../src/core/tsconfig.json" } ] } From 20ebb175df760246b93d17b71130fd945fe3cf7f Mon Sep 17 00:00:00 2001 From: John Dorlus Date: Fri, 28 Oct 2022 15:20:50 -0400 Subject: [PATCH 012/111] Added Rollups CCS Test (#144074) * Removed comment of the issue that was referenced for the skip. But the tests were already skipped. * Unskipping test as a fix has been made. 138510 * Made CCS test for rollups and made it conditional based on configuration. * [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix' * Fixed issues in build. * Added comment to rollups test and using super user until the perms issue is fixed. Co-authored-by: cuffs Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> --- test/common/services/es_delete_all_indices.ts | 12 +++--- .../test/functional/apps/rollup_job/index.js | 9 +++-- .../functional/apps/rollup_job/rollup_jobs.js | 40 ++++++++++++++----- x-pack/test/functional/config.ccs.ts | 6 ++- 4 files changed, 46 insertions(+), 21 deletions(-) diff --git a/test/common/services/es_delete_all_indices.ts b/test/common/services/es_delete_all_indices.ts index c0ffa44c2e2c3..5f0ecba2cbde8 100644 --- a/test/common/services/es_delete_all_indices.ts +++ b/test/common/services/es_delete_all_indices.ts @@ -9,12 +9,11 @@ import { FtrProviderContext } from '../ftr_provider_context'; export function EsDeleteAllIndicesProvider({ getService }: FtrProviderContext) { - const es = getService('es'); const log = getService('log'); - async function deleteConcreteIndices(indices: string[]) { + async function deleteConcreteIndices(indices: string[], esNode: any) { try { - await es.indices.delete({ + await esNode.indices.delete({ index: indices, ignore_unavailable: true, }); @@ -23,7 +22,8 @@ export function EsDeleteAllIndicesProvider({ getService }: FtrProviderContext) { } } - return async (patterns: string | string[]) => { + return async (patterns: string | string[], remote: boolean = false) => { + const esNode = remote ? getService('remoteEs' as 'es') : getService('es'); for (const pattern of [patterns].flat()) { for (let attempt = 1; ; attempt++) { if (attempt > 5) { @@ -31,7 +31,7 @@ export function EsDeleteAllIndicesProvider({ getService }: FtrProviderContext) { } // resolve pattern to concrete index names - const resp = await es.indices.getAlias( + const resp = await esNode.indices.getAlias( { index: pattern, }, @@ -55,7 +55,7 @@ export function EsDeleteAllIndicesProvider({ getService }: FtrProviderContext) { ); // delete the concrete indexes we found and try again until this pattern resolves to no indexes - await deleteConcreteIndices(indices); + await deleteConcreteIndices(indices, esNode); } } }; diff --git a/x-pack/test/functional/apps/rollup_job/index.js b/x-pack/test/functional/apps/rollup_job/index.js index 943536539c5ad..f65396db754cb 100644 --- a/x-pack/test/functional/apps/rollup_job/index.js +++ b/x-pack/test/functional/apps/rollup_job/index.js @@ -5,10 +5,13 @@ * 2.0. */ -export default function ({ loadTestFile }) { +export default function ({ loadTestFile, getService }) { + const config = getService('config'); describe('rollup app', function () { loadTestFile(require.resolve('./rollup_jobs')); - loadTestFile(require.resolve('./hybrid_index_pattern')); - loadTestFile(require.resolve('./tsvb')); + if (!config.get('esTestCluster.ccs')) { + loadTestFile(require.resolve('./hybrid_index_pattern')); + loadTestFile(require.resolve('./tsvb')); + } }); } diff --git a/x-pack/test/functional/apps/rollup_job/rollup_jobs.js b/x-pack/test/functional/apps/rollup_job/rollup_jobs.js index abf01f63c4676..1b2ba0457e02b 100644 --- a/x-pack/test/functional/apps/rollup_job/rollup_jobs.js +++ b/x-pack/test/functional/apps/rollup_job/rollup_jobs.js @@ -8,23 +8,33 @@ import datemath from '@kbn/datemath'; import expect from '@kbn/expect'; import { mockIndices } from './hybrid_index_helper'; +// import { FtrProviderContext } from '../../ftr_provider_context'; export default function ({ getService, getPageObjects }) { - const es = getService('es'); + const config = getService('config'); const PageObjects = getPageObjects(['rollup', 'common', 'security']); const security = getService('security'); const esDeleteAllIndices = getService('esDeleteAllIndices'); const kibanaServer = getService('kibanaServer'); + const es = getService('es'); + const isRunningCcs = config.get('esTestCluster.ccs') ? true : false; + let remoteEs; + if (isRunningCcs) { + remoteEs = getService('remoteEs'); + } describe('rollup job', function () { - //Since rollups can only be created once with the same name (even if you delete it), - //we add the Date.now() to avoid name collision. + // Since rollups can only be created once with the same name (even if you delete it), + // we add the Date.now() to avoid name collision. const rollupJobName = 'rollup-to-be-' + Date.now(); const targetIndexName = 'rollup-to-be'; - const rollupSourceIndexPattern = 'to-be*'; + const indexPatternToUse = 'to-be*'; + const rollupSourceIndexPattern = isRunningCcs + ? 'ftr-remote:' + indexPatternToUse + : indexPatternToUse; const rollupSourceDataPrepend = 'to-be'; - //make sure all dates have the same concept of "now" + // make sure all dates have the same concept of "now" const now = new Date(); const pastDates = [ datemath.parse('now-1d', { forceNow: now }), @@ -32,15 +42,18 @@ export default function ({ getService, getPageObjects }) { datemath.parse('now-3d', { forceNow: now }), ]; before(async () => { - await security.testUser.setRoles(['manage_rollups_role']); + // + // https://github.com/elastic/kibana/issues/143720 + // await security.testUser.setRoles(['manage_rollups_role', 'global_ccr_role']); + await security.testUser.setRoles(['superuser']); await PageObjects.common.navigateToApp('rollupJob'); }); it('create new rollup job', async () => { const interval = '1000ms'; - + const esNode = isRunningCcs ? remoteEs : es; for (const day of pastDates) { - await es.index(mockIndices(day, rollupSourceDataPrepend)); + await esNode.index(mockIndices(day, rollupSourceDataPrepend)); } await PageObjects.rollup.createNewRollUpJob( @@ -58,7 +71,7 @@ export default function ({ getService, getPageObjects }) { }); after(async () => { - //Stop the running rollup job. + // Stop the running rollup job. await es.transport.request({ path: `/_rollup/job/${rollupJobName}/_stop?wait_for_completion=true`, method: 'POST', @@ -69,8 +82,13 @@ export default function ({ getService, getPageObjects }) { method: 'DELETE', }); - //Delete all data indices that were created. - await esDeleteAllIndices([targetIndexName, rollupSourceIndexPattern]); + // Delete all data indices that were created. + await esDeleteAllIndices([targetIndexName], false); + if (isRunningCcs) { + await esDeleteAllIndices([indexPatternToUse], true); + } else { + await esDeleteAllIndices([indexPatternToUse], false); + } await kibanaServer.savedObjects.cleanStandardList(); await security.testUser.restoreDefaults(); }); diff --git a/x-pack/test/functional/config.ccs.ts b/x-pack/test/functional/config.ccs.ts index 6ed19292d9411..d04b542cfb965 100644 --- a/x-pack/test/functional/config.ccs.ts +++ b/x-pack/test/functional/config.ccs.ts @@ -15,7 +15,11 @@ export default async function ({ readConfigFile }: FtrConfigProviderContext) { return { ...functionalConfig.getAll(), - testFiles: [require.resolve('./apps/canvas'), require.resolve('./apps/lens/group1')], + testFiles: [ + require.resolve('./apps/canvas'), + require.resolve('./apps/lens/group1'), + require.resolve('./apps/rollup_job'), + ], junit: { reportName: 'X-Pack CCS Tests', From fe2480d96d495cae5ef5008395bc2d83d6e4379d Mon Sep 17 00:00:00 2001 From: spalger Date: Fri, 28 Oct 2022 14:25:51 -0500 Subject: [PATCH 013/111] [ts] ts refs cache was removed, remove capture task --- .buildkite/scripts/bootstrap.sh | 11 ----------- .buildkite/scripts/common/env.sh | 5 ----- .../scripts/steps/functional/osquery_cypress.sh | 1 - .buildkite/scripts/steps/lint_with_types.sh | 1 - .buildkite/scripts/steps/on_merge_ts_refs_api_docs.sh | 3 --- .ci/Jenkinsfile_baseline_capture | 3 --- src/dev/ci_setup/setup.sh | 9 --------- vars/workers.groovy | 1 - 8 files changed, 34 deletions(-) diff --git a/.buildkite/scripts/bootstrap.sh b/.buildkite/scripts/bootstrap.sh index 4646da7600ecf..b7576dda72f24 100755 --- a/.buildkite/scripts/bootstrap.sh +++ b/.buildkite/scripts/bootstrap.sh @@ -36,14 +36,3 @@ if [[ "$DISABLE_BOOTSTRAP_VALIDATION" != "true" ]]; then check_for_changed_files 'yarn kbn bootstrap' fi -### -### upload ts-refs-cache artifacts as quickly as possible so they are available for download -### -if [[ "${BUILD_TS_REFS_CACHE_CAPTURE:-}" == "true" ]]; then - echo "--- Build ts-refs-cache" - node scripts/build_ts_refs.js --ignore-type-failures - echo "--- Upload ts-refs-cache" - cd "$KIBANA_DIR/target/ts_refs_cache" - gsutil cp "*.zip" 'gs://kibana-ci-ts-refs-cache/' - cd "$KIBANA_DIR" -fi diff --git a/.buildkite/scripts/common/env.sh b/.buildkite/scripts/common/env.sh index f80acae365d4e..4485854d789e1 100755 --- a/.buildkite/scripts/common/env.sh +++ b/.buildkite/scripts/common/env.sh @@ -106,11 +106,6 @@ export GCS_UPLOAD_PREFIX=FAKE_UPLOAD_PREFIX # TODO remove the need for this export KIBANA_BUILD_LOCATION="$WORKSPACE/kibana-build-xpack" -if [[ "${BUILD_TS_REFS_CACHE_ENABLE:-}" != "true" ]]; then - export BUILD_TS_REFS_CACHE_ENABLE=false -fi - -export BUILD_TS_REFS_DISABLE=true export DISABLE_BOOTSTRAP_VALIDATION=true # Prevent Browserlist from logging on CI about outdated database versions diff --git a/.buildkite/scripts/steps/functional/osquery_cypress.sh b/.buildkite/scripts/steps/functional/osquery_cypress.sh index 02766e0530bfb..185117718737f 100755 --- a/.buildkite/scripts/steps/functional/osquery_cypress.sh +++ b/.buildkite/scripts/steps/functional/osquery_cypress.sh @@ -4,7 +4,6 @@ set -euo pipefail source .buildkite/scripts/common/util.sh -export BUILD_TS_REFS_DISABLE=false .buildkite/scripts/bootstrap.sh node scripts/build_kibana_platform_plugins.js diff --git a/.buildkite/scripts/steps/lint_with_types.sh b/.buildkite/scripts/steps/lint_with_types.sh index 81d5ef03f4989..c8c8e9446b76f 100755 --- a/.buildkite/scripts/steps/lint_with_types.sh +++ b/.buildkite/scripts/steps/lint_with_types.sh @@ -4,7 +4,6 @@ set -euo pipefail source .buildkite/scripts/common/util.sh -export BUILD_TS_REFS_DISABLE=false .buildkite/scripts/bootstrap.sh echo '--- Lint: eslint (with types)' diff --git a/.buildkite/scripts/steps/on_merge_ts_refs_api_docs.sh b/.buildkite/scripts/steps/on_merge_ts_refs_api_docs.sh index 5659db50e1404..f2360e58851db 100755 --- a/.buildkite/scripts/steps/on_merge_ts_refs_api_docs.sh +++ b/.buildkite/scripts/steps/on_merge_ts_refs_api_docs.sh @@ -3,10 +3,7 @@ set -euo pipefail export BAZEL_CACHE_MODE=buildbuddy # Populate Buildbuddy bazel remote cache for linux -export BUILD_TS_REFS_CACHE_ENABLE=true -export BUILD_TS_REFS_CACHE_CAPTURE=true export DISABLE_BOOTSTRAP_VALIDATION=true -export BUILD_TS_REFS_DISABLE=false .buildkite/scripts/bootstrap.sh diff --git a/.ci/Jenkinsfile_baseline_capture b/.ci/Jenkinsfile_baseline_capture index 8318998618ee9..79ba63fb63ae5 100644 --- a/.ci/Jenkinsfile_baseline_capture +++ b/.ci/Jenkinsfile_baseline_capture @@ -23,9 +23,6 @@ kibanaPipeline(timeoutMinutes: 210) { ) { withGcpServiceAccount.fromVaultSecret('secret/kibana-issues/dev/ci-artifacts-key', 'value') { withEnv([ - 'BUILD_TS_REFS_DISABLE=false', // disabled in root config so we need to override that here - 'BUILD_TS_REFS_CACHE_ENABLE=true', - 'BUILD_TS_REFS_CACHE_CAPTURE=true', 'DISABLE_BOOTSTRAP_VALIDATION=true', ]) { kibanaPipeline.doSetup() diff --git a/src/dev/ci_setup/setup.sh b/src/dev/ci_setup/setup.sh index 18f11fa7f16e4..aeb0ba75a9052 100755 --- a/src/dev/ci_setup/setup.sh +++ b/src/dev/ci_setup/setup.sh @@ -16,15 +16,6 @@ echo " -- TEST_ES_SNAPSHOT_VERSION='$TEST_ES_SNAPSHOT_VERSION'" echo " -- installing node.js dependencies" yarn kbn bootstrap --verbose -### -### upload ts-refs-cache artifacts as quickly as possible so they are available for download -### -if [[ "$BUILD_TS_REFS_CACHE_CAPTURE" == "true" ]]; then - cd "$KIBANA_DIR/target/ts_refs_cache" - gsutil cp "*.zip" 'gs://kibana-ci-ts-refs-cache/' - cd "$KIBANA_DIR" -fi - ### ### Download es snapshots ### diff --git a/vars/workers.groovy b/vars/workers.groovy index d95c3fdbb1b44..ea67ce415738f 100644 --- a/vars/workers.groovy +++ b/vars/workers.groovy @@ -108,7 +108,6 @@ def base(Map params, Closure closure) { "GIT_COMMIT=${checkoutInfo.commit}", "GIT_BRANCH=${checkoutInfo.branch}", "TMPDIR=${env.WORKSPACE}/tmp", // For Chrome and anything else that respects it - "BUILD_TS_REFS_DISABLE=true", // no need to build ts refs in bootstrap ]) { withCredentials([ string(credentialsId: 'vault-addr', variable: 'VAULT_ADDR'), From 7671176714250b26799c4d93387f7842e7ad2cff Mon Sep 17 00:00:00 2001 From: Adam Demjen Date: Fri, 28 Oct 2022 16:13:18 -0400 Subject: [PATCH 014/111] [8.6][ML Inference] Verify pipeline usage before deletion (#144053) * Add validation of pipeline usage before deletion --- .../common/types/error_codes.ts | 1 + .../delete_ml_inference_pipeline.test.ts | 38 ++++++++++- .../delete_ml_inference_pipeline.ts | 63 ++++++++++++++++--- .../routes/enterprise_search/indices.test.ts | 20 ++++++ .../routes/enterprise_search/indices.ts | 18 ++++++ .../server/utils/identify_exceptions.ts | 5 ++ 6 files changed, 136 insertions(+), 9 deletions(-) diff --git a/x-pack/plugins/enterprise_search/common/types/error_codes.ts b/x-pack/plugins/enterprise_search/common/types/error_codes.ts index 8ceb77281a1e5..c7691d99d4677 100644 --- a/x-pack/plugins/enterprise_search/common/types/error_codes.ts +++ b/x-pack/plugins/enterprise_search/common/types/error_codes.ts @@ -14,6 +14,7 @@ export enum ErrorCode { INDEX_ALREADY_EXISTS = 'index_already_exists', INDEX_NOT_FOUND = 'index_not_found', PIPELINE_ALREADY_EXISTS = 'pipeline_already_exists', + PIPELINE_IS_IN_USE = 'pipeline_is_in_use', RESOURCE_NOT_FOUND = 'resource_not_found', UNAUTHORIZED = 'unauthorized', UNCAUGHT_EXCEPTION = 'uncaught_exception', diff --git a/x-pack/plugins/enterprise_search/server/lib/indices/pipelines/ml_inference/pipeline_processors/delete_ml_inference_pipeline.test.ts b/x-pack/plugins/enterprise_search/server/lib/indices/pipelines/ml_inference/pipeline_processors/delete_ml_inference_pipeline.test.ts index 8782dcc772d75..9fc5f27b12ce7 100644 --- a/x-pack/plugins/enterprise_search/server/lib/indices/pipelines/ml_inference/pipeline_processors/delete_ml_inference_pipeline.test.ts +++ b/x-pack/plugins/enterprise_search/server/lib/indices/pipelines/ml_inference/pipeline_processors/delete_ml_inference_pipeline.test.ts @@ -8,6 +8,8 @@ import { errors } from '@elastic/elasticsearch'; import { ElasticsearchClient } from '@kbn/core/server'; +import { ErrorCode } from '../../../../../../common/types/error_codes'; + import { deleteMlInferencePipeline } from './delete_ml_inference_pipeline'; describe('deleteMlInferencePipeline lib function', () => { @@ -72,7 +74,9 @@ describe('deleteMlInferencePipeline lib function', () => { }); it('should succeed when parent pipeline is missing', async () => { - mockClient.ingest.getPipeline.mockImplementation(() => Promise.reject(notFoundError)); + mockClient.ingest.getPipeline + .mockImplementationOnce(() => Promise.resolve({})) // 1st call (get *@ml-inference) + .mockImplementation(() => Promise.reject(notFoundError)); // Subsequent calls mockClient.ingest.deletePipeline.mockImplementation(() => Promise.resolve({ acknowledged: true }) ); @@ -115,4 +119,36 @@ describe('deleteMlInferencePipeline lib function', () => { id: 'my-ml-pipeline', }); }); + + it("should fail when pipeline is used in another index's pipeline", async () => { + const mockGetPipelines = { + ...mockGetPipeline, // References my-ml-pipeline + 'my-other-index@ml-inference': { + id: 'my-other-index@ml-inference', + processors: [ + { + pipeline: { + name: 'my-ml-pipeline', // Also references my-ml-pipeline + }, + }, + ], + }, + }; + + mockClient.ingest.getPipeline + .mockImplementationOnce(() => Promise.resolve(mockGetPipelines)) // 1st call + .mockImplementation(() => Promise.resolve(mockGetPipeline)); // Subsequent calls + mockClient.ingest.deletePipeline.mockImplementation(() => Promise.reject(notFoundError)); + + await expect( + deleteMlInferencePipeline( + 'my-index', + 'my-ml-pipeline', + mockClient as unknown as ElasticsearchClient + ) + ).rejects.toThrow(ErrorCode.PIPELINE_IS_IN_USE); + + expect(mockClient.ingest.putPipeline).toHaveBeenCalledTimes(0); + expect(mockClient.ingest.deletePipeline).toHaveBeenCalledTimes(0); + }); }); diff --git a/x-pack/plugins/enterprise_search/server/lib/indices/pipelines/ml_inference/pipeline_processors/delete_ml_inference_pipeline.ts b/x-pack/plugins/enterprise_search/server/lib/indices/pipelines/ml_inference/pipeline_processors/delete_ml_inference_pipeline.ts index 6cb74d75dd6ce..0d9609e05bba4 100644 --- a/x-pack/plugins/enterprise_search/server/lib/indices/pipelines/ml_inference/pipeline_processors/delete_ml_inference_pipeline.ts +++ b/x-pack/plugins/enterprise_search/server/lib/indices/pipelines/ml_inference/pipeline_processors/delete_ml_inference_pipeline.ts @@ -7,8 +7,11 @@ import { ElasticsearchClient } from '@kbn/core/server'; +import { ErrorCode } from '../../../../../../common/types/error_codes'; import { DeleteMlInferencePipelineResponse } from '../../../../../../common/types/pipelines'; +import { getInferencePipelineNameFromIndexName } from '../../../../../utils/ml_inference_pipeline_utils'; + import { detachMlInferencePipeline } from './detach_ml_inference_pipeline'; export const deleteMlInferencePipeline = async ( @@ -16,22 +19,66 @@ export const deleteMlInferencePipeline = async ( pipelineName: string, client: ElasticsearchClient ) => { - let response: DeleteMlInferencePipelineResponse = {}; + // Check if the pipeline is in use in a different index's managed pipeline + const otherPipelineName = await findUsageInOtherManagedPipelines(pipelineName, indexName, client); + if (otherPipelineName) { + throw Object.assign(new Error(ErrorCode.PIPELINE_IS_IN_USE), { + pipelineName: otherPipelineName, + }); + } + + // Detach the pipeline first + const response = await detachPipeline(indexName, pipelineName, client); + + // Finally, delete pipeline + const deleteResponse = await client.ingest.deletePipeline({ id: pipelineName }); + if (deleteResponse.acknowledged === true) { + response.deleted = pipelineName; + } + return response; +}; + +const detachPipeline = async ( + indexName: string, + pipelineName: string, + client: ElasticsearchClient +): Promise => { try { - response = await detachMlInferencePipeline(indexName, pipelineName, client); + return await detachMlInferencePipeline(indexName, pipelineName, client); } catch (error) { // only suppress Not Found error if (error.meta?.statusCode !== 404) { throw error; } - } - // finally, delete pipeline - const deleteResponse = await client.ingest.deletePipeline({ id: pipelineName }); - if (deleteResponse.acknowledged === true) { - response.deleted = pipelineName; + return {}; } +}; - return response; +const findUsageInOtherManagedPipelines = async ( + pipelineName: string, + indexName: string, + client: ElasticsearchClient +): Promise => { + try { + // Fetch all managed parent ML pipelines + const pipelines = await client.ingest.getPipeline({ + id: '*@ml-inference', + }); + + // The given inference pipeline is being used in another index's managed pipeline if: + // - The index name is different from the one we're deleting from, AND + // - Its processors contain at least one entry in which the supplied pipeline name is referenced + return Object.entries(pipelines).find( + ([name, pipeline]) => + name !== getInferencePipelineNameFromIndexName(indexName) && + pipeline.processors?.find((processor) => processor.pipeline?.name === pipelineName) + )?.[0]; // Managed pipeline name + } catch (error) { + // only suppress Not Found error + if (error.meta?.statusCode !== 404) { + throw error; + } + } }; diff --git a/x-pack/plugins/enterprise_search/server/routes/enterprise_search/indices.test.ts b/x-pack/plugins/enterprise_search/server/routes/enterprise_search/indices.test.ts index 52039cc48173b..3fd65abfdba5f 100644 --- a/x-pack/plugins/enterprise_search/server/routes/enterprise_search/indices.test.ts +++ b/x-pack/plugins/enterprise_search/server/routes/enterprise_search/indices.test.ts @@ -449,6 +449,26 @@ describe('Enterprise Search Managed Indices', () => { ); expect(mockRouter.response.customError).toHaveBeenCalledTimes(1); }); + + it('raises error if the pipeline is in use', async () => { + (deleteMlInferencePipeline as jest.Mock).mockImplementationOnce(() => { + return Promise.reject({ + message: ErrorCode.PIPELINE_IS_IN_USE, + pipelineName: 'my-other-index@ml-inference', + }); + }); + + await mockRouter.callRoute({ + params: { indexName, pipelineName }, + }); + + expect(deleteMlInferencePipeline).toHaveBeenCalledWith( + indexName, + pipelineName, + mockClient.asCurrentUser + ); + expect(mockRouter.response.customError).toHaveBeenCalledTimes(1); + }); }); describe('POST /internal/enterprise_search/indices/{indexName}/ml_inference/pipeline_processors/simulate', () => { diff --git a/x-pack/plugins/enterprise_search/server/routes/enterprise_search/indices.ts b/x-pack/plugins/enterprise_search/server/routes/enterprise_search/indices.ts index 02a7dd528f872..aa6c4f5c3db78 100644 --- a/x-pack/plugins/enterprise_search/server/routes/enterprise_search/indices.ts +++ b/x-pack/plugins/enterprise_search/server/routes/enterprise_search/indices.ts @@ -48,6 +48,7 @@ import { createError } from '../../utils/create_error'; import { elasticsearchErrorHandler } from '../../utils/elasticsearch_error_handler'; import { isIndexNotFoundException, + isPipelineIsInUseException, isResourceNotFoundException, } from '../../utils/identify_exceptions'; import { getPrefixedInferencePipelineProcessorName } from '../../utils/ml_inference_pipeline_utils'; @@ -697,7 +698,24 @@ export function registerIndexRoutes({ response, statusCode: 404, }); + } else if (isPipelineIsInUseException(error)) { + return createError({ + errorCode: ErrorCode.PIPELINE_IS_IN_USE, + message: i18n.translate( + 'xpack.enterpriseSearch.server.routes.indices.mlInference.pipelineProcessors.pipelineIsInUseError', + { + defaultMessage: + "Inference pipeline is used in managed pipeline '{pipelineName}' of a different index", + values: { + pipelineName: error.pipelineName, + }, + } + ), + response, + statusCode: 400, + }); } + // otherwise, let the default handler wrap it throw error; } diff --git a/x-pack/plugins/enterprise_search/server/utils/identify_exceptions.ts b/x-pack/plugins/enterprise_search/server/utils/identify_exceptions.ts index d65f2918275d2..9577eabfd31f3 100644 --- a/x-pack/plugins/enterprise_search/server/utils/identify_exceptions.ts +++ b/x-pack/plugins/enterprise_search/server/utils/identify_exceptions.ts @@ -5,6 +5,8 @@ * 2.0. */ +import { ErrorCode } from '../../common/types/error_codes'; + export interface ElasticsearchResponseError { meta?: { body?: { @@ -28,3 +30,6 @@ export const isResourceNotFoundException = (error: ElasticsearchResponseError) = export const isUnauthorizedException = (error: ElasticsearchResponseError) => error.meta?.statusCode === 403; + +export const isPipelineIsInUseException = (error: Error) => + error.message === ErrorCode.PIPELINE_IS_IN_USE; From af1230b7c4c65e9ea6289accb5e22c6bb64d9942 Mon Sep 17 00:00:00 2001 From: Spencer Date: Fri, 28 Oct 2022 14:21:02 -0700 Subject: [PATCH 015/111] [ci] remove github-checks-reporter (#144193) --- .buildkite/scripts/common/env.sh | 7 -- .buildkite/scripts/common/util.sh | 9 -- .../scripts/saved_object_field_metrics.sh | 9 +- .buildkite/scripts/steps/check_types.sh | 3 +- .../scripts/steps/checks/bundle_limits.sh | 3 +- .../scripts/steps/checks/file_casing.sh | 3 +- .../scripts/steps/checks/ftr_configs.sh | 3 +- .buildkite/scripts/steps/checks/i18n.sh | 3 +- .../scripts/steps/checks/jest_configs.sh | 3 +- .buildkite/scripts/steps/checks/licenses.sh | 3 +- .../checks/plugins_with_circular_deps.sh | 3 +- .buildkite/scripts/steps/checks/telemetry.sh | 3 +- .../scripts/steps/checks/test_hardening.sh | 3 +- .../scripts/steps/checks/test_projects.sh | 3 +- .../scripts/steps/checks/ts_projects.sh | 3 +- .../scripts/steps/checks/verify_notice.sh | 3 +- .../steps/fleet/install_all_packages.sh | 7 +- .../scripts/steps/functional/apm_cypress.sh | 3 +- .../scripts/steps/functional/fleet_cypress.sh | 9 +- .../steps/functional/observability_plugin.sh | 3 +- .../steps/functional/osquery_cypress.sh | 7 +- .../scripts/steps/functional/response_ops.sh | 9 +- .../steps/functional/response_ops_cases.sh | 9 +- .../steps/functional/security_solution.sh | 9 +- .../scripts/steps/functional/synthetics.sh | 3 +- .../steps/functional/synthetics_plugin.sh | 3 +- .../steps/functional/ux_synthetics_e2e.sh | 3 +- .buildkite/scripts/steps/lint.sh | 3 +- .buildkite/scripts/steps/lint_with_types.sh | 3 +- .buildkite/scripts/steps/test/jest.sh | 5 +- .../scripts/steps/test/jest_integration.sh | 5 +- package.json | 1 - src/dev/ci_setup/setup_env.sh | 14 --- test/scripts/checks/bundle_limits.sh | 3 +- test/scripts/checks/commit/commit.sh | 3 +- test/scripts/checks/file_casing.sh | 3 +- test/scripts/checks/i18n.sh | 3 +- test/scripts/checks/jest_configs.sh | 3 +- test/scripts/checks/licenses.sh | 3 +- .../checks/plugins_with_circular_deps.sh | 3 +- test/scripts/checks/telemetry.sh | 3 +- test/scripts/checks/test_hardening.sh | 3 +- test/scripts/checks/test_projects.sh | 3 +- test/scripts/checks/ts_projects.sh | 3 +- .../type_check_plugin_public_api_docs.sh | 14 ++- test/scripts/checks/verify_notice.sh | 3 +- test/scripts/jenkins_accessibility.sh | 9 +- test/scripts/jenkins_apm_cypress.sh | 3 +- .../jenkins_build_kbn_sample_panel_action.sh | 2 +- test/scripts/jenkins_ci_group.sh | 9 +- test/scripts/jenkins_firefox_smoke.sh | 11 ++- test/scripts/jenkins_fleet_cypress.sh | 9 +- test/scripts/jenkins_osquery_cypress.sh | 9 +- ...enkins_security_solution_cypress_chrome.sh | 9 +- ...nkins_security_solution_cypress_firefox.sh | 9 +- test/scripts/jenkins_uptime_playwright.sh | 3 +- test/scripts/jenkins_ux_synthetics.sh | 3 +- test/scripts/jenkins_xpack_accessibility.sh | 9 +- test/scripts/jenkins_xpack_ci_group.sh | 11 ++- test/scripts/jenkins_xpack_firefox_smoke.sh | 13 ++- ...nkins_xpack_saved_objects_field_metrics.sh | 9 +- test/scripts/lint/eslint.sh | 3 +- test/scripts/lint/stylelint.sh | 3 +- test/scripts/test/api_integration.sh | 9 +- test/scripts/test/interpreter_functional.sh | 11 ++- test/scripts/test/jest_integration.sh | 3 +- test/scripts/test/jest_unit.sh | 3 +- test/scripts/test/plugin_functional.sh | 9 +- test/scripts/test/server_integration.sh | 28 +++--- yarn.lock | 90 ++----------------- 70 files changed, 153 insertions(+), 334 deletions(-) diff --git a/.buildkite/scripts/common/env.sh b/.buildkite/scripts/common/env.sh index 4485854d789e1..54524568436c3 100755 --- a/.buildkite/scripts/common/env.sh +++ b/.buildkite/scripts/common/env.sh @@ -63,12 +63,6 @@ if is_pr; then export ELASTIC_APM_CONTEXT_PROPAGATION_ONLY=true fi - if [[ "${GITHUB_STEP_COMMIT_STATUS_ENABLED:-}" != "true" ]]; then - export CHECKS_REPORTER_ACTIVE=true - else - export CHECKS_REPORTER_ACTIVE=false - fi - # These can be removed once we're not supporting Jenkins and Buildkite at the same time # These are primarily used by github checks reporter and can be configured via /github_checks_api.json export ghprbGhRepository="elastic/kibana" @@ -83,7 +77,6 @@ if is_pr; then else export ELASTIC_APM_ACTIVE=true export ELASTIC_APM_CONTEXT_PROPAGATION_ONLY=false - export CHECKS_REPORTER_ACTIVE=false fi # These are for backwards-compatibility diff --git a/.buildkite/scripts/common/util.sh b/.buildkite/scripts/common/util.sh index 748babfc0650b..e22a807fc1830 100755 --- a/.buildkite/scripts/common/util.sh +++ b/.buildkite/scripts/common/util.sh @@ -1,14 +1,5 @@ #!/usr/bin/env bash -checks-reporter-with-killswitch() { - if [ "$CHECKS_REPORTER_ACTIVE" == "true" ] ; then - yarn run github-checks-reporter "$@" - else - arguments=("$@"); - "${arguments[@]:1}"; - fi -} - is_pr() { [[ "${GITHUB_PR_NUMBER-}" ]] && return false diff --git a/.buildkite/scripts/saved_object_field_metrics.sh b/.buildkite/scripts/saved_object_field_metrics.sh index 4cc249db20edc..53f0b22400dde 100755 --- a/.buildkite/scripts/saved_object_field_metrics.sh +++ b/.buildkite/scripts/saved_object_field_metrics.sh @@ -5,8 +5,7 @@ set -euo pipefail source .buildkite/scripts/common/util.sh echo '--- Default Saved Object Field Metrics' -checks-reporter-with-killswitch "Capture Kibana Saved Objects field count metrics" \ - node scripts/functional_tests \ - --debug --bail \ - --kibana-install-dir "$KIBANA_BUILD_LOCATION" \ - --config x-pack/test/saved_objects_field_count/config.ts +node scripts/functional_tests \ + --debug --bail \ + --kibana-install-dir "$KIBANA_BUILD_LOCATION" \ + --config x-pack/test/saved_objects_field_count/config.ts diff --git a/.buildkite/scripts/steps/check_types.sh b/.buildkite/scripts/steps/check_types.sh index eb7a41d74e8d8..94c28c9b47d9b 100755 --- a/.buildkite/scripts/steps/check_types.sh +++ b/.buildkite/scripts/steps/check_types.sh @@ -7,5 +7,4 @@ source .buildkite/scripts/common/util.sh .buildkite/scripts/bootstrap.sh echo --- Check Types -checks-reporter-with-killswitch "Check Types" \ - node scripts/type_check +node scripts/type_check diff --git a/.buildkite/scripts/steps/checks/bundle_limits.sh b/.buildkite/scripts/steps/checks/bundle_limits.sh index f0885d246f2c6..9be72e12b8671 100755 --- a/.buildkite/scripts/steps/checks/bundle_limits.sh +++ b/.buildkite/scripts/steps/checks/bundle_limits.sh @@ -6,5 +6,4 @@ source .buildkite/scripts/common/util.sh echo --- Check Bundle Limits -checks-reporter-with-killswitch "Check Bundle Limits" \ - node scripts/build_kibana_platform_plugins --validate-limits +node scripts/build_kibana_platform_plugins --validate-limits diff --git a/.buildkite/scripts/steps/checks/file_casing.sh b/.buildkite/scripts/steps/checks/file_casing.sh index 76e3dce506487..c4500de4c57ab 100755 --- a/.buildkite/scripts/steps/checks/file_casing.sh +++ b/.buildkite/scripts/steps/checks/file_casing.sh @@ -5,5 +5,4 @@ set -euo pipefail source .buildkite/scripts/common/util.sh echo --- Check File Casing -checks-reporter-with-killswitch "Check File Casing" \ - node scripts/check_file_casing --quiet +node scripts/check_file_casing --quiet diff --git a/.buildkite/scripts/steps/checks/ftr_configs.sh b/.buildkite/scripts/steps/checks/ftr_configs.sh index 629cb748da88c..6959b58916b49 100755 --- a/.buildkite/scripts/steps/checks/ftr_configs.sh +++ b/.buildkite/scripts/steps/checks/ftr_configs.sh @@ -5,5 +5,4 @@ set -euo pipefail source .buildkite/scripts/common/util.sh echo --- Check FTR Configs -checks-reporter-with-killswitch "Check FTR Configs" \ - node scripts/check_ftr_configs +node scripts/check_ftr_configs diff --git a/.buildkite/scripts/steps/checks/i18n.sh b/.buildkite/scripts/steps/checks/i18n.sh index fad455899215d..f41d66df90e81 100755 --- a/.buildkite/scripts/steps/checks/i18n.sh +++ b/.buildkite/scripts/steps/checks/i18n.sh @@ -5,5 +5,4 @@ set -euo pipefail source .buildkite/scripts/common/util.sh echo --- Check i18n -checks-reporter-with-killswitch "Check i18n" \ - node scripts/i18n_check --ignore-missing +node scripts/i18n_check --ignore-missing diff --git a/.buildkite/scripts/steps/checks/jest_configs.sh b/.buildkite/scripts/steps/checks/jest_configs.sh index b85687333c92b..7834ed8b52ff0 100755 --- a/.buildkite/scripts/steps/checks/jest_configs.sh +++ b/.buildkite/scripts/steps/checks/jest_configs.sh @@ -5,5 +5,4 @@ set -euo pipefail source .buildkite/scripts/common/util.sh echo --- Check Jest Configs -checks-reporter-with-killswitch "Check Jest Configs" \ - node scripts/check_jest_configs +node scripts/check_jest_configs diff --git a/.buildkite/scripts/steps/checks/licenses.sh b/.buildkite/scripts/steps/checks/licenses.sh index 58add8a8c9530..dff1738e27555 100755 --- a/.buildkite/scripts/steps/checks/licenses.sh +++ b/.buildkite/scripts/steps/checks/licenses.sh @@ -5,5 +5,4 @@ set -euo pipefail source .buildkite/scripts/common/util.sh echo --- Check Licenses -checks-reporter-with-killswitch "Check Licenses" \ - node scripts/check_licenses --dev +node scripts/check_licenses --dev diff --git a/.buildkite/scripts/steps/checks/plugins_with_circular_deps.sh b/.buildkite/scripts/steps/checks/plugins_with_circular_deps.sh index 783b709c18aa4..a09c09f9fb847 100755 --- a/.buildkite/scripts/steps/checks/plugins_with_circular_deps.sh +++ b/.buildkite/scripts/steps/checks/plugins_with_circular_deps.sh @@ -5,5 +5,4 @@ set -euo pipefail source .buildkite/scripts/common/util.sh echo --- Check Plugins With Circular Dependencies -checks-reporter-with-killswitch "Check Plugins With Circular Dependencies" \ - node scripts/find_plugins_with_circular_deps +node scripts/find_plugins_with_circular_deps diff --git a/.buildkite/scripts/steps/checks/telemetry.sh b/.buildkite/scripts/steps/checks/telemetry.sh index e058d5ceab857..073f1fbaaff02 100755 --- a/.buildkite/scripts/steps/checks/telemetry.sh +++ b/.buildkite/scripts/steps/checks/telemetry.sh @@ -5,5 +5,4 @@ set -euo pipefail source .buildkite/scripts/common/util.sh echo --- Check Telemetry Schema -checks-reporter-with-killswitch "Check Telemetry Schema" \ - node scripts/telemetry_check +node scripts/telemetry_check diff --git a/.buildkite/scripts/steps/checks/test_hardening.sh b/.buildkite/scripts/steps/checks/test_hardening.sh index c80dd1b0b6fd7..7b5a3c2b28937 100755 --- a/.buildkite/scripts/steps/checks/test_hardening.sh +++ b/.buildkite/scripts/steps/checks/test_hardening.sh @@ -5,5 +5,4 @@ set -euo pipefail source .buildkite/scripts/common/util.sh echo --- Test Hardening -checks-reporter-with-killswitch "Test Hardening" \ - node scripts/test_hardening +node scripts/test_hardening diff --git a/.buildkite/scripts/steps/checks/test_projects.sh b/.buildkite/scripts/steps/checks/test_projects.sh index 76625b23ac335..e2f84cdf8c4de 100755 --- a/.buildkite/scripts/steps/checks/test_projects.sh +++ b/.buildkite/scripts/steps/checks/test_projects.sh @@ -5,5 +5,4 @@ set -euo pipefail source .buildkite/scripts/common/util.sh echo --- Test Projects -checks-reporter-with-killswitch "Test Projects" \ - yarn kbn run-in-packages test +yarn kbn run-in-packages test diff --git a/.buildkite/scripts/steps/checks/ts_projects.sh b/.buildkite/scripts/steps/checks/ts_projects.sh index 53b4f536e8f4b..a98f0f6d90f16 100755 --- a/.buildkite/scripts/steps/checks/ts_projects.sh +++ b/.buildkite/scripts/steps/checks/ts_projects.sh @@ -5,5 +5,4 @@ set -euo pipefail source .buildkite/scripts/common/util.sh echo --- Check TypeScript Projects -checks-reporter-with-killswitch "Check TypeScript Projects" \ - node scripts/check_ts_projects +node scripts/check_ts_projects diff --git a/.buildkite/scripts/steps/checks/verify_notice.sh b/.buildkite/scripts/steps/checks/verify_notice.sh index a92a268bdc886..aa21c0a6bb24a 100755 --- a/.buildkite/scripts/steps/checks/verify_notice.sh +++ b/.buildkite/scripts/steps/checks/verify_notice.sh @@ -5,5 +5,4 @@ set -euo pipefail source .buildkite/scripts/common/util.sh echo --- Verify NOTICE -checks-reporter-with-killswitch "Verify NOTICE" \ - node scripts/notice --validate +node scripts/notice --validate diff --git a/.buildkite/scripts/steps/fleet/install_all_packages.sh b/.buildkite/scripts/steps/fleet/install_all_packages.sh index f9fbe6d465c69..b02c930160f12 100755 --- a/.buildkite/scripts/steps/fleet/install_all_packages.sh +++ b/.buildkite/scripts/steps/fleet/install_all_packages.sh @@ -6,7 +6,6 @@ source .buildkite/scripts/steps/functional/common.sh echo '--- Installing all packages' -checks-reporter-with-killswitch "Fleet packages Tests" \ - node scripts/functional_tests \ - --debug --bail \ - --config x-pack/test/fleet_packages/config.ts \ No newline at end of file +node scripts/functional_tests \ + --debug --bail \ + --config x-pack/test/fleet_packages/config.ts diff --git a/.buildkite/scripts/steps/functional/apm_cypress.sh b/.buildkite/scripts/steps/functional/apm_cypress.sh index 04f9aee280429..34e94baf180f9 100755 --- a/.buildkite/scripts/steps/functional/apm_cypress.sh +++ b/.buildkite/scripts/steps/functional/apm_cypress.sh @@ -15,8 +15,7 @@ echo "--- APM Cypress Tests" cd "$XPACK_DIR" -checks-reporter-with-killswitch "APM Cypress Tests" \ - node plugins/apm/scripts/test/e2e.js \ +node plugins/apm/scripts/test/e2e.js \ --kibana-install-dir "$KIBANA_BUILD_LOCATION" \ --record \ --key "$APM_CYPRESS_RECORD_KEY" diff --git a/.buildkite/scripts/steps/functional/fleet_cypress.sh b/.buildkite/scripts/steps/functional/fleet_cypress.sh index 97371158d7dec..a77d912a59fff 100755 --- a/.buildkite/scripts/steps/functional/fleet_cypress.sh +++ b/.buildkite/scripts/steps/functional/fleet_cypress.sh @@ -8,8 +8,7 @@ export JOB=kibana-fleet-cypress echo "--- Fleet Cypress tests" -checks-reporter-with-killswitch "Fleet Cypress Tests" \ - node scripts/functional_tests \ - --debug --bail \ - --kibana-install-dir "$KIBANA_BUILD_LOCATION" \ - --config x-pack/test/fleet_cypress/cli_config.ts +node scripts/functional_tests \ + --debug --bail \ + --kibana-install-dir "$KIBANA_BUILD_LOCATION" \ + --config x-pack/test/fleet_cypress/cli_config.ts diff --git a/.buildkite/scripts/steps/functional/observability_plugin.sh b/.buildkite/scripts/steps/functional/observability_plugin.sh index 4e11fbb1fe10e..e8fee66d79653 100755 --- a/.buildkite/scripts/steps/functional/observability_plugin.sh +++ b/.buildkite/scripts/steps/functional/observability_plugin.sh @@ -13,5 +13,4 @@ echo "--- Observability plugin @elastic/synthetics Tests" cd "$XPACK_DIR" -checks-reporter-with-killswitch "Observability plugin @elastic/synthetics Tests" \ - node plugins/observability/scripts/e2e.js --kibana-install-dir "$KIBANA_BUILD_LOCATION" ${GREP:+--grep \"${GREP}\"} +node plugins/observability/scripts/e2e.js --kibana-install-dir "$KIBANA_BUILD_LOCATION" ${GREP:+--grep \"${GREP}\"} diff --git a/.buildkite/scripts/steps/functional/osquery_cypress.sh b/.buildkite/scripts/steps/functional/osquery_cypress.sh index 185117718737f..c008c3418a2cb 100755 --- a/.buildkite/scripts/steps/functional/osquery_cypress.sh +++ b/.buildkite/scripts/steps/functional/osquery_cypress.sh @@ -11,8 +11,7 @@ export JOB=kibana-osquery-cypress echo "--- Osquery Cypress tests" -checks-reporter-with-killswitch "Osquery Cypress Tests" \ - node scripts/functional_tests \ - --debug --bail \ - --config x-pack/test/osquery_cypress/cli_config.ts +node scripts/functional_tests \ + --debug --bail \ + --config x-pack/test/osquery_cypress/cli_config.ts diff --git a/.buildkite/scripts/steps/functional/response_ops.sh b/.buildkite/scripts/steps/functional/response_ops.sh index 9828884e6d6a2..5604cb9774472 100755 --- a/.buildkite/scripts/steps/functional/response_ops.sh +++ b/.buildkite/scripts/steps/functional/response_ops.sh @@ -8,8 +8,7 @@ export JOB=kibana-security-solution-chrome echo "--- Response Ops Cypress Tests on Security Solution" -checks-reporter-with-killswitch "Response Ops Cypress Tests on Security Solution" \ - node scripts/functional_tests \ - --debug --bail \ - --kibana-install-dir "$KIBANA_BUILD_LOCATION" \ - --config x-pack/test/security_solution_cypress/response_ops_cli_config.ts +node scripts/functional_tests \ + --debug --bail \ + --kibana-install-dir "$KIBANA_BUILD_LOCATION" \ + --config x-pack/test/security_solution_cypress/response_ops_cli_config.ts diff --git a/.buildkite/scripts/steps/functional/response_ops_cases.sh b/.buildkite/scripts/steps/functional/response_ops_cases.sh index 2485e025833ed..ee6bb2128539e 100755 --- a/.buildkite/scripts/steps/functional/response_ops_cases.sh +++ b/.buildkite/scripts/steps/functional/response_ops_cases.sh @@ -8,8 +8,7 @@ export JOB=kibana-security-solution-chrome echo "--- Response Ops Cases Cypress Tests on Security Solution" -checks-reporter-with-killswitch "Response Ops Cases Cypress Tests on Security Solution" \ - node scripts/functional_tests \ - --debug --bail \ - --kibana-install-dir "$KIBANA_BUILD_LOCATION" \ - --config x-pack/test/security_solution_cypress/cases_cli_config.ts +node scripts/functional_tests \ + --debug --bail \ + --kibana-install-dir "$KIBANA_BUILD_LOCATION" \ + --config x-pack/test/security_solution_cypress/cases_cli_config.ts diff --git a/.buildkite/scripts/steps/functional/security_solution.sh b/.buildkite/scripts/steps/functional/security_solution.sh index fa1908683d157..99f605ecd6cc5 100755 --- a/.buildkite/scripts/steps/functional/security_solution.sh +++ b/.buildkite/scripts/steps/functional/security_solution.sh @@ -10,8 +10,7 @@ export CLI_COUNT=${CLI_COUNT:-$BUILDKITE_PARALLEL_JOB_COUNT} echo "--- Security Solution tests (Chrome)" -checks-reporter-with-killswitch "Security Solution Cypress Tests (Chrome) $CLI_NUMBER" \ - node scripts/functional_tests \ - --debug --bail \ - --kibana-install-dir "$KIBANA_BUILD_LOCATION" \ - --config x-pack/test/security_solution_cypress/cli_config_parallel.ts +node scripts/functional_tests \ + --debug --bail \ + --kibana-install-dir "$KIBANA_BUILD_LOCATION" \ + --config x-pack/test/security_solution_cypress/cli_config_parallel.ts diff --git a/.buildkite/scripts/steps/functional/synthetics.sh b/.buildkite/scripts/steps/functional/synthetics.sh index 387369805adf1..699f80fd0483c 100644 --- a/.buildkite/scripts/steps/functional/synthetics.sh +++ b/.buildkite/scripts/steps/functional/synthetics.sh @@ -13,5 +13,4 @@ echo "--- synthetics @elastic/synthetics Tests" cd "$XPACK_DIR" -checks-reporter-with-killswitch "synthetics @elastic/synthetics Tests" \ - node plugins/synthetics/scripts/e2e.js --kibana-install-dir "$KIBANA_BUILD_LOCATION" --grep "MonitorManagement-monitor*" +node plugins/synthetics/scripts/e2e.js --kibana-install-dir "$KIBANA_BUILD_LOCATION" --grep "MonitorManagement-monitor*" diff --git a/.buildkite/scripts/steps/functional/synthetics_plugin.sh b/.buildkite/scripts/steps/functional/synthetics_plugin.sh index 0cd9082b8f228..5473d2d9a2b8b 100755 --- a/.buildkite/scripts/steps/functional/synthetics_plugin.sh +++ b/.buildkite/scripts/steps/functional/synthetics_plugin.sh @@ -13,5 +13,4 @@ echo "--- Synthetics plugin @elastic/synthetics Tests" cd "$XPACK_DIR" -checks-reporter-with-killswitch "Synthetics plugin @elastic/synthetics Tests" \ - node plugins/synthetics/scripts/e2e.js --kibana-install-dir "$KIBANA_BUILD_LOCATION" ${GREP:+--grep \"${GREP}\"} +node plugins/synthetics/scripts/e2e.js --kibana-install-dir "$KIBANA_BUILD_LOCATION" ${GREP:+--grep \"${GREP}\"} diff --git a/.buildkite/scripts/steps/functional/ux_synthetics_e2e.sh b/.buildkite/scripts/steps/functional/ux_synthetics_e2e.sh index 2ede2276a2c2d..f7d6a6276fb56 100755 --- a/.buildkite/scripts/steps/functional/ux_synthetics_e2e.sh +++ b/.buildkite/scripts/steps/functional/ux_synthetics_e2e.sh @@ -13,5 +13,4 @@ echo "--- User Experience @elastic/synthetics Tests" cd "$XPACK_DIR" -checks-reporter-with-killswitch "User Experience plugin @elastic/synthetics Tests" \ - node plugins/ux/scripts/e2e.js --kibana-install-dir "$KIBANA_BUILD_LOCATION" ${GREP:+--grep \"${GREP}\"} +node plugins/ux/scripts/e2e.js --kibana-install-dir "$KIBANA_BUILD_LOCATION" ${GREP:+--grep \"${GREP}\"} diff --git a/.buildkite/scripts/steps/lint.sh b/.buildkite/scripts/steps/lint.sh index 301737c9132a0..05eb3bb602d84 100755 --- a/.buildkite/scripts/steps/lint.sh +++ b/.buildkite/scripts/steps/lint.sh @@ -7,8 +7,7 @@ source .buildkite/scripts/common/util.sh .buildkite/scripts/bootstrap.sh echo '--- Lint: stylelint' -checks-reporter-with-killswitch "Lint: stylelint" \ - node scripts/stylelint +node scripts/stylelint echo "stylelint ✅" echo '--- Lint: eslint' diff --git a/.buildkite/scripts/steps/lint_with_types.sh b/.buildkite/scripts/steps/lint_with_types.sh index c8c8e9446b76f..d54b5e2169074 100755 --- a/.buildkite/scripts/steps/lint_with_types.sh +++ b/.buildkite/scripts/steps/lint_with_types.sh @@ -7,5 +7,4 @@ source .buildkite/scripts/common/util.sh .buildkite/scripts/bootstrap.sh echo '--- Lint: eslint (with types)' -checks-reporter-with-killswitch "Lint: eslint (with types)" \ - node scripts/eslint_with_types +node scripts/eslint_with_types diff --git a/.buildkite/scripts/steps/test/jest.sh b/.buildkite/scripts/steps/test/jest.sh index 7b09c3f0d788a..3e39c6bddb19c 100755 --- a/.buildkite/scripts/steps/test/jest.sh +++ b/.buildkite/scripts/steps/test/jest.sh @@ -8,8 +8,5 @@ is_test_execution_step .buildkite/scripts/bootstrap.sh -JOB=${BUILDKITE_PARALLEL_JOB:-0} - echo '--- Jest' -checks-reporter-with-killswitch "Jest Unit Tests $((JOB+1))" \ - .buildkite/scripts/steps/test/jest_parallel.sh jest.config.js +.buildkite/scripts/steps/test/jest_parallel.sh jest.config.js diff --git a/.buildkite/scripts/steps/test/jest_integration.sh b/.buildkite/scripts/steps/test/jest_integration.sh index 2dce8fec0f26c..fd7b9a1d6ad54 100755 --- a/.buildkite/scripts/steps/test/jest_integration.sh +++ b/.buildkite/scripts/steps/test/jest_integration.sh @@ -8,8 +8,5 @@ is_test_execution_step .buildkite/scripts/bootstrap.sh -JOB=${BUILDKITE_PARALLEL_JOB:-0} - echo '--- Jest Integration Tests' -checks-reporter-with-killswitch "Jest Integration Tests $((JOB+1))" \ - .buildkite/scripts/steps/test/jest_parallel.sh jest.integration.config.js +.buildkite/scripts/steps/test/jest_parallel.sh jest.integration.config.js diff --git a/package.json b/package.json index a6595c7e66984..f7f6ee1a09485 100644 --- a/package.json +++ b/package.json @@ -703,7 +703,6 @@ "@cypress/snapshot": "^2.1.7", "@cypress/webpack-preprocessor": "^5.12.2", "@elastic/eslint-plugin-eui": "0.0.2", - "@elastic/github-checks-reporter": "0.0.20b3", "@elastic/makelogs": "^6.0.0", "@elastic/synthetics": "^1.0.0-beta.22", "@emotion/babel-preset-css-prop": "^11.10.0", diff --git a/src/dev/ci_setup/setup_env.sh b/src/dev/ci_setup/setup_env.sh index 4bbc7235e5cb5..146878464feed 100644 --- a/src/dev/ci_setup/setup_env.sh +++ b/src/dev/ci_setup/setup_env.sh @@ -148,20 +148,6 @@ if [[ "$ghprbPullId" && "$ghprbGhRepository" == 'elastic/kibana' ]] ; then export CHECKS_REPORTER_ACTIVE=true fi -### -### Implements github-checks-reporter kill switch when scripts are called from the command line -### $@ - all arguments -### -function checks-reporter-with-killswitch() { - if [ "$CHECKS_REPORTER_ACTIVE" == "true" ] ; then - yarn run github-checks-reporter "$@" - else - arguments=("$@"); - "${arguments[@]:1}"; - fi -} - -export -f checks-reporter-with-killswitch source "$KIBANA_DIR/src/dev/ci_setup/load_env_keys.sh" diff --git a/test/scripts/checks/bundle_limits.sh b/test/scripts/checks/bundle_limits.sh index cfe08d73bb558..10d9d9343fda4 100755 --- a/test/scripts/checks/bundle_limits.sh +++ b/test/scripts/checks/bundle_limits.sh @@ -2,5 +2,4 @@ source src/dev/ci_setup/setup_env.sh -checks-reporter-with-killswitch "Check Bundle Limits" \ - node scripts/build_kibana_platform_plugins --validate-limits +node scripts/build_kibana_platform_plugins --validate-limits diff --git a/test/scripts/checks/commit/commit.sh b/test/scripts/checks/commit/commit.sh index 5d300468a65e3..180f6dfb56e29 100755 --- a/test/scripts/checks/commit/commit.sh +++ b/test/scripts/checks/commit/commit.sh @@ -7,5 +7,4 @@ source src/dev/ci_setup/setup_env.sh # the pre-commit hook installation by default. # If files are more than 200 we will skip it and just use # the further ci steps that already check linting and file casing for the entire repo. -checks-reporter-with-killswitch "Quick commit checks" \ - "$(dirname "${0}")/commit_check_runner.sh" +"$(dirname "${0}")/commit_check_runner.sh" diff --git a/test/scripts/checks/file_casing.sh b/test/scripts/checks/file_casing.sh index b30dfaab62a98..1a2240d0562ff 100755 --- a/test/scripts/checks/file_casing.sh +++ b/test/scripts/checks/file_casing.sh @@ -2,5 +2,4 @@ source src/dev/ci_setup/setup_env.sh -checks-reporter-with-killswitch "Check File Casing" \ - node scripts/check_file_casing --quiet +node scripts/check_file_casing --quiet diff --git a/test/scripts/checks/i18n.sh b/test/scripts/checks/i18n.sh index e7a2060aaa73a..468b8394081e1 100755 --- a/test/scripts/checks/i18n.sh +++ b/test/scripts/checks/i18n.sh @@ -2,5 +2,4 @@ source src/dev/ci_setup/setup_env.sh -checks-reporter-with-killswitch "Check i18n" \ - node scripts/i18n_check --ignore-missing +node scripts/i18n_check --ignore-missing diff --git a/test/scripts/checks/jest_configs.sh b/test/scripts/checks/jest_configs.sh index 67fbee0b9fdf0..cebcbc63bb396 100755 --- a/test/scripts/checks/jest_configs.sh +++ b/test/scripts/checks/jest_configs.sh @@ -2,5 +2,4 @@ source src/dev/ci_setup/setup_env.sh -checks-reporter-with-killswitch "Check Jest Configs" \ - node scripts/check_jest_configs +node scripts/check_jest_configs diff --git a/test/scripts/checks/licenses.sh b/test/scripts/checks/licenses.sh index 22494f11ce77c..8a19cdc2fc126 100755 --- a/test/scripts/checks/licenses.sh +++ b/test/scripts/checks/licenses.sh @@ -2,5 +2,4 @@ source src/dev/ci_setup/setup_env.sh -checks-reporter-with-killswitch "Check Licenses" \ - node scripts/check_licenses --dev +node scripts/check_licenses --dev diff --git a/test/scripts/checks/plugins_with_circular_deps.sh b/test/scripts/checks/plugins_with_circular_deps.sh index a608d7e7b2edf..12e362e9193ee 100755 --- a/test/scripts/checks/plugins_with_circular_deps.sh +++ b/test/scripts/checks/plugins_with_circular_deps.sh @@ -2,5 +2,4 @@ source src/dev/ci_setup/setup_env.sh -checks-reporter-with-killswitch "Check Plugins With Circular Dependencies" \ - node scripts/find_plugins_with_circular_deps +node scripts/find_plugins_with_circular_deps diff --git a/test/scripts/checks/telemetry.sh b/test/scripts/checks/telemetry.sh index 1622704b1fa92..09b2305f9d607 100755 --- a/test/scripts/checks/telemetry.sh +++ b/test/scripts/checks/telemetry.sh @@ -2,5 +2,4 @@ source src/dev/ci_setup/setup_env.sh -checks-reporter-with-killswitch "Check Telemetry Schema" \ - node scripts/telemetry_check +node scripts/telemetry_check diff --git a/test/scripts/checks/test_hardening.sh b/test/scripts/checks/test_hardening.sh index cd0c5a7d3c3aa..332edb0fcde68 100755 --- a/test/scripts/checks/test_hardening.sh +++ b/test/scripts/checks/test_hardening.sh @@ -2,5 +2,4 @@ source src/dev/ci_setup/setup_env.sh -checks-reporter-with-killswitch "Test Hardening" \ - node scripts/test_hardening +node scripts/test_hardening diff --git a/test/scripts/checks/test_projects.sh b/test/scripts/checks/test_projects.sh index ee74616a958fa..6a1a8b958c4aa 100755 --- a/test/scripts/checks/test_projects.sh +++ b/test/scripts/checks/test_projects.sh @@ -2,5 +2,4 @@ source src/dev/ci_setup/setup_env.sh -checks-reporter-with-killswitch "Test Projects" \ - yarn kbn run-in-packages test +yarn kbn run-in-packages test diff --git a/test/scripts/checks/ts_projects.sh b/test/scripts/checks/ts_projects.sh index 467beb2977efc..9963d10792f94 100755 --- a/test/scripts/checks/ts_projects.sh +++ b/test/scripts/checks/ts_projects.sh @@ -2,5 +2,4 @@ source src/dev/ci_setup/setup_env.sh -checks-reporter-with-killswitch "Check TypeScript Projects" \ - node scripts/check_ts_projects +node scripts/check_ts_projects diff --git a/test/scripts/checks/type_check_plugin_public_api_docs.sh b/test/scripts/checks/type_check_plugin_public_api_docs.sh index 77fa76038f7c4..b5fed38e192d2 100755 --- a/test/scripts/checks/type_check_plugin_public_api_docs.sh +++ b/test/scripts/checks/type_check_plugin_public_api_docs.sh @@ -2,14 +2,12 @@ source src/dev/ci_setup/setup_env.sh -checks-reporter-with-killswitch "Build TS Refs" \ - node scripts/build_ts_refs \ - --clean \ - --no-cache \ - --force - -checks-reporter-with-killswitch "Check Types" \ - node scripts/type_check +node scripts/build_ts_refs \ + --clean \ + --no-cache \ + --force + +node scripts/type_check echo " -- building api docs" node --max-old-space-size=12000 scripts/build_api_docs diff --git a/test/scripts/checks/verify_notice.sh b/test/scripts/checks/verify_notice.sh index 99bfd55edd3c1..55dd1c04aaf8a 100755 --- a/test/scripts/checks/verify_notice.sh +++ b/test/scripts/checks/verify_notice.sh @@ -2,5 +2,4 @@ source src/dev/ci_setup/setup_env.sh -checks-reporter-with-killswitch "Verify NOTICE" \ - node scripts/notice --validate +node scripts/notice --validate diff --git a/test/scripts/jenkins_accessibility.sh b/test/scripts/jenkins_accessibility.sh index fa7cbd41d7078..fa582cf2d97d0 100755 --- a/test/scripts/jenkins_accessibility.sh +++ b/test/scripts/jenkins_accessibility.sh @@ -2,8 +2,7 @@ source test/scripts/jenkins_test_setup_oss.sh -checks-reporter-with-killswitch "Kibana accessibility tests" \ - node scripts/functional_tests \ - --debug --bail \ - --kibana-install-dir "$KIBANA_INSTALL_DIR" \ - --config test/accessibility/config.ts; +node scripts/functional_tests \ + --debug --bail \ + --kibana-install-dir "$KIBANA_INSTALL_DIR" \ + --config test/accessibility/config.ts; diff --git a/test/scripts/jenkins_apm_cypress.sh b/test/scripts/jenkins_apm_cypress.sh index ac9baa8066743..2ccd7d760fba5 100755 --- a/test/scripts/jenkins_apm_cypress.sh +++ b/test/scripts/jenkins_apm_cypress.sh @@ -5,8 +5,7 @@ source test/scripts/jenkins_test_setup_xpack.sh echo " -> Running APM cypress tests" cd "$XPACK_DIR" -checks-reporter-with-killswitch "APM Cypress Tests" \ - node plugins/apm/scripts/test/e2e.js +node plugins/apm/scripts/test/e2e.js echo "" echo "" diff --git a/test/scripts/jenkins_build_kbn_sample_panel_action.sh b/test/scripts/jenkins_build_kbn_sample_panel_action.sh index 0c425d61d0528..67c3da246ed7c 100755 --- a/test/scripts/jenkins_build_kbn_sample_panel_action.sh +++ b/test/scripts/jenkins_build_kbn_sample_panel_action.sh @@ -4,6 +4,6 @@ source src/dev/ci_setup/setup_env.sh cd test/plugin_functional/plugins/kbn_sample_panel_action; if [[ ! -d "target" ]]; then - checks-reporter-with-killswitch "Build kbn_sample_panel_action" yarn build; + yarn build; fi cd -; diff --git a/test/scripts/jenkins_ci_group.sh b/test/scripts/jenkins_ci_group.sh index 3cf1c279f4134..b425889c42270 100755 --- a/test/scripts/jenkins_ci_group.sh +++ b/test/scripts/jenkins_ci_group.sh @@ -5,11 +5,10 @@ source test/scripts/jenkins_test_setup_oss.sh if [[ -z "$CODE_COVERAGE" ]]; then echo " -> Running functional and api tests" - checks-reporter-with-killswitch "Functional tests / Group ${CI_GROUP}" \ - node scripts/functional_tests \ - --debug --bail \ - --kibana-install-dir "$KIBANA_INSTALL_DIR" \ - --include-tag "ciGroup$CI_GROUP" + node scripts/functional_tests \ + --debug --bail \ + --kibana-install-dir "$KIBANA_INSTALL_DIR" \ + --include-tag "ciGroup$CI_GROUP" if [[ ! "$TASK_QUEUE_PROCESS_ID" && "$CI_GROUP" == "1" ]]; then source test/scripts/jenkins_build_kbn_sample_panel_action.sh diff --git a/test/scripts/jenkins_firefox_smoke.sh b/test/scripts/jenkins_firefox_smoke.sh index 247ab360b7912..4566b11822bf5 100755 --- a/test/scripts/jenkins_firefox_smoke.sh +++ b/test/scripts/jenkins_firefox_smoke.sh @@ -2,9 +2,8 @@ source test/scripts/jenkins_test_setup_oss.sh -checks-reporter-with-killswitch "Firefox smoke test" \ - node scripts/functional_tests \ - --bail --debug \ - --kibana-install-dir "$KIBANA_INSTALL_DIR" \ - --include-tag "includeFirefox" \ - --config test/functional/config.firefox.js; +node scripts/functional_tests \ + --bail --debug \ + --kibana-install-dir "$KIBANA_INSTALL_DIR" \ + --include-tag "includeFirefox" \ + --config test/functional/config.firefox.js; diff --git a/test/scripts/jenkins_fleet_cypress.sh b/test/scripts/jenkins_fleet_cypress.sh index 085c78cbf0a41..a6d9557812374 100755 --- a/test/scripts/jenkins_fleet_cypress.sh +++ b/test/scripts/jenkins_fleet_cypress.sh @@ -5,11 +5,10 @@ source test/scripts/jenkins_test_setup_xpack.sh echo " -> Running fleet cypress tests" cd "$XPACK_DIR" -checks-reporter-with-killswitch "Fleet Cypress Tests" \ - node scripts/functional_tests \ - --debug --bail \ - --kibana-install-dir "$KIBANA_INSTALL_DIR" \ - --config test/fleet_cypress/cli_config.ts +node scripts/functional_tests \ + --debug --bail \ + --kibana-install-dir "$KIBANA_INSTALL_DIR" \ + --config test/fleet_cypress/cli_config.ts echo "" echo "" diff --git a/test/scripts/jenkins_osquery_cypress.sh b/test/scripts/jenkins_osquery_cypress.sh index fa9b528d2d444..b4a9420ff9440 100755 --- a/test/scripts/jenkins_osquery_cypress.sh +++ b/test/scripts/jenkins_osquery_cypress.sh @@ -5,11 +5,10 @@ source test/scripts/jenkins_test_setup_xpack.sh echo " -> Running osquery cypress tests" cd "$XPACK_DIR" -checks-reporter-with-killswitch "Osquery Cypress Tests" \ - node scripts/functional_tests \ - --debug --bail \ - --kibana-install-dir "$KIBANA_INSTALL_DIR" \ - --config test/osquery_cypress/cli_config.ts +node scripts/functional_tests \ + --debug --bail \ + --kibana-install-dir "$KIBANA_INSTALL_DIR" \ + --config test/osquery_cypress/cli_config.ts echo "" echo "" diff --git a/test/scripts/jenkins_security_solution_cypress_chrome.sh b/test/scripts/jenkins_security_solution_cypress_chrome.sh index f29d9536f1502..0605a319896ce 100755 --- a/test/scripts/jenkins_security_solution_cypress_chrome.sh +++ b/test/scripts/jenkins_security_solution_cypress_chrome.sh @@ -5,11 +5,10 @@ source test/scripts/jenkins_test_setup_xpack.sh echo " -> Running security solution cypress tests" cd "$XPACK_DIR" -checks-reporter-with-killswitch "Security Solution Cypress Tests (Chrome)" \ - node scripts/functional_tests \ - --debug --bail \ - --kibana-install-dir "$KIBANA_INSTALL_DIR" \ - --config test/security_solution_cypress/cli_config.ts +node scripts/functional_tests \ + --debug --bail \ + --kibana-install-dir "$KIBANA_INSTALL_DIR" \ + --config test/security_solution_cypress/cli_config.ts echo "" echo "" diff --git a/test/scripts/jenkins_security_solution_cypress_firefox.sh b/test/scripts/jenkins_security_solution_cypress_firefox.sh index af8f51d5796f7..79623d5a2a23b 100755 --- a/test/scripts/jenkins_security_solution_cypress_firefox.sh +++ b/test/scripts/jenkins_security_solution_cypress_firefox.sh @@ -5,11 +5,10 @@ source test/scripts/jenkins_test_setup_xpack.sh echo " -> Running security solution cypress tests" cd "$XPACK_DIR" -checks-reporter-with-killswitch "Security Solution Cypress Tests (Firefox)" \ - node scripts/functional_tests \ - --debug --bail \ - --kibana-install-dir "$KIBANA_INSTALL_DIR" \ - --config test/security_solution_cypress/config.firefox.ts +node scripts/functional_tests \ + --debug --bail \ + --kibana-install-dir "$KIBANA_INSTALL_DIR" \ + --config test/security_solution_cypress/config.firefox.ts echo "" echo "" diff --git a/test/scripts/jenkins_uptime_playwright.sh b/test/scripts/jenkins_uptime_playwright.sh index ba921a5b46658..5bea30a223cd4 100755 --- a/test/scripts/jenkins_uptime_playwright.sh +++ b/test/scripts/jenkins_uptime_playwright.sh @@ -5,8 +5,7 @@ source test/scripts/jenkins_test_setup_xpack.sh echo " -> Running synthetics @elastic/synthetics tests" cd "$XPACK_DIR" -checks-reporter-with-killswitch "synthetics @elastic/synthetics Tests" \ - node plugins/synthetics/scripts/e2e.js +node plugins/synthetics/scripts/e2e.js echo "" echo "" diff --git a/test/scripts/jenkins_ux_synthetics.sh b/test/scripts/jenkins_ux_synthetics.sh index 0f5cfb729bcd1..acf2611e36b94 100755 --- a/test/scripts/jenkins_ux_synthetics.sh +++ b/test/scripts/jenkins_ux_synthetics.sh @@ -5,8 +5,7 @@ source test/scripts/jenkins_test_setup_xpack.sh echo " -> Running User Experience plugin @elastic/synthetics tests" cd "$XPACK_DIR" -checks-reporter-with-killswitch "User Experience plugin @elastic/synthetics Tests" \ - node plugins/ux/scripts/e2e.js +node plugins/ux/scripts/e2e.js echo "" echo "" diff --git a/test/scripts/jenkins_xpack_accessibility.sh b/test/scripts/jenkins_xpack_accessibility.sh index 3afd4bfb76396..b1daa0ada1d50 100755 --- a/test/scripts/jenkins_xpack_accessibility.sh +++ b/test/scripts/jenkins_xpack_accessibility.sh @@ -2,8 +2,7 @@ source test/scripts/jenkins_test_setup_xpack.sh -checks-reporter-with-killswitch "X-Pack accessibility tests" \ - node scripts/functional_tests \ - --debug --bail \ - --kibana-install-dir "$KIBANA_INSTALL_DIR" \ - --config test/accessibility/config.ts; +node scripts/functional_tests \ + --debug --bail \ + --kibana-install-dir "$KIBANA_INSTALL_DIR" \ + --config test/accessibility/config.ts; diff --git a/test/scripts/jenkins_xpack_ci_group.sh b/test/scripts/jenkins_xpack_ci_group.sh index 0198a5d0ac5fa..59bcf45a2089f 100755 --- a/test/scripts/jenkins_xpack_ci_group.sh +++ b/test/scripts/jenkins_xpack_ci_group.sh @@ -5,11 +5,10 @@ source test/scripts/jenkins_test_setup_xpack.sh if [[ -z "$CODE_COVERAGE" ]]; then echo " -> Running functional and api tests" - checks-reporter-with-killswitch "X-Pack Chrome Functional tests / Group ${CI_GROUP}" \ - node scripts/functional_tests \ - --debug --bail \ - --kibana-install-dir "$KIBANA_INSTALL_DIR" \ - --include-tag "ciGroup$CI_GROUP" + node scripts/functional_tests \ + --debug --bail \ + --kibana-install-dir "$KIBANA_INSTALL_DIR" \ + --include-tag "ciGroup$CI_GROUP" echo "" echo "" @@ -32,4 +31,4 @@ else echo " -> copying screenshots and html for failures" cp -r test/functional/screenshots/* ../../kibana/x-pack/test/functional/screenshots/ || echo "copying screenshots failed" cp -r test/functional/failure_debug ../../kibana/x-pack/test/functional/ || echo "copying html failed" -fi \ No newline at end of file +fi diff --git a/test/scripts/jenkins_xpack_firefox_smoke.sh b/test/scripts/jenkins_xpack_firefox_smoke.sh index ae924a5e10552..de19d3867520d 100755 --- a/test/scripts/jenkins_xpack_firefox_smoke.sh +++ b/test/scripts/jenkins_xpack_firefox_smoke.sh @@ -2,10 +2,9 @@ source test/scripts/jenkins_test_setup_xpack.sh -checks-reporter-with-killswitch "X-Pack firefox smoke test" \ - node scripts/functional_tests \ - --debug --bail \ - --kibana-install-dir "$KIBANA_INSTALL_DIR" \ - --include-tag "includeFirefox" \ - --config test/functional/config.firefox.js \ - --config test/functional_embedded/config.firefox.ts; +node scripts/functional_tests \ + --debug --bail \ + --kibana-install-dir "$KIBANA_INSTALL_DIR" \ + --include-tag "includeFirefox" \ + --config test/functional/config.firefox.js \ + --config test/functional_embedded/config.firefox.ts; diff --git a/test/scripts/jenkins_xpack_saved_objects_field_metrics.sh b/test/scripts/jenkins_xpack_saved_objects_field_metrics.sh index e3b0fe778bdfb..fc3a7db06a43b 100755 --- a/test/scripts/jenkins_xpack_saved_objects_field_metrics.sh +++ b/test/scripts/jenkins_xpack_saved_objects_field_metrics.sh @@ -2,8 +2,7 @@ source test/scripts/jenkins_test_setup_xpack.sh -checks-reporter-with-killswitch "Capture Kibana Saved Objects field count metrics" \ - node scripts/functional_tests \ - --debug --bail \ - --kibana-install-dir "$KIBANA_INSTALL_DIR" \ - --config test/saved_objects_field_count/config.ts; +node scripts/functional_tests \ + --debug --bail \ + --kibana-install-dir "$KIBANA_INSTALL_DIR" \ + --config test/saved_objects_field_count/config.ts; diff --git a/test/scripts/lint/eslint.sh b/test/scripts/lint/eslint.sh index 053150e42f409..8395df85c5d30 100755 --- a/test/scripts/lint/eslint.sh +++ b/test/scripts/lint/eslint.sh @@ -2,5 +2,4 @@ source src/dev/ci_setup/setup_env.sh -checks-reporter-with-killswitch "Lint: eslint" \ - node scripts/eslint --no-cache +node scripts/eslint --no-cache diff --git a/test/scripts/lint/stylelint.sh b/test/scripts/lint/stylelint.sh index 3dcb682c40f0c..2f500c7e14aaa 100755 --- a/test/scripts/lint/stylelint.sh +++ b/test/scripts/lint/stylelint.sh @@ -2,5 +2,4 @@ source src/dev/ci_setup/setup_env.sh -checks-reporter-with-killswitch "Lint: stylelint" \ - node scripts/stylelint +node scripts/stylelint diff --git a/test/scripts/test/api_integration.sh b/test/scripts/test/api_integration.sh index bf6f683989fe5..06263c38b0728 100755 --- a/test/scripts/test/api_integration.sh +++ b/test/scripts/test/api_integration.sh @@ -2,8 +2,7 @@ source src/dev/ci_setup/setup_env.sh -checks-reporter-with-killswitch "API Integration Tests" \ - node scripts/functional_tests \ - --config test/api_integration/config.js \ - --bail \ - --debug +node scripts/functional_tests \ + --config test/api_integration/config.js \ + --bail \ + --debug diff --git a/test/scripts/test/interpreter_functional.sh b/test/scripts/test/interpreter_functional.sh index 1558989c0fdfc..2a40c81c34ad0 100755 --- a/test/scripts/test/interpreter_functional.sh +++ b/test/scripts/test/interpreter_functional.sh @@ -2,9 +2,8 @@ source test/scripts/jenkins_test_setup_oss.sh -checks-reporter-with-killswitch "Interpreter Functional Tests" \ - node scripts/functional_tests \ - --config test/interpreter_functional/config.ts \ - --bail \ - --debug \ - --kibana-install-dir $KIBANA_INSTALL_DIR +node scripts/functional_tests \ + --config test/interpreter_functional/config.ts \ + --bail \ + --debug \ + --kibana-install-dir $KIBANA_INSTALL_DIR diff --git a/test/scripts/test/jest_integration.sh b/test/scripts/test/jest_integration.sh index 89390657d1b48..3b27ba06842be 100755 --- a/test/scripts/test/jest_integration.sh +++ b/test/scripts/test/jest_integration.sh @@ -2,5 +2,4 @@ source src/dev/ci_setup/setup_env.sh -checks-reporter-with-killswitch "Jest Integration Tests" \ - node --max-old-space-size=5120 scripts/jest_integration --ci +node --max-old-space-size=5120 scripts/jest_integration --ci diff --git a/test/scripts/test/jest_unit.sh b/test/scripts/test/jest_unit.sh index 539a64fbe1b7f..f368554e35760 100755 --- a/test/scripts/test/jest_unit.sh +++ b/test/scripts/test/jest_unit.sh @@ -2,5 +2,4 @@ source src/dev/ci_setup/setup_env.sh -checks-reporter-with-killswitch "Jest Unit Tests" \ - node scripts/jest --ci --maxWorkers=6 +node scripts/jest --ci --maxWorkers=6 diff --git a/test/scripts/test/plugin_functional.sh b/test/scripts/test/plugin_functional.sh index e0af062e1de4a..115ddb81d3e45 100755 --- a/test/scripts/test/plugin_functional.sh +++ b/test/scripts/test/plugin_functional.sh @@ -2,8 +2,7 @@ source test/scripts/jenkins_test_setup_oss.sh -checks-reporter-with-killswitch "Plugin Functional Tests" \ - node scripts/functional_tests \ - --config test/plugin_functional/config.ts \ - --bail \ - --debug +node scripts/functional_tests \ + --config test/plugin_functional/config.ts \ + --bail \ + --debug diff --git a/test/scripts/test/server_integration.sh b/test/scripts/test/server_integration.sh index 6ec08c7727e20..fa4c4c6ce2c35 100755 --- a/test/scripts/test/server_integration.sh +++ b/test/scripts/test/server_integration.sh @@ -2,20 +2,18 @@ source test/scripts/jenkins_test_setup_oss.sh -checks-reporter-with-killswitch "Server Integration Tests" \ - node scripts/functional_tests \ - --config test/server_integration/http/ssl/config.js \ - --config test/server_integration/http/ssl_redirect/config.js \ - --config test/server_integration/http/platform/config.ts \ - --config test/server_integration/http/ssl_with_p12/config.js \ - --config test/server_integration/http/ssl_with_p12_intermediate/config.js \ - --bail \ - --debug \ - --kibana-install-dir $KIBANA_INSTALL_DIR +node scripts/functional_tests \ + --config test/server_integration/http/ssl/config.js \ + --config test/server_integration/http/ssl_redirect/config.js \ + --config test/server_integration/http/platform/config.ts \ + --config test/server_integration/http/ssl_with_p12/config.js \ + --config test/server_integration/http/ssl_with_p12_intermediate/config.js \ + --bail \ + --debug \ + --kibana-install-dir $KIBANA_INSTALL_DIR # Tests that must be run against source in order to build test plugins -checks-reporter-with-killswitch "Status Integration Tests" \ - node scripts/functional_tests \ - --config test/server_integration/http/platform/config.status.ts \ - --bail \ - --debug \ +node scripts/functional_tests \ + --config test/server_integration/http/platform/config.status.ts \ + --bail \ + --debug diff --git a/yarn.lock b/yarn.lock index 92fbf75faf58e..ff7d89706d48f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1585,18 +1585,6 @@ resolved "https://registry.yarnpkg.com/@elastic/filesaver/-/filesaver-1.1.2.tgz#1998ffb3cd89c9da4ec12a7793bfcae10e30c77a" integrity sha512-YZbSufYFBhAj+S2cJgiKALoxIJevqXN2MSr6Yqr42rJdaPuM31cj6pUDwflkql1oDjupqD9la+MfxPFjXI1JFQ== -"@elastic/github-checks-reporter@0.0.20b3": - version "0.0.20-b3" - resolved "https://registry.yarnpkg.com/@elastic/github-checks-reporter/-/github-checks-reporter-0.0.20-b3.tgz#025ac0e152cda03d947faec190c244fbbe59bdfc" - integrity sha512-OmhbddqNkFZMYVQxMqpqLj7NJhqphN+wQb68IeiewxvWXq8NEPaBpaZ9f+nUbixmMY2Q/XA0JgtuE4EhMGIljg== - dependencies: - "@octokit/app" "^2.2.2" - "@octokit/plugin-retry" "^2.2.0" - "@octokit/request" "^2.4.2" - "@octokit/rest" "^16.23.2" - async-retry "^1.2.3" - strip-ansi "^5.2.0" - "@elastic/makelogs@^6.0.0": version "6.0.0" resolved "https://registry.yarnpkg.com/@elastic/makelogs/-/makelogs-6.0.0.tgz#d6d74d5d0f020123c54160370d49ca5e0aab1fe1" @@ -4360,16 +4348,6 @@ dependencies: mkdirp "^1.0.4" -"@octokit/app@^2.2.2": - version "2.2.2" - resolved "https://registry.yarnpkg.com/@octokit/app/-/app-2.2.2.tgz#a1b8248f64159eeccbe4000d888fdae4163c4ad8" - integrity sha512-nUwS8jW107ROGuI0Tq4Ga+Zno6CovwaS+Oen6BOKJmoFMLqqB3oXeGZ6InkidtdmUNiYhMtNq2lydb0WVLT8Zg== - dependencies: - "@octokit/request" "^2.1.2" - "@types/lru-cache" "^5.1.0" - jsonwebtoken "^8.3.0" - lru-cache "^5.1.1" - "@octokit/auth-token@^2.4.0": version "2.4.4" resolved "https://registry.yarnpkg.com/@octokit/auth-token/-/auth-token-2.4.4.tgz#ee31c69b01d0378c12fd3ffe406030f3d94d3b56" @@ -4397,16 +4375,6 @@ before-after-hook "^2.2.0" universal-user-agent "^6.0.0" -"@octokit/endpoint@^3.2.0": - version "3.2.3" - resolved "https://registry.yarnpkg.com/@octokit/endpoint/-/endpoint-3.2.3.tgz#bd9aea60cd94ce336656b57a5c9cb7f10be8f4f3" - integrity sha512-yUPCt4vMIOclox13CUxzuKiPJIFo46b/6GhUnUTw5QySczN1L0DtSxgmIZrZV4SAb9EyAqrceoyrWoYVnfF2AA== - dependencies: - deepmerge "3.2.0" - is-plain-object "^2.0.4" - universal-user-agent "^2.0.1" - url-template "^2.0.8" - "@octokit/endpoint@^6.0.1": version "6.0.6" resolved "https://registry.yarnpkg.com/@octokit/endpoint/-/endpoint-6.0.6.tgz#4f09f2b468976b444742a1d5069f6fa45826d999" @@ -4479,13 +4447,6 @@ "@octokit/types" "6.40.0" deprecation "^2.3.1" -"@octokit/plugin-retry@^2.2.0": - version "2.2.0" - resolved "https://registry.yarnpkg.com/@octokit/plugin-retry/-/plugin-retry-2.2.0.tgz#11f3957a46ccdb7b7f33caabf8c17e57b25b80b2" - integrity sha512-x5Kd8Lke+a4hTDCe5akZxpGmVwu1eeVt2FJX0jeo3CxHGbfHbXb4zhN5quKfGL9oBLV/EdHQIJ6zwIMjuzxOlw== - dependencies: - bottleneck "^2.15.3" - "@octokit/request-error@^1.0.2": version "1.2.1" resolved "https://registry.yarnpkg.com/@octokit/request-error/-/request-error-1.2.1.tgz#ede0714c773f32347576c25649dc013ae6b31801" @@ -4513,18 +4474,6 @@ deprecation "^2.0.0" once "^1.4.0" -"@octokit/request@^2.1.2", "@octokit/request@^2.4.2": - version "2.4.2" - resolved "https://registry.yarnpkg.com/@octokit/request/-/request-2.4.2.tgz#87c36e820dd1e43b1629f4f35c95b00cd456320b" - integrity sha512-lxVlYYvwGbKSHXfbPk5vxEA8w4zHOH1wobado4a9EfsyD3Cbhuhus1w0Ye9Ro0eMubGO8kNy5d+xNFisM3Tvaw== - dependencies: - "@octokit/endpoint" "^3.2.0" - deprecation "^1.0.1" - is-plain-object "^2.0.4" - node-fetch "^2.3.0" - once "^1.4.0" - universal-user-agent "^2.0.1" - "@octokit/request@^5.2.0": version "5.6.2" resolved "https://registry.yarnpkg.com/@octokit/request/-/request-5.6.2.tgz#1aa74d5da7b9e04ac60ef232edd9a7438dcf32d8" @@ -4549,7 +4498,7 @@ node-fetch "^2.6.7" universal-user-agent "^6.0.0" -"@octokit/rest@^16.23.2", "@octokit/rest@^16.35.0": +"@octokit/rest@^16.35.0": version "16.43.2" resolved "https://registry.yarnpkg.com/@octokit/rest/-/rest-16.43.2.tgz#c53426f1e1d1044dee967023e3279c50993dd91b" integrity sha512-ngDBevLbBTFfrHZeiS7SAMAZ6ssuVmXuya+F/7RaVvlysgGa1JKJkKWY+jV6TCJYcW0OALfJ7nTIGXcBXzycfQ== @@ -9020,13 +8969,6 @@ async-foreach@^0.1.3: resolved "https://registry.yarnpkg.com/async-foreach/-/async-foreach-0.1.3.tgz#36121f845c0578172de419a97dbeb1d16ec34542" integrity sha1-NhIfhFwFeBct5Bmpfb6x0W7DRUI= -async-retry@^1.2.3: - version "1.2.3" - resolved "https://registry.yarnpkg.com/async-retry/-/async-retry-1.2.3.tgz#a6521f338358d322b1a0012b79030c6f411d1ce0" - integrity sha512-tfDb02Th6CE6pJUF2gjW5ZVjsgwlucVXOEQMvEX9JgSJMs9gAX+Nz3xRuJBKuUYjTSYORqvDBORdAQ3LU59g7Q== - dependencies: - retry "0.12.0" - async-value-promise@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/async-value-promise/-/async-value-promise-1.1.1.tgz#68957819e3eace804f3b4b69477e2bd276c15378" @@ -9609,11 +9551,6 @@ boolbase@^1.0.0, boolbase@~1.0.0: resolved "https://registry.yarnpkg.com/boolbase/-/boolbase-1.0.0.tgz#68dff5fbe60c51eb37725ea9e3ed310dcc1e776e" integrity sha1-aN/1++YMUes3cl6p4+0xDcwed24= -bottleneck@^2.15.3: - version "2.18.0" - resolved "https://registry.yarnpkg.com/bottleneck/-/bottleneck-2.18.0.tgz#41fa63ae185b65435d789d1700334bc48222dacf" - integrity sha512-U1xiBRaokw4yEguzikOl0VrnZp6uekjpmfrh6rKtr1D+/jFjYCL6J83ZXlGtlBDwVdTmJJ+4Lg5FpB3xmLSiyA== - bowser@^1.7.3: version "1.9.4" resolved "https://registry.yarnpkg.com/bowser/-/bowser-1.9.4.tgz#890c58a2813a9d3243704334fa81b96a5c150c9a" @@ -12092,7 +12029,7 @@ deep-is@^0.1.3, deep-is@~0.1.3: resolved "https://registry.yarnpkg.com/deep-is/-/deep-is-0.1.3.tgz#b369d6fb5dbc13eecf524f91b070feedc357cf34" integrity sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ= -deepmerge@3.2.0, deepmerge@^2.1.1, deepmerge@^4.2.2: +deepmerge@^2.1.1, deepmerge@^4.2.2: version "4.2.2" resolved "https://registry.yarnpkg.com/deepmerge/-/deepmerge-4.2.2.tgz#44d2ea3679b8f4d4ffba33f03d865fc1e7bf4955" integrity sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg== @@ -12249,11 +12186,6 @@ dependency-check@^4.1.0: read-package-json "^2.0.10" resolve "^1.1.7" -deprecation@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/deprecation/-/deprecation-1.0.1.tgz#2df79b79005752180816b7b6e079cbd80490d711" - integrity sha512-ccVHpE72+tcIKaGMql33x5MAjKQIZrk+3x2GbJ7TeraUCZWHoT+KSZpoC+JQFsUBlSTXUrBaGiF0j6zVTepPLg== - deprecation@^2.0.0, deprecation@^2.3.1: version "2.3.1" resolved "https://registry.yarnpkg.com/deprecation/-/deprecation-2.3.1.tgz#6368cbdb40abf3373b525ac87e4a260c3a700919" @@ -19814,7 +19746,7 @@ node-emoji@^1.10.0: dependencies: lodash.toarray "^4.4.0" -node-fetch@2.6.7, node-fetch@^1.0.1, node-fetch@^2.3.0, node-fetch@^2.6.1, node-fetch@^2.6.7: +node-fetch@2.6.7, node-fetch@^1.0.1, node-fetch@^2.6.1, node-fetch@^2.6.7: version "2.6.7" resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.7.tgz#24de9fba827e3b4ae44dc8b20256a379160052ad" integrity sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ== @@ -20491,7 +20423,7 @@ os-locale@^1.4.0: dependencies: lcid "^1.0.0" -os-name@^3.0.0, os-name@^3.1.0: +os-name@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/os-name/-/os-name-3.1.0.tgz#dec19d966296e1cd62d701a5a66ee1ddeae70801" integrity sha512-h8L+8aNjNcMpo/mAIBPn5PXCM16iyPGjHNWo6U1YO8sJTMHtEtyczI6QJnLoplswm6goopQkqc7OAnjhWcugVg== @@ -23562,7 +23494,7 @@ ret@~0.1.10: resolved "https://registry.yarnpkg.com/ret/-/ret-0.1.15.tgz#b8a4825d5bdb1fc3f6f53c2bc33f81388681c7bc" integrity sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg== -retry@0.12.0, retry@^0.12.0: +retry@^0.12.0: version "0.12.0" resolved "https://registry.yarnpkg.com/retry/-/retry-0.12.0.tgz#1b42a6266a21f07421d1b0b54b7dc167b01c013b" integrity sha1-G0KmJmoh8HQh0bC1S33BZ7AcATs= @@ -26399,13 +26331,6 @@ unist-util-visit@^1.3.0: dependencies: unist-util-visit-parents "^2.0.0" -universal-user-agent@^2.0.1: - version "2.0.3" - resolved "https://registry.yarnpkg.com/universal-user-agent/-/universal-user-agent-2.0.3.tgz#9f6f09f9cc33de867bb720d84c08069b14937c6c" - integrity sha512-eRHEHhChCBHrZsA4WEhdgiOKgdvgrMIHwnwnqD0r5C6AO8kwKcG7qSku3iXdhvHL3YvsS9ZkSGN8h/hIpoFC8g== - dependencies: - os-name "^3.0.0" - universal-user-agent@^4.0.0: version "4.0.1" resolved "https://registry.yarnpkg.com/universal-user-agent/-/universal-user-agent-4.0.1.tgz#fd8d6cb773a679a709e967ef8288a31fcc03e557" @@ -26544,11 +26469,6 @@ url-parse@^1.5.10, url-parse@^1.5.3: querystringify "^2.1.1" requires-port "^1.0.0" -url-template@^2.0.8: - version "2.0.8" - resolved "https://registry.yarnpkg.com/url-template/-/url-template-2.0.8.tgz#fc565a3cccbff7730c775f5641f9555791439f21" - integrity sha1-/FZaPMy/93MMd19WQflVV5FDnyE= - url@^0.11.0: version "0.11.0" resolved "https://registry.yarnpkg.com/url/-/url-0.11.0.tgz#3838e97cfc60521eb73c525a8e55bfdd9e2e28f1" From f0c243210b37e6a715b0aa2589952bacea4ca631 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patryk=20Kopyci=C5=84ski?= Date: Fri, 28 Oct 2022 23:36:57 +0200 Subject: [PATCH 016/111] [Osquery] Update schema to v5.5.1 (#144090) Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> --- .../plugins/osquery/public/common/schemas/osquery/v5.4.0.json | 1 - .../plugins/osquery/public/common/schemas/osquery/v5.5.1.json | 1 + x-pack/plugins/osquery/public/editor/osquery_tables.ts | 2 +- .../osquery/public/packs/queries/ecs_mapping_editor_field.tsx | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) delete mode 100644 x-pack/plugins/osquery/public/common/schemas/osquery/v5.4.0.json create mode 100644 x-pack/plugins/osquery/public/common/schemas/osquery/v5.5.1.json diff --git a/x-pack/plugins/osquery/public/common/schemas/osquery/v5.4.0.json b/x-pack/plugins/osquery/public/common/schemas/osquery/v5.4.0.json deleted file mode 100644 index 779a57c90a784..0000000000000 --- a/x-pack/plugins/osquery/public/common/schemas/osquery/v5.4.0.json +++ /dev/null @@ -1 +0,0 @@ -[{"name":"account_policy_data","description":"Additional macOS user account data from the AccountPolicy section of OpenDirectory.","platforms":["darwin"],"columns":[{"name":"uid","description":"User ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"creation_time","description":"When the account was first created","type":"double","hidden":false,"required":false,"index":false},{"name":"failed_login_count","description":"The number of failed login attempts using an incorrect password. Count resets after a correct password is entered.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"failed_login_timestamp","description":"The time of the last failed login attempt. Resets after a correct password is entered","type":"double","hidden":false,"required":false,"index":false},{"name":"password_last_set_time","description":"The time the password was last changed","type":"double","hidden":false,"required":false,"index":false}]},{"name":"acpi_tables","description":"Firmware ACPI functional table common metadata and content.","platforms":["darwin","linux"],"columns":[{"name":"name","description":"ACPI table name","type":"text","hidden":false,"required":false,"index":false},{"name":"size","description":"Size of compiled table data","type":"integer","hidden":false,"required":false,"index":false},{"name":"md5","description":"MD5 hash of table content","type":"text","hidden":false,"required":false,"index":false}]},{"name":"ad_config","description":"macOS Active Directory configuration.","platforms":["darwin"],"columns":[{"name":"name","description":"The macOS-specific configuration name","type":"text","hidden":false,"required":false,"index":false},{"name":"domain","description":"Active Directory trust domain","type":"text","hidden":false,"required":false,"index":false},{"name":"option","description":"Canonical name of option","type":"text","hidden":false,"required":false,"index":false},{"name":"value","description":"Variable typed option value","type":"text","hidden":false,"required":false,"index":false}]},{"name":"alf","description":"macOS application layer firewall (ALF) service details.","platforms":["darwin"],"columns":[{"name":"allow_signed_enabled","description":"1 If allow signed mode is enabled else 0","type":"integer","hidden":false,"required":false,"index":false},{"name":"firewall_unload","description":"1 If firewall unloading enabled else 0","type":"integer","hidden":false,"required":false,"index":false},{"name":"global_state","description":"1 If the firewall is enabled with exceptions, 2 if the firewall is configured to block all incoming connections, else 0","type":"integer","hidden":false,"required":false,"index":false},{"name":"logging_enabled","description":"1 If logging mode is enabled else 0","type":"integer","hidden":false,"required":false,"index":false},{"name":"logging_option","description":"Firewall logging option","type":"integer","hidden":false,"required":false,"index":false},{"name":"stealth_enabled","description":"1 If stealth mode is enabled else 0","type":"integer","hidden":false,"required":false,"index":false},{"name":"version","description":"Application Layer Firewall version","type":"text","hidden":false,"required":false,"index":false}]},{"name":"alf_exceptions","description":"macOS application layer firewall (ALF) service exceptions.","platforms":["darwin"],"columns":[{"name":"path","description":"Path to the executable that is excepted","type":"text","hidden":false,"required":false,"index":false},{"name":"state","description":"Firewall exception state","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"alf_explicit_auths","description":"ALF services explicitly allowed to perform networking.","platforms":["darwin"],"columns":[{"name":"process","description":"Process name explicitly allowed","type":"text","hidden":false,"required":false,"index":false}]},{"name":"app_schemes","description":"macOS application schemes and handlers (e.g., http, file, mailto).","platforms":["darwin"],"columns":[{"name":"scheme","description":"Name of the scheme/protocol","type":"text","hidden":false,"required":false,"index":false},{"name":"handler","description":"Application label for the handler","type":"text","hidden":false,"required":false,"index":false},{"name":"enabled","description":"1 if this handler is the OS default, else 0","type":"integer","hidden":false,"required":false,"index":false},{"name":"external","description":"1 if this handler does NOT exist on macOS by default, else 0","type":"integer","hidden":false,"required":false,"index":false},{"name":"protected","description":"1 if this handler is protected (reserved) by macOS, else 0","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"apparmor_events","description":"Track AppArmor events.","platforms":["linux"],"columns":[{"name":"type","description":"Event type","type":"text","hidden":false,"required":false,"index":false},{"name":"message","description":"Raw audit message","type":"text","hidden":false,"required":false,"index":false},{"name":"time","description":"Time of execution in UNIX time","type":"bigint","hidden":false,"required":false,"index":false},{"name":"uptime","description":"Time of execution in system uptime","type":"bigint","hidden":false,"required":false,"index":false},{"name":"eid","description":"Event ID","type":"text","hidden":true,"required":false,"index":false},{"name":"apparmor","description":"Apparmor Status like ALLOWED, DENIED etc.","type":"text","hidden":false,"required":false,"index":false},{"name":"operation","description":"Permission requested by the process","type":"text","hidden":false,"required":false,"index":false},{"name":"parent","description":"Parent process PID","type":"unsigned_bigint","hidden":false,"required":false,"index":false},{"name":"profile","description":"Apparmor profile name","type":"text","hidden":false,"required":false,"index":false},{"name":"name","description":"Process name","type":"text","hidden":false,"required":false,"index":false},{"name":"pid","description":"Process ID","type":"unsigned_bigint","hidden":false,"required":false,"index":false},{"name":"comm","description":"Command-line name of the command that was used to invoke the analyzed process","type":"text","hidden":false,"required":false,"index":false},{"name":"denied_mask","description":"Denied permissions for the process","type":"text","hidden":false,"required":false,"index":false},{"name":"capname","description":"Capability requested by the process","type":"text","hidden":false,"required":false,"index":false},{"name":"fsuid","description":"Filesystem user ID","type":"unsigned_bigint","hidden":false,"required":false,"index":false},{"name":"ouid","description":"Object owner's user ID","type":"unsigned_bigint","hidden":false,"required":false,"index":false},{"name":"capability","description":"Capability number","type":"bigint","hidden":false,"required":false,"index":false},{"name":"requested_mask","description":"Requested access mask","type":"text","hidden":false,"required":false,"index":false},{"name":"info","description":"Additional information","type":"text","hidden":false,"required":false,"index":false},{"name":"error","description":"Error information","type":"text","hidden":false,"required":false,"index":false},{"name":"namespace","description":"AppArmor namespace","type":"text","hidden":false,"required":false,"index":false},{"name":"label","description":"AppArmor label","type":"text","hidden":false,"required":false,"index":false}]},{"name":"apparmor_profiles","description":"Track active AppArmor profiles.","platforms":["linux"],"columns":[{"name":"path","description":"Unique, aa-status compatible, policy identifier.","type":"text","hidden":false,"required":false,"index":false},{"name":"name","description":"Policy name.","type":"text","hidden":false,"required":false,"index":false},{"name":"attach","description":"Which executable(s) a profile will attach to.","type":"text","hidden":false,"required":false,"index":false},{"name":"mode","description":"How the policy is applied.","type":"text","hidden":false,"required":false,"index":false},{"name":"sha1","description":"A unique hash that identifies this policy.","type":"text","hidden":false,"required":false,"index":false}]},{"name":"appcompat_shims","description":"Application Compatibility shims are a way to persist malware. This table presents the AppCompat Shim information from the registry in a nice format. See http://files.brucon.org/2015/Tomczak_and_Ballenthin_Shims_for_the_Win.pdf for more details.","platforms":["windows"],"columns":[{"name":"executable","description":"Name of the executable that is being shimmed. This is pulled from the registry.","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"This is the path to the SDB database.","type":"text","hidden":false,"required":false,"index":false},{"name":"description","description":"Description of the SDB.","type":"text","hidden":false,"required":false,"index":false},{"name":"install_time","description":"Install time of the SDB","type":"integer","hidden":false,"required":false,"index":false},{"name":"type","description":"Type of the SDB database.","type":"text","hidden":false,"required":false,"index":false},{"name":"sdb_id","description":"Unique GUID of the SDB.","type":"text","hidden":false,"required":false,"index":false}]},{"name":"apps","description":"macOS applications installed in known search paths (e.g., /Applications).","platforms":["darwin"],"columns":[{"name":"name","description":"Name of the Name.app folder","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"Absolute and full Name.app path","type":"text","hidden":false,"required":false,"index":false},{"name":"bundle_executable","description":"Info properties CFBundleExecutable label","type":"text","hidden":false,"required":false,"index":false},{"name":"bundle_identifier","description":"Info properties CFBundleIdentifier label","type":"text","hidden":false,"required":false,"index":false},{"name":"bundle_name","description":"Info properties CFBundleName label","type":"text","hidden":false,"required":false,"index":false},{"name":"bundle_short_version","description":"Info properties CFBundleShortVersionString label","type":"text","hidden":false,"required":false,"index":false},{"name":"bundle_version","description":"Info properties CFBundleVersion label","type":"text","hidden":false,"required":false,"index":false},{"name":"bundle_package_type","description":"Info properties CFBundlePackageType label","type":"text","hidden":false,"required":false,"index":false},{"name":"environment","description":"Application-set environment variables","type":"text","hidden":false,"required":false,"index":false},{"name":"element","description":"Does the app identify as a background agent","type":"text","hidden":false,"required":false,"index":false},{"name":"compiler","description":"Info properties DTCompiler label","type":"text","hidden":false,"required":false,"index":false},{"name":"development_region","description":"Info properties CFBundleDevelopmentRegion label","type":"text","hidden":false,"required":false,"index":false},{"name":"display_name","description":"Info properties CFBundleDisplayName label","type":"text","hidden":false,"required":false,"index":false},{"name":"info_string","description":"Info properties CFBundleGetInfoString label","type":"text","hidden":false,"required":false,"index":false},{"name":"minimum_system_version","description":"Minimum version of macOS required for the app to run","type":"text","hidden":false,"required":false,"index":false},{"name":"category","description":"The UTI that categorizes the app for the App Store","type":"text","hidden":false,"required":false,"index":false},{"name":"applescript_enabled","description":"Info properties NSAppleScriptEnabled label","type":"text","hidden":false,"required":false,"index":false},{"name":"copyright","description":"Info properties NSHumanReadableCopyright label","type":"text","hidden":false,"required":false,"index":false},{"name":"last_opened_time","description":"The time that the app was last used","type":"double","hidden":false,"required":false,"index":false}]},{"name":"apt_sources","description":"Current list of APT repositories or software channels.","platforms":["linux"],"columns":[{"name":"name","description":"Repository name","type":"text","hidden":false,"required":false,"index":false},{"name":"source","description":"Source file","type":"text","hidden":false,"required":false,"index":false},{"name":"base_uri","description":"Repository base URI","type":"text","hidden":false,"required":false,"index":false},{"name":"release","description":"Release name","type":"text","hidden":false,"required":false,"index":false},{"name":"version","description":"Repository source version","type":"text","hidden":false,"required":false,"index":false},{"name":"maintainer","description":"Repository maintainer","type":"text","hidden":false,"required":false,"index":false},{"name":"components","description":"Repository components","type":"text","hidden":false,"required":false,"index":false},{"name":"architectures","description":"Repository architectures","type":"text","hidden":false,"required":false,"index":false},{"name":"pid_with_namespace","description":"Pids that contain a namespace","type":"integer","hidden":true,"required":false,"index":false}]},{"name":"arp_cache","description":"Address resolution cache, both static and dynamic (from ARP, NDP).","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"address","description":"IPv4 address target","type":"text","hidden":false,"required":false,"index":false},{"name":"mac","description":"MAC address of broadcasted address","type":"text","hidden":false,"required":false,"index":false},{"name":"interface","description":"Interface of the network for the MAC","type":"text","hidden":false,"required":false,"index":false},{"name":"permanent","description":"1 for true, 0 for false","type":"text","hidden":false,"required":false,"index":false}]},{"name":"asl","description":"Queries the Apple System Log data structure for system events.","platforms":["darwin"],"columns":[{"name":"time","description":"Unix timestamp. Set automatically","type":"integer","hidden":false,"required":false,"index":false},{"name":"time_nano_sec","description":"Nanosecond time.","type":"integer","hidden":false,"required":false,"index":false},{"name":"host","description":"Sender's address (set by the server).","type":"text","hidden":false,"required":false,"index":false},{"name":"sender","description":"Sender's identification string. Default is process name.","type":"text","hidden":false,"required":false,"index":false},{"name":"facility","description":"Sender's facility. Default is 'user'.","type":"text","hidden":false,"required":false,"index":false},{"name":"pid","description":"Sending process ID encoded as a string. Set automatically.","type":"integer","hidden":false,"required":false,"index":false},{"name":"gid","description":"GID that sent the log message (set by the server).","type":"bigint","hidden":false,"required":false,"index":false},{"name":"uid","description":"UID that sent the log message (set by the server).","type":"bigint","hidden":false,"required":false,"index":false},{"name":"level","description":"Log level number. See levels in asl.h.","type":"integer","hidden":false,"required":false,"index":false},{"name":"message","description":"Message text.","type":"text","hidden":false,"required":false,"index":false},{"name":"ref_pid","description":"Reference PID for messages proxied by launchd","type":"integer","hidden":false,"required":false,"index":false},{"name":"ref_proc","description":"Reference process for messages proxied by launchd","type":"text","hidden":false,"required":false,"index":false},{"name":"extra","description":"Extra columns, in JSON format. Queries against this column are performed entirely in SQLite, so do not benefit from efficient querying via asl.h.","type":"text","hidden":false,"required":false,"index":false}]},{"name":"atom_packages","description":"Lists all atom packages in a directory or globally installed in a system.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"name","description":"Package display name","type":"text","hidden":false,"required":false,"index":false},{"name":"version","description":"Package supplied version","type":"text","hidden":false,"required":false,"index":false},{"name":"description","description":"Package supplied description","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"Package's package.json path","type":"text","hidden":false,"required":false,"index":false},{"name":"license","description":"License for package","type":"text","hidden":false,"required":false,"index":false},{"name":"homepage","description":"Package supplied homepage","type":"text","hidden":false,"required":false,"index":false},{"name":"uid","description":"The local user that owns the plugin","type":"bigint","hidden":false,"required":false,"index":false}]},{"name":"augeas","description":"Configuration files parsed by augeas.","platforms":["darwin","linux"],"columns":[{"name":"node","description":"The node path of the configuration item","type":"text","hidden":false,"required":false,"index":false},{"name":"value","description":"The value of the configuration item","type":"text","hidden":false,"required":false,"index":false},{"name":"label","description":"The label of the configuration item","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"The path to the configuration file","type":"text","hidden":false,"required":false,"index":false}]},{"name":"authenticode","description":"File (executable, bundle, installer, disk) code signing status.","platforms":["windows"],"columns":[{"name":"path","description":"Must provide a path or directory","type":"text","hidden":false,"required":true,"index":false},{"name":"original_program_name","description":"The original program name that the publisher has signed","type":"text","hidden":false,"required":false,"index":false},{"name":"serial_number","description":"The certificate serial number","type":"text","hidden":false,"required":false,"index":false},{"name":"issuer_name","description":"The certificate issuer name","type":"text","hidden":false,"required":false,"index":false},{"name":"subject_name","description":"The certificate subject name","type":"text","hidden":false,"required":false,"index":false},{"name":"result","description":"The signature check result","type":"text","hidden":false,"required":false,"index":false}]},{"name":"authorization_mechanisms","description":"macOS Authorization mechanisms database.","platforms":["darwin"],"columns":[{"name":"label","description":"Label of the authorization right","type":"text","hidden":false,"required":false,"index":false},{"name":"plugin","description":"Authorization plugin name","type":"text","hidden":false,"required":false,"index":false},{"name":"mechanism","description":"Name of the mechanism that will be called","type":"text","hidden":false,"required":false,"index":false},{"name":"privileged","description":"If privileged it will run as root, else as an anonymous user","type":"text","hidden":false,"required":false,"index":false},{"name":"entry","description":"The whole string entry","type":"text","hidden":false,"required":false,"index":false}]},{"name":"authorizations","description":"macOS Authorization rights database.","platforms":["darwin"],"columns":[{"name":"label","description":"Item name, usually in reverse domain format","type":"text","hidden":false,"required":false,"index":false},{"name":"modified","description":"Label top-level key","type":"text","hidden":false,"required":false,"index":false},{"name":"allow_root","description":"Label top-level key","type":"text","hidden":false,"required":false,"index":false},{"name":"timeout","description":"Label top-level key","type":"text","hidden":false,"required":false,"index":false},{"name":"version","description":"Label top-level key","type":"text","hidden":false,"required":false,"index":false},{"name":"tries","description":"Label top-level key","type":"text","hidden":false,"required":false,"index":false},{"name":"authenticate_user","description":"Label top-level key","type":"text","hidden":false,"required":false,"index":false},{"name":"shared","description":"Label top-level key","type":"text","hidden":false,"required":false,"index":false},{"name":"comment","description":"Label top-level key","type":"text","hidden":false,"required":false,"index":false},{"name":"created","description":"Label top-level key","type":"text","hidden":false,"required":false,"index":false},{"name":"class","description":"Label top-level key","type":"text","hidden":false,"required":false,"index":false},{"name":"session_owner","description":"Label top-level key","type":"text","hidden":false,"required":false,"index":false}]},{"name":"authorized_keys","description":"A line-delimited authorized_keys table.","platforms":["darwin","linux"],"columns":[{"name":"uid","description":"The local owner of authorized_keys file","type":"bigint","hidden":false,"required":false,"index":false},{"name":"algorithm","description":"algorithm of key","type":"text","hidden":false,"required":false,"index":false},{"name":"key","description":"parsed authorized keys line","type":"text","hidden":false,"required":false,"index":false},{"name":"key_file","description":"Path to the authorized_keys file","type":"text","hidden":false,"required":false,"index":false},{"name":"pid_with_namespace","description":"Pids that contain a namespace","type":"integer","hidden":true,"required":false,"index":false}]},{"name":"autoexec","description":"Aggregate of executables that will automatically execute on the target machine. This is an amalgamation of other tables like services, scheduled_tasks, startup_items and more.","platforms":["windows"],"columns":[{"name":"path","description":"Path to the executable","type":"text","hidden":false,"required":false,"index":false},{"name":"name","description":"Name of the program","type":"text","hidden":false,"required":false,"index":false},{"name":"source","description":"Source table of the autoexec item","type":"text","hidden":false,"required":false,"index":false}]},{"name":"azure_instance_metadata","description":"Azure instance metadata.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"location","description":"Azure Region the VM is running in","type":"text","hidden":false,"required":false,"index":false},{"name":"name","description":"Name of the VM","type":"text","hidden":false,"required":false,"index":false},{"name":"offer","description":"Offer information for the VM image (Azure image gallery VMs only)","type":"text","hidden":false,"required":false,"index":false},{"name":"publisher","description":"Publisher of the VM image","type":"text","hidden":false,"required":false,"index":false},{"name":"sku","description":"SKU for the VM image","type":"text","hidden":false,"required":false,"index":false},{"name":"version","description":"Version of the VM image","type":"text","hidden":false,"required":false,"index":false},{"name":"os_type","description":"Linux or Windows","type":"text","hidden":false,"required":false,"index":false},{"name":"platform_update_domain","description":"Update domain the VM is running in","type":"text","hidden":false,"required":false,"index":false},{"name":"platform_fault_domain","description":"Fault domain the VM is running in","type":"text","hidden":false,"required":false,"index":false},{"name":"vm_id","description":"Unique identifier for the VM","type":"text","hidden":false,"required":false,"index":false},{"name":"vm_size","description":"VM size","type":"text","hidden":false,"required":false,"index":false},{"name":"subscription_id","description":"Azure subscription for the VM","type":"text","hidden":false,"required":false,"index":false},{"name":"resource_group_name","description":"Resource group for the VM","type":"text","hidden":false,"required":false,"index":false},{"name":"placement_group_id","description":"Placement group for the VM scale set","type":"text","hidden":false,"required":false,"index":false},{"name":"vm_scale_set_name","description":"VM scale set name","type":"text","hidden":false,"required":false,"index":false},{"name":"zone","description":"Availability zone of the VM","type":"text","hidden":false,"required":false,"index":false}]},{"name":"azure_instance_tags","description":"Azure instance tags.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"vm_id","description":"Unique identifier for the VM","type":"text","hidden":false,"required":false,"index":false},{"name":"key","description":"The tag key","type":"text","hidden":false,"required":false,"index":false},{"name":"value","description":"The tag value","type":"text","hidden":false,"required":false,"index":false}]},{"name":"background_activities_moderator","description":"Background Activities Moderator (BAM) tracks application execution.","platforms":["windows"],"columns":[{"name":"path","description":"Application file path.","type":"text","hidden":false,"required":false,"index":false},{"name":"last_execution_time","description":"Most recent time application was executed.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"sid","description":"User SID.","type":"text","hidden":false,"required":false,"index":false}]},{"name":"battery","description":"Provides information about the internal battery of a Macbook.","platforms":["darwin"],"columns":[{"name":"manufacturer","description":"The battery manufacturer's name","type":"text","hidden":false,"required":false,"index":false},{"name":"manufacture_date","description":"The date the battery was manufactured UNIX Epoch","type":"integer","hidden":false,"required":false,"index":false},{"name":"model","description":"The battery's model number","type":"text","hidden":false,"required":false,"index":false},{"name":"serial_number","description":"The battery's unique serial number","type":"text","hidden":false,"required":false,"index":false},{"name":"cycle_count","description":"The number of charge/discharge cycles","type":"integer","hidden":false,"required":false,"index":false},{"name":"health","description":"One of the following: \"Good\" describes a well-performing battery, \"Fair\" describes a functional battery with limited capacity, or \"Poor\" describes a battery that's not capable of providing power","type":"text","hidden":false,"required":false,"index":false},{"name":"condition","description":"One of the following: \"Normal\" indicates the condition of the battery is within normal tolerances, \"Service Needed\" indicates that the battery should be checked out by a licensed Mac repair service, \"Permanent Failure\" indicates the battery needs replacement","type":"text","hidden":false,"required":false,"index":false},{"name":"state","description":"One of the following: \"AC Power\" indicates the battery is connected to an external power source, \"Battery Power\" indicates that the battery is drawing internal power, \"Off Line\" indicates the battery is off-line or no longer connected","type":"text","hidden":false,"required":false,"index":false},{"name":"charging","description":"1 if the battery is currently being charged by a power source. 0 otherwise","type":"integer","hidden":false,"required":false,"index":false},{"name":"charged","description":"1 if the battery is currently completely charged. 0 otherwise","type":"integer","hidden":false,"required":false,"index":false},{"name":"designed_capacity","description":"The battery's designed capacity in mAh","type":"integer","hidden":false,"required":false,"index":false},{"name":"max_capacity","description":"The battery's actual capacity when it is fully charged in mAh","type":"integer","hidden":false,"required":false,"index":false},{"name":"current_capacity","description":"The battery's current charged capacity in mAh","type":"integer","hidden":false,"required":false,"index":false},{"name":"percent_remaining","description":"The percentage of battery remaining before it is drained","type":"integer","hidden":false,"required":false,"index":false},{"name":"amperage","description":"The battery's current amperage in mA","type":"integer","hidden":false,"required":false,"index":false},{"name":"voltage","description":"The battery's current voltage in mV","type":"integer","hidden":false,"required":false,"index":false},{"name":"minutes_until_empty","description":"The number of minutes until the battery is fully depleted. This value is -1 if this time is still being calculated","type":"integer","hidden":false,"required":false,"index":false},{"name":"minutes_to_full_charge","description":"The number of minutes until the battery is fully charged. This value is -1 if this time is still being calculated","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"bitlocker_info","description":"Retrieve bitlocker status of the machine.","platforms":["windows"],"columns":[{"name":"device_id","description":"ID of the encrypted drive.","type":"text","hidden":false,"required":false,"index":false},{"name":"drive_letter","description":"Drive letter of the encrypted drive.","type":"text","hidden":false,"required":false,"index":false},{"name":"persistent_volume_id","description":"Persistent ID of the drive.","type":"text","hidden":false,"required":false,"index":false},{"name":"conversion_status","description":"The bitlocker conversion status of the drive.","type":"integer","hidden":false,"required":false,"index":false},{"name":"protection_status","description":"The bitlocker protection status of the drive.","type":"integer","hidden":false,"required":false,"index":false},{"name":"encryption_method","description":"The encryption type of the device.","type":"text","hidden":false,"required":false,"index":false},{"name":"version","description":"The FVE metadata version of the drive.","type":"integer","hidden":false,"required":false,"index":false},{"name":"percentage_encrypted","description":"The percentage of the drive that is encrypted.","type":"integer","hidden":false,"required":false,"index":false},{"name":"lock_status","description":"The accessibility status of the drive from Windows.","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"block_devices","description":"Block (buffered access) device file nodes: disks, ramdisks, and DMG containers.","platforms":["darwin","linux"],"columns":[{"name":"name","description":"Block device name","type":"text","hidden":false,"required":false,"index":false},{"name":"parent","description":"Block device parent name","type":"text","hidden":false,"required":false,"index":false},{"name":"vendor","description":"Block device vendor string","type":"text","hidden":false,"required":false,"index":false},{"name":"model","description":"Block device model string identifier","type":"text","hidden":false,"required":false,"index":false},{"name":"size","description":"Block device size in blocks","type":"bigint","hidden":false,"required":false,"index":false},{"name":"block_size","description":"Block size in bytes","type":"integer","hidden":false,"required":false,"index":false},{"name":"uuid","description":"Block device Universally Unique Identifier","type":"text","hidden":false,"required":false,"index":false},{"name":"type","description":"Block device type string","type":"text","hidden":false,"required":false,"index":false},{"name":"label","description":"Block device label string","type":"text","hidden":false,"required":false,"index":false}]},{"name":"bpf_process_events","description":"Track time/action process executions.","platforms":["linux"],"columns":[{"name":"tid","description":"Thread ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"pid","description":"Process ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"parent","description":"Parent process ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"uid","description":"User ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"gid","description":"Group ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"cid","description":"Cgroup ID","type":"integer","hidden":false,"required":false,"index":false},{"name":"exit_code","description":"Exit code of the system call","type":"text","hidden":false,"required":false,"index":false},{"name":"probe_error","description":"Set to 1 if one or more buffers could not be captured","type":"integer","hidden":false,"required":false,"index":false},{"name":"syscall","description":"System call name","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"Binary path","type":"text","hidden":false,"required":false,"index":false},{"name":"cwd","description":"Current working directory","type":"text","hidden":false,"required":false,"index":false},{"name":"cmdline","description":"Command line arguments","type":"text","hidden":false,"required":false,"index":false},{"name":"duration","description":"How much time was spent inside the syscall (nsecs)","type":"integer","hidden":false,"required":false,"index":false},{"name":"json_cmdline","description":"Command line arguments, in JSON format","type":"text","hidden":true,"required":false,"index":false},{"name":"ntime","description":"The nsecs uptime timestamp as obtained from BPF","type":"text","hidden":false,"required":false,"index":false},{"name":"time","description":"Time of execution in UNIX time","type":"bigint","hidden":true,"required":false,"index":false},{"name":"eid","description":"Event ID","type":"integer","hidden":true,"required":false,"index":false}]},{"name":"bpf_socket_events","description":"Track network socket opens and closes.","platforms":["linux"],"columns":[{"name":"tid","description":"Thread ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"pid","description":"Process ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"parent","description":"Parent process ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"uid","description":"User ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"gid","description":"Group ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"cid","description":"Cgroup ID","type":"integer","hidden":false,"required":false,"index":false},{"name":"exit_code","description":"Exit code of the system call","type":"text","hidden":false,"required":false,"index":false},{"name":"probe_error","description":"Set to 1 if one or more buffers could not be captured","type":"integer","hidden":false,"required":false,"index":false},{"name":"syscall","description":"System call name","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"Path of executed file","type":"text","hidden":false,"required":false,"index":false},{"name":"fd","description":"The file description for the process socket","type":"text","hidden":false,"required":false,"index":false},{"name":"family","description":"The Internet protocol family ID","type":"integer","hidden":false,"required":false,"index":false},{"name":"type","description":"The socket type","type":"integer","hidden":false,"required":false,"index":false},{"name":"protocol","description":"The network protocol ID","type":"integer","hidden":false,"required":false,"index":false},{"name":"local_address","description":"Local address associated with socket","type":"text","hidden":false,"required":false,"index":false},{"name":"remote_address","description":"Remote address associated with socket","type":"text","hidden":false,"required":false,"index":false},{"name":"local_port","description":"Local network protocol port number","type":"integer","hidden":false,"required":false,"index":false},{"name":"remote_port","description":"Remote network protocol port number","type":"integer","hidden":false,"required":false,"index":false},{"name":"duration","description":"How much time was spent inside the syscall (nsecs)","type":"integer","hidden":false,"required":false,"index":false},{"name":"ntime","description":"The nsecs uptime timestamp as obtained from BPF","type":"text","hidden":false,"required":false,"index":false},{"name":"time","description":"Time of execution in UNIX time","type":"bigint","hidden":true,"required":false,"index":false},{"name":"eid","description":"Event ID","type":"integer","hidden":true,"required":false,"index":false}]},{"name":"browser_plugins","description":"All C/NPAPI browser plugin details for all users. C/NPAPI has been deprecated on all major browsers. To query for plugins on modern browsers, try: `chrome_extensions` `firefox_addons` `safari_extensions`.","platforms":["darwin"],"columns":[{"name":"uid","description":"The local user that owns the plugin","type":"bigint","hidden":false,"required":false,"index":false},{"name":"name","description":"Plugin display name","type":"text","hidden":false,"required":false,"index":false},{"name":"identifier","description":"Plugin identifier","type":"text","hidden":false,"required":false,"index":false},{"name":"version","description":"Plugin short version","type":"text","hidden":false,"required":false,"index":false},{"name":"sdk","description":"Build SDK used to compile plugin","type":"text","hidden":false,"required":false,"index":false},{"name":"description","description":"Plugin description text","type":"text","hidden":false,"required":false,"index":false},{"name":"development_region","description":"Plugin language-localization","type":"text","hidden":false,"required":false,"index":false},{"name":"native","description":"Plugin requires native execution","type":"integer","hidden":false,"required":false,"index":false},{"name":"path","description":"Path to plugin bundle","type":"text","hidden":false,"required":false,"index":false},{"name":"disabled","description":"Is the plugin disabled. 1 = Disabled","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"carbon_black_info","description":"Returns info about a Carbon Black sensor install.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"sensor_id","description":"Sensor ID of the Carbon Black sensor","type":"integer","hidden":false,"required":false,"index":false},{"name":"config_name","description":"Sensor group","type":"text","hidden":false,"required":false,"index":false},{"name":"collect_store_files","description":"If the sensor is configured to send back binaries to the Carbon Black server","type":"integer","hidden":false,"required":false,"index":false},{"name":"collect_module_loads","description":"If the sensor is configured to capture module loads","type":"integer","hidden":false,"required":false,"index":false},{"name":"collect_module_info","description":"If the sensor is configured to collect metadata of binaries","type":"integer","hidden":false,"required":false,"index":false},{"name":"collect_file_mods","description":"If the sensor is configured to collect file modification events","type":"integer","hidden":false,"required":false,"index":false},{"name":"collect_reg_mods","description":"If the sensor is configured to collect registry modification events","type":"integer","hidden":false,"required":false,"index":false},{"name":"collect_net_conns","description":"If the sensor is configured to collect network connections","type":"integer","hidden":false,"required":false,"index":false},{"name":"collect_processes","description":"If the sensor is configured to process events","type":"integer","hidden":false,"required":false,"index":false},{"name":"collect_cross_processes","description":"If the sensor is configured to cross process events","type":"integer","hidden":false,"required":false,"index":false},{"name":"collect_emet_events","description":"If the sensor is configured to EMET events","type":"integer","hidden":false,"required":false,"index":false},{"name":"collect_data_file_writes","description":"If the sensor is configured to collect non binary file writes","type":"integer","hidden":false,"required":false,"index":false},{"name":"collect_process_user_context","description":"If the sensor is configured to collect the user running a process","type":"integer","hidden":false,"required":false,"index":false},{"name":"collect_sensor_operations","description":"Unknown","type":"integer","hidden":false,"required":false,"index":false},{"name":"log_file_disk_quota_mb","description":"Event file disk quota in MB","type":"integer","hidden":false,"required":false,"index":false},{"name":"log_file_disk_quota_percentage","description":"Event file disk quota in a percentage","type":"integer","hidden":false,"required":false,"index":false},{"name":"protection_disabled","description":"If the sensor is configured to report tamper events","type":"integer","hidden":false,"required":false,"index":false},{"name":"sensor_ip_addr","description":"IP address of the sensor","type":"text","hidden":false,"required":false,"index":false},{"name":"sensor_backend_server","description":"Carbon Black server","type":"text","hidden":false,"required":false,"index":false},{"name":"event_queue","description":"Size in bytes of Carbon Black event files on disk","type":"integer","hidden":false,"required":false,"index":false},{"name":"binary_queue","description":"Size in bytes of binaries waiting to be sent to Carbon Black server","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"carves","description":"List the set of completed and in-progress carves. If carve=1 then the query is treated as a new carve request.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"time","description":"Time at which the carve was kicked off","type":"bigint","hidden":false,"required":false,"index":false},{"name":"sha256","description":"A SHA256 sum of the carved archive","type":"text","hidden":false,"required":false,"index":false},{"name":"size","description":"Size of the carved archive","type":"integer","hidden":false,"required":false,"index":false},{"name":"path","description":"The path of the requested carve","type":"text","hidden":false,"required":false,"index":false},{"name":"status","description":"Status of the carve, can be STARTING, PENDING, SUCCESS, or FAILED","type":"text","hidden":false,"required":false,"index":false},{"name":"carve_guid","description":"Identifying value of the carve session","type":"text","hidden":false,"required":false,"index":false},{"name":"request_id","description":"Identifying value of the carve request (e.g., scheduled query name, distributed request, etc)","type":"text","hidden":false,"required":false,"index":false},{"name":"carve","description":"Set this value to '1' to start a file carve","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"certificates","description":"Certificate Authorities installed in Keychains/ca-bundles.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"common_name","description":"Certificate CommonName","type":"text","hidden":false,"required":false,"index":false},{"name":"subject","description":"Certificate distinguished name (deprecated, use subject2)","type":"text","hidden":false,"required":false,"index":false},{"name":"issuer","description":"Certificate issuer distinguished name (deprecated, use issuer2)","type":"text","hidden":false,"required":false,"index":false},{"name":"ca","description":"1 if CA: true (certificate is an authority) else 0","type":"integer","hidden":false,"required":false,"index":false},{"name":"self_signed","description":"1 if self-signed, else 0","type":"integer","hidden":false,"required":false,"index":false},{"name":"not_valid_before","description":"Lower bound of valid date","type":"text","hidden":false,"required":false,"index":false},{"name":"not_valid_after","description":"Certificate expiration data","type":"text","hidden":false,"required":false,"index":false},{"name":"signing_algorithm","description":"Signing algorithm used","type":"text","hidden":false,"required":false,"index":false},{"name":"key_algorithm","description":"Key algorithm used","type":"text","hidden":false,"required":false,"index":false},{"name":"key_strength","description":"Key size used for RSA/DSA, or curve name","type":"text","hidden":false,"required":false,"index":false},{"name":"key_usage","description":"Certificate key usage and extended key usage","type":"text","hidden":false,"required":false,"index":false},{"name":"subject_key_id","description":"SKID an optionally included SHA1","type":"text","hidden":false,"required":false,"index":false},{"name":"authority_key_id","description":"AKID an optionally included SHA1","type":"text","hidden":false,"required":false,"index":false},{"name":"sha1","description":"SHA1 hash of the raw certificate contents","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"Path to Keychain or PEM bundle","type":"text","hidden":false,"required":false,"index":false},{"name":"serial","description":"Certificate serial number","type":"text","hidden":false,"required":false,"index":false},{"name":"sid","description":"SID","type":"text","hidden":true,"required":false,"index":false},{"name":"store_location","description":"Certificate system store location","type":"text","hidden":true,"required":false,"index":false},{"name":"store","description":"Certificate system store","type":"text","hidden":true,"required":false,"index":false},{"name":"username","description":"Username","type":"text","hidden":true,"required":false,"index":false},{"name":"store_id","description":"Exists for service/user stores. Contains raw store id provided by WinAPI.","type":"text","hidden":true,"required":false,"index":false},{"name":"issuer2","description":"Certificate issuer distinguished name","type":"text","hidden":true,"required":false,"index":false},{"name":"subject2","description":"Certificate distinguished name","type":"text","hidden":true,"required":false,"index":false}]},{"name":"chassis_info","description":"Display information pertaining to the chassis and its security status.","platforms":["windows"],"columns":[{"name":"audible_alarm","description":"If TRUE, the frame is equipped with an audible alarm.","type":"text","hidden":false,"required":false,"index":false},{"name":"breach_description","description":"If provided, gives a more detailed description of a detected security breach.","type":"text","hidden":false,"required":false,"index":false},{"name":"chassis_types","description":"A comma-separated list of chassis types, such as Desktop or Laptop.","type":"text","hidden":false,"required":false,"index":false},{"name":"description","description":"An extended description of the chassis if available.","type":"text","hidden":false,"required":false,"index":false},{"name":"lock","description":"If TRUE, the frame is equipped with a lock.","type":"text","hidden":false,"required":false,"index":false},{"name":"manufacturer","description":"The manufacturer of the chassis.","type":"text","hidden":false,"required":false,"index":false},{"name":"model","description":"The model of the chassis.","type":"text","hidden":false,"required":false,"index":false},{"name":"security_breach","description":"The physical status of the chassis such as Breach Successful, Breach Attempted, etc.","type":"text","hidden":false,"required":false,"index":false},{"name":"serial","description":"The serial number of the chassis.","type":"text","hidden":false,"required":false,"index":false},{"name":"smbios_tag","description":"The assigned asset tag number of the chassis.","type":"text","hidden":false,"required":false,"index":false},{"name":"sku","description":"The Stock Keeping Unit number if available.","type":"text","hidden":false,"required":false,"index":false},{"name":"status","description":"If available, gives various operational or nonoperational statuses such as OK, Degraded, and Pred Fail.","type":"text","hidden":false,"required":false,"index":false},{"name":"visible_alarm","description":"If TRUE, the frame is equipped with a visual alarm.","type":"text","hidden":false,"required":false,"index":false}]},{"name":"chocolatey_packages","description":"Chocolatey packages installed in a system.","platforms":["windows"],"columns":[{"name":"name","description":"Package display name","type":"text","hidden":false,"required":false,"index":false},{"name":"version","description":"Package-supplied version","type":"text","hidden":false,"required":false,"index":false},{"name":"summary","description":"Package-supplied summary","type":"text","hidden":false,"required":false,"index":false},{"name":"author","description":"Optional package author","type":"text","hidden":false,"required":false,"index":false},{"name":"license","description":"License under which package is launched","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"Path at which this package resides","type":"text","hidden":false,"required":false,"index":false}]},{"name":"chrome_extension_content_scripts","description":"Chrome browser extension content scripts.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"browser_type","description":"The browser type (Valid values: chrome, chromium, opera, yandex, brave)","type":"text","hidden":false,"required":false,"index":false},{"name":"uid","description":"The local user that owns the extension","type":"bigint","hidden":false,"required":false,"index":false},{"name":"identifier","description":"Extension identifier","type":"text","hidden":false,"required":false,"index":false},{"name":"version","description":"Extension-supplied version","type":"text","hidden":false,"required":false,"index":false},{"name":"script","description":"The content script used by the extension","type":"text","hidden":false,"required":false,"index":false},{"name":"match","description":"The pattern that the script is matched against","type":"text","hidden":false,"required":false,"index":false},{"name":"profile_path","description":"The profile path","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"Path to extension folder","type":"text","hidden":false,"required":false,"index":false},{"name":"referenced","description":"1 if this extension is referenced by the Preferences file of the profile","type":"bigint","hidden":false,"required":false,"index":false}]},{"name":"chrome_extensions","description":"Chrome-based browser extensions.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"browser_type","description":"The browser type (Valid values: chrome, chromium, opera, yandex, brave, edge, edge_beta)","type":"text","hidden":false,"required":false,"index":false},{"name":"uid","description":"The local user that owns the extension","type":"bigint","hidden":false,"required":false,"index":false},{"name":"name","description":"Extension display name","type":"text","hidden":false,"required":false,"index":false},{"name":"profile","description":"The name of the Chrome profile that contains this extension","type":"text","hidden":false,"required":false,"index":false},{"name":"profile_path","description":"The profile path","type":"text","hidden":false,"required":false,"index":false},{"name":"referenced_identifier","description":"Extension identifier, as specified by the preferences file. Empty if the extension is not in the profile.","type":"text","hidden":false,"required":false,"index":false},{"name":"identifier","description":"Extension identifier, computed from its manifest. Empty in case of error.","type":"text","hidden":false,"required":false,"index":false},{"name":"version","description":"Extension-supplied version","type":"text","hidden":false,"required":false,"index":false},{"name":"description","description":"Extension-optional description","type":"text","hidden":false,"required":false,"index":false},{"name":"default_locale","description":"Default locale supported by extension","type":"text","hidden":false,"required":false,"index":false},{"name":"current_locale","description":"Current locale supported by extension","type":"text","hidden":false,"required":false,"index":false},{"name":"update_url","description":"Extension-supplied update URI","type":"text","hidden":false,"required":false,"index":false},{"name":"author","description":"Optional extension author","type":"text","hidden":false,"required":false,"index":false},{"name":"persistent","description":"1 If extension is persistent across all tabs else 0","type":"integer","hidden":false,"required":false,"index":false},{"name":"path","description":"Path to extension folder","type":"text","hidden":false,"required":false,"index":false},{"name":"permissions","description":"The permissions required by the extension","type":"text","hidden":false,"required":false,"index":false},{"name":"permissions_json","description":"The JSON-encoded permissions required by the extension","type":"text","hidden":true,"required":false,"index":false},{"name":"optional_permissions","description":"The permissions optionally required by the extensions","type":"text","hidden":false,"required":false,"index":false},{"name":"optional_permissions_json","description":"The JSON-encoded permissions optionally required by the extensions","type":"text","hidden":true,"required":false,"index":false},{"name":"manifest_hash","description":"The SHA256 hash of the manifest.json file","type":"text","hidden":false,"required":false,"index":false},{"name":"referenced","description":"1 if this extension is referenced by the Preferences file of the profile","type":"bigint","hidden":false,"required":false,"index":false},{"name":"from_webstore","description":"True if this extension was installed from the web store","type":"text","hidden":false,"required":false,"index":false},{"name":"state","description":"1 if this extension is enabled","type":"text","hidden":false,"required":false,"index":false},{"name":"install_time","description":"Extension install time, in its original Webkit format","type":"text","hidden":false,"required":false,"index":false},{"name":"install_timestamp","description":"Extension install time, converted to unix time","type":"bigint","hidden":false,"required":false,"index":false},{"name":"manifest_json","description":"The manifest file of the extension","type":"text","hidden":true,"required":false,"index":false},{"name":"key","description":"The extension key, from the manifest file","type":"text","hidden":true,"required":false,"index":false}]},{"name":"connectivity","description":"Provides the overall system's network state.","platforms":["windows"],"columns":[{"name":"disconnected","description":"True if the all interfaces are not connected to any network","type":"integer","hidden":false,"required":false,"index":false},{"name":"ipv4_no_traffic","description":"True if any interface is connected via IPv4, but has seen no traffic","type":"integer","hidden":false,"required":false,"index":false},{"name":"ipv6_no_traffic","description":"True if any interface is connected via IPv6, but has seen no traffic","type":"integer","hidden":false,"required":false,"index":false},{"name":"ipv4_subnet","description":"True if any interface is connected to the local subnet via IPv4","type":"integer","hidden":false,"required":false,"index":false},{"name":"ipv4_local_network","description":"True if any interface is connected to a routed network via IPv4","type":"integer","hidden":false,"required":false,"index":false},{"name":"ipv4_internet","description":"True if any interface is connected to the Internet via IPv4","type":"integer","hidden":false,"required":false,"index":false},{"name":"ipv6_subnet","description":"True if any interface is connected to the local subnet via IPv6","type":"integer","hidden":false,"required":false,"index":false},{"name":"ipv6_local_network","description":"True if any interface is connected to a routed network via IPv6","type":"integer","hidden":false,"required":false,"index":false},{"name":"ipv6_internet","description":"True if any interface is connected to the Internet via IPv6","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"cpu_info","description":"Retrieve cpu hardware info of the machine.","platforms":["linux","windows"],"columns":[{"name":"device_id","description":"The DeviceID of the CPU.","type":"text","hidden":false,"required":false,"index":false},{"name":"model","description":"The model of the CPU.","type":"text","hidden":false,"required":false,"index":false},{"name":"manufacturer","description":"The manufacturer of the CPU.","type":"text","hidden":false,"required":false,"index":false},{"name":"processor_type","description":"The processor type, such as Central, Math, or Video.","type":"text","hidden":false,"required":false,"index":false},{"name":"cpu_status","description":"The current operating status of the CPU.","type":"integer","hidden":false,"required":false,"index":false},{"name":"number_of_cores","description":"The number of cores of the CPU.","type":"text","hidden":false,"required":false,"index":false},{"name":"logical_processors","description":"The number of logical processors of the CPU.","type":"integer","hidden":false,"required":false,"index":false},{"name":"address_width","description":"The width of the CPU address bus.","type":"text","hidden":false,"required":false,"index":false},{"name":"current_clock_speed","description":"The current frequency of the CPU.","type":"integer","hidden":false,"required":false,"index":false},{"name":"max_clock_speed","description":"The maximum possible frequency of the CPU.","type":"integer","hidden":false,"required":false,"index":false},{"name":"socket_designation","description":"The assigned socket on the board for the given CPU.","type":"text","hidden":false,"required":false,"index":false},{"name":"availability","description":"The availability and status of the CPU.","type":"text","hidden":true,"required":false,"index":false}]},{"name":"cpu_time","description":"Displays information from /proc/stat file about the time the cpu cores spent in different parts of the system.","platforms":["darwin","linux"],"columns":[{"name":"core","description":"Name of the cpu (core)","type":"integer","hidden":false,"required":false,"index":false},{"name":"user","description":"Time spent in user mode","type":"bigint","hidden":false,"required":false,"index":false},{"name":"nice","description":"Time spent in user mode with low priority (nice)","type":"bigint","hidden":false,"required":false,"index":false},{"name":"system","description":"Time spent in system mode","type":"bigint","hidden":false,"required":false,"index":false},{"name":"idle","description":"Time spent in the idle task","type":"bigint","hidden":false,"required":false,"index":false},{"name":"iowait","description":"Time spent waiting for I/O to complete","type":"bigint","hidden":false,"required":false,"index":false},{"name":"irq","description":"Time spent servicing interrupts","type":"bigint","hidden":false,"required":false,"index":false},{"name":"softirq","description":"Time spent servicing softirqs","type":"bigint","hidden":false,"required":false,"index":false},{"name":"steal","description":"Time spent in other operating systems when running in a virtualized environment","type":"bigint","hidden":false,"required":false,"index":false},{"name":"guest","description":"Time spent running a virtual CPU for a guest OS under the control of the Linux kernel","type":"bigint","hidden":false,"required":false,"index":false},{"name":"guest_nice","description":"Time spent running a niced guest ","type":"bigint","hidden":false,"required":false,"index":false}]},{"name":"cpuid","description":"Useful CPU features from the cpuid ASM call.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"feature","description":"Present feature flags","type":"text","hidden":false,"required":false,"index":false},{"name":"value","description":"Bit value or string","type":"text","hidden":false,"required":false,"index":false},{"name":"output_register","description":"Register used to for feature value","type":"text","hidden":false,"required":false,"index":false},{"name":"output_bit","description":"Bit in register value for feature value","type":"integer","hidden":false,"required":false,"index":false},{"name":"input_eax","description":"Value of EAX used","type":"text","hidden":false,"required":false,"index":false}]},{"name":"crashes","description":"Application, System, and Mobile App crash logs.","platforms":["darwin"],"columns":[{"name":"type","description":"Type of crash log","type":"text","hidden":false,"required":false,"index":false},{"name":"pid","description":"Process (or thread) ID of the crashed process","type":"bigint","hidden":false,"required":false,"index":false},{"name":"path","description":"Path to the crashed process","type":"text","hidden":false,"required":false,"index":false},{"name":"crash_path","description":"Location of log file","type":"text","hidden":false,"required":false,"index":false},{"name":"identifier","description":"Identifier of the crashed process","type":"text","hidden":false,"required":false,"index":false},{"name":"version","description":"Version info of the crashed process","type":"text","hidden":false,"required":false,"index":false},{"name":"parent","description":"Parent PID of the crashed process","type":"bigint","hidden":false,"required":false,"index":false},{"name":"responsible","description":"Process responsible for the crashed process","type":"text","hidden":false,"required":false,"index":false},{"name":"uid","description":"User ID of the crashed process","type":"integer","hidden":false,"required":false,"index":false},{"name":"datetime","description":"Date/Time at which the crash occurred","type":"text","hidden":false,"required":false,"index":false},{"name":"crashed_thread","description":"Thread ID which crashed","type":"bigint","hidden":false,"required":false,"index":false},{"name":"stack_trace","description":"Most recent frame from the stack trace","type":"text","hidden":false,"required":false,"index":false},{"name":"exception_type","description":"Exception type of the crash","type":"text","hidden":false,"required":false,"index":false},{"name":"exception_codes","description":"Exception codes from the crash","type":"text","hidden":false,"required":false,"index":false},{"name":"exception_notes","description":"Exception notes from the crash","type":"text","hidden":false,"required":false,"index":false},{"name":"registers","description":"The value of the system registers","type":"text","hidden":false,"required":false,"index":false}]},{"name":"crontab","description":"Line parsed values from system and user cron/tab.","platforms":["darwin","linux"],"columns":[{"name":"event","description":"The job @event name (rare)","type":"text","hidden":false,"required":false,"index":false},{"name":"minute","description":"The exact minute for the job","type":"text","hidden":false,"required":false,"index":false},{"name":"hour","description":"The hour of the day for the job","type":"text","hidden":false,"required":false,"index":false},{"name":"day_of_month","description":"The day of the month for the job","type":"text","hidden":false,"required":false,"index":false},{"name":"month","description":"The month of the year for the job","type":"text","hidden":false,"required":false,"index":false},{"name":"day_of_week","description":"The day of the week for the job","type":"text","hidden":false,"required":false,"index":false},{"name":"command","description":"Raw command string","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"File parsed","type":"text","hidden":false,"required":false,"index":false},{"name":"pid_with_namespace","description":"Pids that contain a namespace","type":"integer","hidden":true,"required":false,"index":false}]},{"name":"cups_destinations","description":"Returns all configured printers.","platforms":["darwin"],"columns":[{"name":"name","description":"Name of the printer","type":"text","hidden":false,"required":false,"index":false},{"name":"option_name","description":"Option name","type":"text","hidden":false,"required":false,"index":false},{"name":"option_value","description":"Option value","type":"text","hidden":false,"required":false,"index":false}]},{"name":"cups_jobs","description":"Returns all completed print jobs from cups.","platforms":["darwin"],"columns":[{"name":"title","description":"Title of the printed job","type":"text","hidden":false,"required":false,"index":false},{"name":"destination","description":"The printer the job was sent to","type":"text","hidden":false,"required":false,"index":false},{"name":"user","description":"The user who printed the job","type":"text","hidden":false,"required":false,"index":false},{"name":"format","description":"The format of the print job","type":"text","hidden":false,"required":false,"index":false},{"name":"size","description":"The size of the print job","type":"integer","hidden":false,"required":false,"index":false},{"name":"completed_time","description":"When the job completed printing","type":"integer","hidden":false,"required":false,"index":false},{"name":"processing_time","description":"How long the job took to process","type":"integer","hidden":false,"required":false,"index":false},{"name":"creation_time","description":"When the print request was initiated","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"curl","description":"Perform an http request and return stats about it.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"url","description":"The url for the request","type":"text","hidden":false,"required":true,"index":false},{"name":"method","description":"The HTTP method for the request","type":"text","hidden":false,"required":false,"index":false},{"name":"user_agent","description":"The user-agent string to use for the request","type":"text","hidden":false,"required":false,"index":false},{"name":"response_code","description":"The HTTP status code for the response","type":"integer","hidden":false,"required":false,"index":false},{"name":"round_trip_time","description":"Time taken to complete the request","type":"bigint","hidden":false,"required":false,"index":false},{"name":"bytes","description":"Number of bytes in the response","type":"bigint","hidden":false,"required":false,"index":false},{"name":"result","description":"The HTTP response body","type":"text","hidden":false,"required":false,"index":false}]},{"name":"curl_certificate","description":"Inspect TLS certificates by connecting to input hostnames.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"hostname","description":"Hostname (domain[:port]) to CURL","type":"text","hidden":false,"required":true,"index":false},{"name":"common_name","description":"Common name of company issued to","type":"text","hidden":false,"required":false,"index":false},{"name":"organization","description":"Organization issued to","type":"text","hidden":false,"required":false,"index":false},{"name":"organization_unit","description":"Organization unit issued to","type":"text","hidden":false,"required":false,"index":false},{"name":"serial_number","description":"Certificate serial number","type":"text","hidden":false,"required":false,"index":false},{"name":"issuer_common_name","description":"Issuer common name","type":"text","hidden":false,"required":false,"index":false},{"name":"issuer_organization","description":"Issuer organization","type":"text","hidden":false,"required":false,"index":false},{"name":"issuer_organization_unit","description":"Issuer organization unit","type":"text","hidden":false,"required":false,"index":false},{"name":"valid_from","description":"Period of validity start date","type":"text","hidden":false,"required":false,"index":false},{"name":"valid_to","description":"Period of validity end date","type":"text","hidden":false,"required":false,"index":false},{"name":"sha256_fingerprint","description":"SHA-256 fingerprint","type":"text","hidden":false,"required":false,"index":false},{"name":"sha1_fingerprint","description":"SHA1 fingerprint","type":"text","hidden":false,"required":false,"index":false},{"name":"version","description":"Version Number","type":"integer","hidden":false,"required":false,"index":false},{"name":"signature_algorithm","description":"Signature Algorithm","type":"text","hidden":false,"required":false,"index":false},{"name":"signature","description":"Signature","type":"text","hidden":false,"required":false,"index":false},{"name":"subject_key_identifier","description":"Subject Key Identifier","type":"text","hidden":false,"required":false,"index":false},{"name":"authority_key_identifier","description":"Authority Key Identifier","type":"text","hidden":false,"required":false,"index":false},{"name":"key_usage","description":"Usage of key in certificate","type":"text","hidden":false,"required":false,"index":false},{"name":"extended_key_usage","description":"Extended usage of key in certificate","type":"text","hidden":false,"required":false,"index":false},{"name":"policies","description":"Certificate Policies","type":"text","hidden":false,"required":false,"index":false},{"name":"subject_alternative_names","description":"Subject Alternative Name","type":"text","hidden":false,"required":false,"index":false},{"name":"issuer_alternative_names","description":"Issuer Alternative Name","type":"text","hidden":false,"required":false,"index":false},{"name":"info_access","description":"Authority Information Access","type":"text","hidden":false,"required":false,"index":false},{"name":"subject_info_access","description":"Subject Information Access","type":"text","hidden":false,"required":false,"index":false},{"name":"policy_mappings","description":"Policy Mappings","type":"text","hidden":false,"required":false,"index":false},{"name":"has_expired","description":"1 if the certificate has expired, 0 otherwise","type":"integer","hidden":false,"required":false,"index":false},{"name":"basic_constraint","description":"Basic Constraints","type":"text","hidden":false,"required":false,"index":false},{"name":"name_constraints","description":"Name Constraints","type":"text","hidden":false,"required":false,"index":false},{"name":"policy_constraints","description":"Policy Constraints","type":"text","hidden":false,"required":false,"index":false},{"name":"dump_certificate","description":"Set this value to '1' to dump certificate","type":"integer","hidden":true,"required":false,"index":false},{"name":"timeout","description":"Set this value to the timeout in seconds to complete the TLS handshake (default 4s, use 0 for no timeout)","type":"integer","hidden":true,"required":false,"index":false},{"name":"pem","description":"Certificate PEM format","type":"text","hidden":false,"required":false,"index":false}]},{"name":"deb_packages","description":"The installed DEB package database.","platforms":["linux"],"columns":[{"name":"name","description":"Package name","type":"text","hidden":false,"required":false,"index":false},{"name":"version","description":"Package version","type":"text","hidden":false,"required":false,"index":false},{"name":"source","description":"Package source","type":"text","hidden":false,"required":false,"index":false},{"name":"size","description":"Package size in bytes","type":"bigint","hidden":false,"required":false,"index":false},{"name":"arch","description":"Package architecture","type":"text","hidden":false,"required":false,"index":false},{"name":"revision","description":"Package revision","type":"text","hidden":false,"required":false,"index":false},{"name":"status","description":"Package status","type":"text","hidden":false,"required":false,"index":false},{"name":"maintainer","description":"Package maintainer","type":"text","hidden":false,"required":false,"index":false},{"name":"section","description":"Package section","type":"text","hidden":false,"required":false,"index":false},{"name":"priority","description":"Package priority","type":"text","hidden":false,"required":false,"index":false},{"name":"admindir","description":"libdpkg admindir. Defaults to /var/lib/dpkg","type":"text","hidden":false,"required":false,"index":false},{"name":"pid_with_namespace","description":"Pids that contain a namespace","type":"integer","hidden":true,"required":false,"index":false},{"name":"mount_namespace_id","description":"Mount namespace id","type":"text","hidden":true,"required":false,"index":false}]},{"name":"default_environment","description":"Default environment variables and values.","platforms":["windows"],"columns":[{"name":"variable","description":"Name of the environment variable","type":"text","hidden":false,"required":false,"index":false},{"name":"value","description":"Value of the environment variable","type":"text","hidden":false,"required":false,"index":false},{"name":"expand","description":"1 if the variable needs expanding, 0 otherwise","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"device_file","description":"Similar to the file table, but use TSK and allow block address access.","platforms":["darwin","linux"],"columns":[{"name":"device","description":"Absolute file path to device node","type":"text","hidden":false,"required":true,"index":false},{"name":"partition","description":"A partition number","type":"text","hidden":false,"required":true,"index":false},{"name":"path","description":"A logical path within the device node","type":"text","hidden":false,"required":false,"index":false},{"name":"filename","description":"Name portion of file path","type":"text","hidden":false,"required":false,"index":false},{"name":"inode","description":"Filesystem inode number","type":"bigint","hidden":false,"required":false,"index":false},{"name":"uid","description":"Owning user ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"gid","description":"Owning group ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"mode","description":"Permission bits","type":"text","hidden":false,"required":false,"index":false},{"name":"size","description":"Size of file in bytes","type":"bigint","hidden":false,"required":false,"index":false},{"name":"block_size","description":"Block size of filesystem","type":"integer","hidden":false,"required":false,"index":false},{"name":"atime","description":"Last access time","type":"bigint","hidden":false,"required":false,"index":false},{"name":"mtime","description":"Last modification time","type":"bigint","hidden":false,"required":false,"index":false},{"name":"ctime","description":"Creation time","type":"bigint","hidden":false,"required":false,"index":false},{"name":"hard_links","description":"Number of hard links","type":"integer","hidden":false,"required":false,"index":false},{"name":"type","description":"File status","type":"text","hidden":false,"required":false,"index":false}]},{"name":"device_firmware","description":"A best-effort list of discovered firmware versions.","platforms":["darwin"],"columns":[{"name":"type","description":"Type of device","type":"text","hidden":false,"required":false,"index":false},{"name":"device","description":"The device name","type":"text","hidden":false,"required":false,"index":false},{"name":"version","description":"Firmware version","type":"text","hidden":false,"required":false,"index":false}]},{"name":"device_hash","description":"Similar to the hash table, but use TSK and allow block address access.","platforms":["darwin","linux"],"columns":[{"name":"device","description":"Absolute file path to device node","type":"text","hidden":false,"required":true,"index":false},{"name":"partition","description":"A partition number","type":"text","hidden":false,"required":true,"index":false},{"name":"inode","description":"Filesystem inode number","type":"bigint","hidden":false,"required":true,"index":false},{"name":"md5","description":"MD5 hash of provided inode data","type":"text","hidden":false,"required":false,"index":false},{"name":"sha1","description":"SHA1 hash of provided inode data","type":"text","hidden":false,"required":false,"index":false},{"name":"sha256","description":"SHA256 hash of provided inode data","type":"text","hidden":false,"required":false,"index":false}]},{"name":"device_partitions","description":"Use TSK to enumerate details about partitions on a disk device.","platforms":["darwin","linux"],"columns":[{"name":"device","description":"Absolute file path to device node","type":"text","hidden":false,"required":true,"index":false},{"name":"partition","description":"A partition number or description","type":"integer","hidden":false,"required":false,"index":false},{"name":"label","description":"","type":"text","hidden":false,"required":false,"index":false},{"name":"type","description":"","type":"text","hidden":false,"required":false,"index":false},{"name":"offset","description":"","type":"bigint","hidden":false,"required":false,"index":false},{"name":"blocks_size","description":"Byte size of each block","type":"bigint","hidden":false,"required":false,"index":false},{"name":"blocks","description":"Number of blocks","type":"bigint","hidden":false,"required":false,"index":false},{"name":"inodes","description":"Number of meta nodes","type":"bigint","hidden":false,"required":false,"index":false},{"name":"flags","description":"","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"disk_encryption","description":"Disk encryption status and information.","platforms":["darwin","linux"],"columns":[{"name":"name","description":"Disk name","type":"text","hidden":false,"required":false,"index":false},{"name":"uuid","description":"Disk Universally Unique Identifier","type":"text","hidden":false,"required":false,"index":false},{"name":"encrypted","description":"1 If encrypted: true (disk is encrypted), else 0","type":"integer","hidden":false,"required":false,"index":false},{"name":"type","description":"Description of cipher type and mode if available","type":"text","hidden":false,"required":false,"index":false},{"name":"encryption_status","description":"Disk encryption status with one of following values: encrypted | not encrypted | undefined","type":"text","hidden":false,"required":false,"index":false},{"name":"uid","description":"Currently authenticated user if available","type":"text","hidden":false,"required":false,"index":false},{"name":"user_uuid","description":"UUID of authenticated user if available","type":"text","hidden":false,"required":false,"index":false},{"name":"filevault_status","description":"FileVault status with one of following values: on | off | unknown","type":"text","hidden":false,"required":false,"index":false}]},{"name":"disk_events","description":"Track DMG disk image events (appearance/disappearance) when opened.","platforms":["darwin"],"columns":[{"name":"action","description":"Appear or disappear","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"Path of the DMG file accessed","type":"text","hidden":false,"required":false,"index":false},{"name":"name","description":"Disk event name","type":"text","hidden":false,"required":false,"index":false},{"name":"device","description":"Disk event BSD name","type":"text","hidden":false,"required":false,"index":false},{"name":"uuid","description":"UUID of the volume inside DMG if available","type":"text","hidden":false,"required":false,"index":false},{"name":"size","description":"Size of partition in bytes","type":"bigint","hidden":false,"required":false,"index":false},{"name":"ejectable","description":"1 if ejectable, 0 if not","type":"integer","hidden":false,"required":false,"index":false},{"name":"mountable","description":"1 if mountable, 0 if not","type":"integer","hidden":false,"required":false,"index":false},{"name":"writable","description":"1 if writable, 0 if not","type":"integer","hidden":false,"required":false,"index":false},{"name":"content","description":"Disk event content","type":"text","hidden":false,"required":false,"index":false},{"name":"media_name","description":"Disk event media name string","type":"text","hidden":false,"required":false,"index":false},{"name":"vendor","description":"Disk event vendor string","type":"text","hidden":false,"required":false,"index":false},{"name":"filesystem","description":"Filesystem if available","type":"text","hidden":false,"required":false,"index":false},{"name":"checksum","description":"UDIF Master checksum if available (CRC32)","type":"text","hidden":false,"required":false,"index":false},{"name":"time","description":"Time of appearance/disappearance in UNIX time","type":"bigint","hidden":false,"required":false,"index":false},{"name":"eid","description":"Event ID","type":"text","hidden":true,"required":false,"index":false}]},{"name":"disk_info","description":"Retrieve basic information about the physical disks of a system.","platforms":["windows"],"columns":[{"name":"partitions","description":"Number of detected partitions on disk.","type":"integer","hidden":false,"required":false,"index":false},{"name":"disk_index","description":"Physical drive number of the disk.","type":"integer","hidden":false,"required":false,"index":false},{"name":"type","description":"The interface type of the disk.","type":"text","hidden":false,"required":false,"index":false},{"name":"id","description":"The unique identifier of the drive on the system.","type":"text","hidden":false,"required":false,"index":false},{"name":"pnp_device_id","description":"The unique identifier of the drive on the system.","type":"text","hidden":false,"required":false,"index":false},{"name":"disk_size","description":"Size of the disk.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"manufacturer","description":"The manufacturer of the disk.","type":"text","hidden":false,"required":false,"index":false},{"name":"hardware_model","description":"Hard drive model.","type":"text","hidden":false,"required":false,"index":false},{"name":"name","description":"The label of the disk object.","type":"text","hidden":false,"required":false,"index":false},{"name":"serial","description":"The serial number of the disk.","type":"text","hidden":false,"required":false,"index":false},{"name":"description","description":"The OS's description of the disk.","type":"text","hidden":false,"required":false,"index":false}]},{"name":"dns_cache","description":"Enumerate the DNS cache using the undocumented DnsGetCacheDataTable function in dnsapi.dll.","platforms":["windows"],"columns":[{"name":"name","description":"DNS record name","type":"text","hidden":false,"required":false,"index":false},{"name":"type","description":"DNS record type","type":"text","hidden":false,"required":false,"index":false},{"name":"flags","description":"DNS record flags","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"dns_resolvers","description":"Resolvers used by this host.","platforms":["darwin","linux"],"columns":[{"name":"id","description":"Address type index or order","type":"integer","hidden":false,"required":false,"index":false},{"name":"type","description":"Address type: sortlist, nameserver, search","type":"text","hidden":false,"required":false,"index":false},{"name":"address","description":"Resolver IP/IPv6 address","type":"text","hidden":false,"required":false,"index":false},{"name":"netmask","description":"Address (sortlist) netmask length","type":"text","hidden":false,"required":false,"index":false},{"name":"options","description":"Resolver options","type":"bigint","hidden":false,"required":false,"index":false},{"name":"pid_with_namespace","description":"Pids that contain a namespace","type":"integer","hidden":true,"required":false,"index":false}]},{"name":"docker_container_envs","description":"Docker container environment variables.","platforms":["darwin","linux"],"columns":[{"name":"id","description":"Container ID","type":"text","hidden":false,"required":false,"index":false},{"name":"key","description":"Environment variable name","type":"text","hidden":false,"required":false,"index":false},{"name":"value","description":"Environment variable value","type":"text","hidden":false,"required":false,"index":false}]},{"name":"docker_container_fs_changes","description":"Changes to files or directories on container's filesystem.","platforms":["darwin","linux"],"columns":[{"name":"id","description":"Container ID","type":"text","hidden":false,"required":true,"index":false},{"name":"path","description":"FIle or directory path relative to rootfs","type":"text","hidden":false,"required":false,"index":false},{"name":"change_type","description":"Type of change: C:Modified, A:Added, D:Deleted","type":"text","hidden":false,"required":false,"index":false}]},{"name":"docker_container_labels","description":"Docker container labels.","platforms":["darwin","linux"],"columns":[{"name":"id","description":"Container ID","type":"text","hidden":false,"required":false,"index":false},{"name":"key","description":"Label key","type":"text","hidden":false,"required":false,"index":false},{"name":"value","description":"Optional label value","type":"text","hidden":false,"required":false,"index":false}]},{"name":"docker_container_mounts","description":"Docker container mounts.","platforms":["darwin","linux"],"columns":[{"name":"id","description":"Container ID","type":"text","hidden":false,"required":false,"index":false},{"name":"type","description":"Type of mount (bind, volume)","type":"text","hidden":false,"required":false,"index":false},{"name":"name","description":"Optional mount name","type":"text","hidden":false,"required":false,"index":false},{"name":"source","description":"Source path on host","type":"text","hidden":false,"required":false,"index":false},{"name":"destination","description":"Destination path inside container","type":"text","hidden":false,"required":false,"index":false},{"name":"driver","description":"Driver providing the mount","type":"text","hidden":false,"required":false,"index":false},{"name":"mode","description":"Mount options (rw, ro)","type":"text","hidden":false,"required":false,"index":false},{"name":"rw","description":"1 if read/write. 0 otherwise","type":"integer","hidden":false,"required":false,"index":false},{"name":"propagation","description":"Mount propagation","type":"text","hidden":false,"required":false,"index":false}]},{"name":"docker_container_networks","description":"Docker container networks.","platforms":["darwin","linux"],"columns":[{"name":"id","description":"Container ID","type":"text","hidden":false,"required":false,"index":false},{"name":"name","description":"Network name","type":"text","hidden":false,"required":false,"index":false},{"name":"network_id","description":"Network ID","type":"text","hidden":false,"required":false,"index":false},{"name":"endpoint_id","description":"Endpoint ID","type":"text","hidden":false,"required":false,"index":false},{"name":"gateway","description":"Gateway","type":"text","hidden":false,"required":false,"index":false},{"name":"ip_address","description":"IP address","type":"text","hidden":false,"required":false,"index":false},{"name":"ip_prefix_len","description":"IP subnet prefix length","type":"integer","hidden":false,"required":false,"index":false},{"name":"ipv6_gateway","description":"IPv6 gateway","type":"text","hidden":false,"required":false,"index":false},{"name":"ipv6_address","description":"IPv6 address","type":"text","hidden":false,"required":false,"index":false},{"name":"ipv6_prefix_len","description":"IPv6 subnet prefix length","type":"integer","hidden":false,"required":false,"index":false},{"name":"mac_address","description":"MAC address","type":"text","hidden":false,"required":false,"index":false}]},{"name":"docker_container_ports","description":"Docker container ports.","platforms":["darwin","linux"],"columns":[{"name":"id","description":"Container ID","type":"text","hidden":false,"required":false,"index":false},{"name":"type","description":"Protocol (tcp, udp)","type":"text","hidden":false,"required":false,"index":false},{"name":"port","description":"Port inside the container","type":"integer","hidden":false,"required":false,"index":false},{"name":"host_ip","description":"Host IP address on which public port is listening","type":"text","hidden":false,"required":false,"index":false},{"name":"host_port","description":"Host port","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"docker_container_processes","description":"Docker container processes.","platforms":["darwin","linux"],"columns":[{"name":"id","description":"Container ID","type":"text","hidden":false,"required":true,"index":false},{"name":"pid","description":"Process ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"name","description":"The process path or shorthand argv[0]","type":"text","hidden":false,"required":false,"index":false},{"name":"cmdline","description":"Complete argv","type":"text","hidden":false,"required":false,"index":false},{"name":"state","description":"Process state","type":"text","hidden":false,"required":false,"index":false},{"name":"uid","description":"User ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"gid","description":"Group ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"euid","description":"Effective user ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"egid","description":"Effective group ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"suid","description":"Saved user ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"sgid","description":"Saved group ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"wired_size","description":"Bytes of unpageable memory used by process","type":"bigint","hidden":false,"required":false,"index":false},{"name":"resident_size","description":"Bytes of private memory used by process","type":"bigint","hidden":false,"required":false,"index":false},{"name":"total_size","description":"Total virtual memory size","type":"bigint","hidden":false,"required":false,"index":false},{"name":"start_time","description":"Process start in seconds since boot (non-sleeping)","type":"bigint","hidden":false,"required":false,"index":false},{"name":"parent","description":"Process parent's PID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"pgroup","description":"Process group","type":"bigint","hidden":false,"required":false,"index":false},{"name":"threads","description":"Number of threads used by process","type":"integer","hidden":false,"required":false,"index":false},{"name":"nice","description":"Process nice level (-20 to 20, default 0)","type":"integer","hidden":false,"required":false,"index":false},{"name":"user","description":"User name","type":"text","hidden":false,"required":false,"index":false},{"name":"time","description":"Cumulative CPU time. [DD-]HH:MM:SS format","type":"text","hidden":false,"required":false,"index":false},{"name":"cpu","description":"CPU utilization as percentage","type":"double","hidden":false,"required":false,"index":false},{"name":"mem","description":"Memory utilization as percentage","type":"double","hidden":false,"required":false,"index":false}]},{"name":"docker_container_stats","description":"Docker container statistics. Queries on this table take at least one second.","platforms":["darwin","linux"],"columns":[{"name":"id","description":"Container ID","type":"text","hidden":false,"required":true,"index":false},{"name":"name","description":"Container name","type":"text","hidden":false,"required":false,"index":false},{"name":"pids","description":"Number of processes","type":"integer","hidden":false,"required":false,"index":false},{"name":"read","description":"UNIX time when stats were read","type":"bigint","hidden":false,"required":false,"index":false},{"name":"preread","description":"UNIX time when stats were last read","type":"bigint","hidden":false,"required":false,"index":false},{"name":"interval","description":"Difference between read and preread in nano-seconds","type":"bigint","hidden":false,"required":false,"index":false},{"name":"disk_read","description":"Total disk read bytes","type":"bigint","hidden":false,"required":false,"index":false},{"name":"disk_write","description":"Total disk write bytes","type":"bigint","hidden":false,"required":false,"index":false},{"name":"num_procs","description":"Number of processors","type":"integer","hidden":false,"required":false,"index":false},{"name":"cpu_total_usage","description":"Total CPU usage","type":"bigint","hidden":false,"required":false,"index":false},{"name":"cpu_kernelmode_usage","description":"CPU kernel mode usage","type":"bigint","hidden":false,"required":false,"index":false},{"name":"cpu_usermode_usage","description":"CPU user mode usage","type":"bigint","hidden":false,"required":false,"index":false},{"name":"system_cpu_usage","description":"CPU system usage","type":"bigint","hidden":false,"required":false,"index":false},{"name":"online_cpus","description":"Online CPUs","type":"integer","hidden":false,"required":false,"index":false},{"name":"pre_cpu_total_usage","description":"Last read total CPU usage","type":"bigint","hidden":false,"required":false,"index":false},{"name":"pre_cpu_kernelmode_usage","description":"Last read CPU kernel mode usage","type":"bigint","hidden":false,"required":false,"index":false},{"name":"pre_cpu_usermode_usage","description":"Last read CPU user mode usage","type":"bigint","hidden":false,"required":false,"index":false},{"name":"pre_system_cpu_usage","description":"Last read CPU system usage","type":"bigint","hidden":false,"required":false,"index":false},{"name":"pre_online_cpus","description":"Last read online CPUs","type":"integer","hidden":false,"required":false,"index":false},{"name":"memory_usage","description":"Memory usage","type":"bigint","hidden":false,"required":false,"index":false},{"name":"memory_max_usage","description":"Memory maximum usage","type":"bigint","hidden":false,"required":false,"index":false},{"name":"memory_limit","description":"Memory limit","type":"bigint","hidden":false,"required":false,"index":false},{"name":"network_rx_bytes","description":"Total network bytes read","type":"bigint","hidden":false,"required":false,"index":false},{"name":"network_tx_bytes","description":"Total network bytes transmitted","type":"bigint","hidden":false,"required":false,"index":false}]},{"name":"docker_containers","description":"Docker containers information.","platforms":["darwin","linux"],"columns":[{"name":"id","description":"Container ID","type":"text","hidden":false,"required":false,"index":false},{"name":"name","description":"Container name","type":"text","hidden":false,"required":false,"index":false},{"name":"image","description":"Docker image (name) used to launch this container","type":"text","hidden":false,"required":false,"index":false},{"name":"image_id","description":"Docker image ID","type":"text","hidden":false,"required":false,"index":false},{"name":"command","description":"Command with arguments","type":"text","hidden":false,"required":false,"index":false},{"name":"created","description":"Time of creation as UNIX time","type":"bigint","hidden":false,"required":false,"index":false},{"name":"state","description":"Container state (created, restarting, running, removing, paused, exited, dead)","type":"text","hidden":false,"required":false,"index":false},{"name":"status","description":"Container status information","type":"text","hidden":false,"required":false,"index":false},{"name":"pid","description":"Identifier of the initial process","type":"bigint","hidden":false,"required":false,"index":false},{"name":"path","description":"Container path","type":"text","hidden":false,"required":false,"index":false},{"name":"config_entrypoint","description":"Container entrypoint(s)","type":"text","hidden":false,"required":false,"index":false},{"name":"started_at","description":"Container start time as string","type":"text","hidden":false,"required":false,"index":false},{"name":"finished_at","description":"Container finish time as string","type":"text","hidden":false,"required":false,"index":false},{"name":"privileged","description":"Is the container privileged","type":"integer","hidden":false,"required":false,"index":false},{"name":"security_options","description":"List of container security options","type":"text","hidden":false,"required":false,"index":false},{"name":"env_variables","description":"Container environmental variables","type":"text","hidden":false,"required":false,"index":false},{"name":"readonly_rootfs","description":"Is the root filesystem mounted as read only","type":"integer","hidden":false,"required":false,"index":false},{"name":"cgroup_namespace","description":"cgroup namespace","type":"text","hidden":true,"required":false,"index":false},{"name":"ipc_namespace","description":"IPC namespace","type":"text","hidden":true,"required":false,"index":false},{"name":"mnt_namespace","description":"Mount namespace","type":"text","hidden":true,"required":false,"index":false},{"name":"net_namespace","description":"Network namespace","type":"text","hidden":true,"required":false,"index":false},{"name":"pid_namespace","description":"PID namespace","type":"text","hidden":true,"required":false,"index":false},{"name":"user_namespace","description":"User namespace","type":"text","hidden":true,"required":false,"index":false},{"name":"uts_namespace","description":"UTS namespace","type":"text","hidden":true,"required":false,"index":false}]},{"name":"docker_image_history","description":"Docker image history information.","platforms":["darwin","linux"],"columns":[{"name":"id","description":"Image ID","type":"text","hidden":false,"required":false,"index":false},{"name":"created","description":"Time of creation as UNIX time","type":"bigint","hidden":false,"required":false,"index":false},{"name":"size","description":"Size of instruction in bytes","type":"bigint","hidden":false,"required":false,"index":false},{"name":"created_by","description":"Created by instruction","type":"text","hidden":false,"required":false,"index":false},{"name":"tags","description":"Comma-separated list of tags","type":"text","hidden":false,"required":false,"index":false},{"name":"comment","description":"Instruction comment","type":"text","hidden":false,"required":false,"index":false}]},{"name":"docker_image_labels","description":"Docker image labels.","platforms":["darwin","linux"],"columns":[{"name":"id","description":"Image ID","type":"text","hidden":false,"required":false,"index":false},{"name":"key","description":"Label key","type":"text","hidden":false,"required":false,"index":false},{"name":"value","description":"Optional label value","type":"text","hidden":false,"required":false,"index":false}]},{"name":"docker_image_layers","description":"Docker image layers information.","platforms":["darwin","linux"],"columns":[{"name":"id","description":"Image ID","type":"text","hidden":false,"required":false,"index":false},{"name":"layer_id","description":"Layer ID","type":"text","hidden":false,"required":false,"index":false},{"name":"layer_order","description":"Layer Order (1 = base layer)","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"docker_images","description":"Docker images information.","platforms":["darwin","linux"],"columns":[{"name":"id","description":"Image ID","type":"text","hidden":false,"required":false,"index":false},{"name":"created","description":"Time of creation as UNIX time","type":"bigint","hidden":false,"required":false,"index":false},{"name":"size_bytes","description":"Size of image in bytes","type":"bigint","hidden":false,"required":false,"index":false},{"name":"tags","description":"Comma-separated list of repository tags","type":"text","hidden":false,"required":false,"index":false}]},{"name":"docker_info","description":"Docker system information.","platforms":["darwin","linux"],"columns":[{"name":"id","description":"Docker system ID","type":"text","hidden":false,"required":false,"index":false},{"name":"containers","description":"Total number of containers","type":"integer","hidden":false,"required":false,"index":false},{"name":"containers_running","description":"Number of containers currently running","type":"integer","hidden":false,"required":false,"index":false},{"name":"containers_paused","description":"Number of containers in paused state","type":"integer","hidden":false,"required":false,"index":false},{"name":"containers_stopped","description":"Number of containers in stopped state","type":"integer","hidden":false,"required":false,"index":false},{"name":"images","description":"Number of images","type":"integer","hidden":false,"required":false,"index":false},{"name":"storage_driver","description":"Storage driver","type":"text","hidden":false,"required":false,"index":false},{"name":"memory_limit","description":"1 if memory limit support is enabled. 0 otherwise","type":"integer","hidden":false,"required":false,"index":false},{"name":"swap_limit","description":"1 if swap limit support is enabled. 0 otherwise","type":"integer","hidden":false,"required":false,"index":false},{"name":"kernel_memory","description":"1 if kernel memory limit support is enabled. 0 otherwise","type":"integer","hidden":false,"required":false,"index":false},{"name":"cpu_cfs_period","description":"1 if CPU Completely Fair Scheduler (CFS) period support is enabled. 0 otherwise","type":"integer","hidden":false,"required":false,"index":false},{"name":"cpu_cfs_quota","description":"1 if CPU Completely Fair Scheduler (CFS) quota support is enabled. 0 otherwise","type":"integer","hidden":false,"required":false,"index":false},{"name":"cpu_shares","description":"1 if CPU share weighting support is enabled. 0 otherwise","type":"integer","hidden":false,"required":false,"index":false},{"name":"cpu_set","description":"1 if CPU set selection support is enabled. 0 otherwise","type":"integer","hidden":false,"required":false,"index":false},{"name":"ipv4_forwarding","description":"1 if IPv4 forwarding is enabled. 0 otherwise","type":"integer","hidden":false,"required":false,"index":false},{"name":"bridge_nf_iptables","description":"1 if bridge netfilter iptables is enabled. 0 otherwise","type":"integer","hidden":false,"required":false,"index":false},{"name":"bridge_nf_ip6tables","description":"1 if bridge netfilter ip6tables is enabled. 0 otherwise","type":"integer","hidden":false,"required":false,"index":false},{"name":"oom_kill_disable","description":"1 if Out-of-memory kill is disabled. 0 otherwise","type":"integer","hidden":false,"required":false,"index":false},{"name":"logging_driver","description":"Logging driver","type":"text","hidden":false,"required":false,"index":false},{"name":"cgroup_driver","description":"Control groups driver","type":"text","hidden":false,"required":false,"index":false},{"name":"kernel_version","description":"Kernel version","type":"text","hidden":false,"required":false,"index":false},{"name":"os","description":"Operating system","type":"text","hidden":false,"required":false,"index":false},{"name":"os_type","description":"Operating system type","type":"text","hidden":false,"required":false,"index":false},{"name":"architecture","description":"Hardware architecture","type":"text","hidden":false,"required":false,"index":false},{"name":"cpus","description":"Number of CPUs","type":"integer","hidden":false,"required":false,"index":false},{"name":"memory","description":"Total memory","type":"bigint","hidden":false,"required":false,"index":false},{"name":"http_proxy","description":"HTTP proxy","type":"text","hidden":false,"required":false,"index":false},{"name":"https_proxy","description":"HTTPS proxy","type":"text","hidden":false,"required":false,"index":false},{"name":"no_proxy","description":"Comma-separated list of domain extensions proxy should not be used for","type":"text","hidden":false,"required":false,"index":false},{"name":"name","description":"Name of the docker host","type":"text","hidden":false,"required":false,"index":false},{"name":"server_version","description":"Server version","type":"text","hidden":false,"required":false,"index":false},{"name":"root_dir","description":"Docker root directory","type":"text","hidden":false,"required":false,"index":false}]},{"name":"docker_network_labels","description":"Docker network labels.","platforms":["darwin","linux"],"columns":[{"name":"id","description":"Network ID","type":"text","hidden":false,"required":false,"index":false},{"name":"key","description":"Label key","type":"text","hidden":false,"required":false,"index":false},{"name":"value","description":"Optional label value","type":"text","hidden":false,"required":false,"index":false}]},{"name":"docker_networks","description":"Docker networks information.","platforms":["darwin","linux"],"columns":[{"name":"id","description":"Network ID","type":"text","hidden":false,"required":false,"index":false},{"name":"name","description":"Network name","type":"text","hidden":false,"required":false,"index":false},{"name":"driver","description":"Network driver","type":"text","hidden":false,"required":false,"index":false},{"name":"created","description":"Time of creation as UNIX time","type":"bigint","hidden":false,"required":false,"index":false},{"name":"enable_ipv6","description":"1 if IPv6 is enabled on this network. 0 otherwise","type":"integer","hidden":false,"required":false,"index":false},{"name":"subnet","description":"Network subnet","type":"text","hidden":false,"required":false,"index":false},{"name":"gateway","description":"Network gateway","type":"text","hidden":false,"required":false,"index":false}]},{"name":"docker_version","description":"Docker version information.","platforms":["darwin","linux"],"columns":[{"name":"version","description":"Docker version","type":"text","hidden":false,"required":false,"index":false},{"name":"api_version","description":"API version","type":"text","hidden":false,"required":false,"index":false},{"name":"min_api_version","description":"Minimum API version supported","type":"text","hidden":false,"required":false,"index":false},{"name":"git_commit","description":"Docker build git commit","type":"text","hidden":false,"required":false,"index":false},{"name":"go_version","description":"Go version","type":"text","hidden":false,"required":false,"index":false},{"name":"os","description":"Operating system","type":"text","hidden":false,"required":false,"index":false},{"name":"arch","description":"Hardware architecture","type":"text","hidden":false,"required":false,"index":false},{"name":"kernel_version","description":"Kernel version","type":"text","hidden":false,"required":false,"index":false},{"name":"build_time","description":"Build time","type":"text","hidden":false,"required":false,"index":false}]},{"name":"docker_volume_labels","description":"Docker volume labels.","platforms":["darwin","linux"],"columns":[{"name":"name","description":"Volume name","type":"text","hidden":false,"required":false,"index":false},{"name":"key","description":"Label key","type":"text","hidden":false,"required":false,"index":false},{"name":"value","description":"Optional label value","type":"text","hidden":false,"required":false,"index":false}]},{"name":"docker_volumes","description":"Docker volumes information.","platforms":["darwin","linux"],"columns":[{"name":"name","description":"Volume name","type":"text","hidden":false,"required":false,"index":false},{"name":"driver","description":"Volume driver","type":"text","hidden":false,"required":false,"index":false},{"name":"mount_point","description":"Mount point","type":"text","hidden":false,"required":false,"index":false},{"name":"type","description":"Volume type","type":"text","hidden":false,"required":false,"index":false}]},{"name":"drivers","description":"Details for in-use Windows device drivers. This does not display installed but unused drivers.","platforms":["windows"],"columns":[{"name":"device_id","description":"Device ID","type":"text","hidden":false,"required":false,"index":false},{"name":"device_name","description":"Device name","type":"text","hidden":false,"required":false,"index":false},{"name":"image","description":"Path to driver image file","type":"text","hidden":false,"required":false,"index":false},{"name":"description","description":"Driver description","type":"text","hidden":false,"required":false,"index":false},{"name":"service","description":"Driver service name, if one exists","type":"text","hidden":false,"required":false,"index":false},{"name":"service_key","description":"Driver service registry key","type":"text","hidden":false,"required":false,"index":false},{"name":"version","description":"Driver version","type":"text","hidden":false,"required":false,"index":false},{"name":"inf","description":"Associated inf file","type":"text","hidden":false,"required":false,"index":false},{"name":"class","description":"Device/driver class name","type":"text","hidden":false,"required":false,"index":false},{"name":"provider","description":"Driver provider","type":"text","hidden":false,"required":false,"index":false},{"name":"manufacturer","description":"Device manufacturer","type":"text","hidden":false,"required":false,"index":false},{"name":"driver_key","description":"Driver key","type":"text","hidden":false,"required":false,"index":false},{"name":"date","description":"Driver date","type":"bigint","hidden":false,"required":false,"index":false},{"name":"signed","description":"Whether the driver is signed or not","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"ec2_instance_metadata","description":"EC2 instance metadata.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"instance_id","description":"EC2 instance ID","type":"text","hidden":false,"required":false,"index":false},{"name":"instance_type","description":"EC2 instance type","type":"text","hidden":false,"required":false,"index":false},{"name":"architecture","description":"Hardware architecture of this EC2 instance","type":"text","hidden":false,"required":false,"index":false},{"name":"region","description":"AWS region in which this instance launched","type":"text","hidden":false,"required":false,"index":false},{"name":"availability_zone","description":"Availability zone in which this instance launched","type":"text","hidden":false,"required":false,"index":false},{"name":"local_hostname","description":"Private IPv4 DNS hostname of the first interface of this instance","type":"text","hidden":false,"required":false,"index":false},{"name":"local_ipv4","description":"Private IPv4 address of the first interface of this instance","type":"text","hidden":false,"required":false,"index":false},{"name":"mac","description":"MAC address for the first network interface of this EC2 instance","type":"text","hidden":false,"required":false,"index":false},{"name":"security_groups","description":"Comma separated list of security group names","type":"text","hidden":false,"required":false,"index":false},{"name":"iam_arn","description":"If there is an IAM role associated with the instance, contains instance profile ARN","type":"text","hidden":false,"required":false,"index":false},{"name":"ami_id","description":"AMI ID used to launch this EC2 instance","type":"text","hidden":false,"required":false,"index":false},{"name":"reservation_id","description":"ID of the reservation","type":"text","hidden":false,"required":false,"index":false},{"name":"account_id","description":"AWS account ID which owns this EC2 instance","type":"text","hidden":false,"required":false,"index":false},{"name":"ssh_public_key","description":"SSH public key. Only available if supplied at instance launch time","type":"text","hidden":false,"required":false,"index":false}]},{"name":"ec2_instance_tags","description":"EC2 instance tag key value pairs.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"instance_id","description":"EC2 instance ID","type":"text","hidden":false,"required":false,"index":false},{"name":"key","description":"Tag key","type":"text","hidden":false,"required":false,"index":false},{"name":"value","description":"Tag value","type":"text","hidden":false,"required":false,"index":false}]},{"name":"es_process_events","description":"Process execution events from EndpointSecurity.","platforms":["darwin"],"columns":[{"name":"version","description":"Version of EndpointSecurity event","type":"integer","hidden":false,"required":false,"index":false},{"name":"seq_num","description":"Per event sequence number","type":"bigint","hidden":false,"required":false,"index":false},{"name":"global_seq_num","description":"Global sequence number","type":"bigint","hidden":false,"required":false,"index":false},{"name":"pid","description":"Process (or thread) ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"path","description":"Path of executed file","type":"text","hidden":false,"required":false,"index":false},{"name":"parent","description":"Parent process ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"original_parent","description":"Original parent process ID in case of reparenting","type":"bigint","hidden":false,"required":false,"index":false},{"name":"cmdline","description":"Command line arguments (argv)","type":"text","hidden":false,"required":false,"index":false},{"name":"cmdline_count","description":"Number of command line arguments","type":"bigint","hidden":false,"required":false,"index":false},{"name":"env","description":"Environment variables delimited by spaces","type":"text","hidden":false,"required":false,"index":false},{"name":"env_count","description":"Number of environment variables","type":"bigint","hidden":false,"required":false,"index":false},{"name":"cwd","description":"The process current working directory","type":"text","hidden":false,"required":false,"index":false},{"name":"uid","description":"User ID of the process","type":"bigint","hidden":false,"required":false,"index":false},{"name":"euid","description":"Effective User ID of the process","type":"bigint","hidden":false,"required":false,"index":false},{"name":"gid","description":"Group ID of the process","type":"bigint","hidden":false,"required":false,"index":false},{"name":"egid","description":"Effective Group ID of the process","type":"bigint","hidden":false,"required":false,"index":false},{"name":"username","description":"Username","type":"text","hidden":false,"required":false,"index":false},{"name":"signing_id","description":"Signature identifier of the process","type":"text","hidden":false,"required":false,"index":false},{"name":"team_id","description":"Team identifier of thd process","type":"text","hidden":false,"required":false,"index":false},{"name":"cdhash","description":"Codesigning hash of the process","type":"text","hidden":false,"required":false,"index":false},{"name":"platform_binary","description":"Indicates if the binary is Apple signed binary (1) or not (0)","type":"integer","hidden":false,"required":false,"index":false},{"name":"exit_code","description":"Exit code of a process in case of an exit event","type":"integer","hidden":false,"required":false,"index":false},{"name":"child_pid","description":"Process ID of a child process in case of a fork event","type":"bigint","hidden":false,"required":false,"index":false},{"name":"time","description":"Time of execution in UNIX time","type":"bigint","hidden":false,"required":false,"index":false},{"name":"event_type","description":"Type of EndpointSecurity event","type":"text","hidden":false,"required":false,"index":false},{"name":"eid","description":"Event ID","type":"text","hidden":true,"required":false,"index":false}]},{"name":"es_process_file_events","description":"Process execution events from EndpointSecurity.","platforms":["darwin"],"columns":[{"name":"version","description":"Version of EndpointSecurity event","type":"integer","hidden":false,"required":false,"index":false},{"name":"seq_num","description":"Per event sequence number","type":"bigint","hidden":false,"required":false,"index":false},{"name":"global_seq_num","description":"Global sequence number","type":"bigint","hidden":false,"required":false,"index":false},{"name":"pid","description":"Process (or thread) ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"parent","description":"Parent process ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"path","description":"Path of executed file","type":"text","hidden":false,"required":false,"index":false},{"name":"filename","description":"The source or target filename for the event","type":"text","hidden":false,"required":false,"index":false},{"name":"dest_filename","description":"Destination filename for the event","type":"text","hidden":false,"required":false,"index":false},{"name":"event_type","description":"Type of EndpointSecurity event","type":"text","hidden":false,"required":false,"index":false},{"name":"time","description":"Time of execution in UNIX time","type":"bigint","hidden":false,"required":false,"index":false},{"name":"eid","description":"Event ID","type":"text","hidden":true,"required":false,"index":false}]},{"name":"etc_hosts","description":"Line-parsed /etc/hosts.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"address","description":"IP address mapping","type":"text","hidden":false,"required":false,"index":false},{"name":"hostnames","description":"Raw hosts mapping","type":"text","hidden":false,"required":false,"index":false},{"name":"pid_with_namespace","description":"Pids that contain a namespace","type":"integer","hidden":true,"required":false,"index":false}]},{"name":"etc_protocols","description":"Line-parsed /etc/protocols.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"name","description":"Protocol name","type":"text","hidden":false,"required":false,"index":false},{"name":"number","description":"Protocol number","type":"integer","hidden":false,"required":false,"index":false},{"name":"alias","description":"Protocol alias","type":"text","hidden":false,"required":false,"index":false},{"name":"comment","description":"Comment with protocol description","type":"text","hidden":false,"required":false,"index":false}]},{"name":"etc_services","description":"Line-parsed /etc/services.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"name","description":"Service name","type":"text","hidden":false,"required":false,"index":false},{"name":"port","description":"Service port number","type":"integer","hidden":false,"required":false,"index":false},{"name":"protocol","description":"Transport protocol (TCP/UDP)","type":"text","hidden":false,"required":false,"index":false},{"name":"aliases","description":"Optional space separated list of other names for a service","type":"text","hidden":false,"required":false,"index":false},{"name":"comment","description":"Optional comment for a service.","type":"text","hidden":false,"required":false,"index":false}]},{"name":"event_taps","description":"Returns information about installed event taps.","platforms":["darwin"],"columns":[{"name":"enabled","description":"Is the Event Tap enabled","type":"integer","hidden":false,"required":false,"index":false},{"name":"event_tap_id","description":"Unique ID for the Tap","type":"integer","hidden":false,"required":false,"index":false},{"name":"event_tapped","description":"The mask that identifies the set of events to be observed.","type":"text","hidden":false,"required":false,"index":false},{"name":"process_being_tapped","description":"The process ID of the target application","type":"integer","hidden":false,"required":false,"index":false},{"name":"tapping_process","description":"The process ID of the application that created the event tap.","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"extended_attributes","description":"Returns the extended attributes for files (similar to Windows ADS).","platforms":["darwin","linux"],"columns":[{"name":"path","description":"Absolute file path","type":"text","hidden":false,"required":true,"index":false},{"name":"directory","description":"Directory of file(s)","type":"text","hidden":false,"required":true,"index":false},{"name":"key","description":"Name of the value generated from the extended attribute","type":"text","hidden":false,"required":false,"index":false},{"name":"value","description":"The parsed information from the attribute","type":"text","hidden":false,"required":false,"index":false},{"name":"base64","description":"1 if the value is base64 encoded else 0","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"fan_speed_sensors","description":"Fan speeds.","platforms":["darwin"],"columns":[{"name":"fan","description":"Fan number","type":"text","hidden":false,"required":false,"index":false},{"name":"name","description":"Fan name","type":"text","hidden":false,"required":false,"index":false},{"name":"actual","description":"Actual speed","type":"integer","hidden":false,"required":false,"index":false},{"name":"min","description":"Minimum speed","type":"integer","hidden":false,"required":false,"index":false},{"name":"max","description":"Maximum speed","type":"integer","hidden":false,"required":false,"index":false},{"name":"target","description":"Target speed","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"fbsd_kmods","description":"Loaded FreeBSD kernel modules.","platforms":["freebsd"],"columns":[{"name":"name","description":"Module name","type":"text","hidden":false,"required":false,"index":false},{"name":"size","description":"Size of module content","type":"integer","hidden":false,"required":false,"index":false},{"name":"refs","description":"Module reverse dependencies","type":"integer","hidden":false,"required":false,"index":false},{"name":"address","description":"Kernel module address","type":"text","hidden":false,"required":false,"index":false}]},{"name":"file","description":"Interactive filesystem attributes and metadata.","platforms":["darwin","linux","freebsd","windows"],"columns":[{"name":"path","description":"Absolute file path","type":"text","hidden":false,"required":true,"index":false},{"name":"directory","description":"Directory of file(s)","type":"text","hidden":false,"required":true,"index":false},{"name":"filename","description":"Name portion of file path","type":"text","hidden":false,"required":false,"index":false},{"name":"inode","description":"Filesystem inode number","type":"bigint","hidden":false,"required":false,"index":false},{"name":"uid","description":"Owning user ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"gid","description":"Owning group ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"mode","description":"Permission bits","type":"text","hidden":false,"required":false,"index":false},{"name":"device","description":"Device ID (optional)","type":"bigint","hidden":false,"required":false,"index":false},{"name":"size","description":"Size of file in bytes","type":"bigint","hidden":false,"required":false,"index":false},{"name":"block_size","description":"Block size of filesystem","type":"integer","hidden":false,"required":false,"index":false},{"name":"atime","description":"Last access time","type":"bigint","hidden":false,"required":false,"index":false},{"name":"mtime","description":"Last modification time","type":"bigint","hidden":false,"required":false,"index":false},{"name":"ctime","description":"Last status change time","type":"bigint","hidden":false,"required":false,"index":false},{"name":"btime","description":"(B)irth or (cr)eate time","type":"bigint","hidden":false,"required":false,"index":false},{"name":"hard_links","description":"Number of hard links","type":"integer","hidden":false,"required":false,"index":false},{"name":"symlink","description":"1 if the path is a symlink, otherwise 0","type":"integer","hidden":false,"required":false,"index":false},{"name":"type","description":"File status","type":"text","hidden":false,"required":false,"index":false},{"name":"attributes","description":"File attrib string. See: https://ss64.com/nt/attrib.html","type":"text","hidden":true,"required":false,"index":false},{"name":"volume_serial","description":"Volume serial number","type":"text","hidden":true,"required":false,"index":false},{"name":"file_id","description":"file ID","type":"text","hidden":true,"required":false,"index":false},{"name":"file_version","description":"File version","type":"text","hidden":true,"required":false,"index":false},{"name":"product_version","description":"File product version","type":"text","hidden":true,"required":false,"index":false},{"name":"original_filename","description":"(Executable files only) Original filename","type":"text","hidden":true,"required":false,"index":false},{"name":"bsd_flags","description":"The BSD file flags (chflags). Possible values: NODUMP, UF_IMMUTABLE, UF_APPEND, OPAQUE, HIDDEN, ARCHIVED, SF_IMMUTABLE, SF_APPEND","type":"text","hidden":false,"required":false,"index":false},{"name":"pid_with_namespace","description":"Pids that contain a namespace","type":"integer","hidden":true,"required":false,"index":false},{"name":"mount_namespace_id","description":"Mount namespace id","type":"text","hidden":true,"required":false,"index":false}]},{"name":"file_events","description":"Track time/action changes to files specified in configuration data.","platforms":["darwin","linux"],"columns":[{"name":"target_path","description":"The path associated with the event","type":"text","hidden":false,"required":false,"index":false},{"name":"category","description":"The category of the file defined in the config","type":"text","hidden":false,"required":false,"index":false},{"name":"action","description":"Change action (UPDATE, REMOVE, etc)","type":"text","hidden":false,"required":false,"index":false},{"name":"transaction_id","description":"ID used during bulk update","type":"bigint","hidden":false,"required":false,"index":false},{"name":"inode","description":"Filesystem inode number","type":"bigint","hidden":false,"required":false,"index":false},{"name":"uid","description":"Owning user ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"gid","description":"Owning group ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"mode","description":"Permission bits","type":"text","hidden":false,"required":false,"index":false},{"name":"size","description":"Size of file in bytes","type":"bigint","hidden":false,"required":false,"index":false},{"name":"atime","description":"Last access time","type":"bigint","hidden":false,"required":false,"index":false},{"name":"mtime","description":"Last modification time","type":"bigint","hidden":false,"required":false,"index":false},{"name":"ctime","description":"Last status change time","type":"bigint","hidden":false,"required":false,"index":false},{"name":"md5","description":"The MD5 of the file after change","type":"text","hidden":false,"required":false,"index":false},{"name":"sha1","description":"The SHA1 of the file after change","type":"text","hidden":false,"required":false,"index":false},{"name":"sha256","description":"The SHA256 of the file after change","type":"text","hidden":false,"required":false,"index":false},{"name":"hashed","description":"1 if the file was hashed, 0 if not, -1 if hashing failed","type":"integer","hidden":false,"required":false,"index":false},{"name":"time","description":"Time of file event","type":"bigint","hidden":false,"required":false,"index":false},{"name":"eid","description":"Event ID","type":"text","hidden":true,"required":false,"index":false}]},{"name":"firefox_addons","description":"Firefox browser extensions, webapps, and addons.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"uid","description":"The local user that owns the addon","type":"bigint","hidden":false,"required":false,"index":false},{"name":"name","description":"Addon display name","type":"text","hidden":false,"required":false,"index":false},{"name":"identifier","description":"Addon identifier","type":"text","hidden":false,"required":false,"index":false},{"name":"creator","description":"Addon-supported creator string","type":"text","hidden":false,"required":false,"index":false},{"name":"type","description":"Extension, addon, webapp","type":"text","hidden":false,"required":false,"index":false},{"name":"version","description":"Addon-supplied version string","type":"text","hidden":false,"required":false,"index":false},{"name":"description","description":"Addon-supplied description string","type":"text","hidden":false,"required":false,"index":false},{"name":"source_url","description":"URL that installed the addon","type":"text","hidden":false,"required":false,"index":false},{"name":"visible","description":"1 If the addon is shown in browser else 0","type":"integer","hidden":false,"required":false,"index":false},{"name":"active","description":"1 If the addon is active else 0","type":"integer","hidden":false,"required":false,"index":false},{"name":"disabled","description":"1 If the addon is application-disabled else 0","type":"integer","hidden":false,"required":false,"index":false},{"name":"autoupdate","description":"1 If the addon applies background updates else 0","type":"integer","hidden":false,"required":false,"index":false},{"name":"native","description":"1 If the addon includes binary components else 0","type":"integer","hidden":false,"required":false,"index":false},{"name":"location","description":"Global, profile location","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"Path to plugin bundle","type":"text","hidden":false,"required":false,"index":false}]},{"name":"gatekeeper","description":"macOS Gatekeeper Details.","platforms":["darwin"],"columns":[{"name":"assessments_enabled","description":"1 If a Gatekeeper is enabled else 0","type":"integer","hidden":false,"required":false,"index":false},{"name":"dev_id_enabled","description":"1 If a Gatekeeper allows execution from identified developers else 0","type":"integer","hidden":false,"required":false,"index":false},{"name":"version","description":"Version of Gatekeeper's gke.bundle","type":"text","hidden":false,"required":false,"index":false},{"name":"opaque_version","description":"Version of Gatekeeper's gkopaque.bundle","type":"text","hidden":false,"required":false,"index":false}]},{"name":"gatekeeper_approved_apps","description":"Gatekeeper apps a user has allowed to run.","platforms":["darwin"],"columns":[{"name":"path","description":"Path of executable allowed to run","type":"text","hidden":false,"required":false,"index":false},{"name":"requirement","description":"Code signing requirement language","type":"text","hidden":false,"required":false,"index":false},{"name":"ctime","description":"Last change time","type":"double","hidden":false,"required":false,"index":false},{"name":"mtime","description":"Last modification time","type":"double","hidden":false,"required":false,"index":false}]},{"name":"groups","description":"Local system groups.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"gid","description":"Unsigned int64 group ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"gid_signed","description":"A signed int64 version of gid","type":"bigint","hidden":false,"required":false,"index":false},{"name":"groupname","description":"Canonical local group name","type":"text","hidden":false,"required":false,"index":false},{"name":"group_sid","description":"Unique group ID","type":"text","hidden":true,"required":false,"index":false},{"name":"comment","description":"Remarks or comments associated with the group","type":"text","hidden":true,"required":false,"index":false},{"name":"is_hidden","description":"IsHidden attribute set in OpenDirectory","type":"integer","hidden":false,"required":false,"index":false},{"name":"pid_with_namespace","description":"Pids that contain a namespace","type":"integer","hidden":true,"required":false,"index":false}]},{"name":"hardware_events","description":"Hardware (PCI/USB/HID) events from UDEV or IOKit.","platforms":["darwin","linux"],"columns":[{"name":"action","description":"Remove, insert, change properties, etc","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"Local device path assigned (optional)","type":"text","hidden":false,"required":false,"index":false},{"name":"type","description":"Type of hardware and hardware event","type":"text","hidden":false,"required":false,"index":false},{"name":"driver","description":"Driver claiming the device","type":"text","hidden":false,"required":false,"index":false},{"name":"vendor","description":"Hardware device vendor","type":"text","hidden":false,"required":false,"index":false},{"name":"vendor_id","description":"Hex encoded Hardware vendor identifier","type":"text","hidden":false,"required":false,"index":false},{"name":"model","description":"Hardware device model","type":"text","hidden":false,"required":false,"index":false},{"name":"model_id","description":"Hex encoded Hardware model identifier","type":"text","hidden":false,"required":false,"index":false},{"name":"serial","description":"Device serial (optional)","type":"text","hidden":false,"required":false,"index":false},{"name":"revision","description":"Device revision (optional)","type":"text","hidden":false,"required":false,"index":false},{"name":"time","description":"Time of hardware event","type":"bigint","hidden":false,"required":false,"index":false},{"name":"eid","description":"Event ID","type":"text","hidden":true,"required":false,"index":false}]},{"name":"hash","description":"Filesystem hash data.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"path","description":"Must provide a path or directory","type":"text","hidden":false,"required":true,"index":false},{"name":"directory","description":"Must provide a path or directory","type":"text","hidden":false,"required":true,"index":false},{"name":"md5","description":"MD5 hash of provided filesystem data","type":"text","hidden":false,"required":false,"index":false},{"name":"sha1","description":"SHA1 hash of provided filesystem data","type":"text","hidden":false,"required":false,"index":false},{"name":"sha256","description":"SHA256 hash of provided filesystem data","type":"text","hidden":false,"required":false,"index":false},{"name":"pid_with_namespace","description":"Pids that contain a namespace","type":"integer","hidden":true,"required":false,"index":false},{"name":"mount_namespace_id","description":"Mount namespace id","type":"text","hidden":true,"required":false,"index":false}]},{"name":"homebrew_packages","description":"The installed homebrew package database.","platforms":["darwin"],"columns":[{"name":"name","description":"Package name","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"Package install path","type":"text","hidden":false,"required":false,"index":false},{"name":"version","description":"Current 'linked' version","type":"text","hidden":false,"required":false,"index":false},{"name":"prefix","description":"Homebrew install prefix","type":"text","hidden":true,"required":false,"index":false}]},{"name":"hvci_status","description":"Retrieve HVCI info of the machine.","platforms":["windows"],"columns":[{"name":"version","description":"The version number of the Device Guard build.","type":"text","hidden":false,"required":false,"index":false},{"name":"instance_identifier","description":"The instance ID of Device Guard.","type":"text","hidden":false,"required":false,"index":false},{"name":"vbs_status","description":"The status of the virtualization based security settings. Returns UNKNOWN if an error is encountered.","type":"text","hidden":false,"required":false,"index":false},{"name":"code_integrity_policy_enforcement_status","description":"The status of the code integrity policy enforcement settings. Returns UNKNOWN if an error is encountered.","type":"text","hidden":false,"required":false,"index":false},{"name":"umci_policy_status","description":"The status of the User Mode Code Integrity security settings. Returns UNKNOWN if an error is encountered.","type":"text","hidden":false,"required":false,"index":false}]},{"name":"ibridge_info","description":"Information about the Apple iBridge hardware controller.","platforms":["darwin"],"columns":[{"name":"boot_uuid","description":"Boot UUID of the iBridge controller","type":"text","hidden":false,"required":false,"index":false},{"name":"coprocessor_version","description":"The manufacturer and chip version","type":"text","hidden":false,"required":false,"index":false},{"name":"firmware_version","description":"The build version of the firmware","type":"text","hidden":false,"required":false,"index":false},{"name":"unique_chip_id","description":"Unique id of the iBridge controller","type":"text","hidden":false,"required":false,"index":false}]},{"name":"ie_extensions","description":"Internet Explorer browser extensions.","platforms":["windows"],"columns":[{"name":"name","description":"Extension display name","type":"text","hidden":false,"required":false,"index":false},{"name":"registry_path","description":"Extension identifier","type":"text","hidden":false,"required":false,"index":false},{"name":"version","description":"Version of the executable","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"Path to executable","type":"text","hidden":false,"required":false,"index":false}]},{"name":"intel_me_info","description":"Intel ME/CSE Info.","platforms":["linux","windows"],"columns":[{"name":"version","description":"Intel ME version","type":"text","hidden":false,"required":false,"index":false}]},{"name":"interface_addresses","description":"Network interfaces and relevant metadata.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"interface","description":"Interface name","type":"text","hidden":false,"required":false,"index":false},{"name":"address","description":"Specific address for interface","type":"text","hidden":false,"required":false,"index":false},{"name":"mask","description":"Interface netmask","type":"text","hidden":false,"required":false,"index":false},{"name":"broadcast","description":"Broadcast address for the interface","type":"text","hidden":false,"required":false,"index":false},{"name":"point_to_point","description":"PtP address for the interface","type":"text","hidden":false,"required":false,"index":false},{"name":"type","description":"Type of address. One of dhcp, manual, auto, other, unknown","type":"text","hidden":false,"required":false,"index":false},{"name":"friendly_name","description":"The friendly display name of the interface.","type":"text","hidden":true,"required":false,"index":false}]},{"name":"interface_details","description":"Detailed information and stats of network interfaces.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"interface","description":"Interface name","type":"text","hidden":false,"required":false,"index":false},{"name":"mac","description":"MAC of interface (optional)","type":"text","hidden":false,"required":false,"index":false},{"name":"type","description":"Interface type (includes virtual)","type":"integer","hidden":false,"required":false,"index":false},{"name":"mtu","description":"Network MTU","type":"integer","hidden":false,"required":false,"index":false},{"name":"metric","description":"Metric based on the speed of the interface","type":"integer","hidden":false,"required":false,"index":false},{"name":"flags","description":"Flags (netdevice) for the device","type":"integer","hidden":false,"required":false,"index":false},{"name":"ipackets","description":"Input packets","type":"bigint","hidden":false,"required":false,"index":false},{"name":"opackets","description":"Output packets","type":"bigint","hidden":false,"required":false,"index":false},{"name":"ibytes","description":"Input bytes","type":"bigint","hidden":false,"required":false,"index":false},{"name":"obytes","description":"Output bytes","type":"bigint","hidden":false,"required":false,"index":false},{"name":"ierrors","description":"Input errors","type":"bigint","hidden":false,"required":false,"index":false},{"name":"oerrors","description":"Output errors","type":"bigint","hidden":false,"required":false,"index":false},{"name":"idrops","description":"Input drops","type":"bigint","hidden":false,"required":false,"index":false},{"name":"odrops","description":"Output drops","type":"bigint","hidden":false,"required":false,"index":false},{"name":"collisions","description":"Packet Collisions detected","type":"bigint","hidden":false,"required":false,"index":false},{"name":"last_change","description":"Time of last device modification (optional)","type":"bigint","hidden":false,"required":false,"index":false},{"name":"link_speed","description":"Interface speed in Mb/s","type":"bigint","hidden":false,"required":false,"index":false},{"name":"pci_slot","description":"PCI slot number","type":"text","hidden":true,"required":false,"index":false},{"name":"friendly_name","description":"The friendly display name of the interface.","type":"text","hidden":true,"required":false,"index":false},{"name":"description","description":"Short description of the object a one-line string.","type":"text","hidden":true,"required":false,"index":false},{"name":"manufacturer","description":"Name of the network adapter's manufacturer.","type":"text","hidden":true,"required":false,"index":false},{"name":"connection_id","description":"Name of the network connection as it appears in the Network Connections Control Panel program.","type":"text","hidden":true,"required":false,"index":false},{"name":"connection_status","description":"State of the network adapter connection to the network.","type":"text","hidden":true,"required":false,"index":false},{"name":"enabled","description":"Indicates whether the adapter is enabled or not.","type":"integer","hidden":true,"required":false,"index":false},{"name":"physical_adapter","description":"Indicates whether the adapter is a physical or a logical adapter.","type":"integer","hidden":true,"required":false,"index":false},{"name":"speed","description":"Estimate of the current bandwidth in bits per second.","type":"integer","hidden":true,"required":false,"index":false},{"name":"service","description":"The name of the service the network adapter uses.","type":"text","hidden":true,"required":false,"index":false},{"name":"dhcp_enabled","description":"If TRUE, the dynamic host configuration protocol (DHCP) server automatically assigns an IP address to the computer system when establishing a network connection.","type":"integer","hidden":true,"required":false,"index":false},{"name":"dhcp_lease_expires","description":"Expiration date and time for a leased IP address that was assigned to the computer by the dynamic host configuration protocol (DHCP) server.","type":"text","hidden":true,"required":false,"index":false},{"name":"dhcp_lease_obtained","description":"Date and time the lease was obtained for the IP address assigned to the computer by the dynamic host configuration protocol (DHCP) server.","type":"text","hidden":true,"required":false,"index":false},{"name":"dhcp_server","description":"IP address of the dynamic host configuration protocol (DHCP) server.","type":"text","hidden":true,"required":false,"index":false},{"name":"dns_domain","description":"Organization name followed by a period and an extension that indicates the type of organization, such as 'microsoft.com'.","type":"text","hidden":true,"required":false,"index":false},{"name":"dns_domain_suffix_search_order","description":"Array of DNS domain suffixes to be appended to the end of host names during name resolution.","type":"text","hidden":true,"required":false,"index":false},{"name":"dns_host_name","description":"Host name used to identify the local computer for authentication by some utilities.","type":"text","hidden":true,"required":false,"index":false},{"name":"dns_server_search_order","description":"Array of server IP addresses to be used in querying for DNS servers.","type":"text","hidden":true,"required":false,"index":false}]},{"name":"interface_ipv6","description":"IPv6 configuration and stats of network interfaces.","platforms":["darwin","linux"],"columns":[{"name":"interface","description":"Interface name","type":"text","hidden":false,"required":false,"index":false},{"name":"hop_limit","description":"Current Hop Limit","type":"integer","hidden":false,"required":false,"index":false},{"name":"forwarding_enabled","description":"Enable IP forwarding","type":"integer","hidden":false,"required":false,"index":false},{"name":"redirect_accept","description":"Accept ICMP redirect messages","type":"integer","hidden":false,"required":false,"index":false},{"name":"rtadv_accept","description":"Accept ICMP Router Advertisement","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"iokit_devicetree","description":"The IOKit registry matching the DeviceTree plane.","platforms":["darwin"],"columns":[{"name":"name","description":"Device node name","type":"text","hidden":false,"required":false,"index":false},{"name":"class","description":"Best matching device class (most-specific category)","type":"text","hidden":false,"required":false,"index":false},{"name":"id","description":"IOKit internal registry ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"parent","description":"Parent device registry ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"device_path","description":"Device tree path","type":"text","hidden":false,"required":false,"index":false},{"name":"service","description":"1 if the device conforms to IOService else 0","type":"integer","hidden":false,"required":false,"index":false},{"name":"busy_state","description":"1 if the device is in a busy state else 0","type":"integer","hidden":false,"required":false,"index":false},{"name":"retain_count","description":"The device reference count","type":"integer","hidden":false,"required":false,"index":false},{"name":"depth","description":"Device nested depth","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"iokit_registry","description":"The full IOKit registry without selecting a plane.","platforms":["darwin"],"columns":[{"name":"name","description":"Default name of the node","type":"text","hidden":false,"required":false,"index":false},{"name":"class","description":"Best matching device class (most-specific category)","type":"text","hidden":false,"required":false,"index":false},{"name":"id","description":"IOKit internal registry ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"parent","description":"Parent registry ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"busy_state","description":"1 if the node is in a busy state else 0","type":"integer","hidden":false,"required":false,"index":false},{"name":"retain_count","description":"The node reference count","type":"integer","hidden":false,"required":false,"index":false},{"name":"depth","description":"Node nested depth","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"iptables","description":"Linux IP packet filtering and NAT tool.","platforms":["linux"],"columns":[{"name":"filter_name","description":"Packet matching filter table name.","type":"text","hidden":false,"required":false,"index":false},{"name":"chain","description":"Size of module content.","type":"text","hidden":false,"required":false,"index":false},{"name":"policy","description":"Policy that applies for this rule.","type":"text","hidden":false,"required":false,"index":false},{"name":"target","description":"Target that applies for this rule.","type":"text","hidden":false,"required":false,"index":false},{"name":"protocol","description":"Protocol number identification.","type":"integer","hidden":false,"required":false,"index":false},{"name":"src_port","description":"Protocol source port(s).","type":"text","hidden":false,"required":false,"index":false},{"name":"dst_port","description":"Protocol destination port(s).","type":"text","hidden":false,"required":false,"index":false},{"name":"src_ip","description":"Source IP address.","type":"text","hidden":false,"required":false,"index":false},{"name":"src_mask","description":"Source IP address mask.","type":"text","hidden":false,"required":false,"index":false},{"name":"iniface","description":"Input interface for the rule.","type":"text","hidden":false,"required":false,"index":false},{"name":"iniface_mask","description":"Input interface mask for the rule.","type":"text","hidden":false,"required":false,"index":false},{"name":"dst_ip","description":"Destination IP address.","type":"text","hidden":false,"required":false,"index":false},{"name":"dst_mask","description":"Destination IP address mask.","type":"text","hidden":false,"required":false,"index":false},{"name":"outiface","description":"Output interface for the rule.","type":"text","hidden":false,"required":false,"index":false},{"name":"outiface_mask","description":"Output interface mask for the rule.","type":"text","hidden":false,"required":false,"index":false},{"name":"match","description":"Matching rule that applies.","type":"text","hidden":false,"required":false,"index":false},{"name":"packets","description":"Number of matching packets for this rule.","type":"integer","hidden":false,"required":false,"index":false},{"name":"bytes","description":"Number of matching bytes for this rule.","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"kernel_extensions","description":"macOS's kernel extensions, both loaded and within the load search path.","platforms":["darwin"],"columns":[{"name":"idx","description":"Extension load tag or index","type":"integer","hidden":false,"required":false,"index":false},{"name":"refs","description":"Reference count","type":"integer","hidden":false,"required":false,"index":false},{"name":"size","description":"Bytes of wired memory used by extension","type":"bigint","hidden":false,"required":false,"index":false},{"name":"name","description":"Extension label","type":"text","hidden":false,"required":false,"index":false},{"name":"version","description":"Extension version","type":"text","hidden":false,"required":false,"index":false},{"name":"linked_against","description":"Indexes of extensions this extension is linked against","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"Optional path to extension bundle","type":"text","hidden":false,"required":false,"index":false}]},{"name":"kernel_info","description":"Basic active kernel information.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"version","description":"Kernel version","type":"text","hidden":false,"required":false,"index":false},{"name":"arguments","description":"Kernel arguments","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"Kernel path","type":"text","hidden":false,"required":false,"index":false},{"name":"device","description":"Kernel device identifier","type":"text","hidden":false,"required":false,"index":false}]},{"name":"kernel_modules","description":"Linux kernel modules both loaded and within the load search path.","platforms":["linux"],"columns":[{"name":"name","description":"Module name","type":"text","hidden":false,"required":false,"index":false},{"name":"size","description":"Size of module content","type":"bigint","hidden":false,"required":false,"index":false},{"name":"used_by","description":"Module reverse dependencies","type":"text","hidden":false,"required":false,"index":false},{"name":"status","description":"Kernel module status","type":"text","hidden":false,"required":false,"index":false},{"name":"address","description":"Kernel module address","type":"text","hidden":false,"required":false,"index":false}]},{"name":"kernel_panics","description":"System kernel panic logs.","platforms":["darwin"],"columns":[{"name":"path","description":"Location of log file","type":"text","hidden":false,"required":false,"index":false},{"name":"time","description":"Formatted time of the event","type":"text","hidden":false,"required":false,"index":false},{"name":"registers","description":"A space delimited line of register:value pairs","type":"text","hidden":false,"required":false,"index":false},{"name":"frame_backtrace","description":"Backtrace of the crashed module","type":"text","hidden":false,"required":false,"index":false},{"name":"module_backtrace","description":"Modules appearing in the crashed module's backtrace","type":"text","hidden":false,"required":false,"index":false},{"name":"dependencies","description":"Module dependencies existing in crashed module's backtrace","type":"text","hidden":false,"required":false,"index":false},{"name":"name","description":"Process name corresponding to crashed thread","type":"text","hidden":false,"required":false,"index":false},{"name":"os_version","description":"Version of the operating system","type":"text","hidden":false,"required":false,"index":false},{"name":"kernel_version","description":"Version of the system kernel","type":"text","hidden":false,"required":false,"index":false},{"name":"system_model","description":"Physical system model, for example 'MacBookPro12,1 (Mac-E43C1C25D4880AD6)'","type":"text","hidden":false,"required":false,"index":false},{"name":"uptime","description":"System uptime at kernel panic in nanoseconds","type":"bigint","hidden":false,"required":false,"index":false},{"name":"last_loaded","description":"Last loaded module before panic","type":"text","hidden":false,"required":false,"index":false},{"name":"last_unloaded","description":"Last unloaded module before panic","type":"text","hidden":false,"required":false,"index":false}]},{"name":"keychain_acls","description":"Applications that have ACL entries in the keychain.","platforms":["darwin"],"columns":[{"name":"keychain_path","description":"The path of the keychain","type":"text","hidden":false,"required":false,"index":false},{"name":"authorizations","description":"A space delimited set of authorization attributes","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"The path of the authorized application","type":"text","hidden":false,"required":false,"index":false},{"name":"description","description":"The description included with the ACL entry","type":"text","hidden":false,"required":false,"index":false},{"name":"label","description":"An optional label tag that may be included with the keychain entry","type":"text","hidden":false,"required":false,"index":false}]},{"name":"keychain_items","description":"Generic details about keychain items.","platforms":["darwin"],"columns":[{"name":"label","description":"Generic item name","type":"text","hidden":false,"required":false,"index":false},{"name":"description","description":"Optional item description","type":"text","hidden":false,"required":false,"index":false},{"name":"comment","description":"Optional keychain comment","type":"text","hidden":false,"required":false,"index":false},{"name":"account","description":"Optional item account","type":"text","hidden":false,"required":false,"index":false},{"name":"created","description":"Data item was created","type":"text","hidden":false,"required":false,"index":false},{"name":"modified","description":"Date of last modification","type":"text","hidden":false,"required":false,"index":false},{"name":"type","description":"Keychain item type (class)","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"Path to keychain containing item","type":"text","hidden":false,"required":false,"index":false}]},{"name":"known_hosts","description":"A line-delimited known_hosts table.","platforms":["darwin","linux"],"columns":[{"name":"uid","description":"The local user that owns the known_hosts file","type":"bigint","hidden":false,"required":false,"index":false},{"name":"key","description":"parsed authorized keys line","type":"text","hidden":false,"required":false,"index":false},{"name":"key_file","description":"Path to known_hosts file","type":"text","hidden":false,"required":false,"index":false}]},{"name":"kva_speculative_info","description":"Display kernel virtual address and speculative execution information for the system.","platforms":["windows"],"columns":[{"name":"kva_shadow_enabled","description":"Kernel Virtual Address shadowing is enabled.","type":"integer","hidden":false,"required":false,"index":false},{"name":"kva_shadow_user_global","description":"User pages are marked as global.","type":"integer","hidden":false,"required":false,"index":false},{"name":"kva_shadow_pcid","description":"Kernel VA PCID flushing optimization is enabled.","type":"integer","hidden":false,"required":false,"index":false},{"name":"kva_shadow_inv_pcid","description":"Kernel VA INVPCID is enabled.","type":"integer","hidden":false,"required":false,"index":false},{"name":"bp_mitigations","description":"Branch Prediction mitigations are enabled.","type":"integer","hidden":false,"required":false,"index":false},{"name":"bp_system_pol_disabled","description":"Branch Predictions are disabled via system policy.","type":"integer","hidden":false,"required":false,"index":false},{"name":"bp_microcode_disabled","description":"Branch Predictions are disabled due to lack of microcode update.","type":"integer","hidden":false,"required":false,"index":false},{"name":"cpu_spec_ctrl_supported","description":"SPEC_CTRL MSR supported by CPU Microcode.","type":"integer","hidden":false,"required":false,"index":false},{"name":"ibrs_support_enabled","description":"Windows uses IBRS.","type":"integer","hidden":false,"required":false,"index":false},{"name":"stibp_support_enabled","description":"Windows uses STIBP.","type":"integer","hidden":false,"required":false,"index":false},{"name":"cpu_pred_cmd_supported","description":"PRED_CMD MSR supported by CPU Microcode.","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"last","description":"System logins and logouts.","platforms":["darwin","linux"],"columns":[{"name":"username","description":"Entry username","type":"text","hidden":false,"required":false,"index":false},{"name":"tty","description":"Entry terminal","type":"text","hidden":false,"required":false,"index":false},{"name":"pid","description":"Process (or thread) ID","type":"integer","hidden":false,"required":false,"index":false},{"name":"type","description":"Entry type, according to ut_type types (utmp.h)","type":"integer","hidden":false,"required":false,"index":false},{"name":"type_name","description":"Entry type name, according to ut_type types (utmp.h)","type":"text","hidden":false,"required":false,"index":false},{"name":"time","description":"Entry timestamp","type":"integer","hidden":false,"required":false,"index":false},{"name":"host","description":"Entry hostname","type":"text","hidden":false,"required":false,"index":false}]},{"name":"launchd","description":"LaunchAgents and LaunchDaemons from default search paths.","platforms":["darwin"],"columns":[{"name":"path","description":"Path to daemon or agent plist","type":"text","hidden":false,"required":false,"index":false},{"name":"name","description":"File name of plist (used by launchd)","type":"text","hidden":false,"required":false,"index":false},{"name":"label","description":"Daemon or agent service name","type":"text","hidden":false,"required":false,"index":false},{"name":"program","description":"Path to target program","type":"text","hidden":false,"required":false,"index":false},{"name":"run_at_load","description":"Should the program run on launch load","type":"text","hidden":false,"required":false,"index":false},{"name":"keep_alive","description":"Should the process be restarted if killed","type":"text","hidden":false,"required":false,"index":false},{"name":"on_demand","description":"Deprecated key, replaced by keep_alive","type":"text","hidden":false,"required":false,"index":false},{"name":"disabled","description":"Skip loading this daemon or agent on boot","type":"text","hidden":false,"required":false,"index":false},{"name":"username","description":"Run this daemon or agent as this username","type":"text","hidden":false,"required":false,"index":false},{"name":"groupname","description":"Run this daemon or agent as this group","type":"text","hidden":false,"required":false,"index":false},{"name":"stdout_path","description":"Pipe stdout to a target path","type":"text","hidden":false,"required":false,"index":false},{"name":"stderr_path","description":"Pipe stderr to a target path","type":"text","hidden":false,"required":false,"index":false},{"name":"start_interval","description":"Frequency to run in seconds","type":"text","hidden":false,"required":false,"index":false},{"name":"program_arguments","description":"Command line arguments passed to program","type":"text","hidden":false,"required":false,"index":false},{"name":"watch_paths","description":"Key that launches daemon or agent if path is modified","type":"text","hidden":false,"required":false,"index":false},{"name":"queue_directories","description":"Similar to watch_paths but only with non-empty directories","type":"text","hidden":false,"required":false,"index":false},{"name":"inetd_compatibility","description":"Run this daemon or agent as it was launched from inetd","type":"text","hidden":false,"required":false,"index":false},{"name":"start_on_mount","description":"Run daemon or agent every time a filesystem is mounted","type":"text","hidden":false,"required":false,"index":false},{"name":"root_directory","description":"Key used to specify a directory to chroot to before launch","type":"text","hidden":false,"required":false,"index":false},{"name":"working_directory","description":"Key used to specify a directory to chdir to before launch","type":"text","hidden":false,"required":false,"index":false},{"name":"process_type","description":"Key describes the intended purpose of the job","type":"text","hidden":false,"required":false,"index":false}]},{"name":"launchd_overrides","description":"Override keys, per user, for LaunchDaemons and Agents.","platforms":["darwin"],"columns":[{"name":"label","description":"Daemon or agent service name","type":"text","hidden":false,"required":false,"index":false},{"name":"key","description":"Name of the override key","type":"text","hidden":false,"required":false,"index":false},{"name":"value","description":"Overridden value","type":"text","hidden":false,"required":false,"index":false},{"name":"uid","description":"User ID applied to the override, 0 applies to all","type":"bigint","hidden":false,"required":false,"index":false},{"name":"path","description":"Path to daemon or agent plist","type":"text","hidden":false,"required":false,"index":false}]},{"name":"listening_ports","description":"Processes with listening (bound) network sockets/ports.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"pid","description":"Process (or thread) ID","type":"integer","hidden":false,"required":false,"index":false},{"name":"port","description":"Transport layer port","type":"integer","hidden":false,"required":false,"index":false},{"name":"protocol","description":"Transport protocol (TCP/UDP)","type":"integer","hidden":false,"required":false,"index":false},{"name":"family","description":"Network protocol (IPv4, IPv6)","type":"integer","hidden":false,"required":false,"index":false},{"name":"address","description":"Specific address for bind","type":"text","hidden":false,"required":false,"index":false},{"name":"fd","description":"Socket file descriptor number","type":"bigint","hidden":false,"required":false,"index":false},{"name":"socket","description":"Socket handle or inode number","type":"bigint","hidden":false,"required":false,"index":false},{"name":"path","description":"Path for UNIX domain sockets","type":"text","hidden":false,"required":false,"index":false},{"name":"net_namespace","description":"The inode number of the network namespace","type":"text","hidden":true,"required":false,"index":false}]},{"name":"load_average","description":"Displays information about the system wide load averages.","platforms":["darwin","linux"],"columns":[{"name":"period","description":"Period over which the average is calculated.","type":"text","hidden":false,"required":false,"index":false},{"name":"average","description":"Load average over the specified period.","type":"text","hidden":false,"required":false,"index":false}]},{"name":"location_services","description":"Reports the status of the Location Services feature of the OS.","platforms":["darwin"],"columns":[{"name":"enabled","description":"1 if Location Services are enabled, else 0","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"logged_in_users","description":"Users with an active shell on the system.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"type","description":"Login type","type":"text","hidden":false,"required":false,"index":false},{"name":"user","description":"User login name","type":"text","hidden":false,"required":false,"index":false},{"name":"tty","description":"Device name","type":"text","hidden":false,"required":false,"index":false},{"name":"host","description":"Remote hostname","type":"text","hidden":false,"required":false,"index":false},{"name":"time","description":"Time entry was made","type":"bigint","hidden":false,"required":false,"index":false},{"name":"pid","description":"Process (or thread) ID","type":"integer","hidden":false,"required":false,"index":false},{"name":"sid","description":"The user's unique security identifier","type":"text","hidden":true,"required":false,"index":false},{"name":"registry_hive","description":"HKEY_USERS registry hive","type":"text","hidden":true,"required":false,"index":false}]},{"name":"logical_drives","description":"Details for logical drives on the system. A logical drive generally represents a single partition.","platforms":["windows"],"columns":[{"name":"device_id","description":"The drive id, usually the drive name, e.g., 'C:'.","type":"text","hidden":false,"required":false,"index":false},{"name":"type","description":"Deprecated (always 'Unknown').","type":"text","hidden":false,"required":false,"index":false},{"name":"description","description":"The canonical description of the drive, e.g. 'Logical Fixed Disk', 'CD-ROM Disk'.","type":"text","hidden":false,"required":false,"index":false},{"name":"free_space","description":"The amount of free space, in bytes, of the drive (-1 on failure).","type":"bigint","hidden":false,"required":false,"index":false},{"name":"size","description":"The total amount of space, in bytes, of the drive (-1 on failure).","type":"bigint","hidden":false,"required":false,"index":false},{"name":"file_system","description":"The file system of the drive.","type":"text","hidden":false,"required":false,"index":false},{"name":"boot_partition","description":"True if Windows booted from this drive.","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"logon_sessions","description":"Windows Logon Session.","platforms":["windows"],"columns":[{"name":"logon_id","description":"A locally unique identifier (LUID) that identifies a logon session.","type":"integer","hidden":false,"required":false,"index":false},{"name":"user","description":"The account name of the security principal that owns the logon session.","type":"text","hidden":false,"required":false,"index":false},{"name":"logon_domain","description":"The name of the domain used to authenticate the owner of the logon session.","type":"text","hidden":false,"required":false,"index":false},{"name":"authentication_package","description":"The authentication package used to authenticate the owner of the logon session.","type":"text","hidden":false,"required":false,"index":false},{"name":"logon_type","description":"The logon method.","type":"text","hidden":false,"required":false,"index":false},{"name":"session_id","description":"The Terminal Services session identifier.","type":"integer","hidden":false,"required":false,"index":false},{"name":"logon_sid","description":"The user's security identifier (SID).","type":"text","hidden":false,"required":false,"index":false},{"name":"logon_time","description":"The time the session owner logged on.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"logon_server","description":"The name of the server used to authenticate the owner of the logon session.","type":"text","hidden":false,"required":false,"index":false},{"name":"dns_domain_name","description":"The DNS name for the owner of the logon session.","type":"text","hidden":false,"required":false,"index":false},{"name":"upn","description":"The user principal name (UPN) for the owner of the logon session.","type":"text","hidden":false,"required":false,"index":false},{"name":"logon_script","description":"The script used for logging on.","type":"text","hidden":false,"required":false,"index":false},{"name":"profile_path","description":"The home directory for the logon session.","type":"text","hidden":false,"required":false,"index":false},{"name":"home_directory","description":"The home directory for the logon session.","type":"text","hidden":false,"required":false,"index":false},{"name":"home_directory_drive","description":"The drive location of the home directory of the logon session.","type":"text","hidden":false,"required":false,"index":false}]},{"name":"lxd_certificates","description":"LXD certificates information.","platforms":["linux"],"columns":[{"name":"name","description":"Name of the certificate","type":"text","hidden":false,"required":false,"index":false},{"name":"type","description":"Type of the certificate","type":"text","hidden":false,"required":false,"index":false},{"name":"fingerprint","description":"SHA256 hash of the certificate","type":"text","hidden":false,"required":false,"index":false},{"name":"certificate","description":"Certificate content","type":"text","hidden":false,"required":false,"index":false}]},{"name":"lxd_cluster","description":"LXD cluster information.","platforms":["linux"],"columns":[{"name":"server_name","description":"Name of the LXD server node","type":"text","hidden":false,"required":false,"index":false},{"name":"enabled","description":"Whether clustering enabled (1) or not (0) on this node","type":"integer","hidden":false,"required":false,"index":false},{"name":"member_config_entity","description":"Type of configuration parameter for this node","type":"text","hidden":false,"required":false,"index":false},{"name":"member_config_name","description":"Name of configuration parameter","type":"text","hidden":false,"required":false,"index":false},{"name":"member_config_key","description":"Config key","type":"text","hidden":false,"required":false,"index":false},{"name":"member_config_value","description":"Config value","type":"text","hidden":false,"required":false,"index":false},{"name":"member_config_description","description":"Config description","type":"text","hidden":false,"required":false,"index":false}]},{"name":"lxd_cluster_members","description":"LXD cluster members information.","platforms":["linux"],"columns":[{"name":"server_name","description":"Name of the LXD server node","type":"text","hidden":false,"required":false,"index":false},{"name":"url","description":"URL of the node","type":"text","hidden":false,"required":false,"index":false},{"name":"database","description":"Whether the server is a database node (1) or not (0)","type":"integer","hidden":false,"required":false,"index":false},{"name":"status","description":"Status of the node (Online/Offline)","type":"text","hidden":false,"required":false,"index":false},{"name":"message","description":"Message from the node (Online/Offline)","type":"text","hidden":false,"required":false,"index":false}]},{"name":"lxd_images","description":"LXD images information.","platforms":["linux"],"columns":[{"name":"id","description":"Image ID","type":"text","hidden":false,"required":false,"index":false},{"name":"architecture","description":"Target architecture for the image","type":"text","hidden":false,"required":false,"index":false},{"name":"os","description":"OS on which image is based","type":"text","hidden":false,"required":false,"index":false},{"name":"release","description":"OS release version on which the image is based","type":"text","hidden":false,"required":false,"index":false},{"name":"description","description":"Image description","type":"text","hidden":false,"required":false,"index":false},{"name":"aliases","description":"Comma-separated list of image aliases","type":"text","hidden":false,"required":false,"index":false},{"name":"filename","description":"Filename of the image file","type":"text","hidden":false,"required":false,"index":false},{"name":"size","description":"Size of image in bytes","type":"bigint","hidden":false,"required":false,"index":false},{"name":"auto_update","description":"Whether the image auto-updates (1) or not (0)","type":"integer","hidden":false,"required":false,"index":false},{"name":"cached","description":"Whether image is cached (1) or not (0)","type":"integer","hidden":false,"required":false,"index":false},{"name":"public","description":"Whether image is public (1) or not (0)","type":"integer","hidden":false,"required":false,"index":false},{"name":"created_at","description":"ISO time of image creation","type":"text","hidden":false,"required":false,"index":false},{"name":"expires_at","description":"ISO time of image expiration","type":"text","hidden":false,"required":false,"index":false},{"name":"uploaded_at","description":"ISO time of image upload","type":"text","hidden":false,"required":false,"index":false},{"name":"last_used_at","description":"ISO time for the most recent use of this image in terms of container spawn","type":"text","hidden":false,"required":false,"index":false},{"name":"update_source_server","description":"Server for image update","type":"text","hidden":false,"required":false,"index":false},{"name":"update_source_protocol","description":"Protocol used for image information update and image import from source server","type":"text","hidden":false,"required":false,"index":false},{"name":"update_source_certificate","description":"Certificate for update source server","type":"text","hidden":false,"required":false,"index":false},{"name":"update_source_alias","description":"Alias of image at update source server","type":"text","hidden":false,"required":false,"index":false}]},{"name":"lxd_instance_config","description":"LXD instance configuration information.","platforms":["linux"],"columns":[{"name":"name","description":"Instance name","type":"text","hidden":false,"required":true,"index":false},{"name":"key","description":"Configuration parameter name","type":"text","hidden":false,"required":false,"index":false},{"name":"value","description":"Configuration parameter value","type":"text","hidden":false,"required":false,"index":false}]},{"name":"lxd_instance_devices","description":"LXD instance devices information.","platforms":["linux"],"columns":[{"name":"name","description":"Instance name","type":"text","hidden":false,"required":true,"index":false},{"name":"device","description":"Name of the device","type":"text","hidden":false,"required":false,"index":false},{"name":"device_type","description":"Device type","type":"text","hidden":false,"required":false,"index":false},{"name":"key","description":"Device info param name","type":"text","hidden":false,"required":false,"index":false},{"name":"value","description":"Device info param value","type":"text","hidden":false,"required":false,"index":false}]},{"name":"lxd_instances","description":"LXD instances information.","platforms":["linux"],"columns":[{"name":"name","description":"Instance name","type":"text","hidden":false,"required":false,"index":false},{"name":"status","description":"Instance state (running, stopped, etc.)","type":"text","hidden":false,"required":false,"index":false},{"name":"stateful","description":"Whether the instance is stateful(1) or not(0)","type":"integer","hidden":false,"required":false,"index":false},{"name":"ephemeral","description":"Whether the instance is ephemeral(1) or not(0)","type":"integer","hidden":false,"required":false,"index":false},{"name":"created_at","description":"ISO time of creation","type":"text","hidden":false,"required":false,"index":false},{"name":"base_image","description":"ID of image used to launch this instance","type":"text","hidden":false,"required":false,"index":false},{"name":"architecture","description":"Instance architecture","type":"text","hidden":false,"required":false,"index":false},{"name":"os","description":"The OS of this instance","type":"text","hidden":false,"required":false,"index":false},{"name":"description","description":"Instance description","type":"text","hidden":false,"required":false,"index":false},{"name":"pid","description":"Instance's process ID","type":"integer","hidden":false,"required":false,"index":false},{"name":"processes","description":"Number of processes running inside this instance","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"lxd_networks","description":"LXD network information.","platforms":["linux"],"columns":[{"name":"name","description":"Name of the network","type":"text","hidden":false,"required":false,"index":false},{"name":"type","description":"Type of network","type":"text","hidden":false,"required":false,"index":false},{"name":"managed","description":"1 if network created by LXD, 0 otherwise","type":"integer","hidden":false,"required":false,"index":false},{"name":"ipv4_address","description":"IPv4 address","type":"text","hidden":false,"required":false,"index":false},{"name":"ipv6_address","description":"IPv6 address","type":"text","hidden":false,"required":false,"index":false},{"name":"used_by","description":"URLs for containers using this network","type":"text","hidden":false,"required":false,"index":false},{"name":"bytes_received","description":"Number of bytes received on this network","type":"bigint","hidden":false,"required":false,"index":false},{"name":"bytes_sent","description":"Number of bytes sent on this network","type":"bigint","hidden":false,"required":false,"index":false},{"name":"packets_received","description":"Number of packets received on this network","type":"bigint","hidden":false,"required":false,"index":false},{"name":"packets_sent","description":"Number of packets sent on this network","type":"bigint","hidden":false,"required":false,"index":false},{"name":"hwaddr","description":"Hardware address for this network","type":"text","hidden":false,"required":false,"index":false},{"name":"state","description":"Network status","type":"text","hidden":false,"required":false,"index":false},{"name":"mtu","description":"MTU size","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"lxd_storage_pools","description":"LXD storage pool information.","platforms":["linux"],"columns":[{"name":"name","description":"Name of the storage pool","type":"text","hidden":false,"required":false,"index":false},{"name":"driver","description":"Storage driver","type":"text","hidden":false,"required":false,"index":false},{"name":"source","description":"Storage pool source","type":"text","hidden":false,"required":false,"index":false},{"name":"size","description":"Size of the storage pool","type":"text","hidden":false,"required":false,"index":false},{"name":"space_used","description":"Storage space used in bytes","type":"bigint","hidden":false,"required":false,"index":false},{"name":"space_total","description":"Total available storage space in bytes for this storage pool","type":"bigint","hidden":false,"required":false,"index":false},{"name":"inodes_used","description":"Number of inodes used","type":"bigint","hidden":false,"required":false,"index":false},{"name":"inodes_total","description":"Total number of inodes available in this storage pool","type":"bigint","hidden":false,"required":false,"index":false}]},{"name":"magic","description":"Magic number recognition library table.","platforms":["darwin","linux"],"columns":[{"name":"path","description":"Absolute path to target file","type":"text","hidden":false,"required":true,"index":false},{"name":"magic_db_files","description":"Colon(:) separated list of files where the magic db file can be found. By default one of the following is used: /usr/share/file/magic/magic, /usr/share/misc/magic or /usr/share/misc/magic.mgc","type":"text","hidden":false,"required":false,"index":false},{"name":"data","description":"Magic number data from libmagic","type":"text","hidden":false,"required":false,"index":false},{"name":"mime_type","description":"MIME type data from libmagic","type":"text","hidden":false,"required":false,"index":false},{"name":"mime_encoding","description":"MIME encoding data from libmagic","type":"text","hidden":false,"required":false,"index":false}]},{"name":"managed_policies","description":"The managed configuration policies from AD, MDM, MCX, etc.","platforms":["darwin"],"columns":[{"name":"domain","description":"System or manager-chosen domain key","type":"text","hidden":false,"required":false,"index":false},{"name":"uuid","description":"Optional UUID assigned to policy set","type":"text","hidden":false,"required":false,"index":false},{"name":"name","description":"Policy key name","type":"text","hidden":false,"required":false,"index":false},{"name":"value","description":"Policy value","type":"text","hidden":false,"required":false,"index":false},{"name":"username","description":"Policy applies only this user","type":"text","hidden":false,"required":false,"index":false},{"name":"manual","description":"1 if policy was loaded manually, otherwise 0","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"md_devices","description":"Software RAID array settings.","platforms":["linux"],"columns":[{"name":"device_name","description":"md device name","type":"text","hidden":false,"required":false,"index":false},{"name":"status","description":"Current state of the array","type":"text","hidden":false,"required":false,"index":false},{"name":"raid_level","description":"Current raid level of the array","type":"integer","hidden":false,"required":false,"index":false},{"name":"size","description":"size of the array in blocks","type":"bigint","hidden":false,"required":false,"index":false},{"name":"chunk_size","description":"chunk size in bytes","type":"bigint","hidden":false,"required":false,"index":false},{"name":"raid_disks","description":"Number of configured RAID disks in array","type":"integer","hidden":false,"required":false,"index":false},{"name":"nr_raid_disks","description":"Number of partitions or disk devices to comprise the array","type":"integer","hidden":false,"required":false,"index":false},{"name":"working_disks","description":"Number of working disks in array","type":"integer","hidden":false,"required":false,"index":false},{"name":"active_disks","description":"Number of active disks in array","type":"integer","hidden":false,"required":false,"index":false},{"name":"failed_disks","description":"Number of failed disks in array","type":"integer","hidden":false,"required":false,"index":false},{"name":"spare_disks","description":"Number of idle disks in array","type":"integer","hidden":false,"required":false,"index":false},{"name":"superblock_state","description":"State of the superblock","type":"text","hidden":false,"required":false,"index":false},{"name":"superblock_version","description":"Version of the superblock","type":"text","hidden":false,"required":false,"index":false},{"name":"superblock_update_time","description":"Unix timestamp of last update","type":"bigint","hidden":false,"required":false,"index":false},{"name":"bitmap_on_mem","description":"Pages allocated in in-memory bitmap, if enabled","type":"text","hidden":false,"required":false,"index":false},{"name":"bitmap_chunk_size","description":"Bitmap chunk size","type":"text","hidden":false,"required":false,"index":false},{"name":"bitmap_external_file","description":"External referenced bitmap file","type":"text","hidden":false,"required":false,"index":false},{"name":"recovery_progress","description":"Progress of the recovery activity","type":"text","hidden":false,"required":false,"index":false},{"name":"recovery_finish","description":"Estimated duration of recovery activity","type":"text","hidden":false,"required":false,"index":false},{"name":"recovery_speed","description":"Speed of recovery activity","type":"text","hidden":false,"required":false,"index":false},{"name":"resync_progress","description":"Progress of the resync activity","type":"text","hidden":false,"required":false,"index":false},{"name":"resync_finish","description":"Estimated duration of resync activity","type":"text","hidden":false,"required":false,"index":false},{"name":"resync_speed","description":"Speed of resync activity","type":"text","hidden":false,"required":false,"index":false},{"name":"reshape_progress","description":"Progress of the reshape activity","type":"text","hidden":false,"required":false,"index":false},{"name":"reshape_finish","description":"Estimated duration of reshape activity","type":"text","hidden":false,"required":false,"index":false},{"name":"reshape_speed","description":"Speed of reshape activity","type":"text","hidden":false,"required":false,"index":false},{"name":"check_array_progress","description":"Progress of the check array activity","type":"text","hidden":false,"required":false,"index":false},{"name":"check_array_finish","description":"Estimated duration of the check array activity","type":"text","hidden":false,"required":false,"index":false},{"name":"check_array_speed","description":"Speed of the check array activity","type":"text","hidden":false,"required":false,"index":false},{"name":"unused_devices","description":"Unused devices","type":"text","hidden":false,"required":false,"index":false},{"name":"other","description":"Other information associated with array from /proc/mdstat","type":"text","hidden":false,"required":false,"index":false}]},{"name":"md_drives","description":"Drive devices used for Software RAID.","platforms":["linux"],"columns":[{"name":"md_device_name","description":"md device name","type":"text","hidden":false,"required":false,"index":false},{"name":"drive_name","description":"Drive device name","type":"text","hidden":false,"required":false,"index":false},{"name":"slot","description":"Slot position of disk","type":"integer","hidden":false,"required":false,"index":false},{"name":"state","description":"State of the drive","type":"text","hidden":false,"required":false,"index":false}]},{"name":"md_personalities","description":"Software RAID setting supported by the kernel.","platforms":["linux"],"columns":[{"name":"name","description":"Name of personality supported by kernel","type":"text","hidden":false,"required":false,"index":false}]},{"name":"mdfind","description":"Run searches against the spotlight database.","platforms":["darwin"],"columns":[{"name":"path","description":"Path of the file returned from spotlight","type":"text","hidden":false,"required":false,"index":false},{"name":"query","description":"The query that was run to find the file","type":"text","hidden":false,"required":true,"index":false}]},{"name":"mdls","description":"Query file metadata in the Spotlight database.","platforms":["darwin"],"columns":[{"name":"path","description":"Path of the file","type":"text","hidden":false,"required":true,"index":false},{"name":"key","description":"Name of the metadata key","type":"text","hidden":false,"required":false,"index":false},{"name":"value","description":"Value stored in the metadata key","type":"text","hidden":false,"required":false,"index":false},{"name":"valuetype","description":"CoreFoundation type of data stored in value","type":"text","hidden":true,"required":false,"index":false}]},{"name":"memory_array_mapped_addresses","description":"Data associated for address mapping of physical memory arrays.","platforms":["darwin","linux"],"columns":[{"name":"handle","description":"Handle, or instance number, associated with the structure","type":"text","hidden":false,"required":false,"index":false},{"name":"memory_array_handle","description":"Handle of the memory array associated with this structure","type":"text","hidden":false,"required":false,"index":false},{"name":"starting_address","description":"Physical stating address, in kilobytes, of a range of memory mapped to physical memory array","type":"text","hidden":false,"required":false,"index":false},{"name":"ending_address","description":"Physical ending address of last kilobyte of a range of memory mapped to physical memory array","type":"text","hidden":false,"required":false,"index":false},{"name":"partition_width","description":"Number of memory devices that form a single row of memory for the address partition of this structure","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"memory_arrays","description":"Data associated with collection of memory devices that operate to form a memory address.","platforms":["darwin","linux"],"columns":[{"name":"handle","description":"Handle, or instance number, associated with the array","type":"text","hidden":false,"required":false,"index":false},{"name":"location","description":"Physical location of the memory array","type":"text","hidden":false,"required":false,"index":false},{"name":"use","description":"Function for which the array is used","type":"text","hidden":false,"required":false,"index":false},{"name":"memory_error_correction","description":"Primary hardware error correction or detection method supported","type":"text","hidden":false,"required":false,"index":false},{"name":"max_capacity","description":"Maximum capacity of array in gigabytes","type":"integer","hidden":false,"required":false,"index":false},{"name":"memory_error_info_handle","description":"Handle, or instance number, associated with any error that was detected for the array","type":"text","hidden":false,"required":false,"index":false},{"name":"number_memory_devices","description":"Number of memory devices on array","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"memory_device_mapped_addresses","description":"Data associated for address mapping of physical memory devices.","platforms":["darwin","linux"],"columns":[{"name":"handle","description":"Handle, or instance number, associated with the structure","type":"text","hidden":false,"required":false,"index":false},{"name":"memory_device_handle","description":"Handle of the memory device structure associated with this structure","type":"text","hidden":false,"required":false,"index":false},{"name":"memory_array_mapped_address_handle","description":"Handle of the memory array mapped address to which this device range is mapped to","type":"text","hidden":false,"required":false,"index":false},{"name":"starting_address","description":"Physical stating address, in kilobytes, of a range of memory mapped to physical memory array","type":"text","hidden":false,"required":false,"index":false},{"name":"ending_address","description":"Physical ending address of last kilobyte of a range of memory mapped to physical memory array","type":"text","hidden":false,"required":false,"index":false},{"name":"partition_row_position","description":"Identifies the position of the referenced memory device in a row of the address partition","type":"integer","hidden":false,"required":false,"index":false},{"name":"interleave_position","description":"The position of the device in a interleave, i.e. 0 indicates non-interleave, 1 indicates 1st interleave, 2 indicates 2nd interleave, etc.","type":"integer","hidden":false,"required":false,"index":false},{"name":"interleave_data_depth","description":"The max number of consecutive rows from memory device that are accessed in a single interleave transfer; 0 indicates device is non-interleave","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"memory_devices","description":"Physical memory device (type 17) information retrieved from SMBIOS.","platforms":["darwin","linux"],"columns":[{"name":"handle","description":"Handle, or instance number, associated with the structure in SMBIOS","type":"text","hidden":false,"required":false,"index":false},{"name":"array_handle","description":"The memory array that the device is attached to","type":"text","hidden":false,"required":false,"index":false},{"name":"form_factor","description":"Implementation form factor for this memory device","type":"text","hidden":false,"required":false,"index":false},{"name":"total_width","description":"Total width, in bits, of this memory device, including any check or error-correction bits","type":"integer","hidden":false,"required":false,"index":false},{"name":"data_width","description":"Data width, in bits, of this memory device","type":"integer","hidden":false,"required":false,"index":false},{"name":"size","description":"Size of memory device in Megabyte","type":"integer","hidden":false,"required":false,"index":false},{"name":"set","description":"Identifies if memory device is one of a set of devices. A value of 0 indicates no set affiliation.","type":"integer","hidden":false,"required":false,"index":false},{"name":"device_locator","description":"String number of the string that identifies the physically-labeled socket or board position where the memory device is located","type":"text","hidden":false,"required":false,"index":false},{"name":"bank_locator","description":"String number of the string that identifies the physically-labeled bank where the memory device is located","type":"text","hidden":false,"required":false,"index":false},{"name":"memory_type","description":"Type of memory used","type":"text","hidden":false,"required":false,"index":false},{"name":"memory_type_details","description":"Additional details for memory device","type":"text","hidden":false,"required":false,"index":false},{"name":"max_speed","description":"Max speed of memory device in megatransfers per second (MT/s)","type":"integer","hidden":false,"required":false,"index":false},{"name":"configured_clock_speed","description":"Configured speed of memory device in megatransfers per second (MT/s)","type":"integer","hidden":false,"required":false,"index":false},{"name":"manufacturer","description":"Manufacturer ID string","type":"text","hidden":false,"required":false,"index":false},{"name":"serial_number","description":"Serial number of memory device","type":"text","hidden":false,"required":false,"index":false},{"name":"asset_tag","description":"Manufacturer specific asset tag of memory device","type":"text","hidden":false,"required":false,"index":false},{"name":"part_number","description":"Manufacturer specific serial number of memory device","type":"text","hidden":false,"required":false,"index":false},{"name":"min_voltage","description":"Minimum operating voltage of device in millivolts","type":"integer","hidden":false,"required":false,"index":false},{"name":"max_voltage","description":"Maximum operating voltage of device in millivolts","type":"integer","hidden":false,"required":false,"index":false},{"name":"configured_voltage","description":"Configured operating voltage of device in millivolts","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"memory_error_info","description":"Data associated with errors of a physical memory array.","platforms":["darwin","linux"],"columns":[{"name":"handle","description":"Handle, or instance number, associated with the structure","type":"text","hidden":false,"required":false,"index":false},{"name":"error_type","description":"type of error associated with current error status for array or device","type":"text","hidden":false,"required":false,"index":false},{"name":"error_granularity","description":"Granularity to which the error can be resolved","type":"text","hidden":false,"required":false,"index":false},{"name":"error_operation","description":"Memory access operation that caused the error","type":"text","hidden":false,"required":false,"index":false},{"name":"vendor_syndrome","description":"Vendor specific ECC syndrome or CRC data associated with the erroneous access","type":"text","hidden":false,"required":false,"index":false},{"name":"memory_array_error_address","description":"32 bit physical address of the error based on the addressing of the bus to which the memory array is connected","type":"text","hidden":false,"required":false,"index":false},{"name":"device_error_address","description":"32 bit physical address of the error relative to the start of the failing memory address, in bytes","type":"text","hidden":false,"required":false,"index":false},{"name":"error_resolution","description":"Range, in bytes, within which this error can be determined, when an error address is given","type":"text","hidden":false,"required":false,"index":false}]},{"name":"memory_info","description":"Main memory information in bytes.","platforms":["linux"],"columns":[{"name":"memory_total","description":"Total amount of physical RAM, in bytes","type":"bigint","hidden":false,"required":false,"index":false},{"name":"memory_free","description":"The amount of physical RAM, in bytes, left unused by the system","type":"bigint","hidden":false,"required":false,"index":false},{"name":"memory_available","description":"The amount of physical RAM, in bytes, available for starting new applications, without swapping","type":"bigint","hidden":false,"required":false,"index":false},{"name":"buffers","description":"The amount of physical RAM, in bytes, used for file buffers","type":"bigint","hidden":false,"required":false,"index":false},{"name":"cached","description":"The amount of physical RAM, in bytes, used as cache memory","type":"bigint","hidden":false,"required":false,"index":false},{"name":"swap_cached","description":"The amount of swap, in bytes, used as cache memory","type":"bigint","hidden":false,"required":false,"index":false},{"name":"active","description":"The total amount of buffer or page cache memory, in bytes, that is in active use","type":"bigint","hidden":false,"required":false,"index":false},{"name":"inactive","description":"The total amount of buffer or page cache memory, in bytes, that are free and available","type":"bigint","hidden":false,"required":false,"index":false},{"name":"swap_total","description":"The total amount of swap available, in bytes","type":"bigint","hidden":false,"required":false,"index":false},{"name":"swap_free","description":"The total amount of swap free, in bytes","type":"bigint","hidden":false,"required":false,"index":false}]},{"name":"memory_map","description":"OS memory region map.","platforms":["linux"],"columns":[{"name":"name","description":"Region name","type":"text","hidden":false,"required":false,"index":false},{"name":"start","description":"Start address of memory region","type":"text","hidden":false,"required":false,"index":false},{"name":"end","description":"End address of memory region","type":"text","hidden":false,"required":false,"index":false}]},{"name":"mounts","description":"System mounted devices and filesystems (not process specific).","platforms":["darwin","linux"],"columns":[{"name":"device","description":"Mounted device","type":"text","hidden":false,"required":false,"index":false},{"name":"device_alias","description":"Mounted device alias","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"Mounted device path","type":"text","hidden":false,"required":false,"index":false},{"name":"type","description":"Mounted device type","type":"text","hidden":false,"required":false,"index":false},{"name":"blocks_size","description":"Block size in bytes","type":"bigint","hidden":false,"required":false,"index":false},{"name":"blocks","description":"Mounted device used blocks","type":"bigint","hidden":false,"required":false,"index":false},{"name":"blocks_free","description":"Mounted device free blocks","type":"bigint","hidden":false,"required":false,"index":false},{"name":"blocks_available","description":"Mounted device available blocks","type":"bigint","hidden":false,"required":false,"index":false},{"name":"inodes","description":"Mounted device used inodes","type":"bigint","hidden":false,"required":false,"index":false},{"name":"inodes_free","description":"Mounted device free inodes","type":"bigint","hidden":false,"required":false,"index":false},{"name":"flags","description":"Mounted device flags","type":"text","hidden":false,"required":false,"index":false}]},{"name":"msr","description":"Various pieces of data stored in the model specific register per processor. NOTE: the msr kernel module must be enabled, and osquery must be run as root.","platforms":["linux"],"columns":[{"name":"processor_number","description":"The processor number as reported in /proc/cpuinfo","type":"bigint","hidden":false,"required":false,"index":false},{"name":"turbo_disabled","description":"Whether the turbo feature is disabled.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"turbo_ratio_limit","description":"The turbo feature ratio limit.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"platform_info","description":"Platform information.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"perf_ctl","description":"Performance setting for the processor.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"perf_status","description":"Performance status for the processor.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"feature_control","description":"Bitfield controlling enabled features.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"rapl_power_limit","description":"Run Time Average Power Limiting power limit.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"rapl_energy_status","description":"Run Time Average Power Limiting energy status.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"rapl_power_units","description":"Run Time Average Power Limiting power units.","type":"bigint","hidden":false,"required":false,"index":false}]},{"name":"nfs_shares","description":"NFS shares exported by the host.","platforms":["darwin"],"columns":[{"name":"share","description":"Filesystem path to the share","type":"text","hidden":false,"required":false,"index":false},{"name":"options","description":"Options string set on the export share","type":"text","hidden":false,"required":false,"index":false},{"name":"readonly","description":"1 if the share is exported readonly else 0","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"npm_packages","description":"Node packages installed in a system.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"name","description":"Package display name","type":"text","hidden":false,"required":false,"index":false},{"name":"version","description":"Package-supplied version","type":"text","hidden":false,"required":false,"index":false},{"name":"description","description":"Package-supplied description","type":"text","hidden":false,"required":false,"index":false},{"name":"author","description":"Package-supplied author","type":"text","hidden":false,"required":false,"index":false},{"name":"license","description":"License under which package is launched","type":"text","hidden":false,"required":false,"index":false},{"name":"homepage","description":"Package supplied homepage","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"Path at which this module resides","type":"text","hidden":false,"required":false,"index":false},{"name":"directory","description":"Directory where node_modules are located","type":"text","hidden":false,"required":false,"index":false},{"name":"pid_with_namespace","description":"Pids that contain a namespace","type":"integer","hidden":true,"required":false,"index":false},{"name":"mount_namespace_id","description":"Mount namespace id","type":"text","hidden":true,"required":false,"index":false}]},{"name":"ntdomains","description":"Display basic NT domain information of a Windows machine.","platforms":["windows"],"columns":[{"name":"name","description":"The label by which the object is known.","type":"text","hidden":false,"required":false,"index":false},{"name":"client_site_name","description":"The name of the site where the domain controller is configured.","type":"text","hidden":false,"required":false,"index":false},{"name":"dc_site_name","description":"The name of the site where the domain controller is located.","type":"text","hidden":false,"required":false,"index":false},{"name":"dns_forest_name","description":"The name of the root of the DNS tree.","type":"text","hidden":false,"required":false,"index":false},{"name":"domain_controller_address","description":"The IP Address of the discovered domain controller..","type":"text","hidden":false,"required":false,"index":false},{"name":"domain_controller_name","description":"The name of the discovered domain controller.","type":"text","hidden":false,"required":false,"index":false},{"name":"domain_name","description":"The name of the domain.","type":"text","hidden":false,"required":false,"index":false},{"name":"status","description":"The current status of the domain object.","type":"text","hidden":false,"required":false,"index":false}]},{"name":"ntfs_acl_permissions","description":"Retrieve NTFS ACL permission information for files and directories.","platforms":["windows"],"columns":[{"name":"path","description":"Path to the file or directory.","type":"text","hidden":false,"required":true,"index":false},{"name":"type","description":"Type of access mode for the access control entry.","type":"text","hidden":false,"required":false,"index":false},{"name":"principal","description":"User or group to which the ACE applies.","type":"text","hidden":false,"required":false,"index":false},{"name":"access","description":"Specific permissions that indicate the rights described by the ACE.","type":"text","hidden":false,"required":false,"index":false},{"name":"inherited_from","description":"The inheritance policy of the ACE.","type":"text","hidden":false,"required":false,"index":false}]},{"name":"ntfs_journal_events","description":"Track time/action changes to files specified in configuration data.","platforms":["windows"],"columns":[{"name":"action","description":"Change action (Write, Delete, etc)","type":"text","hidden":false,"required":false,"index":false},{"name":"category","description":"The category that the event originated from","type":"text","hidden":false,"required":false,"index":false},{"name":"old_path","description":"Old path (renames only)","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"Path","type":"text","hidden":false,"required":false,"index":false},{"name":"record_timestamp","description":"Journal record timestamp","type":"text","hidden":false,"required":false,"index":false},{"name":"record_usn","description":"The update sequence number that identifies the journal record","type":"text","hidden":false,"required":false,"index":false},{"name":"node_ref_number","description":"The ordinal that associates a journal record with a filename","type":"text","hidden":false,"required":false,"index":false},{"name":"parent_ref_number","description":"The ordinal that associates a journal record with a filename's parent directory","type":"text","hidden":false,"required":false,"index":false},{"name":"drive_letter","description":"The drive letter identifying the source journal","type":"text","hidden":false,"required":false,"index":false},{"name":"file_attributes","description":"File attributes","type":"text","hidden":false,"required":false,"index":false},{"name":"partial","description":"Set to 1 if either path or old_path only contains the file or folder name","type":"bigint","hidden":false,"required":false,"index":false},{"name":"time","description":"Time of file event","type":"bigint","hidden":false,"required":false,"index":false},{"name":"eid","description":"Event ID","type":"text","hidden":true,"required":false,"index":false}]},{"name":"nvram","description":"Apple NVRAM variable listing.","platforms":["darwin"],"columns":[{"name":"name","description":"Variable name","type":"text","hidden":false,"required":false,"index":false},{"name":"type","description":"Data type (CFData, CFString, etc)","type":"text","hidden":false,"required":false,"index":false},{"name":"value","description":"Raw variable data","type":"text","hidden":false,"required":false,"index":false}]},{"name":"oem_strings","description":"OEM defined strings retrieved from SMBIOS.","platforms":["darwin","linux"],"columns":[{"name":"handle","description":"Handle, or instance number, associated with the Type 11 structure","type":"text","hidden":false,"required":false,"index":false},{"name":"number","description":"The string index of the structure","type":"integer","hidden":false,"required":false,"index":false},{"name":"value","description":"The value of the OEM string","type":"text","hidden":false,"required":false,"index":false}]},{"name":"office_mru","description":"View recently opened Office documents.","platforms":["windows"],"columns":[{"name":"application","description":"Associated Office application","type":"text","hidden":false,"required":false,"index":false},{"name":"version","description":"Office application version number","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"File path","type":"text","hidden":false,"required":false,"index":false},{"name":"last_opened_time","description":"Most recent opened time file was opened","type":"bigint","hidden":false,"required":false,"index":false},{"name":"sid","description":"User SID","type":"text","hidden":false,"required":false,"index":false}]},{"name":"os_version","description":"A single row containing the operating system name and version.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"name","description":"Distribution or product name","type":"text","hidden":false,"required":false,"index":false},{"name":"version","description":"Pretty, suitable for presentation, OS version","type":"text","hidden":false,"required":false,"index":false},{"name":"major","description":"Major release version","type":"integer","hidden":false,"required":false,"index":false},{"name":"minor","description":"Minor release version","type":"integer","hidden":false,"required":false,"index":false},{"name":"patch","description":"Optional patch release","type":"integer","hidden":false,"required":false,"index":false},{"name":"build","description":"Optional build-specific or variant string","type":"text","hidden":false,"required":false,"index":false},{"name":"platform","description":"OS Platform or ID","type":"text","hidden":false,"required":false,"index":false},{"name":"platform_like","description":"Closely related platforms","type":"text","hidden":false,"required":false,"index":false},{"name":"codename","description":"OS version codename","type":"text","hidden":false,"required":false,"index":false},{"name":"arch","description":"OS Architecture","type":"text","hidden":false,"required":false,"index":false},{"name":"install_date","description":"The install date of the OS.","type":"bigint","hidden":true,"required":false,"index":false},{"name":"pid_with_namespace","description":"Pids that contain a namespace","type":"integer","hidden":true,"required":false,"index":false},{"name":"mount_namespace_id","description":"Mount namespace id","type":"text","hidden":true,"required":false,"index":false}]},{"name":"osquery_events","description":"Information about the event publishers and subscribers.","platforms":["darwin","linux","freebsd","windows"],"columns":[{"name":"name","description":"Event publisher or subscriber name","type":"text","hidden":false,"required":false,"index":false},{"name":"publisher","description":"Name of the associated publisher","type":"text","hidden":false,"required":false,"index":false},{"name":"type","description":"Either publisher or subscriber","type":"text","hidden":false,"required":false,"index":false},{"name":"subscriptions","description":"Number of subscriptions the publisher received or subscriber used","type":"integer","hidden":false,"required":false,"index":false},{"name":"events","description":"Number of events emitted or received since osquery started","type":"integer","hidden":false,"required":false,"index":false},{"name":"refreshes","description":"Publisher only: number of runloop restarts","type":"integer","hidden":false,"required":false,"index":false},{"name":"active","description":"1 if the publisher or subscriber is active else 0","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"osquery_extensions","description":"List of active osquery extensions.","platforms":["darwin","linux","freebsd","windows"],"columns":[{"name":"uuid","description":"The transient ID assigned for communication","type":"bigint","hidden":false,"required":false,"index":false},{"name":"name","description":"Extension's name","type":"text","hidden":false,"required":false,"index":false},{"name":"version","description":"Extension's version","type":"text","hidden":false,"required":false,"index":false},{"name":"sdk_version","description":"osquery SDK version used to build the extension","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"Path of the extension's Thrift connection or library path","type":"text","hidden":false,"required":false,"index":false},{"name":"type","description":"SDK extension type: extension or module","type":"text","hidden":false,"required":false,"index":false}]},{"name":"osquery_flags","description":"Configurable flags that modify osquery's behavior.","platforms":["darwin","linux","freebsd","windows"],"columns":[{"name":"name","description":"Flag name","type":"text","hidden":false,"required":false,"index":false},{"name":"type","description":"Flag type","type":"text","hidden":false,"required":false,"index":false},{"name":"description","description":"Flag description","type":"text","hidden":false,"required":false,"index":false},{"name":"default_value","description":"Flag default value","type":"text","hidden":false,"required":false,"index":false},{"name":"value","description":"Flag value","type":"text","hidden":false,"required":false,"index":false},{"name":"shell_only","description":"Is the flag shell only?","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"osquery_info","description":"Top level information about the running version of osquery.","platforms":["darwin","linux","freebsd","windows"],"columns":[{"name":"pid","description":"Process (or thread/handle) ID","type":"integer","hidden":false,"required":false,"index":false},{"name":"uuid","description":"Unique ID provided by the system","type":"text","hidden":false,"required":false,"index":false},{"name":"instance_id","description":"Unique, long-lived ID per instance of osquery","type":"text","hidden":false,"required":false,"index":false},{"name":"version","description":"osquery toolkit version","type":"text","hidden":false,"required":false,"index":false},{"name":"config_hash","description":"Hash of the working configuration state","type":"text","hidden":false,"required":false,"index":false},{"name":"config_valid","description":"1 if the config was loaded and considered valid, else 0","type":"integer","hidden":false,"required":false,"index":false},{"name":"extensions","description":"osquery extensions status","type":"text","hidden":false,"required":false,"index":false},{"name":"build_platform","description":"osquery toolkit build platform","type":"text","hidden":false,"required":false,"index":false},{"name":"build_distro","description":"osquery toolkit platform distribution name (os version)","type":"text","hidden":false,"required":false,"index":false},{"name":"start_time","description":"UNIX time in seconds when the process started","type":"integer","hidden":false,"required":false,"index":false},{"name":"watcher","description":"Process (or thread/handle) ID of optional watcher process","type":"integer","hidden":false,"required":false,"index":false},{"name":"platform_mask","description":"The osquery platform bitmask","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"osquery_packs","description":"Information about the current query packs that are loaded in osquery.","platforms":["darwin","linux","freebsd","windows"],"columns":[{"name":"name","description":"The given name for this query pack","type":"text","hidden":false,"required":false,"index":false},{"name":"platform","description":"Platforms this query is supported on","type":"text","hidden":false,"required":false,"index":false},{"name":"version","description":"Minimum osquery version that this query will run on","type":"text","hidden":false,"required":false,"index":false},{"name":"shard","description":"Shard restriction limit, 1-100, 0 meaning no restriction","type":"integer","hidden":false,"required":false,"index":false},{"name":"discovery_cache_hits","description":"The number of times that the discovery query used cached values since the last time the config was reloaded","type":"integer","hidden":false,"required":false,"index":false},{"name":"discovery_executions","description":"The number of times that the discovery queries have been executed since the last time the config was reloaded","type":"integer","hidden":false,"required":false,"index":false},{"name":"active","description":"Whether this pack is active (the version, platform and discovery queries match) yes=1, no=0.","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"osquery_registry","description":"List the osquery registry plugins.","platforms":["darwin","linux","freebsd","windows"],"columns":[{"name":"registry","description":"Name of the osquery registry","type":"text","hidden":false,"required":false,"index":false},{"name":"name","description":"Name of the plugin item","type":"text","hidden":false,"required":false,"index":false},{"name":"owner_uuid","description":"Extension route UUID (0 for core)","type":"integer","hidden":false,"required":false,"index":false},{"name":"internal","description":"1 If the plugin is internal else 0","type":"integer","hidden":false,"required":false,"index":false},{"name":"active","description":"1 If this plugin is active else 0","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"osquery_schedule","description":"Information about the current queries that are scheduled in osquery.","platforms":["darwin","linux","freebsd","windows"],"columns":[{"name":"name","description":"The given name for this query","type":"text","hidden":false,"required":false,"index":false},{"name":"query","description":"The exact query to run","type":"text","hidden":false,"required":false,"index":false},{"name":"interval","description":"The interval in seconds to run this query, not an exact interval","type":"integer","hidden":false,"required":false,"index":false},{"name":"executions","description":"Number of times the query was executed","type":"bigint","hidden":false,"required":false,"index":false},{"name":"last_executed","description":"UNIX time stamp in seconds of the last completed execution","type":"bigint","hidden":false,"required":false,"index":false},{"name":"denylisted","description":"1 if the query is denylisted else 0","type":"integer","hidden":false,"required":false,"index":false},{"name":"output_size","description":"Cumulative total number of bytes generated by the resultant rows of the query","type":"bigint","hidden":false,"required":false,"index":false},{"name":"wall_time","description":"Total wall time in seconds spent executing (deprecated), hidden=True","type":"bigint","hidden":false,"required":false,"index":false},{"name":"wall_time_ms","description":"Total wall time in milliseconds spent executing","type":"bigint","hidden":false,"required":false,"index":false},{"name":"last_wall_time_ms","description":"Wall time in milliseconds of the latest execution","type":"bigint","hidden":false,"required":false,"index":false},{"name":"user_time","description":"Total user time in milliseconds spent executing","type":"bigint","hidden":false,"required":false,"index":false},{"name":"last_user_time","description":"User time in milliseconds of the latest execution","type":"bigint","hidden":false,"required":false,"index":false},{"name":"system_time","description":"Total system time in milliseconds spent executing","type":"bigint","hidden":false,"required":false,"index":false},{"name":"last_system_time","description":"System time in milliseconds of the latest execution","type":"bigint","hidden":false,"required":false,"index":false},{"name":"average_memory","description":"Average of the bytes of resident memory left allocated after collecting results","type":"bigint","hidden":false,"required":false,"index":false},{"name":"last_memory","description":"Resident memory in bytes left allocated after collecting results of the latest execution","type":"bigint","hidden":false,"required":false,"index":false}]},{"name":"package_bom","description":"macOS package bill of materials (BOM) file list.","platforms":["darwin"],"columns":[{"name":"filepath","description":"Package file or directory","type":"text","hidden":false,"required":false,"index":false},{"name":"uid","description":"Expected user of file or directory","type":"integer","hidden":false,"required":false,"index":false},{"name":"gid","description":"Expected group of file or directory","type":"integer","hidden":false,"required":false,"index":false},{"name":"mode","description":"Expected permissions","type":"integer","hidden":false,"required":false,"index":false},{"name":"size","description":"Expected file size","type":"bigint","hidden":false,"required":false,"index":false},{"name":"modified_time","description":"Timestamp the file was installed","type":"integer","hidden":false,"required":false,"index":false},{"name":"path","description":"Path of package bom","type":"text","hidden":false,"required":true,"index":false}]},{"name":"package_install_history","description":"macOS package install history.","platforms":["darwin"],"columns":[{"name":"package_id","description":"Label packageIdentifiers","type":"text","hidden":false,"required":false,"index":false},{"name":"time","description":"Label date as UNIX timestamp","type":"integer","hidden":false,"required":false,"index":false},{"name":"name","description":"Package display name","type":"text","hidden":false,"required":false,"index":false},{"name":"version","description":"Package display version","type":"text","hidden":false,"required":false,"index":false},{"name":"source","description":"Install source: usually the installer process name","type":"text","hidden":false,"required":false,"index":false},{"name":"content_type","description":"Package content_type (optional)","type":"text","hidden":false,"required":false,"index":false}]},{"name":"package_receipts","description":"macOS package receipt details.","platforms":["darwin"],"columns":[{"name":"package_id","description":"Package domain identifier","type":"text","hidden":false,"required":false,"index":false},{"name":"package_filename","description":"Filename of original .pkg file","type":"text","hidden":true,"required":false,"index":false},{"name":"version","description":"Installed package version","type":"text","hidden":false,"required":false,"index":false},{"name":"location","description":"Optional relative install path on volume","type":"text","hidden":false,"required":false,"index":false},{"name":"install_time","description":"Timestamp of install time","type":"double","hidden":false,"required":false,"index":false},{"name":"installer_name","description":"Name of installer process","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"Path of receipt plist","type":"text","hidden":false,"required":false,"index":false}]},{"name":"password_policy","description":"Password Policies for macOS.","platforms":["darwin"],"columns":[{"name":"uid","description":"User ID for the policy if available","type":"bigint","hidden":false,"required":false,"index":false},{"name":"policy_identifier","description":"Policy Identifier","type":"text","hidden":false,"required":false,"index":false},{"name":"policy_content","description":"Policy content","type":"text","hidden":false,"required":false,"index":false},{"name":"policy_description","description":"Policy description","type":"text","hidden":false,"required":false,"index":false}]},{"name":"patches","description":"Lists all the patches applied. Note: This does not include patches applied via MSI or downloaded from Windows Update (e.g. Service Packs).","platforms":["windows"],"columns":[{"name":"csname","description":"The name of the host the patch is installed on.","type":"text","hidden":false,"required":false,"index":false},{"name":"hotfix_id","description":"The KB ID of the patch.","type":"text","hidden":false,"required":false,"index":false},{"name":"caption","description":"Short description of the patch.","type":"text","hidden":false,"required":false,"index":false},{"name":"description","description":"Fuller description of the patch.","type":"text","hidden":false,"required":false,"index":false},{"name":"fix_comments","description":"Additional comments about the patch.","type":"text","hidden":false,"required":false,"index":false},{"name":"installed_by","description":"The system context in which the patch as installed.","type":"text","hidden":false,"required":false,"index":false},{"name":"install_date","description":"Indicates when the patch was installed. Lack of a value does not indicate that the patch was not installed.","type":"text","hidden":false,"required":false,"index":false},{"name":"installed_on","description":"The date when the patch was installed.","type":"text","hidden":false,"required":false,"index":false}]},{"name":"pci_devices","description":"PCI devices active on the host system.","platforms":["darwin","linux"],"columns":[{"name":"pci_slot","description":"PCI Device used slot","type":"text","hidden":false,"required":false,"index":false},{"name":"pci_class","description":"PCI Device class","type":"text","hidden":false,"required":false,"index":false},{"name":"driver","description":"PCI Device used driver","type":"text","hidden":false,"required":false,"index":false},{"name":"vendor","description":"PCI Device vendor","type":"text","hidden":false,"required":false,"index":false},{"name":"vendor_id","description":"Hex encoded PCI Device vendor identifier","type":"text","hidden":false,"required":false,"index":false},{"name":"model","description":"PCI Device model","type":"text","hidden":false,"required":false,"index":false},{"name":"model_id","description":"Hex encoded PCI Device model identifier","type":"text","hidden":false,"required":false,"index":false},{"name":"pci_class_id","description":"PCI Device class ID in hex format","type":"text","hidden":true,"required":false,"index":false},{"name":"pci_subclass_id","description":"PCI Device subclass in hex format","type":"text","hidden":true,"required":false,"index":false},{"name":"pci_subclass","description":"PCI Device subclass","type":"text","hidden":true,"required":false,"index":false},{"name":"subsystem_vendor_id","description":"Vendor ID of PCI device subsystem","type":"text","hidden":true,"required":false,"index":false},{"name":"subsystem_vendor","description":"Vendor of PCI device subsystem","type":"text","hidden":true,"required":false,"index":false},{"name":"subsystem_model_id","description":"Model ID of PCI device subsystem","type":"text","hidden":true,"required":false,"index":false},{"name":"subsystem_model","description":"Device description of PCI device subsystem","type":"text","hidden":true,"required":false,"index":false}]},{"name":"physical_disk_performance","description":"Provides provides raw data from performance counters that monitor hard or fixed disk drives on the system.","platforms":["windows"],"columns":[{"name":"name","description":"Name of the physical disk","type":"text","hidden":false,"required":false,"index":false},{"name":"avg_disk_bytes_per_read","description":"Average number of bytes transferred from the disk during read operations","type":"bigint","hidden":false,"required":false,"index":false},{"name":"avg_disk_bytes_per_write","description":"Average number of bytes transferred to the disk during write operations","type":"bigint","hidden":false,"required":false,"index":false},{"name":"avg_disk_read_queue_length","description":"Average number of read requests that were queued for the selected disk during the sample interval","type":"bigint","hidden":false,"required":false,"index":false},{"name":"avg_disk_write_queue_length","description":"Average number of write requests that were queued for the selected disk during the sample interval","type":"bigint","hidden":false,"required":false,"index":false},{"name":"avg_disk_sec_per_read","description":"Average time, in seconds, of a read operation of data from the disk","type":"integer","hidden":false,"required":false,"index":false},{"name":"avg_disk_sec_per_write","description":"Average time, in seconds, of a write operation of data to the disk","type":"integer","hidden":false,"required":false,"index":false},{"name":"current_disk_queue_length","description":"Number of requests outstanding on the disk at the time the performance data is collected","type":"integer","hidden":false,"required":false,"index":false},{"name":"percent_disk_read_time","description":"Percentage of elapsed time that the selected disk drive is busy servicing read requests","type":"bigint","hidden":false,"required":false,"index":false},{"name":"percent_disk_write_time","description":"Percentage of elapsed time that the selected disk drive is busy servicing write requests","type":"bigint","hidden":false,"required":false,"index":false},{"name":"percent_disk_time","description":"Percentage of elapsed time that the selected disk drive is busy servicing read or write requests","type":"bigint","hidden":false,"required":false,"index":false},{"name":"percent_idle_time","description":"Percentage of time during the sample interval that the disk was idle","type":"bigint","hidden":false,"required":false,"index":false}]},{"name":"pipes","description":"Named and Anonymous pipes.","platforms":["windows"],"columns":[{"name":"pid","description":"Process ID of the process to which the pipe belongs","type":"bigint","hidden":false,"required":false,"index":false},{"name":"name","description":"Name of the pipe","type":"text","hidden":false,"required":false,"index":false},{"name":"instances","description":"Number of instances of the named pipe","type":"integer","hidden":false,"required":false,"index":false},{"name":"max_instances","description":"The maximum number of instances creatable for this pipe","type":"integer","hidden":false,"required":false,"index":false},{"name":"flags","description":"The flags indicating whether this pipe connection is a server or client end, and if the pipe for sending messages or bytes","type":"text","hidden":false,"required":false,"index":false}]},{"name":"pkg_packages","description":"pkgng packages that are currently installed on the host system.","platforms":["freebsd"],"columns":[{"name":"name","description":"Package name","type":"text","hidden":false,"required":false,"index":false},{"name":"version","description":"Package version","type":"text","hidden":false,"required":false,"index":false},{"name":"flatsize","description":"Package size in bytes","type":"bigint","hidden":false,"required":false,"index":false},{"name":"arch","description":"Architecture(s) supported","type":"text","hidden":false,"required":false,"index":false}]},{"name":"platform_info","description":"Information about EFI/UEFI/ROM and platform/boot.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"vendor","description":"Platform code vendor","type":"text","hidden":false,"required":false,"index":false},{"name":"version","description":"Platform code version","type":"text","hidden":false,"required":false,"index":false},{"name":"date","description":"Self-reported platform code update date","type":"text","hidden":false,"required":false,"index":false},{"name":"revision","description":"BIOS major and minor revision","type":"text","hidden":false,"required":false,"index":false},{"name":"address","description":"Relative address of firmware mapping","type":"text","hidden":false,"required":false,"index":false},{"name":"size","description":"Size in bytes of firmware","type":"text","hidden":false,"required":false,"index":false},{"name":"volume_size","description":"(Optional) size of firmware volume","type":"integer","hidden":false,"required":false,"index":false},{"name":"extra","description":"Platform-specific additional information","type":"text","hidden":false,"required":false,"index":false}]},{"name":"plist","description":"Read and parse a plist file.","platforms":["darwin"],"columns":[{"name":"key","description":"Preference top-level key","type":"text","hidden":false,"required":false,"index":false},{"name":"subkey","description":"Intermediate key path, includes lists/dicts","type":"text","hidden":false,"required":false,"index":false},{"name":"value","description":"String value of most CF types","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"(required) read preferences from a plist","type":"text","hidden":false,"required":true,"index":false}]},{"name":"portage_keywords","description":"A summary about portage configurations like keywords, mask and unmask.","platforms":["linux"],"columns":[{"name":"package","description":"Package name","type":"text","hidden":false,"required":false,"index":false},{"name":"version","description":"The version which are affected by the use flags, empty means all","type":"text","hidden":false,"required":false,"index":false},{"name":"keyword","description":"The keyword applied to the package","type":"text","hidden":false,"required":false,"index":false},{"name":"mask","description":"If the package is masked","type":"integer","hidden":false,"required":false,"index":false},{"name":"unmask","description":"If the package is unmasked","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"portage_packages","description":"List of currently installed packages.","platforms":["linux"],"columns":[{"name":"package","description":"Package name","type":"text","hidden":false,"required":false,"index":false},{"name":"version","description":"The version which are affected by the use flags, empty means all","type":"text","hidden":false,"required":false,"index":false},{"name":"slot","description":"The slot used by package","type":"text","hidden":false,"required":false,"index":false},{"name":"build_time","description":"Unix time when package was built","type":"bigint","hidden":false,"required":false,"index":false},{"name":"repository","description":"From which repository the ebuild was used","type":"text","hidden":false,"required":false,"index":false},{"name":"eapi","description":"The eapi for the ebuild","type":"bigint","hidden":false,"required":false,"index":false},{"name":"size","description":"The size of the package","type":"bigint","hidden":false,"required":false,"index":false},{"name":"world","description":"If package is in the world file","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"portage_use","description":"List of enabled portage USE values for specific package.","platforms":["linux"],"columns":[{"name":"package","description":"Package name","type":"text","hidden":false,"required":false,"index":false},{"name":"version","description":"The version of the installed package","type":"text","hidden":false,"required":false,"index":false},{"name":"use","description":"USE flag which has been enabled for package","type":"text","hidden":false,"required":false,"index":false}]},{"name":"power_sensors","description":"Machine power (currents, voltages, wattages, etc) sensors.","platforms":["darwin"],"columns":[{"name":"key","description":"The SMC key on macOS","type":"text","hidden":false,"required":false,"index":false},{"name":"category","description":"The sensor category: currents, voltage, wattage","type":"text","hidden":false,"required":false,"index":false},{"name":"name","description":"Name of power source","type":"text","hidden":false,"required":false,"index":false},{"name":"value","description":"Power in Watts","type":"text","hidden":false,"required":false,"index":false}]},{"name":"powershell_events","description":"Powershell script blocks reconstructed to their full script content, this table requires script block logging to be enabled.","platforms":["windows"],"columns":[{"name":"time","description":"Timestamp the event was received by the osquery event publisher","type":"bigint","hidden":false,"required":false,"index":false},{"name":"datetime","description":"System time at which the Powershell script event occurred","type":"text","hidden":false,"required":false,"index":false},{"name":"script_block_id","description":"The unique GUID of the powershell script to which this block belongs","type":"text","hidden":false,"required":false,"index":false},{"name":"script_block_count","description":"The total number of script blocks for this script","type":"integer","hidden":false,"required":false,"index":false},{"name":"script_text","description":"The text content of the Powershell script","type":"text","hidden":false,"required":false,"index":false},{"name":"script_name","description":"The name of the Powershell script","type":"text","hidden":false,"required":false,"index":false},{"name":"script_path","description":"The path for the Powershell script","type":"text","hidden":false,"required":false,"index":false},{"name":"cosine_similarity","description":"How similar the Powershell script is to a provided 'normal' character frequency","type":"double","hidden":false,"required":false,"index":false}]},{"name":"preferences","description":"macOS defaults and managed preferences.","platforms":["darwin"],"columns":[{"name":"domain","description":"Application ID usually in com.name.product format","type":"text","hidden":false,"required":false,"index":false},{"name":"key","description":"Preference top-level key","type":"text","hidden":false,"required":false,"index":false},{"name":"subkey","description":"Intemediate key path, includes lists/dicts","type":"text","hidden":false,"required":false,"index":false},{"name":"value","description":"String value of most CF types","type":"text","hidden":false,"required":false,"index":false},{"name":"forced","description":"1 if the value is forced/managed, else 0","type":"integer","hidden":false,"required":false,"index":false},{"name":"username","description":"(optional) read preferences for a specific user","type":"text","hidden":false,"required":false,"index":false},{"name":"host","description":"'current' or 'any' host, where 'current' takes precedence","type":"text","hidden":false,"required":false,"index":false}]},{"name":"prefetch","description":"Prefetch files show metadata related to file execution.","platforms":["windows"],"columns":[{"name":"path","description":"Prefetch file path.","type":"text","hidden":false,"required":false,"index":false},{"name":"filename","description":"Executable filename.","type":"text","hidden":false,"required":false,"index":false},{"name":"hash","description":"Prefetch CRC hash.","type":"text","hidden":false,"required":false,"index":false},{"name":"last_run_time","description":"Most recent time application was run.","type":"integer","hidden":false,"required":false,"index":false},{"name":"other_run_times","description":"Other execution times in prefetch file.","type":"text","hidden":false,"required":false,"index":false},{"name":"run_count","description":"Number of times the application has been run.","type":"integer","hidden":false,"required":false,"index":false},{"name":"size","description":"Application file size.","type":"integer","hidden":false,"required":false,"index":false},{"name":"volume_serial","description":"Volume serial number.","type":"text","hidden":false,"required":false,"index":false},{"name":"volume_creation","description":"Volume creation time.","type":"text","hidden":false,"required":false,"index":false},{"name":"accessed_files_count","description":"Number of files accessed.","type":"integer","hidden":false,"required":false,"index":false},{"name":"accessed_directories_count","description":"Number of directories accessed.","type":"integer","hidden":false,"required":false,"index":false},{"name":"accessed_files","description":"Files accessed by application within ten seconds of launch.","type":"text","hidden":false,"required":false,"index":false},{"name":"accessed_directories","description":"Directories accessed by application within ten seconds of launch.","type":"text","hidden":false,"required":false,"index":false}]},{"name":"process_envs","description":"A key/value table of environment variables for each process.","platforms":["darwin","linux"],"columns":[{"name":"pid","description":"Process (or thread) ID","type":"integer","hidden":false,"required":false,"index":false},{"name":"key","description":"Environment variable name","type":"text","hidden":false,"required":false,"index":false},{"name":"value","description":"Environment variable value","type":"text","hidden":false,"required":false,"index":false}]},{"name":"process_events","description":"Track time/action process executions.","platforms":["darwin","linux"],"columns":[{"name":"pid","description":"Process (or thread) ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"path","description":"Path of executed file","type":"text","hidden":false,"required":false,"index":false},{"name":"mode","description":"File mode permissions","type":"text","hidden":false,"required":false,"index":false},{"name":"cmdline","description":"Command line arguments (argv)","type":"text","hidden":false,"required":false,"index":false},{"name":"cmdline_size","description":"Actual size (bytes) of command line arguments","type":"bigint","hidden":true,"required":false,"index":false},{"name":"env","description":"Environment variables delimited by spaces","type":"text","hidden":true,"required":false,"index":false},{"name":"env_count","description":"Number of environment variables","type":"bigint","hidden":true,"required":false,"index":false},{"name":"env_size","description":"Actual size (bytes) of environment list","type":"bigint","hidden":true,"required":false,"index":false},{"name":"cwd","description":"The process current working directory","type":"text","hidden":false,"required":false,"index":false},{"name":"auid","description":"Audit User ID at process start","type":"bigint","hidden":false,"required":false,"index":false},{"name":"uid","description":"User ID at process start","type":"bigint","hidden":false,"required":false,"index":false},{"name":"euid","description":"Effective user ID at process start","type":"bigint","hidden":false,"required":false,"index":false},{"name":"gid","description":"Group ID at process start","type":"bigint","hidden":false,"required":false,"index":false},{"name":"egid","description":"Effective group ID at process start","type":"bigint","hidden":false,"required":false,"index":false},{"name":"owner_uid","description":"File owner user ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"owner_gid","description":"File owner group ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"atime","description":"File last access in UNIX time","type":"bigint","hidden":false,"required":false,"index":false},{"name":"mtime","description":"File modification in UNIX time","type":"bigint","hidden":false,"required":false,"index":false},{"name":"ctime","description":"File last metadata change in UNIX time","type":"bigint","hidden":false,"required":false,"index":false},{"name":"btime","description":"File creation in UNIX time","type":"bigint","hidden":false,"required":false,"index":false},{"name":"overflows","description":"List of structures that overflowed","type":"text","hidden":true,"required":false,"index":false},{"name":"parent","description":"Process parent's PID, or -1 if cannot be determined.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"time","description":"Time of execution in UNIX time","type":"bigint","hidden":false,"required":false,"index":false},{"name":"uptime","description":"Time of execution in system uptime","type":"bigint","hidden":false,"required":false,"index":false},{"name":"eid","description":"Event ID","type":"text","hidden":true,"required":false,"index":false},{"name":"status","description":"OpenBSM Attribute: Status of the process","type":"bigint","hidden":false,"required":false,"index":false},{"name":"fsuid","description":"Filesystem user ID at process start","type":"bigint","hidden":true,"required":false,"index":false},{"name":"suid","description":"Saved user ID at process start","type":"bigint","hidden":true,"required":false,"index":false},{"name":"fsgid","description":"Filesystem group ID at process start","type":"bigint","hidden":true,"required":false,"index":false},{"name":"sgid","description":"Saved group ID at process start","type":"bigint","hidden":true,"required":false,"index":false},{"name":"syscall","description":"Syscall name: fork, vfork, clone, execve, execveat","type":"text","hidden":true,"required":false,"index":false}]},{"name":"process_file_events","description":"A File Integrity Monitor implementation using the audit service.","platforms":["linux"],"columns":[{"name":"operation","description":"Operation type","type":"text","hidden":false,"required":false,"index":false},{"name":"pid","description":"Process ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"ppid","description":"Parent process ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"time","description":"Time of execution in UNIX time","type":"bigint","hidden":false,"required":false,"index":false},{"name":"executable","description":"The executable path","type":"text","hidden":false,"required":false,"index":false},{"name":"partial","description":"True if this is a partial event (i.e.: this process existed before we started osquery)","type":"text","hidden":false,"required":false,"index":false},{"name":"cwd","description":"The current working directory of the process","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"The path associated with the event","type":"text","hidden":false,"required":false,"index":false},{"name":"dest_path","description":"The canonical path associated with the event","type":"text","hidden":false,"required":false,"index":false},{"name":"uid","description":"The uid of the process performing the action","type":"text","hidden":false,"required":false,"index":false},{"name":"gid","description":"The gid of the process performing the action","type":"text","hidden":false,"required":false,"index":false},{"name":"auid","description":"Audit user ID of the process using the file","type":"text","hidden":false,"required":false,"index":false},{"name":"euid","description":"Effective user ID of the process using the file","type":"text","hidden":false,"required":false,"index":false},{"name":"egid","description":"Effective group ID of the process using the file","type":"text","hidden":false,"required":false,"index":false},{"name":"fsuid","description":"Filesystem user ID of the process using the file","type":"text","hidden":false,"required":false,"index":false},{"name":"fsgid","description":"Filesystem group ID of the process using the file","type":"text","hidden":false,"required":false,"index":false},{"name":"suid","description":"Saved user ID of the process using the file","type":"text","hidden":false,"required":false,"index":false},{"name":"sgid","description":"Saved group ID of the process using the file","type":"text","hidden":false,"required":false,"index":false},{"name":"uptime","description":"Time of execution in system uptime","type":"bigint","hidden":false,"required":false,"index":false},{"name":"eid","description":"Event ID","type":"text","hidden":true,"required":false,"index":false}]},{"name":"process_memory_map","description":"Process memory mapped files and pseudo device/regions.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"pid","description":"Process (or thread) ID","type":"integer","hidden":false,"required":false,"index":false},{"name":"start","description":"Virtual start address (hex)","type":"text","hidden":false,"required":false,"index":false},{"name":"end","description":"Virtual end address (hex)","type":"text","hidden":false,"required":false,"index":false},{"name":"permissions","description":"r=read, w=write, x=execute, p=private (cow)","type":"text","hidden":false,"required":false,"index":false},{"name":"offset","description":"Offset into mapped path","type":"bigint","hidden":false,"required":false,"index":false},{"name":"device","description":"MA:MI Major/minor device ID","type":"text","hidden":false,"required":false,"index":false},{"name":"inode","description":"Mapped path inode, 0 means uninitialized (BSS)","type":"integer","hidden":false,"required":false,"index":false},{"name":"path","description":"Path to mapped file or mapped type","type":"text","hidden":false,"required":false,"index":false},{"name":"pseudo","description":"1 If path is a pseudo path, else 0","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"process_namespaces","description":"Linux namespaces for processes running on the host system.","platforms":["linux"],"columns":[{"name":"pid","description":"Process (or thread) ID","type":"integer","hidden":false,"required":false,"index":false},{"name":"cgroup_namespace","description":"cgroup namespace inode","type":"text","hidden":false,"required":false,"index":false},{"name":"ipc_namespace","description":"ipc namespace inode","type":"text","hidden":false,"required":false,"index":false},{"name":"mnt_namespace","description":"mnt namespace inode","type":"text","hidden":false,"required":false,"index":false},{"name":"net_namespace","description":"net namespace inode","type":"text","hidden":false,"required":false,"index":false},{"name":"pid_namespace","description":"pid namespace inode","type":"text","hidden":false,"required":false,"index":false},{"name":"user_namespace","description":"user namespace inode","type":"text","hidden":false,"required":false,"index":false},{"name":"uts_namespace","description":"uts namespace inode","type":"text","hidden":false,"required":false,"index":false}]},{"name":"process_open_files","description":"File descriptors for each process.","platforms":["darwin","linux"],"columns":[{"name":"pid","description":"Process (or thread) ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"fd","description":"Process-specific file descriptor number","type":"bigint","hidden":false,"required":false,"index":false},{"name":"path","description":"Filesystem path of descriptor","type":"text","hidden":false,"required":false,"index":false}]},{"name":"process_open_pipes","description":"Pipes and partner processes for each process.","platforms":["linux"],"columns":[{"name":"pid","description":"Process ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"fd","description":"File descriptor","type":"bigint","hidden":false,"required":false,"index":false},{"name":"mode","description":"Pipe open mode (r/w)","type":"text","hidden":false,"required":false,"index":false},{"name":"inode","description":"Pipe inode number","type":"bigint","hidden":false,"required":false,"index":false},{"name":"type","description":"Pipe Type: named vs unnamed/anonymous","type":"text","hidden":false,"required":false,"index":false},{"name":"partner_pid","description":"Process ID of partner process sharing a particular pipe","type":"bigint","hidden":false,"required":false,"index":false},{"name":"partner_fd","description":"File descriptor of shared pipe at partner's end","type":"bigint","hidden":false,"required":false,"index":false},{"name":"partner_mode","description":"Mode of shared pipe at partner's end","type":"text","hidden":false,"required":false,"index":false}]},{"name":"process_open_sockets","description":"Processes which have open network sockets on the system.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"pid","description":"Process (or thread) ID","type":"integer","hidden":false,"required":false,"index":false},{"name":"fd","description":"Socket file descriptor number","type":"bigint","hidden":false,"required":false,"index":false},{"name":"socket","description":"Socket handle or inode number","type":"bigint","hidden":false,"required":false,"index":false},{"name":"family","description":"Network protocol (IPv4, IPv6)","type":"integer","hidden":false,"required":false,"index":false},{"name":"protocol","description":"Transport protocol (TCP/UDP)","type":"integer","hidden":false,"required":false,"index":false},{"name":"local_address","description":"Socket local address","type":"text","hidden":false,"required":false,"index":false},{"name":"remote_address","description":"Socket remote address","type":"text","hidden":false,"required":false,"index":false},{"name":"local_port","description":"Socket local port","type":"integer","hidden":false,"required":false,"index":false},{"name":"remote_port","description":"Socket remote port","type":"integer","hidden":false,"required":false,"index":false},{"name":"path","description":"For UNIX sockets (family=AF_UNIX), the domain path","type":"text","hidden":false,"required":false,"index":false},{"name":"state","description":"TCP socket state","type":"text","hidden":false,"required":false,"index":false},{"name":"net_namespace","description":"The inode number of the network namespace","type":"text","hidden":true,"required":false,"index":false}]},{"name":"processes","description":"All running processes on the host system.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"pid","description":"Process (or thread) ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"name","description":"The process path or shorthand argv[0]","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"Path to executed binary","type":"text","hidden":false,"required":false,"index":false},{"name":"cmdline","description":"Complete argv","type":"text","hidden":false,"required":false,"index":false},{"name":"state","description":"Process state","type":"text","hidden":false,"required":false,"index":false},{"name":"cwd","description":"Process current working directory","type":"text","hidden":false,"required":false,"index":false},{"name":"root","description":"Process virtual root directory","type":"text","hidden":false,"required":false,"index":false},{"name":"uid","description":"Unsigned user ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"gid","description":"Unsigned group ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"euid","description":"Unsigned effective user ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"egid","description":"Unsigned effective group ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"suid","description":"Unsigned saved user ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"sgid","description":"Unsigned saved group ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"on_disk","description":"The process path exists yes=1, no=0, unknown=-1","type":"integer","hidden":false,"required":false,"index":false},{"name":"wired_size","description":"Bytes of unpageable memory used by process","type":"bigint","hidden":false,"required":false,"index":false},{"name":"resident_size","description":"Bytes of private memory used by process","type":"bigint","hidden":false,"required":false,"index":false},{"name":"total_size","description":"Total virtual memory size","type":"bigint","hidden":false,"required":false,"index":false},{"name":"user_time","description":"CPU time in milliseconds spent in user space","type":"bigint","hidden":false,"required":false,"index":false},{"name":"system_time","description":"CPU time in milliseconds spent in kernel space","type":"bigint","hidden":false,"required":false,"index":false},{"name":"disk_bytes_read","description":"Bytes read from disk","type":"bigint","hidden":false,"required":false,"index":false},{"name":"disk_bytes_written","description":"Bytes written to disk","type":"bigint","hidden":false,"required":false,"index":false},{"name":"start_time","description":"Process start time in seconds since Epoch, in case of error -1","type":"bigint","hidden":false,"required":false,"index":false},{"name":"parent","description":"Process parent's PID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"pgroup","description":"Process group","type":"bigint","hidden":false,"required":false,"index":false},{"name":"threads","description":"Number of threads used by process","type":"integer","hidden":false,"required":false,"index":false},{"name":"nice","description":"Process nice level (-20 to 20, default 0)","type":"integer","hidden":false,"required":false,"index":false},{"name":"elevated_token","description":"Process uses elevated token yes=1, no=0","type":"integer","hidden":true,"required":false,"index":false},{"name":"secure_process","description":"Process is secure (IUM) yes=1, no=0","type":"integer","hidden":true,"required":false,"index":false},{"name":"protection_type","description":"The protection type of the process","type":"text","hidden":true,"required":false,"index":false},{"name":"virtual_process","description":"Process is virtual (e.g. System, Registry, vmmem) yes=1, no=0","type":"integer","hidden":true,"required":false,"index":false},{"name":"elapsed_time","description":"Elapsed time in seconds this process has been running.","type":"bigint","hidden":true,"required":false,"index":false},{"name":"handle_count","description":"Total number of handles that the process has open. This number is the sum of the handles currently opened by each thread in the process.","type":"bigint","hidden":true,"required":false,"index":false},{"name":"percent_processor_time","description":"Returns elapsed time that all of the threads of this process used the processor to execute instructions in 100 nanoseconds ticks.","type":"bigint","hidden":true,"required":false,"index":false},{"name":"upid","description":"A 64bit pid that is never reused. Returns -1 if we couldn't gather them from the system.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"uppid","description":"The 64bit parent pid that is never reused. Returns -1 if we couldn't gather them from the system.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"cpu_type","description":"Indicates the specific processor designed for installation.","type":"integer","hidden":false,"required":false,"index":false},{"name":"cpu_subtype","description":"Indicates the specific processor on which an entry may be used.","type":"integer","hidden":false,"required":false,"index":false},{"name":"translated","description":"Indicates whether the process is running under the Rosetta Translation Environment, yes=1, no=0, error=-1.","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"programs","description":"Represents products as they are installed by Windows Installer. A product generally correlates to one installation package on Windows. Some fields may be blank as Windows installation details are left to the discretion of the product author.","platforms":["windows"],"columns":[{"name":"name","description":"Commonly used product name.","type":"text","hidden":false,"required":false,"index":false},{"name":"version","description":"Product version information.","type":"text","hidden":false,"required":false,"index":false},{"name":"install_location","description":"The installation location directory of the product.","type":"text","hidden":false,"required":false,"index":false},{"name":"install_source","description":"The installation source of the product.","type":"text","hidden":false,"required":false,"index":false},{"name":"language","description":"The language of the product.","type":"text","hidden":false,"required":false,"index":false},{"name":"publisher","description":"Name of the product supplier.","type":"text","hidden":false,"required":false,"index":false},{"name":"uninstall_string","description":"Path and filename of the uninstaller.","type":"text","hidden":false,"required":false,"index":false},{"name":"install_date","description":"Date that this product was installed on the system. ","type":"text","hidden":false,"required":false,"index":false},{"name":"identifying_number","description":"Product identification such as a serial number on software, or a die number on a hardware chip.","type":"text","hidden":false,"required":false,"index":false}]},{"name":"prometheus_metrics","description":"Retrieve metrics from a Prometheus server.","platforms":["darwin","linux"],"columns":[{"name":"target_name","description":"Address of prometheus target","type":"text","hidden":false,"required":false,"index":false},{"name":"metric_name","description":"Name of collected Prometheus metric","type":"text","hidden":false,"required":false,"index":false},{"name":"metric_value","description":"Value of collected Prometheus metric","type":"double","hidden":false,"required":false,"index":false},{"name":"timestamp_ms","description":"Unix timestamp of collected data in MS","type":"bigint","hidden":false,"required":false,"index":false}]},{"name":"python_packages","description":"Python packages installed in a system.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"name","description":"Package display name","type":"text","hidden":false,"required":false,"index":false},{"name":"version","description":"Package-supplied version","type":"text","hidden":false,"required":false,"index":false},{"name":"summary","description":"Package-supplied summary","type":"text","hidden":false,"required":false,"index":false},{"name":"author","description":"Optional package author","type":"text","hidden":false,"required":false,"index":false},{"name":"license","description":"License under which package is launched","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"Path at which this module resides","type":"text","hidden":false,"required":false,"index":false},{"name":"directory","description":"Directory where Python modules are located","type":"text","hidden":false,"required":false,"index":false},{"name":"pid_with_namespace","description":"Pids that contain a namespace","type":"integer","hidden":true,"required":false,"index":false}]},{"name":"quicklook_cache","description":"Files and thumbnails within macOS's Quicklook Cache.","platforms":["darwin"],"columns":[{"name":"path","description":"Path of file","type":"text","hidden":false,"required":false,"index":false},{"name":"rowid","description":"Quicklook file rowid key","type":"integer","hidden":false,"required":false,"index":false},{"name":"fs_id","description":"Quicklook file fs_id key","type":"text","hidden":false,"required":false,"index":false},{"name":"volume_id","description":"Parsed volume ID from fs_id","type":"integer","hidden":false,"required":false,"index":false},{"name":"inode","description":"Parsed file ID (inode) from fs_id","type":"integer","hidden":false,"required":false,"index":false},{"name":"mtime","description":"Parsed version date field","type":"integer","hidden":false,"required":false,"index":false},{"name":"size","description":"Parsed version size field","type":"bigint","hidden":false,"required":false,"index":false},{"name":"label","description":"Parsed version 'gen' field","type":"text","hidden":false,"required":false,"index":false},{"name":"last_hit_date","description":"Apple date format for last thumbnail cache hit","type":"integer","hidden":false,"required":false,"index":false},{"name":"hit_count","description":"Number of cache hits on thumbnail","type":"text","hidden":false,"required":false,"index":false},{"name":"icon_mode","description":"Thumbnail icon mode","type":"bigint","hidden":false,"required":false,"index":false},{"name":"cache_path","description":"Path to cache data","type":"text","hidden":false,"required":false,"index":false}]},{"name":"registry","description":"All of the Windows registry hives.","platforms":["windows"],"columns":[{"name":"key","description":"Name of the key to search for","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"Full path to the value","type":"text","hidden":false,"required":false,"index":false},{"name":"name","description":"Name of the registry value entry","type":"text","hidden":false,"required":false,"index":false},{"name":"type","description":"Type of the registry value, or 'subkey' if item is a subkey","type":"text","hidden":false,"required":false,"index":false},{"name":"data","description":"Data content of registry value","type":"text","hidden":false,"required":false,"index":false},{"name":"mtime","description":"timestamp of the most recent registry write","type":"bigint","hidden":false,"required":false,"index":false}]},{"name":"routes","description":"The active route table for the host system.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"destination","description":"Destination IP address","type":"text","hidden":false,"required":false,"index":false},{"name":"netmask","description":"Netmask length","type":"integer","hidden":false,"required":false,"index":false},{"name":"gateway","description":"Route gateway","type":"text","hidden":false,"required":false,"index":false},{"name":"source","description":"Route source","type":"text","hidden":false,"required":false,"index":false},{"name":"flags","description":"Flags to describe route","type":"integer","hidden":false,"required":false,"index":false},{"name":"interface","description":"Route local interface","type":"text","hidden":false,"required":false,"index":false},{"name":"mtu","description":"Maximum Transmission Unit for the route","type":"integer","hidden":false,"required":false,"index":false},{"name":"metric","description":"Cost of route. Lowest is preferred","type":"integer","hidden":false,"required":false,"index":false},{"name":"type","description":"Type of route","type":"text","hidden":false,"required":false,"index":false},{"name":"hopcount","description":"Max hops expected","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"rpm_package_files","description":"RPM packages that are currently installed on the host system.","platforms":["linux"],"columns":[{"name":"package","description":"RPM package name","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"File path within the package","type":"text","hidden":false,"required":false,"index":false},{"name":"username","description":"File default username from info DB","type":"text","hidden":false,"required":false,"index":false},{"name":"groupname","description":"File default groupname from info DB","type":"text","hidden":false,"required":false,"index":false},{"name":"mode","description":"File permissions mode from info DB","type":"text","hidden":false,"required":false,"index":false},{"name":"size","description":"Expected file size in bytes from RPM info DB","type":"bigint","hidden":false,"required":false,"index":false},{"name":"sha256","description":"SHA256 file digest from RPM info DB","type":"text","hidden":false,"required":false,"index":false}]},{"name":"rpm_packages","description":"RPM packages that are currently installed on the host system.","platforms":["linux"],"columns":[{"name":"name","description":"RPM package name","type":"text","hidden":false,"required":false,"index":false},{"name":"version","description":"Package version","type":"text","hidden":false,"required":false,"index":false},{"name":"release","description":"Package release","type":"text","hidden":false,"required":false,"index":false},{"name":"source","description":"Source RPM package name (optional)","type":"text","hidden":false,"required":false,"index":false},{"name":"size","description":"Package size in bytes","type":"bigint","hidden":false,"required":false,"index":false},{"name":"sha1","description":"SHA1 hash of the package contents","type":"text","hidden":false,"required":false,"index":false},{"name":"arch","description":"Architecture(s) supported","type":"text","hidden":false,"required":false,"index":false},{"name":"epoch","description":"Package epoch value","type":"integer","hidden":false,"required":false,"index":false},{"name":"install_time","description":"When the package was installed","type":"integer","hidden":false,"required":false,"index":false},{"name":"vendor","description":"Package vendor","type":"text","hidden":false,"required":false,"index":false},{"name":"package_group","description":"Package group","type":"text","hidden":false,"required":false,"index":false},{"name":"pid_with_namespace","description":"Pids that contain a namespace","type":"integer","hidden":true,"required":false,"index":false},{"name":"mount_namespace_id","description":"Mount namespace id","type":"text","hidden":true,"required":false,"index":false}]},{"name":"running_apps","description":"macOS applications currently running on the host system.","platforms":["darwin"],"columns":[{"name":"pid","description":"The pid of the application","type":"integer","hidden":false,"required":false,"index":false},{"name":"bundle_identifier","description":"The bundle identifier of the application","type":"text","hidden":false,"required":false,"index":false},{"name":"is_active","description":"1 if the application is in focus, 0 otherwise","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"safari_extensions","description":"Safari browser extension details for all users.","platforms":["darwin"],"columns":[{"name":"uid","description":"The local user that owns the extension","type":"bigint","hidden":false,"required":false,"index":false},{"name":"name","description":"Extension display name","type":"text","hidden":false,"required":false,"index":false},{"name":"identifier","description":"Extension identifier","type":"text","hidden":false,"required":false,"index":false},{"name":"version","description":"Extension long version","type":"text","hidden":false,"required":false,"index":false},{"name":"sdk","description":"Bundle SDK used to compile extension","type":"text","hidden":false,"required":false,"index":false},{"name":"update_url","description":"Extension-supplied update URI","type":"text","hidden":false,"required":false,"index":false},{"name":"author","description":"Optional extension author","type":"text","hidden":false,"required":false,"index":false},{"name":"developer_id","description":"Optional developer identifier","type":"text","hidden":false,"required":false,"index":false},{"name":"description","description":"Optional extension description text","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"Path to extension XAR bundle","type":"text","hidden":false,"required":false,"index":false}]},{"name":"sandboxes","description":"macOS application sandboxes container details.","platforms":["darwin"],"columns":[{"name":"label","description":"UTI-format bundle or label ID","type":"text","hidden":false,"required":false,"index":false},{"name":"user","description":"Sandbox owner","type":"text","hidden":false,"required":false,"index":false},{"name":"enabled","description":"Application sandboxings enabled on container","type":"integer","hidden":false,"required":false,"index":false},{"name":"build_id","description":"Sandbox-specific identifier","type":"text","hidden":false,"required":false,"index":false},{"name":"bundle_path","description":"Application bundle used by the sandbox","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"Path to sandbox container directory","type":"text","hidden":false,"required":false,"index":false}]},{"name":"scheduled_tasks","description":"Lists all of the tasks in the Windows task scheduler.","platforms":["windows"],"columns":[{"name":"name","description":"Name of the scheduled task","type":"text","hidden":false,"required":false,"index":false},{"name":"action","description":"Actions executed by the scheduled task","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"Path to the executable to be run","type":"text","hidden":false,"required":false,"index":false},{"name":"enabled","description":"Whether or not the scheduled task is enabled","type":"integer","hidden":false,"required":false,"index":false},{"name":"state","description":"State of the scheduled task","type":"text","hidden":false,"required":false,"index":false},{"name":"hidden","description":"Whether or not the task is visible in the UI","type":"integer","hidden":false,"required":false,"index":false},{"name":"last_run_time","description":"Timestamp the task last ran","type":"bigint","hidden":false,"required":false,"index":false},{"name":"next_run_time","description":"Timestamp the task is scheduled to run next","type":"bigint","hidden":false,"required":false,"index":false},{"name":"last_run_message","description":"Exit status message of the last task run","type":"text","hidden":false,"required":false,"index":false},{"name":"last_run_code","description":"Exit status code of the last task run","type":"text","hidden":false,"required":false,"index":false}]},{"name":"screenlock","description":"macOS screenlock status for the current logged in user context.","platforms":["darwin"],"columns":[{"name":"enabled","description":"1 If a password is required after sleep or the screensaver begins; else 0","type":"integer","hidden":false,"required":false,"index":false},{"name":"grace_period","description":"The amount of time in seconds the screen must be asleep or the screensaver on before a password is required on-wake. 0 = immediately; -1 = no password is required on-wake","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"seccomp_events","description":"A virtual table that tracks seccomp events.","platforms":["linux"],"columns":[{"name":"time","description":"Time of execution in UNIX time","type":"bigint","hidden":false,"required":false,"index":false},{"name":"uptime","description":"Time of execution in system uptime","type":"bigint","hidden":false,"required":false,"index":false},{"name":"auid","description":"Audit user ID (loginuid) of the user who started the analyzed process","type":"unsigned_bigint","hidden":false,"required":false,"index":false},{"name":"uid","description":"User ID of the user who started the analyzed process","type":"unsigned_bigint","hidden":false,"required":false,"index":false},{"name":"gid","description":"Group ID of the user who started the analyzed process","type":"unsigned_bigint","hidden":false,"required":false,"index":false},{"name":"ses","description":"Session ID of the session from which the analyzed process was invoked","type":"unsigned_bigint","hidden":false,"required":false,"index":false},{"name":"pid","description":"Process ID","type":"unsigned_bigint","hidden":false,"required":false,"index":false},{"name":"comm","description":"Command-line name of the command that was used to invoke the analyzed process","type":"text","hidden":false,"required":false,"index":false},{"name":"exe","description":"The path to the executable that was used to invoke the analyzed process","type":"text","hidden":false,"required":false,"index":false},{"name":"sig","description":"Signal value sent to process by seccomp","type":"bigint","hidden":false,"required":false,"index":false},{"name":"arch","description":"Information about the CPU architecture","type":"text","hidden":false,"required":false,"index":false},{"name":"syscall","description":"Type of the system call","type":"text","hidden":false,"required":false,"index":false},{"name":"compat","description":"Is system call in compatibility mode","type":"bigint","hidden":false,"required":false,"index":false},{"name":"ip","description":"Instruction pointer value","type":"text","hidden":false,"required":false,"index":false},{"name":"code","description":"The seccomp action","type":"text","hidden":false,"required":false,"index":false}]},{"name":"secureboot","description":"Secure Boot UEFI Settings.","platforms":["linux","windows"],"columns":[{"name":"secure_boot","description":"Whether secure boot is enabled","type":"integer","hidden":false,"required":false,"index":false},{"name":"setup_mode","description":"Whether setup mode is enabled","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"selinux_events","description":"Track SELinux events.","platforms":["linux"],"columns":[{"name":"type","description":"Event type","type":"text","hidden":false,"required":false,"index":false},{"name":"message","description":"Message","type":"text","hidden":false,"required":false,"index":false},{"name":"time","description":"Time of execution in UNIX time","type":"bigint","hidden":false,"required":false,"index":false},{"name":"uptime","description":"Time of execution in system uptime","type":"bigint","hidden":false,"required":false,"index":false},{"name":"eid","description":"Event ID","type":"text","hidden":true,"required":false,"index":false}]},{"name":"selinux_settings","description":"Track active SELinux settings.","platforms":["linux"],"columns":[{"name":"scope","description":"Where the key is located inside the SELinuxFS mount point.","type":"text","hidden":false,"required":false,"index":false},{"name":"key","description":"Key or class name.","type":"text","hidden":false,"required":false,"index":false},{"name":"value","description":"Active value.","type":"text","hidden":false,"required":false,"index":false}]},{"name":"services","description":"Lists all installed Windows services and their relevant data.","platforms":["windows"],"columns":[{"name":"name","description":"Service name","type":"text","hidden":false,"required":false,"index":false},{"name":"service_type","description":"Service Type: OWN_PROCESS, SHARE_PROCESS and maybe Interactive (can interact with the desktop)","type":"text","hidden":false,"required":false,"index":false},{"name":"display_name","description":"Service Display name","type":"text","hidden":false,"required":false,"index":false},{"name":"status","description":"Service Current status: STOPPED, START_PENDING, STOP_PENDING, RUNNING, CONTINUE_PENDING, PAUSE_PENDING, PAUSED","type":"text","hidden":false,"required":false,"index":false},{"name":"pid","description":"the Process ID of the service","type":"integer","hidden":false,"required":false,"index":false},{"name":"start_type","description":"Service start type: BOOT_START, SYSTEM_START, AUTO_START, DEMAND_START, DISABLED","type":"text","hidden":false,"required":false,"index":false},{"name":"win32_exit_code","description":"The error code that the service uses to report an error that occurs when it is starting or stopping","type":"integer","hidden":false,"required":false,"index":false},{"name":"service_exit_code","description":"The service-specific error code that the service returns when an error occurs while the service is starting or stopping","type":"integer","hidden":false,"required":false,"index":false},{"name":"path","description":"Path to Service Executable","type":"text","hidden":false,"required":false,"index":false},{"name":"module_path","description":"Path to ServiceDll","type":"text","hidden":false,"required":false,"index":false},{"name":"description","description":"Service Description","type":"text","hidden":false,"required":false,"index":false},{"name":"user_account","description":"The name of the account that the service process will be logged on as when it runs. This name can be of the form Domain\\UserName. If the account belongs to the built-in domain, the name can be of the form .\\UserName.","type":"text","hidden":false,"required":false,"index":false}]},{"name":"shadow","description":"Local system users encrypted passwords and related information. Please note, that you usually need superuser rights to access `/etc/shadow`.","platforms":["linux"],"columns":[{"name":"password_status","description":"Password status","type":"text","hidden":false,"required":false,"index":false},{"name":"hash_alg","description":"Password hashing algorithm","type":"text","hidden":false,"required":false,"index":false},{"name":"last_change","description":"Date of last password change (starting from UNIX epoch date)","type":"bigint","hidden":false,"required":false,"index":false},{"name":"min","description":"Minimal number of days between password changes","type":"bigint","hidden":false,"required":false,"index":false},{"name":"max","description":"Maximum number of days between password changes","type":"bigint","hidden":false,"required":false,"index":false},{"name":"warning","description":"Number of days before password expires to warn user about it","type":"bigint","hidden":false,"required":false,"index":false},{"name":"inactive","description":"Number of days after password expires until account is blocked","type":"bigint","hidden":false,"required":false,"index":false},{"name":"expire","description":"Number of days since UNIX epoch date until account is disabled","type":"bigint","hidden":false,"required":false,"index":false},{"name":"flag","description":"Reserved","type":"bigint","hidden":false,"required":false,"index":false},{"name":"username","description":"Username","type":"text","hidden":false,"required":false,"index":false}]},{"name":"shared_folders","description":"Folders available to others via SMB or AFP.","platforms":["darwin"],"columns":[{"name":"name","description":"The shared name of the folder as it appears to other users","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"Absolute path of shared folder on the local system","type":"text","hidden":false,"required":false,"index":false}]},{"name":"shared_memory","description":"OS shared memory regions.","platforms":["linux"],"columns":[{"name":"shmid","description":"Shared memory segment ID","type":"integer","hidden":false,"required":false,"index":false},{"name":"owner_uid","description":"User ID of owning process","type":"bigint","hidden":false,"required":false,"index":false},{"name":"creator_uid","description":"User ID of creator process","type":"bigint","hidden":false,"required":false,"index":false},{"name":"pid","description":"Process ID to last use the segment","type":"bigint","hidden":false,"required":false,"index":false},{"name":"creator_pid","description":"Process ID that created the segment","type":"bigint","hidden":false,"required":false,"index":false},{"name":"atime","description":"Attached time","type":"bigint","hidden":false,"required":false,"index":false},{"name":"dtime","description":"Detached time","type":"bigint","hidden":false,"required":false,"index":false},{"name":"ctime","description":"Changed time","type":"bigint","hidden":false,"required":false,"index":false},{"name":"permissions","description":"Memory segment permissions","type":"text","hidden":false,"required":false,"index":false},{"name":"size","description":"Size in bytes","type":"bigint","hidden":false,"required":false,"index":false},{"name":"attached","description":"Number of attached processes","type":"integer","hidden":false,"required":false,"index":false},{"name":"status","description":"Destination/attach status","type":"text","hidden":false,"required":false,"index":false},{"name":"locked","description":"1 if segment is locked else 0","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"shared_resources","description":"Displays shared resources on a computer system running Windows. This may be a disk drive, printer, interprocess communication, or other sharable device.","platforms":["windows"],"columns":[{"name":"description","description":"A textual description of the object","type":"text","hidden":false,"required":false,"index":false},{"name":"install_date","description":"Indicates when the object was installed. Lack of a value does not indicate that the object is not installed.","type":"text","hidden":false,"required":false,"index":false},{"name":"status","description":"String that indicates the current status of the object.","type":"text","hidden":false,"required":false,"index":false},{"name":"allow_maximum","description":"Number of concurrent users for this resource has been limited. If True, the value in the MaximumAllowed property is ignored.","type":"integer","hidden":false,"required":false,"index":false},{"name":"maximum_allowed","description":"Limit on the maximum number of users allowed to use this resource concurrently. The value is only valid if the AllowMaximum property is set to FALSE.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"name","description":"Alias given to a path set up as a share on a computer system running Windows.","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"Local path of the Windows share.","type":"text","hidden":false,"required":false,"index":false},{"name":"type","description":"Type of resource being shared. Types include: disk drives, print queues, interprocess communications (IPC), and general devices.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"type_name","description":"Human readable value for the 'type' column","type":"text","hidden":false,"required":false,"index":false}]},{"name":"sharing_preferences","description":"macOS Sharing preferences.","platforms":["darwin"],"columns":[{"name":"screen_sharing","description":"1 If screen sharing is enabled else 0","type":"integer","hidden":false,"required":false,"index":false},{"name":"file_sharing","description":"1 If file sharing is enabled else 0","type":"integer","hidden":false,"required":false,"index":false},{"name":"printer_sharing","description":"1 If printer sharing is enabled else 0","type":"integer","hidden":false,"required":false,"index":false},{"name":"remote_login","description":"1 If remote login is enabled else 0","type":"integer","hidden":false,"required":false,"index":false},{"name":"remote_management","description":"1 If remote management is enabled else 0","type":"integer","hidden":false,"required":false,"index":false},{"name":"remote_apple_events","description":"1 If remote apple events are enabled else 0","type":"integer","hidden":false,"required":false,"index":false},{"name":"internet_sharing","description":"1 If internet sharing is enabled else 0","type":"integer","hidden":false,"required":false,"index":false},{"name":"bluetooth_sharing","description":"1 If bluetooth sharing is enabled for any user else 0","type":"integer","hidden":false,"required":false,"index":false},{"name":"disc_sharing","description":"1 If CD or DVD sharing is enabled else 0","type":"integer","hidden":false,"required":false,"index":false},{"name":"content_caching","description":"1 If content caching is enabled else 0","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"shell_history","description":"A line-delimited (command) table of per-user .*_history data.","platforms":["darwin","linux"],"columns":[{"name":"uid","description":"Shell history owner","type":"bigint","hidden":false,"required":false,"index":false},{"name":"time","description":"Entry timestamp. It could be absent, default value is 0.","type":"integer","hidden":false,"required":false,"index":false},{"name":"command","description":"Unparsed date/line/command history line","type":"text","hidden":false,"required":false,"index":false},{"name":"history_file","description":"Path to the .*_history for this user","type":"text","hidden":false,"required":false,"index":false}]},{"name":"shellbags","description":"Shows directories accessed via Windows Explorer.","platforms":["windows"],"columns":[{"name":"sid","description":"User SID","type":"text","hidden":false,"required":false,"index":false},{"name":"source","description":"Shellbags source Registry file","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"Directory name.","type":"text","hidden":false,"required":false,"index":false},{"name":"modified_time","description":"Directory Modified time.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"created_time","description":"Directory Created time.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"accessed_time","description":"Directory Accessed time.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"mft_entry","description":"Directory master file table entry.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"mft_sequence","description":"Directory master file table sequence.","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"shimcache","description":"Application Compatibility Cache, contains artifacts of execution.","platforms":["windows"],"columns":[{"name":"entry","description":"Execution order.","type":"integer","hidden":false,"required":false,"index":false},{"name":"path","description":"This is the path to the executed file.","type":"text","hidden":false,"required":false,"index":false},{"name":"modified_time","description":"File Modified time.","type":"integer","hidden":false,"required":false,"index":false},{"name":"execution_flag","description":"Boolean Execution flag, 1 for execution, 0 for no execution, -1 for missing (this flag does not exist on Windows 10 and higher).","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"signature","description":"File (executable, bundle, installer, disk) code signing status.","platforms":["darwin"],"columns":[{"name":"path","description":"Must provide a path or directory","type":"text","hidden":false,"required":true,"index":false},{"name":"hash_resources","description":"Set to 1 to also hash resources, or 0 otherwise. Default is 1","type":"integer","hidden":false,"required":false,"index":false},{"name":"arch","description":"If applicable, the arch of the signed code","type":"text","hidden":false,"required":false,"index":false},{"name":"signed","description":"1 If the file is signed else 0","type":"integer","hidden":false,"required":false,"index":false},{"name":"identifier","description":"The signing identifier sealed into the signature","type":"text","hidden":false,"required":false,"index":false},{"name":"cdhash","description":"Hash of the application Code Directory","type":"text","hidden":false,"required":false,"index":false},{"name":"team_identifier","description":"The team signing identifier sealed into the signature","type":"text","hidden":false,"required":false,"index":false},{"name":"authority","description":"Certificate Common Name","type":"text","hidden":false,"required":false,"index":false}]},{"name":"sip_config","description":"Apple's System Integrity Protection (rootless) status.","platforms":["darwin"],"columns":[{"name":"config_flag","description":"The System Integrity Protection config flag","type":"text","hidden":false,"required":false,"index":false},{"name":"enabled","description":"1 if this configuration is enabled, otherwise 0","type":"integer","hidden":false,"required":false,"index":false},{"name":"enabled_nvram","description":"1 if this configuration is enabled, otherwise 0","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"smbios_tables","description":"BIOS (DMI) structure common details and content.","platforms":["darwin","linux"],"columns":[{"name":"number","description":"Table entry number","type":"integer","hidden":false,"required":false,"index":false},{"name":"type","description":"Table entry type","type":"integer","hidden":false,"required":false,"index":false},{"name":"description","description":"Table entry description","type":"text","hidden":false,"required":false,"index":false},{"name":"handle","description":"Table entry handle","type":"integer","hidden":false,"required":false,"index":false},{"name":"header_size","description":"Header size in bytes","type":"integer","hidden":false,"required":false,"index":false},{"name":"size","description":"Table entry size in bytes","type":"integer","hidden":false,"required":false,"index":false},{"name":"md5","description":"MD5 hash of table entry","type":"text","hidden":false,"required":false,"index":false}]},{"name":"smc_keys","description":"Apple's system management controller keys.","platforms":["darwin"],"columns":[{"name":"key","description":"4-character key","type":"text","hidden":false,"required":false,"index":false},{"name":"type","description":"SMC-reported type literal type","type":"text","hidden":false,"required":false,"index":false},{"name":"size","description":"Reported size of data in bytes","type":"integer","hidden":false,"required":false,"index":false},{"name":"value","description":"A type-encoded representation of the key value","type":"text","hidden":false,"required":false,"index":false},{"name":"hidden","description":"1 if this key is normally hidden, otherwise 0","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"socket_events","description":"Track network socket opens and closes.","platforms":["darwin","linux"],"columns":[{"name":"action","description":"The socket action (bind, listen, close)","type":"text","hidden":false,"required":false,"index":false},{"name":"pid","description":"Process (or thread) ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"path","description":"Path of executed file","type":"text","hidden":false,"required":false,"index":false},{"name":"fd","description":"The file description for the process socket","type":"text","hidden":false,"required":false,"index":false},{"name":"auid","description":"Audit User ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"status","description":"Either 'succeeded', 'failed', 'in_progress' (connect() on non-blocking socket) or 'no_client' (null accept() on non-blocking socket)","type":"text","hidden":false,"required":false,"index":false},{"name":"family","description":"The Internet protocol family ID","type":"integer","hidden":false,"required":false,"index":false},{"name":"protocol","description":"The network protocol ID","type":"integer","hidden":true,"required":false,"index":false},{"name":"local_address","description":"Local address associated with socket","type":"text","hidden":false,"required":false,"index":false},{"name":"remote_address","description":"Remote address associated with socket","type":"text","hidden":false,"required":false,"index":false},{"name":"local_port","description":"Local network protocol port number","type":"integer","hidden":false,"required":false,"index":false},{"name":"remote_port","description":"Remote network protocol port number","type":"integer","hidden":false,"required":false,"index":false},{"name":"socket","description":"The local path (UNIX domain socket only)","type":"text","hidden":true,"required":false,"index":false},{"name":"time","description":"Time of execution in UNIX time","type":"bigint","hidden":false,"required":false,"index":false},{"name":"uptime","description":"Time of execution in system uptime","type":"bigint","hidden":false,"required":false,"index":false},{"name":"eid","description":"Event ID","type":"text","hidden":true,"required":false,"index":false},{"name":"success","description":"Deprecated. Use the 'status' column instead","type":"integer","hidden":true,"required":false,"index":false}]},{"name":"ssh_configs","description":"A table of parsed ssh_configs.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"uid","description":"The local owner of the ssh_config file","type":"bigint","hidden":false,"required":false,"index":false},{"name":"block","description":"The host or match block","type":"text","hidden":false,"required":false,"index":false},{"name":"option","description":"The option and value","type":"text","hidden":false,"required":false,"index":false},{"name":"ssh_config_file","description":"Path to the ssh_config file","type":"text","hidden":false,"required":false,"index":false}]},{"name":"startup_items","description":"Applications and binaries set as user/login startup items.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"name","description":"Name of startup item","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"Path of startup item","type":"text","hidden":false,"required":false,"index":false},{"name":"args","description":"Arguments provided to startup executable","type":"text","hidden":false,"required":false,"index":false},{"name":"type","description":"Startup Item or Login Item","type":"text","hidden":false,"required":false,"index":false},{"name":"source","description":"Directory or plist containing startup item","type":"text","hidden":false,"required":false,"index":false},{"name":"status","description":"Startup status; either enabled or disabled","type":"text","hidden":false,"required":false,"index":false},{"name":"username","description":"The user associated with the startup item","type":"text","hidden":false,"required":false,"index":false}]},{"name":"sudoers","description":"Rules for running commands as other users via sudo.","platforms":["darwin","linux"],"columns":[{"name":"source","description":"Source file containing the given rule","type":"text","hidden":false,"required":false,"index":false},{"name":"header","description":"Symbol for given rule","type":"text","hidden":false,"required":false,"index":false},{"name":"rule_details","description":"Rule definition","type":"text","hidden":false,"required":false,"index":false}]},{"name":"suid_bin","description":"suid binaries in common locations.","platforms":["darwin","linux"],"columns":[{"name":"path","description":"Binary path","type":"text","hidden":false,"required":false,"index":false},{"name":"username","description":"Binary owner username","type":"text","hidden":false,"required":false,"index":false},{"name":"groupname","description":"Binary owner group","type":"text","hidden":false,"required":false,"index":false},{"name":"permissions","description":"Binary permissions","type":"text","hidden":false,"required":false,"index":false},{"name":"pid_with_namespace","description":"Pids that contain a namespace","type":"integer","hidden":true,"required":false,"index":false}]},{"name":"syslog_events","description":"","platforms":["linux"],"columns":[{"name":"time","description":"Current unix epoch time","type":"bigint","hidden":false,"required":false,"index":false},{"name":"datetime","description":"Time known to syslog","type":"text","hidden":false,"required":false,"index":false},{"name":"host","description":"Hostname configured for syslog","type":"text","hidden":false,"required":false,"index":false},{"name":"severity","description":"Syslog severity","type":"integer","hidden":false,"required":false,"index":false},{"name":"facility","description":"Syslog facility","type":"text","hidden":false,"required":false,"index":false},{"name":"tag","description":"The syslog tag","type":"text","hidden":false,"required":false,"index":false},{"name":"message","description":"The syslog message","type":"text","hidden":false,"required":false,"index":false},{"name":"eid","description":"Event ID","type":"text","hidden":true,"required":false,"index":false}]},{"name":"system_controls","description":"sysctl names, values, and settings information.","platforms":["darwin","linux"],"columns":[{"name":"name","description":"Full sysctl MIB name","type":"text","hidden":false,"required":false,"index":false},{"name":"oid","description":"Control MIB","type":"text","hidden":false,"required":false,"index":false},{"name":"subsystem","description":"Subsystem ID, control type","type":"text","hidden":false,"required":false,"index":false},{"name":"current_value","description":"Value of setting","type":"text","hidden":false,"required":false,"index":false},{"name":"config_value","description":"The MIB value set in /etc/sysctl.conf","type":"text","hidden":false,"required":false,"index":false},{"name":"type","description":"Data type","type":"text","hidden":false,"required":false,"index":false},{"name":"field_name","description":"Specific attribute of opaque type","type":"text","hidden":false,"required":false,"index":false}]},{"name":"system_extensions","description":"macOS (>= 10.15) system extension table.","platforms":["darwin"],"columns":[{"name":"path","description":"Original path of system extension","type":"text","hidden":false,"required":false,"index":false},{"name":"UUID","description":"Extension unique id","type":"text","hidden":false,"required":false,"index":false},{"name":"state","description":"System extension state","type":"text","hidden":false,"required":false,"index":false},{"name":"identifier","description":"Identifier name","type":"text","hidden":false,"required":false,"index":false},{"name":"version","description":"System extension version","type":"text","hidden":false,"required":false,"index":false},{"name":"category","description":"System extension category","type":"text","hidden":false,"required":false,"index":false},{"name":"bundle_path","description":"System extension bundle path","type":"text","hidden":false,"required":false,"index":false},{"name":"team","description":"Signing team ID","type":"text","hidden":false,"required":false,"index":false},{"name":"mdm_managed","description":"1 if managed by MDM system extension payload configuration, 0 otherwise","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"system_info","description":"System information for identification.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"hostname","description":"Network hostname including domain","type":"text","hidden":false,"required":false,"index":false},{"name":"uuid","description":"Unique ID provided by the system","type":"text","hidden":false,"required":false,"index":false},{"name":"cpu_type","description":"CPU type","type":"text","hidden":false,"required":false,"index":false},{"name":"cpu_subtype","description":"CPU subtype","type":"text","hidden":false,"required":false,"index":false},{"name":"cpu_brand","description":"CPU brand string, contains vendor and model","type":"text","hidden":false,"required":false,"index":false},{"name":"cpu_physical_cores","description":"Number of physical CPU cores in to the system","type":"integer","hidden":false,"required":false,"index":false},{"name":"cpu_logical_cores","description":"Number of logical CPU cores available to the system","type":"integer","hidden":false,"required":false,"index":false},{"name":"cpu_microcode","description":"Microcode version","type":"text","hidden":false,"required":false,"index":false},{"name":"physical_memory","description":"Total physical memory in bytes","type":"bigint","hidden":false,"required":false,"index":false},{"name":"hardware_vendor","description":"Hardware vendor","type":"text","hidden":false,"required":false,"index":false},{"name":"hardware_model","description":"Hardware model","type":"text","hidden":false,"required":false,"index":false},{"name":"hardware_version","description":"Hardware version","type":"text","hidden":false,"required":false,"index":false},{"name":"hardware_serial","description":"Device serial number","type":"text","hidden":false,"required":false,"index":false},{"name":"board_vendor","description":"Board vendor","type":"text","hidden":false,"required":false,"index":false},{"name":"board_model","description":"Board model","type":"text","hidden":false,"required":false,"index":false},{"name":"board_version","description":"Board version","type":"text","hidden":false,"required":false,"index":false},{"name":"board_serial","description":"Board serial number","type":"text","hidden":false,"required":false,"index":false},{"name":"computer_name","description":"Friendly computer name (optional)","type":"text","hidden":false,"required":false,"index":false},{"name":"local_hostname","description":"Local hostname (optional)","type":"text","hidden":false,"required":false,"index":false}]},{"name":"systemd_units","description":"Track systemd units.","platforms":["linux"],"columns":[{"name":"id","description":"Unique unit identifier","type":"text","hidden":false,"required":false,"index":false},{"name":"description","description":"Unit description","type":"text","hidden":false,"required":false,"index":false},{"name":"load_state","description":"Reflects whether the unit definition was properly loaded","type":"text","hidden":false,"required":false,"index":false},{"name":"active_state","description":"The high-level unit activation state, i.e. generalization of SUB","type":"text","hidden":false,"required":false,"index":false},{"name":"sub_state","description":"The low-level unit activation state, values depend on unit type","type":"text","hidden":false,"required":false,"index":false},{"name":"following","description":"The name of another unit that this unit follows in state","type":"text","hidden":false,"required":false,"index":false},{"name":"object_path","description":"The object path for this unit","type":"text","hidden":false,"required":false,"index":false},{"name":"job_id","description":"Next queued job id","type":"bigint","hidden":false,"required":false,"index":false},{"name":"job_type","description":"Job type","type":"text","hidden":false,"required":false,"index":false},{"name":"job_path","description":"The object path for the job","type":"text","hidden":false,"required":false,"index":false},{"name":"fragment_path","description":"The unit file path this unit was read from, if there is any","type":"text","hidden":false,"required":false,"index":false},{"name":"user","description":"The configured user, if any","type":"text","hidden":false,"required":false,"index":false},{"name":"source_path","description":"Path to the (possibly generated) unit configuration file","type":"text","hidden":false,"required":false,"index":false}]},{"name":"temperature_sensors","description":"Machine's temperature sensors.","platforms":["darwin"],"columns":[{"name":"key","description":"The SMC key on macOS","type":"text","hidden":false,"required":false,"index":false},{"name":"name","description":"Name of temperature source","type":"text","hidden":false,"required":false,"index":false},{"name":"celsius","description":"Temperature in Celsius","type":"double","hidden":false,"required":false,"index":false},{"name":"fahrenheit","description":"Temperature in Fahrenheit","type":"double","hidden":false,"required":false,"index":false}]},{"name":"time","description":"Track current date and time in UTC.","platforms":["darwin","linux","freebsd","windows"],"columns":[{"name":"weekday","description":"Current weekday in UTC","type":"text","hidden":false,"required":false,"index":false},{"name":"year","description":"Current year in UTC","type":"integer","hidden":false,"required":false,"index":false},{"name":"month","description":"Current month in UTC","type":"integer","hidden":false,"required":false,"index":false},{"name":"day","description":"Current day in UTC","type":"integer","hidden":false,"required":false,"index":false},{"name":"hour","description":"Current hour in UTC","type":"integer","hidden":false,"required":false,"index":false},{"name":"minutes","description":"Current minutes in UTC","type":"integer","hidden":false,"required":false,"index":false},{"name":"seconds","description":"Current seconds in UTC","type":"integer","hidden":false,"required":false,"index":false},{"name":"timezone","description":"Timezone for reported time (hardcoded to UTC)","type":"text","hidden":false,"required":false,"index":false},{"name":"local_timezone","description":"Current local timezone in of the system","type":"text","hidden":false,"required":false,"index":false},{"name":"unix_time","description":"Current UNIX time in UTC","type":"integer","hidden":false,"required":false,"index":false},{"name":"timestamp","description":"Current timestamp (log format) in UTC","type":"text","hidden":false,"required":false,"index":false},{"name":"datetime","description":"Current date and time (ISO format) in UTC","type":"text","hidden":false,"required":false,"index":false},{"name":"iso_8601","description":"Current time (ISO format) in UTC","type":"text","hidden":false,"required":false,"index":false},{"name":"win_timestamp","description":"Timestamp value in 100 nanosecond units","type":"bigint","hidden":true,"required":false,"index":false}]},{"name":"time_machine_backups","description":"Backups to drives using TimeMachine.","platforms":["darwin"],"columns":[{"name":"destination_id","description":"Time Machine destination ID","type":"text","hidden":false,"required":false,"index":false},{"name":"backup_date","description":"Backup Date","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"time_machine_destinations","description":"Locations backed up to using Time Machine.","platforms":["darwin"],"columns":[{"name":"alias","description":"Human readable name of drive","type":"text","hidden":false,"required":false,"index":false},{"name":"destination_id","description":"Time Machine destination ID","type":"text","hidden":false,"required":false,"index":false},{"name":"consistency_scan_date","description":"Consistency scan date","type":"integer","hidden":false,"required":false,"index":false},{"name":"root_volume_uuid","description":"Root UUID of backup volume","type":"text","hidden":false,"required":false,"index":false},{"name":"bytes_available","description":"Bytes available on volume","type":"integer","hidden":false,"required":false,"index":false},{"name":"bytes_used","description":"Bytes used on volume","type":"integer","hidden":false,"required":false,"index":false},{"name":"encryption","description":"Last known encrypted state","type":"text","hidden":false,"required":false,"index":false}]},{"name":"tpm_info","description":"A table that lists the TPM related information.","platforms":["windows"],"columns":[{"name":"activated","description":"TPM is activated","type":"integer","hidden":false,"required":false,"index":false},{"name":"enabled","description":"TPM is enabled","type":"integer","hidden":false,"required":false,"index":false},{"name":"owned","description":"TPM is owned","type":"integer","hidden":false,"required":false,"index":false},{"name":"manufacturer_version","description":"TPM version","type":"text","hidden":false,"required":false,"index":false},{"name":"manufacturer_id","description":"TPM manufacturers ID","type":"integer","hidden":false,"required":false,"index":false},{"name":"manufacturer_name","description":"TPM manufacturers name","type":"text","hidden":false,"required":false,"index":false},{"name":"product_name","description":"Product name of the TPM","type":"text","hidden":false,"required":false,"index":false},{"name":"physical_presence_version","description":"Version of the Physical Presence Interface","type":"text","hidden":false,"required":false,"index":false},{"name":"spec_version","description":"Trusted Computing Group specification that the TPM supports","type":"text","hidden":false,"required":false,"index":false}]},{"name":"ulimit_info","description":"System resource usage limits.","platforms":["darwin","linux"],"columns":[{"name":"type","description":"System resource to be limited","type":"text","hidden":false,"required":false,"index":false},{"name":"soft_limit","description":"Current limit value","type":"text","hidden":false,"required":false,"index":false},{"name":"hard_limit","description":"Maximum limit value","type":"text","hidden":false,"required":false,"index":false}]},{"name":"uptime","description":"Track time passed since last boot. Some systems track this as calendar time, some as runtime.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"days","description":"Days of uptime","type":"integer","hidden":false,"required":false,"index":false},{"name":"hours","description":"Hours of uptime","type":"integer","hidden":false,"required":false,"index":false},{"name":"minutes","description":"Minutes of uptime","type":"integer","hidden":false,"required":false,"index":false},{"name":"seconds","description":"Seconds of uptime","type":"integer","hidden":false,"required":false,"index":false},{"name":"total_seconds","description":"Total uptime seconds","type":"bigint","hidden":false,"required":false,"index":false}]},{"name":"usb_devices","description":"USB devices that are actively plugged into the host system.","platforms":["darwin","linux"],"columns":[{"name":"usb_address","description":"USB Device used address","type":"integer","hidden":false,"required":false,"index":false},{"name":"usb_port","description":"USB Device used port","type":"integer","hidden":false,"required":false,"index":false},{"name":"vendor","description":"USB Device vendor string","type":"text","hidden":false,"required":false,"index":false},{"name":"vendor_id","description":"Hex encoded USB Device vendor identifier","type":"text","hidden":false,"required":false,"index":false},{"name":"version","description":"USB Device version number","type":"text","hidden":false,"required":false,"index":false},{"name":"model","description":"USB Device model string","type":"text","hidden":false,"required":false,"index":false},{"name":"model_id","description":"Hex encoded USB Device model identifier","type":"text","hidden":false,"required":false,"index":false},{"name":"serial","description":"USB Device serial connection","type":"text","hidden":false,"required":false,"index":false},{"name":"class","description":"USB Device class","type":"text","hidden":false,"required":false,"index":false},{"name":"subclass","description":"USB Device subclass","type":"text","hidden":false,"required":false,"index":false},{"name":"protocol","description":"USB Device protocol","type":"text","hidden":false,"required":false,"index":false},{"name":"removable","description":"1 If USB device is removable else 0","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"user_events","description":"Track user events from the audit framework.","platforms":["darwin","linux"],"columns":[{"name":"uid","description":"User ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"auid","description":"Audit User ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"pid","description":"Process (or thread) ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"message","description":"Message from the event","type":"text","hidden":false,"required":false,"index":false},{"name":"type","description":"The file description for the process socket","type":"integer","hidden":false,"required":false,"index":false},{"name":"path","description":"Supplied path from event","type":"text","hidden":false,"required":false,"index":false},{"name":"address","description":"The Internet protocol address or family ID","type":"text","hidden":false,"required":false,"index":false},{"name":"terminal","description":"The network protocol ID","type":"text","hidden":false,"required":false,"index":false},{"name":"time","description":"Time of execution in UNIX time","type":"bigint","hidden":false,"required":false,"index":false},{"name":"uptime","description":"Time of execution in system uptime","type":"bigint","hidden":false,"required":false,"index":false},{"name":"eid","description":"Event ID","type":"text","hidden":true,"required":false,"index":false}]},{"name":"user_groups","description":"Local system user group relationships.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"uid","description":"User ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"gid","description":"Group ID","type":"bigint","hidden":false,"required":false,"index":false}]},{"name":"user_interaction_events","description":"Track user interaction events from macOS' event tapping framework.","platforms":["darwin"],"columns":[{"name":"time","description":"Time","type":"bigint","hidden":false,"required":false,"index":false}]},{"name":"user_ssh_keys","description":"Returns the private keys in the users ~/.ssh directory and whether or not they are encrypted.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"uid","description":"The local user that owns the key file","type":"bigint","hidden":false,"required":false,"index":false},{"name":"path","description":"Path to key file","type":"text","hidden":false,"required":false,"index":false},{"name":"encrypted","description":"1 if key is encrypted, 0 otherwise","type":"integer","hidden":false,"required":false,"index":false},{"name":"key_type","description":"The type of the private key. One of [rsa, dsa, dh, ec, hmac, cmac], or the empty string.","type":"text","hidden":false,"required":false,"index":false},{"name":"pid_with_namespace","description":"Pids that contain a namespace","type":"integer","hidden":true,"required":false,"index":false}]},{"name":"userassist","description":"UserAssist Registry Key tracks when a user executes an application from Windows Explorer.","platforms":["windows"],"columns":[{"name":"path","description":"Application file path.","type":"text","hidden":false,"required":false,"index":false},{"name":"last_execution_time","description":"Most recent time application was executed.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"count","description":"Number of times the application has been executed.","type":"integer","hidden":false,"required":false,"index":false},{"name":"sid","description":"User SID.","type":"text","hidden":false,"required":false,"index":false}]},{"name":"users","description":"Local user accounts (including domain accounts that have logged on locally (Windows)).","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"uid","description":"User ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"gid","description":"Group ID (unsigned)","type":"bigint","hidden":false,"required":false,"index":false},{"name":"uid_signed","description":"User ID as int64 signed (Apple)","type":"bigint","hidden":false,"required":false,"index":false},{"name":"gid_signed","description":"Default group ID as int64 signed (Apple)","type":"bigint","hidden":false,"required":false,"index":false},{"name":"username","description":"Username","type":"text","hidden":false,"required":false,"index":false},{"name":"description","description":"Optional user description","type":"text","hidden":false,"required":false,"index":false},{"name":"directory","description":"User's home directory","type":"text","hidden":false,"required":false,"index":false},{"name":"shell","description":"User's configured default shell","type":"text","hidden":false,"required":false,"index":false},{"name":"uuid","description":"User's UUID (Apple) or SID (Windows)","type":"text","hidden":false,"required":false,"index":false},{"name":"type","description":"Whether the account is roaming (domain), local, or a system profile","type":"text","hidden":true,"required":false,"index":false},{"name":"is_hidden","description":"IsHidden attribute set in OpenDirectory","type":"integer","hidden":false,"required":false,"index":false},{"name":"pid_with_namespace","description":"Pids that contain a namespace","type":"integer","hidden":true,"required":false,"index":false}]},{"name":"video_info","description":"Retrieve video card information of the machine.","platforms":["windows"],"columns":[{"name":"color_depth","description":"The amount of bits per pixel to represent color.","type":"integer","hidden":false,"required":false,"index":false},{"name":"driver","description":"The driver of the device.","type":"text","hidden":false,"required":false,"index":false},{"name":"driver_date","description":"The date listed on the installed driver.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"driver_version","description":"The version of the installed driver.","type":"text","hidden":false,"required":false,"index":false},{"name":"manufacturer","description":"The manufacturer of the gpu.","type":"text","hidden":false,"required":false,"index":false},{"name":"model","description":"The model of the gpu.","type":"text","hidden":false,"required":false,"index":false},{"name":"series","description":"The series of the gpu.","type":"text","hidden":false,"required":false,"index":false},{"name":"video_mode","description":"The current resolution of the display.","type":"text","hidden":false,"required":false,"index":false}]},{"name":"virtual_memory_info","description":"Darwin Virtual Memory statistics.","platforms":["darwin"],"columns":[{"name":"free","description":"Total number of free pages.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"active","description":"Total number of active pages.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"inactive","description":"Total number of inactive pages.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"speculative","description":"Total number of speculative pages.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"throttled","description":"Total number of throttled pages.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"wired","description":"Total number of wired down pages.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"purgeable","description":"Total number of purgeable pages.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"faults","description":"Total number of calls to vm_faults.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"copy","description":"Total number of copy-on-write pages.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"zero_fill","description":"Total number of zero filled pages.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"reactivated","description":"Total number of reactivated pages.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"purged","description":"Total number of purged pages.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"file_backed","description":"Total number of file backed pages.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"anonymous","description":"Total number of anonymous pages.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"uncompressed","description":"Total number of uncompressed pages.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"compressor","description":"The number of pages used to store compressed VM pages.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"decompressed","description":"The total number of pages that have been decompressed by the VM compressor.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"compressed","description":"The total number of pages that have been compressed by the VM compressor.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"page_ins","description":"The total number of requests for pages from a pager.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"page_outs","description":"Total number of pages paged out.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"swap_ins","description":"The total number of compressed pages that have been swapped out to disk.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"swap_outs","description":"The total number of compressed pages that have been swapped back in from disk.","type":"bigint","hidden":false,"required":false,"index":false}]},{"name":"wifi_networks","description":"macOS known/remembered Wi-Fi networks list.","platforms":["darwin"],"columns":[{"name":"ssid","description":"SSID octets of the network","type":"text","hidden":false,"required":false,"index":false},{"name":"network_name","description":"Name of the network","type":"text","hidden":false,"required":false,"index":false},{"name":"security_type","description":"Type of security on this network","type":"text","hidden":false,"required":false,"index":false},{"name":"last_connected","description":"Last time this network was connected to as a unix_time","type":"integer","hidden":true,"required":false,"index":false},{"name":"passpoint","description":"1 if Passpoint is supported, 0 otherwise","type":"integer","hidden":true,"required":false,"index":false},{"name":"possibly_hidden","description":"1 if network is possibly a hidden network, 0 otherwise","type":"integer","hidden":false,"required":false,"index":false},{"name":"roaming","description":"1 if roaming is supported, 0 otherwise","type":"integer","hidden":true,"required":false,"index":false},{"name":"roaming_profile","description":"Describe the roaming profile, usually one of Single, Dual or Multi","type":"text","hidden":false,"required":false,"index":false},{"name":"auto_login","description":"1 if auto login is enabled, 0 otherwise","type":"integer","hidden":true,"required":false,"index":false},{"name":"temporarily_disabled","description":"1 if this network is temporarily disabled, 0 otherwise","type":"integer","hidden":false,"required":false,"index":false},{"name":"disabled","description":"1 if this network is disabled, 0 otherwise","type":"integer","hidden":true,"required":false,"index":false},{"name":"add_reason","description":"Shows why this network was added, via menubar or command line or something else ","type":"text","hidden":false,"required":false,"index":false},{"name":"added_at","description":"Time this network was added as a unix_time","type":"integer","hidden":false,"required":false,"index":false},{"name":"captive_portal","description":"1 if this network has a captive portal, 0 otherwise","type":"integer","hidden":false,"required":false,"index":false},{"name":"captive_login_date","description":"Time this network logged in to a captive portal as unix_time","type":"integer","hidden":false,"required":false,"index":false},{"name":"was_captive_network","description":"1 if this network was previously a captive network, 0 otherwise","type":"integer","hidden":false,"required":false,"index":false},{"name":"auto_join","description":"1 if this network set to join automatically, 0 otherwise","type":"integer","hidden":false,"required":false,"index":false},{"name":"personal_hotspot","description":"1 if this network is a personal hotspot, 0 otherwise","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"wifi_status","description":"macOS current WiFi status.","platforms":["darwin"],"columns":[{"name":"interface","description":"Name of the interface","type":"text","hidden":false,"required":false,"index":false},{"name":"ssid","description":"SSID octets of the network","type":"text","hidden":false,"required":false,"index":false},{"name":"bssid","description":"The current basic service set identifier","type":"text","hidden":false,"required":false,"index":false},{"name":"network_name","description":"Name of the network","type":"text","hidden":false,"required":false,"index":false},{"name":"country_code","description":"The country code (ISO/IEC 3166-1:1997) for the network","type":"text","hidden":false,"required":false,"index":false},{"name":"security_type","description":"Type of security on this network","type":"text","hidden":false,"required":false,"index":false},{"name":"rssi","description":"The current received signal strength indication (dbm)","type":"integer","hidden":false,"required":false,"index":false},{"name":"noise","description":"The current noise measurement (dBm)","type":"integer","hidden":false,"required":false,"index":false},{"name":"channel","description":"Channel number","type":"integer","hidden":false,"required":false,"index":false},{"name":"channel_width","description":"Channel width","type":"integer","hidden":false,"required":false,"index":false},{"name":"channel_band","description":"Channel band","type":"integer","hidden":false,"required":false,"index":false},{"name":"transmit_rate","description":"The current transmit rate","type":"text","hidden":false,"required":false,"index":false},{"name":"mode","description":"The current operating mode for the Wi-Fi interface","type":"text","hidden":false,"required":false,"index":false}]},{"name":"wifi_survey","description":"Scan for nearby WiFi networks.","platforms":["darwin"],"columns":[{"name":"interface","description":"Name of the interface","type":"text","hidden":false,"required":false,"index":false},{"name":"ssid","description":"SSID octets of the network","type":"text","hidden":false,"required":false,"index":false},{"name":"bssid","description":"The current basic service set identifier","type":"text","hidden":false,"required":false,"index":false},{"name":"network_name","description":"Name of the network","type":"text","hidden":false,"required":false,"index":false},{"name":"country_code","description":"The country code (ISO/IEC 3166-1:1997) for the network","type":"text","hidden":false,"required":false,"index":false},{"name":"rssi","description":"The current received signal strength indication (dbm)","type":"integer","hidden":false,"required":false,"index":false},{"name":"noise","description":"The current noise measurement (dBm)","type":"integer","hidden":false,"required":false,"index":false},{"name":"channel","description":"Channel number","type":"integer","hidden":false,"required":false,"index":false},{"name":"channel_width","description":"Channel width","type":"integer","hidden":false,"required":false,"index":false},{"name":"channel_band","description":"Channel band","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"winbaseobj","description":"Lists named Windows objects in the default object directories, across all terminal services sessions. Example Windows ojbect types include Mutexes, Events, Jobs and Semaphors.","platforms":["windows"],"columns":[{"name":"session_id","description":"Terminal Services Session Id","type":"integer","hidden":false,"required":false,"index":false},{"name":"object_name","description":"Object Name","type":"text","hidden":false,"required":false,"index":false},{"name":"object_type","description":"Object Type","type":"text","hidden":false,"required":false,"index":false}]},{"name":"windows_crashes","description":"Extracted information from Windows crash logs (Minidumps).","platforms":["windows"],"columns":[{"name":"datetime","description":"Timestamp (log format) of the crash","type":"text","hidden":false,"required":false,"index":false},{"name":"module","description":"Path of the crashed module within the process","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"Path of the executable file for the crashed process","type":"text","hidden":false,"required":false,"index":false},{"name":"pid","description":"Process ID of the crashed process","type":"bigint","hidden":false,"required":false,"index":false},{"name":"tid","description":"Thread ID of the crashed thread","type":"bigint","hidden":false,"required":false,"index":false},{"name":"version","description":"File version info of the crashed process","type":"text","hidden":false,"required":false,"index":false},{"name":"process_uptime","description":"Uptime of the process in seconds","type":"bigint","hidden":false,"required":false,"index":false},{"name":"stack_trace","description":"Multiple stack frames from the stack trace","type":"text","hidden":false,"required":false,"index":false},{"name":"exception_code","description":"The Windows exception code","type":"text","hidden":false,"required":false,"index":false},{"name":"exception_message","description":"The NTSTATUS error message associated with the exception code","type":"text","hidden":false,"required":false,"index":false},{"name":"exception_address","description":"Address (in hex) where the exception occurred","type":"text","hidden":false,"required":false,"index":false},{"name":"registers","description":"The values of the system registers","type":"text","hidden":false,"required":false,"index":false},{"name":"command_line","description":"Command-line string passed to the crashed process","type":"text","hidden":false,"required":false,"index":false},{"name":"current_directory","description":"Current working directory of the crashed process","type":"text","hidden":false,"required":false,"index":false},{"name":"username","description":"Username of the user who ran the crashed process","type":"text","hidden":false,"required":false,"index":false},{"name":"machine_name","description":"Name of the machine where the crash happened","type":"text","hidden":false,"required":false,"index":false},{"name":"major_version","description":"Windows major version of the machine","type":"integer","hidden":false,"required":false,"index":false},{"name":"minor_version","description":"Windows minor version of the machine","type":"integer","hidden":false,"required":false,"index":false},{"name":"build_number","description":"Windows build number of the crashing machine","type":"integer","hidden":false,"required":false,"index":false},{"name":"type","description":"Type of crash log","type":"text","hidden":false,"required":false,"index":false},{"name":"crash_path","description":"Path of the log file","type":"text","hidden":false,"required":false,"index":false}]},{"name":"windows_eventlog","description":"Table for querying all recorded Windows event logs.","platforms":["windows"],"columns":[{"name":"channel","description":"Source or channel of the event","type":"text","hidden":false,"required":true,"index":false},{"name":"datetime","description":"System time at which the event occurred","type":"text","hidden":false,"required":false,"index":false},{"name":"task","description":"Task value associated with the event","type":"integer","hidden":false,"required":false,"index":false},{"name":"level","description":"Severity level associated with the event","type":"integer","hidden":false,"required":false,"index":false},{"name":"provider_name","description":"Provider name of the event","type":"text","hidden":false,"required":false,"index":false},{"name":"provider_guid","description":"Provider guid of the event","type":"text","hidden":false,"required":false,"index":false},{"name":"computer_name","description":"Hostname of system where event was generated","type":"text","hidden":false,"required":false,"index":false},{"name":"eventid","description":"Event ID of the event","type":"integer","hidden":false,"required":false,"index":false},{"name":"keywords","description":"A bitmask of the keywords defined in the event","type":"text","hidden":false,"required":false,"index":false},{"name":"data","description":"Data associated with the event","type":"text","hidden":false,"required":false,"index":false},{"name":"pid","description":"Process ID which emitted the event record","type":"integer","hidden":false,"required":false,"index":false},{"name":"tid","description":"Thread ID which emitted the event record","type":"integer","hidden":false,"required":false,"index":false},{"name":"time_range","description":"System time to selectively filter the events","type":"text","hidden":true,"required":false,"index":false},{"name":"timestamp","description":"Timestamp to selectively filter the events","type":"text","hidden":true,"required":false,"index":false},{"name":"xpath","description":"The custom query to filter events","type":"text","hidden":true,"required":true,"index":false}]},{"name":"windows_events","description":"Windows Event logs.","platforms":["windows"],"columns":[{"name":"time","description":"Timestamp the event was received","type":"bigint","hidden":false,"required":false,"index":false},{"name":"datetime","description":"System time at which the event occurred","type":"text","hidden":false,"required":false,"index":false},{"name":"source","description":"Source or channel of the event","type":"text","hidden":false,"required":false,"index":false},{"name":"provider_name","description":"Provider name of the event","type":"text","hidden":false,"required":false,"index":false},{"name":"provider_guid","description":"Provider guid of the event","type":"text","hidden":false,"required":false,"index":false},{"name":"computer_name","description":"Hostname of system where event was generated","type":"text","hidden":false,"required":false,"index":false},{"name":"eventid","description":"Event ID of the event","type":"integer","hidden":false,"required":false,"index":false},{"name":"task","description":"Task value associated with the event","type":"integer","hidden":false,"required":false,"index":false},{"name":"level","description":"The severity level associated with the event","type":"integer","hidden":false,"required":false,"index":false},{"name":"keywords","description":"A bitmask of the keywords defined in the event","type":"text","hidden":false,"required":false,"index":false},{"name":"data","description":"Data associated with the event","type":"text","hidden":false,"required":false,"index":false},{"name":"eid","description":"Event ID","type":"text","hidden":true,"required":false,"index":false}]},{"name":"windows_firewall_rules","description":"Provides the list of Windows firewall rules.","platforms":["windows"],"columns":[{"name":"name","description":"Friendly name of the rule","type":"text","hidden":false,"required":false,"index":false},{"name":"app_name","description":"Friendly name of the application to which the rule applies","type":"text","hidden":false,"required":false,"index":false},{"name":"action","description":"Action for the rule or default setting","type":"text","hidden":false,"required":false,"index":false},{"name":"enabled","description":"1 if the rule is enabled","type":"integer","hidden":false,"required":false,"index":false},{"name":"grouping","description":"Group to which an individual rule belongs","type":"text","hidden":false,"required":false,"index":false},{"name":"direction","description":"Direction of traffic for which the rule applies","type":"text","hidden":false,"required":false,"index":false},{"name":"protocol","description":"IP protocol of the rule","type":"text","hidden":false,"required":false,"index":false},{"name":"local_addresses","description":"Local addresses for the rule","type":"text","hidden":false,"required":false,"index":false},{"name":"remote_addresses","description":"Remote addresses for the rule","type":"text","hidden":false,"required":false,"index":false},{"name":"local_ports","description":"Local ports for the rule","type":"text","hidden":false,"required":false,"index":false},{"name":"remote_ports","description":"Remote ports for the rule","type":"text","hidden":false,"required":false,"index":false},{"name":"icmp_types_codes","description":"ICMP types and codes for the rule","type":"text","hidden":false,"required":false,"index":false},{"name":"profile_domain","description":"1 if the rule profile type is domain","type":"integer","hidden":false,"required":false,"index":false},{"name":"profile_private","description":"1 if the rule profile type is private","type":"integer","hidden":false,"required":false,"index":false},{"name":"profile_public","description":"1 if the rule profile type is public","type":"integer","hidden":false,"required":false,"index":false},{"name":"service_name","description":"Service name property of the application","type":"text","hidden":false,"required":false,"index":false}]},{"name":"windows_optional_features","description":"Lists names and installation states of windows features. Maps to Win32_OptionalFeature WMI class.","platforms":["windows"],"columns":[{"name":"name","description":"Name of the feature","type":"text","hidden":false,"required":false,"index":false},{"name":"caption","description":"Caption of feature in settings UI","type":"text","hidden":false,"required":false,"index":false},{"name":"state","description":"Installation state value. 1 == Enabled, 2 == Disabled, 3 == Absent","type":"integer","hidden":false,"required":false,"index":false},{"name":"statename","description":"Installation state name. 'Enabled','Disabled','Absent'","type":"text","hidden":false,"required":false,"index":false}]},{"name":"windows_security_center","description":"The health status of Window Security features. Health values can be \"Good\", \"Poor\". \"Snoozed\", \"Not Monitored\", and \"Error\".","platforms":["windows"],"columns":[{"name":"firewall","description":"The health of the monitored Firewall (see windows_security_products)","type":"text","hidden":false,"required":false,"index":false},{"name":"autoupdate","description":"The health of the Windows Autoupdate feature","type":"text","hidden":false,"required":false,"index":false},{"name":"antivirus","description":"The health of the monitored Antivirus solution (see windows_security_products)","type":"text","hidden":false,"required":false,"index":false},{"name":"antispyware","description":"Deprecated (always 'Good').","type":"text","hidden":true,"required":false,"index":false},{"name":"internet_settings","description":"The health of the Internet Settings","type":"text","hidden":false,"required":false,"index":false},{"name":"windows_security_center_service","description":"The health of the Windows Security Center Service","type":"text","hidden":false,"required":false,"index":false},{"name":"user_account_control","description":"The health of the User Account Control (UAC) capability in Windows","type":"text","hidden":false,"required":false,"index":false}]},{"name":"windows_security_products","description":"Enumeration of registered Windows security products.","platforms":["windows"],"columns":[{"name":"type","description":"Type of security product","type":"text","hidden":false,"required":false,"index":false},{"name":"name","description":"Name of product","type":"text","hidden":false,"required":false,"index":false},{"name":"state","description":"State of protection","type":"text","hidden":false,"required":false,"index":false},{"name":"state_timestamp","description":"Timestamp for the product state","type":"text","hidden":false,"required":false,"index":false},{"name":"remediation_path","description":"Remediation path","type":"text","hidden":false,"required":false,"index":false},{"name":"signatures_up_to_date","description":"1 if product signatures are up to date, else 0","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"windows_update_history","description":"Provides the history of the windows update events.","platforms":["windows"],"columns":[{"name":"client_app_id","description":"Identifier of the client application that processed an update","type":"text","hidden":false,"required":false,"index":false},{"name":"date","description":"Date and the time an update was applied","type":"bigint","hidden":false,"required":false,"index":false},{"name":"description","description":"Description of an update","type":"text","hidden":false,"required":false,"index":false},{"name":"hresult","description":"HRESULT value that is returned from the operation on an update","type":"bigint","hidden":false,"required":false,"index":false},{"name":"operation","description":"Operation on an update","type":"text","hidden":false,"required":false,"index":false},{"name":"result_code","description":"Result of an operation on an update","type":"text","hidden":false,"required":false,"index":false},{"name":"server_selection","description":"Value that indicates which server provided an update","type":"text","hidden":false,"required":false,"index":false},{"name":"service_id","description":"Service identifier of an update service that is not a Windows update","type":"text","hidden":false,"required":false,"index":false},{"name":"support_url","description":"Hyperlink to the language-specific support information for an update","type":"text","hidden":false,"required":false,"index":false},{"name":"title","description":"Title of an update","type":"text","hidden":false,"required":false,"index":false},{"name":"update_id","description":"Revision-independent identifier of an update","type":"text","hidden":false,"required":false,"index":false},{"name":"update_revision","description":"Revision number of an update","type":"bigint","hidden":false,"required":false,"index":false}]},{"name":"wmi_bios_info","description":"Lists important information from the system bios.","platforms":["windows"],"columns":[{"name":"name","description":"Name of the Bios setting","type":"text","hidden":false,"required":false,"index":false},{"name":"value","description":"Value of the Bios setting","type":"text","hidden":false,"required":false,"index":false}]},{"name":"wmi_cli_event_consumers","description":"WMI CommandLineEventConsumer, which can be used for persistence on Windows. See https://www.blackhat.com/docs/us-15/materials/us-15-Graeber-Abusing-Windows-Management-Instrumentation-WMI-To-Build-A-Persistent%20Asynchronous-And-Fileless-Backdoor-wp.pdf for more details.","platforms":["windows"],"columns":[{"name":"name","description":"Unique name of a consumer.","type":"text","hidden":false,"required":false,"index":false},{"name":"command_line_template","description":"Standard string template that specifies the process to be started. This property can be NULL, and the ExecutablePath property is used as the command line.","type":"text","hidden":false,"required":false,"index":false},{"name":"executable_path","description":"Module to execute. The string can specify the full path and file name of the module to execute, or it can specify a partial name. If a partial name is specified, the current drive and current directory are assumed.","type":"text","hidden":false,"required":false,"index":false},{"name":"class","description":"The name of the class.","type":"text","hidden":false,"required":false,"index":false},{"name":"relative_path","description":"Relative path to the class or instance.","type":"text","hidden":false,"required":false,"index":false}]},{"name":"wmi_event_filters","description":"Lists WMI event filters.","platforms":["windows"],"columns":[{"name":"name","description":"Unique identifier of an event filter.","type":"text","hidden":false,"required":false,"index":false},{"name":"query","description":"Windows Management Instrumentation Query Language (WQL) event query that specifies the set of events for consumer notification, and the specific conditions for notification.","type":"text","hidden":false,"required":false,"index":false},{"name":"query_language","description":"Query language that the query is written in.","type":"text","hidden":false,"required":false,"index":false},{"name":"class","description":"The name of the class.","type":"text","hidden":false,"required":false,"index":false},{"name":"relative_path","description":"Relative path to the class or instance.","type":"text","hidden":false,"required":false,"index":false}]},{"name":"wmi_filter_consumer_binding","description":"Lists the relationship between event consumers and filters.","platforms":["windows"],"columns":[{"name":"consumer","description":"Reference to an instance of __EventConsumer that represents the object path to a logical consumer, the recipient of an event.","type":"text","hidden":false,"required":false,"index":false},{"name":"filter","description":"Reference to an instance of __EventFilter that represents the object path to an event filter which is a query that specifies the type of event to be received.","type":"text","hidden":false,"required":false,"index":false},{"name":"class","description":"The name of the class.","type":"text","hidden":false,"required":false,"index":false},{"name":"relative_path","description":"Relative path to the class or instance.","type":"text","hidden":false,"required":false,"index":false}]},{"name":"wmi_script_event_consumers","description":"WMI ActiveScriptEventConsumer, which can be used for persistence on Windows. See https://www.blackhat.com/docs/us-15/materials/us-15-Graeber-Abusing-Windows-Management-Instrumentation-WMI-To-Build-A-Persistent%20Asynchronous-And-Fileless-Backdoor-wp.pdf for more details.","platforms":["windows"],"columns":[{"name":"name","description":"Unique identifier for the event consumer. ","type":"text","hidden":false,"required":false,"index":false},{"name":"scripting_engine","description":"Name of the scripting engine to use, for example, 'VBScript'. This property cannot be NULL.","type":"text","hidden":false,"required":false,"index":false},{"name":"script_file_name","description":"Name of the file from which the script text is read, intended as an alternative to specifying the text of the script in the ScriptText property.","type":"text","hidden":false,"required":false,"index":false},{"name":"script_text","description":"Text of the script that is expressed in a language known to the scripting engine. This property must be NULL if the ScriptFileName property is not NULL.","type":"text","hidden":false,"required":false,"index":false},{"name":"class","description":"The name of the class.","type":"text","hidden":false,"required":false,"index":false},{"name":"relative_path","description":"Relative path to the class or instance.","type":"text","hidden":false,"required":false,"index":false}]},{"name":"xprotect_entries","description":"Database of the machine's XProtect signatures.","platforms":["darwin"],"columns":[{"name":"name","description":"Description of XProtected malware","type":"text","hidden":false,"required":false,"index":false},{"name":"launch_type","description":"Launch services content type","type":"text","hidden":false,"required":false,"index":false},{"name":"identity","description":"XProtect identity (SHA1) of content","type":"text","hidden":false,"required":false,"index":false},{"name":"filename","description":"Use this file name to match","type":"text","hidden":false,"required":false,"index":false},{"name":"filetype","description":"Use this file type to match","type":"text","hidden":false,"required":false,"index":false},{"name":"optional","description":"Match any of the identities/patterns for this XProtect name","type":"integer","hidden":false,"required":false,"index":false},{"name":"uses_pattern","description":"Uses a match pattern instead of identity","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"xprotect_meta","description":"Database of the machine's XProtect browser-related signatures.","platforms":["darwin"],"columns":[{"name":"identifier","description":"Browser plugin or extension identifier","type":"text","hidden":false,"required":false,"index":false},{"name":"type","description":"Either plugin or extension","type":"text","hidden":false,"required":false,"index":false},{"name":"developer_id","description":"Developer identity (SHA1) of extension","type":"text","hidden":false,"required":false,"index":false},{"name":"min_version","description":"The minimum allowed plugin version.","type":"text","hidden":false,"required":false,"index":false}]},{"name":"xprotect_reports","description":"Database of XProtect matches (if user generated/sent an XProtect report).","platforms":["darwin"],"columns":[{"name":"name","description":"Description of XProtected malware","type":"text","hidden":false,"required":false,"index":false},{"name":"user_action","description":"Action taken by user after prompted","type":"text","hidden":false,"required":false,"index":false},{"name":"time","description":"Quarantine alert time","type":"text","hidden":false,"required":false,"index":false}]},{"name":"yara","description":"Track YARA matches for files or PIDs.","platforms":["darwin","linux","windows"],"columns":[{"name":"path","description":"The path scanned","type":"text","hidden":false,"required":true,"index":false},{"name":"matches","description":"List of YARA matches","type":"text","hidden":false,"required":false,"index":false},{"name":"count","description":"Number of YARA matches","type":"integer","hidden":false,"required":false,"index":false},{"name":"sig_group","description":"Signature group used","type":"text","hidden":false,"required":false,"index":false},{"name":"sigfile","description":"Signature file used","type":"text","hidden":false,"required":false,"index":false},{"name":"sigrule","description":"Signature strings used","type":"text","hidden":true,"required":false,"index":false},{"name":"strings","description":"Matching strings","type":"text","hidden":false,"required":false,"index":false},{"name":"tags","description":"Matching tags","type":"text","hidden":false,"required":false,"index":false},{"name":"sigurl","description":"Signature url","type":"text","hidden":true,"required":false,"index":false}]},{"name":"yara_events","description":"Track YARA matches for files specified in configuration data.","platforms":["darwin","linux","windows"],"columns":[{"name":"target_path","description":"The path scanned","type":"text","hidden":false,"required":false,"index":false},{"name":"category","description":"The category of the file","type":"text","hidden":false,"required":false,"index":false},{"name":"action","description":"Change action (UPDATE, REMOVE, etc)","type":"text","hidden":false,"required":false,"index":false},{"name":"transaction_id","description":"ID used during bulk update","type":"bigint","hidden":false,"required":false,"index":false},{"name":"matches","description":"List of YARA matches","type":"text","hidden":false,"required":false,"index":false},{"name":"count","description":"Number of YARA matches","type":"integer","hidden":false,"required":false,"index":false},{"name":"strings","description":"Matching strings","type":"text","hidden":false,"required":false,"index":false},{"name":"tags","description":"Matching tags","type":"text","hidden":false,"required":false,"index":false},{"name":"time","description":"Time of the scan","type":"bigint","hidden":false,"required":false,"index":false},{"name":"eid","description":"Event ID","type":"text","hidden":true,"required":false,"index":false}]},{"name":"ycloud_instance_metadata","description":"Yandex.Cloud instance metadata.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"instance_id","description":"Unique identifier for the VM","type":"text","hidden":false,"required":false,"index":false},{"name":"folder_id","description":"Folder identifier for the VM","type":"text","hidden":false,"required":false,"index":false},{"name":"name","description":"Name of the VM","type":"text","hidden":false,"required":false,"index":false},{"name":"description","description":"Description of the VM","type":"text","hidden":false,"required":false,"index":false},{"name":"hostname","description":"Hostname of the VM","type":"text","hidden":false,"required":false,"index":false},{"name":"zone","description":"Availability zone of the VM","type":"text","hidden":false,"required":false,"index":false},{"name":"ssh_public_key","description":"SSH public key. Only available if supplied at instance launch time","type":"text","hidden":false,"required":false,"index":false},{"name":"serial_port_enabled","description":"Indicates if serial port is enabled for the VM","type":"text","hidden":false,"required":false,"index":false},{"name":"metadata_endpoint","description":"Endpoint used to fetch VM metadata","type":"text","hidden":false,"required":false,"index":false}]},{"name":"yum_sources","description":"Current list of Yum repositories or software channels.","platforms":["linux"],"columns":[{"name":"name","description":"Repository name","type":"text","hidden":false,"required":false,"index":false},{"name":"baseurl","description":"Repository base URL","type":"text","hidden":false,"required":false,"index":false},{"name":"mirrorlist","description":"Mirrorlist URL","type":"text","hidden":false,"required":false,"index":false},{"name":"enabled","description":"Whether the repository is used","type":"text","hidden":false,"required":false,"index":false},{"name":"gpgcheck","description":"Whether packages are GPG checked","type":"text","hidden":false,"required":false,"index":false},{"name":"gpgkey","description":"URL to GPG key","type":"text","hidden":false,"required":false,"index":false},{"name":"pid_with_namespace","description":"Pids that contain a namespace","type":"integer","hidden":true,"required":false,"index":false}]},{"name":"host_users","description":"Local user accounts (including domain accounts that have logged on locally (Windows)).","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"uid","description":"User ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"gid","description":"Group ID (unsigned)","type":"bigint","hidden":false,"required":false,"index":false},{"name":"uid_signed","description":"User ID as int64 signed (Apple)","type":"bigint","hidden":false,"required":false,"index":false},{"name":"gid_signed","description":"Default group ID as int64 signed (Apple)","type":"bigint","hidden":false,"required":false,"index":false},{"name":"username","description":"Username","type":"text","hidden":false,"required":false,"index":false},{"name":"description","description":"Optional user description","type":"text","hidden":false,"required":false,"index":false},{"name":"directory","description":"User's home directory","type":"text","hidden":false,"required":false,"index":false},{"name":"shell","description":"User's configured default shell","type":"text","hidden":false,"required":false,"index":false},{"name":"uuid","description":"User's UUID (Apple) or SID (Windows)","type":"text","hidden":false,"required":false,"index":false},{"name":"type","description":"Whether the account is roaming (domain), local, or a system profile","type":"text","hidden":true,"required":false,"index":false},{"name":"is_hidden","description":"IsHidden attribute set in OpenDirectory","type":"integer","hidden":false,"required":false,"index":false},{"name":"pid_with_namespace","description":"Pids that contain a namespace","type":"integer","hidden":true,"required":false,"index":false}]},{"name":"host_groups","description":"Local system groups.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"gid","description":"Unsigned int64 group ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"gid_signed","description":"A signed int64 version of gid","type":"bigint","hidden":false,"required":false,"index":false},{"name":"groupname","description":"Canonical local group name","type":"text","hidden":false,"required":false,"index":false},{"name":"group_sid","description":"Unique group ID","type":"text","hidden":true,"required":false,"index":false},{"name":"comment","description":"Remarks or comments associated with the group","type":"text","hidden":true,"required":false,"index":false},{"name":"is_hidden","description":"IsHidden attribute set in OpenDirectory","type":"integer","hidden":false,"required":false,"index":false},{"name":"pid_with_namespace","description":"Pids that contain a namespace","type":"integer","hidden":true,"required":false,"index":false}]},{"name":"host_processes","description":"All running processes on the host system.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"pid","description":"Process (or thread) ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"name","description":"The process path or shorthand argv[0]","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"Path to executed binary","type":"text","hidden":false,"required":false,"index":false},{"name":"cmdline","description":"Complete argv","type":"text","hidden":false,"required":false,"index":false},{"name":"state","description":"Process state","type":"text","hidden":false,"required":false,"index":false},{"name":"cwd","description":"Process current working directory","type":"text","hidden":false,"required":false,"index":false},{"name":"root","description":"Process virtual root directory","type":"text","hidden":false,"required":false,"index":false},{"name":"uid","description":"Unsigned user ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"gid","description":"Unsigned group ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"euid","description":"Unsigned effective user ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"egid","description":"Unsigned effective group ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"suid","description":"Unsigned saved user ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"sgid","description":"Unsigned saved group ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"on_disk","description":"The process path exists yes=1, no=0, unknown=-1","type":"integer","hidden":false,"required":false,"index":false},{"name":"wired_size","description":"Bytes of unpageable memory used by process","type":"bigint","hidden":false,"required":false,"index":false},{"name":"resident_size","description":"Bytes of private memory used by process","type":"bigint","hidden":false,"required":false,"index":false},{"name":"total_size","description":"Total virtual memory size","type":"bigint","hidden":false,"required":false,"index":false},{"name":"user_time","description":"CPU time in milliseconds spent in user space","type":"bigint","hidden":false,"required":false,"index":false},{"name":"system_time","description":"CPU time in milliseconds spent in kernel space","type":"bigint","hidden":false,"required":false,"index":false},{"name":"disk_bytes_read","description":"Bytes read from disk","type":"bigint","hidden":false,"required":false,"index":false},{"name":"disk_bytes_written","description":"Bytes written to disk","type":"bigint","hidden":false,"required":false,"index":false},{"name":"start_time","description":"Process start time in seconds since Epoch, in case of error -1","type":"bigint","hidden":false,"required":false,"index":false},{"name":"parent","description":"Process parent's PID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"pgroup","description":"Process group","type":"bigint","hidden":false,"required":false,"index":false},{"name":"threads","description":"Number of threads used by process","type":"integer","hidden":false,"required":false,"index":false},{"name":"nice","description":"Process nice level (-20 to 20, default 0)","type":"integer","hidden":false,"required":false,"index":false},{"name":"elevated_token","description":"Process uses elevated token yes=1, no=0","type":"integer","hidden":true,"required":false,"index":false},{"name":"secure_process","description":"Process is secure (IUM) yes=1, no=0","type":"integer","hidden":true,"required":false,"index":false},{"name":"protection_type","description":"The protection type of the process","type":"text","hidden":true,"required":false,"index":false},{"name":"virtual_process","description":"Process is virtual (e.g. System, Registry, vmmem) yes=1, no=0","type":"integer","hidden":true,"required":false,"index":false},{"name":"elapsed_time","description":"Elapsed time in seconds this process has been running.","type":"bigint","hidden":true,"required":false,"index":false},{"name":"handle_count","description":"Total number of handles that the process has open. This number is the sum of the handles currently opened by each thread in the process.","type":"bigint","hidden":true,"required":false,"index":false},{"name":"percent_processor_time","description":"Returns elapsed time that all of the threads of this process used the processor to execute instructions in 100 nanoseconds ticks.","type":"bigint","hidden":true,"required":false,"index":false},{"name":"upid","description":"A 64bit pid that is never reused. Returns -1 if we couldn't gather them from the system.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"uppid","description":"The 64bit parent pid that is never reused. Returns -1 if we couldn't gather them from the system.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"cpu_type","description":"Indicates the specific processor designed for installation.","type":"integer","hidden":false,"required":false,"index":false},{"name":"cpu_subtype","description":"Indicates the specific processor on which an entry may be used.","type":"integer","hidden":false,"required":false,"index":false},{"name":"translated","description":"Indicates whether the process is running under the Rosetta Translation Environment, yes=1, no=0, error=-1.","type":"integer","hidden":false,"required":false,"index":false}]}] \ No newline at end of file diff --git a/x-pack/plugins/osquery/public/common/schemas/osquery/v5.5.1.json b/x-pack/plugins/osquery/public/common/schemas/osquery/v5.5.1.json new file mode 100644 index 0000000000000..046fd2e7a6a39 --- /dev/null +++ b/x-pack/plugins/osquery/public/common/schemas/osquery/v5.5.1.json @@ -0,0 +1 @@ +[{"name":"account_policy_data","description":"Additional macOS user account data from the AccountPolicy section of OpenDirectory.","platforms":["darwin"],"columns":[{"name":"uid","description":"User ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"creation_time","description":"When the account was first created","type":"double","hidden":false,"required":false,"index":false},{"name":"failed_login_count","description":"The number of failed login attempts using an incorrect password. Count resets after a correct password is entered.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"failed_login_timestamp","description":"The time of the last failed login attempt. Resets after a correct password is entered","type":"double","hidden":false,"required":false,"index":false},{"name":"password_last_set_time","description":"The time the password was last changed","type":"double","hidden":false,"required":false,"index":false}]},{"name":"acpi_tables","description":"Firmware ACPI functional table common metadata and content.","platforms":["darwin","linux"],"columns":[{"name":"name","description":"ACPI table name","type":"text","hidden":false,"required":false,"index":false},{"name":"size","description":"Size of compiled table data","type":"integer","hidden":false,"required":false,"index":false},{"name":"md5","description":"MD5 hash of table content","type":"text","hidden":false,"required":false,"index":false}]},{"name":"ad_config","description":"macOS Active Directory configuration.","platforms":["darwin"],"columns":[{"name":"name","description":"The macOS-specific configuration name","type":"text","hidden":false,"required":false,"index":false},{"name":"domain","description":"Active Directory trust domain","type":"text","hidden":false,"required":false,"index":false},{"name":"option","description":"Canonical name of option","type":"text","hidden":false,"required":false,"index":false},{"name":"value","description":"Variable typed option value","type":"text","hidden":false,"required":false,"index":false}]},{"name":"alf","description":"macOS application layer firewall (ALF) service details.","platforms":["darwin"],"columns":[{"name":"allow_signed_enabled","description":"1 If allow signed mode is enabled else 0","type":"integer","hidden":false,"required":false,"index":false},{"name":"firewall_unload","description":"1 If firewall unloading enabled else 0","type":"integer","hidden":false,"required":false,"index":false},{"name":"global_state","description":"1 If the firewall is enabled with exceptions, 2 if the firewall is configured to block all incoming connections, else 0","type":"integer","hidden":false,"required":false,"index":false},{"name":"logging_enabled","description":"1 If logging mode is enabled else 0","type":"integer","hidden":false,"required":false,"index":false},{"name":"logging_option","description":"Firewall logging option","type":"integer","hidden":false,"required":false,"index":false},{"name":"stealth_enabled","description":"1 If stealth mode is enabled else 0","type":"integer","hidden":false,"required":false,"index":false},{"name":"version","description":"Application Layer Firewall version","type":"text","hidden":false,"required":false,"index":false}]},{"name":"alf_exceptions","description":"macOS application layer firewall (ALF) service exceptions.","platforms":["darwin"],"columns":[{"name":"path","description":"Path to the executable that is excepted","type":"text","hidden":false,"required":false,"index":false},{"name":"state","description":"Firewall exception state","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"alf_explicit_auths","description":"ALF services explicitly allowed to perform networking.","platforms":["darwin"],"columns":[{"name":"process","description":"Process name explicitly allowed","type":"text","hidden":false,"required":false,"index":false}]},{"name":"app_schemes","description":"macOS application schemes and handlers (e.g., http, file, mailto).","platforms":["darwin"],"columns":[{"name":"scheme","description":"Name of the scheme/protocol","type":"text","hidden":false,"required":false,"index":false},{"name":"handler","description":"Application label for the handler","type":"text","hidden":false,"required":false,"index":false},{"name":"enabled","description":"1 if this handler is the OS default, else 0","type":"integer","hidden":false,"required":false,"index":false},{"name":"external","description":"1 if this handler does NOT exist on macOS by default, else 0","type":"integer","hidden":false,"required":false,"index":false},{"name":"protected","description":"1 if this handler is protected (reserved) by macOS, else 0","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"apparmor_events","description":"Track AppArmor events.","platforms":["linux"],"columns":[{"name":"type","description":"Event type","type":"text","hidden":false,"required":false,"index":false},{"name":"message","description":"Raw audit message","type":"text","hidden":false,"required":false,"index":false},{"name":"time","description":"Time of execution in UNIX time","type":"bigint","hidden":false,"required":false,"index":false},{"name":"uptime","description":"Time of execution in system uptime","type":"bigint","hidden":false,"required":false,"index":false},{"name":"eid","description":"Event ID","type":"text","hidden":true,"required":false,"index":false},{"name":"apparmor","description":"Apparmor Status like ALLOWED, DENIED etc.","type":"text","hidden":false,"required":false,"index":false},{"name":"operation","description":"Permission requested by the process","type":"text","hidden":false,"required":false,"index":false},{"name":"parent","description":"Parent process PID","type":"unsigned_bigint","hidden":false,"required":false,"index":false},{"name":"profile","description":"Apparmor profile name","type":"text","hidden":false,"required":false,"index":false},{"name":"name","description":"Process name","type":"text","hidden":false,"required":false,"index":false},{"name":"pid","description":"Process ID","type":"unsigned_bigint","hidden":false,"required":false,"index":false},{"name":"comm","description":"Command-line name of the command that was used to invoke the analyzed process","type":"text","hidden":false,"required":false,"index":false},{"name":"denied_mask","description":"Denied permissions for the process","type":"text","hidden":false,"required":false,"index":false},{"name":"capname","description":"Capability requested by the process","type":"text","hidden":false,"required":false,"index":false},{"name":"fsuid","description":"Filesystem user ID","type":"unsigned_bigint","hidden":false,"required":false,"index":false},{"name":"ouid","description":"Object owner's user ID","type":"unsigned_bigint","hidden":false,"required":false,"index":false},{"name":"capability","description":"Capability number","type":"bigint","hidden":false,"required":false,"index":false},{"name":"requested_mask","description":"Requested access mask","type":"text","hidden":false,"required":false,"index":false},{"name":"info","description":"Additional information","type":"text","hidden":false,"required":false,"index":false},{"name":"error","description":"Error information","type":"text","hidden":false,"required":false,"index":false},{"name":"namespace","description":"AppArmor namespace","type":"text","hidden":false,"required":false,"index":false},{"name":"label","description":"AppArmor label","type":"text","hidden":false,"required":false,"index":false}]},{"name":"apparmor_profiles","description":"Track active AppArmor profiles.","platforms":["linux"],"columns":[{"name":"path","description":"Unique, aa-status compatible, policy identifier.","type":"text","hidden":false,"required":false,"index":false},{"name":"name","description":"Policy name.","type":"text","hidden":false,"required":false,"index":false},{"name":"attach","description":"Which executable(s) a profile will attach to.","type":"text","hidden":false,"required":false,"index":false},{"name":"mode","description":"How the policy is applied.","type":"text","hidden":false,"required":false,"index":false},{"name":"sha1","description":"A unique hash that identifies this policy.","type":"text","hidden":false,"required":false,"index":false}]},{"name":"appcompat_shims","description":"Application Compatibility shims are a way to persist malware. This table presents the AppCompat Shim information from the registry in a nice format. See http://files.brucon.org/2015/Tomczak_and_Ballenthin_Shims_for_the_Win.pdf for more details.","platforms":["windows"],"columns":[{"name":"executable","description":"Name of the executable that is being shimmed. This is pulled from the registry.","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"This is the path to the SDB database.","type":"text","hidden":false,"required":false,"index":false},{"name":"description","description":"Description of the SDB.","type":"text","hidden":false,"required":false,"index":false},{"name":"install_time","description":"Install time of the SDB","type":"integer","hidden":false,"required":false,"index":false},{"name":"type","description":"Type of the SDB database.","type":"text","hidden":false,"required":false,"index":false},{"name":"sdb_id","description":"Unique GUID of the SDB.","type":"text","hidden":false,"required":false,"index":false}]},{"name":"apps","description":"macOS applications installed in known search paths (e.g., /Applications).","platforms":["darwin"],"columns":[{"name":"name","description":"Name of the Name.app folder","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"Absolute and full Name.app path","type":"text","hidden":false,"required":false,"index":false},{"name":"bundle_executable","description":"Info properties CFBundleExecutable label","type":"text","hidden":false,"required":false,"index":false},{"name":"bundle_identifier","description":"Info properties CFBundleIdentifier label","type":"text","hidden":false,"required":false,"index":false},{"name":"bundle_name","description":"Info properties CFBundleName label","type":"text","hidden":false,"required":false,"index":false},{"name":"bundle_short_version","description":"Info properties CFBundleShortVersionString label","type":"text","hidden":false,"required":false,"index":false},{"name":"bundle_version","description":"Info properties CFBundleVersion label","type":"text","hidden":false,"required":false,"index":false},{"name":"bundle_package_type","description":"Info properties CFBundlePackageType label","type":"text","hidden":false,"required":false,"index":false},{"name":"environment","description":"Application-set environment variables","type":"text","hidden":false,"required":false,"index":false},{"name":"element","description":"Does the app identify as a background agent","type":"text","hidden":false,"required":false,"index":false},{"name":"compiler","description":"Info properties DTCompiler label","type":"text","hidden":false,"required":false,"index":false},{"name":"development_region","description":"Info properties CFBundleDevelopmentRegion label","type":"text","hidden":false,"required":false,"index":false},{"name":"display_name","description":"Info properties CFBundleDisplayName label","type":"text","hidden":false,"required":false,"index":false},{"name":"info_string","description":"Info properties CFBundleGetInfoString label","type":"text","hidden":false,"required":false,"index":false},{"name":"minimum_system_version","description":"Minimum version of macOS required for the app to run","type":"text","hidden":false,"required":false,"index":false},{"name":"category","description":"The UTI that categorizes the app for the App Store","type":"text","hidden":false,"required":false,"index":false},{"name":"applescript_enabled","description":"Info properties NSAppleScriptEnabled label","type":"text","hidden":false,"required":false,"index":false},{"name":"copyright","description":"Info properties NSHumanReadableCopyright label","type":"text","hidden":false,"required":false,"index":false},{"name":"last_opened_time","description":"The time that the app was last used","type":"double","hidden":false,"required":false,"index":false}]},{"name":"apt_sources","description":"Current list of APT repositories or software channels.","platforms":["linux"],"columns":[{"name":"name","description":"Repository name","type":"text","hidden":false,"required":false,"index":false},{"name":"source","description":"Source file","type":"text","hidden":false,"required":false,"index":false},{"name":"base_uri","description":"Repository base URI","type":"text","hidden":false,"required":false,"index":false},{"name":"release","description":"Release name","type":"text","hidden":false,"required":false,"index":false},{"name":"version","description":"Repository source version","type":"text","hidden":false,"required":false,"index":false},{"name":"maintainer","description":"Repository maintainer","type":"text","hidden":false,"required":false,"index":false},{"name":"components","description":"Repository components","type":"text","hidden":false,"required":false,"index":false},{"name":"architectures","description":"Repository architectures","type":"text","hidden":false,"required":false,"index":false},{"name":"pid_with_namespace","description":"Pids that contain a namespace","type":"integer","hidden":true,"required":false,"index":false}]},{"name":"arp_cache","description":"Address resolution cache, both static and dynamic (from ARP, NDP).","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"address","description":"IPv4 address target","type":"text","hidden":false,"required":false,"index":false},{"name":"mac","description":"MAC address of broadcasted address","type":"text","hidden":false,"required":false,"index":false},{"name":"interface","description":"Interface of the network for the MAC","type":"text","hidden":false,"required":false,"index":false},{"name":"permanent","description":"1 for true, 0 for false","type":"text","hidden":false,"required":false,"index":false}]},{"name":"asl","description":"Queries the Apple System Log data structure for system events.","platforms":["darwin"],"columns":[{"name":"time","description":"Unix timestamp. Set automatically","type":"integer","hidden":false,"required":false,"index":false},{"name":"time_nano_sec","description":"Nanosecond time.","type":"integer","hidden":false,"required":false,"index":false},{"name":"host","description":"Sender's address (set by the server).","type":"text","hidden":false,"required":false,"index":false},{"name":"sender","description":"Sender's identification string. Default is process name.","type":"text","hidden":false,"required":false,"index":false},{"name":"facility","description":"Sender's facility. Default is 'user'.","type":"text","hidden":false,"required":false,"index":false},{"name":"pid","description":"Sending process ID encoded as a string. Set automatically.","type":"integer","hidden":false,"required":false,"index":false},{"name":"gid","description":"GID that sent the log message (set by the server).","type":"bigint","hidden":false,"required":false,"index":false},{"name":"uid","description":"UID that sent the log message (set by the server).","type":"bigint","hidden":false,"required":false,"index":false},{"name":"level","description":"Log level number. See levels in asl.h.","type":"integer","hidden":false,"required":false,"index":false},{"name":"message","description":"Message text.","type":"text","hidden":false,"required":false,"index":false},{"name":"ref_pid","description":"Reference PID for messages proxied by launchd","type":"integer","hidden":false,"required":false,"index":false},{"name":"ref_proc","description":"Reference process for messages proxied by launchd","type":"text","hidden":false,"required":false,"index":false},{"name":"extra","description":"Extra columns, in JSON format. Queries against this column are performed entirely in SQLite, so do not benefit from efficient querying via asl.h.","type":"text","hidden":false,"required":false,"index":false}]},{"name":"atom_packages","description":"Lists all atom packages in a directory or globally installed in a system.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"name","description":"Package display name","type":"text","hidden":false,"required":false,"index":false},{"name":"version","description":"Package supplied version","type":"text","hidden":false,"required":false,"index":false},{"name":"description","description":"Package supplied description","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"Package's package.json path","type":"text","hidden":false,"required":false,"index":false},{"name":"license","description":"License for package","type":"text","hidden":false,"required":false,"index":false},{"name":"homepage","description":"Package supplied homepage","type":"text","hidden":false,"required":false,"index":false},{"name":"uid","description":"The local user that owns the plugin","type":"bigint","hidden":false,"required":false,"index":false}]},{"name":"augeas","description":"Configuration files parsed by augeas.","platforms":["darwin","linux"],"columns":[{"name":"node","description":"The node path of the configuration item","type":"text","hidden":false,"required":false,"index":false},{"name":"value","description":"The value of the configuration item","type":"text","hidden":false,"required":false,"index":false},{"name":"label","description":"The label of the configuration item","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"The path to the configuration file","type":"text","hidden":false,"required":false,"index":false}]},{"name":"authenticode","description":"File (executable, bundle, installer, disk) code signing status.","platforms":["windows"],"columns":[{"name":"path","description":"Must provide a path or directory","type":"text","hidden":false,"required":true,"index":false},{"name":"original_program_name","description":"The original program name that the publisher has signed","type":"text","hidden":false,"required":false,"index":false},{"name":"serial_number","description":"The certificate serial number","type":"text","hidden":false,"required":false,"index":false},{"name":"issuer_name","description":"The certificate issuer name","type":"text","hidden":false,"required":false,"index":false},{"name":"subject_name","description":"The certificate subject name","type":"text","hidden":false,"required":false,"index":false},{"name":"result","description":"The signature check result","type":"text","hidden":false,"required":false,"index":false}]},{"name":"authorization_mechanisms","description":"macOS Authorization mechanisms database.","platforms":["darwin"],"columns":[{"name":"label","description":"Label of the authorization right","type":"text","hidden":false,"required":false,"index":false},{"name":"plugin","description":"Authorization plugin name","type":"text","hidden":false,"required":false,"index":false},{"name":"mechanism","description":"Name of the mechanism that will be called","type":"text","hidden":false,"required":false,"index":false},{"name":"privileged","description":"If privileged it will run as root, else as an anonymous user","type":"text","hidden":false,"required":false,"index":false},{"name":"entry","description":"The whole string entry","type":"text","hidden":false,"required":false,"index":false}]},{"name":"authorizations","description":"macOS Authorization rights database.","platforms":["darwin"],"columns":[{"name":"label","description":"Item name, usually in reverse domain format","type":"text","hidden":false,"required":false,"index":false},{"name":"modified","description":"Label top-level key","type":"text","hidden":false,"required":false,"index":false},{"name":"allow_root","description":"Label top-level key","type":"text","hidden":false,"required":false,"index":false},{"name":"timeout","description":"Label top-level key","type":"text","hidden":false,"required":false,"index":false},{"name":"version","description":"Label top-level key","type":"text","hidden":false,"required":false,"index":false},{"name":"tries","description":"Label top-level key","type":"text","hidden":false,"required":false,"index":false},{"name":"authenticate_user","description":"Label top-level key","type":"text","hidden":false,"required":false,"index":false},{"name":"shared","description":"Label top-level key","type":"text","hidden":false,"required":false,"index":false},{"name":"comment","description":"Label top-level key","type":"text","hidden":false,"required":false,"index":false},{"name":"created","description":"Label top-level key","type":"text","hidden":false,"required":false,"index":false},{"name":"class","description":"Label top-level key","type":"text","hidden":false,"required":false,"index":false},{"name":"session_owner","description":"Label top-level key","type":"text","hidden":false,"required":false,"index":false}]},{"name":"authorized_keys","description":"A line-delimited authorized_keys table.","platforms":["darwin","linux"],"columns":[{"name":"uid","description":"The local owner of authorized_keys file","type":"bigint","hidden":false,"required":false,"index":false},{"name":"algorithm","description":"Key type","type":"text","hidden":false,"required":false,"index":false},{"name":"key","description":"Key encoded as base64","type":"text","hidden":false,"required":false,"index":false},{"name":"options","description":"Optional list of login options","type":"text","hidden":false,"required":false,"index":false},{"name":"comment","description":"Optional comment","type":"text","hidden":false,"required":false,"index":false},{"name":"key_file","description":"Path to the authorized_keys file","type":"text","hidden":false,"required":false,"index":false},{"name":"pid_with_namespace","description":"Pids that contain a namespace","type":"integer","hidden":true,"required":false,"index":false}]},{"name":"autoexec","description":"Aggregate of executables that will automatically execute on the target machine. This is an amalgamation of other tables like services, scheduled_tasks, startup_items and more.","platforms":["windows"],"columns":[{"name":"path","description":"Path to the executable","type":"text","hidden":false,"required":false,"index":false},{"name":"name","description":"Name of the program","type":"text","hidden":false,"required":false,"index":false},{"name":"source","description":"Source table of the autoexec item","type":"text","hidden":false,"required":false,"index":false}]},{"name":"azure_instance_metadata","description":"Azure instance metadata.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"location","description":"Azure Region the VM is running in","type":"text","hidden":false,"required":false,"index":false},{"name":"name","description":"Name of the VM","type":"text","hidden":false,"required":false,"index":false},{"name":"offer","description":"Offer information for the VM image (Azure image gallery VMs only)","type":"text","hidden":false,"required":false,"index":false},{"name":"publisher","description":"Publisher of the VM image","type":"text","hidden":false,"required":false,"index":false},{"name":"sku","description":"SKU for the VM image","type":"text","hidden":false,"required":false,"index":false},{"name":"version","description":"Version of the VM image","type":"text","hidden":false,"required":false,"index":false},{"name":"os_type","description":"Linux or Windows","type":"text","hidden":false,"required":false,"index":false},{"name":"platform_update_domain","description":"Update domain the VM is running in","type":"text","hidden":false,"required":false,"index":false},{"name":"platform_fault_domain","description":"Fault domain the VM is running in","type":"text","hidden":false,"required":false,"index":false},{"name":"vm_id","description":"Unique identifier for the VM","type":"text","hidden":false,"required":false,"index":false},{"name":"vm_size","description":"VM size","type":"text","hidden":false,"required":false,"index":false},{"name":"subscription_id","description":"Azure subscription for the VM","type":"text","hidden":false,"required":false,"index":false},{"name":"resource_group_name","description":"Resource group for the VM","type":"text","hidden":false,"required":false,"index":false},{"name":"placement_group_id","description":"Placement group for the VM scale set","type":"text","hidden":false,"required":false,"index":false},{"name":"vm_scale_set_name","description":"VM scale set name","type":"text","hidden":false,"required":false,"index":false},{"name":"zone","description":"Availability zone of the VM","type":"text","hidden":false,"required":false,"index":false}]},{"name":"azure_instance_tags","description":"Azure instance tags.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"vm_id","description":"Unique identifier for the VM","type":"text","hidden":false,"required":false,"index":false},{"name":"key","description":"The tag key","type":"text","hidden":false,"required":false,"index":false},{"name":"value","description":"The tag value","type":"text","hidden":false,"required":false,"index":false}]},{"name":"background_activities_moderator","description":"Background Activities Moderator (BAM) tracks application execution.","platforms":["windows"],"columns":[{"name":"path","description":"Application file path.","type":"text","hidden":false,"required":false,"index":false},{"name":"last_execution_time","description":"Most recent time application was executed.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"sid","description":"User SID.","type":"text","hidden":false,"required":false,"index":false}]},{"name":"battery","description":"Provides information about the internal battery of a Macbook.","platforms":["darwin"],"columns":[{"name":"manufacturer","description":"The battery manufacturer's name","type":"text","hidden":false,"required":false,"index":false},{"name":"manufacture_date","description":"The date the battery was manufactured UNIX Epoch","type":"integer","hidden":false,"required":false,"index":false},{"name":"model","description":"The battery's model number","type":"text","hidden":false,"required":false,"index":false},{"name":"serial_number","description":"The battery's unique serial number","type":"text","hidden":false,"required":false,"index":false},{"name":"cycle_count","description":"The number of charge/discharge cycles","type":"integer","hidden":false,"required":false,"index":false},{"name":"health","description":"One of the following: \"Good\" describes a well-performing battery, \"Fair\" describes a functional battery with limited capacity, or \"Poor\" describes a battery that's not capable of providing power","type":"text","hidden":false,"required":false,"index":false},{"name":"condition","description":"One of the following: \"Normal\" indicates the condition of the battery is within normal tolerances, \"Service Needed\" indicates that the battery should be checked out by a licensed Mac repair service, \"Permanent Failure\" indicates the battery needs replacement","type":"text","hidden":false,"required":false,"index":false},{"name":"state","description":"One of the following: \"AC Power\" indicates the battery is connected to an external power source, \"Battery Power\" indicates that the battery is drawing internal power, \"Off Line\" indicates the battery is off-line or no longer connected","type":"text","hidden":false,"required":false,"index":false},{"name":"charging","description":"1 if the battery is currently being charged by a power source. 0 otherwise","type":"integer","hidden":false,"required":false,"index":false},{"name":"charged","description":"1 if the battery is currently completely charged. 0 otherwise","type":"integer","hidden":false,"required":false,"index":false},{"name":"designed_capacity","description":"The battery's designed capacity in mAh","type":"integer","hidden":false,"required":false,"index":false},{"name":"max_capacity","description":"The battery's actual capacity when it is fully charged in mAh","type":"integer","hidden":false,"required":false,"index":false},{"name":"current_capacity","description":"The battery's current charged capacity in mAh","type":"integer","hidden":false,"required":false,"index":false},{"name":"percent_remaining","description":"The percentage of battery remaining before it is drained","type":"integer","hidden":false,"required":false,"index":false},{"name":"amperage","description":"The battery's current amperage in mA","type":"integer","hidden":false,"required":false,"index":false},{"name":"voltage","description":"The battery's current voltage in mV","type":"integer","hidden":false,"required":false,"index":false},{"name":"minutes_until_empty","description":"The number of minutes until the battery is fully depleted. This value is -1 if this time is still being calculated","type":"integer","hidden":false,"required":false,"index":false},{"name":"minutes_to_full_charge","description":"The number of minutes until the battery is fully charged. This value is -1 if this time is still being calculated","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"bitlocker_info","description":"Retrieve bitlocker status of the machine.","platforms":["windows"],"columns":[{"name":"device_id","description":"ID of the encrypted drive.","type":"text","hidden":false,"required":false,"index":false},{"name":"drive_letter","description":"Drive letter of the encrypted drive.","type":"text","hidden":false,"required":false,"index":false},{"name":"persistent_volume_id","description":"Persistent ID of the drive.","type":"text","hidden":false,"required":false,"index":false},{"name":"conversion_status","description":"The bitlocker conversion status of the drive.","type":"integer","hidden":false,"required":false,"index":false},{"name":"protection_status","description":"The bitlocker protection status of the drive.","type":"integer","hidden":false,"required":false,"index":false},{"name":"encryption_method","description":"The encryption type of the device.","type":"text","hidden":false,"required":false,"index":false},{"name":"version","description":"The FVE metadata version of the drive.","type":"integer","hidden":false,"required":false,"index":false},{"name":"percentage_encrypted","description":"The percentage of the drive that is encrypted.","type":"integer","hidden":false,"required":false,"index":false},{"name":"lock_status","description":"The accessibility status of the drive from Windows.","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"block_devices","description":"Block (buffered access) device file nodes: disks, ramdisks, and DMG containers.","platforms":["darwin","linux"],"columns":[{"name":"name","description":"Block device name","type":"text","hidden":false,"required":false,"index":false},{"name":"parent","description":"Block device parent name","type":"text","hidden":false,"required":false,"index":false},{"name":"vendor","description":"Block device vendor string","type":"text","hidden":false,"required":false,"index":false},{"name":"model","description":"Block device model string identifier","type":"text","hidden":false,"required":false,"index":false},{"name":"size","description":"Block device size in blocks","type":"bigint","hidden":false,"required":false,"index":false},{"name":"block_size","description":"Block size in bytes","type":"integer","hidden":false,"required":false,"index":false},{"name":"uuid","description":"Block device Universally Unique Identifier","type":"text","hidden":false,"required":false,"index":false},{"name":"type","description":"Block device type string","type":"text","hidden":false,"required":false,"index":false},{"name":"label","description":"Block device label string","type":"text","hidden":false,"required":false,"index":false}]},{"name":"bpf_process_events","description":"Track time/action process executions.","platforms":["linux"],"columns":[{"name":"tid","description":"Thread ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"pid","description":"Process ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"parent","description":"Parent process ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"uid","description":"User ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"gid","description":"Group ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"cid","description":"Cgroup ID","type":"integer","hidden":false,"required":false,"index":false},{"name":"exit_code","description":"Exit code of the system call","type":"text","hidden":false,"required":false,"index":false},{"name":"probe_error","description":"Set to 1 if one or more buffers could not be captured","type":"integer","hidden":false,"required":false,"index":false},{"name":"syscall","description":"System call name","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"Binary path","type":"text","hidden":false,"required":false,"index":false},{"name":"cwd","description":"Current working directory","type":"text","hidden":false,"required":false,"index":false},{"name":"cmdline","description":"Command line arguments","type":"text","hidden":false,"required":false,"index":false},{"name":"duration","description":"How much time was spent inside the syscall (nsecs)","type":"integer","hidden":false,"required":false,"index":false},{"name":"json_cmdline","description":"Command line arguments, in JSON format","type":"text","hidden":true,"required":false,"index":false},{"name":"ntime","description":"The nsecs uptime timestamp as obtained from BPF","type":"text","hidden":false,"required":false,"index":false},{"name":"time","description":"Time of execution in UNIX time","type":"bigint","hidden":true,"required":false,"index":false},{"name":"eid","description":"Event ID","type":"integer","hidden":true,"required":false,"index":false}]},{"name":"bpf_socket_events","description":"Track network socket opens and closes.","platforms":["linux"],"columns":[{"name":"tid","description":"Thread ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"pid","description":"Process ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"parent","description":"Parent process ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"uid","description":"User ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"gid","description":"Group ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"cid","description":"Cgroup ID","type":"integer","hidden":false,"required":false,"index":false},{"name":"exit_code","description":"Exit code of the system call","type":"text","hidden":false,"required":false,"index":false},{"name":"probe_error","description":"Set to 1 if one or more buffers could not be captured","type":"integer","hidden":false,"required":false,"index":false},{"name":"syscall","description":"System call name","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"Path of executed file","type":"text","hidden":false,"required":false,"index":false},{"name":"fd","description":"The file description for the process socket","type":"text","hidden":false,"required":false,"index":false},{"name":"family","description":"The Internet protocol family ID","type":"integer","hidden":false,"required":false,"index":false},{"name":"type","description":"The socket type","type":"integer","hidden":false,"required":false,"index":false},{"name":"protocol","description":"The network protocol ID","type":"integer","hidden":false,"required":false,"index":false},{"name":"local_address","description":"Local address associated with socket","type":"text","hidden":false,"required":false,"index":false},{"name":"remote_address","description":"Remote address associated with socket","type":"text","hidden":false,"required":false,"index":false},{"name":"local_port","description":"Local network protocol port number","type":"integer","hidden":false,"required":false,"index":false},{"name":"remote_port","description":"Remote network protocol port number","type":"integer","hidden":false,"required":false,"index":false},{"name":"duration","description":"How much time was spent inside the syscall (nsecs)","type":"integer","hidden":false,"required":false,"index":false},{"name":"ntime","description":"The nsecs uptime timestamp as obtained from BPF","type":"text","hidden":false,"required":false,"index":false},{"name":"time","description":"Time of execution in UNIX time","type":"bigint","hidden":true,"required":false,"index":false},{"name":"eid","description":"Event ID","type":"integer","hidden":true,"required":false,"index":false}]},{"name":"browser_plugins","description":"All C/NPAPI browser plugin details for all users. C/NPAPI has been deprecated on all major browsers. To query for plugins on modern browsers, try: `chrome_extensions` `firefox_addons` `safari_extensions`.","platforms":["darwin"],"columns":[{"name":"uid","description":"The local user that owns the plugin","type":"bigint","hidden":false,"required":false,"index":false},{"name":"name","description":"Plugin display name","type":"text","hidden":false,"required":false,"index":false},{"name":"identifier","description":"Plugin identifier","type":"text","hidden":false,"required":false,"index":false},{"name":"version","description":"Plugin short version","type":"text","hidden":false,"required":false,"index":false},{"name":"sdk","description":"Build SDK used to compile plugin","type":"text","hidden":false,"required":false,"index":false},{"name":"description","description":"Plugin description text","type":"text","hidden":false,"required":false,"index":false},{"name":"development_region","description":"Plugin language-localization","type":"text","hidden":false,"required":false,"index":false},{"name":"native","description":"Plugin requires native execution","type":"integer","hidden":false,"required":false,"index":false},{"name":"path","description":"Path to plugin bundle","type":"text","hidden":false,"required":false,"index":false},{"name":"disabled","description":"Is the plugin disabled. 1 = Disabled","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"carbon_black_info","description":"Returns info about a Carbon Black sensor install.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"sensor_id","description":"Sensor ID of the Carbon Black sensor","type":"integer","hidden":false,"required":false,"index":false},{"name":"config_name","description":"Sensor group","type":"text","hidden":false,"required":false,"index":false},{"name":"collect_store_files","description":"If the sensor is configured to send back binaries to the Carbon Black server","type":"integer","hidden":false,"required":false,"index":false},{"name":"collect_module_loads","description":"If the sensor is configured to capture module loads","type":"integer","hidden":false,"required":false,"index":false},{"name":"collect_module_info","description":"If the sensor is configured to collect metadata of binaries","type":"integer","hidden":false,"required":false,"index":false},{"name":"collect_file_mods","description":"If the sensor is configured to collect file modification events","type":"integer","hidden":false,"required":false,"index":false},{"name":"collect_reg_mods","description":"If the sensor is configured to collect registry modification events","type":"integer","hidden":false,"required":false,"index":false},{"name":"collect_net_conns","description":"If the sensor is configured to collect network connections","type":"integer","hidden":false,"required":false,"index":false},{"name":"collect_processes","description":"If the sensor is configured to process events","type":"integer","hidden":false,"required":false,"index":false},{"name":"collect_cross_processes","description":"If the sensor is configured to cross process events","type":"integer","hidden":false,"required":false,"index":false},{"name":"collect_emet_events","description":"If the sensor is configured to EMET events","type":"integer","hidden":false,"required":false,"index":false},{"name":"collect_data_file_writes","description":"If the sensor is configured to collect non binary file writes","type":"integer","hidden":false,"required":false,"index":false},{"name":"collect_process_user_context","description":"If the sensor is configured to collect the user running a process","type":"integer","hidden":false,"required":false,"index":false},{"name":"collect_sensor_operations","description":"Unknown","type":"integer","hidden":false,"required":false,"index":false},{"name":"log_file_disk_quota_mb","description":"Event file disk quota in MB","type":"integer","hidden":false,"required":false,"index":false},{"name":"log_file_disk_quota_percentage","description":"Event file disk quota in a percentage","type":"integer","hidden":false,"required":false,"index":false},{"name":"protection_disabled","description":"If the sensor is configured to report tamper events","type":"integer","hidden":false,"required":false,"index":false},{"name":"sensor_ip_addr","description":"IP address of the sensor","type":"text","hidden":false,"required":false,"index":false},{"name":"sensor_backend_server","description":"Carbon Black server","type":"text","hidden":false,"required":false,"index":false},{"name":"event_queue","description":"Size in bytes of Carbon Black event files on disk","type":"integer","hidden":false,"required":false,"index":false},{"name":"binary_queue","description":"Size in bytes of binaries waiting to be sent to Carbon Black server","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"carves","description":"List the set of completed and in-progress carves. If carve=1 then the query is treated as a new carve request.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"time","description":"Time at which the carve was kicked off","type":"bigint","hidden":false,"required":false,"index":false},{"name":"sha256","description":"A SHA256 sum of the carved archive","type":"text","hidden":false,"required":false,"index":false},{"name":"size","description":"Size of the carved archive","type":"integer","hidden":false,"required":false,"index":false},{"name":"path","description":"The path of the requested carve","type":"text","hidden":false,"required":false,"index":false},{"name":"status","description":"Status of the carve, can be STARTING, PENDING, SUCCESS, or FAILED","type":"text","hidden":false,"required":false,"index":false},{"name":"carve_guid","description":"Identifying value of the carve session","type":"text","hidden":false,"required":false,"index":false},{"name":"request_id","description":"Identifying value of the carve request (e.g., scheduled query name, distributed request, etc)","type":"text","hidden":false,"required":false,"index":false},{"name":"carve","description":"Set this value to '1' to start a file carve","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"certificates","description":"Certificate Authorities installed in Keychains/ca-bundles.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"common_name","description":"Certificate CommonName","type":"text","hidden":false,"required":false,"index":false},{"name":"subject","description":"Certificate distinguished name (deprecated, use subject2)","type":"text","hidden":false,"required":false,"index":false},{"name":"issuer","description":"Certificate issuer distinguished name (deprecated, use issuer2)","type":"text","hidden":false,"required":false,"index":false},{"name":"ca","description":"1 if CA: true (certificate is an authority) else 0","type":"integer","hidden":false,"required":false,"index":false},{"name":"self_signed","description":"1 if self-signed, else 0","type":"integer","hidden":false,"required":false,"index":false},{"name":"not_valid_before","description":"Lower bound of valid date","type":"text","hidden":false,"required":false,"index":false},{"name":"not_valid_after","description":"Certificate expiration data","type":"text","hidden":false,"required":false,"index":false},{"name":"signing_algorithm","description":"Signing algorithm used","type":"text","hidden":false,"required":false,"index":false},{"name":"key_algorithm","description":"Key algorithm used","type":"text","hidden":false,"required":false,"index":false},{"name":"key_strength","description":"Key size used for RSA/DSA, or curve name","type":"text","hidden":false,"required":false,"index":false},{"name":"key_usage","description":"Certificate key usage and extended key usage","type":"text","hidden":false,"required":false,"index":false},{"name":"subject_key_id","description":"SKID an optionally included SHA1","type":"text","hidden":false,"required":false,"index":false},{"name":"authority_key_id","description":"AKID an optionally included SHA1","type":"text","hidden":false,"required":false,"index":false},{"name":"sha1","description":"SHA1 hash of the raw certificate contents","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"Path to Keychain or PEM bundle","type":"text","hidden":false,"required":false,"index":false},{"name":"serial","description":"Certificate serial number","type":"text","hidden":false,"required":false,"index":false},{"name":"sid","description":"SID","type":"text","hidden":true,"required":false,"index":false},{"name":"store_location","description":"Certificate system store location","type":"text","hidden":true,"required":false,"index":false},{"name":"store","description":"Certificate system store","type":"text","hidden":true,"required":false,"index":false},{"name":"username","description":"Username","type":"text","hidden":true,"required":false,"index":false},{"name":"store_id","description":"Exists for service/user stores. Contains raw store id provided by WinAPI.","type":"text","hidden":true,"required":false,"index":false},{"name":"issuer2","description":"Certificate issuer distinguished name","type":"text","hidden":true,"required":false,"index":false},{"name":"subject2","description":"Certificate distinguished name","type":"text","hidden":true,"required":false,"index":false}]},{"name":"chassis_info","description":"Display information pertaining to the chassis and its security status.","platforms":["windows"],"columns":[{"name":"audible_alarm","description":"If TRUE, the frame is equipped with an audible alarm.","type":"text","hidden":false,"required":false,"index":false},{"name":"breach_description","description":"If provided, gives a more detailed description of a detected security breach.","type":"text","hidden":false,"required":false,"index":false},{"name":"chassis_types","description":"A comma-separated list of chassis types, such as Desktop or Laptop.","type":"text","hidden":false,"required":false,"index":false},{"name":"description","description":"An extended description of the chassis if available.","type":"text","hidden":false,"required":false,"index":false},{"name":"lock","description":"If TRUE, the frame is equipped with a lock.","type":"text","hidden":false,"required":false,"index":false},{"name":"manufacturer","description":"The manufacturer of the chassis.","type":"text","hidden":false,"required":false,"index":false},{"name":"model","description":"The model of the chassis.","type":"text","hidden":false,"required":false,"index":false},{"name":"security_breach","description":"The physical status of the chassis such as Breach Successful, Breach Attempted, etc.","type":"text","hidden":false,"required":false,"index":false},{"name":"serial","description":"The serial number of the chassis.","type":"text","hidden":false,"required":false,"index":false},{"name":"smbios_tag","description":"The assigned asset tag number of the chassis.","type":"text","hidden":false,"required":false,"index":false},{"name":"sku","description":"The Stock Keeping Unit number if available.","type":"text","hidden":false,"required":false,"index":false},{"name":"status","description":"If available, gives various operational or nonoperational statuses such as OK, Degraded, and Pred Fail.","type":"text","hidden":false,"required":false,"index":false},{"name":"visible_alarm","description":"If TRUE, the frame is equipped with a visual alarm.","type":"text","hidden":false,"required":false,"index":false}]},{"name":"chocolatey_packages","description":"Chocolatey packages installed in a system.","platforms":["windows"],"columns":[{"name":"name","description":"Package display name","type":"text","hidden":false,"required":false,"index":false},{"name":"version","description":"Package-supplied version","type":"text","hidden":false,"required":false,"index":false},{"name":"summary","description":"Package-supplied summary","type":"text","hidden":false,"required":false,"index":false},{"name":"author","description":"Optional package author","type":"text","hidden":false,"required":false,"index":false},{"name":"license","description":"License under which package is launched","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"Path at which this package resides","type":"text","hidden":false,"required":false,"index":false}]},{"name":"chrome_extension_content_scripts","description":"Chrome browser extension content scripts.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"browser_type","description":"The browser type (Valid values: chrome, chromium, opera, yandex, brave)","type":"text","hidden":false,"required":false,"index":false},{"name":"uid","description":"The local user that owns the extension","type":"bigint","hidden":false,"required":false,"index":false},{"name":"identifier","description":"Extension identifier","type":"text","hidden":false,"required":false,"index":false},{"name":"version","description":"Extension-supplied version","type":"text","hidden":false,"required":false,"index":false},{"name":"script","description":"The content script used by the extension","type":"text","hidden":false,"required":false,"index":false},{"name":"match","description":"The pattern that the script is matched against","type":"text","hidden":false,"required":false,"index":false},{"name":"profile_path","description":"The profile path","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"Path to extension folder","type":"text","hidden":false,"required":false,"index":false},{"name":"referenced","description":"1 if this extension is referenced by the Preferences file of the profile","type":"bigint","hidden":false,"required":false,"index":false}]},{"name":"chrome_extensions","description":"Chrome-based browser extensions.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"browser_type","description":"The browser type (Valid values: chrome, chromium, opera, yandex, brave, edge, edge_beta)","type":"text","hidden":false,"required":false,"index":false},{"name":"uid","description":"The local user that owns the extension","type":"bigint","hidden":false,"required":false,"index":false},{"name":"name","description":"Extension display name","type":"text","hidden":false,"required":false,"index":false},{"name":"profile","description":"The name of the Chrome profile that contains this extension","type":"text","hidden":false,"required":false,"index":false},{"name":"profile_path","description":"The profile path","type":"text","hidden":false,"required":false,"index":false},{"name":"referenced_identifier","description":"Extension identifier, as specified by the preferences file. Empty if the extension is not in the profile.","type":"text","hidden":false,"required":false,"index":false},{"name":"identifier","description":"Extension identifier, computed from its manifest. Empty in case of error.","type":"text","hidden":false,"required":false,"index":false},{"name":"version","description":"Extension-supplied version","type":"text","hidden":false,"required":false,"index":false},{"name":"description","description":"Extension-optional description","type":"text","hidden":false,"required":false,"index":false},{"name":"default_locale","description":"Default locale supported by extension","type":"text","hidden":false,"required":false,"index":false},{"name":"current_locale","description":"Current locale supported by extension","type":"text","hidden":false,"required":false,"index":false},{"name":"update_url","description":"Extension-supplied update URI","type":"text","hidden":false,"required":false,"index":false},{"name":"author","description":"Optional extension author","type":"text","hidden":false,"required":false,"index":false},{"name":"persistent","description":"1 If extension is persistent across all tabs else 0","type":"integer","hidden":false,"required":false,"index":false},{"name":"path","description":"Path to extension folder","type":"text","hidden":false,"required":false,"index":false},{"name":"permissions","description":"The permissions required by the extension","type":"text","hidden":false,"required":false,"index":false},{"name":"permissions_json","description":"The JSON-encoded permissions required by the extension","type":"text","hidden":true,"required":false,"index":false},{"name":"optional_permissions","description":"The permissions optionally required by the extensions","type":"text","hidden":false,"required":false,"index":false},{"name":"optional_permissions_json","description":"The JSON-encoded permissions optionally required by the extensions","type":"text","hidden":true,"required":false,"index":false},{"name":"manifest_hash","description":"The SHA256 hash of the manifest.json file","type":"text","hidden":false,"required":false,"index":false},{"name":"referenced","description":"1 if this extension is referenced by the Preferences file of the profile","type":"bigint","hidden":false,"required":false,"index":false},{"name":"from_webstore","description":"True if this extension was installed from the web store","type":"text","hidden":false,"required":false,"index":false},{"name":"state","description":"1 if this extension is enabled","type":"text","hidden":false,"required":false,"index":false},{"name":"install_time","description":"Extension install time, in its original Webkit format","type":"text","hidden":false,"required":false,"index":false},{"name":"install_timestamp","description":"Extension install time, converted to unix time","type":"bigint","hidden":false,"required":false,"index":false},{"name":"manifest_json","description":"The manifest file of the extension","type":"text","hidden":true,"required":false,"index":false},{"name":"key","description":"The extension key, from the manifest file","type":"text","hidden":true,"required":false,"index":false}]},{"name":"connectivity","description":"Provides the overall system's network state.","platforms":["windows"],"columns":[{"name":"disconnected","description":"True if the all interfaces are not connected to any network","type":"integer","hidden":false,"required":false,"index":false},{"name":"ipv4_no_traffic","description":"True if any interface is connected via IPv4, but has seen no traffic","type":"integer","hidden":false,"required":false,"index":false},{"name":"ipv6_no_traffic","description":"True if any interface is connected via IPv6, but has seen no traffic","type":"integer","hidden":false,"required":false,"index":false},{"name":"ipv4_subnet","description":"True if any interface is connected to the local subnet via IPv4","type":"integer","hidden":false,"required":false,"index":false},{"name":"ipv4_local_network","description":"True if any interface is connected to a routed network via IPv4","type":"integer","hidden":false,"required":false,"index":false},{"name":"ipv4_internet","description":"True if any interface is connected to the Internet via IPv4","type":"integer","hidden":false,"required":false,"index":false},{"name":"ipv6_subnet","description":"True if any interface is connected to the local subnet via IPv6","type":"integer","hidden":false,"required":false,"index":false},{"name":"ipv6_local_network","description":"True if any interface is connected to a routed network via IPv6","type":"integer","hidden":false,"required":false,"index":false},{"name":"ipv6_internet","description":"True if any interface is connected to the Internet via IPv6","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"cpu_info","description":"Retrieve cpu hardware info of the machine.","platforms":["linux","windows"],"columns":[{"name":"device_id","description":"The DeviceID of the CPU.","type":"text","hidden":false,"required":false,"index":false},{"name":"model","description":"The model of the CPU.","type":"text","hidden":false,"required":false,"index":false},{"name":"manufacturer","description":"The manufacturer of the CPU.","type":"text","hidden":false,"required":false,"index":false},{"name":"processor_type","description":"The processor type, such as Central, Math, or Video.","type":"text","hidden":false,"required":false,"index":false},{"name":"cpu_status","description":"The current operating status of the CPU.","type":"integer","hidden":false,"required":false,"index":false},{"name":"number_of_cores","description":"The number of cores of the CPU.","type":"text","hidden":false,"required":false,"index":false},{"name":"logical_processors","description":"The number of logical processors of the CPU.","type":"integer","hidden":false,"required":false,"index":false},{"name":"address_width","description":"The width of the CPU address bus.","type":"text","hidden":false,"required":false,"index":false},{"name":"current_clock_speed","description":"The current frequency of the CPU.","type":"integer","hidden":false,"required":false,"index":false},{"name":"max_clock_speed","description":"The maximum possible frequency of the CPU.","type":"integer","hidden":false,"required":false,"index":false},{"name":"socket_designation","description":"The assigned socket on the board for the given CPU.","type":"text","hidden":false,"required":false,"index":false},{"name":"availability","description":"The availability and status of the CPU.","type":"text","hidden":true,"required":false,"index":false}]},{"name":"cpu_time","description":"Displays information from /proc/stat file about the time the cpu cores spent in different parts of the system.","platforms":["darwin","linux"],"columns":[{"name":"core","description":"Name of the cpu (core)","type":"integer","hidden":false,"required":false,"index":false},{"name":"user","description":"Time spent in user mode","type":"bigint","hidden":false,"required":false,"index":false},{"name":"nice","description":"Time spent in user mode with low priority (nice)","type":"bigint","hidden":false,"required":false,"index":false},{"name":"system","description":"Time spent in system mode","type":"bigint","hidden":false,"required":false,"index":false},{"name":"idle","description":"Time spent in the idle task","type":"bigint","hidden":false,"required":false,"index":false},{"name":"iowait","description":"Time spent waiting for I/O to complete","type":"bigint","hidden":false,"required":false,"index":false},{"name":"irq","description":"Time spent servicing interrupts","type":"bigint","hidden":false,"required":false,"index":false},{"name":"softirq","description":"Time spent servicing softirqs","type":"bigint","hidden":false,"required":false,"index":false},{"name":"steal","description":"Time spent in other operating systems when running in a virtualized environment","type":"bigint","hidden":false,"required":false,"index":false},{"name":"guest","description":"Time spent running a virtual CPU for a guest OS under the control of the Linux kernel","type":"bigint","hidden":false,"required":false,"index":false},{"name":"guest_nice","description":"Time spent running a niced guest ","type":"bigint","hidden":false,"required":false,"index":false}]},{"name":"cpuid","description":"Useful CPU features from the cpuid ASM call.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"feature","description":"Present feature flags","type":"text","hidden":false,"required":false,"index":false},{"name":"value","description":"Bit value or string","type":"text","hidden":false,"required":false,"index":false},{"name":"output_register","description":"Register used to for feature value","type":"text","hidden":false,"required":false,"index":false},{"name":"output_bit","description":"Bit in register value for feature value","type":"integer","hidden":false,"required":false,"index":false},{"name":"input_eax","description":"Value of EAX used","type":"text","hidden":false,"required":false,"index":false}]},{"name":"crashes","description":"Application, System, and Mobile App crash logs.","platforms":["darwin"],"columns":[{"name":"type","description":"Type of crash log","type":"text","hidden":false,"required":false,"index":false},{"name":"pid","description":"Process (or thread) ID of the crashed process","type":"bigint","hidden":false,"required":false,"index":false},{"name":"path","description":"Path to the crashed process","type":"text","hidden":false,"required":false,"index":false},{"name":"crash_path","description":"Location of log file","type":"text","hidden":false,"required":false,"index":false},{"name":"identifier","description":"Identifier of the crashed process","type":"text","hidden":false,"required":false,"index":false},{"name":"version","description":"Version info of the crashed process","type":"text","hidden":false,"required":false,"index":false},{"name":"parent","description":"Parent PID of the crashed process","type":"bigint","hidden":false,"required":false,"index":false},{"name":"responsible","description":"Process responsible for the crashed process","type":"text","hidden":false,"required":false,"index":false},{"name":"uid","description":"User ID of the crashed process","type":"integer","hidden":false,"required":false,"index":false},{"name":"datetime","description":"Date/Time at which the crash occurred","type":"text","hidden":false,"required":false,"index":false},{"name":"crashed_thread","description":"Thread ID which crashed","type":"bigint","hidden":false,"required":false,"index":false},{"name":"stack_trace","description":"Most recent frame from the stack trace","type":"text","hidden":false,"required":false,"index":false},{"name":"exception_type","description":"Exception type of the crash","type":"text","hidden":false,"required":false,"index":false},{"name":"exception_codes","description":"Exception codes from the crash","type":"text","hidden":false,"required":false,"index":false},{"name":"exception_notes","description":"Exception notes from the crash","type":"text","hidden":false,"required":false,"index":false},{"name":"registers","description":"The value of the system registers","type":"text","hidden":false,"required":false,"index":false}]},{"name":"crontab","description":"Line parsed values from system and user cron/tab.","platforms":["darwin","linux"],"columns":[{"name":"event","description":"The job @event name (rare)","type":"text","hidden":false,"required":false,"index":false},{"name":"minute","description":"The exact minute for the job","type":"text","hidden":false,"required":false,"index":false},{"name":"hour","description":"The hour of the day for the job","type":"text","hidden":false,"required":false,"index":false},{"name":"day_of_month","description":"The day of the month for the job","type":"text","hidden":false,"required":false,"index":false},{"name":"month","description":"The month of the year for the job","type":"text","hidden":false,"required":false,"index":false},{"name":"day_of_week","description":"The day of the week for the job","type":"text","hidden":false,"required":false,"index":false},{"name":"command","description":"Raw command string","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"File parsed","type":"text","hidden":false,"required":false,"index":false},{"name":"pid_with_namespace","description":"Pids that contain a namespace","type":"integer","hidden":true,"required":false,"index":false}]},{"name":"cups_destinations","description":"Returns all configured printers.","platforms":["darwin"],"columns":[{"name":"name","description":"Name of the printer","type":"text","hidden":false,"required":false,"index":false},{"name":"option_name","description":"Option name","type":"text","hidden":false,"required":false,"index":false},{"name":"option_value","description":"Option value","type":"text","hidden":false,"required":false,"index":false}]},{"name":"cups_jobs","description":"Returns all completed print jobs from cups.","platforms":["darwin"],"columns":[{"name":"title","description":"Title of the printed job","type":"text","hidden":false,"required":false,"index":false},{"name":"destination","description":"The printer the job was sent to","type":"text","hidden":false,"required":false,"index":false},{"name":"user","description":"The user who printed the job","type":"text","hidden":false,"required":false,"index":false},{"name":"format","description":"The format of the print job","type":"text","hidden":false,"required":false,"index":false},{"name":"size","description":"The size of the print job","type":"integer","hidden":false,"required":false,"index":false},{"name":"completed_time","description":"When the job completed printing","type":"integer","hidden":false,"required":false,"index":false},{"name":"processing_time","description":"How long the job took to process","type":"integer","hidden":false,"required":false,"index":false},{"name":"creation_time","description":"When the print request was initiated","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"curl","description":"Perform an http request and return stats about it.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"url","description":"The url for the request","type":"text","hidden":false,"required":true,"index":false},{"name":"method","description":"The HTTP method for the request","type":"text","hidden":false,"required":false,"index":false},{"name":"user_agent","description":"The user-agent string to use for the request","type":"text","hidden":false,"required":false,"index":false},{"name":"response_code","description":"The HTTP status code for the response","type":"integer","hidden":false,"required":false,"index":false},{"name":"round_trip_time","description":"Time taken to complete the request","type":"bigint","hidden":false,"required":false,"index":false},{"name":"bytes","description":"Number of bytes in the response","type":"bigint","hidden":false,"required":false,"index":false},{"name":"result","description":"The HTTP response body","type":"text","hidden":false,"required":false,"index":false}]},{"name":"curl_certificate","description":"Inspect TLS certificates by connecting to input hostnames.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"hostname","description":"Hostname to CURL (domain[:port], e.g. osquery.io)","type":"text","hidden":false,"required":true,"index":false},{"name":"common_name","description":"Common name of company issued to","type":"text","hidden":false,"required":false,"index":false},{"name":"organization","description":"Organization issued to","type":"text","hidden":false,"required":false,"index":false},{"name":"organization_unit","description":"Organization unit issued to","type":"text","hidden":false,"required":false,"index":false},{"name":"serial_number","description":"Certificate serial number","type":"text","hidden":false,"required":false,"index":false},{"name":"issuer_common_name","description":"Issuer common name","type":"text","hidden":false,"required":false,"index":false},{"name":"issuer_organization","description":"Issuer organization","type":"text","hidden":false,"required":false,"index":false},{"name":"issuer_organization_unit","description":"Issuer organization unit","type":"text","hidden":false,"required":false,"index":false},{"name":"valid_from","description":"Period of validity start date","type":"text","hidden":false,"required":false,"index":false},{"name":"valid_to","description":"Period of validity end date","type":"text","hidden":false,"required":false,"index":false},{"name":"sha256_fingerprint","description":"SHA-256 fingerprint","type":"text","hidden":false,"required":false,"index":false},{"name":"sha1_fingerprint","description":"SHA1 fingerprint","type":"text","hidden":false,"required":false,"index":false},{"name":"version","description":"Version Number","type":"integer","hidden":false,"required":false,"index":false},{"name":"signature_algorithm","description":"Signature Algorithm","type":"text","hidden":false,"required":false,"index":false},{"name":"signature","description":"Signature","type":"text","hidden":false,"required":false,"index":false},{"name":"subject_key_identifier","description":"Subject Key Identifier","type":"text","hidden":false,"required":false,"index":false},{"name":"authority_key_identifier","description":"Authority Key Identifier","type":"text","hidden":false,"required":false,"index":false},{"name":"key_usage","description":"Usage of key in certificate","type":"text","hidden":false,"required":false,"index":false},{"name":"extended_key_usage","description":"Extended usage of key in certificate","type":"text","hidden":false,"required":false,"index":false},{"name":"policies","description":"Certificate Policies","type":"text","hidden":false,"required":false,"index":false},{"name":"subject_alternative_names","description":"Subject Alternative Name","type":"text","hidden":false,"required":false,"index":false},{"name":"issuer_alternative_names","description":"Issuer Alternative Name","type":"text","hidden":false,"required":false,"index":false},{"name":"info_access","description":"Authority Information Access","type":"text","hidden":false,"required":false,"index":false},{"name":"subject_info_access","description":"Subject Information Access","type":"text","hidden":false,"required":false,"index":false},{"name":"policy_mappings","description":"Policy Mappings","type":"text","hidden":false,"required":false,"index":false},{"name":"has_expired","description":"1 if the certificate has expired, 0 otherwise","type":"integer","hidden":false,"required":false,"index":false},{"name":"basic_constraint","description":"Basic Constraints","type":"text","hidden":false,"required":false,"index":false},{"name":"name_constraints","description":"Name Constraints","type":"text","hidden":false,"required":false,"index":false},{"name":"policy_constraints","description":"Policy Constraints","type":"text","hidden":false,"required":false,"index":false},{"name":"dump_certificate","description":"Set this value to '1' to dump certificate","type":"integer","hidden":true,"required":false,"index":false},{"name":"timeout","description":"Set this value to the timeout in seconds to complete the TLS handshake (default 4s, use 0 for no timeout)","type":"integer","hidden":true,"required":false,"index":false},{"name":"pem","description":"Certificate PEM format","type":"text","hidden":false,"required":false,"index":false}]},{"name":"deb_packages","description":"The installed DEB package database.","platforms":["linux"],"columns":[{"name":"name","description":"Package name","type":"text","hidden":false,"required":false,"index":false},{"name":"version","description":"Package version","type":"text","hidden":false,"required":false,"index":false},{"name":"source","description":"Package source","type":"text","hidden":false,"required":false,"index":false},{"name":"size","description":"Package size in bytes","type":"bigint","hidden":false,"required":false,"index":false},{"name":"arch","description":"Package architecture","type":"text","hidden":false,"required":false,"index":false},{"name":"revision","description":"Package revision","type":"text","hidden":false,"required":false,"index":false},{"name":"status","description":"Package status","type":"text","hidden":false,"required":false,"index":false},{"name":"maintainer","description":"Package maintainer","type":"text","hidden":false,"required":false,"index":false},{"name":"section","description":"Package section","type":"text","hidden":false,"required":false,"index":false},{"name":"priority","description":"Package priority","type":"text","hidden":false,"required":false,"index":false},{"name":"admindir","description":"libdpkg admindir. Defaults to /var/lib/dpkg","type":"text","hidden":false,"required":false,"index":false},{"name":"pid_with_namespace","description":"Pids that contain a namespace","type":"integer","hidden":true,"required":false,"index":false},{"name":"mount_namespace_id","description":"Mount namespace id","type":"text","hidden":true,"required":false,"index":false}]},{"name":"default_environment","description":"Default environment variables and values.","platforms":["windows"],"columns":[{"name":"variable","description":"Name of the environment variable","type":"text","hidden":false,"required":false,"index":false},{"name":"value","description":"Value of the environment variable","type":"text","hidden":false,"required":false,"index":false},{"name":"expand","description":"1 if the variable needs expanding, 0 otherwise","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"device_file","description":"Similar to the file table, but use TSK and allow block address access.","platforms":["darwin","linux"],"columns":[{"name":"device","description":"Absolute file path to device node","type":"text","hidden":false,"required":true,"index":false},{"name":"partition","description":"A partition number","type":"text","hidden":false,"required":true,"index":false},{"name":"path","description":"A logical path within the device node","type":"text","hidden":false,"required":false,"index":false},{"name":"filename","description":"Name portion of file path","type":"text","hidden":false,"required":false,"index":false},{"name":"inode","description":"Filesystem inode number","type":"bigint","hidden":false,"required":false,"index":false},{"name":"uid","description":"Owning user ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"gid","description":"Owning group ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"mode","description":"Permission bits","type":"text","hidden":false,"required":false,"index":false},{"name":"size","description":"Size of file in bytes","type":"bigint","hidden":false,"required":false,"index":false},{"name":"block_size","description":"Block size of filesystem","type":"integer","hidden":false,"required":false,"index":false},{"name":"atime","description":"Last access time","type":"bigint","hidden":false,"required":false,"index":false},{"name":"mtime","description":"Last modification time","type":"bigint","hidden":false,"required":false,"index":false},{"name":"ctime","description":"Creation time","type":"bigint","hidden":false,"required":false,"index":false},{"name":"hard_links","description":"Number of hard links","type":"integer","hidden":false,"required":false,"index":false},{"name":"type","description":"File status","type":"text","hidden":false,"required":false,"index":false}]},{"name":"device_firmware","description":"A best-effort list of discovered firmware versions.","platforms":["darwin"],"columns":[{"name":"type","description":"Type of device","type":"text","hidden":false,"required":false,"index":false},{"name":"device","description":"The device name","type":"text","hidden":false,"required":false,"index":false},{"name":"version","description":"Firmware version","type":"text","hidden":false,"required":false,"index":false}]},{"name":"device_hash","description":"Similar to the hash table, but use TSK and allow block address access.","platforms":["darwin","linux"],"columns":[{"name":"device","description":"Absolute file path to device node","type":"text","hidden":false,"required":true,"index":false},{"name":"partition","description":"A partition number","type":"text","hidden":false,"required":true,"index":false},{"name":"inode","description":"Filesystem inode number","type":"bigint","hidden":false,"required":true,"index":false},{"name":"md5","description":"MD5 hash of provided inode data","type":"text","hidden":false,"required":false,"index":false},{"name":"sha1","description":"SHA1 hash of provided inode data","type":"text","hidden":false,"required":false,"index":false},{"name":"sha256","description":"SHA256 hash of provided inode data","type":"text","hidden":false,"required":false,"index":false}]},{"name":"device_partitions","description":"Use TSK to enumerate details about partitions on a disk device.","platforms":["darwin","linux"],"columns":[{"name":"device","description":"Absolute file path to device node","type":"text","hidden":false,"required":true,"index":false},{"name":"partition","description":"A partition number or description","type":"integer","hidden":false,"required":false,"index":false},{"name":"label","description":"","type":"text","hidden":false,"required":false,"index":false},{"name":"type","description":"","type":"text","hidden":false,"required":false,"index":false},{"name":"offset","description":"","type":"bigint","hidden":false,"required":false,"index":false},{"name":"blocks_size","description":"Byte size of each block","type":"bigint","hidden":false,"required":false,"index":false},{"name":"blocks","description":"Number of blocks","type":"bigint","hidden":false,"required":false,"index":false},{"name":"inodes","description":"Number of meta nodes","type":"bigint","hidden":false,"required":false,"index":false},{"name":"flags","description":"","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"disk_encryption","description":"Disk encryption status and information.","platforms":["darwin","linux"],"columns":[{"name":"name","description":"Disk name","type":"text","hidden":false,"required":false,"index":false},{"name":"uuid","description":"Disk Universally Unique Identifier","type":"text","hidden":false,"required":false,"index":false},{"name":"encrypted","description":"1 If encrypted: true (disk is encrypted), else 0","type":"integer","hidden":false,"required":false,"index":false},{"name":"type","description":"Description of cipher type and mode if available","type":"text","hidden":false,"required":false,"index":false},{"name":"encryption_status","description":"Disk encryption status with one of following values: encrypted | not encrypted | undefined","type":"text","hidden":false,"required":false,"index":false},{"name":"uid","description":"Currently authenticated user if available","type":"text","hidden":false,"required":false,"index":false},{"name":"user_uuid","description":"UUID of authenticated user if available","type":"text","hidden":false,"required":false,"index":false},{"name":"filevault_status","description":"FileVault status with one of following values: on | off | unknown","type":"text","hidden":false,"required":false,"index":false}]},{"name":"disk_events","description":"Track DMG disk image events (appearance/disappearance) when opened.","platforms":["darwin"],"columns":[{"name":"action","description":"Appear or disappear","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"Path of the DMG file accessed","type":"text","hidden":false,"required":false,"index":false},{"name":"name","description":"Disk event name","type":"text","hidden":false,"required":false,"index":false},{"name":"device","description":"Disk event BSD name","type":"text","hidden":false,"required":false,"index":false},{"name":"uuid","description":"UUID of the volume inside DMG if available","type":"text","hidden":false,"required":false,"index":false},{"name":"size","description":"Size of partition in bytes","type":"bigint","hidden":false,"required":false,"index":false},{"name":"ejectable","description":"1 if ejectable, 0 if not","type":"integer","hidden":false,"required":false,"index":false},{"name":"mountable","description":"1 if mountable, 0 if not","type":"integer","hidden":false,"required":false,"index":false},{"name":"writable","description":"1 if writable, 0 if not","type":"integer","hidden":false,"required":false,"index":false},{"name":"content","description":"Disk event content","type":"text","hidden":false,"required":false,"index":false},{"name":"media_name","description":"Disk event media name string","type":"text","hidden":false,"required":false,"index":false},{"name":"vendor","description":"Disk event vendor string","type":"text","hidden":false,"required":false,"index":false},{"name":"filesystem","description":"Filesystem if available","type":"text","hidden":false,"required":false,"index":false},{"name":"checksum","description":"UDIF Master checksum if available (CRC32)","type":"text","hidden":false,"required":false,"index":false},{"name":"time","description":"Time of appearance/disappearance in UNIX time","type":"bigint","hidden":false,"required":false,"index":false},{"name":"eid","description":"Event ID","type":"text","hidden":true,"required":false,"index":false}]},{"name":"disk_info","description":"Retrieve basic information about the physical disks of a system.","platforms":["windows"],"columns":[{"name":"partitions","description":"Number of detected partitions on disk.","type":"integer","hidden":false,"required":false,"index":false},{"name":"disk_index","description":"Physical drive number of the disk.","type":"integer","hidden":false,"required":false,"index":false},{"name":"type","description":"The interface type of the disk.","type":"text","hidden":false,"required":false,"index":false},{"name":"id","description":"The unique identifier of the drive on the system.","type":"text","hidden":false,"required":false,"index":false},{"name":"pnp_device_id","description":"The unique identifier of the drive on the system.","type":"text","hidden":false,"required":false,"index":false},{"name":"disk_size","description":"Size of the disk.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"manufacturer","description":"The manufacturer of the disk.","type":"text","hidden":false,"required":false,"index":false},{"name":"hardware_model","description":"Hard drive model.","type":"text","hidden":false,"required":false,"index":false},{"name":"name","description":"The label of the disk object.","type":"text","hidden":false,"required":false,"index":false},{"name":"serial","description":"The serial number of the disk.","type":"text","hidden":false,"required":false,"index":false},{"name":"description","description":"The OS's description of the disk.","type":"text","hidden":false,"required":false,"index":false}]},{"name":"dns_cache","description":"Enumerate the DNS cache using the undocumented DnsGetCacheDataTable function in dnsapi.dll.","platforms":["windows"],"columns":[{"name":"name","description":"DNS record name","type":"text","hidden":false,"required":false,"index":false},{"name":"type","description":"DNS record type","type":"text","hidden":false,"required":false,"index":false},{"name":"flags","description":"DNS record flags","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"dns_resolvers","description":"Resolvers used by this host.","platforms":["darwin","linux"],"columns":[{"name":"id","description":"Address type index or order","type":"integer","hidden":false,"required":false,"index":false},{"name":"type","description":"Address type: sortlist, nameserver, search","type":"text","hidden":false,"required":false,"index":false},{"name":"address","description":"Resolver IP/IPv6 address","type":"text","hidden":false,"required":false,"index":false},{"name":"netmask","description":"Address (sortlist) netmask length","type":"text","hidden":false,"required":false,"index":false},{"name":"options","description":"Resolver options","type":"bigint","hidden":false,"required":false,"index":false},{"name":"pid_with_namespace","description":"Pids that contain a namespace","type":"integer","hidden":true,"required":false,"index":false}]},{"name":"docker_container_envs","description":"Docker container environment variables.","platforms":["darwin","linux"],"columns":[{"name":"id","description":"Container ID","type":"text","hidden":false,"required":false,"index":false},{"name":"key","description":"Environment variable name","type":"text","hidden":false,"required":false,"index":false},{"name":"value","description":"Environment variable value","type":"text","hidden":false,"required":false,"index":false}]},{"name":"docker_container_fs_changes","description":"Changes to files or directories on container's filesystem.","platforms":["darwin","linux"],"columns":[{"name":"id","description":"Container ID","type":"text","hidden":false,"required":true,"index":false},{"name":"path","description":"FIle or directory path relative to rootfs","type":"text","hidden":false,"required":false,"index":false},{"name":"change_type","description":"Type of change: C:Modified, A:Added, D:Deleted","type":"text","hidden":false,"required":false,"index":false}]},{"name":"docker_container_labels","description":"Docker container labels.","platforms":["darwin","linux"],"columns":[{"name":"id","description":"Container ID","type":"text","hidden":false,"required":false,"index":false},{"name":"key","description":"Label key","type":"text","hidden":false,"required":false,"index":false},{"name":"value","description":"Optional label value","type":"text","hidden":false,"required":false,"index":false}]},{"name":"docker_container_mounts","description":"Docker container mounts.","platforms":["darwin","linux"],"columns":[{"name":"id","description":"Container ID","type":"text","hidden":false,"required":false,"index":false},{"name":"type","description":"Type of mount (bind, volume)","type":"text","hidden":false,"required":false,"index":false},{"name":"name","description":"Optional mount name","type":"text","hidden":false,"required":false,"index":false},{"name":"source","description":"Source path on host","type":"text","hidden":false,"required":false,"index":false},{"name":"destination","description":"Destination path inside container","type":"text","hidden":false,"required":false,"index":false},{"name":"driver","description":"Driver providing the mount","type":"text","hidden":false,"required":false,"index":false},{"name":"mode","description":"Mount options (rw, ro)","type":"text","hidden":false,"required":false,"index":false},{"name":"rw","description":"1 if read/write. 0 otherwise","type":"integer","hidden":false,"required":false,"index":false},{"name":"propagation","description":"Mount propagation","type":"text","hidden":false,"required":false,"index":false}]},{"name":"docker_container_networks","description":"Docker container networks.","platforms":["darwin","linux"],"columns":[{"name":"id","description":"Container ID","type":"text","hidden":false,"required":false,"index":false},{"name":"name","description":"Network name","type":"text","hidden":false,"required":false,"index":false},{"name":"network_id","description":"Network ID","type":"text","hidden":false,"required":false,"index":false},{"name":"endpoint_id","description":"Endpoint ID","type":"text","hidden":false,"required":false,"index":false},{"name":"gateway","description":"Gateway","type":"text","hidden":false,"required":false,"index":false},{"name":"ip_address","description":"IP address","type":"text","hidden":false,"required":false,"index":false},{"name":"ip_prefix_len","description":"IP subnet prefix length","type":"integer","hidden":false,"required":false,"index":false},{"name":"ipv6_gateway","description":"IPv6 gateway","type":"text","hidden":false,"required":false,"index":false},{"name":"ipv6_address","description":"IPv6 address","type":"text","hidden":false,"required":false,"index":false},{"name":"ipv6_prefix_len","description":"IPv6 subnet prefix length","type":"integer","hidden":false,"required":false,"index":false},{"name":"mac_address","description":"MAC address","type":"text","hidden":false,"required":false,"index":false}]},{"name":"docker_container_ports","description":"Docker container ports.","platforms":["darwin","linux"],"columns":[{"name":"id","description":"Container ID","type":"text","hidden":false,"required":false,"index":false},{"name":"type","description":"Protocol (tcp, udp)","type":"text","hidden":false,"required":false,"index":false},{"name":"port","description":"Port inside the container","type":"integer","hidden":false,"required":false,"index":false},{"name":"host_ip","description":"Host IP address on which public port is listening","type":"text","hidden":false,"required":false,"index":false},{"name":"host_port","description":"Host port","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"docker_container_processes","description":"Docker container processes.","platforms":["darwin","linux"],"columns":[{"name":"id","description":"Container ID","type":"text","hidden":false,"required":true,"index":false},{"name":"pid","description":"Process ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"name","description":"The process path or shorthand argv[0]","type":"text","hidden":false,"required":false,"index":false},{"name":"cmdline","description":"Complete argv","type":"text","hidden":false,"required":false,"index":false},{"name":"state","description":"Process state","type":"text","hidden":false,"required":false,"index":false},{"name":"uid","description":"User ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"gid","description":"Group ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"euid","description":"Effective user ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"egid","description":"Effective group ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"suid","description":"Saved user ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"sgid","description":"Saved group ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"wired_size","description":"Bytes of unpageable memory used by process","type":"bigint","hidden":false,"required":false,"index":false},{"name":"resident_size","description":"Bytes of private memory used by process","type":"bigint","hidden":false,"required":false,"index":false},{"name":"total_size","description":"Total virtual memory size","type":"bigint","hidden":false,"required":false,"index":false},{"name":"start_time","description":"Process start in seconds since boot (non-sleeping)","type":"bigint","hidden":false,"required":false,"index":false},{"name":"parent","description":"Process parent's PID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"pgroup","description":"Process group","type":"bigint","hidden":false,"required":false,"index":false},{"name":"threads","description":"Number of threads used by process","type":"integer","hidden":false,"required":false,"index":false},{"name":"nice","description":"Process nice level (-20 to 20, default 0)","type":"integer","hidden":false,"required":false,"index":false},{"name":"user","description":"User name","type":"text","hidden":false,"required":false,"index":false},{"name":"time","description":"Cumulative CPU time. [DD-]HH:MM:SS format","type":"text","hidden":false,"required":false,"index":false},{"name":"cpu","description":"CPU utilization as percentage","type":"double","hidden":false,"required":false,"index":false},{"name":"mem","description":"Memory utilization as percentage","type":"double","hidden":false,"required":false,"index":false}]},{"name":"docker_container_stats","description":"Docker container statistics. Queries on this table take at least one second.","platforms":["darwin","linux"],"columns":[{"name":"id","description":"Container ID","type":"text","hidden":false,"required":true,"index":false},{"name":"name","description":"Container name","type":"text","hidden":false,"required":false,"index":false},{"name":"pids","description":"Number of processes","type":"integer","hidden":false,"required":false,"index":false},{"name":"read","description":"UNIX time when stats were read","type":"bigint","hidden":false,"required":false,"index":false},{"name":"preread","description":"UNIX time when stats were last read","type":"bigint","hidden":false,"required":false,"index":false},{"name":"interval","description":"Difference between read and preread in nano-seconds","type":"bigint","hidden":false,"required":false,"index":false},{"name":"disk_read","description":"Total disk read bytes","type":"bigint","hidden":false,"required":false,"index":false},{"name":"disk_write","description":"Total disk write bytes","type":"bigint","hidden":false,"required":false,"index":false},{"name":"num_procs","description":"Number of processors","type":"integer","hidden":false,"required":false,"index":false},{"name":"cpu_total_usage","description":"Total CPU usage","type":"bigint","hidden":false,"required":false,"index":false},{"name":"cpu_kernelmode_usage","description":"CPU kernel mode usage","type":"bigint","hidden":false,"required":false,"index":false},{"name":"cpu_usermode_usage","description":"CPU user mode usage","type":"bigint","hidden":false,"required":false,"index":false},{"name":"system_cpu_usage","description":"CPU system usage","type":"bigint","hidden":false,"required":false,"index":false},{"name":"online_cpus","description":"Online CPUs","type":"integer","hidden":false,"required":false,"index":false},{"name":"pre_cpu_total_usage","description":"Last read total CPU usage","type":"bigint","hidden":false,"required":false,"index":false},{"name":"pre_cpu_kernelmode_usage","description":"Last read CPU kernel mode usage","type":"bigint","hidden":false,"required":false,"index":false},{"name":"pre_cpu_usermode_usage","description":"Last read CPU user mode usage","type":"bigint","hidden":false,"required":false,"index":false},{"name":"pre_system_cpu_usage","description":"Last read CPU system usage","type":"bigint","hidden":false,"required":false,"index":false},{"name":"pre_online_cpus","description":"Last read online CPUs","type":"integer","hidden":false,"required":false,"index":false},{"name":"memory_usage","description":"Memory usage","type":"bigint","hidden":false,"required":false,"index":false},{"name":"memory_max_usage","description":"Memory maximum usage","type":"bigint","hidden":false,"required":false,"index":false},{"name":"memory_limit","description":"Memory limit","type":"bigint","hidden":false,"required":false,"index":false},{"name":"network_rx_bytes","description":"Total network bytes read","type":"bigint","hidden":false,"required":false,"index":false},{"name":"network_tx_bytes","description":"Total network bytes transmitted","type":"bigint","hidden":false,"required":false,"index":false}]},{"name":"docker_containers","description":"Docker containers information.","platforms":["darwin","linux"],"columns":[{"name":"id","description":"Container ID","type":"text","hidden":false,"required":false,"index":false},{"name":"name","description":"Container name","type":"text","hidden":false,"required":false,"index":false},{"name":"image","description":"Docker image (name) used to launch this container","type":"text","hidden":false,"required":false,"index":false},{"name":"image_id","description":"Docker image ID","type":"text","hidden":false,"required":false,"index":false},{"name":"command","description":"Command with arguments","type":"text","hidden":false,"required":false,"index":false},{"name":"created","description":"Time of creation as UNIX time","type":"bigint","hidden":false,"required":false,"index":false},{"name":"state","description":"Container state (created, restarting, running, removing, paused, exited, dead)","type":"text","hidden":false,"required":false,"index":false},{"name":"status","description":"Container status information","type":"text","hidden":false,"required":false,"index":false},{"name":"pid","description":"Identifier of the initial process","type":"bigint","hidden":false,"required":false,"index":false},{"name":"path","description":"Container path","type":"text","hidden":false,"required":false,"index":false},{"name":"config_entrypoint","description":"Container entrypoint(s)","type":"text","hidden":false,"required":false,"index":false},{"name":"started_at","description":"Container start time as string","type":"text","hidden":false,"required":false,"index":false},{"name":"finished_at","description":"Container finish time as string","type":"text","hidden":false,"required":false,"index":false},{"name":"privileged","description":"Is the container privileged","type":"integer","hidden":false,"required":false,"index":false},{"name":"security_options","description":"List of container security options","type":"text","hidden":false,"required":false,"index":false},{"name":"env_variables","description":"Container environmental variables","type":"text","hidden":false,"required":false,"index":false},{"name":"readonly_rootfs","description":"Is the root filesystem mounted as read only","type":"integer","hidden":false,"required":false,"index":false},{"name":"cgroup_namespace","description":"cgroup namespace","type":"text","hidden":true,"required":false,"index":false},{"name":"ipc_namespace","description":"IPC namespace","type":"text","hidden":true,"required":false,"index":false},{"name":"mnt_namespace","description":"Mount namespace","type":"text","hidden":true,"required":false,"index":false},{"name":"net_namespace","description":"Network namespace","type":"text","hidden":true,"required":false,"index":false},{"name":"pid_namespace","description":"PID namespace","type":"text","hidden":true,"required":false,"index":false},{"name":"user_namespace","description":"User namespace","type":"text","hidden":true,"required":false,"index":false},{"name":"uts_namespace","description":"UTS namespace","type":"text","hidden":true,"required":false,"index":false}]},{"name":"docker_image_history","description":"Docker image history information.","platforms":["darwin","linux"],"columns":[{"name":"id","description":"Image ID","type":"text","hidden":false,"required":false,"index":false},{"name":"created","description":"Time of creation as UNIX time","type":"bigint","hidden":false,"required":false,"index":false},{"name":"size","description":"Size of instruction in bytes","type":"bigint","hidden":false,"required":false,"index":false},{"name":"created_by","description":"Created by instruction","type":"text","hidden":false,"required":false,"index":false},{"name":"tags","description":"Comma-separated list of tags","type":"text","hidden":false,"required":false,"index":false},{"name":"comment","description":"Instruction comment","type":"text","hidden":false,"required":false,"index":false}]},{"name":"docker_image_labels","description":"Docker image labels.","platforms":["darwin","linux"],"columns":[{"name":"id","description":"Image ID","type":"text","hidden":false,"required":false,"index":false},{"name":"key","description":"Label key","type":"text","hidden":false,"required":false,"index":false},{"name":"value","description":"Optional label value","type":"text","hidden":false,"required":false,"index":false}]},{"name":"docker_image_layers","description":"Docker image layers information.","platforms":["darwin","linux"],"columns":[{"name":"id","description":"Image ID","type":"text","hidden":false,"required":false,"index":false},{"name":"layer_id","description":"Layer ID","type":"text","hidden":false,"required":false,"index":false},{"name":"layer_order","description":"Layer Order (1 = base layer)","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"docker_images","description":"Docker images information.","platforms":["darwin","linux"],"columns":[{"name":"id","description":"Image ID","type":"text","hidden":false,"required":false,"index":false},{"name":"created","description":"Time of creation as UNIX time","type":"bigint","hidden":false,"required":false,"index":false},{"name":"size_bytes","description":"Size of image in bytes","type":"bigint","hidden":false,"required":false,"index":false},{"name":"tags","description":"Comma-separated list of repository tags","type":"text","hidden":false,"required":false,"index":false}]},{"name":"docker_info","description":"Docker system information.","platforms":["darwin","linux"],"columns":[{"name":"id","description":"Docker system ID","type":"text","hidden":false,"required":false,"index":false},{"name":"containers","description":"Total number of containers","type":"integer","hidden":false,"required":false,"index":false},{"name":"containers_running","description":"Number of containers currently running","type":"integer","hidden":false,"required":false,"index":false},{"name":"containers_paused","description":"Number of containers in paused state","type":"integer","hidden":false,"required":false,"index":false},{"name":"containers_stopped","description":"Number of containers in stopped state","type":"integer","hidden":false,"required":false,"index":false},{"name":"images","description":"Number of images","type":"integer","hidden":false,"required":false,"index":false},{"name":"storage_driver","description":"Storage driver","type":"text","hidden":false,"required":false,"index":false},{"name":"memory_limit","description":"1 if memory limit support is enabled. 0 otherwise","type":"integer","hidden":false,"required":false,"index":false},{"name":"swap_limit","description":"1 if swap limit support is enabled. 0 otherwise","type":"integer","hidden":false,"required":false,"index":false},{"name":"kernel_memory","description":"1 if kernel memory limit support is enabled. 0 otherwise","type":"integer","hidden":false,"required":false,"index":false},{"name":"cpu_cfs_period","description":"1 if CPU Completely Fair Scheduler (CFS) period support is enabled. 0 otherwise","type":"integer","hidden":false,"required":false,"index":false},{"name":"cpu_cfs_quota","description":"1 if CPU Completely Fair Scheduler (CFS) quota support is enabled. 0 otherwise","type":"integer","hidden":false,"required":false,"index":false},{"name":"cpu_shares","description":"1 if CPU share weighting support is enabled. 0 otherwise","type":"integer","hidden":false,"required":false,"index":false},{"name":"cpu_set","description":"1 if CPU set selection support is enabled. 0 otherwise","type":"integer","hidden":false,"required":false,"index":false},{"name":"ipv4_forwarding","description":"1 if IPv4 forwarding is enabled. 0 otherwise","type":"integer","hidden":false,"required":false,"index":false},{"name":"bridge_nf_iptables","description":"1 if bridge netfilter iptables is enabled. 0 otherwise","type":"integer","hidden":false,"required":false,"index":false},{"name":"bridge_nf_ip6tables","description":"1 if bridge netfilter ip6tables is enabled. 0 otherwise","type":"integer","hidden":false,"required":false,"index":false},{"name":"oom_kill_disable","description":"1 if Out-of-memory kill is disabled. 0 otherwise","type":"integer","hidden":false,"required":false,"index":false},{"name":"logging_driver","description":"Logging driver","type":"text","hidden":false,"required":false,"index":false},{"name":"cgroup_driver","description":"Control groups driver","type":"text","hidden":false,"required":false,"index":false},{"name":"kernel_version","description":"Kernel version","type":"text","hidden":false,"required":false,"index":false},{"name":"os","description":"Operating system","type":"text","hidden":false,"required":false,"index":false},{"name":"os_type","description":"Operating system type","type":"text","hidden":false,"required":false,"index":false},{"name":"architecture","description":"Hardware architecture","type":"text","hidden":false,"required":false,"index":false},{"name":"cpus","description":"Number of CPUs","type":"integer","hidden":false,"required":false,"index":false},{"name":"memory","description":"Total memory","type":"bigint","hidden":false,"required":false,"index":false},{"name":"http_proxy","description":"HTTP proxy","type":"text","hidden":false,"required":false,"index":false},{"name":"https_proxy","description":"HTTPS proxy","type":"text","hidden":false,"required":false,"index":false},{"name":"no_proxy","description":"Comma-separated list of domain extensions proxy should not be used for","type":"text","hidden":false,"required":false,"index":false},{"name":"name","description":"Name of the docker host","type":"text","hidden":false,"required":false,"index":false},{"name":"server_version","description":"Server version","type":"text","hidden":false,"required":false,"index":false},{"name":"root_dir","description":"Docker root directory","type":"text","hidden":false,"required":false,"index":false}]},{"name":"docker_network_labels","description":"Docker network labels.","platforms":["darwin","linux"],"columns":[{"name":"id","description":"Network ID","type":"text","hidden":false,"required":false,"index":false},{"name":"key","description":"Label key","type":"text","hidden":false,"required":false,"index":false},{"name":"value","description":"Optional label value","type":"text","hidden":false,"required":false,"index":false}]},{"name":"docker_networks","description":"Docker networks information.","platforms":["darwin","linux"],"columns":[{"name":"id","description":"Network ID","type":"text","hidden":false,"required":false,"index":false},{"name":"name","description":"Network name","type":"text","hidden":false,"required":false,"index":false},{"name":"driver","description":"Network driver","type":"text","hidden":false,"required":false,"index":false},{"name":"created","description":"Time of creation as UNIX time","type":"bigint","hidden":false,"required":false,"index":false},{"name":"enable_ipv6","description":"1 if IPv6 is enabled on this network. 0 otherwise","type":"integer","hidden":false,"required":false,"index":false},{"name":"subnet","description":"Network subnet","type":"text","hidden":false,"required":false,"index":false},{"name":"gateway","description":"Network gateway","type":"text","hidden":false,"required":false,"index":false}]},{"name":"docker_version","description":"Docker version information.","platforms":["darwin","linux"],"columns":[{"name":"version","description":"Docker version","type":"text","hidden":false,"required":false,"index":false},{"name":"api_version","description":"API version","type":"text","hidden":false,"required":false,"index":false},{"name":"min_api_version","description":"Minimum API version supported","type":"text","hidden":false,"required":false,"index":false},{"name":"git_commit","description":"Docker build git commit","type":"text","hidden":false,"required":false,"index":false},{"name":"go_version","description":"Go version","type":"text","hidden":false,"required":false,"index":false},{"name":"os","description":"Operating system","type":"text","hidden":false,"required":false,"index":false},{"name":"arch","description":"Hardware architecture","type":"text","hidden":false,"required":false,"index":false},{"name":"kernel_version","description":"Kernel version","type":"text","hidden":false,"required":false,"index":false},{"name":"build_time","description":"Build time","type":"text","hidden":false,"required":false,"index":false}]},{"name":"docker_volume_labels","description":"Docker volume labels.","platforms":["darwin","linux"],"columns":[{"name":"name","description":"Volume name","type":"text","hidden":false,"required":false,"index":false},{"name":"key","description":"Label key","type":"text","hidden":false,"required":false,"index":false},{"name":"value","description":"Optional label value","type":"text","hidden":false,"required":false,"index":false}]},{"name":"docker_volumes","description":"Docker volumes information.","platforms":["darwin","linux"],"columns":[{"name":"name","description":"Volume name","type":"text","hidden":false,"required":false,"index":false},{"name":"driver","description":"Volume driver","type":"text","hidden":false,"required":false,"index":false},{"name":"mount_point","description":"Mount point","type":"text","hidden":false,"required":false,"index":false},{"name":"type","description":"Volume type","type":"text","hidden":false,"required":false,"index":false}]},{"name":"drivers","description":"Details for in-use Windows device drivers. This does not display installed but unused drivers.","platforms":["windows"],"columns":[{"name":"device_id","description":"Device ID","type":"text","hidden":false,"required":false,"index":false},{"name":"device_name","description":"Device name","type":"text","hidden":false,"required":false,"index":false},{"name":"image","description":"Path to driver image file","type":"text","hidden":false,"required":false,"index":false},{"name":"description","description":"Driver description","type":"text","hidden":false,"required":false,"index":false},{"name":"service","description":"Driver service name, if one exists","type":"text","hidden":false,"required":false,"index":false},{"name":"service_key","description":"Driver service registry key","type":"text","hidden":false,"required":false,"index":false},{"name":"version","description":"Driver version","type":"text","hidden":false,"required":false,"index":false},{"name":"inf","description":"Associated inf file","type":"text","hidden":false,"required":false,"index":false},{"name":"class","description":"Device/driver class name","type":"text","hidden":false,"required":false,"index":false},{"name":"provider","description":"Driver provider","type":"text","hidden":false,"required":false,"index":false},{"name":"manufacturer","description":"Device manufacturer","type":"text","hidden":false,"required":false,"index":false},{"name":"driver_key","description":"Driver key","type":"text","hidden":false,"required":false,"index":false},{"name":"date","description":"Driver date","type":"bigint","hidden":false,"required":false,"index":false},{"name":"signed","description":"Whether the driver is signed or not","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"ec2_instance_metadata","description":"EC2 instance metadata.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"instance_id","description":"EC2 instance ID","type":"text","hidden":false,"required":false,"index":false},{"name":"instance_type","description":"EC2 instance type","type":"text","hidden":false,"required":false,"index":false},{"name":"architecture","description":"Hardware architecture of this EC2 instance","type":"text","hidden":false,"required":false,"index":false},{"name":"region","description":"AWS region in which this instance launched","type":"text","hidden":false,"required":false,"index":false},{"name":"availability_zone","description":"Availability zone in which this instance launched","type":"text","hidden":false,"required":false,"index":false},{"name":"local_hostname","description":"Private IPv4 DNS hostname of the first interface of this instance","type":"text","hidden":false,"required":false,"index":false},{"name":"local_ipv4","description":"Private IPv4 address of the first interface of this instance","type":"text","hidden":false,"required":false,"index":false},{"name":"mac","description":"MAC address for the first network interface of this EC2 instance","type":"text","hidden":false,"required":false,"index":false},{"name":"security_groups","description":"Comma separated list of security group names","type":"text","hidden":false,"required":false,"index":false},{"name":"iam_arn","description":"If there is an IAM role associated with the instance, contains instance profile ARN","type":"text","hidden":false,"required":false,"index":false},{"name":"ami_id","description":"AMI ID used to launch this EC2 instance","type":"text","hidden":false,"required":false,"index":false},{"name":"reservation_id","description":"ID of the reservation","type":"text","hidden":false,"required":false,"index":false},{"name":"account_id","description":"AWS account ID which owns this EC2 instance","type":"text","hidden":false,"required":false,"index":false},{"name":"ssh_public_key","description":"SSH public key. Only available if supplied at instance launch time","type":"text","hidden":false,"required":false,"index":false}]},{"name":"ec2_instance_tags","description":"EC2 instance tag key value pairs.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"instance_id","description":"EC2 instance ID","type":"text","hidden":false,"required":false,"index":false},{"name":"key","description":"Tag key","type":"text","hidden":false,"required":false,"index":false},{"name":"value","description":"Tag value","type":"text","hidden":false,"required":false,"index":false}]},{"name":"es_process_events","description":"Process execution events from EndpointSecurity.","platforms":["darwin"],"columns":[{"name":"version","description":"Version of EndpointSecurity event","type":"integer","hidden":false,"required":false,"index":false},{"name":"seq_num","description":"Per event sequence number","type":"bigint","hidden":false,"required":false,"index":false},{"name":"global_seq_num","description":"Global sequence number","type":"bigint","hidden":false,"required":false,"index":false},{"name":"pid","description":"Process (or thread) ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"path","description":"Path of executed file","type":"text","hidden":false,"required":false,"index":false},{"name":"parent","description":"Parent process ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"original_parent","description":"Original parent process ID in case of reparenting","type":"bigint","hidden":false,"required":false,"index":false},{"name":"cmdline","description":"Command line arguments (argv)","type":"text","hidden":false,"required":false,"index":false},{"name":"cmdline_count","description":"Number of command line arguments","type":"bigint","hidden":false,"required":false,"index":false},{"name":"env","description":"Environment variables delimited by spaces","type":"text","hidden":false,"required":false,"index":false},{"name":"env_count","description":"Number of environment variables","type":"bigint","hidden":false,"required":false,"index":false},{"name":"cwd","description":"The process current working directory","type":"text","hidden":false,"required":false,"index":false},{"name":"uid","description":"User ID of the process","type":"bigint","hidden":false,"required":false,"index":false},{"name":"euid","description":"Effective User ID of the process","type":"bigint","hidden":false,"required":false,"index":false},{"name":"gid","description":"Group ID of the process","type":"bigint","hidden":false,"required":false,"index":false},{"name":"egid","description":"Effective Group ID of the process","type":"bigint","hidden":false,"required":false,"index":false},{"name":"username","description":"Username","type":"text","hidden":false,"required":false,"index":false},{"name":"signing_id","description":"Signature identifier of the process","type":"text","hidden":false,"required":false,"index":false},{"name":"team_id","description":"Team identifier of thd process","type":"text","hidden":false,"required":false,"index":false},{"name":"cdhash","description":"Codesigning hash of the process","type":"text","hidden":false,"required":false,"index":false},{"name":"platform_binary","description":"Indicates if the binary is Apple signed binary (1) or not (0)","type":"integer","hidden":false,"required":false,"index":false},{"name":"exit_code","description":"Exit code of a process in case of an exit event","type":"integer","hidden":false,"required":false,"index":false},{"name":"child_pid","description":"Process ID of a child process in case of a fork event","type":"bigint","hidden":false,"required":false,"index":false},{"name":"time","description":"Time of execution in UNIX time","type":"bigint","hidden":false,"required":false,"index":false},{"name":"event_type","description":"Type of EndpointSecurity event","type":"text","hidden":false,"required":false,"index":false},{"name":"eid","description":"Event ID","type":"text","hidden":true,"required":false,"index":false}]},{"name":"es_process_file_events","description":"Process execution events from EndpointSecurity.","platforms":["darwin"],"columns":[{"name":"version","description":"Version of EndpointSecurity event","type":"integer","hidden":false,"required":false,"index":false},{"name":"seq_num","description":"Per event sequence number","type":"bigint","hidden":false,"required":false,"index":false},{"name":"global_seq_num","description":"Global sequence number","type":"bigint","hidden":false,"required":false,"index":false},{"name":"pid","description":"Process (or thread) ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"parent","description":"Parent process ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"path","description":"Path of executed file","type":"text","hidden":false,"required":false,"index":false},{"name":"filename","description":"The source or target filename for the event","type":"text","hidden":false,"required":false,"index":false},{"name":"dest_filename","description":"Destination filename for the event","type":"text","hidden":false,"required":false,"index":false},{"name":"event_type","description":"Type of EndpointSecurity event","type":"text","hidden":false,"required":false,"index":false},{"name":"time","description":"Time of execution in UNIX time","type":"bigint","hidden":false,"required":false,"index":false},{"name":"eid","description":"Event ID","type":"text","hidden":true,"required":false,"index":false}]},{"name":"etc_hosts","description":"Line-parsed /etc/hosts.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"address","description":"IP address mapping","type":"text","hidden":false,"required":false,"index":false},{"name":"hostnames","description":"Raw hosts mapping","type":"text","hidden":false,"required":false,"index":false},{"name":"pid_with_namespace","description":"Pids that contain a namespace","type":"integer","hidden":true,"required":false,"index":false}]},{"name":"etc_protocols","description":"Line-parsed /etc/protocols.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"name","description":"Protocol name","type":"text","hidden":false,"required":false,"index":false},{"name":"number","description":"Protocol number","type":"integer","hidden":false,"required":false,"index":false},{"name":"alias","description":"Protocol alias","type":"text","hidden":false,"required":false,"index":false},{"name":"comment","description":"Comment with protocol description","type":"text","hidden":false,"required":false,"index":false}]},{"name":"etc_services","description":"Line-parsed /etc/services.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"name","description":"Service name","type":"text","hidden":false,"required":false,"index":false},{"name":"port","description":"Service port number","type":"integer","hidden":false,"required":false,"index":false},{"name":"protocol","description":"Transport protocol (TCP/UDP)","type":"text","hidden":false,"required":false,"index":false},{"name":"aliases","description":"Optional space separated list of other names for a service","type":"text","hidden":false,"required":false,"index":false},{"name":"comment","description":"Optional comment for a service.","type":"text","hidden":false,"required":false,"index":false}]},{"name":"event_taps","description":"Returns information about installed event taps.","platforms":["darwin"],"columns":[{"name":"enabled","description":"Is the Event Tap enabled","type":"integer","hidden":false,"required":false,"index":false},{"name":"event_tap_id","description":"Unique ID for the Tap","type":"integer","hidden":false,"required":false,"index":false},{"name":"event_tapped","description":"The mask that identifies the set of events to be observed.","type":"text","hidden":false,"required":false,"index":false},{"name":"process_being_tapped","description":"The process ID of the target application","type":"integer","hidden":false,"required":false,"index":false},{"name":"tapping_process","description":"The process ID of the application that created the event tap.","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"extended_attributes","description":"Returns the extended attributes for files (similar to Windows ADS).","platforms":["darwin","linux"],"columns":[{"name":"path","description":"Absolute file path","type":"text","hidden":false,"required":true,"index":false},{"name":"directory","description":"Directory of file(s)","type":"text","hidden":false,"required":true,"index":false},{"name":"key","description":"Name of the value generated from the extended attribute","type":"text","hidden":false,"required":false,"index":false},{"name":"value","description":"The parsed information from the attribute","type":"text","hidden":false,"required":false,"index":false},{"name":"base64","description":"1 if the value is base64 encoded else 0","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"fan_speed_sensors","description":"Fan speeds.","platforms":["darwin"],"columns":[{"name":"fan","description":"Fan number","type":"text","hidden":false,"required":false,"index":false},{"name":"name","description":"Fan name","type":"text","hidden":false,"required":false,"index":false},{"name":"actual","description":"Actual speed","type":"integer","hidden":false,"required":false,"index":false},{"name":"min","description":"Minimum speed","type":"integer","hidden":false,"required":false,"index":false},{"name":"max","description":"Maximum speed","type":"integer","hidden":false,"required":false,"index":false},{"name":"target","description":"Target speed","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"fbsd_kmods","description":"Loaded FreeBSD kernel modules.","platforms":["freebsd"],"columns":[{"name":"name","description":"Module name","type":"text","hidden":false,"required":false,"index":false},{"name":"size","description":"Size of module content","type":"integer","hidden":false,"required":false,"index":false},{"name":"refs","description":"Module reverse dependencies","type":"integer","hidden":false,"required":false,"index":false},{"name":"address","description":"Kernel module address","type":"text","hidden":false,"required":false,"index":false}]},{"name":"file","description":"Interactive filesystem attributes and metadata.","platforms":["darwin","linux","freebsd","windows"],"columns":[{"name":"path","description":"Absolute file path","type":"text","hidden":false,"required":true,"index":false},{"name":"directory","description":"Directory of file(s)","type":"text","hidden":false,"required":true,"index":false},{"name":"filename","description":"Name portion of file path","type":"text","hidden":false,"required":false,"index":false},{"name":"inode","description":"Filesystem inode number","type":"bigint","hidden":false,"required":false,"index":false},{"name":"uid","description":"Owning user ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"gid","description":"Owning group ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"mode","description":"Permission bits","type":"text","hidden":false,"required":false,"index":false},{"name":"device","description":"Device ID (optional)","type":"bigint","hidden":false,"required":false,"index":false},{"name":"size","description":"Size of file in bytes","type":"bigint","hidden":false,"required":false,"index":false},{"name":"block_size","description":"Block size of filesystem","type":"integer","hidden":false,"required":false,"index":false},{"name":"atime","description":"Last access time","type":"bigint","hidden":false,"required":false,"index":false},{"name":"mtime","description":"Last modification time","type":"bigint","hidden":false,"required":false,"index":false},{"name":"ctime","description":"Last status change time","type":"bigint","hidden":false,"required":false,"index":false},{"name":"btime","description":"(B)irth or (cr)eate time","type":"bigint","hidden":false,"required":false,"index":false},{"name":"hard_links","description":"Number of hard links","type":"integer","hidden":false,"required":false,"index":false},{"name":"symlink","description":"1 if the path is a symlink, otherwise 0","type":"integer","hidden":false,"required":false,"index":false},{"name":"type","description":"File status","type":"text","hidden":false,"required":false,"index":false},{"name":"attributes","description":"File attrib string. See: https://ss64.com/nt/attrib.html","type":"text","hidden":true,"required":false,"index":false},{"name":"volume_serial","description":"Volume serial number","type":"text","hidden":true,"required":false,"index":false},{"name":"file_id","description":"file ID","type":"text","hidden":true,"required":false,"index":false},{"name":"file_version","description":"File version","type":"text","hidden":true,"required":false,"index":false},{"name":"product_version","description":"File product version","type":"text","hidden":true,"required":false,"index":false},{"name":"original_filename","description":"(Executable files only) Original filename","type":"text","hidden":true,"required":false,"index":false},{"name":"bsd_flags","description":"The BSD file flags (chflags). Possible values: NODUMP, UF_IMMUTABLE, UF_APPEND, OPAQUE, HIDDEN, ARCHIVED, SF_IMMUTABLE, SF_APPEND","type":"text","hidden":false,"required":false,"index":false},{"name":"pid_with_namespace","description":"Pids that contain a namespace","type":"integer","hidden":true,"required":false,"index":false},{"name":"mount_namespace_id","description":"Mount namespace id","type":"text","hidden":true,"required":false,"index":false}]},{"name":"file_events","description":"Track time/action changes to files specified in configuration data.","platforms":["darwin","linux"],"columns":[{"name":"target_path","description":"The path associated with the event","type":"text","hidden":false,"required":false,"index":false},{"name":"category","description":"The category of the file defined in the config","type":"text","hidden":false,"required":false,"index":false},{"name":"action","description":"Change action (UPDATE, REMOVE, etc)","type":"text","hidden":false,"required":false,"index":false},{"name":"transaction_id","description":"ID used during bulk update","type":"bigint","hidden":false,"required":false,"index":false},{"name":"inode","description":"Filesystem inode number","type":"bigint","hidden":false,"required":false,"index":false},{"name":"uid","description":"Owning user ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"gid","description":"Owning group ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"mode","description":"Permission bits","type":"text","hidden":false,"required":false,"index":false},{"name":"size","description":"Size of file in bytes","type":"bigint","hidden":false,"required":false,"index":false},{"name":"atime","description":"Last access time","type":"bigint","hidden":false,"required":false,"index":false},{"name":"mtime","description":"Last modification time","type":"bigint","hidden":false,"required":false,"index":false},{"name":"ctime","description":"Last status change time","type":"bigint","hidden":false,"required":false,"index":false},{"name":"md5","description":"The MD5 of the file after change","type":"text","hidden":false,"required":false,"index":false},{"name":"sha1","description":"The SHA1 of the file after change","type":"text","hidden":false,"required":false,"index":false},{"name":"sha256","description":"The SHA256 of the file after change","type":"text","hidden":false,"required":false,"index":false},{"name":"hashed","description":"1 if the file was hashed, 0 if not, -1 if hashing failed","type":"integer","hidden":false,"required":false,"index":false},{"name":"time","description":"Time of file event","type":"bigint","hidden":false,"required":false,"index":false},{"name":"eid","description":"Event ID","type":"text","hidden":true,"required":false,"index":false}]},{"name":"firefox_addons","description":"Firefox browser extensions, webapps, and addons.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"uid","description":"The local user that owns the addon","type":"bigint","hidden":false,"required":false,"index":false},{"name":"name","description":"Addon display name","type":"text","hidden":false,"required":false,"index":false},{"name":"identifier","description":"Addon identifier","type":"text","hidden":false,"required":false,"index":false},{"name":"creator","description":"Addon-supported creator string","type":"text","hidden":false,"required":false,"index":false},{"name":"type","description":"Extension, addon, webapp","type":"text","hidden":false,"required":false,"index":false},{"name":"version","description":"Addon-supplied version string","type":"text","hidden":false,"required":false,"index":false},{"name":"description","description":"Addon-supplied description string","type":"text","hidden":false,"required":false,"index":false},{"name":"source_url","description":"URL that installed the addon","type":"text","hidden":false,"required":false,"index":false},{"name":"visible","description":"1 If the addon is shown in browser else 0","type":"integer","hidden":false,"required":false,"index":false},{"name":"active","description":"1 If the addon is active else 0","type":"integer","hidden":false,"required":false,"index":false},{"name":"disabled","description":"1 If the addon is application-disabled else 0","type":"integer","hidden":false,"required":false,"index":false},{"name":"autoupdate","description":"1 If the addon applies background updates else 0","type":"integer","hidden":false,"required":false,"index":false},{"name":"native","description":"1 If the addon includes binary components else 0","type":"integer","hidden":false,"required":false,"index":false},{"name":"location","description":"Global, profile location","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"Path to plugin bundle","type":"text","hidden":false,"required":false,"index":false}]},{"name":"gatekeeper","description":"macOS Gatekeeper Details.","platforms":["darwin"],"columns":[{"name":"assessments_enabled","description":"1 If a Gatekeeper is enabled else 0","type":"integer","hidden":false,"required":false,"index":false},{"name":"dev_id_enabled","description":"1 If a Gatekeeper allows execution from identified developers else 0","type":"integer","hidden":false,"required":false,"index":false},{"name":"version","description":"Version of Gatekeeper's gke.bundle","type":"text","hidden":false,"required":false,"index":false},{"name":"opaque_version","description":"Version of Gatekeeper's gkopaque.bundle","type":"text","hidden":false,"required":false,"index":false}]},{"name":"gatekeeper_approved_apps","description":"Gatekeeper apps a user has allowed to run.","platforms":["darwin"],"columns":[{"name":"path","description":"Path of executable allowed to run","type":"text","hidden":false,"required":false,"index":false},{"name":"requirement","description":"Code signing requirement language","type":"text","hidden":false,"required":false,"index":false},{"name":"ctime","description":"Last change time","type":"double","hidden":false,"required":false,"index":false},{"name":"mtime","description":"Last modification time","type":"double","hidden":false,"required":false,"index":false}]},{"name":"groups","description":"Local system groups.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"gid","description":"Unsigned int64 group ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"gid_signed","description":"A signed int64 version of gid","type":"bigint","hidden":false,"required":false,"index":false},{"name":"groupname","description":"Canonical local group name","type":"text","hidden":false,"required":false,"index":false},{"name":"group_sid","description":"Unique group ID","type":"text","hidden":true,"required":false,"index":false},{"name":"comment","description":"Remarks or comments associated with the group","type":"text","hidden":true,"required":false,"index":false},{"name":"is_hidden","description":"IsHidden attribute set in OpenDirectory","type":"integer","hidden":false,"required":false,"index":false},{"name":"pid_with_namespace","description":"Pids that contain a namespace","type":"integer","hidden":true,"required":false,"index":false}]},{"name":"hardware_events","description":"Hardware (PCI/USB/HID) events from UDEV or IOKit.","platforms":["darwin","linux"],"columns":[{"name":"action","description":"Remove, insert, change properties, etc","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"Local device path assigned (optional)","type":"text","hidden":false,"required":false,"index":false},{"name":"type","description":"Type of hardware and hardware event","type":"text","hidden":false,"required":false,"index":false},{"name":"driver","description":"Driver claiming the device","type":"text","hidden":false,"required":false,"index":false},{"name":"vendor","description":"Hardware device vendor","type":"text","hidden":false,"required":false,"index":false},{"name":"vendor_id","description":"Hex encoded Hardware vendor identifier","type":"text","hidden":false,"required":false,"index":false},{"name":"model","description":"Hardware device model","type":"text","hidden":false,"required":false,"index":false},{"name":"model_id","description":"Hex encoded Hardware model identifier","type":"text","hidden":false,"required":false,"index":false},{"name":"serial","description":"Device serial (optional)","type":"text","hidden":false,"required":false,"index":false},{"name":"revision","description":"Device revision (optional)","type":"text","hidden":false,"required":false,"index":false},{"name":"time","description":"Time of hardware event","type":"bigint","hidden":false,"required":false,"index":false},{"name":"eid","description":"Event ID","type":"text","hidden":true,"required":false,"index":false}]},{"name":"hash","description":"Filesystem hash data.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"path","description":"Must provide a path or directory","type":"text","hidden":false,"required":true,"index":false},{"name":"directory","description":"Must provide a path or directory","type":"text","hidden":false,"required":true,"index":false},{"name":"md5","description":"MD5 hash of provided filesystem data","type":"text","hidden":false,"required":false,"index":false},{"name":"sha1","description":"SHA1 hash of provided filesystem data","type":"text","hidden":false,"required":false,"index":false},{"name":"sha256","description":"SHA256 hash of provided filesystem data","type":"text","hidden":false,"required":false,"index":false},{"name":"pid_with_namespace","description":"Pids that contain a namespace","type":"integer","hidden":true,"required":false,"index":false},{"name":"mount_namespace_id","description":"Mount namespace id","type":"text","hidden":true,"required":false,"index":false}]},{"name":"homebrew_packages","description":"The installed homebrew package database.","platforms":["darwin"],"columns":[{"name":"name","description":"Package name","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"Package install path","type":"text","hidden":false,"required":false,"index":false},{"name":"version","description":"Current 'linked' version","type":"text","hidden":false,"required":false,"index":false},{"name":"prefix","description":"Homebrew install prefix","type":"text","hidden":true,"required":false,"index":false}]},{"name":"hvci_status","description":"Retrieve HVCI info of the machine.","platforms":["windows"],"columns":[{"name":"version","description":"The version number of the Device Guard build.","type":"text","hidden":false,"required":false,"index":false},{"name":"instance_identifier","description":"The instance ID of Device Guard.","type":"text","hidden":false,"required":false,"index":false},{"name":"vbs_status","description":"The status of the virtualization based security settings. Returns UNKNOWN if an error is encountered.","type":"text","hidden":false,"required":false,"index":false},{"name":"code_integrity_policy_enforcement_status","description":"The status of the code integrity policy enforcement settings. Returns UNKNOWN if an error is encountered.","type":"text","hidden":false,"required":false,"index":false},{"name":"umci_policy_status","description":"The status of the User Mode Code Integrity security settings. Returns UNKNOWN if an error is encountered.","type":"text","hidden":false,"required":false,"index":false}]},{"name":"ibridge_info","description":"Information about the Apple iBridge hardware controller.","platforms":["darwin"],"columns":[{"name":"boot_uuid","description":"Boot UUID of the iBridge controller","type":"text","hidden":false,"required":false,"index":false},{"name":"coprocessor_version","description":"The manufacturer and chip version","type":"text","hidden":false,"required":false,"index":false},{"name":"firmware_version","description":"The build version of the firmware","type":"text","hidden":false,"required":false,"index":false},{"name":"unique_chip_id","description":"Unique id of the iBridge controller","type":"text","hidden":false,"required":false,"index":false}]},{"name":"ie_extensions","description":"Internet Explorer browser extensions.","platforms":["windows"],"columns":[{"name":"name","description":"Extension display name","type":"text","hidden":false,"required":false,"index":false},{"name":"registry_path","description":"Extension identifier","type":"text","hidden":false,"required":false,"index":false},{"name":"version","description":"Version of the executable","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"Path to executable","type":"text","hidden":false,"required":false,"index":false}]},{"name":"intel_me_info","description":"Intel ME/CSE Info.","platforms":["linux","windows"],"columns":[{"name":"version","description":"Intel ME version","type":"text","hidden":false,"required":false,"index":false}]},{"name":"interface_addresses","description":"Network interfaces and relevant metadata.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"interface","description":"Interface name","type":"text","hidden":false,"required":false,"index":false},{"name":"address","description":"Specific address for interface","type":"text","hidden":false,"required":false,"index":false},{"name":"mask","description":"Interface netmask","type":"text","hidden":false,"required":false,"index":false},{"name":"broadcast","description":"Broadcast address for the interface","type":"text","hidden":false,"required":false,"index":false},{"name":"point_to_point","description":"PtP address for the interface","type":"text","hidden":false,"required":false,"index":false},{"name":"type","description":"Type of address. One of dhcp, manual, auto, other, unknown","type":"text","hidden":false,"required":false,"index":false},{"name":"friendly_name","description":"The friendly display name of the interface.","type":"text","hidden":true,"required":false,"index":false}]},{"name":"interface_details","description":"Detailed information and stats of network interfaces.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"interface","description":"Interface name","type":"text","hidden":false,"required":false,"index":false},{"name":"mac","description":"MAC of interface (optional)","type":"text","hidden":false,"required":false,"index":false},{"name":"type","description":"Interface type (includes virtual)","type":"integer","hidden":false,"required":false,"index":false},{"name":"mtu","description":"Network MTU","type":"integer","hidden":false,"required":false,"index":false},{"name":"metric","description":"Metric based on the speed of the interface","type":"integer","hidden":false,"required":false,"index":false},{"name":"flags","description":"Flags (netdevice) for the device","type":"integer","hidden":false,"required":false,"index":false},{"name":"ipackets","description":"Input packets","type":"bigint","hidden":false,"required":false,"index":false},{"name":"opackets","description":"Output packets","type":"bigint","hidden":false,"required":false,"index":false},{"name":"ibytes","description":"Input bytes","type":"bigint","hidden":false,"required":false,"index":false},{"name":"obytes","description":"Output bytes","type":"bigint","hidden":false,"required":false,"index":false},{"name":"ierrors","description":"Input errors","type":"bigint","hidden":false,"required":false,"index":false},{"name":"oerrors","description":"Output errors","type":"bigint","hidden":false,"required":false,"index":false},{"name":"idrops","description":"Input drops","type":"bigint","hidden":false,"required":false,"index":false},{"name":"odrops","description":"Output drops","type":"bigint","hidden":false,"required":false,"index":false},{"name":"collisions","description":"Packet Collisions detected","type":"bigint","hidden":false,"required":false,"index":false},{"name":"last_change","description":"Time of last device modification (optional)","type":"bigint","hidden":false,"required":false,"index":false},{"name":"link_speed","description":"Interface speed in Mb/s","type":"bigint","hidden":false,"required":false,"index":false},{"name":"pci_slot","description":"PCI slot number","type":"text","hidden":true,"required":false,"index":false},{"name":"friendly_name","description":"The friendly display name of the interface.","type":"text","hidden":true,"required":false,"index":false},{"name":"description","description":"Short description of the object a one-line string.","type":"text","hidden":true,"required":false,"index":false},{"name":"manufacturer","description":"Name of the network adapter's manufacturer.","type":"text","hidden":true,"required":false,"index":false},{"name":"connection_id","description":"Name of the network connection as it appears in the Network Connections Control Panel program.","type":"text","hidden":true,"required":false,"index":false},{"name":"connection_status","description":"State of the network adapter connection to the network.","type":"text","hidden":true,"required":false,"index":false},{"name":"enabled","description":"Indicates whether the adapter is enabled or not.","type":"integer","hidden":true,"required":false,"index":false},{"name":"physical_adapter","description":"Indicates whether the adapter is a physical or a logical adapter.","type":"integer","hidden":true,"required":false,"index":false},{"name":"speed","description":"Estimate of the current bandwidth in bits per second.","type":"integer","hidden":true,"required":false,"index":false},{"name":"service","description":"The name of the service the network adapter uses.","type":"text","hidden":true,"required":false,"index":false},{"name":"dhcp_enabled","description":"If TRUE, the dynamic host configuration protocol (DHCP) server automatically assigns an IP address to the computer system when establishing a network connection.","type":"integer","hidden":true,"required":false,"index":false},{"name":"dhcp_lease_expires","description":"Expiration date and time for a leased IP address that was assigned to the computer by the dynamic host configuration protocol (DHCP) server.","type":"text","hidden":true,"required":false,"index":false},{"name":"dhcp_lease_obtained","description":"Date and time the lease was obtained for the IP address assigned to the computer by the dynamic host configuration protocol (DHCP) server.","type":"text","hidden":true,"required":false,"index":false},{"name":"dhcp_server","description":"IP address of the dynamic host configuration protocol (DHCP) server.","type":"text","hidden":true,"required":false,"index":false},{"name":"dns_domain","description":"Organization name followed by a period and an extension that indicates the type of organization, such as 'microsoft.com'.","type":"text","hidden":true,"required":false,"index":false},{"name":"dns_domain_suffix_search_order","description":"Array of DNS domain suffixes to be appended to the end of host names during name resolution.","type":"text","hidden":true,"required":false,"index":false},{"name":"dns_host_name","description":"Host name used to identify the local computer for authentication by some utilities.","type":"text","hidden":true,"required":false,"index":false},{"name":"dns_server_search_order","description":"Array of server IP addresses to be used in querying for DNS servers.","type":"text","hidden":true,"required":false,"index":false}]},{"name":"interface_ipv6","description":"IPv6 configuration and stats of network interfaces.","platforms":["darwin","linux"],"columns":[{"name":"interface","description":"Interface name","type":"text","hidden":false,"required":false,"index":false},{"name":"hop_limit","description":"Current Hop Limit","type":"integer","hidden":false,"required":false,"index":false},{"name":"forwarding_enabled","description":"Enable IP forwarding","type":"integer","hidden":false,"required":false,"index":false},{"name":"redirect_accept","description":"Accept ICMP redirect messages","type":"integer","hidden":false,"required":false,"index":false},{"name":"rtadv_accept","description":"Accept ICMP Router Advertisement","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"iokit_devicetree","description":"The IOKit registry matching the DeviceTree plane.","platforms":["darwin"],"columns":[{"name":"name","description":"Device node name","type":"text","hidden":false,"required":false,"index":false},{"name":"class","description":"Best matching device class (most-specific category)","type":"text","hidden":false,"required":false,"index":false},{"name":"id","description":"IOKit internal registry ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"parent","description":"Parent device registry ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"device_path","description":"Device tree path","type":"text","hidden":false,"required":false,"index":false},{"name":"service","description":"1 if the device conforms to IOService else 0","type":"integer","hidden":false,"required":false,"index":false},{"name":"busy_state","description":"1 if the device is in a busy state else 0","type":"integer","hidden":false,"required":false,"index":false},{"name":"retain_count","description":"The device reference count","type":"integer","hidden":false,"required":false,"index":false},{"name":"depth","description":"Device nested depth","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"iokit_registry","description":"The full IOKit registry without selecting a plane.","platforms":["darwin"],"columns":[{"name":"name","description":"Default name of the node","type":"text","hidden":false,"required":false,"index":false},{"name":"class","description":"Best matching device class (most-specific category)","type":"text","hidden":false,"required":false,"index":false},{"name":"id","description":"IOKit internal registry ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"parent","description":"Parent registry ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"busy_state","description":"1 if the node is in a busy state else 0","type":"integer","hidden":false,"required":false,"index":false},{"name":"retain_count","description":"The node reference count","type":"integer","hidden":false,"required":false,"index":false},{"name":"depth","description":"Node nested depth","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"iptables","description":"Linux IP packet filtering and NAT tool.","platforms":["linux"],"columns":[{"name":"filter_name","description":"Packet matching filter table name.","type":"text","hidden":false,"required":false,"index":false},{"name":"chain","description":"Size of module content.","type":"text","hidden":false,"required":false,"index":false},{"name":"policy","description":"Policy that applies for this rule.","type":"text","hidden":false,"required":false,"index":false},{"name":"target","description":"Target that applies for this rule.","type":"text","hidden":false,"required":false,"index":false},{"name":"protocol","description":"Protocol number identification.","type":"integer","hidden":false,"required":false,"index":false},{"name":"src_port","description":"Protocol source port(s).","type":"text","hidden":false,"required":false,"index":false},{"name":"dst_port","description":"Protocol destination port(s).","type":"text","hidden":false,"required":false,"index":false},{"name":"src_ip","description":"Source IP address.","type":"text","hidden":false,"required":false,"index":false},{"name":"src_mask","description":"Source IP address mask.","type":"text","hidden":false,"required":false,"index":false},{"name":"iniface","description":"Input interface for the rule.","type":"text","hidden":false,"required":false,"index":false},{"name":"iniface_mask","description":"Input interface mask for the rule.","type":"text","hidden":false,"required":false,"index":false},{"name":"dst_ip","description":"Destination IP address.","type":"text","hidden":false,"required":false,"index":false},{"name":"dst_mask","description":"Destination IP address mask.","type":"text","hidden":false,"required":false,"index":false},{"name":"outiface","description":"Output interface for the rule.","type":"text","hidden":false,"required":false,"index":false},{"name":"outiface_mask","description":"Output interface mask for the rule.","type":"text","hidden":false,"required":false,"index":false},{"name":"match","description":"Matching rule that applies.","type":"text","hidden":false,"required":false,"index":false},{"name":"packets","description":"Number of matching packets for this rule.","type":"integer","hidden":false,"required":false,"index":false},{"name":"bytes","description":"Number of matching bytes for this rule.","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"kernel_extensions","description":"macOS's kernel extensions, both loaded and within the load search path.","platforms":["darwin"],"columns":[{"name":"idx","description":"Extension load tag or index","type":"integer","hidden":false,"required":false,"index":false},{"name":"refs","description":"Reference count","type":"integer","hidden":false,"required":false,"index":false},{"name":"size","description":"Bytes of wired memory used by extension","type":"bigint","hidden":false,"required":false,"index":false},{"name":"name","description":"Extension label","type":"text","hidden":false,"required":false,"index":false},{"name":"version","description":"Extension version","type":"text","hidden":false,"required":false,"index":false},{"name":"linked_against","description":"Indexes of extensions this extension is linked against","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"Optional path to extension bundle","type":"text","hidden":false,"required":false,"index":false}]},{"name":"kernel_info","description":"Basic active kernel information.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"version","description":"Kernel version","type":"text","hidden":false,"required":false,"index":false},{"name":"arguments","description":"Kernel arguments","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"Kernel path","type":"text","hidden":false,"required":false,"index":false},{"name":"device","description":"Kernel device identifier","type":"text","hidden":false,"required":false,"index":false}]},{"name":"kernel_modules","description":"Linux kernel modules both loaded and within the load search path.","platforms":["linux"],"columns":[{"name":"name","description":"Module name","type":"text","hidden":false,"required":false,"index":false},{"name":"size","description":"Size of module content","type":"bigint","hidden":false,"required":false,"index":false},{"name":"used_by","description":"Module reverse dependencies","type":"text","hidden":false,"required":false,"index":false},{"name":"status","description":"Kernel module status","type":"text","hidden":false,"required":false,"index":false},{"name":"address","description":"Kernel module address","type":"text","hidden":false,"required":false,"index":false}]},{"name":"kernel_panics","description":"System kernel panic logs.","platforms":["darwin"],"columns":[{"name":"path","description":"Location of log file","type":"text","hidden":false,"required":false,"index":false},{"name":"time","description":"Formatted time of the event","type":"text","hidden":false,"required":false,"index":false},{"name":"registers","description":"A space delimited line of register:value pairs","type":"text","hidden":false,"required":false,"index":false},{"name":"frame_backtrace","description":"Backtrace of the crashed module","type":"text","hidden":false,"required":false,"index":false},{"name":"module_backtrace","description":"Modules appearing in the crashed module's backtrace","type":"text","hidden":false,"required":false,"index":false},{"name":"dependencies","description":"Module dependencies existing in crashed module's backtrace","type":"text","hidden":false,"required":false,"index":false},{"name":"name","description":"Process name corresponding to crashed thread","type":"text","hidden":false,"required":false,"index":false},{"name":"os_version","description":"Version of the operating system","type":"text","hidden":false,"required":false,"index":false},{"name":"kernel_version","description":"Version of the system kernel","type":"text","hidden":false,"required":false,"index":false},{"name":"system_model","description":"Physical system model, for example 'MacBookPro12,1 (Mac-E43C1C25D4880AD6)'","type":"text","hidden":false,"required":false,"index":false},{"name":"uptime","description":"System uptime at kernel panic in nanoseconds","type":"bigint","hidden":false,"required":false,"index":false},{"name":"last_loaded","description":"Last loaded module before panic","type":"text","hidden":false,"required":false,"index":false},{"name":"last_unloaded","description":"Last unloaded module before panic","type":"text","hidden":false,"required":false,"index":false}]},{"name":"keychain_acls","description":"Applications that have ACL entries in the keychain.","platforms":["darwin"],"columns":[{"name":"keychain_path","description":"The path of the keychain","type":"text","hidden":false,"required":false,"index":false},{"name":"authorizations","description":"A space delimited set of authorization attributes","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"The path of the authorized application","type":"text","hidden":false,"required":false,"index":false},{"name":"description","description":"The description included with the ACL entry","type":"text","hidden":false,"required":false,"index":false},{"name":"label","description":"An optional label tag that may be included with the keychain entry","type":"text","hidden":false,"required":false,"index":false}]},{"name":"keychain_items","description":"Generic details about keychain items.","platforms":["darwin"],"columns":[{"name":"label","description":"Generic item name","type":"text","hidden":false,"required":false,"index":false},{"name":"description","description":"Optional item description","type":"text","hidden":false,"required":false,"index":false},{"name":"comment","description":"Optional keychain comment","type":"text","hidden":false,"required":false,"index":false},{"name":"account","description":"Optional item account","type":"text","hidden":false,"required":false,"index":false},{"name":"created","description":"Data item was created","type":"text","hidden":false,"required":false,"index":false},{"name":"modified","description":"Date of last modification","type":"text","hidden":false,"required":false,"index":false},{"name":"type","description":"Keychain item type (class)","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"Path to keychain containing item","type":"text","hidden":false,"required":false,"index":false}]},{"name":"known_hosts","description":"A line-delimited known_hosts table.","platforms":["darwin","linux"],"columns":[{"name":"uid","description":"The local user that owns the known_hosts file","type":"bigint","hidden":false,"required":false,"index":false},{"name":"key","description":"parsed authorized keys line","type":"text","hidden":false,"required":false,"index":false},{"name":"key_file","description":"Path to known_hosts file","type":"text","hidden":false,"required":false,"index":false}]},{"name":"kva_speculative_info","description":"Display kernel virtual address and speculative execution information for the system.","platforms":["windows"],"columns":[{"name":"kva_shadow_enabled","description":"Kernel Virtual Address shadowing is enabled.","type":"integer","hidden":false,"required":false,"index":false},{"name":"kva_shadow_user_global","description":"User pages are marked as global.","type":"integer","hidden":false,"required":false,"index":false},{"name":"kva_shadow_pcid","description":"Kernel VA PCID flushing optimization is enabled.","type":"integer","hidden":false,"required":false,"index":false},{"name":"kva_shadow_inv_pcid","description":"Kernel VA INVPCID is enabled.","type":"integer","hidden":false,"required":false,"index":false},{"name":"bp_mitigations","description":"Branch Prediction mitigations are enabled.","type":"integer","hidden":false,"required":false,"index":false},{"name":"bp_system_pol_disabled","description":"Branch Predictions are disabled via system policy.","type":"integer","hidden":false,"required":false,"index":false},{"name":"bp_microcode_disabled","description":"Branch Predictions are disabled due to lack of microcode update.","type":"integer","hidden":false,"required":false,"index":false},{"name":"cpu_spec_ctrl_supported","description":"SPEC_CTRL MSR supported by CPU Microcode.","type":"integer","hidden":false,"required":false,"index":false},{"name":"ibrs_support_enabled","description":"Windows uses IBRS.","type":"integer","hidden":false,"required":false,"index":false},{"name":"stibp_support_enabled","description":"Windows uses STIBP.","type":"integer","hidden":false,"required":false,"index":false},{"name":"cpu_pred_cmd_supported","description":"PRED_CMD MSR supported by CPU Microcode.","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"last","description":"System logins and logouts.","platforms":["darwin","linux"],"columns":[{"name":"username","description":"Entry username","type":"text","hidden":false,"required":false,"index":false},{"name":"tty","description":"Entry terminal","type":"text","hidden":false,"required":false,"index":false},{"name":"pid","description":"Process (or thread) ID","type":"integer","hidden":false,"required":false,"index":false},{"name":"type","description":"Entry type, according to ut_type types (utmp.h)","type":"integer","hidden":false,"required":false,"index":false},{"name":"type_name","description":"Entry type name, according to ut_type types (utmp.h)","type":"text","hidden":false,"required":false,"index":false},{"name":"time","description":"Entry timestamp","type":"integer","hidden":false,"required":false,"index":false},{"name":"host","description":"Entry hostname","type":"text","hidden":false,"required":false,"index":false}]},{"name":"launchd","description":"LaunchAgents and LaunchDaemons from default search paths.","platforms":["darwin"],"columns":[{"name":"path","description":"Path to daemon or agent plist","type":"text","hidden":false,"required":false,"index":false},{"name":"name","description":"File name of plist (used by launchd)","type":"text","hidden":false,"required":false,"index":false},{"name":"label","description":"Daemon or agent service name","type":"text","hidden":false,"required":false,"index":false},{"name":"program","description":"Path to target program","type":"text","hidden":false,"required":false,"index":false},{"name":"run_at_load","description":"Should the program run on launch load","type":"text","hidden":false,"required":false,"index":false},{"name":"keep_alive","description":"Should the process be restarted if killed","type":"text","hidden":false,"required":false,"index":false},{"name":"on_demand","description":"Deprecated key, replaced by keep_alive","type":"text","hidden":false,"required":false,"index":false},{"name":"disabled","description":"Skip loading this daemon or agent on boot","type":"text","hidden":false,"required":false,"index":false},{"name":"username","description":"Run this daemon or agent as this username","type":"text","hidden":false,"required":false,"index":false},{"name":"groupname","description":"Run this daemon or agent as this group","type":"text","hidden":false,"required":false,"index":false},{"name":"stdout_path","description":"Pipe stdout to a target path","type":"text","hidden":false,"required":false,"index":false},{"name":"stderr_path","description":"Pipe stderr to a target path","type":"text","hidden":false,"required":false,"index":false},{"name":"start_interval","description":"Frequency to run in seconds","type":"text","hidden":false,"required":false,"index":false},{"name":"program_arguments","description":"Command line arguments passed to program","type":"text","hidden":false,"required":false,"index":false},{"name":"watch_paths","description":"Key that launches daemon or agent if path is modified","type":"text","hidden":false,"required":false,"index":false},{"name":"queue_directories","description":"Similar to watch_paths but only with non-empty directories","type":"text","hidden":false,"required":false,"index":false},{"name":"inetd_compatibility","description":"Run this daemon or agent as it was launched from inetd","type":"text","hidden":false,"required":false,"index":false},{"name":"start_on_mount","description":"Run daemon or agent every time a filesystem is mounted","type":"text","hidden":false,"required":false,"index":false},{"name":"root_directory","description":"Key used to specify a directory to chroot to before launch","type":"text","hidden":false,"required":false,"index":false},{"name":"working_directory","description":"Key used to specify a directory to chdir to before launch","type":"text","hidden":false,"required":false,"index":false},{"name":"process_type","description":"Key describes the intended purpose of the job","type":"text","hidden":false,"required":false,"index":false}]},{"name":"launchd_overrides","description":"Override keys, per user, for LaunchDaemons and Agents.","platforms":["darwin"],"columns":[{"name":"label","description":"Daemon or agent service name","type":"text","hidden":false,"required":false,"index":false},{"name":"key","description":"Name of the override key","type":"text","hidden":false,"required":false,"index":false},{"name":"value","description":"Overridden value","type":"text","hidden":false,"required":false,"index":false},{"name":"uid","description":"User ID applied to the override, 0 applies to all","type":"bigint","hidden":false,"required":false,"index":false},{"name":"path","description":"Path to daemon or agent plist","type":"text","hidden":false,"required":false,"index":false}]},{"name":"listening_ports","description":"Processes with listening (bound) network sockets/ports.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"pid","description":"Process (or thread) ID","type":"integer","hidden":false,"required":false,"index":false},{"name":"port","description":"Transport layer port","type":"integer","hidden":false,"required":false,"index":false},{"name":"protocol","description":"Transport protocol (TCP/UDP)","type":"integer","hidden":false,"required":false,"index":false},{"name":"family","description":"Network protocol (IPv4, IPv6)","type":"integer","hidden":false,"required":false,"index":false},{"name":"address","description":"Specific address for bind","type":"text","hidden":false,"required":false,"index":false},{"name":"fd","description":"Socket file descriptor number","type":"bigint","hidden":false,"required":false,"index":false},{"name":"socket","description":"Socket handle or inode number","type":"bigint","hidden":false,"required":false,"index":false},{"name":"path","description":"Path for UNIX domain sockets","type":"text","hidden":false,"required":false,"index":false},{"name":"net_namespace","description":"The inode number of the network namespace","type":"text","hidden":true,"required":false,"index":false}]},{"name":"load_average","description":"Displays information about the system wide load averages.","platforms":["darwin","linux"],"columns":[{"name":"period","description":"Period over which the average is calculated.","type":"text","hidden":false,"required":false,"index":false},{"name":"average","description":"Load average over the specified period.","type":"text","hidden":false,"required":false,"index":false}]},{"name":"location_services","description":"Reports the status of the Location Services feature of the OS.","platforms":["darwin"],"columns":[{"name":"enabled","description":"1 if Location Services are enabled, else 0","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"logged_in_users","description":"Users with an active shell on the system.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"type","description":"Login type","type":"text","hidden":false,"required":false,"index":false},{"name":"user","description":"User login name","type":"text","hidden":false,"required":false,"index":false},{"name":"tty","description":"Device name","type":"text","hidden":false,"required":false,"index":false},{"name":"host","description":"Remote hostname","type":"text","hidden":false,"required":false,"index":false},{"name":"time","description":"Time entry was made","type":"bigint","hidden":false,"required":false,"index":false},{"name":"pid","description":"Process (or thread) ID","type":"integer","hidden":false,"required":false,"index":false},{"name":"sid","description":"The user's unique security identifier","type":"text","hidden":true,"required":false,"index":false},{"name":"registry_hive","description":"HKEY_USERS registry hive","type":"text","hidden":true,"required":false,"index":false}]},{"name":"logical_drives","description":"Details for logical drives on the system. A logical drive generally represents a single partition.","platforms":["windows"],"columns":[{"name":"device_id","description":"The drive id, usually the drive name, e.g., 'C:'.","type":"text","hidden":false,"required":false,"index":false},{"name":"type","description":"Deprecated (always 'Unknown').","type":"text","hidden":false,"required":false,"index":false},{"name":"description","description":"The canonical description of the drive, e.g. 'Logical Fixed Disk', 'CD-ROM Disk'.","type":"text","hidden":false,"required":false,"index":false},{"name":"free_space","description":"The amount of free space, in bytes, of the drive (-1 on failure).","type":"bigint","hidden":false,"required":false,"index":false},{"name":"size","description":"The total amount of space, in bytes, of the drive (-1 on failure).","type":"bigint","hidden":false,"required":false,"index":false},{"name":"file_system","description":"The file system of the drive.","type":"text","hidden":false,"required":false,"index":false},{"name":"boot_partition","description":"True if Windows booted from this drive.","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"logon_sessions","description":"Windows Logon Session.","platforms":["windows"],"columns":[{"name":"logon_id","description":"A locally unique identifier (LUID) that identifies a logon session.","type":"integer","hidden":false,"required":false,"index":false},{"name":"user","description":"The account name of the security principal that owns the logon session.","type":"text","hidden":false,"required":false,"index":false},{"name":"logon_domain","description":"The name of the domain used to authenticate the owner of the logon session.","type":"text","hidden":false,"required":false,"index":false},{"name":"authentication_package","description":"The authentication package used to authenticate the owner of the logon session.","type":"text","hidden":false,"required":false,"index":false},{"name":"logon_type","description":"The logon method.","type":"text","hidden":false,"required":false,"index":false},{"name":"session_id","description":"The Terminal Services session identifier.","type":"integer","hidden":false,"required":false,"index":false},{"name":"logon_sid","description":"The user's security identifier (SID).","type":"text","hidden":false,"required":false,"index":false},{"name":"logon_time","description":"The time the session owner logged on.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"logon_server","description":"The name of the server used to authenticate the owner of the logon session.","type":"text","hidden":false,"required":false,"index":false},{"name":"dns_domain_name","description":"The DNS name for the owner of the logon session.","type":"text","hidden":false,"required":false,"index":false},{"name":"upn","description":"The user principal name (UPN) for the owner of the logon session.","type":"text","hidden":false,"required":false,"index":false},{"name":"logon_script","description":"The script used for logging on.","type":"text","hidden":false,"required":false,"index":false},{"name":"profile_path","description":"The home directory for the logon session.","type":"text","hidden":false,"required":false,"index":false},{"name":"home_directory","description":"The home directory for the logon session.","type":"text","hidden":false,"required":false,"index":false},{"name":"home_directory_drive","description":"The drive location of the home directory of the logon session.","type":"text","hidden":false,"required":false,"index":false}]},{"name":"lxd_certificates","description":"LXD certificates information.","platforms":["linux"],"columns":[{"name":"name","description":"Name of the certificate","type":"text","hidden":false,"required":false,"index":false},{"name":"type","description":"Type of the certificate","type":"text","hidden":false,"required":false,"index":false},{"name":"fingerprint","description":"SHA256 hash of the certificate","type":"text","hidden":false,"required":false,"index":false},{"name":"certificate","description":"Certificate content","type":"text","hidden":false,"required":false,"index":false}]},{"name":"lxd_cluster","description":"LXD cluster information.","platforms":["linux"],"columns":[{"name":"server_name","description":"Name of the LXD server node","type":"text","hidden":false,"required":false,"index":false},{"name":"enabled","description":"Whether clustering enabled (1) or not (0) on this node","type":"integer","hidden":false,"required":false,"index":false},{"name":"member_config_entity","description":"Type of configuration parameter for this node","type":"text","hidden":false,"required":false,"index":false},{"name":"member_config_name","description":"Name of configuration parameter","type":"text","hidden":false,"required":false,"index":false},{"name":"member_config_key","description":"Config key","type":"text","hidden":false,"required":false,"index":false},{"name":"member_config_value","description":"Config value","type":"text","hidden":false,"required":false,"index":false},{"name":"member_config_description","description":"Config description","type":"text","hidden":false,"required":false,"index":false}]},{"name":"lxd_cluster_members","description":"LXD cluster members information.","platforms":["linux"],"columns":[{"name":"server_name","description":"Name of the LXD server node","type":"text","hidden":false,"required":false,"index":false},{"name":"url","description":"URL of the node","type":"text","hidden":false,"required":false,"index":false},{"name":"database","description":"Whether the server is a database node (1) or not (0)","type":"integer","hidden":false,"required":false,"index":false},{"name":"status","description":"Status of the node (Online/Offline)","type":"text","hidden":false,"required":false,"index":false},{"name":"message","description":"Message from the node (Online/Offline)","type":"text","hidden":false,"required":false,"index":false}]},{"name":"lxd_images","description":"LXD images information.","platforms":["linux"],"columns":[{"name":"id","description":"Image ID","type":"text","hidden":false,"required":false,"index":false},{"name":"architecture","description":"Target architecture for the image","type":"text","hidden":false,"required":false,"index":false},{"name":"os","description":"OS on which image is based","type":"text","hidden":false,"required":false,"index":false},{"name":"release","description":"OS release version on which the image is based","type":"text","hidden":false,"required":false,"index":false},{"name":"description","description":"Image description","type":"text","hidden":false,"required":false,"index":false},{"name":"aliases","description":"Comma-separated list of image aliases","type":"text","hidden":false,"required":false,"index":false},{"name":"filename","description":"Filename of the image file","type":"text","hidden":false,"required":false,"index":false},{"name":"size","description":"Size of image in bytes","type":"bigint","hidden":false,"required":false,"index":false},{"name":"auto_update","description":"Whether the image auto-updates (1) or not (0)","type":"integer","hidden":false,"required":false,"index":false},{"name":"cached","description":"Whether image is cached (1) or not (0)","type":"integer","hidden":false,"required":false,"index":false},{"name":"public","description":"Whether image is public (1) or not (0)","type":"integer","hidden":false,"required":false,"index":false},{"name":"created_at","description":"ISO time of image creation","type":"text","hidden":false,"required":false,"index":false},{"name":"expires_at","description":"ISO time of image expiration","type":"text","hidden":false,"required":false,"index":false},{"name":"uploaded_at","description":"ISO time of image upload","type":"text","hidden":false,"required":false,"index":false},{"name":"last_used_at","description":"ISO time for the most recent use of this image in terms of container spawn","type":"text","hidden":false,"required":false,"index":false},{"name":"update_source_server","description":"Server for image update","type":"text","hidden":false,"required":false,"index":false},{"name":"update_source_protocol","description":"Protocol used for image information update and image import from source server","type":"text","hidden":false,"required":false,"index":false},{"name":"update_source_certificate","description":"Certificate for update source server","type":"text","hidden":false,"required":false,"index":false},{"name":"update_source_alias","description":"Alias of image at update source server","type":"text","hidden":false,"required":false,"index":false}]},{"name":"lxd_instance_config","description":"LXD instance configuration information.","platforms":["linux"],"columns":[{"name":"name","description":"Instance name","type":"text","hidden":false,"required":true,"index":false},{"name":"key","description":"Configuration parameter name","type":"text","hidden":false,"required":false,"index":false},{"name":"value","description":"Configuration parameter value","type":"text","hidden":false,"required":false,"index":false}]},{"name":"lxd_instance_devices","description":"LXD instance devices information.","platforms":["linux"],"columns":[{"name":"name","description":"Instance name","type":"text","hidden":false,"required":true,"index":false},{"name":"device","description":"Name of the device","type":"text","hidden":false,"required":false,"index":false},{"name":"device_type","description":"Device type","type":"text","hidden":false,"required":false,"index":false},{"name":"key","description":"Device info param name","type":"text","hidden":false,"required":false,"index":false},{"name":"value","description":"Device info param value","type":"text","hidden":false,"required":false,"index":false}]},{"name":"lxd_instances","description":"LXD instances information.","platforms":["linux"],"columns":[{"name":"name","description":"Instance name","type":"text","hidden":false,"required":false,"index":false},{"name":"status","description":"Instance state (running, stopped, etc.)","type":"text","hidden":false,"required":false,"index":false},{"name":"stateful","description":"Whether the instance is stateful(1) or not(0)","type":"integer","hidden":false,"required":false,"index":false},{"name":"ephemeral","description":"Whether the instance is ephemeral(1) or not(0)","type":"integer","hidden":false,"required":false,"index":false},{"name":"created_at","description":"ISO time of creation","type":"text","hidden":false,"required":false,"index":false},{"name":"base_image","description":"ID of image used to launch this instance","type":"text","hidden":false,"required":false,"index":false},{"name":"architecture","description":"Instance architecture","type":"text","hidden":false,"required":false,"index":false},{"name":"os","description":"The OS of this instance","type":"text","hidden":false,"required":false,"index":false},{"name":"description","description":"Instance description","type":"text","hidden":false,"required":false,"index":false},{"name":"pid","description":"Instance's process ID","type":"integer","hidden":false,"required":false,"index":false},{"name":"processes","description":"Number of processes running inside this instance","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"lxd_networks","description":"LXD network information.","platforms":["linux"],"columns":[{"name":"name","description":"Name of the network","type":"text","hidden":false,"required":false,"index":false},{"name":"type","description":"Type of network","type":"text","hidden":false,"required":false,"index":false},{"name":"managed","description":"1 if network created by LXD, 0 otherwise","type":"integer","hidden":false,"required":false,"index":false},{"name":"ipv4_address","description":"IPv4 address","type":"text","hidden":false,"required":false,"index":false},{"name":"ipv6_address","description":"IPv6 address","type":"text","hidden":false,"required":false,"index":false},{"name":"used_by","description":"URLs for containers using this network","type":"text","hidden":false,"required":false,"index":false},{"name":"bytes_received","description":"Number of bytes received on this network","type":"bigint","hidden":false,"required":false,"index":false},{"name":"bytes_sent","description":"Number of bytes sent on this network","type":"bigint","hidden":false,"required":false,"index":false},{"name":"packets_received","description":"Number of packets received on this network","type":"bigint","hidden":false,"required":false,"index":false},{"name":"packets_sent","description":"Number of packets sent on this network","type":"bigint","hidden":false,"required":false,"index":false},{"name":"hwaddr","description":"Hardware address for this network","type":"text","hidden":false,"required":false,"index":false},{"name":"state","description":"Network status","type":"text","hidden":false,"required":false,"index":false},{"name":"mtu","description":"MTU size","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"lxd_storage_pools","description":"LXD storage pool information.","platforms":["linux"],"columns":[{"name":"name","description":"Name of the storage pool","type":"text","hidden":false,"required":false,"index":false},{"name":"driver","description":"Storage driver","type":"text","hidden":false,"required":false,"index":false},{"name":"source","description":"Storage pool source","type":"text","hidden":false,"required":false,"index":false},{"name":"size","description":"Size of the storage pool","type":"text","hidden":false,"required":false,"index":false},{"name":"space_used","description":"Storage space used in bytes","type":"bigint","hidden":false,"required":false,"index":false},{"name":"space_total","description":"Total available storage space in bytes for this storage pool","type":"bigint","hidden":false,"required":false,"index":false},{"name":"inodes_used","description":"Number of inodes used","type":"bigint","hidden":false,"required":false,"index":false},{"name":"inodes_total","description":"Total number of inodes available in this storage pool","type":"bigint","hidden":false,"required":false,"index":false}]},{"name":"magic","description":"Magic number recognition library table.","platforms":["darwin","linux"],"columns":[{"name":"path","description":"Absolute path to target file","type":"text","hidden":false,"required":true,"index":false},{"name":"magic_db_files","description":"Colon(:) separated list of files where the magic db file can be found. By default one of the following is used: /usr/share/file/magic/magic, /usr/share/misc/magic or /usr/share/misc/magic.mgc","type":"text","hidden":false,"required":false,"index":false},{"name":"data","description":"Magic number data from libmagic","type":"text","hidden":false,"required":false,"index":false},{"name":"mime_type","description":"MIME type data from libmagic","type":"text","hidden":false,"required":false,"index":false},{"name":"mime_encoding","description":"MIME encoding data from libmagic","type":"text","hidden":false,"required":false,"index":false}]},{"name":"managed_policies","description":"The managed configuration policies from AD, MDM, MCX, etc.","platforms":["darwin"],"columns":[{"name":"domain","description":"System or manager-chosen domain key","type":"text","hidden":false,"required":false,"index":false},{"name":"uuid","description":"Optional UUID assigned to policy set","type":"text","hidden":false,"required":false,"index":false},{"name":"name","description":"Policy key name","type":"text","hidden":false,"required":false,"index":false},{"name":"value","description":"Policy value","type":"text","hidden":false,"required":false,"index":false},{"name":"username","description":"Policy applies only this user","type":"text","hidden":false,"required":false,"index":false},{"name":"manual","description":"1 if policy was loaded manually, otherwise 0","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"md_devices","description":"Software RAID array settings.","platforms":["linux"],"columns":[{"name":"device_name","description":"md device name","type":"text","hidden":false,"required":false,"index":false},{"name":"status","description":"Current state of the array","type":"text","hidden":false,"required":false,"index":false},{"name":"raid_level","description":"Current raid level of the array","type":"integer","hidden":false,"required":false,"index":false},{"name":"size","description":"size of the array in blocks","type":"bigint","hidden":false,"required":false,"index":false},{"name":"chunk_size","description":"chunk size in bytes","type":"bigint","hidden":false,"required":false,"index":false},{"name":"raid_disks","description":"Number of configured RAID disks in array","type":"integer","hidden":false,"required":false,"index":false},{"name":"nr_raid_disks","description":"Number of partitions or disk devices to comprise the array","type":"integer","hidden":false,"required":false,"index":false},{"name":"working_disks","description":"Number of working disks in array","type":"integer","hidden":false,"required":false,"index":false},{"name":"active_disks","description":"Number of active disks in array","type":"integer","hidden":false,"required":false,"index":false},{"name":"failed_disks","description":"Number of failed disks in array","type":"integer","hidden":false,"required":false,"index":false},{"name":"spare_disks","description":"Number of idle disks in array","type":"integer","hidden":false,"required":false,"index":false},{"name":"superblock_state","description":"State of the superblock","type":"text","hidden":false,"required":false,"index":false},{"name":"superblock_version","description":"Version of the superblock","type":"text","hidden":false,"required":false,"index":false},{"name":"superblock_update_time","description":"Unix timestamp of last update","type":"bigint","hidden":false,"required":false,"index":false},{"name":"bitmap_on_mem","description":"Pages allocated in in-memory bitmap, if enabled","type":"text","hidden":false,"required":false,"index":false},{"name":"bitmap_chunk_size","description":"Bitmap chunk size","type":"text","hidden":false,"required":false,"index":false},{"name":"bitmap_external_file","description":"External referenced bitmap file","type":"text","hidden":false,"required":false,"index":false},{"name":"recovery_progress","description":"Progress of the recovery activity","type":"text","hidden":false,"required":false,"index":false},{"name":"recovery_finish","description":"Estimated duration of recovery activity","type":"text","hidden":false,"required":false,"index":false},{"name":"recovery_speed","description":"Speed of recovery activity","type":"text","hidden":false,"required":false,"index":false},{"name":"resync_progress","description":"Progress of the resync activity","type":"text","hidden":false,"required":false,"index":false},{"name":"resync_finish","description":"Estimated duration of resync activity","type":"text","hidden":false,"required":false,"index":false},{"name":"resync_speed","description":"Speed of resync activity","type":"text","hidden":false,"required":false,"index":false},{"name":"reshape_progress","description":"Progress of the reshape activity","type":"text","hidden":false,"required":false,"index":false},{"name":"reshape_finish","description":"Estimated duration of reshape activity","type":"text","hidden":false,"required":false,"index":false},{"name":"reshape_speed","description":"Speed of reshape activity","type":"text","hidden":false,"required":false,"index":false},{"name":"check_array_progress","description":"Progress of the check array activity","type":"text","hidden":false,"required":false,"index":false},{"name":"check_array_finish","description":"Estimated duration of the check array activity","type":"text","hidden":false,"required":false,"index":false},{"name":"check_array_speed","description":"Speed of the check array activity","type":"text","hidden":false,"required":false,"index":false},{"name":"unused_devices","description":"Unused devices","type":"text","hidden":false,"required":false,"index":false},{"name":"other","description":"Other information associated with array from /proc/mdstat","type":"text","hidden":false,"required":false,"index":false}]},{"name":"md_drives","description":"Drive devices used for Software RAID.","platforms":["linux"],"columns":[{"name":"md_device_name","description":"md device name","type":"text","hidden":false,"required":false,"index":false},{"name":"drive_name","description":"Drive device name","type":"text","hidden":false,"required":false,"index":false},{"name":"slot","description":"Slot position of disk","type":"integer","hidden":false,"required":false,"index":false},{"name":"state","description":"State of the drive","type":"text","hidden":false,"required":false,"index":false}]},{"name":"md_personalities","description":"Software RAID setting supported by the kernel.","platforms":["linux"],"columns":[{"name":"name","description":"Name of personality supported by kernel","type":"text","hidden":false,"required":false,"index":false}]},{"name":"mdfind","description":"Run searches against the spotlight database.","platforms":["darwin"],"columns":[{"name":"path","description":"Path of the file returned from spotlight","type":"text","hidden":false,"required":false,"index":false},{"name":"query","description":"The query that was run to find the file","type":"text","hidden":false,"required":true,"index":false}]},{"name":"mdls","description":"Query file metadata in the Spotlight database.","platforms":["darwin"],"columns":[{"name":"path","description":"Path of the file","type":"text","hidden":false,"required":true,"index":false},{"name":"key","description":"Name of the metadata key","type":"text","hidden":false,"required":false,"index":false},{"name":"value","description":"Value stored in the metadata key","type":"text","hidden":false,"required":false,"index":false},{"name":"valuetype","description":"CoreFoundation type of data stored in value","type":"text","hidden":true,"required":false,"index":false}]},{"name":"memory_array_mapped_addresses","description":"Data associated for address mapping of physical memory arrays.","platforms":["darwin","linux"],"columns":[{"name":"handle","description":"Handle, or instance number, associated with the structure","type":"text","hidden":false,"required":false,"index":false},{"name":"memory_array_handle","description":"Handle of the memory array associated with this structure","type":"text","hidden":false,"required":false,"index":false},{"name":"starting_address","description":"Physical stating address, in kilobytes, of a range of memory mapped to physical memory array","type":"text","hidden":false,"required":false,"index":false},{"name":"ending_address","description":"Physical ending address of last kilobyte of a range of memory mapped to physical memory array","type":"text","hidden":false,"required":false,"index":false},{"name":"partition_width","description":"Number of memory devices that form a single row of memory for the address partition of this structure","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"memory_arrays","description":"Data associated with collection of memory devices that operate to form a memory address.","platforms":["darwin","linux"],"columns":[{"name":"handle","description":"Handle, or instance number, associated with the array","type":"text","hidden":false,"required":false,"index":false},{"name":"location","description":"Physical location of the memory array","type":"text","hidden":false,"required":false,"index":false},{"name":"use","description":"Function for which the array is used","type":"text","hidden":false,"required":false,"index":false},{"name":"memory_error_correction","description":"Primary hardware error correction or detection method supported","type":"text","hidden":false,"required":false,"index":false},{"name":"max_capacity","description":"Maximum capacity of array in gigabytes","type":"integer","hidden":false,"required":false,"index":false},{"name":"memory_error_info_handle","description":"Handle, or instance number, associated with any error that was detected for the array","type":"text","hidden":false,"required":false,"index":false},{"name":"number_memory_devices","description":"Number of memory devices on array","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"memory_device_mapped_addresses","description":"Data associated for address mapping of physical memory devices.","platforms":["darwin","linux"],"columns":[{"name":"handle","description":"Handle, or instance number, associated with the structure","type":"text","hidden":false,"required":false,"index":false},{"name":"memory_device_handle","description":"Handle of the memory device structure associated with this structure","type":"text","hidden":false,"required":false,"index":false},{"name":"memory_array_mapped_address_handle","description":"Handle of the memory array mapped address to which this device range is mapped to","type":"text","hidden":false,"required":false,"index":false},{"name":"starting_address","description":"Physical stating address, in kilobytes, of a range of memory mapped to physical memory array","type":"text","hidden":false,"required":false,"index":false},{"name":"ending_address","description":"Physical ending address of last kilobyte of a range of memory mapped to physical memory array","type":"text","hidden":false,"required":false,"index":false},{"name":"partition_row_position","description":"Identifies the position of the referenced memory device in a row of the address partition","type":"integer","hidden":false,"required":false,"index":false},{"name":"interleave_position","description":"The position of the device in a interleave, i.e. 0 indicates non-interleave, 1 indicates 1st interleave, 2 indicates 2nd interleave, etc.","type":"integer","hidden":false,"required":false,"index":false},{"name":"interleave_data_depth","description":"The max number of consecutive rows from memory device that are accessed in a single interleave transfer; 0 indicates device is non-interleave","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"memory_devices","description":"Physical memory device (type 17) information retrieved from SMBIOS.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"handle","description":"Handle, or instance number, associated with the structure in SMBIOS","type":"text","hidden":false,"required":false,"index":false},{"name":"array_handle","description":"The memory array that the device is attached to","type":"text","hidden":false,"required":false,"index":false},{"name":"form_factor","description":"Implementation form factor for this memory device","type":"text","hidden":false,"required":false,"index":false},{"name":"total_width","description":"Total width, in bits, of this memory device, including any check or error-correction bits","type":"integer","hidden":false,"required":false,"index":false},{"name":"data_width","description":"Data width, in bits, of this memory device","type":"integer","hidden":false,"required":false,"index":false},{"name":"size","description":"Size of memory device in Megabyte","type":"integer","hidden":false,"required":false,"index":false},{"name":"set","description":"Identifies if memory device is one of a set of devices. A value of 0 indicates no set affiliation.","type":"integer","hidden":false,"required":false,"index":false},{"name":"device_locator","description":"String number of the string that identifies the physically-labeled socket or board position where the memory device is located","type":"text","hidden":false,"required":false,"index":false},{"name":"bank_locator","description":"String number of the string that identifies the physically-labeled bank where the memory device is located","type":"text","hidden":false,"required":false,"index":false},{"name":"memory_type","description":"Type of memory used","type":"text","hidden":false,"required":false,"index":false},{"name":"memory_type_details","description":"Additional details for memory device","type":"text","hidden":false,"required":false,"index":false},{"name":"max_speed","description":"Max speed of memory device in megatransfers per second (MT/s)","type":"integer","hidden":false,"required":false,"index":false},{"name":"configured_clock_speed","description":"Configured speed of memory device in megatransfers per second (MT/s)","type":"integer","hidden":false,"required":false,"index":false},{"name":"manufacturer","description":"Manufacturer ID string","type":"text","hidden":false,"required":false,"index":false},{"name":"serial_number","description":"Serial number of memory device","type":"text","hidden":false,"required":false,"index":false},{"name":"asset_tag","description":"Manufacturer specific asset tag of memory device","type":"text","hidden":false,"required":false,"index":false},{"name":"part_number","description":"Manufacturer specific serial number of memory device","type":"text","hidden":false,"required":false,"index":false},{"name":"min_voltage","description":"Minimum operating voltage of device in millivolts","type":"integer","hidden":false,"required":false,"index":false},{"name":"max_voltage","description":"Maximum operating voltage of device in millivolts","type":"integer","hidden":false,"required":false,"index":false},{"name":"configured_voltage","description":"Configured operating voltage of device in millivolts","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"memory_error_info","description":"Data associated with errors of a physical memory array.","platforms":["darwin","linux"],"columns":[{"name":"handle","description":"Handle, or instance number, associated with the structure","type":"text","hidden":false,"required":false,"index":false},{"name":"error_type","description":"type of error associated with current error status for array or device","type":"text","hidden":false,"required":false,"index":false},{"name":"error_granularity","description":"Granularity to which the error can be resolved","type":"text","hidden":false,"required":false,"index":false},{"name":"error_operation","description":"Memory access operation that caused the error","type":"text","hidden":false,"required":false,"index":false},{"name":"vendor_syndrome","description":"Vendor specific ECC syndrome or CRC data associated with the erroneous access","type":"text","hidden":false,"required":false,"index":false},{"name":"memory_array_error_address","description":"32 bit physical address of the error based on the addressing of the bus to which the memory array is connected","type":"text","hidden":false,"required":false,"index":false},{"name":"device_error_address","description":"32 bit physical address of the error relative to the start of the failing memory address, in bytes","type":"text","hidden":false,"required":false,"index":false},{"name":"error_resolution","description":"Range, in bytes, within which this error can be determined, when an error address is given","type":"text","hidden":false,"required":false,"index":false}]},{"name":"memory_info","description":"Main memory information in bytes.","platforms":["linux"],"columns":[{"name":"memory_total","description":"Total amount of physical RAM, in bytes","type":"bigint","hidden":false,"required":false,"index":false},{"name":"memory_free","description":"The amount of physical RAM, in bytes, left unused by the system","type":"bigint","hidden":false,"required":false,"index":false},{"name":"memory_available","description":"The amount of physical RAM, in bytes, available for starting new applications, without swapping","type":"bigint","hidden":false,"required":false,"index":false},{"name":"buffers","description":"The amount of physical RAM, in bytes, used for file buffers","type":"bigint","hidden":false,"required":false,"index":false},{"name":"cached","description":"The amount of physical RAM, in bytes, used as cache memory","type":"bigint","hidden":false,"required":false,"index":false},{"name":"swap_cached","description":"The amount of swap, in bytes, used as cache memory","type":"bigint","hidden":false,"required":false,"index":false},{"name":"active","description":"The total amount of buffer or page cache memory, in bytes, that is in active use","type":"bigint","hidden":false,"required":false,"index":false},{"name":"inactive","description":"The total amount of buffer or page cache memory, in bytes, that are free and available","type":"bigint","hidden":false,"required":false,"index":false},{"name":"swap_total","description":"The total amount of swap available, in bytes","type":"bigint","hidden":false,"required":false,"index":false},{"name":"swap_free","description":"The total amount of swap free, in bytes","type":"bigint","hidden":false,"required":false,"index":false}]},{"name":"memory_map","description":"OS memory region map.","platforms":["linux"],"columns":[{"name":"name","description":"Region name","type":"text","hidden":false,"required":false,"index":false},{"name":"start","description":"Start address of memory region","type":"text","hidden":false,"required":false,"index":false},{"name":"end","description":"End address of memory region","type":"text","hidden":false,"required":false,"index":false}]},{"name":"mounts","description":"System mounted devices and filesystems (not process specific).","platforms":["darwin","linux"],"columns":[{"name":"device","description":"Mounted device","type":"text","hidden":false,"required":false,"index":false},{"name":"device_alias","description":"Mounted device alias","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"Mounted device path","type":"text","hidden":false,"required":false,"index":false},{"name":"type","description":"Mounted device type","type":"text","hidden":false,"required":false,"index":false},{"name":"blocks_size","description":"Block size in bytes","type":"bigint","hidden":false,"required":false,"index":false},{"name":"blocks","description":"Mounted device used blocks","type":"bigint","hidden":false,"required":false,"index":false},{"name":"blocks_free","description":"Mounted device free blocks","type":"bigint","hidden":false,"required":false,"index":false},{"name":"blocks_available","description":"Mounted device available blocks","type":"bigint","hidden":false,"required":false,"index":false},{"name":"inodes","description":"Mounted device used inodes","type":"bigint","hidden":false,"required":false,"index":false},{"name":"inodes_free","description":"Mounted device free inodes","type":"bigint","hidden":false,"required":false,"index":false},{"name":"flags","description":"Mounted device flags","type":"text","hidden":false,"required":false,"index":false}]},{"name":"msr","description":"Various pieces of data stored in the model specific register per processor. NOTE: the msr kernel module must be enabled, and osquery must be run as root.","platforms":["linux"],"columns":[{"name":"processor_number","description":"The processor number as reported in /proc/cpuinfo","type":"bigint","hidden":false,"required":false,"index":false},{"name":"turbo_disabled","description":"Whether the turbo feature is disabled.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"turbo_ratio_limit","description":"The turbo feature ratio limit.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"platform_info","description":"Platform information.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"perf_ctl","description":"Performance setting for the processor.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"perf_status","description":"Performance status for the processor.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"feature_control","description":"Bitfield controlling enabled features.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"rapl_power_limit","description":"Run Time Average Power Limiting power limit.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"rapl_energy_status","description":"Run Time Average Power Limiting energy status.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"rapl_power_units","description":"Run Time Average Power Limiting power units.","type":"bigint","hidden":false,"required":false,"index":false}]},{"name":"nfs_shares","description":"NFS shares exported by the host.","platforms":["darwin"],"columns":[{"name":"share","description":"Filesystem path to the share","type":"text","hidden":false,"required":false,"index":false},{"name":"options","description":"Options string set on the export share","type":"text","hidden":false,"required":false,"index":false},{"name":"readonly","description":"1 if the share is exported readonly else 0","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"npm_packages","description":"Node packages installed in a system.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"name","description":"Package display name","type":"text","hidden":false,"required":false,"index":false},{"name":"version","description":"Package-supplied version","type":"text","hidden":false,"required":false,"index":false},{"name":"description","description":"Package-supplied description","type":"text","hidden":false,"required":false,"index":false},{"name":"author","description":"Package-supplied author","type":"text","hidden":false,"required":false,"index":false},{"name":"license","description":"License under which package is launched","type":"text","hidden":false,"required":false,"index":false},{"name":"homepage","description":"Package supplied homepage","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"Path at which this module resides","type":"text","hidden":false,"required":false,"index":false},{"name":"directory","description":"Directory where node_modules are located","type":"text","hidden":false,"required":false,"index":false},{"name":"pid_with_namespace","description":"Pids that contain a namespace","type":"integer","hidden":true,"required":false,"index":false},{"name":"mount_namespace_id","description":"Mount namespace id","type":"text","hidden":true,"required":false,"index":false}]},{"name":"ntdomains","description":"Display basic NT domain information of a Windows machine.","platforms":["windows"],"columns":[{"name":"name","description":"The label by which the object is known.","type":"text","hidden":false,"required":false,"index":false},{"name":"client_site_name","description":"The name of the site where the domain controller is configured.","type":"text","hidden":false,"required":false,"index":false},{"name":"dc_site_name","description":"The name of the site where the domain controller is located.","type":"text","hidden":false,"required":false,"index":false},{"name":"dns_forest_name","description":"The name of the root of the DNS tree.","type":"text","hidden":false,"required":false,"index":false},{"name":"domain_controller_address","description":"The IP Address of the discovered domain controller..","type":"text","hidden":false,"required":false,"index":false},{"name":"domain_controller_name","description":"The name of the discovered domain controller.","type":"text","hidden":false,"required":false,"index":false},{"name":"domain_name","description":"The name of the domain.","type":"text","hidden":false,"required":false,"index":false},{"name":"status","description":"The current status of the domain object.","type":"text","hidden":false,"required":false,"index":false}]},{"name":"ntfs_acl_permissions","description":"Retrieve NTFS ACL permission information for files and directories.","platforms":["windows"],"columns":[{"name":"path","description":"Path to the file or directory.","type":"text","hidden":false,"required":true,"index":false},{"name":"type","description":"Type of access mode for the access control entry.","type":"text","hidden":false,"required":false,"index":false},{"name":"principal","description":"User or group to which the ACE applies.","type":"text","hidden":false,"required":false,"index":false},{"name":"access","description":"Specific permissions that indicate the rights described by the ACE.","type":"text","hidden":false,"required":false,"index":false},{"name":"inherited_from","description":"The inheritance policy of the ACE.","type":"text","hidden":false,"required":false,"index":false}]},{"name":"ntfs_journal_events","description":"Track time/action changes to files specified in configuration data.","platforms":["windows"],"columns":[{"name":"action","description":"Change action (Write, Delete, etc)","type":"text","hidden":false,"required":false,"index":false},{"name":"category","description":"The category that the event originated from","type":"text","hidden":false,"required":false,"index":false},{"name":"old_path","description":"Old path (renames only)","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"Path","type":"text","hidden":false,"required":false,"index":false},{"name":"record_timestamp","description":"Journal record timestamp","type":"text","hidden":false,"required":false,"index":false},{"name":"record_usn","description":"The update sequence number that identifies the journal record","type":"text","hidden":false,"required":false,"index":false},{"name":"node_ref_number","description":"The ordinal that associates a journal record with a filename","type":"text","hidden":false,"required":false,"index":false},{"name":"parent_ref_number","description":"The ordinal that associates a journal record with a filename's parent directory","type":"text","hidden":false,"required":false,"index":false},{"name":"drive_letter","description":"The drive letter identifying the source journal","type":"text","hidden":false,"required":false,"index":false},{"name":"file_attributes","description":"File attributes","type":"text","hidden":false,"required":false,"index":false},{"name":"partial","description":"Set to 1 if either path or old_path only contains the file or folder name","type":"bigint","hidden":false,"required":false,"index":false},{"name":"time","description":"Time of file event","type":"bigint","hidden":false,"required":false,"index":false},{"name":"eid","description":"Event ID","type":"text","hidden":true,"required":false,"index":false}]},{"name":"nvram","description":"Apple NVRAM variable listing.","platforms":["darwin"],"columns":[{"name":"name","description":"Variable name","type":"text","hidden":false,"required":false,"index":false},{"name":"type","description":"Data type (CFData, CFString, etc)","type":"text","hidden":false,"required":false,"index":false},{"name":"value","description":"Raw variable data","type":"text","hidden":false,"required":false,"index":false}]},{"name":"oem_strings","description":"OEM defined strings retrieved from SMBIOS.","platforms":["darwin","linux"],"columns":[{"name":"handle","description":"Handle, or instance number, associated with the Type 11 structure","type":"text","hidden":false,"required":false,"index":false},{"name":"number","description":"The string index of the structure","type":"integer","hidden":false,"required":false,"index":false},{"name":"value","description":"The value of the OEM string","type":"text","hidden":false,"required":false,"index":false}]},{"name":"office_mru","description":"View recently opened Office documents.","platforms":["windows"],"columns":[{"name":"application","description":"Associated Office application","type":"text","hidden":false,"required":false,"index":false},{"name":"version","description":"Office application version number","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"File path","type":"text","hidden":false,"required":false,"index":false},{"name":"last_opened_time","description":"Most recent opened time file was opened","type":"bigint","hidden":false,"required":false,"index":false},{"name":"sid","description":"User SID","type":"text","hidden":false,"required":false,"index":false}]},{"name":"os_version","description":"A single row containing the operating system name and version.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"name","description":"Distribution or product name","type":"text","hidden":false,"required":false,"index":false},{"name":"version","description":"Pretty, suitable for presentation, OS version","type":"text","hidden":false,"required":false,"index":false},{"name":"major","description":"Major release version","type":"integer","hidden":false,"required":false,"index":false},{"name":"minor","description":"Minor release version","type":"integer","hidden":false,"required":false,"index":false},{"name":"patch","description":"Optional patch release","type":"integer","hidden":false,"required":false,"index":false},{"name":"build","description":"Optional build-specific or variant string","type":"text","hidden":false,"required":false,"index":false},{"name":"platform","description":"OS Platform or ID","type":"text","hidden":false,"required":false,"index":false},{"name":"platform_like","description":"Closely related platforms","type":"text","hidden":false,"required":false,"index":false},{"name":"codename","description":"OS version codename","type":"text","hidden":false,"required":false,"index":false},{"name":"arch","description":"OS Architecture","type":"text","hidden":false,"required":false,"index":false},{"name":"install_date","description":"The install date of the OS.","type":"bigint","hidden":true,"required":false,"index":false},{"name":"pid_with_namespace","description":"Pids that contain a namespace","type":"integer","hidden":true,"required":false,"index":false},{"name":"mount_namespace_id","description":"Mount namespace id","type":"text","hidden":true,"required":false,"index":false}]},{"name":"osquery_events","description":"Information about the event publishers and subscribers.","platforms":["darwin","linux","freebsd","windows"],"columns":[{"name":"name","description":"Event publisher or subscriber name","type":"text","hidden":false,"required":false,"index":false},{"name":"publisher","description":"Name of the associated publisher","type":"text","hidden":false,"required":false,"index":false},{"name":"type","description":"Either publisher or subscriber","type":"text","hidden":false,"required":false,"index":false},{"name":"subscriptions","description":"Number of subscriptions the publisher received or subscriber used","type":"integer","hidden":false,"required":false,"index":false},{"name":"events","description":"Number of events emitted or received since osquery started","type":"integer","hidden":false,"required":false,"index":false},{"name":"refreshes","description":"Publisher only: number of runloop restarts","type":"integer","hidden":false,"required":false,"index":false},{"name":"active","description":"1 if the publisher or subscriber is active else 0","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"osquery_extensions","description":"List of active osquery extensions.","platforms":["darwin","linux","freebsd","windows"],"columns":[{"name":"uuid","description":"The transient ID assigned for communication","type":"bigint","hidden":false,"required":false,"index":false},{"name":"name","description":"Extension's name","type":"text","hidden":false,"required":false,"index":false},{"name":"version","description":"Extension's version","type":"text","hidden":false,"required":false,"index":false},{"name":"sdk_version","description":"osquery SDK version used to build the extension","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"Path of the extension's Thrift connection or library path","type":"text","hidden":false,"required":false,"index":false},{"name":"type","description":"SDK extension type: core, extension, or module","type":"text","hidden":false,"required":false,"index":false}]},{"name":"osquery_flags","description":"Configurable flags that modify osquery's behavior.","platforms":["darwin","linux","freebsd","windows"],"columns":[{"name":"name","description":"Flag name","type":"text","hidden":false,"required":false,"index":false},{"name":"type","description":"Flag type","type":"text","hidden":false,"required":false,"index":false},{"name":"description","description":"Flag description","type":"text","hidden":false,"required":false,"index":false},{"name":"default_value","description":"Flag default value","type":"text","hidden":false,"required":false,"index":false},{"name":"value","description":"Flag value","type":"text","hidden":false,"required":false,"index":false},{"name":"shell_only","description":"Is the flag shell only?","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"osquery_info","description":"Top level information about the running version of osquery.","platforms":["darwin","linux","freebsd","windows"],"columns":[{"name":"pid","description":"Process (or thread/handle) ID","type":"integer","hidden":false,"required":false,"index":false},{"name":"uuid","description":"Unique ID provided by the system","type":"text","hidden":false,"required":false,"index":false},{"name":"instance_id","description":"Unique, long-lived ID per instance of osquery","type":"text","hidden":false,"required":false,"index":false},{"name":"version","description":"osquery toolkit version","type":"text","hidden":false,"required":false,"index":false},{"name":"config_hash","description":"Hash of the working configuration state","type":"text","hidden":false,"required":false,"index":false},{"name":"config_valid","description":"1 if the config was loaded and considered valid, else 0","type":"integer","hidden":false,"required":false,"index":false},{"name":"extensions","description":"osquery extensions status","type":"text","hidden":false,"required":false,"index":false},{"name":"build_platform","description":"osquery toolkit build platform","type":"text","hidden":false,"required":false,"index":false},{"name":"build_distro","description":"osquery toolkit platform distribution name (os version)","type":"text","hidden":false,"required":false,"index":false},{"name":"start_time","description":"UNIX time in seconds when the process started","type":"integer","hidden":false,"required":false,"index":false},{"name":"watcher","description":"Process (or thread/handle) ID of optional watcher process","type":"integer","hidden":false,"required":false,"index":false},{"name":"platform_mask","description":"The osquery platform bitmask","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"osquery_packs","description":"Information about the current query packs that are loaded in osquery.","platforms":["darwin","linux","freebsd","windows"],"columns":[{"name":"name","description":"The given name for this query pack","type":"text","hidden":false,"required":false,"index":false},{"name":"platform","description":"Platforms this query is supported on","type":"text","hidden":false,"required":false,"index":false},{"name":"version","description":"Minimum osquery version that this query will run on","type":"text","hidden":false,"required":false,"index":false},{"name":"shard","description":"Shard restriction limit, 1-100, 0 meaning no restriction","type":"integer","hidden":false,"required":false,"index":false},{"name":"discovery_cache_hits","description":"The number of times that the discovery query used cached values since the last time the config was reloaded","type":"integer","hidden":false,"required":false,"index":false},{"name":"discovery_executions","description":"The number of times that the discovery queries have been executed since the last time the config was reloaded","type":"integer","hidden":false,"required":false,"index":false},{"name":"active","description":"Whether this pack is active (the version, platform and discovery queries match) yes=1, no=0.","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"osquery_registry","description":"List the osquery registry plugins.","platforms":["darwin","linux","freebsd","windows"],"columns":[{"name":"registry","description":"Name of the osquery registry","type":"text","hidden":false,"required":false,"index":false},{"name":"name","description":"Name of the plugin item","type":"text","hidden":false,"required":false,"index":false},{"name":"owner_uuid","description":"Extension route UUID (0 for core)","type":"integer","hidden":false,"required":false,"index":false},{"name":"internal","description":"1 If the plugin is internal else 0","type":"integer","hidden":false,"required":false,"index":false},{"name":"active","description":"1 If this plugin is active else 0","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"osquery_schedule","description":"Information about the current queries that are scheduled in osquery.","platforms":["darwin","linux","freebsd","windows"],"columns":[{"name":"name","description":"The given name for this query","type":"text","hidden":false,"required":false,"index":false},{"name":"query","description":"The exact query to run","type":"text","hidden":false,"required":false,"index":false},{"name":"interval","description":"The interval in seconds to run this query, not an exact interval","type":"integer","hidden":false,"required":false,"index":false},{"name":"executions","description":"Number of times the query was executed","type":"bigint","hidden":false,"required":false,"index":false},{"name":"last_executed","description":"UNIX time stamp in seconds of the last completed execution","type":"bigint","hidden":false,"required":false,"index":false},{"name":"denylisted","description":"1 if the query is denylisted else 0","type":"integer","hidden":false,"required":false,"index":false},{"name":"output_size","description":"Cumulative total number of bytes generated by the resultant rows of the query","type":"bigint","hidden":false,"required":false,"index":false},{"name":"wall_time","description":"Total wall time in seconds spent executing (deprecated), hidden=True","type":"bigint","hidden":false,"required":false,"index":false},{"name":"wall_time_ms","description":"Total wall time in milliseconds spent executing","type":"bigint","hidden":false,"required":false,"index":false},{"name":"last_wall_time_ms","description":"Wall time in milliseconds of the latest execution","type":"bigint","hidden":false,"required":false,"index":false},{"name":"user_time","description":"Total user time in milliseconds spent executing","type":"bigint","hidden":false,"required":false,"index":false},{"name":"last_user_time","description":"User time in milliseconds of the latest execution","type":"bigint","hidden":false,"required":false,"index":false},{"name":"system_time","description":"Total system time in milliseconds spent executing","type":"bigint","hidden":false,"required":false,"index":false},{"name":"last_system_time","description":"System time in milliseconds of the latest execution","type":"bigint","hidden":false,"required":false,"index":false},{"name":"average_memory","description":"Average of the bytes of resident memory left allocated after collecting results","type":"bigint","hidden":false,"required":false,"index":false},{"name":"last_memory","description":"Resident memory in bytes left allocated after collecting results of the latest execution","type":"bigint","hidden":false,"required":false,"index":false}]},{"name":"package_bom","description":"macOS package bill of materials (BOM) file list.","platforms":["darwin"],"columns":[{"name":"filepath","description":"Package file or directory","type":"text","hidden":false,"required":false,"index":false},{"name":"uid","description":"Expected user of file or directory","type":"integer","hidden":false,"required":false,"index":false},{"name":"gid","description":"Expected group of file or directory","type":"integer","hidden":false,"required":false,"index":false},{"name":"mode","description":"Expected permissions","type":"integer","hidden":false,"required":false,"index":false},{"name":"size","description":"Expected file size","type":"bigint","hidden":false,"required":false,"index":false},{"name":"modified_time","description":"Timestamp the file was installed","type":"integer","hidden":false,"required":false,"index":false},{"name":"path","description":"Path of package bom","type":"text","hidden":false,"required":true,"index":false}]},{"name":"package_install_history","description":"macOS package install history.","platforms":["darwin"],"columns":[{"name":"package_id","description":"Label packageIdentifiers","type":"text","hidden":false,"required":false,"index":false},{"name":"time","description":"Label date as UNIX timestamp","type":"integer","hidden":false,"required":false,"index":false},{"name":"name","description":"Package display name","type":"text","hidden":false,"required":false,"index":false},{"name":"version","description":"Package display version","type":"text","hidden":false,"required":false,"index":false},{"name":"source","description":"Install source: usually the installer process name","type":"text","hidden":false,"required":false,"index":false},{"name":"content_type","description":"Package content_type (optional)","type":"text","hidden":false,"required":false,"index":false}]},{"name":"package_receipts","description":"macOS package receipt details.","platforms":["darwin"],"columns":[{"name":"package_id","description":"Package domain identifier","type":"text","hidden":false,"required":false,"index":false},{"name":"package_filename","description":"Filename of original .pkg file","type":"text","hidden":true,"required":false,"index":false},{"name":"version","description":"Installed package version","type":"text","hidden":false,"required":false,"index":false},{"name":"location","description":"Optional relative install path on volume","type":"text","hidden":false,"required":false,"index":false},{"name":"install_time","description":"Timestamp of install time","type":"double","hidden":false,"required":false,"index":false},{"name":"installer_name","description":"Name of installer process","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"Path of receipt plist","type":"text","hidden":false,"required":false,"index":false}]},{"name":"password_policy","description":"Password Policies for macOS.","platforms":["darwin"],"columns":[{"name":"uid","description":"User ID for the policy, -1 for policies that are global","type":"bigint","hidden":false,"required":false,"index":false},{"name":"policy_identifier","description":"Policy Identifier","type":"text","hidden":false,"required":false,"index":false},{"name":"policy_content","description":"Policy content","type":"text","hidden":false,"required":false,"index":false},{"name":"policy_description","description":"Policy description","type":"text","hidden":false,"required":false,"index":false}]},{"name":"patches","description":"Lists all the patches applied. Note: This does not include patches applied via MSI or downloaded from Windows Update (e.g. Service Packs).","platforms":["windows"],"columns":[{"name":"csname","description":"The name of the host the patch is installed on.","type":"text","hidden":false,"required":false,"index":false},{"name":"hotfix_id","description":"The KB ID of the patch.","type":"text","hidden":false,"required":false,"index":false},{"name":"caption","description":"Short description of the patch.","type":"text","hidden":false,"required":false,"index":false},{"name":"description","description":"Fuller description of the patch.","type":"text","hidden":false,"required":false,"index":false},{"name":"fix_comments","description":"Additional comments about the patch.","type":"text","hidden":false,"required":false,"index":false},{"name":"installed_by","description":"The system context in which the patch as installed.","type":"text","hidden":false,"required":false,"index":false},{"name":"install_date","description":"Indicates when the patch was installed. Lack of a value does not indicate that the patch was not installed.","type":"text","hidden":false,"required":false,"index":false},{"name":"installed_on","description":"The date when the patch was installed.","type":"text","hidden":false,"required":false,"index":false}]},{"name":"pci_devices","description":"PCI devices active on the host system.","platforms":["darwin","linux"],"columns":[{"name":"pci_slot","description":"PCI Device used slot","type":"text","hidden":false,"required":false,"index":false},{"name":"pci_class","description":"PCI Device class","type":"text","hidden":false,"required":false,"index":false},{"name":"driver","description":"PCI Device used driver","type":"text","hidden":false,"required":false,"index":false},{"name":"vendor","description":"PCI Device vendor","type":"text","hidden":false,"required":false,"index":false},{"name":"vendor_id","description":"Hex encoded PCI Device vendor identifier","type":"text","hidden":false,"required":false,"index":false},{"name":"model","description":"PCI Device model","type":"text","hidden":false,"required":false,"index":false},{"name":"model_id","description":"Hex encoded PCI Device model identifier","type":"text","hidden":false,"required":false,"index":false},{"name":"pci_class_id","description":"PCI Device class ID in hex format","type":"text","hidden":true,"required":false,"index":false},{"name":"pci_subclass_id","description":"PCI Device subclass in hex format","type":"text","hidden":true,"required":false,"index":false},{"name":"pci_subclass","description":"PCI Device subclass","type":"text","hidden":true,"required":false,"index":false},{"name":"subsystem_vendor_id","description":"Vendor ID of PCI device subsystem","type":"text","hidden":true,"required":false,"index":false},{"name":"subsystem_vendor","description":"Vendor of PCI device subsystem","type":"text","hidden":true,"required":false,"index":false},{"name":"subsystem_model_id","description":"Model ID of PCI device subsystem","type":"text","hidden":true,"required":false,"index":false},{"name":"subsystem_model","description":"Device description of PCI device subsystem","type":"text","hidden":true,"required":false,"index":false}]},{"name":"physical_disk_performance","description":"Provides provides raw data from performance counters that monitor hard or fixed disk drives on the system.","platforms":["windows"],"columns":[{"name":"name","description":"Name of the physical disk","type":"text","hidden":false,"required":false,"index":false},{"name":"avg_disk_bytes_per_read","description":"Average number of bytes transferred from the disk during read operations","type":"bigint","hidden":false,"required":false,"index":false},{"name":"avg_disk_bytes_per_write","description":"Average number of bytes transferred to the disk during write operations","type":"bigint","hidden":false,"required":false,"index":false},{"name":"avg_disk_read_queue_length","description":"Average number of read requests that were queued for the selected disk during the sample interval","type":"bigint","hidden":false,"required":false,"index":false},{"name":"avg_disk_write_queue_length","description":"Average number of write requests that were queued for the selected disk during the sample interval","type":"bigint","hidden":false,"required":false,"index":false},{"name":"avg_disk_sec_per_read","description":"Average time, in seconds, of a read operation of data from the disk","type":"integer","hidden":false,"required":false,"index":false},{"name":"avg_disk_sec_per_write","description":"Average time, in seconds, of a write operation of data to the disk","type":"integer","hidden":false,"required":false,"index":false},{"name":"current_disk_queue_length","description":"Number of requests outstanding on the disk at the time the performance data is collected","type":"integer","hidden":false,"required":false,"index":false},{"name":"percent_disk_read_time","description":"Percentage of elapsed time that the selected disk drive is busy servicing read requests","type":"bigint","hidden":false,"required":false,"index":false},{"name":"percent_disk_write_time","description":"Percentage of elapsed time that the selected disk drive is busy servicing write requests","type":"bigint","hidden":false,"required":false,"index":false},{"name":"percent_disk_time","description":"Percentage of elapsed time that the selected disk drive is busy servicing read or write requests","type":"bigint","hidden":false,"required":false,"index":false},{"name":"percent_idle_time","description":"Percentage of time during the sample interval that the disk was idle","type":"bigint","hidden":false,"required":false,"index":false}]},{"name":"pipes","description":"Named and Anonymous pipes.","platforms":["windows"],"columns":[{"name":"pid","description":"Process ID of the process to which the pipe belongs","type":"bigint","hidden":false,"required":false,"index":false},{"name":"name","description":"Name of the pipe","type":"text","hidden":false,"required":false,"index":false},{"name":"instances","description":"Number of instances of the named pipe","type":"integer","hidden":false,"required":false,"index":false},{"name":"max_instances","description":"The maximum number of instances creatable for this pipe","type":"integer","hidden":false,"required":false,"index":false},{"name":"flags","description":"The flags indicating whether this pipe connection is a server or client end, and if the pipe for sending messages or bytes","type":"text","hidden":false,"required":false,"index":false}]},{"name":"pkg_packages","description":"pkgng packages that are currently installed on the host system.","platforms":["freebsd"],"columns":[{"name":"name","description":"Package name","type":"text","hidden":false,"required":false,"index":false},{"name":"version","description":"Package version","type":"text","hidden":false,"required":false,"index":false},{"name":"flatsize","description":"Package size in bytes","type":"bigint","hidden":false,"required":false,"index":false},{"name":"arch","description":"Architecture(s) supported","type":"text","hidden":false,"required":false,"index":false}]},{"name":"platform_info","description":"Information about EFI/UEFI/ROM and platform/boot.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"vendor","description":"Platform code vendor","type":"text","hidden":false,"required":false,"index":false},{"name":"version","description":"Platform code version","type":"text","hidden":false,"required":false,"index":false},{"name":"date","description":"Self-reported platform code update date","type":"text","hidden":false,"required":false,"index":false},{"name":"revision","description":"BIOS major and minor revision","type":"text","hidden":false,"required":false,"index":false},{"name":"extra","description":"Platform-specific additional information","type":"text","hidden":false,"required":false,"index":false},{"name":"firmware_type","description":"The type of firmware (Uefi, Bios, Unknown).","type":"text","hidden":true,"required":false,"index":false},{"name":"address","description":"Relative address of firmware mapping","type":"text","hidden":false,"required":false,"index":false},{"name":"size","description":"Size in bytes of firmware","type":"text","hidden":false,"required":false,"index":false},{"name":"volume_size","description":"(Optional) size of firmware volume","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"plist","description":"Read and parse a plist file.","platforms":["darwin"],"columns":[{"name":"key","description":"Preference top-level key","type":"text","hidden":false,"required":false,"index":false},{"name":"subkey","description":"Intermediate key path, includes lists/dicts","type":"text","hidden":false,"required":false,"index":false},{"name":"value","description":"String value of most CF types","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"(required) read preferences from a plist","type":"text","hidden":false,"required":true,"index":false}]},{"name":"portage_keywords","description":"A summary about portage configurations like keywords, mask and unmask.","platforms":["linux"],"columns":[{"name":"package","description":"Package name","type":"text","hidden":false,"required":false,"index":false},{"name":"version","description":"The version which are affected by the use flags, empty means all","type":"text","hidden":false,"required":false,"index":false},{"name":"keyword","description":"The keyword applied to the package","type":"text","hidden":false,"required":false,"index":false},{"name":"mask","description":"If the package is masked","type":"integer","hidden":false,"required":false,"index":false},{"name":"unmask","description":"If the package is unmasked","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"portage_packages","description":"List of currently installed packages.","platforms":["linux"],"columns":[{"name":"package","description":"Package name","type":"text","hidden":false,"required":false,"index":false},{"name":"version","description":"The version which are affected by the use flags, empty means all","type":"text","hidden":false,"required":false,"index":false},{"name":"slot","description":"The slot used by package","type":"text","hidden":false,"required":false,"index":false},{"name":"build_time","description":"Unix time when package was built","type":"bigint","hidden":false,"required":false,"index":false},{"name":"repository","description":"From which repository the ebuild was used","type":"text","hidden":false,"required":false,"index":false},{"name":"eapi","description":"The eapi for the ebuild","type":"bigint","hidden":false,"required":false,"index":false},{"name":"size","description":"The size of the package","type":"bigint","hidden":false,"required":false,"index":false},{"name":"world","description":"If package is in the world file","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"portage_use","description":"List of enabled portage USE values for specific package.","platforms":["linux"],"columns":[{"name":"package","description":"Package name","type":"text","hidden":false,"required":false,"index":false},{"name":"version","description":"The version of the installed package","type":"text","hidden":false,"required":false,"index":false},{"name":"use","description":"USE flag which has been enabled for package","type":"text","hidden":false,"required":false,"index":false}]},{"name":"power_sensors","description":"Machine power (currents, voltages, wattages, etc) sensors.","platforms":["darwin"],"columns":[{"name":"key","description":"The SMC key on macOS","type":"text","hidden":false,"required":false,"index":false},{"name":"category","description":"The sensor category: currents, voltage, wattage","type":"text","hidden":false,"required":false,"index":false},{"name":"name","description":"Name of power source","type":"text","hidden":false,"required":false,"index":false},{"name":"value","description":"Power in Watts","type":"text","hidden":false,"required":false,"index":false}]},{"name":"powershell_events","description":"Powershell script blocks reconstructed to their full script content, this table requires script block logging to be enabled.","platforms":["windows"],"columns":[{"name":"time","description":"Timestamp the event was received by the osquery event publisher","type":"bigint","hidden":false,"required":false,"index":false},{"name":"datetime","description":"System time at which the Powershell script event occurred","type":"text","hidden":false,"required":false,"index":false},{"name":"script_block_id","description":"The unique GUID of the powershell script to which this block belongs","type":"text","hidden":false,"required":false,"index":false},{"name":"script_block_count","description":"The total number of script blocks for this script","type":"integer","hidden":false,"required":false,"index":false},{"name":"script_text","description":"The text content of the Powershell script","type":"text","hidden":false,"required":false,"index":false},{"name":"script_name","description":"The name of the Powershell script","type":"text","hidden":false,"required":false,"index":false},{"name":"script_path","description":"The path for the Powershell script","type":"text","hidden":false,"required":false,"index":false},{"name":"cosine_similarity","description":"How similar the Powershell script is to a provided 'normal' character frequency","type":"double","hidden":false,"required":false,"index":false}]},{"name":"preferences","description":"macOS defaults and managed preferences.","platforms":["darwin"],"columns":[{"name":"domain","description":"Application ID usually in com.name.product format","type":"text","hidden":false,"required":false,"index":false},{"name":"key","description":"Preference top-level key","type":"text","hidden":false,"required":false,"index":false},{"name":"subkey","description":"Intemediate key path, includes lists/dicts","type":"text","hidden":false,"required":false,"index":false},{"name":"value","description":"String value of most CF types","type":"text","hidden":false,"required":false,"index":false},{"name":"forced","description":"1 if the value is forced/managed, else 0","type":"integer","hidden":false,"required":false,"index":false},{"name":"username","description":"(optional) read preferences for a specific user","type":"text","hidden":false,"required":false,"index":false},{"name":"host","description":"'current' or 'any' host, where 'current' takes precedence","type":"text","hidden":false,"required":false,"index":false}]},{"name":"prefetch","description":"Prefetch files show metadata related to file execution.","platforms":["windows"],"columns":[{"name":"path","description":"Prefetch file path.","type":"text","hidden":false,"required":false,"index":false},{"name":"filename","description":"Executable filename.","type":"text","hidden":false,"required":false,"index":false},{"name":"hash","description":"Prefetch CRC hash.","type":"text","hidden":false,"required":false,"index":false},{"name":"last_run_time","description":"Most recent time application was run.","type":"integer","hidden":false,"required":false,"index":false},{"name":"other_run_times","description":"Other execution times in prefetch file.","type":"text","hidden":false,"required":false,"index":false},{"name":"run_count","description":"Number of times the application has been run.","type":"integer","hidden":false,"required":false,"index":false},{"name":"size","description":"Application file size.","type":"integer","hidden":false,"required":false,"index":false},{"name":"volume_serial","description":"Volume serial number.","type":"text","hidden":false,"required":false,"index":false},{"name":"volume_creation","description":"Volume creation time.","type":"text","hidden":false,"required":false,"index":false},{"name":"accessed_files_count","description":"Number of files accessed.","type":"integer","hidden":false,"required":false,"index":false},{"name":"accessed_directories_count","description":"Number of directories accessed.","type":"integer","hidden":false,"required":false,"index":false},{"name":"accessed_files","description":"Files accessed by application within ten seconds of launch.","type":"text","hidden":false,"required":false,"index":false},{"name":"accessed_directories","description":"Directories accessed by application within ten seconds of launch.","type":"text","hidden":false,"required":false,"index":false}]},{"name":"process_envs","description":"A key/value table of environment variables for each process.","platforms":["darwin","linux"],"columns":[{"name":"pid","description":"Process (or thread) ID","type":"integer","hidden":false,"required":false,"index":false},{"name":"key","description":"Environment variable name","type":"text","hidden":false,"required":false,"index":false},{"name":"value","description":"Environment variable value","type":"text","hidden":false,"required":false,"index":false}]},{"name":"process_events","description":"Track time/action process executions.","platforms":["darwin","linux"],"columns":[{"name":"pid","description":"Process (or thread) ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"path","description":"Path of executed file","type":"text","hidden":false,"required":false,"index":false},{"name":"mode","description":"File mode permissions","type":"text","hidden":false,"required":false,"index":false},{"name":"cmdline","description":"Command line arguments (argv)","type":"text","hidden":false,"required":false,"index":false},{"name":"cmdline_size","description":"Actual size (bytes) of command line arguments","type":"bigint","hidden":true,"required":false,"index":false},{"name":"env","description":"Environment variables delimited by spaces","type":"text","hidden":true,"required":false,"index":false},{"name":"env_count","description":"Number of environment variables","type":"bigint","hidden":true,"required":false,"index":false},{"name":"env_size","description":"Actual size (bytes) of environment list","type":"bigint","hidden":true,"required":false,"index":false},{"name":"cwd","description":"The process current working directory","type":"text","hidden":false,"required":false,"index":false},{"name":"auid","description":"Audit User ID at process start","type":"bigint","hidden":false,"required":false,"index":false},{"name":"uid","description":"User ID at process start","type":"bigint","hidden":false,"required":false,"index":false},{"name":"euid","description":"Effective user ID at process start","type":"bigint","hidden":false,"required":false,"index":false},{"name":"gid","description":"Group ID at process start","type":"bigint","hidden":false,"required":false,"index":false},{"name":"egid","description":"Effective group ID at process start","type":"bigint","hidden":false,"required":false,"index":false},{"name":"owner_uid","description":"File owner user ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"owner_gid","description":"File owner group ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"atime","description":"File last access in UNIX time","type":"bigint","hidden":false,"required":false,"index":false},{"name":"mtime","description":"File modification in UNIX time","type":"bigint","hidden":false,"required":false,"index":false},{"name":"ctime","description":"File last metadata change in UNIX time","type":"bigint","hidden":false,"required":false,"index":false},{"name":"btime","description":"File creation in UNIX time","type":"bigint","hidden":false,"required":false,"index":false},{"name":"overflows","description":"List of structures that overflowed","type":"text","hidden":true,"required":false,"index":false},{"name":"parent","description":"Process parent's PID, or -1 if cannot be determined.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"time","description":"Time of execution in UNIX time","type":"bigint","hidden":false,"required":false,"index":false},{"name":"uptime","description":"Time of execution in system uptime","type":"bigint","hidden":false,"required":false,"index":false},{"name":"eid","description":"Event ID","type":"text","hidden":true,"required":false,"index":false},{"name":"status","description":"OpenBSM Attribute: Status of the process","type":"bigint","hidden":false,"required":false,"index":false},{"name":"fsuid","description":"Filesystem user ID at process start","type":"bigint","hidden":true,"required":false,"index":false},{"name":"suid","description":"Saved user ID at process start","type":"bigint","hidden":true,"required":false,"index":false},{"name":"fsgid","description":"Filesystem group ID at process start","type":"bigint","hidden":true,"required":false,"index":false},{"name":"sgid","description":"Saved group ID at process start","type":"bigint","hidden":true,"required":false,"index":false},{"name":"syscall","description":"Syscall name: fork, vfork, clone, execve, execveat","type":"text","hidden":true,"required":false,"index":false}]},{"name":"process_file_events","description":"A File Integrity Monitor implementation using the audit service.","platforms":["linux"],"columns":[{"name":"operation","description":"Operation type","type":"text","hidden":false,"required":false,"index":false},{"name":"pid","description":"Process ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"ppid","description":"Parent process ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"time","description":"Time of execution in UNIX time","type":"bigint","hidden":false,"required":false,"index":false},{"name":"executable","description":"The executable path","type":"text","hidden":false,"required":false,"index":false},{"name":"partial","description":"True if this is a partial event (i.e.: this process existed before we started osquery)","type":"text","hidden":false,"required":false,"index":false},{"name":"cwd","description":"The current working directory of the process","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"The path associated with the event","type":"text","hidden":false,"required":false,"index":false},{"name":"dest_path","description":"The canonical path associated with the event","type":"text","hidden":false,"required":false,"index":false},{"name":"uid","description":"The uid of the process performing the action","type":"text","hidden":false,"required":false,"index":false},{"name":"gid","description":"The gid of the process performing the action","type":"text","hidden":false,"required":false,"index":false},{"name":"auid","description":"Audit user ID of the process using the file","type":"text","hidden":false,"required":false,"index":false},{"name":"euid","description":"Effective user ID of the process using the file","type":"text","hidden":false,"required":false,"index":false},{"name":"egid","description":"Effective group ID of the process using the file","type":"text","hidden":false,"required":false,"index":false},{"name":"fsuid","description":"Filesystem user ID of the process using the file","type":"text","hidden":false,"required":false,"index":false},{"name":"fsgid","description":"Filesystem group ID of the process using the file","type":"text","hidden":false,"required":false,"index":false},{"name":"suid","description":"Saved user ID of the process using the file","type":"text","hidden":false,"required":false,"index":false},{"name":"sgid","description":"Saved group ID of the process using the file","type":"text","hidden":false,"required":false,"index":false},{"name":"uptime","description":"Time of execution in system uptime","type":"bigint","hidden":false,"required":false,"index":false},{"name":"eid","description":"Event ID","type":"text","hidden":true,"required":false,"index":false}]},{"name":"process_memory_map","description":"Process memory mapped files and pseudo device/regions.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"pid","description":"Process (or thread) ID","type":"integer","hidden":false,"required":false,"index":false},{"name":"start","description":"Virtual start address (hex)","type":"text","hidden":false,"required":false,"index":false},{"name":"end","description":"Virtual end address (hex)","type":"text","hidden":false,"required":false,"index":false},{"name":"permissions","description":"r=read, w=write, x=execute, p=private (cow)","type":"text","hidden":false,"required":false,"index":false},{"name":"offset","description":"Offset into mapped path","type":"bigint","hidden":false,"required":false,"index":false},{"name":"device","description":"MA:MI Major/minor device ID","type":"text","hidden":false,"required":false,"index":false},{"name":"inode","description":"Mapped path inode, 0 means uninitialized (BSS)","type":"integer","hidden":false,"required":false,"index":false},{"name":"path","description":"Path to mapped file or mapped type","type":"text","hidden":false,"required":false,"index":false},{"name":"pseudo","description":"1 If path is a pseudo path, else 0","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"process_namespaces","description":"Linux namespaces for processes running on the host system.","platforms":["linux"],"columns":[{"name":"pid","description":"Process (or thread) ID","type":"integer","hidden":false,"required":false,"index":false},{"name":"cgroup_namespace","description":"cgroup namespace inode","type":"text","hidden":false,"required":false,"index":false},{"name":"ipc_namespace","description":"ipc namespace inode","type":"text","hidden":false,"required":false,"index":false},{"name":"mnt_namespace","description":"mnt namespace inode","type":"text","hidden":false,"required":false,"index":false},{"name":"net_namespace","description":"net namespace inode","type":"text","hidden":false,"required":false,"index":false},{"name":"pid_namespace","description":"pid namespace inode","type":"text","hidden":false,"required":false,"index":false},{"name":"user_namespace","description":"user namespace inode","type":"text","hidden":false,"required":false,"index":false},{"name":"uts_namespace","description":"uts namespace inode","type":"text","hidden":false,"required":false,"index":false}]},{"name":"process_open_files","description":"File descriptors for each process.","platforms":["darwin","linux"],"columns":[{"name":"pid","description":"Process (or thread) ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"fd","description":"Process-specific file descriptor number","type":"bigint","hidden":false,"required":false,"index":false},{"name":"path","description":"Filesystem path of descriptor","type":"text","hidden":false,"required":false,"index":false}]},{"name":"process_open_pipes","description":"Pipes and partner processes for each process.","platforms":["linux"],"columns":[{"name":"pid","description":"Process ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"fd","description":"File descriptor","type":"bigint","hidden":false,"required":false,"index":false},{"name":"mode","description":"Pipe open mode (r/w)","type":"text","hidden":false,"required":false,"index":false},{"name":"inode","description":"Pipe inode number","type":"bigint","hidden":false,"required":false,"index":false},{"name":"type","description":"Pipe Type: named vs unnamed/anonymous","type":"text","hidden":false,"required":false,"index":false},{"name":"partner_pid","description":"Process ID of partner process sharing a particular pipe","type":"bigint","hidden":false,"required":false,"index":false},{"name":"partner_fd","description":"File descriptor of shared pipe at partner's end","type":"bigint","hidden":false,"required":false,"index":false},{"name":"partner_mode","description":"Mode of shared pipe at partner's end","type":"text","hidden":false,"required":false,"index":false}]},{"name":"process_open_sockets","description":"Processes which have open network sockets on the system.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"pid","description":"Process (or thread) ID","type":"integer","hidden":false,"required":false,"index":false},{"name":"fd","description":"Socket file descriptor number","type":"bigint","hidden":false,"required":false,"index":false},{"name":"socket","description":"Socket handle or inode number","type":"bigint","hidden":false,"required":false,"index":false},{"name":"family","description":"Network protocol (IPv4, IPv6)","type":"integer","hidden":false,"required":false,"index":false},{"name":"protocol","description":"Transport protocol (TCP/UDP)","type":"integer","hidden":false,"required":false,"index":false},{"name":"local_address","description":"Socket local address","type":"text","hidden":false,"required":false,"index":false},{"name":"remote_address","description":"Socket remote address","type":"text","hidden":false,"required":false,"index":false},{"name":"local_port","description":"Socket local port","type":"integer","hidden":false,"required":false,"index":false},{"name":"remote_port","description":"Socket remote port","type":"integer","hidden":false,"required":false,"index":false},{"name":"path","description":"For UNIX sockets (family=AF_UNIX), the domain path","type":"text","hidden":false,"required":false,"index":false},{"name":"state","description":"TCP socket state","type":"text","hidden":false,"required":false,"index":false},{"name":"net_namespace","description":"The inode number of the network namespace","type":"text","hidden":true,"required":false,"index":false}]},{"name":"processes","description":"All running processes on the host system.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"pid","description":"Process (or thread) ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"name","description":"The process path or shorthand argv[0]","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"Path to executed binary","type":"text","hidden":false,"required":false,"index":false},{"name":"cmdline","description":"Complete argv","type":"text","hidden":false,"required":false,"index":false},{"name":"state","description":"Process state","type":"text","hidden":false,"required":false,"index":false},{"name":"cwd","description":"Process current working directory","type":"text","hidden":false,"required":false,"index":false},{"name":"root","description":"Process virtual root directory","type":"text","hidden":false,"required":false,"index":false},{"name":"uid","description":"Unsigned user ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"gid","description":"Unsigned group ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"euid","description":"Unsigned effective user ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"egid","description":"Unsigned effective group ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"suid","description":"Unsigned saved user ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"sgid","description":"Unsigned saved group ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"on_disk","description":"The process path exists yes=1, no=0, unknown=-1","type":"integer","hidden":false,"required":false,"index":false},{"name":"wired_size","description":"Bytes of unpageable memory used by process","type":"bigint","hidden":false,"required":false,"index":false},{"name":"resident_size","description":"Bytes of private memory used by process","type":"bigint","hidden":false,"required":false,"index":false},{"name":"total_size","description":"Total virtual memory size","type":"bigint","hidden":false,"required":false,"index":false},{"name":"user_time","description":"CPU time in milliseconds spent in user space","type":"bigint","hidden":false,"required":false,"index":false},{"name":"system_time","description":"CPU time in milliseconds spent in kernel space","type":"bigint","hidden":false,"required":false,"index":false},{"name":"disk_bytes_read","description":"Bytes read from disk","type":"bigint","hidden":false,"required":false,"index":false},{"name":"disk_bytes_written","description":"Bytes written to disk","type":"bigint","hidden":false,"required":false,"index":false},{"name":"start_time","description":"Process start time in seconds since Epoch, in case of error -1","type":"bigint","hidden":false,"required":false,"index":false},{"name":"parent","description":"Process parent's PID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"pgroup","description":"Process group","type":"bigint","hidden":false,"required":false,"index":false},{"name":"threads","description":"Number of threads used by process","type":"integer","hidden":false,"required":false,"index":false},{"name":"nice","description":"Process nice level (-20 to 20, default 0)","type":"integer","hidden":false,"required":false,"index":false},{"name":"elevated_token","description":"Process uses elevated token yes=1, no=0","type":"integer","hidden":true,"required":false,"index":false},{"name":"secure_process","description":"Process is secure (IUM) yes=1, no=0","type":"integer","hidden":true,"required":false,"index":false},{"name":"protection_type","description":"The protection type of the process","type":"text","hidden":true,"required":false,"index":false},{"name":"virtual_process","description":"Process is virtual (e.g. System, Registry, vmmem) yes=1, no=0","type":"integer","hidden":true,"required":false,"index":false},{"name":"elapsed_time","description":"Elapsed time in seconds this process has been running.","type":"bigint","hidden":true,"required":false,"index":false},{"name":"handle_count","description":"Total number of handles that the process has open. This number is the sum of the handles currently opened by each thread in the process.","type":"bigint","hidden":true,"required":false,"index":false},{"name":"percent_processor_time","description":"Returns elapsed time that all of the threads of this process used the processor to execute instructions in 100 nanoseconds ticks.","type":"bigint","hidden":true,"required":false,"index":false},{"name":"upid","description":"A 64bit pid that is never reused. Returns -1 if we couldn't gather them from the system.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"uppid","description":"The 64bit parent pid that is never reused. Returns -1 if we couldn't gather them from the system.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"cpu_type","description":"Indicates the specific processor designed for installation.","type":"integer","hidden":false,"required":false,"index":false},{"name":"cpu_subtype","description":"Indicates the specific processor on which an entry may be used.","type":"integer","hidden":false,"required":false,"index":false},{"name":"translated","description":"Indicates whether the process is running under the Rosetta Translation Environment, yes=1, no=0, error=-1.","type":"integer","hidden":false,"required":false,"index":false},{"name":"cgroup_path","description":"The full hierarchical path of the process's control group","type":"text","hidden":true,"required":false,"index":false}]},{"name":"programs","description":"Represents products as they are installed by Windows Installer. A product generally correlates to one installation package on Windows. Some fields may be blank as Windows installation details are left to the discretion of the product author.","platforms":["windows"],"columns":[{"name":"name","description":"Commonly used product name.","type":"text","hidden":false,"required":false,"index":false},{"name":"version","description":"Product version information.","type":"text","hidden":false,"required":false,"index":false},{"name":"install_location","description":"The installation location directory of the product.","type":"text","hidden":false,"required":false,"index":false},{"name":"install_source","description":"The installation source of the product.","type":"text","hidden":false,"required":false,"index":false},{"name":"language","description":"The language of the product.","type":"text","hidden":false,"required":false,"index":false},{"name":"publisher","description":"Name of the product supplier.","type":"text","hidden":false,"required":false,"index":false},{"name":"uninstall_string","description":"Path and filename of the uninstaller.","type":"text","hidden":false,"required":false,"index":false},{"name":"install_date","description":"Date that this product was installed on the system. ","type":"text","hidden":false,"required":false,"index":false},{"name":"identifying_number","description":"Product identification such as a serial number on software, or a die number on a hardware chip.","type":"text","hidden":false,"required":false,"index":false}]},{"name":"prometheus_metrics","description":"Retrieve metrics from a Prometheus server.","platforms":["darwin","linux"],"columns":[{"name":"target_name","description":"Address of prometheus target","type":"text","hidden":false,"required":false,"index":false},{"name":"metric_name","description":"Name of collected Prometheus metric","type":"text","hidden":false,"required":false,"index":false},{"name":"metric_value","description":"Value of collected Prometheus metric","type":"double","hidden":false,"required":false,"index":false},{"name":"timestamp_ms","description":"Unix timestamp of collected data in MS","type":"bigint","hidden":false,"required":false,"index":false}]},{"name":"python_packages","description":"Python packages installed in a system.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"name","description":"Package display name","type":"text","hidden":false,"required":false,"index":false},{"name":"version","description":"Package-supplied version","type":"text","hidden":false,"required":false,"index":false},{"name":"summary","description":"Package-supplied summary","type":"text","hidden":false,"required":false,"index":false},{"name":"author","description":"Optional package author","type":"text","hidden":false,"required":false,"index":false},{"name":"license","description":"License under which package is launched","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"Path at which this module resides","type":"text","hidden":false,"required":false,"index":false},{"name":"directory","description":"Directory where Python modules are located","type":"text","hidden":false,"required":false,"index":false},{"name":"pid_with_namespace","description":"Pids that contain a namespace","type":"integer","hidden":true,"required":false,"index":false}]},{"name":"quicklook_cache","description":"Files and thumbnails within macOS's Quicklook Cache.","platforms":["darwin"],"columns":[{"name":"path","description":"Path of file","type":"text","hidden":false,"required":false,"index":false},{"name":"rowid","description":"Quicklook file rowid key","type":"integer","hidden":false,"required":false,"index":false},{"name":"fs_id","description":"Quicklook file fs_id key","type":"text","hidden":false,"required":false,"index":false},{"name":"volume_id","description":"Parsed volume ID from fs_id","type":"integer","hidden":false,"required":false,"index":false},{"name":"inode","description":"Parsed file ID (inode) from fs_id","type":"integer","hidden":false,"required":false,"index":false},{"name":"mtime","description":"Parsed version date field","type":"integer","hidden":false,"required":false,"index":false},{"name":"size","description":"Parsed version size field","type":"bigint","hidden":false,"required":false,"index":false},{"name":"label","description":"Parsed version 'gen' field","type":"text","hidden":false,"required":false,"index":false},{"name":"last_hit_date","description":"Apple date format for last thumbnail cache hit","type":"integer","hidden":false,"required":false,"index":false},{"name":"hit_count","description":"Number of cache hits on thumbnail","type":"text","hidden":false,"required":false,"index":false},{"name":"icon_mode","description":"Thumbnail icon mode","type":"bigint","hidden":false,"required":false,"index":false},{"name":"cache_path","description":"Path to cache data","type":"text","hidden":false,"required":false,"index":false}]},{"name":"registry","description":"All of the Windows registry hives.","platforms":["windows"],"columns":[{"name":"key","description":"Name of the key to search for","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"Full path to the value","type":"text","hidden":false,"required":false,"index":false},{"name":"name","description":"Name of the registry value entry","type":"text","hidden":false,"required":false,"index":false},{"name":"type","description":"Type of the registry value, or 'subkey' if item is a subkey","type":"text","hidden":false,"required":false,"index":false},{"name":"data","description":"Data content of registry value","type":"text","hidden":false,"required":false,"index":false},{"name":"mtime","description":"timestamp of the most recent registry write","type":"bigint","hidden":false,"required":false,"index":false}]},{"name":"routes","description":"The active route table for the host system.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"destination","description":"Destination IP address","type":"text","hidden":false,"required":false,"index":false},{"name":"netmask","description":"Netmask length","type":"integer","hidden":false,"required":false,"index":false},{"name":"gateway","description":"Route gateway","type":"text","hidden":false,"required":false,"index":false},{"name":"source","description":"Route source","type":"text","hidden":false,"required":false,"index":false},{"name":"flags","description":"Flags to describe route","type":"integer","hidden":false,"required":false,"index":false},{"name":"interface","description":"Route local interface","type":"text","hidden":false,"required":false,"index":false},{"name":"mtu","description":"Maximum Transmission Unit for the route","type":"integer","hidden":false,"required":false,"index":false},{"name":"metric","description":"Cost of route. Lowest is preferred","type":"integer","hidden":false,"required":false,"index":false},{"name":"type","description":"Type of route","type":"text","hidden":false,"required":false,"index":false},{"name":"hopcount","description":"Max hops expected","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"rpm_package_files","description":"RPM packages that are currently installed on the host system.","platforms":["linux"],"columns":[{"name":"package","description":"RPM package name","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"File path within the package","type":"text","hidden":false,"required":false,"index":false},{"name":"username","description":"File default username from info DB","type":"text","hidden":false,"required":false,"index":false},{"name":"groupname","description":"File default groupname from info DB","type":"text","hidden":false,"required":false,"index":false},{"name":"mode","description":"File permissions mode from info DB","type":"text","hidden":false,"required":false,"index":false},{"name":"size","description":"Expected file size in bytes from RPM info DB","type":"bigint","hidden":false,"required":false,"index":false},{"name":"sha256","description":"SHA256 file digest from RPM info DB","type":"text","hidden":false,"required":false,"index":false}]},{"name":"rpm_packages","description":"RPM packages that are currently installed on the host system.","platforms":["linux"],"columns":[{"name":"name","description":"RPM package name","type":"text","hidden":false,"required":false,"index":false},{"name":"version","description":"Package version","type":"text","hidden":false,"required":false,"index":false},{"name":"release","description":"Package release","type":"text","hidden":false,"required":false,"index":false},{"name":"source","description":"Source RPM package name (optional)","type":"text","hidden":false,"required":false,"index":false},{"name":"size","description":"Package size in bytes","type":"bigint","hidden":false,"required":false,"index":false},{"name":"sha1","description":"SHA1 hash of the package contents","type":"text","hidden":false,"required":false,"index":false},{"name":"arch","description":"Architecture(s) supported","type":"text","hidden":false,"required":false,"index":false},{"name":"epoch","description":"Package epoch value","type":"integer","hidden":false,"required":false,"index":false},{"name":"install_time","description":"When the package was installed","type":"integer","hidden":false,"required":false,"index":false},{"name":"vendor","description":"Package vendor","type":"text","hidden":false,"required":false,"index":false},{"name":"package_group","description":"Package group","type":"text","hidden":false,"required":false,"index":false},{"name":"pid_with_namespace","description":"Pids that contain a namespace","type":"integer","hidden":true,"required":false,"index":false},{"name":"mount_namespace_id","description":"Mount namespace id","type":"text","hidden":true,"required":false,"index":false}]},{"name":"running_apps","description":"macOS applications currently running on the host system.","platforms":["darwin"],"columns":[{"name":"pid","description":"The pid of the application","type":"integer","hidden":false,"required":false,"index":false},{"name":"bundle_identifier","description":"The bundle identifier of the application","type":"text","hidden":false,"required":false,"index":false},{"name":"is_active","description":"1 if the application is in focus, 0 otherwise","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"safari_extensions","description":"Safari browser extension details for all users.","platforms":["darwin"],"columns":[{"name":"uid","description":"The local user that owns the extension","type":"bigint","hidden":false,"required":false,"index":false},{"name":"name","description":"Extension display name","type":"text","hidden":false,"required":false,"index":false},{"name":"identifier","description":"Extension identifier","type":"text","hidden":false,"required":false,"index":false},{"name":"version","description":"Extension long version","type":"text","hidden":false,"required":false,"index":false},{"name":"sdk","description":"Bundle SDK used to compile extension","type":"text","hidden":false,"required":false,"index":false},{"name":"update_url","description":"Extension-supplied update URI","type":"text","hidden":false,"required":false,"index":false},{"name":"author","description":"Optional extension author","type":"text","hidden":false,"required":false,"index":false},{"name":"developer_id","description":"Optional developer identifier","type":"text","hidden":false,"required":false,"index":false},{"name":"description","description":"Optional extension description text","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"Path to extension XAR bundle","type":"text","hidden":false,"required":false,"index":false}]},{"name":"sandboxes","description":"macOS application sandboxes container details.","platforms":["darwin"],"columns":[{"name":"label","description":"UTI-format bundle or label ID","type":"text","hidden":false,"required":false,"index":false},{"name":"user","description":"Sandbox owner","type":"text","hidden":false,"required":false,"index":false},{"name":"enabled","description":"Application sandboxings enabled on container","type":"integer","hidden":false,"required":false,"index":false},{"name":"build_id","description":"Sandbox-specific identifier","type":"text","hidden":false,"required":false,"index":false},{"name":"bundle_path","description":"Application bundle used by the sandbox","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"Path to sandbox container directory","type":"text","hidden":false,"required":false,"index":false}]},{"name":"scheduled_tasks","description":"Lists all of the tasks in the Windows task scheduler.","platforms":["windows"],"columns":[{"name":"name","description":"Name of the scheduled task","type":"text","hidden":false,"required":false,"index":false},{"name":"action","description":"Actions executed by the scheduled task","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"Path to the executable to be run","type":"text","hidden":false,"required":false,"index":false},{"name":"enabled","description":"Whether or not the scheduled task is enabled","type":"integer","hidden":false,"required":false,"index":false},{"name":"state","description":"State of the scheduled task","type":"text","hidden":false,"required":false,"index":false},{"name":"hidden","description":"Whether or not the task is visible in the UI","type":"integer","hidden":false,"required":false,"index":false},{"name":"last_run_time","description":"Timestamp the task last ran","type":"bigint","hidden":false,"required":false,"index":false},{"name":"next_run_time","description":"Timestamp the task is scheduled to run next","type":"bigint","hidden":false,"required":false,"index":false},{"name":"last_run_message","description":"Exit status message of the last task run","type":"text","hidden":false,"required":false,"index":false},{"name":"last_run_code","description":"Exit status code of the last task run","type":"text","hidden":false,"required":false,"index":false}]},{"name":"screenlock","description":"macOS screenlock status. Note: only fetches results for osquery's current logged-in user context. The user must also have recently logged in.","platforms":["darwin"],"columns":[{"name":"enabled","description":"1 If a password is required after sleep or the screensaver begins; else 0","type":"integer","hidden":false,"required":false,"index":false},{"name":"grace_period","description":"The amount of time in seconds the screen must be asleep or the screensaver on before a password is required on-wake. 0 = immediately; -1 = no password is required on-wake","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"seccomp_events","description":"A virtual table that tracks seccomp events.","platforms":["linux"],"columns":[{"name":"time","description":"Time of execution in UNIX time","type":"bigint","hidden":false,"required":false,"index":false},{"name":"uptime","description":"Time of execution in system uptime","type":"bigint","hidden":false,"required":false,"index":false},{"name":"auid","description":"Audit user ID (loginuid) of the user who started the analyzed process","type":"unsigned_bigint","hidden":false,"required":false,"index":false},{"name":"uid","description":"User ID of the user who started the analyzed process","type":"unsigned_bigint","hidden":false,"required":false,"index":false},{"name":"gid","description":"Group ID of the user who started the analyzed process","type":"unsigned_bigint","hidden":false,"required":false,"index":false},{"name":"ses","description":"Session ID of the session from which the analyzed process was invoked","type":"unsigned_bigint","hidden":false,"required":false,"index":false},{"name":"pid","description":"Process ID","type":"unsigned_bigint","hidden":false,"required":false,"index":false},{"name":"comm","description":"Command-line name of the command that was used to invoke the analyzed process","type":"text","hidden":false,"required":false,"index":false},{"name":"exe","description":"The path to the executable that was used to invoke the analyzed process","type":"text","hidden":false,"required":false,"index":false},{"name":"sig","description":"Signal value sent to process by seccomp","type":"bigint","hidden":false,"required":false,"index":false},{"name":"arch","description":"Information about the CPU architecture","type":"text","hidden":false,"required":false,"index":false},{"name":"syscall","description":"Type of the system call","type":"text","hidden":false,"required":false,"index":false},{"name":"compat","description":"Is system call in compatibility mode","type":"bigint","hidden":false,"required":false,"index":false},{"name":"ip","description":"Instruction pointer value","type":"text","hidden":false,"required":false,"index":false},{"name":"code","description":"The seccomp action","type":"text","hidden":false,"required":false,"index":false}]},{"name":"secureboot","description":"Secure Boot UEFI Settings.","platforms":["linux","windows"],"columns":[{"name":"secure_boot","description":"Whether secure boot is enabled","type":"integer","hidden":false,"required":false,"index":false},{"name":"setup_mode","description":"Whether setup mode is enabled","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"selinux_events","description":"Track SELinux events.","platforms":["linux"],"columns":[{"name":"type","description":"Event type","type":"text","hidden":false,"required":false,"index":false},{"name":"message","description":"Message","type":"text","hidden":false,"required":false,"index":false},{"name":"time","description":"Time of execution in UNIX time","type":"bigint","hidden":false,"required":false,"index":false},{"name":"uptime","description":"Time of execution in system uptime","type":"bigint","hidden":false,"required":false,"index":false},{"name":"eid","description":"Event ID","type":"text","hidden":true,"required":false,"index":false}]},{"name":"selinux_settings","description":"Track active SELinux settings.","platforms":["linux"],"columns":[{"name":"scope","description":"Where the key is located inside the SELinuxFS mount point.","type":"text","hidden":false,"required":false,"index":false},{"name":"key","description":"Key or class name.","type":"text","hidden":false,"required":false,"index":false},{"name":"value","description":"Active value.","type":"text","hidden":false,"required":false,"index":false}]},{"name":"services","description":"Lists all installed Windows services and their relevant data.","platforms":["windows"],"columns":[{"name":"name","description":"Service name","type":"text","hidden":false,"required":false,"index":false},{"name":"service_type","description":"Service Type: OWN_PROCESS, SHARE_PROCESS and maybe Interactive (can interact with the desktop)","type":"text","hidden":false,"required":false,"index":false},{"name":"display_name","description":"Service Display name","type":"text","hidden":false,"required":false,"index":false},{"name":"status","description":"Service Current status: STOPPED, START_PENDING, STOP_PENDING, RUNNING, CONTINUE_PENDING, PAUSE_PENDING, PAUSED","type":"text","hidden":false,"required":false,"index":false},{"name":"pid","description":"the Process ID of the service","type":"integer","hidden":false,"required":false,"index":false},{"name":"start_type","description":"Service start type: BOOT_START, SYSTEM_START, AUTO_START, DEMAND_START, DISABLED","type":"text","hidden":false,"required":false,"index":false},{"name":"win32_exit_code","description":"The error code that the service uses to report an error that occurs when it is starting or stopping","type":"integer","hidden":false,"required":false,"index":false},{"name":"service_exit_code","description":"The service-specific error code that the service returns when an error occurs while the service is starting or stopping","type":"integer","hidden":false,"required":false,"index":false},{"name":"path","description":"Path to Service Executable","type":"text","hidden":false,"required":false,"index":false},{"name":"module_path","description":"Path to ServiceDll","type":"text","hidden":false,"required":false,"index":false},{"name":"description","description":"Service Description","type":"text","hidden":false,"required":false,"index":false},{"name":"user_account","description":"The name of the account that the service process will be logged on as when it runs. This name can be of the form Domain\\UserName. If the account belongs to the built-in domain, the name can be of the form .\\UserName.","type":"text","hidden":false,"required":false,"index":false}]},{"name":"shadow","description":"Local system users encrypted passwords and related information. Please note, that you usually need superuser rights to access `/etc/shadow`.","platforms":["linux"],"columns":[{"name":"password_status","description":"Password status","type":"text","hidden":false,"required":false,"index":false},{"name":"hash_alg","description":"Password hashing algorithm","type":"text","hidden":false,"required":false,"index":false},{"name":"last_change","description":"Date of last password change (starting from UNIX epoch date)","type":"bigint","hidden":false,"required":false,"index":false},{"name":"min","description":"Minimal number of days between password changes","type":"bigint","hidden":false,"required":false,"index":false},{"name":"max","description":"Maximum number of days between password changes","type":"bigint","hidden":false,"required":false,"index":false},{"name":"warning","description":"Number of days before password expires to warn user about it","type":"bigint","hidden":false,"required":false,"index":false},{"name":"inactive","description":"Number of days after password expires until account is blocked","type":"bigint","hidden":false,"required":false,"index":false},{"name":"expire","description":"Number of days since UNIX epoch date until account is disabled","type":"bigint","hidden":false,"required":false,"index":false},{"name":"flag","description":"Reserved","type":"bigint","hidden":false,"required":false,"index":false},{"name":"username","description":"Username","type":"text","hidden":false,"required":false,"index":false}]},{"name":"shared_folders","description":"Folders available to others via SMB or AFP.","platforms":["darwin"],"columns":[{"name":"name","description":"The shared name of the folder as it appears to other users","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"Absolute path of shared folder on the local system","type":"text","hidden":false,"required":false,"index":false}]},{"name":"shared_memory","description":"OS shared memory regions.","platforms":["linux"],"columns":[{"name":"shmid","description":"Shared memory segment ID","type":"integer","hidden":false,"required":false,"index":false},{"name":"owner_uid","description":"User ID of owning process","type":"bigint","hidden":false,"required":false,"index":false},{"name":"creator_uid","description":"User ID of creator process","type":"bigint","hidden":false,"required":false,"index":false},{"name":"pid","description":"Process ID to last use the segment","type":"bigint","hidden":false,"required":false,"index":false},{"name":"creator_pid","description":"Process ID that created the segment","type":"bigint","hidden":false,"required":false,"index":false},{"name":"atime","description":"Attached time","type":"bigint","hidden":false,"required":false,"index":false},{"name":"dtime","description":"Detached time","type":"bigint","hidden":false,"required":false,"index":false},{"name":"ctime","description":"Changed time","type":"bigint","hidden":false,"required":false,"index":false},{"name":"permissions","description":"Memory segment permissions","type":"text","hidden":false,"required":false,"index":false},{"name":"size","description":"Size in bytes","type":"bigint","hidden":false,"required":false,"index":false},{"name":"attached","description":"Number of attached processes","type":"integer","hidden":false,"required":false,"index":false},{"name":"status","description":"Destination/attach status","type":"text","hidden":false,"required":false,"index":false},{"name":"locked","description":"1 if segment is locked else 0","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"shared_resources","description":"Displays shared resources on a computer system running Windows. This may be a disk drive, printer, interprocess communication, or other sharable device.","platforms":["windows"],"columns":[{"name":"description","description":"A textual description of the object","type":"text","hidden":false,"required":false,"index":false},{"name":"install_date","description":"Indicates when the object was installed. Lack of a value does not indicate that the object is not installed.","type":"text","hidden":false,"required":false,"index":false},{"name":"status","description":"String that indicates the current status of the object.","type":"text","hidden":false,"required":false,"index":false},{"name":"allow_maximum","description":"Number of concurrent users for this resource has been limited. If True, the value in the MaximumAllowed property is ignored.","type":"integer","hidden":false,"required":false,"index":false},{"name":"maximum_allowed","description":"Limit on the maximum number of users allowed to use this resource concurrently. The value is only valid if the AllowMaximum property is set to FALSE.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"name","description":"Alias given to a path set up as a share on a computer system running Windows.","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"Local path of the Windows share.","type":"text","hidden":false,"required":false,"index":false},{"name":"type","description":"Type of resource being shared. Types include: disk drives, print queues, interprocess communications (IPC), and general devices.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"type_name","description":"Human readable value for the 'type' column","type":"text","hidden":false,"required":false,"index":false}]},{"name":"sharing_preferences","description":"macOS Sharing preferences.","platforms":["darwin"],"columns":[{"name":"screen_sharing","description":"1 If screen sharing is enabled else 0","type":"integer","hidden":false,"required":false,"index":false},{"name":"file_sharing","description":"1 If file sharing is enabled else 0","type":"integer","hidden":false,"required":false,"index":false},{"name":"printer_sharing","description":"1 If printer sharing is enabled else 0","type":"integer","hidden":false,"required":false,"index":false},{"name":"remote_login","description":"1 If remote login is enabled else 0","type":"integer","hidden":false,"required":false,"index":false},{"name":"remote_management","description":"1 If remote management is enabled else 0","type":"integer","hidden":false,"required":false,"index":false},{"name":"remote_apple_events","description":"1 If remote apple events are enabled else 0","type":"integer","hidden":false,"required":false,"index":false},{"name":"internet_sharing","description":"1 If internet sharing is enabled else 0","type":"integer","hidden":false,"required":false,"index":false},{"name":"bluetooth_sharing","description":"1 If bluetooth sharing is enabled for any user else 0","type":"integer","hidden":false,"required":false,"index":false},{"name":"disc_sharing","description":"1 If CD or DVD sharing is enabled else 0","type":"integer","hidden":false,"required":false,"index":false},{"name":"content_caching","description":"1 If content caching is enabled else 0","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"shell_history","description":"A line-delimited (command) table of per-user .*_history data.","platforms":["darwin","linux"],"columns":[{"name":"uid","description":"Shell history owner","type":"bigint","hidden":false,"required":false,"index":false},{"name":"time","description":"Entry timestamp. It could be absent, default value is 0.","type":"integer","hidden":false,"required":false,"index":false},{"name":"command","description":"Unparsed date/line/command history line","type":"text","hidden":false,"required":false,"index":false},{"name":"history_file","description":"Path to the .*_history for this user","type":"text","hidden":false,"required":false,"index":false}]},{"name":"shellbags","description":"Shows directories accessed via Windows Explorer.","platforms":["windows"],"columns":[{"name":"sid","description":"User SID","type":"text","hidden":false,"required":false,"index":false},{"name":"source","description":"Shellbags source Registry file","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"Directory name.","type":"text","hidden":false,"required":false,"index":false},{"name":"modified_time","description":"Directory Modified time.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"created_time","description":"Directory Created time.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"accessed_time","description":"Directory Accessed time.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"mft_entry","description":"Directory master file table entry.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"mft_sequence","description":"Directory master file table sequence.","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"shimcache","description":"Application Compatibility Cache, contains artifacts of execution.","platforms":["windows"],"columns":[{"name":"entry","description":"Execution order.","type":"integer","hidden":false,"required":false,"index":false},{"name":"path","description":"This is the path to the executed file.","type":"text","hidden":false,"required":false,"index":false},{"name":"modified_time","description":"File Modified time.","type":"integer","hidden":false,"required":false,"index":false},{"name":"execution_flag","description":"Boolean Execution flag, 1 for execution, 0 for no execution, -1 for missing (this flag does not exist on Windows 10 and higher).","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"signature","description":"File (executable, bundle, installer, disk) code signing status.","platforms":["darwin"],"columns":[{"name":"path","description":"Must provide a path or directory","type":"text","hidden":false,"required":true,"index":false},{"name":"hash_resources","description":"Set to 1 to also hash resources, or 0 otherwise. Default is 1","type":"integer","hidden":false,"required":false,"index":false},{"name":"arch","description":"If applicable, the arch of the signed code","type":"text","hidden":false,"required":false,"index":false},{"name":"signed","description":"1 If the file is signed else 0","type":"integer","hidden":false,"required":false,"index":false},{"name":"identifier","description":"The signing identifier sealed into the signature","type":"text","hidden":false,"required":false,"index":false},{"name":"cdhash","description":"Hash of the application Code Directory","type":"text","hidden":false,"required":false,"index":false},{"name":"team_identifier","description":"The team signing identifier sealed into the signature","type":"text","hidden":false,"required":false,"index":false},{"name":"authority","description":"Certificate Common Name","type":"text","hidden":false,"required":false,"index":false}]},{"name":"sip_config","description":"Apple's System Integrity Protection (rootless) status.","platforms":["darwin"],"columns":[{"name":"config_flag","description":"The System Integrity Protection config flag","type":"text","hidden":false,"required":false,"index":false},{"name":"enabled","description":"1 if this configuration is enabled, otherwise 0","type":"integer","hidden":false,"required":false,"index":false},{"name":"enabled_nvram","description":"1 if this configuration is enabled, otherwise 0","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"smbios_tables","description":"BIOS (DMI) structure common details and content.","platforms":["darwin","linux"],"columns":[{"name":"number","description":"Table entry number","type":"integer","hidden":false,"required":false,"index":false},{"name":"type","description":"Table entry type","type":"integer","hidden":false,"required":false,"index":false},{"name":"description","description":"Table entry description","type":"text","hidden":false,"required":false,"index":false},{"name":"handle","description":"Table entry handle","type":"integer","hidden":false,"required":false,"index":false},{"name":"header_size","description":"Header size in bytes","type":"integer","hidden":false,"required":false,"index":false},{"name":"size","description":"Table entry size in bytes","type":"integer","hidden":false,"required":false,"index":false},{"name":"md5","description":"MD5 hash of table entry","type":"text","hidden":false,"required":false,"index":false}]},{"name":"smc_keys","description":"Apple's system management controller keys.","platforms":["darwin"],"columns":[{"name":"key","description":"4-character key","type":"text","hidden":false,"required":false,"index":false},{"name":"type","description":"SMC-reported type literal type","type":"text","hidden":false,"required":false,"index":false},{"name":"size","description":"Reported size of data in bytes","type":"integer","hidden":false,"required":false,"index":false},{"name":"value","description":"A type-encoded representation of the key value","type":"text","hidden":false,"required":false,"index":false},{"name":"hidden","description":"1 if this key is normally hidden, otherwise 0","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"socket_events","description":"Track network socket opens and closes.","platforms":["darwin","linux"],"columns":[{"name":"action","description":"The socket action (bind, listen, close)","type":"text","hidden":false,"required":false,"index":false},{"name":"pid","description":"Process (or thread) ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"path","description":"Path of executed file","type":"text","hidden":false,"required":false,"index":false},{"name":"fd","description":"The file description for the process socket","type":"text","hidden":false,"required":false,"index":false},{"name":"auid","description":"Audit User ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"status","description":"Either 'succeeded', 'failed', 'in_progress' (connect() on non-blocking socket) or 'no_client' (null accept() on non-blocking socket)","type":"text","hidden":false,"required":false,"index":false},{"name":"family","description":"The Internet protocol family ID","type":"integer","hidden":false,"required":false,"index":false},{"name":"protocol","description":"The network protocol ID","type":"integer","hidden":true,"required":false,"index":false},{"name":"local_address","description":"Local address associated with socket","type":"text","hidden":false,"required":false,"index":false},{"name":"remote_address","description":"Remote address associated with socket","type":"text","hidden":false,"required":false,"index":false},{"name":"local_port","description":"Local network protocol port number","type":"integer","hidden":false,"required":false,"index":false},{"name":"remote_port","description":"Remote network protocol port number","type":"integer","hidden":false,"required":false,"index":false},{"name":"socket","description":"The local path (UNIX domain socket only)","type":"text","hidden":true,"required":false,"index":false},{"name":"time","description":"Time of execution in UNIX time","type":"bigint","hidden":false,"required":false,"index":false},{"name":"uptime","description":"Time of execution in system uptime","type":"bigint","hidden":false,"required":false,"index":false},{"name":"eid","description":"Event ID","type":"text","hidden":true,"required":false,"index":false},{"name":"success","description":"Deprecated. Use the 'status' column instead","type":"integer","hidden":true,"required":false,"index":false}]},{"name":"ssh_configs","description":"A table of parsed ssh_configs.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"uid","description":"The local owner of the ssh_config file","type":"bigint","hidden":false,"required":false,"index":false},{"name":"block","description":"The host or match block","type":"text","hidden":false,"required":false,"index":false},{"name":"option","description":"The option and value","type":"text","hidden":false,"required":false,"index":false},{"name":"ssh_config_file","description":"Path to the ssh_config file","type":"text","hidden":false,"required":false,"index":false}]},{"name":"startup_items","description":"Applications and binaries set as user/login startup items.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"name","description":"Name of startup item","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"Path of startup item","type":"text","hidden":false,"required":false,"index":false},{"name":"args","description":"Arguments provided to startup executable","type":"text","hidden":false,"required":false,"index":false},{"name":"type","description":"Startup Item or Login Item","type":"text","hidden":false,"required":false,"index":false},{"name":"source","description":"Directory or plist containing startup item","type":"text","hidden":false,"required":false,"index":false},{"name":"status","description":"Startup status; either enabled or disabled","type":"text","hidden":false,"required":false,"index":false},{"name":"username","description":"The user associated with the startup item","type":"text","hidden":false,"required":false,"index":false}]},{"name":"sudoers","description":"Rules for running commands as other users via sudo.","platforms":["darwin","linux"],"columns":[{"name":"source","description":"Source file containing the given rule","type":"text","hidden":false,"required":false,"index":false},{"name":"header","description":"Symbol for given rule","type":"text","hidden":false,"required":false,"index":false},{"name":"rule_details","description":"Rule definition","type":"text","hidden":false,"required":false,"index":false}]},{"name":"suid_bin","description":"suid binaries in common locations.","platforms":["darwin","linux"],"columns":[{"name":"path","description":"Binary path","type":"text","hidden":false,"required":false,"index":false},{"name":"username","description":"Binary owner username","type":"text","hidden":false,"required":false,"index":false},{"name":"groupname","description":"Binary owner group","type":"text","hidden":false,"required":false,"index":false},{"name":"permissions","description":"Binary permissions","type":"text","hidden":false,"required":false,"index":false},{"name":"pid_with_namespace","description":"Pids that contain a namespace","type":"integer","hidden":true,"required":false,"index":false}]},{"name":"syslog_events","description":"","platforms":["linux"],"columns":[{"name":"time","description":"Current unix epoch time","type":"bigint","hidden":false,"required":false,"index":false},{"name":"datetime","description":"Time known to syslog","type":"text","hidden":false,"required":false,"index":false},{"name":"host","description":"Hostname configured for syslog","type":"text","hidden":false,"required":false,"index":false},{"name":"severity","description":"Syslog severity","type":"integer","hidden":false,"required":false,"index":false},{"name":"facility","description":"Syslog facility","type":"text","hidden":false,"required":false,"index":false},{"name":"tag","description":"The syslog tag","type":"text","hidden":false,"required":false,"index":false},{"name":"message","description":"The syslog message","type":"text","hidden":false,"required":false,"index":false},{"name":"eid","description":"Event ID","type":"text","hidden":true,"required":false,"index":false}]},{"name":"system_controls","description":"sysctl names, values, and settings information.","platforms":["darwin","linux"],"columns":[{"name":"name","description":"Full sysctl MIB name","type":"text","hidden":false,"required":false,"index":false},{"name":"oid","description":"Control MIB","type":"text","hidden":false,"required":false,"index":false},{"name":"subsystem","description":"Subsystem ID, control type","type":"text","hidden":false,"required":false,"index":false},{"name":"current_value","description":"Value of setting","type":"text","hidden":false,"required":false,"index":false},{"name":"config_value","description":"The MIB value set in /etc/sysctl.conf","type":"text","hidden":false,"required":false,"index":false},{"name":"type","description":"Data type","type":"text","hidden":false,"required":false,"index":false},{"name":"field_name","description":"Specific attribute of opaque type","type":"text","hidden":false,"required":false,"index":false}]},{"name":"system_extensions","description":"macOS (>= 10.15) system extension table.","platforms":["darwin"],"columns":[{"name":"path","description":"Original path of system extension","type":"text","hidden":false,"required":false,"index":false},{"name":"UUID","description":"Extension unique id","type":"text","hidden":false,"required":false,"index":false},{"name":"state","description":"System extension state","type":"text","hidden":false,"required":false,"index":false},{"name":"identifier","description":"Identifier name","type":"text","hidden":false,"required":false,"index":false},{"name":"version","description":"System extension version","type":"text","hidden":false,"required":false,"index":false},{"name":"category","description":"System extension category","type":"text","hidden":false,"required":false,"index":false},{"name":"bundle_path","description":"System extension bundle path","type":"text","hidden":false,"required":false,"index":false},{"name":"team","description":"Signing team ID","type":"text","hidden":false,"required":false,"index":false},{"name":"mdm_managed","description":"1 if managed by MDM system extension payload configuration, 0 otherwise","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"system_info","description":"System information for identification.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"hostname","description":"Network hostname including domain","type":"text","hidden":false,"required":false,"index":false},{"name":"uuid","description":"Unique ID provided by the system","type":"text","hidden":false,"required":false,"index":false},{"name":"cpu_type","description":"CPU type","type":"text","hidden":false,"required":false,"index":false},{"name":"cpu_subtype","description":"CPU subtype","type":"text","hidden":false,"required":false,"index":false},{"name":"cpu_brand","description":"CPU brand string, contains vendor and model","type":"text","hidden":false,"required":false,"index":false},{"name":"cpu_physical_cores","description":"Number of physical CPU cores in to the system","type":"integer","hidden":false,"required":false,"index":false},{"name":"cpu_logical_cores","description":"Number of logical CPU cores available to the system","type":"integer","hidden":false,"required":false,"index":false},{"name":"cpu_microcode","description":"Microcode version","type":"text","hidden":false,"required":false,"index":false},{"name":"physical_memory","description":"Total physical memory in bytes","type":"bigint","hidden":false,"required":false,"index":false},{"name":"hardware_vendor","description":"Hardware vendor","type":"text","hidden":false,"required":false,"index":false},{"name":"hardware_model","description":"Hardware model","type":"text","hidden":false,"required":false,"index":false},{"name":"hardware_version","description":"Hardware version","type":"text","hidden":false,"required":false,"index":false},{"name":"hardware_serial","description":"Device serial number","type":"text","hidden":false,"required":false,"index":false},{"name":"board_vendor","description":"Board vendor","type":"text","hidden":false,"required":false,"index":false},{"name":"board_model","description":"Board model","type":"text","hidden":false,"required":false,"index":false},{"name":"board_version","description":"Board version","type":"text","hidden":false,"required":false,"index":false},{"name":"board_serial","description":"Board serial number","type":"text","hidden":false,"required":false,"index":false},{"name":"computer_name","description":"Friendly computer name (optional)","type":"text","hidden":false,"required":false,"index":false},{"name":"local_hostname","description":"Local hostname (optional)","type":"text","hidden":false,"required":false,"index":false}]},{"name":"systemd_units","description":"Track systemd units.","platforms":["linux"],"columns":[{"name":"id","description":"Unique unit identifier","type":"text","hidden":false,"required":false,"index":false},{"name":"description","description":"Unit description","type":"text","hidden":false,"required":false,"index":false},{"name":"load_state","description":"Reflects whether the unit definition was properly loaded","type":"text","hidden":false,"required":false,"index":false},{"name":"active_state","description":"The high-level unit activation state, i.e. generalization of SUB","type":"text","hidden":false,"required":false,"index":false},{"name":"sub_state","description":"The low-level unit activation state, values depend on unit type","type":"text","hidden":false,"required":false,"index":false},{"name":"following","description":"The name of another unit that this unit follows in state","type":"text","hidden":false,"required":false,"index":false},{"name":"object_path","description":"The object path for this unit","type":"text","hidden":false,"required":false,"index":false},{"name":"job_id","description":"Next queued job id","type":"bigint","hidden":false,"required":false,"index":false},{"name":"job_type","description":"Job type","type":"text","hidden":false,"required":false,"index":false},{"name":"job_path","description":"The object path for the job","type":"text","hidden":false,"required":false,"index":false},{"name":"fragment_path","description":"The unit file path this unit was read from, if there is any","type":"text","hidden":false,"required":false,"index":false},{"name":"user","description":"The configured user, if any","type":"text","hidden":false,"required":false,"index":false},{"name":"source_path","description":"Path to the (possibly generated) unit configuration file","type":"text","hidden":false,"required":false,"index":false}]},{"name":"temperature_sensors","description":"Machine's temperature sensors.","platforms":["darwin"],"columns":[{"name":"key","description":"The SMC key on macOS","type":"text","hidden":false,"required":false,"index":false},{"name":"name","description":"Name of temperature source","type":"text","hidden":false,"required":false,"index":false},{"name":"celsius","description":"Temperature in Celsius","type":"double","hidden":false,"required":false,"index":false},{"name":"fahrenheit","description":"Temperature in Fahrenheit","type":"double","hidden":false,"required":false,"index":false}]},{"name":"time","description":"Track current date and time in UTC.","platforms":["darwin","linux","freebsd","windows"],"columns":[{"name":"weekday","description":"Current weekday in UTC","type":"text","hidden":false,"required":false,"index":false},{"name":"year","description":"Current year in UTC","type":"integer","hidden":false,"required":false,"index":false},{"name":"month","description":"Current month in UTC","type":"integer","hidden":false,"required":false,"index":false},{"name":"day","description":"Current day in UTC","type":"integer","hidden":false,"required":false,"index":false},{"name":"hour","description":"Current hour in UTC","type":"integer","hidden":false,"required":false,"index":false},{"name":"minutes","description":"Current minutes in UTC","type":"integer","hidden":false,"required":false,"index":false},{"name":"seconds","description":"Current seconds in UTC","type":"integer","hidden":false,"required":false,"index":false},{"name":"timezone","description":"Timezone for reported time (hardcoded to UTC)","type":"text","hidden":false,"required":false,"index":false},{"name":"local_timezone","description":"Current local timezone in of the system","type":"text","hidden":false,"required":false,"index":false},{"name":"unix_time","description":"Current UNIX time in UTC","type":"integer","hidden":false,"required":false,"index":false},{"name":"timestamp","description":"Current timestamp (log format) in UTC","type":"text","hidden":false,"required":false,"index":false},{"name":"datetime","description":"Current date and time (ISO format) in UTC","type":"text","hidden":false,"required":false,"index":false},{"name":"iso_8601","description":"Current time (ISO format) in UTC","type":"text","hidden":false,"required":false,"index":false},{"name":"win_timestamp","description":"Timestamp value in 100 nanosecond units","type":"bigint","hidden":true,"required":false,"index":false}]},{"name":"time_machine_backups","description":"Backups to drives using TimeMachine.","platforms":["darwin"],"columns":[{"name":"destination_id","description":"Time Machine destination ID","type":"text","hidden":false,"required":false,"index":false},{"name":"backup_date","description":"Backup Date","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"time_machine_destinations","description":"Locations backed up to using Time Machine.","platforms":["darwin"],"columns":[{"name":"alias","description":"Human readable name of drive","type":"text","hidden":false,"required":false,"index":false},{"name":"destination_id","description":"Time Machine destination ID","type":"text","hidden":false,"required":false,"index":false},{"name":"consistency_scan_date","description":"Consistency scan date","type":"integer","hidden":false,"required":false,"index":false},{"name":"root_volume_uuid","description":"Root UUID of backup volume","type":"text","hidden":false,"required":false,"index":false},{"name":"bytes_available","description":"Bytes available on volume","type":"integer","hidden":false,"required":false,"index":false},{"name":"bytes_used","description":"Bytes used on volume","type":"integer","hidden":false,"required":false,"index":false},{"name":"encryption","description":"Last known encrypted state","type":"text","hidden":false,"required":false,"index":false}]},{"name":"tpm_info","description":"A table that lists the TPM related information.","platforms":["windows"],"columns":[{"name":"activated","description":"TPM is activated","type":"integer","hidden":false,"required":false,"index":false},{"name":"enabled","description":"TPM is enabled","type":"integer","hidden":false,"required":false,"index":false},{"name":"owned","description":"TPM is owned","type":"integer","hidden":false,"required":false,"index":false},{"name":"manufacturer_version","description":"TPM version","type":"text","hidden":false,"required":false,"index":false},{"name":"manufacturer_id","description":"TPM manufacturers ID","type":"integer","hidden":false,"required":false,"index":false},{"name":"manufacturer_name","description":"TPM manufacturers name","type":"text","hidden":false,"required":false,"index":false},{"name":"product_name","description":"Product name of the TPM","type":"text","hidden":false,"required":false,"index":false},{"name":"physical_presence_version","description":"Version of the Physical Presence Interface","type":"text","hidden":false,"required":false,"index":false},{"name":"spec_version","description":"Trusted Computing Group specification that the TPM supports","type":"text","hidden":false,"required":false,"index":false}]},{"name":"ulimit_info","description":"System resource usage limits.","platforms":["darwin","linux"],"columns":[{"name":"type","description":"System resource to be limited","type":"text","hidden":false,"required":false,"index":false},{"name":"soft_limit","description":"Current limit value","type":"text","hidden":false,"required":false,"index":false},{"name":"hard_limit","description":"Maximum limit value","type":"text","hidden":false,"required":false,"index":false}]},{"name":"unified_log","description":"Queries the OSLog framework for entries in the system log. The maximum number of rows returned is limited for performance issues. This table introduces a new idiom for extracting sequential data in batches using multiple queries, ordered by timestamp. To trigger it, the user should include the condition \"timestamp > -1\", and the table will handle pagination.","platforms":["darwin"],"columns":[{"name":"timestamp","description":"unix timestamp associated with the entry","type":"bigint","hidden":false,"required":false,"index":false},{"name":"storage","description":"the storage category for the entry","type":"integer","hidden":false,"required":false,"index":false},{"name":"message","description":"composed message","type":"text","hidden":false,"required":false,"index":false},{"name":"activity","description":"the activity ID associate with the entry","type":"bigint","hidden":false,"required":false,"index":false},{"name":"process","description":"the name of the process that made the entry","type":"text","hidden":false,"required":false,"index":false},{"name":"pid","description":"the pid of the process that made the entry","type":"bigint","hidden":false,"required":false,"index":false},{"name":"sender","description":"the name of the binary image that made the entry","type":"text","hidden":false,"required":false,"index":false},{"name":"tid","description":"the tid of the thread that made the entry","type":"bigint","hidden":false,"required":false,"index":false},{"name":"category","description":"the category of the os_log_t used","type":"text","hidden":false,"required":false,"index":false},{"name":"subsystem","description":"the subsystem of the os_log_t used","type":"text","hidden":false,"required":false,"index":false},{"name":"level","description":"the severity level of the entry","type":"text","hidden":false,"required":false,"index":false},{"name":"max_rows","description":"the max number of rows returned (defaults to 100)","type":"integer","hidden":true,"required":false,"index":false}]},{"name":"uptime","description":"Track time passed since last boot. Some systems track this as calendar time, some as runtime.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"days","description":"Days of uptime","type":"integer","hidden":false,"required":false,"index":false},{"name":"hours","description":"Hours of uptime","type":"integer","hidden":false,"required":false,"index":false},{"name":"minutes","description":"Minutes of uptime","type":"integer","hidden":false,"required":false,"index":false},{"name":"seconds","description":"Seconds of uptime","type":"integer","hidden":false,"required":false,"index":false},{"name":"total_seconds","description":"Total uptime seconds","type":"bigint","hidden":false,"required":false,"index":false}]},{"name":"usb_devices","description":"USB devices that are actively plugged into the host system.","platforms":["darwin","linux"],"columns":[{"name":"usb_address","description":"USB Device used address","type":"integer","hidden":false,"required":false,"index":false},{"name":"usb_port","description":"USB Device used port","type":"integer","hidden":false,"required":false,"index":false},{"name":"vendor","description":"USB Device vendor string","type":"text","hidden":false,"required":false,"index":false},{"name":"vendor_id","description":"Hex encoded USB Device vendor identifier","type":"text","hidden":false,"required":false,"index":false},{"name":"version","description":"USB Device version number","type":"text","hidden":false,"required":false,"index":false},{"name":"model","description":"USB Device model string","type":"text","hidden":false,"required":false,"index":false},{"name":"model_id","description":"Hex encoded USB Device model identifier","type":"text","hidden":false,"required":false,"index":false},{"name":"serial","description":"USB Device serial connection","type":"text","hidden":false,"required":false,"index":false},{"name":"class","description":"USB Device class","type":"text","hidden":false,"required":false,"index":false},{"name":"subclass","description":"USB Device subclass","type":"text","hidden":false,"required":false,"index":false},{"name":"protocol","description":"USB Device protocol","type":"text","hidden":false,"required":false,"index":false},{"name":"removable","description":"1 If USB device is removable else 0","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"user_events","description":"Track user events from the audit framework.","platforms":["darwin","linux"],"columns":[{"name":"uid","description":"User ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"auid","description":"Audit User ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"pid","description":"Process (or thread) ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"message","description":"Message from the event","type":"text","hidden":false,"required":false,"index":false},{"name":"type","description":"The file description for the process socket","type":"integer","hidden":false,"required":false,"index":false},{"name":"path","description":"Supplied path from event","type":"text","hidden":false,"required":false,"index":false},{"name":"address","description":"The Internet protocol address or family ID","type":"text","hidden":false,"required":false,"index":false},{"name":"terminal","description":"The network protocol ID","type":"text","hidden":false,"required":false,"index":false},{"name":"time","description":"Time of execution in UNIX time","type":"bigint","hidden":false,"required":false,"index":false},{"name":"uptime","description":"Time of execution in system uptime","type":"bigint","hidden":false,"required":false,"index":false},{"name":"eid","description":"Event ID","type":"text","hidden":true,"required":false,"index":false}]},{"name":"user_groups","description":"Local system user group relationships.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"uid","description":"User ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"gid","description":"Group ID","type":"bigint","hidden":false,"required":false,"index":false}]},{"name":"user_interaction_events","description":"Track user interaction events from macOS' event tapping framework.","platforms":["darwin"],"columns":[{"name":"time","description":"Time","type":"bigint","hidden":false,"required":false,"index":false}]},{"name":"user_ssh_keys","description":"Returns the private keys in the users ~/.ssh directory and whether or not they are encrypted.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"uid","description":"The local user that owns the key file","type":"bigint","hidden":false,"required":false,"index":false},{"name":"path","description":"Path to key file","type":"text","hidden":false,"required":false,"index":false},{"name":"encrypted","description":"1 if key is encrypted, 0 otherwise","type":"integer","hidden":false,"required":false,"index":false},{"name":"key_type","description":"The type of the private key. One of [rsa, dsa, dh, ec, hmac, cmac], or the empty string.","type":"text","hidden":false,"required":false,"index":false},{"name":"pid_with_namespace","description":"Pids that contain a namespace","type":"integer","hidden":true,"required":false,"index":false}]},{"name":"userassist","description":"UserAssist Registry Key tracks when a user executes an application from Windows Explorer.","platforms":["windows"],"columns":[{"name":"path","description":"Application file path.","type":"text","hidden":false,"required":false,"index":false},{"name":"last_execution_time","description":"Most recent time application was executed.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"count","description":"Number of times the application has been executed.","type":"integer","hidden":false,"required":false,"index":false},{"name":"sid","description":"User SID.","type":"text","hidden":false,"required":false,"index":false}]},{"name":"users","description":"Local user accounts (including domain accounts that have logged on locally (Windows)).","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"uid","description":"User ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"gid","description":"Group ID (unsigned)","type":"bigint","hidden":false,"required":false,"index":false},{"name":"uid_signed","description":"User ID as int64 signed (Apple)","type":"bigint","hidden":false,"required":false,"index":false},{"name":"gid_signed","description":"Default group ID as int64 signed (Apple)","type":"bigint","hidden":false,"required":false,"index":false},{"name":"username","description":"Username","type":"text","hidden":false,"required":false,"index":false},{"name":"description","description":"Optional user description","type":"text","hidden":false,"required":false,"index":false},{"name":"directory","description":"User's home directory","type":"text","hidden":false,"required":false,"index":false},{"name":"shell","description":"User's configured default shell","type":"text","hidden":false,"required":false,"index":false},{"name":"uuid","description":"User's UUID (Apple) or SID (Windows)","type":"text","hidden":false,"required":false,"index":false},{"name":"type","description":"Whether the account is roaming (domain), local, or a system profile","type":"text","hidden":true,"required":false,"index":false},{"name":"is_hidden","description":"IsHidden attribute set in OpenDirectory","type":"integer","hidden":false,"required":false,"index":false},{"name":"pid_with_namespace","description":"Pids that contain a namespace","type":"integer","hidden":true,"required":false,"index":false}]},{"name":"video_info","description":"Retrieve video card information of the machine.","platforms":["windows"],"columns":[{"name":"color_depth","description":"The amount of bits per pixel to represent color.","type":"integer","hidden":false,"required":false,"index":false},{"name":"driver","description":"The driver of the device.","type":"text","hidden":false,"required":false,"index":false},{"name":"driver_date","description":"The date listed on the installed driver.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"driver_version","description":"The version of the installed driver.","type":"text","hidden":false,"required":false,"index":false},{"name":"manufacturer","description":"The manufacturer of the gpu.","type":"text","hidden":false,"required":false,"index":false},{"name":"model","description":"The model of the gpu.","type":"text","hidden":false,"required":false,"index":false},{"name":"series","description":"The series of the gpu.","type":"text","hidden":false,"required":false,"index":false},{"name":"video_mode","description":"The current resolution of the display.","type":"text","hidden":false,"required":false,"index":false}]},{"name":"virtual_memory_info","description":"Darwin Virtual Memory statistics.","platforms":["darwin"],"columns":[{"name":"free","description":"Total number of free pages.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"active","description":"Total number of active pages.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"inactive","description":"Total number of inactive pages.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"speculative","description":"Total number of speculative pages.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"throttled","description":"Total number of throttled pages.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"wired","description":"Total number of wired down pages.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"purgeable","description":"Total number of purgeable pages.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"faults","description":"Total number of calls to vm_faults.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"copy","description":"Total number of copy-on-write pages.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"zero_fill","description":"Total number of zero filled pages.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"reactivated","description":"Total number of reactivated pages.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"purged","description":"Total number of purged pages.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"file_backed","description":"Total number of file backed pages.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"anonymous","description":"Total number of anonymous pages.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"uncompressed","description":"Total number of uncompressed pages.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"compressor","description":"The number of pages used to store compressed VM pages.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"decompressed","description":"The total number of pages that have been decompressed by the VM compressor.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"compressed","description":"The total number of pages that have been compressed by the VM compressor.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"page_ins","description":"The total number of requests for pages from a pager.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"page_outs","description":"Total number of pages paged out.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"swap_ins","description":"The total number of compressed pages that have been swapped out to disk.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"swap_outs","description":"The total number of compressed pages that have been swapped back in from disk.","type":"bigint","hidden":false,"required":false,"index":false}]},{"name":"wifi_networks","description":"macOS known/remembered Wi-Fi networks list.","platforms":["darwin"],"columns":[{"name":"ssid","description":"SSID octets of the network","type":"text","hidden":false,"required":false,"index":false},{"name":"network_name","description":"Name of the network","type":"text","hidden":false,"required":false,"index":false},{"name":"security_type","description":"Type of security on this network","type":"text","hidden":false,"required":false,"index":false},{"name":"last_connected","description":"Last time this network was connected to as a unix_time","type":"integer","hidden":true,"required":false,"index":false},{"name":"passpoint","description":"1 if Passpoint is supported, 0 otherwise","type":"integer","hidden":true,"required":false,"index":false},{"name":"possibly_hidden","description":"1 if network is possibly a hidden network, 0 otherwise","type":"integer","hidden":false,"required":false,"index":false},{"name":"roaming","description":"1 if roaming is supported, 0 otherwise","type":"integer","hidden":true,"required":false,"index":false},{"name":"roaming_profile","description":"Describe the roaming profile, usually one of Single, Dual or Multi","type":"text","hidden":false,"required":false,"index":false},{"name":"auto_login","description":"1 if auto login is enabled, 0 otherwise","type":"integer","hidden":true,"required":false,"index":false},{"name":"temporarily_disabled","description":"1 if this network is temporarily disabled, 0 otherwise","type":"integer","hidden":false,"required":false,"index":false},{"name":"disabled","description":"1 if this network is disabled, 0 otherwise","type":"integer","hidden":true,"required":false,"index":false},{"name":"add_reason","description":"Shows why this network was added, via menubar or command line or something else ","type":"text","hidden":false,"required":false,"index":false},{"name":"added_at","description":"Time this network was added as a unix_time","type":"integer","hidden":false,"required":false,"index":false},{"name":"captive_portal","description":"1 if this network has a captive portal, 0 otherwise","type":"integer","hidden":false,"required":false,"index":false},{"name":"captive_login_date","description":"Time this network logged in to a captive portal as unix_time","type":"integer","hidden":false,"required":false,"index":false},{"name":"was_captive_network","description":"1 if this network was previously a captive network, 0 otherwise","type":"integer","hidden":false,"required":false,"index":false},{"name":"auto_join","description":"1 if this network set to join automatically, 0 otherwise","type":"integer","hidden":false,"required":false,"index":false},{"name":"personal_hotspot","description":"1 if this network is a personal hotspot, 0 otherwise","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"wifi_status","description":"macOS current WiFi status.","platforms":["darwin"],"columns":[{"name":"interface","description":"Name of the interface","type":"text","hidden":false,"required":false,"index":false},{"name":"ssid","description":"SSID octets of the network","type":"text","hidden":false,"required":false,"index":false},{"name":"bssid","description":"The current basic service set identifier","type":"text","hidden":false,"required":false,"index":false},{"name":"network_name","description":"Name of the network","type":"text","hidden":false,"required":false,"index":false},{"name":"country_code","description":"The country code (ISO/IEC 3166-1:1997) for the network","type":"text","hidden":false,"required":false,"index":false},{"name":"security_type","description":"Type of security on this network","type":"text","hidden":false,"required":false,"index":false},{"name":"rssi","description":"The current received signal strength indication (dbm)","type":"integer","hidden":false,"required":false,"index":false},{"name":"noise","description":"The current noise measurement (dBm)","type":"integer","hidden":false,"required":false,"index":false},{"name":"channel","description":"Channel number","type":"integer","hidden":false,"required":false,"index":false},{"name":"channel_width","description":"Channel width","type":"integer","hidden":false,"required":false,"index":false},{"name":"channel_band","description":"Channel band","type":"integer","hidden":false,"required":false,"index":false},{"name":"transmit_rate","description":"The current transmit rate","type":"text","hidden":false,"required":false,"index":false},{"name":"mode","description":"The current operating mode for the Wi-Fi interface","type":"text","hidden":false,"required":false,"index":false}]},{"name":"wifi_survey","description":"Scan for nearby WiFi networks.","platforms":["darwin"],"columns":[{"name":"interface","description":"Name of the interface","type":"text","hidden":false,"required":false,"index":false},{"name":"ssid","description":"SSID octets of the network","type":"text","hidden":false,"required":false,"index":false},{"name":"bssid","description":"The current basic service set identifier","type":"text","hidden":false,"required":false,"index":false},{"name":"network_name","description":"Name of the network","type":"text","hidden":false,"required":false,"index":false},{"name":"country_code","description":"The country code (ISO/IEC 3166-1:1997) for the network","type":"text","hidden":false,"required":false,"index":false},{"name":"rssi","description":"The current received signal strength indication (dbm)","type":"integer","hidden":false,"required":false,"index":false},{"name":"noise","description":"The current noise measurement (dBm)","type":"integer","hidden":false,"required":false,"index":false},{"name":"channel","description":"Channel number","type":"integer","hidden":false,"required":false,"index":false},{"name":"channel_width","description":"Channel width","type":"integer","hidden":false,"required":false,"index":false},{"name":"channel_band","description":"Channel band","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"winbaseobj","description":"Lists named Windows objects in the default object directories, across all terminal services sessions. Example Windows ojbect types include Mutexes, Events, Jobs and Semaphors.","platforms":["windows"],"columns":[{"name":"session_id","description":"Terminal Services Session Id","type":"integer","hidden":false,"required":false,"index":false},{"name":"object_name","description":"Object Name","type":"text","hidden":false,"required":false,"index":false},{"name":"object_type","description":"Object Type","type":"text","hidden":false,"required":false,"index":false}]},{"name":"windows_crashes","description":"Extracted information from Windows crash logs (Minidumps).","platforms":["windows"],"columns":[{"name":"datetime","description":"Timestamp (log format) of the crash","type":"text","hidden":false,"required":false,"index":false},{"name":"module","description":"Path of the crashed module within the process","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"Path of the executable file for the crashed process","type":"text","hidden":false,"required":false,"index":false},{"name":"pid","description":"Process ID of the crashed process","type":"bigint","hidden":false,"required":false,"index":false},{"name":"tid","description":"Thread ID of the crashed thread","type":"bigint","hidden":false,"required":false,"index":false},{"name":"version","description":"File version info of the crashed process","type":"text","hidden":false,"required":false,"index":false},{"name":"process_uptime","description":"Uptime of the process in seconds","type":"bigint","hidden":false,"required":false,"index":false},{"name":"stack_trace","description":"Multiple stack frames from the stack trace","type":"text","hidden":false,"required":false,"index":false},{"name":"exception_code","description":"The Windows exception code","type":"text","hidden":false,"required":false,"index":false},{"name":"exception_message","description":"The NTSTATUS error message associated with the exception code","type":"text","hidden":false,"required":false,"index":false},{"name":"exception_address","description":"Address (in hex) where the exception occurred","type":"text","hidden":false,"required":false,"index":false},{"name":"registers","description":"The values of the system registers","type":"text","hidden":false,"required":false,"index":false},{"name":"command_line","description":"Command-line string passed to the crashed process","type":"text","hidden":false,"required":false,"index":false},{"name":"current_directory","description":"Current working directory of the crashed process","type":"text","hidden":false,"required":false,"index":false},{"name":"username","description":"Username of the user who ran the crashed process","type":"text","hidden":false,"required":false,"index":false},{"name":"machine_name","description":"Name of the machine where the crash happened","type":"text","hidden":false,"required":false,"index":false},{"name":"major_version","description":"Windows major version of the machine","type":"integer","hidden":false,"required":false,"index":false},{"name":"minor_version","description":"Windows minor version of the machine","type":"integer","hidden":false,"required":false,"index":false},{"name":"build_number","description":"Windows build number of the crashing machine","type":"integer","hidden":false,"required":false,"index":false},{"name":"type","description":"Type of crash log","type":"text","hidden":false,"required":false,"index":false},{"name":"crash_path","description":"Path of the log file","type":"text","hidden":false,"required":false,"index":false}]},{"name":"windows_eventlog","description":"Table for querying all recorded Windows event logs.","platforms":["windows"],"columns":[{"name":"channel","description":"Source or channel of the event","type":"text","hidden":false,"required":true,"index":false},{"name":"datetime","description":"System time at which the event occurred","type":"text","hidden":false,"required":false,"index":false},{"name":"task","description":"Task value associated with the event","type":"integer","hidden":false,"required":false,"index":false},{"name":"level","description":"Severity level associated with the event","type":"integer","hidden":false,"required":false,"index":false},{"name":"provider_name","description":"Provider name of the event","type":"text","hidden":false,"required":false,"index":false},{"name":"provider_guid","description":"Provider guid of the event","type":"text","hidden":false,"required":false,"index":false},{"name":"computer_name","description":"Hostname of system where event was generated","type":"text","hidden":false,"required":false,"index":false},{"name":"eventid","description":"Event ID of the event","type":"integer","hidden":false,"required":false,"index":false},{"name":"keywords","description":"A bitmask of the keywords defined in the event","type":"text","hidden":false,"required":false,"index":false},{"name":"data","description":"Data associated with the event","type":"text","hidden":false,"required":false,"index":false},{"name":"pid","description":"Process ID which emitted the event record","type":"integer","hidden":false,"required":false,"index":false},{"name":"tid","description":"Thread ID which emitted the event record","type":"integer","hidden":false,"required":false,"index":false},{"name":"time_range","description":"System time to selectively filter the events","type":"text","hidden":true,"required":false,"index":false},{"name":"timestamp","description":"Timestamp to selectively filter the events","type":"text","hidden":true,"required":false,"index":false},{"name":"xpath","description":"The custom query to filter events","type":"text","hidden":true,"required":true,"index":false}]},{"name":"windows_events","description":"Windows Event logs.","platforms":["windows"],"columns":[{"name":"time","description":"Timestamp the event was received","type":"bigint","hidden":false,"required":false,"index":false},{"name":"datetime","description":"System time at which the event occurred","type":"text","hidden":false,"required":false,"index":false},{"name":"source","description":"Source or channel of the event","type":"text","hidden":false,"required":false,"index":false},{"name":"provider_name","description":"Provider name of the event","type":"text","hidden":false,"required":false,"index":false},{"name":"provider_guid","description":"Provider guid of the event","type":"text","hidden":false,"required":false,"index":false},{"name":"computer_name","description":"Hostname of system where event was generated","type":"text","hidden":false,"required":false,"index":false},{"name":"eventid","description":"Event ID of the event","type":"integer","hidden":false,"required":false,"index":false},{"name":"task","description":"Task value associated with the event","type":"integer","hidden":false,"required":false,"index":false},{"name":"level","description":"The severity level associated with the event","type":"integer","hidden":false,"required":false,"index":false},{"name":"keywords","description":"A bitmask of the keywords defined in the event","type":"text","hidden":false,"required":false,"index":false},{"name":"data","description":"Data associated with the event","type":"text","hidden":false,"required":false,"index":false},{"name":"eid","description":"Event ID","type":"text","hidden":true,"required":false,"index":false}]},{"name":"windows_firewall_rules","description":"Provides the list of Windows firewall rules.","platforms":["windows"],"columns":[{"name":"name","description":"Friendly name of the rule","type":"text","hidden":false,"required":false,"index":false},{"name":"app_name","description":"Friendly name of the application to which the rule applies","type":"text","hidden":false,"required":false,"index":false},{"name":"action","description":"Action for the rule or default setting","type":"text","hidden":false,"required":false,"index":false},{"name":"enabled","description":"1 if the rule is enabled","type":"integer","hidden":false,"required":false,"index":false},{"name":"grouping","description":"Group to which an individual rule belongs","type":"text","hidden":false,"required":false,"index":false},{"name":"direction","description":"Direction of traffic for which the rule applies","type":"text","hidden":false,"required":false,"index":false},{"name":"protocol","description":"IP protocol of the rule","type":"text","hidden":false,"required":false,"index":false},{"name":"local_addresses","description":"Local addresses for the rule","type":"text","hidden":false,"required":false,"index":false},{"name":"remote_addresses","description":"Remote addresses for the rule","type":"text","hidden":false,"required":false,"index":false},{"name":"local_ports","description":"Local ports for the rule","type":"text","hidden":false,"required":false,"index":false},{"name":"remote_ports","description":"Remote ports for the rule","type":"text","hidden":false,"required":false,"index":false},{"name":"icmp_types_codes","description":"ICMP types and codes for the rule","type":"text","hidden":false,"required":false,"index":false},{"name":"profile_domain","description":"1 if the rule profile type is domain","type":"integer","hidden":false,"required":false,"index":false},{"name":"profile_private","description":"1 if the rule profile type is private","type":"integer","hidden":false,"required":false,"index":false},{"name":"profile_public","description":"1 if the rule profile type is public","type":"integer","hidden":false,"required":false,"index":false},{"name":"service_name","description":"Service name property of the application","type":"text","hidden":false,"required":false,"index":false}]},{"name":"windows_optional_features","description":"Lists names and installation states of windows features. Maps to Win32_OptionalFeature WMI class.","platforms":["windows"],"columns":[{"name":"name","description":"Name of the feature","type":"text","hidden":false,"required":false,"index":false},{"name":"caption","description":"Caption of feature in settings UI","type":"text","hidden":false,"required":false,"index":false},{"name":"state","description":"Installation state value. 1 == Enabled, 2 == Disabled, 3 == Absent","type":"integer","hidden":false,"required":false,"index":false},{"name":"statename","description":"Installation state name. 'Enabled','Disabled','Absent'","type":"text","hidden":false,"required":false,"index":false}]},{"name":"windows_security_center","description":"The health status of Window Security features. Health values can be \"Good\", \"Poor\". \"Snoozed\", \"Not Monitored\", and \"Error\".","platforms":["windows"],"columns":[{"name":"firewall","description":"The health of the monitored Firewall (see windows_security_products)","type":"text","hidden":false,"required":false,"index":false},{"name":"autoupdate","description":"The health of the Windows Autoupdate feature","type":"text","hidden":false,"required":false,"index":false},{"name":"antivirus","description":"The health of the monitored Antivirus solution (see windows_security_products)","type":"text","hidden":false,"required":false,"index":false},{"name":"antispyware","description":"Deprecated (always 'Good').","type":"text","hidden":true,"required":false,"index":false},{"name":"internet_settings","description":"The health of the Internet Settings","type":"text","hidden":false,"required":false,"index":false},{"name":"windows_security_center_service","description":"The health of the Windows Security Center Service","type":"text","hidden":false,"required":false,"index":false},{"name":"user_account_control","description":"The health of the User Account Control (UAC) capability in Windows","type":"text","hidden":false,"required":false,"index":false}]},{"name":"windows_security_products","description":"Enumeration of registered Windows security products.","platforms":["windows"],"columns":[{"name":"type","description":"Type of security product","type":"text","hidden":false,"required":false,"index":false},{"name":"name","description":"Name of product","type":"text","hidden":false,"required":false,"index":false},{"name":"state","description":"State of protection","type":"text","hidden":false,"required":false,"index":false},{"name":"state_timestamp","description":"Timestamp for the product state","type":"text","hidden":false,"required":false,"index":false},{"name":"remediation_path","description":"Remediation path","type":"text","hidden":false,"required":false,"index":false},{"name":"signatures_up_to_date","description":"1 if product signatures are up to date, else 0","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"windows_update_history","description":"Provides the history of the windows update events.","platforms":["windows"],"columns":[{"name":"client_app_id","description":"Identifier of the client application that processed an update","type":"text","hidden":false,"required":false,"index":false},{"name":"date","description":"Date and the time an update was applied","type":"bigint","hidden":false,"required":false,"index":false},{"name":"description","description":"Description of an update","type":"text","hidden":false,"required":false,"index":false},{"name":"hresult","description":"HRESULT value that is returned from the operation on an update","type":"bigint","hidden":false,"required":false,"index":false},{"name":"operation","description":"Operation on an update","type":"text","hidden":false,"required":false,"index":false},{"name":"result_code","description":"Result of an operation on an update","type":"text","hidden":false,"required":false,"index":false},{"name":"server_selection","description":"Value that indicates which server provided an update","type":"text","hidden":false,"required":false,"index":false},{"name":"service_id","description":"Service identifier of an update service that is not a Windows update","type":"text","hidden":false,"required":false,"index":false},{"name":"support_url","description":"Hyperlink to the language-specific support information for an update","type":"text","hidden":false,"required":false,"index":false},{"name":"title","description":"Title of an update","type":"text","hidden":false,"required":false,"index":false},{"name":"update_id","description":"Revision-independent identifier of an update","type":"text","hidden":false,"required":false,"index":false},{"name":"update_revision","description":"Revision number of an update","type":"bigint","hidden":false,"required":false,"index":false}]},{"name":"wmi_bios_info","description":"Lists important information from the system bios.","platforms":["windows"],"columns":[{"name":"name","description":"Name of the Bios setting","type":"text","hidden":false,"required":false,"index":false},{"name":"value","description":"Value of the Bios setting","type":"text","hidden":false,"required":false,"index":false}]},{"name":"wmi_cli_event_consumers","description":"WMI CommandLineEventConsumer, which can be used for persistence on Windows. See https://www.blackhat.com/docs/us-15/materials/us-15-Graeber-Abusing-Windows-Management-Instrumentation-WMI-To-Build-A-Persistent%20Asynchronous-And-Fileless-Backdoor-wp.pdf for more details.","platforms":["windows"],"columns":[{"name":"name","description":"Unique name of a consumer.","type":"text","hidden":false,"required":false,"index":false},{"name":"command_line_template","description":"Standard string template that specifies the process to be started. This property can be NULL, and the ExecutablePath property is used as the command line.","type":"text","hidden":false,"required":false,"index":false},{"name":"executable_path","description":"Module to execute. The string can specify the full path and file name of the module to execute, or it can specify a partial name. If a partial name is specified, the current drive and current directory are assumed.","type":"text","hidden":false,"required":false,"index":false},{"name":"class","description":"The name of the class.","type":"text","hidden":false,"required":false,"index":false},{"name":"relative_path","description":"Relative path to the class or instance.","type":"text","hidden":false,"required":false,"index":false}]},{"name":"wmi_event_filters","description":"Lists WMI event filters.","platforms":["windows"],"columns":[{"name":"name","description":"Unique identifier of an event filter.","type":"text","hidden":false,"required":false,"index":false},{"name":"query","description":"Windows Management Instrumentation Query Language (WQL) event query that specifies the set of events for consumer notification, and the specific conditions for notification.","type":"text","hidden":false,"required":false,"index":false},{"name":"query_language","description":"Query language that the query is written in.","type":"text","hidden":false,"required":false,"index":false},{"name":"class","description":"The name of the class.","type":"text","hidden":false,"required":false,"index":false},{"name":"relative_path","description":"Relative path to the class or instance.","type":"text","hidden":false,"required":false,"index":false}]},{"name":"wmi_filter_consumer_binding","description":"Lists the relationship between event consumers and filters.","platforms":["windows"],"columns":[{"name":"consumer","description":"Reference to an instance of __EventConsumer that represents the object path to a logical consumer, the recipient of an event.","type":"text","hidden":false,"required":false,"index":false},{"name":"filter","description":"Reference to an instance of __EventFilter that represents the object path to an event filter which is a query that specifies the type of event to be received.","type":"text","hidden":false,"required":false,"index":false},{"name":"class","description":"The name of the class.","type":"text","hidden":false,"required":false,"index":false},{"name":"relative_path","description":"Relative path to the class or instance.","type":"text","hidden":false,"required":false,"index":false}]},{"name":"wmi_script_event_consumers","description":"WMI ActiveScriptEventConsumer, which can be used for persistence on Windows. See https://www.blackhat.com/docs/us-15/materials/us-15-Graeber-Abusing-Windows-Management-Instrumentation-WMI-To-Build-A-Persistent%20Asynchronous-And-Fileless-Backdoor-wp.pdf for more details.","platforms":["windows"],"columns":[{"name":"name","description":"Unique identifier for the event consumer. ","type":"text","hidden":false,"required":false,"index":false},{"name":"scripting_engine","description":"Name of the scripting engine to use, for example, 'VBScript'. This property cannot be NULL.","type":"text","hidden":false,"required":false,"index":false},{"name":"script_file_name","description":"Name of the file from which the script text is read, intended as an alternative to specifying the text of the script in the ScriptText property.","type":"text","hidden":false,"required":false,"index":false},{"name":"script_text","description":"Text of the script that is expressed in a language known to the scripting engine. This property must be NULL if the ScriptFileName property is not NULL.","type":"text","hidden":false,"required":false,"index":false},{"name":"class","description":"The name of the class.","type":"text","hidden":false,"required":false,"index":false},{"name":"relative_path","description":"Relative path to the class or instance.","type":"text","hidden":false,"required":false,"index":false}]},{"name":"xprotect_entries","description":"Database of the machine's XProtect signatures.","platforms":["darwin"],"columns":[{"name":"name","description":"Description of XProtected malware","type":"text","hidden":false,"required":false,"index":false},{"name":"launch_type","description":"Launch services content type","type":"text","hidden":false,"required":false,"index":false},{"name":"identity","description":"XProtect identity (SHA1) of content","type":"text","hidden":false,"required":false,"index":false},{"name":"filename","description":"Use this file name to match","type":"text","hidden":false,"required":false,"index":false},{"name":"filetype","description":"Use this file type to match","type":"text","hidden":false,"required":false,"index":false},{"name":"optional","description":"Match any of the identities/patterns for this XProtect name","type":"integer","hidden":false,"required":false,"index":false},{"name":"uses_pattern","description":"Uses a match pattern instead of identity","type":"integer","hidden":false,"required":false,"index":false}]},{"name":"xprotect_meta","description":"Database of the machine's XProtect browser-related signatures.","platforms":["darwin"],"columns":[{"name":"identifier","description":"Browser plugin or extension identifier","type":"text","hidden":false,"required":false,"index":false},{"name":"type","description":"Either plugin or extension","type":"text","hidden":false,"required":false,"index":false},{"name":"developer_id","description":"Developer identity (SHA1) of extension","type":"text","hidden":false,"required":false,"index":false},{"name":"min_version","description":"The minimum allowed plugin version.","type":"text","hidden":false,"required":false,"index":false}]},{"name":"xprotect_reports","description":"Database of XProtect matches (if user generated/sent an XProtect report).","platforms":["darwin"],"columns":[{"name":"name","description":"Description of XProtected malware","type":"text","hidden":false,"required":false,"index":false},{"name":"user_action","description":"Action taken by user after prompted","type":"text","hidden":false,"required":false,"index":false},{"name":"time","description":"Quarantine alert time","type":"text","hidden":false,"required":false,"index":false}]},{"name":"yara","description":"Track YARA matches for files or PIDs.","platforms":["darwin","linux","windows"],"columns":[{"name":"path","description":"The path scanned","type":"text","hidden":false,"required":true,"index":false},{"name":"matches","description":"List of YARA matches","type":"text","hidden":false,"required":false,"index":false},{"name":"count","description":"Number of YARA matches","type":"integer","hidden":false,"required":false,"index":false},{"name":"sig_group","description":"Signature group used","type":"text","hidden":false,"required":false,"index":false},{"name":"sigfile","description":"Signature file used","type":"text","hidden":false,"required":false,"index":false},{"name":"sigrule","description":"Signature strings used","type":"text","hidden":true,"required":false,"index":false},{"name":"strings","description":"Matching strings","type":"text","hidden":false,"required":false,"index":false},{"name":"tags","description":"Matching tags","type":"text","hidden":false,"required":false,"index":false},{"name":"sigurl","description":"Signature url","type":"text","hidden":true,"required":false,"index":false}]},{"name":"yara_events","description":"Track YARA matches for files specified in configuration data.","platforms":["darwin","linux","windows"],"columns":[{"name":"target_path","description":"The path scanned","type":"text","hidden":false,"required":false,"index":false},{"name":"category","description":"The category of the file","type":"text","hidden":false,"required":false,"index":false},{"name":"action","description":"Change action (UPDATE, REMOVE, etc)","type":"text","hidden":false,"required":false,"index":false},{"name":"transaction_id","description":"ID used during bulk update","type":"bigint","hidden":false,"required":false,"index":false},{"name":"matches","description":"List of YARA matches","type":"text","hidden":false,"required":false,"index":false},{"name":"count","description":"Number of YARA matches","type":"integer","hidden":false,"required":false,"index":false},{"name":"strings","description":"Matching strings","type":"text","hidden":false,"required":false,"index":false},{"name":"tags","description":"Matching tags","type":"text","hidden":false,"required":false,"index":false},{"name":"time","description":"Time of the scan","type":"bigint","hidden":false,"required":false,"index":false},{"name":"eid","description":"Event ID","type":"text","hidden":true,"required":false,"index":false}]},{"name":"ycloud_instance_metadata","description":"Yandex.Cloud instance metadata.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"instance_id","description":"Unique identifier for the VM","type":"text","hidden":false,"required":false,"index":false},{"name":"folder_id","description":"Folder identifier for the VM","type":"text","hidden":false,"required":false,"index":false},{"name":"name","description":"Name of the VM","type":"text","hidden":false,"required":false,"index":false},{"name":"description","description":"Description of the VM","type":"text","hidden":false,"required":false,"index":false},{"name":"hostname","description":"Hostname of the VM","type":"text","hidden":false,"required":false,"index":false},{"name":"zone","description":"Availability zone of the VM","type":"text","hidden":false,"required":false,"index":false},{"name":"ssh_public_key","description":"SSH public key. Only available if supplied at instance launch time","type":"text","hidden":false,"required":false,"index":false},{"name":"serial_port_enabled","description":"Indicates if serial port is enabled for the VM","type":"text","hidden":false,"required":false,"index":false},{"name":"metadata_endpoint","description":"Endpoint used to fetch VM metadata","type":"text","hidden":false,"required":false,"index":false}]},{"name":"yum_sources","description":"Current list of Yum repositories or software channels.","platforms":["linux"],"columns":[{"name":"name","description":"Repository name","type":"text","hidden":false,"required":false,"index":false},{"name":"baseurl","description":"Repository base URL","type":"text","hidden":false,"required":false,"index":false},{"name":"mirrorlist","description":"Mirrorlist URL","type":"text","hidden":false,"required":false,"index":false},{"name":"enabled","description":"Whether the repository is used","type":"text","hidden":false,"required":false,"index":false},{"name":"gpgcheck","description":"Whether packages are GPG checked","type":"text","hidden":false,"required":false,"index":false},{"name":"gpgkey","description":"URL to GPG key","type":"text","hidden":false,"required":false,"index":false},{"name":"pid_with_namespace","description":"Pids that contain a namespace","type":"integer","hidden":true,"required":false,"index":false}]},{"name":"host_users","description":"Local user accounts (including domain accounts that have logged on locally (Windows)).","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"uid","description":"User ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"gid","description":"Group ID (unsigned)","type":"bigint","hidden":false,"required":false,"index":false},{"name":"uid_signed","description":"User ID as int64 signed (Apple)","type":"bigint","hidden":false,"required":false,"index":false},{"name":"gid_signed","description":"Default group ID as int64 signed (Apple)","type":"bigint","hidden":false,"required":false,"index":false},{"name":"username","description":"Username","type":"text","hidden":false,"required":false,"index":false},{"name":"description","description":"Optional user description","type":"text","hidden":false,"required":false,"index":false},{"name":"directory","description":"User's home directory","type":"text","hidden":false,"required":false,"index":false},{"name":"shell","description":"User's configured default shell","type":"text","hidden":false,"required":false,"index":false},{"name":"uuid","description":"User's UUID (Apple) or SID (Windows)","type":"text","hidden":false,"required":false,"index":false},{"name":"type","description":"Whether the account is roaming (domain), local, or a system profile","type":"text","hidden":true,"required":false,"index":false},{"name":"is_hidden","description":"IsHidden attribute set in OpenDirectory","type":"integer","hidden":false,"required":false,"index":false},{"name":"pid_with_namespace","description":"Pids that contain a namespace","type":"integer","hidden":true,"required":false,"index":false}]},{"name":"host_groups","description":"Local system groups.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"gid","description":"Unsigned int64 group ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"gid_signed","description":"A signed int64 version of gid","type":"bigint","hidden":false,"required":false,"index":false},{"name":"groupname","description":"Canonical local group name","type":"text","hidden":false,"required":false,"index":false},{"name":"group_sid","description":"Unique group ID","type":"text","hidden":true,"required":false,"index":false},{"name":"comment","description":"Remarks or comments associated with the group","type":"text","hidden":true,"required":false,"index":false},{"name":"is_hidden","description":"IsHidden attribute set in OpenDirectory","type":"integer","hidden":false,"required":false,"index":false},{"name":"pid_with_namespace","description":"Pids that contain a namespace","type":"integer","hidden":true,"required":false,"index":false}]},{"name":"host_processes","description":"All running processes on the host system.","platforms":["darwin","linux","windows","freebsd"],"columns":[{"name":"pid","description":"Process (or thread) ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"name","description":"The process path or shorthand argv[0]","type":"text","hidden":false,"required":false,"index":false},{"name":"path","description":"Path to executed binary","type":"text","hidden":false,"required":false,"index":false},{"name":"cmdline","description":"Complete argv","type":"text","hidden":false,"required":false,"index":false},{"name":"state","description":"Process state","type":"text","hidden":false,"required":false,"index":false},{"name":"cwd","description":"Process current working directory","type":"text","hidden":false,"required":false,"index":false},{"name":"root","description":"Process virtual root directory","type":"text","hidden":false,"required":false,"index":false},{"name":"uid","description":"Unsigned user ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"gid","description":"Unsigned group ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"euid","description":"Unsigned effective user ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"egid","description":"Unsigned effective group ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"suid","description":"Unsigned saved user ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"sgid","description":"Unsigned saved group ID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"on_disk","description":"The process path exists yes=1, no=0, unknown=-1","type":"integer","hidden":false,"required":false,"index":false},{"name":"wired_size","description":"Bytes of unpageable memory used by process","type":"bigint","hidden":false,"required":false,"index":false},{"name":"resident_size","description":"Bytes of private memory used by process","type":"bigint","hidden":false,"required":false,"index":false},{"name":"total_size","description":"Total virtual memory size","type":"bigint","hidden":false,"required":false,"index":false},{"name":"user_time","description":"CPU time in milliseconds spent in user space","type":"bigint","hidden":false,"required":false,"index":false},{"name":"system_time","description":"CPU time in milliseconds spent in kernel space","type":"bigint","hidden":false,"required":false,"index":false},{"name":"disk_bytes_read","description":"Bytes read from disk","type":"bigint","hidden":false,"required":false,"index":false},{"name":"disk_bytes_written","description":"Bytes written to disk","type":"bigint","hidden":false,"required":false,"index":false},{"name":"start_time","description":"Process start time in seconds since Epoch, in case of error -1","type":"bigint","hidden":false,"required":false,"index":false},{"name":"parent","description":"Process parent's PID","type":"bigint","hidden":false,"required":false,"index":false},{"name":"pgroup","description":"Process group","type":"bigint","hidden":false,"required":false,"index":false},{"name":"threads","description":"Number of threads used by process","type":"integer","hidden":false,"required":false,"index":false},{"name":"nice","description":"Process nice level (-20 to 20, default 0)","type":"integer","hidden":false,"required":false,"index":false},{"name":"elevated_token","description":"Process uses elevated token yes=1, no=0","type":"integer","hidden":true,"required":false,"index":false},{"name":"secure_process","description":"Process is secure (IUM) yes=1, no=0","type":"integer","hidden":true,"required":false,"index":false},{"name":"protection_type","description":"The protection type of the process","type":"text","hidden":true,"required":false,"index":false},{"name":"virtual_process","description":"Process is virtual (e.g. System, Registry, vmmem) yes=1, no=0","type":"integer","hidden":true,"required":false,"index":false},{"name":"elapsed_time","description":"Elapsed time in seconds this process has been running.","type":"bigint","hidden":true,"required":false,"index":false},{"name":"handle_count","description":"Total number of handles that the process has open. This number is the sum of the handles currently opened by each thread in the process.","type":"bigint","hidden":true,"required":false,"index":false},{"name":"percent_processor_time","description":"Returns elapsed time that all of the threads of this process used the processor to execute instructions in 100 nanoseconds ticks.","type":"bigint","hidden":true,"required":false,"index":false},{"name":"upid","description":"A 64bit pid that is never reused. Returns -1 if we couldn't gather them from the system.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"uppid","description":"The 64bit parent pid that is never reused. Returns -1 if we couldn't gather them from the system.","type":"bigint","hidden":false,"required":false,"index":false},{"name":"cpu_type","description":"Indicates the specific processor designed for installation.","type":"integer","hidden":false,"required":false,"index":false},{"name":"cpu_subtype","description":"Indicates the specific processor on which an entry may be used.","type":"integer","hidden":false,"required":false,"index":false},{"name":"translated","description":"Indicates whether the process is running under the Rosetta Translation Environment, yes=1, no=0, error=-1.","type":"integer","hidden":false,"required":false,"index":false},{"name":"cgroup_path","description":"The full hierarchical path of the process's control group","type":"text","hidden":true,"required":false,"index":false}]}] \ No newline at end of file diff --git a/x-pack/plugins/osquery/public/editor/osquery_tables.ts b/x-pack/plugins/osquery/public/editor/osquery_tables.ts index 9a1912479d56e..fbbdcac1834c0 100644 --- a/x-pack/plugins/osquery/public/editor/osquery_tables.ts +++ b/x-pack/plugins/osquery/public/editor/osquery_tables.ts @@ -17,7 +17,7 @@ let osqueryTables: TablesJSON | null = null; export const getOsqueryTables = () => { if (!osqueryTables) { // eslint-disable-next-line @typescript-eslint/no-var-requires - osqueryTables = normalizeTables(require('../common/schemas/osquery/v5.4.0.json')); + osqueryTables = normalizeTables(require('../common/schemas/osquery/v5.5.1.json')); } return osqueryTables; diff --git a/x-pack/plugins/osquery/public/packs/queries/ecs_mapping_editor_field.tsx b/x-pack/plugins/osquery/public/packs/queries/ecs_mapping_editor_field.tsx index d8cc8f93e56ed..8978aff73d863 100644 --- a/x-pack/plugins/osquery/public/packs/queries/ecs_mapping_editor_field.tsx +++ b/x-pack/plugins/osquery/public/packs/queries/ecs_mapping_editor_field.tsx @@ -50,7 +50,7 @@ import { convertECSMappingToObject, } from '../../../common/schemas/common/utils'; import ECSSchema from '../../common/schemas/ecs/v8.5.0.json'; -import osquerySchema from '../../common/schemas/osquery/v5.4.0.json'; +import osquerySchema from '../../common/schemas/osquery/v5.5.1.json'; import { FieldIcon } from '../../common/lib/kibana'; import { OsqueryIcon } from '../../components/osquery_icon'; From 49c153f2432b1e2379cb38bb42245e0fefc48825 Mon Sep 17 00:00:00 2001 From: Tiago Costa Date: Fri, 28 Oct 2022 23:56:02 +0100 Subject: [PATCH 017/111] chore(NA): remove @types/pkg link creation when generating a new package (#144200) --- packages/kbn-generate/src/commands/package_command.ts | 7 ------- 1 file changed, 7 deletions(-) diff --git a/packages/kbn-generate/src/commands/package_command.ts b/packages/kbn-generate/src/commands/package_command.ts index ecfd2eb5f3d21..4d09ab45c9728 100644 --- a/packages/kbn-generate/src/commands/package_command.ts +++ b/packages/kbn-generate/src/commands/package_command.ts @@ -68,7 +68,6 @@ ${BAZEL_PACKAGE_DIRS.map((dir) => ` ./${dir}/*\n`).join throw createFlagError(`package id must start with @kbn/ and have no spaces`); } - const typePkgName = `@types/${pkgId.slice(1).replace('/', '__')}`; const web = !!flags.web; const dev = !!flags.dev; @@ -184,12 +183,6 @@ ${BAZEL_PACKAGE_DIRS.map((dir) => ` ./${dir}/*\n`).join addDeps[pkgId] = `link:bazel-bin/${normalizedRepoRelativeDir}`; delete removeDeps[pkgId]; - // for @types packages always remove from deps and add to devDeps - packageJson.devDependencies[ - typePkgName - ] = `link:bazel-bin/${normalizedRepoRelativeDir}/npm_module_types`; - delete packageJson.dependencies[typePkgName]; - await Fsp.writeFile(packageJsonPath, sortPackageJson(JSON.stringify(packageJson))); log.info('Updated package.json file'); From 8119e9ad0d259ad0f3a020aed9259b10eb12ecd1 Mon Sep 17 00:00:00 2001 From: Dominique Clarke Date: Fri, 28 Oct 2022 19:57:47 -0400 Subject: [PATCH 018/111] [Synthetics] Fix failing Synthetics Integration test (#144175) * fix failing test * Update x-pack/test/functional_synthetics/apps/uptime/synthetics_integration.ts * Update x-pack/test/functional_synthetics/apps/uptime/synthetics_integration.ts --- .../apps/uptime/synthetics_integration.ts | 21 ++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/x-pack/test/functional_synthetics/apps/uptime/synthetics_integration.ts b/x-pack/test/functional_synthetics/apps/uptime/synthetics_integration.ts index 1998c8963bdc3..b19d4fcb7668e 100644 --- a/x-pack/test/functional_synthetics/apps/uptime/synthetics_integration.ts +++ b/x-pack/test/functional_synthetics/apps/uptime/synthetics_integration.ts @@ -51,6 +51,11 @@ export default function (providerContext: FtrProviderContext) { { data_stream: { dataset: monitorType, + elasticsearch: { + privileges: { + indices: ['auto_configure', 'create_doc', 'read'], + }, + }, type: 'synthetics', }, id: `${getSyntheticsPolicy(agentFullPolicy)?.streams?.[0]?.id}`, @@ -81,6 +86,11 @@ export default function (providerContext: FtrProviderContext) { { data_stream: { dataset: 'browser.network', + elasticsearch: { + privileges: { + indices: ['auto_configure', 'create_doc', 'read'], + }, + }, type: 'synthetics', }, id: `${getSyntheticsPolicy(agentFullPolicy)?.streams?.[1]?.id}`, @@ -105,6 +115,11 @@ export default function (providerContext: FtrProviderContext) { { data_stream: { dataset: 'browser.screenshot', + elasticsearch: { + privileges: { + indices: ['auto_configure', 'create_doc', 'read'], + }, + }, type: 'synthetics', }, id: `${getSyntheticsPolicy(agentFullPolicy)?.streams?.[2]?.id}`, @@ -133,11 +148,7 @@ export default function (providerContext: FtrProviderContext) { use_output: 'default', }); - // FAILING: https://github.com/elastic/kibana/issues/144139 - // FAILING: https://github.com/elastic/kibana/issues/144140 - // FAILING: https://github.com/elastic/kibana/issues/144141 - // FAILING: https://github.com/elastic/kibana/issues/144142 - describe.skip('When on the Synthetics Integration Policy Create Page', function () { + describe('When on the Synthetics Integration Policy Create Page', function () { skipIfNoDockerRegistry(providerContext); const basicConfig = { name: monitorName, From 21fb0334e37a287ba0ecf892b7d88a3e0dfae71c Mon Sep 17 00:00:00 2001 From: spalger Date: Fri, 28 Oct 2022 19:10:10 -0500 Subject: [PATCH 019/111] [ts] add stub index.d.ts in @kbn/ui-shared-deps-npm --- packages/kbn-ui-shared-deps-npm/BUILD.bazel | 1 - packages/kbn-ui-shared-deps-npm/index.d.ts | 19 +++++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 packages/kbn-ui-shared-deps-npm/index.d.ts diff --git a/packages/kbn-ui-shared-deps-npm/BUILD.bazel b/packages/kbn-ui-shared-deps-npm/BUILD.bazel index b0066920faa4d..f6406117ada5f 100644 --- a/packages/kbn-ui-shared-deps-npm/BUILD.bazel +++ b/packages/kbn-ui-shared-deps-npm/BUILD.bazel @@ -8,7 +8,6 @@ PKG_REQUIRE_NAME = "@kbn/ui-shared-deps-npm" SOURCE_FILES = glob( [ - "**/*.ts", "**/*.js", ], exclude = [ diff --git a/packages/kbn-ui-shared-deps-npm/index.d.ts b/packages/kbn-ui-shared-deps-npm/index.d.ts new file mode 100644 index 0000000000000..0541240af8e0a --- /dev/null +++ b/packages/kbn-ui-shared-deps-npm/index.d.ts @@ -0,0 +1,19 @@ +/* + * 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. + */ + +// NOTE, this types for this package are actually based on the index.js +// file, but this file is here so that when loading the source you don't +// have to set `allowJs` for your project + +export type ThemeVersion = 'v8'; +export const distDir: string; +export const dllManifestPath: string; +export const dllFilename: string; +export const publicPathLoader: string; +export function lightCssDistFilename(themeVersion: ThemeVersion): string; +export function darkCssDistFilename(themeVersion: ThemeVersion): string; From e82e0a150f158a3c0c273715a70cfb5239687918 Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Sat, 29 Oct 2022 00:46:56 -0400 Subject: [PATCH 020/111] [api-docs] Daily api_docs build (#144203) --- api_docs/actions.devdocs.json | 160 +- api_docs/actions.mdx | 4 +- api_docs/advanced_settings.devdocs.json | 56 +- api_docs/advanced_settings.mdx | 2 +- api_docs/aiops.mdx | 2 +- api_docs/alerting.devdocs.json | 226 +- api_docs/alerting.mdx | 2 +- api_docs/apm.devdocs.json | 1634 +- api_docs/apm.mdx | 2 +- api_docs/banners.mdx | 2 +- api_docs/bfetch.devdocs.json | 96 +- api_docs/bfetch.mdx | 2 +- api_docs/canvas.devdocs.json | 8 +- api_docs/canvas.mdx | 2 +- api_docs/cases.devdocs.json | 143 +- api_docs/cases.mdx | 4 +- api_docs/charts.devdocs.json | 134 +- api_docs/charts.mdx | 4 +- api_docs/cloud.mdx | 2 +- api_docs/cloud_chat.mdx | 2 +- api_docs/cloud_experiments.mdx | 2 +- api_docs/cloud_security_posture.mdx | 2 +- api_docs/console.devdocs.json | 40 +- api_docs/console.mdx | 2 +- api_docs/controls.devdocs.json | 218 +- api_docs/controls.mdx | 2 +- api_docs/core.devdocs.json | 26023 +++++++++++----- api_docs/core.mdx | 4 +- api_docs/custom_integrations.mdx | 2 +- api_docs/dashboard.devdocs.json | 112 +- api_docs/dashboard.mdx | 2 +- api_docs/dashboard_enhanced.devdocs.json | 42 +- api_docs/dashboard_enhanced.mdx | 2 +- api_docs/data.devdocs.json | 1761 +- api_docs/data.mdx | 4 +- api_docs/data_query.devdocs.json | 1072 +- api_docs/data_query.mdx | 4 +- api_docs/data_search.devdocs.json | 2363 +- api_docs/data_search.mdx | 4 +- api_docs/data_view_editor.mdx | 2 +- api_docs/data_view_field_editor.devdocs.json | 18 +- api_docs/data_view_field_editor.mdx | 2 +- api_docs/data_view_management.mdx | 2 +- api_docs/data_views.devdocs.json | 1720 +- api_docs/data_views.mdx | 4 +- api_docs/data_visualizer.mdx | 2 +- api_docs/deprecations_by_api.mdx | 59 +- api_docs/deprecations_by_plugin.mdx | 144 +- api_docs/deprecations_by_team.mdx | 47 +- api_docs/dev_tools.devdocs.json | 24 +- api_docs/dev_tools.mdx | 2 +- api_docs/discover.devdocs.json | 74 +- api_docs/discover.mdx | 2 +- api_docs/discover_enhanced.devdocs.json | 48 +- api_docs/discover_enhanced.mdx | 2 +- api_docs/embeddable.devdocs.json | 258 +- api_docs/embeddable.mdx | 4 +- api_docs/embeddable_enhanced.mdx | 2 +- api_docs/encrypted_saved_objects.devdocs.json | 191 +- api_docs/encrypted_saved_objects.mdx | 4 +- api_docs/enterprise_search.devdocs.json | 64 +- api_docs/enterprise_search.mdx | 2 +- api_docs/es_ui_shared.devdocs.json | 48 +- api_docs/es_ui_shared.mdx | 2 +- api_docs/event_annotation.devdocs.json | 163 +- api_docs/event_annotation.mdx | 4 +- api_docs/event_log.devdocs.json | 38 +- api_docs/event_log.mdx | 2 +- api_docs/expression_error.devdocs.json | 64 +- api_docs/expression_error.mdx | 2 +- api_docs/expression_gauge.devdocs.json | 96 +- api_docs/expression_gauge.mdx | 2 +- api_docs/expression_heatmap.devdocs.json | 102 +- api_docs/expression_heatmap.mdx | 4 +- api_docs/expression_image.devdocs.json | 40 +- api_docs/expression_image.mdx | 2 +- .../expression_legacy_metric_vis.devdocs.json | 16 +- api_docs/expression_legacy_metric_vis.mdx | 2 +- api_docs/expression_metric.devdocs.json | 42 +- api_docs/expression_metric.mdx | 2 +- api_docs/expression_metric_vis.devdocs.json | 16 +- api_docs/expression_metric_vis.mdx | 2 +- .../expression_partition_vis.devdocs.json | 56 +- api_docs/expression_partition_vis.mdx | 2 +- api_docs/expression_repeat_image.devdocs.json | 42 +- api_docs/expression_repeat_image.mdx | 2 +- api_docs/expression_reveal_image.devdocs.json | 34 +- api_docs/expression_reveal_image.mdx | 2 +- api_docs/expression_shape.devdocs.json | 96 +- api_docs/expression_shape.mdx | 2 +- api_docs/expression_tagcloud.mdx | 2 +- api_docs/expression_x_y.devdocs.json | 32 +- api_docs/expression_x_y.mdx | 2 +- api_docs/expressions.devdocs.json | 1864 +- api_docs/expressions.mdx | 4 +- api_docs/features.devdocs.json | 128 +- api_docs/features.mdx | 2 +- api_docs/field_formats.devdocs.json | 1085 +- api_docs/field_formats.mdx | 4 +- api_docs/file_upload.devdocs.json | 280 +- api_docs/file_upload.mdx | 2 +- api_docs/files.devdocs.json | 32 +- api_docs/files.mdx | 2 +- api_docs/fleet.devdocs.json | 748 +- api_docs/fleet.mdx | 4 +- api_docs/global_search.devdocs.json | 64 +- api_docs/global_search.mdx | 2 +- api_docs/guided_onboarding.devdocs.json | 240 +- api_docs/guided_onboarding.mdx | 2 +- api_docs/home.devdocs.json | 58 +- api_docs/home.mdx | 2 +- .../index_lifecycle_management.devdocs.json | 8 +- api_docs/index_lifecycle_management.mdx | 2 +- api_docs/index_management.mdx | 2 +- api_docs/infra.devdocs.json | 16 +- api_docs/infra.mdx | 2 +- api_docs/inspector.devdocs.json | 72 +- 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.devdocs.json | 64 +- api_docs/kbn_aiops_utils.mdx | 2 +- api_docs/kbn_alerts.mdx | 2 +- api_docs/kbn_analytics.mdx | 2 +- api_docs/kbn_analytics_client.devdocs.json | 454 +- api_docs/kbn_analytics_client.mdx | 2 +- ...s_shippers_elastic_v3_browser.devdocs.json | 77 +- ..._analytics_shippers_elastic_v3_browser.mdx | 2 +- ...cs_shippers_elastic_v3_common.devdocs.json | 48 +- ...n_analytics_shippers_elastic_v3_common.mdx | 2 +- ...cs_shippers_elastic_v3_server.devdocs.json | 77 +- ...n_analytics_shippers_elastic_v3_server.mdx | 2 +- ..._analytics_shippers_fullstory.devdocs.json | 48 +- api_docs/kbn_analytics_shippers_fullstory.mdx | 2 +- ..._analytics_shippers_gainsight.devdocs.json | 48 +- api_docs/kbn_analytics_shippers_gainsight.mdx | 2 +- api_docs/kbn_apm_config_loader.devdocs.json | 40 +- api_docs/kbn_apm_config_loader.mdx | 2 +- api_docs/kbn_apm_synthtrace.mdx | 2 +- api_docs/kbn_apm_utils.mdx | 2 +- api_docs/kbn_axe_config.mdx | 2 +- api_docs/kbn_cases_components.devdocs.json | 2 +- api_docs/kbn_cases_components.mdx | 2 +- api_docs/kbn_chart_icons.mdx | 2 +- api_docs/kbn_ci_stats_core.devdocs.json | 16 +- api_docs/kbn_ci_stats_core.mdx | 2 +- api_docs/kbn_ci_stats_performance_metrics.mdx | 2 +- api_docs/kbn_ci_stats_reporter.devdocs.json | 80 +- api_docs/kbn_ci_stats_reporter.mdx | 2 +- api_docs/kbn_cli_dev_mode.mdx | 2 +- api_docs/kbn_coloring.devdocs.json | 8 +- api_docs/kbn_coloring.mdx | 2 +- api_docs/kbn_config.devdocs.json | 8 +- api_docs/kbn_config.mdx | 4 +- api_docs/kbn_config_mocks.devdocs.json | 128 +- api_docs/kbn_config_mocks.mdx | 2 +- api_docs/kbn_config_schema.devdocs.json | 23 +- api_docs/kbn_config_schema.mdx | 2 +- ...content_management_table_list.devdocs.json | 154 +- .../kbn_content_management_table_list.mdx | 4 +- .../kbn_core_analytics_browser.devdocs.json | 72 +- api_docs/kbn_core_analytics_browser.mdx | 2 +- ...re_analytics_browser_internal.devdocs.json | 16 +- .../kbn_core_analytics_browser_internal.mdx | 2 +- ..._core_analytics_browser_mocks.devdocs.json | 16 +- api_docs/kbn_core_analytics_browser_mocks.mdx | 2 +- .../kbn_core_analytics_server.devdocs.json | 128 +- api_docs/kbn_core_analytics_server.mdx | 2 +- ...ore_analytics_server_internal.devdocs.json | 24 +- .../kbn_core_analytics_server_internal.mdx | 2 +- ...n_core_analytics_server_mocks.devdocs.json | 24 +- api_docs/kbn_core_analytics_server_mocks.mdx | 2 +- .../kbn_core_application_browser.devdocs.json | 237 +- api_docs/kbn_core_application_browser.mdx | 2 +- ..._application_browser_internal.devdocs.json | 56 +- .../kbn_core_application_browser_internal.mdx | 4 +- ...ore_application_browser_mocks.devdocs.json | 80 +- .../kbn_core_application_browser_mocks.mdx | 2 +- api_docs/kbn_core_application_common.mdx | 2 +- ...bn_core_apps_browser_internal.devdocs.json | 48 +- api_docs/kbn_core_apps_browser_internal.mdx | 2 +- api_docs/kbn_core_apps_browser_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 | 4 +- .../kbn_core_base_server_mocks.devdocs.json | 40 +- api_docs/kbn_core_base_server_mocks.mdx | 2 +- ...re_capabilities_browser_mocks.devdocs.json | 8 +- .../kbn_core_capabilities_browser_mocks.mdx | 2 +- api_docs/kbn_core_capabilities_common.mdx | 2 +- .../kbn_core_capabilities_server.devdocs.json | 80 +- api_docs/kbn_core_capabilities_server.mdx | 2 +- ...ore_capabilities_server_mocks.devdocs.json | 48 +- .../kbn_core_capabilities_server_mocks.mdx | 2 +- api_docs/kbn_core_chrome_browser.devdocs.json | 38 +- api_docs/kbn_core_chrome_browser.mdx | 4 +- ...kbn_core_chrome_browser_mocks.devdocs.json | 8 +- api_docs/kbn_core_chrome_browser_mocks.mdx | 2 +- ...n_core_config_server_internal.devdocs.json | 8 +- api_docs/kbn_core_config_server_internal.mdx | 2 +- ...kbn_core_deprecations_browser.devdocs.json | 48 +- api_docs/kbn_core_deprecations_browser.mdx | 2 +- ...deprecations_browser_internal.devdocs.json | 32 +- ...kbn_core_deprecations_browser_internal.mdx | 2 +- ...re_deprecations_browser_mocks.devdocs.json | 24 +- .../kbn_core_deprecations_browser_mocks.mdx | 2 +- api_docs/kbn_core_deprecations_common.mdx | 2 +- .../kbn_core_deprecations_server.devdocs.json | 40 +- api_docs/kbn_core_deprecations_server.mdx | 2 +- ..._deprecations_server_internal.devdocs.json | 40 +- .../kbn_core_deprecations_server_internal.mdx | 2 +- ...ore_deprecations_server_mocks.devdocs.json | 32 +- .../kbn_core_deprecations_server_mocks.mdx | 2 +- .../kbn_core_doc_links_browser.devdocs.json | 8 +- api_docs/kbn_core_doc_links_browser.mdx | 2 +- ..._core_doc_links_browser_mocks.devdocs.json | 8 +- api_docs/kbn_core_doc_links_browser_mocks.mdx | 2 +- .../kbn_core_doc_links_server.devdocs.json | 8 +- api_docs/kbn_core_doc_links_server.mdx | 2 +- ...n_core_doc_links_server_mocks.devdocs.json | 16 +- api_docs/kbn_core_doc_links_server_mocks.mdx | 2 +- ...search_client_server_internal.devdocs.json | 60 +- ...e_elasticsearch_client_server_internal.mdx | 7 +- ...ticsearch_client_server_mocks.devdocs.json | 88 +- ...core_elasticsearch_client_server_mocks.mdx | 2 +- ...kbn_core_elasticsearch_server.devdocs.json | 47 +- api_docs/kbn_core_elasticsearch_server.mdx | 2 +- ...elasticsearch_server_internal.devdocs.json | 353 +- ...kbn_core_elasticsearch_server_internal.mdx | 4 +- ...re_elasticsearch_server_mocks.devdocs.json | 64 +- .../kbn_core_elasticsearch_server_mocks.mdx | 2 +- ...e_environment_server_internal.devdocs.json | 24 +- .../kbn_core_environment_server_internal.mdx | 4 +- .../kbn_core_environment_server_mocks.mdx | 2 +- ...ore_execution_context_browser.devdocs.json | 56 +- .../kbn_core_execution_context_browser.mdx | 2 +- ...tion_context_browser_internal.devdocs.json | 24 +- ...ore_execution_context_browser_internal.mdx | 4 +- ...ecution_context_browser_mocks.devdocs.json | 40 +- ...n_core_execution_context_browser_mocks.mdx | 2 +- .../kbn_core_execution_context_common.mdx | 2 +- ...core_execution_context_server.devdocs.json | 24 +- .../kbn_core_execution_context_server.mdx | 2 +- ...ution_context_server_internal.devdocs.json | 16 +- ...core_execution_context_server_internal.mdx | 2 +- ...xecution_context_server_mocks.devdocs.json | 16 +- ...bn_core_execution_context_server_mocks.mdx | 2 +- api_docs/kbn_core_fatal_errors_browser.mdx | 2 +- ...re_fatal_errors_browser_mocks.devdocs.json | 16 +- .../kbn_core_fatal_errors_browser_mocks.mdx | 2 +- api_docs/kbn_core_http_browser.devdocs.json | 86 +- api_docs/kbn_core_http_browser.mdx | 2 +- ...bn_core_http_browser_internal.devdocs.json | 8 +- api_docs/kbn_core_http_browser_internal.mdx | 4 +- .../kbn_core_http_browser_mocks.devdocs.json | 144 +- api_docs/kbn_core_http_browser_mocks.mdx | 2 +- api_docs/kbn_core_http_common.mdx | 2 +- ...ore_http_context_server_mocks.devdocs.json | 80 +- .../kbn_core_http_context_server_mocks.mdx | 2 +- ...equest_handler_context_server.devdocs.json | 56 +- ...re_http_request_handler_context_server.mdx | 2 +- ...bn_core_http_resources_server.devdocs.json | 222 +- api_docs/kbn_core_http_resources_server.mdx | 2 +- ...ttp_resources_server_internal.devdocs.json | 48 +- ...bn_core_http_resources_server_internal.mdx | 2 +- ...e_http_resources_server_mocks.devdocs.json | 632 +- .../kbn_core_http_resources_server_mocks.mdx | 2 +- ...e_http_router_server_internal.devdocs.json | 64 +- .../kbn_core_http_router_server_internal.mdx | 2 +- ...core_http_router_server_mocks.devdocs.json | 216 +- .../kbn_core_http_router_server_mocks.mdx | 2 +- api_docs/kbn_core_http_server.devdocs.json | 108 +- api_docs/kbn_core_http_server.mdx | 2 +- ...kbn_core_http_server_internal.devdocs.json | 272 +- api_docs/kbn_core_http_server_internal.mdx | 4 +- .../kbn_core_http_server_mocks.devdocs.json | 977 +- api_docs/kbn_core_http_server_mocks.mdx | 4 +- api_docs/kbn_core_i18n_browser.mdx | 2 +- .../kbn_core_i18n_browser_mocks.devdocs.json | 8 +- api_docs/kbn_core_i18n_browser_mocks.mdx | 2 +- api_docs/kbn_core_i18n_server.mdx | 2 +- ...kbn_core_i18n_server_internal.devdocs.json | 8 +- api_docs/kbn_core_i18n_server_internal.mdx | 2 +- .../kbn_core_i18n_server_mocks.devdocs.json | 8 +- api_docs/kbn_core_i18n_server_mocks.mdx | 2 +- ...ore_injected_metadata_browser.devdocs.json | 22 +- .../kbn_core_injected_metadata_browser.mdx | 2 +- ...n_core_injected_metadata_browser_mocks.mdx | 2 +- ...integrations_browser_internal.devdocs.json | 8 +- ...kbn_core_integrations_browser_internal.mdx | 2 +- ...re_integrations_browser_mocks.devdocs.json | 16 +- .../kbn_core_integrations_browser_mocks.mdx | 2 +- .../kbn_core_lifecycle_browser.devdocs.json | 248 +- api_docs/kbn_core_lifecycle_browser.mdx | 2 +- ..._core_lifecycle_browser_mocks.devdocs.json | 328 +- api_docs/kbn_core_lifecycle_browser_mocks.mdx | 2 +- .../kbn_core_lifecycle_server.devdocs.json | 336 +- api_docs/kbn_core_lifecycle_server.mdx | 2 +- ...n_core_lifecycle_server_mocks.devdocs.json | 208 +- api_docs/kbn_core_lifecycle_server_mocks.mdx | 2 +- api_docs/kbn_core_logging_server.devdocs.json | 24 +- api_docs/kbn_core_logging_server.mdx | 2 +- ..._core_logging_server_internal.devdocs.json | 88 +- api_docs/kbn_core_logging_server_internal.mdx | 4 +- ...kbn_core_logging_server_mocks.devdocs.json | 102 +- api_docs/kbn_core_logging_server_mocks.mdx | 4 +- ...cs_collectors_server_internal.devdocs.json | 160 +- ...ore_metrics_collectors_server_internal.mdx | 2 +- ...trics_collectors_server_mocks.devdocs.json | 56 +- ...n_core_metrics_collectors_server_mocks.mdx | 2 +- api_docs/kbn_core_metrics_server.devdocs.json | 79 +- api_docs/kbn_core_metrics_server.mdx | 2 +- ..._core_metrics_server_internal.devdocs.json | 40 +- api_docs/kbn_core_metrics_server_internal.mdx | 2 +- ...kbn_core_metrics_server_mocks.devdocs.json | 40 +- api_docs/kbn_core_metrics_server_mocks.mdx | 2 +- api_docs/kbn_core_mount_utils_browser.mdx | 2 +- api_docs/kbn_core_node_server.mdx | 2 +- ...kbn_core_node_server_internal.devdocs.json | 47 +- api_docs/kbn_core_node_server_internal.mdx | 7 +- api_docs/kbn_core_node_server_mocks.mdx | 2 +- ...bn_core_notifications_browser.devdocs.json | 32 +- api_docs/kbn_core_notifications_browser.mdx | 2 +- ...otifications_browser_internal.devdocs.json | 280 +- ...bn_core_notifications_browser_internal.mdx | 2 +- ...e_notifications_browser_mocks.devdocs.json | 40 +- .../kbn_core_notifications_browser_mocks.mdx | 2 +- .../kbn_core_overlays_browser.devdocs.json | 180 +- api_docs/kbn_core_overlays_browser.mdx | 4 +- ...ore_overlays_browser_internal.devdocs.json | 8 +- .../kbn_core_overlays_browser_internal.mdx | 4 +- ...n_core_overlays_browser_mocks.devdocs.json | 24 +- api_docs/kbn_core_overlays_browser_mocks.mdx | 2 +- .../kbn_core_plugins_browser.devdocs.json | 48 +- api_docs/kbn_core_plugins_browser.mdx | 2 +- ...bn_core_plugins_browser_mocks.devdocs.json | 8 +- api_docs/kbn_core_plugins_browser_mocks.mdx | 2 +- api_docs/kbn_core_plugins_server.devdocs.json | 274 +- api_docs/kbn_core_plugins_server.mdx | 2 +- api_docs/kbn_core_plugins_server_mocks.mdx | 2 +- api_docs/kbn_core_preboot_server.mdx | 2 +- ...kbn_core_preboot_server_mocks.devdocs.json | 8 +- api_docs/kbn_core_preboot_server_mocks.mdx | 2 +- api_docs/kbn_core_rendering_browser_mocks.mdx | 2 +- .../kbn_core_rendering_server_internal.mdx | 4 +- api_docs/kbn_core_rendering_server_mocks.mdx | 2 +- ...ore_saved_objects_api_browser.devdocs.json | 144 +- .../kbn_core_saved_objects_api_browser.mdx | 2 +- ...core_saved_objects_api_server.devdocs.json | 152 +- .../kbn_core_saved_objects_api_server.mdx | 2 +- ...d_objects_api_server_internal.devdocs.json | 632 +- ...core_saved_objects_api_server_internal.mdx | 4 +- ...aved_objects_api_server_mocks.devdocs.json | 16 +- ...bn_core_saved_objects_api_server_mocks.mdx | 2 +- ..._objects_base_server_internal.devdocs.json | 192 +- ...ore_saved_objects_base_server_internal.mdx | 4 +- ...ved_objects_base_server_mocks.devdocs.json | 16 +- ...n_core_saved_objects_base_server_mocks.mdx | 2 +- ...bn_core_saved_objects_browser.devdocs.json | 8 +- api_docs/kbn_core_saved_objects_browser.mdx | 2 +- ...aved_objects_browser_internal.devdocs.json | 32 +- ...bn_core_saved_objects_browser_internal.mdx | 2 +- ...e_saved_objects_browser_mocks.devdocs.json | 48 +- .../kbn_core_saved_objects_browser_mocks.mdx | 2 +- ...kbn_core_saved_objects_common.devdocs.json | 634 +- api_docs/kbn_core_saved_objects_common.mdx | 2 +- ...import_export_server_internal.devdocs.json | 48 +- ..._objects_import_export_server_internal.mdx | 2 +- ...ts_import_export_server_mocks.devdocs.json | 16 +- ...ved_objects_import_export_server_mocks.mdx | 2 +- ...cts_migration_server_internal.devdocs.json | 136 +- ...aved_objects_migration_server_internal.mdx | 2 +- ...bjects_migration_server_mocks.devdocs.json | 32 +- ...e_saved_objects_migration_server_mocks.mdx | 2 +- ...kbn_core_saved_objects_server.devdocs.json | 519 +- api_docs/kbn_core_saved_objects_server.mdx | 2 +- ...saved_objects_server_internal.devdocs.json | 56 +- ...kbn_core_saved_objects_server_internal.mdx | 2 +- ...re_saved_objects_server_mocks.devdocs.json | 102 +- .../kbn_core_saved_objects_server_mocks.mdx | 4 +- ...re_saved_objects_utils_server.devdocs.json | 64 +- .../kbn_core_saved_objects_utils_server.mdx | 2 +- api_docs/kbn_core_status_common.mdx | 2 +- ...n_core_status_common_internal.devdocs.json | 24 +- api_docs/kbn_core_status_common_internal.mdx | 2 +- api_docs/kbn_core_status_server.devdocs.json | 99 +- api_docs/kbn_core_status_server.mdx | 4 +- ...n_core_status_server_internal.devdocs.json | 160 +- api_docs/kbn_core_status_server_internal.mdx | 2 +- .../kbn_core_status_server_mocks.devdocs.json | 8 +- api_docs/kbn_core_status_server_mocks.mdx | 2 +- ..._helpers_deprecations_getters.devdocs.json | 68 +- ...core_test_helpers_deprecations_getters.mdx | 4 +- ...st_helpers_http_setup_browser.devdocs.json | 40 +- ...n_core_test_helpers_http_setup_browser.mdx | 2 +- ...st_helpers_so_type_serializer.devdocs.json | 32 +- ...n_core_test_helpers_so_type_serializer.mdx | 2 +- ..._core_test_helpers_test_utils.devdocs.json | 72 +- api_docs/kbn_core_test_helpers_test_utils.mdx | 2 +- api_docs/kbn_core_theme_browser.mdx | 2 +- api_docs/kbn_core_theme_browser_internal.mdx | 2 +- .../kbn_core_theme_browser_mocks.devdocs.json | 32 +- api_docs/kbn_core_theme_browser_mocks.mdx | 2 +- .../kbn_core_ui_settings_browser.devdocs.json | 32 +- api_docs/kbn_core_ui_settings_browser.mdx | 2 +- ..._ui_settings_browser_internal.devdocs.json | 24 +- .../kbn_core_ui_settings_browser_internal.mdx | 2 +- ...ore_ui_settings_browser_mocks.devdocs.json | 16 +- .../kbn_core_ui_settings_browser_mocks.mdx | 2 +- .../kbn_core_ui_settings_common.devdocs.json | 27 +- api_docs/kbn_core_ui_settings_common.mdx | 2 +- .../kbn_core_ui_settings_server.devdocs.json | 48 +- api_docs/kbn_core_ui_settings_server.mdx | 2 +- ...e_ui_settings_server_internal.devdocs.json | 66 +- .../kbn_core_ui_settings_server_internal.mdx | 4 +- ...core_ui_settings_server_mocks.devdocs.json | 24 +- .../kbn_core_ui_settings_server_mocks.mdx | 2 +- api_docs/kbn_core_usage_data_server.mdx | 2 +- ...re_usage_data_server_internal.devdocs.json | 24 +- .../kbn_core_usage_data_server_internal.mdx | 2 +- ..._core_usage_data_server_mocks.devdocs.json | 32 +- api_docs/kbn_core_usage_data_server_mocks.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.devdocs.json | 16 +- api_docs/kbn_dev_cli_runner.mdx | 2 +- api_docs/kbn_dev_proc_runner.devdocs.json | 24 +- 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_ebt_tools.devdocs.json | 32 +- api_docs/kbn_ebt_tools.mdx | 2 +- api_docs/kbn_es.devdocs.json | 96 + api_docs/kbn_es.mdx | 36 + api_docs/kbn_es_archiver.mdx | 2 +- api_docs/kbn_es_errors.mdx | 2 +- api_docs/kbn_es_query.devdocs.json | 104 +- api_docs/kbn_es_query.mdx | 4 +- api_docs/kbn_es_types.mdx | 2 +- .../kbn_eslint_plugin_imports.devdocs.json | 8 +- api_docs/kbn_eslint_plugin_imports.mdx | 2 +- api_docs/kbn_field_types.mdx | 2 +- api_docs/kbn_find_used_node_modules.mdx | 2 +- ...tr_common_functional_services.devdocs.json | 459 +- .../kbn_ftr_common_functional_services.mdx | 4 +- api_docs/kbn_generate.mdx | 2 +- api_docs/kbn_get_repo_files.mdx | 2 +- api_docs/kbn_guided_onboarding.devdocs.json | 106 +- api_docs/kbn_guided_onboarding.mdx | 4 +- api_docs/kbn_handlebars.mdx | 2 +- api_docs/kbn_hapi_mocks.devdocs.json | 304 +- 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_i18n_react.devdocs.json | 953 + api_docs/kbn_i18n_react.mdx | 39 + api_docs/kbn_import_resolver.mdx | 2 +- api_docs/kbn_interpreter.devdocs.json | 261 + api_docs/kbn_interpreter.mdx | 4 +- api_docs/kbn_io_ts_utils.mdx | 2 +- api_docs/kbn_jest_serializers.mdx | 2 +- api_docs/kbn_journeys.devdocs.json | 24 +- api_docs/kbn_journeys.mdx | 2 +- api_docs/kbn_kibana_manifest_schema.mdx | 2 +- .../kbn_language_documentation_popover.mdx | 2 +- api_docs/kbn_logging.devdocs.json | 38 + api_docs/kbn_logging.mdx | 4 +- api_docs/kbn_logging_mocks.devdocs.json | 246 +- api_docs/kbn_logging_mocks.mdx | 2 +- api_docs/kbn_managed_vscode_config.mdx | 2 +- api_docs/kbn_mapbox_gl.mdx | 2 +- api_docs/kbn_ml_agg_utils.devdocs.json | 255 +- api_docs/kbn_ml_agg_utils.mdx | 4 +- 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.devdocs.json | 64 +- api_docs/kbn_optimizer.mdx | 2 +- api_docs/kbn_optimizer_webpack_helpers.mdx | 2 +- api_docs/kbn_osquery_io_ts_types.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 +- .../kbn_repo_source_classifier.devdocs.json | 8 +- api_docs/kbn_repo_source_classifier.mdx | 2 +- api_docs/kbn_rule_data_utils.devdocs.json | 10 +- api_docs/kbn_rule_data_utils.mdx | 2 +- ...securitysolution_autocomplete.devdocs.json | 96 +- .../kbn_securitysolution_autocomplete.mdx | 2 +- api_docs/kbn_securitysolution_es_utils.mdx | 2 +- ...ion_exception_list_components.devdocs.json | 18 +- ...ritysolution_exception_list_components.mdx | 2 +- api_docs/kbn_securitysolution_hook_utils.mdx | 2 +- ..._securitysolution_io_ts_alerting_types.mdx | 2 +- ...ritysolution_io_ts_list_types.devdocs.json | 198 +- .../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 +- ...kbn_securitysolution_list_api.devdocs.json | 250 +- api_docs/kbn_securitysolution_list_api.mdx | 2 +- .../kbn_securitysolution_list_constants.mdx | 2 +- ...n_securitysolution_list_hooks.devdocs.json | 424 +- api_docs/kbn_securitysolution_list_hooks.mdx | 2 +- ...n_securitysolution_list_utils.devdocs.json | 500 +- api_docs/kbn_securitysolution_list_utils.mdx | 4 +- api_docs/kbn_securitysolution_rules.mdx | 2 +- api_docs/kbn_securitysolution_t_grid.mdx | 2 +- .../kbn_securitysolution_utils.devdocs.json | 10 +- api_docs/kbn_securitysolution_utils.mdx | 4 +- api_docs/kbn_server_http_tools.devdocs.json | 136 +- api_docs/kbn_server_http_tools.mdx | 2 +- .../kbn_server_route_repository.devdocs.json | 24 +- api_docs/kbn_server_route_repository.mdx | 2 +- api_docs/kbn_shared_svg.mdx | 2 +- ...kbn_shared_ux_avatar_solution.devdocs.json | 95 + api_docs/kbn_shared_ux_avatar_solution.mdx | 33 + ...ared_ux_avatar_user_profile_components.mdx | 2 +- ...ed_ux_button_exit_full_screen.devdocs.json | 180 + .../kbn_shared_ux_button_exit_full_screen.mdx | 30 + ...button_exit_full_screen_mocks.devdocs.json | 8 +- ...hared_ux_button_exit_full_screen_mocks.mdx | 2 +- api_docs/kbn_shared_ux_button_toolbar.mdx | 2 +- .../kbn_shared_ux_card_no_data.devdocs.json | 8 +- api_docs/kbn_shared_ux_card_no_data.mdx | 2 +- ..._shared_ux_card_no_data_mocks.devdocs.json | 16 +- api_docs/kbn_shared_ux_card_no_data_mocks.mdx | 2 +- ...n_shared_ux_link_redirect_app.devdocs.json | 334 + api_docs/kbn_shared_ux_link_redirect_app.mdx | 36 + ...ed_ux_link_redirect_app_mocks.devdocs.json | 8 +- .../kbn_shared_ux_link_redirect_app_mocks.mdx | 2 +- api_docs/kbn_shared_ux_markdown.mdx | 2 +- .../kbn_shared_ux_markdown_mocks.devdocs.json | 8 +- api_docs/kbn_shared_ux_markdown_mocks.mdx | 2 +- ...red_ux_page_analytics_no_data.devdocs.json | 10 +- .../kbn_shared_ux_page_analytics_no_data.mdx | 4 +- ..._page_analytics_no_data_mocks.devdocs.json | 54 +- ...shared_ux_page_analytics_no_data_mocks.mdx | 2 +- ...shared_ux_page_kibana_no_data.devdocs.json | 4 +- .../kbn_shared_ux_page_kibana_no_data.mdx | 2 +- ..._ux_page_kibana_no_data_mocks.devdocs.json | 48 +- ...bn_shared_ux_page_kibana_no_data_mocks.mdx | 2 +- ...hared_ux_page_kibana_template.devdocs.json | 16 +- .../kbn_shared_ux_page_kibana_template.mdx | 4 +- ...ux_page_kibana_template_mocks.devdocs.json | 216 +- ...n_shared_ux_page_kibana_template_mocks.mdx | 2 +- .../kbn_shared_ux_page_no_data.devdocs.json | 14 +- api_docs/kbn_shared_ux_page_no_data.mdx | 4 +- ...shared_ux_page_no_data_config.devdocs.json | 20 +- .../kbn_shared_ux_page_no_data_config.mdx | 4 +- ..._ux_page_no_data_config_mocks.devdocs.json | 44 +- ...bn_shared_ux_page_no_data_config_mocks.mdx | 2 +- ..._shared_ux_page_no_data_mocks.devdocs.json | 32 +- api_docs/kbn_shared_ux_page_no_data_mocks.mdx | 2 +- api_docs/kbn_shared_ux_page_solution_nav.mdx | 2 +- ...hared_ux_prompt_no_data_views.devdocs.json | 32 +- .../kbn_shared_ux_prompt_no_data_views.mdx | 4 +- ...ux_prompt_no_data_views_mocks.devdocs.json | 8 +- ...n_shared_ux_prompt_no_data_views_mocks.mdx | 2 +- api_docs/kbn_shared_ux_router.mdx | 2 +- api_docs/kbn_shared_ux_router_mocks.mdx | 2 +- api_docs/kbn_shared_ux_storybook_config.mdx | 2 +- .../kbn_shared_ux_storybook_mock.devdocs.json | 68 +- api_docs/kbn_shared_ux_storybook_mock.mdx | 7 +- 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.devdocs.json | 8 +- 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.devdocs.json | 205 +- api_docs/kbn_test.mdx | 4 +- api_docs/kbn_test_jest_helpers.mdx | 2 +- api_docs/kbn_test_subj_selector.mdx | 2 +- api_docs/kbn_tooling_log.devdocs.json | 8 +- api_docs/kbn_tooling_log.mdx | 2 +- api_docs/kbn_type_summarizer.devdocs.json | 16 +- api_docs/kbn_type_summarizer.mdx | 2 +- api_docs/kbn_type_summarizer_core.mdx | 2 +- ...kbn_typed_react_router_config.devdocs.json | 2 +- api_docs/kbn_typed_react_router_config.mdx | 2 +- api_docs/kbn_ui_shared_deps_src.devdocs.json | 510 + api_docs/kbn_ui_shared_deps_src.mdx | 33 + api_docs/kbn_ui_theme.mdx | 2 +- api_docs/kbn_user_profile_components.mdx | 2 +- api_docs/kbn_utility_types.devdocs.json | 8 +- 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.devdocs.json | 16 +- api_docs/kbn_yarn_lock_validator.mdx | 2 +- api_docs/kibana_overview.mdx | 2 +- api_docs/kibana_react.devdocs.json | 425 +- api_docs/kibana_react.mdx | 4 +- api_docs/kibana_utils.devdocs.json | 332 +- api_docs/kibana_utils.mdx | 4 +- api_docs/kubernetes_security.mdx | 2 +- api_docs/lens.devdocs.json | 512 +- api_docs/lens.mdx | 2 +- api_docs/license_api_guard.devdocs.json | 56 +- api_docs/license_api_guard.mdx | 2 +- api_docs/license_management.mdx | 2 +- api_docs/licensing.devdocs.json | 40 +- api_docs/licensing.mdx | 2 +- api_docs/lists.devdocs.json | 126 +- api_docs/lists.mdx | 2 +- api_docs/management.devdocs.json | 16 +- api_docs/management.mdx | 2 +- api_docs/maps.devdocs.json | 136 +- api_docs/maps.mdx | 2 +- api_docs/maps_ems.devdocs.json | 40 +- api_docs/maps_ems.mdx | 2 +- api_docs/ml.devdocs.json | 16 +- api_docs/ml.mdx | 2 +- api_docs/monitoring.devdocs.json | 82 +- api_docs/monitoring.mdx | 9 +- api_docs/monitoring_collection.devdocs.json | 8 +- api_docs/monitoring_collection.mdx | 2 +- api_docs/navigation.devdocs.json | 72 +- api_docs/navigation.mdx | 2 +- api_docs/newsfeed.mdx | 2 +- api_docs/observability.devdocs.json | 584 +- api_docs/observability.mdx | 4 +- api_docs/osquery.mdx | 2 +- api_docs/plugin_directory.mdx | 132 +- api_docs/presentation_util.devdocs.json | 86 +- api_docs/presentation_util.mdx | 4 +- api_docs/profiling.devdocs.json | 5 +- api_docs/profiling.mdx | 4 +- api_docs/remote_clusters.mdx | 2 +- api_docs/reporting.devdocs.json | 16 +- api_docs/reporting.mdx | 2 +- api_docs/rollup.mdx | 2 +- api_docs/rule_registry.devdocs.json | 184 +- api_docs/rule_registry.mdx | 2 +- api_docs/runtime_fields.devdocs.json | 8 +- api_docs/runtime_fields.mdx | 2 +- api_docs/saved_objects.devdocs.json | 288 +- api_docs/saved_objects.mdx | 2 +- api_docs/saved_objects_finder.devdocs.json | 64 +- api_docs/saved_objects_finder.mdx | 2 +- .../saved_objects_management.devdocs.json | 144 +- api_docs/saved_objects_management.mdx | 2 +- api_docs/saved_objects_tagging.devdocs.json | 40 +- api_docs/saved_objects_tagging.mdx | 2 +- .../saved_objects_tagging_oss.devdocs.json | 128 +- api_docs/saved_objects_tagging_oss.mdx | 2 +- api_docs/saved_search.devdocs.json | 10 +- api_docs/saved_search.mdx | 2 +- api_docs/screenshot_mode.devdocs.json | 24 +- api_docs/screenshot_mode.mdx | 2 +- api_docs/screenshotting.devdocs.json | 32 +- api_docs/screenshotting.mdx | 2 +- api_docs/security.devdocs.json | 96 +- api_docs/security.mdx | 2 +- api_docs/security_solution.devdocs.json | 148 +- api_docs/security_solution.mdx | 2 +- api_docs/session_view.mdx | 2 +- api_docs/share.devdocs.json | 56 +- api_docs/share.mdx | 2 +- api_docs/snapshot_restore.mdx | 2 +- api_docs/spaces.devdocs.json | 176 +- api_docs/spaces.mdx | 2 +- api_docs/stack_alerts.devdocs.json | 8 +- api_docs/stack_alerts.mdx | 2 +- api_docs/stack_connectors.mdx | 2 +- api_docs/task_manager.devdocs.json | 56 +- api_docs/task_manager.mdx | 2 +- api_docs/telemetry.mdx | 2 +- .../telemetry_collection_manager.devdocs.json | 16 +- 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.devdocs.json | 24 +- api_docs/threat_intelligence.mdx | 2 +- api_docs/timelines.devdocs.json | 200 +- api_docs/timelines.mdx | 2 +- api_docs/transform.mdx | 2 +- api_docs/triggers_actions_ui.devdocs.json | 518 +- api_docs/triggers_actions_ui.mdx | 4 +- api_docs/ui_actions.devdocs.json | 26 +- api_docs/ui_actions.mdx | 4 +- api_docs/ui_actions_enhanced.devdocs.json | 192 +- api_docs/ui_actions_enhanced.mdx | 2 +- api_docs/unified_field_list.devdocs.json | 48 +- api_docs/unified_field_list.mdx | 2 +- api_docs/unified_histogram.devdocs.json | 8 +- api_docs/unified_histogram.mdx | 2 +- api_docs/unified_search.devdocs.json | 256 +- api_docs/unified_search.mdx | 2 +- api_docs/unified_search_autocomplete.mdx | 2 +- api_docs/url_forwarding.devdocs.json | 32 +- api_docs/url_forwarding.mdx | 2 +- api_docs/usage_collection.devdocs.json | 26 +- 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.devdocs.json | 8 +- 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.devdocs.json | 16 +- 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.devdocs.json | 4 +- api_docs/vis_type_xy.mdx | 2 +- api_docs/visualizations.devdocs.json | 522 +- api_docs/visualizations.mdx | 2 +- 718 files changed, 54834 insertions(+), 13872 deletions(-) create mode 100644 api_docs/kbn_es.devdocs.json create mode 100644 api_docs/kbn_es.mdx create mode 100644 api_docs/kbn_i18n_react.devdocs.json create mode 100644 api_docs/kbn_i18n_react.mdx create mode 100644 api_docs/kbn_shared_ux_avatar_solution.devdocs.json create mode 100644 api_docs/kbn_shared_ux_avatar_solution.mdx create mode 100644 api_docs/kbn_shared_ux_button_exit_full_screen.devdocs.json create mode 100644 api_docs/kbn_shared_ux_button_exit_full_screen.mdx create mode 100644 api_docs/kbn_shared_ux_link_redirect_app.devdocs.json create mode 100644 api_docs/kbn_shared_ux_link_redirect_app.mdx create mode 100644 api_docs/kbn_ui_shared_deps_src.devdocs.json create mode 100644 api_docs/kbn_ui_shared_deps_src.mdx diff --git a/api_docs/actions.devdocs.json b/api_docs/actions.devdocs.json index 278caf26266e3..3bd6ccebe2cd1 100644 --- a/api_docs/actions.devdocs.json +++ b/api_docs/actions.devdocs.json @@ -18,7 +18,13 @@ "text": "Plugin" }, " implements ", - "Plugin", + { + "pluginId": "@kbn/core-plugins-browser", + "scope": "common", + "docId": "kibKbnCorePluginsBrowserPluginApi", + "section": "def-common.Plugin", + "text": "Plugin" + }, "<", { "pluginId": "actions", @@ -55,7 +61,13 @@ "label": "ctx", "description": [], "signature": [ - "PluginInitializerContext", + { + "pluginId": "@kbn/core-plugins-browser", + "scope": "common", + "docId": "kibKbnCorePluginsBrowserPluginApi", + "section": "def-common.PluginInitializerContext", + "text": "PluginInitializerContext" + }, "<", "Config", ">" @@ -527,7 +539,13 @@ "label": "logger", "description": [], "signature": [ - "Logger" + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + } ], "path": "x-pack/plugins/actions/server/sub_action_framework/sub_action_connector.ts", "deprecated": false, @@ -880,7 +898,13 @@ "description": [], "signature": [ "(source: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ") => ", "HttpRequestExecutionSource" ], @@ -896,7 +920,13 @@ "label": "source", "description": [], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "" ], "path": "x-pack/plugins/actions/server/lib/action_execution_source.ts", @@ -917,7 +947,13 @@ "description": [], "signature": [ "(source: Omit<", - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, ", \"name\">) => ", "SavedObjectExecutionSource" ], @@ -934,7 +970,13 @@ "description": [], "signature": [ "Omit<", - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, ", \"name\">" ], "path": "x-pack/plugins/actions/server/lib/action_execution_source.ts", @@ -1493,7 +1535,13 @@ "label": "logger", "description": [], "signature": [ - "Logger" + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + } ], "path": "x-pack/plugins/actions/server/types.ts", "deprecated": false, @@ -1773,7 +1821,13 @@ "label": "logger", "description": [], "signature": [ - "Logger" + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + } ], "path": "x-pack/plugins/actions/server/sub_action_framework/types.ts", "deprecated": false, @@ -2294,9 +2348,21 @@ "description": [], "signature": [ "(request: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ") => Promise<", - "PublicMethodsOf", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.PublicMethodsOf", + "text": "PublicMethodsOf" + }, "<", { "pluginId": "actions", @@ -2319,7 +2385,13 @@ "label": "request", "description": [], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "" ], "path": "x-pack/plugins/actions/server/plugin.ts", @@ -2339,9 +2411,21 @@ "description": [], "signature": [ "(request: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ") => ", - "PublicMethodsOf", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.PublicMethodsOf", + "text": "PublicMethodsOf" + }, "<", { "pluginId": "actions", @@ -2364,7 +2448,13 @@ "label": "request", "description": [], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "" ], "path": "x-pack/plugins/actions/server/plugin.ts", @@ -3644,10 +3734,13 @@ { "parentPluginId": "actions", "id": "def-common.AlertingConnectorFeature.name", - "type": "string", + "type": "Any", "tags": [], "label": "name", "description": [], + "signature": [ + "any" + ], "path": "x-pack/plugins/actions/common/connector_feature_config.ts", "deprecated": false, "trackAdoption": false @@ -3655,10 +3748,13 @@ { "parentPluginId": "actions", "id": "def-common.AlertingConnectorFeature.compatibility", - "type": "string", + "type": "Any", "tags": [], "label": "compatibility", "description": [], + "signature": [ + "any" + ], "path": "x-pack/plugins/actions/common/connector_feature_config.ts", "deprecated": false, "trackAdoption": false @@ -3691,10 +3787,13 @@ { "parentPluginId": "actions", "id": "def-common.CasesConnectorFeature.name", - "type": "string", + "type": "Any", "tags": [], "label": "name", "description": [], + "signature": [ + "any" + ], "path": "x-pack/plugins/actions/common/connector_feature_config.ts", "deprecated": false, "trackAdoption": false @@ -3702,10 +3801,13 @@ { "parentPluginId": "actions", "id": "def-common.CasesConnectorFeature.compatibility", - "type": "string", + "type": "Any", "tags": [], "label": "compatibility", "description": [], + "signature": [ + "any" + ], "path": "x-pack/plugins/actions/common/connector_feature_config.ts", "deprecated": false, "trackAdoption": false @@ -3753,10 +3855,13 @@ { "parentPluginId": "actions", "id": "def-common.SecuritySolutionFeature.name", - "type": "string", + "type": "Any", "tags": [], "label": "name", "description": [], + "signature": [ + "any" + ], "path": "x-pack/plugins/actions/common/connector_feature_config.ts", "deprecated": false, "trackAdoption": false @@ -3764,10 +3869,13 @@ { "parentPluginId": "actions", "id": "def-common.SecuritySolutionFeature.compatibility", - "type": "string", + "type": "Any", "tags": [], "label": "compatibility", "description": [], + "signature": [ + "any" + ], "path": "x-pack/plugins/actions/common/connector_feature_config.ts", "deprecated": false, "trackAdoption": false @@ -3800,10 +3908,13 @@ { "parentPluginId": "actions", "id": "def-common.UptimeConnectorFeature.name", - "type": "string", + "type": "Any", "tags": [], "label": "name", "description": [], + "signature": [ + "any" + ], "path": "x-pack/plugins/actions/common/connector_feature_config.ts", "deprecated": false, "trackAdoption": false @@ -3811,10 +3922,13 @@ { "parentPluginId": "actions", "id": "def-common.UptimeConnectorFeature.compatibility", - "type": "string", + "type": "Any", "tags": [], "label": "compatibility", "description": [], + "signature": [ + "any" + ], "path": "x-pack/plugins/actions/common/connector_feature_config.ts", "deprecated": false, "trackAdoption": false diff --git a/api_docs/actions.mdx b/api_docs/actions.mdx index dfbf7265b6b6d..e5bab795ef4be 100644 --- a/api_docs/actions.mdx +++ b/api_docs/actions.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/actions title: "actions" image: https://source.unsplash.com/400x175/?github description: API docs for the actions plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'actions'] --- import actionsObj from './actions.devdocs.json'; @@ -21,7 +21,7 @@ Contact [Response Ops](https://github.com/orgs/elastic/teams/response-ops) for q | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 225 | 0 | 220 | 24 | +| 225 | 8 | 220 | 24 | ## Client diff --git a/api_docs/advanced_settings.devdocs.json b/api_docs/advanced_settings.devdocs.json index 7942869bbf8cb..66331982f81ce 100644 --- a/api_docs/advanced_settings.devdocs.json +++ b/api_docs/advanced_settings.devdocs.json @@ -304,11 +304,29 @@ "description": [], "signature": [ "({\n def,\n name,\n value,\n isCustom,\n isOverridden,\n}: { def: ", - "PublicUiSettingsParams", + { + "pluginId": "@kbn/core-ui-settings-common", + "scope": "common", + "docId": "kibKbnCoreUiSettingsCommonPluginApi", + "section": "def-common.PublicUiSettingsParams", + "text": "PublicUiSettingsParams" + }, " & ", - "UserProvidedValues", + { + "pluginId": "@kbn/core-ui-settings-common", + "scope": "common", + "docId": "kibKbnCoreUiSettingsCommonPluginApi", + "section": "def-common.UserProvidedValues", + "text": "UserProvidedValues" + }, "; name: string; value: ", - "SavedObjectAttribute", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectAttribute", + "text": "SavedObjectAttribute" + }, "; isCustom: boolean; isOverridden: boolean; }) => ", "FieldSetting" ], @@ -335,9 +353,21 @@ "label": "def", "description": [], "signature": [ - "PublicUiSettingsParams", + { + "pluginId": "@kbn/core-ui-settings-common", + "scope": "common", + "docId": "kibKbnCoreUiSettingsCommonPluginApi", + "section": "def-common.PublicUiSettingsParams", + "text": "PublicUiSettingsParams" + }, " & ", - "UserProvidedValues", + { + "pluginId": "@kbn/core-ui-settings-common", + "scope": "common", + "docId": "kibKbnCoreUiSettingsCommonPluginApi", + "section": "def-common.UserProvidedValues", + "text": "UserProvidedValues" + }, "" ], "path": "src/plugins/advanced_settings/public/management_app/lib/to_editable_config.ts", @@ -363,9 +393,21 @@ "label": "value", "description": [], "signature": [ - "SavedObjectAttributeSingle", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectAttributeSingle", + "text": "SavedObjectAttributeSingle" + }, " | ", - "SavedObjectAttributeSingle", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectAttributeSingle", + "text": "SavedObjectAttributeSingle" + }, "[]" ], "path": "src/plugins/advanced_settings/public/management_app/lib/to_editable_config.ts", diff --git a/api_docs/advanced_settings.mdx b/api_docs/advanced_settings.mdx index 0df95c1c05aae..68bfea1c6d47e 100644 --- a/api_docs/advanced_settings.mdx +++ b/api_docs/advanced_settings.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/advancedSettings title: "advancedSettings" image: https://source.unsplash.com/400x175/?github description: API docs for the advancedSettings plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'advancedSettings'] --- import advancedSettingsObj from './advanced_settings.devdocs.json'; diff --git a/api_docs/aiops.mdx b/api_docs/aiops.mdx index a0cde4b0714b8..0e82fea5d7f35 100644 --- a/api_docs/aiops.mdx +++ b/api_docs/aiops.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/aiops title: "aiops" image: https://source.unsplash.com/400x175/?github description: API docs for the aiops plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'aiops'] --- import aiopsObj from './aiops.devdocs.json'; diff --git a/api_docs/alerting.devdocs.json b/api_docs/alerting.devdocs.json index 8c5f809ce25dd..01fb744846ab8 100644 --- a/api_docs/alerting.devdocs.json +++ b/api_docs/alerting.devdocs.json @@ -25,7 +25,13 @@ "text": "SanitizedRule" }, ") => string | ", - "JsonObject" + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.JsonObject", + "text": "JsonObject" + } ], "path": "x-pack/plugins/alerting/public/alert_navigation_registry/types.ts", "deprecated": false, @@ -551,9 +557,21 @@ ", filterOpts: ", "AlertingAuthorizationFilterOpts", ") => Promise<{ filter?: ", - "JsonObject", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.JsonObject", + "text": "JsonObject" + }, " | ", - "KueryNode", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryNode", + "text": "KueryNode" + }, " | undefined; ensureRuleTypeIsAuthorized: (ruleTypeId: string, consumer: string, auth: string) => void; }>" ], "path": "x-pack/plugins/alerting/server/authorization/alerting_authorization.ts", @@ -634,9 +652,21 @@ "text": "WriteOperations" }, ") => Promise<{ filter?: ", - "JsonObject", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.JsonObject", + "text": "JsonObject" + }, " | ", - "KueryNode", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryNode", + "text": "KueryNode" + }, " | undefined; ensureRuleTypeIsAuthorized: (ruleTypeId: string, consumer: string, auth: string) => void; }>" ], "path": "x-pack/plugins/alerting/server/authorization/alerting_authorization.ts", @@ -1200,7 +1230,13 @@ "description": [], "signature": [ "string | ", - "KueryNode", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryNode", + "text": "KueryNode" + }, " | undefined" ], "path": "x-pack/plugins/alerting/server/rules_client/rules_client.ts", @@ -1584,7 +1620,13 @@ "description": [], "signature": [ "(request: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ") => ", "RulesClientApi" ], @@ -1600,7 +1642,13 @@ "label": "request", "description": [], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "" ], "path": "x-pack/plugins/alerting/server/plugin.ts", @@ -1620,9 +1668,21 @@ "description": [], "signature": [ "(request: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ") => ", - "PublicMethodsOf", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.PublicMethodsOf", + "text": "PublicMethodsOf" + }, "<", { "pluginId": "alerting", @@ -1645,7 +1705,13 @@ "label": "request", "description": [], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "" ], "path": "x-pack/plugins/alerting/server/plugin.ts", @@ -1748,7 +1814,13 @@ "label": "logger", "description": [], "signature": [ - "Logger" + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + } ], "path": "x-pack/plugins/alerting/server/types.ts", "deprecated": false, @@ -1969,7 +2041,13 @@ "label": "savedObjectsClient", "description": [], "signature": [ - "SavedObjectsClientContract" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + } ], "path": "x-pack/plugins/alerting/server/types.ts", "deprecated": false, @@ -1983,7 +2061,13 @@ "label": "uiSettingsClient", "description": [], "signature": [ - "IUiSettingsClient" + { + "pluginId": "@kbn/core-ui-settings-server", + "scope": "server", + "docId": "kibKbnCoreUiSettingsServerPluginApi", + "section": "def-server.IUiSettingsClient", + "text": "IUiSettingsClient" + } ], "path": "x-pack/plugins/alerting/server/types.ts", "deprecated": false, @@ -1997,7 +2081,13 @@ "label": "scopedClusterClient", "description": [], "signature": [ - "IScopedClusterClient" + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.IScopedClusterClient", + "text": "IScopedClusterClient" + } ], "path": "x-pack/plugins/alerting/server/types.ts", "deprecated": false, @@ -2083,7 +2173,13 @@ "label": "references", "description": [], "signature": [ - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]" ], "path": "x-pack/plugins/alerting/server/types.ts", @@ -2356,7 +2452,13 @@ "text": "RuleParamsAndRefs" }, "; injectReferences: (params: ExtractedParams, references: ", - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]) => Params; } | undefined" ], "path": "x-pack/plugins/alerting/server/types.ts", @@ -2697,7 +2799,13 @@ "label": "RuleActionParams", "description": [], "signature": [ - "SavedObjectAttributes" + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectAttributes", + "text": "SavedObjectAttributes" + } ], "path": "x-pack/plugins/alerting/common/rule.ts", "deprecated": false, @@ -2904,7 +3012,7 @@ "MuteOptions", ") => Promise; unmuteInstance: ({ alertId, alertInstanceId }: ", "MuteOptions", - ") => Promise; runSoon: ({ id }: { id: string; }) => Promise; listAlertTypes: () => Promise Promise; runSoon: ({ id }: { id: string; }) => Promise; listAlertTypes: () => Promise>; getSpaceId: () => string | undefined; }" ], @@ -4234,7 +4342,13 @@ "text": "IntervalSchedule" }, " extends ", - "SavedObjectAttributes" + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectAttributes", + "text": "SavedObjectAttributes" + } ], "path": "x-pack/plugins/alerting/common/rule.ts", "deprecated": false, @@ -4991,7 +5105,13 @@ "label": "params", "description": [], "signature": [ - "SavedObjectAttributes" + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectAttributes", + "text": "SavedObjectAttributes" + } ], "path": "x-pack/plugins/alerting/common/rule.ts", "deprecated": false, @@ -5200,7 +5320,13 @@ "text": "RuleMonitoring" }, " extends ", - "SavedObjectAttributes" + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectAttributes", + "text": "SavedObjectAttributes" + } ], "path": "x-pack/plugins/alerting/common/rule.ts", "deprecated": false, @@ -5247,7 +5373,13 @@ "text": "RuleMonitoringHistory" }, " extends ", - "SavedObjectAttributes" + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectAttributes", + "text": "SavedObjectAttributes" + } ], "path": "x-pack/plugins/alerting/common/rule.ts", "deprecated": false, @@ -5394,7 +5526,13 @@ "label": "state", "description": [], "signature": [ - "JsonObject" + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.JsonObject", + "text": "JsonObject" + } ], "path": "x-pack/plugins/alerting/common/rule_navigation.ts", "deprecated": false, @@ -5933,7 +6071,13 @@ "label": "MappedParams", "description": [], "signature": [ - "SavedObjectAttributes", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectAttributes", + "text": "SavedObjectAttributes" + }, " & ", { "pluginId": "alerting", @@ -6024,7 +6168,13 @@ "text": "SanitizedRule" }, " & Omit<", - "SavedObjectsResolveResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsResolveResponse", + "text": "SavedObjectsResolveResponse" + }, ", \"saved_object\">" ], "path": "x-pack/plugins/alerting/common/rule.ts", @@ -6040,9 +6190,21 @@ "label": "RuleActionParam", "description": [], "signature": [ - "SavedObjectAttributeSingle", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectAttributeSingle", + "text": "SavedObjectAttributeSingle" + }, " | ", - "SavedObjectAttributeSingle", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectAttributeSingle", + "text": "SavedObjectAttributeSingle" + }, "[]" ], "path": "x-pack/plugins/alerting/common/rule.ts", @@ -6058,7 +6220,13 @@ "label": "RuleActionParams", "description": [], "signature": [ - "SavedObjectAttributes" + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectAttributes", + "text": "SavedObjectAttributes" + } ], "path": "x-pack/plugins/alerting/common/rule.ts", "deprecated": false, diff --git a/api_docs/alerting.mdx b/api_docs/alerting.mdx index f4d63e40b4b01..99d89e0c5a853 100644 --- a/api_docs/alerting.mdx +++ b/api_docs/alerting.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/alerting title: "alerting" image: https://source.unsplash.com/400x175/?github description: API docs for the alerting plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'alerting'] --- import alertingObj from './alerting.devdocs.json'; diff --git a/api_docs/apm.devdocs.json b/api_docs/apm.devdocs.json index ac49342b5faa2..d2ab8b0996269 100644 --- a/api_docs/apm.devdocs.json +++ b/api_docs/apm.devdocs.json @@ -66,7 +66,13 @@ "<{ serviceName: undefined; } | ({ serviceName: string; } & { serviceOverviewTab?: \"metrics\" | \"logs\" | \"traces\" | \"errors\" | undefined; } & { query: { environment: \"ENVIRONMENT_NOT_DEFINED\" | \"ENVIRONMENT_ALL\" | ", "Branded", "; }; })>; }" ], "path": "x-pack/plugins/apm/public/plugin.ts", @@ -110,7 +116,13 @@ "text": "APMPlugin" }, " implements ", - "Plugin", + { + "pluginId": "@kbn/core-plugins-server", + "scope": "server", + "docId": "kibKbnCorePluginsServerPluginApi", + "section": "def-server.Plugin", + "text": "Plugin" + }, "<", { "pluginId": "apm", @@ -151,7 +163,13 @@ "label": "initContext", "description": [], "signature": [ - "PluginInitializerContext", + { + "pluginId": "@kbn/core-plugins-server", + "scope": "server", + "docId": "kibKbnCorePluginsServerPluginApi", + "section": "def-server.PluginInitializerContext", + "text": "PluginInitializerContext" + }, "" ], "path": "x-pack/plugins/apm/server/plugin.ts", @@ -171,7 +189,13 @@ "description": [], "signature": [ "(core: ", - "CoreSetup", + { + "pluginId": "@kbn/core-lifecycle-server", + "scope": "server", + "docId": "kibKbnCoreLifecycleServerPluginApi", + "section": "def-server.CoreSetup", + "text": "CoreSetup" + }, "<", "APMPluginStartDependencies", ", unknown>, plugins: ", @@ -183,7 +207,13 @@ "; telemetryCollectionEnabled: boolean; metricsInterval: number; agent: Readonly<{} & { migrations: Readonly<{} & { enabled: boolean; }>; }>; }>>; getApmIndices: () => Promise<", "ApmIndicesConfig", ">; createApmEventClient: ({ request, context, debug, }: { debug?: boolean | undefined; request: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "; context: ", "ApmPluginRequestHandlerContext", "; }) => Promise<", @@ -202,7 +232,13 @@ "label": "core", "description": [], "signature": [ - "CoreSetup", + { + "pluginId": "@kbn/core-lifecycle-server", + "scope": "server", + "docId": "kibKbnCoreLifecycleServerPluginApi", + "section": "def-server.CoreSetup", + "text": "CoreSetup" + }, "<", "APMPluginStartDependencies", ", unknown>" @@ -239,7 +275,13 @@ "description": [], "signature": [ "(core: ", - "CoreStart", + { + "pluginId": "@kbn/core-lifecycle-server", + "scope": "server", + "docId": "kibKbnCoreLifecycleServerPluginApi", + "section": "def-server.CoreStart", + "text": "CoreStart" + }, ") => void" ], "path": "x-pack/plugins/apm/server/plugin.ts", @@ -254,7 +296,13 @@ "label": "core", "description": [], "signature": [ - "CoreStart" + { + "pluginId": "@kbn/core-lifecycle-server", + "scope": "server", + "docId": "kibKbnCoreLifecycleServerPluginApi", + "section": "def-server.CoreStart", + "text": "CoreStart" + } ], "path": "x-pack/plugins/apm/server/plugin.ts", "deprecated": false, @@ -305,7 +353,13 @@ "label": "request", "description": [], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "" ], "path": "x-pack/plugins/apm/server/routes/typings.ts", @@ -320,7 +374,13 @@ "label": "context", "description": [], "signature": [ - "RequestHandlerContext", + { + "pluginId": "@kbn/core-http-request-handler-context-server", + "scope": "server", + "docId": "kibKbnCoreHttpRequestHandlerContextServerPluginApi", + "section": "def-server.RequestHandlerContext", + "text": "RequestHandlerContext" + }, " & { licensing: Promise<", { "pluginId": "licensing", @@ -389,7 +449,13 @@ "label": "logger", "description": [], "signature": [ - "Logger" + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + } ], "path": "x-pack/plugins/apm/server/routes/typings.ts", "deprecated": false, @@ -466,7 +532,13 @@ "text": "LicensingPluginStart" }, ">; }; observability: { setup: { getAlertDetailsConfig(): Readonly<{} & { apm: Readonly<{} & { enabled: boolean; }>; metrics: Readonly<{} & { enabled: boolean; }>; logs: Readonly<{} & { enabled: boolean; }>; uptime: Readonly<{} & { enabled: boolean; }>; }>; getScopedAnnotationsClient: (requestContext: ", - "RequestHandlerContext", + { + "pluginId": "@kbn/core-http-request-handler-context-server", + "scope": "server", + "docId": "kibKbnCoreHttpRequestHandlerContextServerPluginApi", + "section": "def-server.RequestHandlerContext", + "text": "RequestHandlerContext" + }, " & { licensing: Promise<", { "pluginId": "licensing", @@ -476,7 +548,13 @@ "text": "LicensingApiRequestHandlerContext" }, ">; }, request: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ") => Promise<{ readonly index: string; create: (createParams: { annotation: { type: string; }; '@timestamp': string; message: string; } & { tags?: string[] | undefined; service?: { name?: string | undefined; environment?: string | undefined; version?: string | undefined; } | undefined; }) => Promise<{ _id: string; _index: string; _source: ", "Annotation", "; }>; getById: (getByIdParams: { id: string; }) => Promise<", @@ -780,7 +858,13 @@ "description": [], "signature": [ "{ \"GET /internal/apm/settings/labs\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/settings/labs\", undefined, ", { "pluginId": "apm", @@ -792,7 +876,13 @@ ", { labsItems: string[]; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/time_range_metadata\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/time_range_metadata\", ", "TypeC", "<{ query: ", @@ -824,7 +914,13 @@ ", ", "APMRouteCreateOptions", ">; \"GET /internal/apm/debug-telemetry\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/debug-telemetry\", undefined, ", { "pluginId": "apm", @@ -836,7 +932,13 @@ ", unknown, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/services/{serviceName}/infrastructure_attributes\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/services/{serviceName}/infrastructure_attributes\", ", "TypeC", "<{ path: ", @@ -868,7 +970,13 @@ "<", "StringC", ", ", - "NonEmptyStringBrand", + { + "pluginId": "@kbn/io-ts-utils", + "scope": "common", + "docId": "kibKbnIoTsUtilsPluginApi", + "section": "def-common.NonEmptyStringBrand", + "text": "NonEmptyStringBrand" + }, ">]>; }>]>; }>, ", { "pluginId": "apm", @@ -880,7 +988,13 @@ ", { containerIds: string[]; hostNames: string[]; podNames: string[]; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/traces/{traceId}/span_links/{spanId}/children\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/traces/{traceId}/span_links/{spanId}/children\", ", "TypeC", "<{ path: ", @@ -914,7 +1028,13 @@ "[]; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/traces/{traceId}/span_links/{spanId}/parents\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/traces/{traceId}/span_links/{spanId}/parents\", ", "TypeC", "<{ path: ", @@ -992,7 +1112,13 @@ "[]; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/storage_explorer/get_services\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/storage_explorer/get_services\", ", "TypeC", "<{ query: ", @@ -1034,7 +1160,13 @@ "<", "StringC", ", ", - "NonEmptyStringBrand", + { + "pluginId": "@kbn/io-ts-utils", + "scope": "common", + "docId": "kibKbnIoTsUtilsPluginApi", + "section": "def-common.NonEmptyStringBrand", + "text": "NonEmptyStringBrand" + }, ">]>; }>, ", "TypeC", "<{ kuery: ", @@ -1050,7 +1182,13 @@ ", { services: { serviceName: string; }[]; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/storage_explorer/is_cross_cluster_search\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/storage_explorer/is_cross_cluster_search\", undefined, ", { "pluginId": "apm", @@ -1062,7 +1200,13 @@ ", { isCrossClusterSearch: boolean; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/storage_explorer_summary_stats\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/storage_explorer_summary_stats\", ", "TypeC", "<{ query: ", @@ -1108,7 +1252,13 @@ "<", "StringC", ", ", - "NonEmptyStringBrand", + { + "pluginId": "@kbn/io-ts-utils", + "scope": "common", + "docId": "kibKbnIoTsUtilsPluginApi", + "section": "def-common.NonEmptyStringBrand", + "text": "NonEmptyStringBrand" + }, ">]>; }>, ", "TypeC", "<{ kuery: ", @@ -1130,7 +1280,13 @@ ", { tracesPerMinute: number; numberOfServices: number; totalSize: number; diskSpaceUsedPct: number; estimatedIncrementalSize: number; dailyDataGeneration: number; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/storage_explorer/privileges\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/storage_explorer/privileges\", undefined, ", { "pluginId": "apm", @@ -1142,7 +1298,13 @@ ", { hasPrivileges: boolean; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/storage_chart\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/storage_chart\", ", "TypeC", "<{ query: ", @@ -1188,7 +1350,13 @@ "<", "StringC", ", ", - "NonEmptyStringBrand", + { + "pluginId": "@kbn/io-ts-utils", + "scope": "common", + "docId": "kibKbnIoTsUtilsPluginApi", + "section": "def-common.NonEmptyStringBrand", + "text": "NonEmptyStringBrand" + }, ">]>; }>, ", "TypeC", "<{ kuery: ", @@ -1210,7 +1378,13 @@ ", { storageTimeSeries: { serviceName: string; timeseries: { x: number; y: number; }[]; }[]; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/services/{serviceName}/storage_details\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/services/{serviceName}/storage_details\", ", "TypeC", "<{ path: ", @@ -1260,7 +1434,13 @@ "<", "StringC", ", ", - "NonEmptyStringBrand", + { + "pluginId": "@kbn/io-ts-utils", + "scope": "common", + "docId": "kibKbnIoTsUtilsPluginApi", + "section": "def-common.NonEmptyStringBrand", + "text": "NonEmptyStringBrand" + }, ">]>; }>, ", "TypeC", "<{ kuery: ", @@ -1290,7 +1470,13 @@ "; docs: number; size: number; }[]; indicesStats: { indexName: string; numberOfDocs: number; primary?: string | number | undefined; replica?: string | number | undefined; size?: number | undefined; dataStream?: string | undefined; lifecyclePhase?: string | undefined; }[]; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/storage_explorer\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/storage_explorer\", ", "TypeC", "<{ query: ", @@ -1336,7 +1522,13 @@ "<", "StringC", ", ", - "NonEmptyStringBrand", + { + "pluginId": "@kbn/io-ts-utils", + "scope": "common", + "docId": "kibKbnIoTsUtilsPluginApi", + "section": "def-common.NonEmptyStringBrand", + "text": "NonEmptyStringBrand" + }, ">]>; }>, ", "TypeC", "<{ kuery: ", @@ -1360,7 +1552,13 @@ "; sampling: number; }[]; }, ", "APMRouteCreateOptions", ">; \"POST /api/apm/agent_keys\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"POST /api/apm/agent_keys\", ", "TypeC", "<{ body: ", @@ -1392,7 +1590,13 @@ "; }, ", "APMRouteCreateOptions", ">; \"POST /internal/apm/api_key/invalidate\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"POST /internal/apm/api_key/invalidate\", ", "TypeC", "<{ body: ", @@ -1410,7 +1614,13 @@ ", { invalidatedAgentKeys: string[]; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/agent_keys/privileges\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/agent_keys/privileges\", undefined, ", { "pluginId": "apm", @@ -1422,7 +1632,13 @@ ", { areApiKeysEnabled: boolean; isAdmin: boolean; canManage: boolean; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/agent_keys\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/agent_keys\", undefined, ", { "pluginId": "apm", @@ -1442,7 +1658,13 @@ "[]; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/event_metadata/{processorEvent}/{id}\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/event_metadata/{processorEvent}/{id}\", ", "TypeC", "<{ path: ", @@ -1502,7 +1724,13 @@ ", { metadata: Partial>; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/has_data\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/has_data\", undefined, ", { "pluginId": "apm", @@ -1514,7 +1742,13 @@ ", { hasData: boolean; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/fallback_to_transactions\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/fallback_to_transactions\", ", "PartialC", "<{ query: ", @@ -1540,7 +1774,13 @@ ", { fallbackToTransactions: boolean; }, ", "APMRouteCreateOptions", ">; \"POST /internal/apm/correlations/p_values/transactions\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"POST /internal/apm/correlations/p_values/transactions\", ", "TypeC", "<{ body: ", @@ -1570,7 +1810,13 @@ "<", "StringC", ", ", - "NonEmptyStringBrand", + { + "pluginId": "@kbn/io-ts-utils", + "scope": "common", + "docId": "kibKbnIoTsUtilsPluginApi", + "section": "def-common.NonEmptyStringBrand", + "text": "NonEmptyStringBrand" + }, ">]>; }>, ", "TypeC", "<{ kuery: ", @@ -1602,7 +1848,13 @@ " | undefined; }, ", "APMRouteCreateOptions", ">; \"POST /internal/apm/correlations/significant_correlations/transactions\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"POST /internal/apm/correlations/significant_correlations/transactions\", ", "TypeC", "<{ body: ", @@ -1632,7 +1884,13 @@ "<", "StringC", ", ", - "NonEmptyStringBrand", + { + "pluginId": "@kbn/io-ts-utils", + "scope": "common", + "docId": "kibKbnIoTsUtilsPluginApi", + "section": "def-common.NonEmptyStringBrand", + "text": "NonEmptyStringBrand" + }, ">]>; }>, ", "TypeC", "<{ kuery: ", @@ -1672,7 +1930,13 @@ " | undefined; }, ", "APMRouteCreateOptions", ">; \"POST /internal/apm/correlations/field_value_pairs/transactions\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"POST /internal/apm/correlations/field_value_pairs/transactions\", ", "TypeC", "<{ body: ", @@ -1698,7 +1962,13 @@ "<", "StringC", ", ", - "NonEmptyStringBrand", + { + "pluginId": "@kbn/io-ts-utils", + "scope": "common", + "docId": "kibKbnIoTsUtilsPluginApi", + "section": "def-common.NonEmptyStringBrand", + "text": "NonEmptyStringBrand" + }, ">]>; }>, ", "TypeC", "<{ kuery: ", @@ -1728,7 +1998,13 @@ "[]; errors: any[]; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/correlations/field_value_stats/transactions\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/correlations/field_value_stats/transactions\", ", "TypeC", "<{ query: ", @@ -1754,7 +2030,13 @@ "<", "StringC", ", ", - "NonEmptyStringBrand", + { + "pluginId": "@kbn/io-ts-utils", + "scope": "common", + "docId": "kibKbnIoTsUtilsPluginApi", + "section": "def-common.NonEmptyStringBrand", + "text": "NonEmptyStringBrand" + }, ">]>; }>, ", "TypeC", "<{ kuery: ", @@ -1788,7 +2070,13 @@ ", ", "APMRouteCreateOptions", ">; \"POST /internal/apm/correlations/field_stats/transactions\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"POST /internal/apm/correlations/field_stats/transactions\", ", "TypeC", "<{ body: ", @@ -1820,7 +2108,13 @@ "<", "StringC", ", ", - "NonEmptyStringBrand", + { + "pluginId": "@kbn/io-ts-utils", + "scope": "common", + "docId": "kibKbnIoTsUtilsPluginApi", + "section": "def-common.NonEmptyStringBrand", + "text": "NonEmptyStringBrand" + }, ">]>; }>, ", "TypeC", "<{ kuery: ", @@ -1844,7 +2138,13 @@ "[]; errors: any[]; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/correlations/field_candidates/transactions\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/correlations/field_candidates/transactions\", ", "TypeC", "<{ query: ", @@ -1870,7 +2170,13 @@ "<", "StringC", ", ", - "NonEmptyStringBrand", + { + "pluginId": "@kbn/io-ts-utils", + "scope": "common", + "docId": "kibKbnIoTsUtilsPluginApi", + "section": "def-common.NonEmptyStringBrand", + "text": "NonEmptyStringBrand" + }, ">]>; }>, ", "TypeC", "<{ kuery: ", @@ -1892,7 +2198,13 @@ ", { fieldCandidates: string[]; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/dependencies/operations/spans\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/dependencies/operations/spans\", ", "TypeC", "<{ query: ", @@ -1916,7 +2228,13 @@ "<", "StringC", ", ", - "NonEmptyStringBrand", + { + "pluginId": "@kbn/io-ts-utils", + "scope": "common", + "docId": "kibKbnIoTsUtilsPluginApi", + "section": "def-common.NonEmptyStringBrand", + "text": "NonEmptyStringBrand" + }, ">]>; }>, ", "TypeC", "<{ kuery: ", @@ -1946,7 +2264,13 @@ "[]; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/dependencies/charts/distribution\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/dependencies/charts/distribution\", ", "TypeC", "<{ query: ", @@ -1982,7 +2306,13 @@ "<", "StringC", ", ", - "NonEmptyStringBrand", + { + "pluginId": "@kbn/io-ts-utils", + "scope": "common", + "docId": "kibKbnIoTsUtilsPluginApi", + "section": "def-common.NonEmptyStringBrand", + "text": "NonEmptyStringBrand" + }, ">]>; }>]>; }>, ", { "pluginId": "apm", @@ -1998,7 +2328,13 @@ "; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/dependencies/operations\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/dependencies/operations\", ", "TypeC", "<{ query: ", @@ -2022,7 +2358,13 @@ "<", "StringC", ", ", - "NonEmptyStringBrand", + { + "pluginId": "@kbn/io-ts-utils", + "scope": "common", + "docId": "kibKbnIoTsUtilsPluginApi", + "section": "def-common.NonEmptyStringBrand", + "text": "NonEmptyStringBrand" + }, ">]>; }>, ", "TypeC", "<{ kuery: ", @@ -2050,7 +2392,13 @@ "[]; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/dependencies/charts/error_rate\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/dependencies/charts/error_rate\", ", "TypeC", "<{ query: ", @@ -2086,7 +2434,13 @@ "<", "StringC", ", ", - "NonEmptyStringBrand", + { + "pluginId": "@kbn/io-ts-utils", + "scope": "common", + "docId": "kibKbnIoTsUtilsPluginApi", + "section": "def-common.NonEmptyStringBrand", + "text": "NonEmptyStringBrand" + }, ">]>; }>, ", "PartialC", "<{ offset: ", @@ -2102,7 +2456,13 @@ ", { currentTimeseries: { x: number; y: number; }[]; comparisonTimeseries: { x: number; y: number; }[] | null; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/dependencies/charts/throughput\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/dependencies/charts/throughput\", ", "TypeC", "<{ query: ", @@ -2138,7 +2498,13 @@ "<", "StringC", ", ", - "NonEmptyStringBrand", + { + "pluginId": "@kbn/io-ts-utils", + "scope": "common", + "docId": "kibKbnIoTsUtilsPluginApi", + "section": "def-common.NonEmptyStringBrand", + "text": "NonEmptyStringBrand" + }, ">]>; }>, ", "PartialC", "<{ offset: ", @@ -2154,7 +2520,13 @@ ", { currentTimeseries: { x: number; y: number | null; }[]; comparisonTimeseries: { x: number; y: number | null; }[] | null; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/dependencies/charts/latency\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/dependencies/charts/latency\", ", "TypeC", "<{ query: ", @@ -2190,7 +2562,13 @@ "<", "StringC", ", ", - "NonEmptyStringBrand", + { + "pluginId": "@kbn/io-ts-utils", + "scope": "common", + "docId": "kibKbnIoTsUtilsPluginApi", + "section": "def-common.NonEmptyStringBrand", + "text": "NonEmptyStringBrand" + }, ">]>; }>, ", "PartialC", "<{ offset: ", @@ -2206,7 +2584,13 @@ ", { currentTimeseries: { x: number; y: number; }[]; comparisonTimeseries: { x: number; y: number; }[] | null; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/dependencies/metadata\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/dependencies/metadata\", ", "TypeC", "<{ query: ", @@ -2232,7 +2616,13 @@ ", { metadata: { spanType: string | undefined; spanSubtype: string | undefined; }; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/dependencies/upstream_services\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/dependencies/upstream_services\", ", "IntersectionC", "<[", @@ -2270,7 +2660,13 @@ "<", "StringC", ", ", - "NonEmptyStringBrand", + { + "pluginId": "@kbn/io-ts-utils", + "scope": "common", + "docId": "kibKbnIoTsUtilsPluginApi", + "section": "def-common.NonEmptyStringBrand", + "text": "NonEmptyStringBrand" + }, ">]>; }>, ", "PartialC", "<{ offset: ", @@ -2308,7 +2704,13 @@ "; }[]; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/dependencies/top_dependencies\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/dependencies/top_dependencies\", ", "IntersectionC", "<[", @@ -2334,7 +2736,13 @@ "<", "StringC", ", ", - "NonEmptyStringBrand", + { + "pluginId": "@kbn/io-ts-utils", + "scope": "common", + "docId": "kibKbnIoTsUtilsPluginApi", + "section": "def-common.NonEmptyStringBrand", + "text": "NonEmptyStringBrand" + }, ">]>; }>, ", "TypeC", "<{ kuery: ", @@ -2378,7 +2786,13 @@ "; }[]; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/fleet/java_agent_versions\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/fleet/java_agent_versions\", undefined, ", { "pluginId": "apm", @@ -2390,7 +2804,13 @@ ", { versions: string[] | undefined; }, ", "APMRouteCreateOptions", ">; \"POST /internal/apm/fleet/cloud_apm_package_policy\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"POST /internal/apm/fleet/cloud_apm_package_policy\", undefined, ", { "pluginId": "apm", @@ -2410,7 +2830,13 @@ "; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/fleet/migration_check\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/fleet/migration_check\", undefined, ", { "pluginId": "apm", @@ -2430,7 +2856,13 @@ " | undefined; has_apm_integrations: boolean; latest_apm_package_version: string; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/fleet/apm_server_schema/unsupported\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/fleet/apm_server_schema/unsupported\", undefined, ", { "pluginId": "apm", @@ -2442,7 +2874,13 @@ ", { unsupported: { key: string; value: any; }[]; }, ", "APMRouteCreateOptions", ">; \"POST /api/apm/fleet/apm_server_schema\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"POST /api/apm/fleet/apm_server_schema\", ", "TypeC", "<{ body: ", @@ -2464,7 +2902,13 @@ ", void, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/fleet/agents\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/fleet/agents\", undefined, ", { "pluginId": "apm", @@ -2476,7 +2920,13 @@ ", { cloudStandaloneSetup: { apmServerUrl: string | undefined; secretToken: string | undefined; } | undefined; fleetAgents: never[]; isFleetEnabled: false; } | { cloudStandaloneSetup: { apmServerUrl: string | undefined; secretToken: string | undefined; } | undefined; isFleetEnabled: true; fleetAgents: { id: string; name: string; apmServerUrl: any; secretToken: any; }[]; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/fleet/has_apm_policies\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/fleet/has_apm_policies\", undefined, ", { "pluginId": "apm", @@ -2488,7 +2938,13 @@ ", { hasApmPolicies: boolean; }, ", "APMRouteCreateOptions", ">; \"DELETE /api/apm/sourcemaps/{id}\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"DELETE /api/apm/sourcemaps/{id}\", ", "TypeC", "<{ path: ", @@ -2506,7 +2962,13 @@ ", void, ", "APMRouteCreateOptions", ">; \"POST /api/apm/sourcemaps\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"POST /api/apm/sourcemaps\", ", "TypeC", "<{ body: ", @@ -2538,7 +3000,13 @@ " | undefined, ", "APMRouteCreateOptions", ">; \"GET /api/apm/sourcemaps\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/sourcemaps\", undefined, ", { "pluginId": "apm", @@ -2552,7 +3020,13 @@ "[]; } | undefined, ", "APMRouteCreateOptions", ">; \"DELETE /internal/apm/settings/custom_links/{id}\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"DELETE /internal/apm/settings/custom_links/{id}\", ", "TypeC", "<{ path: ", @@ -2570,7 +3044,13 @@ ", { result: string; }, ", "APMRouteCreateOptions", ">; \"PUT /internal/apm/settings/custom_links/{id}\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"PUT /internal/apm/settings/custom_links/{id}\", ", "TypeC", "<{ path: ", @@ -2620,7 +3100,13 @@ ", void, ", "APMRouteCreateOptions", ">; \"POST /internal/apm/settings/custom_links\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"POST /internal/apm/settings/custom_links\", ", "TypeC", "<{ body: ", @@ -2666,7 +3152,13 @@ ", void, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/settings/custom_links\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/settings/custom_links\", ", "PartialC", "<{ query: ", @@ -2692,7 +3184,13 @@ "[]; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/settings/custom_links/transaction\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/settings/custom_links/transaction\", ", "PartialC", "<{ query: ", @@ -2718,7 +3216,13 @@ ", ", "APMRouteCreateOptions", ">; \"POST /internal/apm/settings/apm-indices/save\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"POST /internal/apm/settings/apm-indices/save\", ", "TypeC", "<{ body: ", @@ -2732,11 +3236,23 @@ "text": "APMRouteHandlerResources" }, ", ", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "<{}>, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/settings/apm-indices\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/settings/apm-indices\", undefined, ", { "pluginId": "apm", @@ -2750,7 +3266,13 @@ ", ", "APMRouteCreateOptions", ">; \"GET /internal/apm/settings/apm-index-settings\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/settings/apm-index-settings\", undefined, ", { "pluginId": "apm", @@ -2762,7 +3284,13 @@ ", { apmIndexSettings: { configurationName: \"metric\" | \"error\" | \"span\" | \"transaction\" | \"sourcemap\" | \"onboarding\"; defaultValue: string; savedValue: string | undefined; }[]; }, ", "APMRouteCreateOptions", ">; \"POST /internal/apm/settings/anomaly-detection/update_to_v3\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"POST /internal/apm/settings/anomaly-detection/update_to_v3\", undefined, ", { "pluginId": "apm", @@ -2774,8 +3302,14 @@ ", { update: boolean; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/settings/anomaly-detection/environments\": ", - "ServerRoute", - "<\"GET /internal/apm/settings/anomaly-detection/environments\", undefined, ", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, + "<\"GET /internal/apm/settings/anomaly-detection/environments\", undefined, ", { "pluginId": "apm", "scope": "server", @@ -2786,7 +3320,13 @@ ", { environments: string[]; }, ", "APMRouteCreateOptions", ">; \"POST /internal/apm/settings/anomaly-detection/jobs\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"POST /internal/apm/settings/anomaly-detection/jobs\", ", "TypeC", "<{ body: ", @@ -2804,7 +3344,13 @@ "<", "StringC", ", ", - "NonEmptyStringBrand", + { + "pluginId": "@kbn/io-ts-utils", + "scope": "common", + "docId": "kibKbnIoTsUtilsPluginApi", + "section": "def-common.NonEmptyStringBrand", + "text": "NonEmptyStringBrand" + }, ">]>>; }>; }>, ", { "pluginId": "apm", @@ -2816,7 +3362,13 @@ ", { jobCreated: true; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/settings/anomaly-detection/jobs\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/settings/anomaly-detection/jobs\", undefined, ", { "pluginId": "apm", @@ -2830,7 +3382,13 @@ "[]; hasLegacyJobs: boolean; }, ", "APMRouteCreateOptions", ">; \"GET /api/apm/settings/agent-configuration/agent_name\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/settings/agent-configuration/agent_name\", ", "TypeC", "<{ query: ", @@ -2848,7 +3406,13 @@ ", { agentName: string | undefined; }, ", "APMRouteCreateOptions", ">; \"GET /api/apm/settings/agent-configuration/environments\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/settings/agent-configuration/environments\", ", "PartialC", "<{ query: ", @@ -2866,7 +3430,13 @@ ", { environments: { name: string; alreadyConfigured: boolean; }[]; }, ", "APMRouteCreateOptions", ">; \"POST /api/apm/settings/agent-configuration/search\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"POST /api/apm/settings/agent-configuration/search\", ", "TypeC", "<{ body: ", @@ -2894,13 +3464,25 @@ "text": "APMRouteHandlerResources" }, ", ", - "SearchHit", + { + "pluginId": "@kbn/es-types", + "scope": "server", + "docId": "kibKbnEsTypesPluginApi", + "section": "def-server.SearchHit", + "text": "SearchHit" + }, "<", "AgentConfiguration", ", undefined, undefined> | null, ", "APMRouteCreateOptions", ">; \"PUT /api/apm/settings/agent-configuration\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"PUT /api/apm/settings/agent-configuration\", ", "IntersectionC", "<[", @@ -2948,7 +3530,13 @@ ", void, ", "APMRouteCreateOptions", ">; \"DELETE /api/apm/settings/agent-configuration\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"DELETE /api/apm/settings/agent-configuration\", ", "TypeC", "<{ body: ", @@ -2970,7 +3558,13 @@ ", { result: string; }, ", "APMRouteCreateOptions", ">; \"GET /api/apm/settings/agent-configuration/view\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/settings/agent-configuration/view\", ", "PartialC", "<{ query: ", @@ -2992,7 +3586,13 @@ ", ", "APMRouteCreateOptions", ">; \"GET /api/apm/settings/agent-configuration\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/settings/agent-configuration\", undefined, ", { "pluginId": "apm", @@ -3006,7 +3606,13 @@ "[]; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/rule_types/transaction_duration/chart_preview\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/rule_types/transaction_duration/chart_preview\", ", "TypeC", "<{ query: ", @@ -3044,7 +3650,13 @@ "<", "StringC", ", ", - "NonEmptyStringBrand", + { + "pluginId": "@kbn/io-ts-utils", + "scope": "common", + "docId": "kibKbnIoTsUtilsPluginApi", + "section": "def-common.NonEmptyStringBrand", + "text": "NonEmptyStringBrand" + }, ">]>; }>, ", "TypeC", "<{ start: ", @@ -3066,7 +3678,13 @@ ", { latencyChartPreview: { name: string; data: { x: number; y: number | null; }[]; }[]; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/rule_types/error_count/chart_preview\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/rule_types/error_count/chart_preview\", ", "TypeC", "<{ query: ", @@ -3104,7 +3722,13 @@ "<", "StringC", ", ", - "NonEmptyStringBrand", + { + "pluginId": "@kbn/io-ts-utils", + "scope": "common", + "docId": "kibKbnIoTsUtilsPluginApi", + "section": "def-common.NonEmptyStringBrand", + "text": "NonEmptyStringBrand" + }, ">]>; }>, ", "TypeC", "<{ start: ", @@ -3126,7 +3750,13 @@ ", { errorCountChartPreview: { x: number; y: number; }[]; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/rule_types/transaction_error_rate/chart_preview\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/rule_types/transaction_error_rate/chart_preview\", ", "TypeC", "<{ query: ", @@ -3164,7 +3794,13 @@ "<", "StringC", ", ", - "NonEmptyStringBrand", + { + "pluginId": "@kbn/io-ts-utils", + "scope": "common", + "docId": "kibKbnIoTsUtilsPluginApi", + "section": "def-common.NonEmptyStringBrand", + "text": "NonEmptyStringBrand" + }, ">]>; }>, ", "TypeC", "<{ start: ", @@ -3186,7 +3822,13 @@ ", { errorRateChartPreview: { x: number; y: number; }[]; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/services/{serviceName}/transactions/charts/coldstart_rate_by_transaction_name\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/services/{serviceName}/transactions/charts/coldstart_rate_by_transaction_name\", ", "TypeC", "<{ path: ", @@ -3216,7 +3858,13 @@ "<", "StringC", ", ", - "NonEmptyStringBrand", + { + "pluginId": "@kbn/io-ts-utils", + "scope": "common", + "docId": "kibKbnIoTsUtilsPluginApi", + "section": "def-common.NonEmptyStringBrand", + "text": "NonEmptyStringBrand" + }, ">]>; }>, ", "TypeC", "<{ kuery: ", @@ -3248,7 +3896,13 @@ "; }[]; average: null; }; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/services/{serviceName}/transactions/charts/coldstart_rate\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/services/{serviceName}/transactions/charts/coldstart_rate\", ", "TypeC", "<{ path: ", @@ -3276,7 +3930,13 @@ "<", "StringC", ", ", - "NonEmptyStringBrand", + { + "pluginId": "@kbn/io-ts-utils", + "scope": "common", + "docId": "kibKbnIoTsUtilsPluginApi", + "section": "def-common.NonEmptyStringBrand", + "text": "NonEmptyStringBrand" + }, ">]>; }>, ", "TypeC", "<{ kuery: ", @@ -3308,7 +3968,13 @@ "; }[]; average: null; }; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/services/{serviceName}/transactions/charts/error_rate\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/services/{serviceName}/transactions/charts/error_rate\", ", "TypeC", "<{ path: ", @@ -3340,7 +4006,13 @@ "<", "StringC", ", ", - "NonEmptyStringBrand", + { + "pluginId": "@kbn/io-ts-utils", + "scope": "common", + "docId": "kibKbnIoTsUtilsPluginApi", + "section": "def-common.NonEmptyStringBrand", + "text": "NonEmptyStringBrand" + }, ">]>; }>, ", "TypeC", "<{ kuery: ", @@ -3372,7 +4044,13 @@ "; }[]; average: null; }; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/services/{serviceName}/transaction/charts/breakdown\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/services/{serviceName}/transaction/charts/breakdown\", ", "TypeC", "<{ path: ", @@ -3402,7 +4080,13 @@ "<", "StringC", ", ", - "NonEmptyStringBrand", + { + "pluginId": "@kbn/io-ts-utils", + "scope": "common", + "docId": "kibKbnIoTsUtilsPluginApi", + "section": "def-common.NonEmptyStringBrand", + "text": "NonEmptyStringBrand" + }, ">]>; }>, ", "TypeC", "<{ kuery: ", @@ -3424,7 +4108,13 @@ ", { timeseries: { title: string; color: string; type: string; data: { x: number; y: number | null; }[]; hideLegend: boolean; legendValue: string; }[]; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/services/{serviceName}/transactions/traces/samples\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/services/{serviceName}/transactions/traces/samples\", ", "TypeC", "<{ path: ", @@ -3462,7 +4152,13 @@ "<", "StringC", ", ", - "NonEmptyStringBrand", + { + "pluginId": "@kbn/io-ts-utils", + "scope": "common", + "docId": "kibKbnIoTsUtilsPluginApi", + "section": "def-common.NonEmptyStringBrand", + "text": "NonEmptyStringBrand" + }, ">]>; }>, ", "TypeC", "<{ kuery: ", @@ -3484,7 +4180,13 @@ ", { traceSamples: { transactionId: string; traceId: string; }[]; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/services/{serviceName}/transactions/charts/latency\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/services/{serviceName}/transactions/charts/latency\", ", "TypeC", "<{ path: ", @@ -3530,7 +4232,13 @@ "<", "StringC", ", ", - "NonEmptyStringBrand", + { + "pluginId": "@kbn/io-ts-utils", + "scope": "common", + "docId": "kibKbnIoTsUtilsPluginApi", + "section": "def-common.NonEmptyStringBrand", + "text": "NonEmptyStringBrand" + }, ">]>; }>, ", "TypeC", "<{ kuery: ", @@ -3560,7 +4268,13 @@ "; }[]; overallAvgDuration: null; }; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/services/{serviceName}/transactions/groups/detailed_statistics\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/services/{serviceName}/transactions/groups/detailed_statistics\", ", "TypeC", "<{ path: ", @@ -3582,7 +4296,13 @@ "<", "StringC", ", ", - "NonEmptyStringBrand", + { + "pluginId": "@kbn/io-ts-utils", + "scope": "common", + "docId": "kibKbnIoTsUtilsPluginApi", + "section": "def-common.NonEmptyStringBrand", + "text": "NonEmptyStringBrand" + }, ">]>; }>, ", "TypeC", "<{ kuery: ", @@ -3646,7 +4366,13 @@ "; }[]; transactionName: string; impact: number; }>; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/services/{serviceName}/transactions/groups/main_statistics\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/services/{serviceName}/transactions/groups/main_statistics\", ", "TypeC", "<{ path: ", @@ -3668,7 +4394,13 @@ "<", "StringC", ", ", - "NonEmptyStringBrand", + { + "pluginId": "@kbn/io-ts-utils", + "scope": "common", + "docId": "kibKbnIoTsUtilsPluginApi", + "section": "def-common.NonEmptyStringBrand", + "text": "NonEmptyStringBrand" + }, ">]>; }>, ", "TypeC", "<{ kuery: ", @@ -3708,7 +4440,13 @@ ", { transactionGroups: { transactionType: string; name: string; latency: number | null; throughput: number; errorRate: number; impact: number; }[]; isAggregationAccurate: boolean; bucketSize: number; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/traces/find\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/traces/find\", ", "TypeC", "<{ query: ", @@ -3732,7 +4470,13 @@ "<", "StringC", ", ", - "NonEmptyStringBrand", + { + "pluginId": "@kbn/io-ts-utils", + "scope": "common", + "docId": "kibKbnIoTsUtilsPluginApi", + "section": "def-common.NonEmptyStringBrand", + "text": "NonEmptyStringBrand" + }, ">]>; }>, ", "TypeC", "<{ query: ", @@ -3758,7 +4502,13 @@ ", { traceSamples: { traceId: string; transactionId: string; }[]; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/transactions/{transactionId}\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/transactions/{transactionId}\", ", "TypeC", "<{ path: ", @@ -3778,7 +4528,13 @@ "; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/traces/{traceId}/root_transaction\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/traces/{traceId}/root_transaction\", ", "TypeC", "<{ path: ", @@ -3798,7 +4554,13 @@ "; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/traces\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/traces\", ", "TypeC", "<{ query: ", @@ -3816,7 +4578,13 @@ "<", "StringC", ", ", - "NonEmptyStringBrand", + { + "pluginId": "@kbn/io-ts-utils", + "scope": "common", + "docId": "kibKbnIoTsUtilsPluginApi", + "section": "def-common.NonEmptyStringBrand", + "text": "NonEmptyStringBrand" + }, ">]>; }>, ", "TypeC", "<{ kuery: ", @@ -3846,7 +4614,13 @@ "; }[]; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/traces/{traceId}\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/traces/{traceId}\", ", "TypeC", "<{ path: ", @@ -3876,7 +4650,13 @@ "[]; linkedChildrenOfSpanCountBySpanId: Record; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/suggestions\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/suggestions\", ", "TypeC", "<{ query: ", @@ -3908,7 +4688,13 @@ ", { terms: string[]; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/service_groups/services_count\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/service_groups/services_count\", ", "TypeC", "<{ query: ", @@ -3928,7 +4714,13 @@ ", { servicesCounts: Record; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/service-group/services\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/service-group/services\", ", "TypeC", "<{ query: ", @@ -3956,7 +4748,13 @@ "; }[]; }, ", "APMRouteCreateOptions", ">; \"DELETE /internal/apm/service-group\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"DELETE /internal/apm/service-group\", ", "TypeC", "<{ query: ", @@ -3974,7 +4772,13 @@ ", void, ", "APMRouteCreateOptions", ">; \"POST /internal/apm/service-group\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"POST /internal/apm/service-group\", ", "TypeC", "<{ query: ", @@ -4014,7 +4818,13 @@ ", void, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/service-group\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/service-group\", ", "TypeC", "<{ query: ", @@ -4034,7 +4844,13 @@ "; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/service-groups\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/service-groups\", undefined, ", { "pluginId": "apm", @@ -4048,7 +4864,13 @@ "[]; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/sorted_and_filtered_services\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/sorted_and_filtered_services\", ", "TypeC", "<{ query: ", @@ -4072,7 +4894,13 @@ "<", "StringC", ", ", - "NonEmptyStringBrand", + { + "pluginId": "@kbn/io-ts-utils", + "scope": "common", + "docId": "kibKbnIoTsUtilsPluginApi", + "section": "def-common.NonEmptyStringBrand", + "text": "NonEmptyStringBrand" + }, ">]>; }>, ", "TypeC", "<{ kuery: ", @@ -4094,7 +4922,13 @@ " | undefined; }[]; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/services/{serviceName}/anomaly_charts\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/services/{serviceName}/anomaly_charts\", ", "TypeC", "<{ path: ", @@ -4122,7 +4956,13 @@ "<", "StringC", ", ", - "NonEmptyStringBrand", + { + "pluginId": "@kbn/io-ts-utils", + "scope": "common", + "docId": "kibKbnIoTsUtilsPluginApi", + "section": "def-common.NonEmptyStringBrand", + "text": "NonEmptyStringBrand" + }, ">]>; }>, ", "TypeC", "<{ transactionType: ", @@ -4140,7 +4980,13 @@ "[]; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/services/{serviceName}/dependencies/breakdown\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/services/{serviceName}/dependencies/breakdown\", ", "TypeC", "<{ path: ", @@ -4162,7 +5008,13 @@ "<", "StringC", ", ", - "NonEmptyStringBrand", + { + "pluginId": "@kbn/io-ts-utils", + "scope": "common", + "docId": "kibKbnIoTsUtilsPluginApi", + "section": "def-common.NonEmptyStringBrand", + "text": "NonEmptyStringBrand" + }, ">]>; }>, ", "TypeC", "<{ start: ", @@ -4184,7 +5036,13 @@ ", { breakdown: { title: string; data: { x: number; y: number; }[]; }[]; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/services/{serviceName}/dependencies\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/services/{serviceName}/dependencies\", ", "TypeC", "<{ path: ", @@ -4210,7 +5068,13 @@ "<", "StringC", ", ", - "NonEmptyStringBrand", + { + "pluginId": "@kbn/io-ts-utils", + "scope": "common", + "docId": "kibKbnIoTsUtilsPluginApi", + "section": "def-common.NonEmptyStringBrand", + "text": "NonEmptyStringBrand" + }, ">]>; }>, ", "TypeC", "<{ start: ", @@ -4250,7 +5114,13 @@ "; }[]; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/services/{serviceName}/service_overview_instances/detailed_statistics\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/services/{serviceName}/service_overview_instances/detailed_statistics\", ", "TypeC", "<{ path: ", @@ -4294,7 +5164,13 @@ "<", "StringC", ", ", - "NonEmptyStringBrand", + { + "pluginId": "@kbn/io-ts-utils", + "scope": "common", + "docId": "kibKbnIoTsUtilsPluginApi", + "section": "def-common.NonEmptyStringBrand", + "text": "NonEmptyStringBrand" + }, ">]>; }>, ", "TypeC", "<{ kuery: ", @@ -4344,7 +5220,13 @@ "; }[]; serviceNodeName: string; }>; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/services/{serviceName}/service_overview_instances/main_statistics\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/services/{serviceName}/service_overview_instances/main_statistics\", ", "TypeC", "<{ path: ", @@ -4388,7 +5270,13 @@ "<", "StringC", ", ", - "NonEmptyStringBrand", + { + "pluginId": "@kbn/io-ts-utils", + "scope": "common", + "docId": "kibKbnIoTsUtilsPluginApi", + "section": "def-common.NonEmptyStringBrand", + "text": "NonEmptyStringBrand" + }, ">]>; }>, ", "TypeC", "<{ kuery: ", @@ -4410,7 +5298,13 @@ ", { currentPeriod: { serviceNodeName: string; errorRate?: number | undefined; latency?: number | undefined; throughput?: number | undefined; cpuUsage?: number | null | undefined; memoryUsage?: number | null | undefined; }[]; previousPeriod: { serviceNodeName: string; errorRate?: number | undefined; latency?: number | undefined; throughput?: number | undefined; cpuUsage?: number | null | undefined; memoryUsage?: number | null | undefined; }[]; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/services/{serviceName}/throughput\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/services/{serviceName}/throughput\", ", "TypeC", "<{ path: ", @@ -4442,7 +5336,13 @@ "<", "StringC", ", ", - "NonEmptyStringBrand", + { + "pluginId": "@kbn/io-ts-utils", + "scope": "common", + "docId": "kibKbnIoTsUtilsPluginApi", + "section": "def-common.NonEmptyStringBrand", + "text": "NonEmptyStringBrand" + }, ">]>; }>, ", "TypeC", "<{ kuery: ", @@ -4470,7 +5370,13 @@ "; }[]; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/services/{serviceName}/service_overview_instances/details/{serviceNodeName}\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/services/{serviceName}/service_overview_instances/details/{serviceNodeName}\", ", "TypeC", "<{ path: ", @@ -4518,7 +5424,13 @@ " | undefined; }, ", "APMRouteCreateOptions", ">; \"POST /api/apm/services/{serviceName}/annotation\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"POST /api/apm/services/{serviceName}/annotation\", ", "TypeC", "<{ path: ", @@ -4562,7 +5474,13 @@ "; }, ", "APMRouteCreateOptions", ">; \"GET /api/apm/services/{serviceName}/annotation/search\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/services/{serviceName}/annotation/search\", ", "TypeC", "<{ path: ", @@ -4584,7 +5502,13 @@ "<", "StringC", ", ", - "NonEmptyStringBrand", + { + "pluginId": "@kbn/io-ts-utils", + "scope": "common", + "docId": "kibKbnIoTsUtilsPluginApi", + "section": "def-common.NonEmptyStringBrand", + "text": "NonEmptyStringBrand" + }, ">]>; }>, ", "TypeC", "<{ start: ", @@ -4604,7 +5528,13 @@ "[]; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/services/{serviceName}/node/{serviceNodeName}/metadata\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/services/{serviceName}/node/{serviceNodeName}/metadata\", ", "TypeC", "<{ path: ", @@ -4636,7 +5566,13 @@ ", { host: string | number; containerId: string | number; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/services/{serviceName}/transaction_types\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/services/{serviceName}/transaction_types\", ", "TypeC", "<{ path: ", @@ -4660,7 +5596,13 @@ ", { transactionTypes: string[]; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/services/{serviceName}/agent\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/services/{serviceName}/agent\", ", "TypeC", "<{ path: ", @@ -4684,7 +5626,13 @@ ", { agentName?: undefined; runtimeName?: undefined; } | { agentName: string | undefined; runtimeName: string | undefined; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/services/{serviceName}/metadata/icons\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/services/{serviceName}/metadata/icons\", ", "TypeC", "<{ path: ", @@ -4710,7 +5658,13 @@ ", ", "APMRouteCreateOptions", ">; \"GET /internal/apm/services/{serviceName}/metadata/details\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/services/{serviceName}/metadata/details\", ", "TypeC", "<{ path: ", @@ -4736,7 +5690,13 @@ ", ", "APMRouteCreateOptions", ">; \"POST /internal/apm/services/detailed_statistics\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"POST /internal/apm/services/detailed_statistics\", ", "TypeC", "<{ query: ", @@ -4754,7 +5714,13 @@ "<", "StringC", ", ", - "NonEmptyStringBrand", + { + "pluginId": "@kbn/io-ts-utils", + "scope": "common", + "docId": "kibKbnIoTsUtilsPluginApi", + "section": "def-common.NonEmptyStringBrand", + "text": "NonEmptyStringBrand" + }, ">]>; }>, ", "TypeC", "<{ kuery: ", @@ -4792,7 +5758,13 @@ "<{ serviceName: string; latency: { x: number; y: number | null; }[]; transactionErrorRate: { x: number; y: number; }[]; throughput: { x: number; y: number; }[]; }>; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/services\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/services\", ", "TypeC", "<{ query: ", @@ -4810,7 +5782,13 @@ "<", "StringC", ", ", - "NonEmptyStringBrand", + { + "pluginId": "@kbn/io-ts-utils", + "scope": "common", + "docId": "kibKbnIoTsUtilsPluginApi", + "section": "def-common.NonEmptyStringBrand", + "text": "NonEmptyStringBrand" + }, ">]>; }>, ", "TypeC", "<{ kuery: ", @@ -4854,7 +5832,13 @@ "; }>; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/service-map/dependency\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/service-map/dependency\", ", "TypeC", "<{ query: ", @@ -4876,7 +5860,13 @@ "<", "StringC", ", ", - "NonEmptyStringBrand", + { + "pluginId": "@kbn/io-ts-utils", + "scope": "common", + "docId": "kibKbnIoTsUtilsPluginApi", + "section": "def-common.NonEmptyStringBrand", + "text": "NonEmptyStringBrand" + }, ">]>; }>, ", "TypeC", "<{ start: ", @@ -4902,7 +5892,13 @@ " | undefined; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/service-map/service/{serviceName}\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/service-map/service/{serviceName}\", ", "TypeC", "<{ path: ", @@ -4924,7 +5920,13 @@ "<", "StringC", ", ", - "NonEmptyStringBrand", + { + "pluginId": "@kbn/io-ts-utils", + "scope": "common", + "docId": "kibKbnIoTsUtilsPluginApi", + "section": "def-common.NonEmptyStringBrand", + "text": "NonEmptyStringBrand" + }, ">]>; }>, ", "TypeC", "<{ start: ", @@ -4950,7 +5952,13 @@ " | undefined; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/service-map\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/service-map\", ", "TypeC", "<{ query: ", @@ -4974,7 +5982,13 @@ "<", "StringC", ", ", - "NonEmptyStringBrand", + { + "pluginId": "@kbn/io-ts-utils", + "scope": "common", + "docId": "kibKbnIoTsUtilsPluginApi", + "section": "def-common.NonEmptyStringBrand", + "text": "NonEmptyStringBrand" + }, ">]>; }>, ", "TypeC", "<{ start: ", @@ -4996,7 +6010,13 @@ " | undefined; label: string | undefined; id?: string | undefined; parent?: string | undefined; position?: cytoscape.Position | undefined; } | { 'span.destination.service.resource': string; 'span.type': string; 'span.subtype': string; label: string | undefined; id?: string | undefined; parent?: string | undefined; position?: cytoscape.Position | undefined; } | { id: string; source: string | undefined; target: string | undefined; label: string | undefined; bidirectional?: boolean | undefined; isInverseEdge?: boolean | undefined; } | undefined)[]; }; } | { data: { id: string; source: string; target: string; }; })[]; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/observability_overview/has_data\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/observability_overview/has_data\", undefined, ", { "pluginId": "apm", @@ -5010,7 +6030,13 @@ "; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/observability_overview\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/observability_overview\", ", "TypeC", "<{ query: ", @@ -5038,7 +6064,13 @@ ", { serviceCount: number; transactionPerMinute: { value: undefined; timeseries: never[]; } | { value: number; timeseries: { x: number; y: number | null; }[]; }; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/services/{serviceName}/metrics/serverless/active_instances\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/services/{serviceName}/metrics/serverless/active_instances\", ", "TypeC", "<{ path: ", @@ -5060,7 +6092,13 @@ "<", "StringC", ", ", - "NonEmptyStringBrand", + { + "pluginId": "@kbn/io-ts-utils", + "scope": "common", + "docId": "kibKbnIoTsUtilsPluginApi", + "section": "def-common.NonEmptyStringBrand", + "text": "NonEmptyStringBrand" + }, ">]>; }>, ", "TypeC", "<{ kuery: ", @@ -5090,7 +6128,13 @@ "[]; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/services/{serviceName}/metrics/serverless/functions_overview\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/services/{serviceName}/metrics/serverless/functions_overview\", ", "TypeC", "<{ path: ", @@ -5112,7 +6156,13 @@ "<", "StringC", ", ", - "NonEmptyStringBrand", + { + "pluginId": "@kbn/io-ts-utils", + "scope": "common", + "docId": "kibKbnIoTsUtilsPluginApi", + "section": "def-common.NonEmptyStringBrand", + "text": "NonEmptyStringBrand" + }, ">]>; }>, ", "TypeC", "<{ kuery: ", @@ -5134,7 +6184,13 @@ ", { serverlessFunctionsOverview: { serverlessId: string; serverlessFunctionName: string; serverlessDurationAvg: number | null; billedDurationAvg: number | null; coldStartCount: number | null; avgMemoryUsed: number | undefined; memorySize: number | null; }[]; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/services/{serviceName}/metrics/serverless/summary\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/services/{serviceName}/metrics/serverless/summary\", ", "TypeC", "<{ path: ", @@ -5156,7 +6212,13 @@ "<", "StringC", ", ", - "NonEmptyStringBrand", + { + "pluginId": "@kbn/io-ts-utils", + "scope": "common", + "docId": "kibKbnIoTsUtilsPluginApi", + "section": "def-common.NonEmptyStringBrand", + "text": "NonEmptyStringBrand" + }, ">]>; }>, ", "TypeC", "<{ kuery: ", @@ -5182,7 +6244,13 @@ ", { memoryUsageAvgRate: number | undefined; serverlessFunctionsTotal: number | undefined; serverlessDurationAvg: number | null | undefined; billedDurationAvg: number | null | undefined; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/services/{serviceName}/metrics/serverless/charts\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/services/{serviceName}/metrics/serverless/charts\", ", "TypeC", "<{ path: ", @@ -5204,7 +6272,13 @@ "<", "StringC", ", ", - "NonEmptyStringBrand", + { + "pluginId": "@kbn/io-ts-utils", + "scope": "common", + "docId": "kibKbnIoTsUtilsPluginApi", + "section": "def-common.NonEmptyStringBrand", + "text": "NonEmptyStringBrand" + }, ">]>; }>, ", "TypeC", "<{ kuery: ", @@ -5242,7 +6316,13 @@ "]; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/services/{serviceName}/metrics/nodes\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/services/{serviceName}/metrics/nodes\", ", "TypeC", "<{ path: ", @@ -5274,7 +6354,13 @@ "<", "StringC", ", ", - "NonEmptyStringBrand", + { + "pluginId": "@kbn/io-ts-utils", + "scope": "common", + "docId": "kibKbnIoTsUtilsPluginApi", + "section": "def-common.NonEmptyStringBrand", + "text": "NonEmptyStringBrand" + }, ">]>; }>]>; }>, ", { "pluginId": "apm", @@ -5286,7 +6372,13 @@ ", { serviceNodes: { name: string; cpu: number | null; heapMemory: number | null; hostName: string | null | undefined; nonHeapMemory: number | null; threadCount: number | null; }[]; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/services/{serviceName}/metrics/charts\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/services/{serviceName}/metrics/charts\", ", "TypeC", "<{ path: ", @@ -5316,7 +6408,13 @@ "<", "StringC", ", ", - "NonEmptyStringBrand", + { + "pluginId": "@kbn/io-ts-utils", + "scope": "common", + "docId": "kibKbnIoTsUtilsPluginApi", + "section": "def-common.NonEmptyStringBrand", + "text": "NonEmptyStringBrand" + }, ">]>; }>, ", "TypeC", "<{ kuery: ", @@ -5340,7 +6438,13 @@ "[]; }, ", "APMRouteCreateOptions", ">; \"POST /internal/apm/latency/overall_distribution/transactions\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"POST /internal/apm/latency/overall_distribution/transactions\", ", "TypeC", "<{ body: ", @@ -5382,7 +6486,13 @@ "<", "StringC", ", ", - "NonEmptyStringBrand", + { + "pluginId": "@kbn/io-ts-utils", + "scope": "common", + "docId": "kibKbnIoTsUtilsPluginApi", + "section": "def-common.NonEmptyStringBrand", + "text": "NonEmptyStringBrand" + }, ">]>; }>, ", "TypeC", "<{ kuery: ", @@ -5428,7 +6538,13 @@ ", ", "APMRouteCreateOptions", ">; \"GET /internal/apm/services/{serviceName}/errors/{groupId}/top_erroneous_transactions\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/services/{serviceName}/errors/{groupId}/top_erroneous_transactions\", ", "TypeC", "<{ path: ", @@ -5452,7 +6568,13 @@ "<", "StringC", ", ", - "NonEmptyStringBrand", + { + "pluginId": "@kbn/io-ts-utils", + "scope": "common", + "docId": "kibKbnIoTsUtilsPluginApi", + "section": "def-common.NonEmptyStringBrand", + "text": "NonEmptyStringBrand" + }, ">]>; }>, ", "TypeC", "<{ kuery: ", @@ -5482,7 +6604,13 @@ ", { topErroneousTransactions: { transactionName: string; currentPeriodTimeseries: { x: number; y: number; }[]; previousPeriodTimeseries: { x: number; y: number; }[]; transactionType: string | undefined; occurrences: number; }[]; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/services/{serviceName}/errors/distribution\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/services/{serviceName}/errors/distribution\", ", "TypeC", "<{ path: ", @@ -5508,7 +6636,13 @@ "<", "StringC", ", ", - "NonEmptyStringBrand", + { + "pluginId": "@kbn/io-ts-utils", + "scope": "common", + "docId": "kibKbnIoTsUtilsPluginApi", + "section": "def-common.NonEmptyStringBrand", + "text": "NonEmptyStringBrand" + }, ">]>; }>, ", "TypeC", "<{ kuery: ", @@ -5536,7 +6670,13 @@ "; }[]; bucketSize: number; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/services/{serviceName}/errors/{groupId}\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/services/{serviceName}/errors/{groupId}\", ", "TypeC", "<{ path: ", @@ -5560,7 +6700,13 @@ "<", "StringC", ", ", - "NonEmptyStringBrand", + { + "pluginId": "@kbn/io-ts-utils", + "scope": "common", + "docId": "kibKbnIoTsUtilsPluginApi", + "section": "def-common.NonEmptyStringBrand", + "text": "NonEmptyStringBrand" + }, ">]>; }>, ", "TypeC", "<{ kuery: ", @@ -5586,7 +6732,13 @@ "; occurrencesCount: number; }, ", "APMRouteCreateOptions", ">; \"POST /internal/apm/services/{serviceName}/errors/groups/detailed_statistics\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"POST /internal/apm/services/{serviceName}/errors/groups/detailed_statistics\", ", "TypeC", "<{ path: ", @@ -5608,7 +6760,13 @@ "<", "StringC", ", ", - "NonEmptyStringBrand", + { + "pluginId": "@kbn/io-ts-utils", + "scope": "common", + "docId": "kibKbnIoTsUtilsPluginApi", + "section": "def-common.NonEmptyStringBrand", + "text": "NonEmptyStringBrand" + }, ">]>; }>, ", "TypeC", "<{ kuery: ", @@ -5650,7 +6808,13 @@ "; }[]; groupId: string; }>; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/services/{serviceName}/errors/groups/main_statistics_by_transaction_name\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/services/{serviceName}/errors/groups/main_statistics_by_transaction_name\", ", "TypeC", "<{ path: ", @@ -5680,7 +6844,13 @@ "<", "StringC", ", ", - "NonEmptyStringBrand", + { + "pluginId": "@kbn/io-ts-utils", + "scope": "common", + "docId": "kibKbnIoTsUtilsPluginApi", + "section": "def-common.NonEmptyStringBrand", + "text": "NonEmptyStringBrand" + }, ">]>; }>, ", "TypeC", "<{ kuery: ", @@ -5702,7 +6872,13 @@ ", { errorGroups: { groupId: string; name: string; lastSeen: number; occurrences: number; culprit: string | undefined; handled: boolean | undefined; type: string | undefined; }[]; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/services/{serviceName}/errors/groups/main_statistics\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/services/{serviceName}/errors/groups/main_statistics\", ", "TypeC", "<{ path: ", @@ -5734,7 +6910,13 @@ "<", "StringC", ", ", - "NonEmptyStringBrand", + { + "pluginId": "@kbn/io-ts-utils", + "scope": "common", + "docId": "kibKbnIoTsUtilsPluginApi", + "section": "def-common.NonEmptyStringBrand", + "text": "NonEmptyStringBrand" + }, ">]>; }>, ", "TypeC", "<{ kuery: ", @@ -5756,7 +6938,13 @@ ", { errorGroups: { groupId: string; name: string; lastSeen: number; occurrences: number; culprit: string | undefined; handled: boolean | undefined; type: string | undefined; }[]; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/environments\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/environments\", ", "TypeC", "<{ query: ", @@ -5782,11 +6970,23 @@ ", { environments: (\"ENVIRONMENT_NOT_DEFINED\" | \"ENVIRONMENT_ALL\" | ", "Branded", ")[]; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/data_view/title\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /internal/apm/data_view/title\", undefined, ", { "pluginId": "apm", @@ -5798,7 +6998,13 @@ ", { apmDataViewTitle: string; }, ", "APMRouteCreateOptions", ">; \"POST /internal/apm/data_view/static\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"POST /internal/apm/data_view/static\", undefined, ", { "pluginId": "apm", @@ -5881,7 +7087,13 @@ "description": [], "signature": [ "(params: { debug?: boolean | undefined; request: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "; context: ", "ApmPluginRequestHandlerContext", "; }) => Promise<", @@ -5925,7 +7137,13 @@ "label": "request", "description": [], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "" ], "path": "x-pack/plugins/apm/server/types.ts", @@ -5940,7 +7158,13 @@ "label": "context", "description": [], "signature": [ - "RequestHandlerContext", + { + "pluginId": "@kbn/core-http-request-handler-context-server", + "scope": "server", + "docId": "kibKbnCoreHttpRequestHandlerContextServerPluginApi", + "section": "def-server.RequestHandlerContext", + "text": "RequestHandlerContext" + }, " & { licensing: Promise<", { "pluginId": "licensing", diff --git a/api_docs/apm.mdx b/api_docs/apm.mdx index 28bca33e4c614..1684d18a52c59 100644 --- a/api_docs/apm.mdx +++ b/api_docs/apm.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/apm title: "apm" image: https://source.unsplash.com/400x175/?github description: API docs for the apm plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'apm'] --- import apmObj from './apm.devdocs.json'; diff --git a/api_docs/banners.mdx b/api_docs/banners.mdx index 7d791faedf094..21b19feec1b7b 100644 --- a/api_docs/banners.mdx +++ b/api_docs/banners.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/banners title: "banners" image: https://source.unsplash.com/400x175/?github description: API docs for the banners plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'banners'] --- import bannersObj from './banners.devdocs.json'; diff --git a/api_docs/bfetch.devdocs.json b/api_docs/bfetch.devdocs.json index 32dbe24517f93..466493ad34651 100644 --- a/api_docs/bfetch.devdocs.json +++ b/api_docs/bfetch.devdocs.json @@ -288,7 +288,13 @@ "description": [], "signature": [ "(path: string, handler: (request: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ") => ", { "pluginId": "bfetch", @@ -327,7 +333,13 @@ "description": [], "signature": [ "(request: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ") => ", { "pluginId": "bfetch", @@ -355,9 +367,21 @@ "description": [], "signature": [ "(path: string, params: (request: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ", context: ", - "RequestHandlerContext", + { + "pluginId": "@kbn/core-http-request-handler-context-server", + "scope": "server", + "docId": "kibKbnCoreHttpRequestHandlerContextServerPluginApi", + "section": "def-server.RequestHandlerContext", + "text": "RequestHandlerContext" + }, ") => ", { "pluginId": "bfetch", @@ -367,11 +391,29 @@ "text": "StreamingResponseHandler" }, ", method?: \"GET\" | \"POST\" | \"PUT\" | \"DELETE\" | undefined, pluginRouter?: ", - "IRouter", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IRouter", + "text": "IRouter" + }, "<", - "RequestHandlerContext", + { + "pluginId": "@kbn/core-http-request-handler-context-server", + "scope": "server", + "docId": "kibKbnCoreHttpRequestHandlerContextServerPluginApi", + "section": "def-server.RequestHandlerContext", + "text": "RequestHandlerContext" + }, "> | undefined, options?: ", - "RouteConfigOptions", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.RouteConfigOptions", + "text": "RouteConfigOptions" + }, "<\"get\" | \"post\" | \"put\" | \"delete\"> | undefined) => void" ], "path": "src/plugins/bfetch/server/plugin.ts", @@ -402,9 +444,21 @@ "description": [], "signature": [ "(request: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ", context: ", - "RequestHandlerContext", + { + "pluginId": "@kbn/core-http-request-handler-context-server", + "scope": "server", + "docId": "kibKbnCoreHttpRequestHandlerContextServerPluginApi", + "section": "def-server.RequestHandlerContext", + "text": "RequestHandlerContext" + }, ") => ", { "pluginId": "bfetch", @@ -443,9 +497,21 @@ "label": "pluginRouter", "description": [], "signature": [ - "IRouter", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IRouter", + "text": "IRouter" + }, "<", - "RequestHandlerContext", + { + "pluginId": "@kbn/core-http-request-handler-context-server", + "scope": "server", + "docId": "kibKbnCoreHttpRequestHandlerContextServerPluginApi", + "section": "def-server.RequestHandlerContext", + "text": "RequestHandlerContext" + }, "> | undefined" ], "path": "src/plugins/bfetch/server/plugin.ts", @@ -461,7 +527,13 @@ "label": "options", "description": [], "signature": [ - "RouteConfigOptions", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.RouteConfigOptions", + "text": "RouteConfigOptions" + }, "<\"get\" | \"post\" | \"put\" | \"delete\"> | undefined" ], "path": "src/plugins/bfetch/server/plugin.ts", diff --git a/api_docs/bfetch.mdx b/api_docs/bfetch.mdx index 5c5bbe2e36fd1..3e691e19928c9 100644 --- a/api_docs/bfetch.mdx +++ b/api_docs/bfetch.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/bfetch title: "bfetch" image: https://source.unsplash.com/400x175/?github description: API docs for the bfetch plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'bfetch'] --- import bfetchObj from './bfetch.devdocs.json'; diff --git a/api_docs/canvas.devdocs.json b/api_docs/canvas.devdocs.json index 371b2b631b494..e4d58a148abcb 100644 --- a/api_docs/canvas.devdocs.json +++ b/api_docs/canvas.devdocs.json @@ -24,7 +24,13 @@ "description": [], "signature": [ "{ services: ", - "CoreStart", + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreStart", + "text": "CoreStart" + }, " & ", "CanvasStartDeps", " & { canvas: ", diff --git a/api_docs/canvas.mdx b/api_docs/canvas.mdx index bc1392ad75b6d..49af2a2fff5a5 100644 --- a/api_docs/canvas.mdx +++ b/api_docs/canvas.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/canvas title: "canvas" image: https://source.unsplash.com/400x175/?github description: API docs for the canvas plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'canvas'] --- import canvasObj from './canvas.devdocs.json'; diff --git a/api_docs/cases.devdocs.json b/api_docs/cases.devdocs.json index f65fddcd5909b..0ce653b22e2fb 100644 --- a/api_docs/cases.devdocs.json +++ b/api_docs/cases.devdocs.json @@ -18,7 +18,13 @@ "text": "CasesUiPlugin" }, " implements ", - "Plugin", + { + "pluginId": "@kbn/core-plugins-browser", + "scope": "common", + "docId": "kibKbnCorePluginsBrowserPluginApi", + "section": "def-common.Plugin", + "text": "Plugin" + }, "" ], "path": "x-pack/plugins/cases/public/plugin.ts", @@ -79,7 +91,13 @@ "description": [], "signature": [ "(core: ", - "CoreSetup", + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreSetup", + "text": "CoreSetup" + }, ", plugins: ", "CasesPluginSetup", ") => ", @@ -103,7 +121,13 @@ "label": "core", "description": [], "signature": [ - "CoreSetup", + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreSetup", + "text": "CoreSetup" + }, "" ], "path": "x-pack/plugins/cases/public/plugin.ts", @@ -138,7 +162,13 @@ "description": [], "signature": [ "(core: ", - "CoreStart", + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreStart", + "text": "CoreStart" + }, ", plugins: ", "CasesPluginStart", ") => ", @@ -162,7 +192,13 @@ "label": "core", "description": [], "signature": [ - "CoreStart" + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreStart", + "text": "CoreStart" + } ], "path": "x-pack/plugins/cases/public/plugin.ts", "deprecated": false, @@ -285,9 +321,21 @@ "description": [], "signature": [ "({ basePath, extend, }: { basePath?: string | undefined; extend?: Partial>> | undefined; }) => { id: \"cases\"; path: string; deepLinks: ({ id: \"cases_create\"; path: string; title: string | T[\"title\"]; keywords?: T[\"keywords\"] | undefined; navLinkStatus?: T[\"navLinkStatus\"] | undefined; searchable?: T[\"searchable\"] | undefined; order?: T[\"order\"] | undefined; tooltip?: T[\"tooltip\"] | undefined; euiIconType?: T[\"euiIconType\"] | undefined; icon?: T[\"icon\"] | undefined; deepLinks?: T[\"deepLinks\"] | undefined; } | { id: \"cases_configure\"; path: string; title: string | T[\"title\"]; keywords?: T[\"keywords\"] | undefined; navLinkStatus?: T[\"navLinkStatus\"] | undefined; searchable?: T[\"searchable\"] | undefined; order?: T[\"order\"] | undefined; tooltip?: T[\"tooltip\"] | undefined; euiIconType?: T[\"euiIconType\"] | undefined; icon?: T[\"icon\"] | undefined; deepLinks?: T[\"deepLinks\"] | undefined; })[]; title: string | T[\"title\"]; keywords?: T[\"keywords\"] | undefined; navLinkStatus?: T[\"navLinkStatus\"] | undefined; searchable?: T[\"searchable\"] | undefined; order?: T[\"order\"] | undefined; tooltip?: T[\"tooltip\"] | undefined; euiIconType?: T[\"euiIconType\"] | undefined; icon?: T[\"icon\"] | undefined; }" + ", Partial>> | undefined; }) => { id: \"cases\"; path: string; deepLinks: ({ id: \"cases_create\"; path: string; title: any; keywords?: T[\"keywords\"] | undefined; navLinkStatus?: T[\"navLinkStatus\"] | undefined; searchable?: T[\"searchable\"] | undefined; order?: T[\"order\"] | undefined; tooltip?: T[\"tooltip\"] | undefined; euiIconType?: T[\"euiIconType\"] | undefined; icon?: T[\"icon\"] | undefined; deepLinks?: T[\"deepLinks\"] | undefined; } | { id: \"cases_configure\"; path: string; title: any; keywords?: T[\"keywords\"] | undefined; navLinkStatus?: T[\"navLinkStatus\"] | undefined; searchable?: T[\"searchable\"] | undefined; order?: T[\"order\"] | undefined; tooltip?: T[\"tooltip\"] | undefined; euiIconType?: T[\"euiIconType\"] | undefined; icon?: T[\"icon\"] | undefined; deepLinks?: T[\"deepLinks\"] | undefined; })[]; title: any; keywords?: T[\"keywords\"] | undefined; navLinkStatus?: T[\"navLinkStatus\"] | undefined; searchable?: T[\"searchable\"] | undefined; order?: T[\"order\"] | undefined; tooltip?: T[\"tooltip\"] | undefined; euiIconType?: T[\"euiIconType\"] | undefined; icon?: T[\"icon\"] | undefined; }" ], "path": "x-pack/plugins/cases/public/common/navigation/deep_links.ts", "deprecated": false, @@ -715,7 +763,13 @@ "text": "ExternalReferenceStorageType" }, ".elasticSearchDoc; }; externalReferenceAttachmentTypeId: string; externalReferenceMetadata: { [x: string]: ", - "JsonValue", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.JsonValue", + "text": "JsonValue" + }, "; } | null; type: ", { "pluginId": "cases", @@ -733,7 +787,13 @@ "text": "CommentType" }, ".persistableState; owner: string; persistableStateAttachmentTypeId: string; persistableStateAttachmentState: { [x: string]: ", - "JsonValue", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.JsonValue", + "text": "JsonValue" + }, "; }; }" ], "path": "x-pack/plugins/cases/public/types.ts", @@ -779,7 +839,13 @@ "description": [], "signature": [ "{ getRelatedCases: (alertId: string, query: { owner?: string | string[] | undefined; }) => Promise<{ id: string; title: string; }[]>; cases: { find: (query: { tags?: string | string[] | undefined; status?: ", - "CaseStatuses", + { + "pluginId": "@kbn/cases-components", + "scope": "common", + "docId": "kibKbnCasesComponentsPluginApi", + "section": "def-common.CaseStatuses", + "text": "CaseStatuses" + }, " | undefined; severity?: ", "CaseSeverity", " | undefined; assignees?: string | string[] | undefined; reporters?: string | string[] | undefined; defaultSearchOperator?: \"AND\" | \"OR\" | undefined; fields?: string | string[] | undefined; from?: string | undefined; page?: number | undefined; perPage?: number | undefined; search?: string | undefined; searchFields?: string | string[] | undefined; sortField?: string | undefined; sortOrder?: \"asc\" | \"desc\" | undefined; to?: string | undefined; owner?: string | string[] | undefined; }, signal?: AbortSignal | undefined) => Promise<", @@ -1130,7 +1196,13 @@ ], "signature": [ "(request: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ") => Promise<", { "pluginId": "cases", @@ -1155,7 +1227,13 @@ "a KibanaRequest" ], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "" ], "path": "x-pack/plugins/cases/server/types.ts", @@ -1469,10 +1547,7 @@ "tags": [], "label": "CaseStatuses", "description": [], - "signature": [ - "CaseStatuses" - ], - "path": "node_modules/@types/kbn__cases-components/index.d.ts", + "path": "packages/kbn-cases-components/src/status/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1512,7 +1587,13 @@ "description": [], "signature": [ "Omit<{ description: string; status: ", - "CaseStatuses", + { + "pluginId": "@kbn/cases-components", + "scope": "common", + "docId": "kibKbnCasesComponentsPluginApi", + "section": "def-common.CaseStatuses", + "text": "CaseStatuses" + }, "; tags: string[]; title: string; connector: { id: string; type: ", "ConnectorTypes", ".casesWebhook; fields: null; name: string; } | { id: string; type: ", @@ -1562,7 +1643,13 @@ "text": "ExternalReferenceStorageType" }, ".elasticSearchDoc; }; externalReferenceAttachmentTypeId: string; externalReferenceMetadata: { [x: string]: ", - "JsonValue", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.JsonValue", + "text": "JsonValue" + }, "; } | null; type: ", { "pluginId": "cases", @@ -1580,7 +1667,13 @@ "text": "ExternalReferenceStorageType" }, ".savedObject; soType: string; }; externalReferenceAttachmentTypeId: string; externalReferenceMetadata: { [x: string]: ", - "JsonValue", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.JsonValue", + "text": "JsonValue" + }, "; } | null; type: ", { "pluginId": "cases", @@ -1598,7 +1691,13 @@ "text": "CommentType" }, ".persistableState; owner: string; persistableStateAttachmentTypeId: string; persistableStateAttachmentState: { [x: string]: ", - "JsonValue", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.JsonValue", + "text": "JsonValue" + }, "; }; } & { created_at: string; created_by: { email: string | null | undefined; full_name: string | null | undefined; username: string | null | undefined; } & { profile_uid?: string | undefined; }; owner: string; pushed_at: string | null; pushed_by: ({ email: string | null | undefined; full_name: string | null | undefined; username: string | null | undefined; } & { profile_uid?: string | undefined; }) | null; updated_at: string | null; updated_by: ({ email: string | null | undefined; full_name: string | null | undefined; username: string | null | undefined; } & { profile_uid?: string | undefined; }) | null; })) & { id: string; version: string; })[] | undefined; }, \"comments\"> & { comments: ", "Comment", "[]; }" diff --git a/api_docs/cases.mdx b/api_docs/cases.mdx index d9c5661b5c4b2..847c7bf57d79f 100644 --- a/api_docs/cases.mdx +++ b/api_docs/cases.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/cases title: "cases" image: https://source.unsplash.com/400x175/?github description: API docs for the cases plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cases'] --- import casesObj from './cases.devdocs.json'; @@ -21,7 +21,7 @@ Contact [ResponseOps](https://github.com/orgs/elastic/teams/response-ops) for qu | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 87 | 0 | 70 | 28 | +| 87 | 0 | 71 | 28 | ## Client diff --git a/api_docs/charts.devdocs.json b/api_docs/charts.devdocs.json index 7131b518535f3..992447adfaa38 100644 --- a/api_docs/charts.devdocs.json +++ b/api_docs/charts.devdocs.json @@ -1057,7 +1057,13 @@ "label": "continuity", "description": [], "signature": [ - "PaletteContinuity", + { + "pluginId": "@kbn/coloring", + "scope": "common", + "docId": "kibKbnColoringPluginApi", + "section": "def-common.PaletteContinuity", + "text": "PaletteContinuity" + }, " | undefined" ], "path": "src/plugins/charts/common/expressions/palette/types.ts", @@ -1161,7 +1167,13 @@ "label": "continuity", "description": [], "signature": [ - "PaletteContinuity", + { + "pluginId": "@kbn/coloring", + "scope": "common", + "docId": "kibKbnColoringPluginApi", + "section": "def-common.PaletteContinuity", + "text": "PaletteContinuity" + }, " | undefined" ], "path": "src/plugins/charts/common/expressions/palette/types.ts", @@ -1478,10 +1490,13 @@ { "parentPluginId": "charts", "id": "def-public.defaultCountLabel", - "type": "string", + "type": "Any", "tags": [], "label": "defaultCountLabel", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/charts/common/static/components/collections.ts", "deprecated": false, "trackAdoption": false, @@ -1802,10 +1817,13 @@ { "parentPluginId": "charts", "id": "def-public.vislibColorMaps.ColorSchemas.Blues.label", - "type": "string", + "type": "Any", "tags": [], "label": "label", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/charts/common/static/color_maps/color_maps.ts", "deprecated": false, "trackAdoption": false @@ -1861,10 +1879,13 @@ { "parentPluginId": "charts", "id": "def-public.vislibColorMaps.ColorSchemas.Greens.label", - "type": "string", + "type": "Any", "tags": [], "label": "label", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/charts/common/static/color_maps/color_maps.ts", "deprecated": false, "trackAdoption": false @@ -1920,10 +1941,13 @@ { "parentPluginId": "charts", "id": "def-public.vislibColorMaps.ColorSchemas.Greys.label", - "type": "string", + "type": "Any", "tags": [], "label": "label", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/charts/common/static/color_maps/color_maps.ts", "deprecated": false, "trackAdoption": false @@ -1979,10 +2003,13 @@ { "parentPluginId": "charts", "id": "def-public.vislibColorMaps.ColorSchemas.Reds.label", - "type": "string", + "type": "Any", "tags": [], "label": "label", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/charts/common/static/color_maps/color_maps.ts", "deprecated": false, "trackAdoption": false @@ -2038,10 +2065,13 @@ { "parentPluginId": "charts", "id": "def-public.vislibColorMaps.ColorSchemas.YellowToRed.label", - "type": "string", + "type": "Any", "tags": [], "label": "label", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/charts/common/static/color_maps/color_maps.ts", "deprecated": false, "trackAdoption": false @@ -2097,10 +2127,13 @@ { "parentPluginId": "charts", "id": "def-public.vislibColorMaps.ColorSchemas.GreenToRed.label", - "type": "string", + "type": "Any", "tags": [], "label": "label", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/charts/common/static/color_maps/color_maps.ts", "deprecated": false, "trackAdoption": false @@ -2199,7 +2232,13 @@ "description": [], "signature": [ "{ getPalettes: () => Promise<", - "PaletteRegistry", + { + "pluginId": "@kbn/coloring", + "scope": "common", + "docId": "kibKbnColoringPluginApi", + "section": "def-common.PaletteRegistry", + "text": "PaletteRegistry" + }, ">; }" ], "path": "src/plugins/charts/public/plugin.ts", @@ -2354,7 +2393,13 @@ "label": "continuity", "description": [], "signature": [ - "PaletteContinuity", + { + "pluginId": "@kbn/coloring", + "scope": "common", + "docId": "kibKbnColoringPluginApi", + "section": "def-common.PaletteContinuity", + "text": "PaletteContinuity" + }, " | undefined" ], "path": "src/plugins/charts/common/expressions/palette/types.ts", @@ -2458,7 +2503,13 @@ "label": "continuity", "description": [], "signature": [ - "PaletteContinuity", + { + "pluginId": "@kbn/coloring", + "scope": "common", + "docId": "kibKbnColoringPluginApi", + "section": "def-common.PaletteContinuity", + "text": "PaletteContinuity" + }, " | undefined" ], "path": "src/plugins/charts/common/expressions/palette/types.ts", @@ -2626,7 +2677,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/charts/common/expressions/palette/system_palette.ts", @@ -2877,7 +2934,13 @@ "label": "continuity", "description": [], "signature": [ - "PaletteContinuity", + { + "pluginId": "@kbn/coloring", + "scope": "common", + "docId": "kibKbnColoringPluginApi", + "section": "def-common.PaletteContinuity", + "text": "PaletteContinuity" + }, " | undefined" ], "path": "src/plugins/charts/common/expressions/palette/types.ts", @@ -2981,7 +3044,13 @@ "label": "continuity", "description": [], "signature": [ - "PaletteContinuity", + { + "pluginId": "@kbn/coloring", + "scope": "common", + "docId": "kibKbnColoringPluginApi", + "section": "def-common.PaletteContinuity", + "text": "PaletteContinuity" + }, " | undefined" ], "path": "src/plugins/charts/common/expressions/palette/types.ts", @@ -3313,10 +3382,13 @@ { "parentPluginId": "charts", "id": "def-common.defaultCountLabel", - "type": "string", + "type": "Any", "tags": [], "label": "defaultCountLabel", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/charts/common/static/components/collections.ts", "deprecated": false, "trackAdoption": false, @@ -3650,10 +3722,13 @@ { "parentPluginId": "charts", "id": "def-common.vislibColorMaps.ColorSchemas.Blues.label", - "type": "string", + "type": "Any", "tags": [], "label": "label", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/charts/common/static/color_maps/color_maps.ts", "deprecated": false, "trackAdoption": false @@ -3709,10 +3784,13 @@ { "parentPluginId": "charts", "id": "def-common.vislibColorMaps.ColorSchemas.Greens.label", - "type": "string", + "type": "Any", "tags": [], "label": "label", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/charts/common/static/color_maps/color_maps.ts", "deprecated": false, "trackAdoption": false @@ -3768,10 +3846,13 @@ { "parentPluginId": "charts", "id": "def-common.vislibColorMaps.ColorSchemas.Greys.label", - "type": "string", + "type": "Any", "tags": [], "label": "label", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/charts/common/static/color_maps/color_maps.ts", "deprecated": false, "trackAdoption": false @@ -3827,10 +3908,13 @@ { "parentPluginId": "charts", "id": "def-common.vislibColorMaps.ColorSchemas.Reds.label", - "type": "string", + "type": "Any", "tags": [], "label": "label", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/charts/common/static/color_maps/color_maps.ts", "deprecated": false, "trackAdoption": false @@ -3886,10 +3970,13 @@ { "parentPluginId": "charts", "id": "def-common.vislibColorMaps.ColorSchemas.YellowToRed.label", - "type": "string", + "type": "Any", "tags": [], "label": "label", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/charts/common/static/color_maps/color_maps.ts", "deprecated": false, "trackAdoption": false @@ -3945,10 +4032,13 @@ { "parentPluginId": "charts", "id": "def-common.vislibColorMaps.ColorSchemas.GreenToRed.label", - "type": "string", + "type": "Any", "tags": [], "label": "label", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/charts/common/static/color_maps/color_maps.ts", "deprecated": false, "trackAdoption": false diff --git a/api_docs/charts.mdx b/api_docs/charts.mdx index f3dcfed6730df..f6e6c8af2da13 100644 --- a/api_docs/charts.mdx +++ b/api_docs/charts.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/charts title: "charts" image: https://source.unsplash.com/400x175/?github description: API docs for the charts plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'charts'] --- import chartsObj from './charts.devdocs.json'; @@ -21,7 +21,7 @@ Contact [Vis Editors](https://github.com/orgs/elastic/teams/kibana-vis-editors) | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 264 | 2 | 249 | 9 | +| 264 | 16 | 249 | 9 | ## Client diff --git a/api_docs/cloud.mdx b/api_docs/cloud.mdx index c2b55a2aabe72..3891242f47177 100644 --- a/api_docs/cloud.mdx +++ b/api_docs/cloud.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/cloud title: "cloud" image: https://source.unsplash.com/400x175/?github description: API docs for the cloud plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cloud'] --- import cloudObj from './cloud.devdocs.json'; diff --git a/api_docs/cloud_chat.mdx b/api_docs/cloud_chat.mdx index 3ca3216a3dbc4..1090ebcb3319d 100644 --- a/api_docs/cloud_chat.mdx +++ b/api_docs/cloud_chat.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/cloudChat title: "cloudChat" image: https://source.unsplash.com/400x175/?github description: API docs for the cloudChat plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cloudChat'] --- import cloudChatObj from './cloud_chat.devdocs.json'; diff --git a/api_docs/cloud_experiments.mdx b/api_docs/cloud_experiments.mdx index ef7a3d160d2a0..5e24661ece516 100644 --- a/api_docs/cloud_experiments.mdx +++ b/api_docs/cloud_experiments.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/cloudExperiments title: "cloudExperiments" image: https://source.unsplash.com/400x175/?github description: API docs for the cloudExperiments plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cloudExperiments'] --- import cloudExperimentsObj from './cloud_experiments.devdocs.json'; diff --git a/api_docs/cloud_security_posture.mdx b/api_docs/cloud_security_posture.mdx index 4276a3721f16f..e3299ae412f4d 100644 --- a/api_docs/cloud_security_posture.mdx +++ b/api_docs/cloud_security_posture.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/cloudSecurityPosture title: "cloudSecurityPosture" image: https://source.unsplash.com/400x175/?github description: API docs for the cloudSecurityPosture plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cloudSecurityPosture'] --- import cloudSecurityPostureObj from './cloud_security_posture.devdocs.json'; diff --git a/api_docs/console.devdocs.json b/api_docs/console.devdocs.json index fe1f0a9e52b46..5dc1b60796d37 100644 --- a/api_docs/console.devdocs.json +++ b/api_docs/console.devdocs.json @@ -18,7 +18,13 @@ "text": "ConsoleUIPlugin" }, " implements ", - "Plugin", + { + "pluginId": "@kbn/core-plugins-browser", + "scope": "common", + "docId": "kibKbnCorePluginsBrowserPluginApi", + "section": "def-common.Plugin", + "text": "Plugin" + }, "" @@ -49,7 +55,13 @@ "label": "ctx", "description": [], "signature": [ - "PluginInitializerContext", + { + "pluginId": "@kbn/core-plugins-browser", + "scope": "common", + "docId": "kibKbnCorePluginsBrowserPluginApi", + "section": "def-common.PluginInitializerContext", + "text": "PluginInitializerContext" + }, "" ], "path": "src/plugins/console/public/plugin.ts", @@ -69,7 +81,13 @@ "description": [], "signature": [ "({ notifications, getStartServices, http }: ", - "CoreSetup", + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreSetup", + "text": "CoreSetup" + }, ", { devTools, home, share, usageCollection }: ", "AppSetupUIPluginDependencies", ") => ", @@ -93,7 +111,13 @@ "label": "{ notifications, getStartServices, http }", "description": [], "signature": [ - "CoreSetup", + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreSetup", + "text": "CoreSetup" + }, "" ], "path": "src/plugins/console/public/plugin.ts", @@ -200,7 +224,13 @@ "text": "ConsoleUILocatorParams" }, " extends ", - "SerializableRecord" + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + } ], "path": "src/plugins/console/public/types/locator.ts", "deprecated": false, diff --git a/api_docs/console.mdx b/api_docs/console.mdx index 563b95c7f9602..061e96255e60b 100644 --- a/api_docs/console.mdx +++ b/api_docs/console.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/console title: "console" image: https://source.unsplash.com/400x175/?github description: API docs for the console plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'console'] --- import consoleObj from './console.devdocs.json'; diff --git a/api_docs/controls.devdocs.json b/api_docs/controls.devdocs.json index 09686e7655b5b..39adc79d22889 100644 --- a/api_docs/controls.devdocs.json +++ b/api_docs/controls.devdocs.json @@ -88,7 +88,13 @@ "signature": [ "Subject", "<", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]>" ], "path": "src/plugins/controls/public/control_group/embeddable/control_group_container.tsx", @@ -239,15 +245,45 @@ "text": "ViewMode" }, "; title: string; id: string; lastReloadRequestTime: number; hidePanelTitles: boolean; enhancements: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, "; disabledActions: string[]; disableTriggers: boolean; searchSessionId: string; syncColors: boolean; syncCursor: boolean; syncTooltips: boolean; executionContext: ", - "KibanaExecutionContext", + { + "pluginId": "@kbn/core-execution-context-common", + "scope": "common", + "docId": "kibKbnCoreExecutionContextCommonPluginApi", + "section": "def-common.KibanaExecutionContext", + "text": "KibanaExecutionContext" + }, "; query: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, "; filters: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]; timeRange: ", - "TimeRange", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, "; timeslice: [number, number]; controlStyle: \"twoLine\" | \"oneLine\"; ignoreParentSettings: ", "ParentIgnoreSettings", "; fieldName: string; parentFieldName: string; childFieldName: string; dataViewId: string; }, ", @@ -565,7 +601,13 @@ "description": [], "signature": [ "(filters: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]) => void" ], "path": "src/plugins/controls/public/control_group/embeddable/control_group_container.tsx", @@ -580,7 +622,13 @@ "label": "filters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "src/plugins/controls/public/control_group/embeddable/control_group_container.tsx", @@ -990,7 +1038,13 @@ "text": "EmbeddableStateWithType" }, ", references: ", - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]) => ", { "pluginId": "embeddable", @@ -1027,7 +1081,13 @@ "label": "references", "description": [], "signature": [ - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]" ], "path": "src/plugins/kibana_utils/common/persistable_state/types.ts", @@ -1061,7 +1121,13 @@ "text": "EmbeddableStateWithType" }, "; references: ", - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]; }" ], "path": "src/plugins/controls/public/control_group/embeddable/control_group_container_factory.ts", @@ -1147,7 +1213,7 @@ "label": "getDisplayName", "description": [], "signature": [ - "() => string" + "() => any" ], "path": "src/plugins/controls/public/control_group/embeddable/control_group_container_factory.ts", "deprecated": false, @@ -2051,7 +2117,7 @@ "label": "getDisplayName", "description": [], "signature": [ - "() => string" + "() => any" ], "path": "src/plugins/controls/public/options_list/embeddable/options_list_embeddable_factory.tsx", "deprecated": false, @@ -2083,7 +2149,7 @@ "label": "getDescription", "description": [], "signature": [ - "() => string" + "() => any" ], "path": "src/plugins/controls/public/options_list/embeddable/options_list_embeddable_factory.tsx", "deprecated": false, @@ -2108,7 +2174,13 @@ "text": "EmbeddableStateWithType" }, ", references: ", - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]) => ", { "pluginId": "embeddable", @@ -2145,7 +2217,13 @@ "label": "references", "description": [], "signature": [ - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]" ], "path": "src/plugins/kibana_utils/common/persistable_state/types.ts", @@ -2179,7 +2257,13 @@ "text": "EmbeddableStateWithType" }, "; references: ", - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]; }" ], "path": "src/plugins/controls/public/options_list/embeddable/options_list_embeddable_factory.tsx", @@ -2581,7 +2665,7 @@ "label": "getDisplayName", "description": [], "signature": [ - "() => string" + "() => any" ], "path": "src/plugins/controls/public/range_slider/embeddable/range_slider_embeddable_factory.tsx", "deprecated": false, @@ -2597,7 +2681,7 @@ "label": "getDescription", "description": [], "signature": [ - "() => string" + "() => any" ], "path": "src/plugins/controls/public/range_slider/embeddable/range_slider_embeddable_factory.tsx", "deprecated": false, @@ -2938,7 +3022,13 @@ "text": "EmbeddableStateWithType" }, ", references: ", - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]) => ", { "pluginId": "embeddable", @@ -2975,7 +3065,13 @@ "label": "references", "description": [], "signature": [ - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]" ], "path": "src/plugins/kibana_utils/common/persistable_state/types.ts", @@ -3009,7 +3105,13 @@ "text": "EmbeddableStateWithType" }, "; references: ", - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]; }" ], "path": "src/plugins/controls/public/range_slider/embeddable/range_slider_embeddable_factory.tsx", @@ -3185,7 +3287,13 @@ "label": "filters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[] | undefined" ], "path": "src/plugins/controls/public/types.ts", @@ -4016,11 +4124,29 @@ "text": "EmbeddableInput" }, " & { query?: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | undefined; filters?: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[] | undefined; timeRange?: ", - "TimeRange", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, " | undefined; timeslice?: [number, number] | undefined; controlStyle?: ", "ControlStyle", " | undefined; ignoreParentSettings?: ", @@ -4422,7 +4548,13 @@ "text": "RawControlGroupAttributes" }, ", \"id\">) => ", - "SerializableRecord" + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + } ], "path": "src/plugins/controls/common/control_group/control_group_persistence.ts", "deprecated": false, @@ -4464,7 +4596,13 @@ "description": [], "signature": [ "(serializable: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ") => Omit<", { "pluginId": "controls", @@ -4487,7 +4625,13 @@ "label": "serializable", "description": [], "signature": [ - "SerializableRecord" + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + } ], "path": "src/plugins/controls/common/control_group/control_group_persistence.ts", "deprecated": false, @@ -5111,11 +5255,23 @@ "text": "ControlsPanels" }, " & ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, "; ignoreParentSettings: ", "ParentIgnoreSettings", " & ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, "; }" ], "path": "src/plugins/controls/common/control_group/types.ts", diff --git a/api_docs/controls.mdx b/api_docs/controls.mdx index f4129d559970f..70ced12740a72 100644 --- a/api_docs/controls.mdx +++ b/api_docs/controls.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/controls title: "controls" image: https://source.unsplash.com/400x175/?github description: API docs for the controls plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'controls'] --- import controlsObj from './controls.devdocs.json'; diff --git a/api_docs/core.devdocs.json b/api_docs/core.devdocs.json index 34c162ad5a2a1..652098189b3af 100644 --- a/api_docs/core.devdocs.json +++ b/api_docs/core.devdocs.json @@ -12,11 +12,23 @@ "\nMethods for adding and removing global toast messages." ], "signature": [ - "ToastsApi", + { + "pluginId": "@kbn/core-notifications-browser-internal", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserInternalPluginApi", + "section": "def-common.ToastsApi", + "text": "ToastsApi" + }, " implements ", - "IToasts" + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.IToasts", + "text": "IToasts" + } ], - "path": "node_modules/@types/kbn__core-notifications-browser-internal/index.d.ts", + "path": "packages/core/notifications/core-notifications-browser-internal/src/toasts/toasts_api.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -30,7 +42,7 @@ "signature": [ "any" ], - "path": "node_modules/@types/kbn__core-notifications-browser-internal/index.d.ts", + "path": "packages/core/notifications/core-notifications-browser-internal/src/toasts/toasts_api.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -41,7 +53,7 @@ "tags": [], "label": "deps", "description": [], - "path": "node_modules/@types/kbn__core-notifications-browser-internal/index.d.ts", + "path": "packages/core/notifications/core-notifications-browser-internal/src/toasts/toasts_api.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -53,9 +65,15 @@ "label": "uiSettings", "description": [], "signature": [ - "IUiSettingsClient" + { + "pluginId": "@kbn/core-ui-settings-browser", + "scope": "common", + "docId": "kibKbnCoreUiSettingsBrowserPluginApi", + "section": "def-common.IUiSettingsClient", + "text": "IUiSettingsClient" + } ], - "path": "node_modules/@types/kbn__core-notifications-browser-internal/index.d.ts", + "path": "packages/core/notifications/core-notifications-browser-internal/src/toasts/toasts_api.tsx", "deprecated": false, "trackAdoption": false } @@ -77,10 +95,16 @@ "() => ", "Observable", "<", - "Toast", + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.Toast", + "text": "Toast" + }, "[]>" ], - "path": "node_modules/@types/kbn__core-notifications-browser-internal/index.d.ts", + "path": "packages/core/notifications/core-notifications-browser-internal/src/toasts/toasts_api.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -97,11 +121,23 @@ ], "signature": [ "(toastOrTitle: ", - "ToastInput", + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.ToastInput", + "text": "ToastInput" + }, ") => ", - "Toast" + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.Toast", + "text": "Toast" + } ], - "path": "node_modules/@types/kbn__core-notifications-browser-internal/index.d.ts", + "path": "packages/core/notifications/core-notifications-browser-internal/src/toasts/toasts_api.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -115,9 +151,15 @@ "- a {@link ToastInput }" ], "signature": [ - "ToastInput" + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.ToastInput", + "text": "ToastInput" + } ], - "path": "node_modules/@types/kbn__core-notifications-browser-internal/index.d.ts", + "path": "packages/core/notifications/core-notifications-browser-internal/src/toasts/toasts_api.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -138,10 +180,16 @@ ], "signature": [ "(toastOrId: string | ", - "Toast", + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.Toast", + "text": "Toast" + }, ") => void" ], - "path": "node_modules/@types/kbn__core-notifications-browser-internal/index.d.ts", + "path": "packages/core/notifications/core-notifications-browser-internal/src/toasts/toasts_api.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -156,9 +204,15 @@ ], "signature": [ "string | ", - "Toast" + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.Toast", + "text": "Toast" + } ], - "path": "node_modules/@types/kbn__core-notifications-browser-internal/index.d.ts", + "path": "packages/core/notifications/core-notifications-browser-internal/src/toasts/toasts_api.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -177,13 +231,31 @@ ], "signature": [ "(toastOrTitle: ", - "ToastInput", + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.ToastInput", + "text": "ToastInput" + }, ", options?: ", - "ToastOptions", + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.ToastOptions", + "text": "ToastOptions" + }, " | undefined) => ", - "Toast" + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.Toast", + "text": "Toast" + } ], - "path": "node_modules/@types/kbn__core-notifications-browser-internal/index.d.ts", + "path": "packages/core/notifications/core-notifications-browser-internal/src/toasts/toasts_api.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -197,9 +269,15 @@ "- a {@link ToastInput }" ], "signature": [ - "ToastInput" + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.ToastInput", + "text": "ToastInput" + } ], - "path": "node_modules/@types/kbn__core-notifications-browser-internal/index.d.ts", + "path": "packages/core/notifications/core-notifications-browser-internal/src/toasts/toasts_api.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -214,10 +292,16 @@ "- a {@link ToastOptions }" ], "signature": [ - "ToastOptions", + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.ToastOptions", + "text": "ToastOptions" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-notifications-browser-internal/index.d.ts", + "path": "packages/core/notifications/core-notifications-browser-internal/src/toasts/toasts_api.tsx", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -238,13 +322,31 @@ ], "signature": [ "(toastOrTitle: ", - "ToastInput", + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.ToastInput", + "text": "ToastInput" + }, ", options?: ", - "ToastOptions", + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.ToastOptions", + "text": "ToastOptions" + }, " | undefined) => ", - "Toast" + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.Toast", + "text": "Toast" + } ], - "path": "node_modules/@types/kbn__core-notifications-browser-internal/index.d.ts", + "path": "packages/core/notifications/core-notifications-browser-internal/src/toasts/toasts_api.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -258,9 +360,15 @@ "- a {@link ToastInput }" ], "signature": [ - "ToastInput" + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.ToastInput", + "text": "ToastInput" + } ], - "path": "node_modules/@types/kbn__core-notifications-browser-internal/index.d.ts", + "path": "packages/core/notifications/core-notifications-browser-internal/src/toasts/toasts_api.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -275,10 +383,16 @@ "- a {@link ToastOptions }" ], "signature": [ - "ToastOptions", + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.ToastOptions", + "text": "ToastOptions" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-notifications-browser-internal/index.d.ts", + "path": "packages/core/notifications/core-notifications-browser-internal/src/toasts/toasts_api.tsx", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -299,13 +413,31 @@ ], "signature": [ "(toastOrTitle: ", - "ToastInput", + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.ToastInput", + "text": "ToastInput" + }, ", options?: ", - "ToastOptions", + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.ToastOptions", + "text": "ToastOptions" + }, " | undefined) => ", - "Toast" + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.Toast", + "text": "Toast" + } ], - "path": "node_modules/@types/kbn__core-notifications-browser-internal/index.d.ts", + "path": "packages/core/notifications/core-notifications-browser-internal/src/toasts/toasts_api.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -319,9 +451,15 @@ "- a {@link ToastInput }" ], "signature": [ - "ToastInput" + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.ToastInput", + "text": "ToastInput" + } ], - "path": "node_modules/@types/kbn__core-notifications-browser-internal/index.d.ts", + "path": "packages/core/notifications/core-notifications-browser-internal/src/toasts/toasts_api.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -336,10 +474,16 @@ "- a {@link ToastOptions }" ], "signature": [ - "ToastOptions", + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.ToastOptions", + "text": "ToastOptions" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-notifications-browser-internal/index.d.ts", + "path": "packages/core/notifications/core-notifications-browser-internal/src/toasts/toasts_api.tsx", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -360,13 +504,31 @@ ], "signature": [ "(toastOrTitle: ", - "ToastInput", + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.ToastInput", + "text": "ToastInput" + }, ", options?: ", - "ToastOptions", + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.ToastOptions", + "text": "ToastOptions" + }, " | undefined) => ", - "Toast" + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.Toast", + "text": "Toast" + } ], - "path": "node_modules/@types/kbn__core-notifications-browser-internal/index.d.ts", + "path": "packages/core/notifications/core-notifications-browser-internal/src/toasts/toasts_api.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -380,9 +542,15 @@ "- a {@link ToastInput }" ], "signature": [ - "ToastInput" + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.ToastInput", + "text": "ToastInput" + } ], - "path": "node_modules/@types/kbn__core-notifications-browser-internal/index.d.ts", + "path": "packages/core/notifications/core-notifications-browser-internal/src/toasts/toasts_api.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -397,10 +565,16 @@ "- a {@link ToastOptions }" ], "signature": [ - "ToastOptions", + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.ToastOptions", + "text": "ToastOptions" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-notifications-browser-internal/index.d.ts", + "path": "packages/core/notifications/core-notifications-browser-internal/src/toasts/toasts_api.tsx", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -421,11 +595,23 @@ ], "signature": [ "(error: Error, options: ", - "ErrorToastOptions", + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.ErrorToastOptions", + "text": "ErrorToastOptions" + }, ") => ", - "Toast" + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.Toast", + "text": "Toast" + } ], - "path": "node_modules/@types/kbn__core-notifications-browser-internal/index.d.ts", + "path": "packages/core/notifications/core-notifications-browser-internal/src/toasts/toasts_api.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -441,7 +627,7 @@ "signature": [ "Error" ], - "path": "node_modules/@types/kbn__core-notifications-browser-internal/index.d.ts", + "path": "packages/core/notifications/core-notifications-browser-internal/src/toasts/toasts_api.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -456,9 +642,15 @@ "- {@link ErrorToastOptions }" ], "signature": [ - "ErrorToastOptions" + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.ErrorToastOptions", + "text": "ErrorToastOptions" + } ], - "path": "node_modules/@types/kbn__core-notifications-browser-internal/index.d.ts", + "path": "packages/core/notifications/core-notifications-browser-internal/src/toasts/toasts_api.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -476,928 +668,181 @@ "interfaces": [ { "parentPluginId": "core", - "id": "def-public.AnalyticsClient", + "id": "def-public.App", "type": "Interface", "tags": [], - "label": "AnalyticsClient", - "description": [ - "\nAnalytics client's public APIs" - ], + "label": "App", + "description": [], "signature": [ - "AnalyticsClient" + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.App", + "text": "App" + }, + " extends ", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.AppNavOptions", + "text": "AppNavOptions" + } ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/core/application/core-application-browser/src/application.ts", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "core", - "id": "def-public.AnalyticsClient.reportEvent", - "type": "Function", - "tags": [ - "track-adoption" - ], - "label": "reportEvent", + "id": "def-public.App.id", + "type": "string", + "tags": [], + "label": "id", "description": [ - "\nReports a telemetry event." + "\nThe unique identifier of the application.\n\nCan only be composed of alphanumeric characters, `-`, `:` and `_`" ], - "signature": [ - "(eventType: string, eventData: EventTypeData) => void" + "path": "packages/core/application/core-application-browser/src/application.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "core", + "id": "def-public.App.title", + "type": "string", + "tags": [], + "label": "title", + "description": [ + "\nThe title of the application." ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/core/application/core-application-browser/src/application.ts", "deprecated": false, - "trackAdoption": true, - "references": [ - { - "plugin": "security", - "path": "x-pack/plugins/security/server/analytics/analytics_service.ts" - }, - { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/services/analytics/types.ts" - }, - { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/services/analytics/analytics_service.ts" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/fleet_usage_sender.ts" - }, - { - "plugin": "osquery", - "path": "x-pack/plugins/osquery/server/lib/telemetry/sender.ts" - }, - { - "plugin": "osquery", - "path": "x-pack/plugins/osquery/server/lib/telemetry/sender.ts" - }, - { - "plugin": "osquery", - "path": "x-pack/plugins/osquery/server/lib/telemetry/sender.ts" - }, - { - "plugin": "osquery", - "path": "x-pack/plugins/osquery/server/lib/telemetry/sender.ts" - }, - { - "plugin": "@kbn/ebt-tools", - "path": "packages/kbn-ebt-tools/src/performance_metric_events/helpers.ts" - }, - { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_clicks.ts" - }, - { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.ts" - }, - { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" - }, - { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" - }, - { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" - }, - { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" - }, - { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" - }, - { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" - }, - { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" - }, - { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" - }, - { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" - }, - { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" - }, - { - "plugin": "@kbn/core-plugins-server-internal", - "path": "packages/core/plugins/core-plugins-server-internal/src/plugin_context.ts" - }, - { - "plugin": "@kbn/core-plugins-server-internal", - "path": "packages/core/plugins/core-plugins-server-internal/src/plugin_context.ts" - }, - { - "plugin": "@kbn/core-plugins-server-internal", - "path": "packages/core/plugins/core-plugins-server-internal/src/plugin_context.ts" - }, - { - "plugin": "@kbn/core-plugins-server-internal", - "path": "packages/core/plugins/core-plugins-server-internal/src/plugin_context.ts" - }, - { - "plugin": "@kbn/core-plugins-server-internal", - "path": "packages/core/plugins/core-plugins-server-internal/src/plugin_context.ts" - }, - { - "plugin": "@kbn/core-plugins-server-internal", - "path": "packages/core/plugins/core-plugins-server-internal/src/plugin_context.ts" - }, - { - "plugin": "@kbn/core-root-browser-internal", - "path": "packages/core/root/core-root-browser-internal/src/core_system.ts" - }, - { - "plugin": "@kbn/core-status-server-internal", - "path": "packages/core/status/core-status-server-internal/src/status_service.ts" - }, - { - "plugin": "security", - "path": "x-pack/plugins/security/server/analytics/analytics_service.test.ts" - }, - { - "plugin": "security", - "path": "x-pack/plugins/security/server/analytics/analytics_service.test.ts" - }, - { - "plugin": "@kbn/core-analytics-server-mocks", - "path": "packages/core/analytics/core-analytics-server-mocks/src/analytics_service.mock.ts" - }, - { - "plugin": "@kbn/core-status-server-internal", - "path": "packages/core/status/core-status-server-internal/src/status_service.test.ts" - }, - { - "plugin": "@kbn/core-status-server-internal", - "path": "packages/core/status/core-status-server-internal/src/status_service.test.ts" - }, - { - "plugin": "@kbn/core-status-server-internal", - "path": "packages/core/status/core-status-server-internal/src/status_service.test.ts" - }, - { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/services/analytics/analytics.stub.ts" - }, - { - "plugin": "@kbn/core-analytics-browser-mocks", - "path": "packages/core/analytics/core-analytics-browser-mocks/src/analytics_service.mock.ts" - }, - { - "plugin": "@kbn/core-root-browser-internal", - "path": "packages/core/root/core-root-browser-internal/src/core_system.test.ts" - }, - { - "plugin": "@kbn/core-root-browser-internal", - "path": "packages/core/root/core-root-browser-internal/src/core_system.test.ts" - }, - { - "plugin": "@kbn/core-root-browser-internal", - "path": "packages/core/root/core-root-browser-internal/src/core_system.test.ts" - }, - { - "plugin": "@kbn/core-root-browser-internal", - "path": "packages/core/root/core-root-browser-internal/src/core_system.test.ts" - }, - { - "plugin": "@kbn/core-root-browser-internal", - "path": "packages/core/root/core-root-browser-internal/src/core_system.test.ts" - }, - { - "plugin": "@kbn/core-root-browser-internal", - "path": "packages/core/root/core-root-browser-internal/src/core_system.test.ts" - }, - { - "plugin": "@kbn/core-analytics-browser-mocks", - "path": "packages/core/analytics/core-analytics-browser-mocks/src/analytics_service.mock.ts" - }, - { - "plugin": "@kbn/core-analytics-server-mocks", - "path": "packages/core/analytics/core-analytics-server-mocks/src/analytics_service.mock.ts" - }, - { - "plugin": "@kbn/core-analytics-server-mocks", - "path": "packages/core/analytics/core-analytics-server-mocks/src/analytics_service.mock.ts" - }, - { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.test.mocks.ts" - }, - { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_clicks.test.ts" - }, - { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_clicks.test.ts" - }, - { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_clicks.test.ts" - }, - { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_clicks.test.ts" - }, - { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.test.ts" - }, - { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.test.ts" - }, - { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.test.mocks.ts" - } + "trackAdoption": false + }, + { + "parentPluginId": "core", + "id": "def-public.App.category", + "type": "Object", + "tags": [], + "label": "category", + "description": [ + "\nThe category definition of the product\nSee {@link AppCategory}\nSee DEFAULT_APP_CATEGORIES for more reference" ], - "children": [ + "signature": [ { - "parentPluginId": "core", - "id": "def-public.AnalyticsClient.reportEvent.$1", - "type": "string", - "tags": [], - "label": "eventType", - "description": [ - "The event type registered via the `registerEventType` API." - ], - "signature": [ - "string" - ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "isRequired": true + "pluginId": "@kbn/core-application-common", + "scope": "common", + "docId": "kibKbnCoreApplicationCommonPluginApi", + "section": "def-common.AppCategory", + "text": "AppCategory" }, - { - "parentPluginId": "core", - "id": "def-public.AnalyticsClient.reportEvent.$2", - "type": "Uncategorized", - "tags": [], - "label": "eventData", - "description": [ - "The properties matching the schema declared in the `registerEventType` API." - ], - "signature": [ - "EventTypeData" - ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "isRequired": true - } + " | undefined" ], - "returnComment": [] + "path": "packages/core/application/core-application-browser/src/application.ts", + "deprecated": false, + "trackAdoption": false }, { "parentPluginId": "core", - "id": "def-public.AnalyticsClient.registerEventType", - "type": "Function", + "id": "def-public.App.status", + "type": "CompoundType", "tags": [], - "label": "registerEventType", + "label": "status", "description": [ - "\nRegisters the event type that will be emitted via the reportEvent API." + "\nThe initial status of the application.\nDefaulting to `accessible`" ], "signature": [ - "(eventTypeOps: ", - "EventTypeOpts", - ") => void" - ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "children": [ { - "parentPluginId": "core", - "id": "def-public.AnalyticsClient.registerEventType.$1", - "type": "Object", - "tags": [], - "label": "eventTypeOps", - "description": [ - "The definition of the event type {@link EventTypeOpts }." - ], - "signature": [ - "EventTypeOpts", - "" - ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "isRequired": true - } + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.AppStatus", + "text": "AppStatus" + }, + " | undefined" ], - "returnComment": [] + "path": "packages/core/application/core-application-browser/src/application.ts", + "deprecated": false, + "trackAdoption": false }, { "parentPluginId": "core", - "id": "def-public.AnalyticsClient.registerShipper", - "type": "Function", + "id": "def-public.App.navLinkStatus", + "type": "CompoundType", "tags": [], - "label": "registerShipper", + "label": "navLinkStatus", "description": [ - "\nSet up the shipper that will be used to report the telemetry events." + "\nThe initial status of the application's navLink.\nDefaulting to `visible` if `status` is `accessible` and `hidden` if status is `inaccessible`\nSee {@link AppNavLinkStatus}" ], "signature": [ - "(Shipper: ", - "ShipperClassConstructor", - ", shipperConfig: ShipperConfig, opts?: ", - "RegisterShipperOpts", - " | undefined) => void" - ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "core", - "id": "def-public.AnalyticsClient.registerShipper.$1", - "type": "Object", - "tags": [], - "label": "Shipper", - "description": [ - "The {@link IShipper } class to instantiate the shipper." - ], - "signature": [ - "ShipperClassConstructor", - "" - ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "isRequired": true - }, { - "parentPluginId": "core", - "id": "def-public.AnalyticsClient.registerShipper.$2", - "type": "Uncategorized", - "tags": [], - "label": "shipperConfig", - "description": [ - "The config specific to the Shipper to instantiate." - ], - "signature": [ - "ShipperConfig" - ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "isRequired": true + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.AppNavLinkStatus", + "text": "AppNavLinkStatus" }, - { - "parentPluginId": "core", - "id": "def-public.AnalyticsClient.registerShipper.$3", - "type": "Object", - "tags": [], - "label": "opts", - "description": [ - "Additional options to register the shipper {@link RegisterShipperOpts }." - ], - "signature": [ - "RegisterShipperOpts", - " | undefined" - ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "isRequired": false - } + " | undefined" ], - "returnComment": [] + "path": "packages/core/application/core-application-browser/src/application.ts", + "deprecated": false, + "trackAdoption": false }, { "parentPluginId": "core", - "id": "def-public.AnalyticsClient.optIn", - "type": "Function", + "id": "def-public.App.searchable", + "type": "CompoundType", "tags": [], - "label": "optIn", + "label": "searchable", "description": [ - "\nUsed to control the user's consent to report the data.\nIn the advanced mode, it allows to \"cherry-pick\" which events and shippers are enabled/disabled." + "\nThe initial flag to determine if the application is searchable in the global search.\nDefaulting to `true` if `navLinkStatus` is `visible` or omitted." ], "signature": [ - "(optInConfig: ", - "OptInConfig", - ") => void" + "boolean | undefined" ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/core/application/core-application-browser/src/application.ts", "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "core", - "id": "def-public.AnalyticsClient.optIn.$1", - "type": "Object", - "tags": [], - "label": "optInConfig", - "description": [ - "{@link OptInConfig }" - ], - "signature": [ - "OptInConfig" - ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "isRequired": true - } - ], - "returnComment": [] + "trackAdoption": false }, { "parentPluginId": "core", - "id": "def-public.AnalyticsClient.registerContextProvider", - "type": "Function", - "tags": [ - "track-adoption" - ], - "label": "registerContextProvider", + "id": "def-public.App.defaultPath", + "type": "string", + "tags": [], + "label": "defaultPath", "description": [ - "\nRegisters the context provider to enrich any reported events." + "\nAllow to define the default path a user should be directed to when navigating to the app.\nWhen defined, this value will be used as a default for the `path` option when calling {@link ApplicationStart.navigateToApp | navigateToApp}`,\nand will also be appended to the {@link ChromeNavLink | application navLink} in the navigation bar." ], "signature": [ - "(contextProviderOpts: ", - "ContextProviderOpts", - ") => void" + "string | undefined" ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/core/application/core-application-browser/src/application.ts", "deprecated": false, - "trackAdoption": true, - "references": [ + "trackAdoption": false + }, + { + "parentPluginId": "core", + "id": "def-public.App.updater$", + "type": "Object", + "tags": [], + "label": "updater$", + "description": [ + "\nAn {@link AppUpdater} observable that can be used to update the application {@link AppUpdatableFields} at runtime.\n" + ], + "signature": [ + "Observable", + "<", { - "plugin": "licensing", - "path": "x-pack/plugins/licensing/common/register_analytics_context_provider.ts" - }, - { - "plugin": "cloud", - "path": "x-pack/plugins/cloud/common/register_cloud_deployment_id_analytics_context.ts" - }, - { - "plugin": "security", - "path": "x-pack/plugins/security/public/analytics/register_user_context.ts" - }, - { - "plugin": "telemetry", - "path": "src/plugins/telemetry/public/plugin.ts" - }, - { - "plugin": "telemetry", - "path": "src/plugins/telemetry/server/plugin.ts" - }, - { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.ts" - }, - { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" - }, - { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" - }, - { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" - }, - { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" - }, - { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" - }, - { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" - }, - { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" - }, - { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" - }, - { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" - }, - { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" - }, - { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" - }, - { - "plugin": "@kbn/core-elasticsearch-server-internal", - "path": "packages/core/elasticsearch/core-elasticsearch-server-internal/src/register_analytics_context_provider.ts" - }, - { - "plugin": "@kbn/core-environment-server-internal", - "path": "packages/core/environment/core-environment-server-internal/src/environment_service.ts" - }, - { - "plugin": "@kbn/core-execution-context-browser-internal", - "path": "packages/core/execution-context/core-execution-context-browser-internal/src/execution_context_service.ts" - }, - { - "plugin": "@kbn/core-plugins-server-internal", - "path": "packages/core/plugins/core-plugins-server-internal/src/plugin_context.ts" - }, - { - "plugin": "@kbn/core-plugins-server-internal", - "path": "packages/core/plugins/core-plugins-server-internal/src/plugin_context.ts" - }, - { - "plugin": "@kbn/core-plugins-server-internal", - "path": "packages/core/plugins/core-plugins-server-internal/src/plugin_context.ts" - }, - { - "plugin": "@kbn/core-plugins-server-internal", - "path": "packages/core/plugins/core-plugins-server-internal/src/plugin_context.ts" - }, - { - "plugin": "@kbn/core-status-server-internal", - "path": "packages/core/status/core-status-server-internal/src/status_service.ts" - }, - { - "plugin": "security", - "path": "x-pack/plugins/security/public/analytics/analytics_service.test.ts" - }, - { - "plugin": "security", - "path": "x-pack/plugins/security/public/analytics/analytics_service.test.ts" - }, - { - "plugin": "security", - "path": "x-pack/plugins/security/public/analytics/register_user_context.test.ts" - }, - { - "plugin": "security", - "path": "x-pack/plugins/security/public/analytics/register_user_context.test.ts" - }, - { - "plugin": "security", - "path": "x-pack/plugins/security/public/analytics/register_user_context.test.ts" - }, - { - "plugin": "security", - "path": "x-pack/plugins/security/public/analytics/register_user_context.test.ts" - }, - { - "plugin": "security", - "path": "x-pack/plugins/security/public/analytics/register_user_context.test.ts" - }, - { - "plugin": "security", - "path": "x-pack/plugins/security/public/analytics/register_user_context.test.ts" - }, - { - "plugin": "security", - "path": "x-pack/plugins/security/public/analytics/register_user_context.test.ts" - }, - { - "plugin": "security", - "path": "x-pack/plugins/security/public/analytics/register_user_context.test.ts" - }, - { - "plugin": "security", - "path": "x-pack/plugins/security/public/analytics/register_user_context.test.ts" - }, - { - "plugin": "security", - "path": "x-pack/plugins/security/public/analytics/register_user_context.test.ts" - }, - { - "plugin": "@kbn/core-analytics-browser-mocks", - "path": "packages/core/analytics/core-analytics-browser-mocks/src/analytics_service.mock.ts" - }, - { - "plugin": "@kbn/core-execution-context-browser-internal", - "path": "packages/core/execution-context/core-execution-context-browser-internal/src/execution_context_service.test.ts" - }, - { - "plugin": "@kbn/core-execution-context-browser-internal", - "path": "packages/core/execution-context/core-execution-context-browser-internal/src/execution_context_service.test.ts" - }, - { - "plugin": "@kbn/core-analytics-server-mocks", - "path": "packages/core/analytics/core-analytics-server-mocks/src/analytics_service.mock.ts" - }, - { - "plugin": "@kbn/core-analytics-server-mocks", - "path": "packages/core/analytics/core-analytics-server-mocks/src/analytics_service.mock.ts" - }, - { - "plugin": "@kbn/core-elasticsearch-server-internal", - "path": "packages/core/elasticsearch/core-elasticsearch-server-internal/src/register_analytics_context_provider.test.ts" - }, - { - "plugin": "@kbn/core-status-server-internal", - "path": "packages/core/status/core-status-server-internal/src/status_service.test.ts" - }, - { - "plugin": "@kbn/core-status-server-internal", - "path": "packages/core/status/core-status-server-internal/src/status_service.test.ts" - }, - { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.test.mocks.ts" - }, - { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.test.ts" - }, - { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.test.ts" - }, - { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.test.ts" - }, - { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.test.ts" - }, - { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.test.ts" - }, - { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.test.ts" - }, - { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.test.mocks.ts" - }, - { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.test.ts" + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.AppUpdater", + "text": "AppUpdater" }, - { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.test.ts" - } - ], - "children": [ - { - "parentPluginId": "core", - "id": "def-public.AnalyticsClient.registerContextProvider.$1", - "type": "Object", - "tags": [], - "label": "contextProviderOpts", - "description": [ - "{@link ContextProviderOpts }" - ], - "signature": [ - "ContextProviderOpts", - "" - ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "core", - "id": "def-public.AnalyticsClient.removeContextProvider", - "type": "Function", - "tags": [], - "label": "removeContextProvider", - "description": [ - "\nRemoves the context provider and stop enriching the events from its context." - ], - "signature": [ - "(contextProviderName: string) => void" - ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "core", - "id": "def-public.AnalyticsClient.removeContextProvider.$1", - "type": "string", - "tags": [], - "label": "contextProviderName", - "description": [ - "The name of the context provider to remove." - ], - "signature": [ - "string" - ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "core", - "id": "def-public.AnalyticsClient.telemetryCounter$", - "type": "Object", - "tags": [], - "label": "telemetryCounter$", - "description": [ - "\nObservable to emit the stats of the processed events." - ], - "signature": [ - "Observable", - "<", - "TelemetryCounter", - ">" - ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "core", - "id": "def-public.AnalyticsClient.shutdown", - "type": "Function", - "tags": [], - "label": "shutdown", - "description": [ - "\nStops the client." - ], - "signature": [ - "() => void" - ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "children": [], - "returnComment": [] - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "core", - "id": "def-public.App", - "type": "Interface", - "tags": [], - "label": "App", - "description": [], - "signature": [ - "App", - " extends ", - "AppNavOptions" - ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "core", - "id": "def-public.App.id", - "type": "string", - "tags": [], - "label": "id", - "description": [ - "\nThe unique identifier of the application.\n\nCan only be composed of alphanumeric characters, `-`, `:` and `_`" - ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "core", - "id": "def-public.App.title", - "type": "string", - "tags": [], - "label": "title", - "description": [ - "\nThe title of the application." - ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "core", - "id": "def-public.App.category", - "type": "Object", - "tags": [], - "label": "category", - "description": [ - "\nThe category definition of the product\nSee {@link AppCategory}\nSee DEFAULT_APP_CATEGORIES for more reference" - ], - "signature": [ - "AppCategory", - " | undefined" - ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "core", - "id": "def-public.App.status", - "type": "CompoundType", - "tags": [], - "label": "status", - "description": [ - "\nThe initial status of the application.\nDefaulting to `accessible`" - ], - "signature": [ - "AppStatus", - " | undefined" - ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "core", - "id": "def-public.App.navLinkStatus", - "type": "CompoundType", - "tags": [], - "label": "navLinkStatus", - "description": [ - "\nThe initial status of the application's navLink.\nDefaulting to `visible` if `status` is `accessible` and `hidden` if status is `inaccessible`\nSee {@link AppNavLinkStatus}" - ], - "signature": [ - "AppNavLinkStatus", - " | undefined" - ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "core", - "id": "def-public.App.searchable", - "type": "CompoundType", - "tags": [], - "label": "searchable", - "description": [ - "\nThe initial flag to determine if the application is searchable in the global search.\nDefaulting to `true` if `navLinkStatus` is `visible` or omitted." - ], - "signature": [ - "boolean | undefined" - ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "core", - "id": "def-public.App.defaultPath", - "type": "string", - "tags": [], - "label": "defaultPath", - "description": [ - "\nAllow to define the default path a user should be directed to when navigating to the app.\nWhen defined, this value will be used as a default for the `path` option when calling {@link ApplicationStart.navigateToApp | navigateToApp}`,\nand will also be appended to the {@link ChromeNavLink | application navLink} in the navigation bar." - ], - "signature": [ - "string | undefined" - ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "core", - "id": "def-public.App.updater$", - "type": "Object", - "tags": [], - "label": "updater$", - "description": [ - "\nAn {@link AppUpdater} observable that can be used to update the application {@link AppUpdatableFields} at runtime.\n" - ], - "signature": [ - "Observable", - "<", - "AppUpdater", "> | undefined" ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/application.ts", "deprecated": false, "trackAdoption": false }, @@ -1412,10 +857,16 @@ ], "signature": [ "Partial<", - "Capabilities", + { + "pluginId": "@kbn/core-capabilities-common", + "scope": "common", + "docId": "kibKbnCoreCapabilitiesCommonPluginApi", + "section": "def-common.Capabilities", + "text": "Capabilities" + }, "> | undefined" ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/application.ts", "deprecated": false, "trackAdoption": false }, @@ -1431,7 +882,7 @@ "signature": [ "boolean | undefined" ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/application.ts", "deprecated": false, "trackAdoption": false }, @@ -1446,14 +897,32 @@ ], "signature": [ "(params: ", - "AppMountParameters", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.AppMountParameters", + "text": "AppMountParameters" + }, ") => ", - "AppUnmount", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.AppUnmount", + "text": "AppUnmount" + }, " | Promise<", - "AppUnmount", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.AppUnmount", + "text": "AppUnmount" + }, ">" ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/application.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -1466,10 +935,16 @@ "label": "params", "description": [], "signature": [ - "AppMountParameters", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.AppMountParameters", + "text": "AppMountParameters" + }, "" ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/app_mount.ts", "deprecated": false, "trackAdoption": false } @@ -1487,7 +962,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/application.ts", "deprecated": false, "trackAdoption": false }, @@ -1503,7 +978,7 @@ "signature": [ "boolean | undefined" ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/application.ts", "deprecated": false, "trackAdoption": false }, @@ -1519,7 +994,7 @@ "signature": [ "string[] | undefined" ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/application.ts", "deprecated": false, "trackAdoption": false }, @@ -1533,10 +1008,16 @@ "\nInput type for registering secondary in-app locations for an application.\n\nDeep links must include at least one of `path` or `deepLinks`. A deep link that does not have a `path`\nrepresents a topological level in the application's hierarchy, but does not have a destination URL that is\nuser-accessible.\n" ], "signature": [ - "AppDeepLink", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.AppDeepLink", + "text": "AppDeepLink" + }, "[] | undefined" ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/application.ts", "deprecated": false, "trackAdoption": false } @@ -1552,10 +1033,7 @@ "description": [ "\nA category definition for nav links to know where to sort them in the left hand nav" ], - "signature": [ - "AppCategory" - ], - "path": "node_modules/@types/kbn__core-application-common/index.d.ts", + "path": "packages/core/application/core-application-common/src/app_category.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1568,7 +1046,7 @@ "description": [ "\nUnique identifier for the categories" ], - "path": "node_modules/@types/kbn__core-application-common/index.d.ts", + "path": "packages/core/application/core-application-common/src/app_category.ts", "deprecated": false, "trackAdoption": false }, @@ -1581,7 +1059,7 @@ "description": [ "\nLabel used for category name.\nAlso used as aria-label if one isn't set." ], - "path": "node_modules/@types/kbn__core-application-common/index.d.ts", + "path": "packages/core/application/core-application-common/src/app_category.ts", "deprecated": false, "trackAdoption": false }, @@ -1597,7 +1075,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-application-common/index.d.ts", + "path": "packages/core/application/core-application-common/src/app_category.ts", "deprecated": false, "trackAdoption": false }, @@ -1613,7 +1091,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-application-common/index.d.ts", + "path": "packages/core/application/core-application-common/src/app_category.ts", "deprecated": false, "trackAdoption": false }, @@ -1629,7 +1107,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-application-common/index.d.ts", + "path": "packages/core/application/core-application-common/src/app_category.ts", "deprecated": false, "trackAdoption": false } @@ -1645,10 +1123,7 @@ "description": [ "\nAction to return from a {@link AppLeaveHandler} to show a confirmation\nmessage when trying to leave an application.\n\nSee {@link AppLeaveActionFactory}\n" ], - "signature": [ - "AppLeaveConfirmAction" - ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/app_leave.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1660,10 +1135,16 @@ "label": "type", "description": [], "signature": [ - "AppLeaveActionType", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.AppLeaveActionType", + "text": "AppLeaveActionType" + }, ".confirm" ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/app_leave.ts", "deprecated": false, "trackAdoption": false }, @@ -1674,7 +1155,7 @@ "tags": [], "label": "text", "description": [], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/app_leave.ts", "deprecated": false, "trackAdoption": false }, @@ -1688,7 +1169,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/app_leave.ts", "deprecated": false, "trackAdoption": false }, @@ -1702,7 +1183,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/app_leave.ts", "deprecated": false, "trackAdoption": false }, @@ -1717,7 +1198,7 @@ "ButtonColor", " | undefined" ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/app_leave.ts", "deprecated": false, "trackAdoption": false }, @@ -1731,7 +1212,7 @@ "signature": [ "(() => void) | undefined" ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/app_leave.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1749,10 +1230,7 @@ "description": [ "\nAction to return from a {@link AppLeaveHandler} to execute the default\nbehaviour when leaving the application.\n\nSee {@link AppLeaveActionFactory}\n" ], - "signature": [ - "AppLeaveDefaultAction" - ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/app_leave.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1764,10 +1242,16 @@ "label": "type", "description": [], "signature": [ - "AppLeaveActionType", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.AppLeaveActionType", + "text": "AppLeaveActionType" + }, ".default" ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/app_leave.ts", "deprecated": false, "trackAdoption": false } @@ -1781,10 +1265,7 @@ "tags": [], "label": "ApplicationSetup", "description": [], - "signature": [ - "ApplicationSetup" - ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1799,10 +1280,16 @@ ], "signature": [ "(app: ", - "App", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.App", + "text": "App" + }, ") => void" ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1816,10 +1303,16 @@ "- an {@link App }" ], "signature": [ - "App", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.App", + "text": "App" + }, "" ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1840,10 +1333,16 @@ "(appUpdater$: ", "Observable", "<", - "AppUpdater", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.AppUpdater", + "text": "AppUpdater" + }, ">) => void" ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1857,10 +1356,16 @@ "signature": [ "Observable", "<", - "AppUpdater", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.AppUpdater", + "text": "AppUpdater" + }, ">" ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1878,10 +1383,7 @@ "tags": [], "label": "ApplicationStart", "description": [], - "signature": [ - "ApplicationStart" - ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1897,7 +1399,7 @@ "signature": [ "{ readonly [x: string]: Readonly<{ [x: string]: boolean | Readonly<{ [x: string]: boolean; }>; }>; readonly navLinks: Readonly<{ [x: string]: boolean; }>; readonly management: Readonly<{ [x: string]: Readonly<{ [x: string]: boolean; }>; }>; readonly catalogue: Readonly<{ [x: string]: boolean; }>; }" ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false }, @@ -1913,10 +1415,16 @@ "signature": [ "Observable", ">" ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false }, @@ -1931,10 +1439,16 @@ ], "signature": [ "(appId: string, options?: ", - "NavigateToAppOptions", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.NavigateToAppOptions", + "text": "NavigateToAppOptions" + }, " | undefined) => Promise" ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1948,7 +1462,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1963,10 +1477,16 @@ "- navigation options" ], "signature": [ - "NavigateToAppOptions", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.NavigateToAppOptions", + "text": "NavigateToAppOptions" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -1985,10 +1505,16 @@ ], "signature": [ "(url: string, options?: ", - "NavigateToUrlOptions", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.NavigateToUrlOptions", + "text": "NavigateToUrlOptions" + }, " | undefined) => Promise" ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2004,7 +1530,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2019,10 +1545,16 @@ "- navigation options" ], "signature": [ - "NavigateToUrlOptions", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.NavigateToUrlOptions", + "text": "NavigateToUrlOptions" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -2042,7 +1574,7 @@ "signature": [ "(appId: string, options?: { path?: string | undefined; absolute?: boolean | undefined; deepLinkId?: string | undefined; } | undefined) => string" ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2056,7 +1588,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2068,7 +1600,7 @@ "tags": [], "label": "options", "description": [], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2082,7 +1614,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false }, @@ -2096,7 +1628,7 @@ "signature": [ "boolean | undefined" ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false }, @@ -2110,7 +1642,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false } @@ -2132,7 +1664,7 @@ "Observable", "" ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false } @@ -2147,10 +1679,16 @@ "label": "AppMountParameters", "description": [], "signature": [ - "AppMountParameters", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.AppMountParameters", + "text": "AppMountParameters" + }, "" ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/app_mount.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2166,7 +1704,7 @@ "signature": [ "HTMLElement" ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/app_mount.ts", "deprecated": false, "trackAdoption": false }, @@ -2180,10 +1718,16 @@ "\nA scoped history instance for your application. Should be used to wire up\nyour applications Router.\n" ], "signature": [ - "ScopedHistory", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.ScopedHistory", + "text": "ScopedHistory" + }, "" ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/app_mount.ts", "deprecated": false, "trackAdoption": false }, @@ -2198,11 +1742,19 @@ "description": [ "\nThe route path for configuring navigation to the application.\nThis string should not include the base path from HTTP.\n" ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/app_mount.ts", "deprecated": true, "removeBy": "8.8.0", "trackAdoption": false, "references": [ + { + "plugin": "@kbn/core-application-browser-internal", + "path": "packages/core/application/core-application-browser-internal/src/ui/app_container.tsx" + }, + { + "plugin": "@kbn/core-application-browser-mocks", + "path": "packages/core/application/core-application-browser-mocks/src/application_service.mock.ts" + }, { "plugin": "management", "path": "src/plugins/management/public/application.tsx" @@ -2218,14 +1770,6 @@ { "plugin": "kibanaOverview", "path": "src/plugins/kibana_overview/public/application.tsx" - }, - { - "plugin": "@kbn/core-application-browser-internal", - "path": "packages/core/application/core-application-browser-internal/src/ui/app_container.tsx" - }, - { - "plugin": "@kbn/core-application-browser-mocks", - "path": "packages/core/application/core-application-browser-mocks/src/application_service.mock.ts" } ] }, @@ -2242,14 +1786,28 @@ ], "signature": [ "(handler: ", - "AppLeaveHandler", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.AppLeaveHandler", + "text": "AppLeaveHandler" + }, ") => void" ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/app_mount.ts", "deprecated": true, "removeBy": "8.8.0", "trackAdoption": false, "references": [ + { + "plugin": "@kbn/core-application-browser-internal", + "path": "packages/core/application/core-application-browser-internal/src/ui/app_container.tsx" + }, + { + "plugin": "@kbn/core-application-browser-mocks", + "path": "packages/core/application/core-application-browser-mocks/src/application_service.mock.ts" + }, { "plugin": "visualizations", "path": "src/plugins/visualizations/public/visualize_app/components/visualize_top_nav.tsx" @@ -2313,14 +1871,6 @@ { "plugin": "security", "path": "x-pack/plugins/security/public/authentication/logout/logout_app.test.ts" - }, - { - "plugin": "@kbn/core-application-browser-internal", - "path": "packages/core/application/core-application-browser-internal/src/ui/app_container.tsx" - }, - { - "plugin": "@kbn/core-application-browser-mocks", - "path": "packages/core/application/core-application-browser-mocks/src/application_service.mock.ts" } ], "children": [ @@ -2332,9 +1882,15 @@ "label": "handler", "description": [], "signature": [ - "AppLeaveHandler" - ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.AppLeaveHandler", + "text": "AppLeaveHandler" + } + ], + "path": "packages/core/application/core-application-browser/src/app_mount.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2353,10 +1909,16 @@ ], "signature": [ "(menuMount: ", - "MountPoint", + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.MountPoint", + "text": "MountPoint" + }, " | undefined) => void" ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/app_mount.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2368,10 +1930,16 @@ "label": "menuMount", "description": [], "signature": [ - "MountPoint", + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.MountPoint", + "text": "MountPoint" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/app_mount.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -2391,10 +1959,16 @@ "signature": [ "Observable", "<", - "CoreTheme", + { + "pluginId": "@kbn/core-theme-browser", + "scope": "common", + "docId": "kibKbnCoreThemeBrowserPluginApi", + "section": "def-common.CoreTheme", + "text": "CoreTheme" + }, ">" ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/app_mount.ts", "deprecated": false, "trackAdoption": false } @@ -2410,10 +1984,7 @@ "description": [ "\nApp navigation menu options" ], - "signature": [ - "AppNavOptions" - ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/application.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2429,7 +2000,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/application.ts", "deprecated": false, "trackAdoption": false }, @@ -2445,7 +2016,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/application.ts", "deprecated": false, "trackAdoption": false }, @@ -2461,7 +2032,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/application.ts", "deprecated": false, "trackAdoption": false }, @@ -2477,7 +2048,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/application.ts", "deprecated": false, "trackAdoption": false } @@ -2493,10 +2064,7 @@ "description": [ "\nThe read-only set of capabilities available for the current UI session.\nCapabilities are simple key-value pairs of (string, boolean), where the string denotes the capability ID,\nand the boolean is a flag indicating if the capability is enabled or disabled.\n" ], - "signature": [ - "Capabilities" - ], - "path": "node_modules/@types/kbn__core-capabilities-common/index.d.ts", + "path": "packages/core/capabilities/core-capabilities-common/src/capabilities.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2512,7 +2080,7 @@ "signature": [ "{ [x: string]: boolean; }" ], - "path": "node_modules/@types/kbn__core-capabilities-common/index.d.ts", + "path": "packages/core/capabilities/core-capabilities-common/src/capabilities.ts", "deprecated": false, "trackAdoption": false }, @@ -2528,7 +2096,7 @@ "signature": [ "{ [sectionId: string]: Record; }" ], - "path": "node_modules/@types/kbn__core-capabilities-common/index.d.ts", + "path": "packages/core/capabilities/core-capabilities-common/src/capabilities.ts", "deprecated": false, "trackAdoption": false }, @@ -2544,7 +2112,7 @@ "signature": [ "{ [x: string]: boolean; }" ], - "path": "node_modules/@types/kbn__core-capabilities-common/index.d.ts", + "path": "packages/core/capabilities/core-capabilities-common/src/capabilities.ts", "deprecated": false, "trackAdoption": false }, @@ -2560,7 +2128,7 @@ "signature": [ "[key: string]: Record>" ], - "path": "node_modules/@types/kbn__core-capabilities-common/index.d.ts", + "path": "packages/core/capabilities/core-capabilities-common/src/capabilities.ts", "deprecated": false, "trackAdoption": false } @@ -2574,10 +2142,7 @@ "tags": [], "label": "ChromeBadge", "description": [], - "signature": [ - "ChromeBadge" - ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2588,7 +2153,7 @@ "tags": [], "label": "text", "description": [], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2599,7 +2164,7 @@ "tags": [], "label": "tooltip", "description": [], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2614,7 +2179,7 @@ "IconType", " | undefined" ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -2630,10 +2195,7 @@ "description": [ "\nAPIs for accessing and updating the document title.\n" ], - "signature": [ - "ChromeDocTitle" - ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/doc_title.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2649,7 +2211,7 @@ "signature": [ "(newTitle: string | string[]) => void" ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/doc_title.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2665,7 +2227,7 @@ "signature": [ "string | string[]" ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/doc_title.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2685,7 +2247,7 @@ "signature": [ "() => void" ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/doc_title.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -2701,10 +2263,7 @@ "tags": [], "label": "ChromeHelpExtension", "description": [], - "signature": [ - "ChromeHelpExtension" - ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/help_extension.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2717,7 +2276,7 @@ "description": [ "\nProvide your plugin's name to create a header for separation" ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/help_extension.ts", "deprecated": false, "trackAdoption": false }, @@ -2731,10 +2290,16 @@ "\nCreates unified links for sending users to documentation, GitHub, Discuss, or a custom link/button" ], "signature": [ - "ChromeHelpExtensionMenuLink", + { + "pluginId": "@kbn/core-chrome-browser", + "scope": "common", + "docId": "kibKbnCoreChromeBrowserPluginApi", + "section": "def-common.ChromeHelpExtensionMenuLink", + "text": "ChromeHelpExtensionMenuLink" + }, "[] | undefined" ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/help_extension.ts", "deprecated": false, "trackAdoption": false }, @@ -2749,10 +2314,16 @@ ], "signature": [ "((element: HTMLDivElement, menuActions: ", - "ChromeHelpMenuActions", + { + "pluginId": "@kbn/core-chrome-browser", + "scope": "common", + "docId": "kibKbnCoreChromeBrowserPluginApi", + "section": "def-common.ChromeHelpMenuActions", + "text": "ChromeHelpMenuActions" + }, ") => () => void) | undefined" ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/help_extension.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2766,7 +2337,7 @@ "signature": [ "HTMLDivElement" ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/help_extension.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2779,9 +2350,15 @@ "label": "menuActions", "description": [], "signature": [ - "ChromeHelpMenuActions" + { + "pluginId": "@kbn/core-chrome-browser", + "scope": "common", + "docId": "kibKbnCoreChromeBrowserPluginApi", + "section": "def-common.ChromeHelpMenuActions", + "text": "ChromeHelpMenuActions" + } ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/help_extension.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2800,11 +2377,23 @@ "label": "ChromeHelpExtensionMenuCustomLink", "description": [], "signature": [ - "ChromeHelpExtensionMenuCustomLink", + { + "pluginId": "@kbn/core-chrome-browser", + "scope": "common", + "docId": "kibKbnCoreChromeBrowserPluginApi", + "section": "def-common.ChromeHelpExtensionMenuCustomLink", + "text": "ChromeHelpExtensionMenuCustomLink" + }, " extends ", - "ChromeHelpExtensionLinkBase" + { + "pluginId": "@kbn/core-chrome-browser", + "scope": "common", + "docId": "kibKbnCoreChromeBrowserPluginApi", + "section": "def-common.ChromeHelpExtensionLinkBase", + "text": "ChromeHelpExtensionLinkBase" + } ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/help_extension.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2820,7 +2409,7 @@ "signature": [ "\"custom\"" ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/help_extension.ts", "deprecated": false, "trackAdoption": false }, @@ -2833,7 +2422,7 @@ "description": [ "\nURL of the link" ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/help_extension.ts", "deprecated": false, "trackAdoption": false }, @@ -2849,7 +2438,7 @@ "signature": [ "boolean | React.ReactChild | React.ReactFragment | React.ReactPortal | null | undefined" ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/help_extension.ts", "deprecated": false, "trackAdoption": false } @@ -2864,11 +2453,23 @@ "label": "ChromeHelpExtensionMenuDiscussLink", "description": [], "signature": [ - "ChromeHelpExtensionMenuDiscussLink", + { + "pluginId": "@kbn/core-chrome-browser", + "scope": "common", + "docId": "kibKbnCoreChromeBrowserPluginApi", + "section": "def-common.ChromeHelpExtensionMenuDiscussLink", + "text": "ChromeHelpExtensionMenuDiscussLink" + }, " extends ", - "ChromeHelpExtensionLinkBase" + { + "pluginId": "@kbn/core-chrome-browser", + "scope": "common", + "docId": "kibKbnCoreChromeBrowserPluginApi", + "section": "def-common.ChromeHelpExtensionLinkBase", + "text": "ChromeHelpExtensionLinkBase" + } ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/help_extension.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2884,7 +2485,7 @@ "signature": [ "\"discuss\"" ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/help_extension.ts", "deprecated": false, "trackAdoption": false }, @@ -2897,7 +2498,7 @@ "description": [ "\nURL to discuss page.\ni.e. `https://discuss.elastic.co/c/${appName}`" ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/help_extension.ts", "deprecated": false, "trackAdoption": false } @@ -2912,11 +2513,23 @@ "label": "ChromeHelpExtensionMenuDocumentationLink", "description": [], "signature": [ - "ChromeHelpExtensionMenuDocumentationLink", + { + "pluginId": "@kbn/core-chrome-browser", + "scope": "common", + "docId": "kibKbnCoreChromeBrowserPluginApi", + "section": "def-common.ChromeHelpExtensionMenuDocumentationLink", + "text": "ChromeHelpExtensionMenuDocumentationLink" + }, " extends ", - "ChromeHelpExtensionLinkBase" + { + "pluginId": "@kbn/core-chrome-browser", + "scope": "common", + "docId": "kibKbnCoreChromeBrowserPluginApi", + "section": "def-common.ChromeHelpExtensionLinkBase", + "text": "ChromeHelpExtensionLinkBase" + } ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/help_extension.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2932,7 +2545,7 @@ "signature": [ "\"documentation\"" ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/help_extension.ts", "deprecated": false, "trackAdoption": false }, @@ -2945,7 +2558,7 @@ "description": [ "\nURL to documentation page.\ni.e. `${ELASTIC_WEBSITE_URL}guide/en/kibana/${DOC_LINK_VERSION}/${appName}.html`," ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/help_extension.ts", "deprecated": false, "trackAdoption": false } @@ -2960,11 +2573,23 @@ "label": "ChromeHelpExtensionMenuGitHubLink", "description": [], "signature": [ - "ChromeHelpExtensionMenuGitHubLink", + { + "pluginId": "@kbn/core-chrome-browser", + "scope": "common", + "docId": "kibKbnCoreChromeBrowserPluginApi", + "section": "def-common.ChromeHelpExtensionMenuGitHubLink", + "text": "ChromeHelpExtensionMenuGitHubLink" + }, " extends ", - "ChromeHelpExtensionLinkBase" + { + "pluginId": "@kbn/core-chrome-browser", + "scope": "common", + "docId": "kibKbnCoreChromeBrowserPluginApi", + "section": "def-common.ChromeHelpExtensionLinkBase", + "text": "ChromeHelpExtensionLinkBase" + } ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/help_extension.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2980,7 +2605,7 @@ "signature": [ "\"github\"" ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/help_extension.ts", "deprecated": false, "trackAdoption": false }, @@ -2996,7 +2621,7 @@ "signature": [ "string[]" ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/help_extension.ts", "deprecated": false, "trackAdoption": false }, @@ -3012,7 +2637,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/help_extension.ts", "deprecated": false, "trackAdoption": false } @@ -3026,10 +2651,7 @@ "tags": [], "label": "ChromeHelpMenuActions", "description": [], - "signature": [ - "ChromeHelpMenuActions" - ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/help_extension.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3043,7 +2665,7 @@ "signature": [ "() => void" ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/help_extension.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -3059,10 +2681,7 @@ "tags": [], "label": "ChromeNavControl", "description": [], - "signature": [ - "ChromeNavControl" - ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/nav_controls.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3076,7 +2695,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/nav_controls.ts", "deprecated": false, "trackAdoption": false }, @@ -3089,9 +2708,15 @@ "description": [], "signature": [ "(element: HTMLElement) => ", - "UnmountCallback" + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.UnmountCallback", + "text": "UnmountCallback" + } ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/nav_controls.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -3106,7 +2731,7 @@ "signature": [ "T" ], - "path": "node_modules/@types/kbn__core-mount-utils-browser/index.d.ts", + "path": "packages/core/mount-utils/core-mount-utils-browser/src/mount_point.ts", "deprecated": false, "trackAdoption": false } @@ -3124,10 +2749,7 @@ "description": [ "\n{@link ChromeNavControls | APIs} for registering new controls to be displayed in the navigation bar.\n" ], - "signature": [ - "ChromeNavControls" - ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/nav_controls.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3142,10 +2764,16 @@ ], "signature": [ "(navControl: ", - "ChromeNavControl", + { + "pluginId": "@kbn/core-chrome-browser", + "scope": "common", + "docId": "kibKbnCoreChromeBrowserPluginApi", + "section": "def-common.ChromeNavControl", + "text": "ChromeNavControl" + }, ") => void" ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/nav_controls.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3157,9 +2785,15 @@ "label": "navControl", "description": [], "signature": [ - "ChromeNavControl" + { + "pluginId": "@kbn/core-chrome-browser", + "scope": "common", + "docId": "kibKbnCoreChromeBrowserPluginApi", + "section": "def-common.ChromeNavControl", + "text": "ChromeNavControl" + } ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/nav_controls.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3178,10 +2812,16 @@ ], "signature": [ "(navControl: ", - "ChromeNavControl", + { + "pluginId": "@kbn/core-chrome-browser", + "scope": "common", + "docId": "kibKbnCoreChromeBrowserPluginApi", + "section": "def-common.ChromeNavControl", + "text": "ChromeNavControl" + }, ") => void" ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/nav_controls.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3193,9 +2833,15 @@ "label": "navControl", "description": [], "signature": [ - "ChromeNavControl" + { + "pluginId": "@kbn/core-chrome-browser", + "scope": "common", + "docId": "kibKbnCoreChromeBrowserPluginApi", + "section": "def-common.ChromeNavControl", + "text": "ChromeNavControl" + } ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/nav_controls.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3214,10 +2860,16 @@ ], "signature": [ "(navControl: ", - "ChromeNavControl", + { + "pluginId": "@kbn/core-chrome-browser", + "scope": "common", + "docId": "kibKbnCoreChromeBrowserPluginApi", + "section": "def-common.ChromeNavControl", + "text": "ChromeNavControl" + }, ") => void" ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/nav_controls.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3229,9 +2881,15 @@ "label": "navControl", "description": [], "signature": [ - "ChromeNavControl" + { + "pluginId": "@kbn/core-chrome-browser", + "scope": "common", + "docId": "kibKbnCoreChromeBrowserPluginApi", + "section": "def-common.ChromeNavControl", + "text": "ChromeNavControl" + } ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/nav_controls.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3250,10 +2908,16 @@ ], "signature": [ "(navControl: ", - "ChromeNavControl", + { + "pluginId": "@kbn/core-chrome-browser", + "scope": "common", + "docId": "kibKbnCoreChromeBrowserPluginApi", + "section": "def-common.ChromeNavControl", + "text": "ChromeNavControl" + }, ") => void" ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/nav_controls.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3265,9 +2929,15 @@ "label": "navControl", "description": [], "signature": [ - "ChromeNavControl" + { + "pluginId": "@kbn/core-chrome-browser", + "scope": "common", + "docId": "kibKbnCoreChromeBrowserPluginApi", + "section": "def-common.ChromeNavControl", + "text": "ChromeNavControl" + } ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/nav_controls.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3285,10 +2955,7 @@ "tags": [], "label": "ChromeNavLink", "description": [], - "signature": [ - "ChromeNavLink" - ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/nav_links.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3301,7 +2968,7 @@ "description": [ "\nA unique identifier for looking up links." ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/nav_links.ts", "deprecated": false, "trackAdoption": false }, @@ -3314,7 +2981,7 @@ "description": [ "\nThe title of the application." ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/nav_links.ts", "deprecated": false, "trackAdoption": false }, @@ -3328,10 +2995,16 @@ "\nThe category the app lives in" ], "signature": [ - "AppCategory", + { + "pluginId": "@kbn/core-application-common", + "scope": "common", + "docId": "kibKbnCoreApplicationCommonPluginApi", + "section": "def-common.AppCategory", + "text": "AppCategory" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/nav_links.ts", "deprecated": false, "trackAdoption": false }, @@ -3344,7 +3017,7 @@ "description": [ "\nThe base route used to open the root of an application." ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/nav_links.ts", "deprecated": false, "trackAdoption": false }, @@ -3357,7 +3030,7 @@ "description": [ "\nThe route used to open the default path and the deep links of an application." ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/nav_links.ts", "deprecated": false, "trackAdoption": false }, @@ -3373,7 +3046,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/nav_links.ts", "deprecated": false, "trackAdoption": false }, @@ -3389,7 +3062,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/nav_links.ts", "deprecated": false, "trackAdoption": false }, @@ -3405,7 +3078,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/nav_links.ts", "deprecated": false, "trackAdoption": false }, @@ -3421,7 +3094,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/nav_links.ts", "deprecated": false, "trackAdoption": false }, @@ -3434,7 +3107,7 @@ "description": [ "\nSettled state between `url`, `baseUrl`, and `active`" ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/nav_links.ts", "deprecated": false, "trackAdoption": false }, @@ -3450,7 +3123,7 @@ "signature": [ "boolean | undefined" ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/nav_links.ts", "deprecated": false, "trackAdoption": false }, @@ -3466,7 +3139,7 @@ "signature": [ "boolean | undefined" ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/nav_links.ts", "deprecated": false, "trackAdoption": false } @@ -3482,10 +3155,7 @@ "description": [ "\n{@link ChromeNavLinks | APIs} for manipulating nav links.\n" ], - "signature": [ - "ChromeNavLinks" - ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/nav_links.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3502,10 +3172,16 @@ "() => ", "Observable", "[]>" ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/nav_links.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -3522,10 +3198,16 @@ ], "signature": [ "(id: string) => ", - "ChromeNavLink", + { + "pluginId": "@kbn/core-chrome-browser", + "scope": "common", + "docId": "kibKbnCoreChromeBrowserPluginApi", + "section": "def-common.ChromeNavLink", + "text": "ChromeNavLink" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/nav_links.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3539,7 +3221,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/nav_links.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3558,10 +3240,16 @@ ], "signature": [ "() => Readonly<", - "ChromeNavLink", + { + "pluginId": "@kbn/core-chrome-browser", + "scope": "common", + "docId": "kibKbnCoreChromeBrowserPluginApi", + "section": "def-common.ChromeNavLink", + "text": "ChromeNavLink" + }, ">[]" ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/nav_links.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -3579,7 +3267,7 @@ "signature": [ "(id: string) => boolean" ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/nav_links.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3593,7 +3281,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/nav_links.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3613,7 +3301,7 @@ "signature": [ "() => void" ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/nav_links.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -3633,7 +3321,7 @@ "Observable", "" ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/nav_links.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -3651,10 +3339,7 @@ "description": [ "\n{@link ChromeRecentlyAccessed | APIs} for recently accessed history." ], - "signature": [ - "ChromeRecentlyAccessed" - ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/recently_accessed.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3670,7 +3355,7 @@ "signature": [ "(link: string, label: string, id: string) => void" ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/recently_accessed.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3686,7 +3371,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/recently_accessed.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3703,7 +3388,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/recently_accessed.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3720,7 +3405,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/recently_accessed.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3739,10 +3424,16 @@ ], "signature": [ "() => ", - "ChromeRecentlyAccessedHistoryItem", + { + "pluginId": "@kbn/core-chrome-browser", + "scope": "common", + "docId": "kibKbnCoreChromeBrowserPluginApi", + "section": "def-common.ChromeRecentlyAccessedHistoryItem", + "text": "ChromeRecentlyAccessedHistoryItem" + }, "[]" ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/recently_accessed.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -3761,10 +3452,16 @@ "() => ", "Observable", "<", - "ChromeRecentlyAccessedHistoryItem", + { + "pluginId": "@kbn/core-chrome-browser", + "scope": "common", + "docId": "kibKbnCoreChromeBrowserPluginApi", + "section": "def-common.ChromeRecentlyAccessedHistoryItem", + "text": "ChromeRecentlyAccessedHistoryItem" + }, "[]>" ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/recently_accessed.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -3780,10 +3477,7 @@ "tags": [], "label": "ChromeRecentlyAccessedHistoryItem", "description": [], - "signature": [ - "ChromeRecentlyAccessedHistoryItem" - ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/recently_accessed.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3794,7 +3488,7 @@ "tags": [], "label": "link", "description": [], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/recently_accessed.ts", "deprecated": false, "trackAdoption": false }, @@ -3805,7 +3499,7 @@ "tags": [], "label": "label", "description": [], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/recently_accessed.ts", "deprecated": false, "trackAdoption": false }, @@ -3816,7 +3510,7 @@ "tags": [], "label": "id", "description": [], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/recently_accessed.ts", "deprecated": false, "trackAdoption": false } @@ -3832,10 +3526,7 @@ "description": [ "\nChromeStart allows plugins to customize the global chrome header UI and\nenrich the UX with additional information about the current location of the\nbrowser.\n" ], - "signature": [ - "ChromeStart" - ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3849,9 +3540,15 @@ "{@inheritdoc ChromeNavLinks}" ], "signature": [ - "ChromeNavLinks" + { + "pluginId": "@kbn/core-chrome-browser", + "scope": "common", + "docId": "kibKbnCoreChromeBrowserPluginApi", + "section": "def-common.ChromeNavLinks", + "text": "ChromeNavLinks" + } ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false }, @@ -3865,9 +3562,15 @@ "{@inheritdoc ChromeNavControls}" ], "signature": [ - "ChromeNavControls" + { + "pluginId": "@kbn/core-chrome-browser", + "scope": "common", + "docId": "kibKbnCoreChromeBrowserPluginApi", + "section": "def-common.ChromeNavControls", + "text": "ChromeNavControls" + } ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false }, @@ -3881,9 +3584,15 @@ "{@inheritdoc ChromeRecentlyAccessed}" ], "signature": [ - "ChromeRecentlyAccessed" + { + "pluginId": "@kbn/core-chrome-browser", + "scope": "common", + "docId": "kibKbnCoreChromeBrowserPluginApi", + "section": "def-common.ChromeRecentlyAccessed", + "text": "ChromeRecentlyAccessed" + } ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false }, @@ -3897,9 +3606,15 @@ "{@inheritdoc ChromeDocTitle}" ], "signature": [ - "ChromeDocTitle" + { + "pluginId": "@kbn/core-chrome-browser", + "scope": "common", + "docId": "kibKbnCoreChromeBrowserPluginApi", + "section": "def-common.ChromeDocTitle", + "text": "ChromeDocTitle" + } ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false }, @@ -3917,7 +3632,7 @@ "Observable", "" ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -3935,7 +3650,7 @@ "signature": [ "(isVisible: boolean) => void" ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3949,7 +3664,7 @@ "signature": [ "boolean" ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3970,10 +3685,16 @@ "() => ", "Observable", "<", - "ChromeBadge", + { + "pluginId": "@kbn/core-chrome-browser", + "scope": "common", + "docId": "kibKbnCoreChromeBrowserPluginApi", + "section": "def-common.ChromeBadge", + "text": "ChromeBadge" + }, " | undefined>" ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -3990,10 +3711,16 @@ ], "signature": [ "(badge?: ", - "ChromeBadge", + { + "pluginId": "@kbn/core-chrome-browser", + "scope": "common", + "docId": "kibKbnCoreChromeBrowserPluginApi", + "section": "def-common.ChromeBadge", + "text": "ChromeBadge" + }, " | undefined) => void" ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4005,10 +3732,16 @@ "label": "badge", "description": [], "signature": [ - "ChromeBadge", + { + "pluginId": "@kbn/core-chrome-browser", + "scope": "common", + "docId": "kibKbnCoreChromeBrowserPluginApi", + "section": "def-common.ChromeBadge", + "text": "ChromeBadge" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -4032,7 +3765,7 @@ "EuiBreadcrumbProps", "[]>" ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -4052,7 +3785,7 @@ "EuiBreadcrumbProps", "[]) => void" ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4067,7 +3800,7 @@ "EuiBreadcrumbProps", "[]" ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4088,10 +3821,16 @@ "() => ", "Observable", "<", - "ChromeBreadcrumbsAppendExtension", + { + "pluginId": "@kbn/core-chrome-browser", + "scope": "common", + "docId": "kibKbnCoreChromeBrowserPluginApi", + "section": "def-common.ChromeBreadcrumbsAppendExtension", + "text": "ChromeBreadcrumbsAppendExtension" + }, " | undefined>" ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -4108,10 +3847,16 @@ ], "signature": [ "(breadcrumbsAppendExtension?: ", - "ChromeBreadcrumbsAppendExtension", + { + "pluginId": "@kbn/core-chrome-browser", + "scope": "common", + "docId": "kibKbnCoreChromeBrowserPluginApi", + "section": "def-common.ChromeBreadcrumbsAppendExtension", + "text": "ChromeBreadcrumbsAppendExtension" + }, " | undefined) => void" ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4123,10 +3868,16 @@ "label": "breadcrumbsAppendExtension", "description": [], "signature": [ - "ChromeBreadcrumbsAppendExtension", + { + "pluginId": "@kbn/core-chrome-browser", + "scope": "common", + "docId": "kibKbnCoreChromeBrowserPluginApi", + "section": "def-common.ChromeBreadcrumbsAppendExtension", + "text": "ChromeBreadcrumbsAppendExtension" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -4147,10 +3898,16 @@ "() => ", "Observable", " | undefined>" ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -4167,10 +3924,16 @@ ], "signature": [ "(newCustomNavLink?: Partial<", - "ChromeNavLink", + { + "pluginId": "@kbn/core-chrome-browser", + "scope": "common", + "docId": "kibKbnCoreChromeBrowserPluginApi", + "section": "def-common.ChromeNavLink", + "text": "ChromeNavLink" + }, "> | undefined) => void" ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4183,10 +3946,16 @@ "description": [], "signature": [ "Partial<", - "ChromeNavLink", + { + "pluginId": "@kbn/core-chrome-browser", + "scope": "common", + "docId": "kibKbnCoreChromeBrowserPluginApi", + "section": "def-common.ChromeNavLink", + "text": "ChromeNavLink" + }, "> | undefined" ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -4207,10 +3976,16 @@ "() => ", "Observable", "<", - "ChromeGlobalHelpExtensionMenuLink", + { + "pluginId": "@kbn/core-chrome-browser", + "scope": "common", + "docId": "kibKbnCoreChromeBrowserPluginApi", + "section": "def-common.ChromeGlobalHelpExtensionMenuLink", + "text": "ChromeGlobalHelpExtensionMenuLink" + }, "[]>" ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -4227,10 +4002,16 @@ ], "signature": [ "(globalHelpExtensionMenuLink: ", - "ChromeGlobalHelpExtensionMenuLink", + { + "pluginId": "@kbn/core-chrome-browser", + "scope": "common", + "docId": "kibKbnCoreChromeBrowserPluginApi", + "section": "def-common.ChromeGlobalHelpExtensionMenuLink", + "text": "ChromeGlobalHelpExtensionMenuLink" + }, ") => void" ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4242,9 +4023,15 @@ "label": "globalHelpExtensionMenuLink", "description": [], "signature": [ - "ChromeGlobalHelpExtensionMenuLink" + { + "pluginId": "@kbn/core-chrome-browser", + "scope": "common", + "docId": "kibKbnCoreChromeBrowserPluginApi", + "section": "def-common.ChromeGlobalHelpExtensionMenuLink", + "text": "ChromeGlobalHelpExtensionMenuLink" + } ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4265,10 +4052,16 @@ "() => ", "Observable", "<", - "ChromeHelpExtension", + { + "pluginId": "@kbn/core-chrome-browser", + "scope": "common", + "docId": "kibKbnCoreChromeBrowserPluginApi", + "section": "def-common.ChromeHelpExtension", + "text": "ChromeHelpExtension" + }, " | undefined>" ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -4285,10 +4078,16 @@ ], "signature": [ "(helpExtension?: ", - "ChromeHelpExtension", + { + "pluginId": "@kbn/core-chrome-browser", + "scope": "common", + "docId": "kibKbnCoreChromeBrowserPluginApi", + "section": "def-common.ChromeHelpExtension", + "text": "ChromeHelpExtension" + }, " | undefined) => void" ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4300,10 +4099,16 @@ "label": "helpExtension", "description": [], "signature": [ - "ChromeHelpExtension", + { + "pluginId": "@kbn/core-chrome-browser", + "scope": "common", + "docId": "kibKbnCoreChromeBrowserPluginApi", + "section": "def-common.ChromeHelpExtension", + "text": "ChromeHelpExtension" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -4323,7 +4128,7 @@ "signature": [ "(url: string) => void" ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4339,7 +4144,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4361,7 +4166,7 @@ "Observable", "" ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -4378,10 +4183,16 @@ ], "signature": [ "(headerBanner?: ", - "ChromeUserBanner", + { + "pluginId": "@kbn/core-chrome-browser", + "scope": "common", + "docId": "kibKbnCoreChromeBrowserPluginApi", + "section": "def-common.ChromeUserBanner", + "text": "ChromeUserBanner" + }, " | undefined) => void" ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4393,10 +4204,16 @@ "label": "headerBanner", "description": [], "signature": [ - "ChromeUserBanner", + { + "pluginId": "@kbn/core-chrome-browser", + "scope": "common", + "docId": "kibKbnCoreChromeBrowserPluginApi", + "section": "def-common.ChromeUserBanner", + "text": "ChromeUserBanner" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -4418,7 +4235,7 @@ "Observable", "" ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -4434,10 +4251,7 @@ "tags": [], "label": "ChromeUserBanner", "description": [], - "signature": [ - "ChromeUserBanner" - ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4450,9 +4264,15 @@ "description": [], "signature": [ "(element: HTMLDivElement) => ", - "UnmountCallback" + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.UnmountCallback", + "text": "UnmountCallback" + } ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -4467,7 +4287,7 @@ "signature": [ "T" ], - "path": "node_modules/@types/kbn__core-mount-utils-browser/index.d.ts", + "path": "packages/core/mount-utils/core-mount-utils-browser/src/mount_point.ts", "deprecated": false, "trackAdoption": false } @@ -4486,10 +4306,16 @@ "\nDefinition of a context provider" ], "signature": [ - "ContextProviderOpts", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.ContextProviderOpts", + "text": "ContextProviderOpts" + }, "" ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/analytics_client/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4502,7 +4328,7 @@ "description": [ "\nThe name of the provider." ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/analytics_client/types.ts", "deprecated": false, "trackAdoption": false }, @@ -4519,7 +4345,7 @@ "Observable", "" ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/analytics_client/types.ts", "deprecated": false, "trackAdoption": false }, @@ -4534,10 +4360,16 @@ ], "signature": [ "{ [Key in keyof Required]: ", - "SchemaValue", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.SchemaValue", + "text": "SchemaValue" + }, "; }" ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/analytics_client/types.ts", "deprecated": false, "trackAdoption": false } @@ -4554,10 +4386,16 @@ "\nCore services exposed to the `Plugin` setup lifecycle\n" ], "signature": [ - "CoreSetup", + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreSetup", + "text": "CoreSetup" + }, "" ], - "path": "node_modules/@types/kbn__core-lifecycle-browser/index.d.ts", + "path": "packages/core/lifecycle/core-lifecycle-browser/src/core_setup.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4572,24 +4410,66 @@ ], "signature": [ "{ optIn: (optInConfig: ", - "OptInConfig", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.OptInConfig", + "text": "OptInConfig" + }, ") => void; reportEvent: (eventType: string, eventData: EventTypeData) => void; readonly telemetryCounter$: ", "Observable", "<", - "TelemetryCounter", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.TelemetryCounter", + "text": "TelemetryCounter" + }, ">; registerEventType: (eventTypeOps: ", - "EventTypeOpts", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.EventTypeOpts", + "text": "EventTypeOpts" + }, ") => void; registerShipper: (Shipper: ", - "ShipperClassConstructor", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.ShipperClassConstructor", + "text": "ShipperClassConstructor" + }, ", shipperConfig: ShipperConfig, opts?: ", - "RegisterShipperOpts", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.RegisterShipperOpts", + "text": "RegisterShipperOpts" + }, " | undefined) => void; registerContextProvider: (contextProviderOpts: ", - "ContextProviderOpts", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.ContextProviderOpts", + "text": "ContextProviderOpts" + }, ") => void; removeContextProvider: (contextProviderName: string) => void; }" ], - "path": "node_modules/@types/kbn__core-lifecycle-browser/index.d.ts", + "path": "packages/core/lifecycle/core-lifecycle-browser/src/core_setup.ts", "deprecated": false, "trackAdoption": false }, @@ -4603,9 +4483,15 @@ "{@link ApplicationSetup}" ], "signature": [ - "ApplicationSetup" + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.ApplicationSetup", + "text": "ApplicationSetup" + } ], - "path": "node_modules/@types/kbn__core-lifecycle-browser/index.d.ts", + "path": "packages/core/lifecycle/core-lifecycle-browser/src/core_setup.ts", "deprecated": false, "trackAdoption": false }, @@ -4619,9 +4505,15 @@ "{@link FatalErrorsSetup}" ], "signature": [ - "FatalErrorsSetup" + { + "pluginId": "@kbn/core-fatal-errors-browser", + "scope": "common", + "docId": "kibKbnCoreFatalErrorsBrowserPluginApi", + "section": "def-common.FatalErrorsSetup", + "text": "FatalErrorsSetup" + } ], - "path": "node_modules/@types/kbn__core-lifecycle-browser/index.d.ts", + "path": "packages/core/lifecycle/core-lifecycle-browser/src/core_setup.ts", "deprecated": false, "trackAdoption": false }, @@ -4635,9 +4527,15 @@ "{@link HttpSetup}" ], "signature": [ - "HttpSetup" + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpSetup", + "text": "HttpSetup" + } ], - "path": "node_modules/@types/kbn__core-lifecycle-browser/index.d.ts", + "path": "packages/core/lifecycle/core-lifecycle-browser/src/core_setup.ts", "deprecated": false, "trackAdoption": false }, @@ -4651,9 +4549,15 @@ "{@link NotificationsSetup}" ], "signature": [ - "NotificationsSetup" + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.NotificationsSetup", + "text": "NotificationsSetup" + } ], - "path": "node_modules/@types/kbn__core-lifecycle-browser/index.d.ts", + "path": "packages/core/lifecycle/core-lifecycle-browser/src/core_setup.ts", "deprecated": false, "trackAdoption": false }, @@ -4667,9 +4571,15 @@ "{@link IUiSettingsClient}" ], "signature": [ - "IUiSettingsClient" + { + "pluginId": "@kbn/core-ui-settings-browser", + "scope": "common", + "docId": "kibKbnCoreUiSettingsBrowserPluginApi", + "section": "def-common.IUiSettingsClient", + "text": "IUiSettingsClient" + } ], - "path": "node_modules/@types/kbn__core-lifecycle-browser/index.d.ts", + "path": "packages/core/lifecycle/core-lifecycle-browser/src/core_setup.ts", "deprecated": false, "trackAdoption": false }, @@ -4683,9 +4593,15 @@ "{@link ExecutionContextSetup}" ], "signature": [ - "ExecutionContextSetup" + { + "pluginId": "@kbn/core-execution-context-browser", + "scope": "common", + "docId": "kibKbnCoreExecutionContextBrowserPluginApi", + "section": "def-common.ExecutionContextSetup", + "text": "ExecutionContextSetup" + } ], - "path": "node_modules/@types/kbn__core-lifecycle-browser/index.d.ts", + "path": "packages/core/lifecycle/core-lifecycle-browser/src/core_setup.ts", "deprecated": false, "trackAdoption": false }, @@ -4699,9 +4615,15 @@ "{@link InjectedMetadataSetup}" ], "signature": [ - "InjectedMetadataSetup" + { + "pluginId": "@kbn/core-injected-metadata-browser", + "scope": "common", + "docId": "kibKbnCoreInjectedMetadataBrowserPluginApi", + "section": "def-common.InjectedMetadataSetup", + "text": "InjectedMetadataSetup" + } ], - "path": "node_modules/@types/kbn__core-lifecycle-browser/index.d.ts", + "path": "packages/core/lifecycle/core-lifecycle-browser/src/core_setup.ts", "deprecated": false, "trackAdoption": false }, @@ -4715,9 +4637,15 @@ "{@link ThemeServiceSetup}" ], "signature": [ - "ThemeServiceSetup" + { + "pluginId": "@kbn/core-theme-browser", + "scope": "common", + "docId": "kibKbnCoreThemeBrowserPluginApi", + "section": "def-common.ThemeServiceSetup", + "text": "ThemeServiceSetup" + } ], - "path": "node_modules/@types/kbn__core-lifecycle-browser/index.d.ts", + "path": "packages/core/lifecycle/core-lifecycle-browser/src/core_setup.ts", "deprecated": false, "trackAdoption": false }, @@ -4732,10 +4660,16 @@ ], "signature": [ "() => Promise<[", - "CoreStart", + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreStart", + "text": "CoreStart" + }, ", TPluginsStart, TStart]>" ], - "path": "node_modules/@types/kbn__core-lifecycle-browser/index.d.ts", + "path": "packages/core/lifecycle/core-lifecycle-browser/src/core_setup.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -4753,10 +4687,7 @@ "description": [ "\nCore services exposed to the `Plugin` start lifecycle\n" ], - "signature": [ - "CoreStart" - ], - "path": "node_modules/@types/kbn__core-lifecycle-browser/index.d.ts", + "path": "packages/core/lifecycle/core-lifecycle-browser/src/core_start.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4771,14 +4702,26 @@ ], "signature": [ "{ optIn: (optInConfig: ", - "OptInConfig", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.OptInConfig", + "text": "OptInConfig" + }, ") => void; reportEvent: (eventType: string, eventData: EventTypeData) => void; readonly telemetryCounter$: ", "Observable", "<", - "TelemetryCounter", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.TelemetryCounter", + "text": "TelemetryCounter" + }, ">; }" ], - "path": "node_modules/@types/kbn__core-lifecycle-browser/index.d.ts", + "path": "packages/core/lifecycle/core-lifecycle-browser/src/core_start.ts", "deprecated": false, "trackAdoption": false }, @@ -4792,9 +4735,15 @@ "{@link ApplicationStart}" ], "signature": [ - "ApplicationStart" + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.ApplicationStart", + "text": "ApplicationStart" + } ], - "path": "node_modules/@types/kbn__core-lifecycle-browser/index.d.ts", + "path": "packages/core/lifecycle/core-lifecycle-browser/src/core_start.ts", "deprecated": false, "trackAdoption": false }, @@ -4808,9 +4757,15 @@ "{@link ChromeStart}" ], "signature": [ - "ChromeStart" + { + "pluginId": "@kbn/core-chrome-browser", + "scope": "common", + "docId": "kibKbnCoreChromeBrowserPluginApi", + "section": "def-common.ChromeStart", + "text": "ChromeStart" + } ], - "path": "node_modules/@types/kbn__core-lifecycle-browser/index.d.ts", + "path": "packages/core/lifecycle/core-lifecycle-browser/src/core_start.ts", "deprecated": false, "trackAdoption": false }, @@ -4824,9 +4779,15 @@ "{@link DocLinksStart}" ], "signature": [ - "DocLinksStart" + { + "pluginId": "@kbn/core-doc-links-browser", + "scope": "common", + "docId": "kibKbnCoreDocLinksBrowserPluginApi", + "section": "def-common.DocLinksStart", + "text": "DocLinksStart" + } ], - "path": "node_modules/@types/kbn__core-lifecycle-browser/index.d.ts", + "path": "packages/core/lifecycle/core-lifecycle-browser/src/core_start.ts", "deprecated": false, "trackAdoption": false }, @@ -4840,9 +4801,15 @@ "{@link ExecutionContextStart}" ], "signature": [ - "ExecutionContextSetup" + { + "pluginId": "@kbn/core-execution-context-browser", + "scope": "common", + "docId": "kibKbnCoreExecutionContextBrowserPluginApi", + "section": "def-common.ExecutionContextSetup", + "text": "ExecutionContextSetup" + } ], - "path": "node_modules/@types/kbn__core-lifecycle-browser/index.d.ts", + "path": "packages/core/lifecycle/core-lifecycle-browser/src/core_start.ts", "deprecated": false, "trackAdoption": false }, @@ -4856,9 +4823,15 @@ "{@link HttpStart}" ], "signature": [ - "HttpSetup" + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpSetup", + "text": "HttpSetup" + } ], - "path": "node_modules/@types/kbn__core-lifecycle-browser/index.d.ts", + "path": "packages/core/lifecycle/core-lifecycle-browser/src/core_start.ts", "deprecated": false, "trackAdoption": false }, @@ -4872,9 +4845,15 @@ "{@link SavedObjectsStart}" ], "signature": [ - "SavedObjectsStart" + { + "pluginId": "@kbn/core-saved-objects-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsBrowserPluginApi", + "section": "def-common.SavedObjectsStart", + "text": "SavedObjectsStart" + } ], - "path": "node_modules/@types/kbn__core-lifecycle-browser/index.d.ts", + "path": "packages/core/lifecycle/core-lifecycle-browser/src/core_start.ts", "deprecated": false, "trackAdoption": false }, @@ -4888,9 +4867,15 @@ "{@link I18nStart}" ], "signature": [ - "I18nStart" + { + "pluginId": "@kbn/core-i18n-browser", + "scope": "common", + "docId": "kibKbnCoreI18nBrowserPluginApi", + "section": "def-common.I18nStart", + "text": "I18nStart" + } ], - "path": "node_modules/@types/kbn__core-lifecycle-browser/index.d.ts", + "path": "packages/core/lifecycle/core-lifecycle-browser/src/core_start.ts", "deprecated": false, "trackAdoption": false }, @@ -4904,9 +4889,15 @@ "{@link NotificationsStart}" ], "signature": [ - "NotificationsStart" + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.NotificationsStart", + "text": "NotificationsStart" + } ], - "path": "node_modules/@types/kbn__core-lifecycle-browser/index.d.ts", + "path": "packages/core/lifecycle/core-lifecycle-browser/src/core_start.ts", "deprecated": false, "trackAdoption": false }, @@ -4920,9 +4911,15 @@ "{@link OverlayStart}" ], "signature": [ - "OverlayStart" + { + "pluginId": "@kbn/core-overlays-browser", + "scope": "common", + "docId": "kibKbnCoreOverlaysBrowserPluginApi", + "section": "def-common.OverlayStart", + "text": "OverlayStart" + } ], - "path": "node_modules/@types/kbn__core-lifecycle-browser/index.d.ts", + "path": "packages/core/lifecycle/core-lifecycle-browser/src/core_start.ts", "deprecated": false, "trackAdoption": false }, @@ -4936,9 +4933,15 @@ "{@link IUiSettingsClient}" ], "signature": [ - "IUiSettingsClient" + { + "pluginId": "@kbn/core-ui-settings-browser", + "scope": "common", + "docId": "kibKbnCoreUiSettingsBrowserPluginApi", + "section": "def-common.IUiSettingsClient", + "text": "IUiSettingsClient" + } ], - "path": "node_modules/@types/kbn__core-lifecycle-browser/index.d.ts", + "path": "packages/core/lifecycle/core-lifecycle-browser/src/core_start.ts", "deprecated": false, "trackAdoption": false }, @@ -4952,9 +4955,15 @@ "{@link FatalErrorsStart}" ], "signature": [ - "FatalErrorsSetup" + { + "pluginId": "@kbn/core-fatal-errors-browser", + "scope": "common", + "docId": "kibKbnCoreFatalErrorsBrowserPluginApi", + "section": "def-common.FatalErrorsSetup", + "text": "FatalErrorsSetup" + } ], - "path": "node_modules/@types/kbn__core-lifecycle-browser/index.d.ts", + "path": "packages/core/lifecycle/core-lifecycle-browser/src/core_start.ts", "deprecated": false, "trackAdoption": false }, @@ -4968,9 +4977,15 @@ "{@link DeprecationsServiceStart}" ], "signature": [ - "DeprecationsServiceStart" + { + "pluginId": "@kbn/core-deprecations-browser", + "scope": "common", + "docId": "kibKbnCoreDeprecationsBrowserPluginApi", + "section": "def-common.DeprecationsServiceStart", + "text": "DeprecationsServiceStart" + } ], - "path": "node_modules/@types/kbn__core-lifecycle-browser/index.d.ts", + "path": "packages/core/lifecycle/core-lifecycle-browser/src/core_start.ts", "deprecated": false, "trackAdoption": false }, @@ -4984,9 +4999,15 @@ "{@link ThemeServiceStart}" ], "signature": [ - "ThemeServiceStart" + { + "pluginId": "@kbn/core-theme-browser", + "scope": "common", + "docId": "kibKbnCoreThemeBrowserPluginApi", + "section": "def-common.ThemeServiceStart", + "text": "ThemeServiceStart" + } ], - "path": "node_modules/@types/kbn__core-lifecycle-browser/index.d.ts", + "path": "packages/core/lifecycle/core-lifecycle-browser/src/core_start.ts", "deprecated": false, "trackAdoption": false }, @@ -5000,9 +5021,15 @@ "{@link InjectedMetadataStart}" ], "signature": [ - "InjectedMetadataStart" + { + "pluginId": "@kbn/core-injected-metadata-browser", + "scope": "common", + "docId": "kibKbnCoreInjectedMetadataBrowserPluginApi", + "section": "def-common.InjectedMetadataStart", + "text": "InjectedMetadataStart" + } ], - "path": "node_modules/@types/kbn__core-lifecycle-browser/index.d.ts", + "path": "packages/core/lifecycle/core-lifecycle-browser/src/core_start.ts", "deprecated": false, "trackAdoption": false } @@ -5018,10 +5045,7 @@ "description": [ "\nContains all the required information to apply Kibana's theme at the various levels it can be used.\n" ], - "signature": [ - "CoreTheme" - ], - "path": "node_modules/@types/kbn__core-theme-browser/index.d.ts", + "path": "packages/core/theme/core-theme-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5034,7 +5058,7 @@ "description": [ "is dark mode enabled or not" ], - "path": "node_modules/@types/kbn__core-theme-browser/index.d.ts", + "path": "packages/core/theme/core-theme-browser/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -5050,10 +5074,7 @@ "description": [ "\nDeprecationsService provides methods to fetch domain deprecation details from\nthe Kibana server.\n" ], - "signature": [ - "DeprecationsServiceStart" - ], - "path": "node_modules/@types/kbn__core-deprecations-browser/index.d.ts", + "path": "packages/core/deprecations/core-deprecations-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5068,10 +5089,16 @@ ], "signature": [ "() => Promise<", - "DomainDeprecationDetails", + { + "pluginId": "@kbn/core-deprecations-common", + "scope": "common", + "docId": "kibKbnCoreDeprecationsCommonPluginApi", + "section": "def-common.DomainDeprecationDetails", + "text": "DomainDeprecationDetails" + }, "[]>" ], - "path": "node_modules/@types/kbn__core-deprecations-browser/index.d.ts", + "path": "packages/core/deprecations/core-deprecations-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -5088,10 +5115,16 @@ ], "signature": [ "(domainId: string) => Promise<", - "DomainDeprecationDetails", + { + "pluginId": "@kbn/core-deprecations-common", + "scope": "common", + "docId": "kibKbnCoreDeprecationsCommonPluginApi", + "section": "def-common.DomainDeprecationDetails", + "text": "DomainDeprecationDetails" + }, "[]>" ], - "path": "node_modules/@types/kbn__core-deprecations-browser/index.d.ts", + "path": "packages/core/deprecations/core-deprecations-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5105,7 +5138,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-deprecations-browser/index.d.ts", + "path": "packages/core/deprecations/core-deprecations-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5124,10 +5157,16 @@ ], "signature": [ "(details: ", - "DomainDeprecationDetails", + { + "pluginId": "@kbn/core-deprecations-common", + "scope": "common", + "docId": "kibKbnCoreDeprecationsCommonPluginApi", + "section": "def-common.DomainDeprecationDetails", + "text": "DomainDeprecationDetails" + }, ") => boolean" ], - "path": "node_modules/@types/kbn__core-deprecations-browser/index.d.ts", + "path": "packages/core/deprecations/core-deprecations-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5139,9 +5178,15 @@ "label": "details", "description": [], "signature": [ - "DomainDeprecationDetails" + { + "pluginId": "@kbn/core-deprecations-common", + "scope": "common", + "docId": "kibKbnCoreDeprecationsCommonPluginApi", + "section": "def-common.DomainDeprecationDetails", + "text": "DomainDeprecationDetails" + } ], - "path": "node_modules/@types/kbn__core-deprecations-browser/index.d.ts", + "path": "packages/core/deprecations/core-deprecations-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5160,12 +5205,24 @@ ], "signature": [ "(details: ", - "DomainDeprecationDetails", + { + "pluginId": "@kbn/core-deprecations-common", + "scope": "common", + "docId": "kibKbnCoreDeprecationsCommonPluginApi", + "section": "def-common.DomainDeprecationDetails", + "text": "DomainDeprecationDetails" + }, ") => Promise<", - "ResolveDeprecationResponse", + { + "pluginId": "@kbn/core-deprecations-browser", + "scope": "common", + "docId": "kibKbnCoreDeprecationsBrowserPluginApi", + "section": "def-common.ResolveDeprecationResponse", + "text": "ResolveDeprecationResponse" + }, ">" ], - "path": "node_modules/@types/kbn__core-deprecations-browser/index.d.ts", + "path": "packages/core/deprecations/core-deprecations-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5177,9 +5234,15 @@ "label": "details", "description": [], "signature": [ - "DomainDeprecationDetails" + { + "pluginId": "@kbn/core-deprecations-common", + "scope": "common", + "docId": "kibKbnCoreDeprecationsCommonPluginApi", + "section": "def-common.DomainDeprecationDetails", + "text": "DomainDeprecationDetails" + } ], - "path": "node_modules/@types/kbn__core-deprecations-browser/index.d.ts", + "path": "packages/core/deprecations/core-deprecations-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5197,10 +5260,7 @@ "tags": [], "label": "DocLinksStart", "description": [], - "signature": [ - "DocLinksStart" - ], - "path": "node_modules/@types/kbn__core-doc-links-browser/index.d.ts", + "path": "packages/core/doc-links/core-doc-links-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5211,7 +5271,7 @@ "tags": [], "label": "DOC_LINK_VERSION", "description": [], - "path": "node_modules/@types/kbn__core-doc-links-browser/index.d.ts", + "path": "packages/core/doc-links/core-doc-links-browser/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -5222,7 +5282,7 @@ "tags": [], "label": "ELASTIC_WEBSITE_URL", "description": [], - "path": "node_modules/@types/kbn__core-doc-links-browser/index.d.ts", + "path": "packages/core/doc-links/core-doc-links-browser/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -5234,9 +5294,15 @@ "label": "links", "description": [], "signature": [ - "DocLinks" + { + "pluginId": "@kbn/doc-links", + "scope": "common", + "docId": "kibKbnDocLinksPluginApi", + "section": "def-common.DocLinks", + "text": "DocLinks" + } ], - "path": "node_modules/@types/kbn__core-doc-links-browser/index.d.ts", + "path": "packages/core/doc-links/core-doc-links-browser/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -5250,10 +5316,7 @@ "tags": [], "label": "EnvironmentMode", "description": [], - "signature": [ - "EnvironmentMode" - ], - "path": "node_modules/@types/kbn__config/index.d.ts", + "path": "packages/kbn-config/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5267,7 +5330,7 @@ "signature": [ "\"production\" | \"development\"" ], - "path": "node_modules/@types/kbn__config/index.d.ts", + "path": "packages/kbn-config/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -5278,7 +5341,7 @@ "tags": [], "label": "dev", "description": [], - "path": "node_modules/@types/kbn__config/index.d.ts", + "path": "packages/kbn-config/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -5289,7 +5352,7 @@ "tags": [], "label": "prod", "description": [], - "path": "node_modules/@types/kbn__config/index.d.ts", + "path": "packages/kbn-config/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -5306,11 +5369,23 @@ "\nOptions available for {@link IToasts} error APIs." ], "signature": [ - "ErrorToastOptions", + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.ErrorToastOptions", + "text": "ErrorToastOptions" + }, " extends ", - "ToastOptions" + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.ToastOptions", + "text": "ToastOptions" + } ], - "path": "node_modules/@types/kbn__core-notifications-browser/index.d.ts", + "path": "packages/core/notifications/core-notifications-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5323,7 +5398,7 @@ "description": [ "\nThe title of the toast and the dialog when expanding the message." ], - "path": "node_modules/@types/kbn__core-notifications-browser/index.d.ts", + "path": "packages/core/notifications/core-notifications-browser/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -5339,7 +5414,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-notifications-browser/index.d.ts", + "path": "packages/core/notifications/core-notifications-browser/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -5356,10 +5431,16 @@ "\nDefinition of the full event structure" ], "signature": [ - "Event", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.Event", + "text": "Event" + }, "" ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/events/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5372,7 +5453,7 @@ "description": [ "\nThe time the event was generated in ISO format." ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/events/types.ts", "deprecated": false, "trackAdoption": false }, @@ -5385,7 +5466,7 @@ "description": [ "\nThe event type." ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/events/types.ts", "deprecated": false, "trackAdoption": false }, @@ -5401,7 +5482,7 @@ "signature": [ "Properties" ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/events/types.ts", "deprecated": false, "trackAdoption": false }, @@ -5415,9 +5496,15 @@ "\nThe {@link EventContext} enriched during the processing pipeline." ], "signature": [ - "EventContext" + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.EventContext", + "text": "EventContext" + } ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/events/types.ts", "deprecated": false, "trackAdoption": false } @@ -5433,10 +5520,7 @@ "description": [ "\nDefinition of the context that can be appended to the events through the {@link IAnalyticsClient.registerContextProvider}." ], - "signature": [ - "EventContext" - ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/events/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5452,7 +5536,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/events/types.ts", "deprecated": false, "trackAdoption": false }, @@ -5468,7 +5552,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/events/types.ts", "deprecated": false, "trackAdoption": false }, @@ -5484,7 +5568,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/events/types.ts", "deprecated": false, "trackAdoption": false }, @@ -5500,7 +5584,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/events/types.ts", "deprecated": false, "trackAdoption": false }, @@ -5516,7 +5600,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/events/types.ts", "deprecated": false, "trackAdoption": false }, @@ -5532,7 +5616,7 @@ "signature": [ "boolean | undefined" ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/events/types.ts", "deprecated": false, "trackAdoption": false }, @@ -5548,7 +5632,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/events/types.ts", "deprecated": false, "trackAdoption": false }, @@ -5564,7 +5648,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/events/types.ts", "deprecated": false, "trackAdoption": false }, @@ -5580,7 +5664,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/events/types.ts", "deprecated": false, "trackAdoption": false }, @@ -5596,7 +5680,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/events/types.ts", "deprecated": false, "trackAdoption": false }, @@ -5612,7 +5696,7 @@ "signature": [ "[key: string]: unknown" ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/events/types.ts", "deprecated": false, "trackAdoption": false } @@ -5629,10 +5713,16 @@ "\nDefinition of an Event Type." ], "signature": [ - "EventTypeOpts", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.EventTypeOpts", + "text": "EventTypeOpts" + }, "" ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/analytics_client/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5645,7 +5735,7 @@ "description": [ "\nThe event type's unique name." ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/analytics_client/types.ts", "deprecated": false, "trackAdoption": false }, @@ -5660,10 +5750,16 @@ ], "signature": [ "{ [Key in keyof Required]: ", - "SchemaValue", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.SchemaValue", + "text": "SchemaValue" + }, "; }" ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/analytics_client/types.ts", "deprecated": false, "trackAdoption": false } @@ -5679,10 +5775,7 @@ "description": [ "\nKibana execution context.\nUsed to provide execution context to Elasticsearch, reporting, performance monitoring, etc." ], - "signature": [ - "ExecutionContextSetup" - ], - "path": "node_modules/@types/kbn__core-execution-context-browser/index.d.ts", + "path": "packages/core/execution-context/core-execution-context-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5698,10 +5791,16 @@ "signature": [ "Observable", "<", - "KibanaExecutionContext", + { + "pluginId": "@kbn/core-execution-context-common", + "scope": "common", + "docId": "kibKbnCoreExecutionContextCommonPluginApi", + "section": "def-common.KibanaExecutionContext", + "text": "KibanaExecutionContext" + }, ">" ], - "path": "node_modules/@types/kbn__core-execution-context-browser/index.d.ts", + "path": "packages/core/execution-context/core-execution-context-browser/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -5716,10 +5815,16 @@ ], "signature": [ "(c$: ", - "KibanaExecutionContext", + { + "pluginId": "@kbn/core-execution-context-common", + "scope": "common", + "docId": "kibKbnCoreExecutionContextCommonPluginApi", + "section": "def-common.KibanaExecutionContext", + "text": "KibanaExecutionContext" + }, ") => void" ], - "path": "node_modules/@types/kbn__core-execution-context-browser/index.d.ts", + "path": "packages/core/execution-context/core-execution-context-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5731,9 +5836,15 @@ "label": "c$", "description": [], "signature": [ - "KibanaExecutionContext" + { + "pluginId": "@kbn/core-execution-context-common", + "scope": "common", + "docId": "kibKbnCoreExecutionContextCommonPluginApi", + "section": "def-common.KibanaExecutionContext", + "text": "KibanaExecutionContext" + } ], - "path": "node_modules/@types/kbn__core-execution-context-browser/index.d.ts", + "path": "packages/core/execution-context/core-execution-context-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5752,9 +5863,15 @@ ], "signature": [ "() => ", - "KibanaExecutionContext" + { + "pluginId": "@kbn/core-execution-context-common", + "scope": "common", + "docId": "kibKbnCoreExecutionContextCommonPluginApi", + "section": "def-common.KibanaExecutionContext", + "text": "KibanaExecutionContext" + } ], - "path": "node_modules/@types/kbn__core-execution-context-browser/index.d.ts", + "path": "packages/core/execution-context/core-execution-context-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -5772,7 +5889,7 @@ "signature": [ "() => void" ], - "path": "node_modules/@types/kbn__core-execution-context-browser/index.d.ts", + "path": "packages/core/execution-context/core-execution-context-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -5791,7 +5908,7 @@ "() => ", "Labels" ], - "path": "node_modules/@types/kbn__core-execution-context-browser/index.d.ts", + "path": "packages/core/execution-context/core-execution-context-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -5808,11 +5925,23 @@ ], "signature": [ "(context?: ", - "KibanaExecutionContext", + { + "pluginId": "@kbn/core-execution-context-common", + "scope": "common", + "docId": "kibKbnCoreExecutionContextCommonPluginApi", + "section": "def-common.KibanaExecutionContext", + "text": "KibanaExecutionContext" + }, " | undefined) => ", - "KibanaExecutionContext" + { + "pluginId": "@kbn/core-execution-context-common", + "scope": "common", + "docId": "kibKbnCoreExecutionContextCommonPluginApi", + "section": "def-common.KibanaExecutionContext", + "text": "KibanaExecutionContext" + } ], - "path": "node_modules/@types/kbn__core-execution-context-browser/index.d.ts", + "path": "packages/core/execution-context/core-execution-context-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5824,10 +5953,16 @@ "label": "context", "description": [], "signature": [ - "KibanaExecutionContext", + { + "pluginId": "@kbn/core-execution-context-common", + "scope": "common", + "docId": "kibKbnCoreExecutionContextCommonPluginApi", + "section": "def-common.KibanaExecutionContext", + "text": "KibanaExecutionContext" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-execution-context-browser/index.d.ts", + "path": "packages/core/execution-context/core-execution-context-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -5847,10 +5982,7 @@ "description": [ "\nRepresents the `message` and `stack` of a fatal Error\n" ], - "signature": [ - "FatalErrorInfo" - ], - "path": "node_modules/@types/kbn__core-fatal-errors-browser/index.d.ts", + "path": "packages/core/fatal-errors/core-fatal-errors-browser/src/get_error_info.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5861,7 +5993,7 @@ "tags": [], "label": "message", "description": [], - "path": "node_modules/@types/kbn__core-fatal-errors-browser/index.d.ts", + "path": "packages/core/fatal-errors/core-fatal-errors-browser/src/get_error_info.ts", "deprecated": false, "trackAdoption": false }, @@ -5875,7 +6007,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-fatal-errors-browser/index.d.ts", + "path": "packages/core/fatal-errors/core-fatal-errors-browser/src/get_error_info.ts", "deprecated": false, "trackAdoption": false } @@ -5891,10 +6023,7 @@ "description": [ "\nFatalErrors stop the Kibana Public Core and displays a fatal error screen\nwith details about the Kibana build and the error.\n" ], - "signature": [ - "FatalErrorsSetup" - ], - "path": "node_modules/@types/kbn__core-fatal-errors-browser/index.d.ts", + "path": "packages/core/fatal-errors/core-fatal-errors-browser/src/contract.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5910,7 +6039,7 @@ "signature": [ "(error: string | Error, source?: string | undefined) => never" ], - "path": "node_modules/@types/kbn__core-fatal-errors-browser/index.d.ts", + "path": "packages/core/fatal-errors/core-fatal-errors-browser/src/contract.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5926,7 +6055,7 @@ "signature": [ "string | Error" ], - "path": "node_modules/@types/kbn__core-fatal-errors-browser/index.d.ts", + "path": "packages/core/fatal-errors/core-fatal-errors-browser/src/contract.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5943,7 +6072,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-fatal-errors-browser/index.d.ts", + "path": "packages/core/fatal-errors/core-fatal-errors-browser/src/contract.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -5964,10 +6093,16 @@ "() => ", "Observable", "<", - "FatalErrorInfo", + { + "pluginId": "@kbn/core-fatal-errors-browser", + "scope": "common", + "docId": "kibKbnCoreFatalErrorsBrowserPluginApi", + "section": "def-common.FatalErrorInfo", + "text": "FatalErrorInfo" + }, ">" ], - "path": "node_modules/@types/kbn__core-fatal-errors-browser/index.d.ts", + "path": "packages/core/fatal-errors/core-fatal-errors-browser/src/contract.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -5986,11 +6121,23 @@ "\nAll options that may be used with a {@link HttpHandler}." ], "signature": [ - "HttpFetchOptions", + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpFetchOptions", + "text": "HttpFetchOptions" + }, " extends ", - "HttpRequestInit" + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpRequestInit", + "text": "HttpRequestInit" + } ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6004,10 +6151,16 @@ "\nThe query string for an HTTP request. See {@link HttpFetchQuery}." ], "signature": [ - "HttpFetchQuery", + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpFetchQuery", + "text": "HttpFetchQuery" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -6023,7 +6176,7 @@ "signature": [ "boolean | undefined" ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -6037,10 +6190,16 @@ "\nHeaders to send with the request. See {@link HttpHeadersInit}." ], "signature": [ - "HttpHeadersInit", + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpHeadersInit", + "text": "HttpHeadersInit" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -6056,7 +6215,7 @@ "signature": [ "boolean | undefined" ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -6072,7 +6231,7 @@ "signature": [ "boolean | undefined" ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -6084,10 +6243,16 @@ "label": "context", "description": [], "signature": [ - "KibanaExecutionContext", + { + "pluginId": "@kbn/core-execution-context-common", + "scope": "common", + "docId": "kibKbnCoreExecutionContextCommonPluginApi", + "section": "def-common.KibanaExecutionContext", + "text": "KibanaExecutionContext" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -6104,11 +6269,23 @@ "\nSimilar to {@link HttpFetchOptions} but with the URL path included." ], "signature": [ - "HttpFetchOptionsWithPath", + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpFetchOptionsWithPath", + "text": "HttpFetchOptionsWithPath" + }, " extends ", - "HttpFetchOptions" + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpFetchOptions", + "text": "HttpFetchOptions" + } ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6119,7 +6296,7 @@ "tags": [], "label": "path", "description": [], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -6133,10 +6310,7 @@ "tags": [], "label": "HttpFetchQuery", "description": [], - "signature": [ - "HttpFetchQuery" - ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6152,7 +6326,7 @@ "signature": [ "[key: string]: string | number | boolean | string[] | number[] | boolean[] | null | undefined" ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -6168,10 +6342,7 @@ "description": [ "\nA function for making an HTTP requests to Kibana's backend. See {@link HttpFetchOptions} for options and\n{@link HttpResponse} for the response.\n" ], - "signature": [ - "HttpHandler" - ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6185,7 +6356,7 @@ "signature": [ "any" ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -6199,7 +6370,7 @@ "signature": [ "any" ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -6213,7 +6384,7 @@ "signature": [ "any" ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -6227,7 +6398,7 @@ "signature": [ "any" ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -6243,10 +6414,7 @@ "description": [ "\nHeaders to append to the request. Any headers that begin with `kbn-` are considered private to Core and will cause\n{@link HttpHandler} to throw an error." ], - "signature": [ - "HttpHeadersInit" - ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6260,7 +6428,7 @@ "signature": [ "[name: string]: any" ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -6276,10 +6444,7 @@ "description": [ "\nAn object that may define global interceptor functions for different parts of the request and response lifecycle.\nSee {@link IHttpInterceptController}.\n" ], - "signature": [ - "HttpInterceptor" - ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6294,16 +6459,40 @@ ], "signature": [ "((fetchOptions: Readonly<", - "HttpFetchOptionsWithPath", + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpFetchOptionsWithPath", + "text": "HttpFetchOptionsWithPath" + }, ">, controller: ", - "IHttpInterceptController", + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.IHttpInterceptController", + "text": "IHttpInterceptController" + }, ") => void | ", - "MaybePromise", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.MaybePromise", + "text": "MaybePromise" + }, ">) | undefined" ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6316,10 +6505,16 @@ "description": [], "signature": [ "Readonly<", - "HttpFetchOptionsWithPath", + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpFetchOptionsWithPath", + "text": "HttpFetchOptionsWithPath" + }, ">" ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -6334,9 +6529,15 @@ "{@link IHttpInterceptController }" ], "signature": [ - "IHttpInterceptController" + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.IHttpInterceptController", + "text": "IHttpInterceptController" + } ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -6355,16 +6556,40 @@ ], "signature": [ "((httpErrorRequest: ", - "HttpInterceptorRequestError", + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpInterceptorRequestError", + "text": "HttpInterceptorRequestError" + }, ", controller: ", - "IHttpInterceptController", + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.IHttpInterceptController", + "text": "IHttpInterceptController" + }, ") => void | ", - "MaybePromise", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.MaybePromise", + "text": "MaybePromise" + }, ">) | undefined" ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6378,9 +6603,15 @@ "{@link HttpInterceptorRequestError }" ], "signature": [ - "HttpInterceptorRequestError" + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpInterceptorRequestError", + "text": "HttpInterceptorRequestError" + } ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -6395,9 +6626,15 @@ "{@link IHttpInterceptController }" ], "signature": [ - "IHttpInterceptController" + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.IHttpInterceptController", + "text": "IHttpInterceptController" + } ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -6416,16 +6653,40 @@ ], "signature": [ "((httpResponse: ", - "HttpResponse", + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpResponse", + "text": "HttpResponse" + }, ", controller: ", - "IHttpInterceptController", + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.IHttpInterceptController", + "text": "IHttpInterceptController" + }, ") => void | ", - "MaybePromise", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.MaybePromise", + "text": "MaybePromise" + }, "<", - "IHttpResponseInterceptorOverrides", + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.IHttpResponseInterceptorOverrides", + "text": "IHttpResponseInterceptorOverrides" + }, ">) | undefined" ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6439,10 +6700,16 @@ "{@link HttpResponse }" ], "signature": [ - "HttpResponse", + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpResponse", + "text": "HttpResponse" + }, "" ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -6457,9 +6724,15 @@ "{@link IHttpInterceptController }" ], "signature": [ - "IHttpInterceptController" + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.IHttpInterceptController", + "text": "IHttpInterceptController" + } ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -6478,16 +6751,40 @@ ], "signature": [ "((httpErrorResponse: ", - "HttpInterceptorResponseError", + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpInterceptorResponseError", + "text": "HttpInterceptorResponseError" + }, ", controller: ", - "IHttpInterceptController", + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.IHttpInterceptController", + "text": "IHttpInterceptController" + }, ") => void | ", - "MaybePromise", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.MaybePromise", + "text": "MaybePromise" + }, "<", - "IHttpResponseInterceptorOverrides", + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.IHttpResponseInterceptorOverrides", + "text": "IHttpResponseInterceptorOverrides" + }, ">) | undefined" ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6501,9 +6798,15 @@ "{@link HttpInterceptorResponseError }" ], "signature": [ - "HttpInterceptorResponseError" + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpInterceptorResponseError", + "text": "HttpInterceptorResponseError" + } ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -6518,9 +6821,15 @@ "{@link IHttpInterceptController }" ], "signature": [ - "IHttpInterceptController" + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.IHttpInterceptController", + "text": "IHttpInterceptController" + } ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -6538,10 +6847,7 @@ "tags": [], "label": "HttpInterceptorRequestError", "description": [], - "signature": [ - "HttpInterceptorRequestError" - ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6554,14 +6860,32 @@ "description": [], "signature": [ "{ readonly path: string; readonly query?: ", - "HttpFetchQuery", + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpFetchQuery", + "text": "HttpFetchQuery" + }, " | undefined; readonly prependBasePath?: boolean | undefined; readonly headers?: ", - "HttpHeadersInit", + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpHeadersInit", + "text": "HttpHeadersInit" + }, " | undefined; readonly asSystemRequest?: boolean | undefined; readonly asResponse?: boolean | undefined; readonly context?: ", - "KibanaExecutionContext", + { + "pluginId": "@kbn/core-execution-context-common", + "scope": "common", + "docId": "kibKbnCoreExecutionContextCommonPluginApi", + "section": "def-common.KibanaExecutionContext", + "text": "KibanaExecutionContext" + }, " | undefined; readonly body?: BodyInit | null | undefined; readonly cache?: RequestCache | undefined; readonly credentials?: RequestCredentials | undefined; readonly integrity?: string | undefined; readonly keepalive?: boolean | undefined; readonly method?: string | undefined; readonly mode?: RequestMode | undefined; readonly redirect?: RequestRedirect | undefined; readonly referrer?: string | undefined; readonly referrerPolicy?: ReferrerPolicy | undefined; readonly signal?: AbortSignal | null | undefined; readonly window?: null | undefined; }" ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -6575,7 +6899,7 @@ "signature": [ "Error" ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -6590,12 +6914,24 @@ "label": "HttpInterceptorResponseError", "description": [], "signature": [ - "HttpInterceptorResponseError", + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpInterceptorResponseError", + "text": "HttpInterceptorResponseError" + }, " extends ", - "HttpResponse", + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpResponse", + "text": "HttpResponse" + }, "" ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6609,7 +6945,7 @@ "signature": [ "{ readonly cache: RequestCache; readonly credentials: RequestCredentials; readonly destination: RequestDestination; readonly headers: Headers; readonly integrity: string; readonly keepalive: boolean; readonly method: string; readonly mode: RequestMode; readonly redirect: RequestRedirect; readonly referrer: string; readonly referrerPolicy: ReferrerPolicy; readonly signal: AbortSignal; readonly url: string; readonly clone: () => Request; readonly body: ReadableStream | null; readonly bodyUsed: boolean; readonly arrayBuffer: () => Promise; readonly blob: () => Promise; readonly formData: () => Promise; readonly json: () => Promise; readonly text: () => Promise; }" ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -6622,10 +6958,16 @@ "description": [], "signature": [ "Error | ", - "IHttpFetchError", + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.IHttpFetchError", + "text": "IHttpFetchError" + }, "" ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -6641,10 +6983,7 @@ "description": [ "\nFetch API options available to {@link HttpHandler}s.\n" ], - "signature": [ - "HttpRequestInit" - ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6660,7 +6999,7 @@ "signature": [ "BodyInit | null | undefined" ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -6676,7 +7015,7 @@ "signature": [ "RequestCache | undefined" ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -6692,7 +7031,7 @@ "signature": [ "RequestCredentials | undefined" ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -6706,10 +7045,16 @@ "{@link HttpHeadersInit}" ], "signature": [ - "HttpHeadersInit", + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpHeadersInit", + "text": "HttpHeadersInit" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -6725,7 +7070,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -6741,7 +7086,7 @@ "signature": [ "boolean | undefined" ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -6757,7 +7102,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -6773,7 +7118,7 @@ "signature": [ "RequestMode | undefined" ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -6789,7 +7134,7 @@ "signature": [ "RequestRedirect | undefined" ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -6805,7 +7150,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -6821,7 +7166,7 @@ "signature": [ "ReferrerPolicy | undefined" ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -6837,7 +7182,7 @@ "signature": [ "AbortSignal | null | undefined" ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -6853,7 +7198,7 @@ "signature": [ "null | undefined" ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -6868,10 +7213,16 @@ "label": "HttpResponse", "description": [], "signature": [ - "HttpResponse", + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpResponse", + "text": "HttpResponse" + }, "" ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6886,14 +7237,32 @@ ], "signature": [ "{ readonly path: string; readonly query?: ", - "HttpFetchQuery", + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpFetchQuery", + "text": "HttpFetchQuery" + }, " | undefined; readonly prependBasePath?: boolean | undefined; readonly headers?: ", - "HttpHeadersInit", + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpHeadersInit", + "text": "HttpHeadersInit" + }, " | undefined; readonly asSystemRequest?: boolean | undefined; readonly asResponse?: boolean | undefined; readonly context?: ", - "KibanaExecutionContext", + { + "pluginId": "@kbn/core-execution-context-common", + "scope": "common", + "docId": "kibKbnCoreExecutionContextCommonPluginApi", + "section": "def-common.KibanaExecutionContext", + "text": "KibanaExecutionContext" + }, " | undefined; readonly body?: BodyInit | null | undefined; readonly cache?: RequestCache | undefined; readonly credentials?: RequestCredentials | undefined; readonly integrity?: string | undefined; readonly keepalive?: boolean | undefined; readonly method?: string | undefined; readonly mode?: RequestMode | undefined; readonly redirect?: RequestRedirect | undefined; readonly referrer?: string | undefined; readonly referrerPolicy?: ReferrerPolicy | undefined; readonly signal?: AbortSignal | null | undefined; readonly window?: null | undefined; }" ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -6909,7 +7278,7 @@ "signature": [ "{ readonly cache: RequestCache; readonly credentials: RequestCredentials; readonly destination: RequestDestination; readonly headers: Headers; readonly integrity: string; readonly keepalive: boolean; readonly method: string; readonly mode: RequestMode; readonly redirect: RequestRedirect; readonly referrer: string; readonly referrerPolicy: ReferrerPolicy; readonly signal: AbortSignal; readonly url: string; readonly clone: () => Request; readonly body: ReadableStream | null; readonly bodyUsed: boolean; readonly arrayBuffer: () => Promise; readonly blob: () => Promise; readonly formData: () => Promise; readonly json: () => Promise; readonly text: () => Promise; }" ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -6925,7 +7294,7 @@ "signature": [ "Readonly | undefined" ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -6941,7 +7310,7 @@ "signature": [ "TResponseBody | undefined" ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -6955,10 +7324,7 @@ "tags": [], "label": "HttpSetup", "description": [], - "signature": [ - "HttpSetup" - ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6972,9 +7338,15 @@ "\nAPIs for manipulating the basePath on URL segments.\nSee {@link IBasePath}" ], "signature": [ - "IBasePath" + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.IBasePath", + "text": "IBasePath" + } ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -6988,9 +7360,15 @@ "\nAPIs for denoting certain paths for not requiring authentication" ], "signature": [ - "IAnonymousPaths" + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.IAnonymousPaths", + "text": "IAnonymousPaths" + } ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -7002,9 +7380,15 @@ "label": "externalUrl", "description": [], "signature": [ - "IExternalUrl" + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.IExternalUrl", + "text": "IExternalUrl" + } ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -7019,10 +7403,16 @@ ], "signature": [ "(interceptor: ", - "HttpInterceptor", + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpInterceptor", + "text": "HttpInterceptor" + }, ") => () => void" ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7036,9 +7426,15 @@ "a {@link HttpInterceptor }" ], "signature": [ - "HttpInterceptor" + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpInterceptor", + "text": "HttpInterceptor" + } ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -7058,9 +7454,15 @@ "Makes an HTTP request. Defaults to a GET request unless overridden. See {@link HttpHandler} for options." ], "signature": [ - "HttpHandler" + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpHandler", + "text": "HttpHandler" + } ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -7074,9 +7476,15 @@ "Makes an HTTP request with the DELETE method. See {@link HttpHandler} for options." ], "signature": [ - "HttpHandler" + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpHandler", + "text": "HttpHandler" + } ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -7090,9 +7498,15 @@ "Makes an HTTP request with the GET method. See {@link HttpHandler} for options." ], "signature": [ - "HttpHandler" + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpHandler", + "text": "HttpHandler" + } ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -7106,9 +7520,15 @@ "Makes an HTTP request with the HEAD method. See {@link HttpHandler} for options." ], "signature": [ - "HttpHandler" + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpHandler", + "text": "HttpHandler" + } ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -7122,9 +7542,15 @@ "Makes an HTTP request with the OPTIONS method. See {@link HttpHandler} for options." ], "signature": [ - "HttpHandler" + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpHandler", + "text": "HttpHandler" + } ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -7138,9 +7564,15 @@ "Makes an HTTP request with the PATCH method. See {@link HttpHandler} for options." ], "signature": [ - "HttpHandler" + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpHandler", + "text": "HttpHandler" + } ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -7154,9 +7586,15 @@ "Makes an HTTP request with the POST method. See {@link HttpHandler} for options." ], "signature": [ - "HttpHandler" + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpHandler", + "text": "HttpHandler" + } ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -7170,9 +7608,15 @@ "Makes an HTTP request with the PUT method. See {@link HttpHandler} for options." ], "signature": [ - "HttpHandler" + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpHandler", + "text": "HttpHandler" + } ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -7190,7 +7634,7 @@ "Observable", ") => void" ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7207,7 +7651,7 @@ "Observable", "" ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -7229,7 +7673,7 @@ "Observable", "" ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -7247,10 +7691,7 @@ "description": [ "\nI18nStart.Context is required by any localizable React component from \\@kbn/i18n and \\@elastic/eui packages\nand is supposed to be used as the topmost component for any i18n-compatible React tree.\n" ], - "signature": [ - "I18nStart" - ], - "path": "node_modules/@types/kbn__core-i18n-browser/index.d.ts", + "path": "packages/core/i18n/core-i18n-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7266,7 +7707,7 @@ "signature": [ "({ children }: { children: React.ReactNode; }) => JSX.Element" ], - "path": "node_modules/@types/kbn__core-i18n-browser/index.d.ts", + "path": "packages/core/i18n/core-i18n-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7277,7 +7718,7 @@ "tags": [], "label": "{ children }", "description": [], - "path": "node_modules/@types/kbn__core-i18n-browser/index.d.ts", + "path": "packages/core/i18n/core-i18n-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7291,7 +7732,7 @@ "signature": [ "boolean | React.ReactChild | React.ReactFragment | React.ReactPortal | null | undefined" ], - "path": "node_modules/@types/kbn__core-i18n-browser/index.d.ts", + "path": "packages/core/i18n/core-i18n-browser/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -7305,47 +7746,431 @@ }, { "parentPluginId": "core", - "id": "def-public.IAnonymousPaths", + "id": "def-public.IAnalyticsClient", "type": "Interface", "tags": [], - "label": "IAnonymousPaths", + "label": "IAnalyticsClient", "description": [ - "\nAPIs for denoting paths as not requiring authentication" - ], - "signature": [ - "IAnonymousPaths" + "\nAnalytics client's public APIs" ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/analytics/client/src/analytics_client/types.ts", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "core", - "id": "def-public.IAnonymousPaths.isAnonymous", + "id": "def-public.IAnalyticsClient.reportEvent", "type": "Function", - "tags": [], - "label": "isAnonymous", + "tags": [ + "track-adoption" + ], + "label": "reportEvent", "description": [ - "\nDetermines whether the provided path doesn't require authentication. `path` should include the current basePath." + "\nReports a telemetry event." ], "signature": [ - "(path: string) => boolean" + "(eventType: string, eventData: EventTypeData) => void" ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/analytics/client/src/analytics_client/types.ts", "deprecated": false, - "trackAdoption": false, + "trackAdoption": true, + "references": [ + { + "plugin": "@kbn/ebt-tools", + "path": "packages/kbn-ebt-tools/src/performance_metric_events/helpers.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/track_clicks.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" + }, + { + "plugin": "@kbn/core-root-browser-internal", + "path": "packages/core/root/core-root-browser-internal/src/core_system.ts" + }, + { + "plugin": "@kbn/core-status-server-internal", + "path": "packages/core/status/core-status-server-internal/src/status_service.ts" + }, + { + "plugin": "@kbn/core-plugins-server-internal", + "path": "packages/core/plugins/core-plugins-server-internal/src/plugin_context.ts" + }, + { + "plugin": "@kbn/core-plugins-server-internal", + "path": "packages/core/plugins/core-plugins-server-internal/src/plugin_context.ts" + }, + { + "plugin": "@kbn/core-plugins-server-internal", + "path": "packages/core/plugins/core-plugins-server-internal/src/plugin_context.ts" + }, + { + "plugin": "@kbn/core-plugins-server-internal", + "path": "packages/core/plugins/core-plugins-server-internal/src/plugin_context.ts" + }, + { + "plugin": "@kbn/core-plugins-server-internal", + "path": "packages/core/plugins/core-plugins-server-internal/src/plugin_context.ts" + }, + { + "plugin": "@kbn/core-plugins-server-internal", + "path": "packages/core/plugins/core-plugins-server-internal/src/plugin_context.ts" + }, + { + "plugin": "@kbn/core-analytics-server-internal", + "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" + }, + { + "plugin": "@kbn/core-analytics-server-internal", + "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" + }, + { + "plugin": "@kbn/core-analytics-server-internal", + "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" + }, + { + "plugin": "@kbn/core-analytics-server-internal", + "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" + }, + { + "plugin": "@kbn/core-analytics-server-internal", + "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" + }, + { + "plugin": "@kbn/core-analytics-server-internal", + "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/server/analytics/analytics_service.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/services/analytics/types.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/services/analytics/analytics_service.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/plugins/fleet/server/services/fleet_usage_sender.ts" + }, + { + "plugin": "osquery", + "path": "x-pack/plugins/osquery/server/lib/telemetry/sender.ts" + }, + { + "plugin": "osquery", + "path": "x-pack/plugins/osquery/server/lib/telemetry/sender.ts" + }, + { + "plugin": "osquery", + "path": "x-pack/plugins/osquery/server/lib/telemetry/sender.ts" + }, + { + "plugin": "osquery", + "path": "x-pack/plugins/osquery/server/lib/telemetry/sender.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/analytics_client.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/analytics_client.test.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/analytics_client.test.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/analytics_client.test.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/analytics_client.test.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/analytics_client.test.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/analytics_client.test.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/analytics_client.test.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/analytics_client.test.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/analytics_client.test.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/analytics_client.test.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/analytics_client.test.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/analytics_client.test.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/analytics_client.test.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/analytics_client.test.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/analytics_client.test.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/analytics_client.test.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/analytics_client.test.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/analytics_client.test.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/analytics_client.test.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/analytics_client.test.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/analytics_client.test.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/analytics_client.test.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/analytics_client.test.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/analytics_client.test.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/analytics_client.test.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/analytics_client.test.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/analytics_client.test.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/analytics_client.test.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/analytics_client.test.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/analytics_client.test.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/analytics_client.test.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/analytics_client.test.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/analytics_client.test.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/analytics_client.test.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/analytics_client.test.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-mocks", + "path": "packages/core/analytics/core-analytics-browser-mocks/src/analytics_service.mock.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-mocks", + "path": "packages/core/analytics/core-analytics-browser-mocks/src/analytics_service.mock.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/services/analytics/analytics.stub.ts" + }, + { + "plugin": "@kbn/core-root-browser-internal", + "path": "packages/core/root/core-root-browser-internal/src/core_system.test.ts" + }, + { + "plugin": "@kbn/core-root-browser-internal", + "path": "packages/core/root/core-root-browser-internal/src/core_system.test.ts" + }, + { + "plugin": "@kbn/core-root-browser-internal", + "path": "packages/core/root/core-root-browser-internal/src/core_system.test.ts" + }, + { + "plugin": "@kbn/core-root-browser-internal", + "path": "packages/core/root/core-root-browser-internal/src/core_system.test.ts" + }, + { + "plugin": "@kbn/core-root-browser-internal", + "path": "packages/core/root/core-root-browser-internal/src/core_system.test.ts" + }, + { + "plugin": "@kbn/core-root-browser-internal", + "path": "packages/core/root/core-root-browser-internal/src/core_system.test.ts" + }, + { + "plugin": "@kbn/core-analytics-server-mocks", + "path": "packages/core/analytics/core-analytics-server-mocks/src/analytics_service.mock.ts" + }, + { + "plugin": "@kbn/core-analytics-server-mocks", + "path": "packages/core/analytics/core-analytics-server-mocks/src/analytics_service.mock.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/server/analytics/analytics_service.test.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/server/analytics/analytics_service.test.ts" + }, + { + "plugin": "@kbn/core-status-server-internal", + "path": "packages/core/status/core-status-server-internal/src/status_service.test.ts" + }, + { + "plugin": "@kbn/core-status-server-internal", + "path": "packages/core/status/core-status-server-internal/src/status_service.test.ts" + }, + { + "plugin": "@kbn/core-status-server-internal", + "path": "packages/core/status/core-status-server-internal/src/status_service.test.ts" + }, + { + "plugin": "@kbn/core-analytics-server-mocks", + "path": "packages/core/analytics/core-analytics-server-mocks/src/analytics_service.mock.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/mocks.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.test.mocks.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/track_clicks.test.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/track_clicks.test.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/track_clicks.test.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/track_clicks.test.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.test.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.test.ts" + }, + { + "plugin": "@kbn/core-analytics-server-internal", + "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.test.mocks.ts" + } + ], "children": [ { "parentPluginId": "core", - "id": "def-public.IAnonymousPaths.isAnonymous.$1", + "id": "def-public.IAnalyticsClient.reportEvent.$1", "type": "string", "tags": [], - "label": "path", - "description": [], + "label": "eventType", + "description": [ + "The event type registered via the `registerEventType` API." + ], "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/analytics/client/src/analytics_client/types.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "core", + "id": "def-public.IAnalyticsClient.reportEvent.$2", + "type": "Uncategorized", + "tags": [], + "label": "eventData", + "description": [ + "The properties matching the schema declared in the `registerEventType` API." + ], + "signature": [ + "EventTypeData" + ], + "path": "packages/analytics/client/src/analytics_client/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -7355,102 +8180,206 @@ }, { "parentPluginId": "core", - "id": "def-public.IAnonymousPaths.register", + "id": "def-public.IAnalyticsClient.registerEventType", "type": "Function", "tags": [], - "label": "register", + "label": "registerEventType", "description": [ - "\nRegister `path` as not requiring authentication. `path` should not include the current basePath." + "\nRegisters the event type that will be emitted via the reportEvent API." ], "signature": [ - "(path: string) => void" + "(eventTypeOps: ", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.EventTypeOpts", + "text": "EventTypeOpts" + }, + ") => void" ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/analytics/client/src/analytics_client/types.ts", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "core", - "id": "def-public.IAnonymousPaths.register.$1", - "type": "string", + "id": "def-public.IAnalyticsClient.registerEventType.$1", + "type": "Object", "tags": [], - "label": "path", - "description": [], + "label": "eventTypeOps", + "description": [ + "The definition of the event type {@link EventTypeOpts }." + ], "signature": [ - "string" + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.EventTypeOpts", + "text": "EventTypeOpts" + }, + "" ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/analytics/client/src/analytics_client/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true } ], "returnComment": [] - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "core", - "id": "def-public.IBasePath", - "type": "Interface", - "tags": [], - "label": "IBasePath", - "description": [ - "\nAPIs for manipulating the basePath on URL segments." - ], - "signature": [ - "IBasePath" - ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "children": [ + }, { "parentPluginId": "core", - "id": "def-public.IBasePath.get", + "id": "def-public.IAnalyticsClient.registerShipper", "type": "Function", "tags": [], - "label": "get", + "label": "registerShipper", "description": [ - "\nGets the `basePath` string." + "\nSet up the shipper that will be used to report the telemetry events." ], "signature": [ - "() => string" + "(Shipper: ", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.ShipperClassConstructor", + "text": "ShipperClassConstructor" + }, + ", shipperConfig: ShipperConfig, opts?: ", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.RegisterShipperOpts", + "text": "RegisterShipperOpts" + }, + " | undefined) => void" ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/analytics/client/src/analytics_client/types.ts", "deprecated": false, "trackAdoption": false, - "children": [], + "children": [ + { + "parentPluginId": "core", + "id": "def-public.IAnalyticsClient.registerShipper.$1", + "type": "Object", + "tags": [], + "label": "Shipper", + "description": [ + "The {@link IShipper } class to instantiate the shipper." + ], + "signature": [ + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.ShipperClassConstructor", + "text": "ShipperClassConstructor" + }, + "" + ], + "path": "packages/analytics/client/src/analytics_client/types.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "core", + "id": "def-public.IAnalyticsClient.registerShipper.$2", + "type": "Uncategorized", + "tags": [], + "label": "shipperConfig", + "description": [ + "The config specific to the Shipper to instantiate." + ], + "signature": [ + "ShipperConfig" + ], + "path": "packages/analytics/client/src/analytics_client/types.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "core", + "id": "def-public.IAnalyticsClient.registerShipper.$3", + "type": "Object", + "tags": [], + "label": "opts", + "description": [ + "Additional options to register the shipper {@link RegisterShipperOpts }." + ], + "signature": [ + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.RegisterShipperOpts", + "text": "RegisterShipperOpts" + }, + " | undefined" + ], + "path": "packages/analytics/client/src/analytics_client/types.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": false + } + ], "returnComment": [] }, { "parentPluginId": "core", - "id": "def-public.IBasePath.prepend", + "id": "def-public.IAnalyticsClient.optIn", "type": "Function", "tags": [], - "label": "prepend", + "label": "optIn", "description": [ - "\nPrepends `path` with the basePath." + "\nUsed to control the user's consent to report the data.\nIn the advanced mode, it allows to \"cherry-pick\" which events and shippers are enabled/disabled." ], "signature": [ - "(url: string) => string" + "(optInConfig: ", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.OptInConfig", + "text": "OptInConfig" + }, + ") => void" ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/analytics/client/src/analytics_client/types.ts", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "core", - "id": "def-public.IBasePath.prepend.$1", - "type": "string", + "id": "def-public.IAnalyticsClient.optIn.$1", + "type": "Object", "tags": [], - "label": "url", - "description": [], + "label": "optInConfig", + "description": [ + "{@link OptInConfig }" + ], "signature": [ - "string" + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.OptInConfig", + "text": "OptInConfig" + } ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/analytics/client/src/analytics_client/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -7460,31 +8389,324 @@ }, { "parentPluginId": "core", - "id": "def-public.IBasePath.remove", + "id": "def-public.IAnalyticsClient.registerContextProvider", + "type": "Function", + "tags": [ + "track-adoption" + ], + "label": "registerContextProvider", + "description": [ + "\nRegisters the context provider to enrich any reported events." + ], + "signature": [ + "(contextProviderOpts: ", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.ContextProviderOpts", + "text": "ContextProviderOpts" + }, + ") => void" + ], + "path": "packages/analytics/client/src/analytics_client/types.ts", + "deprecated": false, + "trackAdoption": true, + "references": [ + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" + }, + { + "plugin": "@kbn/core-execution-context-browser-internal", + "path": "packages/core/execution-context/core-execution-context-browser-internal/src/execution_context_service.ts" + }, + { + "plugin": "@kbn/core-elasticsearch-server-internal", + "path": "packages/core/elasticsearch/core-elasticsearch-server-internal/src/register_analytics_context_provider.ts" + }, + { + "plugin": "@kbn/core-environment-server-internal", + "path": "packages/core/environment/core-environment-server-internal/src/environment_service.ts" + }, + { + "plugin": "@kbn/core-status-server-internal", + "path": "packages/core/status/core-status-server-internal/src/status_service.ts" + }, + { + "plugin": "@kbn/core-plugins-server-internal", + "path": "packages/core/plugins/core-plugins-server-internal/src/plugin_context.ts" + }, + { + "plugin": "@kbn/core-plugins-server-internal", + "path": "packages/core/plugins/core-plugins-server-internal/src/plugin_context.ts" + }, + { + "plugin": "@kbn/core-plugins-server-internal", + "path": "packages/core/plugins/core-plugins-server-internal/src/plugin_context.ts" + }, + { + "plugin": "@kbn/core-plugins-server-internal", + "path": "packages/core/plugins/core-plugins-server-internal/src/plugin_context.ts" + }, + { + "plugin": "@kbn/core-analytics-server-internal", + "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" + }, + { + "plugin": "@kbn/core-analytics-server-internal", + "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" + }, + { + "plugin": "@kbn/core-analytics-server-internal", + "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" + }, + { + "plugin": "@kbn/core-analytics-server-internal", + "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" + }, + { + "plugin": "@kbn/core-analytics-server-internal", + "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" + }, + { + "plugin": "licensing", + "path": "x-pack/plugins/licensing/common/register_analytics_context_provider.ts" + }, + { + "plugin": "cloud", + "path": "x-pack/plugins/cloud/common/register_cloud_deployment_id_analytics_context.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/public/analytics/register_user_context.ts" + }, + { + "plugin": "telemetry", + "path": "src/plugins/telemetry/public/plugin.ts" + }, + { + "plugin": "telemetry", + "path": "src/plugins/telemetry/server/plugin.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/analytics_client.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/analytics_client.test.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/analytics_client.test.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-mocks", + "path": "packages/core/analytics/core-analytics-browser-mocks/src/analytics_service.mock.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/public/analytics/analytics_service.test.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/public/analytics/analytics_service.test.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/public/analytics/register_user_context.test.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/public/analytics/register_user_context.test.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/public/analytics/register_user_context.test.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/public/analytics/register_user_context.test.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/public/analytics/register_user_context.test.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/public/analytics/register_user_context.test.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/public/analytics/register_user_context.test.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/public/analytics/register_user_context.test.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/public/analytics/register_user_context.test.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/public/analytics/register_user_context.test.ts" + }, + { + "plugin": "@kbn/core-execution-context-browser-internal", + "path": "packages/core/execution-context/core-execution-context-browser-internal/src/execution_context_service.test.ts" + }, + { + "plugin": "@kbn/core-execution-context-browser-internal", + "path": "packages/core/execution-context/core-execution-context-browser-internal/src/execution_context_service.test.ts" + }, + { + "plugin": "@kbn/core-analytics-server-mocks", + "path": "packages/core/analytics/core-analytics-server-mocks/src/analytics_service.mock.ts" + }, + { + "plugin": "@kbn/core-analytics-server-mocks", + "path": "packages/core/analytics/core-analytics-server-mocks/src/analytics_service.mock.ts" + }, + { + "plugin": "@kbn/core-elasticsearch-server-internal", + "path": "packages/core/elasticsearch/core-elasticsearch-server-internal/src/register_analytics_context_provider.test.ts" + }, + { + "plugin": "@kbn/core-status-server-internal", + "path": "packages/core/status/core-status-server-internal/src/status_service.test.ts" + }, + { + "plugin": "@kbn/core-status-server-internal", + "path": "packages/core/status/core-status-server-internal/src/status_service.test.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/mocks.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.test.mocks.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.test.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.test.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.test.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.test.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.test.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.test.ts" + }, + { + "plugin": "@kbn/core-analytics-server-internal", + "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.test.mocks.ts" + }, + { + "plugin": "@kbn/core-analytics-server-internal", + "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.test.ts" + }, + { + "plugin": "@kbn/core-analytics-server-internal", + "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.test.ts" + } + ], + "children": [ + { + "parentPluginId": "core", + "id": "def-public.IAnalyticsClient.registerContextProvider.$1", + "type": "Object", + "tags": [], + "label": "contextProviderOpts", + "description": [ + "{@link ContextProviderOpts }" + ], + "signature": [ + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.ContextProviderOpts", + "text": "ContextProviderOpts" + }, + "" + ], + "path": "packages/analytics/client/src/analytics_client/types.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "core", + "id": "def-public.IAnalyticsClient.removeContextProvider", "type": "Function", "tags": [], - "label": "remove", + "label": "removeContextProvider", "description": [ - "\nRemoves the prepended basePath from the `path`." + "\nRemoves the context provider and stop enriching the events from its context." ], "signature": [ - "(url: string) => string" + "(contextProviderName: string) => void" ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/analytics/client/src/analytics_client/types.ts", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "core", - "id": "def-public.IBasePath.remove.$1", + "id": "def-public.IAnalyticsClient.removeContextProvider.$1", "type": "string", "tags": [], - "label": "url", - "description": [], + "label": "contextProviderName", + "description": [ + "The name of the context provider to remove." + ], "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/analytics/client/src/analytics_client/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -7494,79 +8716,90 @@ }, { "parentPluginId": "core", - "id": "def-public.IBasePath.serverBasePath", - "type": "string", + "id": "def-public.IAnalyticsClient.telemetryCounter$", + "type": "Object", "tags": [], - "label": "serverBasePath", + "label": "telemetryCounter$", "description": [ - "\nReturns the server's root basePath as configured, without any namespace prefix.\n\nSee {@link BasePath.get} for getting the basePath value for a specific request" + "\nObservable to emit the stats of the processed events." + ], + "signature": [ + "Observable", + "<", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.TelemetryCounter", + "text": "TelemetryCounter" + }, + ">" ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/analytics/client/src/analytics_client/types.ts", "deprecated": false, "trackAdoption": false }, { "parentPluginId": "core", - "id": "def-public.IBasePath.publicBaseUrl", - "type": "string", + "id": "def-public.IAnalyticsClient.shutdown", + "type": "Function", "tags": [], - "label": "publicBaseUrl", + "label": "shutdown", "description": [ - "\nThe server's publicly exposed base URL, if configured. Includes protocol, host, port (optional) and the\n{@link IBasePath.serverBasePath}.\n" + "\nStops the client." ], "signature": [ - "string | undefined" + "() => void" ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/analytics/client/src/analytics_client/types.ts", "deprecated": false, - "trackAdoption": false + "trackAdoption": false, + "children": [], + "returnComment": [] } ], "initialIsOpen": false }, { "parentPluginId": "core", - "id": "def-public.IExternalUrl", + "id": "def-public.IAnonymousPaths", "type": "Interface", "tags": [], - "label": "IExternalUrl", + "label": "IAnonymousPaths", "description": [ - "\nAPIs for working with external URLs.\n" - ], - "signature": [ - "IExternalUrl" + "\nAPIs for denoting paths as not requiring authentication" ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "core", - "id": "def-public.IExternalUrl.isInternalUrl", + "id": "def-public.IAnonymousPaths.isAnonymous", "type": "Function", "tags": [], - "label": "isInternalUrl", + "label": "isAnonymous", "description": [ - "\nDetermines if the provided URL is an internal url.\n" + "\nDetermines whether the provided path doesn't require authentication. `path` should include the current basePath." ], "signature": [ - "(relativeOrAbsoluteUrl: string) => boolean" + "(path: string) => boolean" ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "core", - "id": "def-public.IExternalUrl.isInternalUrl.$1", + "id": "def-public.IAnonymousPaths.isAnonymous.$1", "type": "string", "tags": [], - "label": "relativeOrAbsoluteUrl", + "label": "path", "description": [], "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -7576,31 +8809,31 @@ }, { "parentPluginId": "core", - "id": "def-public.IExternalUrl.validateUrl", + "id": "def-public.IAnonymousPaths.register", "type": "Function", "tags": [], - "label": "validateUrl", + "label": "register", "description": [ - "\nDetermines if the provided URL is a valid location to send users.\nValidation is based on the configured allow list in kibana.yml.\n\nIf the URL is valid, then a URL will be returned.\nOtherwise, this will return null.\n" + "\nRegister `path` as not requiring authentication. `path` should not include the current basePath." ], "signature": [ - "(relativeOrAbsoluteUrl: string) => URL | null" + "(path: string) => void" ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "core", - "id": "def-public.IExternalUrl.validateUrl.$1", + "id": "def-public.IAnonymousPaths.register.$1", "type": "string", "tags": [], - "label": "relativeOrAbsoluteUrl", + "label": "path", "description": [], "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -7613,75 +8846,296 @@ }, { "parentPluginId": "core", - "id": "def-public.IHttpFetchError", + "id": "def-public.IBasePath", "type": "Interface", "tags": [], - "label": "IHttpFetchError", - "description": [], - "signature": [ - "IHttpFetchError", - " extends Error" + "label": "IBasePath", + "description": [ + "\nAPIs for manipulating the basePath on URL segments." ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "core", - "id": "def-public.IHttpFetchError.name", - "type": "string", - "tags": [], - "label": "name", - "description": [], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "core", - "id": "def-public.IHttpFetchError.request", - "type": "Object", + "id": "def-public.IBasePath.get", + "type": "Function", "tags": [], - "label": "request", - "description": [], + "label": "get", + "description": [ + "\nGets the `basePath` string." + ], "signature": [ - "Request" + "() => string" ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, - "trackAdoption": false + "trackAdoption": false, + "children": [], + "returnComment": [] }, { "parentPluginId": "core", - "id": "def-public.IHttpFetchError.response", - "type": "Object", + "id": "def-public.IBasePath.prepend", + "type": "Function", "tags": [], - "label": "response", - "description": [], + "label": "prepend", + "description": [ + "\nPrepends `path` with the basePath." + ], "signature": [ - "Response | undefined" + "(url: string) => string" ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, - "trackAdoption": false + "trackAdoption": false, + "children": [ + { + "parentPluginId": "core", + "id": "def-public.IBasePath.prepend.$1", + "type": "string", + "tags": [], + "label": "url", + "description": [], + "signature": [ + "string" + ], + "path": "packages/core/http/core-http-browser/src/types.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [] }, { "parentPluginId": "core", - "id": "def-public.IHttpFetchError.req", - "type": "Object", - "tags": [ - "deprecated" + "id": "def-public.IBasePath.remove", + "type": "Function", + "tags": [], + "label": "remove", + "description": [ + "\nRemoves the prepended basePath from the `path`." ], - "label": "req", - "description": [], "signature": [ - "Request" + "(url: string) => string" ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", - "deprecated": true, - "removeBy": "8.8.0\n\nNote to maintainers: when looking at usages, mind that typical use could be inside a `catch` block,\nso TS and code-reference navigation might not highlight them.", + "path": "packages/core/http/core-http-browser/src/types.ts", + "deprecated": false, "trackAdoption": false, - "references": [ + "children": [ + { + "parentPluginId": "core", + "id": "def-public.IBasePath.remove.$1", + "type": "string", + "tags": [], + "label": "url", + "description": [], + "signature": [ + "string" + ], + "path": "packages/core/http/core-http-browser/src/types.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "core", + "id": "def-public.IBasePath.serverBasePath", + "type": "string", + "tags": [], + "label": "serverBasePath", + "description": [ + "\nReturns the server's root basePath as configured, without any namespace prefix.\n\nSee {@link BasePath.get} for getting the basePath value for a specific request" + ], + "path": "packages/core/http/core-http-browser/src/types.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "core", + "id": "def-public.IBasePath.publicBaseUrl", + "type": "string", + "tags": [], + "label": "publicBaseUrl", + "description": [ + "\nThe server's publicly exposed base URL, if configured. Includes protocol, host, port (optional) and the\n{@link IBasePath.serverBasePath}.\n" + ], + "signature": [ + "string | undefined" + ], + "path": "packages/core/http/core-http-browser/src/types.ts", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "core", + "id": "def-public.IExternalUrl", + "type": "Interface", + "tags": [], + "label": "IExternalUrl", + "description": [ + "\nAPIs for working with external URLs.\n" + ], + "path": "packages/core/http/core-http-browser/src/types.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "core", + "id": "def-public.IExternalUrl.isInternalUrl", + "type": "Function", + "tags": [], + "label": "isInternalUrl", + "description": [ + "\nDetermines if the provided URL is an internal url.\n" + ], + "signature": [ + "(relativeOrAbsoluteUrl: string) => boolean" + ], + "path": "packages/core/http/core-http-browser/src/types.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "core", + "id": "def-public.IExternalUrl.isInternalUrl.$1", + "type": "string", + "tags": [], + "label": "relativeOrAbsoluteUrl", + "description": [], + "signature": [ + "string" + ], + "path": "packages/core/http/core-http-browser/src/types.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "core", + "id": "def-public.IExternalUrl.validateUrl", + "type": "Function", + "tags": [], + "label": "validateUrl", + "description": [ + "\nDetermines if the provided URL is a valid location to send users.\nValidation is based on the configured allow list in kibana.yml.\n\nIf the URL is valid, then a URL will be returned.\nOtherwise, this will return null.\n" + ], + "signature": [ + "(relativeOrAbsoluteUrl: string) => URL | null" + ], + "path": "packages/core/http/core-http-browser/src/types.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "core", + "id": "def-public.IExternalUrl.validateUrl.$1", + "type": "string", + "tags": [], + "label": "relativeOrAbsoluteUrl", + "description": [], + "signature": [ + "string" + ], + "path": "packages/core/http/core-http-browser/src/types.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "core", + "id": "def-public.IHttpFetchError", + "type": "Interface", + "tags": [], + "label": "IHttpFetchError", + "description": [], + "signature": [ + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.IHttpFetchError", + "text": "IHttpFetchError" + }, + " extends Error" + ], + "path": "packages/core/http/core-http-browser/src/types.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "core", + "id": "def-public.IHttpFetchError.name", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "path": "packages/core/http/core-http-browser/src/types.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "core", + "id": "def-public.IHttpFetchError.request", + "type": "Object", + "tags": [], + "label": "request", + "description": [], + "signature": [ + "Request" + ], + "path": "packages/core/http/core-http-browser/src/types.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "core", + "id": "def-public.IHttpFetchError.response", + "type": "Object", + "tags": [], + "label": "response", + "description": [], + "signature": [ + "Response | undefined" + ], + "path": "packages/core/http/core-http-browser/src/types.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "core", + "id": "def-public.IHttpFetchError.req", + "type": "Object", + "tags": [ + "deprecated" + ], + "label": "req", + "description": [], + "signature": [ + "Request" + ], + "path": "packages/core/http/core-http-browser/src/types.ts", + "deprecated": true, + "removeBy": "8.8.0\n\nNote to maintainers: when looking at usages, mind that typical use could be inside a `catch` block,\nso TS and code-reference navigation might not highlight them.", + "trackAdoption": false, + "references": [ { "plugin": "ml", "path": "x-pack/plugins/ml/common/util/errors/errors.test.ts" @@ -7712,7 +9166,7 @@ "signature": [ "Response | undefined" ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": true, "removeBy": "8.8.0\n\nNote to maintainers: when looking at usages, mind that typical use could be inside a `catch` block,\nso TS and code-reference navigation might not highlight them.", "trackAdoption": false, @@ -7737,7 +9191,7 @@ "signature": [ "TResponseBody | undefined" ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -7753,10 +9207,7 @@ "description": [ "\nUsed to halt a request Promise chain in a {@link HttpInterceptor}." ], - "signature": [ - "IHttpInterceptController" - ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7769,7 +9220,7 @@ "description": [ "Whether or not this chain has been halted." ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -7785,7 +9236,7 @@ "signature": [ "() => void" ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -7804,10 +9255,16 @@ "\nProperties that can be returned by HttpInterceptor.request to override the response." ], "signature": [ - "IHttpResponseInterceptorOverrides", + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.IHttpResponseInterceptorOverrides", + "text": "IHttpResponseInterceptorOverrides" + }, "" ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7823,7 +9280,7 @@ "signature": [ "Readonly | undefined" ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -7839,7 +9296,7 @@ "signature": [ "TResponseBody | undefined" ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -7855,10 +9312,7 @@ "description": [ "\nBasic structure of a Shipper" ], - "signature": [ - "IShipper" - ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/shippers/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7873,10 +9327,16 @@ ], "signature": [ "(events: ", - "Event", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.Event", + "text": "Event" + }, ">[]) => void" ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/shippers/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7890,10 +9350,16 @@ "batched events {@link Event }" ], "signature": [ - "Event", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.Event", + "text": "Event" + }, ">[]" ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/shippers/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -7913,7 +9379,7 @@ "signature": [ "(isOptedIn: boolean) => void" ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/shippers/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7929,7 +9395,7 @@ "signature": [ "boolean" ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/shippers/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -7948,10 +9414,16 @@ ], "signature": [ "((newContext: ", - "EventContext", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.EventContext", + "text": "EventContext" + }, ") => void) | undefined" ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/shippers/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7965,9 +9437,15 @@ "The full new context to set {@link EventContext }" ], "signature": [ - "EventContext" + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.EventContext", + "text": "EventContext" + } ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/shippers/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -7987,10 +9465,16 @@ "signature": [ "Observable", "<", - "TelemetryCounter", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.TelemetryCounter", + "text": "TelemetryCounter" + }, "> | undefined" ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/shippers/types.ts", "deprecated": false, "trackAdoption": false }, @@ -8006,7 +9490,7 @@ "signature": [ "() => void" ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/shippers/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -8024,10 +9508,7 @@ "description": [ "\nMethods for adding and removing global toast messages. See {@link ToastsApi}." ], - "signature": [ - "IToasts" - ], - "path": "node_modules/@types/kbn__core-notifications-browser/index.d.ts", + "path": "packages/core/notifications/core-notifications-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8042,10 +9523,16 @@ "() => ", "Observable", "<", - "Toast", + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.Toast", + "text": "Toast" + }, "[]>" ], - "path": "node_modules/@types/kbn__core-notifications-browser/index.d.ts", + "path": "packages/core/notifications/core-notifications-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -8060,11 +9547,23 @@ "description": [], "signature": [ "(toastOrTitle: ", - "ToastInput", + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.ToastInput", + "text": "ToastInput" + }, ") => ", - "Toast" + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.Toast", + "text": "Toast" + } ], - "path": "node_modules/@types/kbn__core-notifications-browser/index.d.ts", + "path": "packages/core/notifications/core-notifications-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8076,9 +9575,15 @@ "label": "toastOrTitle", "description": [], "signature": [ - "ToastInput" + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.ToastInput", + "text": "ToastInput" + } ], - "path": "node_modules/@types/kbn__core-notifications-browser/index.d.ts", + "path": "packages/core/notifications/core-notifications-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -8095,10 +9600,16 @@ "description": [], "signature": [ "(toastOrId: string | ", - "Toast", + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.Toast", + "text": "Toast" + }, ") => void" ], - "path": "node_modules/@types/kbn__core-notifications-browser/index.d.ts", + "path": "packages/core/notifications/core-notifications-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8111,9 +9622,15 @@ "description": [], "signature": [ "string | ", - "Toast" + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.Toast", + "text": "Toast" + } ], - "path": "node_modules/@types/kbn__core-notifications-browser/index.d.ts", + "path": "packages/core/notifications/core-notifications-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -8130,11 +9647,23 @@ "description": [], "signature": [ "(toastOrTitle: ", - "ToastInput", + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.ToastInput", + "text": "ToastInput" + }, ", options?: any) => ", - "Toast" + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.Toast", + "text": "Toast" + } ], - "path": "node_modules/@types/kbn__core-notifications-browser/index.d.ts", + "path": "packages/core/notifications/core-notifications-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8146,9 +9675,15 @@ "label": "toastOrTitle", "description": [], "signature": [ - "ToastInput" + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.ToastInput", + "text": "ToastInput" + } ], - "path": "node_modules/@types/kbn__core-notifications-browser/index.d.ts", + "path": "packages/core/notifications/core-notifications-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -8163,7 +9698,7 @@ "signature": [ "any" ], - "path": "node_modules/@types/kbn__core-notifications-browser/index.d.ts", + "path": "packages/core/notifications/core-notifications-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -8180,11 +9715,23 @@ "description": [], "signature": [ "(toastOrTitle: ", - "ToastInput", + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.ToastInput", + "text": "ToastInput" + }, ", options?: any) => ", - "Toast" + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.Toast", + "text": "Toast" + } ], - "path": "node_modules/@types/kbn__core-notifications-browser/index.d.ts", + "path": "packages/core/notifications/core-notifications-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8196,9 +9743,15 @@ "label": "toastOrTitle", "description": [], "signature": [ - "ToastInput" + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.ToastInput", + "text": "ToastInput" + } ], - "path": "node_modules/@types/kbn__core-notifications-browser/index.d.ts", + "path": "packages/core/notifications/core-notifications-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -8213,7 +9766,7 @@ "signature": [ "any" ], - "path": "node_modules/@types/kbn__core-notifications-browser/index.d.ts", + "path": "packages/core/notifications/core-notifications-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -8230,11 +9783,23 @@ "description": [], "signature": [ "(toastOrTitle: ", - "ToastInput", + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.ToastInput", + "text": "ToastInput" + }, ", options?: any) => ", - "Toast" + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.Toast", + "text": "Toast" + } ], - "path": "node_modules/@types/kbn__core-notifications-browser/index.d.ts", + "path": "packages/core/notifications/core-notifications-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8246,9 +9811,15 @@ "label": "toastOrTitle", "description": [], "signature": [ - "ToastInput" + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.ToastInput", + "text": "ToastInput" + } ], - "path": "node_modules/@types/kbn__core-notifications-browser/index.d.ts", + "path": "packages/core/notifications/core-notifications-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -8263,7 +9834,7 @@ "signature": [ "any" ], - "path": "node_modules/@types/kbn__core-notifications-browser/index.d.ts", + "path": "packages/core/notifications/core-notifications-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -8280,11 +9851,23 @@ "description": [], "signature": [ "(toastOrTitle: ", - "ToastInput", + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.ToastInput", + "text": "ToastInput" + }, ", options?: any) => ", - "Toast" + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.Toast", + "text": "Toast" + } ], - "path": "node_modules/@types/kbn__core-notifications-browser/index.d.ts", + "path": "packages/core/notifications/core-notifications-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8296,9 +9879,15 @@ "label": "toastOrTitle", "description": [], "signature": [ - "ToastInput" + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.ToastInput", + "text": "ToastInput" + } ], - "path": "node_modules/@types/kbn__core-notifications-browser/index.d.ts", + "path": "packages/core/notifications/core-notifications-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -8313,7 +9902,7 @@ "signature": [ "any" ], - "path": "node_modules/@types/kbn__core-notifications-browser/index.d.ts", + "path": "packages/core/notifications/core-notifications-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -8330,11 +9919,23 @@ "description": [], "signature": [ "(error: Error, options: ", - "ErrorToastOptions", + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.ErrorToastOptions", + "text": "ErrorToastOptions" + }, ") => ", - "Toast" + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.Toast", + "text": "Toast" + } ], - "path": "node_modules/@types/kbn__core-notifications-browser/index.d.ts", + "path": "packages/core/notifications/core-notifications-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8348,7 +9949,7 @@ "signature": [ "Error" ], - "path": "node_modules/@types/kbn__core-notifications-browser/index.d.ts", + "path": "packages/core/notifications/core-notifications-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -8361,9 +9962,15 @@ "label": "options", "description": [], "signature": [ - "ErrorToastOptions" + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.ErrorToastOptions", + "text": "ErrorToastOptions" + } ], - "path": "node_modules/@types/kbn__core-notifications-browser/index.d.ts", + "path": "packages/core/notifications/core-notifications-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -8383,10 +9990,7 @@ "description": [ "\nClient-side client that provides access to the advanced settings stored in elasticsearch.\nThe settings provide control over the behavior of the Kibana application.\nFor example, a user can specify how to display numeric or date fields.\nUsers can adjust the settings via Management UI.\n{@link IUiSettingsClient}\n" ], - "signature": [ - "IUiSettingsClient" - ], - "path": "node_modules/@types/kbn__core-ui-settings-browser/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8402,7 +10006,7 @@ "signature": [ "(key: string, defaultOverride?: T | undefined) => T" ], - "path": "node_modules/@types/kbn__core-ui-settings-browser/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8416,7 +10020,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-ui-settings-browser/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -8431,7 +10035,7 @@ "signature": [ "T | undefined" ], - "path": "node_modules/@types/kbn__core-ui-settings-browser/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -8453,7 +10057,7 @@ "Observable", "" ], - "path": "node_modules/@types/kbn__core-ui-settings-browser/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8467,7 +10071,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-ui-settings-browser/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -8482,7 +10086,7 @@ "signature": [ "T | undefined" ], - "path": "node_modules/@types/kbn__core-ui-settings-browser/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -8501,12 +10105,24 @@ ], "signature": [ "() => Readonly>>" ], - "path": "node_modules/@types/kbn__core-ui-settings-browser/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -8524,7 +10140,7 @@ "signature": [ "(key: string, value: any) => Promise" ], - "path": "node_modules/@types/kbn__core-ui-settings-browser/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8538,7 +10154,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-ui-settings-browser/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -8553,7 +10169,7 @@ "signature": [ "any" ], - "path": "node_modules/@types/kbn__core-ui-settings-browser/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -8573,7 +10189,7 @@ "signature": [ "(key: string) => Promise" ], - "path": "node_modules/@types/kbn__core-ui-settings-browser/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8587,7 +10203,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-ui-settings-browser/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -8607,7 +10223,7 @@ "signature": [ "(key: string) => boolean" ], - "path": "node_modules/@types/kbn__core-ui-settings-browser/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8621,7 +10237,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-ui-settings-browser/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -8641,7 +10257,7 @@ "signature": [ "(key: string) => boolean" ], - "path": "node_modules/@types/kbn__core-ui-settings-browser/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8655,7 +10271,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-ui-settings-browser/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -8675,7 +10291,7 @@ "signature": [ "(key: string) => boolean" ], - "path": "node_modules/@types/kbn__core-ui-settings-browser/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8689,7 +10305,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-ui-settings-browser/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -8709,7 +10325,7 @@ "signature": [ "(key: string) => boolean" ], - "path": "node_modules/@types/kbn__core-ui-settings-browser/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8723,7 +10339,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-ui-settings-browser/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -8745,7 +10361,7 @@ "Observable", "<{ key: string; newValue: T; oldValue: T; }>" ], - "path": "node_modules/@types/kbn__core-ui-settings-browser/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -8765,7 +10381,7 @@ "Observable", "" ], - "path": "node_modules/@types/kbn__core-ui-settings-browser/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -8783,10 +10399,7 @@ "description": [ "\nOptions for the {@link ApplicationStart.navigateToApp | navigateToApp API}" ], - "signature": [ - "NavigateToAppOptions" - ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8802,7 +10415,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false }, @@ -8818,7 +10431,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false }, @@ -8834,7 +10447,7 @@ "signature": [ "unknown" ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false }, @@ -8850,7 +10463,7 @@ "signature": [ "boolean | undefined" ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false }, @@ -8866,7 +10479,7 @@ "signature": [ "boolean | undefined" ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false }, @@ -8882,7 +10495,7 @@ "signature": [ "boolean | undefined" ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false } @@ -8898,10 +10511,7 @@ "description": [ "\nOptions for the {@link ApplicationStart.navigateToUrl | navigateToUrl API}" ], - "signature": [ - "NavigateToUrlOptions" - ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8917,7 +10527,7 @@ "signature": [ "boolean | undefined" ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false }, @@ -8933,7 +10543,7 @@ "signature": [ "boolean | undefined" ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false }, @@ -8949,7 +10559,7 @@ "signature": [ "unknown" ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false } @@ -8963,10 +10573,7 @@ "tags": [], "label": "NotificationsSetup", "description": [], - "signature": [ - "NotificationsSetup" - ], - "path": "node_modules/@types/kbn__core-notifications-browser/index.d.ts", + "path": "packages/core/notifications/core-notifications-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8980,9 +10587,15 @@ "{@link ToastsSetup}" ], "signature": [ - "IToasts" + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.IToasts", + "text": "IToasts" + } ], - "path": "node_modules/@types/kbn__core-notifications-browser/index.d.ts", + "path": "packages/core/notifications/core-notifications-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false } @@ -8996,10 +10609,7 @@ "tags": [], "label": "NotificationsStart", "description": [], - "signature": [ - "NotificationsStart" - ], - "path": "node_modules/@types/kbn__core-notifications-browser/index.d.ts", + "path": "packages/core/notifications/core-notifications-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9013,9 +10623,15 @@ "{@link ToastsStart}" ], "signature": [ - "IToasts" + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.IToasts", + "text": "IToasts" + } ], - "path": "node_modules/@types/kbn__core-notifications-browser/index.d.ts", + "path": "packages/core/notifications/core-notifications-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false } @@ -9031,10 +10647,7 @@ "description": [ "\n" ], - "signature": [ - "OptInConfig" - ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/analytics_client/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9048,9 +10661,15 @@ "\nControls the global enabled/disabled behaviour of the client and shippers." ], "signature": [ - "OptInConfigPerType" + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.OptInConfigPerType", + "text": "OptInConfigPerType" + } ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/analytics_client/types.ts", "deprecated": false, "trackAdoption": false }, @@ -9065,10 +10684,16 @@ ], "signature": [ "Record | undefined" ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/analytics_client/types.ts", "deprecated": false, "trackAdoption": false } @@ -9082,10 +10707,7 @@ "tags": [], "label": "OverlayBannersStart", "description": [], - "signature": [ - "OverlayBannersStart" - ], - "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", + "path": "packages/core/overlays/core-overlays-browser/src/banners.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9100,10 +10722,16 @@ ], "signature": [ "(mount: ", - "MountPoint", + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.MountPoint", + "text": "MountPoint" + }, ", priority?: number | undefined) => string" ], - "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", + "path": "packages/core/overlays/core-overlays-browser/src/banners.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9117,10 +10745,16 @@ "{@link MountPoint }" ], "signature": [ - "MountPoint", + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.MountPoint", + "text": "MountPoint" + }, "" ], - "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", + "path": "packages/core/overlays/core-overlays-browser/src/banners.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -9137,7 +10771,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", + "path": "packages/core/overlays/core-overlays-browser/src/banners.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -9159,7 +10793,7 @@ "signature": [ "(id: string) => boolean" ], - "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", + "path": "packages/core/overlays/core-overlays-browser/src/banners.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9175,7 +10809,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", + "path": "packages/core/overlays/core-overlays-browser/src/banners.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -9196,10 +10830,16 @@ ], "signature": [ "(id: string | undefined, mount: ", - "MountPoint", + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.MountPoint", + "text": "MountPoint" + }, ", priority?: number | undefined) => string" ], - "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", + "path": "packages/core/overlays/core-overlays-browser/src/banners.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9215,7 +10855,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", + "path": "packages/core/overlays/core-overlays-browser/src/banners.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -9230,10 +10870,16 @@ "{@link MountPoint }" ], "signature": [ - "MountPoint", + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.MountPoint", + "text": "MountPoint" + }, "" ], - "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", + "path": "packages/core/overlays/core-overlays-browser/src/banners.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -9250,7 +10896,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", + "path": "packages/core/overlays/core-overlays-browser/src/banners.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -9270,7 +10916,7 @@ "signature": [ "() => JSX.Element" ], - "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", + "path": "packages/core/overlays/core-overlays-browser/src/banners.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -9286,10 +10932,7 @@ "tags": [], "label": "OverlayFlyoutOpenOptions", "description": [], - "signature": [ - "OverlayFlyoutOpenOptions" - ], - "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", + "path": "packages/core/overlays/core-overlays-browser/src/flyout.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9303,7 +10946,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", + "path": "packages/core/overlays/core-overlays-browser/src/flyout.ts", "deprecated": false, "trackAdoption": false }, @@ -9317,7 +10960,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", + "path": "packages/core/overlays/core-overlays-browser/src/flyout.ts", "deprecated": false, "trackAdoption": false }, @@ -9331,7 +10974,7 @@ "signature": [ "boolean | undefined" ], - "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", + "path": "packages/core/overlays/core-overlays-browser/src/flyout.ts", "deprecated": false, "trackAdoption": false }, @@ -9345,7 +10988,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", + "path": "packages/core/overlays/core-overlays-browser/src/flyout.ts", "deprecated": false, "trackAdoption": false }, @@ -9359,7 +11002,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", + "path": "packages/core/overlays/core-overlays-browser/src/flyout.ts", "deprecated": false, "trackAdoption": false }, @@ -9373,7 +11016,7 @@ "signature": [ "\"m\" | \"s\" | \"l\" | undefined" ], - "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", + "path": "packages/core/overlays/core-overlays-browser/src/flyout.ts", "deprecated": false, "trackAdoption": false }, @@ -9387,7 +11030,7 @@ "signature": [ "string | number | boolean | undefined" ], - "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", + "path": "packages/core/overlays/core-overlays-browser/src/flyout.ts", "deprecated": false, "trackAdoption": false }, @@ -9401,7 +11044,7 @@ "signature": [ "boolean | undefined" ], - "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", + "path": "packages/core/overlays/core-overlays-browser/src/flyout.ts", "deprecated": false, "trackAdoption": false }, @@ -9415,7 +11058,7 @@ "signature": [ "boolean | undefined" ], - "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", + "path": "packages/core/overlays/core-overlays-browser/src/flyout.ts", "deprecated": false, "trackAdoption": false }, @@ -9430,7 +11073,7 @@ "EuiOverlayMaskProps", " | undefined" ], - "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", + "path": "packages/core/overlays/core-overlays-browser/src/flyout.ts", "deprecated": false, "trackAdoption": false }, @@ -9445,10 +11088,16 @@ ], "signature": [ "((flyout: ", - "OverlayRef", + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.OverlayRef", + "text": "OverlayRef" + }, ") => void) | undefined" ], - "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", + "path": "packages/core/overlays/core-overlays-browser/src/flyout.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9460,9 +11109,15 @@ "label": "flyout", "description": [], "signature": [ - "OverlayRef" + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.OverlayRef", + "text": "OverlayRef" + } ], - "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", + "path": "packages/core/overlays/core-overlays-browser/src/flyout.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -9482,10 +11137,7 @@ "description": [ "\nAPIs to open and manage fly-out dialogs.\n" ], - "signature": [ - "OverlayFlyoutStart" - ], - "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", + "path": "packages/core/overlays/core-overlays-browser/src/flyout.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9502,13 +11154,31 @@ ], "signature": [ "(mount: ", - "MountPoint", + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.MountPoint", + "text": "MountPoint" + }, ", options?: ", - "OverlayFlyoutOpenOptions", + { + "pluginId": "@kbn/core-overlays-browser", + "scope": "common", + "docId": "kibKbnCoreOverlaysBrowserPluginApi", + "section": "def-common.OverlayFlyoutOpenOptions", + "text": "OverlayFlyoutOpenOptions" + }, " | undefined) => ", - "OverlayRef" + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.OverlayRef", + "text": "OverlayRef" + } ], - "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", + "path": "packages/core/overlays/core-overlays-browser/src/flyout.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9522,10 +11192,16 @@ "{@link MountPoint } - Mounts the children inside a flyout panel" ], "signature": [ - "MountPoint", + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.MountPoint", + "text": "MountPoint" + }, "" ], - "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", + "path": "packages/core/overlays/core-overlays-browser/src/flyout.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -9540,10 +11216,16 @@ "{@link OverlayFlyoutOpenOptions } - options for the flyout" ], "signature": [ - "OverlayFlyoutOpenOptions", + { + "pluginId": "@kbn/core-overlays-browser", + "scope": "common", + "docId": "kibKbnCoreOverlaysBrowserPluginApi", + "section": "def-common.OverlayFlyoutOpenOptions", + "text": "OverlayFlyoutOpenOptions" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", + "path": "packages/core/overlays/core-overlays-browser/src/flyout.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -9561,10 +11243,7 @@ "tags": [], "label": "OverlayModalConfirmOptions", "description": [], - "signature": [ - "OverlayModalConfirmOptions" - ], - "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", + "path": "packages/core/overlays/core-overlays-browser/src/modal.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9578,7 +11257,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", + "path": "packages/core/overlays/core-overlays-browser/src/modal.ts", "deprecated": false, "trackAdoption": false }, @@ -9592,7 +11271,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", + "path": "packages/core/overlays/core-overlays-browser/src/modal.ts", "deprecated": false, "trackAdoption": false }, @@ -9606,7 +11285,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", + "path": "packages/core/overlays/core-overlays-browser/src/modal.ts", "deprecated": false, "trackAdoption": false }, @@ -9620,7 +11299,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", + "path": "packages/core/overlays/core-overlays-browser/src/modal.ts", "deprecated": false, "trackAdoption": false }, @@ -9634,7 +11313,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", + "path": "packages/core/overlays/core-overlays-browser/src/modal.ts", "deprecated": false, "trackAdoption": false }, @@ -9648,7 +11327,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", + "path": "packages/core/overlays/core-overlays-browser/src/modal.ts", "deprecated": false, "trackAdoption": false }, @@ -9662,7 +11341,7 @@ "signature": [ "\"cancel\" | \"confirm\" | undefined" ], - "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", + "path": "packages/core/overlays/core-overlays-browser/src/modal.ts", "deprecated": false, "trackAdoption": false }, @@ -9677,7 +11356,7 @@ "ButtonColor", " | undefined" ], - "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", + "path": "packages/core/overlays/core-overlays-browser/src/modal.ts", "deprecated": false, "trackAdoption": false }, @@ -9693,7 +11372,7 @@ "signature": [ "string | number | boolean | undefined" ], - "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", + "path": "packages/core/overlays/core-overlays-browser/src/modal.ts", "deprecated": false, "trackAdoption": false } @@ -9707,10 +11386,7 @@ "tags": [], "label": "OverlayModalOpenOptions", "description": [], - "signature": [ - "OverlayModalOpenOptions" - ], - "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", + "path": "packages/core/overlays/core-overlays-browser/src/modal.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9724,7 +11400,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", + "path": "packages/core/overlays/core-overlays-browser/src/modal.ts", "deprecated": false, "trackAdoption": false }, @@ -9738,7 +11414,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", + "path": "packages/core/overlays/core-overlays-browser/src/modal.ts", "deprecated": false, "trackAdoption": false }, @@ -9752,7 +11428,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", + "path": "packages/core/overlays/core-overlays-browser/src/modal.ts", "deprecated": false, "trackAdoption": false }, @@ -9766,7 +11442,7 @@ "signature": [ "string | number | boolean | undefined" ], - "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", + "path": "packages/core/overlays/core-overlays-browser/src/modal.ts", "deprecated": false, "trackAdoption": false } @@ -9782,10 +11458,7 @@ "description": [ "\nAPIs to open and manage modal dialogs.\n" ], - "signature": [ - "OverlayModalStart" - ], - "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", + "path": "packages/core/overlays/core-overlays-browser/src/modal.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9802,13 +11475,31 @@ ], "signature": [ "(mount: ", - "MountPoint", + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.MountPoint", + "text": "MountPoint" + }, ", options?: ", - "OverlayModalOpenOptions", + { + "pluginId": "@kbn/core-overlays-browser", + "scope": "common", + "docId": "kibKbnCoreOverlaysBrowserPluginApi", + "section": "def-common.OverlayModalOpenOptions", + "text": "OverlayModalOpenOptions" + }, " | undefined) => ", - "OverlayRef" + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.OverlayRef", + "text": "OverlayRef" + } ], - "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", + "path": "packages/core/overlays/core-overlays-browser/src/modal.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9822,10 +11513,16 @@ "{@link MountPoint } - Mounts the children inside the modal" ], "signature": [ - "MountPoint", + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.MountPoint", + "text": "MountPoint" + }, "" ], - "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", + "path": "packages/core/overlays/core-overlays-browser/src/modal.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -9840,10 +11537,16 @@ "{@link OverlayModalOpenOptions } - options for the modal" ], "signature": [ - "OverlayModalOpenOptions", + { + "pluginId": "@kbn/core-overlays-browser", + "scope": "common", + "docId": "kibKbnCoreOverlaysBrowserPluginApi", + "section": "def-common.OverlayModalOpenOptions", + "text": "OverlayModalOpenOptions" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", + "path": "packages/core/overlays/core-overlays-browser/src/modal.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -9862,12 +11565,24 @@ ], "signature": [ "(message: string | ", - "MountPoint", + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.MountPoint", + "text": "MountPoint" + }, ", options?: ", - "OverlayModalConfirmOptions", + { + "pluginId": "@kbn/core-overlays-browser", + "scope": "common", + "docId": "kibKbnCoreOverlaysBrowserPluginApi", + "section": "def-common.OverlayModalConfirmOptions", + "text": "OverlayModalConfirmOptions" + }, " | undefined) => Promise" ], - "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", + "path": "packages/core/overlays/core-overlays-browser/src/modal.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9882,10 +11597,16 @@ ], "signature": [ "string | ", - "MountPoint", + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.MountPoint", + "text": "MountPoint" + }, "" ], - "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", + "path": "packages/core/overlays/core-overlays-browser/src/modal.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -9900,10 +11621,16 @@ "{@link OverlayModalConfirmOptions } - options for the confirm modal" ], "signature": [ - "OverlayModalConfirmOptions", + { + "pluginId": "@kbn/core-overlays-browser", + "scope": "common", + "docId": "kibKbnCoreOverlaysBrowserPluginApi", + "section": "def-common.OverlayModalConfirmOptions", + "text": "OverlayModalConfirmOptions" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", + "path": "packages/core/overlays/core-overlays-browser/src/modal.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -9923,10 +11650,7 @@ "description": [ "\nReturned by {@link OverlayStart} methods for closing a mounted overlay." ], - "signature": [ - "OverlayRef" - ], - "path": "node_modules/@types/kbn__core-mount-utils-browser/index.d.ts", + "path": "packages/core/mount-utils/core-mount-utils-browser/src/overlay_ref.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9942,7 +11666,7 @@ "signature": [ "Promise" ], - "path": "node_modules/@types/kbn__core-mount-utils-browser/index.d.ts", + "path": "packages/core/mount-utils/core-mount-utils-browser/src/overlay_ref.ts", "deprecated": false, "trackAdoption": false }, @@ -9958,7 +11682,7 @@ "signature": [ "() => Promise" ], - "path": "node_modules/@types/kbn__core-mount-utils-browser/index.d.ts", + "path": "packages/core/mount-utils/core-mount-utils-browser/src/overlay_ref.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -9974,10 +11698,7 @@ "tags": [], "label": "OverlayStart", "description": [], - "signature": [ - "OverlayStart" - ], - "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", + "path": "packages/core/overlays/core-overlays-browser/src/overlays.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9991,9 +11712,15 @@ "{@link OverlayBannersStart}" ], "signature": [ - "OverlayBannersStart" + { + "pluginId": "@kbn/core-overlays-browser", + "scope": "common", + "docId": "kibKbnCoreOverlaysBrowserPluginApi", + "section": "def-common.OverlayBannersStart", + "text": "OverlayBannersStart" + } ], - "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", + "path": "packages/core/overlays/core-overlays-browser/src/overlays.ts", "deprecated": false, "trackAdoption": false }, @@ -10008,13 +11735,31 @@ ], "signature": [ "(mount: ", - "MountPoint", + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.MountPoint", + "text": "MountPoint" + }, ", options?: ", - "OverlayFlyoutOpenOptions", + { + "pluginId": "@kbn/core-overlays-browser", + "scope": "common", + "docId": "kibKbnCoreOverlaysBrowserPluginApi", + "section": "def-common.OverlayFlyoutOpenOptions", + "text": "OverlayFlyoutOpenOptions" + }, " | undefined) => ", - "OverlayRef" + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.OverlayRef", + "text": "OverlayRef" + } ], - "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", + "path": "packages/core/overlays/core-overlays-browser/src/overlays.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -10028,9 +11773,15 @@ "description": [], "signature": [ "(element: HTMLElement) => ", - "UnmountCallback" + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.UnmountCallback", + "text": "UnmountCallback" + } ], - "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", + "path": "packages/core/overlays/core-overlays-browser/src/flyout.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -10045,7 +11796,7 @@ "signature": [ "T" ], - "path": "node_modules/@types/kbn__core-mount-utils-browser/index.d.ts", + "path": "packages/core/mount-utils/core-mount-utils-browser/src/mount_point.ts", "deprecated": false, "trackAdoption": false } @@ -10059,10 +11810,16 @@ "label": "options", "description": [], "signature": [ - "OverlayFlyoutOpenOptions", + { + "pluginId": "@kbn/core-overlays-browser", + "scope": "common", + "docId": "kibKbnCoreOverlaysBrowserPluginApi", + "section": "def-common.OverlayFlyoutOpenOptions", + "text": "OverlayFlyoutOpenOptions" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", + "path": "packages/core/overlays/core-overlays-browser/src/flyout.ts", "deprecated": false, "trackAdoption": false } @@ -10079,13 +11836,31 @@ ], "signature": [ "(mount: ", - "MountPoint", + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.MountPoint", + "text": "MountPoint" + }, ", options?: ", - "OverlayModalOpenOptions", + { + "pluginId": "@kbn/core-overlays-browser", + "scope": "common", + "docId": "kibKbnCoreOverlaysBrowserPluginApi", + "section": "def-common.OverlayModalOpenOptions", + "text": "OverlayModalOpenOptions" + }, " | undefined) => ", - "OverlayRef" + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.OverlayRef", + "text": "OverlayRef" + } ], - "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", + "path": "packages/core/overlays/core-overlays-browser/src/overlays.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -10099,9 +11874,15 @@ "description": [], "signature": [ "(element: HTMLElement) => ", - "UnmountCallback" + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.UnmountCallback", + "text": "UnmountCallback" + } ], - "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", + "path": "packages/core/overlays/core-overlays-browser/src/modal.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -10116,7 +11897,7 @@ "signature": [ "T" ], - "path": "node_modules/@types/kbn__core-mount-utils-browser/index.d.ts", + "path": "packages/core/mount-utils/core-mount-utils-browser/src/mount_point.ts", "deprecated": false, "trackAdoption": false } @@ -10130,10 +11911,16 @@ "label": "options", "description": [], "signature": [ - "OverlayModalOpenOptions", + { + "pluginId": "@kbn/core-overlays-browser", + "scope": "common", + "docId": "kibKbnCoreOverlaysBrowserPluginApi", + "section": "def-common.OverlayModalOpenOptions", + "text": "OverlayModalOpenOptions" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", + "path": "packages/core/overlays/core-overlays-browser/src/modal.ts", "deprecated": false, "trackAdoption": false } @@ -10150,12 +11937,24 @@ ], "signature": [ "(message: string | ", - "MountPoint", + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.MountPoint", + "text": "MountPoint" + }, ", options?: ", - "OverlayModalConfirmOptions", + { + "pluginId": "@kbn/core-overlays-browser", + "scope": "common", + "docId": "kibKbnCoreOverlaysBrowserPluginApi", + "section": "def-common.OverlayModalConfirmOptions", + "text": "OverlayModalConfirmOptions" + }, " | undefined) => Promise" ], - "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", + "path": "packages/core/overlays/core-overlays-browser/src/overlays.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -10169,10 +11968,16 @@ "description": [], "signature": [ "string | ", - "MountPoint", + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.MountPoint", + "text": "MountPoint" + }, "" ], - "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", + "path": "packages/core/overlays/core-overlays-browser/src/modal.ts", "deprecated": false, "trackAdoption": false }, @@ -10184,10 +11989,16 @@ "label": "options", "description": [], "signature": [ - "OverlayModalConfirmOptions", + { + "pluginId": "@kbn/core-overlays-browser", + "scope": "common", + "docId": "kibKbnCoreOverlaysBrowserPluginApi", + "section": "def-common.OverlayModalConfirmOptions", + "text": "OverlayModalConfirmOptions" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", + "path": "packages/core/overlays/core-overlays-browser/src/modal.ts", "deprecated": false, "trackAdoption": false } @@ -10203,10 +12014,7 @@ "tags": [], "label": "PackageInfo", "description": [], - "signature": [ - "PackageInfo" - ], - "path": "node_modules/@types/kbn__config/index.d.ts", + "path": "packages/kbn-config/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -10217,7 +12025,7 @@ "tags": [], "label": "version", "description": [], - "path": "node_modules/@types/kbn__config/index.d.ts", + "path": "packages/kbn-config/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -10228,7 +12036,7 @@ "tags": [], "label": "branch", "description": [], - "path": "node_modules/@types/kbn__config/index.d.ts", + "path": "packages/kbn-config/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -10239,7 +12047,7 @@ "tags": [], "label": "buildNum", "description": [], - "path": "node_modules/@types/kbn__config/index.d.ts", + "path": "packages/kbn-config/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -10250,7 +12058,7 @@ "tags": [], "label": "buildSha", "description": [], - "path": "node_modules/@types/kbn__config/index.d.ts", + "path": "packages/kbn-config/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -10261,7 +12069,7 @@ "tags": [], "label": "dist", "description": [], - "path": "node_modules/@types/kbn__config/index.d.ts", + "path": "packages/kbn-config/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -10278,10 +12086,16 @@ "\nThe interface that should be returned by a `PluginInitializer`.\n" ], "signature": [ - "Plugin", + { + "pluginId": "@kbn/core-plugins-browser", + "scope": "common", + "docId": "kibKbnCorePluginsBrowserPluginApi", + "section": "def-common.Plugin", + "text": "Plugin" + }, "" ], - "path": "node_modules/@types/kbn__core-plugins-browser/index.d.ts", + "path": "packages/core/plugins/core-plugins-browser/src/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -10294,10 +12108,16 @@ "description": [], "signature": [ "(core: ", - "CoreSetup", + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreSetup", + "text": "CoreSetup" + }, ", plugins: TPluginsSetup) => TSetup" ], - "path": "node_modules/@types/kbn__core-plugins-browser/index.d.ts", + "path": "packages/core/plugins/core-plugins-browser/src/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -10309,10 +12129,16 @@ "label": "core", "description": [], "signature": [ - "CoreSetup", + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreSetup", + "text": "CoreSetup" + }, "" ], - "path": "node_modules/@types/kbn__core-plugins-browser/index.d.ts", + "path": "packages/core/plugins/core-plugins-browser/src/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -10327,7 +12153,7 @@ "signature": [ "TPluginsSetup" ], - "path": "node_modules/@types/kbn__core-plugins-browser/index.d.ts", + "path": "packages/core/plugins/core-plugins-browser/src/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -10344,10 +12170,16 @@ "description": [], "signature": [ "(core: ", - "CoreStart", + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreStart", + "text": "CoreStart" + }, ", plugins: TPluginsStart) => TStart" ], - "path": "node_modules/@types/kbn__core-plugins-browser/index.d.ts", + "path": "packages/core/plugins/core-plugins-browser/src/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -10359,9 +12191,15 @@ "label": "core", "description": [], "signature": [ - "CoreStart" + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreStart", + "text": "CoreStart" + } ], - "path": "node_modules/@types/kbn__core-plugins-browser/index.d.ts", + "path": "packages/core/plugins/core-plugins-browser/src/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -10376,7 +12214,7 @@ "signature": [ "TPluginsStart" ], - "path": "node_modules/@types/kbn__core-plugins-browser/index.d.ts", + "path": "packages/core/plugins/core-plugins-browser/src/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -10394,7 +12232,7 @@ "signature": [ "(() => void) | undefined" ], - "path": "node_modules/@types/kbn__core-plugins-browser/index.d.ts", + "path": "packages/core/plugins/core-plugins-browser/src/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -10413,10 +12251,16 @@ "\nThe available core services passed to a `PluginInitializer`\n" ], "signature": [ - "PluginInitializerContext", + { + "pluginId": "@kbn/core-plugins-browser", + "scope": "common", + "docId": "kibKbnCorePluginsBrowserPluginApi", + "section": "def-common.PluginInitializerContext", + "text": "PluginInitializerContext" + }, "" ], - "path": "node_modules/@types/kbn__core-plugins-browser/index.d.ts", + "path": "packages/core/plugins/core-plugins-browser/src/plugin_initializer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -10432,7 +12276,7 @@ "signature": [ "symbol" ], - "path": "node_modules/@types/kbn__core-plugins-browser/index.d.ts", + "path": "packages/core/plugins/core-plugins-browser/src/plugin_initializer.ts", "deprecated": false, "trackAdoption": false }, @@ -10445,12 +12289,24 @@ "description": [], "signature": [ "{ mode: Readonly<", - "EnvironmentMode", + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.EnvironmentMode", + "text": "EnvironmentMode" + }, ">; packageInfo: Readonly<", - "PackageInfo", + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.PackageInfo", + "text": "PackageInfo" + }, ">; }" ], - "path": "node_modules/@types/kbn__core-plugins-browser/index.d.ts", + "path": "packages/core/plugins/core-plugins-browser/src/plugin_initializer.ts", "deprecated": false, "trackAdoption": false }, @@ -10464,7 +12320,7 @@ "signature": [ "{ get: () => T; }" ], - "path": "node_modules/@types/kbn__core-plugins-browser/index.d.ts", + "path": "packages/core/plugins/core-plugins-browser/src/plugin_initializer.ts", "deprecated": false, "trackAdoption": false } @@ -10481,10 +12337,16 @@ "\nThis interface is a very simple wrapper for SavedObjects resolved from the server\nwith the {@link SavedObjectsClientContract}.\n" ], "signature": [ - "ResolvedSimpleSavedObject", + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.ResolvedSimpleSavedObject", + "text": "ResolvedSimpleSavedObject" + }, "" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/apis/resolve.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -10498,10 +12360,16 @@ "\nThe saved object that was found." ], "signature": [ - "SimpleSavedObject", + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SimpleSavedObject", + "text": "SimpleSavedObject" + }, "" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/apis/resolve.ts", "deprecated": false, "trackAdoption": false }, @@ -10517,7 +12385,7 @@ "signature": [ "\"conflict\" | \"exactMatch\" | \"aliasMatch\"" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/apis/resolve.ts", "deprecated": false, "trackAdoption": false }, @@ -10533,7 +12401,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/apis/resolve.ts", "deprecated": false, "trackAdoption": false }, @@ -10549,7 +12417,7 @@ "signature": [ "\"savedObjectConversion\" | \"savedObjectImport\" | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/apis/resolve.ts", "deprecated": false, "trackAdoption": false } @@ -10563,10 +12431,7 @@ "tags": [], "label": "ResponseErrorBody", "description": [], - "signature": [ - "ResponseErrorBody" - ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -10577,7 +12442,7 @@ "tags": [], "label": "message", "description": [], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -10588,7 +12453,7 @@ "tags": [], "label": "statusCode", "description": [], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -10602,7 +12467,7 @@ "signature": [ "Record | undefined" ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -10617,10 +12482,16 @@ "label": "SavedObject", "description": [], "signature": [ - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -10633,7 +12504,7 @@ "description": [ "The ID of this Saved Object, guaranteed to be unique for all objects of the same `type`" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false }, @@ -10646,7 +12517,7 @@ "description": [ " The type of Saved Object. Each plugin can define it's own custom Saved Object types." ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false }, @@ -10662,7 +12533,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false }, @@ -10678,7 +12549,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false }, @@ -10694,7 +12565,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false }, @@ -10706,10 +12577,16 @@ "label": "error", "description": [], "signature": [ - "SavedObjectError", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectError", + "text": "SavedObjectError" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false }, @@ -10725,7 +12602,7 @@ "signature": [ "T" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false }, @@ -10739,10 +12616,16 @@ "{@inheritdoc SavedObjectReference}" ], "signature": [ - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false }, @@ -10756,10 +12639,16 @@ "{@inheritdoc SavedObjectsMigrationVersion}" ], "signature": [ - "SavedObjectsMigrationVersion", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectsMigrationVersion", + "text": "SavedObjectsMigrationVersion" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false }, @@ -10775,7 +12664,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false }, @@ -10791,7 +12680,7 @@ "signature": [ "string[] | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false }, @@ -10807,7 +12696,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false } @@ -10825,13 +12714,22 @@ "description": [ "\nThe data for a Saved Object is stored as an object in the `attributes`\nproperty.\n" ], - "signature": [ - "SavedObjectAttributes" - ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": true, "trackAdoption": false, "references": [ + { + "plugin": "@kbn/core-saved-objects-common", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts" + }, + { + "plugin": "@kbn/core-saved-objects-common", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts" + }, + { + "plugin": "@kbn/core-saved-objects-common", + "path": "packages/core/saved-objects/core-saved-objects-common/index.ts" + }, { "plugin": "savedObjects", "path": "src/plugins/saved_objects/public/types.ts" @@ -11447,9 +13345,15 @@ "description": [], "signature": [ "[key: string]: ", - "SavedObjectAttribute" + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectAttribute", + "text": "SavedObjectAttribute" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false } @@ -11463,10 +13367,7 @@ "tags": [], "label": "SavedObjectError", "description": [], - "signature": [ - "SavedObjectError" - ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -11477,7 +13378,7 @@ "tags": [], "label": "error", "description": [], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false }, @@ -11488,7 +13389,7 @@ "tags": [], "label": "message", "description": [], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false }, @@ -11499,7 +13400,7 @@ "tags": [], "label": "statusCode", "description": [], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false }, @@ -11513,7 +13414,7 @@ "signature": [ "Record | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false } @@ -11529,10 +13430,7 @@ "description": [ "\nA reference to another saved object.\n" ], - "signature": [ - "SavedObjectReference" - ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -11543,7 +13441,7 @@ "tags": [], "label": "name", "description": [], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false }, @@ -11554,7 +13452,7 @@ "tags": [], "label": "type", "description": [], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false }, @@ -11565,7 +13463,7 @@ "tags": [], "label": "id", "description": [], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false } @@ -11580,10 +13478,16 @@ "label": "SavedObjectsBatchResponse", "description": [], "signature": [ - "SavedObjectsBatchResponse", + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SavedObjectsBatchResponse", + "text": "SavedObjectsBatchResponse" + }, "" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/apis/base.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -11595,10 +13499,16 @@ "label": "savedObjects", "description": [], "signature": [ - "SimpleSavedObject", + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SimpleSavedObject", + "text": "SimpleSavedObject" + }, "[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/apis/base.ts", "deprecated": false, "trackAdoption": false } @@ -11613,11 +13523,23 @@ "label": "SavedObjectsBulkCreateObject", "description": [], "signature": [ - "SavedObjectsBulkCreateObject", + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SavedObjectsBulkCreateObject", + "text": "SavedObjectsBulkCreateObject" + }, " extends ", - "SavedObjectsCreateOptions" + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SavedObjectsCreateOptions", + "text": "SavedObjectsCreateOptions" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/apis/bulk_create.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -11628,7 +13550,7 @@ "tags": [], "label": "type", "description": [], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/apis/bulk_create.ts", "deprecated": false, "trackAdoption": false }, @@ -11642,7 +13564,7 @@ "signature": [ "T" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/apis/bulk_create.ts", "deprecated": false, "trackAdoption": false } @@ -11656,10 +13578,7 @@ "tags": [], "label": "SavedObjectsBulkCreateOptions", "description": [], - "signature": [ - "SavedObjectsBulkCreateOptions" - ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/apis/bulk_create.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -11675,7 +13594,7 @@ "signature": [ "boolean | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/apis/bulk_create.ts", "deprecated": false, "trackAdoption": false } @@ -11690,10 +13609,16 @@ "label": "SavedObjectsBulkResolveResponse", "description": [], "signature": [ - "SavedObjectsBulkResolveResponse", + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SavedObjectsBulkResolveResponse", + "text": "SavedObjectsBulkResolveResponse" + }, "" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/apis/bulk_resolve.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -11705,10 +13630,16 @@ "label": "resolved_objects", "description": [], "signature": [ - "ResolvedSimpleSavedObject", + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.ResolvedSimpleSavedObject", + "text": "ResolvedSimpleSavedObject" + }, "[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/apis/bulk_resolve.ts", "deprecated": false, "trackAdoption": false } @@ -11723,10 +13654,16 @@ "label": "SavedObjectsBulkUpdateObject", "description": [], "signature": [ - "SavedObjectsBulkUpdateObject", + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SavedObjectsBulkUpdateObject", + "text": "SavedObjectsBulkUpdateObject" + }, "" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/apis/bulk_update.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -11737,7 +13674,7 @@ "tags": [], "label": "type", "description": [], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/apis/bulk_update.ts", "deprecated": false, "trackAdoption": false }, @@ -11748,7 +13685,7 @@ "tags": [], "label": "id", "description": [], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/apis/bulk_update.ts", "deprecated": false, "trackAdoption": false }, @@ -11762,7 +13699,7 @@ "signature": [ "T" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/apis/bulk_update.ts", "deprecated": false, "trackAdoption": false }, @@ -11776,7 +13713,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/apis/bulk_update.ts", "deprecated": false, "trackAdoption": false }, @@ -11788,10 +13725,16 @@ "label": "references", "description": [], "signature": [ - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[] | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/apis/bulk_update.ts", "deprecated": false, "trackAdoption": false } @@ -11805,10 +13748,7 @@ "tags": [], "label": "SavedObjectsBulkUpdateOptions", "description": [], - "signature": [ - "SavedObjectsBulkUpdateOptions" - ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/apis/bulk_update.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -11822,7 +13762,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/apis/bulk_update.ts", "deprecated": false, "trackAdoption": false } @@ -11838,10 +13778,7 @@ "description": [ "\nThe client-side SavedObjectsClient is a thin convenience library around the SavedObjects\nHTTP API for interacting with Saved Objects.\n" ], - "signature": [ - "SavedObjectsClientContract" - ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -11856,12 +13793,24 @@ ], "signature": [ "(type: string, attributes: T, options?: ", - "SavedObjectsCreateOptions", + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SavedObjectsCreateOptions", + "text": "SavedObjectsCreateOptions" + }, " | undefined) => Promise<", - "SimpleSavedObject", + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SimpleSavedObject", + "text": "SimpleSavedObject" + }, ">" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -11875,7 +13824,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -11890,7 +13839,7 @@ "signature": [ "T" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -11903,10 +13852,16 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsCreateOptions", + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SavedObjectsCreateOptions", + "text": "SavedObjectsCreateOptions" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -11925,14 +13880,32 @@ ], "signature": [ "(objects: ", - "SavedObjectsBulkCreateObject", + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SavedObjectsBulkCreateObject", + "text": "SavedObjectsBulkCreateObject" + }, "[], options?: ", - "SavedObjectsBulkCreateOptions", + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SavedObjectsBulkCreateOptions", + "text": "SavedObjectsBulkCreateOptions" + }, " | undefined) => Promise<", - "SavedObjectsBatchResponse", + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SavedObjectsBatchResponse", + "text": "SavedObjectsBatchResponse" + }, ">" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -11944,10 +13917,16 @@ "label": "objects", "description": [], "signature": [ - "SavedObjectsBulkCreateObject", + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SavedObjectsBulkCreateObject", + "text": "SavedObjectsBulkCreateObject" + }, "[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -11960,10 +13939,16 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsBulkCreateOptions", + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SavedObjectsBulkCreateOptions", + "text": "SavedObjectsBulkCreateOptions" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -11984,10 +13969,16 @@ ], "signature": [ "(type: string, id: string, options?: ", - "SavedObjectsDeleteOptions", + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SavedObjectsDeleteOptions", + "text": "SavedObjectsDeleteOptions" + }, " | undefined) => Promise<{}>" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12001,7 +13992,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -12016,7 +14007,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -12029,10 +14020,16 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsDeleteOptions", + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SavedObjectsDeleteOptions", + "text": "SavedObjectsDeleteOptions" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -12051,14 +14048,32 @@ ], "signature": [ "(objects: ", - "SavedObjectTypeIdTuple", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectTypeIdTuple", + "text": "SavedObjectTypeIdTuple" + }, "[], options?: ", - "SavedObjectsBulkDeleteOptions", + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SavedObjectsBulkDeleteOptions", + "text": "SavedObjectsBulkDeleteOptions" + }, " | undefined) => Promise<", - "SavedObjectsBulkDeleteResponse", + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SavedObjectsBulkDeleteResponse", + "text": "SavedObjectsBulkDeleteResponse" + }, ">" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12072,10 +14087,16 @@ "- an array of objects containing id, type" ], "signature": [ - "SavedObjectTypeIdTuple", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectTypeIdTuple", + "text": "SavedObjectTypeIdTuple" + }, "[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -12090,10 +14111,16 @@ "- optional force argument to force deletion of objects in a namespace other than the scoped client" ], "signature": [ - "SavedObjectsBulkDeleteOptions", + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SavedObjectsBulkDeleteOptions", + "text": "SavedObjectsBulkDeleteOptions" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -12122,12 +14149,24 @@ ], "signature": [ "(options: ", - "SavedObjectsFindOptions", + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SavedObjectsFindOptions", + "text": "SavedObjectsFindOptions" + }, ") => Promise<", - "SavedObjectsFindResponse", + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SavedObjectsFindResponse", + "text": "SavedObjectsFindResponse" + }, ">" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12139,9 +14178,15 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsFindOptions" + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SavedObjectsFindOptions", + "text": "SavedObjectsFindOptions" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -12162,10 +14207,16 @@ ], "signature": [ "(type: string, id: string) => Promise<", - "SimpleSavedObject", + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SimpleSavedObject", + "text": "SimpleSavedObject" + }, ">" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12179,7 +14230,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -12194,7 +14245,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -12215,12 +14266,24 @@ ], "signature": [ "(objects: ", - "SavedObjectTypeIdTuple", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectTypeIdTuple", + "text": "SavedObjectTypeIdTuple" + }, "[]) => Promise<", - "SavedObjectsBatchResponse", + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SavedObjectsBatchResponse", + "text": "SavedObjectsBatchResponse" + }, ">" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12234,10 +14297,16 @@ "- an array ids, or an array of objects containing id and optionally type" ], "signature": [ - "SavedObjectTypeIdTuple", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectTypeIdTuple", + "text": "SavedObjectTypeIdTuple" + }, "[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -12260,10 +14329,16 @@ ], "signature": [ "(type: string, id: string) => Promise<", - "ResolvedSimpleSavedObject", + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.ResolvedSimpleSavedObject", + "text": "ResolvedSimpleSavedObject" + }, ">" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12277,7 +14352,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -12292,7 +14367,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -12315,12 +14390,24 @@ ], "signature": [ "(objects: ", - "SavedObjectTypeIdTuple", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectTypeIdTuple", + "text": "SavedObjectTypeIdTuple" + }, "[]) => Promise<", - "SavedObjectsBulkResolveResponse", + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SavedObjectsBulkResolveResponse", + "text": "SavedObjectsBulkResolveResponse" + }, ">" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12334,10 +14421,16 @@ "- an array of objects containing id, type" ], "signature": [ - "SavedObjectTypeIdTuple", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectTypeIdTuple", + "text": "SavedObjectTypeIdTuple" + }, "[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -12361,12 +14454,24 @@ ], "signature": [ "(type: string, id: string, attributes: T, options?: ", - "SavedObjectsUpdateOptions", + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SavedObjectsUpdateOptions", + "text": "SavedObjectsUpdateOptions" + }, " | undefined) => Promise<", - "SimpleSavedObject", + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SimpleSavedObject", + "text": "SimpleSavedObject" + }, ">" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12380,7 +14485,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -12395,7 +14500,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -12410,7 +14515,7 @@ "signature": [ "T" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -12423,10 +14528,16 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsUpdateOptions", + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SavedObjectsUpdateOptions", + "text": "SavedObjectsUpdateOptions" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -12445,12 +14556,24 @@ ], "signature": [ "(objects: ", - "SavedObjectsBulkUpdateObject", + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SavedObjectsBulkUpdateObject", + "text": "SavedObjectsBulkUpdateObject" + }, "[]) => Promise<", - "SavedObjectsBatchResponse", + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SavedObjectsBatchResponse", + "text": "SavedObjectsBatchResponse" + }, ">" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12464,10 +14587,16 @@ "- [{ type, id, attributes, options: { version, references } }]" ], "signature": [ - "SavedObjectsBulkUpdateObject", + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SavedObjectsBulkUpdateObject", + "text": "SavedObjectsBulkUpdateObject" + }, "[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -12487,10 +14616,7 @@ "tags": [], "label": "SavedObjectsCreateOptions", "description": [], - "signature": [ - "SavedObjectsCreateOptions" - ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/apis/create.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12506,7 +14632,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/apis/create.ts", "deprecated": false, "trackAdoption": false }, @@ -12522,7 +14648,7 @@ "signature": [ "boolean | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/apis/create.ts", "deprecated": false, "trackAdoption": false }, @@ -12536,10 +14662,16 @@ "{@inheritDoc SavedObjectsMigrationVersion}" ], "signature": [ - "SavedObjectsMigrationVersion", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectsMigrationVersion", + "text": "SavedObjectsMigrationVersion" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/apis/create.ts", "deprecated": false, "trackAdoption": false }, @@ -12555,7 +14687,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/apis/create.ts", "deprecated": false, "trackAdoption": false }, @@ -12567,10 +14699,16 @@ "label": "references", "description": [], "signature": [ - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[] | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/apis/create.ts", "deprecated": false, "trackAdoption": false } @@ -12584,10 +14722,7 @@ "tags": [], "label": "SavedObjectsDeleteOptions", "description": [], - "signature": [ - "SavedObjectsDeleteOptions" - ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/apis/delete.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12603,7 +14738,7 @@ "signature": [ "boolean | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/apis/delete.ts", "deprecated": false, "trackAdoption": false } @@ -12617,10 +14752,7 @@ "tags": [], "label": "SavedObjectsFindOptionsReference", "description": [], - "signature": [ - "SavedObjectsFindOptionsReference" - ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/apis/find.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12631,7 +14763,7 @@ "tags": [], "label": "type", "description": [], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/apis/find.ts", "deprecated": false, "trackAdoption": false }, @@ -12642,7 +14774,7 @@ "tags": [], "label": "id", "description": [], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/apis/find.ts", "deprecated": false, "trackAdoption": false } @@ -12659,12 +14791,24 @@ "\nReturn type of the Saved Objects `find()` method.\n" ], "signature": [ - "SavedObjectsFindResponse", + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SavedObjectsFindResponse", + "text": "SavedObjectsFindResponse" + }, " extends ", - "SavedObjectsBatchResponse", + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SavedObjectsBatchResponse", + "text": "SavedObjectsBatchResponse" + }, "" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/apis/find.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12678,7 +14822,7 @@ "signature": [ "A | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/apis/find.ts", "deprecated": false, "trackAdoption": false }, @@ -12689,7 +14833,7 @@ "tags": [], "label": "total", "description": [], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/apis/find.ts", "deprecated": false, "trackAdoption": false }, @@ -12700,7 +14844,7 @@ "tags": [], "label": "perPage", "description": [], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/apis/find.ts", "deprecated": false, "trackAdoption": false }, @@ -12711,7 +14855,7 @@ "tags": [], "label": "page", "description": [], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/apis/find.ts", "deprecated": false, "trackAdoption": false } @@ -12727,10 +14871,7 @@ "description": [ "\nA warning meant to notify that a specific user action is required to finalize the import\nof some type of object.\n" ], - "signature": [ - "SavedObjectsImportActionRequiredWarning" - ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12744,7 +14885,7 @@ "signature": [ "\"action_required\"" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false }, @@ -12757,7 +14898,7 @@ "description": [ "The translated message to display to the user." ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false }, @@ -12770,7 +14911,7 @@ "description": [ "The path (without the basePath) that the user should be redirect to address this warning." ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false }, @@ -12786,7 +14927,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false } @@ -12802,10 +14943,7 @@ "description": [ "\nRepresents a failure to import due to a conflict, which can be resolved in different ways with an overwrite." ], - "signature": [ - "SavedObjectsImportAmbiguousConflictError" - ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12819,7 +14957,7 @@ "signature": [ "\"ambiguous_conflict\"" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false }, @@ -12833,7 +14971,7 @@ "signature": [ "{ id: string; title?: string | undefined; updatedAt?: string | undefined; }[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false } @@ -12849,10 +14987,7 @@ "description": [ "\nRepresents a failure to import due to a conflict." ], - "signature": [ - "SavedObjectsImportConflictError" - ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12866,7 +15001,7 @@ "signature": [ "\"conflict\"" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false }, @@ -12880,7 +15015,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false } @@ -12896,10 +15031,7 @@ "description": [ "\nRepresents a failure to import." ], - "signature": [ - "SavedObjectsImportFailure" - ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12910,7 +15042,7 @@ "tags": [], "label": "id", "description": [], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false }, @@ -12921,7 +15053,7 @@ "tags": [], "label": "type", "description": [], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false }, @@ -12935,7 +15067,7 @@ "signature": [ "{ title?: string | undefined; icon?: string | undefined; }" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false }, @@ -12951,7 +15083,7 @@ "signature": [ "boolean | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false }, @@ -12963,17 +15095,47 @@ "label": "error", "description": [], "signature": [ - "SavedObjectsImportConflictError", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectsImportConflictError", + "text": "SavedObjectsImportConflictError" + }, " | ", - "SavedObjectsImportAmbiguousConflictError", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectsImportAmbiguousConflictError", + "text": "SavedObjectsImportAmbiguousConflictError" + }, " | ", - "SavedObjectsImportUnsupportedTypeError", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectsImportUnsupportedTypeError", + "text": "SavedObjectsImportUnsupportedTypeError" + }, " | ", - "SavedObjectsImportMissingReferencesError", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectsImportMissingReferencesError", + "text": "SavedObjectsImportMissingReferencesError" + }, " | ", - "SavedObjectsImportUnknownError" + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectsImportUnknownError", + "text": "SavedObjectsImportUnknownError" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false } @@ -12989,10 +15151,7 @@ "description": [ "\nRepresents a failure to import due to missing references." ], - "signature": [ - "SavedObjectsImportMissingReferencesError" - ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -13006,7 +15165,7 @@ "signature": [ "\"missing_references\"" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false }, @@ -13020,7 +15179,7 @@ "signature": [ "{ type: string; id: string; }[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false } @@ -13036,10 +15195,7 @@ "description": [ "\nThe response describing the result of an import." ], - "signature": [ - "SavedObjectsImportResponse" - ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -13050,7 +15206,7 @@ "tags": [], "label": "success", "description": [], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false }, @@ -13061,7 +15217,7 @@ "tags": [], "label": "successCount", "description": [], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false }, @@ -13073,10 +15229,16 @@ "label": "successResults", "description": [], "signature": [ - "SavedObjectsImportSuccess", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectsImportSuccess", + "text": "SavedObjectsImportSuccess" + }, "[] | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false }, @@ -13088,10 +15250,16 @@ "label": "warnings", "description": [], "signature": [ - "SavedObjectsImportWarning", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectsImportWarning", + "text": "SavedObjectsImportWarning" + }, "[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false }, @@ -13103,10 +15271,16 @@ "label": "errors", "description": [], "signature": [ - "SavedObjectsImportFailure", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectsImportFailure", + "text": "SavedObjectsImportFailure" + }, "[] | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false } @@ -13122,10 +15296,7 @@ "description": [ "\nDescribes a retry operation for importing a saved object." ], - "signature": [ - "SavedObjectsImportRetry" - ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -13136,7 +15307,7 @@ "tags": [], "label": "type", "description": [], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false }, @@ -13147,7 +15318,7 @@ "tags": [], "label": "id", "description": [], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false }, @@ -13158,7 +15329,7 @@ "tags": [], "label": "overwrite", "description": [], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false }, @@ -13174,7 +15345,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false }, @@ -13188,7 +15359,7 @@ "signature": [ "{ type: string; from: string; to: string; }[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false }, @@ -13204,7 +15375,7 @@ "signature": [ "boolean | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false }, @@ -13220,7 +15391,7 @@ "signature": [ "boolean | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false } @@ -13236,10 +15407,7 @@ "description": [ "\nA simple informative warning that will be displayed to the user.\n" ], - "signature": [ - "SavedObjectsImportSimpleWarning" - ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -13253,7 +15421,7 @@ "signature": [ "\"simple\"" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false }, @@ -13266,7 +15434,7 @@ "description": [ "The translated message to display to the user" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false } @@ -13282,10 +15450,7 @@ "description": [ "\nRepresents a successful import." ], - "signature": [ - "SavedObjectsImportSuccess" - ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -13296,7 +15461,7 @@ "tags": [], "label": "id", "description": [], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false }, @@ -13307,7 +15472,7 @@ "tags": [], "label": "type", "description": [], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false }, @@ -13323,7 +15488,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false }, @@ -13339,7 +15504,7 @@ "signature": [ "boolean | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": true, "trackAdoption": false, "references": [ @@ -13363,7 +15528,7 @@ "signature": [ "{ title?: string | undefined; icon?: string | undefined; }" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false }, @@ -13379,7 +15544,7 @@ "signature": [ "boolean | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false } @@ -13395,10 +15560,7 @@ "description": [ "\nRepresents a failure to import due to an unknown reason." ], - "signature": [ - "SavedObjectsImportUnknownError" - ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -13412,7 +15574,7 @@ "signature": [ "\"unknown\"" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false }, @@ -13423,7 +15585,7 @@ "tags": [], "label": "message", "description": [], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false }, @@ -13434,7 +15596,7 @@ "tags": [], "label": "statusCode", "description": [], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false } @@ -13450,10 +15612,7 @@ "description": [ "\nRepresents a failure to import due to having an unsupported saved object type." ], - "signature": [ - "SavedObjectsImportUnsupportedTypeError" - ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -13467,7 +15626,7 @@ "signature": [ "\"unsupported_type\"" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false } @@ -13483,10 +15642,7 @@ "description": [ "\nInformation about the migrations that have been applied to this SavedObject.\nWhen Kibana starts up, KibanaMigrator detects outdated documents and\nmigrates them based on this value. For each migration that has been applied,\nthe plugin's name is used as a key and the latest migration version as the\nvalue.\n" ], - "signature": [ - "SavedObjectsMigrationVersion" - ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -13500,7 +15656,7 @@ "signature": [ "[pluginName: string]: string" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false } @@ -13514,10 +15670,7 @@ "tags": [], "label": "SavedObjectsStart", "description": [], - "signature": [ - "SavedObjectsStart" - ], - "path": "node_modules/@types/kbn__core-saved-objects-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -13531,9 +15684,15 @@ "{@link SavedObjectsClientContract}" ], "signature": [ - "SavedObjectsClientContract" + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false } @@ -13548,10 +15707,16 @@ "label": "SavedObjectsUpdateOptions", "description": [], "signature": [ - "SavedObjectsUpdateOptions", + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SavedObjectsUpdateOptions", + "text": "SavedObjectsUpdateOptions" + }, "" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/apis/update.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -13565,7 +15730,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/apis/update.ts", "deprecated": false, "trackAdoption": false }, @@ -13579,7 +15744,7 @@ "signature": [ "Attributes | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/apis/update.ts", "deprecated": false, "trackAdoption": false }, @@ -13591,10 +15756,16 @@ "label": "references", "description": [], "signature": [ - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[] | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/apis/update.ts", "deprecated": false, "trackAdoption": false } @@ -13610,10 +15781,7 @@ "description": [ "\nAn identifier for a saved object within a space.\n" ], - "signature": [ - "SavedObjectTypeIdTuple" - ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -13626,7 +15794,7 @@ "description": [ "The id of the saved object" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -13639,7 +15807,7 @@ "description": [ "The type of the saved object" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -13656,12 +15824,18 @@ "\nA wrapper around a `History` instance that is scoped to a particular base path of the history stack. Behaves\nsimilarly to the `basename` option except that this wrapper hides any history stack entries from outside the scope\nof this base path.\n\nThis wrapper also allows Core and Plugins to share a single underlying global `History` instance without exposing\nthe history of other applications.\n\nThe {@link ScopedHistory.createSubHistory | createSubHistory} method is particularly useful for applications that\ncontain any number of \"sub-apps\" which should not have access to the main application's history or basePath.\n" ], "signature": [ - "ScopedHistory", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.ScopedHistory", + "text": "ScopedHistory" + }, " extends ", "History", "" ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/scoped_history.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -13676,10 +15850,16 @@ ], "signature": [ "(basePath: string) => ", - "ScopedHistory", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.ScopedHistory", + "text": "ScopedHistory" + }, "" ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/scoped_history.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -13695,7 +15875,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/scoped_history.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -13717,7 +15897,7 @@ "LocationDescriptorObject", ", options?: { prependBasePath?: boolean | undefined; } | undefined) => string" ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/scoped_history.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -13732,7 +15912,7 @@ "LocationDescriptorObject", "" ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/scoped_history.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -13744,7 +15924,7 @@ "tags": [], "label": "options", "description": [], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/scoped_history.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -13758,7 +15938,7 @@ "signature": [ "boolean | undefined" ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/scoped_history.ts", "deprecated": false, "trackAdoption": false } @@ -13780,10 +15960,16 @@ "\nConstructor of a {@link IShipper}" ], "signature": [ - "ShipperClassConstructor", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.ShipperClassConstructor", + "text": "ShipperClassConstructor" + }, "" ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/analytics_client/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -13796,7 +15982,7 @@ "description": [ "\nThe shipper's unique name" ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/analytics_client/types.ts", "deprecated": false, "trackAdoption": false }, @@ -13812,7 +15998,7 @@ "signature": [ "any" ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/analytics_client/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -13828,7 +16014,7 @@ "signature": [ "Config" ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/analytics_client/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -13843,9 +16029,15 @@ "Common context {@link AnalyticsClientInitContext }" ], "signature": [ - "AnalyticsClientInitContext" + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.AnalyticsClientInitContext", + "text": "AnalyticsClientInitContext" + } ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/analytics_client/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -13866,10 +16058,16 @@ "\nVery simple wrapper for SavedObjects loaded from the server\nwith the {@link SavedObjectsClientContract}.\n\nIt provides basic functionality for creating/saving/deleting saved objects,\nbut doesn't include any type-specific implementations.\n" ], "signature": [ - "SimpleSavedObject", + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SimpleSavedObject", + "text": "SimpleSavedObject" + }, "" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/simple_saved_object.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -13883,7 +16081,7 @@ "signature": [ "T" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/simple_saved_object.ts", "deprecated": false, "trackAdoption": false }, @@ -13897,7 +16095,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/simple_saved_object.ts", "deprecated": false, "trackAdoption": false }, @@ -13908,7 +16106,7 @@ "tags": [], "label": "id", "description": [], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/simple_saved_object.ts", "deprecated": false, "trackAdoption": false }, @@ -13919,7 +16117,7 @@ "tags": [], "label": "type", "description": [], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/simple_saved_object.ts", "deprecated": false, "trackAdoption": false }, @@ -13931,10 +16129,16 @@ "label": "migrationVersion", "description": [], "signature": [ - "SavedObjectsMigrationVersion", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectsMigrationVersion", + "text": "SavedObjectsMigrationVersion" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/simple_saved_object.ts", "deprecated": false, "trackAdoption": false }, @@ -13948,7 +16152,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/simple_saved_object.ts", "deprecated": false, "trackAdoption": false }, @@ -13960,10 +16164,16 @@ "label": "error", "description": [], "signature": [ - "SavedObjectError", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectError", + "text": "SavedObjectError" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/simple_saved_object.ts", "deprecated": false, "trackAdoption": false }, @@ -13975,10 +16185,16 @@ "label": "references", "description": [], "signature": [ - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/simple_saved_object.ts", "deprecated": false, "trackAdoption": false }, @@ -13992,7 +16208,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/simple_saved_object.ts", "deprecated": false, "trackAdoption": false }, @@ -14006,7 +16222,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/simple_saved_object.ts", "deprecated": false, "trackAdoption": false }, @@ -14022,7 +16238,7 @@ "signature": [ "string[] | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/simple_saved_object.ts", "deprecated": false, "trackAdoption": false }, @@ -14036,7 +16252,7 @@ "signature": [ "(key: string) => any" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/simple_saved_object.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -14050,7 +16266,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/simple_saved_object.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -14068,7 +16284,7 @@ "signature": [ "(key: string, value: any) => T" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/simple_saved_object.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -14082,7 +16298,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/simple_saved_object.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -14097,7 +16313,7 @@ "signature": [ "any" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/simple_saved_object.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -14115,7 +16331,7 @@ "signature": [ "(key: string) => boolean" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/simple_saved_object.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -14129,7 +16345,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/simple_saved_object.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -14146,10 +16362,16 @@ "description": [], "signature": [ "() => Promise<", - "SimpleSavedObject", + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SimpleSavedObject", + "text": "SimpleSavedObject" + }, ">" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/simple_saved_object.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -14165,7 +16387,7 @@ "signature": [ "() => Promise<{}>" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/simple_saved_object.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -14183,10 +16405,7 @@ "description": [ "\nShape of the events emitted by the telemetryCounter$ observable" ], - "signature": [ - "TelemetryCounter" - ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/events/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -14202,7 +16421,7 @@ "signature": [ "\"failed\" | \"enqueued\" | \"sent_to_shipper\" | \"succeeded\" | \"dropped\"" ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/events/types.ts", "deprecated": false, "trackAdoption": false }, @@ -14215,7 +16434,7 @@ "description": [ "\nWho emitted the event? It can be \"client\" or the name of the shipper." ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/events/types.ts", "deprecated": false, "trackAdoption": false }, @@ -14228,7 +16447,7 @@ "description": [ "\nThe event type the success/failure/drop event refers to." ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/events/types.ts", "deprecated": false, "trackAdoption": false }, @@ -14241,7 +16460,7 @@ "description": [ "\nCode to provide additional information about the success or failure. Examples are 200/400/504/ValidationError/UnknownError" ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/events/types.ts", "deprecated": false, "trackAdoption": false }, @@ -14254,7 +16473,7 @@ "description": [ "\nThe number of events that this counter refers to." ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/events/types.ts", "deprecated": false, "trackAdoption": false } @@ -14268,10 +16487,7 @@ "tags": [], "label": "ThemeServiceSetup", "description": [], - "signature": [ - "ThemeServiceSetup" - ], - "path": "node_modules/@types/kbn__core-theme-browser/index.d.ts", + "path": "packages/core/theme/core-theme-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -14285,10 +16501,16 @@ "signature": [ "Observable", "<", - "CoreTheme", + { + "pluginId": "@kbn/core-theme-browser", + "scope": "common", + "docId": "kibKbnCoreThemeBrowserPluginApi", + "section": "def-common.CoreTheme", + "text": "CoreTheme" + }, ">" ], - "path": "node_modules/@types/kbn__core-theme-browser/index.d.ts", + "path": "packages/core/theme/core-theme-browser/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -14302,10 +16524,7 @@ "tags": [], "label": "ThemeServiceStart", "description": [], - "signature": [ - "ThemeServiceStart" - ], - "path": "node_modules/@types/kbn__core-theme-browser/index.d.ts", + "path": "packages/core/theme/core-theme-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -14319,10 +16538,16 @@ "signature": [ "Observable", "<", - "CoreTheme", + { + "pluginId": "@kbn/core-theme-browser", + "scope": "common", + "docId": "kibKbnCoreThemeBrowserPluginApi", + "section": "def-common.CoreTheme", + "text": "CoreTheme" + }, ">" ], - "path": "node_modules/@types/kbn__core-theme-browser/index.d.ts", + "path": "packages/core/theme/core-theme-browser/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -14338,10 +16563,7 @@ "description": [ "\nOptions available for {@link IToasts} APIs." ], - "signature": [ - "ToastOptions" - ], - "path": "node_modules/@types/kbn__core-notifications-browser/index.d.ts", + "path": "packages/core/notifications/core-notifications-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -14357,7 +16579,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-notifications-browser/index.d.ts", + "path": "packages/core/notifications/core-notifications-browser/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -14374,10 +16596,16 @@ "\nUiSettings parameters defined by the plugins." ], "signature": [ - "UiSettingsParams", + { + "pluginId": "@kbn/core-ui-settings-common", + "scope": "common", + "docId": "kibKbnCoreUiSettingsCommonPluginApi", + "section": "def-common.UiSettingsParams", + "text": "UiSettingsParams" + }, "" ], - "path": "node_modules/@types/kbn__core-ui-settings-common/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-common/src/ui_settings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -14393,7 +16621,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-ui-settings-common/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-common/src/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -14409,7 +16637,7 @@ "signature": [ "T | undefined" ], - "path": "node_modules/@types/kbn__core-ui-settings-common/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-common/src/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -14425,7 +16653,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-ui-settings-common/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-common/src/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -14441,7 +16669,7 @@ "signature": [ "string[] | undefined" ], - "path": "node_modules/@types/kbn__core-ui-settings-common/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-common/src/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -14457,7 +16685,7 @@ "signature": [ "string[] | number[] | undefined" ], - "path": "node_modules/@types/kbn__core-ui-settings-common/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-common/src/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -14473,7 +16701,7 @@ "signature": [ "Record | undefined" ], - "path": "node_modules/@types/kbn__core-ui-settings-common/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-common/src/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -14489,7 +16717,7 @@ "signature": [ "boolean | undefined" ], - "path": "node_modules/@types/kbn__core-ui-settings-common/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-common/src/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -14505,7 +16733,7 @@ "signature": [ "boolean | undefined" ], - "path": "node_modules/@types/kbn__core-ui-settings-common/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-common/src/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -14521,7 +16749,7 @@ "signature": [ "boolean | undefined" ], - "path": "node_modules/@types/kbn__core-ui-settings-common/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-common/src/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -14535,10 +16763,16 @@ "defines a type of UI element {@link UiSettingsType}" ], "signature": [ - "UiSettingsType", + { + "pluginId": "@kbn/core-ui-settings-common", + "scope": "common", + "docId": "kibKbnCoreUiSettingsCommonPluginApi", + "section": "def-common.UiSettingsType", + "text": "UiSettingsType" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-ui-settings-common/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-common/src/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -14552,10 +16786,16 @@ "optional deprecation information. Used to generate a deprecation warning." ], "signature": [ - "DeprecationSettings", + { + "pluginId": "@kbn/core-ui-settings-common", + "scope": "common", + "docId": "kibKbnCoreUiSettingsCommonPluginApi", + "section": "def-common.DeprecationSettings", + "text": "DeprecationSettings" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-ui-settings-common/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-common/src/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -14571,7 +16811,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-ui-settings-common/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-common/src/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -14583,10 +16823,16 @@ "label": "schema", "description": [], "signature": [ - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "" ], - "path": "node_modules/@types/kbn__core-ui-settings-common/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-common/src/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -14604,7 +16850,7 @@ "signature": [ "{ type: string; name: string; } | undefined" ], - "path": "node_modules/@types/kbn__core-ui-settings-common/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-common/src/ui_settings.ts", "deprecated": true, "trackAdoption": false, "references": [ @@ -14636,10 +16882,7 @@ "tags": [], "label": "UiSettingsState", "description": [], - "signature": [ - "UiSettingsState" - ], - "path": "node_modules/@types/kbn__core-ui-settings-browser/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -14652,12 +16895,24 @@ "description": [], "signature": [ "[key: string]: ", - "PublicUiSettingsParams", + { + "pluginId": "@kbn/core-ui-settings-common", + "scope": "common", + "docId": "kibKbnCoreUiSettingsCommonPluginApi", + "section": "def-common.PublicUiSettingsParams", + "text": "PublicUiSettingsParams" + }, " & ", - "UserProvidedValues", + { + "pluginId": "@kbn/core-ui-settings-common", + "scope": "common", + "docId": "kibKbnCoreUiSettingsCommonPluginApi", + "section": "def-common.UserProvidedValues", + "text": "UserProvidedValues" + }, "" ], - "path": "node_modules/@types/kbn__core-ui-settings-browser/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-browser/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -14674,10 +16929,16 @@ "\nDescribes the values explicitly set by user." ], "signature": [ - "UserProvidedValues", + { + "pluginId": "@kbn/core-ui-settings-common", + "scope": "common", + "docId": "kibKbnCoreUiSettingsCommonPluginApi", + "section": "def-common.UserProvidedValues", + "text": "UserProvidedValues" + }, "" ], - "path": "node_modules/@types/kbn__core-ui-settings-common/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-common/src/ui_settings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -14691,7 +16952,7 @@ "signature": [ "T | undefined" ], - "path": "node_modules/@types/kbn__core-ui-settings-common/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-common/src/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -14705,7 +16966,7 @@ "signature": [ "boolean | undefined" ], - "path": "node_modules/@types/kbn__core-ui-settings-common/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-common/src/ui_settings.ts", "deprecated": false, "trackAdoption": false } @@ -14723,10 +16984,7 @@ "description": [ "\nPossible type of actions on application leave.\n" ], - "signature": [ - "AppLeaveActionType" - ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/app_leave.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -14740,10 +16998,7 @@ "description": [ "\nStatus of the application's navLink.\n" ], - "signature": [ - "AppNavLinkStatus" - ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/application.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -14757,10 +17012,7 @@ "description": [ "\nAccessibility status of an application.\n" ], - "signature": [ - "AppStatus" - ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/application.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -14778,24 +17030,66 @@ ], "signature": [ "{ optIn: (optInConfig: ", - "OptInConfig", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.OptInConfig", + "text": "OptInConfig" + }, ") => void; reportEvent: (eventType: string, eventData: EventTypeData) => void; readonly telemetryCounter$: ", "Observable", "<", - "TelemetryCounter", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.TelemetryCounter", + "text": "TelemetryCounter" + }, ">; registerEventType: (eventTypeOps: ", - "EventTypeOpts", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.EventTypeOpts", + "text": "EventTypeOpts" + }, ") => void; registerShipper: (Shipper: ", - "ShipperClassConstructor", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.ShipperClassConstructor", + "text": "ShipperClassConstructor" + }, ", shipperConfig: ShipperConfig, opts?: ", - "RegisterShipperOpts", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.RegisterShipperOpts", + "text": "RegisterShipperOpts" + }, " | undefined) => void; registerContextProvider: (contextProviderOpts: ", - "ContextProviderOpts", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.ContextProviderOpts", + "text": "ContextProviderOpts" + }, ") => void; removeContextProvider: (contextProviderName: string) => void; }" ], - "path": "node_modules/@types/kbn__core-analytics-browser/index.d.ts", + "path": "packages/core/analytics/core-analytics-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -14811,14 +17105,26 @@ ], "signature": [ "{ optIn: (optInConfig: ", - "OptInConfig", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.OptInConfig", + "text": "OptInConfig" + }, ") => void; reportEvent: (eventType: string, eventData: EventTypeData) => void; readonly telemetryCounter$: ", "Observable", "<", - "TelemetryCounter", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.TelemetryCounter", + "text": "TelemetryCounter" + }, ">; }" ], - "path": "node_modules/@types/kbn__core-analytics-browser/index.d.ts", + "path": "packages/core/analytics/core-analytics-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -14835,7 +17141,7 @@ "signature": [ "\"kbnAppWrapper\"" ], - "path": "node_modules/@types/kbn__core-application-common/index.d.ts", + "path": "packages/core/application/core-application-common/src/app_wrapper_class.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -14851,16 +17157,40 @@ ], "signature": [ "{ id: string; title: string; keywords?: string[] | undefined; navLinkStatus?: ", - "AppNavLinkStatus", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.AppNavLinkStatus", + "text": "AppNavLinkStatus" + }, " | undefined; searchable?: boolean | undefined; } & ", - "AppNavOptions", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.AppNavOptions", + "text": "AppNavOptions" + }, " & ({ path: string; deepLinks?: ", - "AppDeepLink", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.AppDeepLink", + "text": "AppDeepLink" + }, "[] | undefined; } | { path?: string | undefined; deepLinks: ", - "AppDeepLink", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.AppDeepLink", + "text": "AppDeepLink" + }, "[]; })" ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/application.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -14875,11 +17205,23 @@ "\nPossible actions to return from a {@link AppLeaveHandler}\n\nSee {@link AppLeaveConfirmAction} and {@link AppLeaveDefaultAction}\n" ], "signature": [ - "AppLeaveDefaultAction", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.AppLeaveDefaultAction", + "text": "AppLeaveDefaultAction" + }, " | ", - "AppLeaveConfirmAction" + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.AppLeaveConfirmAction", + "text": "AppLeaveConfirmAction" + } ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/app_leave.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -14897,58 +17239,54 @@ ], "signature": [ "(factory: ", - "AppLeaveActionFactory", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.AppLeaveActionFactory", + "text": "AppLeaveActionFactory" + }, ", nextAppId?: string | undefined) => ", - "AppLeaveAction" + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.AppLeaveAction", + "text": "AppLeaveAction" + } ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/app_leave.ts", "deprecated": true, "removeBy": "8.8.0", "trackAdoption": false, "references": [ { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/components/flyout/index.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/components/flyout/index.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/types.ts" + "plugin": "@kbn/core-application-browser", + "path": "packages/core/application/core-application-browser/src/app_leave.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/types.ts" + "plugin": "@kbn/core-application-browser", + "path": "packages/core/application/core-application-browser/src/app_leave.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/app/routes.tsx" + "plugin": "@kbn/core-application-browser", + "path": "packages/core/application/core-application-browser/src/app_leave.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/app/routes.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/app/app.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/app/app.tsx" + "plugin": "@kbn/core-application-browser", + "path": "packages/core/application/core-application-browser/src/app_leave.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/app/app.tsx" + "plugin": "@kbn/core-application-browser", + "path": "packages/core/application/core-application-browser/src/app_mount.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/hooks/timeline/use_timeline_save_prompt.ts" + "plugin": "@kbn/core-application-browser", + "path": "packages/core/application/core-application-browser/src/app_mount.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/hooks/timeline/use_timeline_save_prompt.ts" + "plugin": "@kbn/core-application-browser", + "path": "packages/core/application/core-application-browser/index.ts" }, { "plugin": "@kbn/core-application-browser-internal", @@ -14985,6 +17323,50 @@ { "plugin": "@kbn/core-application-browser-internal", "path": "packages/core/application/core-application-browser-internal/src/application_service.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/components/flyout/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/components/flyout/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/app/routes.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/app/routes.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/app/app.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/app/app.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/app/app.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/hooks/timeline/use_timeline_save_prompt.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/hooks/timeline/use_timeline_save_prompt.ts" } ], "returnComment": [], @@ -14997,9 +17379,15 @@ "label": "factory", "description": [], "signature": [ - "AppLeaveActionFactory" + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.AppLeaveActionFactory", + "text": "AppLeaveActionFactory" + } ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/app_leave.ts", "deprecated": false, "trackAdoption": false }, @@ -15013,7 +17401,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/app_leave.ts", "deprecated": false, "trackAdoption": false } @@ -15031,14 +17419,32 @@ ], "signature": [ "(params: ", - "AppMountParameters", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.AppMountParameters", + "text": "AppMountParameters" + }, ") => ", - "AppUnmount", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.AppUnmount", + "text": "AppUnmount" + }, " | Promise<", - "AppUnmount", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.AppUnmount", + "text": "AppUnmount" + }, ">" ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/app_mount.ts", "deprecated": false, "trackAdoption": false, "returnComment": [ @@ -15055,10 +17461,16 @@ "{@link AppMountParameters }" ], "signature": [ - "AppMountParameters", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.AppMountParameters", + "text": "AppMountParameters" + }, "" ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/app_mount.ts", "deprecated": false, "trackAdoption": false } @@ -15077,7 +17489,7 @@ "signature": [ "() => void" ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/app_mount.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -15095,14 +17507,32 @@ ], "signature": [ "{ status?: ", - "AppStatus", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.AppStatus", + "text": "AppStatus" + }, " | undefined; searchable?: boolean | undefined; deepLinks?: ", - "AppDeepLink", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.AppDeepLink", + "text": "AppDeepLink" + }, "[] | undefined; navLinkStatus?: ", - "AppNavLinkStatus", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.AppNavLinkStatus", + "text": "AppNavLinkStatus" + }, " | undefined; defaultPath?: string | undefined; tooltip?: string | undefined; }" ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/application.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -15118,12 +17548,24 @@ ], "signature": [ "(app: ", - "App", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.App", + "text": "App" + }, ") => Partial<", - "AppUpdatableFields", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.AppUpdatableFields", + "text": "AppUpdatableFields" + }, "> | undefined" ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/application.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -15136,10 +17578,16 @@ "label": "app", "description": [], "signature": [ - "App", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.App", + "text": "App" + }, "" ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/application.ts", "deprecated": false, "trackAdoption": false } @@ -15158,7 +17606,7 @@ "CommonProps", " & { href?: string | undefined; rel?: string | undefined; onClick?: React.MouseEventHandler | undefined; text: React.ReactNode; truncate?: boolean | undefined; color?: \"warning\" | \"subdued\" | \"primary\" | \"accent\" | \"success\" | \"danger\" | \"text\" | \"ghost\" | undefined; 'aria-current'?: boolean | \"date\" | \"location\" | \"time\" | \"page\" | \"false\" | \"true\" | \"step\" | undefined; }" ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/breadcrumb.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -15175,7 +17623,7 @@ "IconType", " | undefined; 'data-test-subj'?: string | undefined; rel?: string | undefined; target?: string | (string & {}) | undefined; }" ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/help_extension.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -15188,15 +17636,39 @@ "label": "ChromeHelpExtensionMenuLink", "description": [], "signature": [ - "ChromeHelpExtensionMenuGitHubLink", + { + "pluginId": "@kbn/core-chrome-browser", + "scope": "common", + "docId": "kibKbnCoreChromeBrowserPluginApi", + "section": "def-common.ChromeHelpExtensionMenuGitHubLink", + "text": "ChromeHelpExtensionMenuGitHubLink" + }, " | ", - "ChromeHelpExtensionMenuDiscussLink", + { + "pluginId": "@kbn/core-chrome-browser", + "scope": "common", + "docId": "kibKbnCoreChromeBrowserPluginApi", + "section": "def-common.ChromeHelpExtensionMenuDiscussLink", + "text": "ChromeHelpExtensionMenuDiscussLink" + }, " | ", - "ChromeHelpExtensionMenuDocumentationLink", + { + "pluginId": "@kbn/core-chrome-browser", + "scope": "common", + "docId": "kibKbnCoreChromeBrowserPluginApi", + "section": "def-common.ChromeHelpExtensionMenuDocumentationLink", + "text": "ChromeHelpExtensionMenuDocumentationLink" + }, " | ", - "ChromeHelpExtensionMenuCustomLink" + { + "pluginId": "@kbn/core-chrome-browser", + "scope": "common", + "docId": "kibKbnCoreChromeBrowserPluginApi", + "section": "def-common.ChromeHelpExtensionMenuCustomLink", + "text": "ChromeHelpExtensionMenuCustomLink" + } ], - "path": "node_modules/@types/kbn__core-chrome-browser/index.d.ts", + "path": "packages/core/chrome/core-chrome-browser/src/help_extension.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -15209,10 +17681,16 @@ "label": "DomainDeprecationDetails", "description": [], "signature": [ - "DeprecationsDetails", + { + "pluginId": "@kbn/core-deprecations-common", + "scope": "common", + "docId": "kibKbnCoreDeprecationsCommonPluginApi", + "section": "def-common.DeprecationsDetails", + "text": "DeprecationsDetails" + }, " & { domainId: string; }" ], - "path": "node_modules/@types/kbn__core-deprecations-common/index.d.ts", + "path": "packages/core/deprecations/core-deprecations-common/src/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -15229,7 +17707,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/events/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -15244,9 +17722,15 @@ "\nSee {@link ExecutionContextSetup}." ], "signature": [ - "ExecutionContextSetup" + { + "pluginId": "@kbn/core-execution-context-browser", + "scope": "common", + "docId": "kibKbnCoreExecutionContextBrowserPluginApi", + "section": "def-common.ExecutionContextSetup", + "text": "ExecutionContextSetup" + } ], - "path": "node_modules/@types/kbn__core-execution-context-browser/index.d.ts", + "path": "packages/core/execution-context/core-execution-context-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -15261,9 +17745,15 @@ "\nFatalErrors stop the Kibana Public Core and displays a fatal error screen\nwith details about the Kibana build and the error.\n" ], "signature": [ - "FatalErrorsSetup" + { + "pluginId": "@kbn/core-fatal-errors-browser", + "scope": "common", + "docId": "kibKbnCoreFatalErrorsBrowserPluginApi", + "section": "def-common.FatalErrorsSetup", + "text": "FatalErrorsSetup" + } ], - "path": "node_modules/@types/kbn__core-fatal-errors-browser/index.d.ts", + "path": "packages/core/fatal-errors/core-fatal-errors-browser/src/contract.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -15278,9 +17768,15 @@ "\nSee {@link HttpSetup}" ], "signature": [ - "HttpSetup" + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpSetup", + "text": "HttpSetup" + } ], - "path": "node_modules/@types/kbn__core-http-browser/index.d.ts", + "path": "packages/core/http/core-http-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -15294,10 +17790,16 @@ "description": [], "signature": [ "{ readonly type?: string | undefined; readonly name?: string | undefined; readonly page?: string | undefined; readonly id?: string | undefined; readonly description?: string | undefined; readonly url?: string | undefined; readonly meta?: { [key: string]: string | number | boolean | undefined; } | undefined; child?: ", - "KibanaExecutionContext", + { + "pluginId": "@kbn/core-execution-context-common", + "scope": "common", + "docId": "kibKbnCoreExecutionContextCommonPluginApi", + "section": "def-common.KibanaExecutionContext", + "text": "KibanaExecutionContext" + }, " | undefined; }" ], - "path": "node_modules/@types/kbn__core-execution-context-common/index.d.ts", + "path": "packages/core/execution-context/core-execution-context-common/src/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -15313,9 +17815,15 @@ ], "signature": [ "(element: T) => ", - "UnmountCallback" + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.UnmountCallback", + "text": "UnmountCallback" + } ], - "path": "node_modules/@types/kbn__core-mount-utils-browser/index.d.ts", + "path": "packages/core/mount-utils/core-mount-utils-browser/src/mount_point.ts", "deprecated": false, "trackAdoption": false, "returnComment": [ @@ -15334,7 +17842,7 @@ "signature": [ "T" ], - "path": "node_modules/@types/kbn__core-mount-utils-browser/index.d.ts", + "path": "packages/core/mount-utils/core-mount-utils-browser/src/mount_point.ts", "deprecated": false, "trackAdoption": false } @@ -15352,12 +17860,24 @@ ], "signature": [ "(core: ", - "PluginInitializerContext", + { + "pluginId": "@kbn/core-plugins-browser", + "scope": "common", + "docId": "kibKbnCorePluginsBrowserPluginApi", + "section": "def-common.PluginInitializerContext", + "text": "PluginInitializerContext" + }, ") => ", - "Plugin", + { + "pluginId": "@kbn/core-plugins-browser", + "scope": "common", + "docId": "kibKbnCorePluginsBrowserPluginApi", + "section": "def-common.Plugin", + "text": "Plugin" + }, "" ], - "path": "node_modules/@types/kbn__core-plugins-browser/index.d.ts", + "path": "packages/core/plugins/core-plugins-browser/src/plugin_initializer.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -15370,10 +17890,16 @@ "label": "core", "description": [], "signature": [ - "PluginInitializerContext", + { + "pluginId": "@kbn/core-plugins-browser", + "scope": "common", + "docId": "kibKbnCorePluginsBrowserPluginApi", + "section": "def-common.PluginInitializerContext", + "text": "PluginInitializerContext" + }, "" ], - "path": "node_modules/@types/kbn__core-plugins-browser/index.d.ts", + "path": "packages/core/plugins/core-plugins-browser/src/plugin_initializer.ts", "deprecated": false, "trackAdoption": false } @@ -15390,7 +17916,7 @@ "signature": [ "symbol" ], - "path": "node_modules/@types/kbn__core-base-common/index.d.ts", + "path": "packages/core/base/core-base-common/src/plugins.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -15406,14 +17932,32 @@ ], "signature": [ "Omit<", - "AppDeepLink", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.AppDeepLink", + "text": "AppDeepLink" + }, ", \"searchable\" | \"keywords\" | \"deepLinks\" | \"navLinkStatus\"> & { deepLinks: ", - "PublicAppDeepLinkInfo", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.PublicAppDeepLinkInfo", + "text": "PublicAppDeepLinkInfo" + }, "[]; keywords: string[]; navLinkStatus: ", - "AppNavLinkStatus", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.AppNavLinkStatus", + "text": "AppNavLinkStatus" + }, "; searchable: boolean; }" ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/application.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -15429,16 +17973,40 @@ ], "signature": [ "Omit<", - "App", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.App", + "text": "App" + }, ", \"searchable\" | \"mount\" | \"updater$\" | \"keywords\" | \"deepLinks\"> & { status: ", - "AppStatus", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.AppStatus", + "text": "AppStatus" + }, "; navLinkStatus: ", - "AppNavLinkStatus", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.AppNavLinkStatus", + "text": "AppNavLinkStatus" + }, "; appRoute: string; keywords: string[]; deepLinks: ", - "PublicAppDeepLinkInfo", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.PublicAppDeepLinkInfo", + "text": "PublicAppDeepLinkInfo" + }, "[]; searchable: boolean; }" ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/application.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -15454,12 +18022,24 @@ ], "signature": [ "{ name?: string | undefined; value?: unknown; description?: string | undefined; category?: string[] | undefined; options?: string[] | number[] | undefined; optionLabels?: Record | undefined; requiresPageReload?: boolean | undefined; readonly?: boolean | undefined; sensitive?: boolean | undefined; type?: ", - "UiSettingsType", + { + "pluginId": "@kbn/core-ui-settings-common", + "scope": "common", + "docId": "kibKbnCoreUiSettingsCommonPluginApi", + "section": "def-common.UiSettingsType", + "text": "UiSettingsType" + }, " | undefined; deprecation?: ", - "DeprecationSettings", + { + "pluginId": "@kbn/core-ui-settings-common", + "scope": "common", + "docId": "kibKbnCoreUiSettingsCommonPluginApi", + "section": "def-common.DeprecationSettings", + "text": "DeprecationSettings" + }, " | undefined; order?: number | undefined; metric?: { type: string; name: string; } | undefined; }" ], - "path": "node_modules/@types/kbn__core-ui-settings-common/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-common/src/ui_settings.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -15476,7 +18056,7 @@ "signature": [ "{ status: \"ok\"; } | { status: \"fail\"; reason: string; }" ], - "path": "node_modules/@types/kbn__core-deprecations-browser/index.d.ts", + "path": "packages/core/deprecations/core-deprecations-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -15491,12 +18071,24 @@ "\nType definition for a Saved Object attribute value\n" ], "signature": [ - "SavedObjectAttributeSingle", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectAttributeSingle", + "text": "SavedObjectAttributeSingle" + }, " | ", - "SavedObjectAttributeSingle", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectAttributeSingle", + "text": "SavedObjectAttributeSingle" + }, "[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -15512,10 +18104,16 @@ ], "signature": [ "string | number | boolean | ", - "SavedObjectAttributes", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectAttributes", + "text": "SavedObjectAttributes" + }, " | null | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -15531,16 +18129,40 @@ "{ type: string | string[]; filter?: any; search?: string | undefined; fields?: string[] | undefined; aggs?: Record | undefined; page?: number | undefined; perPage?: number | undefined; sortField?: string | undefined; searchFields?: string[] | undefined; hasReference?: ", - "SavedObjectsFindOptionsReference", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsFindOptionsReference", + "text": "SavedObjectsFindOptionsReference" + }, " | ", - "SavedObjectsFindOptionsReference", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsFindOptionsReference", + "text": "SavedObjectsFindOptionsReference" + }, "[] | undefined; hasReferenceOperator?: \"AND\" | \"OR\" | undefined; hasNoReference?: ", - "SavedObjectsFindOptionsReference", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsFindOptionsReference", + "text": "SavedObjectsFindOptionsReference" + }, " | ", - "SavedObjectsFindOptionsReference", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsFindOptionsReference", + "text": "SavedObjectsFindOptionsReference" + }, "[] | undefined; hasNoReferenceOperator?: \"AND\" | \"OR\" | undefined; defaultSearchOperator?: \"AND\" | \"OR\" | undefined; namespaces?: string[] | undefined; preference?: string | undefined; }" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-browser/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/apis/find.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -15555,11 +18177,23 @@ "\nComposite type of all the possible types of import warnings.\n\nSee {@link SavedObjectsImportSimpleWarning} and {@link SavedObjectsImportActionRequiredWarning}\nfor more details.\n" ], "signature": [ - "SavedObjectsImportSimpleWarning", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectsImportSimpleWarning", + "text": "SavedObjectsImportSimpleWarning" + }, " | ", - "SavedObjectsImportActionRequiredWarning" + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectsImportActionRequiredWarning", + "text": "SavedObjectsImportActionRequiredWarning" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -15576,7 +18210,7 @@ "signature": [ "\"single\" | \"multiple\" | \"multiple-isolated\" | \"agnostic\"" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -15592,10 +18226,16 @@ ], "signature": [ "() => Promise<[", - "CoreStart", + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreStart", + "text": "CoreStart" + }, ", TPluginsStart, TStart]>" ], - "path": "node_modules/@types/kbn__core-lifecycle-browser/index.d.ts", + "path": "packages/core/lifecycle/core-lifecycle-browser/src/core_setup.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -15614,7 +18254,7 @@ "signature": [ "\"failed\" | \"enqueued\" | \"sent_to_shipper\" | \"succeeded\" | \"dropped\"" ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/events/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -15630,12 +18270,24 @@ "Pick<", "Toast", ", \"children\" | \"onError\" | \"hidden\" | \"color\" | \"className\" | \"onChange\" | \"onKeyDown\" | \"onClick\" | \"security\" | \"defaultValue\" | \"lang\" | \"defaultChecked\" | \"suppressContentEditableWarning\" | \"suppressHydrationWarning\" | \"accessKey\" | \"contentEditable\" | \"contextMenu\" | \"dir\" | \"draggable\" | \"placeholder\" | \"slot\" | \"spellCheck\" | \"style\" | \"tabIndex\" | \"translate\" | \"radioGroup\" | \"role\" | \"about\" | \"datatype\" | \"inlist\" | \"prefix\" | \"property\" | \"resource\" | \"typeof\" | \"vocab\" | \"autoCapitalize\" | \"autoCorrect\" | \"autoSave\" | \"itemProp\" | \"itemScope\" | \"itemType\" | \"itemID\" | \"itemRef\" | \"results\" | \"unselectable\" | \"inputMode\" | \"is\" | \"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\" | \"onChangeCapture\" | \"onBeforeInput\" | \"onBeforeInputCapture\" | \"onInput\" | \"onInputCapture\" | \"onReset\" | \"onResetCapture\" | \"onSubmit\" | \"onSubmitCapture\" | \"onInvalid\" | \"onInvalidCapture\" | \"onLoad\" | \"onLoadCapture\" | \"onErrorCapture\" | \"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\" | \"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\" | \"toastLifeTimeMs\" | \"iconType\" | \"onClose\" | \"data-test-subj\" | \"css\"> & { title?: string | ", - "MountPoint", + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.MountPoint", + "text": "MountPoint" + }, " | undefined; text?: string | ", - "MountPoint", + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.MountPoint", + "text": "MountPoint" + }, " | undefined; } & { id: string; }" ], - "path": "node_modules/@types/kbn__core-notifications-browser/index.d.ts", + "path": "packages/core/notifications/core-notifications-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -15651,9 +18303,15 @@ ], "signature": [ "string | ", - "ToastInputFields" + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.ToastInputFields", + "text": "ToastInputFields" + } ], - "path": "node_modules/@types/kbn__core-notifications-browser/index.d.ts", + "path": "packages/core/notifications/core-notifications-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -15671,12 +18329,24 @@ "Pick<", "Toast", ", \"children\" | \"onError\" | \"hidden\" | \"color\" | \"className\" | \"onChange\" | \"onKeyDown\" | \"onClick\" | \"security\" | \"defaultValue\" | \"lang\" | \"defaultChecked\" | \"suppressContentEditableWarning\" | \"suppressHydrationWarning\" | \"accessKey\" | \"contentEditable\" | \"contextMenu\" | \"dir\" | \"draggable\" | \"placeholder\" | \"slot\" | \"spellCheck\" | \"style\" | \"tabIndex\" | \"translate\" | \"radioGroup\" | \"role\" | \"about\" | \"datatype\" | \"inlist\" | \"prefix\" | \"property\" | \"resource\" | \"typeof\" | \"vocab\" | \"autoCapitalize\" | \"autoCorrect\" | \"autoSave\" | \"itemProp\" | \"itemScope\" | \"itemType\" | \"itemID\" | \"itemRef\" | \"results\" | \"unselectable\" | \"inputMode\" | \"is\" | \"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\" | \"onChangeCapture\" | \"onBeforeInput\" | \"onBeforeInputCapture\" | \"onInput\" | \"onInputCapture\" | \"onReset\" | \"onResetCapture\" | \"onSubmit\" | \"onSubmitCapture\" | \"onInvalid\" | \"onInvalidCapture\" | \"onLoad\" | \"onLoadCapture\" | \"onErrorCapture\" | \"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\" | \"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\" | \"toastLifeTimeMs\" | \"iconType\" | \"onClose\" | \"data-test-subj\" | \"css\"> & { title?: string | ", - "MountPoint", + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.MountPoint", + "text": "MountPoint" + }, " | undefined; text?: string | ", - "MountPoint", + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.MountPoint", + "text": "MountPoint" + }, " | undefined; }" ], - "path": "node_modules/@types/kbn__core-notifications-browser/index.d.ts", + "path": "packages/core/notifications/core-notifications-browser/src/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -15691,9 +18361,15 @@ "\n{@link IToasts}" ], "signature": [ - "IToasts" + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.IToasts", + "text": "IToasts" + } ], - "path": "node_modules/@types/kbn__core-notifications-browser/index.d.ts", + "path": "packages/core/notifications/core-notifications-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -15708,9 +18384,15 @@ "\n{@link IToasts}" ], "signature": [ - "IToasts" + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.IToasts", + "text": "IToasts" + } ], - "path": "node_modules/@types/kbn__core-notifications-browser/index.d.ts", + "path": "packages/core/notifications/core-notifications-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -15727,7 +18409,7 @@ "signature": [ "\"string\" | \"number\" | \"boolean\" | \"undefined\" | \"color\" | \"image\" | \"json\" | \"markdown\" | \"select\" | \"array\"" ], - "path": "node_modules/@types/kbn__core-ui-settings-common/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-common/src/ui_settings.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -15744,7 +18426,7 @@ "signature": [ "() => void" ], - "path": "node_modules/@types/kbn__core-mount-utils-browser/index.d.ts", + "path": "packages/core/mount-utils/core-mount-utils-browser/src/mount_point.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -15754,13 +18436,16 @@ { "parentPluginId": "core", "id": "def-public.URL_MAX_LENGTH", - "type": "number", + "type": "CompoundType", "tags": [], "label": "URL_MAX_LENGTH", "description": [ "\nThe max URL length allowed by the current browser. Should be used to display warnings to users when query parameters\ncause URL to exceed this limit." ], - "path": "node_modules/@types/kbn__core-apps-browser-internal/index.d.ts", + "signature": [ + "2000 | 25000" + ], + "path": "packages/core/apps/core-apps-browser-internal/src/errors/url_overflow.tsx", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -15776,10 +18461,16 @@ "description": [], "signature": [ "{ [x: string]: ", - "AppCategory", + { + "pluginId": "@kbn/core-application-common", + "scope": "common", + "docId": "kibKbnCoreApplicationCommonPluginApi", + "section": "def-common.AppCategory", + "text": "AppCategory" + }, "; }" ], - "path": "node_modules/@types/kbn__core-application-common/index.d.ts", + "path": "packages/core/application/core-application-common/src/default_app_categories.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -15798,39 +18489,57 @@ "\nCSP configuration for use in Kibana." ], "signature": [ - "CspConfig", + { + "pluginId": "@kbn/core-http-server-internal", + "scope": "server", + "docId": "kibKbnCoreHttpServerInternalPluginApi", + "section": "def-server.CspConfig", + "text": "CspConfig" + }, " implements ", - "ICspConfig" + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.ICspConfig", + "text": "ICspConfig" + } ], - "path": "node_modules/@types/kbn__core-http-server-internal/index.d.ts", + "path": "packages/core/http/core-http-server-internal/src/csp/csp_config.ts", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "core", - "id": "def-server.CspConfig.private", - "type": "Any", + "id": "def-server.CspConfig.DEFAULT", + "type": "Object", "tags": [], - "label": "#private", + "label": "DEFAULT", "description": [], "signature": [ - "any" + { + "pluginId": "@kbn/core-http-server-internal", + "scope": "server", + "docId": "kibKbnCoreHttpServerInternalPluginApi", + "section": "def-server.CspConfig", + "text": "CspConfig" + } ], - "path": "node_modules/@types/kbn__core-http-server-internal/index.d.ts", + "path": "packages/core/http/core-http-server-internal/src/csp/csp_config.ts", "deprecated": false, "trackAdoption": false }, { "parentPluginId": "core", - "id": "def-server.CspConfig.DEFAULT", + "id": "def-server.CspConfig.directives", "type": "Object", "tags": [], - "label": "DEFAULT", + "label": "#directives", "description": [], "signature": [ - "CspConfig" + "CspDirectives" ], - "path": "node_modules/@types/kbn__core-http-server-internal/index.d.ts", + "path": "packages/core/http/core-http-server-internal/src/csp/csp_config.ts", "deprecated": false, "trackAdoption": false }, @@ -15841,7 +18550,7 @@ "tags": [], "label": "strict", "description": [], - "path": "node_modules/@types/kbn__core-http-server-internal/index.d.ts", + "path": "packages/core/http/core-http-server-internal/src/csp/csp_config.ts", "deprecated": false, "trackAdoption": false }, @@ -15852,7 +18561,7 @@ "tags": [], "label": "warnLegacyBrowsers", "description": [], - "path": "node_modules/@types/kbn__core-http-server-internal/index.d.ts", + "path": "packages/core/http/core-http-server-internal/src/csp/csp_config.ts", "deprecated": false, "trackAdoption": false }, @@ -15863,7 +18572,7 @@ "tags": [], "label": "disableEmbedding", "description": [], - "path": "node_modules/@types/kbn__core-http-server-internal/index.d.ts", + "path": "packages/core/http/core-http-server-internal/src/csp/csp_config.ts", "deprecated": false, "trackAdoption": false }, @@ -15874,7 +18583,7 @@ "tags": [], "label": "header", "description": [], - "path": "node_modules/@types/kbn__core-http-server-internal/index.d.ts", + "path": "packages/core/http/core-http-server-internal/src/csp/csp_config.ts", "deprecated": false, "trackAdoption": false } @@ -15889,14 +18598,32 @@ "label": "EventLoopDelaysMonitor", "description": [], "signature": [ - "EventLoopDelaysMonitor", + { + "pluginId": "@kbn/core-metrics-collectors-server-internal", + "scope": "server", + "docId": "kibKbnCoreMetricsCollectorsServerInternalPluginApi", + "section": "def-server.EventLoopDelaysMonitor", + "text": "EventLoopDelaysMonitor" + }, " implements ", - "IEventLoopDelaysMonitor", + { + "pluginId": "@kbn/core-metrics-server", + "scope": "server", + "docId": "kibKbnCoreMetricsServerPluginApi", + "section": "def-server.IEventLoopDelaysMonitor", + "text": "IEventLoopDelaysMonitor" + }, "<", - "IntervalHistogram", + { + "pluginId": "@kbn/core-metrics-server", + "scope": "server", + "docId": "kibKbnCoreMetricsServerPluginApi", + "section": "def-server.IntervalHistogram", + "text": "IntervalHistogram" + }, ">" ], - "path": "node_modules/@types/kbn__core-metrics-collectors-server-internal/index.d.ts", + "path": "packages/core/metrics/core-metrics-collectors-server-internal/src/event_loop_delays_monitor.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -15912,7 +18639,7 @@ "signature": [ "any" ], - "path": "node_modules/@types/kbn__core-metrics-collectors-server-internal/index.d.ts", + "path": "packages/core/metrics/core-metrics-collectors-server-internal/src/event_loop_delays_monitor.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -15925,13 +18652,19 @@ "tags": [], "label": "collect", "description": [ - "\nCollect gathers event loop delays metrics from nodejs perf_hooks.monitorEventLoopDelay\nthe histogram calculations start from the last time `reset` was called or this\nEventLoopDelaysMonitor instance was created.\n\nReturns metrics in milliseconds.\n " + "\nCollect gathers event loop delays metrics from nodejs perf_hooks.monitorEventLoopDelay\nthe histogram calculations start from the last time `reset` was called or this\nEventLoopDelaysMonitor instance was created.\n\nReturns metrics in milliseconds." ], "signature": [ "() => ", - "IntervalHistogram" + { + "pluginId": "@kbn/core-metrics-server", + "scope": "server", + "docId": "kibKbnCoreMetricsServerPluginApi", + "section": "def-server.IntervalHistogram", + "text": "IntervalHistogram" + } ], - "path": "node_modules/@types/kbn__core-metrics-collectors-server-internal/index.d.ts", + "path": "packages/core/metrics/core-metrics-collectors-server-internal/src/event_loop_delays_monitor.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -15949,7 +18682,7 @@ "signature": [ "() => void" ], - "path": "node_modules/@types/kbn__core-metrics-collectors-server-internal/index.d.ts", + "path": "packages/core/metrics/core-metrics-collectors-server-internal/src/event_loop_delays_monitor.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -15967,7 +18700,7 @@ "signature": [ "() => void" ], - "path": "node_modules/@types/kbn__core-metrics-collectors-server-internal/index.d.ts", + "path": "packages/core/metrics/core-metrics-collectors-server-internal/src/event_loop_delays_monitor.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -15986,11 +18719,23 @@ "\nError to return when the validation is not successful." ], "signature": [ - "RouteValidationError", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.RouteValidationError", + "text": "RouteValidationError" + }, " extends ", - "SchemaTypeError" + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.SchemaTypeError", + "text": "SchemaTypeError" + } ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/route_validator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -16004,7 +18749,7 @@ "signature": [ "any" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/route_validator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -16018,7 +18763,7 @@ "signature": [ "string | Error" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/route_validator.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -16031,12 +18776,12 @@ "label": "path", "description": [], "signature": [ - "string[] | undefined" + "string[]" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/route_validator.ts", "deprecated": false, "trackAdoption": false, - "isRequired": false + "isRequired": true } ], "returnComment": [] @@ -16051,10 +18796,7 @@ "tags": [], "label": "SavedObjectsErrorHelpers", "description": [], - "signature": [ - "SavedObjectsErrorHelpers" - ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_error_helpers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -16067,9 +18809,15 @@ "description": [], "signature": [ "(error: any) => error is ", - "DecoratedError" + { + "pluginId": "@kbn/core-saved-objects-utils-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsUtilsServerPluginApi", + "section": "def-server.DecoratedError", + "text": "DecoratedError" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_error_helpers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -16083,7 +18831,7 @@ "signature": [ "any" ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_error_helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -16100,9 +18848,15 @@ "description": [], "signature": [ "(error: Error, reason?: string | undefined) => ", - "DecoratedError" + { + "pluginId": "@kbn/core-saved-objects-utils-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsUtilsServerPluginApi", + "section": "def-server.DecoratedError", + "text": "DecoratedError" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_error_helpers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -16116,7 +18870,7 @@ "signature": [ "Error" ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_error_helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -16131,7 +18885,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_error_helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -16148,9 +18902,15 @@ "description": [], "signature": [ "(reason?: string | undefined) => ", - "DecoratedError" + { + "pluginId": "@kbn/core-saved-objects-utils-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsUtilsServerPluginApi", + "section": "def-server.DecoratedError", + "text": "DecoratedError" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_error_helpers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -16164,7 +18924,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_error_helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -16181,9 +18941,15 @@ "description": [], "signature": [ "(type: string) => ", - "DecoratedError" + { + "pluginId": "@kbn/core-saved-objects-utils-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsUtilsServerPluginApi", + "section": "def-server.DecoratedError", + "text": "DecoratedError" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_error_helpers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -16197,7 +18963,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_error_helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -16214,10 +18980,16 @@ "description": [], "signature": [ "(error: Error | ", - "DecoratedError", + { + "pluginId": "@kbn/core-saved-objects-utils-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsUtilsServerPluginApi", + "section": "def-server.DecoratedError", + "text": "DecoratedError" + }, ") => boolean" ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_error_helpers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -16230,9 +19002,15 @@ "description": [], "signature": [ "Error | ", - "DecoratedError" + { + "pluginId": "@kbn/core-saved-objects-utils-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsUtilsServerPluginApi", + "section": "def-server.DecoratedError", + "text": "DecoratedError" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_error_helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -16249,9 +19027,15 @@ "description": [], "signature": [ "(versionInput?: string | undefined) => ", - "DecoratedError" + { + "pluginId": "@kbn/core-saved-objects-utils-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsUtilsServerPluginApi", + "section": "def-server.DecoratedError", + "text": "DecoratedError" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_error_helpers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -16265,7 +19049,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_error_helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -16282,10 +19066,16 @@ "description": [], "signature": [ "(error: Error | ", - "DecoratedError", + { + "pluginId": "@kbn/core-saved-objects-utils-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsUtilsServerPluginApi", + "section": "def-server.DecoratedError", + "text": "DecoratedError" + }, ") => boolean" ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_error_helpers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -16298,9 +19088,15 @@ "description": [], "signature": [ "Error | ", - "DecoratedError" + { + "pluginId": "@kbn/core-saved-objects-utils-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsUtilsServerPluginApi", + "section": "def-server.DecoratedError", + "text": "DecoratedError" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_error_helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -16317,9 +19113,15 @@ "description": [], "signature": [ "(error: Error, reason?: string | undefined) => ", - "DecoratedError" + { + "pluginId": "@kbn/core-saved-objects-utils-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsUtilsServerPluginApi", + "section": "def-server.DecoratedError", + "text": "DecoratedError" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_error_helpers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -16333,7 +19135,7 @@ "signature": [ "Error" ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_error_helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -16348,7 +19150,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_error_helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -16365,10 +19167,16 @@ "description": [], "signature": [ "(error: Error | ", - "DecoratedError", + { + "pluginId": "@kbn/core-saved-objects-utils-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsUtilsServerPluginApi", + "section": "def-server.DecoratedError", + "text": "DecoratedError" + }, ") => boolean" ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_error_helpers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -16381,9 +19189,15 @@ "description": [], "signature": [ "Error | ", - "DecoratedError" + { + "pluginId": "@kbn/core-saved-objects-utils-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsUtilsServerPluginApi", + "section": "def-server.DecoratedError", + "text": "DecoratedError" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_error_helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -16400,9 +19214,15 @@ "description": [], "signature": [ "(error: Error, reason?: string | undefined) => ", - "DecoratedError" + { + "pluginId": "@kbn/core-saved-objects-utils-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsUtilsServerPluginApi", + "section": "def-server.DecoratedError", + "text": "DecoratedError" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_error_helpers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -16416,7 +19236,7 @@ "signature": [ "Error" ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_error_helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -16431,7 +19251,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_error_helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -16448,10 +19268,16 @@ "description": [], "signature": [ "(error: Error | ", - "DecoratedError", + { + "pluginId": "@kbn/core-saved-objects-utils-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsUtilsServerPluginApi", + "section": "def-server.DecoratedError", + "text": "DecoratedError" + }, ") => boolean" ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_error_helpers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -16464,9 +19290,15 @@ "description": [], "signature": [ "Error | ", - "DecoratedError" + { + "pluginId": "@kbn/core-saved-objects-utils-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsUtilsServerPluginApi", + "section": "def-server.DecoratedError", + "text": "DecoratedError" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_error_helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -16483,9 +19315,15 @@ "description": [], "signature": [ "(error: Error, reason?: string | undefined) => ", - "DecoratedError" + { + "pluginId": "@kbn/core-saved-objects-utils-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsUtilsServerPluginApi", + "section": "def-server.DecoratedError", + "text": "DecoratedError" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_error_helpers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -16499,7 +19337,7 @@ "signature": [ "Error" ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_error_helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -16514,7 +19352,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_error_helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -16531,10 +19369,16 @@ "description": [], "signature": [ "(error: Error | ", - "DecoratedError", + { + "pluginId": "@kbn/core-saved-objects-utils-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsUtilsServerPluginApi", + "section": "def-server.DecoratedError", + "text": "DecoratedError" + }, ") => boolean" ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_error_helpers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -16547,9 +19391,15 @@ "description": [], "signature": [ "Error | ", - "DecoratedError" + { + "pluginId": "@kbn/core-saved-objects-utils-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsUtilsServerPluginApi", + "section": "def-server.DecoratedError", + "text": "DecoratedError" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_error_helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -16565,10 +19415,16 @@ "label": "createGenericNotFoundError", "description": [], "signature": [ - "(type?: string | null | undefined, id?: string | null | undefined) => ", - "DecoratedError" + "(type?: string | null, id?: string | null) => ", + { + "pluginId": "@kbn/core-saved-objects-utils-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsUtilsServerPluginApi", + "section": "def-server.DecoratedError", + "text": "DecoratedError" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_error_helpers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -16580,9 +19436,9 @@ "label": "type", "description": [], "signature": [ - "string | null | undefined" + "string | null" ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_error_helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -16595,9 +19451,9 @@ "label": "id", "description": [], "signature": [ - "string | null | undefined" + "string | null" ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_error_helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -16614,9 +19470,15 @@ "description": [], "signature": [ "(alias: string) => ", - "DecoratedError" + { + "pluginId": "@kbn/core-saved-objects-utils-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsUtilsServerPluginApi", + "section": "def-server.DecoratedError", + "text": "DecoratedError" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_error_helpers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -16630,7 +19492,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_error_helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -16647,9 +19509,15 @@ "description": [], "signature": [ "(error: Error, alias: string) => ", - "DecoratedError" + { + "pluginId": "@kbn/core-saved-objects-utils-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsUtilsServerPluginApi", + "section": "def-server.DecoratedError", + "text": "DecoratedError" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_error_helpers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -16663,7 +19531,7 @@ "signature": [ "Error" ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_error_helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -16678,7 +19546,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_error_helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -16695,10 +19563,16 @@ "description": [], "signature": [ "(error: Error | ", - "DecoratedError", + { + "pluginId": "@kbn/core-saved-objects-utils-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsUtilsServerPluginApi", + "section": "def-server.DecoratedError", + "text": "DecoratedError" + }, ") => boolean" ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_error_helpers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -16711,9 +19585,15 @@ "description": [], "signature": [ "Error | ", - "DecoratedError" + { + "pluginId": "@kbn/core-saved-objects-utils-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsUtilsServerPluginApi", + "section": "def-server.DecoratedError", + "text": "DecoratedError" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_error_helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -16730,9 +19610,15 @@ "description": [], "signature": [ "(error: Error, reason?: string | undefined) => ", - "DecoratedError" + { + "pluginId": "@kbn/core-saved-objects-utils-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsUtilsServerPluginApi", + "section": "def-server.DecoratedError", + "text": "DecoratedError" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_error_helpers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -16746,7 +19632,7 @@ "signature": [ "Error" ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_error_helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -16761,7 +19647,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_error_helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -16778,9 +19664,15 @@ "description": [], "signature": [ "(type: string, id: string, reason?: string | undefined) => ", - "DecoratedError" + { + "pluginId": "@kbn/core-saved-objects-utils-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsUtilsServerPluginApi", + "section": "def-server.DecoratedError", + "text": "DecoratedError" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_error_helpers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -16794,7 +19686,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_error_helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -16809,7 +19701,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_error_helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -16824,7 +19716,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_error_helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -16841,10 +19733,16 @@ "description": [], "signature": [ "(error: Error | ", - "DecoratedError", + { + "pluginId": "@kbn/core-saved-objects-utils-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsUtilsServerPluginApi", + "section": "def-server.DecoratedError", + "text": "DecoratedError" + }, ") => boolean" ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_error_helpers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -16857,9 +19755,15 @@ "description": [], "signature": [ "Error | ", - "DecoratedError" + { + "pluginId": "@kbn/core-saved-objects-utils-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsUtilsServerPluginApi", + "section": "def-server.DecoratedError", + "text": "DecoratedError" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_error_helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -16876,9 +19780,15 @@ "description": [], "signature": [ "(error: Error, reason?: string | undefined) => ", - "DecoratedError" + { + "pluginId": "@kbn/core-saved-objects-utils-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsUtilsServerPluginApi", + "section": "def-server.DecoratedError", + "text": "DecoratedError" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_error_helpers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -16892,7 +19802,7 @@ "signature": [ "Error" ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_error_helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -16907,7 +19817,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_error_helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -16924,9 +19834,15 @@ "description": [], "signature": [ "(type: string, id: string) => ", - "DecoratedError" + { + "pluginId": "@kbn/core-saved-objects-utils-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsUtilsServerPluginApi", + "section": "def-server.DecoratedError", + "text": "DecoratedError" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_error_helpers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -16940,7 +19856,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_error_helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -16955,7 +19871,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_error_helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -16972,10 +19888,16 @@ "description": [], "signature": [ "(error: Error | ", - "DecoratedError", + { + "pluginId": "@kbn/core-saved-objects-utils-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsUtilsServerPluginApi", + "section": "def-server.DecoratedError", + "text": "DecoratedError" + }, ") => boolean" ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_error_helpers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -16988,9 +19910,15 @@ "description": [], "signature": [ "Error | ", - "DecoratedError" + { + "pluginId": "@kbn/core-saved-objects-utils-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsUtilsServerPluginApi", + "section": "def-server.DecoratedError", + "text": "DecoratedError" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_error_helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -17007,9 +19935,15 @@ "description": [], "signature": [ "(error: Error, reason?: string | undefined) => ", - "DecoratedError" + { + "pluginId": "@kbn/core-saved-objects-utils-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsUtilsServerPluginApi", + "section": "def-server.DecoratedError", + "text": "DecoratedError" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_error_helpers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -17023,7 +19957,7 @@ "signature": [ "Error" ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_error_helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -17038,7 +19972,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_error_helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -17055,10 +19989,16 @@ "description": [], "signature": [ "(error: Error | ", - "DecoratedError", + { + "pluginId": "@kbn/core-saved-objects-utils-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsUtilsServerPluginApi", + "section": "def-server.DecoratedError", + "text": "DecoratedError" + }, ") => boolean" ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_error_helpers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -17071,9 +20011,15 @@ "description": [], "signature": [ "Error | ", - "DecoratedError" + { + "pluginId": "@kbn/core-saved-objects-utils-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsUtilsServerPluginApi", + "section": "def-server.DecoratedError", + "text": "DecoratedError" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_error_helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -17090,9 +20036,15 @@ "description": [], "signature": [ "(error: Error, reason?: string | undefined) => ", - "DecoratedError" + { + "pluginId": "@kbn/core-saved-objects-utils-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsUtilsServerPluginApi", + "section": "def-server.DecoratedError", + "text": "DecoratedError" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_error_helpers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -17106,7 +20058,7 @@ "signature": [ "Error" ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_error_helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -17121,7 +20073,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_error_helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -17138,10 +20090,16 @@ "description": [], "signature": [ "(error: Error | ", - "DecoratedError", + { + "pluginId": "@kbn/core-saved-objects-utils-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsUtilsServerPluginApi", + "section": "def-server.DecoratedError", + "text": "DecoratedError" + }, ") => boolean" ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_error_helpers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -17154,9 +20112,15 @@ "description": [], "signature": [ "Error | ", - "DecoratedError" + { + "pluginId": "@kbn/core-saved-objects-utils-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsUtilsServerPluginApi", + "section": "def-server.DecoratedError", + "text": "DecoratedError" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_error_helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -17173,9 +20137,15 @@ "description": [], "signature": [ "(error: Error, reason?: string | undefined) => ", - "DecoratedError" + { + "pluginId": "@kbn/core-saved-objects-utils-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsUtilsServerPluginApi", + "section": "def-server.DecoratedError", + "text": "DecoratedError" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_error_helpers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -17189,7 +20159,7 @@ "signature": [ "Error" ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_error_helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -17204,7 +20174,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_error_helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -17221,10 +20191,16 @@ "description": [], "signature": [ "(error: Error | ", - "DecoratedError", + { + "pluginId": "@kbn/core-saved-objects-utils-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsUtilsServerPluginApi", + "section": "def-server.DecoratedError", + "text": "DecoratedError" + }, ") => boolean" ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_error_helpers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -17237,9 +20213,15 @@ "description": [], "signature": [ "Error | ", - "DecoratedError" + { + "pluginId": "@kbn/core-saved-objects-utils-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsUtilsServerPluginApi", + "section": "def-server.DecoratedError", + "text": "DecoratedError" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_error_helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -17255,10 +20237,16 @@ "label": "createGenericNotFoundEsUnavailableError", "description": [], "signature": [ - "(type?: string | null | undefined, id?: string | null | undefined) => ", - "DecoratedError" + "(type?: string | null, id?: string | null) => ", + { + "pluginId": "@kbn/core-saved-objects-utils-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsUtilsServerPluginApi", + "section": "def-server.DecoratedError", + "text": "DecoratedError" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_error_helpers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -17270,9 +20258,9 @@ "label": "type", "description": [], "signature": [ - "string | null | undefined" + "string | null" ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_error_helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -17285,9 +20273,9 @@ "label": "id", "description": [], "signature": [ - "string | null | undefined" + "string | null" ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_error_helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -17306,38 +20294,19 @@ "label": "SavedObjectsExportError", "description": [], "signature": [ - "SavedObjectsExportError", + { + "pluginId": "@kbn/core-saved-objects-import-export-server-internal", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsImportExportServerInternalPluginApi", + "section": "def-server.SavedObjectsExportError", + "text": "SavedObjectsExportError" + }, " extends Error" ], - "path": "node_modules/@types/kbn__core-saved-objects-import-export-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/errors.ts", "deprecated": false, "trackAdoption": false, "children": [ - { - "parentPluginId": "core", - "id": "def-server.SavedObjectsExportError.type", - "type": "string", - "tags": [], - "label": "type", - "description": [], - "path": "node_modules/@types/kbn__core-saved-objects-import-export-server-internal/index.d.ts", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "core", - "id": "def-server.SavedObjectsExportError.attributes", - "type": "Object", - "tags": [], - "label": "attributes", - "description": [], - "signature": [ - "Record | undefined" - ], - "path": "node_modules/@types/kbn__core-saved-objects-import-export-server-internal/index.d.ts", - "deprecated": false, - "trackAdoption": false - }, { "parentPluginId": "core", "id": "def-server.SavedObjectsExportError.Unnamed", @@ -17348,7 +20317,7 @@ "signature": [ "any" ], - "path": "node_modules/@types/kbn__core-saved-objects-import-export-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/errors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -17362,7 +20331,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-import-export-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/errors.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -17377,7 +20346,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-import-export-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/errors.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -17392,7 +20361,7 @@ "signature": [ "Record | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-import-export-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/errors.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -17409,9 +20378,15 @@ "description": [], "signature": [ "(limit: number) => ", - "SavedObjectsExportError" + { + "pluginId": "@kbn/core-saved-objects-import-export-server-internal", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsImportExportServerInternalPluginApi", + "section": "def-server.SavedObjectsExportError", + "text": "SavedObjectsExportError" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-import-export-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/errors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -17425,7 +20400,7 @@ "signature": [ "number" ], - "path": "node_modules/@types/kbn__core-saved-objects-import-export-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/errors.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -17442,11 +20417,23 @@ "description": [], "signature": [ "(objects: ", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "[]) => ", - "SavedObjectsExportError" + { + "pluginId": "@kbn/core-saved-objects-import-export-server-internal", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsImportExportServerInternalPluginApi", + "section": "def-server.SavedObjectsExportError", + "text": "SavedObjectsExportError" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-import-export-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/errors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -17458,10 +20445,16 @@ "label": "objects", "description": [], "signature": [ - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-import-export-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/errors.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -17480,11 +20473,23 @@ ], "signature": [ "(objects: ", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "[], cause: Error) => ", - "SavedObjectsExportError" + { + "pluginId": "@kbn/core-saved-objects-import-export-server-internal", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsImportExportServerInternalPluginApi", + "section": "def-server.SavedObjectsExportError", + "text": "SavedObjectsExportError" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-import-export-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/errors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -17496,10 +20501,16 @@ "label": "objects", "description": [], "signature": [ - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-import-export-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/errors.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -17514,7 +20525,7 @@ "signature": [ "Error" ], - "path": "node_modules/@types/kbn__core-saved-objects-import-export-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/errors.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -17533,9 +20544,15 @@ ], "signature": [ "(objectKeys: string[]) => ", - "SavedObjectsExportError" + { + "pluginId": "@kbn/core-saved-objects-import-export-server-internal", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsImportExportServerInternalPluginApi", + "section": "def-server.SavedObjectsExportError", + "text": "SavedObjectsExportError" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-import-export-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/errors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -17549,7 +20566,7 @@ "signature": [ "string[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-import-export-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/errors.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -17568,38 +20585,19 @@ "label": "SavedObjectsImportError", "description": [], "signature": [ - "SavedObjectsImportError", + { + "pluginId": "@kbn/core-saved-objects-import-export-server-internal", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsImportExportServerInternalPluginApi", + "section": "def-server.SavedObjectsImportError", + "text": "SavedObjectsImportError" + }, " extends Error" ], - "path": "node_modules/@types/kbn__core-saved-objects-import-export-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/errors.ts", "deprecated": false, "trackAdoption": false, "children": [ - { - "parentPluginId": "core", - "id": "def-server.SavedObjectsImportError.type", - "type": "string", - "tags": [], - "label": "type", - "description": [], - "path": "node_modules/@types/kbn__core-saved-objects-import-export-server-internal/index.d.ts", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "core", - "id": "def-server.SavedObjectsImportError.attributes", - "type": "Object", - "tags": [], - "label": "attributes", - "description": [], - "signature": [ - "Record | undefined" - ], - "path": "node_modules/@types/kbn__core-saved-objects-import-export-server-internal/index.d.ts", - "deprecated": false, - "trackAdoption": false - }, { "parentPluginId": "core", "id": "def-server.SavedObjectsImportError.importSizeExceeded", @@ -17609,9 +20607,15 @@ "description": [], "signature": [ "(limit: number) => ", - "SavedObjectsImportError" + { + "pluginId": "@kbn/core-saved-objects-import-export-server-internal", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsImportExportServerInternalPluginApi", + "section": "def-server.SavedObjectsImportError", + "text": "SavedObjectsImportError" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-import-export-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/errors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -17625,7 +20629,7 @@ "signature": [ "number" ], - "path": "node_modules/@types/kbn__core-saved-objects-import-export-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/errors.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -17642,9 +20646,15 @@ "description": [], "signature": [ "(nonUniqueEntries: string[]) => ", - "SavedObjectsImportError" + { + "pluginId": "@kbn/core-saved-objects-import-export-server-internal", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsImportExportServerInternalPluginApi", + "section": "def-server.SavedObjectsImportError", + "text": "SavedObjectsImportError" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-import-export-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/errors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -17658,7 +20668,7 @@ "signature": [ "string[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-import-export-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/errors.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -17675,9 +20685,15 @@ "description": [], "signature": [ "(nonUniqueRetryObjects: string[]) => ", - "SavedObjectsImportError" + { + "pluginId": "@kbn/core-saved-objects-import-export-server-internal", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsImportExportServerInternalPluginApi", + "section": "def-server.SavedObjectsImportError", + "text": "SavedObjectsImportError" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-import-export-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/errors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -17691,7 +20707,7 @@ "signature": [ "string[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-import-export-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/errors.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -17708,9 +20724,15 @@ "description": [], "signature": [ "(nonUniqueRetryDestinations: string[]) => ", - "SavedObjectsImportError" + { + "pluginId": "@kbn/core-saved-objects-import-export-server-internal", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsImportExportServerInternalPluginApi", + "section": "def-server.SavedObjectsImportError", + "text": "SavedObjectsImportError" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-import-export-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/errors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -17724,7 +20746,7 @@ "signature": [ "string[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-import-export-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/errors.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -17741,11 +20763,23 @@ "description": [], "signature": [ "(objects: ", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "[]) => ", - "SavedObjectsImportError" + { + "pluginId": "@kbn/core-saved-objects-import-export-server-internal", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsImportExportServerInternalPluginApi", + "section": "def-server.SavedObjectsImportError", + "text": "SavedObjectsImportError" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-import-export-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/errors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -17757,10 +20791,16 @@ "label": "objects", "description": [], "signature": [ - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-import-export-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/errors.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -17779,11 +20819,23 @@ "label": "SavedObjectsRepository", "description": [], "signature": [ - "SavedObjectsRepository", + { + "pluginId": "@kbn/core-saved-objects-api-server-internal", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerInternalPluginApi", + "section": "def-server.SavedObjectsRepository", + "text": "SavedObjectsRepository" + }, " implements ", - "ISavedObjectsRepository" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.ISavedObjectsRepository", + "text": "ISavedObjectsRepository" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -17798,12 +20850,24 @@ ], "signature": [ "(type: string, attributes: T, options?: ", - "SavedObjectsCreateOptions", - " | undefined) => Promise<", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsCreateOptions", + "text": "SavedObjectsCreateOptions" + }, + ") => Promise<", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, ">" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -17817,7 +20881,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -17832,7 +20896,7 @@ "signature": [ "T" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -17845,13 +20909,18 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsCreateOptions", - " | undefined" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsCreateOptions", + "text": "SavedObjectsCreateOptions" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, "trackAdoption": false, - "isRequired": false + "isRequired": true } ], "returnComment": [] @@ -17867,14 +20936,32 @@ ], "signature": [ "(objects: ", - "SavedObjectsBulkCreateObject", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkCreateObject", + "text": "SavedObjectsBulkCreateObject" + }, "[], options?: ", - "SavedObjectsCreateOptions", - " | undefined) => Promise<", - "SavedObjectsBulkResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsCreateOptions", + "text": "SavedObjectsCreateOptions" + }, + ") => Promise<", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkResponse", + "text": "SavedObjectsBulkResponse" + }, ">" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -17886,10 +20973,16 @@ "label": "objects", "description": [], "signature": [ - "SavedObjectsBulkCreateObject", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkCreateObject", + "text": "SavedObjectsBulkCreateObject" + }, "[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -17902,13 +20995,18 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsCreateOptions", - " | undefined" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsCreateOptions", + "text": "SavedObjectsCreateOptions" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, "trackAdoption": false, - "isRequired": false + "isRequired": true } ], "returnComment": [] @@ -17924,14 +21022,32 @@ ], "signature": [ "(objects?: ", - "SavedObjectsCheckConflictsObject", - "[] | undefined, options?: ", - "SavedObjectsBaseOptions", - " | undefined) => Promise<", - "SavedObjectsCheckConflictsResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsCheckConflictsObject", + "text": "SavedObjectsCheckConflictsObject" + }, + "[], options?: ", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + }, + ") => Promise<", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsCheckConflictsResponse", + "text": "SavedObjectsCheckConflictsResponse" + }, ">" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -17943,13 +21059,19 @@ "label": "objects", "description": [], "signature": [ - "SavedObjectsCheckConflictsObject", - "[] | undefined" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsCheckConflictsObject", + "text": "SavedObjectsCheckConflictsObject" + }, + "[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, "trackAdoption": false, - "isRequired": false + "isRequired": true }, { "parentPluginId": "core", @@ -17959,13 +21081,18 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsBaseOptions", - " | undefined" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, "trackAdoption": false, - "isRequired": false + "isRequired": true } ], "returnComment": [] @@ -17981,10 +21108,16 @@ ], "signature": [ "(type: string, id: string, options?: ", - "SavedObjectsDeleteOptions", - " | undefined) => Promise<{}>" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsDeleteOptions", + "text": "SavedObjectsDeleteOptions" + }, + ") => Promise<{}>" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -17998,7 +21131,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -18013,7 +21146,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -18026,13 +21159,18 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsDeleteOptions", - " | undefined" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsDeleteOptions", + "text": "SavedObjectsDeleteOptions" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, "trackAdoption": false, - "isRequired": false + "isRequired": true } ], "returnComment": [] @@ -18048,14 +21186,32 @@ ], "signature": [ "(objects: ", - "SavedObjectsBulkDeleteObject", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkDeleteObject", + "text": "SavedObjectsBulkDeleteObject" + }, "[], options?: ", - "SavedObjectsBulkDeleteOptions", - " | undefined) => Promise<", - "SavedObjectsBulkDeleteResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkDeleteOptions", + "text": "SavedObjectsBulkDeleteOptions" + }, + ") => Promise<", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkDeleteResponse", + "text": "SavedObjectsBulkDeleteResponse" + }, ">" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -18067,10 +21223,16 @@ "label": "objects", "description": [], "signature": [ - "SavedObjectsBulkDeleteObject", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkDeleteObject", + "text": "SavedObjectsBulkDeleteObject" + }, "[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -18083,13 +21245,18 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsBulkDeleteOptions", - " | undefined" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkDeleteOptions", + "text": "SavedObjectsBulkDeleteOptions" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, "trackAdoption": false, - "isRequired": false + "isRequired": true } ], "returnComment": [] @@ -18105,10 +21272,16 @@ ], "signature": [ "(namespace: string, options?: ", - "SavedObjectsDeleteByNamespaceOptions", - " | undefined) => Promise" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsDeleteByNamespaceOptions", + "text": "SavedObjectsDeleteByNamespaceOptions" + }, + ") => Promise" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -18122,7 +21295,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -18135,13 +21308,18 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsDeleteByNamespaceOptions", - " | undefined" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsDeleteByNamespaceOptions", + "text": "SavedObjectsDeleteByNamespaceOptions" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, "trackAdoption": false, - "isRequired": false + "isRequired": true } ], "returnComment": [] @@ -18157,12 +21335,24 @@ ], "signature": [ "(options: ", - "SavedObjectsFindOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsFindOptions", + "text": "SavedObjectsFindOptions" + }, ") => Promise<", - "SavedObjectsFindResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsFindResponse", + "text": "SavedObjectsFindResponse" + }, ">" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -18174,9 +21364,15 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsFindOptions" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsFindOptions", + "text": "SavedObjectsFindOptions" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -18195,14 +21391,32 @@ ], "signature": [ "(objects?: ", - "SavedObjectsBulkGetObject", - "[] | undefined, options?: ", - "SavedObjectsBaseOptions", - " | undefined) => Promise<", - "SavedObjectsBulkResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkGetObject", + "text": "SavedObjectsBulkGetObject" + }, + "[], options?: ", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + }, + ") => Promise<", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkResponse", + "text": "SavedObjectsBulkResponse" + }, ">" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -18214,13 +21428,19 @@ "label": "objects", "description": [], "signature": [ - "SavedObjectsBulkGetObject", - "[] | undefined" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkGetObject", + "text": "SavedObjectsBulkGetObject" + }, + "[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, "trackAdoption": false, - "isRequired": false + "isRequired": true }, { "parentPluginId": "core", @@ -18230,13 +21450,18 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsBaseOptions", - " | undefined" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, "trackAdoption": false, - "isRequired": false + "isRequired": true } ], "returnComment": [] @@ -18252,14 +21477,32 @@ ], "signature": [ "(objects: ", - "SavedObjectsBulkResolveObject", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkResolveObject", + "text": "SavedObjectsBulkResolveObject" + }, "[], options?: ", - "SavedObjectsBaseOptions", - " | undefined) => Promise<", - "SavedObjectsBulkResolveResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + }, + ") => Promise<", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkResolveResponse", + "text": "SavedObjectsBulkResolveResponse" + }, ">" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -18271,10 +21514,16 @@ "label": "objects", "description": [], "signature": [ - "SavedObjectsBulkResolveObject", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkResolveObject", + "text": "SavedObjectsBulkResolveObject" + }, "[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -18287,13 +21536,18 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsBaseOptions", - " | undefined" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, "trackAdoption": false, - "isRequired": false + "isRequired": true } ], "returnComment": [] @@ -18309,12 +21563,24 @@ ], "signature": [ "(type: string, id: string, options?: ", - "SavedObjectsBaseOptions", - " | undefined) => Promise<", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + }, + ") => Promise<", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, ">" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -18328,7 +21594,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -18343,7 +21609,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -18356,13 +21622,18 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsBaseOptions", - " | undefined" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, "trackAdoption": false, - "isRequired": false + "isRequired": true } ], "returnComment": [] @@ -18378,12 +21649,24 @@ ], "signature": [ "(type: string, id: string, options?: ", - "SavedObjectsBaseOptions", - " | undefined) => Promise<", - "SavedObjectsResolveResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + }, + ") => Promise<", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsResolveResponse", + "text": "SavedObjectsResolveResponse" + }, ">" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -18397,7 +21680,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -18412,7 +21695,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -18425,13 +21708,18 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsBaseOptions", - " | undefined" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, "trackAdoption": false, - "isRequired": false + "isRequired": true } ], "returnComment": [] @@ -18447,12 +21735,24 @@ ], "signature": [ "(type: string, id: string, attributes: Partial, options?: ", - "SavedObjectsUpdateOptions", - " | undefined) => Promise<", - "SavedObjectsUpdateResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsUpdateOptions", + "text": "SavedObjectsUpdateOptions" + }, + ") => Promise<", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsUpdateResponse", + "text": "SavedObjectsUpdateResponse" + }, ">" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -18466,7 +21766,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -18481,7 +21781,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -18496,7 +21796,7 @@ "signature": [ "Partial" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -18509,13 +21809,19 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsUpdateOptions", - " | undefined" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsUpdateOptions", + "text": "SavedObjectsUpdateOptions" + }, + "" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, "trackAdoption": false, - "isRequired": false + "isRequired": true } ], "returnComment": [] @@ -18531,14 +21837,32 @@ ], "signature": [ "(objects: ", - "SavedObjectsCollectMultiNamespaceReferencesObject", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsCollectMultiNamespaceReferencesObject", + "text": "SavedObjectsCollectMultiNamespaceReferencesObject" + }, "[], options?: ", - "SavedObjectsCollectMultiNamespaceReferencesOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsCollectMultiNamespaceReferencesOptions", + "text": "SavedObjectsCollectMultiNamespaceReferencesOptions" + }, " | undefined) => Promise<", - "SavedObjectsCollectMultiNamespaceReferencesResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsCollectMultiNamespaceReferencesResponse", + "text": "SavedObjectsCollectMultiNamespaceReferencesResponse" + }, ">" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -18550,10 +21874,16 @@ "label": "objects", "description": [], "signature": [ - "SavedObjectsCollectMultiNamespaceReferencesObject", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsCollectMultiNamespaceReferencesObject", + "text": "SavedObjectsCollectMultiNamespaceReferencesObject" + }, "[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -18566,10 +21896,16 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsCollectMultiNamespaceReferencesOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsCollectMultiNamespaceReferencesOptions", + "text": "SavedObjectsCollectMultiNamespaceReferencesOptions" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -18588,14 +21924,32 @@ ], "signature": [ "(objects: ", - "SavedObjectsUpdateObjectsSpacesObject", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsUpdateObjectsSpacesObject", + "text": "SavedObjectsUpdateObjectsSpacesObject" + }, "[], spacesToAdd: string[], spacesToRemove: string[], options?: ", - "SavedObjectsUpdateObjectsSpacesOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsUpdateObjectsSpacesOptions", + "text": "SavedObjectsUpdateObjectsSpacesOptions" + }, " | undefined) => Promise<", - "SavedObjectsUpdateObjectsSpacesResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsUpdateObjectsSpacesResponse", + "text": "SavedObjectsUpdateObjectsSpacesResponse" + }, ">" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -18607,10 +21961,16 @@ "label": "objects", "description": [], "signature": [ - "SavedObjectsUpdateObjectsSpacesObject", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsUpdateObjectsSpacesObject", + "text": "SavedObjectsUpdateObjectsSpacesObject" + }, "[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -18625,7 +21985,7 @@ "signature": [ "string[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -18640,7 +22000,7 @@ "signature": [ "string[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -18653,10 +22013,16 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsUpdateObjectsSpacesOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsUpdateObjectsSpacesOptions", + "text": "SavedObjectsUpdateObjectsSpacesOptions" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -18675,14 +22041,32 @@ ], "signature": [ "(objects: ", - "SavedObjectsBulkUpdateObject", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkUpdateObject", + "text": "SavedObjectsBulkUpdateObject" + }, "[], options?: ", - "SavedObjectsBulkUpdateOptions", - " | undefined) => Promise<", - "SavedObjectsBulkUpdateResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkUpdateOptions", + "text": "SavedObjectsBulkUpdateOptions" + }, + ") => Promise<", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkUpdateResponse", + "text": "SavedObjectsBulkUpdateResponse" + }, ">" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -18694,10 +22078,16 @@ "label": "objects", "description": [], "signature": [ - "SavedObjectsBulkUpdateObject", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkUpdateObject", + "text": "SavedObjectsBulkUpdateObject" + }, "[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -18710,13 +22100,18 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsBulkUpdateOptions", - " | undefined" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkUpdateOptions", + "text": "SavedObjectsBulkUpdateOptions" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, "trackAdoption": false, - "isRequired": false + "isRequired": true } ], "returnComment": [] @@ -18732,12 +22127,24 @@ ], "signature": [ "(type: string, id: string, options?: ", - "SavedObjectsRemoveReferencesToOptions", - " | undefined) => Promise<", - "SavedObjectsRemoveReferencesToResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsRemoveReferencesToOptions", + "text": "SavedObjectsRemoveReferencesToOptions" + }, + ") => Promise<", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsRemoveReferencesToResponse", + "text": "SavedObjectsRemoveReferencesToResponse" + }, ">" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -18751,7 +22158,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -18766,7 +22173,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -18779,13 +22186,18 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsRemoveReferencesToOptions", - " | undefined" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsRemoveReferencesToOptions", + "text": "SavedObjectsRemoveReferencesToOptions" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, "trackAdoption": false, - "isRequired": false + "isRequired": true } ], "returnComment": [] @@ -18801,14 +22213,32 @@ ], "signature": [ "(type: string, id: string, counterFields: (string | ", - "SavedObjectsIncrementCounterField", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsIncrementCounterField", + "text": "SavedObjectsIncrementCounterField" + }, ")[], options?: ", - "SavedObjectsIncrementCounterOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsIncrementCounterOptions", + "text": "SavedObjectsIncrementCounterOptions" + }, " | undefined) => Promise<", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, ">" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -18822,7 +22252,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -18837,7 +22267,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -18851,10 +22281,16 @@ "description": [], "signature": [ "(string | ", - "SavedObjectsIncrementCounterField", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsIncrementCounterField", + "text": "SavedObjectsIncrementCounterField" + }, ")[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -18867,10 +22303,16 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsIncrementCounterOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsIncrementCounterOptions", + "text": "SavedObjectsIncrementCounterOptions" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -18889,12 +22331,24 @@ ], "signature": [ "(type: string | string[], { keepAlive, preference }?: ", - "SavedObjectsOpenPointInTimeOptions", - " | undefined) => Promise<", - "SavedObjectsOpenPointInTimeResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsOpenPointInTimeOptions", + "text": "SavedObjectsOpenPointInTimeOptions" + }, + ") => Promise<", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsOpenPointInTimeResponse", + "text": "SavedObjectsOpenPointInTimeResponse" + }, ">" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -18908,7 +22362,7 @@ "signature": [ "string | string[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -18918,16 +22372,21 @@ "id": "def-server.SavedObjectsRepository.openPointInTimeForType.$2", "type": "Object", "tags": [], - "label": "{ keepAlive, preference }", + "label": "{ keepAlive = '5m', preference }", "description": [], "signature": [ - "SavedObjectsOpenPointInTimeOptions", - " | undefined" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsOpenPointInTimeOptions", + "text": "SavedObjectsOpenPointInTimeOptions" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, "trackAdoption": false, - "isRequired": false + "isRequired": true } ], "returnComment": [] @@ -18943,12 +22402,24 @@ ], "signature": [ "(id: string, options?: ", - "SavedObjectsBaseOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + }, " | undefined) => Promise<", - "SavedObjectsClosePointInTimeResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClosePointInTimeResponse", + "text": "SavedObjectsClosePointInTimeResponse" + }, ">" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -18962,7 +22433,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -18975,10 +22446,16 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsBaseOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -18997,14 +22474,32 @@ ], "signature": [ "(findOptions: ", - "SavedObjectsCreatePointInTimeFinderOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsCreatePointInTimeFinderOptions", + "text": "SavedObjectsCreatePointInTimeFinderOptions" + }, ", dependencies?: ", - "SavedObjectsCreatePointInTimeFinderDependencies", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsCreatePointInTimeFinderDependencies", + "text": "SavedObjectsCreatePointInTimeFinderDependencies" + }, " | undefined) => ", - "ISavedObjectsPointInTimeFinder", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.ISavedObjectsPointInTimeFinder", + "text": "ISavedObjectsPointInTimeFinder" + }, "" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -19016,9 +22511,15 @@ "label": "findOptions", "description": [], "signature": [ - "SavedObjectsCreatePointInTimeFinderOptions" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsCreatePointInTimeFinderOptions", + "text": "SavedObjectsCreatePointInTimeFinderOptions" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -19031,10 +22532,16 @@ "label": "dependencies", "description": [], "signature": [ - "SavedObjectsCreatePointInTimeFinderDependencies", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsCreatePointInTimeFinderDependencies", + "text": "SavedObjectsCreatePointInTimeFinderDependencies" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server-internal/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -19052,10 +22559,7 @@ "tags": [], "label": "SavedObjectsUtils", "description": [], - "signature": [ - "SavedObjectsUtils" - ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_utils.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -19071,10 +22575,9 @@ "signature": [ "(namespace?: string | undefined) => string" ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_utils.ts", "deprecated": false, "trackAdoption": false, - "returnComment": [], "children": [ { "parentPluginId": "core", @@ -19088,11 +22591,13 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_utils.ts", "deprecated": false, - "trackAdoption": false + "trackAdoption": false, + "isRequired": false } - ] + ], + "returnComment": [] }, { "parentPluginId": "core", @@ -19106,10 +22611,9 @@ "signature": [ "(namespace: string) => string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_utils.ts", "deprecated": false, "trackAdoption": false, - "returnComment": [], "children": [ { "parentPluginId": "core", @@ -19120,11 +22624,16 @@ "description": [ "The namespace string, which must be non-empty." ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "signature": [ + "string" + ], + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_utils.ts", "deprecated": false, - "trackAdoption": false + "trackAdoption": false, + "isRequired": true } - ] + ], + "returnComment": [] }, { "parentPluginId": "core", @@ -19137,31 +22646,50 @@ ], "signature": [ "({ page, perPage, }: ", - "SavedObjectsFindOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsFindOptions", + "text": "SavedObjectsFindOptions" + }, ") => ", - "SavedObjectsFindResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsFindResponse", + "text": "SavedObjectsFindResponse" + }, "" ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_utils.ts", "deprecated": false, "trackAdoption": false, - "returnComment": [], "children": [ { "parentPluginId": "core", "id": "def-server.SavedObjectsUtils.createEmptyFindResponse.$1", "type": "Object", "tags": [], - "label": "__0", + "label": "{\n page = FIND_DEFAULT_PAGE,\n perPage = FIND_DEFAULT_PER_PAGE,\n }", "description": [], "signature": [ - "SavedObjectsFindOptions" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsFindOptions", + "text": "SavedObjectsFindOptions" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_utils.ts", "deprecated": false, - "trackAdoption": false + "trackAdoption": false, + "isRequired": true } - ] + ], + "returnComment": [] }, { "parentPluginId": "core", @@ -19175,7 +22703,7 @@ "signature": [ "() => string" ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_utils.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -19195,7 +22723,7 @@ "signature": [ "(id: string | undefined) => boolean" ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_utils.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -19211,7 +22739,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_utils.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -19231,7 +22759,7 @@ "signature": [ "(namespace: string | undefined, type: string, id: string) => string" ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_utils.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -19247,7 +22775,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_utils.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -19264,7 +22792,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_utils.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -19281,7 +22809,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_utils.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -19307,16 +22835,33 @@ ], "signature": [ "(map1: ", - "SavedObjectMigrationMap", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectMigrationMap", + "text": "SavedObjectMigrationMap" + }, ", map2: ", - "SavedObjectMigrationMap", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectMigrationMap", + "text": "SavedObjectMigrationMap" + }, ") => ", - "SavedObjectMigrationMap" + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectMigrationMap", + "text": "SavedObjectMigrationMap" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/merge_migration_maps.ts", "deprecated": false, "trackAdoption": false, - "returnComment": [], "children": [ { "parentPluginId": "core", @@ -19326,11 +22871,18 @@ "label": "map1", "description": [], "signature": [ - "SavedObjectMigrationMap" + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectMigrationMap", + "text": "SavedObjectMigrationMap" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/merge_migration_maps.ts", "deprecated": false, - "trackAdoption": false + "trackAdoption": false, + "isRequired": true }, { "parentPluginId": "core", @@ -19340,13 +22892,21 @@ "label": "map2", "description": [], "signature": [ - "SavedObjectMigrationMap" + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectMigrationMap", + "text": "SavedObjectMigrationMap" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-utils-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/merge_migration_maps.ts", "deprecated": false, - "trackAdoption": false + "trackAdoption": false, + "isRequired": true } ], + "returnComment": [], "initialIsOpen": false }, { @@ -19358,1157 +22918,1096 @@ "description": [], "signature": [ "({ internalClient, log, kibanaVersion, ignoreVersionMismatch, esVersionCheckInterval: healthCheckInterval, }: ", - "PollEsNodesVersionOptions", + { + "pluginId": "@kbn/core-elasticsearch-server-internal", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerInternalPluginApi", + "section": "def-server.PollEsNodesVersionOptions", + "text": "PollEsNodesVersionOptions" + }, ") => ", "Observable", "<", - "NodesVersionCompatibility", + { + "pluginId": "@kbn/core-elasticsearch-server-internal", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerInternalPluginApi", + "section": "def-server.NodesVersionCompatibility", + "text": "NodesVersionCompatibility" + }, ">" ], - "path": "node_modules/@types/kbn__core-elasticsearch-server-internal/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server-internal/src/version_check/ensure_es_version.ts", "deprecated": false, "trackAdoption": false, - "returnComment": [], "children": [ { "parentPluginId": "core", "id": "def-server.pollEsNodesVersion.$1", "type": "Object", "tags": [], - "label": "__0", + "label": "{\n internalClient,\n log,\n kibanaVersion,\n ignoreVersionMismatch,\n esVersionCheckInterval: healthCheckInterval,\n}", "description": [], "signature": [ - "PollEsNodesVersionOptions" + { + "pluginId": "@kbn/core-elasticsearch-server-internal", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerInternalPluginApi", + "section": "def-server.PollEsNodesVersionOptions", + "text": "PollEsNodesVersionOptions" + } ], - "path": "node_modules/@types/kbn__core-elasticsearch-server-internal/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server-internal/src/version_check/ensure_es_version.ts", "deprecated": false, - "trackAdoption": false + "trackAdoption": false, + "isRequired": true } ], + "returnComment": [], "initialIsOpen": false } ], "interfaces": [ { "parentPluginId": "core", - "id": "def-server.AnalyticsClient", + "id": "def-server.AppCategory", "type": "Interface", "tags": [], - "label": "AnalyticsClient", + "label": "AppCategory", "description": [ - "\nAnalytics client's public APIs" - ], - "signature": [ - "AnalyticsClient" + "\nA category definition for nav links to know where to sort them in the left hand nav" ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/core/application/core-application-common/src/app_category.ts", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "core", - "id": "def-server.AnalyticsClient.reportEvent", - "type": "Function", - "tags": [ - "track-adoption" + "id": "def-server.AppCategory.id", + "type": "string", + "tags": [], + "label": "id", + "description": [ + "\nUnique identifier for the categories" ], - "label": "reportEvent", + "path": "packages/core/application/core-application-common/src/app_category.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "core", + "id": "def-server.AppCategory.label", + "type": "string", + "tags": [], + "label": "label", "description": [ - "\nReports a telemetry event." + "\nLabel used for category name.\nAlso used as aria-label if one isn't set." + ], + "path": "packages/core/application/core-application-common/src/app_category.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "core", + "id": "def-server.AppCategory.ariaLabel", + "type": "string", + "tags": [], + "label": "ariaLabel", + "description": [ + "\nIf the visual label isn't appropriate for screen readers,\ncan override it here" ], "signature": [ - "(eventType: string, eventData: EventTypeData) => void" + "string | undefined" ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/core/application/core-application-common/src/app_category.ts", "deprecated": false, - "trackAdoption": true, - "references": [ - { - "plugin": "security", - "path": "x-pack/plugins/security/server/analytics/analytics_service.ts" - }, - { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/services/analytics/types.ts" - }, - { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/services/analytics/analytics_service.ts" - }, + "trackAdoption": false + }, + { + "parentPluginId": "core", + "id": "def-server.AppCategory.order", + "type": "number", + "tags": [], + "label": "order", + "description": [ + "\nThe order that categories will be sorted in\nPrefer large steps between categories to allow for further editing\n(Default categories are in steps of 1000)" + ], + "signature": [ + "number | undefined" + ], + "path": "packages/core/application/core-application-common/src/app_category.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "core", + "id": "def-server.AppCategory.euiIconType", + "type": "string", + "tags": [], + "label": "euiIconType", + "description": [ + "\nDefine an icon to be used for the category\nIf the category is only 1 item, and no icon is defined, will default to the product icon\nDefaults to initials if no icon is defined" + ], + "signature": [ + "string | undefined" + ], + "path": "packages/core/application/core-application-common/src/app_category.ts", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "core", + "id": "def-server.AsyncPlugin", + "type": "Interface", + "tags": [ + "deprecated" + ], + "label": "AsyncPlugin", + "description": [ + "\nA plugin with asynchronous lifecycle methods.\n" + ], + "signature": [ + { + "pluginId": "@kbn/core-plugins-server", + "scope": "server", + "docId": "kibKbnCorePluginsServerPluginApi", + "section": "def-server.AsyncPlugin", + "text": "AsyncPlugin" + }, + "" + ], + "path": "packages/core/plugins/core-plugins-server/src/types.ts", + "deprecated": true, + "removeBy": "8.8.0", + "trackAdoption": false, + "references": [ + { + "plugin": "@kbn/core-plugins-server", + "path": "packages/core/plugins/core-plugins-server/src/types.ts" + }, + { + "plugin": "@kbn/core-plugins-server", + "path": "packages/core/plugins/core-plugins-server/src/index.ts" + }, + { + "plugin": "@kbn/core-plugins-server", + "path": "packages/core/plugins/core-plugins-server/index.ts" + }, + { + "plugin": "@kbn/core-plugins-server-internal", + "path": "packages/core/plugins/core-plugins-server-internal/src/plugin.ts" + }, + { + "plugin": "@kbn/core-plugins-server-internal", + "path": "packages/core/plugins/core-plugins-server-internal/src/plugin.ts" + } + ], + "children": [ + { + "parentPluginId": "core", + "id": "def-server.AsyncPlugin.setup", + "type": "Function", + "tags": [], + "label": "setup", + "description": [], + "signature": [ + "(core: ", { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/fleet_usage_sender.ts" + "pluginId": "@kbn/core-lifecycle-server", + "scope": "server", + "docId": "kibKbnCoreLifecycleServerPluginApi", + "section": "def-server.CoreSetup", + "text": "CoreSetup" }, + ", plugins: TPluginsSetup) => TSetup | Promise" + ], + "path": "packages/core/plugins/core-plugins-server/src/types.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ { - "plugin": "osquery", - "path": "x-pack/plugins/osquery/server/lib/telemetry/sender.ts" + "parentPluginId": "core", + "id": "def-server.AsyncPlugin.setup.$1", + "type": "Object", + "tags": [], + "label": "core", + "description": [], + "signature": [ + { + "pluginId": "@kbn/core-lifecycle-server", + "scope": "server", + "docId": "kibKbnCoreLifecycleServerPluginApi", + "section": "def-server.CoreSetup", + "text": "CoreSetup" + }, + "" + ], + "path": "packages/core/plugins/core-plugins-server/src/types.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true }, { - "plugin": "osquery", - "path": "x-pack/plugins/osquery/server/lib/telemetry/sender.ts" - }, + "parentPluginId": "core", + "id": "def-server.AsyncPlugin.setup.$2", + "type": "Uncategorized", + "tags": [], + "label": "plugins", + "description": [], + "signature": [ + "TPluginsSetup" + ], + "path": "packages/core/plugins/core-plugins-server/src/types.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "core", + "id": "def-server.AsyncPlugin.start", + "type": "Function", + "tags": [], + "label": "start", + "description": [], + "signature": [ + "(core: ", { - "plugin": "osquery", - "path": "x-pack/plugins/osquery/server/lib/telemetry/sender.ts" + "pluginId": "@kbn/core-lifecycle-server", + "scope": "server", + "docId": "kibKbnCoreLifecycleServerPluginApi", + "section": "def-server.CoreStart", + "text": "CoreStart" }, + ", plugins: TPluginsStart) => TStart | Promise" + ], + "path": "packages/core/plugins/core-plugins-server/src/types.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ { - "plugin": "osquery", - "path": "x-pack/plugins/osquery/server/lib/telemetry/sender.ts" + "parentPluginId": "core", + "id": "def-server.AsyncPlugin.start.$1", + "type": "Object", + "tags": [], + "label": "core", + "description": [], + "signature": [ + { + "pluginId": "@kbn/core-lifecycle-server", + "scope": "server", + "docId": "kibKbnCoreLifecycleServerPluginApi", + "section": "def-server.CoreStart", + "text": "CoreStart" + } + ], + "path": "packages/core/plugins/core-plugins-server/src/types.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true }, { - "plugin": "@kbn/ebt-tools", - "path": "packages/kbn-ebt-tools/src/performance_metric_events/helpers.ts" - }, + "parentPluginId": "core", + "id": "def-server.AsyncPlugin.start.$2", + "type": "Uncategorized", + "tags": [], + "label": "plugins", + "description": [], + "signature": [ + "TPluginsStart" + ], + "path": "packages/core/plugins/core-plugins-server/src/types.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "core", + "id": "def-server.AsyncPlugin.stop", + "type": "Function", + "tags": [], + "label": "stop", + "description": [], + "signature": [ + "(() => void) | undefined" + ], + "path": "packages/core/plugins/core-plugins-server/src/types.ts", + "deprecated": false, + "trackAdoption": false, + "children": [], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "core", + "id": "def-server.AuthRedirectedParams", + "type": "Interface", + "tags": [], + "label": "AuthRedirectedParams", + "description": [ + "\nResult of auth redirection." + ], + "path": "packages/core/http/core-http-server/src/lifecycle/auth.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "core", + "id": "def-server.AuthRedirectedParams.headers", + "type": "CompoundType", + "tags": [], + "label": "headers", + "description": [ + "\nHeaders to attach for auth redirect.\nMust include \"location\" header" + ], + "signature": [ + "{ location: string; } & ", { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_clicks.ts" - }, - { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.ts" - }, - { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" - }, - { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" - }, - { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" - }, - { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" - }, - { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" - }, - { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" - }, - { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" - }, - { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" - }, - { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" - }, - { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" - }, - { - "plugin": "@kbn/core-plugins-server-internal", - "path": "packages/core/plugins/core-plugins-server-internal/src/plugin_context.ts" - }, - { - "plugin": "@kbn/core-plugins-server-internal", - "path": "packages/core/plugins/core-plugins-server-internal/src/plugin_context.ts" - }, - { - "plugin": "@kbn/core-plugins-server-internal", - "path": "packages/core/plugins/core-plugins-server-internal/src/plugin_context.ts" - }, - { - "plugin": "@kbn/core-plugins-server-internal", - "path": "packages/core/plugins/core-plugins-server-internal/src/plugin_context.ts" - }, - { - "plugin": "@kbn/core-plugins-server-internal", - "path": "packages/core/plugins/core-plugins-server-internal/src/plugin_context.ts" - }, - { - "plugin": "@kbn/core-plugins-server-internal", - "path": "packages/core/plugins/core-plugins-server-internal/src/plugin_context.ts" - }, - { - "plugin": "@kbn/core-root-browser-internal", - "path": "packages/core/root/core-root-browser-internal/src/core_system.ts" - }, - { - "plugin": "@kbn/core-status-server-internal", - "path": "packages/core/status/core-status-server-internal/src/status_service.ts" - }, - { - "plugin": "security", - "path": "x-pack/plugins/security/server/analytics/analytics_service.test.ts" - }, - { - "plugin": "security", - "path": "x-pack/plugins/security/server/analytics/analytics_service.test.ts" - }, - { - "plugin": "@kbn/core-analytics-server-mocks", - "path": "packages/core/analytics/core-analytics-server-mocks/src/analytics_service.mock.ts" - }, - { - "plugin": "@kbn/core-status-server-internal", - "path": "packages/core/status/core-status-server-internal/src/status_service.test.ts" - }, - { - "plugin": "@kbn/core-status-server-internal", - "path": "packages/core/status/core-status-server-internal/src/status_service.test.ts" - }, - { - "plugin": "@kbn/core-status-server-internal", - "path": "packages/core/status/core-status-server-internal/src/status_service.test.ts" - }, - { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/services/analytics/analytics.stub.ts" - }, - { - "plugin": "@kbn/core-analytics-browser-mocks", - "path": "packages/core/analytics/core-analytics-browser-mocks/src/analytics_service.mock.ts" - }, - { - "plugin": "@kbn/core-root-browser-internal", - "path": "packages/core/root/core-root-browser-internal/src/core_system.test.ts" - }, - { - "plugin": "@kbn/core-root-browser-internal", - "path": "packages/core/root/core-root-browser-internal/src/core_system.test.ts" - }, - { - "plugin": "@kbn/core-root-browser-internal", - "path": "packages/core/root/core-root-browser-internal/src/core_system.test.ts" - }, - { - "plugin": "@kbn/core-root-browser-internal", - "path": "packages/core/root/core-root-browser-internal/src/core_system.test.ts" - }, - { - "plugin": "@kbn/core-root-browser-internal", - "path": "packages/core/root/core-root-browser-internal/src/core_system.test.ts" - }, - { - "plugin": "@kbn/core-root-browser-internal", - "path": "packages/core/root/core-root-browser-internal/src/core_system.test.ts" - }, - { - "plugin": "@kbn/core-analytics-browser-mocks", - "path": "packages/core/analytics/core-analytics-browser-mocks/src/analytics_service.mock.ts" - }, - { - "plugin": "@kbn/core-analytics-server-mocks", - "path": "packages/core/analytics/core-analytics-server-mocks/src/analytics_service.mock.ts" - }, - { - "plugin": "@kbn/core-analytics-server-mocks", - "path": "packages/core/analytics/core-analytics-server-mocks/src/analytics_service.mock.ts" - }, - { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.test.mocks.ts" - }, - { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_clicks.test.ts" - }, - { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_clicks.test.ts" - }, + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.ResponseHeaders", + "text": "ResponseHeaders" + } + ], + "path": "packages/core/http/core-http-server/src/lifecycle/auth.ts", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "core", + "id": "def-server.AuthResultAuthenticated", + "type": "Interface", + "tags": [], + "label": "AuthResultAuthenticated", + "description": [], + "signature": [ + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.AuthResultAuthenticated", + "text": "AuthResultAuthenticated" + }, + " extends ", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.AuthResultParams", + "text": "AuthResultParams" + } + ], + "path": "packages/core/http/core-http-server/src/lifecycle/auth.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "core", + "id": "def-server.AuthResultAuthenticated.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_clicks.test.ts" + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.AuthResultType", + "text": "AuthResultType" }, + ".authenticated" + ], + "path": "packages/core/http/core-http-server/src/lifecycle/auth.ts", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "core", + "id": "def-server.AuthResultNotHandled", + "type": "Interface", + "tags": [], + "label": "AuthResultNotHandled", + "description": [], + "path": "packages/core/http/core-http-server/src/lifecycle/auth.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "core", + "id": "def-server.AuthResultNotHandled.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_clicks.test.ts" + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.AuthResultType", + "text": "AuthResultType" }, + ".notHandled" + ], + "path": "packages/core/http/core-http-server/src/lifecycle/auth.ts", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "core", + "id": "def-server.AuthResultParams", + "type": "Interface", + "tags": [], + "label": "AuthResultParams", + "description": [ + "\nResult of successful authentication." + ], + "path": "packages/core/http/core-http-server/src/lifecycle/auth.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "core", + "id": "def-server.AuthResultParams.state", + "type": "Object", + "tags": [], + "label": "state", + "description": [ + "\nData to associate with an incoming request. Any downstream plugin may get access to the data." + ], + "signature": [ + "Record | undefined" + ], + "path": "packages/core/http/core-http-server/src/lifecycle/auth.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "core", + "id": "def-server.AuthResultParams.requestHeaders", + "type": "Object", + "tags": [], + "label": "requestHeaders", + "description": [ + "\nAuth specific headers to attach to a request object.\nUsed to perform a request to Elasticsearch on behalf of an authenticated user." + ], + "signature": [ { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.test.ts" + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.AuthHeaders", + "text": "AuthHeaders" }, + " | undefined" + ], + "path": "packages/core/http/core-http-server/src/lifecycle/auth.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "core", + "id": "def-server.AuthResultParams.responseHeaders", + "type": "Object", + "tags": [], + "label": "responseHeaders", + "description": [ + "\nAuth specific headers to attach to a response object.\nUsed to send back authentication mechanism related headers to a client when needed." + ], + "signature": [ { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.test.ts" + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.AuthHeaders", + "text": "AuthHeaders" }, - { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.test.mocks.ts" - } + " | undefined" ], - "children": [ + "path": "packages/core/http/core-http-server/src/lifecycle/auth.ts", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "core", + "id": "def-server.AuthResultRedirected", + "type": "Interface", + "tags": [], + "label": "AuthResultRedirected", + "description": [], + "signature": [ + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.AuthResultRedirected", + "text": "AuthResultRedirected" + }, + " extends ", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.AuthRedirectedParams", + "text": "AuthRedirectedParams" + } + ], + "path": "packages/core/http/core-http-server/src/lifecycle/auth.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "core", + "id": "def-server.AuthResultRedirected.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ { - "parentPluginId": "core", - "id": "def-server.AnalyticsClient.reportEvent.$1", - "type": "string", - "tags": [], - "label": "eventType", - "description": [ - "The event type registered via the `registerEventType` API." - ], - "signature": [ - "string" - ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "isRequired": true + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.AuthResultType", + "text": "AuthResultType" }, - { - "parentPluginId": "core", - "id": "def-server.AnalyticsClient.reportEvent.$2", - "type": "Uncategorized", - "tags": [], - "label": "eventData", - "description": [ - "The properties matching the schema declared in the `registerEventType` API." - ], - "signature": [ - "EventTypeData" - ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "isRequired": true - } + ".redirected" ], - "returnComment": [] - }, + "path": "packages/core/http/core-http-server/src/lifecycle/auth.ts", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "core", + "id": "def-server.AuthToolkit", + "type": "Interface", + "tags": [], + "label": "AuthToolkit", + "description": [], + "path": "packages/core/http/core-http-server/src/lifecycle/auth.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ { "parentPluginId": "core", - "id": "def-server.AnalyticsClient.registerEventType", + "id": "def-server.AuthToolkit.authenticated", "type": "Function", "tags": [], - "label": "registerEventType", + "label": "authenticated", "description": [ - "\nRegisters the event type that will be emitted via the reportEvent API." + "Authentication is successful with given credentials, allow request to pass through" ], "signature": [ - "(eventTypeOps: ", - "EventTypeOpts", - ") => void" + "(data?: ", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.AuthResultParams", + "text": "AuthResultParams" + }, + " | undefined) => ", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.AuthResult", + "text": "AuthResult" + } ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/core/http/core-http-server/src/lifecycle/auth.ts", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "core", - "id": "def-server.AnalyticsClient.registerEventType.$1", + "id": "def-server.AuthToolkit.authenticated.$1", "type": "Object", "tags": [], - "label": "eventTypeOps", - "description": [ - "The definition of the event type {@link EventTypeOpts }." - ], + "label": "data", + "description": [], "signature": [ - "EventTypeOpts", - "" + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.AuthResultParams", + "text": "AuthResultParams" + }, + " | undefined" ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/core/http/core-http-server/src/lifecycle/auth.ts", "deprecated": false, "trackAdoption": false, - "isRequired": true + "isRequired": false } ], "returnComment": [] }, { "parentPluginId": "core", - "id": "def-server.AnalyticsClient.registerShipper", + "id": "def-server.AuthToolkit.notHandled", "type": "Function", "tags": [], - "label": "registerShipper", + "label": "notHandled", "description": [ - "\nSet up the shipper that will be used to report the telemetry events." + "\nUser has no credentials.\nAllows user to access a resource when authRequired is 'optional'\nRejects a request when authRequired: true" ], "signature": [ - "(Shipper: ", - "ShipperClassConstructor", - ", shipperConfig: ShipperConfig, opts?: ", - "RegisterShipperOpts", - " | undefined) => void" - ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "core", - "id": "def-server.AnalyticsClient.registerShipper.$1", - "type": "Object", - "tags": [], - "label": "Shipper", - "description": [ - "The {@link IShipper } class to instantiate the shipper." - ], - "signature": [ - "ShipperClassConstructor", - "" - ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "isRequired": true - }, - { - "parentPluginId": "core", - "id": "def-server.AnalyticsClient.registerShipper.$2", - "type": "Uncategorized", - "tags": [], - "label": "shipperConfig", - "description": [ - "The config specific to the Shipper to instantiate." - ], - "signature": [ - "ShipperConfig" - ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "isRequired": true - }, + "() => ", { - "parentPluginId": "core", - "id": "def-server.AnalyticsClient.registerShipper.$3", - "type": "Object", - "tags": [], - "label": "opts", - "description": [ - "Additional options to register the shipper {@link RegisterShipperOpts }." - ], - "signature": [ - "RegisterShipperOpts", - " | undefined" - ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "isRequired": false + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.AuthResult", + "text": "AuthResult" } ], + "path": "packages/core/http/core-http-server/src/lifecycle/auth.ts", + "deprecated": false, + "trackAdoption": false, + "children": [], "returnComment": [] }, { "parentPluginId": "core", - "id": "def-server.AnalyticsClient.optIn", + "id": "def-server.AuthToolkit.redirected", "type": "Function", "tags": [], - "label": "optIn", + "label": "redirected", "description": [ - "\nUsed to control the user's consent to report the data.\nIn the advanced mode, it allows to \"cherry-pick\" which events and shippers are enabled/disabled." + "\nRedirects user to another location to complete authentication when authRequired: true\nAllows user to access a resource without redirection when authRequired: 'optional'" ], "signature": [ - "(optInConfig: ", - "OptInConfig", - ") => void" + "(headers: { location: string; } & ", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.ResponseHeaders", + "text": "ResponseHeaders" + }, + ") => ", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.AuthResult", + "text": "AuthResult" + } ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/core/http/core-http-server/src/lifecycle/auth.ts", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "core", - "id": "def-server.AnalyticsClient.optIn.$1", - "type": "Object", + "id": "def-server.AuthToolkit.redirected.$1", + "type": "CompoundType", "tags": [], - "label": "optInConfig", - "description": [ - "{@link OptInConfig }" - ], + "label": "headers", + "description": [], "signature": [ - "OptInConfig" + "{ location: string; } & ", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.ResponseHeaders", + "text": "ResponseHeaders" + } ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/core/http/core-http-server/src/lifecycle/auth.ts", "deprecated": false, "trackAdoption": false, "isRequired": true } ], "returnComment": [] - }, + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "core", + "id": "def-server.Capabilities", + "type": "Interface", + "tags": [], + "label": "Capabilities", + "description": [ + "\nThe read-only set of capabilities available for the current UI session.\nCapabilities are simple key-value pairs of (string, boolean), where the string denotes the capability ID,\nand the boolean is a flag indicating if the capability is enabled or disabled.\n" + ], + "path": "packages/core/capabilities/core-capabilities-common/src/capabilities.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ { "parentPluginId": "core", - "id": "def-server.AnalyticsClient.registerContextProvider", - "type": "Function", - "tags": [ - "track-adoption" - ], - "label": "registerContextProvider", + "id": "def-server.Capabilities.navLinks", + "type": "Object", + "tags": [], + "label": "navLinks", "description": [ - "\nRegisters the context provider to enrich any reported events." + "Navigation link capabilities." ], "signature": [ - "(contextProviderOpts: ", - "ContextProviderOpts", - ") => void" + "{ [x: string]: boolean; }" ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/core/capabilities/core-capabilities-common/src/capabilities.ts", "deprecated": false, - "trackAdoption": true, - "references": [ - { - "plugin": "licensing", - "path": "x-pack/plugins/licensing/common/register_analytics_context_provider.ts" - }, - { - "plugin": "cloud", - "path": "x-pack/plugins/cloud/common/register_cloud_deployment_id_analytics_context.ts" - }, - { - "plugin": "security", - "path": "x-pack/plugins/security/public/analytics/register_user_context.ts" - }, - { - "plugin": "telemetry", - "path": "src/plugins/telemetry/public/plugin.ts" - }, - { - "plugin": "telemetry", - "path": "src/plugins/telemetry/server/plugin.ts" - }, - { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.ts" - }, - { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" - }, - { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" - }, - { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" - }, - { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" - }, - { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" - }, - { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" - }, - { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" - }, - { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" - }, - { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" - }, - { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" - }, - { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" - }, - { - "plugin": "@kbn/core-elasticsearch-server-internal", - "path": "packages/core/elasticsearch/core-elasticsearch-server-internal/src/register_analytics_context_provider.ts" - }, - { - "plugin": "@kbn/core-environment-server-internal", - "path": "packages/core/environment/core-environment-server-internal/src/environment_service.ts" - }, - { - "plugin": "@kbn/core-execution-context-browser-internal", - "path": "packages/core/execution-context/core-execution-context-browser-internal/src/execution_context_service.ts" - }, - { - "plugin": "@kbn/core-plugins-server-internal", - "path": "packages/core/plugins/core-plugins-server-internal/src/plugin_context.ts" - }, - { - "plugin": "@kbn/core-plugins-server-internal", - "path": "packages/core/plugins/core-plugins-server-internal/src/plugin_context.ts" - }, - { - "plugin": "@kbn/core-plugins-server-internal", - "path": "packages/core/plugins/core-plugins-server-internal/src/plugin_context.ts" - }, - { - "plugin": "@kbn/core-plugins-server-internal", - "path": "packages/core/plugins/core-plugins-server-internal/src/plugin_context.ts" - }, - { - "plugin": "@kbn/core-status-server-internal", - "path": "packages/core/status/core-status-server-internal/src/status_service.ts" - }, - { - "plugin": "security", - "path": "x-pack/plugins/security/public/analytics/analytics_service.test.ts" - }, - { - "plugin": "security", - "path": "x-pack/plugins/security/public/analytics/analytics_service.test.ts" - }, - { - "plugin": "security", - "path": "x-pack/plugins/security/public/analytics/register_user_context.test.ts" - }, - { - "plugin": "security", - "path": "x-pack/plugins/security/public/analytics/register_user_context.test.ts" - }, - { - "plugin": "security", - "path": "x-pack/plugins/security/public/analytics/register_user_context.test.ts" - }, - { - "plugin": "security", - "path": "x-pack/plugins/security/public/analytics/register_user_context.test.ts" - }, - { - "plugin": "security", - "path": "x-pack/plugins/security/public/analytics/register_user_context.test.ts" - }, - { - "plugin": "security", - "path": "x-pack/plugins/security/public/analytics/register_user_context.test.ts" - }, - { - "plugin": "security", - "path": "x-pack/plugins/security/public/analytics/register_user_context.test.ts" - }, - { - "plugin": "security", - "path": "x-pack/plugins/security/public/analytics/register_user_context.test.ts" - }, - { - "plugin": "security", - "path": "x-pack/plugins/security/public/analytics/register_user_context.test.ts" - }, - { - "plugin": "security", - "path": "x-pack/plugins/security/public/analytics/register_user_context.test.ts" - }, - { - "plugin": "@kbn/core-analytics-browser-mocks", - "path": "packages/core/analytics/core-analytics-browser-mocks/src/analytics_service.mock.ts" - }, - { - "plugin": "@kbn/core-execution-context-browser-internal", - "path": "packages/core/execution-context/core-execution-context-browser-internal/src/execution_context_service.test.ts" - }, - { - "plugin": "@kbn/core-execution-context-browser-internal", - "path": "packages/core/execution-context/core-execution-context-browser-internal/src/execution_context_service.test.ts" - }, - { - "plugin": "@kbn/core-analytics-server-mocks", - "path": "packages/core/analytics/core-analytics-server-mocks/src/analytics_service.mock.ts" - }, - { - "plugin": "@kbn/core-analytics-server-mocks", - "path": "packages/core/analytics/core-analytics-server-mocks/src/analytics_service.mock.ts" - }, - { - "plugin": "@kbn/core-elasticsearch-server-internal", - "path": "packages/core/elasticsearch/core-elasticsearch-server-internal/src/register_analytics_context_provider.test.ts" - }, - { - "plugin": "@kbn/core-status-server-internal", - "path": "packages/core/status/core-status-server-internal/src/status_service.test.ts" - }, - { - "plugin": "@kbn/core-status-server-internal", - "path": "packages/core/status/core-status-server-internal/src/status_service.test.ts" - }, - { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.test.mocks.ts" - }, - { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.test.ts" - }, - { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.test.ts" - }, - { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.test.ts" - }, - { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.test.ts" - }, - { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.test.ts" - }, - { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.test.ts" - }, - { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.test.mocks.ts" - }, - { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.test.ts" - }, - { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.test.ts" - } - ], - "children": [ - { - "parentPluginId": "core", - "id": "def-server.AnalyticsClient.registerContextProvider.$1", - "type": "Object", - "tags": [], - "label": "contextProviderOpts", - "description": [ - "{@link ContextProviderOpts }" - ], - "signature": [ - "ContextProviderOpts", - "" - ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "isRequired": true - } - ], - "returnComment": [] + "trackAdoption": false }, { "parentPluginId": "core", - "id": "def-server.AnalyticsClient.removeContextProvider", - "type": "Function", + "id": "def-server.Capabilities.management", + "type": "Object", "tags": [], - "label": "removeContextProvider", + "label": "management", "description": [ - "\nRemoves the context provider and stop enriching the events from its context." + "Management section capabilities." ], "signature": [ - "(contextProviderName: string) => void" + "{ [sectionId: string]: Record; }" ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/core/capabilities/core-capabilities-common/src/capabilities.ts", "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "core", - "id": "def-server.AnalyticsClient.removeContextProvider.$1", - "type": "string", - "tags": [], - "label": "contextProviderName", - "description": [ - "The name of the context provider to remove." - ], - "signature": [ - "string" - ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "isRequired": true - } - ], - "returnComment": [] + "trackAdoption": false }, { "parentPluginId": "core", - "id": "def-server.AnalyticsClient.telemetryCounter$", + "id": "def-server.Capabilities.catalogue", "type": "Object", "tags": [], - "label": "telemetryCounter$", + "label": "catalogue", "description": [ - "\nObservable to emit the stats of the processed events." + "Catalogue capabilities. Catalogue entries drive the visibility of the Kibana homepage options." ], "signature": [ - "Observable", - "<", - "TelemetryCounter", - ">" + "{ [x: string]: boolean; }" ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/core/capabilities/core-capabilities-common/src/capabilities.ts", "deprecated": false, "trackAdoption": false }, { "parentPluginId": "core", - "id": "def-server.AnalyticsClient.shutdown", - "type": "Function", + "id": "def-server.Capabilities.Unnamed", + "type": "IndexSignature", "tags": [], - "label": "shutdown", + "label": "[key: string]: Record>", "description": [ - "\nStops the client." + "Custom capabilities, registered by plugins." ], "signature": [ - "() => void" + "[key: string]: Record>" ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/core/capabilities/core-capabilities-common/src/capabilities.ts", "deprecated": false, - "trackAdoption": false, - "children": [], - "returnComment": [] + "trackAdoption": false } ], "initialIsOpen": false }, { "parentPluginId": "core", - "id": "def-server.AppCategory", + "id": "def-server.CapabilitiesSetup", "type": "Interface", "tags": [], - "label": "AppCategory", + "label": "CapabilitiesSetup", "description": [ - "\nA category definition for nav links to know where to sort them in the left hand nav" - ], - "signature": [ - "AppCategory" + "\nAPIs to manage the {@link Capabilities} that will be used by the application.\n\nPlugins relying on capabilities to toggle some of their features should register them during the setup phase\nusing the `registerProvider` method.\n\nPlugins having the responsibility to restrict capabilities depending on a given context should register\ntheir capabilities switcher using the `registerSwitcher` method.\n\nRefers to the methods documentation for complete description and examples.\n" ], - "path": "node_modules/@types/kbn__core-application-common/index.d.ts", + "path": "packages/core/capabilities/core-capabilities-server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "core", - "id": "def-server.AppCategory.id", - "type": "string", - "tags": [], - "label": "id", - "description": [ - "\nUnique identifier for the categories" - ], - "path": "node_modules/@types/kbn__core-application-common/index.d.ts", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "core", - "id": "def-server.AppCategory.label", - "type": "string", - "tags": [], - "label": "label", - "description": [ - "\nLabel used for category name.\nAlso used as aria-label if one isn't set." - ], - "path": "node_modules/@types/kbn__core-application-common/index.d.ts", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "core", - "id": "def-server.AppCategory.ariaLabel", - "type": "string", + "id": "def-server.CapabilitiesSetup.registerProvider", + "type": "Function", "tags": [], - "label": "ariaLabel", + "label": "registerProvider", "description": [ - "\nIf the visual label isn't appropriate for screen readers,\ncan override it here" + "\nRegister a {@link CapabilitiesProvider} to be used to provide {@link Capabilities}\nwhen resolving them.\n" ], "signature": [ - "string | undefined" + "(provider: ", + { + "pluginId": "@kbn/core-capabilities-server", + "scope": "server", + "docId": "kibKbnCoreCapabilitiesServerPluginApi", + "section": "def-server.CapabilitiesProvider", + "text": "CapabilitiesProvider" + }, + ") => void" ], - "path": "node_modules/@types/kbn__core-application-common/index.d.ts", + "path": "packages/core/capabilities/core-capabilities-server/src/contracts.ts", "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "core", - "id": "def-server.AppCategory.order", - "type": "number", - "tags": [], - "label": "order", - "description": [ - "\nThe order that categories will be sorted in\nPrefer large steps between categories to allow for further editing\n(Default categories are in steps of 1000)" - ], - "signature": [ - "number | undefined" + "trackAdoption": false, + "children": [ + { + "parentPluginId": "core", + "id": "def-server.CapabilitiesSetup.registerProvider.$1", + "type": "Function", + "tags": [], + "label": "provider", + "description": [], + "signature": [ + { + "pluginId": "@kbn/core-capabilities-server", + "scope": "server", + "docId": "kibKbnCoreCapabilitiesServerPluginApi", + "section": "def-server.CapabilitiesProvider", + "text": "CapabilitiesProvider" + } + ], + "path": "packages/core/capabilities/core-capabilities-server/src/contracts.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } ], - "path": "node_modules/@types/kbn__core-application-common/index.d.ts", - "deprecated": false, - "trackAdoption": false + "returnComment": [] }, { "parentPluginId": "core", - "id": "def-server.AppCategory.euiIconType", - "type": "string", + "id": "def-server.CapabilitiesSetup.registerSwitcher", + "type": "Function", "tags": [], - "label": "euiIconType", + "label": "registerSwitcher", "description": [ - "\nDefine an icon to be used for the category\nIf the category is only 1 item, and no icon is defined, will default to the product icon\nDefaults to initials if no icon is defined" + "\nRegister a {@link CapabilitiesSwitcher} to be used to change the default state\nof the {@link Capabilities} entries when resolving them.\n\nA capabilities switcher can only change the state of existing capabilities.\nCapabilities added or removed when invoking the switcher will be ignored.\n" ], "signature": [ - "string | undefined" + "(switcher: ", + { + "pluginId": "@kbn/core-capabilities-server", + "scope": "server", + "docId": "kibKbnCoreCapabilitiesServerPluginApi", + "section": "def-server.CapabilitiesSwitcher", + "text": "CapabilitiesSwitcher" + }, + ") => void" ], - "path": "node_modules/@types/kbn__core-application-common/index.d.ts", + "path": "packages/core/capabilities/core-capabilities-server/src/contracts.ts", "deprecated": false, - "trackAdoption": false + "trackAdoption": false, + "children": [ + { + "parentPluginId": "core", + "id": "def-server.CapabilitiesSetup.registerSwitcher.$1", + "type": "Function", + "tags": [], + "label": "switcher", + "description": [], + "signature": [ + { + "pluginId": "@kbn/core-capabilities-server", + "scope": "server", + "docId": "kibKbnCoreCapabilitiesServerPluginApi", + "section": "def-server.CapabilitiesSwitcher", + "text": "CapabilitiesSwitcher" + } + ], + "path": "packages/core/capabilities/core-capabilities-server/src/contracts.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [] } ], "initialIsOpen": false }, { "parentPluginId": "core", - "id": "def-server.AsyncPlugin", + "id": "def-server.CapabilitiesStart", "type": "Interface", - "tags": [ - "deprecated" - ], - "label": "AsyncPlugin", + "tags": [], + "label": "CapabilitiesStart", "description": [ - "\nA plugin with asynchronous lifecycle methods.\n" - ], - "signature": [ - "AsyncPlugin", - "" + "\nAPIs to access the application {@link Capabilities}.\n" ], - "path": "node_modules/@types/kbn__core-plugins-server/index.d.ts", - "deprecated": true, - "removeBy": "8.8.0", + "path": "packages/core/capabilities/core-capabilities-server/src/contracts.ts", + "deprecated": false, "trackAdoption": false, - "references": [ - { - "plugin": "@kbn/core-plugins-server-internal", - "path": "packages/core/plugins/core-plugins-server-internal/src/plugin.ts" - }, - { - "plugin": "@kbn/core-plugins-server-internal", - "path": "packages/core/plugins/core-plugins-server-internal/src/plugin.ts" - } - ], "children": [ { "parentPluginId": "core", - "id": "def-server.AsyncPlugin.setup", + "id": "def-server.CapabilitiesStart.resolveCapabilities", "type": "Function", "tags": [], - "label": "setup", - "description": [], + "label": "resolveCapabilities", + "description": [ + "\nResolve the {@link Capabilities} to be used for given request" + ], "signature": [ - "(core: ", - "CoreSetup", - ", plugins: TPluginsSetup) => TSetup | Promise" + "(request: ", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, + ", options?: ", + { + "pluginId": "@kbn/core-capabilities-server", + "scope": "server", + "docId": "kibKbnCoreCapabilitiesServerPluginApi", + "section": "def-server.ResolveCapabilitiesOptions", + "text": "ResolveCapabilitiesOptions" + }, + " | undefined) => Promise<", + { + "pluginId": "@kbn/core-capabilities-common", + "scope": "common", + "docId": "kibKbnCoreCapabilitiesCommonPluginApi", + "section": "def-common.Capabilities", + "text": "Capabilities" + }, + ">" ], - "path": "node_modules/@types/kbn__core-plugins-server/index.d.ts", + "path": "packages/core/capabilities/core-capabilities-server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "core", - "id": "def-server.AsyncPlugin.setup.$1", + "id": "def-server.CapabilitiesStart.resolveCapabilities.$1", "type": "Object", "tags": [], - "label": "core", + "label": "request", "description": [], "signature": [ - "CoreSetup", - "" + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, + "" ], - "path": "node_modules/@types/kbn__core-plugins-server/index.d.ts", + "path": "packages/core/capabilities/core-capabilities-server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "isRequired": true }, { "parentPluginId": "core", - "id": "def-server.AsyncPlugin.setup.$2", - "type": "Uncategorized", + "id": "def-server.CapabilitiesStart.resolveCapabilities.$2", + "type": "Object", "tags": [], - "label": "plugins", + "label": "options", "description": [], "signature": [ - "TPluginsSetup" + { + "pluginId": "@kbn/core-capabilities-server", + "scope": "server", + "docId": "kibKbnCoreCapabilitiesServerPluginApi", + "section": "def-server.ResolveCapabilitiesOptions", + "text": "ResolveCapabilitiesOptions" + }, + " | undefined" ], - "path": "node_modules/@types/kbn__core-plugins-server/index.d.ts", + "path": "packages/core/capabilities/core-capabilities-server/src/contracts.ts", "deprecated": false, "trackAdoption": false, - "isRequired": true + "isRequired": false } ], "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "core", + "id": "def-server.ConfigDeprecationContext", + "type": "Interface", + "tags": [], + "label": "ConfigDeprecationContext", + "description": [ + "\nDeprecation context provided to {@link ConfigDeprecation | config deprecations}\n" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "core", + "id": "def-server.ConfigDeprecationContext.version", + "type": "string", + "tags": [], + "label": "version", + "description": [ + "The current Kibana version, e.g `7.16.1`, `8.0.0`" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false, + "trackAdoption": false }, { "parentPluginId": "core", - "id": "def-server.AsyncPlugin.start", - "type": "Function", + "id": "def-server.ConfigDeprecationContext.branch", + "type": "string", "tags": [], - "label": "start", - "description": [], - "signature": [ - "(core: ", - "CoreStart", - ", plugins: TPluginsStart) => TStart | Promise" + "label": "branch", + "description": [ + "The current Kibana branch, e.g `7.x`, `7.16`, `master`" ], - "path": "node_modules/@types/kbn__core-plugins-server/index.d.ts", + "path": "packages/kbn-config/src/deprecation/types.ts", "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "core", - "id": "def-server.AsyncPlugin.start.$1", - "type": "Object", - "tags": [], - "label": "core", - "description": [], - "signature": [ - "CoreStart" - ], - "path": "node_modules/@types/kbn__core-plugins-server/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "isRequired": true - }, - { - "parentPluginId": "core", - "id": "def-server.AsyncPlugin.start.$2", - "type": "Uncategorized", - "tags": [], - "label": "plugins", - "description": [], - "signature": [ - "TPluginsStart" - ], - "path": "node_modules/@types/kbn__core-plugins-server/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "isRequired": true - } - ], - "returnComment": [] + "trackAdoption": false }, { "parentPluginId": "core", - "id": "def-server.AsyncPlugin.stop", - "type": "Function", - "tags": [], - "label": "stop", - "description": [], - "signature": [ - "(() => void) | undefined" - ], - "path": "node_modules/@types/kbn__core-plugins-server/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "children": [], - "returnComment": [] - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "core", - "id": "def-server.AuthRedirectedParams", - "type": "Interface", - "tags": [], - "label": "AuthRedirectedParams", - "description": [ - "\nResult of auth redirection." - ], - "signature": [ - "AuthRedirectedParams" - ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "core", - "id": "def-server.AuthRedirectedParams.headers", - "type": "CompoundType", + "id": "def-server.ConfigDeprecationContext.docLinks", + "type": "Object", "tags": [], - "label": "headers", + "label": "docLinks", "description": [ - "\nHeaders to attach for auth redirect.\nMust include \"location\" header" - ], - "signature": [ - "{ location: string; } & ", - "ResponseHeaders" - ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", - "deprecated": false, - "trackAdoption": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "core", - "id": "def-server.AuthResultAuthenticated", - "type": "Interface", - "tags": [], - "label": "AuthResultAuthenticated", - "description": [], - "signature": [ - "AuthResultAuthenticated", - " extends ", - "AuthResultParams" - ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "core", - "id": "def-server.AuthResultAuthenticated.type", - "type": "string", - "tags": [], - "label": "type", - "description": [], - "signature": [ - "AuthResultType", - ".authenticated" + "Allow direct access to the doc links from the deprecation handler" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", - "deprecated": false, - "trackAdoption": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "core", - "id": "def-server.AuthResultNotHandled", - "type": "Interface", - "tags": [], - "label": "AuthResultNotHandled", - "description": [], - "signature": [ - "AuthResultNotHandled" - ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "core", - "id": "def-server.AuthResultNotHandled.type", - "type": "string", - "tags": [], - "label": "type", - "description": [], "signature": [ - "AuthResultType", - ".notHandled" + { + "pluginId": "@kbn/doc-links", + "scope": "common", + "docId": "kibKbnDocLinksPluginApi", + "section": "def-common.DocLinks", + "text": "DocLinks" + } ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/kbn-config/src/deprecation/types.ts", "deprecated": false, "trackAdoption": false } @@ -20517,209 +24016,418 @@ }, { "parentPluginId": "core", - "id": "def-server.AuthResultParams", + "id": "def-server.ConfigDeprecationFactory", "type": "Interface", "tags": [], - "label": "AuthResultParams", + "label": "ConfigDeprecationFactory", "description": [ - "\nResult of successful authentication." - ], - "signature": [ - "AuthResultParams" + "\nProvides helpers to generates the most commonly used {@link ConfigDeprecation}\nwhen invoking a {@link ConfigDeprecationProvider}.\n\nSee methods documentation for more detailed examples.\n" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/kbn-config/src/deprecation/types.ts", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "core", - "id": "def-server.AuthResultParams.state", - "type": "Object", + "id": "def-server.ConfigDeprecationFactory.deprecate", + "type": "Function", "tags": [], - "label": "state", + "label": "deprecate", "description": [ - "\nData to associate with an incoming request. Any downstream plugin may get access to the data." + "\nDeprecate a configuration property from inside a plugin's configuration path.\nWill log a deprecation warning if the deprecatedKey was found.\n" ], "signature": [ - "Record | undefined" + "(deprecatedKey: string, removeBy: string, details: ", + "FactoryConfigDeprecationDetails", + ") => ", + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.ConfigDeprecation", + "text": "ConfigDeprecation" + } ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/kbn-config/src/deprecation/types.ts", "deprecated": false, - "trackAdoption": false + "trackAdoption": false, + "children": [ + { + "parentPluginId": "core", + "id": "def-server.ConfigDeprecationFactory.deprecate.$1", + "type": "string", + "tags": [], + "label": "deprecatedKey", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "core", + "id": "def-server.ConfigDeprecationFactory.deprecate.$2", + "type": "string", + "tags": [], + "label": "removeBy", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "core", + "id": "def-server.ConfigDeprecationFactory.deprecate.$3", + "type": "CompoundType", + "tags": [], + "label": "details", + "description": [], + "signature": [ + "FactoryConfigDeprecationDetails" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [] }, { "parentPluginId": "core", - "id": "def-server.AuthResultParams.requestHeaders", - "type": "Object", + "id": "def-server.ConfigDeprecationFactory.deprecateFromRoot", + "type": "Function", "tags": [], - "label": "requestHeaders", + "label": "deprecateFromRoot", "description": [ - "\nAuth specific headers to attach to a request object.\nUsed to perform a request to Elasticsearch on behalf of an authenticated user." + "\nDeprecate a configuration property from the root configuration.\nWill log a deprecation warning if the deprecatedKey was found.\n\nThis should be only used when deprecating properties from different configuration's path.\nTo deprecate properties from inside a plugin's configuration, use 'deprecate' instead.\n" ], "signature": [ - "AuthHeaders", - " | undefined" + "(deprecatedKey: string, removeBy: string, details: ", + "FactoryConfigDeprecationDetails", + ") => ", + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.ConfigDeprecation", + "text": "ConfigDeprecation" + } ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/kbn-config/src/deprecation/types.ts", "deprecated": false, - "trackAdoption": false + "trackAdoption": false, + "children": [ + { + "parentPluginId": "core", + "id": "def-server.ConfigDeprecationFactory.deprecateFromRoot.$1", + "type": "string", + "tags": [], + "label": "deprecatedKey", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "core", + "id": "def-server.ConfigDeprecationFactory.deprecateFromRoot.$2", + "type": "string", + "tags": [], + "label": "removeBy", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "core", + "id": "def-server.ConfigDeprecationFactory.deprecateFromRoot.$3", + "type": "CompoundType", + "tags": [], + "label": "details", + "description": [], + "signature": [ + "FactoryConfigDeprecationDetails" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [] }, { "parentPluginId": "core", - "id": "def-server.AuthResultParams.responseHeaders", - "type": "Object", + "id": "def-server.ConfigDeprecationFactory.rename", + "type": "Function", "tags": [], - "label": "responseHeaders", + "label": "rename", "description": [ - "\nAuth specific headers to attach to a response object.\nUsed to send back authentication mechanism related headers to a client when needed." + "\nRename a configuration property from inside a plugin's configuration path.\nWill log a deprecation warning if the oldKey was found and deprecation applied.\n" ], "signature": [ - "AuthHeaders", - " | undefined" + "(oldKey: string, newKey: string, details: ", + "FactoryConfigDeprecationDetails", + ") => ", + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.ConfigDeprecation", + "text": "ConfigDeprecation" + } ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/kbn-config/src/deprecation/types.ts", "deprecated": false, - "trackAdoption": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "core", - "id": "def-server.AuthResultRedirected", - "type": "Interface", - "tags": [], - "label": "AuthResultRedirected", - "description": [], - "signature": [ - "AuthResultRedirected", - " extends ", - "AuthRedirectedParams" - ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "core", - "id": "def-server.AuthResultRedirected.type", - "type": "string", - "tags": [], - "label": "type", - "description": [], - "signature": [ - "AuthResultType", - ".redirected" + "trackAdoption": false, + "children": [ + { + "parentPluginId": "core", + "id": "def-server.ConfigDeprecationFactory.rename.$1", + "type": "string", + "tags": [], + "label": "oldKey", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "core", + "id": "def-server.ConfigDeprecationFactory.rename.$2", + "type": "string", + "tags": [], + "label": "newKey", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "core", + "id": "def-server.ConfigDeprecationFactory.rename.$3", + "type": "CompoundType", + "tags": [], + "label": "details", + "description": [], + "signature": [ + "FactoryConfigDeprecationDetails" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", - "deprecated": false, - "trackAdoption": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "core", - "id": "def-server.AuthToolkit", - "type": "Interface", - "tags": [], - "label": "AuthToolkit", - "description": [], - "signature": [ - "AuthToolkit" - ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "children": [ + "returnComment": [] + }, { "parentPluginId": "core", - "id": "def-server.AuthToolkit.authenticated", + "id": "def-server.ConfigDeprecationFactory.renameFromRoot", "type": "Function", "tags": [], - "label": "authenticated", + "label": "renameFromRoot", "description": [ - "Authentication is successful with given credentials, allow request to pass through" + "\nRename a configuration property from the root configuration.\nWill log a deprecation warning if the oldKey was found and deprecation applied.\n\nThis should be only used when renaming properties from different configuration's path.\nTo rename properties from inside a plugin's configuration, use 'rename' instead.\n" ], "signature": [ - "(data?: ", - "AuthResultParams", - " | undefined) => ", - "AuthResult" + "(oldKey: string, newKey: string, details: ", + "FactoryConfigDeprecationDetails", + ") => ", + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.ConfigDeprecation", + "text": "ConfigDeprecation" + } ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/kbn-config/src/deprecation/types.ts", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "core", - "id": "def-server.AuthToolkit.authenticated.$1", - "type": "Object", + "id": "def-server.ConfigDeprecationFactory.renameFromRoot.$1", + "type": "string", "tags": [], - "label": "data", + "label": "oldKey", "description": [], "signature": [ - "AuthResultParams", - " | undefined" + "string" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/kbn-config/src/deprecation/types.ts", "deprecated": false, "trackAdoption": false, - "isRequired": false + "isRequired": true + }, + { + "parentPluginId": "core", + "id": "def-server.ConfigDeprecationFactory.renameFromRoot.$2", + "type": "string", + "tags": [], + "label": "newKey", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "core", + "id": "def-server.ConfigDeprecationFactory.renameFromRoot.$3", + "type": "CompoundType", + "tags": [], + "label": "details", + "description": [], + "signature": [ + "FactoryConfigDeprecationDetails" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true } ], "returnComment": [] }, { "parentPluginId": "core", - "id": "def-server.AuthToolkit.notHandled", + "id": "def-server.ConfigDeprecationFactory.unused", "type": "Function", "tags": [], - "label": "notHandled", + "label": "unused", "description": [ - "\nUser has no credentials.\nAllows user to access a resource when authRequired is 'optional'\nRejects a request when authRequired: true" + "\nRemove a configuration property from inside a plugin's configuration path.\nWill log a deprecation warning if the unused key was found and deprecation applied.\n" ], "signature": [ - "() => ", - "AuthResult" + "(unusedKey: string, details: ", + "FactoryConfigDeprecationDetails", + ") => ", + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.ConfigDeprecation", + "text": "ConfigDeprecation" + } ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/kbn-config/src/deprecation/types.ts", "deprecated": false, "trackAdoption": false, - "children": [], + "children": [ + { + "parentPluginId": "core", + "id": "def-server.ConfigDeprecationFactory.unused.$1", + "type": "string", + "tags": [], + "label": "unusedKey", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "core", + "id": "def-server.ConfigDeprecationFactory.unused.$2", + "type": "CompoundType", + "tags": [], + "label": "details", + "description": [], + "signature": [ + "FactoryConfigDeprecationDetails" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], "returnComment": [] }, { "parentPluginId": "core", - "id": "def-server.AuthToolkit.redirected", + "id": "def-server.ConfigDeprecationFactory.unusedFromRoot", "type": "Function", "tags": [], - "label": "redirected", + "label": "unusedFromRoot", "description": [ - "\nRedirects user to another location to complete authentication when authRequired: true\nAllows user to access a resource without redirection when authRequired: 'optional'" + "\nRemove a configuration property from the root configuration.\nWill log a deprecation warning if the unused key was found and deprecation applied.\n\nThis should be only used when removing properties from outside of a plugin's configuration.\nTo remove properties from inside a plugin's configuration, use 'unused' instead.\n" ], "signature": [ - "(headers: { location: string; } & ", - "ResponseHeaders", + "(unusedKey: string, details: ", + "FactoryConfigDeprecationDetails", ") => ", - "AuthResult" + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.ConfigDeprecation", + "text": "ConfigDeprecation" + } ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/kbn-config/src/deprecation/types.ts", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "core", - "id": "def-server.AuthToolkit.redirected.$1", + "id": "def-server.ConfigDeprecationFactory.unusedFromRoot.$1", + "type": "string", + "tags": [], + "label": "unusedKey", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "core", + "id": "def-server.ConfigDeprecationFactory.unusedFromRoot.$2", "type": "CompoundType", "tags": [], - "label": "headers", + "label": "details", "description": [], "signature": [ - "{ location: string; } & ", - "ResponseHeaders" + "FactoryConfigDeprecationDetails" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/kbn-config/src/deprecation/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -20732,81 +24440,78 @@ }, { "parentPluginId": "core", - "id": "def-server.Capabilities", + "id": "def-server.ContextProviderOpts", "type": "Interface", "tags": [], - "label": "Capabilities", + "label": "ContextProviderOpts", "description": [ - "\nThe read-only set of capabilities available for the current UI session.\nCapabilities are simple key-value pairs of (string, boolean), where the string denotes the capability ID,\nand the boolean is a flag indicating if the capability is enabled or disabled.\n" + "\nDefinition of a context provider" ], "signature": [ - "Capabilities" + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.ContextProviderOpts", + "text": "ContextProviderOpts" + }, + "" ], - "path": "node_modules/@types/kbn__core-capabilities-common/index.d.ts", + "path": "packages/analytics/client/src/analytics_client/types.ts", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "core", - "id": "def-server.Capabilities.navLinks", - "type": "Object", + "id": "def-server.ContextProviderOpts.name", + "type": "string", "tags": [], - "label": "navLinks", + "label": "name", "description": [ - "Navigation link capabilities." - ], - "signature": [ - "{ [x: string]: boolean; }" + "\nThe name of the provider." ], - "path": "node_modules/@types/kbn__core-capabilities-common/index.d.ts", + "path": "packages/analytics/client/src/analytics_client/types.ts", "deprecated": false, "trackAdoption": false }, { "parentPluginId": "core", - "id": "def-server.Capabilities.management", + "id": "def-server.ContextProviderOpts.context$", "type": "Object", "tags": [], - "label": "management", + "label": "context$", "description": [ - "Management section capabilities." + "\nObservable that emits the custom context." ], "signature": [ - "{ [sectionId: string]: Record; }" + "Observable", + "" ], - "path": "node_modules/@types/kbn__core-capabilities-common/index.d.ts", + "path": "packages/analytics/client/src/analytics_client/types.ts", "deprecated": false, "trackAdoption": false }, { "parentPluginId": "core", - "id": "def-server.Capabilities.catalogue", + "id": "def-server.ContextProviderOpts.schema", "type": "Object", "tags": [], - "label": "catalogue", - "description": [ - "Catalogue capabilities. Catalogue entries drive the visibility of the Kibana homepage options." - ], - "signature": [ - "{ [x: string]: boolean; }" - ], - "path": "node_modules/@types/kbn__core-capabilities-common/index.d.ts", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "core", - "id": "def-server.Capabilities.Unnamed", - "type": "IndexSignature", - "tags": [], - "label": "[key: string]: Record>", + "label": "schema", "description": [ - "Custom capabilities, registered by plugins." + "\nSchema declaring and documenting the expected output in the context$\n" ], "signature": [ - "[key: string]: Record>" + "{ [Key in keyof Required]: ", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.SchemaValue", + "text": "SchemaValue" + }, + "; }" ], - "path": "node_modules/@types/kbn__core-capabilities-common/index.d.ts", + "path": "packages/analytics/client/src/analytics_client/types.ts", "deprecated": false, "trackAdoption": false } @@ -20815,226 +24520,173 @@ }, { "parentPluginId": "core", - "id": "def-server.CapabilitiesSetup", + "id": "def-server.CoreConfigUsageData", "type": "Interface", "tags": [], - "label": "CapabilitiesSetup", + "label": "CoreConfigUsageData", "description": [ - "\nAPIs to manage the {@link Capabilities} that will be used by the application.\n\nPlugins relying on capabilities to toggle some of their features should register them during the setup phase\nusing the `registerProvider` method.\n\nPlugins having the responsibility to restrict capabilities depending on a given context should register\ntheir capabilities switcher using the `registerSwitcher` method.\n\nRefers to the methods documentation for complete description and examples.\n" - ], - "signature": [ - "CapabilitiesSetup" + "\nUsage data on this cluster's configuration of Core features" ], - "path": "node_modules/@types/kbn__core-capabilities-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_data.ts", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "core", - "id": "def-server.CapabilitiesSetup.registerProvider", - "type": "Function", + "id": "def-server.CoreConfigUsageData.elasticsearch", + "type": "Object", "tags": [], - "label": "registerProvider", - "description": [ - "\nRegister a {@link CapabilitiesProvider} to be used to provide {@link Capabilities}\nwhen resolving them.\n" - ], + "label": "elasticsearch", + "description": [], "signature": [ - "(provider: ", - "CapabilitiesProvider", - ") => void" + "{ sniffOnStart: boolean; sniffIntervalMs?: number | undefined; sniffOnConnectionFault: boolean; numberOfHostsConfigured: number; requestHeadersWhitelistConfigured: boolean; customHeadersConfigured: boolean; shardTimeoutMs: number; requestTimeoutMs: number; pingTimeoutMs: number; logQueries: boolean; ssl: { verificationMode: \"none\" | \"full\" | \"certificate\"; certificateAuthoritiesConfigured: boolean; certificateConfigured: boolean; keyConfigured: boolean; keystoreConfigured: boolean; truststoreConfigured: boolean; alwaysPresentCertificate: boolean; }; apiVersion: string; healthCheckDelayMs: number; principal: \"unknown\" | \"elastic_user\" | \"kibana_user\" | \"kibana_system_user\" | \"other_user\" | \"kibana_service_account\"; }" ], - "path": "node_modules/@types/kbn__core-capabilities-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_data.ts", "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "core", - "id": "def-server.CapabilitiesSetup.registerProvider.$1", - "type": "Function", - "tags": [], - "label": "provider", - "description": [], - "signature": [ - "CapabilitiesProvider" - ], - "path": "node_modules/@types/kbn__core-capabilities-server/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "isRequired": true - } + "trackAdoption": false + }, + { + "parentPluginId": "core", + "id": "def-server.CoreConfigUsageData.http", + "type": "Object", + "tags": [], + "label": "http", + "description": [], + "signature": [ + "{ basePathConfigured: boolean; maxPayloadInBytes: number; rewriteBasePath: boolean; keepaliveTimeout: number; socketTimeout: number; compression: { enabled: boolean; referrerWhitelistConfigured: boolean; }; xsrf: { disableProtection: boolean; allowlistConfigured: boolean; }; requestId: { allowFromAnyIp: boolean; ipAllowlistConfigured: boolean; }; ssl: { certificateAuthoritiesConfigured: boolean; certificateConfigured: boolean; cipherSuites: string[]; keyConfigured: boolean; keystoreConfigured: boolean; truststoreConfigured: boolean; redirectHttpFromPortConfigured: boolean; supportedProtocols: string[]; clientAuthentication: \"optional\" | \"none\" | \"required\"; }; securityResponseHeaders: { strictTransportSecurity: string; xContentTypeOptions: string; referrerPolicy: string; permissionsPolicyConfigured: boolean; disableEmbedding: boolean; }; }" ], - "returnComment": [] + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_data.ts", + "deprecated": false, + "trackAdoption": false }, { "parentPluginId": "core", - "id": "def-server.CapabilitiesSetup.registerSwitcher", - "type": "Function", + "id": "def-server.CoreConfigUsageData.logging", + "type": "Object", "tags": [], - "label": "registerSwitcher", - "description": [ - "\nRegister a {@link CapabilitiesSwitcher} to be used to change the default state\nof the {@link Capabilities} entries when resolving them.\n\nA capabilities switcher can only change the state of existing capabilities.\nCapabilities added or removed when invoking the switcher will be ignored.\n" + "label": "logging", + "description": [], + "signature": [ + "{ appendersTypesUsed: string[]; loggersConfiguredCount: number; }" ], + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_data.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "core", + "id": "def-server.CoreConfigUsageData.savedObjects", + "type": "Object", + "tags": [], + "label": "savedObjects", + "description": [], "signature": [ - "(switcher: ", - "CapabilitiesSwitcher", - ") => void" + "{ customIndex: boolean; maxImportPayloadBytes: number; maxImportExportSize: number; }" ], - "path": "node_modules/@types/kbn__core-capabilities-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_data.ts", "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "core", - "id": "def-server.CapabilitiesSetup.registerSwitcher.$1", - "type": "Function", - "tags": [], - "label": "switcher", - "description": [], - "signature": [ - "CapabilitiesSwitcher" - ], - "path": "node_modules/@types/kbn__core-capabilities-server/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "isRequired": true - } + "trackAdoption": false + }, + { + "parentPluginId": "core", + "id": "def-server.CoreConfigUsageData.deprecatedKeys", + "type": "Object", + "tags": [], + "label": "deprecatedKeys", + "description": [], + "signature": [ + "{ set: string[]; unset: string[]; }" ], - "returnComment": [] + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_data.ts", + "deprecated": false, + "trackAdoption": false } ], "initialIsOpen": false }, { "parentPluginId": "core", - "id": "def-server.CapabilitiesStart", + "id": "def-server.CoreEnvironmentUsageData", "type": "Interface", "tags": [], - "label": "CapabilitiesStart", + "label": "CoreEnvironmentUsageData", "description": [ - "\nAPIs to access the application {@link Capabilities}.\n" - ], - "signature": [ - "CapabilitiesStart" + "\nUsage data on this Kibana node's runtime environment." ], - "path": "node_modules/@types/kbn__core-capabilities-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_data.ts", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "core", - "id": "def-server.CapabilitiesStart.resolveCapabilities", - "type": "Function", + "id": "def-server.CoreEnvironmentUsageData.memory", + "type": "Object", "tags": [], - "label": "resolveCapabilities", - "description": [ - "\nResolve the {@link Capabilities} to be used for given request" - ], + "label": "memory", + "description": [], "signature": [ - "(request: ", - "KibanaRequest", - ", options?: ", - "ResolveCapabilitiesOptions", - " | undefined) => Promise<", - "Capabilities", - ">" + "{ heapTotalBytes: number; heapUsedBytes: number; heapSizeLimit: number; }" ], - "path": "node_modules/@types/kbn__core-capabilities-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_data.ts", "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "core", - "id": "def-server.CapabilitiesStart.resolveCapabilities.$1", - "type": "Object", - "tags": [], - "label": "request", - "description": [], - "signature": [ - "KibanaRequest", - "" - ], - "path": "node_modules/@types/kbn__core-capabilities-server/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "isRequired": true - }, - { - "parentPluginId": "core", - "id": "def-server.CapabilitiesStart.resolveCapabilities.$2", - "type": "Object", - "tags": [], - "label": "options", - "description": [], - "signature": [ - "ResolveCapabilitiesOptions", - " | undefined" - ], - "path": "node_modules/@types/kbn__core-capabilities-server/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "isRequired": false - } - ], - "returnComment": [] + "trackAdoption": false } ], "initialIsOpen": false }, { "parentPluginId": "core", - "id": "def-server.ConfigDeprecationContext", + "id": "def-server.CoreIncrementCounterParams", "type": "Interface", "tags": [], - "label": "ConfigDeprecationContext", - "description": [ - "\nDeprecation context provided to {@link ConfigDeprecation | config deprecations}\n" - ], - "signature": [ - "ConfigDeprecationContext" - ], - "path": "node_modules/@types/kbn__config/index.d.ts", + "label": "CoreIncrementCounterParams", + "description": [], + "path": "packages/core/usage-data/core-usage-data-server/src/setup_contract.ts", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "core", - "id": "def-server.ConfigDeprecationContext.version", + "id": "def-server.CoreIncrementCounterParams.counterName", "type": "string", "tags": [], - "label": "version", + "label": "counterName", "description": [ - "The current Kibana version, e.g `7.16.1`, `8.0.0`" + "The name of the counter" ], - "path": "node_modules/@types/kbn__config/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/setup_contract.ts", "deprecated": false, "trackAdoption": false }, { "parentPluginId": "core", - "id": "def-server.ConfigDeprecationContext.branch", + "id": "def-server.CoreIncrementCounterParams.counterType", "type": "string", "tags": [], - "label": "branch", + "label": "counterType", "description": [ - "The current Kibana branch, e.g `7.x`, `7.16`, `master`" + "The counter type (\"count\" by default)" + ], + "signature": [ + "string | undefined" ], - "path": "node_modules/@types/kbn__config/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/setup_contract.ts", "deprecated": false, "trackAdoption": false }, { "parentPluginId": "core", - "id": "def-server.ConfigDeprecationContext.docLinks", - "type": "Object", + "id": "def-server.CoreIncrementCounterParams.incrementBy", + "type": "number", "tags": [], - "label": "docLinks", + "label": "incrementBy", "description": [ - "Allow direct access to the doc links from the deprecation handler" + "Increment the counter by this number (1 if not specified)" ], "signature": [ - "DocLinks" + "number | undefined" ], - "path": "node_modules/@types/kbn__config/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/setup_contract.ts", "deprecated": false, "trackAdoption": false } @@ -21043,790 +24695,219 @@ }, { "parentPluginId": "core", - "id": "def-server.ConfigDeprecationFactory", + "id": "def-server.CorePreboot", "type": "Interface", "tags": [], - "label": "ConfigDeprecationFactory", + "label": "CorePreboot", "description": [ - "\nProvides helpers to generates the most commonly used {@link ConfigDeprecation}\nwhen invoking a {@link ConfigDeprecationProvider}.\n\nSee methods documentation for more detailed examples.\n" - ], - "signature": [ - "ConfigDeprecationFactory" + "\nContext passed to the `setup` method of `preboot` plugins." ], - "path": "node_modules/@types/kbn__config/index.d.ts", + "path": "packages/core/lifecycle/core-lifecycle-server/src/core_preboot.ts", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "core", - "id": "def-server.ConfigDeprecationFactory.deprecate", - "type": "Function", + "id": "def-server.CorePreboot.analytics", + "type": "Object", "tags": [], - "label": "deprecate", + "label": "analytics", "description": [ - "\nDeprecate a configuration property from inside a plugin's configuration path.\nWill log a deprecation warning if the deprecatedKey was found.\n" + "{@link AnalyticsServicePreboot}" ], "signature": [ - "(deprecatedKey: string, removeBy: string, details: ", - "FactoryConfigDeprecationDetails", - ") => ", - "ConfigDeprecation" - ], - "path": "node_modules/@types/kbn__config/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "children": [ + "{ optIn: (optInConfig: ", { - "parentPluginId": "core", - "id": "def-server.ConfigDeprecationFactory.deprecate.$1", - "type": "string", - "tags": [], - "label": "deprecatedKey", - "description": [], - "signature": [ - "string" - ], - "path": "node_modules/@types/kbn__config/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "isRequired": true + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.OptInConfig", + "text": "OptInConfig" }, + ") => void; reportEvent: (eventType: string, eventData: EventTypeData) => void; readonly telemetryCounter$: ", + "Observable", + "<", { - "parentPluginId": "core", - "id": "def-server.ConfigDeprecationFactory.deprecate.$2", - "type": "string", - "tags": [], - "label": "removeBy", - "description": [], - "signature": [ - "string" - ], - "path": "node_modules/@types/kbn__config/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "isRequired": true + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.TelemetryCounter", + "text": "TelemetryCounter" }, + ">; registerEventType: (eventTypeOps: ", { - "parentPluginId": "core", - "id": "def-server.ConfigDeprecationFactory.deprecate.$3", - "type": "CompoundType", - "tags": [], - "label": "details", - "description": [], - "signature": [ - "FactoryConfigDeprecationDetails" - ], - "path": "node_modules/@types/kbn__config/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "isRequired": true - } + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.EventTypeOpts", + "text": "EventTypeOpts" + }, + ") => void; registerShipper: (Shipper: ", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.ShipperClassConstructor", + "text": "ShipperClassConstructor" + }, + ", shipperConfig: ShipperConfig, opts?: ", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.RegisterShipperOpts", + "text": "RegisterShipperOpts" + }, + " | undefined) => void; registerContextProvider: (contextProviderOpts: ", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.ContextProviderOpts", + "text": "ContextProviderOpts" + }, + ") => void; removeContextProvider: (contextProviderName: string) => void; }" ], - "returnComment": [] + "path": "packages/core/lifecycle/core-lifecycle-server/src/core_preboot.ts", + "deprecated": false, + "trackAdoption": false }, { "parentPluginId": "core", - "id": "def-server.ConfigDeprecationFactory.deprecateFromRoot", - "type": "Function", + "id": "def-server.CorePreboot.elasticsearch", + "type": "Object", "tags": [], - "label": "deprecateFromRoot", + "label": "elasticsearch", "description": [ - "\nDeprecate a configuration property from the root configuration.\nWill log a deprecation warning if the deprecatedKey was found.\n\nThis should be only used when deprecating properties from different configuration's path.\nTo deprecate properties from inside a plugin's configuration, use 'deprecate' instead.\n" + "{@link ElasticsearchServicePreboot}" ], "signature": [ - "(deprecatedKey: string, removeBy: string, details: ", - "FactoryConfigDeprecationDetails", - ") => ", - "ConfigDeprecation" - ], - "path": "node_modules/@types/kbn__config/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "core", - "id": "def-server.ConfigDeprecationFactory.deprecateFromRoot.$1", - "type": "string", - "tags": [], - "label": "deprecatedKey", - "description": [], - "signature": [ - "string" - ], - "path": "node_modules/@types/kbn__config/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "isRequired": true - }, { - "parentPluginId": "core", - "id": "def-server.ConfigDeprecationFactory.deprecateFromRoot.$2", - "type": "string", - "tags": [], - "label": "removeBy", - "description": [], - "signature": [ - "string" - ], - "path": "node_modules/@types/kbn__config/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "isRequired": true - }, - { - "parentPluginId": "core", - "id": "def-server.ConfigDeprecationFactory.deprecateFromRoot.$3", - "type": "CompoundType", - "tags": [], - "label": "details", - "description": [], - "signature": [ - "FactoryConfigDeprecationDetails" - ], - "path": "node_modules/@types/kbn__config/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "isRequired": true + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.ElasticsearchServicePreboot", + "text": "ElasticsearchServicePreboot" } ], - "returnComment": [] + "path": "packages/core/lifecycle/core-lifecycle-server/src/core_preboot.ts", + "deprecated": false, + "trackAdoption": false }, { "parentPluginId": "core", - "id": "def-server.ConfigDeprecationFactory.rename", - "type": "Function", + "id": "def-server.CorePreboot.http", + "type": "Object", "tags": [], - "label": "rename", + "label": "http", "description": [ - "\nRename a configuration property from inside a plugin's configuration path.\nWill log a deprecation warning if the oldKey was found and deprecation applied.\n" + "{@link HttpServicePreboot}" ], "signature": [ - "(oldKey: string, newKey: string, details: ", - "FactoryConfigDeprecationDetails", - ") => ", - "ConfigDeprecation" - ], - "path": "node_modules/@types/kbn__config/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "children": [ { - "parentPluginId": "core", - "id": "def-server.ConfigDeprecationFactory.rename.$1", - "type": "string", - "tags": [], - "label": "oldKey", - "description": [], - "signature": [ - "string" - ], - "path": "node_modules/@types/kbn__config/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "isRequired": true + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.HttpServicePreboot", + "text": "HttpServicePreboot" }, + "<", { - "parentPluginId": "core", - "id": "def-server.ConfigDeprecationFactory.rename.$2", - "type": "string", - "tags": [], - "label": "newKey", - "description": [], - "signature": [ - "string" - ], - "path": "node_modules/@types/kbn__config/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "isRequired": true + "pluginId": "@kbn/core-http-request-handler-context-server", + "scope": "server", + "docId": "kibKbnCoreHttpRequestHandlerContextServerPluginApi", + "section": "def-server.RequestHandlerContext", + "text": "RequestHandlerContext" }, - { - "parentPluginId": "core", - "id": "def-server.ConfigDeprecationFactory.rename.$3", - "type": "CompoundType", - "tags": [], - "label": "details", - "description": [], - "signature": [ - "FactoryConfigDeprecationDetails" - ], - "path": "node_modules/@types/kbn__config/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "isRequired": true - } + ">" ], - "returnComment": [] + "path": "packages/core/lifecycle/core-lifecycle-server/src/core_preboot.ts", + "deprecated": false, + "trackAdoption": false }, { "parentPluginId": "core", - "id": "def-server.ConfigDeprecationFactory.renameFromRoot", - "type": "Function", + "id": "def-server.CorePreboot.preboot", + "type": "Object", "tags": [], - "label": "renameFromRoot", + "label": "preboot", "description": [ - "\nRename a configuration property from the root configuration.\nWill log a deprecation warning if the oldKey was found and deprecation applied.\n\nThis should be only used when renaming properties from different configuration's path.\nTo rename properties from inside a plugin's configuration, use 'rename' instead.\n" + "{@link PrebootServicePreboot}" ], "signature": [ - "(oldKey: string, newKey: string, details: ", - "FactoryConfigDeprecationDetails", - ") => ", - "ConfigDeprecation" + { + "pluginId": "@kbn/core-preboot-server", + "scope": "server", + "docId": "kibKbnCorePrebootServerPluginApi", + "section": "def-server.PrebootServicePreboot", + "text": "PrebootServicePreboot" + } ], - "path": "node_modules/@types/kbn__config/index.d.ts", + "path": "packages/core/lifecycle/core-lifecycle-server/src/core_preboot.ts", "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "core", - "id": "def-server.ConfigDeprecationFactory.renameFromRoot.$1", - "type": "string", - "tags": [], - "label": "oldKey", - "description": [], - "signature": [ - "string" - ], - "path": "node_modules/@types/kbn__config/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "isRequired": true - }, - { - "parentPluginId": "core", - "id": "def-server.ConfigDeprecationFactory.renameFromRoot.$2", - "type": "string", - "tags": [], - "label": "newKey", - "description": [], - "signature": [ - "string" - ], - "path": "node_modules/@types/kbn__config/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "isRequired": true - }, + "trackAdoption": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "core", + "id": "def-server.CoreRequestHandlerContext", + "type": "Interface", + "tags": [], + "label": "CoreRequestHandlerContext", + "description": [ + "\nThe `core` context provided to route handler.\n\nProvides the following clients and services:\n - {@link SavedObjectsClient | savedObjects.client} - Saved Objects client\n which uses the credentials of the incoming request\n - {@link ISavedObjectTypeRegistry | savedObjects.typeRegistry} - Type registry containing\n all the registered types.\n - {@link IScopedClusterClient | elasticsearch.client} - Elasticsearch\n data client which uses the credentials of the incoming request\n - {@link IUiSettingsClient | uiSettings.client} - uiSettings client\n which uses the credentials of the incoming request" + ], + "path": "packages/core/http/core-http-request-handler-context-server/src/request_handler_context.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "core", + "id": "def-server.CoreRequestHandlerContext.savedObjects", + "type": "Object", + "tags": [], + "label": "savedObjects", + "description": [], + "signature": [ { - "parentPluginId": "core", - "id": "def-server.ConfigDeprecationFactory.renameFromRoot.$3", - "type": "CompoundType", - "tags": [], - "label": "details", - "description": [], - "signature": [ - "FactoryConfigDeprecationDetails" - ], - "path": "node_modules/@types/kbn__config/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "isRequired": true + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsRequestHandlerContext", + "text": "SavedObjectsRequestHandlerContext" } ], - "returnComment": [] + "path": "packages/core/http/core-http-request-handler-context-server/src/request_handler_context.ts", + "deprecated": false, + "trackAdoption": false }, { "parentPluginId": "core", - "id": "def-server.ConfigDeprecationFactory.unused", - "type": "Function", - "tags": [], - "label": "unused", - "description": [ - "\nRemove a configuration property from inside a plugin's configuration path.\nWill log a deprecation warning if the unused key was found and deprecation applied.\n" - ], - "signature": [ - "(unusedKey: string, details: ", - "FactoryConfigDeprecationDetails", - ") => ", - "ConfigDeprecation" - ], - "path": "node_modules/@types/kbn__config/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "core", - "id": "def-server.ConfigDeprecationFactory.unused.$1", - "type": "string", - "tags": [], - "label": "unusedKey", - "description": [], - "signature": [ - "string" - ], - "path": "node_modules/@types/kbn__config/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "isRequired": true - }, - { - "parentPluginId": "core", - "id": "def-server.ConfigDeprecationFactory.unused.$2", - "type": "CompoundType", - "tags": [], - "label": "details", - "description": [], - "signature": [ - "FactoryConfigDeprecationDetails" - ], - "path": "node_modules/@types/kbn__config/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "core", - "id": "def-server.ConfigDeprecationFactory.unusedFromRoot", - "type": "Function", - "tags": [], - "label": "unusedFromRoot", - "description": [ - "\nRemove a configuration property from the root configuration.\nWill log a deprecation warning if the unused key was found and deprecation applied.\n\nThis should be only used when removing properties from outside of a plugin's configuration.\nTo remove properties from inside a plugin's configuration, use 'unused' instead.\n" - ], - "signature": [ - "(unusedKey: string, details: ", - "FactoryConfigDeprecationDetails", - ") => ", - "ConfigDeprecation" - ], - "path": "node_modules/@types/kbn__config/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "core", - "id": "def-server.ConfigDeprecationFactory.unusedFromRoot.$1", - "type": "string", - "tags": [], - "label": "unusedKey", - "description": [], - "signature": [ - "string" - ], - "path": "node_modules/@types/kbn__config/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "isRequired": true - }, - { - "parentPluginId": "core", - "id": "def-server.ConfigDeprecationFactory.unusedFromRoot.$2", - "type": "CompoundType", - "tags": [], - "label": "details", - "description": [], - "signature": [ - "FactoryConfigDeprecationDetails" - ], - "path": "node_modules/@types/kbn__config/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "isRequired": true - } - ], - "returnComment": [] - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "core", - "id": "def-server.ContextProviderOpts", - "type": "Interface", - "tags": [], - "label": "ContextProviderOpts", - "description": [ - "\nDefinition of a context provider" - ], - "signature": [ - "ContextProviderOpts", - "" - ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "core", - "id": "def-server.ContextProviderOpts.name", - "type": "string", - "tags": [], - "label": "name", - "description": [ - "\nThe name of the provider." - ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "core", - "id": "def-server.ContextProviderOpts.context$", - "type": "Object", - "tags": [], - "label": "context$", - "description": [ - "\nObservable that emits the custom context." - ], - "signature": [ - "Observable", - "" - ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "core", - "id": "def-server.ContextProviderOpts.schema", - "type": "Object", - "tags": [], - "label": "schema", - "description": [ - "\nSchema declaring and documenting the expected output in the context$\n" - ], - "signature": [ - "{ [Key in keyof Required]: ", - "SchemaValue", - "; }" - ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", - "deprecated": false, - "trackAdoption": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "core", - "id": "def-server.CoreConfigUsageData", - "type": "Interface", - "tags": [], - "label": "CoreConfigUsageData", - "description": [ - "\nUsage data on this cluster's configuration of Core features" - ], - "signature": [ - "CoreConfigUsageData" - ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "core", - "id": "def-server.CoreConfigUsageData.elasticsearch", - "type": "Object", - "tags": [], - "label": "elasticsearch", - "description": [], - "signature": [ - "{ sniffOnStart: boolean; sniffIntervalMs?: number | undefined; sniffOnConnectionFault: boolean; numberOfHostsConfigured: number; requestHeadersWhitelistConfigured: boolean; customHeadersConfigured: boolean; shardTimeoutMs: number; requestTimeoutMs: number; pingTimeoutMs: number; logQueries: boolean; ssl: { verificationMode: \"none\" | \"full\" | \"certificate\"; certificateAuthoritiesConfigured: boolean; certificateConfigured: boolean; keyConfigured: boolean; keystoreConfigured: boolean; truststoreConfigured: boolean; alwaysPresentCertificate: boolean; }; apiVersion: string; healthCheckDelayMs: number; principal: \"unknown\" | \"elastic_user\" | \"kibana_user\" | \"kibana_system_user\" | \"other_user\" | \"kibana_service_account\"; }" - ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "core", - "id": "def-server.CoreConfigUsageData.http", - "type": "Object", - "tags": [], - "label": "http", - "description": [], - "signature": [ - "{ basePathConfigured: boolean; maxPayloadInBytes: number; rewriteBasePath: boolean; keepaliveTimeout: number; socketTimeout: number; compression: { enabled: boolean; referrerWhitelistConfigured: boolean; }; xsrf: { disableProtection: boolean; allowlistConfigured: boolean; }; requestId: { allowFromAnyIp: boolean; ipAllowlistConfigured: boolean; }; ssl: { certificateAuthoritiesConfigured: boolean; certificateConfigured: boolean; cipherSuites: string[]; keyConfigured: boolean; keystoreConfigured: boolean; truststoreConfigured: boolean; redirectHttpFromPortConfigured: boolean; supportedProtocols: string[]; clientAuthentication: \"optional\" | \"none\" | \"required\"; }; securityResponseHeaders: { strictTransportSecurity: string; xContentTypeOptions: string; referrerPolicy: string; permissionsPolicyConfigured: boolean; disableEmbedding: boolean; }; }" - ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "core", - "id": "def-server.CoreConfigUsageData.logging", - "type": "Object", - "tags": [], - "label": "logging", - "description": [], - "signature": [ - "{ appendersTypesUsed: string[]; loggersConfiguredCount: number; }" - ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "core", - "id": "def-server.CoreConfigUsageData.savedObjects", - "type": "Object", - "tags": [], - "label": "savedObjects", - "description": [], - "signature": [ - "{ customIndex: boolean; maxImportPayloadBytes: number; maxImportExportSize: number; }" - ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "core", - "id": "def-server.CoreConfigUsageData.deprecatedKeys", - "type": "Object", - "tags": [], - "label": "deprecatedKeys", - "description": [], - "signature": [ - "{ set: string[]; unset: string[]; }" - ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", - "deprecated": false, - "trackAdoption": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "core", - "id": "def-server.CoreEnvironmentUsageData", - "type": "Interface", - "tags": [], - "label": "CoreEnvironmentUsageData", - "description": [ - "\nUsage data on this Kibana node's runtime environment." - ], - "signature": [ - "CoreEnvironmentUsageData" - ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "core", - "id": "def-server.CoreEnvironmentUsageData.memory", - "type": "Object", - "tags": [], - "label": "memory", - "description": [], - "signature": [ - "{ heapTotalBytes: number; heapUsedBytes: number; heapSizeLimit: number; }" - ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", - "deprecated": false, - "trackAdoption": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "core", - "id": "def-server.CoreIncrementCounterParams", - "type": "Interface", - "tags": [], - "label": "CoreIncrementCounterParams", - "description": [], - "signature": [ - "CoreIncrementCounterParams" - ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "core", - "id": "def-server.CoreIncrementCounterParams.counterName", - "type": "string", - "tags": [], - "label": "counterName", - "description": [ - "The name of the counter" - ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "core", - "id": "def-server.CoreIncrementCounterParams.counterType", - "type": "string", - "tags": [], - "label": "counterType", - "description": [ - "The counter type (\"count\" by default)" - ], - "signature": [ - "string | undefined" - ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "core", - "id": "def-server.CoreIncrementCounterParams.incrementBy", - "type": "number", - "tags": [], - "label": "incrementBy", - "description": [ - "Increment the counter by this number (1 if not specified)" - ], - "signature": [ - "number | undefined" - ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", - "deprecated": false, - "trackAdoption": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "core", - "id": "def-server.CorePreboot", - "type": "Interface", - "tags": [], - "label": "CorePreboot", - "description": [ - "\nContext passed to the `setup` method of `preboot` plugins." - ], - "signature": [ - "CorePreboot" - ], - "path": "node_modules/@types/kbn__core-lifecycle-server/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "core", - "id": "def-server.CorePreboot.analytics", - "type": "Object", - "tags": [], - "label": "analytics", - "description": [ - "{@link AnalyticsServicePreboot}" - ], - "signature": [ - "{ optIn: (optInConfig: ", - "OptInConfig", - ") => void; reportEvent: (eventType: string, eventData: EventTypeData) => void; readonly telemetryCounter$: ", - "Observable", - "<", - "TelemetryCounter", - ">; registerEventType: (eventTypeOps: ", - "EventTypeOpts", - ") => void; registerShipper: (Shipper: ", - "ShipperClassConstructor", - ", shipperConfig: ShipperConfig, opts?: ", - "RegisterShipperOpts", - " | undefined) => void; registerContextProvider: (contextProviderOpts: ", - "ContextProviderOpts", - ") => void; removeContextProvider: (contextProviderName: string) => void; }" - ], - "path": "node_modules/@types/kbn__core-lifecycle-server/index.d.ts", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "core", - "id": "def-server.CorePreboot.elasticsearch", - "type": "Object", - "tags": [], - "label": "elasticsearch", - "description": [ - "{@link ElasticsearchServicePreboot}" - ], - "signature": [ - "ElasticsearchServicePreboot" - ], - "path": "node_modules/@types/kbn__core-lifecycle-server/index.d.ts", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "core", - "id": "def-server.CorePreboot.http", - "type": "Object", - "tags": [], - "label": "http", - "description": [ - "{@link HttpServicePreboot}" - ], - "signature": [ - "HttpServicePreboot", - "<", - "RequestHandlerContext", - ">" - ], - "path": "node_modules/@types/kbn__core-lifecycle-server/index.d.ts", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "core", - "id": "def-server.CorePreboot.preboot", - "type": "Object", - "tags": [], - "label": "preboot", - "description": [ - "{@link PrebootServicePreboot}" - ], - "signature": [ - "PrebootServicePreboot" - ], - "path": "node_modules/@types/kbn__core-lifecycle-server/index.d.ts", - "deprecated": false, - "trackAdoption": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "core", - "id": "def-server.CoreRequestHandlerContext", - "type": "Interface", - "tags": [], - "label": "CoreRequestHandlerContext", - "description": [ - "\nThe `core` context provided to route handler.\n\nProvides the following clients and services:\n - {@link SavedObjectsClient | savedObjects.client} - Saved Objects client\n which uses the credentials of the incoming request\n - {@link ISavedObjectTypeRegistry | savedObjects.typeRegistry} - Type registry containing\n all the registered types.\n - {@link IScopedClusterClient | elasticsearch.client} - Elasticsearch\n data client which uses the credentials of the incoming request\n - {@link IUiSettingsClient | uiSettings.client} - uiSettings client\n which uses the credentials of the incoming request" - ], - "signature": [ - "CoreRequestHandlerContext" - ], - "path": "node_modules/@types/kbn__core-http-request-handler-context-server/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "core", - "id": "def-server.CoreRequestHandlerContext.savedObjects", - "type": "Object", - "tags": [], - "label": "savedObjects", - "description": [], - "signature": [ - "SavedObjectsRequestHandlerContext" - ], - "path": "node_modules/@types/kbn__core-http-request-handler-context-server/index.d.ts", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "core", - "id": "def-server.CoreRequestHandlerContext.elasticsearch", - "type": "Object", + "id": "def-server.CoreRequestHandlerContext.elasticsearch", + "type": "Object", "tags": [], "label": "elasticsearch", "description": [], "signature": [ - "ElasticsearchRequestHandlerContext" + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.ElasticsearchRequestHandlerContext", + "text": "ElasticsearchRequestHandlerContext" + } ], - "path": "node_modules/@types/kbn__core-http-request-handler-context-server/index.d.ts", + "path": "packages/core/http/core-http-request-handler-context-server/src/request_handler_context.ts", "deprecated": false, "trackAdoption": false }, @@ -21838,9 +24919,15 @@ "label": "uiSettings", "description": [], "signature": [ - "UiSettingsRequestHandlerContext" + { + "pluginId": "@kbn/core-ui-settings-server", + "scope": "server", + "docId": "kibKbnCoreUiSettingsServerPluginApi", + "section": "def-server.UiSettingsRequestHandlerContext", + "text": "UiSettingsRequestHandlerContext" + } ], - "path": "node_modules/@types/kbn__core-http-request-handler-context-server/index.d.ts", + "path": "packages/core/http/core-http-request-handler-context-server/src/request_handler_context.ts", "deprecated": false, "trackAdoption": false }, @@ -21852,9 +24939,15 @@ "label": "deprecations", "description": [], "signature": [ - "DeprecationsRequestHandlerContext" + { + "pluginId": "@kbn/core-deprecations-server", + "scope": "server", + "docId": "kibKbnCoreDeprecationsServerPluginApi", + "section": "def-server.DeprecationsRequestHandlerContext", + "text": "DeprecationsRequestHandlerContext" + } ], - "path": "node_modules/@types/kbn__core-http-request-handler-context-server/index.d.ts", + "path": "packages/core/http/core-http-request-handler-context-server/src/request_handler_context.ts", "deprecated": false, "trackAdoption": false } @@ -21870,10 +24963,7 @@ "description": [ "\nUsage data from Core services" ], - "signature": [ - "CoreServicesUsageData" - ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_data.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -21887,7 +24977,7 @@ "signature": [ "{ indices: { alias: string; docsCount: number; docsDeleted: number; storeSizeBytes: number; primaryStoreSizeBytes: number; savedObjectsDocsCount: number; }[]; legacyUrlAliases: { activeCount: number; inactiveCount: number; disabledCount: number; totalCount: number; }; }" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_data.ts", "deprecated": false, "trackAdoption": false } @@ -21904,10 +24994,16 @@ "\nContext passed to the `setup` method of `standard` plugins.\n" ], "signature": [ - "CoreSetup", + { + "pluginId": "@kbn/core-lifecycle-server", + "scope": "server", + "docId": "kibKbnCoreLifecycleServerPluginApi", + "section": "def-server.CoreSetup", + "text": "CoreSetup" + }, "" ], - "path": "node_modules/@types/kbn__core-lifecycle-server/index.d.ts", + "path": "packages/core/lifecycle/core-lifecycle-server/src/core_setup.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -21922,24 +25018,66 @@ ], "signature": [ "{ optIn: (optInConfig: ", - "OptInConfig", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.OptInConfig", + "text": "OptInConfig" + }, ") => void; reportEvent: (eventType: string, eventData: EventTypeData) => void; readonly telemetryCounter$: ", "Observable", "<", - "TelemetryCounter", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.TelemetryCounter", + "text": "TelemetryCounter" + }, ">; registerEventType: (eventTypeOps: ", - "EventTypeOpts", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.EventTypeOpts", + "text": "EventTypeOpts" + }, ") => void; registerShipper: (Shipper: ", - "ShipperClassConstructor", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.ShipperClassConstructor", + "text": "ShipperClassConstructor" + }, ", shipperConfig: ShipperConfig, opts?: ", - "RegisterShipperOpts", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.RegisterShipperOpts", + "text": "RegisterShipperOpts" + }, " | undefined) => void; registerContextProvider: (contextProviderOpts: ", - "ContextProviderOpts", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.ContextProviderOpts", + "text": "ContextProviderOpts" + }, ") => void; removeContextProvider: (contextProviderName: string) => void; }" ], - "path": "node_modules/@types/kbn__core-lifecycle-server/index.d.ts", + "path": "packages/core/lifecycle/core-lifecycle-server/src/core_setup.ts", "deprecated": false, "trackAdoption": false }, @@ -21953,9 +25091,15 @@ "{@link CapabilitiesSetup}" ], "signature": [ - "CapabilitiesSetup" + { + "pluginId": "@kbn/core-capabilities-server", + "scope": "server", + "docId": "kibKbnCoreCapabilitiesServerPluginApi", + "section": "def-server.CapabilitiesSetup", + "text": "CapabilitiesSetup" + } ], - "path": "node_modules/@types/kbn__core-lifecycle-server/index.d.ts", + "path": "packages/core/lifecycle/core-lifecycle-server/src/core_setup.ts", "deprecated": false, "trackAdoption": false }, @@ -21969,9 +25113,15 @@ "{@link DocLinksServiceSetup}" ], "signature": [ - "DocLinksServiceSetup" + { + "pluginId": "@kbn/core-doc-links-server", + "scope": "server", + "docId": "kibKbnCoreDocLinksServerPluginApi", + "section": "def-server.DocLinksServiceSetup", + "text": "DocLinksServiceSetup" + } ], - "path": "node_modules/@types/kbn__core-lifecycle-server/index.d.ts", + "path": "packages/core/lifecycle/core-lifecycle-server/src/core_setup.ts", "deprecated": false, "trackAdoption": false }, @@ -21985,9 +25135,15 @@ "{@link ElasticsearchServiceSetup}" ], "signature": [ - "ElasticsearchServiceSetup" + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.ElasticsearchServiceSetup", + "text": "ElasticsearchServiceSetup" + } ], - "path": "node_modules/@types/kbn__core-lifecycle-server/index.d.ts", + "path": "packages/core/lifecycle/core-lifecycle-server/src/core_setup.ts", "deprecated": false, "trackAdoption": false }, @@ -22001,9 +25157,15 @@ "{@link ExecutionContextSetup}" ], "signature": [ - "ExecutionContextSetup" + { + "pluginId": "@kbn/core-execution-context-server", + "scope": "server", + "docId": "kibKbnCoreExecutionContextServerPluginApi", + "section": "def-server.ExecutionContextSetup", + "text": "ExecutionContextSetup" + } ], - "path": "node_modules/@types/kbn__core-lifecycle-server/index.d.ts", + "path": "packages/core/lifecycle/core-lifecycle-server/src/core_setup.ts", "deprecated": false, "trackAdoption": false }, @@ -22017,14 +25179,32 @@ "{@link HttpServiceSetup}" ], "signature": [ - "HttpServiceSetup", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.HttpServiceSetup", + "text": "HttpServiceSetup" + }, "<", - "RequestHandlerContext", + { + "pluginId": "@kbn/core-http-request-handler-context-server", + "scope": "server", + "docId": "kibKbnCoreHttpRequestHandlerContextServerPluginApi", + "section": "def-server.RequestHandlerContext", + "text": "RequestHandlerContext" + }, "> & { resources: ", - "HttpResources", + { + "pluginId": "@kbn/core-http-resources-server", + "scope": "server", + "docId": "kibKbnCoreHttpResourcesServerPluginApi", + "section": "def-server.HttpResources", + "text": "HttpResources" + }, "; }" ], - "path": "node_modules/@types/kbn__core-lifecycle-server/index.d.ts", + "path": "packages/core/lifecycle/core-lifecycle-server/src/core_setup.ts", "deprecated": false, "trackAdoption": false }, @@ -22038,9 +25218,15 @@ "{@link I18nServiceSetup}" ], "signature": [ - "I18nServiceSetup" + { + "pluginId": "@kbn/core-i18n-server", + "scope": "common", + "docId": "kibKbnCoreI18nServerPluginApi", + "section": "def-common.I18nServiceSetup", + "text": "I18nServiceSetup" + } ], - "path": "node_modules/@types/kbn__core-lifecycle-server/index.d.ts", + "path": "packages/core/lifecycle/core-lifecycle-server/src/core_setup.ts", "deprecated": false, "trackAdoption": false }, @@ -22054,9 +25240,15 @@ "{@link LoggingServiceSetup}" ], "signature": [ - "LoggingServiceSetup" + { + "pluginId": "@kbn/core-logging-server", + "scope": "server", + "docId": "kibKbnCoreLoggingServerPluginApi", + "section": "def-server.LoggingServiceSetup", + "text": "LoggingServiceSetup" + } ], - "path": "node_modules/@types/kbn__core-lifecycle-server/index.d.ts", + "path": "packages/core/lifecycle/core-lifecycle-server/src/core_setup.ts", "deprecated": false, "trackAdoption": false }, @@ -22070,9 +25262,15 @@ "{@link MetricsServiceSetup}" ], "signature": [ - "MetricsServiceSetup" + { + "pluginId": "@kbn/core-metrics-server", + "scope": "server", + "docId": "kibKbnCoreMetricsServerPluginApi", + "section": "def-server.MetricsServiceSetup", + "text": "MetricsServiceSetup" + } ], - "path": "node_modules/@types/kbn__core-lifecycle-server/index.d.ts", + "path": "packages/core/lifecycle/core-lifecycle-server/src/core_setup.ts", "deprecated": false, "trackAdoption": false }, @@ -22086,9 +25284,15 @@ "{@link SavedObjectsServiceSetup}" ], "signature": [ - "SavedObjectsServiceSetup" + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsServiceSetup", + "text": "SavedObjectsServiceSetup" + } ], - "path": "node_modules/@types/kbn__core-lifecycle-server/index.d.ts", + "path": "packages/core/lifecycle/core-lifecycle-server/src/core_setup.ts", "deprecated": false, "trackAdoption": false }, @@ -22102,9 +25306,15 @@ "{@link StatusServiceSetup}" ], "signature": [ - "StatusServiceSetup" + { + "pluginId": "@kbn/core-status-server", + "scope": "server", + "docId": "kibKbnCoreStatusServerPluginApi", + "section": "def-server.StatusServiceSetup", + "text": "StatusServiceSetup" + } ], - "path": "node_modules/@types/kbn__core-lifecycle-server/index.d.ts", + "path": "packages/core/lifecycle/core-lifecycle-server/src/core_setup.ts", "deprecated": false, "trackAdoption": false }, @@ -22118,9 +25328,15 @@ "{@link UiSettingsServiceSetup}" ], "signature": [ - "UiSettingsServiceSetup" + { + "pluginId": "@kbn/core-ui-settings-server", + "scope": "server", + "docId": "kibKbnCoreUiSettingsServerPluginApi", + "section": "def-server.UiSettingsServiceSetup", + "text": "UiSettingsServiceSetup" + } ], - "path": "node_modules/@types/kbn__core-lifecycle-server/index.d.ts", + "path": "packages/core/lifecycle/core-lifecycle-server/src/core_setup.ts", "deprecated": false, "trackAdoption": false }, @@ -22134,9 +25350,15 @@ "{@link DeprecationsServiceSetup}" ], "signature": [ - "DeprecationsServiceSetup" + { + "pluginId": "@kbn/core-deprecations-server", + "scope": "server", + "docId": "kibKbnCoreDeprecationsServerPluginApi", + "section": "def-server.DeprecationsServiceSetup", + "text": "DeprecationsServiceSetup" + } ], - "path": "node_modules/@types/kbn__core-lifecycle-server/index.d.ts", + "path": "packages/core/lifecycle/core-lifecycle-server/src/core_setup.ts", "deprecated": false, "trackAdoption": false }, @@ -22151,10 +25373,16 @@ ], "signature": [ "() => Promise<[", - "CoreStart", + { + "pluginId": "@kbn/core-lifecycle-server", + "scope": "server", + "docId": "kibKbnCoreLifecycleServerPluginApi", + "section": "def-server.CoreStart", + "text": "CoreStart" + }, ", TPluginsStart, TStart]>" ], - "path": "node_modules/@types/kbn__core-lifecycle-server/index.d.ts", + "path": "packages/core/lifecycle/core-lifecycle-server/src/core_setup.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -22172,10 +25400,7 @@ "description": [ "\nContext passed to the plugins `start` method.\n" ], - "signature": [ - "CoreStart" - ], - "path": "node_modules/@types/kbn__core-lifecycle-server/index.d.ts", + "path": "packages/core/lifecycle/core-lifecycle-server/src/core_start.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -22190,14 +25415,26 @@ ], "signature": [ "{ optIn: (optInConfig: ", - "OptInConfig", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.OptInConfig", + "text": "OptInConfig" + }, ") => void; reportEvent: (eventType: string, eventData: EventTypeData) => void; readonly telemetryCounter$: ", "Observable", "<", - "TelemetryCounter", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.TelemetryCounter", + "text": "TelemetryCounter" + }, ">; }" ], - "path": "node_modules/@types/kbn__core-lifecycle-server/index.d.ts", + "path": "packages/core/lifecycle/core-lifecycle-server/src/core_start.ts", "deprecated": false, "trackAdoption": false }, @@ -22211,9 +25448,15 @@ "{@link CapabilitiesStart}" ], "signature": [ - "CapabilitiesStart" + { + "pluginId": "@kbn/core-capabilities-server", + "scope": "server", + "docId": "kibKbnCoreCapabilitiesServerPluginApi", + "section": "def-server.CapabilitiesStart", + "text": "CapabilitiesStart" + } ], - "path": "node_modules/@types/kbn__core-lifecycle-server/index.d.ts", + "path": "packages/core/lifecycle/core-lifecycle-server/src/core_start.ts", "deprecated": false, "trackAdoption": false }, @@ -22227,9 +25470,15 @@ "{@link DocLinksServiceStart}" ], "signature": [ - "DocLinksServiceSetup" + { + "pluginId": "@kbn/core-doc-links-server", + "scope": "server", + "docId": "kibKbnCoreDocLinksServerPluginApi", + "section": "def-server.DocLinksServiceSetup", + "text": "DocLinksServiceSetup" + } ], - "path": "node_modules/@types/kbn__core-lifecycle-server/index.d.ts", + "path": "packages/core/lifecycle/core-lifecycle-server/src/core_start.ts", "deprecated": false, "trackAdoption": false }, @@ -22243,9 +25492,15 @@ "{@link ElasticsearchServiceStart}" ], "signature": [ - "ElasticsearchServiceStart" + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.ElasticsearchServiceStart", + "text": "ElasticsearchServiceStart" + } ], - "path": "node_modules/@types/kbn__core-lifecycle-server/index.d.ts", + "path": "packages/core/lifecycle/core-lifecycle-server/src/core_start.ts", "deprecated": false, "trackAdoption": false }, @@ -22259,9 +25514,15 @@ "{@link ExecutionContextStart}" ], "signature": [ - "ExecutionContextSetup" + { + "pluginId": "@kbn/core-execution-context-server", + "scope": "server", + "docId": "kibKbnCoreExecutionContextServerPluginApi", + "section": "def-server.ExecutionContextSetup", + "text": "ExecutionContextSetup" + } ], - "path": "node_modules/@types/kbn__core-lifecycle-server/index.d.ts", + "path": "packages/core/lifecycle/core-lifecycle-server/src/core_start.ts", "deprecated": false, "trackAdoption": false }, @@ -22275,9 +25536,15 @@ "{@link HttpServiceStart}" ], "signature": [ - "HttpServiceStart" + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.HttpServiceStart", + "text": "HttpServiceStart" + } ], - "path": "node_modules/@types/kbn__core-lifecycle-server/index.d.ts", + "path": "packages/core/lifecycle/core-lifecycle-server/src/core_start.ts", "deprecated": false, "trackAdoption": false }, @@ -22291,9 +25558,15 @@ "{@link MetricsServiceStart}" ], "signature": [ - "MetricsServiceSetup" + { + "pluginId": "@kbn/core-metrics-server", + "scope": "server", + "docId": "kibKbnCoreMetricsServerPluginApi", + "section": "def-server.MetricsServiceSetup", + "text": "MetricsServiceSetup" + } ], - "path": "node_modules/@types/kbn__core-lifecycle-server/index.d.ts", + "path": "packages/core/lifecycle/core-lifecycle-server/src/core_start.ts", "deprecated": false, "trackAdoption": false }, @@ -22307,9 +25580,15 @@ "{@link SavedObjectsServiceStart}" ], "signature": [ - "SavedObjectsServiceStart" - ], - "path": "node_modules/@types/kbn__core-lifecycle-server/index.d.ts", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsServiceStart", + "text": "SavedObjectsServiceStart" + } + ], + "path": "packages/core/lifecycle/core-lifecycle-server/src/core_start.ts", "deprecated": false, "trackAdoption": false }, @@ -22323,9 +25602,15 @@ "{@link UiSettingsServiceStart}" ], "signature": [ - "UiSettingsServiceStart" + { + "pluginId": "@kbn/core-ui-settings-server", + "scope": "server", + "docId": "kibKbnCoreUiSettingsServerPluginApi", + "section": "def-server.UiSettingsServiceStart", + "text": "UiSettingsServiceStart" + } ], - "path": "node_modules/@types/kbn__core-lifecycle-server/index.d.ts", + "path": "packages/core/lifecycle/core-lifecycle-server/src/core_start.ts", "deprecated": false, "trackAdoption": false } @@ -22341,10 +25626,7 @@ "description": [ "\nStatus of core services.\n" ], - "signature": [ - "CoreStatus" - ], - "path": "node_modules/@types/kbn__core-status-common/index.d.ts", + "path": "packages/core/status/core-status-common/src/core_status.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -22356,10 +25638,16 @@ "label": "elasticsearch", "description": [], "signature": [ - "ServiceStatus", + { + "pluginId": "@kbn/core-status-common", + "scope": "common", + "docId": "kibKbnCoreStatusCommonPluginApi", + "section": "def-common.ServiceStatus", + "text": "ServiceStatus" + }, "" ], - "path": "node_modules/@types/kbn__core-status-common/index.d.ts", + "path": "packages/core/status/core-status-common/src/core_status.ts", "deprecated": false, "trackAdoption": false }, @@ -22371,10 +25659,16 @@ "label": "savedObjects", "description": [], "signature": [ - "ServiceStatus", + { + "pluginId": "@kbn/core-status-common", + "scope": "common", + "docId": "kibKbnCoreStatusCommonPluginApi", + "section": "def-common.ServiceStatus", + "text": "ServiceStatus" + }, "" ], - "path": "node_modules/@types/kbn__core-status-common/index.d.ts", + "path": "packages/core/status/core-status-common/src/core_status.ts", "deprecated": false, "trackAdoption": false } @@ -22388,10 +25682,7 @@ "tags": [], "label": "CoreUsageCounter", "description": [], - "signature": [ - "CoreUsageCounter" - ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/setup_contract.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -22407,11 +25698,23 @@ "\nType describing Core's usage data payload" ], "signature": [ - "CoreUsageData", + { + "pluginId": "@kbn/core-usage-data-server", + "scope": "server", + "docId": "kibKbnCoreUsageDataServerPluginApi", + "section": "def-server.CoreUsageData", + "text": "CoreUsageData" + }, " extends ", - "CoreUsageStats" + { + "pluginId": "@kbn/core-usage-data-server", + "scope": "server", + "docId": "kibKbnCoreUsageDataServerPluginApi", + "section": "def-server.CoreUsageStats", + "text": "CoreUsageStats" + } ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/start_contract.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -22423,9 +25726,15 @@ "label": "config", "description": [], "signature": [ - "CoreConfigUsageData" + { + "pluginId": "@kbn/core-usage-data-server", + "scope": "server", + "docId": "kibKbnCoreUsageDataServerPluginApi", + "section": "def-server.CoreConfigUsageData", + "text": "CoreConfigUsageData" + } ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/start_contract.ts", "deprecated": false, "trackAdoption": false }, @@ -22437,9 +25746,15 @@ "label": "services", "description": [], "signature": [ - "CoreServicesUsageData" + { + "pluginId": "@kbn/core-usage-data-server", + "scope": "server", + "docId": "kibKbnCoreUsageDataServerPluginApi", + "section": "def-server.CoreServicesUsageData", + "text": "CoreServicesUsageData" + } ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/start_contract.ts", "deprecated": false, "trackAdoption": false }, @@ -22451,9 +25766,15 @@ "label": "environment", "description": [], "signature": [ - "CoreEnvironmentUsageData" + { + "pluginId": "@kbn/core-usage-data-server", + "scope": "server", + "docId": "kibKbnCoreUsageDataServerPluginApi", + "section": "def-server.CoreEnvironmentUsageData", + "text": "CoreEnvironmentUsageData" + } ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/start_contract.ts", "deprecated": false, "trackAdoption": false } @@ -22471,10 +25792,7 @@ "description": [ "\nInternal API for registering the Usage Tracker used for Core's usage data payload.\n" ], - "signature": [ - "CoreUsageDataSetup" - ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/setup_contract.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -22489,10 +25807,16 @@ ], "signature": [ "(usageCounter: ", - "CoreUsageCounter", + { + "pluginId": "@kbn/core-usage-data-server", + "scope": "server", + "docId": "kibKbnCoreUsageDataServerPluginApi", + "section": "def-server.CoreUsageCounter", + "text": "CoreUsageCounter" + }, ") => void" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/setup_contract.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -22504,9 +25828,15 @@ "label": "usageCounter", "description": [], "signature": [ - "CoreUsageCounter" + { + "pluginId": "@kbn/core-usage-data-server", + "scope": "server", + "docId": "kibKbnCoreUsageDataServerPluginApi", + "section": "def-server.CoreUsageCounter", + "text": "CoreUsageCounter" + } ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/setup_contract.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -22528,10 +25858,7 @@ "description": [ "\nInternal API for getting Core's usage data payload.\n" ], - "signature": [ - "CoreUsageDataStart" - ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/start_contract.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -22544,10 +25871,16 @@ "description": [], "signature": [ "() => Promise<", - "ConfigUsageData", + { + "pluginId": "@kbn/core-usage-data-server", + "scope": "server", + "docId": "kibKbnCoreUsageDataServerPluginApi", + "section": "def-server.ConfigUsageData", + "text": "ConfigUsageData" + }, ">" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/start_contract.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -22563,10 +25896,7 @@ "tags": [], "label": "CoreUsageStats", "description": [], - "signature": [ - "CoreUsageStats" - ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -22580,7 +25910,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -22594,7 +25924,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -22608,7 +25938,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -22622,7 +25952,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -22636,7 +25966,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -22650,7 +25980,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -22664,7 +25994,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -22678,7 +26008,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -22692,7 +26022,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -22706,7 +26036,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -22720,7 +26050,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -22734,7 +26064,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -22748,7 +26078,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -22762,7 +26092,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -22776,7 +26106,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -22790,7 +26120,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -22804,7 +26134,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -22818,7 +26148,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -22832,7 +26162,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -22846,7 +26176,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -22860,7 +26190,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -22874,7 +26204,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -22888,7 +26218,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -22902,7 +26232,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -22916,7 +26246,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -22930,7 +26260,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -22944,7 +26274,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -22958,7 +26288,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -22972,7 +26302,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -22986,7 +26316,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -23000,7 +26330,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -23014,7 +26344,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -23028,7 +26358,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -23042,7 +26372,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -23056,7 +26386,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -23070,7 +26400,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -23084,7 +26414,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -23098,7 +26428,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -23112,7 +26442,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -23126,7 +26456,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -23140,7 +26470,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -23154,7 +26484,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -23168,7 +26498,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -23182,7 +26512,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -23196,7 +26526,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -23210,7 +26540,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -23224,7 +26554,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -23238,7 +26568,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -23252,7 +26582,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -23266,7 +26596,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -23280,7 +26610,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -23294,7 +26624,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -23308,7 +26638,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -23322,7 +26652,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -23336,7 +26666,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -23350,7 +26680,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -23364,7 +26694,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -23378,7 +26708,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -23392,7 +26722,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -23406,7 +26736,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -23420,7 +26750,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -23434,7 +26764,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -23448,7 +26778,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -23462,7 +26792,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -23476,7 +26806,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -23490,7 +26820,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -23504,7 +26834,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -23518,7 +26848,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -23532,7 +26862,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -23546,7 +26876,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -23560,7 +26890,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -23574,7 +26904,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -23588,7 +26918,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -23602,7 +26932,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -23616,7 +26946,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -23630,7 +26960,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -23644,7 +26974,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -23658,7 +26988,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -23672,7 +27002,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -23686,7 +27016,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -23700,7 +27030,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -23714,7 +27044,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -23728,7 +27058,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -23742,7 +27072,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -23756,7 +27086,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -23770,7 +27100,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -23784,7 +27114,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -23798,7 +27128,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -23812,7 +27142,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -23826,7 +27156,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -23840,7 +27170,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -23854,7 +27184,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -23868,7 +27198,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -23882,7 +27212,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -23896,7 +27226,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -23910,7 +27240,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -23924,7 +27254,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -23938,7 +27268,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -23952,7 +27282,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -23966,7 +27296,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -23980,7 +27310,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -23994,7 +27324,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -24008,7 +27338,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -24022,7 +27352,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -24036,7 +27366,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -24050,7 +27380,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -24064,7 +27394,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -24078,7 +27408,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -24092,7 +27422,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -24106,7 +27436,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -24120,7 +27450,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -24134,7 +27464,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -24148,7 +27478,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -24162,7 +27492,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -24176,7 +27506,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -24190,7 +27520,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -24204,7 +27534,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -24218,7 +27548,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -24232,7 +27562,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -24246,7 +27576,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -24260,7 +27590,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -24274,7 +27604,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -24288,7 +27618,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -24302,7 +27632,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false }, @@ -24316,7 +27646,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/core_usage_stats.ts", "deprecated": false, "trackAdoption": false } @@ -24333,10 +27663,16 @@ "\nHTTP response parameters for a response with adjustable status code." ], "signature": [ - "CustomHttpResponseOptions", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.CustomHttpResponseOptions", + "text": "CustomHttpResponseOptions" + }, "" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/response.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -24352,7 +27688,7 @@ "signature": [ "T | undefined" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/response.ts", "deprecated": false, "trackAdoption": false }, @@ -24366,10 +27702,16 @@ "HTTP Headers with additional information about response" ], "signature": [ - "ResponseHeaders", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.ResponseHeaders", + "text": "ResponseHeaders" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/response.ts", "deprecated": false, "trackAdoption": false }, @@ -24385,7 +27727,7 @@ "signature": [ "boolean | undefined" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/response.ts", "deprecated": false, "trackAdoption": false }, @@ -24396,7 +27738,7 @@ "tags": [], "label": "statusCode", "description": [], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/response.ts", "deprecated": false, "trackAdoption": false } @@ -24412,10 +27754,7 @@ "description": [ "\nServer-side client that provides access to fetch all Kibana deprecations\n" ], - "signature": [ - "DeprecationsClient" - ], - "path": "node_modules/@types/kbn__core-deprecations-server/index.d.ts", + "path": "packages/core/deprecations/core-deprecations-server/src/request_handler_context.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -24428,10 +27767,16 @@ "description": [], "signature": [ "() => Promise<", - "DomainDeprecationDetails", + { + "pluginId": "@kbn/core-deprecations-common", + "scope": "common", + "docId": "kibKbnCoreDeprecationsCommonPluginApi", + "section": "def-common.DomainDeprecationDetails", + "text": "DomainDeprecationDetails" + }, "[]>" ], - "path": "node_modules/@types/kbn__core-deprecations-server/index.d.ts", + "path": "packages/core/deprecations/core-deprecations-server/src/request_handler_context.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -24449,10 +27794,7 @@ "description": [ "\nUiSettings deprecation field options." ], - "signature": [ - "DeprecationSettings" - ], - "path": "node_modules/@types/kbn__core-ui-settings-common/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-common/src/ui_settings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -24465,7 +27807,7 @@ "description": [ "Deprecation message" ], - "path": "node_modules/@types/kbn__core-ui-settings-common/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-common/src/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -24478,7 +27820,7 @@ "description": [ "Key to documentation links" ], - "path": "node_modules/@types/kbn__core-ui-settings-common/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-common/src/ui_settings.ts", "deprecated": false, "trackAdoption": false } @@ -24494,10 +27836,7 @@ "description": [ "\nCore's `deprecations` request handler context." ], - "signature": [ - "DeprecationsRequestHandlerContext" - ], - "path": "node_modules/@types/kbn__core-deprecations-server/index.d.ts", + "path": "packages/core/deprecations/core-deprecations-server/src/request_handler_context.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -24509,9 +27848,15 @@ "label": "client", "description": [], "signature": [ - "DeprecationsClient" + { + "pluginId": "@kbn/core-deprecations-server", + "scope": "server", + "docId": "kibKbnCoreDeprecationsServerPluginApi", + "section": "def-server.DeprecationsClient", + "text": "DeprecationsClient" + } ], - "path": "node_modules/@types/kbn__core-deprecations-server/index.d.ts", + "path": "packages/core/deprecations/core-deprecations-server/src/request_handler_context.ts", "deprecated": false, "trackAdoption": false } @@ -24527,10 +27872,7 @@ "description": [ "\nThe deprecations service provides a way for the Kibana platform to communicate deprecated\nfeatures and configs with its users. These deprecations are only communicated\nif the deployment is using these features. Allowing for a user tailored experience\nfor upgrading the stack version.\n\nThe Deprecation service is consumed by the upgrade assistant to assist with the upgrade\nexperience.\n\nIf a deprecated feature can be resolved without manual user intervention.\nUsing correctiveActions.api allows the Upgrade Assistant to use this api to correct the\ndeprecation upon a user trigger.\n" ], - "signature": [ - "DeprecationsServiceSetup" - ], - "path": "node_modules/@types/kbn__core-deprecations-server/index.d.ts", + "path": "packages/core/deprecations/core-deprecations-server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -24543,10 +27885,16 @@ "description": [], "signature": [ "(deprecationContext: ", - "RegisterDeprecationsConfig", + { + "pluginId": "@kbn/core-deprecations-server", + "scope": "server", + "docId": "kibKbnCoreDeprecationsServerPluginApi", + "section": "def-server.RegisterDeprecationsConfig", + "text": "RegisterDeprecationsConfig" + }, ") => void" ], - "path": "node_modules/@types/kbn__core-deprecations-server/index.d.ts", + "path": "packages/core/deprecations/core-deprecations-server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -24558,9 +27906,15 @@ "label": "deprecationContext", "description": [], "signature": [ - "RegisterDeprecationsConfig" + { + "pluginId": "@kbn/core-deprecations-server", + "scope": "server", + "docId": "kibKbnCoreDeprecationsServerPluginApi", + "section": "def-server.RegisterDeprecationsConfig", + "text": "RegisterDeprecationsConfig" + } ], - "path": "node_modules/@types/kbn__core-deprecations-server/index.d.ts", + "path": "packages/core/deprecations/core-deprecations-server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -24580,10 +27934,7 @@ "description": [ "\nSmall container object used to expose information about discovered plugins that may\nor may not have been started." ], - "signature": [ - "DiscoveredPlugin" - ], - "path": "node_modules/@types/kbn__core-base-common/index.d.ts", + "path": "packages/core/base/core-base-common/src/plugins.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -24596,7 +27947,7 @@ "description": [ "\nIdentifier of the plugin." ], - "path": "node_modules/@types/kbn__core-base-common/index.d.ts", + "path": "packages/core/base/core-base-common/src/plugins.ts", "deprecated": false, "trackAdoption": false }, @@ -24612,7 +27963,7 @@ "signature": [ "string | string[]" ], - "path": "node_modules/@types/kbn__core-base-common/index.d.ts", + "path": "packages/core/base/core-base-common/src/plugins.ts", "deprecated": false, "trackAdoption": false }, @@ -24626,9 +27977,15 @@ "\nType of the plugin, defaults to `standard`." ], "signature": [ - "PluginType" + { + "pluginId": "@kbn/core-base-common", + "scope": "server", + "docId": "kibKbnCoreBaseCommonPluginApi", + "section": "def-server.PluginType", + "text": "PluginType" + } ], - "path": "node_modules/@types/kbn__core-base-common/index.d.ts", + "path": "packages/core/base/core-base-common/src/plugins.ts", "deprecated": false, "trackAdoption": false }, @@ -24644,7 +28001,7 @@ "signature": [ "readonly string[]" ], - "path": "node_modules/@types/kbn__core-base-common/index.d.ts", + "path": "packages/core/base/core-base-common/src/plugins.ts", "deprecated": false, "trackAdoption": false }, @@ -24660,7 +28017,7 @@ "signature": [ "readonly string[]" ], - "path": "node_modules/@types/kbn__core-base-common/index.d.ts", + "path": "packages/core/base/core-base-common/src/plugins.ts", "deprecated": false, "trackAdoption": false }, @@ -24676,7 +28033,7 @@ "signature": [ "readonly string[]" ], - "path": "node_modules/@types/kbn__core-base-common/index.d.ts", + "path": "packages/core/base/core-base-common/src/plugins.ts", "deprecated": false, "trackAdoption": false }, @@ -24692,7 +28049,7 @@ "signature": [ "boolean | undefined" ], - "path": "node_modules/@types/kbn__core-base-common/index.d.ts", + "path": "packages/core/base/core-base-common/src/plugins.ts", "deprecated": false, "trackAdoption": false } @@ -24706,10 +28063,7 @@ "tags": [], "label": "DocLinksServiceSetup", "description": [], - "signature": [ - "DocLinksServiceSetup" - ], - "path": "node_modules/@types/kbn__core-doc-links-server/index.d.ts", + "path": "packages/core/doc-links/core-doc-links-server/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -24722,7 +28076,7 @@ "description": [ "The branch/version the docLinks are pointing to" ], - "path": "node_modules/@types/kbn__core-doc-links-server/index.d.ts", + "path": "packages/core/doc-links/core-doc-links-server/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -24735,7 +28089,7 @@ "description": [ "The base url for the elastic website" ], - "path": "node_modules/@types/kbn__core-doc-links-server/index.d.ts", + "path": "packages/core/doc-links/core-doc-links-server/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -24749,9 +28103,15 @@ "A record of all registered doc links" ], "signature": [ - "DocLinks" + { + "pluginId": "@kbn/doc-links", + "scope": "common", + "docId": "kibKbnDocLinksPluginApi", + "section": "def-common.DocLinks", + "text": "DocLinks" + } ], - "path": "node_modules/@types/kbn__core-doc-links-server/index.d.ts", + "path": "packages/core/doc-links/core-doc-links-server/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -24767,10 +28127,7 @@ "description": [ "\nConfiguration options to be used to create a {@link IClusterClient | cluster client}\n" ], - "signature": [ - "ElasticsearchClientConfig" - ], - "path": "node_modules/@types/kbn__core-elasticsearch-server/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server/src/client/client_config.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -24784,7 +28141,7 @@ "signature": [ "{ [x: string]: string; }" ], - "path": "node_modules/@types/kbn__core-elasticsearch-server/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server/src/client/client_config.ts", "deprecated": false, "trackAdoption": false }, @@ -24798,7 +28155,7 @@ "signature": [ "string[]" ], - "path": "node_modules/@types/kbn__core-elasticsearch-server/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server/src/client/client_config.ts", "deprecated": false, "trackAdoption": false }, @@ -24809,7 +28166,7 @@ "tags": [], "label": "maxSockets", "description": [], - "path": "node_modules/@types/kbn__core-elasticsearch-server/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server/src/client/client_config.ts", "deprecated": false, "trackAdoption": false }, @@ -24820,7 +28177,7 @@ "tags": [], "label": "maxIdleSockets", "description": [], - "path": "node_modules/@types/kbn__core-elasticsearch-server/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server/src/client/client_config.ts", "deprecated": false, "trackAdoption": false }, @@ -24834,7 +28191,7 @@ "signature": [ "moment.Duration" ], - "path": "node_modules/@types/kbn__core-elasticsearch-server/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server/src/client/client_config.ts", "deprecated": false, "trackAdoption": false }, @@ -24845,7 +28202,7 @@ "tags": [], "label": "compression", "description": [], - "path": "node_modules/@types/kbn__core-elasticsearch-server/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server/src/client/client_config.ts", "deprecated": false, "trackAdoption": false }, @@ -24856,7 +28213,7 @@ "tags": [], "label": "sniffOnStart", "description": [], - "path": "node_modules/@types/kbn__core-elasticsearch-server/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server/src/client/client_config.ts", "deprecated": false, "trackAdoption": false }, @@ -24867,7 +28224,7 @@ "tags": [], "label": "sniffOnConnectionFault", "description": [], - "path": "node_modules/@types/kbn__core-elasticsearch-server/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server/src/client/client_config.ts", "deprecated": false, "trackAdoption": false }, @@ -24881,7 +28238,7 @@ "signature": [ "false | moment.Duration" ], - "path": "node_modules/@types/kbn__core-elasticsearch-server/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server/src/client/client_config.ts", "deprecated": false, "trackAdoption": false }, @@ -24895,7 +28252,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-elasticsearch-server/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server/src/client/client_config.ts", "deprecated": false, "trackAdoption": false }, @@ -24909,7 +28266,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-elasticsearch-server/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server/src/client/client_config.ts", "deprecated": false, "trackAdoption": false }, @@ -24923,7 +28280,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-elasticsearch-server/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server/src/client/client_config.ts", "deprecated": false, "trackAdoption": false }, @@ -24937,7 +28294,7 @@ "signature": [ "string[]" ], - "path": "node_modules/@types/kbn__core-elasticsearch-server/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server/src/client/client_config.ts", "deprecated": false, "trackAdoption": false }, @@ -24951,7 +28308,7 @@ "signature": [ "boolean | undefined" ], - "path": "node_modules/@types/kbn__core-elasticsearch-server/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server/src/client/client_config.ts", "deprecated": false, "trackAdoption": false }, @@ -24965,7 +28322,7 @@ "signature": [ "number | moment.Duration | undefined" ], - "path": "node_modules/@types/kbn__core-elasticsearch-server/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server/src/client/client_config.ts", "deprecated": false, "trackAdoption": false }, @@ -24979,7 +28336,7 @@ "signature": [ "number | moment.Duration | undefined" ], - "path": "node_modules/@types/kbn__core-elasticsearch-server/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server/src/client/client_config.ts", "deprecated": false, "trackAdoption": false }, @@ -24993,7 +28350,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-elasticsearch-server/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server/src/client/client_config.ts", "deprecated": false, "trackAdoption": false }, @@ -25005,10 +28362,16 @@ "label": "ssl", "description": [], "signature": [ - "ElasticsearchClientSslConfig", + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.ElasticsearchClientSslConfig", + "text": "ElasticsearchClientSslConfig" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-elasticsearch-server/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server/src/client/client_config.ts", "deprecated": false, "trackAdoption": false } @@ -25022,10 +28385,7 @@ "tags": [], "label": "ElasticsearchClientSslConfig", "description": [], - "signature": [ - "ElasticsearchClientSslConfig" - ], - "path": "node_modules/@types/kbn__core-elasticsearch-server/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server/src/client/client_config.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -25039,7 +28399,7 @@ "signature": [ "\"none\" | \"full\" | \"certificate\" | undefined" ], - "path": "node_modules/@types/kbn__core-elasticsearch-server/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server/src/client/client_config.ts", "deprecated": false, "trackAdoption": false }, @@ -25053,7 +28413,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-elasticsearch-server/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server/src/client/client_config.ts", "deprecated": false, "trackAdoption": false }, @@ -25067,7 +28427,7 @@ "signature": [ "string[] | undefined" ], - "path": "node_modules/@types/kbn__core-elasticsearch-server/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server/src/client/client_config.ts", "deprecated": false, "trackAdoption": false }, @@ -25081,7 +28441,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-elasticsearch-server/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server/src/client/client_config.ts", "deprecated": false, "trackAdoption": false }, @@ -25095,7 +28455,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-elasticsearch-server/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server/src/client/client_config.ts", "deprecated": false, "trackAdoption": false }, @@ -25109,7 +28469,7 @@ "signature": [ "boolean | undefined" ], - "path": "node_modules/@types/kbn__core-elasticsearch-server/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server/src/client/client_config.ts", "deprecated": false, "trackAdoption": false } @@ -25125,10 +28485,7 @@ "description": [ "\nA limited set of Elasticsearch configuration entries exposed to the `preboot` plugins at `setup`.\n" ], - "signature": [ - "ElasticsearchConfigPreboot" - ], - "path": "node_modules/@types/kbn__core-elasticsearch-server/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -25144,7 +28501,7 @@ "signature": [ "string[]" ], - "path": "node_modules/@types/kbn__core-elasticsearch-server/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server/src/contracts.ts", "deprecated": false, "trackAdoption": false }, @@ -25157,7 +28514,7 @@ "description": [ "\nIndicates whether Elasticsearch configuration includes credentials (`username`, `password` or `serviceAccountToken`)." ], - "path": "node_modules/@types/kbn__core-elasticsearch-server/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server/src/contracts.ts", "deprecated": false, "trackAdoption": false } @@ -25173,10 +28530,7 @@ "description": [ "\nCore's `elasticsearch` request handler context." ], - "signature": [ - "ElasticsearchRequestHandlerContext" - ], - "path": "node_modules/@types/kbn__core-elasticsearch-server/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server/src/request_handler_context.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -25188,9 +28542,15 @@ "label": "client", "description": [], "signature": [ - "IScopedClusterClient" + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.IScopedClusterClient", + "text": "IScopedClusterClient" + } ], - "path": "node_modules/@types/kbn__core-elasticsearch-server/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server/src/request_handler_context.ts", "deprecated": false, "trackAdoption": false } @@ -25204,10 +28564,7 @@ "tags": [], "label": "ElasticsearchServicePreboot", "description": [], - "signature": [ - "ElasticsearchServicePreboot" - ], - "path": "node_modules/@types/kbn__core-elasticsearch-server/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -25223,7 +28580,7 @@ "signature": [ "{ readonly hosts: string[]; readonly credentialsSpecified: boolean; }" ], - "path": "node_modules/@types/kbn__core-elasticsearch-server/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server/src/contracts.ts", "deprecated": false, "trackAdoption": false }, @@ -25238,11 +28595,23 @@ ], "signature": [ "(type: string, clientConfig?: Partial<", - "ElasticsearchClientConfig", + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.ElasticsearchClientConfig", + "text": "ElasticsearchClientConfig" + }, "> | undefined) => ", - "ICustomClusterClient" + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.ICustomClusterClient", + "text": "ICustomClusterClient" + } ], - "path": "node_modules/@types/kbn__core-elasticsearch-server/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -25258,7 +28627,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-elasticsearch-server/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -25274,10 +28643,16 @@ ], "signature": [ "Partial<", - "ElasticsearchClientConfig", + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.ElasticsearchClientConfig", + "text": "ElasticsearchClientConfig" + }, "> | undefined" ], - "path": "node_modules/@types/kbn__core-elasticsearch-server/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -25295,10 +28670,7 @@ "tags": [], "label": "ElasticsearchServiceSetup", "description": [], - "signature": [ - "ElasticsearchServiceSetup" - ], - "path": "node_modules/@types/kbn__core-elasticsearch-server/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -25313,10 +28685,16 @@ ], "signature": [ "(handler: ", - "UnauthorizedErrorHandler", + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.UnauthorizedErrorHandler", + "text": "UnauthorizedErrorHandler" + }, ") => void" ], - "path": "node_modules/@types/kbn__core-elasticsearch-server/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -25328,9 +28706,15 @@ "label": "handler", "description": [], "signature": [ - "UnauthorizedErrorHandler" + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.UnauthorizedErrorHandler", + "text": "UnauthorizedErrorHandler" + } ], - "path": "node_modules/@types/kbn__core-elasticsearch-server/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -25351,17 +28735,19 @@ "{ readonly config$: ", "Observable", "<", - "IElasticsearchConfig", + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.IElasticsearchConfig", + "text": "IElasticsearchConfig" + }, ">; }" ], - "path": "node_modules/@types/kbn__core-elasticsearch-server/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server/src/contracts.ts", "deprecated": true, "trackAdoption": false, "references": [ - { - "plugin": "console", - "path": "src/plugins/console/server/plugin.ts" - }, { "plugin": "@kbn/core-elasticsearch-server-internal", "path": "packages/core/elasticsearch/core-elasticsearch-server-internal/src/elasticsearch_service.ts" @@ -25374,6 +28760,10 @@ "plugin": "@kbn/core-plugins-server-internal", "path": "packages/core/plugins/core-plugins-server-internal/src/plugin_context.ts" }, + { + "plugin": "console", + "path": "src/plugins/console/server/plugin.ts" + }, { "plugin": "@kbn/core-elasticsearch-server-internal", "path": "packages/core/elasticsearch/core-elasticsearch-server-internal/src/elasticsearch_service.test.ts" @@ -25390,10 +28780,7 @@ "tags": [], "label": "ElasticsearchServiceStart", "description": [], - "signature": [ - "ElasticsearchServiceStart" - ], - "path": "node_modules/@types/kbn__core-elasticsearch-server/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -25407,9 +28794,15 @@ "\nA pre-configured {@link IClusterClient | Elasticsearch client}\n" ], "signature": [ - "IClusterClient" + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.IClusterClient", + "text": "IClusterClient" + } ], - "path": "node_modules/@types/kbn__core-elasticsearch-server/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server/src/contracts.ts", "deprecated": false, "trackAdoption": false }, @@ -25424,11 +28817,23 @@ ], "signature": [ "(type: string, clientConfig?: Partial<", - "ElasticsearchClientConfig", + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.ElasticsearchClientConfig", + "text": "ElasticsearchClientConfig" + }, "> | undefined) => ", - "ICustomClusterClient" + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.ICustomClusterClient", + "text": "ICustomClusterClient" + } ], - "path": "node_modules/@types/kbn__core-elasticsearch-server/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -25444,7 +28849,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-elasticsearch-server/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -25460,10 +28865,16 @@ ], "signature": [ "Partial<", - "ElasticsearchClientConfig", + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.ElasticsearchClientConfig", + "text": "ElasticsearchClientConfig" + }, "> | undefined" ], - "path": "node_modules/@types/kbn__core-elasticsearch-server/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -25481,10 +28892,7 @@ "tags": [], "label": "EnvironmentMode", "description": [], - "signature": [ - "EnvironmentMode" - ], - "path": "node_modules/@types/kbn__config/index.d.ts", + "path": "packages/kbn-config/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -25498,7 +28906,7 @@ "signature": [ "\"production\" | \"development\"" ], - "path": "node_modules/@types/kbn__config/index.d.ts", + "path": "packages/kbn-config/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -25509,7 +28917,7 @@ "tags": [], "label": "dev", "description": [], - "path": "node_modules/@types/kbn__config/index.d.ts", + "path": "packages/kbn-config/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -25520,7 +28928,7 @@ "tags": [], "label": "prod", "description": [], - "path": "node_modules/@types/kbn__config/index.d.ts", + "path": "packages/kbn-config/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -25536,10 +28944,7 @@ "description": [ "\nHTTP response parameters" ], - "signature": [ - "ErrorHttpResponseOptions" - ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/response.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -25553,10 +28958,16 @@ "HTTP message to send to the client" ], "signature": [ - "ResponseError", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.ResponseError", + "text": "ResponseError" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/response.ts", "deprecated": false, "trackAdoption": false }, @@ -25570,10 +28981,16 @@ "HTTP Headers with additional information about response" ], "signature": [ - "ResponseHeaders", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.ResponseHeaders", + "text": "ResponseHeaders" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/response.ts", "deprecated": false, "trackAdoption": false } @@ -25590,10 +29007,16 @@ "\nDefinition of the full event structure" ], "signature": [ - "Event", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.Event", + "text": "Event" + }, "" ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/events/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -25606,7 +29029,7 @@ "description": [ "\nThe time the event was generated in ISO format." ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/events/types.ts", "deprecated": false, "trackAdoption": false }, @@ -25619,7 +29042,7 @@ "description": [ "\nThe event type." ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/events/types.ts", "deprecated": false, "trackAdoption": false }, @@ -25635,7 +29058,7 @@ "signature": [ "Properties" ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/events/types.ts", "deprecated": false, "trackAdoption": false }, @@ -25649,9 +29072,15 @@ "\nThe {@link EventContext} enriched during the processing pipeline." ], "signature": [ - "EventContext" + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.EventContext", + "text": "EventContext" + } ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/events/types.ts", "deprecated": false, "trackAdoption": false } @@ -25667,10 +29096,7 @@ "description": [ "\nDefinition of the context that can be appended to the events through the {@link IAnalyticsClient.registerContextProvider}." ], - "signature": [ - "EventContext" - ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/events/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -25686,7 +29112,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/events/types.ts", "deprecated": false, "trackAdoption": false }, @@ -25702,7 +29128,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/events/types.ts", "deprecated": false, "trackAdoption": false }, @@ -25718,7 +29144,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/events/types.ts", "deprecated": false, "trackAdoption": false }, @@ -25734,7 +29160,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/events/types.ts", "deprecated": false, "trackAdoption": false }, @@ -25750,7 +29176,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/events/types.ts", "deprecated": false, "trackAdoption": false }, @@ -25766,7 +29192,7 @@ "signature": [ "boolean | undefined" ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/events/types.ts", "deprecated": false, "trackAdoption": false }, @@ -25782,7 +29208,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/events/types.ts", "deprecated": false, "trackAdoption": false }, @@ -25798,7 +29224,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/events/types.ts", "deprecated": false, "trackAdoption": false }, @@ -25814,7 +29240,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/events/types.ts", "deprecated": false, "trackAdoption": false }, @@ -25830,7 +29256,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/events/types.ts", "deprecated": false, "trackAdoption": false }, @@ -25846,7 +29272,7 @@ "signature": [ "[key: string]: unknown" ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/events/types.ts", "deprecated": false, "trackAdoption": false } @@ -25863,10 +29289,16 @@ "\nDefinition of an Event Type." ], "signature": [ - "EventTypeOpts", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.EventTypeOpts", + "text": "EventTypeOpts" + }, "" ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/analytics_client/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -25879,7 +29311,7 @@ "description": [ "\nThe event type's unique name." ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/analytics_client/types.ts", "deprecated": false, "trackAdoption": false }, @@ -25894,10 +29326,16 @@ ], "signature": [ "{ [Key in keyof Required]: ", - "SchemaValue", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.SchemaValue", + "text": "SchemaValue" + }, "; }" ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/analytics_client/types.ts", "deprecated": false, "trackAdoption": false } @@ -25911,10 +29349,7 @@ "tags": [], "label": "ExecutionContextSetup", "description": [], - "signature": [ - "ExecutionContextSetup" - ], - "path": "node_modules/@types/kbn__core-execution-context-server/index.d.ts", + "path": "packages/core/execution-context/core-execution-context-server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -25929,10 +29364,16 @@ ], "signature": [ "(context: ", - "KibanaExecutionContext", + { + "pluginId": "@kbn/core-execution-context-common", + "scope": "common", + "docId": "kibKbnCoreExecutionContextCommonPluginApi", + "section": "def-common.KibanaExecutionContext", + "text": "KibanaExecutionContext" + }, " | undefined, fn: (...args: any[]) => R) => R" ], - "path": "node_modules/@types/kbn__core-execution-context-server/index.d.ts", + "path": "packages/core/execution-context/core-execution-context-server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -25944,10 +29385,16 @@ "label": "context", "description": [], "signature": [ - "KibanaExecutionContext", + { + "pluginId": "@kbn/core-execution-context-common", + "scope": "common", + "docId": "kibKbnCoreExecutionContextCommonPluginApi", + "section": "def-common.KibanaExecutionContext", + "text": "KibanaExecutionContext" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-execution-context-server/index.d.ts", + "path": "packages/core/execution-context/core-execution-context-server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -25962,7 +29409,7 @@ "signature": [ "(...args: any[]) => R" ], - "path": "node_modules/@types/kbn__core-execution-context-server/index.d.ts", + "path": "packages/core/execution-context/core-execution-context-server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -25981,7 +29428,7 @@ "() => ", "Labels" ], - "path": "node_modules/@types/kbn__core-execution-context-server/index.d.ts", + "path": "packages/core/execution-context/core-execution-context-server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -25999,10 +29446,7 @@ "description": [ "\nFake request object created manually by Kibana plugins." ], - "signature": [ - "FakeRequest" - ], - "path": "node_modules/@types/kbn__core-elasticsearch-server/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server/src/client/scopeable_request.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -26018,7 +29462,7 @@ "signature": [ "{ accept?: string | string[] | undefined; \"accept-language\"?: string | string[] | undefined; \"accept-patch\"?: string | string[] | undefined; \"accept-ranges\"?: string | string[] | undefined; \"access-control-allow-credentials\"?: string | string[] | undefined; \"access-control-allow-headers\"?: string | string[] | undefined; \"access-control-allow-methods\"?: string | string[] | undefined; \"access-control-allow-origin\"?: string | string[] | undefined; \"access-control-expose-headers\"?: string | string[] | undefined; \"access-control-max-age\"?: string | string[] | undefined; \"access-control-request-headers\"?: string | string[] | undefined; \"access-control-request-method\"?: string | string[] | undefined; age?: string | string[] | undefined; allow?: string | string[] | undefined; \"alt-svc\"?: string | string[] | undefined; authorization?: string | string[] | undefined; \"cache-control\"?: string | string[] | undefined; connection?: string | string[] | undefined; \"content-disposition\"?: string | string[] | undefined; \"content-encoding\"?: string | string[] | undefined; \"content-language\"?: string | string[] | undefined; \"content-length\"?: string | string[] | undefined; \"content-location\"?: string | string[] | undefined; \"content-range\"?: string | string[] | undefined; \"content-type\"?: string | string[] | undefined; cookie?: string | string[] | undefined; date?: string | string[] | undefined; etag?: string | string[] | undefined; expect?: string | string[] | undefined; expires?: string | string[] | undefined; forwarded?: string | string[] | undefined; from?: string | string[] | undefined; host?: string | string[] | undefined; \"if-match\"?: string | string[] | undefined; \"if-modified-since\"?: string | string[] | undefined; \"if-none-match\"?: string | string[] | undefined; \"if-unmodified-since\"?: string | string[] | undefined; \"last-modified\"?: string | string[] | undefined; location?: string | string[] | undefined; origin?: string | string[] | undefined; pragma?: string | string[] | undefined; \"proxy-authenticate\"?: string | string[] | undefined; \"proxy-authorization\"?: string | string[] | undefined; \"public-key-pins\"?: string | string[] | undefined; range?: string | string[] | undefined; referer?: string | string[] | undefined; \"retry-after\"?: string | string[] | undefined; \"sec-websocket-accept\"?: string | string[] | undefined; \"sec-websocket-extensions\"?: string | string[] | undefined; \"sec-websocket-key\"?: string | string[] | undefined; \"sec-websocket-protocol\"?: string | string[] | undefined; \"sec-websocket-version\"?: string | string[] | undefined; \"set-cookie\"?: string | string[] | undefined; \"strict-transport-security\"?: string | string[] | undefined; tk?: string | string[] | undefined; trailer?: string | string[] | undefined; \"transfer-encoding\"?: string | string[] | undefined; upgrade?: string | string[] | undefined; \"user-agent\"?: string | string[] | undefined; vary?: string | string[] | undefined; via?: string | string[] | undefined; warning?: string | string[] | undefined; \"www-authenticate\"?: string | string[] | undefined; } & { [header: string]: string | string[] | undefined; }" ], - "path": "node_modules/@types/kbn__core-elasticsearch-server/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server/src/client/scopeable_request.ts", "deprecated": false, "trackAdoption": false } @@ -26032,10 +29476,7 @@ "tags": [], "label": "GetDeprecationsContext", "description": [], - "signature": [ - "GetDeprecationsContext" - ], - "path": "node_modules/@types/kbn__core-deprecations-server/index.d.ts", + "path": "packages/core/deprecations/core-deprecations-server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -26047,9 +29488,15 @@ "label": "esClient", "description": [], "signature": [ - "IScopedClusterClient" + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.IScopedClusterClient", + "text": "IScopedClusterClient" + } ], - "path": "node_modules/@types/kbn__core-deprecations-server/index.d.ts", + "path": "packages/core/deprecations/core-deprecations-server/src/contracts.ts", "deprecated": false, "trackAdoption": false }, @@ -26061,9 +29508,15 @@ "label": "savedObjectsClient", "description": [], "signature": [ - "SavedObjectsClientContract" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + } ], - "path": "node_modules/@types/kbn__core-deprecations-server/index.d.ts", + "path": "packages/core/deprecations/core-deprecations-server/src/contracts.ts", "deprecated": false, "trackAdoption": false } @@ -26077,10 +29530,7 @@ "tags": [], "label": "HttpAuth", "description": [], - "signature": [ - "HttpAuth" - ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/http_contract.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -26095,12 +29545,24 @@ ], "signature": [ "(request: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ") => { status: ", - "AuthStatus", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.AuthStatus", + "text": "AuthStatus" + }, "; state: T; }" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/http_contract.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -26113,10 +29575,16 @@ "label": "request", "description": [], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/auth_state.ts", "deprecated": false, "trackAdoption": false } @@ -26133,10 +29601,16 @@ ], "signature": [ "(request: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ") => boolean" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/http_contract.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -26149,10 +29623,16 @@ "label": "request", "description": [], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/auth_state.ts", "deprecated": false, "trackAdoption": false } @@ -26170,10 +29650,7 @@ "description": [ "\nHttpResources service is responsible for serving static & dynamic assets for Kibana application via HTTP.\nProvides API allowing plug-ins to respond with:\n- a pre-configured HTML page bootstrapping Kibana client app\n- custom HTML page\n- custom JS script file." ], - "signature": [ - "HttpResources" - ], - "path": "node_modules/@types/kbn__core-http-resources-server/index.d.ts", + "path": "packages/core/http/core-http-resources-server/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -26188,16 +29665,40 @@ ], "signature": [ "(route: ", - "RouteConfig", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.RouteConfig", + "text": "RouteConfig" + }, ", handler: ", - "HttpResourcesRequestHandler", + { + "pluginId": "@kbn/core-http-resources-server", + "scope": "server", + "docId": "kibKbnCoreHttpResourcesServerPluginApi", + "section": "def-server.HttpResourcesRequestHandler", + "text": "HttpResourcesRequestHandler" + }, ") => void" ], - "path": "node_modules/@types/kbn__core-http-resources-server/index.d.ts", + "path": "packages/core/http/core-http-resources-server/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -26209,10 +29710,16 @@ "label": "route", "description": [], "signature": [ - "RouteConfig", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.RouteConfig", + "text": "RouteConfig" + }, "" ], - "path": "node_modules/@types/kbn__core-http-resources-server/index.d.ts", + "path": "packages/core/http/core-http-resources-server/src/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -26225,10 +29732,16 @@ "label": "handler", "description": [], "signature": [ - "HttpResourcesRequestHandler", + { + "pluginId": "@kbn/core-http-resources-server", + "scope": "server", + "docId": "kibKbnCoreHttpResourcesServerPluginApi", + "section": "def-server.HttpResourcesRequestHandler", + "text": "HttpResourcesRequestHandler" + }, "" ], - "path": "node_modules/@types/kbn__core-http-resources-server/index.d.ts", + "path": "packages/core/http/core-http-resources-server/src/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -26248,10 +29761,7 @@ "description": [ "\nAllows to configure HTTP response parameters" ], - "signature": [ - "HttpResourcesRenderOptions" - ], - "path": "node_modules/@types/kbn__core-http-resources-server/index.d.ts", + "path": "packages/core/http/core-http-resources-server/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -26265,10 +29775,16 @@ "\nHTTP Headers with additional information about response." ], "signature": [ - "ResponseHeaders", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.ResponseHeaders", + "text": "ResponseHeaders" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-http-resources-server/index.d.ts", + "path": "packages/core/http/core-http-resources-server/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -26284,10 +29800,7 @@ "description": [ "\nExtended set of {@link KibanaResponseFactory} helpers used to respond with HTML or JS resource." ], - "signature": [ - "HttpResourcesServiceToolkit" - ], - "path": "node_modules/@types/kbn__core-http-resources-server/index.d.ts", + "path": "packages/core/http/core-http-resources-server/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -26302,12 +29815,24 @@ ], "signature": [ "(options?: ", - "HttpResourcesRenderOptions", + { + "pluginId": "@kbn/core-http-resources-server", + "scope": "server", + "docId": "kibKbnCoreHttpResourcesServerPluginApi", + "section": "def-server.HttpResourcesRenderOptions", + "text": "HttpResourcesRenderOptions" + }, " | undefined) => Promise<", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, ">" ], - "path": "node_modules/@types/kbn__core-http-resources-server/index.d.ts", + "path": "packages/core/http/core-http-resources-server/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -26319,10 +29844,16 @@ "label": "options", "description": [], "signature": [ - "HttpResourcesRenderOptions", + { + "pluginId": "@kbn/core-http-resources-server", + "scope": "server", + "docId": "kibKbnCoreHttpResourcesServerPluginApi", + "section": "def-server.HttpResourcesRenderOptions", + "text": "HttpResourcesRenderOptions" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-http-resources-server/index.d.ts", + "path": "packages/core/http/core-http-resources-server/src/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -26341,12 +29872,24 @@ ], "signature": [ "(options?: ", - "HttpResourcesRenderOptions", + { + "pluginId": "@kbn/core-http-resources-server", + "scope": "server", + "docId": "kibKbnCoreHttpResourcesServerPluginApi", + "section": "def-server.HttpResourcesRenderOptions", + "text": "HttpResourcesRenderOptions" + }, " | undefined) => Promise<", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, ">" ], - "path": "node_modules/@types/kbn__core-http-resources-server/index.d.ts", + "path": "packages/core/http/core-http-resources-server/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -26358,10 +29901,16 @@ "label": "options", "description": [], "signature": [ - "HttpResourcesRenderOptions", + { + "pluginId": "@kbn/core-http-resources-server", + "scope": "server", + "docId": "kibKbnCoreHttpResourcesServerPluginApi", + "section": "def-server.HttpResourcesRenderOptions", + "text": "HttpResourcesRenderOptions" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-http-resources-server/index.d.ts", + "path": "packages/core/http/core-http-resources-server/src/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -26380,12 +29929,24 @@ ], "signature": [ "(options: ", - "HttpResponseOptions", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.HttpResponseOptions", + "text": "HttpResponseOptions" + }, ") => ", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, "" ], - "path": "node_modules/@types/kbn__core-http-resources-server/index.d.ts", + "path": "packages/core/http/core-http-resources-server/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -26397,9 +29958,15 @@ "label": "options", "description": [], "signature": [ - "HttpResponseOptions" + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.HttpResponseOptions", + "text": "HttpResponseOptions" + } ], - "path": "node_modules/@types/kbn__core-http-resources-server/index.d.ts", + "path": "packages/core/http/core-http-resources-server/src/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -26418,12 +29985,24 @@ ], "signature": [ "(options: ", - "HttpResponseOptions", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.HttpResponseOptions", + "text": "HttpResponseOptions" + }, ") => ", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, "" ], - "path": "node_modules/@types/kbn__core-http-resources-server/index.d.ts", + "path": "packages/core/http/core-http-resources-server/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -26435,9 +30014,15 @@ "label": "options", "description": [], "signature": [ - "HttpResponseOptions" + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.HttpResponseOptions", + "text": "HttpResponseOptions" + } ], - "path": "node_modules/@types/kbn__core-http-resources-server/index.d.ts", + "path": "packages/core/http/core-http-resources-server/src/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -26456,12 +30041,24 @@ ], "signature": [ "(options: ", - "HttpResponseOptions", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.HttpResponseOptions", + "text": "HttpResponseOptions" + }, ") => ", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, "" ], - "path": "node_modules/@types/kbn__core-http-resources-server/index.d.ts", + "path": "packages/core/http/core-http-resources-server/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -26473,9 +30070,15 @@ "label": "options", "description": [], "signature": [ - "HttpResponseOptions" + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.HttpResponseOptions", + "text": "HttpResponseOptions" + } ], - "path": "node_modules/@types/kbn__core-http-resources-server/index.d.ts", + "path": "packages/core/http/core-http-resources-server/src/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -26495,10 +30098,7 @@ "description": [ "\nHTTP response parameters" ], - "signature": [ - "HttpResponseOptions" - ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/response.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -26516,7 +30116,7 @@ "Stream", " | Buffer | undefined" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/response.ts", "deprecated": false, "trackAdoption": false }, @@ -26530,10 +30130,16 @@ "HTTP Headers with additional information about response" ], "signature": [ - "ResponseHeaders", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.ResponseHeaders", + "text": "ResponseHeaders" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/response.ts", "deprecated": false, "trackAdoption": false }, @@ -26549,7 +30155,7 @@ "signature": [ "boolean | undefined" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/response.ts", "deprecated": false, "trackAdoption": false } @@ -26565,10 +30171,7 @@ "description": [ "\nInformation about what hostname, port, and protocol the server process is\nrunning on. Note that this may not match the URL that end-users access\nKibana at. For the public URL, see {@link BasePath.publicBaseUrl}." ], - "signature": [ - "HttpServerInfo" - ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/http_contract.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -26581,7 +30184,7 @@ "description": [ "The name of the Kibana server" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/http_contract.ts", "deprecated": false, "trackAdoption": false }, @@ -26594,7 +30197,7 @@ "description": [ "The hostname of the server" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/http_contract.ts", "deprecated": false, "trackAdoption": false }, @@ -26607,7 +30210,7 @@ "description": [ "The port the server is listening on" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/http_contract.ts", "deprecated": false, "trackAdoption": false }, @@ -26623,7 +30226,7 @@ "signature": [ "\"http\" | \"https\" | \"socket\"" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/http_contract.ts", "deprecated": false, "trackAdoption": false } @@ -26640,10 +30243,16 @@ "\nKibana HTTP Service provides an abstraction to work with the HTTP stack at the `preboot` stage. This functionality\nallows Kibana to serve user requests even before Kibana becomes fully operational. Only Core and `preboot` plugins\ncan define HTTP routes at this stage.\n" ], "signature": [ - "HttpServicePreboot", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.HttpServicePreboot", + "text": "HttpServicePreboot" + }, "" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/http_contract.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -26658,10 +30267,16 @@ ], "signature": [ "(path: string, callback: (router: ", - "IRouter", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IRouter", + "text": "IRouter" + }, ") => void) => void" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/http_contract.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -26675,7 +30290,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/http_contract.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -26689,10 +30304,16 @@ "description": [], "signature": [ "(router: ", - "IRouter", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IRouter", + "text": "IRouter" + }, ") => void" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/http_contract.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -26710,9 +30331,15 @@ "\nAccess or manipulate the Kibana base path\nSee {@link IBasePath}." ], "signature": [ - "IBasePath" + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IBasePath", + "text": "IBasePath" + } ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/http_contract.ts", "deprecated": false, "trackAdoption": false }, @@ -26727,9 +30354,15 @@ ], "signature": [ "() => ", - "HttpServerInfo" + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.HttpServerInfo", + "text": "HttpServerInfo" + } ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/http_contract.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -26748,10 +30381,16 @@ "\nKibana HTTP Service provides own abstraction for work with HTTP stack.\nPlugins don't have direct access to `hapi` server and its primitives anymore. Moreover,\nplugins shouldn't rely on the fact that HTTP Service uses one or another library under the hood.\nThis gives the platform flexibility to upgrade or changing our internal HTTP stack without breaking plugins.\nIf the HTTP Service lacks functionality you need, we are happy to discuss and support your needs.\n" ], "signature": [ - "HttpServiceSetup", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.HttpServiceSetup", + "text": "HttpServiceSetup" + }, "" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/http_contract.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -26766,181 +30405,1533 @@ ], "signature": [ "(cookieOptions: ", - "SessionStorageCookieOptions", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.SessionStorageCookieOptions", + "text": "SessionStorageCookieOptions" + }, ") => Promise<", - "SessionStorageFactory", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.SessionStorageFactory", + "text": "SessionStorageFactory" + }, ">" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/http_contract.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "core", + "id": "def-server.HttpServiceSetup.createCookieSessionStorageFactory.$1", + "type": "Object", + "tags": [], + "label": "cookieOptions", + "description": [ + "{@link SessionStorageCookieOptions } - options to configure created cookie session storage." + ], + "signature": [ + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.SessionStorageCookieOptions", + "text": "SessionStorageCookieOptions" + }, + "" + ], + "path": "packages/core/http/core-http-server/src/http_contract.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "core", + "id": "def-server.HttpServiceSetup.registerOnPreRouting", + "type": "Function", + "tags": [], + "label": "registerOnPreRouting", + "description": [ + "\nTo define custom logic to perform for incoming requests before server performs a route lookup.\n" + ], + "signature": [ + "(handler: ", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.OnPreRoutingHandler", + "text": "OnPreRoutingHandler" + }, + ") => void" + ], + "path": "packages/core/http/core-http-server/src/http_contract.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "core", + "id": "def-server.HttpServiceSetup.registerOnPreRouting.$1", + "type": "Function", + "tags": [], + "label": "handler", + "description": [ + "{@link OnPreRoutingHandler } - function to call." + ], + "signature": [ + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.OnPreRoutingHandler", + "text": "OnPreRoutingHandler" + } + ], + "path": "packages/core/http/core-http-server/src/http_contract.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "core", + "id": "def-server.HttpServiceSetup.registerOnPreAuth", + "type": "Function", + "tags": [], + "label": "registerOnPreAuth", + "description": [ + "\nTo define custom logic to perform for incoming requests before\nthe Auth interceptor performs a check that user has access to requested resources.\n" + ], + "signature": [ + "(handler: ", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.OnPreAuthHandler", + "text": "OnPreAuthHandler" + }, + ") => void" + ], + "path": "packages/core/http/core-http-server/src/http_contract.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "core", + "id": "def-server.HttpServiceSetup.registerOnPreAuth.$1", + "type": "Function", + "tags": [], + "label": "handler", + "description": [ + "{@link OnPreRoutingHandler } - function to call." + ], + "signature": [ + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.OnPreAuthHandler", + "text": "OnPreAuthHandler" + } + ], + "path": "packages/core/http/core-http-server/src/http_contract.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "core", + "id": "def-server.HttpServiceSetup.registerAuth", + "type": "Function", + "tags": [], + "label": "registerAuth", + "description": [ + "\nTo define custom authentication and/or authorization mechanism for incoming requests.\n" + ], + "signature": [ + "(handler: ", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.AuthenticationHandler", + "text": "AuthenticationHandler" + }, + ") => void" + ], + "path": "packages/core/http/core-http-server/src/http_contract.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "core", + "id": "def-server.HttpServiceSetup.registerAuth.$1", + "type": "Function", + "tags": [], + "label": "handler", + "description": [ + "{@link AuthenticationHandler } - function to perform authentication." + ], + "signature": [ + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.AuthenticationHandler", + "text": "AuthenticationHandler" + } + ], + "path": "packages/core/http/core-http-server/src/http_contract.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "core", + "id": "def-server.HttpServiceSetup.registerOnPostAuth", + "type": "Function", + "tags": [], + "label": "registerOnPostAuth", + "description": [ + "\nTo define custom logic after Auth interceptor did make sure a user has access to the requested resource.\n" + ], + "signature": [ + "(handler: ", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.OnPostAuthHandler", + "text": "OnPostAuthHandler" + }, + ") => void" + ], + "path": "packages/core/http/core-http-server/src/http_contract.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "core", + "id": "def-server.HttpServiceSetup.registerOnPostAuth.$1", + "type": "Function", + "tags": [], + "label": "handler", + "description": [ + "{@link OnPostAuthHandler } - function to call." + ], + "signature": [ + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.OnPostAuthHandler", + "text": "OnPostAuthHandler" + } + ], + "path": "packages/core/http/core-http-server/src/http_contract.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "core", + "id": "def-server.HttpServiceSetup.registerOnPreResponse", + "type": "Function", + "tags": [], + "label": "registerOnPreResponse", + "description": [ + "\nTo define custom logic to perform for the server response.\n" + ], + "signature": [ + "(handler: ", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.OnPreResponseHandler", + "text": "OnPreResponseHandler" + }, + ") => void" + ], + "path": "packages/core/http/core-http-server/src/http_contract.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "core", + "id": "def-server.HttpServiceSetup.registerOnPreResponse.$1", + "type": "Function", + "tags": [], + "label": "handler", + "description": [ + "{@link OnPreResponseHandler } - function to call." + ], + "signature": [ + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.OnPreResponseHandler", + "text": "OnPreResponseHandler" + } + ], + "path": "packages/core/http/core-http-server/src/http_contract.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "core", + "id": "def-server.HttpServiceSetup.basePath", + "type": "Object", + "tags": [], + "label": "basePath", + "description": [ + "\nAccess or manipulate the Kibana base path\nSee {@link IBasePath}." + ], + "signature": [ + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IBasePath", + "text": "IBasePath" + } + ], + "path": "packages/core/http/core-http-server/src/http_contract.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "core", + "id": "def-server.HttpServiceSetup.csp", + "type": "Object", + "tags": [], + "label": "csp", + "description": [ + "\nThe CSP config used for Kibana." + ], + "signature": [ + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.ICspConfig", + "text": "ICspConfig" + } + ], + "path": "packages/core/http/core-http-server/src/http_contract.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "core", + "id": "def-server.HttpServiceSetup.createRouter", + "type": "Function", + "tags": [], + "label": "createRouter", + "description": [ + "\nProvides ability to declare a handler function for a particular path and HTTP request method.\n" + ], + "signature": [ + "() => ", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IRouter", + "text": "IRouter" + }, + "" + ], + "path": "packages/core/http/core-http-server/src/http_contract.ts", + "deprecated": false, + "trackAdoption": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "core", + "id": "def-server.HttpServiceSetup.registerRouteHandlerContext", + "type": "Function", + "tags": [], + "label": "registerRouteHandlerContext", + "description": [ + "\nRegister a context provider for a route handler." + ], + "signature": [ + ">(contextName: ContextName, provider: ", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IContextProvider", + "text": "IContextProvider" + }, + ") => ", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IContextContainer", + "text": "IContextContainer" + } + ], + "path": "packages/core/http/core-http-server/src/http_contract.ts", "deprecated": false, "trackAdoption": false, "children": [ { - "parentPluginId": "core", - "id": "def-server.HttpServiceSetup.createCookieSessionStorageFactory.$1", - "type": "Object", - "tags": [], - "label": "cookieOptions", - "description": [ - "{@link SessionStorageCookieOptions } - options to configure created cookie session storage." - ], - "signature": [ - "SessionStorageCookieOptions", - "" - ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "core", - "id": "def-server.HttpServiceSetup.registerOnPreRouting", - "type": "Function", - "tags": [], - "label": "registerOnPreRouting", - "description": [ - "\nTo define custom logic to perform for incoming requests before server performs a route lookup.\n" - ], - "signature": [ - "(handler: ", - "OnPreRoutingHandler", - ") => void" - ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "children": [ + "parentPluginId": "core", + "id": "def-server.HttpServiceSetup.registerRouteHandlerContext.$1", + "type": "Uncategorized", + "tags": [], + "label": "contextName", + "description": [], + "signature": [ + "ContextName" + ], + "path": "packages/core/http/core-http-server/src/http_contract.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "core", + "id": "def-server.HttpServiceSetup.registerRouteHandlerContext.$2", + "type": "Function", + "tags": [], + "label": "provider", + "description": [], + "signature": [ + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IContextProvider", + "text": "IContextProvider" + }, + "" + ], + "path": "packages/core/http/core-http-server/src/http_contract.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "core", + "id": "def-server.HttpServiceSetup.getServerInfo", + "type": "Function", + "tags": [], + "label": "getServerInfo", + "description": [ + "\nProvides common {@link HttpServerInfo | information} about the running http server." + ], + "signature": [ + "() => ", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.HttpServerInfo", + "text": "HttpServerInfo" + } + ], + "path": "packages/core/http/core-http-server/src/http_contract.ts", + "deprecated": false, + "trackAdoption": false, + "children": [], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "core", + "id": "def-server.HttpServiceStart", + "type": "Interface", + "tags": [], + "label": "HttpServiceStart", + "description": [], + "path": "packages/core/http/core-http-server/src/http_contract.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "core", + "id": "def-server.HttpServiceStart.basePath", + "type": "Object", + "tags": [], + "label": "basePath", + "description": [ + "\nAccess or manipulate the Kibana base path\nSee {@link IBasePath}." + ], + "signature": [ + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IBasePath", + "text": "IBasePath" + } + ], + "path": "packages/core/http/core-http-server/src/http_contract.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "core", + "id": "def-server.HttpServiceStart.auth", + "type": "Object", + "tags": [], + "label": "auth", + "description": [ + "\nAuth status.\nSee {@link HttpAuth}" + ], + "signature": [ + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.HttpAuth", + "text": "HttpAuth" + } + ], + "path": "packages/core/http/core-http-server/src/http_contract.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "core", + "id": "def-server.HttpServiceStart.getServerInfo", + "type": "Function", + "tags": [], + "label": "getServerInfo", + "description": [ + "\nProvides common {@link HttpServerInfo | information} about the running http server." + ], + "signature": [ + "() => ", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.HttpServerInfo", + "text": "HttpServerInfo" + } + ], + "path": "packages/core/http/core-http-server/src/http_contract.ts", + "deprecated": false, + "trackAdoption": false, + "children": [], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "core", + "id": "def-server.I18nServiceSetup", + "type": "Interface", + "tags": [], + "label": "I18nServiceSetup", + "description": [], + "path": "packages/core/i18n/core-i18n-server/src/types.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "core", + "id": "def-server.I18nServiceSetup.getLocale", + "type": "Function", + "tags": [], + "label": "getLocale", + "description": [ + "\nReturn the locale currently in use." + ], + "signature": [ + "() => string" + ], + "path": "packages/core/i18n/core-i18n-server/src/types.ts", + "deprecated": false, + "trackAdoption": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "core", + "id": "def-server.I18nServiceSetup.getTranslationFiles", + "type": "Function", + "tags": [], + "label": "getTranslationFiles", + "description": [ + "\nReturn the absolute paths to translation files currently in use." + ], + "signature": [ + "() => string[]" + ], + "path": "packages/core/i18n/core-i18n-server/src/types.ts", + "deprecated": false, + "trackAdoption": false, + "children": [], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "core", + "id": "def-server.IAnalyticsClient", + "type": "Interface", + "tags": [], + "label": "IAnalyticsClient", + "description": [ + "\nAnalytics client's public APIs" + ], + "path": "packages/analytics/client/src/analytics_client/types.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "core", + "id": "def-server.IAnalyticsClient.reportEvent", + "type": "Function", + "tags": [ + "track-adoption" + ], + "label": "reportEvent", + "description": [ + "\nReports a telemetry event." + ], + "signature": [ + "(eventType: string, eventData: EventTypeData) => void" + ], + "path": "packages/analytics/client/src/analytics_client/types.ts", + "deprecated": false, + "trackAdoption": true, + "references": [ + { + "plugin": "@kbn/ebt-tools", + "path": "packages/kbn-ebt-tools/src/performance_metric_events/helpers.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/track_clicks.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" + }, + { + "plugin": "@kbn/core-root-browser-internal", + "path": "packages/core/root/core-root-browser-internal/src/core_system.ts" + }, + { + "plugin": "@kbn/core-status-server-internal", + "path": "packages/core/status/core-status-server-internal/src/status_service.ts" + }, + { + "plugin": "@kbn/core-plugins-server-internal", + "path": "packages/core/plugins/core-plugins-server-internal/src/plugin_context.ts" + }, + { + "plugin": "@kbn/core-plugins-server-internal", + "path": "packages/core/plugins/core-plugins-server-internal/src/plugin_context.ts" + }, + { + "plugin": "@kbn/core-plugins-server-internal", + "path": "packages/core/plugins/core-plugins-server-internal/src/plugin_context.ts" + }, + { + "plugin": "@kbn/core-plugins-server-internal", + "path": "packages/core/plugins/core-plugins-server-internal/src/plugin_context.ts" + }, + { + "plugin": "@kbn/core-plugins-server-internal", + "path": "packages/core/plugins/core-plugins-server-internal/src/plugin_context.ts" + }, + { + "plugin": "@kbn/core-plugins-server-internal", + "path": "packages/core/plugins/core-plugins-server-internal/src/plugin_context.ts" + }, + { + "plugin": "@kbn/core-analytics-server-internal", + "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" + }, + { + "plugin": "@kbn/core-analytics-server-internal", + "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" + }, + { + "plugin": "@kbn/core-analytics-server-internal", + "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" + }, + { + "plugin": "@kbn/core-analytics-server-internal", + "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" + }, + { + "plugin": "@kbn/core-analytics-server-internal", + "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" + }, + { + "plugin": "@kbn/core-analytics-server-internal", + "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/server/analytics/analytics_service.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/services/analytics/types.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/services/analytics/analytics_service.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/plugins/fleet/server/services/fleet_usage_sender.ts" + }, + { + "plugin": "osquery", + "path": "x-pack/plugins/osquery/server/lib/telemetry/sender.ts" + }, + { + "plugin": "osquery", + "path": "x-pack/plugins/osquery/server/lib/telemetry/sender.ts" + }, + { + "plugin": "osquery", + "path": "x-pack/plugins/osquery/server/lib/telemetry/sender.ts" + }, + { + "plugin": "osquery", + "path": "x-pack/plugins/osquery/server/lib/telemetry/sender.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/analytics_client.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/analytics_client.test.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/analytics_client.test.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/analytics_client.test.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/analytics_client.test.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/analytics_client.test.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/analytics_client.test.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/analytics_client.test.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/analytics_client.test.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/analytics_client.test.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/analytics_client.test.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/analytics_client.test.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/analytics_client.test.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/analytics_client.test.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/analytics_client.test.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/analytics_client.test.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/analytics_client.test.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/analytics_client.test.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/analytics_client.test.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/analytics_client.test.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/analytics_client.test.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/analytics_client.test.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/analytics_client.test.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/analytics_client.test.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/analytics_client.test.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/analytics_client.test.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/analytics_client.test.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/analytics_client.test.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/analytics_client.test.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/analytics_client.test.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/analytics_client.test.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/analytics_client.test.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/analytics_client.test.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/analytics_client.test.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/analytics_client.test.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/analytics_client.test.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-mocks", + "path": "packages/core/analytics/core-analytics-browser-mocks/src/analytics_service.mock.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-mocks", + "path": "packages/core/analytics/core-analytics-browser-mocks/src/analytics_service.mock.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/services/analytics/analytics.stub.ts" + }, + { + "plugin": "@kbn/core-root-browser-internal", + "path": "packages/core/root/core-root-browser-internal/src/core_system.test.ts" + }, + { + "plugin": "@kbn/core-root-browser-internal", + "path": "packages/core/root/core-root-browser-internal/src/core_system.test.ts" + }, + { + "plugin": "@kbn/core-root-browser-internal", + "path": "packages/core/root/core-root-browser-internal/src/core_system.test.ts" + }, + { + "plugin": "@kbn/core-root-browser-internal", + "path": "packages/core/root/core-root-browser-internal/src/core_system.test.ts" + }, + { + "plugin": "@kbn/core-root-browser-internal", + "path": "packages/core/root/core-root-browser-internal/src/core_system.test.ts" + }, + { + "plugin": "@kbn/core-root-browser-internal", + "path": "packages/core/root/core-root-browser-internal/src/core_system.test.ts" + }, + { + "plugin": "@kbn/core-analytics-server-mocks", + "path": "packages/core/analytics/core-analytics-server-mocks/src/analytics_service.mock.ts" + }, + { + "plugin": "@kbn/core-analytics-server-mocks", + "path": "packages/core/analytics/core-analytics-server-mocks/src/analytics_service.mock.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/server/analytics/analytics_service.test.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/server/analytics/analytics_service.test.ts" + }, + { + "plugin": "@kbn/core-status-server-internal", + "path": "packages/core/status/core-status-server-internal/src/status_service.test.ts" + }, + { + "plugin": "@kbn/core-status-server-internal", + "path": "packages/core/status/core-status-server-internal/src/status_service.test.ts" + }, + { + "plugin": "@kbn/core-status-server-internal", + "path": "packages/core/status/core-status-server-internal/src/status_service.test.ts" + }, + { + "plugin": "@kbn/core-analytics-server-mocks", + "path": "packages/core/analytics/core-analytics-server-mocks/src/analytics_service.mock.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/mocks.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.test.mocks.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/track_clicks.test.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/track_clicks.test.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/track_clicks.test.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/track_clicks.test.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.test.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.test.ts" + }, + { + "plugin": "@kbn/core-analytics-server-internal", + "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.test.mocks.ts" + } + ], + "children": [ + { + "parentPluginId": "core", + "id": "def-server.IAnalyticsClient.reportEvent.$1", + "type": "string", + "tags": [], + "label": "eventType", + "description": [ + "The event type registered via the `registerEventType` API." + ], + "signature": [ + "string" + ], + "path": "packages/analytics/client/src/analytics_client/types.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "core", + "id": "def-server.IAnalyticsClient.reportEvent.$2", + "type": "Uncategorized", + "tags": [], + "label": "eventData", + "description": [ + "The properties matching the schema declared in the `registerEventType` API." + ], + "signature": [ + "EventTypeData" + ], + "path": "packages/analytics/client/src/analytics_client/types.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "core", + "id": "def-server.IAnalyticsClient.registerEventType", + "type": "Function", + "tags": [], + "label": "registerEventType", + "description": [ + "\nRegisters the event type that will be emitted via the reportEvent API." + ], + "signature": [ + "(eventTypeOps: ", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.EventTypeOpts", + "text": "EventTypeOpts" + }, + ") => void" + ], + "path": "packages/analytics/client/src/analytics_client/types.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "core", + "id": "def-server.IAnalyticsClient.registerEventType.$1", + "type": "Object", + "tags": [], + "label": "eventTypeOps", + "description": [ + "The definition of the event type {@link EventTypeOpts }." + ], + "signature": [ + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.EventTypeOpts", + "text": "EventTypeOpts" + }, + "" + ], + "path": "packages/analytics/client/src/analytics_client/types.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "core", + "id": "def-server.IAnalyticsClient.registerShipper", + "type": "Function", + "tags": [], + "label": "registerShipper", + "description": [ + "\nSet up the shipper that will be used to report the telemetry events." + ], + "signature": [ + "(Shipper: ", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.ShipperClassConstructor", + "text": "ShipperClassConstructor" + }, + ", shipperConfig: ShipperConfig, opts?: ", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.RegisterShipperOpts", + "text": "RegisterShipperOpts" + }, + " | undefined) => void" + ], + "path": "packages/analytics/client/src/analytics_client/types.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "core", + "id": "def-server.IAnalyticsClient.registerShipper.$1", + "type": "Object", + "tags": [], + "label": "Shipper", + "description": [ + "The {@link IShipper } class to instantiate the shipper." + ], + "signature": [ + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.ShipperClassConstructor", + "text": "ShipperClassConstructor" + }, + "" + ], + "path": "packages/analytics/client/src/analytics_client/types.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "core", + "id": "def-server.IAnalyticsClient.registerShipper.$2", + "type": "Uncategorized", + "tags": [], + "label": "shipperConfig", + "description": [ + "The config specific to the Shipper to instantiate." + ], + "signature": [ + "ShipperConfig" + ], + "path": "packages/analytics/client/src/analytics_client/types.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "core", + "id": "def-server.IAnalyticsClient.registerShipper.$3", + "type": "Object", + "tags": [], + "label": "opts", + "description": [ + "Additional options to register the shipper {@link RegisterShipperOpts }." + ], + "signature": [ + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.RegisterShipperOpts", + "text": "RegisterShipperOpts" + }, + " | undefined" + ], + "path": "packages/analytics/client/src/analytics_client/types.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "core", + "id": "def-server.IAnalyticsClient.optIn", + "type": "Function", + "tags": [], + "label": "optIn", + "description": [ + "\nUsed to control the user's consent to report the data.\nIn the advanced mode, it allows to \"cherry-pick\" which events and shippers are enabled/disabled." + ], + "signature": [ + "(optInConfig: ", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.OptInConfig", + "text": "OptInConfig" + }, + ") => void" + ], + "path": "packages/analytics/client/src/analytics_client/types.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "core", + "id": "def-server.IAnalyticsClient.optIn.$1", + "type": "Object", + "tags": [], + "label": "optInConfig", + "description": [ + "{@link OptInConfig }" + ], + "signature": [ + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.OptInConfig", + "text": "OptInConfig" + } + ], + "path": "packages/analytics/client/src/analytics_client/types.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "core", + "id": "def-server.IAnalyticsClient.registerContextProvider", + "type": "Function", + "tags": [ + "track-adoption" + ], + "label": "registerContextProvider", + "description": [ + "\nRegisters the context provider to enrich any reported events." + ], + "signature": [ + "(contextProviderOpts: ", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.ContextProviderOpts", + "text": "ContextProviderOpts" + }, + ") => void" + ], + "path": "packages/analytics/client/src/analytics_client/types.ts", + "deprecated": false, + "trackAdoption": true, + "references": [ + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" + }, + { + "plugin": "@kbn/core-execution-context-browser-internal", + "path": "packages/core/execution-context/core-execution-context-browser-internal/src/execution_context_service.ts" + }, + { + "plugin": "@kbn/core-elasticsearch-server-internal", + "path": "packages/core/elasticsearch/core-elasticsearch-server-internal/src/register_analytics_context_provider.ts" + }, + { + "plugin": "@kbn/core-environment-server-internal", + "path": "packages/core/environment/core-environment-server-internal/src/environment_service.ts" + }, + { + "plugin": "@kbn/core-status-server-internal", + "path": "packages/core/status/core-status-server-internal/src/status_service.ts" + }, + { + "plugin": "@kbn/core-plugins-server-internal", + "path": "packages/core/plugins/core-plugins-server-internal/src/plugin_context.ts" + }, + { + "plugin": "@kbn/core-plugins-server-internal", + "path": "packages/core/plugins/core-plugins-server-internal/src/plugin_context.ts" + }, + { + "plugin": "@kbn/core-plugins-server-internal", + "path": "packages/core/plugins/core-plugins-server-internal/src/plugin_context.ts" + }, + { + "plugin": "@kbn/core-plugins-server-internal", + "path": "packages/core/plugins/core-plugins-server-internal/src/plugin_context.ts" + }, + { + "plugin": "@kbn/core-analytics-server-internal", + "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" + }, + { + "plugin": "@kbn/core-analytics-server-internal", + "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" + }, + { + "plugin": "@kbn/core-analytics-server-internal", + "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" + }, + { + "plugin": "@kbn/core-analytics-server-internal", + "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" + }, + { + "plugin": "@kbn/core-analytics-server-internal", + "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" + }, + { + "plugin": "licensing", + "path": "x-pack/plugins/licensing/common/register_analytics_context_provider.ts" + }, + { + "plugin": "cloud", + "path": "x-pack/plugins/cloud/common/register_cloud_deployment_id_analytics_context.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/public/analytics/register_user_context.ts" + }, + { + "plugin": "telemetry", + "path": "src/plugins/telemetry/public/plugin.ts" + }, + { + "plugin": "telemetry", + "path": "src/plugins/telemetry/server/plugin.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/analytics_client.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/analytics_client.test.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/analytics_client.test.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-mocks", + "path": "packages/core/analytics/core-analytics-browser-mocks/src/analytics_service.mock.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/public/analytics/analytics_service.test.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/public/analytics/analytics_service.test.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/public/analytics/register_user_context.test.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/public/analytics/register_user_context.test.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/public/analytics/register_user_context.test.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/public/analytics/register_user_context.test.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/public/analytics/register_user_context.test.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/public/analytics/register_user_context.test.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/public/analytics/register_user_context.test.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/public/analytics/register_user_context.test.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/public/analytics/register_user_context.test.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/public/analytics/register_user_context.test.ts" + }, + { + "plugin": "@kbn/core-execution-context-browser-internal", + "path": "packages/core/execution-context/core-execution-context-browser-internal/src/execution_context_service.test.ts" + }, + { + "plugin": "@kbn/core-execution-context-browser-internal", + "path": "packages/core/execution-context/core-execution-context-browser-internal/src/execution_context_service.test.ts" + }, + { + "plugin": "@kbn/core-analytics-server-mocks", + "path": "packages/core/analytics/core-analytics-server-mocks/src/analytics_service.mock.ts" + }, + { + "plugin": "@kbn/core-analytics-server-mocks", + "path": "packages/core/analytics/core-analytics-server-mocks/src/analytics_service.mock.ts" + }, + { + "plugin": "@kbn/core-elasticsearch-server-internal", + "path": "packages/core/elasticsearch/core-elasticsearch-server-internal/src/register_analytics_context_provider.test.ts" + }, + { + "plugin": "@kbn/core-status-server-internal", + "path": "packages/core/status/core-status-server-internal/src/status_service.test.ts" + }, + { + "plugin": "@kbn/core-status-server-internal", + "path": "packages/core/status/core-status-server-internal/src/status_service.test.ts" + }, + { + "plugin": "@kbn/analytics-client", + "path": "packages/analytics/client/src/analytics_client/mocks.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.test.mocks.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.test.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.test.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.test.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.test.ts" + }, { - "parentPluginId": "core", - "id": "def-server.HttpServiceSetup.registerOnPreRouting.$1", - "type": "Function", - "tags": [], - "label": "handler", - "description": [ - "{@link OnPreRoutingHandler } - function to call." - ], - "signature": [ - "OnPreRoutingHandler" - ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "core", - "id": "def-server.HttpServiceSetup.registerOnPreAuth", - "type": "Function", - "tags": [], - "label": "registerOnPreAuth", - "description": [ - "\nTo define custom logic to perform for incoming requests before\nthe Auth interceptor performs a check that user has access to requested resources.\n" - ], - "signature": [ - "(handler: ", - "OnPreAuthHandler", - ") => void" - ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "children": [ + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.test.ts" + }, { - "parentPluginId": "core", - "id": "def-server.HttpServiceSetup.registerOnPreAuth.$1", - "type": "Function", - "tags": [], - "label": "handler", - "description": [ - "{@link OnPreRoutingHandler } - function to call." - ], - "signature": [ - "OnPreAuthHandler" - ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "core", - "id": "def-server.HttpServiceSetup.registerAuth", - "type": "Function", - "tags": [], - "label": "registerAuth", - "description": [ - "\nTo define custom authentication and/or authorization mechanism for incoming requests.\n" - ], - "signature": [ - "(handler: ", - "AuthenticationHandler", - ") => void" - ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "children": [ + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.test.ts" + }, { - "parentPluginId": "core", - "id": "def-server.HttpServiceSetup.registerAuth.$1", - "type": "Function", - "tags": [], - "label": "handler", - "description": [ - "{@link AuthenticationHandler } - function to perform authentication." - ], - "signature": [ - "AuthenticationHandler" - ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "isRequired": true + "plugin": "@kbn/core-analytics-server-internal", + "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.test.mocks.ts" + }, + { + "plugin": "@kbn/core-analytics-server-internal", + "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.test.ts" + }, + { + "plugin": "@kbn/core-analytics-server-internal", + "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.test.ts" } ], - "returnComment": [] - }, - { - "parentPluginId": "core", - "id": "def-server.HttpServiceSetup.registerOnPostAuth", - "type": "Function", - "tags": [], - "label": "registerOnPostAuth", - "description": [ - "\nTo define custom logic after Auth interceptor did make sure a user has access to the requested resource.\n" - ], - "signature": [ - "(handler: ", - "OnPostAuthHandler", - ") => void" - ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", - "deprecated": false, - "trackAdoption": false, "children": [ { "parentPluginId": "core", - "id": "def-server.HttpServiceSetup.registerOnPostAuth.$1", - "type": "Function", + "id": "def-server.IAnalyticsClient.registerContextProvider.$1", + "type": "Object", "tags": [], - "label": "handler", + "label": "contextProviderOpts", "description": [ - "{@link OnPostAuthHandler } - function to call." + "{@link ContextProviderOpts }" ], "signature": [ - "OnPostAuthHandler" + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.ContextProviderOpts", + "text": "ContextProviderOpts" + }, + "" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/analytics/client/src/analytics_client/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -26950,35 +31941,33 @@ }, { "parentPluginId": "core", - "id": "def-server.HttpServiceSetup.registerOnPreResponse", + "id": "def-server.IAnalyticsClient.removeContextProvider", "type": "Function", "tags": [], - "label": "registerOnPreResponse", + "label": "removeContextProvider", "description": [ - "\nTo define custom logic to perform for the server response.\n" + "\nRemoves the context provider and stop enriching the events from its context." ], "signature": [ - "(handler: ", - "OnPreResponseHandler", - ") => void" + "(contextProviderName: string) => void" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/analytics/client/src/analytics_client/types.ts", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "core", - "id": "def-server.HttpServiceSetup.registerOnPreResponse.$1", - "type": "Function", + "id": "def-server.IAnalyticsClient.removeContextProvider.$1", + "type": "string", "tags": [], - "label": "handler", + "label": "contextProviderName", "description": [ - "{@link OnPreResponseHandler } - function to call." + "The name of the context provider to remove." ], "signature": [ - "OnPreResponseHandler" + "string" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/analytics/client/src/analytics_client/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -26988,244 +31977,42 @@ }, { "parentPluginId": "core", - "id": "def-server.HttpServiceSetup.basePath", - "type": "Object", - "tags": [], - "label": "basePath", - "description": [ - "\nAccess or manipulate the Kibana base path\nSee {@link IBasePath}." - ], - "signature": [ - "IBasePath" - ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "core", - "id": "def-server.HttpServiceSetup.csp", + "id": "def-server.IAnalyticsClient.telemetryCounter$", "type": "Object", "tags": [], - "label": "csp", - "description": [ - "\nThe CSP config used for Kibana." - ], - "signature": [ - "ICspConfig" - ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "core", - "id": "def-server.HttpServiceSetup.createRouter", - "type": "Function", - "tags": [], - "label": "createRouter", - "description": [ - "\nProvides ability to declare a handler function for a particular path and HTTP request method.\n" - ], - "signature": [ - "() => ", - "IRouter", - "" - ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "core", - "id": "def-server.HttpServiceSetup.registerRouteHandlerContext", - "type": "Function", - "tags": [], - "label": "registerRouteHandlerContext", + "label": "telemetryCounter$", "description": [ - "\nRegister a context provider for a route handler." + "\nObservable to emit the stats of the processed events." ], "signature": [ - ">(contextName: ContextName, provider: ", - "IContextProvider", - ") => ", - "IContextContainer" - ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "children": [ + "Observable", + "<", { - "parentPluginId": "core", - "id": "def-server.HttpServiceSetup.registerRouteHandlerContext.$1", - "type": "Uncategorized", - "tags": [], - "label": "contextName", - "description": [], - "signature": [ - "ContextName" - ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "isRequired": true + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.TelemetryCounter", + "text": "TelemetryCounter" }, - { - "parentPluginId": "core", - "id": "def-server.HttpServiceSetup.registerRouteHandlerContext.$2", - "type": "Function", - "tags": [], - "label": "provider", - "description": [], - "signature": [ - "IContextProvider", - "" - ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "core", - "id": "def-server.HttpServiceSetup.getServerInfo", - "type": "Function", - "tags": [], - "label": "getServerInfo", - "description": [ - "\nProvides common {@link HttpServerInfo | information} about the running http server." - ], - "signature": [ - "() => ", - "HttpServerInfo" - ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "children": [], - "returnComment": [] - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "core", - "id": "def-server.HttpServiceStart", - "type": "Interface", - "tags": [], - "label": "HttpServiceStart", - "description": [], - "signature": [ - "HttpServiceStart" - ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "core", - "id": "def-server.HttpServiceStart.basePath", - "type": "Object", - "tags": [], - "label": "basePath", - "description": [ - "\nAccess or manipulate the Kibana base path\nSee {@link IBasePath}." - ], - "signature": [ - "IBasePath" - ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "core", - "id": "def-server.HttpServiceStart.auth", - "type": "Object", - "tags": [], - "label": "auth", - "description": [ - "\nAuth status.\nSee {@link HttpAuth}" - ], - "signature": [ - "HttpAuth" + ">" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/analytics/client/src/analytics_client/types.ts", "deprecated": false, "trackAdoption": false }, { "parentPluginId": "core", - "id": "def-server.HttpServiceStart.getServerInfo", - "type": "Function", - "tags": [], - "label": "getServerInfo", - "description": [ - "\nProvides common {@link HttpServerInfo | information} about the running http server." - ], - "signature": [ - "() => ", - "HttpServerInfo" - ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "children": [], - "returnComment": [] - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "core", - "id": "def-server.I18nServiceSetup", - "type": "Interface", - "tags": [], - "label": "I18nServiceSetup", - "description": [], - "signature": [ - "I18nServiceSetup" - ], - "path": "node_modules/@types/kbn__core-i18n-server/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "core", - "id": "def-server.I18nServiceSetup.getLocale", - "type": "Function", - "tags": [], - "label": "getLocale", - "description": [ - "\nReturn the locale currently in use." - ], - "signature": [ - "() => string" - ], - "path": "node_modules/@types/kbn__core-i18n-server/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "core", - "id": "def-server.I18nServiceSetup.getTranslationFiles", + "id": "def-server.IAnalyticsClient.shutdown", "type": "Function", "tags": [], - "label": "getTranslationFiles", + "label": "shutdown", "description": [ - "\nReturn the absolute paths to translation files currently in use." + "\nStops the client." ], "signature": [ - "() => string[]" + "() => void" ], - "path": "node_modules/@types/kbn__core-i18n-server/index.d.ts", + "path": "packages/analytics/client/src/analytics_client/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -27243,10 +32030,7 @@ "description": [ "\nAccess or manipulate the Kibana base path\n" ], - "signature": [ - "IBasePath" - ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/base_path.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -27259,7 +32043,7 @@ "description": [ "\nreturns the server's basePath.\n\nSee {@link IBasePath.get} for getting the basePath value for a specific request" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/base_path.ts", "deprecated": false, "trackAdoption": false }, @@ -27275,7 +32059,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/base_path.ts", "deprecated": false, "trackAdoption": false }, @@ -27290,10 +32074,16 @@ ], "signature": [ "(request: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ") => string" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/base_path.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -27305,10 +32095,16 @@ "label": "request", "description": [], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/base_path.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -27327,10 +32123,16 @@ ], "signature": [ "(request: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ", requestSpecificBasePath: string) => void" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/base_path.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -27342,10 +32144,16 @@ "label": "request", "description": [], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/base_path.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -27360,7 +32168,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/base_path.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -27380,7 +32188,7 @@ "signature": [ "(path: string) => string" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/base_path.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -27394,7 +32202,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/base_path.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -27414,7 +32222,7 @@ "signature": [ "(path: string) => string" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/base_path.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -27428,7 +32236,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/base_path.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -27448,10 +32256,7 @@ "description": [ "\nRepresents an Elasticsearch cluster API client created by the platform.\nIt allows to call API on behalf of the internal Kibana user and\nthe actual user that is derived from the request headers (via `asScoped(...)`).\n" ], - "signature": [ - "IClusterClient" - ], - "path": "node_modules/@types/kbn__core-elasticsearch-server/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server/src/client/cluster_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -28653,7 +33458,7 @@ "default", "; }" ], - "path": "node_modules/@types/kbn__core-elasticsearch-server/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server/src/client/cluster_client.ts", "deprecated": false, "trackAdoption": false }, @@ -28668,11 +33473,23 @@ ], "signature": [ "(request: ", - "ScopeableRequest", + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.ScopeableRequest", + "text": "ScopeableRequest" + }, ") => ", - "IScopedClusterClient" + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.IScopedClusterClient", + "text": "IScopedClusterClient" + } ], - "path": "node_modules/@types/kbn__core-elasticsearch-server/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server/src/client/cluster_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -28684,9 +33501,15 @@ "label": "request", "description": [], "signature": [ - "ScopeableRequest" + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.ScopeableRequest", + "text": "ScopeableRequest" + } ], - "path": "node_modules/@types/kbn__core-elasticsearch-server/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server/src/client/cluster_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -28706,10 +33529,7 @@ "description": [ "\nAn object that handles registration of context providers and configuring handlers with context.\n" ], - "signature": [ - "IContextContainer" - ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/context_container.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -28724,12 +33544,24 @@ ], "signature": [ "(pluginOpaqueId: symbol, contextName: ContextName, provider: ", - "IContextProvider", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IContextProvider", + "text": "IContextProvider" + }, ") => this" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/context_container.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -28745,7 +33577,7 @@ "signature": [ "symbol" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/context_container.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -28762,7 +33594,7 @@ "signature": [ "ContextName" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/context_container.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -28777,10 +33609,16 @@ "- A {@link IContextProvider } to be called each time a new context is created." ], "signature": [ - "IContextProvider", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IContextProvider", + "text": "IContextProvider" + }, "" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/context_container.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -28801,20 +33639,56 @@ ], "signature": [ "(pluginOpaqueId: symbol, handler: ", - "RequestHandler", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.RequestHandler", + "text": "RequestHandler" + }, ") => (request: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ", response: ", - "KibanaResponseFactory", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaResponseFactory", + "text": "KibanaResponseFactory" + }, ") => Promise<", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, ">" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/context_container.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -28830,7 +33704,7 @@ "signature": [ "symbol" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/context_container.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -28845,14 +33719,32 @@ "- Handler function to pass context object to." ], "signature": [ - "RequestHandler", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.RequestHandler", + "text": "RequestHandler" + }, "" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/context_container.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -28874,10 +33766,7 @@ "description": [ "\nCSP configuration for use in Kibana." ], - "signature": [ - "ICspConfig" - ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/csp.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -28890,7 +33779,7 @@ "description": [ "\nSpecify whether browsers that do not support CSP should be\nable to use Kibana. Use `true` to block and `false` to allow." ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/csp.ts", "deprecated": false, "trackAdoption": false }, @@ -28903,7 +33792,7 @@ "description": [ "\nSpecify whether users with legacy browsers should be warned\nabout their lack of Kibana security compliance." ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/csp.ts", "deprecated": false, "trackAdoption": false }, @@ -28916,7 +33805,7 @@ "description": [ "\nWhether or not embedding (using iframes) should be allowed by the CSP. If embedding is disabled, a restrictive 'frame-ancestors' rule will be added to the default CSP rules." ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/csp.ts", "deprecated": false, "trackAdoption": false }, @@ -28929,7 +33818,7 @@ "description": [ "\nThe CSP rules in a formatted directives string for use\nin a `Content-Security-Policy` header." ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/csp.ts", "deprecated": false, "trackAdoption": false } @@ -28946,11 +33835,23 @@ "\nSee {@link IClusterClient}\n" ], "signature": [ - "ICustomClusterClient", + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.ICustomClusterClient", + "text": "ICustomClusterClient" + }, " extends ", - "IClusterClient" + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.IClusterClient", + "text": "IClusterClient" + } ], - "path": "node_modules/@types/kbn__core-elasticsearch-server/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server/src/client/cluster_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -28966,7 +33867,7 @@ "signature": [ "() => Promise" ], - "path": "node_modules/@types/kbn__core-elasticsearch-server/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server/src/client/cluster_client.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -28985,10 +33886,16 @@ "\nCreating a new instance from EventLoopDelaysMonitor will\nautomatically start tracking event loop delays.\nSee {@link IntervalHistogram}" ], "signature": [ - "IEventLoopDelaysMonitor", + { + "pluginId": "@kbn/core-metrics-server", + "scope": "server", + "docId": "kibKbnCoreMetricsServerPluginApi", + "section": "def-server.IEventLoopDelaysMonitor", + "text": "IEventLoopDelaysMonitor" + }, "" ], - "path": "node_modules/@types/kbn__core-metrics-server/index.d.ts", + "path": "packages/core/metrics/core-metrics-server/src/collectors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -28999,12 +33906,12 @@ "tags": [], "label": "collect", "description": [ - "\nCollect gathers event loop delays metrics from nodejs perf_hooks.monitorEventLoopDelay\nthe histogram calculations start from the last time `reset` was called or this\nEventLoopDelaysMonitor instance was created.\n\nReturns metrics in milliseconds.\n " + "\nCollect gathers event loop delays metrics from nodejs perf_hooks.monitorEventLoopDelay\nthe histogram calculations start from the last time `reset` was called or this\nEventLoopDelaysMonitor instance was created.\n\nReturns metrics in milliseconds." ], "signature": [ "() => T" ], - "path": "node_modules/@types/kbn__core-metrics-server/index.d.ts", + "path": "packages/core/metrics/core-metrics-server/src/collectors.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -29022,7 +33929,7 @@ "signature": [ "() => void" ], - "path": "node_modules/@types/kbn__core-metrics-server/index.d.ts", + "path": "packages/core/metrics/core-metrics-server/src/collectors.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -29040,7 +33947,7 @@ "signature": [ "() => void" ], - "path": "node_modules/@types/kbn__core-metrics-server/index.d.ts", + "path": "packages/core/metrics/core-metrics-server/src/collectors.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -29056,10 +33963,7 @@ "tags": [], "label": "IExecutionContextContainer", "description": [], - "signature": [ - "IExecutionContextContainer" - ], - "path": "node_modules/@types/kbn__core-execution-context-server/index.d.ts", + "path": "packages/core/execution-context/core-execution-context-server/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -29073,7 +33977,7 @@ "signature": [ "() => string" ], - "path": "node_modules/@types/kbn__core-execution-context-server/index.d.ts", + "path": "packages/core/execution-context/core-execution-context-server/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -29088,10 +33992,16 @@ "description": [], "signature": [ "() => Readonly<", - "KibanaExecutionContext", + { + "pluginId": "@kbn/core-execution-context-common", + "scope": "common", + "docId": "kibKbnCoreExecutionContextCommonPluginApi", + "section": "def-common.KibanaExecutionContext", + "text": "KibanaExecutionContext" + }, ">" ], - "path": "node_modules/@types/kbn__core-execution-context-server/index.d.ts", + "path": "packages/core/execution-context/core-execution-context-server/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -29109,10 +34019,7 @@ "description": [ "\nExternal Url configuration for use in Kibana." ], - "signature": [ - "IExternalUrlConfig" - ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/external_url.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -29126,10 +34033,16 @@ "\nA set of policies describing which external urls are allowed." ], "signature": [ - "IExternalUrlPolicy", + { + "pluginId": "@kbn/core-http-common", + "scope": "common", + "docId": "kibKbnCoreHttpCommonPluginApi", + "section": "def-common.IExternalUrlPolicy", + "text": "IExternalUrlPolicy" + }, "[]" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/external_url.ts", "deprecated": false, "trackAdoption": false } @@ -29145,10 +34058,7 @@ "description": [ "\nA policy describing whether access to an external destination is allowed." ], - "signature": [ - "IExternalUrlPolicy" - ], - "path": "node_modules/@types/kbn__core-http-common/index.d.ts", + "path": "packages/core/http/core-http-common/src/external_url_policy.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -29161,7 +34071,7 @@ "description": [ "\nIndicates if this policy allows or denies access to the described destination." ], - "path": "node_modules/@types/kbn__core-http-common/index.d.ts", + "path": "packages/core/http/core-http-common/src/external_url_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -29177,7 +34087,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-http-common/index.d.ts", + "path": "packages/core/http/core-http-common/src/external_url_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -29193,7 +34103,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-http-common/index.d.ts", + "path": "packages/core/http/core-http-common/src/external_url_policy.ts", "deprecated": false, "trackAdoption": false } @@ -29210,10 +34120,16 @@ "\nA response data object, expected to returned as a result of {@link RequestHandler} execution" ], "signature": [ - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, "" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/response.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -29224,7 +34140,7 @@ "tags": [], "label": "status", "description": [], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/response.ts", "deprecated": false, "trackAdoption": false }, @@ -29238,7 +34154,7 @@ "signature": [ "T | undefined" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/response.ts", "deprecated": false, "trackAdoption": false }, @@ -29250,9 +34166,15 @@ "label": "options", "description": [], "signature": [ - "HttpResponseOptions" + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.HttpResponseOptions", + "text": "HttpResponseOptions" + } ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/response.ts", "deprecated": false, "trackAdoption": false } @@ -29268,10 +34190,7 @@ "description": [ "\nA tiny abstraction for TCP socket." ], - "signature": [ - "IKibanaSocket" - ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/socket.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -29293,7 +34212,7 @@ "DetailedPeerCertificate", " | null; }" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/socket.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -29307,7 +34226,7 @@ "signature": [ "true" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/socket.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -29333,7 +34252,7 @@ "DetailedPeerCertificate", " | null; }" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/socket.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -29347,7 +34266,7 @@ "signature": [ "false" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/socket.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -29375,7 +34294,7 @@ "DetailedPeerCertificate", " | null; }" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/socket.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -29391,7 +34310,7 @@ "signature": [ "boolean | undefined" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/socket.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -29413,7 +34332,7 @@ "signature": [ "() => string | null" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/socket.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -29431,7 +34350,7 @@ "signature": [ "(options: { rejectUnauthorized?: boolean | undefined; requestCert?: boolean | undefined; }) => Promise" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/socket.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -29442,7 +34361,7 @@ "tags": [], "label": "options", "description": [], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/socket.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -29456,7 +34375,7 @@ "signature": [ "boolean | undefined" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/socket.ts", "deprecated": false, "trackAdoption": false }, @@ -29470,7 +34389,7 @@ "signature": [ "boolean | undefined" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/socket.ts", "deprecated": false, "trackAdoption": false } @@ -29493,7 +34412,7 @@ "signature": [ "boolean | undefined" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/socket.ts", "deprecated": false, "trackAdoption": false }, @@ -29509,7 +34428,7 @@ "signature": [ "Error | undefined" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/socket.ts", "deprecated": false, "trackAdoption": false } @@ -29525,10 +34444,7 @@ "description": [ "\nan IntervalHistogram object that samples and reports the event loop delay over time.\nThe delays will be reported in milliseconds.\n" ], - "signature": [ - "IntervalHistogram" - ], - "path": "node_modules/@types/kbn__core-metrics-server/index.d.ts", + "path": "packages/core/metrics/core-metrics-server/src/metrics.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -29539,7 +34455,7 @@ "tags": [], "label": "fromTimestamp", "description": [], - "path": "node_modules/@types/kbn__core-metrics-server/index.d.ts", + "path": "packages/core/metrics/core-metrics-server/src/metrics.ts", "deprecated": false, "trackAdoption": false }, @@ -29550,7 +34466,7 @@ "tags": [], "label": "lastUpdatedAt", "description": [], - "path": "node_modules/@types/kbn__core-metrics-server/index.d.ts", + "path": "packages/core/metrics/core-metrics-server/src/metrics.ts", "deprecated": false, "trackAdoption": false }, @@ -29561,7 +34477,7 @@ "tags": [], "label": "min", "description": [], - "path": "node_modules/@types/kbn__core-metrics-server/index.d.ts", + "path": "packages/core/metrics/core-metrics-server/src/metrics.ts", "deprecated": false, "trackAdoption": false }, @@ -29572,7 +34488,7 @@ "tags": [], "label": "max", "description": [], - "path": "node_modules/@types/kbn__core-metrics-server/index.d.ts", + "path": "packages/core/metrics/core-metrics-server/src/metrics.ts", "deprecated": false, "trackAdoption": false }, @@ -29583,7 +34499,7 @@ "tags": [], "label": "mean", "description": [], - "path": "node_modules/@types/kbn__core-metrics-server/index.d.ts", + "path": "packages/core/metrics/core-metrics-server/src/metrics.ts", "deprecated": false, "trackAdoption": false }, @@ -29594,7 +34510,7 @@ "tags": [], "label": "exceeds", "description": [], - "path": "node_modules/@types/kbn__core-metrics-server/index.d.ts", + "path": "packages/core/metrics/core-metrics-server/src/metrics.ts", "deprecated": false, "trackAdoption": false }, @@ -29605,7 +34521,7 @@ "tags": [], "label": "stddev", "description": [], - "path": "node_modules/@types/kbn__core-metrics-server/index.d.ts", + "path": "packages/core/metrics/core-metrics-server/src/metrics.ts", "deprecated": false, "trackAdoption": false }, @@ -29619,7 +34535,7 @@ "signature": [ "{ 50: number; 75: number; 95: number; 99: number; }" ], - "path": "node_modules/@types/kbn__core-metrics-server/index.d.ts", + "path": "packages/core/metrics/core-metrics-server/src/metrics.ts", "deprecated": false, "trackAdoption": false } @@ -29636,10 +34552,16 @@ "\nRegisters route handlers for specified resource path and method.\nSee {@link RouteConfig} and {@link RequestHandler} for more information about arguments to route registrations.\n" ], "signature": [ - "IRouter", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IRouter", + "text": "IRouter" + }, "" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/router.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -29652,7 +34574,7 @@ "description": [ "\nResulted path" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/router.ts", "deprecated": false, "trackAdoption": false }, @@ -29667,14 +34589,32 @@ ], "signature": [ "(route: ", - "RouteConfig", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.RouteConfig", + "text": "RouteConfig" + }, ", handler: ", - "RequestHandler", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.RequestHandler", + "text": "RequestHandler" + }, ") => void" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/router.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -29689,10 +34629,16 @@ "{@link RouteConfig } - a route configuration." ], "signature": [ - "RouteConfig", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.RouteConfig", + "text": "RouteConfig" + }, "" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/router.ts", "deprecated": false, "trackAdoption": false }, @@ -29707,16 +34653,40 @@ ], "signature": [ "(context: Context, request: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ", response: ", - "KibanaResponseFactory", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaResponseFactory", + "text": "KibanaResponseFactory" + }, ") => ", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, " | Promise<", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, ">" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/router.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -29731,7 +34701,7 @@ "signature": [ "Context" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/request_handler.ts", "deprecated": false, "trackAdoption": false }, @@ -29743,10 +34713,16 @@ "label": "request", "description": [], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/request_handler.ts", "deprecated": false, "trackAdoption": false }, @@ -29760,7 +34736,7 @@ "signature": [ "ResponseFactory" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/request_handler.ts", "deprecated": false, "trackAdoption": false } @@ -29779,14 +34755,32 @@ ], "signature": [ "(route: ", - "RouteConfig", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.RouteConfig", + "text": "RouteConfig" + }, ", handler: ", - "RequestHandler", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.RequestHandler", + "text": "RequestHandler" + }, ") => void" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/router.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -29801,10 +34795,16 @@ "{@link RouteConfig } - a route configuration." ], "signature": [ - "RouteConfig", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.RouteConfig", + "text": "RouteConfig" + }, "" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/router.ts", "deprecated": false, "trackAdoption": false }, @@ -29819,16 +34819,40 @@ ], "signature": [ "(context: Context, request: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ", response: ", - "KibanaResponseFactory", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaResponseFactory", + "text": "KibanaResponseFactory" + }, ") => ", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, " | Promise<", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, ">" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/router.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -29843,7 +34867,7 @@ "signature": [ "Context" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/request_handler.ts", "deprecated": false, "trackAdoption": false }, @@ -29855,10 +34879,16 @@ "label": "request", "description": [], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/request_handler.ts", "deprecated": false, "trackAdoption": false }, @@ -29872,7 +34902,7 @@ "signature": [ "ResponseFactory" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/request_handler.ts", "deprecated": false, "trackAdoption": false } @@ -29891,14 +34921,32 @@ ], "signature": [ "(route: ", - "RouteConfig", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.RouteConfig", + "text": "RouteConfig" + }, ", handler: ", - "RequestHandler", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.RequestHandler", + "text": "RequestHandler" + }, ") => void" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/router.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -29913,10 +34961,16 @@ "{@link RouteConfig } - a route configuration." ], "signature": [ - "RouteConfig", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.RouteConfig", + "text": "RouteConfig" + }, "" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/router.ts", "deprecated": false, "trackAdoption": false }, @@ -29931,16 +34985,40 @@ ], "signature": [ "(context: Context, request: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ", response: ", - "KibanaResponseFactory", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaResponseFactory", + "text": "KibanaResponseFactory" + }, ") => ", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, " | Promise<", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, ">" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/router.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -29955,7 +35033,7 @@ "signature": [ "Context" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/request_handler.ts", "deprecated": false, "trackAdoption": false }, @@ -29967,10 +35045,16 @@ "label": "request", "description": [], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/request_handler.ts", "deprecated": false, "trackAdoption": false }, @@ -29984,7 +35068,7 @@ "signature": [ "ResponseFactory" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/request_handler.ts", "deprecated": false, "trackAdoption": false } @@ -30003,14 +35087,32 @@ ], "signature": [ "(route: ", - "RouteConfig", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.RouteConfig", + "text": "RouteConfig" + }, ", handler: ", - "RequestHandler", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.RequestHandler", + "text": "RequestHandler" + }, ") => void" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/router.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -30025,10 +35127,16 @@ "{@link RouteConfig } - a route configuration." ], "signature": [ - "RouteConfig", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.RouteConfig", + "text": "RouteConfig" + }, "" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/router.ts", "deprecated": false, "trackAdoption": false }, @@ -30043,16 +35151,40 @@ ], "signature": [ "(context: Context, request: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ", response: ", - "KibanaResponseFactory", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaResponseFactory", + "text": "KibanaResponseFactory" + }, ") => ", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, " | Promise<", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, ">" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/router.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -30067,7 +35199,7 @@ "signature": [ "Context" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/request_handler.ts", "deprecated": false, "trackAdoption": false }, @@ -30079,10 +35211,16 @@ "label": "request", "description": [], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/request_handler.ts", "deprecated": false, "trackAdoption": false }, @@ -30096,7 +35234,7 @@ "signature": [ "ResponseFactory" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/request_handler.ts", "deprecated": false, "trackAdoption": false } @@ -30115,14 +35253,32 @@ ], "signature": [ "(route: ", - "RouteConfig", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.RouteConfig", + "text": "RouteConfig" + }, ", handler: ", - "RequestHandler", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.RequestHandler", + "text": "RequestHandler" + }, ") => void" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/router.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -30137,10 +35293,16 @@ "{@link RouteConfig } - a route configuration." ], "signature": [ - "RouteConfig", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.RouteConfig", + "text": "RouteConfig" + }, "" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/router.ts", "deprecated": false, "trackAdoption": false }, @@ -30155,16 +35317,40 @@ ], "signature": [ "(context: Context, request: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ", response: ", - "KibanaResponseFactory", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaResponseFactory", + "text": "KibanaResponseFactory" + }, ") => ", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, " | Promise<", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, ">" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/router.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -30179,7 +35365,7 @@ "signature": [ "Context" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/request_handler.ts", "deprecated": false, "trackAdoption": false }, @@ -30191,10 +35377,16 @@ "label": "request", "description": [], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/request_handler.ts", "deprecated": false, "trackAdoption": false }, @@ -30208,7 +35400,7 @@ "signature": [ "ResponseFactory" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/request_handler.ts", "deprecated": false, "trackAdoption": false } @@ -30227,22 +35419,64 @@ ], "signature": [ "(handler: ", - "RequestHandler", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.RequestHandler", + "text": "RequestHandler" + }, ") => ", - "RequestHandler", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.RequestHandler", + "text": "RequestHandler" + }, "" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/router.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -30258,14 +35492,32 @@ ], "signature": [ "(context: Context, request: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ", response: ResponseFactory) => ", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, " | Promise<", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, ">" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/request_handler.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -30280,7 +35532,7 @@ "signature": [ "Context" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/request_handler.ts", "deprecated": false, "trackAdoption": false }, @@ -30292,10 +35544,16 @@ "label": "request", "description": [], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/request_handler.ts", "deprecated": false, "trackAdoption": false }, @@ -30309,7 +35567,7 @@ "signature": [ "ResponseFactory" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/request_handler.ts", "deprecated": false, "trackAdoption": false } @@ -30329,10 +35587,7 @@ "description": [ "\nUtility class used to export savedObjects.\n" ], - "signature": [ - "ISavedObjectsExporter" - ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/export.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -30349,12 +35604,18 @@ ], "signature": [ "(options: ", - "SavedObjectsExportByTypeOptions", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsExportByTypeOptions", + "text": "SavedObjectsExportByTypeOptions" + }, ") => Promise<", "Readable", ">" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/export.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -30366,9 +35627,15 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsExportByTypeOptions" + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsExportByTypeOptions", + "text": "SavedObjectsExportByTypeOptions" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/export.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -30389,12 +35656,18 @@ ], "signature": [ "(options: ", - "SavedObjectsExportByObjectOptions", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsExportByObjectOptions", + "text": "SavedObjectsExportByObjectOptions" + }, ") => Promise<", "Readable", ">" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/export.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -30406,9 +35679,15 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsExportByObjectOptions" + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsExportByObjectOptions", + "text": "SavedObjectsExportByObjectOptions" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/export.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -30428,10 +35707,7 @@ "description": [ "\nUtility class used to import savedObjects.\n" ], - "signature": [ - "ISavedObjectsImporter" - ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/import.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -30448,12 +35724,24 @@ ], "signature": [ "(options: ", - "SavedObjectsImportOptions", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsImportOptions", + "text": "SavedObjectsImportOptions" + }, ") => Promise<", - "SavedObjectsImportResponse", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectsImportResponse", + "text": "SavedObjectsImportResponse" + }, ">" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/import.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -30465,9 +35753,15 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsImportOptions" + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsImportOptions", + "text": "SavedObjectsImportOptions" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/import.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -30488,12 +35782,24 @@ ], "signature": [ "(options: ", - "SavedObjectsResolveImportErrorsOptions", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsResolveImportErrorsOptions", + "text": "SavedObjectsResolveImportErrorsOptions" + }, ") => Promise<", - "SavedObjectsImportResponse", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectsImportResponse", + "text": "SavedObjectsImportResponse" + }, ">" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/import.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -30505,9 +35811,15 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsResolveImportErrorsOptions" + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsResolveImportErrorsOptions", + "text": "SavedObjectsResolveImportErrorsOptions" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/import.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -30526,10 +35838,16 @@ "label": "ISavedObjectsPointInTimeFinder", "description": [], "signature": [ - "ISavedObjectsPointInTimeFinder", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.ISavedObjectsPointInTimeFinder", + "text": "ISavedObjectsPointInTimeFinder" + }, "" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/create_point_in_time_finder.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -30544,10 +35862,16 @@ ], "signature": [ "() => AsyncGenerator<", - "SavedObjectsFindResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsFindResponse", + "text": "SavedObjectsFindResponse" + }, ", any, unknown>" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/create_point_in_time_finder.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -30565,7 +35889,7 @@ "signature": [ "() => Promise" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/create_point_in_time_finder.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -30583,10 +35907,7 @@ "description": [ "\nThe savedObjects repository contract.\n" ], - "signature": [ - "ISavedObjectsRepository" - ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_repository.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -30607,12 +35928,24 @@ ], "signature": [ "(type: string, attributes: T, options?: ", - "SavedObjectsCreateOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsCreateOptions", + "text": "SavedObjectsCreateOptions" + }, " | undefined) => Promise<", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, ">" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_repository.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -30626,7 +35959,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -30641,7 +35974,7 @@ "signature": [ "T" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -30654,10 +35987,16 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsCreateOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsCreateOptions", + "text": "SavedObjectsCreateOptions" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -30681,14 +36020,32 @@ ], "signature": [ "(objects: ", - "SavedObjectsBulkCreateObject", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkCreateObject", + "text": "SavedObjectsBulkCreateObject" + }, "[], options?: ", - "SavedObjectsCreateOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsCreateOptions", + "text": "SavedObjectsCreateOptions" + }, " | undefined) => Promise<", - "SavedObjectsBulkResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkResponse", + "text": "SavedObjectsBulkResponse" + }, ">" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_repository.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -30702,10 +36059,16 @@ "- [{ type, id, attributes, references, migrationVersion }]" ], "signature": [ - "SavedObjectsBulkCreateObject", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkCreateObject", + "text": "SavedObjectsBulkCreateObject" + }, "[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -30718,10 +36081,16 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsCreateOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsCreateOptions", + "text": "SavedObjectsCreateOptions" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -30742,14 +36111,32 @@ ], "signature": [ "(objects: ", - "SavedObjectsCheckConflictsObject", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsCheckConflictsObject", + "text": "SavedObjectsCheckConflictsObject" + }, "[], options?: ", - "SavedObjectsBaseOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + }, " | undefined) => Promise<", - "SavedObjectsCheckConflictsResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsCheckConflictsResponse", + "text": "SavedObjectsCheckConflictsResponse" + }, ">" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_repository.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -30761,10 +36148,16 @@ "label": "objects", "description": [], "signature": [ - "SavedObjectsCheckConflictsObject", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsCheckConflictsObject", + "text": "SavedObjectsCheckConflictsObject" + }, "[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -30777,10 +36170,16 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsBaseOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -30801,10 +36200,16 @@ ], "signature": [ "(type: string, id: string, options?: ", - "SavedObjectsDeleteOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsDeleteOptions", + "text": "SavedObjectsDeleteOptions" + }, " | undefined) => Promise<{}>" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_repository.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -30818,7 +36223,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -30833,7 +36238,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -30846,10 +36251,16 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsDeleteOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsDeleteOptions", + "text": "SavedObjectsDeleteOptions" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -30868,14 +36279,32 @@ ], "signature": [ "(objects: ", - "SavedObjectsBulkDeleteObject", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkDeleteObject", + "text": "SavedObjectsBulkDeleteObject" + }, "[], options?: ", - "SavedObjectsBulkDeleteOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkDeleteOptions", + "text": "SavedObjectsBulkDeleteOptions" + }, " | undefined) => Promise<", - "SavedObjectsBulkDeleteResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkDeleteResponse", + "text": "SavedObjectsBulkDeleteResponse" + }, ">" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_repository.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -30889,10 +36318,16 @@ "- an array of objects containing id and type" ], "signature": [ - "SavedObjectsBulkDeleteObject", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkDeleteObject", + "text": "SavedObjectsBulkDeleteObject" + }, "[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -30905,10 +36340,16 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsBulkDeleteOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkDeleteOptions", + "text": "SavedObjectsBulkDeleteOptions" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -30929,10 +36370,16 @@ ], "signature": [ "(namespace: string, options?: ", - "SavedObjectsDeleteByNamespaceOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsDeleteByNamespaceOptions", + "text": "SavedObjectsDeleteByNamespaceOptions" + }, " | undefined) => Promise" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_repository.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -30946,7 +36393,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -30959,10 +36406,16 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsDeleteByNamespaceOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsDeleteByNamespaceOptions", + "text": "SavedObjectsDeleteByNamespaceOptions" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -30996,12 +36449,24 @@ "description": [], "signature": [ "(options: ", - "SavedObjectsFindOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsFindOptions", + "text": "SavedObjectsFindOptions" + }, ") => Promise<", - "SavedObjectsFindResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsFindResponse", + "text": "SavedObjectsFindResponse" + }, ">" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_repository.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -31013,9 +36478,15 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsFindOptions" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsFindOptions", + "text": "SavedObjectsFindOptions" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -31038,14 +36509,32 @@ ], "signature": [ "(objects: ", - "SavedObjectsBulkGetObject", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkGetObject", + "text": "SavedObjectsBulkGetObject" + }, "[], options?: ", - "SavedObjectsBaseOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + }, " | undefined) => Promise<", - "SavedObjectsBulkResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkResponse", + "text": "SavedObjectsBulkResponse" + }, ">" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_repository.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -31059,10 +36548,16 @@ "- an array of objects containing id, type and optionally fields" ], "signature": [ - "SavedObjectsBulkGetObject", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkGetObject", + "text": "SavedObjectsBulkGetObject" + }, "[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -31075,10 +36570,16 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsBaseOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -31101,14 +36602,32 @@ ], "signature": [ "(objects: ", - "SavedObjectsBulkResolveObject", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkResolveObject", + "text": "SavedObjectsBulkResolveObject" + }, "[], options?: ", - "SavedObjectsBaseOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + }, " | undefined) => Promise<", - "SavedObjectsBulkResolveResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkResolveResponse", + "text": "SavedObjectsBulkResolveResponse" + }, ">" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_repository.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -31122,10 +36641,16 @@ "- an array of objects containing id, type" ], "signature": [ - "SavedObjectsBulkResolveObject", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkResolveObject", + "text": "SavedObjectsBulkResolveObject" + }, "[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -31138,10 +36663,16 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsBaseOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -31164,12 +36695,24 @@ ], "signature": [ "(type: string, id: string, options?: ", - "SavedObjectsBaseOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + }, " | undefined) => Promise<", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, ">" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_repository.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -31183,7 +36726,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -31198,7 +36741,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -31211,10 +36754,16 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsBaseOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -31237,12 +36786,24 @@ ], "signature": [ "(type: string, id: string, options?: ", - "SavedObjectsBaseOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + }, " | undefined) => Promise<", - "SavedObjectsResolveResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsResolveResponse", + "text": "SavedObjectsResolveResponse" + }, ">" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_repository.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -31256,7 +36817,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -31271,7 +36832,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -31284,10 +36845,16 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsBaseOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -31312,12 +36879,24 @@ ], "signature": [ "(type: string, id: string, attributes: Partial, options?: ", - "SavedObjectsUpdateOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsUpdateOptions", + "text": "SavedObjectsUpdateOptions" + }, " | undefined) => Promise<", - "SavedObjectsUpdateResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsUpdateResponse", + "text": "SavedObjectsUpdateResponse" + }, ">" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_repository.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -31331,7 +36910,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -31346,7 +36925,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -31361,7 +36940,7 @@ "signature": [ "Partial" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -31374,10 +36953,16 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsUpdateOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsUpdateOptions", + "text": "SavedObjectsUpdateOptions" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -31396,14 +36981,32 @@ ], "signature": [ "(objects: ", - "SavedObjectsCollectMultiNamespaceReferencesObject", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsCollectMultiNamespaceReferencesObject", + "text": "SavedObjectsCollectMultiNamespaceReferencesObject" + }, "[], options?: ", - "SavedObjectsCollectMultiNamespaceReferencesOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsCollectMultiNamespaceReferencesOptions", + "text": "SavedObjectsCollectMultiNamespaceReferencesOptions" + }, " | undefined) => Promise<", - "SavedObjectsCollectMultiNamespaceReferencesResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsCollectMultiNamespaceReferencesResponse", + "text": "SavedObjectsCollectMultiNamespaceReferencesResponse" + }, ">" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_repository.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -31417,10 +37020,16 @@ "The objects to get the references for." ], "signature": [ - "SavedObjectsCollectMultiNamespaceReferencesObject", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsCollectMultiNamespaceReferencesObject", + "text": "SavedObjectsCollectMultiNamespaceReferencesObject" + }, "[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -31433,10 +37042,16 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsCollectMultiNamespaceReferencesOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsCollectMultiNamespaceReferencesOptions", + "text": "SavedObjectsCollectMultiNamespaceReferencesOptions" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -31455,14 +37070,32 @@ ], "signature": [ "(objects: ", - "SavedObjectsUpdateObjectsSpacesObject", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsUpdateObjectsSpacesObject", + "text": "SavedObjectsUpdateObjectsSpacesObject" + }, "[], spacesToAdd: string[], spacesToRemove: string[], options?: ", - "SavedObjectsUpdateObjectsSpacesOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsUpdateObjectsSpacesOptions", + "text": "SavedObjectsUpdateObjectsSpacesOptions" + }, " | undefined) => Promise<", - "SavedObjectsUpdateObjectsSpacesResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsUpdateObjectsSpacesResponse", + "text": "SavedObjectsUpdateObjectsSpacesResponse" + }, ">" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_repository.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -31474,10 +37107,16 @@ "label": "objects", "description": [], "signature": [ - "SavedObjectsUpdateObjectsSpacesObject", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsUpdateObjectsSpacesObject", + "text": "SavedObjectsUpdateObjectsSpacesObject" + }, "[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -31492,7 +37131,7 @@ "signature": [ "string[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -31507,7 +37146,7 @@ "signature": [ "string[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -31520,10 +37159,16 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsUpdateObjectsSpacesOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsUpdateObjectsSpacesOptions", + "text": "SavedObjectsUpdateObjectsSpacesOptions" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -31545,14 +37190,32 @@ ], "signature": [ "(objects: ", - "SavedObjectsBulkUpdateObject", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkUpdateObject", + "text": "SavedObjectsBulkUpdateObject" + }, "[], options?: ", - "SavedObjectsBulkUpdateOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkUpdateOptions", + "text": "SavedObjectsBulkUpdateOptions" + }, " | undefined) => Promise<", - "SavedObjectsBulkUpdateResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkUpdateResponse", + "text": "SavedObjectsBulkUpdateResponse" + }, ">" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_repository.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -31566,10 +37229,16 @@ "- [{ type, id, attributes, options: { version, namespace } references }]" ], "signature": [ - "SavedObjectsBulkUpdateObject", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkUpdateObject", + "text": "SavedObjectsBulkUpdateObject" + }, "[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -31582,10 +37251,16 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsBulkUpdateOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkUpdateOptions", + "text": "SavedObjectsBulkUpdateOptions" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -31606,12 +37281,24 @@ ], "signature": [ "(type: string, id: string, options?: ", - "SavedObjectsRemoveReferencesToOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsRemoveReferencesToOptions", + "text": "SavedObjectsRemoveReferencesToOptions" + }, " | undefined) => Promise<", - "SavedObjectsRemoveReferencesToResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsRemoveReferencesToResponse", + "text": "SavedObjectsRemoveReferencesToResponse" + }, ">" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_repository.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -31625,7 +37312,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -31640,7 +37327,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -31653,10 +37340,16 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsRemoveReferencesToOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsRemoveReferencesToOptions", + "text": "SavedObjectsRemoveReferencesToOptions" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -31675,14 +37368,32 @@ ], "signature": [ "(type: string, id: string, counterFields: (string | ", - "SavedObjectsIncrementCounterField", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsIncrementCounterField", + "text": "SavedObjectsIncrementCounterField" + }, ")[], options?: ", - "SavedObjectsIncrementCounterOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsIncrementCounterOptions", + "text": "SavedObjectsIncrementCounterOptions" + }, " | undefined) => Promise<", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, ">" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_repository.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -31698,7 +37409,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -31715,7 +37426,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -31731,10 +37442,16 @@ ], "signature": [ "(string | ", - "SavedObjectsIncrementCounterField", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsIncrementCounterField", + "text": "SavedObjectsIncrementCounterField" + }, ")[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -31749,10 +37466,16 @@ "- {@link SavedObjectsIncrementCounterOptions }" ], "signature": [ - "SavedObjectsIncrementCounterOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsIncrementCounterOptions", + "text": "SavedObjectsIncrementCounterOptions" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -31776,12 +37499,24 @@ ], "signature": [ "(type: string | string[], options?: ", - "SavedObjectsOpenPointInTimeOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsOpenPointInTimeOptions", + "text": "SavedObjectsOpenPointInTimeOptions" + }, " | undefined) => Promise<", - "SavedObjectsOpenPointInTimeResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsOpenPointInTimeResponse", + "text": "SavedObjectsOpenPointInTimeResponse" + }, ">" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_repository.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -31795,7 +37530,7 @@ "signature": [ "string | string[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -31810,10 +37545,16 @@ "- {@link SavedObjectsOpenPointInTimeOptions }" ], "signature": [ - "SavedObjectsOpenPointInTimeOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsOpenPointInTimeOptions", + "text": "SavedObjectsOpenPointInTimeOptions" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -31834,12 +37575,24 @@ ], "signature": [ "(id: string, options?: ", - "SavedObjectsBaseOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + }, " | undefined) => Promise<", - "SavedObjectsClosePointInTimeResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClosePointInTimeResponse", + "text": "SavedObjectsClosePointInTimeResponse" + }, ">" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_repository.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -31853,7 +37606,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -31868,10 +37621,16 @@ "- {@link SavedObjectsClosePointInTimeOptions }" ], "signature": [ - "SavedObjectsBaseOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -31892,14 +37651,32 @@ ], "signature": [ "(findOptions: ", - "SavedObjectsCreatePointInTimeFinderOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsCreatePointInTimeFinderOptions", + "text": "SavedObjectsCreatePointInTimeFinderOptions" + }, ", dependencies?: ", - "SavedObjectsCreatePointInTimeFinderDependencies", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsCreatePointInTimeFinderDependencies", + "text": "SavedObjectsCreatePointInTimeFinderDependencies" + }, " | undefined) => ", - "ISavedObjectsPointInTimeFinder", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.ISavedObjectsPointInTimeFinder", + "text": "ISavedObjectsPointInTimeFinder" + }, "" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_repository.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -31911,9 +37688,15 @@ "label": "findOptions", "description": [], "signature": [ - "SavedObjectsCreatePointInTimeFinderOptions" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsCreatePointInTimeFinderOptions", + "text": "SavedObjectsCreatePointInTimeFinderOptions" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -31926,10 +37709,16 @@ "label": "dependencies", "description": [], "signature": [ - "SavedObjectsCreatePointInTimeFinderDependencies", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsCreatePointInTimeFinderDependencies", + "text": "SavedObjectsCreatePointInTimeFinderDependencies" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_repository.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -31949,10 +37738,7 @@ "description": [ "\nA serializer that can be used to manually convert {@link SavedObjectsRawDoc | raw} or\n{@link SavedObjectSanitizedDoc | sanitized} documents to the other kind.\n" ], - "signature": [ - "ISavedObjectsSerializer" - ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/serialization.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -31967,12 +37753,24 @@ ], "signature": [ "(doc: ", - "SavedObjectsRawDoc", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsRawDoc", + "text": "SavedObjectsRawDoc" + }, ", options?: ", - "SavedObjectsRawDocParseOptions", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsRawDocParseOptions", + "text": "SavedObjectsRawDocParseOptions" + }, " | undefined) => boolean" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/serialization.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -31986,9 +37784,15 @@ "- The raw ES document to be tested" ], "signature": [ - "SavedObjectsRawDoc" + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsRawDoc", + "text": "SavedObjectsRawDoc" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/serialization.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -32003,10 +37807,16 @@ "- Options for parsing the raw document." ], "signature": [ - "SavedObjectsRawDocParseOptions", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsRawDocParseOptions", + "text": "SavedObjectsRawDocParseOptions" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/serialization.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -32025,14 +37835,32 @@ ], "signature": [ "(doc: ", - "SavedObjectsRawDoc", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsRawDoc", + "text": "SavedObjectsRawDoc" + }, ", options?: ", - "SavedObjectsRawDocParseOptions", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsRawDocParseOptions", + "text": "SavedObjectsRawDocParseOptions" + }, " | undefined) => ", - "SavedObjectSanitizedDoc", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectSanitizedDoc", + "text": "SavedObjectSanitizedDoc" + }, "" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/serialization.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -32046,9 +37874,15 @@ "- The raw ES document to be converted to saved object format." ], "signature": [ - "SavedObjectsRawDoc" + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsRawDoc", + "text": "SavedObjectsRawDoc" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/serialization.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -32063,10 +37897,16 @@ "- Options for parsing the raw document." ], "signature": [ - "SavedObjectsRawDocParseOptions", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsRawDocParseOptions", + "text": "SavedObjectsRawDocParseOptions" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/serialization.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -32085,11 +37925,23 @@ ], "signature": [ "(savedObj: ", - "SavedObjectSanitizedDoc", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectSanitizedDoc", + "text": "SavedObjectSanitizedDoc" + }, ") => ", - "SavedObjectsRawDoc" + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsRawDoc", + "text": "SavedObjectsRawDoc" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/serialization.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -32103,10 +37955,16 @@ "- The saved object to be converted to raw ES format." ], "signature": [ - "SavedObjectSanitizedDoc", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectSanitizedDoc", + "text": "SavedObjectSanitizedDoc" + }, "" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/serialization.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -32126,7 +37984,7 @@ "signature": [ "(namespace: string | undefined, type: string, id: string) => string" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/serialization.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -32142,7 +38000,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/serialization.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -32159,7 +38017,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/serialization.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -32176,7 +38034,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/serialization.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -32196,7 +38054,7 @@ "signature": [ "(namespace: string | undefined, type: string, id: string) => string" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/serialization.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -32212,7 +38070,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/serialization.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -32229,7 +38087,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/serialization.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -32246,7 +38104,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/serialization.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -32266,10 +38124,7 @@ "description": [ "\nRegistry holding information about all the registered {@link SavedObjectsType | saved object types}." ], - "signature": [ - "ISavedObjectTypeRegistry" - ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/type_registry.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -32284,10 +38139,16 @@ ], "signature": [ "(type: string) => ", - "SavedObjectsType", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsType", + "text": "SavedObjectsType" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/type_registry.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -32301,7 +38162,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/type_registry.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -32320,10 +38181,16 @@ ], "signature": [ "() => ", - "SavedObjectsType", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsType", + "text": "SavedObjectsType" + }, "[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/type_registry.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -32340,10 +38207,16 @@ ], "signature": [ "() => ", - "SavedObjectsType", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsType", + "text": "SavedObjectsType" + }, "[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/type_registry.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -32360,10 +38233,16 @@ ], "signature": [ "() => ", - "SavedObjectsType", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsType", + "text": "SavedObjectsType" + }, "[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/type_registry.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -32381,7 +38260,7 @@ "signature": [ "(type: string) => boolean" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/type_registry.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -32395,7 +38274,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/type_registry.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -32415,7 +38294,7 @@ "signature": [ "(type: string) => boolean" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/type_registry.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -32429,7 +38308,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/type_registry.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -32449,7 +38328,7 @@ "signature": [ "(type: string) => boolean" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/type_registry.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -32463,7 +38342,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/type_registry.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -32483,7 +38362,7 @@ "signature": [ "(type: string) => boolean" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/type_registry.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -32497,7 +38376,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/type_registry.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -32517,7 +38396,7 @@ "signature": [ "(type: string) => boolean" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/type_registry.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -32531,7 +38410,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/type_registry.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -32551,7 +38430,7 @@ "signature": [ "(type: string) => string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/type_registry.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -32565,7 +38444,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/type_registry.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -32585,7 +38464,7 @@ "signature": [ "(type: string) => boolean" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/type_registry.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -32599,7 +38478,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/type_registry.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -32619,10 +38498,7 @@ "description": [ "\nServes the same purpose as the normal {@link IClusterClient | cluster client} but exposes\nan additional `asCurrentUser` method that doesn't use credentials of the Kibana internal\nuser (as `asInternalUser` does) to request Elasticsearch API, but rather passes HTTP headers\nextracted from the current user request to the API instead.\n" ], - "signature": [ - "IScopedClusterClient" - ], - "path": "node_modules/@types/kbn__core-elasticsearch-server/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server/src/client/scoped_cluster_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -33824,7 +39700,7 @@ "default", "; }" ], - "path": "node_modules/@types/kbn__core-elasticsearch-server/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server/src/client/scoped_cluster_client.ts", "deprecated": false, "trackAdoption": false }, @@ -35026,7 +40902,7 @@ "default", "; }" ], - "path": "node_modules/@types/kbn__core-elasticsearch-server/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server/src/client/scoped_cluster_client.ts", "deprecated": false, "trackAdoption": false } @@ -35042,10 +40918,7 @@ "description": [ "\nBasic structure of a Shipper" ], - "signature": [ - "IShipper" - ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/shippers/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -35060,10 +40933,16 @@ ], "signature": [ "(events: ", - "Event", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.Event", + "text": "Event" + }, ">[]) => void" ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/shippers/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -35077,10 +40956,16 @@ "batched events {@link Event }" ], "signature": [ - "Event", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.Event", + "text": "Event" + }, ">[]" ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/shippers/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -35100,7 +40985,7 @@ "signature": [ "(isOptedIn: boolean) => void" ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/shippers/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -35116,7 +41001,7 @@ "signature": [ "boolean" ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/shippers/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -35135,10 +41020,16 @@ ], "signature": [ "((newContext: ", - "EventContext", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.EventContext", + "text": "EventContext" + }, ") => void) | undefined" ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/shippers/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -35152,9 +41043,15 @@ "The full new context to set {@link EventContext }" ], "signature": [ - "EventContext" + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.EventContext", + "text": "EventContext" + } ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/shippers/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -35174,10 +41071,16 @@ "signature": [ "Observable", "<", - "TelemetryCounter", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.TelemetryCounter", + "text": "TelemetryCounter" + }, "> | undefined" ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/shippers/types.ts", "deprecated": false, "trackAdoption": false }, @@ -35193,7 +41096,7 @@ "signature": [ "() => void" ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/shippers/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -35211,10 +41114,7 @@ "description": [ "\nServer-side client that provides access to the advanced settings stored in elasticsearch.\nThe settings provide control over the behavior of the Kibana application.\nFor example, a user can specify how to display numeric or date fields.\nUsers can adjust the settings via Management UI.\n" ], - "signature": [ - "IUiSettingsClient" - ], - "path": "node_modules/@types/kbn__core-ui-settings-server/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-server/src/ui_settings_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -35229,10 +41129,16 @@ ], "signature": [ "() => Readonly>" ], - "path": "node_modules/@types/kbn__core-ui-settings-server/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-server/src/ui_settings_client.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -35250,7 +41156,7 @@ "signature": [ "(key: string) => Promise" ], - "path": "node_modules/@types/kbn__core-ui-settings-server/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-server/src/ui_settings_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -35264,7 +41170,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-ui-settings-server/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-server/src/ui_settings_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -35284,7 +41190,7 @@ "signature": [ "() => Promise>" ], - "path": "node_modules/@types/kbn__core-ui-settings-server/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-server/src/ui_settings_client.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -35301,10 +41207,16 @@ ], "signature": [ "() => Promise>>" ], - "path": "node_modules/@types/kbn__core-ui-settings-server/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-server/src/ui_settings_client.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -35322,7 +41234,7 @@ "signature": [ "(changes: Record) => Promise" ], - "path": "node_modules/@types/kbn__core-ui-settings-server/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-server/src/ui_settings_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -35336,7 +41248,7 @@ "signature": [ "Record" ], - "path": "node_modules/@types/kbn__core-ui-settings-server/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-server/src/ui_settings_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -35356,7 +41268,7 @@ "signature": [ "(key: string, value: any) => Promise" ], - "path": "node_modules/@types/kbn__core-ui-settings-server/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-server/src/ui_settings_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -35370,7 +41282,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-ui-settings-server/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-server/src/ui_settings_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -35385,7 +41297,7 @@ "signature": [ "any" ], - "path": "node_modules/@types/kbn__core-ui-settings-server/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-server/src/ui_settings_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -35405,7 +41317,7 @@ "signature": [ "(key: string) => Promise" ], - "path": "node_modules/@types/kbn__core-ui-settings-server/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-server/src/ui_settings_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -35419,7 +41331,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-ui-settings-server/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-server/src/ui_settings_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -35439,7 +41351,7 @@ "signature": [ "(keys: string[]) => Promise" ], - "path": "node_modules/@types/kbn__core-ui-settings-server/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-server/src/ui_settings_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -35453,7 +41365,7 @@ "signature": [ "string[]" ], - "path": "node_modules/@types/kbn__core-ui-settings-server/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-server/src/ui_settings_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -35473,7 +41385,7 @@ "signature": [ "(key: string) => boolean" ], - "path": "node_modules/@types/kbn__core-ui-settings-server/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-server/src/ui_settings_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -35487,7 +41399,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-ui-settings-server/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-server/src/ui_settings_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -35507,7 +41419,7 @@ "signature": [ "(key: string) => boolean" ], - "path": "node_modules/@types/kbn__core-ui-settings-server/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-server/src/ui_settings_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -35521,7 +41433,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-ui-settings-server/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-server/src/ui_settings_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -35542,10 +41454,16 @@ "\nKibana specific abstraction for an incoming request." ], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/request.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -35558,7 +41476,7 @@ "description": [ "\nA identifier to identify this request.\n" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/request.ts", "deprecated": false, "trackAdoption": false }, @@ -35571,7 +41489,7 @@ "description": [ "\nA UUID to identify this request.\n" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/request.ts", "deprecated": false, "trackAdoption": false }, @@ -35587,7 +41505,7 @@ "signature": [ "URL" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/request.ts", "deprecated": false, "trackAdoption": false }, @@ -35602,14 +41520,32 @@ ], "signature": [ "{ readonly path: string; readonly method: ", - "RecursiveReadonly", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.RecursiveReadonly", + "text": "RecursiveReadonly" + }, "; readonly options: ", - "RecursiveReadonly", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.RecursiveReadonly", + "text": "RecursiveReadonly" + }, "<", - "KibanaRequestRouteOptions", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequestRouteOptions", + "text": "KibanaRequestRouteOptions" + }, ">; }" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/request.ts", "deprecated": false, "trackAdoption": false }, @@ -35625,7 +41561,7 @@ "signature": [ "{ accept?: string | string[] | undefined; \"accept-language\"?: string | string[] | undefined; \"accept-patch\"?: string | string[] | undefined; \"accept-ranges\"?: string | string[] | undefined; \"access-control-allow-credentials\"?: string | string[] | undefined; \"access-control-allow-headers\"?: string | string[] | undefined; \"access-control-allow-methods\"?: string | string[] | undefined; \"access-control-allow-origin\"?: string | string[] | undefined; \"access-control-expose-headers\"?: string | string[] | undefined; \"access-control-max-age\"?: string | string[] | undefined; \"access-control-request-headers\"?: string | string[] | undefined; \"access-control-request-method\"?: string | string[] | undefined; age?: string | string[] | undefined; allow?: string | string[] | undefined; \"alt-svc\"?: string | string[] | undefined; authorization?: string | string[] | undefined; \"cache-control\"?: string | string[] | undefined; connection?: string | string[] | undefined; \"content-disposition\"?: string | string[] | undefined; \"content-encoding\"?: string | string[] | undefined; \"content-language\"?: string | string[] | undefined; \"content-length\"?: string | string[] | undefined; \"content-location\"?: string | string[] | undefined; \"content-range\"?: string | string[] | undefined; \"content-type\"?: string | string[] | undefined; cookie?: string | string[] | undefined; date?: string | string[] | undefined; etag?: string | string[] | undefined; expect?: string | string[] | undefined; expires?: string | string[] | undefined; forwarded?: string | string[] | undefined; from?: string | string[] | undefined; host?: string | string[] | undefined; \"if-match\"?: string | string[] | undefined; \"if-modified-since\"?: string | string[] | undefined; \"if-none-match\"?: string | string[] | undefined; \"if-unmodified-since\"?: string | string[] | undefined; \"last-modified\"?: string | string[] | undefined; location?: string | string[] | undefined; origin?: string | string[] | undefined; pragma?: string | string[] | undefined; \"proxy-authenticate\"?: string | string[] | undefined; \"proxy-authorization\"?: string | string[] | undefined; \"public-key-pins\"?: string | string[] | undefined; range?: string | string[] | undefined; referer?: string | string[] | undefined; \"retry-after\"?: string | string[] | undefined; \"sec-websocket-accept\"?: string | string[] | undefined; \"sec-websocket-extensions\"?: string | string[] | undefined; \"sec-websocket-key\"?: string | string[] | undefined; \"sec-websocket-protocol\"?: string | string[] | undefined; \"sec-websocket-version\"?: string | string[] | undefined; \"set-cookie\"?: string | string[] | undefined; \"strict-transport-security\"?: string | string[] | undefined; tk?: string | string[] | undefined; trailer?: string | string[] | undefined; \"transfer-encoding\"?: string | string[] | undefined; upgrade?: string | string[] | undefined; \"user-agent\"?: string | string[] | undefined; vary?: string | string[] | undefined; via?: string | string[] | undefined; warning?: string | string[] | undefined; \"www-authenticate\"?: string | string[] | undefined; } & { [header: string]: string | string[] | undefined; }" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/request.ts", "deprecated": false, "trackAdoption": false }, @@ -35638,7 +41574,7 @@ "description": [ "\nWhether or not the request is a \"system request\" rather than an application-level request.\nCan be set on the client using the `HttpFetchOptions#asSystemRequest` option." ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/request.ts", "deprecated": false, "trackAdoption": false }, @@ -35652,9 +41588,15 @@ "\nThe socket associated with this request.\nSee {@link IKibanaSocket}." ], "signature": [ - "IKibanaSocket" + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaSocket", + "text": "IKibanaSocket" + } ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/request.ts", "deprecated": false, "trackAdoption": false }, @@ -35668,9 +41610,15 @@ "\nAllow to listen to events bound to this request.\nSee {@link KibanaRequestEvents}." ], "signature": [ - "KibanaRequestEvents" + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequestEvents", + "text": "KibanaRequestEvents" + } ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/request.ts", "deprecated": false, "trackAdoption": false }, @@ -35684,9 +41632,15 @@ "\nThe auth status of this request.\nSee {@link KibanaRequestAuth}." ], "signature": [ - "KibanaRequestAuth" + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequestAuth", + "text": "KibanaRequestAuth" + } ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/request.ts", "deprecated": false, "trackAdoption": false }, @@ -35703,7 +41657,7 @@ "URL", " | undefined" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/request.ts", "deprecated": false, "trackAdoption": false }, @@ -35719,7 +41673,7 @@ "signature": [ "Params" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/request.ts", "deprecated": false, "trackAdoption": false }, @@ -35735,7 +41689,7 @@ "signature": [ "Query" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/request.ts", "deprecated": false, "trackAdoption": false }, @@ -35751,7 +41705,7 @@ "signature": [ "Body" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/request.ts", "deprecated": false, "trackAdoption": false } @@ -35767,10 +41721,7 @@ "description": [ "\nRequest events." ], - "signature": [ - "KibanaRequestEvents" - ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/request.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -35787,7 +41738,7 @@ "Observable", "" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/request.ts", "deprecated": false, "trackAdoption": false }, @@ -35804,7 +41755,7 @@ "Observable", "" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/request.ts", "deprecated": false, "trackAdoption": false } @@ -35821,10 +41772,16 @@ "\nRequest specific route information exposed to a handler." ], "signature": [ - "KibanaRequestRoute", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequestRoute", + "text": "KibanaRequestRoute" + }, "" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/request.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -35835,7 +41792,7 @@ "tags": [], "label": "path", "description": [], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/request.ts", "deprecated": false, "trackAdoption": false }, @@ -35849,7 +41806,7 @@ "signature": [ "Method" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/request.ts", "deprecated": false, "trackAdoption": false }, @@ -35862,12 +41819,24 @@ "description": [], "signature": [ "Method extends \"options\" | \"get\" ? Required, \"body\">> : Required<", - "RouteConfigOptions", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.RouteConfigOptions", + "text": "RouteConfigOptions" + }, ">" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/request.ts", "deprecated": false, "trackAdoption": false } @@ -35883,10 +41852,7 @@ "description": [ "\nLogger exposes all the necessary methods to log any type of information and\nthis is the interface used by the logging consumers including plugins.\n" ], - "signature": [ - "Logger" - ], - "path": "node_modules/@types/kbn__logging/index.d.ts", + "path": "packages/kbn-logging/src/logger.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -35901,12 +41867,24 @@ ], "signature": [ "(message: string, meta?: Meta | undefined) => void" ], - "path": "node_modules/@types/kbn__logging/index.d.ts", + "path": "packages/kbn-logging/src/logger.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -35922,7 +41900,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__logging/index.d.ts", + "path": "packages/kbn-logging/src/logger.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -35939,7 +41917,7 @@ "signature": [ "Meta | undefined" ], - "path": "node_modules/@types/kbn__logging/index.d.ts", + "path": "packages/kbn-logging/src/logger.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -35958,12 +41936,24 @@ ], "signature": [ "(message: string, meta?: Meta | undefined) => void" ], - "path": "node_modules/@types/kbn__logging/index.d.ts", + "path": "packages/kbn-logging/src/logger.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -35979,7 +41969,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__logging/index.d.ts", + "path": "packages/kbn-logging/src/logger.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -35996,7 +41986,7 @@ "signature": [ "Meta | undefined" ], - "path": "node_modules/@types/kbn__logging/index.d.ts", + "path": "packages/kbn-logging/src/logger.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -36015,12 +42005,24 @@ ], "signature": [ "(message: string, meta?: Meta | undefined) => void" ], - "path": "node_modules/@types/kbn__logging/index.d.ts", + "path": "packages/kbn-logging/src/logger.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -36036,7 +42038,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__logging/index.d.ts", + "path": "packages/kbn-logging/src/logger.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -36053,7 +42055,7 @@ "signature": [ "Meta | undefined" ], - "path": "node_modules/@types/kbn__logging/index.d.ts", + "path": "packages/kbn-logging/src/logger.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -36072,12 +42074,24 @@ ], "signature": [ "(errorOrMessage: string | Error, meta?: Meta | undefined) => void" ], - "path": "node_modules/@types/kbn__logging/index.d.ts", + "path": "packages/kbn-logging/src/logger.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -36093,7 +42107,7 @@ "signature": [ "string | Error" ], - "path": "node_modules/@types/kbn__logging/index.d.ts", + "path": "packages/kbn-logging/src/logger.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -36110,7 +42124,7 @@ "signature": [ "Meta | undefined" ], - "path": "node_modules/@types/kbn__logging/index.d.ts", + "path": "packages/kbn-logging/src/logger.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -36129,12 +42143,24 @@ ], "signature": [ "(errorOrMessage: string | Error, meta?: Meta | undefined) => void" ], - "path": "node_modules/@types/kbn__logging/index.d.ts", + "path": "packages/kbn-logging/src/logger.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -36150,7 +42176,7 @@ "signature": [ "string | Error" ], - "path": "node_modules/@types/kbn__logging/index.d.ts", + "path": "packages/kbn-logging/src/logger.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -36167,7 +42193,7 @@ "signature": [ "Meta | undefined" ], - "path": "node_modules/@types/kbn__logging/index.d.ts", + "path": "packages/kbn-logging/src/logger.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -36186,12 +42212,24 @@ ], "signature": [ "(errorOrMessage: string | Error, meta?: Meta | undefined) => void" ], - "path": "node_modules/@types/kbn__logging/index.d.ts", + "path": "packages/kbn-logging/src/logger.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -36207,7 +42245,7 @@ "signature": [ "string | Error" ], - "path": "node_modules/@types/kbn__logging/index.d.ts", + "path": "packages/kbn-logging/src/logger.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -36224,7 +42262,7 @@ "signature": [ "Meta | undefined" ], - "path": "node_modules/@types/kbn__logging/index.d.ts", + "path": "packages/kbn-logging/src/logger.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -36232,6 +42270,44 @@ ], "returnComment": [] }, + { + "parentPluginId": "core", + "id": "def-server.Logger.isLevelEnabled", + "type": "Function", + "tags": [], + "label": "isLevelEnabled", + "description": [ + "\nChecks if given level is currently enabled for this logger.\nCan be used to wrap expensive logging operations into conditional blocks\n" + ], + "signature": [ + "(level: ", + "LogLevelId", + ") => boolean" + ], + "path": "packages/kbn-logging/src/logger.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "core", + "id": "def-server.Logger.isLevelEnabled.$1", + "type": "CompoundType", + "tags": [], + "label": "level", + "description": [ + "The log level to check for." + ], + "signature": [ + "LogLevelId" + ], + "path": "packages/kbn-logging/src/logger.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [] + }, { "parentPluginId": "core", "id": "def-server.Logger.get", @@ -36243,9 +42319,15 @@ ], "signature": [ "(...childContextPaths: string[]) => ", - "Logger" + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + } ], - "path": "node_modules/@types/kbn__logging/index.d.ts", + "path": "packages/kbn-logging/src/logger.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -36259,7 +42341,7 @@ "signature": [ "string[]" ], - "path": "node_modules/@types/kbn__logging/index.d.ts", + "path": "packages/kbn-logging/src/logger.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -36279,10 +42361,7 @@ "description": [ "\nDescribes the configuration of a given logger.\n" ], - "signature": [ - "LoggerConfigType" - ], - "path": "node_modules/@types/kbn__core-logging-server/index.d.ts", + "path": "packages/core/logging/core-logging-server/src/logger.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -36296,7 +42375,7 @@ "signature": [ "string[]" ], - "path": "node_modules/@types/kbn__core-logging-server/index.d.ts", + "path": "packages/core/logging/core-logging-server/src/logger.ts", "deprecated": false, "trackAdoption": false }, @@ -36307,7 +42386,7 @@ "tags": [], "label": "name", "description": [], - "path": "node_modules/@types/kbn__core-logging-server/index.d.ts", + "path": "packages/core/logging/core-logging-server/src/logger.ts", "deprecated": false, "trackAdoption": false }, @@ -36321,7 +42400,7 @@ "signature": [ "\"error\" | \"all\" | \"info\" | \"debug\" | \"off\" | \"warn\" | \"trace\" | \"fatal\"" ], - "path": "node_modules/@types/kbn__core-logging-server/index.d.ts", + "path": "packages/core/logging/core-logging-server/src/logger.ts", "deprecated": false, "trackAdoption": false } @@ -36337,10 +42416,7 @@ "description": [ "\nInput used to configure logging dynamically using {@link LoggingServiceSetup.configure}" ], - "signature": [ - "LoggerContextConfigInput" - ], - "path": "node_modules/@types/kbn__core-logging-server/index.d.ts", + "path": "packages/core/logging/core-logging-server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -36353,12 +42429,24 @@ "description": [], "signature": [ "Record | Map | undefined" ], - "path": "node_modules/@types/kbn__core-logging-server/index.d.ts", + "path": "packages/core/logging/core-logging-server/src/contracts.ts", "deprecated": false, "trackAdoption": false }, @@ -36370,10 +42458,16 @@ "label": "loggers", "description": [], "signature": [ - "LoggerConfigType", + { + "pluginId": "@kbn/core-logging-server", + "scope": "server", + "docId": "kibKbnCoreLoggingServerPluginApi", + "section": "def-server.LoggerConfigType", + "text": "LoggerConfigType" + }, "[] | undefined" ], - "path": "node_modules/@types/kbn__core-logging-server/index.d.ts", + "path": "packages/core/logging/core-logging-server/src/contracts.ts", "deprecated": false, "trackAdoption": false } @@ -36389,10 +42483,7 @@ "description": [ "\nThe single purpose of `LoggerFactory` interface is to define a way to\nretrieve a context-based logger instance.\n" ], - "signature": [ - "LoggerFactory" - ], - "path": "node_modules/@types/kbn__logging/index.d.ts", + "path": "packages/kbn-logging/src/logger_factory.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -36407,9 +42498,15 @@ ], "signature": [ "(...contextParts: string[]) => ", - "Logger" + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + } ], - "path": "node_modules/@types/kbn__logging/index.d.ts", + "path": "packages/kbn-logging/src/logger_factory.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -36425,7 +42522,7 @@ "signature": [ "string[]" ], - "path": "node_modules/@types/kbn__logging/index.d.ts", + "path": "packages/kbn-logging/src/logger_factory.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -36445,10 +42542,7 @@ "description": [ "\nProvides APIs to plugins for customizing the plugin's logger." ], - "signature": [ - "LoggingServiceSetup" - ], - "path": "node_modules/@types/kbn__core-logging-server/index.d.ts", + "path": "packages/core/logging/core-logging-server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -36465,10 +42559,16 @@ "(config$: ", "Observable", "<", - "LoggerContextConfigInput", + { + "pluginId": "@kbn/core-logging-server", + "scope": "server", + "docId": "kibKbnCoreLoggingServerPluginApi", + "section": "def-server.LoggerContextConfigInput", + "text": "LoggerContextConfigInput" + }, ">) => void" ], - "path": "node_modules/@types/kbn__core-logging-server/index.d.ts", + "path": "packages/core/logging/core-logging-server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -36482,10 +42582,16 @@ "signature": [ "Observable", "<", - "LoggerContextConfigInput", + { + "pluginId": "@kbn/core-logging-server", + "scope": "server", + "docId": "kibKbnCoreLoggingServerPluginApi", + "section": "def-server.LoggerContextConfigInput", + "text": "LoggerContextConfigInput" + }, ">" ], - "path": "node_modules/@types/kbn__core-logging-server/index.d.ts", + "path": "packages/core/logging/core-logging-server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -36505,10 +42611,7 @@ "description": [ "\nAPIs to retrieves metrics gathered and exposed by the core platform.\n" ], - "signature": [ - "MetricsServiceSetup" - ], - "path": "node_modules/@types/kbn__core-metrics-server/index.d.ts", + "path": "packages/core/metrics/core-metrics-server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -36521,7 +42624,7 @@ "description": [ "Interval metrics are collected in milliseconds" ], - "path": "node_modules/@types/kbn__core-metrics-server/index.d.ts", + "path": "packages/core/metrics/core-metrics-server/src/contracts.ts", "deprecated": false, "trackAdoption": false }, @@ -36538,10 +42641,16 @@ "() => ", "Observable", "<", - "OpsMetrics", + { + "pluginId": "@kbn/core-metrics-server", + "scope": "server", + "docId": "kibKbnCoreMetricsServerPluginApi", + "section": "def-server.OpsMetrics", + "text": "OpsMetrics" + }, ">" ], - "path": "node_modules/@types/kbn__core-metrics-server/index.d.ts", + "path": "packages/core/metrics/core-metrics-server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -36559,10 +42668,7 @@ "description": [ "\nContains information about how this Kibana process has been configured.\n" ], - "signature": [ - "NodeInfo" - ], - "path": "node_modules/@types/kbn__core-node-server/index.d.ts", + "path": "packages/core/node/core-node-server/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -36576,9 +42682,15 @@ "A list of roles this node has been configured with." ], "signature": [ - "NodeRoles" + { + "pluginId": "@kbn/core-node-server", + "scope": "server", + "docId": "kibKbnCoreNodeServerPluginApi", + "section": "def-server.NodeRoles", + "text": "NodeRoles" + } ], - "path": "node_modules/@types/kbn__core-node-server/index.d.ts", + "path": "packages/core/node/core-node-server/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -36594,10 +42706,7 @@ "description": [ "\nThe Kibana process can be run in dedicated \"modes\" via `node.roles`.\nThis configuration is then exposed to plugins via `NodeRoles`,\nwhich is available on the `PluginInitializerContext`.\n\nThe node roles can be used by plugins to adjust their behavior based\non the way the Kibana process has been configured.\n" ], - "signature": [ - "NodeRoles" - ], - "path": "node_modules/@types/kbn__core-node-server/index.d.ts", + "path": "packages/core/node/core-node-server/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -36610,7 +42719,7 @@ "description": [ "\nThe backgroundTasks role includes operations which don't involve\nresponding to incoming http traffic from the UI." ], - "path": "node_modules/@types/kbn__core-node-server/index.d.ts", + "path": "packages/core/node/core-node-server/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -36623,7 +42732,7 @@ "description": [ "\nThe ui role covers any operations that need to occur in order\nto handle http traffic from the browser." ], - "path": "node_modules/@types/kbn__core-node-server/index.d.ts", + "path": "packages/core/node/core-node-server/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -36637,10 +42746,7 @@ "tags": [], "label": "NodesVersionCompatibility", "description": [], - "signature": [ - "NodesVersionCompatibility" - ], - "path": "node_modules/@types/kbn__core-elasticsearch-server-internal/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server-internal/src/version_check/ensure_es_version.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -36651,7 +42757,7 @@ "tags": [], "label": "isCompatible", "description": [], - "path": "node_modules/@types/kbn__core-elasticsearch-server-internal/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server-internal/src/version_check/ensure_es_version.ts", "deprecated": false, "trackAdoption": false }, @@ -36665,7 +42771,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-elasticsearch-server-internal/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server-internal/src/version_check/ensure_es_version.ts", "deprecated": false, "trackAdoption": false }, @@ -36677,10 +42783,16 @@ "label": "incompatibleNodes", "description": [], "signature": [ - "NodeInfo", + { + "pluginId": "@kbn/core-elasticsearch-server-internal", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerInternalPluginApi", + "section": "def-server.NodeInfo", + "text": "NodeInfo" + }, "[]" ], - "path": "node_modules/@types/kbn__core-elasticsearch-server-internal/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server-internal/src/version_check/ensure_es_version.ts", "deprecated": false, "trackAdoption": false }, @@ -36692,10 +42804,16 @@ "label": "warningNodes", "description": [], "signature": [ - "NodeInfo", + { + "pluginId": "@kbn/core-elasticsearch-server-internal", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerInternalPluginApi", + "section": "def-server.NodeInfo", + "text": "NodeInfo" + }, "[]" ], - "path": "node_modules/@types/kbn__core-elasticsearch-server-internal/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server-internal/src/version_check/ensure_es_version.ts", "deprecated": false, "trackAdoption": false }, @@ -36706,7 +42824,7 @@ "tags": [], "label": "kibanaVersion", "description": [], - "path": "node_modules/@types/kbn__core-elasticsearch-server-internal/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server-internal/src/version_check/ensure_es_version.ts", "deprecated": false, "trackAdoption": false }, @@ -36720,7 +42838,7 @@ "signature": [ "Error | undefined" ], - "path": "node_modules/@types/kbn__core-elasticsearch-server-internal/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server-internal/src/version_check/ensure_es_version.ts", "deprecated": false, "trackAdoption": false } @@ -36734,10 +42852,7 @@ "tags": [], "label": "OnPostAuthToolkit", "description": [], - "signature": [ - "OnPostAuthToolkit" - ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/lifecycle/on_post_auth.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -36752,9 +42867,15 @@ ], "signature": [ "() => ", - "OnPostAuthNextResult" + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.OnPostAuthNextResult", + "text": "OnPostAuthNextResult" + } ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/lifecycle/on_post_auth.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -36770,10 +42891,7 @@ "tags": [], "label": "OnPreAuthToolkit", "description": [], - "signature": [ - "OnPreAuthToolkit" - ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/lifecycle/on_pre_auth.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -36788,9 +42906,15 @@ ], "signature": [ "() => ", - "OnPreAuthNextResult" + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.OnPreAuthNextResult", + "text": "OnPreAuthNextResult" + } ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/lifecycle/on_pre_auth.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -36808,10 +42932,7 @@ "description": [ "\nAdditional data to extend a response." ], - "signature": [ - "OnPreResponseExtensions" - ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/lifecycle/on_pre_response.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -36825,10 +42946,16 @@ "additional headers to attach to the response" ], "signature": [ - "ResponseHeaders", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.ResponseHeaders", + "text": "ResponseHeaders" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/lifecycle/on_pre_response.ts", "deprecated": false, "trackAdoption": false } @@ -36844,10 +42971,7 @@ "description": [ "\nResponse status code." ], - "signature": [ - "OnPreResponseInfo" - ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/lifecycle/on_pre_response.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -36858,7 +42982,7 @@ "tags": [], "label": "statusCode", "description": [], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/lifecycle/on_pre_response.ts", "deprecated": false, "trackAdoption": false } @@ -36874,10 +42998,7 @@ "description": [ "\nAdditional data to extend a response when rendering a new body" ], - "signature": [ - "OnPreResponseRender" - ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/lifecycle/on_pre_response.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -36891,10 +43012,16 @@ "additional headers to attach to the response" ], "signature": [ - "ResponseHeaders", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.ResponseHeaders", + "text": "ResponseHeaders" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/lifecycle/on_pre_response.ts", "deprecated": false, "trackAdoption": false }, @@ -36907,7 +43034,7 @@ "description": [ "the body to use in the response" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/lifecycle/on_pre_response.ts", "deprecated": false, "trackAdoption": false } @@ -36923,10 +43050,7 @@ "description": [ "\nA tool set defining an outcome of OnPreResponse interceptor for incoming request." ], - "signature": [ - "OnPreResponseToolkit" - ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/lifecycle/on_pre_response.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -36941,11 +43065,23 @@ ], "signature": [ "(responseRender: ", - "OnPreResponseRender", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.OnPreResponseRender", + "text": "OnPreResponseRender" + }, ") => ", - "OnPreResponseResult" + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.OnPreResponseResult", + "text": "OnPreResponseResult" + } ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/lifecycle/on_pre_response.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -36957,9 +43093,15 @@ "label": "responseRender", "description": [], "signature": [ - "OnPreResponseRender" + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.OnPreResponseRender", + "text": "OnPreResponseRender" + } ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/lifecycle/on_pre_response.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -36978,11 +43120,23 @@ ], "signature": [ "(responseExtensions?: ", - "OnPreResponseExtensions", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.OnPreResponseExtensions", + "text": "OnPreResponseExtensions" + }, " | undefined) => ", - "OnPreResponseResult" + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.OnPreResponseResult", + "text": "OnPreResponseResult" + } ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/lifecycle/on_pre_response.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -36994,10 +43148,16 @@ "label": "responseExtensions", "description": [], "signature": [ - "OnPreResponseExtensions", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.OnPreResponseExtensions", + "text": "OnPreResponseExtensions" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/lifecycle/on_pre_response.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -37015,10 +43175,7 @@ "tags": [], "label": "OnPreRoutingToolkit", "description": [], - "signature": [ - "OnPreRoutingToolkit" - ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/lifecycle/on_pre_routing.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -37033,9 +43190,15 @@ ], "signature": [ "() => ", - "OnPreRoutingResult" + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.OnPreRoutingResult", + "text": "OnPreRoutingResult" + } ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/lifecycle/on_pre_routing.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -37052,9 +43215,15 @@ ], "signature": [ "(url: string) => ", - "OnPreRoutingResult" + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.OnPreRoutingResult", + "text": "OnPreRoutingResult" + } ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/lifecycle/on_pre_routing.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -37068,7 +43237,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/lifecycle/on_pre_routing.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -37088,10 +43257,7 @@ "description": [ "\nRegroups metrics gathered by all the collectors.\nThis contains metrics about the os/runtime, the kibana process and the http server.\n" ], - "signature": [ - "OpsMetrics" - ], - "path": "node_modules/@types/kbn__core-metrics-server/index.d.ts", + "path": "packages/core/metrics/core-metrics-server/src/metrics.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -37107,7 +43273,7 @@ "signature": [ "Date" ], - "path": "node_modules/@types/kbn__core-metrics-server/index.d.ts", + "path": "packages/core/metrics/core-metrics-server/src/metrics.ts", "deprecated": false, "trackAdoption": false }, @@ -37121,9 +43287,15 @@ "\nMetrics related to the elasticsearch client" ], "signature": [ - "ElasticsearchClientsMetrics" + { + "pluginId": "@kbn/core-metrics-server", + "scope": "server", + "docId": "kibKbnCoreMetricsServerPluginApi", + "section": "def-server.ElasticsearchClientsMetrics", + "text": "ElasticsearchClientsMetrics" + } ], - "path": "node_modules/@types/kbn__core-metrics-server/index.d.ts", + "path": "packages/core/metrics/core-metrics-server/src/metrics.ts", "deprecated": false, "trackAdoption": false }, @@ -37139,21 +43311,19 @@ "\nProcess related metrics." ], "signature": [ - "OpsProcessMetrics" + { + "pluginId": "@kbn/core-metrics-server", + "scope": "server", + "docId": "kibKbnCoreMetricsServerPluginApi", + "section": "def-server.OpsProcessMetrics", + "text": "OpsProcessMetrics" + } ], - "path": "node_modules/@types/kbn__core-metrics-server/index.d.ts", + "path": "packages/core/metrics/core-metrics-server/src/metrics.ts", "deprecated": true, "removeBy": "8.8.0", "trackAdoption": false, "references": [ - { - "plugin": "monitoring", - "path": "x-pack/plugins/monitoring/server/kibana_monitoring/bulk_uploader.ts" - }, - { - "plugin": "kibanaUsageCollection", - "path": "src/plugins/kibana_usage_collection/server/collectors/ops_stats/ops_stats_collector.ts" - }, { "plugin": "@kbn/core-apps-browser-internal", "path": "packages/core/apps/core-apps-browser-internal/src/status/lib/load_status.ts" @@ -37206,6 +43376,14 @@ "plugin": "@kbn/core-usage-data-server-internal", "path": "packages/core/usage-data/core-usage-data-server-internal/src/core_usage_data_service.ts" }, + { + "plugin": "monitoring", + "path": "x-pack/plugins/monitoring/server/kibana_monitoring/bulk_uploader.ts" + }, + { + "plugin": "kibanaUsageCollection", + "path": "src/plugins/kibana_usage_collection/server/collectors/ops_stats/ops_stats_collector.ts" + }, { "plugin": "@kbn/core-metrics-server-internal", "path": "packages/core/metrics/core-metrics-server-internal/src/logging/get_ops_metrics_log.test.ts" @@ -37226,10 +43404,16 @@ "Process related metrics. Reports an array of objects for each kibana pid." ], "signature": [ - "OpsProcessMetrics", + { + "pluginId": "@kbn/core-metrics-server", + "scope": "server", + "docId": "kibKbnCoreMetricsServerPluginApi", + "section": "def-server.OpsProcessMetrics", + "text": "OpsProcessMetrics" + }, "[]" ], - "path": "node_modules/@types/kbn__core-metrics-server/index.d.ts", + "path": "packages/core/metrics/core-metrics-server/src/metrics.ts", "deprecated": false, "trackAdoption": false }, @@ -37243,9 +43427,15 @@ "OS related metrics" ], "signature": [ - "OpsOsMetrics" + { + "pluginId": "@kbn/core-metrics-server", + "scope": "server", + "docId": "kibKbnCoreMetricsServerPluginApi", + "section": "def-server.OpsOsMetrics", + "text": "OpsOsMetrics" + } ], - "path": "node_modules/@types/kbn__core-metrics-server/index.d.ts", + "path": "packages/core/metrics/core-metrics-server/src/metrics.ts", "deprecated": false, "trackAdoption": false }, @@ -37261,7 +43451,7 @@ "signature": [ "{ avg_in_millis: number; max_in_millis: number; }" ], - "path": "node_modules/@types/kbn__core-metrics-server/index.d.ts", + "path": "packages/core/metrics/core-metrics-server/src/metrics.ts", "deprecated": false, "trackAdoption": false }, @@ -37277,7 +43467,7 @@ "signature": [ "{ disconnects: number; total: number; statusCodes: Record; }" ], - "path": "node_modules/@types/kbn__core-metrics-server/index.d.ts", + "path": "packages/core/metrics/core-metrics-server/src/metrics.ts", "deprecated": false, "trackAdoption": false }, @@ -37290,7 +43480,7 @@ "description": [ "number of current concurrent connections to the server" ], - "path": "node_modules/@types/kbn__core-metrics-server/index.d.ts", + "path": "packages/core/metrics/core-metrics-server/src/metrics.ts", "deprecated": false, "trackAdoption": false } @@ -37306,10 +43496,7 @@ "description": [ "\nOS related metrics" ], - "signature": [ - "OpsOsMetrics" - ], - "path": "node_modules/@types/kbn__core-metrics-server/index.d.ts", + "path": "packages/core/metrics/core-metrics-server/src/metrics.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -37325,7 +43512,7 @@ "signature": [ "\"linux\" | \"aix\" | \"android\" | \"darwin\" | \"freebsd\" | \"haiku\" | \"openbsd\" | \"sunos\" | \"win32\" | \"cygwin\" | \"netbsd\"" ], - "path": "node_modules/@types/kbn__core-metrics-server/index.d.ts", + "path": "packages/core/metrics/core-metrics-server/src/metrics.ts", "deprecated": false, "trackAdoption": false }, @@ -37338,7 +43525,7 @@ "description": [ "The os platform release, prefixed by the platform name" ], - "path": "node_modules/@types/kbn__core-metrics-server/index.d.ts", + "path": "packages/core/metrics/core-metrics-server/src/metrics.ts", "deprecated": false, "trackAdoption": false }, @@ -37354,7 +43541,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-metrics-server/index.d.ts", + "path": "packages/core/metrics/core-metrics-server/src/metrics.ts", "deprecated": false, "trackAdoption": false }, @@ -37370,7 +43557,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-metrics-server/index.d.ts", + "path": "packages/core/metrics/core-metrics-server/src/metrics.ts", "deprecated": false, "trackAdoption": false }, @@ -37386,7 +43573,7 @@ "signature": [ "{ '1m': number; '5m': number; '15m': number; }" ], - "path": "node_modules/@types/kbn__core-metrics-server/index.d.ts", + "path": "packages/core/metrics/core-metrics-server/src/metrics.ts", "deprecated": false, "trackAdoption": false }, @@ -37402,7 +43589,7 @@ "signature": [ "{ total_in_bytes: number; free_in_bytes: number; used_in_bytes: number; }" ], - "path": "node_modules/@types/kbn__core-metrics-server/index.d.ts", + "path": "packages/core/metrics/core-metrics-server/src/metrics.ts", "deprecated": false, "trackAdoption": false }, @@ -37415,7 +43602,7 @@ "description": [ "the OS uptime" ], - "path": "node_modules/@types/kbn__core-metrics-server/index.d.ts", + "path": "packages/core/metrics/core-metrics-server/src/metrics.ts", "deprecated": false, "trackAdoption": false }, @@ -37431,7 +43618,7 @@ "signature": [ "{ control_group: string; usage_nanos: number; } | undefined" ], - "path": "node_modules/@types/kbn__core-metrics-server/index.d.ts", + "path": "packages/core/metrics/core-metrics-server/src/metrics.ts", "deprecated": false, "trackAdoption": false }, @@ -37447,7 +43634,7 @@ "signature": [ "{ control_group: string; cfs_period_micros: number; cfs_quota_micros: number; stat: { number_of_elapsed_periods: number; number_of_times_throttled: number; time_throttled_nanos: number; }; } | undefined" ], - "path": "node_modules/@types/kbn__core-metrics-server/index.d.ts", + "path": "packages/core/metrics/core-metrics-server/src/metrics.ts", "deprecated": false, "trackAdoption": false } @@ -37463,10 +43650,7 @@ "description": [ "\nProcess related metrics" ], - "signature": [ - "OpsProcessMetrics" - ], - "path": "node_modules/@types/kbn__core-metrics-server/index.d.ts", + "path": "packages/core/metrics/core-metrics-server/src/metrics.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -37479,7 +43663,7 @@ "description": [ "pid of the kibana process" ], - "path": "node_modules/@types/kbn__core-metrics-server/index.d.ts", + "path": "packages/core/metrics/core-metrics-server/src/metrics.ts", "deprecated": false, "trackAdoption": false }, @@ -37495,7 +43679,7 @@ "signature": [ "{ heap: { total_in_bytes: number; used_in_bytes: number; size_limit: number; }; resident_set_size_in_bytes: number; }" ], - "path": "node_modules/@types/kbn__core-metrics-server/index.d.ts", + "path": "packages/core/metrics/core-metrics-server/src/metrics.ts", "deprecated": false, "trackAdoption": false }, @@ -37508,7 +43692,7 @@ "description": [ "mean event loop delay since last collection" ], - "path": "node_modules/@types/kbn__core-metrics-server/index.d.ts", + "path": "packages/core/metrics/core-metrics-server/src/metrics.ts", "deprecated": false, "trackAdoption": false }, @@ -37522,9 +43706,15 @@ "node event loop delay histogram since last collection" ], "signature": [ - "IntervalHistogram" + { + "pluginId": "@kbn/core-metrics-server", + "scope": "server", + "docId": "kibKbnCoreMetricsServerPluginApi", + "section": "def-server.IntervalHistogram", + "text": "IntervalHistogram" + } ], - "path": "node_modules/@types/kbn__core-metrics-server/index.d.ts", + "path": "packages/core/metrics/core-metrics-server/src/metrics.ts", "deprecated": false, "trackAdoption": false }, @@ -37537,7 +43727,7 @@ "description": [ "uptime of the kibana process" ], - "path": "node_modules/@types/kbn__core-metrics-server/index.d.ts", + "path": "packages/core/metrics/core-metrics-server/src/metrics.ts", "deprecated": false, "trackAdoption": false } @@ -37553,10 +43743,7 @@ "description": [ "\nserver related metrics" ], - "signature": [ - "OpsServerMetrics" - ], - "path": "node_modules/@types/kbn__core-metrics-server/index.d.ts", + "path": "packages/core/metrics/core-metrics-server/src/metrics.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -37572,7 +43759,7 @@ "signature": [ "{ avg_in_millis: number; max_in_millis: number; }" ], - "path": "node_modules/@types/kbn__core-metrics-server/index.d.ts", + "path": "packages/core/metrics/core-metrics-server/src/metrics.ts", "deprecated": false, "trackAdoption": false }, @@ -37588,7 +43775,7 @@ "signature": [ "{ disconnects: number; total: number; statusCodes: Record; }" ], - "path": "node_modules/@types/kbn__core-metrics-server/index.d.ts", + "path": "packages/core/metrics/core-metrics-server/src/metrics.ts", "deprecated": false, "trackAdoption": false }, @@ -37601,7 +43788,7 @@ "description": [ "number of current concurrent connections to the server" ], - "path": "node_modules/@types/kbn__core-metrics-server/index.d.ts", + "path": "packages/core/metrics/core-metrics-server/src/metrics.ts", "deprecated": false, "trackAdoption": false } @@ -37617,10 +43804,7 @@ "description": [ "\n" ], - "signature": [ - "OptInConfig" - ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/analytics_client/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -37634,9 +43818,15 @@ "\nControls the global enabled/disabled behaviour of the client and shippers." ], "signature": [ - "OptInConfigPerType" + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.OptInConfigPerType", + "text": "OptInConfigPerType" + } ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/analytics_client/types.ts", "deprecated": false, "trackAdoption": false }, @@ -37651,10 +43841,16 @@ ], "signature": [ "Record | undefined" ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/analytics_client/types.ts", "deprecated": false, "trackAdoption": false } @@ -37668,10 +43864,7 @@ "tags": [], "label": "PackageInfo", "description": [], - "signature": [ - "PackageInfo" - ], - "path": "node_modules/@types/kbn__config/index.d.ts", + "path": "packages/kbn-config/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -37682,7 +43875,7 @@ "tags": [], "label": "version", "description": [], - "path": "node_modules/@types/kbn__config/index.d.ts", + "path": "packages/kbn-config/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -37693,7 +43886,7 @@ "tags": [], "label": "branch", "description": [], - "path": "node_modules/@types/kbn__config/index.d.ts", + "path": "packages/kbn-config/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -37704,7 +43897,7 @@ "tags": [], "label": "buildNum", "description": [], - "path": "node_modules/@types/kbn__config/index.d.ts", + "path": "packages/kbn-config/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -37715,7 +43908,7 @@ "tags": [], "label": "buildSha", "description": [], - "path": "node_modules/@types/kbn__config/index.d.ts", + "path": "packages/kbn-config/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -37726,7 +43919,7 @@ "tags": [], "label": "dist", "description": [], - "path": "node_modules/@types/kbn__config/index.d.ts", + "path": "packages/kbn-config/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -37743,10 +43936,16 @@ "\nThe interface that should be returned by a `PluginInitializer` for a `standard` plugin.\n" ], "signature": [ - "Plugin", + { + "pluginId": "@kbn/core-plugins-server", + "scope": "server", + "docId": "kibKbnCorePluginsServerPluginApi", + "section": "def-server.Plugin", + "text": "Plugin" + }, "" ], - "path": "node_modules/@types/kbn__core-plugins-server/index.d.ts", + "path": "packages/core/plugins/core-plugins-server/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -37759,10 +43958,16 @@ "description": [], "signature": [ "(core: ", - "CoreSetup", + { + "pluginId": "@kbn/core-lifecycle-server", + "scope": "server", + "docId": "kibKbnCoreLifecycleServerPluginApi", + "section": "def-server.CoreSetup", + "text": "CoreSetup" + }, ", plugins: TPluginsSetup) => TSetup" ], - "path": "node_modules/@types/kbn__core-plugins-server/index.d.ts", + "path": "packages/core/plugins/core-plugins-server/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -37774,10 +43979,16 @@ "label": "core", "description": [], "signature": [ - "CoreSetup", + { + "pluginId": "@kbn/core-lifecycle-server", + "scope": "server", + "docId": "kibKbnCoreLifecycleServerPluginApi", + "section": "def-server.CoreSetup", + "text": "CoreSetup" + }, "" ], - "path": "node_modules/@types/kbn__core-plugins-server/index.d.ts", + "path": "packages/core/plugins/core-plugins-server/src/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -37792,7 +44003,7 @@ "signature": [ "TPluginsSetup" ], - "path": "node_modules/@types/kbn__core-plugins-server/index.d.ts", + "path": "packages/core/plugins/core-plugins-server/src/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -37809,10 +44020,16 @@ "description": [], "signature": [ "(core: ", - "CoreStart", + { + "pluginId": "@kbn/core-lifecycle-server", + "scope": "server", + "docId": "kibKbnCoreLifecycleServerPluginApi", + "section": "def-server.CoreStart", + "text": "CoreStart" + }, ", plugins: TPluginsStart) => TStart" ], - "path": "node_modules/@types/kbn__core-plugins-server/index.d.ts", + "path": "packages/core/plugins/core-plugins-server/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -37824,9 +44041,15 @@ "label": "core", "description": [], "signature": [ - "CoreStart" + { + "pluginId": "@kbn/core-lifecycle-server", + "scope": "server", + "docId": "kibKbnCoreLifecycleServerPluginApi", + "section": "def-server.CoreStart", + "text": "CoreStart" + } ], - "path": "node_modules/@types/kbn__core-plugins-server/index.d.ts", + "path": "packages/core/plugins/core-plugins-server/src/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -37841,7 +44064,7 @@ "signature": [ "TPluginsStart" ], - "path": "node_modules/@types/kbn__core-plugins-server/index.d.ts", + "path": "packages/core/plugins/core-plugins-server/src/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -37859,7 +44082,7 @@ "signature": [ "(() => void) | undefined" ], - "path": "node_modules/@types/kbn__core-plugins-server/index.d.ts", + "path": "packages/core/plugins/core-plugins-server/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -37878,10 +44101,16 @@ "\nDescribes a plugin configuration properties.\n" ], "signature": [ - "PluginConfigDescriptor", + { + "pluginId": "@kbn/core-plugins-server", + "scope": "server", + "docId": "kibKbnCorePluginsServerPluginApi", + "section": "def-server.PluginConfigDescriptor", + "text": "PluginConfigDescriptor" + }, "" ], - "path": "node_modules/@types/kbn__core-plugins-server/index.d.ts", + "path": "packages/core/plugins/core-plugins-server/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -37895,10 +44124,16 @@ "\nProvider for the {@link ConfigDeprecation} to apply to the plugin configuration." ], "signature": [ - "ConfigDeprecationProvider", + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.ConfigDeprecationProvider", + "text": "ConfigDeprecationProvider" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-plugins-server/index.d.ts", + "path": "packages/core/plugins/core-plugins-server/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -37912,10 +44147,16 @@ "\nList of configuration properties that will be available on the client-side plugin." ], "signature": [ - "ExposedToBrowserDescriptor", + { + "pluginId": "@kbn/core-plugins-server", + "scope": "server", + "docId": "kibKbnCorePluginsServerPluginApi", + "section": "def-server.ExposedToBrowserDescriptor", + "text": "ExposedToBrowserDescriptor" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-plugins-server/index.d.ts", + "path": "packages/core/plugins/core-plugins-server/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -37929,10 +44170,16 @@ "\nSchema to use to validate the plugin configuration.\n\n{@link PluginConfigSchema}" ], "signature": [ - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "" ], - "path": "node_modules/@types/kbn__core-plugins-server/index.d.ts", + "path": "packages/core/plugins/core-plugins-server/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -37946,10 +44193,16 @@ "\nExpose non-default configs to usage collection to be sent via telemetry.\nset a config to `true` to report the actual changed config value.\nset a config to `false` to report the changed config value as [redacted].\n\nAll changed configs except booleans and numbers will be reported\nas [redacted] unless otherwise specified.\n\n{@link MakeUsageFromSchema}" ], "signature": [ - "MakeUsageFromSchema", + { + "pluginId": "@kbn/core-plugins-server", + "scope": "server", + "docId": "kibKbnCorePluginsServerPluginApi", + "section": "def-server.MakeUsageFromSchema", + "text": "MakeUsageFromSchema" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-plugins-server/index.d.ts", + "path": "packages/core/plugins/core-plugins-server/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -37966,10 +44219,16 @@ "\nContext that's available to plugins during initialization stage.\n" ], "signature": [ - "PluginInitializerContext", + { + "pluginId": "@kbn/core-plugins-server", + "scope": "server", + "docId": "kibKbnCorePluginsServerPluginApi", + "section": "def-server.PluginInitializerContext", + "text": "PluginInitializerContext" + }, "" ], - "path": "node_modules/@types/kbn__core-plugins-server/index.d.ts", + "path": "packages/core/plugins/core-plugins-server/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -37983,7 +44242,7 @@ "signature": [ "symbol" ], - "path": "node_modules/@types/kbn__core-plugins-server/index.d.ts", + "path": "packages/core/plugins/core-plugins-server/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -37996,12 +44255,24 @@ "description": [], "signature": [ "{ mode: ", - "EnvironmentMode", + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.EnvironmentMode", + "text": "EnvironmentMode" + }, "; packageInfo: Readonly<", - "PackageInfo", + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.PackageInfo", + "text": "PackageInfo" + }, ">; instanceUuid: string; configs: readonly string[]; }" ], - "path": "node_modules/@types/kbn__core-plugins-server/index.d.ts", + "path": "packages/core/plugins/core-plugins-server/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -38015,9 +44286,15 @@ "\nAccess the configuration for this particular Kibana node.\nCan be used to determine which `roles` the current process was started with.\n" ], "signature": [ - "NodeInfo" + { + "pluginId": "@kbn/core-node-server", + "scope": "server", + "docId": "kibKbnCoreNodeServerPluginApi", + "section": "def-server.NodeInfo", + "text": "NodeInfo" + } ], - "path": "node_modules/@types/kbn__core-plugins-server/index.d.ts", + "path": "packages/core/plugins/core-plugins-server/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -38031,9 +44308,15 @@ "\n{@link LoggerFactory | logger factory} instance already bound to the plugin's logging context\n" ], "signature": [ - "LoggerFactory" + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.LoggerFactory", + "text": "LoggerFactory" + } ], - "path": "node_modules/@types/kbn__core-plugins-server/index.d.ts", + "path": "packages/core/plugins/core-plugins-server/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -38049,23 +44332,63 @@ "signature": [ "{ legacy: { globalConfig$: ", "Observable", - " moment.Duration; humanize: { (argWithSuffix?: boolean | undefined, argThresholds?: moment.argThresholdOpts | undefined): string; (argThresholds?: moment.argThresholdOpts | undefined): string; }; abs: () => moment.Duration; as: (units: moment.unitOfTime.Base) => number; get: (units: moment.unitOfTime.Base) => number; milliseconds: () => number; asMilliseconds: () => number; seconds: () => number; asSeconds: () => number; minutes: () => number; asMinutes: () => number; hours: () => number; asHours: () => number; days: () => number; asDays: () => number; weeks: () => number; asWeeks: () => number; months: () => number; asMonths: () => number; years: () => number; asYears: () => number; add: (inp?: moment.DurationInputArg1, unit?: moment.unitOfTime.DurationConstructor | undefined) => moment.Duration; subtract: (inp?: moment.DurationInputArg1, unit?: moment.unitOfTime.DurationConstructor | undefined) => moment.Duration; locale: { (): string; (locale: moment.LocaleSpecifier): moment.Duration; }; localeData: () => moment.Locale; toISOString: () => string; toJSON: () => string; isValid: () => boolean; lang: { (locale: moment.LocaleSpecifier): moment.Moment; (): moment.Locale; }; toIsoString: () => string; }>; readonly shardTimeout: Readonly<{ clone: () => moment.Duration; humanize: { (argWithSuffix?: boolean | undefined, argThresholds?: moment.argThresholdOpts | undefined): string; (argThresholds?: moment.argThresholdOpts | undefined): string; }; abs: () => moment.Duration; as: (units: moment.unitOfTime.Base) => number; get: (units: moment.unitOfTime.Base) => number; milliseconds: () => number; asMilliseconds: () => number; seconds: () => number; asSeconds: () => number; minutes: () => number; asMinutes: () => number; hours: () => number; asHours: () => number; days: () => number; asDays: () => number; weeks: () => number; asWeeks: () => number; months: () => number; asMonths: () => number; years: () => number; asYears: () => number; add: (inp?: moment.DurationInputArg1, unit?: moment.unitOfTime.DurationConstructor | undefined) => moment.Duration; subtract: (inp?: moment.DurationInputArg1, unit?: moment.unitOfTime.DurationConstructor | undefined) => moment.Duration; locale: { (): string; (locale: moment.LocaleSpecifier): moment.Duration; }; localeData: () => moment.Locale; toISOString: () => string; toJSON: () => string; isValid: () => boolean; lang: { (locale: moment.LocaleSpecifier): moment.Moment; (): moment.Locale; }; toIsoString: () => string; }>; readonly pingTimeout: Readonly<{ clone: () => moment.Duration; humanize: { (argWithSuffix?: boolean | undefined, argThresholds?: moment.argThresholdOpts | undefined): string; (argThresholds?: moment.argThresholdOpts | undefined): string; }; abs: () => moment.Duration; as: (units: moment.unitOfTime.Base) => number; get: (units: moment.unitOfTime.Base) => number; milliseconds: () => number; asMilliseconds: () => number; seconds: () => number; asSeconds: () => number; minutes: () => number; asMinutes: () => number; hours: () => number; asHours: () => number; days: () => number; asDays: () => number; weeks: () => number; asWeeks: () => number; months: () => number; asMonths: () => number; years: () => number; asYears: () => number; add: (inp?: moment.DurationInputArg1, unit?: moment.unitOfTime.DurationConstructor | undefined) => moment.Duration; subtract: (inp?: moment.DurationInputArg1, unit?: moment.unitOfTime.DurationConstructor | undefined) => moment.Duration; locale: { (): string; (locale: moment.LocaleSpecifier): moment.Duration; }; localeData: () => moment.Locale; toISOString: () => string; toJSON: () => string; isValid: () => boolean; lang: { (locale: moment.LocaleSpecifier): moment.Moment; (): moment.Locale; }; toIsoString: () => string; }>; }>; path: Readonly<{ readonly data: string; }>; savedObjects: Readonly<{ readonly maxImportPayloadBytes: Readonly<{ isGreaterThan: (other: ", - "ByteSizeValue", + " moment.Duration; humanize: { (argWithSuffix?: boolean | undefined, argThresholds?: moment.argThresholdOpts | undefined): string; (argThresholds?: moment.argThresholdOpts | undefined): string; }; abs: () => moment.Duration; as: (units: moment.unitOfTime.Base) => number; get: (units: moment.unitOfTime.Base) => number; milliseconds: () => number; asMilliseconds: () => number; seconds: () => number; asSeconds: () => number; minutes: () => number; asMinutes: () => number; hours: () => number; asHours: () => number; days: () => number; asDays: () => number; weeks: () => number; asWeeks: () => number; months: () => number; asMonths: () => number; years: () => number; asYears: () => number; add: (inp?: moment.DurationInputArg1, unit?: moment.unitOfTime.DurationConstructor | undefined) => moment.Duration; subtract: (inp?: moment.DurationInputArg1, unit?: moment.unitOfTime.DurationConstructor | undefined) => moment.Duration; locale: { (): string; (locale: moment.LocaleSpecifier): moment.Duration; }; localeData: () => moment.Locale; toISOString: () => string; toJSON: () => string; isValid: () => boolean; lang: { (locale: moment.LocaleSpecifier): moment.Moment; (): moment.Locale; }; toIsoString: () => string; format: moment.Format; }>; readonly shardTimeout: Readonly<{ clone: () => moment.Duration; humanize: { (argWithSuffix?: boolean | undefined, argThresholds?: moment.argThresholdOpts | undefined): string; (argThresholds?: moment.argThresholdOpts | undefined): string; }; abs: () => moment.Duration; as: (units: moment.unitOfTime.Base) => number; get: (units: moment.unitOfTime.Base) => number; milliseconds: () => number; asMilliseconds: () => number; seconds: () => number; asSeconds: () => number; minutes: () => number; asMinutes: () => number; hours: () => number; asHours: () => number; days: () => number; asDays: () => number; weeks: () => number; asWeeks: () => number; months: () => number; asMonths: () => number; years: () => number; asYears: () => number; add: (inp?: moment.DurationInputArg1, unit?: moment.unitOfTime.DurationConstructor | undefined) => moment.Duration; subtract: (inp?: moment.DurationInputArg1, unit?: moment.unitOfTime.DurationConstructor | undefined) => moment.Duration; locale: { (): string; (locale: moment.LocaleSpecifier): moment.Duration; }; localeData: () => moment.Locale; toISOString: () => string; toJSON: () => string; isValid: () => boolean; lang: { (locale: moment.LocaleSpecifier): moment.Moment; (): moment.Locale; }; toIsoString: () => string; format: moment.Format; }>; readonly pingTimeout: Readonly<{ clone: () => moment.Duration; humanize: { (argWithSuffix?: boolean | undefined, argThresholds?: moment.argThresholdOpts | undefined): string; (argThresholds?: moment.argThresholdOpts | undefined): string; }; abs: () => moment.Duration; as: (units: moment.unitOfTime.Base) => number; get: (units: moment.unitOfTime.Base) => number; milliseconds: () => number; asMilliseconds: () => number; seconds: () => number; asSeconds: () => number; minutes: () => number; asMinutes: () => number; hours: () => number; asHours: () => number; days: () => number; asDays: () => number; weeks: () => number; asWeeks: () => number; months: () => number; asMonths: () => number; years: () => number; asYears: () => number; add: (inp?: moment.DurationInputArg1, unit?: moment.unitOfTime.DurationConstructor | undefined) => moment.Duration; subtract: (inp?: moment.DurationInputArg1, unit?: moment.unitOfTime.DurationConstructor | undefined) => moment.Duration; locale: { (): string; (locale: moment.LocaleSpecifier): moment.Duration; }; localeData: () => moment.Locale; toISOString: () => string; toJSON: () => string; isValid: () => boolean; lang: { (locale: moment.LocaleSpecifier): moment.Moment; (): moment.Locale; }; toIsoString: () => string; format: moment.Format; }>; }>; path: Readonly<{ readonly data: string; }>; savedObjects: Readonly<{ readonly maxImportPayloadBytes: Readonly<{ isGreaterThan: (other: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ByteSizeValue", + "text": "ByteSizeValue" + }, ") => boolean; isLessThan: (other: ", - "ByteSizeValue", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ByteSizeValue", + "text": "ByteSizeValue" + }, ") => boolean; isEqualTo: (other: ", - "ByteSizeValue", - ") => boolean; getValueInBytes: () => number; toString: (returnUnit?: ByteSizeValueUnit | undefined) => string; }>; }>; }>>; get: () => Readonly<{ elasticsearch: Readonly<{ readonly requestTimeout: Readonly<{ clone: () => moment.Duration; humanize: { (argWithSuffix?: boolean | undefined, argThresholds?: moment.argThresholdOpts | undefined): string; (argThresholds?: moment.argThresholdOpts | undefined): string; }; abs: () => moment.Duration; as: (units: moment.unitOfTime.Base) => number; get: (units: moment.unitOfTime.Base) => number; milliseconds: () => number; asMilliseconds: () => number; seconds: () => number; asSeconds: () => number; minutes: () => number; asMinutes: () => number; hours: () => number; asHours: () => number; days: () => number; asDays: () => number; weeks: () => number; asWeeks: () => number; months: () => number; asMonths: () => number; years: () => number; asYears: () => number; add: (inp?: moment.DurationInputArg1, unit?: moment.unitOfTime.DurationConstructor | undefined) => moment.Duration; subtract: (inp?: moment.DurationInputArg1, unit?: moment.unitOfTime.DurationConstructor | undefined) => moment.Duration; locale: { (): string; (locale: moment.LocaleSpecifier): moment.Duration; }; localeData: () => moment.Locale; toISOString: () => string; toJSON: () => string; isValid: () => boolean; lang: { (locale: moment.LocaleSpecifier): moment.Moment; (): moment.Locale; }; toIsoString: () => string; }>; readonly shardTimeout: Readonly<{ clone: () => moment.Duration; humanize: { (argWithSuffix?: boolean | undefined, argThresholds?: moment.argThresholdOpts | undefined): string; (argThresholds?: moment.argThresholdOpts | undefined): string; }; abs: () => moment.Duration; as: (units: moment.unitOfTime.Base) => number; get: (units: moment.unitOfTime.Base) => number; milliseconds: () => number; asMilliseconds: () => number; seconds: () => number; asSeconds: () => number; minutes: () => number; asMinutes: () => number; hours: () => number; asHours: () => number; days: () => number; asDays: () => number; weeks: () => number; asWeeks: () => number; months: () => number; asMonths: () => number; years: () => number; asYears: () => number; add: (inp?: moment.DurationInputArg1, unit?: moment.unitOfTime.DurationConstructor | undefined) => moment.Duration; subtract: (inp?: moment.DurationInputArg1, unit?: moment.unitOfTime.DurationConstructor | undefined) => moment.Duration; locale: { (): string; (locale: moment.LocaleSpecifier): moment.Duration; }; localeData: () => moment.Locale; toISOString: () => string; toJSON: () => string; isValid: () => boolean; lang: { (locale: moment.LocaleSpecifier): moment.Moment; (): moment.Locale; }; toIsoString: () => string; }>; readonly pingTimeout: Readonly<{ clone: () => moment.Duration; humanize: { (argWithSuffix?: boolean | undefined, argThresholds?: moment.argThresholdOpts | undefined): string; (argThresholds?: moment.argThresholdOpts | undefined): string; }; abs: () => moment.Duration; as: (units: moment.unitOfTime.Base) => number; get: (units: moment.unitOfTime.Base) => number; milliseconds: () => number; asMilliseconds: () => number; seconds: () => number; asSeconds: () => number; minutes: () => number; asMinutes: () => number; hours: () => number; asHours: () => number; days: () => number; asDays: () => number; weeks: () => number; asWeeks: () => number; months: () => number; asMonths: () => number; years: () => number; asYears: () => number; add: (inp?: moment.DurationInputArg1, unit?: moment.unitOfTime.DurationConstructor | undefined) => moment.Duration; subtract: (inp?: moment.DurationInputArg1, unit?: moment.unitOfTime.DurationConstructor | undefined) => moment.Duration; locale: { (): string; (locale: moment.LocaleSpecifier): moment.Duration; }; localeData: () => moment.Locale; toISOString: () => string; toJSON: () => string; isValid: () => boolean; lang: { (locale: moment.LocaleSpecifier): moment.Moment; (): moment.Locale; }; toIsoString: () => string; }>; }>; path: Readonly<{ readonly data: string; }>; savedObjects: Readonly<{ readonly maxImportPayloadBytes: Readonly<{ isGreaterThan: (other: ", - "ByteSizeValue", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ByteSizeValue", + "text": "ByteSizeValue" + }, + ") => boolean; getValueInBytes: () => number; toString: (returnUnit?: ", + "ByteSizeValueUnit", + " | undefined) => string; }>; }>; }>>; get: () => Readonly<{ elasticsearch: Readonly<{ readonly requestTimeout: Readonly<{ clone: () => moment.Duration; humanize: { (argWithSuffix?: boolean | undefined, argThresholds?: moment.argThresholdOpts | undefined): string; (argThresholds?: moment.argThresholdOpts | undefined): string; }; abs: () => moment.Duration; as: (units: moment.unitOfTime.Base) => number; get: (units: moment.unitOfTime.Base) => number; milliseconds: () => number; asMilliseconds: () => number; seconds: () => number; asSeconds: () => number; minutes: () => number; asMinutes: () => number; hours: () => number; asHours: () => number; days: () => number; asDays: () => number; weeks: () => number; asWeeks: () => number; months: () => number; asMonths: () => number; years: () => number; asYears: () => number; add: (inp?: moment.DurationInputArg1, unit?: moment.unitOfTime.DurationConstructor | undefined) => moment.Duration; subtract: (inp?: moment.DurationInputArg1, unit?: moment.unitOfTime.DurationConstructor | undefined) => moment.Duration; locale: { (): string; (locale: moment.LocaleSpecifier): moment.Duration; }; localeData: () => moment.Locale; toISOString: () => string; toJSON: () => string; isValid: () => boolean; lang: { (locale: moment.LocaleSpecifier): moment.Moment; (): moment.Locale; }; toIsoString: () => string; format: moment.Format; }>; readonly shardTimeout: Readonly<{ clone: () => moment.Duration; humanize: { (argWithSuffix?: boolean | undefined, argThresholds?: moment.argThresholdOpts | undefined): string; (argThresholds?: moment.argThresholdOpts | undefined): string; }; abs: () => moment.Duration; as: (units: moment.unitOfTime.Base) => number; get: (units: moment.unitOfTime.Base) => number; milliseconds: () => number; asMilliseconds: () => number; seconds: () => number; asSeconds: () => number; minutes: () => number; asMinutes: () => number; hours: () => number; asHours: () => number; days: () => number; asDays: () => number; weeks: () => number; asWeeks: () => number; months: () => number; asMonths: () => number; years: () => number; asYears: () => number; add: (inp?: moment.DurationInputArg1, unit?: moment.unitOfTime.DurationConstructor | undefined) => moment.Duration; subtract: (inp?: moment.DurationInputArg1, unit?: moment.unitOfTime.DurationConstructor | undefined) => moment.Duration; locale: { (): string; (locale: moment.LocaleSpecifier): moment.Duration; }; localeData: () => moment.Locale; toISOString: () => string; toJSON: () => string; isValid: () => boolean; lang: { (locale: moment.LocaleSpecifier): moment.Moment; (): moment.Locale; }; toIsoString: () => string; format: moment.Format; }>; readonly pingTimeout: Readonly<{ clone: () => moment.Duration; humanize: { (argWithSuffix?: boolean | undefined, argThresholds?: moment.argThresholdOpts | undefined): string; (argThresholds?: moment.argThresholdOpts | undefined): string; }; abs: () => moment.Duration; as: (units: moment.unitOfTime.Base) => number; get: (units: moment.unitOfTime.Base) => number; milliseconds: () => number; asMilliseconds: () => number; seconds: () => number; asSeconds: () => number; minutes: () => number; asMinutes: () => number; hours: () => number; asHours: () => number; days: () => number; asDays: () => number; weeks: () => number; asWeeks: () => number; months: () => number; asMonths: () => number; years: () => number; asYears: () => number; add: (inp?: moment.DurationInputArg1, unit?: moment.unitOfTime.DurationConstructor | undefined) => moment.Duration; subtract: (inp?: moment.DurationInputArg1, unit?: moment.unitOfTime.DurationConstructor | undefined) => moment.Duration; locale: { (): string; (locale: moment.LocaleSpecifier): moment.Duration; }; localeData: () => moment.Locale; toISOString: () => string; toJSON: () => string; isValid: () => boolean; lang: { (locale: moment.LocaleSpecifier): moment.Moment; (): moment.Locale; }; toIsoString: () => string; format: moment.Format; }>; }>; path: Readonly<{ readonly data: string; }>; savedObjects: Readonly<{ readonly maxImportPayloadBytes: Readonly<{ isGreaterThan: (other: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ByteSizeValue", + "text": "ByteSizeValue" + }, ") => boolean; isLessThan: (other: ", - "ByteSizeValue", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ByteSizeValue", + "text": "ByteSizeValue" + }, ") => boolean; isEqualTo: (other: ", - "ByteSizeValue", - ") => boolean; getValueInBytes: () => number; toString: (returnUnit?: ByteSizeValueUnit | undefined) => string; }>; }>; }>; }; create: () => ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ByteSizeValue", + "text": "ByteSizeValue" + }, + ") => boolean; getValueInBytes: () => number; toString: (returnUnit?: ", + "ByteSizeValueUnit", + " | undefined) => string; }>; }>; }>; }; create: () => ", "Observable", "; get: () => T; }" ], - "path": "node_modules/@types/kbn__core-plugins-server/index.d.ts", + "path": "packages/core/plugins/core-plugins-server/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -38081,10 +44404,7 @@ "description": [ "\nDescribes the set of required and optional properties plugin can define in its\nmandatory JSON manifest file.\n" ], - "signature": [ - "PluginManifest" - ], - "path": "node_modules/@types/kbn__core-plugins-server/index.d.ts", + "path": "packages/core/plugins/core-plugins-server/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -38097,7 +44417,7 @@ "description": [ "\nIdentifier of the plugin. Must be a string in camelCase. Part of a plugin public contract.\nOther plugins leverage it to access plugin API, navigate to the plugin, etc." ], - "path": "node_modules/@types/kbn__core-plugins-server/index.d.ts", + "path": "packages/core/plugins/core-plugins-server/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -38110,7 +44430,7 @@ "description": [ "\nVersion of the plugin." ], - "path": "node_modules/@types/kbn__core-plugins-server/index.d.ts", + "path": "packages/core/plugins/core-plugins-server/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -38123,7 +44443,7 @@ "description": [ "\nThe version of Kibana the plugin is compatible with, defaults to \"version\"." ], - "path": "node_modules/@types/kbn__core-plugins-server/index.d.ts", + "path": "packages/core/plugins/core-plugins-server/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -38137,9 +44457,15 @@ "\nType of the plugin, defaults to `standard`." ], "signature": [ - "PluginType" + { + "pluginId": "@kbn/core-base-common", + "scope": "server", + "docId": "kibKbnCoreBaseCommonPluginApi", + "section": "def-server.PluginType", + "text": "PluginType" + } ], - "path": "node_modules/@types/kbn__core-plugins-server/index.d.ts", + "path": "packages/core/plugins/core-plugins-server/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -38155,7 +44481,7 @@ "signature": [ "string | string[]" ], - "path": "node_modules/@types/kbn__core-plugins-server/index.d.ts", + "path": "packages/core/plugins/core-plugins-server/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -38171,7 +44497,7 @@ "signature": [ "readonly string[]" ], - "path": "node_modules/@types/kbn__core-plugins-server/index.d.ts", + "path": "packages/core/plugins/core-plugins-server/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -38187,7 +44513,7 @@ "signature": [ "readonly string[]" ], - "path": "node_modules/@types/kbn__core-plugins-server/index.d.ts", + "path": "packages/core/plugins/core-plugins-server/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -38203,7 +44529,7 @@ "signature": [ "readonly string[]" ], - "path": "node_modules/@types/kbn__core-plugins-server/index.d.ts", + "path": "packages/core/plugins/core-plugins-server/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -38216,7 +44542,7 @@ "description": [ "\nSpecifies whether plugin includes some client/browser specific functionality\nthat should be included into client bundle via `public/ui_plugin.js` file." ], - "path": "node_modules/@types/kbn__core-plugins-server/index.d.ts", + "path": "packages/core/plugins/core-plugins-server/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -38229,7 +44555,7 @@ "description": [ "\nSpecifies whether plugin includes some server-side specific functionality." ], - "path": "node_modules/@types/kbn__core-plugins-server/index.d.ts", + "path": "packages/core/plugins/core-plugins-server/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -38247,7 +44573,7 @@ "signature": [ "string[] | undefined" ], - "path": "node_modules/@types/kbn__core-plugins-server/index.d.ts", + "path": "packages/core/plugins/core-plugins-server/src/types.ts", "deprecated": true, "trackAdoption": false, "references": [ @@ -38289,7 +44615,7 @@ "signature": [ "readonly string[] | undefined" ], - "path": "node_modules/@types/kbn__core-plugins-server/index.d.ts", + "path": "packages/core/plugins/core-plugins-server/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -38303,7 +44629,7 @@ "signature": [ "{ readonly name: string; readonly githubTeam?: string | undefined; }" ], - "path": "node_modules/@types/kbn__core-plugins-server/index.d.ts", + "path": "packages/core/plugins/core-plugins-server/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -38319,7 +44645,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-plugins-server/index.d.ts", + "path": "packages/core/plugins/core-plugins-server/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -38335,7 +44661,7 @@ "signature": [ "boolean | undefined" ], - "path": "node_modules/@types/kbn__core-plugins-server/index.d.ts", + "path": "packages/core/plugins/core-plugins-server/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -38349,10 +44675,7 @@ "tags": [], "label": "PollEsNodesVersionOptions", "description": [], - "signature": [ - "PollEsNodesVersionOptions" - ], - "path": "node_modules/@types/kbn__core-elasticsearch-server-internal/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server-internal/src/version_check/ensure_es_version.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -39552,7 +45875,7 @@ "default", "; }" ], - "path": "node_modules/@types/kbn__core-elasticsearch-server-internal/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server-internal/src/version_check/ensure_es_version.ts", "deprecated": false, "trackAdoption": false }, @@ -39564,9 +45887,15 @@ "label": "log", "description": [], "signature": [ - "Logger" + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + } ], - "path": "node_modules/@types/kbn__core-elasticsearch-server-internal/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server-internal/src/version_check/ensure_es_version.ts", "deprecated": false, "trackAdoption": false }, @@ -39577,7 +45906,7 @@ "tags": [], "label": "kibanaVersion", "description": [], - "path": "node_modules/@types/kbn__core-elasticsearch-server-internal/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server-internal/src/version_check/ensure_es_version.ts", "deprecated": false, "trackAdoption": false }, @@ -39588,7 +45917,7 @@ "tags": [], "label": "ignoreVersionMismatch", "description": [], - "path": "node_modules/@types/kbn__core-elasticsearch-server-internal/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server-internal/src/version_check/ensure_es_version.ts", "deprecated": false, "trackAdoption": false }, @@ -39599,7 +45928,7 @@ "tags": [], "label": "esVersionCheckInterval", "description": [], - "path": "node_modules/@types/kbn__core-elasticsearch-server-internal/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server-internal/src/version_check/ensure_es_version.ts", "deprecated": false, "trackAdoption": false } @@ -39613,10 +45942,7 @@ "tags": [], "label": "PrebootCoreRequestHandlerContext", "description": [], - "signature": [ - "PrebootCoreRequestHandlerContext" - ], - "path": "node_modules/@types/kbn__core-http-request-handler-context-server/index.d.ts", + "path": "packages/core/http/core-http-request-handler-context-server/src/preboot_request_handler_context.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -39628,9 +45954,15 @@ "label": "uiSettings", "description": [], "signature": [ - "PrebootUiSettingsRequestHandlerContext" + { + "pluginId": "@kbn/core-http-request-handler-context-server", + "scope": "server", + "docId": "kibKbnCoreHttpRequestHandlerContextServerPluginApi", + "section": "def-server.PrebootUiSettingsRequestHandlerContext", + "text": "PrebootUiSettingsRequestHandlerContext" + } ], - "path": "node_modules/@types/kbn__core-http-request-handler-context-server/index.d.ts", + "path": "packages/core/http/core-http-request-handler-context-server/src/preboot_request_handler_context.ts", "deprecated": false, "trackAdoption": false } @@ -39647,10 +45979,16 @@ "\nThe interface that should be returned by a `PluginInitializer` for a `preboot` plugin.\n" ], "signature": [ - "PrebootPlugin", + { + "pluginId": "@kbn/core-plugins-server", + "scope": "server", + "docId": "kibKbnCorePluginsServerPluginApi", + "section": "def-server.PrebootPlugin", + "text": "PrebootPlugin" + }, "" ], - "path": "node_modules/@types/kbn__core-plugins-server/index.d.ts", + "path": "packages/core/plugins/core-plugins-server/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -39663,10 +46001,16 @@ "description": [], "signature": [ "(core: ", - "CorePreboot", + { + "pluginId": "@kbn/core-lifecycle-server", + "scope": "server", + "docId": "kibKbnCoreLifecycleServerPluginApi", + "section": "def-server.CorePreboot", + "text": "CorePreboot" + }, ", plugins: TPluginsSetup) => TSetup" ], - "path": "node_modules/@types/kbn__core-plugins-server/index.d.ts", + "path": "packages/core/plugins/core-plugins-server/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -39678,9 +46022,15 @@ "label": "core", "description": [], "signature": [ - "CorePreboot" + { + "pluginId": "@kbn/core-lifecycle-server", + "scope": "server", + "docId": "kibKbnCoreLifecycleServerPluginApi", + "section": "def-server.CorePreboot", + "text": "CorePreboot" + } ], - "path": "node_modules/@types/kbn__core-plugins-server/index.d.ts", + "path": "packages/core/plugins/core-plugins-server/src/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -39695,7 +46045,7 @@ "signature": [ "TPluginsSetup" ], - "path": "node_modules/@types/kbn__core-plugins-server/index.d.ts", + "path": "packages/core/plugins/core-plugins-server/src/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -39713,7 +46063,7 @@ "signature": [ "(() => void) | undefined" ], - "path": "node_modules/@types/kbn__core-plugins-server/index.d.ts", + "path": "packages/core/plugins/core-plugins-server/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -39730,11 +46080,23 @@ "label": "PrebootRequestHandlerContext", "description": [], "signature": [ - "PrebootRequestHandlerContext", + { + "pluginId": "@kbn/core-http-request-handler-context-server", + "scope": "server", + "docId": "kibKbnCoreHttpRequestHandlerContextServerPluginApi", + "section": "def-server.PrebootRequestHandlerContext", + "text": "PrebootRequestHandlerContext" + }, " extends ", - "RequestHandlerContextBase" + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.RequestHandlerContextBase", + "text": "RequestHandlerContextBase" + } ], - "path": "node_modules/@types/kbn__core-http-request-handler-context-server/index.d.ts", + "path": "packages/core/http/core-http-request-handler-context-server/src/preboot_request_handler_context.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -39747,10 +46109,16 @@ "description": [], "signature": [ "Promise<", - "PrebootCoreRequestHandlerContext", + { + "pluginId": "@kbn/core-http-request-handler-context-server", + "scope": "server", + "docId": "kibKbnCoreHttpRequestHandlerContextServerPluginApi", + "section": "def-server.PrebootCoreRequestHandlerContext", + "text": "PrebootCoreRequestHandlerContext" + }, ">" ], - "path": "node_modules/@types/kbn__core-http-request-handler-context-server/index.d.ts", + "path": "packages/core/http/core-http-request-handler-context-server/src/preboot_request_handler_context.ts", "deprecated": false, "trackAdoption": false } @@ -39764,10 +46132,7 @@ "tags": [], "label": "RegisterDeprecationsConfig", "description": [], - "signature": [ - "RegisterDeprecationsConfig" - ], - "path": "node_modules/@types/kbn__core-deprecations-server/index.d.ts", + "path": "packages/core/deprecations/core-deprecations-server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -39780,14 +46145,32 @@ "description": [], "signature": [ "(context: ", - "GetDeprecationsContext", + { + "pluginId": "@kbn/core-deprecations-server", + "scope": "server", + "docId": "kibKbnCoreDeprecationsServerPluginApi", + "section": "def-server.GetDeprecationsContext", + "text": "GetDeprecationsContext" + }, ") => ", - "MaybePromise", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.MaybePromise", + "text": "MaybePromise" + }, "<", - "DeprecationsDetails", + { + "pluginId": "@kbn/core-deprecations-common", + "scope": "common", + "docId": "kibKbnCoreDeprecationsCommonPluginApi", + "section": "def-common.DeprecationsDetails", + "text": "DeprecationsDetails" + }, "[]>" ], - "path": "node_modules/@types/kbn__core-deprecations-server/index.d.ts", + "path": "packages/core/deprecations/core-deprecations-server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -39799,9 +46182,15 @@ "label": "context", "description": [], "signature": [ - "GetDeprecationsContext" + { + "pluginId": "@kbn/core-deprecations-server", + "scope": "server", + "docId": "kibKbnCoreDeprecationsServerPluginApi", + "section": "def-server.GetDeprecationsContext", + "text": "GetDeprecationsContext" + } ], - "path": "node_modules/@types/kbn__core-deprecations-server/index.d.ts", + "path": "packages/core/deprecations/core-deprecations-server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -39822,11 +46211,23 @@ "\nBase context passed to a route handler, containing the `core` context part.\n" ], "signature": [ - "RequestHandlerContext", + { + "pluginId": "@kbn/core-http-request-handler-context-server", + "scope": "server", + "docId": "kibKbnCoreHttpRequestHandlerContextServerPluginApi", + "section": "def-server.RequestHandlerContext", + "text": "RequestHandlerContext" + }, " extends ", - "RequestHandlerContextBase" + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.RequestHandlerContextBase", + "text": "RequestHandlerContextBase" + } ], - "path": "node_modules/@types/kbn__core-http-request-handler-context-server/index.d.ts", + "path": "packages/core/http/core-http-request-handler-context-server/src/request_handler_context.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -39839,10 +46240,16 @@ "description": [], "signature": [ "Promise<", - "CoreRequestHandlerContext", + { + "pluginId": "@kbn/core-http-request-handler-context-server", + "scope": "server", + "docId": "kibKbnCoreHttpRequestHandlerContextServerPluginApi", + "section": "def-server.CoreRequestHandlerContext", + "text": "CoreRequestHandlerContext" + }, ">" ], - "path": "node_modules/@types/kbn__core-http-request-handler-context-server/index.d.ts", + "path": "packages/core/http/core-http-request-handler-context-server/src/request_handler_context.ts", "deprecated": false, "trackAdoption": false } @@ -39858,10 +46265,7 @@ "description": [ "\nDefines a set of additional options for the `resolveCapabilities` method of {@link CapabilitiesStart}.\n" ], - "signature": [ - "ResolveCapabilitiesOptions" - ], - "path": "node_modules/@types/kbn__core-capabilities-server/index.d.ts", + "path": "packages/core/capabilities/core-capabilities-server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -39874,7 +46278,7 @@ "description": [ "\nIndicates if capability switchers are supposed to return a default set of capabilities." ], - "path": "node_modules/@types/kbn__core-capabilities-server/index.d.ts", + "path": "packages/core/capabilities/core-capabilities-server/src/contracts.ts", "deprecated": false, "trackAdoption": false } @@ -39891,10 +46295,16 @@ "\nRoute specific configuration." ], "signature": [ - "RouteConfig", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.RouteConfig", + "text": "RouteConfig" + }, "" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/route.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -39907,7 +46317,7 @@ "description": [ "\nThe endpoint _within_ the router path to register the route.\n" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/route.ts", "deprecated": false, "trackAdoption": false }, @@ -39922,10 +46332,16 @@ ], "signature": [ "false | ", - "RouteValidatorFullConfig", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.RouteValidatorFullConfig", + "text": "RouteValidatorFullConfig" + }, "" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/route.ts", "deprecated": false, "trackAdoption": false }, @@ -39939,10 +46355,16 @@ "\nAdditional route options {@link RouteConfigOptions}." ], "signature": [ - "RouteConfigOptions", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.RouteConfigOptions", + "text": "RouteConfigOptions" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/route.ts", "deprecated": false, "trackAdoption": false } @@ -39959,10 +46381,16 @@ "\nAdditional route options." ], "signature": [ - "RouteConfigOptions", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.RouteConfigOptions", + "text": "RouteConfigOptions" + }, "" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/route.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -39978,7 +46406,7 @@ "signature": [ "boolean | \"optional\" | undefined" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/route.ts", "deprecated": false, "trackAdoption": false }, @@ -39994,7 +46422,7 @@ "signature": [ "(Method extends \"get\" ? never : boolean) | undefined" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/route.ts", "deprecated": false, "trackAdoption": false }, @@ -40010,7 +46438,7 @@ "signature": [ "readonly string[] | undefined" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/route.ts", "deprecated": false, "trackAdoption": false }, @@ -40025,10 +46453,16 @@ ], "signature": [ "(Method extends \"options\" | \"get\" ? undefined : ", - "RouteConfigOptionsBody", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.RouteConfigOptionsBody", + "text": "RouteConfigOptionsBody" + }, ") | undefined" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/route.ts", "deprecated": false, "trackAdoption": false }, @@ -40044,7 +46478,7 @@ "signature": [ "{ payload?: (Method extends \"options\" | \"get\" ? undefined : number) | undefined; idleSocket?: number | undefined; } | undefined" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/route.ts", "deprecated": false, "trackAdoption": false } @@ -40060,10 +46494,7 @@ "description": [ "\nAdditional body options for a route" ], - "signature": [ - "RouteConfigOptionsBody" - ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/route.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -40078,10 +46509,16 @@ ], "signature": [ "string | string[] | ", - "RouteContentType", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.RouteContentType", + "text": "RouteContentType" + }, "[] | undefined" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/route.ts", "deprecated": false, "trackAdoption": false }, @@ -40097,7 +46534,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/route.ts", "deprecated": false, "trackAdoption": false }, @@ -40113,7 +46550,7 @@ "signature": [ "\"data\" | \"stream\" | undefined" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/route.ts", "deprecated": false, "trackAdoption": false }, @@ -40129,7 +46566,7 @@ "signature": [ "boolean | \"gunzip\" | undefined" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/route.ts", "deprecated": false, "trackAdoption": false } @@ -40145,10 +46582,7 @@ "description": [ "\nValidation result factory to be used in the custom validation function to return the valid data or validation errors\n\nSee {@link RouteValidationFunction}.\n" ], - "signature": [ - "RouteValidationResultFactory" - ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/route_validator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -40162,7 +46596,7 @@ "signature": [ "(value: T) => { value: T; }" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/route_validator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -40176,7 +46610,7 @@ "signature": [ "T" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/route_validator.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -40193,10 +46627,16 @@ "description": [], "signature": [ "(error: string | Error, path?: string[] | undefined) => { error: ", - "RouteValidationError", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.RouteValidationError", + "text": "RouteValidationError" + }, "; }" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/route_validator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -40210,7 +46650,7 @@ "signature": [ "string | Error" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/route_validator.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -40225,7 +46665,7 @@ "signature": [ "string[] | undefined" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/route_validator.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -40246,10 +46686,16 @@ "\nThe configuration object to the RouteValidator class.\nSet `params`, `query` and/or `body` to specify the validation logic to follow for that property.\n" ], "signature": [ - "RouteValidatorConfig", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.RouteValidatorConfig", + "text": "RouteValidatorConfig" + }, "" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/route_validator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -40263,10 +46709,16 @@ "\nValidation logic for the URL params" ], "signature": [ - "RouteValidationSpec", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.RouteValidationSpec", + "text": "RouteValidationSpec" + }, "

| undefined" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/route_validator.ts", "deprecated": false, "trackAdoption": false }, @@ -40280,10 +46732,16 @@ "\nValidation logic for the Query params" ], "signature": [ - "RouteValidationSpec", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.RouteValidationSpec", + "text": "RouteValidationSpec" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/route_validator.ts", "deprecated": false, "trackAdoption": false }, @@ -40297,10 +46755,16 @@ "\nValidation logic for the body payload" ], "signature": [ - "RouteValidationSpec", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.RouteValidationSpec", + "text": "RouteValidationSpec" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/route_validator.ts", "deprecated": false, "trackAdoption": false } @@ -40316,10 +46780,7 @@ "description": [ "\nAdditional options for the RouteValidator class to modify its default behaviour.\n" ], - "signature": [ - "RouteValidatorOptions" - ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/route_validator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -40335,7 +46796,7 @@ "signature": [ "{ params?: boolean | undefined; query?: boolean | undefined; body?: boolean | undefined; } | undefined" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/route_validator.ts", "deprecated": false, "trackAdoption": false } @@ -40350,10 +46811,16 @@ "label": "SavedObject", "description": [], "signature": [ - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -40366,7 +46833,7 @@ "description": [ "The ID of this Saved Object, guaranteed to be unique for all objects of the same `type`" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false }, @@ -40379,7 +46846,7 @@ "description": [ " The type of Saved Object. Each plugin can define it's own custom Saved Object types." ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false }, @@ -40395,7 +46862,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false }, @@ -40411,7 +46878,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false }, @@ -40427,7 +46894,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false }, @@ -40439,10 +46906,16 @@ "label": "error", "description": [], "signature": [ - "SavedObjectError", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectError", + "text": "SavedObjectError" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false }, @@ -40458,7 +46931,7 @@ "signature": [ "T" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false }, @@ -40472,10 +46945,16 @@ "{@inheritdoc SavedObjectReference}" ], "signature": [ - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false }, @@ -40489,10 +46968,16 @@ "{@inheritdoc SavedObjectsMigrationVersion}" ], "signature": [ - "SavedObjectsMigrationVersion", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectsMigrationVersion", + "text": "SavedObjectsMigrationVersion" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false }, @@ -40508,7 +46993,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false }, @@ -40524,7 +47009,7 @@ "signature": [ "string[] | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false }, @@ -40540,7 +47025,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false } @@ -40558,13 +47043,22 @@ "description": [ "\nThe data for a Saved Object is stored as an object in the `attributes`\nproperty.\n" ], - "signature": [ - "SavedObjectAttributes" - ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": true, "trackAdoption": false, "references": [ + { + "plugin": "@kbn/core-saved-objects-common", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts" + }, + { + "plugin": "@kbn/core-saved-objects-common", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts" + }, + { + "plugin": "@kbn/core-saved-objects-common", + "path": "packages/core/saved-objects/core-saved-objects-common/index.ts" + }, { "plugin": "savedObjects", "path": "src/plugins/saved_objects/public/types.ts" @@ -41180,9 +47674,15 @@ "description": [], "signature": [ "[key: string]: ", - "SavedObjectAttribute" + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectAttribute", + "text": "SavedObjectAttribute" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false } @@ -41196,10 +47696,7 @@ "tags": [], "label": "SavedObjectExportBaseOptions", "description": [], - "signature": [ - "SavedObjectExportBaseOptions" - ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/export.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -41213,10 +47710,16 @@ "The http request initiating the export." ], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/export.ts", "deprecated": false, "trackAdoption": false }, @@ -41232,7 +47735,7 @@ "signature": [ "boolean | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/export.ts", "deprecated": false, "trackAdoption": false }, @@ -41248,7 +47751,7 @@ "signature": [ "boolean | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/export.ts", "deprecated": false, "trackAdoption": false }, @@ -41264,7 +47767,7 @@ "signature": [ "boolean | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/export.ts", "deprecated": false, "trackAdoption": false }, @@ -41280,7 +47783,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/export.ts", "deprecated": false, "trackAdoption": false } @@ -41296,10 +47799,7 @@ "description": [ "\nMigration context provided when invoking a {@link SavedObjectMigrationFn | migration handler}\n" ], - "signature": [ - "SavedObjectMigrationContext" - ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/migration.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -41313,9 +47813,15 @@ "\nlogger instance to be used by the migration handler" ], "signature": [ - "SavedObjectsMigrationLogger" + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsMigrationLogger", + "text": "SavedObjectsMigrationLogger" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/migration.ts", "deprecated": false, "trackAdoption": false }, @@ -41328,7 +47834,7 @@ "description": [ "\nThe migration version that this migration function is defined for" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/migration.ts", "deprecated": false, "trackAdoption": false }, @@ -41344,7 +47850,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/migration.ts", "deprecated": false, "trackAdoption": false }, @@ -41357,7 +47863,7 @@ "description": [ "\nWhether this is a single-namespace type or not" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/migration.ts", "deprecated": false, "trackAdoption": false } @@ -41373,10 +47879,7 @@ "description": [ "\nA map of {@link SavedObjectMigrationFn | migration functions} to be used for a given type.\nThe map's keys must be valid semver versions, and they cannot exceed the current Kibana version.\n\nFor a given document, only migrations with a higher version number than that of the document will be applied.\nMigrations are executed in order, starting from the lowest version and ending with the highest one.\n" ], - "signature": [ - "SavedObjectMigrationMap" - ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/migration.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -41389,10 +47892,16 @@ "description": [], "signature": [ "[version: string]: ", - "SavedObjectMigrationFn", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectMigrationFn", + "text": "SavedObjectMigrationFn" + }, "" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/migration.ts", "deprecated": false, "trackAdoption": false } @@ -41408,10 +47917,7 @@ "description": [ "\nA reference to another saved object.\n" ], - "signature": [ - "SavedObjectReference" - ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -41422,7 +47928,7 @@ "tags": [], "label": "name", "description": [], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false }, @@ -41433,7 +47939,7 @@ "tags": [], "label": "type", "description": [], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false }, @@ -41444,7 +47950,7 @@ "tags": [], "label": "id", "description": [], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false } @@ -41460,10 +47966,7 @@ "description": [ "\nA returned input object or one of its references, with additional context.\n" ], - "signature": [ - "SavedObjectReferenceWithContext" - ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/collect_multinamespace_references.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -41476,7 +47979,7 @@ "description": [ "The type of the referenced object" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/collect_multinamespace_references.ts", "deprecated": false, "trackAdoption": false }, @@ -41489,7 +47992,7 @@ "description": [ "The ID of the referenced object" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/collect_multinamespace_references.ts", "deprecated": false, "trackAdoption": false }, @@ -41505,7 +48008,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/collect_multinamespace_references.ts", "deprecated": false, "trackAdoption": false }, @@ -41521,7 +48024,7 @@ "signature": [ "string[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/collect_multinamespace_references.ts", "deprecated": false, "trackAdoption": false }, @@ -41537,7 +48040,7 @@ "signature": [ "{ type: string; id: string; name: string; }[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/collect_multinamespace_references.ts", "deprecated": false, "trackAdoption": false }, @@ -41553,7 +48056,7 @@ "signature": [ "boolean | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/collect_multinamespace_references.ts", "deprecated": false, "trackAdoption": false }, @@ -41569,7 +48072,7 @@ "signature": [ "string[] | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/collect_multinamespace_references.ts", "deprecated": false, "trackAdoption": false }, @@ -41585,7 +48088,7 @@ "signature": [ "string[] | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/collect_multinamespace_references.ts", "deprecated": false, "trackAdoption": false } @@ -41601,10 +48104,7 @@ "description": [ "\nBase options used by most of the savedObject APIs." ], - "signature": [ - "SavedObjectsBaseOptions" - ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/base.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -41620,7 +48120,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/base.ts", "deprecated": false, "trackAdoption": false } @@ -41637,10 +48137,16 @@ "\n" ], "signature": [ - "SavedObjectsBulkCreateObject", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkCreateObject", + "text": "SavedObjectsBulkCreateObject" + }, "" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/bulk_create.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -41654,7 +48160,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/bulk_create.ts", "deprecated": false, "trackAdoption": false }, @@ -41665,7 +48171,7 @@ "tags": [], "label": "type", "description": [], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/bulk_create.ts", "deprecated": false, "trackAdoption": false }, @@ -41679,7 +48185,7 @@ "signature": [ "T" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/bulk_create.ts", "deprecated": false, "trackAdoption": false }, @@ -41693,7 +48199,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/bulk_create.ts", "deprecated": false, "trackAdoption": false }, @@ -41705,10 +48211,16 @@ "label": "references", "description": [], "signature": [ - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[] | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/bulk_create.ts", "deprecated": false, "trackAdoption": false }, @@ -41722,10 +48234,16 @@ "{@inheritDoc SavedObjectsMigrationVersion}" ], "signature": [ - "SavedObjectsMigrationVersion", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectsMigrationVersion", + "text": "SavedObjectsMigrationVersion" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/bulk_create.ts", "deprecated": false, "trackAdoption": false }, @@ -41741,7 +48259,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/bulk_create.ts", "deprecated": false, "trackAdoption": false }, @@ -41757,7 +48275,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/bulk_create.ts", "deprecated": false, "trackAdoption": false }, @@ -41773,7 +48291,7 @@ "signature": [ "string[] | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/bulk_create.ts", "deprecated": false, "trackAdoption": false } @@ -41789,10 +48307,7 @@ "description": [ "\n" ], - "signature": [ - "SavedObjectsBulkDeleteObject" - ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/bulk_delete.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -41803,7 +48318,7 @@ "tags": [], "label": "type", "description": [], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/bulk_delete.ts", "deprecated": false, "trackAdoption": false }, @@ -41814,7 +48329,7 @@ "tags": [], "label": "id", "description": [], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/bulk_delete.ts", "deprecated": false, "trackAdoption": false } @@ -41829,11 +48344,23 @@ "label": "SavedObjectsBulkDeleteOptions", "description": [], "signature": [ - "SavedObjectsBulkDeleteOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkDeleteOptions", + "text": "SavedObjectsBulkDeleteOptions" + }, " extends ", - "SavedObjectsBaseOptions" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/bulk_delete.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -41847,10 +48374,16 @@ "The Elasticsearch Refresh setting for this operation" ], "signature": [ - "MutatingOperationRefreshSetting", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.MutatingOperationRefreshSetting", + "text": "MutatingOperationRefreshSetting" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/bulk_delete.ts", "deprecated": false, "trackAdoption": false }, @@ -41866,7 +48399,7 @@ "signature": [ "boolean | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/bulk_delete.ts", "deprecated": false, "trackAdoption": false } @@ -41880,10 +48413,7 @@ "tags": [], "label": "SavedObjectsBulkDeleteResponse", "description": [], - "signature": [ - "SavedObjectsBulkDeleteResponse" - ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/bulk_delete.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -41895,10 +48425,16 @@ "label": "statuses", "description": [], "signature": [ - "SavedObjectsBulkDeleteStatus", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkDeleteStatus", + "text": "SavedObjectsBulkDeleteStatus" + }, "[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/bulk_delete.ts", "deprecated": false, "trackAdoption": false } @@ -41914,10 +48450,7 @@ "description": [ "\n" ], - "signature": [ - "SavedObjectsBulkGetObject" - ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/bulk_get.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -41928,7 +48461,7 @@ "tags": [], "label": "id", "description": [], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/bulk_get.ts", "deprecated": false, "trackAdoption": false }, @@ -41939,7 +48472,7 @@ "tags": [], "label": "type", "description": [], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/bulk_get.ts", "deprecated": false, "trackAdoption": false }, @@ -41955,7 +48488,7 @@ "signature": [ "string[] | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/bulk_get.ts", "deprecated": false, "trackAdoption": false }, @@ -41971,7 +48504,7 @@ "signature": [ "string[] | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/bulk_get.ts", "deprecated": false, "trackAdoption": false } @@ -41987,10 +48520,7 @@ "description": [ "\n" ], - "signature": [ - "SavedObjectsBulkResolveObject" - ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/bulk_resolve.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -42001,7 +48531,7 @@ "tags": [], "label": "id", "description": [], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/bulk_resolve.ts", "deprecated": false, "trackAdoption": false }, @@ -42012,7 +48542,7 @@ "tags": [], "label": "type", "description": [], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/bulk_resolve.ts", "deprecated": false, "trackAdoption": false } @@ -42029,10 +48559,16 @@ "\n" ], "signature": [ - "SavedObjectsBulkResolveResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkResolveResponse", + "text": "SavedObjectsBulkResolveResponse" + }, "" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/bulk_resolve.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -42044,10 +48580,16 @@ "label": "resolved_objects", "description": [], "signature": [ - "SavedObjectsResolveResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsResolveResponse", + "text": "SavedObjectsResolveResponse" + }, "[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/bulk_resolve.ts", "deprecated": false, "trackAdoption": false } @@ -42064,10 +48606,16 @@ "\n" ], "signature": [ - "SavedObjectsBulkResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkResponse", + "text": "SavedObjectsBulkResponse" + }, "" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/base.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -42079,10 +48627,16 @@ "label": "saved_objects", "description": [], "signature": [ - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/base.ts", "deprecated": false, "trackAdoption": false } @@ -42099,12 +48653,24 @@ "\n" ], "signature": [ - "SavedObjectsBulkUpdateObject", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkUpdateObject", + "text": "SavedObjectsBulkUpdateObject" + }, " extends Pick<", - "SavedObjectsUpdateOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsUpdateOptions", + "text": "SavedObjectsUpdateOptions" + }, ", \"version\" | \"references\">" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/bulk_update.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -42117,7 +48683,7 @@ "description": [ "The ID of this Saved Object, guaranteed to be unique for all objects of the same `type`" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/bulk_update.ts", "deprecated": false, "trackAdoption": false }, @@ -42130,7 +48696,7 @@ "description": [ " The type of this Saved Object. Each plugin can define it's own custom Saved Object types." ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/bulk_update.ts", "deprecated": false, "trackAdoption": false }, @@ -42146,7 +48712,7 @@ "signature": [ "{ [P in keyof T]?: T[P] | undefined; }" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/bulk_update.ts", "deprecated": false, "trackAdoption": false }, @@ -42162,7 +48728,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/bulk_update.ts", "deprecated": false, "trackAdoption": false } @@ -42179,11 +48745,23 @@ "\n" ], "signature": [ - "SavedObjectsBulkUpdateOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkUpdateOptions", + "text": "SavedObjectsBulkUpdateOptions" + }, " extends ", - "SavedObjectsBaseOptions" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/bulk_update.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -42197,10 +48775,16 @@ "The Elasticsearch Refresh setting for this operation" ], "signature": [ - "MutatingOperationRefreshSetting", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.MutatingOperationRefreshSetting", + "text": "MutatingOperationRefreshSetting" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/bulk_update.ts", "deprecated": false, "trackAdoption": false } @@ -42217,10 +48801,16 @@ "\n" ], "signature": [ - "SavedObjectsBulkUpdateResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkUpdateResponse", + "text": "SavedObjectsBulkUpdateResponse" + }, "" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/bulk_update.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -42232,10 +48822,16 @@ "label": "saved_objects", "description": [], "signature": [ - "SavedObjectsUpdateResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsUpdateResponse", + "text": "SavedObjectsUpdateResponse" + }, "[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/bulk_update.ts", "deprecated": false, "trackAdoption": false } @@ -42251,10 +48847,7 @@ "description": [ "\n" ], - "signature": [ - "SavedObjectsCheckConflictsObject" - ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/check_conflicts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -42265,7 +48858,7 @@ "tags": [], "label": "id", "description": [], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/check_conflicts.ts", "deprecated": false, "trackAdoption": false }, @@ -42276,7 +48869,7 @@ "tags": [], "label": "type", "description": [], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/check_conflicts.ts", "deprecated": false, "trackAdoption": false } @@ -42292,10 +48885,7 @@ "description": [ "\n" ], - "signature": [ - "SavedObjectsCheckConflictsResponse" - ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/check_conflicts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -42308,10 +48898,16 @@ "description": [], "signature": [ "{ id: string; type: string; error: ", - "SavedObjectError", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectError", + "text": "SavedObjectError" + }, "; }[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/check_conflicts.ts", "deprecated": false, "trackAdoption": false } @@ -42327,10 +48923,7 @@ "description": [ "\nSaved Objects is Kibana's data persisentence mechanism allowing plugins to\nuse Elasticsearch for storing plugin state.\n\n## SavedObjectsClient errors\n\nSince the SavedObjectsClient has its hands in everything we\nare a little paranoid about the way we present errors back to\nto application code. Ideally, all errors will be either:\n\n 1. Caused by bad implementation (ie. undefined is not a function) and\n as such unpredictable\n 2. An error that has been classified and decorated appropriately\n by the decorators in {@link SavedObjectsErrorHelpers}\n\nType 1 errors are inevitable, but since all expected/handle-able errors\nshould be Type 2 the `isXYZError()` helpers exposed at\n`SavedObjectsErrorHelpers` should be used to understand and manage error\nresponses from the `SavedObjectsClient`.\n\nType 2 errors are decorated versions of the source error, so if\nthe elasticsearch client threw an error it will be decorated based\non its type. That means that rather than looking for `error.body.error.type` or\ndoing substring checks on `error.body.error.reason`, just use the helpers to\nunderstand the meaning of the error:\n\n ```js\n if (SavedObjectsErrorHelpers.isNotFoundError(error)) {\n // handle 404\n }\n\n if (SavedObjectsErrorHelpers.isNotAuthorizedError(error)) {\n // 401 handling should be automatic, but in case you wanted to know\n }\n\n // always rethrow the error unless you handle it\n throw error;\n ```\n\n### 404s from missing index\n\nFrom the perspective of application code and APIs the SavedObjectsClient is\na black box that persists objects. One of the internal details that users have\nno control over is that we use an elasticsearch index for persistence and that\nindex might be missing.\n\nAt the time of writing we are in the process of transitioning away from the\noperating assumption that the SavedObjects index is always available. Part of\nthis transition is handling errors resulting from an index missing. These used\nto trigger a 500 error in most cases, and in others cause 404s with different\nerror messages.\n\nFrom my (Spencer) perspective, a 404 from the SavedObjectsApi is a 404; The\nobject the request/call was targeting could not be found. This is why #14141\ntakes special care to ensure that 404 errors are generic and don't distinguish\nbetween index missing or document missing.\n\nSee {@link SavedObjectsClient}\nSee {@link SavedObjectsErrorHelpers}\n" ], - "signature": [ - "SavedObjectsClientContract" - ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -42345,12 +48938,24 @@ ], "signature": [ "(type: string, attributes: T, options?: ", - "SavedObjectsCreateOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsCreateOptions", + "text": "SavedObjectsCreateOptions" + }, " | undefined) => Promise<", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, ">" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -42364,7 +48969,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -42379,7 +48984,7 @@ "signature": [ "T" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -42392,10 +48997,16 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsCreateOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsCreateOptions", + "text": "SavedObjectsCreateOptions" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -42414,14 +49025,32 @@ ], "signature": [ "(objects: ", - "SavedObjectsBulkCreateObject", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkCreateObject", + "text": "SavedObjectsBulkCreateObject" + }, "[], options?: ", - "SavedObjectsCreateOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsCreateOptions", + "text": "SavedObjectsCreateOptions" + }, " | undefined) => Promise<", - "SavedObjectsBulkResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkResponse", + "text": "SavedObjectsBulkResponse" + }, ">" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -42433,10 +49062,16 @@ "label": "objects", "description": [], "signature": [ - "SavedObjectsBulkCreateObject", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkCreateObject", + "text": "SavedObjectsBulkCreateObject" + }, "[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -42449,10 +49084,16 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsCreateOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsCreateOptions", + "text": "SavedObjectsCreateOptions" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -42471,14 +49112,32 @@ ], "signature": [ "(objects: ", - "SavedObjectsCheckConflictsObject", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsCheckConflictsObject", + "text": "SavedObjectsCheckConflictsObject" + }, "[], options?: ", - "SavedObjectsBaseOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + }, " | undefined) => Promise<", - "SavedObjectsCheckConflictsResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsCheckConflictsResponse", + "text": "SavedObjectsCheckConflictsResponse" + }, ">" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -42490,10 +49149,16 @@ "label": "objects", "description": [], "signature": [ - "SavedObjectsCheckConflictsObject", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsCheckConflictsObject", + "text": "SavedObjectsCheckConflictsObject" + }, "[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -42506,10 +49171,16 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsBaseOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -42528,10 +49199,16 @@ ], "signature": [ "(type: string, id: string, options?: ", - "SavedObjectsDeleteOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsDeleteOptions", + "text": "SavedObjectsDeleteOptions" + }, " | undefined) => Promise<{}>" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -42545,7 +49222,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -42560,7 +49237,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -42573,10 +49250,16 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsDeleteOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsDeleteOptions", + "text": "SavedObjectsDeleteOptions" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -42595,14 +49278,32 @@ ], "signature": [ "(objects: ", - "SavedObjectsBulkDeleteObject", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkDeleteObject", + "text": "SavedObjectsBulkDeleteObject" + }, "[], options?: ", - "SavedObjectsBulkDeleteOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkDeleteOptions", + "text": "SavedObjectsBulkDeleteOptions" + }, " | undefined) => Promise<", - "SavedObjectsBulkDeleteResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkDeleteResponse", + "text": "SavedObjectsBulkDeleteResponse" + }, ">" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -42614,10 +49315,16 @@ "label": "objects", "description": [], "signature": [ - "SavedObjectsBulkDeleteObject", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkDeleteObject", + "text": "SavedObjectsBulkDeleteObject" + }, "[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -42630,10 +49337,16 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsBulkDeleteOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkDeleteOptions", + "text": "SavedObjectsBulkDeleteOptions" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -42652,12 +49365,24 @@ ], "signature": [ "(options: ", - "SavedObjectsFindOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsFindOptions", + "text": "SavedObjectsFindOptions" + }, ") => Promise<", - "SavedObjectsFindResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsFindResponse", + "text": "SavedObjectsFindResponse" + }, ">" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -42669,9 +49394,15 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsFindOptions" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsFindOptions", + "text": "SavedObjectsFindOptions" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -42690,14 +49421,32 @@ ], "signature": [ "(objects: ", - "SavedObjectsBulkGetObject", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkGetObject", + "text": "SavedObjectsBulkGetObject" + }, "[], options?: ", - "SavedObjectsBaseOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + }, " | undefined) => Promise<", - "SavedObjectsBulkResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkResponse", + "text": "SavedObjectsBulkResponse" + }, ">" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -42711,10 +49460,16 @@ "- an array of ids, or an array of objects containing id, type and optionally fields" ], "signature": [ - "SavedObjectsBulkGetObject", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkGetObject", + "text": "SavedObjectsBulkGetObject" + }, "[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -42727,10 +49482,16 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsBaseOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -42749,12 +49510,24 @@ ], "signature": [ "(type: string, id: string, options?: ", - "SavedObjectsBaseOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + }, " | undefined) => Promise<", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, ">" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -42770,7 +49543,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -42787,7 +49560,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -42800,10 +49573,16 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsBaseOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -42824,14 +49603,32 @@ ], "signature": [ "(objects: ", - "SavedObjectsBulkResolveObject", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkResolveObject", + "text": "SavedObjectsBulkResolveObject" + }, "[], options?: ", - "SavedObjectsBaseOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + }, " | undefined) => Promise<", - "SavedObjectsBulkResolveResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkResolveResponse", + "text": "SavedObjectsBulkResolveResponse" + }, ">" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -42845,10 +49642,16 @@ "- an array of objects containing id, type" ], "signature": [ - "SavedObjectsBulkResolveObject", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkResolveObject", + "text": "SavedObjectsBulkResolveObject" + }, "[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -42861,10 +49664,16 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsBaseOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -42883,12 +49692,24 @@ ], "signature": [ "(type: string, id: string, options?: ", - "SavedObjectsBaseOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + }, " | undefined) => Promise<", - "SavedObjectsResolveResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsResolveResponse", + "text": "SavedObjectsResolveResponse" + }, ">" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -42904,7 +49725,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -42921,7 +49742,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -42934,10 +49755,16 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsBaseOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -42956,12 +49783,24 @@ ], "signature": [ "(type: string, id: string, attributes: Partial, options?: ", - "SavedObjectsUpdateOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsUpdateOptions", + "text": "SavedObjectsUpdateOptions" + }, " | undefined) => Promise<", - "SavedObjectsUpdateResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsUpdateResponse", + "text": "SavedObjectsUpdateResponse" + }, ">" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -42975,7 +49814,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -42990,7 +49829,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -43005,7 +49844,7 @@ "signature": [ "Partial" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -43018,10 +49857,16 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsUpdateOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsUpdateOptions", + "text": "SavedObjectsUpdateOptions" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -43040,14 +49885,32 @@ ], "signature": [ "(objects: ", - "SavedObjectsBulkUpdateObject", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkUpdateObject", + "text": "SavedObjectsBulkUpdateObject" + }, "[], options?: ", - "SavedObjectsBulkUpdateOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkUpdateOptions", + "text": "SavedObjectsBulkUpdateOptions" + }, " | undefined) => Promise<", - "SavedObjectsBulkUpdateResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkUpdateResponse", + "text": "SavedObjectsBulkUpdateResponse" + }, ">" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -43059,10 +49922,16 @@ "label": "objects", "description": [], "signature": [ - "SavedObjectsBulkUpdateObject", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkUpdateObject", + "text": "SavedObjectsBulkUpdateObject" + }, "[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -43075,10 +49944,16 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsBulkUpdateOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkUpdateOptions", + "text": "SavedObjectsBulkUpdateOptions" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -43097,12 +49972,24 @@ ], "signature": [ "(type: string, id: string, options?: ", - "SavedObjectsRemoveReferencesToOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsRemoveReferencesToOptions", + "text": "SavedObjectsRemoveReferencesToOptions" + }, " | undefined) => Promise<", - "SavedObjectsRemoveReferencesToResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsRemoveReferencesToResponse", + "text": "SavedObjectsRemoveReferencesToResponse" + }, ">" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -43116,7 +50003,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -43131,7 +50018,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -43144,10 +50031,16 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsRemoveReferencesToOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsRemoveReferencesToOptions", + "text": "SavedObjectsRemoveReferencesToOptions" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -43166,12 +50059,24 @@ ], "signature": [ "(type: string | string[], options?: ", - "SavedObjectsOpenPointInTimeOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsOpenPointInTimeOptions", + "text": "SavedObjectsOpenPointInTimeOptions" + }, " | undefined) => Promise<", - "SavedObjectsOpenPointInTimeResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsOpenPointInTimeResponse", + "text": "SavedObjectsOpenPointInTimeResponse" + }, ">" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -43185,7 +50090,7 @@ "signature": [ "string | string[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -43198,10 +50103,16 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsOpenPointInTimeOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsOpenPointInTimeOptions", + "text": "SavedObjectsOpenPointInTimeOptions" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -43220,12 +50131,24 @@ ], "signature": [ "(id: string, options?: ", - "SavedObjectsBaseOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + }, " | undefined) => Promise<", - "SavedObjectsClosePointInTimeResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClosePointInTimeResponse", + "text": "SavedObjectsClosePointInTimeResponse" + }, ">" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -43239,7 +50162,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -43252,10 +50175,16 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsBaseOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -43274,14 +50203,32 @@ ], "signature": [ "(findOptions: ", - "SavedObjectsCreatePointInTimeFinderOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsCreatePointInTimeFinderOptions", + "text": "SavedObjectsCreatePointInTimeFinderOptions" + }, ", dependencies?: ", - "SavedObjectsCreatePointInTimeFinderDependencies", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsCreatePointInTimeFinderDependencies", + "text": "SavedObjectsCreatePointInTimeFinderDependencies" + }, " | undefined) => ", - "ISavedObjectsPointInTimeFinder", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.ISavedObjectsPointInTimeFinder", + "text": "ISavedObjectsPointInTimeFinder" + }, "" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -43293,9 +50240,15 @@ "label": "findOptions", "description": [], "signature": [ - "SavedObjectsCreatePointInTimeFinderOptions" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsCreatePointInTimeFinderOptions", + "text": "SavedObjectsCreatePointInTimeFinderOptions" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -43308,10 +50261,16 @@ "label": "dependencies", "description": [], "signature": [ - "SavedObjectsCreatePointInTimeFinderDependencies", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsCreatePointInTimeFinderDependencies", + "text": "SavedObjectsCreatePointInTimeFinderDependencies" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -43330,14 +50289,32 @@ ], "signature": [ "(objects: ", - "SavedObjectsCollectMultiNamespaceReferencesObject", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsCollectMultiNamespaceReferencesObject", + "text": "SavedObjectsCollectMultiNamespaceReferencesObject" + }, "[], options?: ", - "SavedObjectsCollectMultiNamespaceReferencesOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsCollectMultiNamespaceReferencesOptions", + "text": "SavedObjectsCollectMultiNamespaceReferencesOptions" + }, " | undefined) => Promise<", - "SavedObjectsCollectMultiNamespaceReferencesResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsCollectMultiNamespaceReferencesResponse", + "text": "SavedObjectsCollectMultiNamespaceReferencesResponse" + }, ">" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -43349,10 +50326,16 @@ "label": "objects", "description": [], "signature": [ - "SavedObjectsCollectMultiNamespaceReferencesObject", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsCollectMultiNamespaceReferencesObject", + "text": "SavedObjectsCollectMultiNamespaceReferencesObject" + }, "[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -43365,10 +50348,16 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsCollectMultiNamespaceReferencesOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsCollectMultiNamespaceReferencesOptions", + "text": "SavedObjectsCollectMultiNamespaceReferencesOptions" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -43387,14 +50376,32 @@ ], "signature": [ "(objects: ", - "SavedObjectsUpdateObjectsSpacesObject", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsUpdateObjectsSpacesObject", + "text": "SavedObjectsUpdateObjectsSpacesObject" + }, "[], spacesToAdd: string[], spacesToRemove: string[], options?: ", - "SavedObjectsUpdateObjectsSpacesOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsUpdateObjectsSpacesOptions", + "text": "SavedObjectsUpdateObjectsSpacesOptions" + }, " | undefined) => Promise<", - "SavedObjectsUpdateObjectsSpacesResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsUpdateObjectsSpacesResponse", + "text": "SavedObjectsUpdateObjectsSpacesResponse" + }, ">" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -43406,10 +50413,16 @@ "label": "objects", "description": [], "signature": [ - "SavedObjectsUpdateObjectsSpacesObject", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsUpdateObjectsSpacesObject", + "text": "SavedObjectsUpdateObjectsSpacesObject" + }, "[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -43424,7 +50437,7 @@ "signature": [ "string[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -43439,7 +50452,7 @@ "signature": [ "string[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -43452,10 +50465,16 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsUpdateObjectsSpacesOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsUpdateObjectsSpacesOptions", + "text": "SavedObjectsUpdateObjectsSpacesOptions" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -43475,10 +50494,7 @@ "description": [ "\nOptions to control the creation of the Saved Objects Client." ], - "signature": [ - "SavedObjectsClientProviderOptions" - ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/client_factory.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -43492,7 +50508,7 @@ "signature": [ "string[] | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/client_factory.ts", "deprecated": false, "trackAdoption": false }, @@ -43506,7 +50522,7 @@ "signature": [ "string[] | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/client_factory.ts", "deprecated": false, "trackAdoption": false } @@ -43522,10 +50538,7 @@ "description": [ "\nOptions passed to each SavedObjectsClientWrapperFactory to aid in creating the wrapper instance." ], - "signature": [ - "SavedObjectsClientWrapperOptions" - ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/client_factory.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -43537,9 +50550,15 @@ "label": "client", "description": [], "signature": [ - "SavedObjectsClientContract" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/client_factory.ts", "deprecated": false, "trackAdoption": false }, @@ -43551,9 +50570,15 @@ "label": "typeRegistry", "description": [], "signature": [ - "ISavedObjectTypeRegistry" + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.ISavedObjectTypeRegistry", + "text": "ISavedObjectTypeRegistry" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/client_factory.ts", "deprecated": false, "trackAdoption": false }, @@ -43565,10 +50590,16 @@ "label": "request", "description": [], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/client_factory.ts", "deprecated": false, "trackAdoption": false } @@ -43582,10 +50613,7 @@ "tags": [], "label": "SavedObjectsClosePointInTimeResponse", "description": [], - "signature": [ - "SavedObjectsClosePointInTimeResponse" - ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/close_point_in_time.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -43598,7 +50626,7 @@ "description": [ "\nIf true, all search contexts associated with the PIT id are\nsuccessfully closed." ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/close_point_in_time.ts", "deprecated": false, "trackAdoption": false }, @@ -43611,7 +50639,7 @@ "description": [ "\nThe number of search contexts that have been successfully closed." ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/close_point_in_time.ts", "deprecated": false, "trackAdoption": false } @@ -43627,10 +50655,7 @@ "description": [ "\nAn object to collect references for. It must be a multi-namespace type (in other words, the object type must be registered with the\n`namespaceType: 'multiple'` or `namespaceType: 'multiple-isolated'` option).\n\nNote: if options.purpose is 'updateObjectsSpaces', it must be a shareable type (in other words, the object type must be registered with\nthe `namespaceType: 'multiple'`).\n" ], - "signature": [ - "SavedObjectsCollectMultiNamespaceReferencesObject" - ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/collect_multinamespace_references.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -43641,7 +50666,7 @@ "tags": [], "label": "id", "description": [], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/collect_multinamespace_references.ts", "deprecated": false, "trackAdoption": false }, @@ -43652,7 +50677,7 @@ "tags": [], "label": "type", "description": [], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/collect_multinamespace_references.ts", "deprecated": false, "trackAdoption": false } @@ -43669,11 +50694,23 @@ "\nOptions for collecting references.\n" ], "signature": [ - "SavedObjectsCollectMultiNamespaceReferencesOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsCollectMultiNamespaceReferencesOptions", + "text": "SavedObjectsCollectMultiNamespaceReferencesOptions" + }, " extends ", - "SavedObjectsBaseOptions" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/collect_multinamespace_references.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -43689,7 +50726,7 @@ "signature": [ "\"collectMultiNamespaceReferences\" | \"updateObjectsSpaces\" | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/collect_multinamespace_references.ts", "deprecated": false, "trackAdoption": false } @@ -43705,10 +50742,7 @@ "description": [ "\nThe response when object references are collected.\n" ], - "signature": [ - "SavedObjectsCollectMultiNamespaceReferencesResponse" - ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/collect_multinamespace_references.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -43720,10 +50754,16 @@ "label": "objects", "description": [], "signature": [ - "SavedObjectReferenceWithContext", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectReferenceWithContext", + "text": "SavedObjectReferenceWithContext" + }, "[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/collect_multinamespace_references.ts", "deprecated": false, "trackAdoption": false } @@ -43740,11 +50780,23 @@ "\n" ], "signature": [ - "SavedObjectsCreateOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsCreateOptions", + "text": "SavedObjectsCreateOptions" + }, " extends ", - "SavedObjectsBaseOptions" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/create.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -43760,7 +50812,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/create.ts", "deprecated": false, "trackAdoption": false }, @@ -43776,7 +50828,7 @@ "signature": [ "boolean | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/create.ts", "deprecated": false, "trackAdoption": false }, @@ -43792,7 +50844,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/create.ts", "deprecated": false, "trackAdoption": false }, @@ -43806,10 +50858,16 @@ "{@inheritDoc SavedObjectsMigrationVersion}" ], "signature": [ - "SavedObjectsMigrationVersion", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectsMigrationVersion", + "text": "SavedObjectsMigrationVersion" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/create.ts", "deprecated": false, "trackAdoption": false }, @@ -43825,7 +50883,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/create.ts", "deprecated": false, "trackAdoption": false }, @@ -43837,10 +50895,16 @@ "label": "references", "description": [], "signature": [ - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[] | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/create.ts", "deprecated": false, "trackAdoption": false }, @@ -43854,10 +50918,16 @@ "The Elasticsearch Refresh setting for this operation" ], "signature": [ - "MutatingOperationRefreshSetting", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.MutatingOperationRefreshSetting", + "text": "MutatingOperationRefreshSetting" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/create.ts", "deprecated": false, "trackAdoption": false }, @@ -43873,7 +50943,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/create.ts", "deprecated": false, "trackAdoption": false }, @@ -43889,7 +50959,7 @@ "signature": [ "string[] | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/create.ts", "deprecated": false, "trackAdoption": false } @@ -43903,10 +50973,7 @@ "tags": [], "label": "SavedObjectsCreatePointInTimeFinderDependencies", "description": [], - "signature": [ - "SavedObjectsCreatePointInTimeFinderDependencies" - ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/create_point_in_time_finder.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -43919,20 +50986,56 @@ "description": [], "signature": [ "{ find: (options: ", - "SavedObjectsFindOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsFindOptions", + "text": "SavedObjectsFindOptions" + }, ") => Promise<", - "SavedObjectsFindResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsFindResponse", + "text": "SavedObjectsFindResponse" + }, ">; closePointInTime: (id: string, options?: ", - "SavedObjectsBaseOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + }, " | undefined) => Promise<", - "SavedObjectsClosePointInTimeResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClosePointInTimeResponse", + "text": "SavedObjectsClosePointInTimeResponse" + }, ">; openPointInTimeForType: (type: string | string[], options?: ", - "SavedObjectsOpenPointInTimeOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsOpenPointInTimeOptions", + "text": "SavedObjectsOpenPointInTimeOptions" + }, " | undefined) => Promise<", - "SavedObjectsOpenPointInTimeResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsOpenPointInTimeResponse", + "text": "SavedObjectsOpenPointInTimeResponse" + }, ">; }" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/create_point_in_time_finder.ts", "deprecated": false, "trackAdoption": false } @@ -43949,11 +51052,23 @@ "\n" ], "signature": [ - "SavedObjectsDeleteByNamespaceOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsDeleteByNamespaceOptions", + "text": "SavedObjectsDeleteByNamespaceOptions" + }, " extends ", - "SavedObjectsBaseOptions" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/delete_by_namespace.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -43969,7 +51084,7 @@ "signature": [ "boolean | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/delete_by_namespace.ts", "deprecated": false, "trackAdoption": false } @@ -43986,11 +51101,23 @@ "\n" ], "signature": [ - "SavedObjectsDeleteOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsDeleteOptions", + "text": "SavedObjectsDeleteOptions" + }, " extends ", - "SavedObjectsBaseOptions" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/delete.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -44004,10 +51131,16 @@ "The Elasticsearch Refresh setting for this operation" ], "signature": [ - "MutatingOperationRefreshSetting", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.MutatingOperationRefreshSetting", + "text": "MutatingOperationRefreshSetting" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/delete.ts", "deprecated": false, "trackAdoption": false }, @@ -44023,7 +51156,7 @@ "signature": [ "boolean | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/delete.ts", "deprecated": false, "trackAdoption": false } @@ -44040,11 +51173,23 @@ "\nOptions for the {@link ISavedObjectsExporter.exportByObjects | export by objects API}\n" ], "signature": [ - "SavedObjectsExportByObjectOptions", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsExportByObjectOptions", + "text": "SavedObjectsExportByObjectOptions" + }, " extends ", - "SavedObjectExportBaseOptions" + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectExportBaseOptions", + "text": "SavedObjectExportBaseOptions" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/export.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -44058,10 +51203,16 @@ "optional array of objects to export." ], "signature": [ - "SavedObjectTypeIdTuple", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectTypeIdTuple", + "text": "SavedObjectTypeIdTuple" + }, "[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/export.ts", "deprecated": false, "trackAdoption": false } @@ -44078,11 +51229,23 @@ "\nOptions for the {@link ISavedObjectsExporter.exportByTypes | export by type API}\n" ], "signature": [ - "SavedObjectsExportByTypeOptions", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsExportByTypeOptions", + "text": "SavedObjectsExportByTypeOptions" + }, " extends ", - "SavedObjectExportBaseOptions" + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectExportBaseOptions", + "text": "SavedObjectExportBaseOptions" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/export.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -44098,7 +51261,7 @@ "signature": [ "string[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/export.ts", "deprecated": false, "trackAdoption": false }, @@ -44112,10 +51275,16 @@ "optional array of references to search object for." ], "signature": [ - "SavedObjectsFindOptionsReference", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsFindOptionsReference", + "text": "SavedObjectsFindOptionsReference" + }, "[] | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/export.ts", "deprecated": false, "trackAdoption": false }, @@ -44131,7 +51300,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/export.ts", "deprecated": false, "trackAdoption": false } @@ -44145,10 +51314,7 @@ "tags": [], "label": "SavedObjectsExportExcludedObject", "description": [], - "signature": [ - "SavedObjectsExportExcludedObject" - ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/export.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -44161,7 +51327,7 @@ "description": [ "id of the excluded object" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/export.ts", "deprecated": false, "trackAdoption": false }, @@ -44174,7 +51340,7 @@ "description": [ "type of the excluded object" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/export.ts", "deprecated": false, "trackAdoption": false }, @@ -44190,7 +51356,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/export.ts", "deprecated": false, "trackAdoption": false } @@ -44206,10 +51372,7 @@ "description": [ "\nStructure of the export result details entry" ], - "signature": [ - "SavedObjectsExportResultDetails" - ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/export.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -44222,7 +51385,7 @@ "description": [ "number of successfully exported objects" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/export.ts", "deprecated": false, "trackAdoption": false }, @@ -44235,7 +51398,7 @@ "description": [ "number of missing references" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/export.ts", "deprecated": false, "trackAdoption": false }, @@ -44249,10 +51412,16 @@ "missing references details" ], "signature": [ - "SavedObjectTypeIdTuple", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectTypeIdTuple", + "text": "SavedObjectTypeIdTuple" + }, "[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/export.ts", "deprecated": false, "trackAdoption": false }, @@ -44265,7 +51434,7 @@ "description": [ "number of objects that were excluded from the export" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/export.ts", "deprecated": false, "trackAdoption": false }, @@ -44279,10 +51448,16 @@ "excluded objects details" ], "signature": [ - "SavedObjectsExportExcludedObject", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsExportExcludedObject", + "text": "SavedObjectsExportExcludedObject" + }, "[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/export.ts", "deprecated": false, "trackAdoption": false } @@ -44298,10 +51473,7 @@ "description": [ "\nContext passed down to a {@link SavedObjectsExportTransform | export transform function}\n" ], - "signature": [ - "SavedObjectsExportTransformContext" - ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/export.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -44315,10 +51487,16 @@ "\nThe request that initiated the export request. Can be used to create scoped\nservices or client inside the {@link SavedObjectsExportTransform | transformation}" ], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/export.ts", "deprecated": false, "trackAdoption": false } @@ -44334,10 +51512,7 @@ "description": [ "\n" ], - "signature": [ - "SavedObjectsFindOptions" - ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/find.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -44351,7 +51526,7 @@ "signature": [ "string | string[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/find.ts", "deprecated": false, "trackAdoption": false }, @@ -44365,7 +51540,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/find.ts", "deprecated": false, "trackAdoption": false }, @@ -44379,7 +51554,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/find.ts", "deprecated": false, "trackAdoption": false }, @@ -44393,7 +51568,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/find.ts", "deprecated": false, "trackAdoption": false }, @@ -44408,7 +51583,7 @@ "SortOrder", " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/find.ts", "deprecated": false, "trackAdoption": false }, @@ -44424,7 +51599,7 @@ "signature": [ "string[] | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/find.ts", "deprecated": false, "trackAdoption": false }, @@ -44440,7 +51615,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/find.ts", "deprecated": false, "trackAdoption": false }, @@ -44456,7 +51631,7 @@ "signature": [ "string[] | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/find.ts", "deprecated": false, "trackAdoption": false }, @@ -44472,7 +51647,7 @@ "signature": [ "string[] | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/find.ts", "deprecated": false, "trackAdoption": false }, @@ -44488,7 +51663,7 @@ "signature": [ "string[] | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/find.ts", "deprecated": false, "trackAdoption": false }, @@ -44502,12 +51677,24 @@ "\nSearch for documents having a reference to the specified objects.\nUse `hasReferenceOperator` to specify the operator to use when searching for multiple references." ], "signature": [ - "SavedObjectsFindOptionsReference", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsFindOptionsReference", + "text": "SavedObjectsFindOptionsReference" + }, " | ", - "SavedObjectsFindOptionsReference", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsFindOptionsReference", + "text": "SavedObjectsFindOptionsReference" + }, "[] | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/find.ts", "deprecated": false, "trackAdoption": false }, @@ -44523,7 +51710,7 @@ "signature": [ "\"AND\" | \"OR\" | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/find.ts", "deprecated": false, "trackAdoption": false }, @@ -44537,12 +51724,24 @@ "\nSearch for documents *not* having a reference to the specified objects.\nUse `hasNoReferenceOperator` to specify the operator to use when searching for multiple references." ], "signature": [ - "SavedObjectsFindOptionsReference", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsFindOptionsReference", + "text": "SavedObjectsFindOptionsReference" + }, " | ", - "SavedObjectsFindOptionsReference", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsFindOptionsReference", + "text": "SavedObjectsFindOptionsReference" + }, "[] | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/find.ts", "deprecated": false, "trackAdoption": false }, @@ -44558,7 +51757,7 @@ "signature": [ "\"AND\" | \"OR\" | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/find.ts", "deprecated": false, "trackAdoption": false }, @@ -44574,7 +51773,7 @@ "signature": [ "\"AND\" | \"OR\" | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/find.ts", "deprecated": false, "trackAdoption": false }, @@ -44588,7 +51787,7 @@ "signature": [ "any" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/find.ts", "deprecated": false, "trackAdoption": false }, @@ -44608,7 +51807,7 @@ "AggregationsAggregationContainer", "> | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/find.ts", "deprecated": false, "trackAdoption": false }, @@ -44622,7 +51821,7 @@ "signature": [ "string[] | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/find.ts", "deprecated": false, "trackAdoption": false }, @@ -44638,7 +51837,7 @@ "signature": [ "Map | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/find.ts", "deprecated": false, "trackAdoption": false }, @@ -44654,7 +51853,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/find.ts", "deprecated": false, "trackAdoption": false }, @@ -44668,10 +51867,16 @@ "\nSearch against a specific Point In Time (PIT) that you've opened with {@link SavedObjectsClient.openPointInTimeForType}." ], "signature": [ - "SavedObjectsPitParams", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsPitParams", + "text": "SavedObjectsPitParams" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/find.ts", "deprecated": false, "trackAdoption": false } @@ -44685,10 +51890,7 @@ "tags": [], "label": "SavedObjectsFindOptionsReference", "description": [], - "signature": [ - "SavedObjectsFindOptionsReference" - ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/find.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -44699,7 +51901,7 @@ "tags": [], "label": "type", "description": [], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/find.ts", "deprecated": false, "trackAdoption": false }, @@ -44710,7 +51912,7 @@ "tags": [], "label": "id", "description": [], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/find.ts", "deprecated": false, "trackAdoption": false } @@ -44727,10 +51929,16 @@ "\nReturn type of the Saved Objects `find()` method.\n\n*Note*: this type is different between the Public and Server Saved Objects\nclients.\n" ], "signature": [ - "SavedObjectsFindResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsFindResponse", + "text": "SavedObjectsFindResponse" + }, "" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/find.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -44744,7 +51952,7 @@ "signature": [ "A | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/find.ts", "deprecated": false, "trackAdoption": false }, @@ -44756,10 +51964,16 @@ "label": "saved_objects", "description": [], "signature": [ - "SavedObjectsFindResult", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsFindResult", + "text": "SavedObjectsFindResult" + }, "[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/find.ts", "deprecated": false, "trackAdoption": false }, @@ -44770,7 +51984,7 @@ "tags": [], "label": "total", "description": [], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/find.ts", "deprecated": false, "trackAdoption": false }, @@ -44781,7 +51995,7 @@ "tags": [], "label": "per_page", "description": [], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/find.ts", "deprecated": false, "trackAdoption": false }, @@ -44792,7 +52006,7 @@ "tags": [], "label": "page", "description": [], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/find.ts", "deprecated": false, "trackAdoption": false }, @@ -44806,7 +52020,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/find.ts", "deprecated": false, "trackAdoption": false } @@ -44823,12 +52037,24 @@ "\n" ], "signature": [ - "SavedObjectsFindResult", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsFindResult", + "text": "SavedObjectsFindResult" + }, " extends ", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/find.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -44841,7 +52067,7 @@ "description": [ "\nThe Elasticsearch `_score` of this result." ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/find.ts", "deprecated": false, "trackAdoption": false }, @@ -44857,7 +52083,7 @@ "signature": [ "string[] | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/find.ts", "deprecated": false, "trackAdoption": false } @@ -44873,10 +52099,7 @@ "description": [ "\nA warning meant to notify that a specific user action is required to finalize the import\nof some type of object.\n" ], - "signature": [ - "SavedObjectsImportActionRequiredWarning" - ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -44890,7 +52113,7 @@ "signature": [ "\"action_required\"" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false }, @@ -44903,7 +52126,7 @@ "description": [ "The translated message to display to the user." ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false }, @@ -44916,7 +52139,7 @@ "description": [ "The path (without the basePath) that the user should be redirect to address this warning." ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false }, @@ -44932,7 +52155,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false } @@ -44948,10 +52171,7 @@ "description": [ "\nRepresents a failure to import due to a conflict, which can be resolved in different ways with an overwrite." ], - "signature": [ - "SavedObjectsImportAmbiguousConflictError" - ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -44965,7 +52185,7 @@ "signature": [ "\"ambiguous_conflict\"" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false }, @@ -44979,7 +52199,7 @@ "signature": [ "{ id: string; title?: string | undefined; updatedAt?: string | undefined; }[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false } @@ -44995,10 +52215,7 @@ "description": [ "\nRepresents a failure to import due to a conflict." ], - "signature": [ - "SavedObjectsImportConflictError" - ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -45012,7 +52229,7 @@ "signature": [ "\"conflict\"" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false }, @@ -45026,7 +52243,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false } @@ -45042,10 +52259,7 @@ "description": [ "\nRepresents a failure to import." ], - "signature": [ - "SavedObjectsImportFailure" - ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -45056,7 +52270,7 @@ "tags": [], "label": "id", "description": [], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false }, @@ -45067,7 +52281,7 @@ "tags": [], "label": "type", "description": [], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false }, @@ -45081,7 +52295,7 @@ "signature": [ "{ title?: string | undefined; icon?: string | undefined; }" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false }, @@ -45097,7 +52311,7 @@ "signature": [ "boolean | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false }, @@ -45109,17 +52323,47 @@ "label": "error", "description": [], "signature": [ - "SavedObjectsImportConflictError", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectsImportConflictError", + "text": "SavedObjectsImportConflictError" + }, " | ", - "SavedObjectsImportAmbiguousConflictError", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectsImportAmbiguousConflictError", + "text": "SavedObjectsImportAmbiguousConflictError" + }, " | ", - "SavedObjectsImportUnsupportedTypeError", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectsImportUnsupportedTypeError", + "text": "SavedObjectsImportUnsupportedTypeError" + }, " | ", - "SavedObjectsImportMissingReferencesError", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectsImportMissingReferencesError", + "text": "SavedObjectsImportMissingReferencesError" + }, " | ", - "SavedObjectsImportUnknownError" + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectsImportUnknownError", + "text": "SavedObjectsImportUnknownError" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false } @@ -45135,10 +52379,7 @@ "description": [ "\nResult from a {@link SavedObjectsImportHook | import hook}\n" ], - "signature": [ - "SavedObjectsImportHookResult" - ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/import.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -45152,10 +52393,16 @@ "\nAn optional list of warnings to display in the UI when the import succeeds." ], "signature": [ - "SavedObjectsImportWarning", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectsImportWarning", + "text": "SavedObjectsImportWarning" + }, "[] | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/import.ts", "deprecated": false, "trackAdoption": false } @@ -45171,10 +52418,7 @@ "description": [ "\nRepresents a failure to import due to missing references." ], - "signature": [ - "SavedObjectsImportMissingReferencesError" - ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -45188,7 +52432,7 @@ "signature": [ "\"missing_references\"" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false }, @@ -45202,7 +52446,7 @@ "signature": [ "{ type: string; id: string; }[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false } @@ -45218,10 +52462,7 @@ "description": [ "\nOptions to control the import operation." ], - "signature": [ - "SavedObjectsImportOptions" - ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/import.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -45237,7 +52478,7 @@ "signature": [ "Readable" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/import.ts", "deprecated": false, "trackAdoption": false }, @@ -45250,7 +52491,7 @@ "description": [ "If true, will override existing object if present. Note: this has no effect when used with the `createNewCopies` option." ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/import.ts", "deprecated": false, "trackAdoption": false }, @@ -45266,7 +52507,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/import.ts", "deprecated": false, "trackAdoption": false }, @@ -45279,7 +52520,7 @@ "description": [ "If true, will create new copies of import objects, each with a random `id` and undefined `originId`." ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/import.ts", "deprecated": false, "trackAdoption": false }, @@ -45295,7 +52536,7 @@ "signature": [ "boolean | \"wait_for\" | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/import.ts", "deprecated": false, "trackAdoption": false } @@ -45311,10 +52552,7 @@ "description": [ "\nThe response describing the result of an import." ], - "signature": [ - "SavedObjectsImportResponse" - ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -45325,7 +52563,7 @@ "tags": [], "label": "success", "description": [], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false }, @@ -45336,7 +52574,7 @@ "tags": [], "label": "successCount", "description": [], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false }, @@ -45348,10 +52586,16 @@ "label": "successResults", "description": [], "signature": [ - "SavedObjectsImportSuccess", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectsImportSuccess", + "text": "SavedObjectsImportSuccess" + }, "[] | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false }, @@ -45363,10 +52607,16 @@ "label": "warnings", "description": [], "signature": [ - "SavedObjectsImportWarning", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectsImportWarning", + "text": "SavedObjectsImportWarning" + }, "[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false }, @@ -45378,10 +52628,16 @@ "label": "errors", "description": [], "signature": [ - "SavedObjectsImportFailure", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectsImportFailure", + "text": "SavedObjectsImportFailure" + }, "[] | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false } @@ -45397,10 +52653,7 @@ "description": [ "\nDescribes a retry operation for importing a saved object." ], - "signature": [ - "SavedObjectsImportRetry" - ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -45411,7 +52664,7 @@ "tags": [], "label": "type", "description": [], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false }, @@ -45422,7 +52675,7 @@ "tags": [], "label": "id", "description": [], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false }, @@ -45433,7 +52686,7 @@ "tags": [], "label": "overwrite", "description": [], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false }, @@ -45449,7 +52702,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false }, @@ -45463,7 +52716,7 @@ "signature": [ "{ type: string; from: string; to: string; }[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false }, @@ -45479,7 +52732,7 @@ "signature": [ "boolean | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false }, @@ -45495,7 +52748,7 @@ "signature": [ "boolean | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false } @@ -45511,10 +52764,7 @@ "description": [ "\nA simple informative warning that will be displayed to the user.\n" ], - "signature": [ - "SavedObjectsImportSimpleWarning" - ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -45528,7 +52778,7 @@ "signature": [ "\"simple\"" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false }, @@ -45541,7 +52791,7 @@ "description": [ "The translated message to display to the user" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false } @@ -45557,10 +52807,7 @@ "description": [ "\nRepresents a successful import." ], - "signature": [ - "SavedObjectsImportSuccess" - ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -45571,7 +52818,7 @@ "tags": [], "label": "id", "description": [], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false }, @@ -45582,7 +52829,7 @@ "tags": [], "label": "type", "description": [], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false }, @@ -45598,7 +52845,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false }, @@ -45614,7 +52861,7 @@ "signature": [ "boolean | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": true, "trackAdoption": false, "references": [ @@ -45638,7 +52885,7 @@ "signature": [ "{ title?: string | undefined; icon?: string | undefined; }" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false }, @@ -45654,7 +52901,7 @@ "signature": [ "boolean | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false } @@ -45670,10 +52917,7 @@ "description": [ "\nRepresents a failure to import due to an unknown reason." ], - "signature": [ - "SavedObjectsImportUnknownError" - ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -45687,7 +52931,7 @@ "signature": [ "\"unknown\"" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false }, @@ -45698,7 +52942,7 @@ "tags": [], "label": "message", "description": [], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false }, @@ -45709,7 +52953,7 @@ "tags": [], "label": "statusCode", "description": [], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false } @@ -45725,10 +52969,7 @@ "description": [ "\nRepresents a failure to import due to having an unsupported saved object type." ], - "signature": [ - "SavedObjectsImportUnsupportedTypeError" - ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -45742,7 +52983,7 @@ "signature": [ "\"unsupported_type\"" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false } @@ -45756,10 +52997,7 @@ "tags": [], "label": "SavedObjectsIncrementCounterField", "description": [], - "signature": [ - "SavedObjectsIncrementCounterField" - ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/increment_counter.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -45772,7 +53010,7 @@ "description": [ "The field name to increment the counter by." ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/increment_counter.ts", "deprecated": false, "trackAdoption": false }, @@ -45788,7 +53026,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/increment_counter.ts", "deprecated": false, "trackAdoption": false } @@ -45803,11 +53041,23 @@ "label": "SavedObjectsIncrementCounterOptions", "description": [], "signature": [ - "SavedObjectsIncrementCounterOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsIncrementCounterOptions", + "text": "SavedObjectsIncrementCounterOptions" + }, " extends ", - "SavedObjectsBaseOptions" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/increment_counter.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -45823,7 +53073,7 @@ "signature": [ "boolean | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/increment_counter.ts", "deprecated": false, "trackAdoption": false }, @@ -45837,10 +53087,16 @@ "{@link SavedObjectsMigrationVersion}" ], "signature": [ - "SavedObjectsMigrationVersion", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectsMigrationVersion", + "text": "SavedObjectsMigrationVersion" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/increment_counter.ts", "deprecated": false, "trackAdoption": false }, @@ -45854,10 +53110,16 @@ "\n(default='wait_for') The Elasticsearch refresh setting for this\noperation. See {@link MutatingOperationRefreshSetting}" ], "signature": [ - "MutatingOperationRefreshSetting", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.MutatingOperationRefreshSetting", + "text": "MutatingOperationRefreshSetting" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/increment_counter.ts", "deprecated": false, "trackAdoption": false }, @@ -45873,7 +53135,7 @@ "signature": [ "Attributes | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/increment_counter.ts", "deprecated": false, "trackAdoption": false } @@ -45889,10 +53151,7 @@ "description": [ "\nDescribe the fields of a {@link SavedObjectsTypeMappingDefinition | saved object type}.\n" ], - "signature": [ - "SavedObjectsMappingProperties" - ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/mapping_definition.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -45905,9 +53164,15 @@ "description": [], "signature": [ "[field: string]: ", - "SavedObjectsFieldMapping" + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsFieldMapping", + "text": "SavedObjectsFieldMapping" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/mapping_definition.ts", "deprecated": false, "trackAdoption": false } @@ -45921,10 +53186,7 @@ "tags": [], "label": "SavedObjectsMigrationLogger", "description": [], - "signature": [ - "SavedObjectsMigrationLogger" - ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/migration.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -45938,7 +53200,7 @@ "signature": [ "(msg: string) => void" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/migration.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -45952,7 +53214,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/migration.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -45970,7 +53232,7 @@ "signature": [ "(msg: string) => void" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/migration.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -45984,7 +53246,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/migration.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -46004,7 +53266,7 @@ "signature": [ "(msg: string) => void" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/migration.ts", "deprecated": true, "removeBy": "8.8.0", "trackAdoption": false, @@ -46041,7 +53303,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/migration.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -46059,7 +53321,7 @@ "signature": [ "(msg: string) => void" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/migration.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -46073,7 +53335,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/migration.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -46090,12 +53352,24 @@ "description": [], "signature": [ "(msg: string, meta: Meta) => void" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/migration.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -46109,7 +53383,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/migration.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -46124,7 +53398,7 @@ "signature": [ "Meta" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/migration.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -46144,10 +53418,7 @@ "description": [ "\nInformation about the migrations that have been applied to this SavedObject.\nWhen Kibana starts up, KibanaMigrator detects outdated documents and\nmigrates them based on this value. For each migration that has been applied,\nthe plugin's name is used as a key and the latest migration version as the\nvalue.\n" ], - "signature": [ - "SavedObjectsMigrationVersion" - ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -46161,7 +53432,7 @@ "signature": [ "[pluginName: string]: string" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false } @@ -46175,10 +53446,7 @@ "tags": [], "label": "SavedObjectsOpenPointInTimeOptions", "description": [], - "signature": [ - "SavedObjectsOpenPointInTimeOptions" - ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/open_point_in_time_for_type.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -46194,7 +53462,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/open_point_in_time_for_type.ts", "deprecated": false, "trackAdoption": false }, @@ -46210,7 +53478,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/open_point_in_time_for_type.ts", "deprecated": false, "trackAdoption": false }, @@ -46226,7 +53494,7 @@ "signature": [ "string[] | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/open_point_in_time_for_type.ts", "deprecated": false, "trackAdoption": false } @@ -46240,10 +53508,7 @@ "tags": [], "label": "SavedObjectsOpenPointInTimeResponse", "description": [], - "signature": [ - "SavedObjectsOpenPointInTimeResponse" - ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/open_point_in_time_for_type.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -46256,7 +53521,7 @@ "description": [ "\nPIT ID returned from ES." ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/open_point_in_time_for_type.ts", "deprecated": false, "trackAdoption": false } @@ -46270,10 +53535,7 @@ "tags": [], "label": "SavedObjectsPitParams", "description": [], - "signature": [ - "SavedObjectsPitParams" - ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/find.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -46284,7 +53546,7 @@ "tags": [], "label": "id", "description": [], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/find.ts", "deprecated": false, "trackAdoption": false }, @@ -46298,7 +53560,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/find.ts", "deprecated": false, "trackAdoption": false } @@ -46314,10 +53576,7 @@ "description": [ "\nA raw document as represented directly in the saved object index.\n" ], - "signature": [ - "SavedObjectsRawDoc" - ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/serialization.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -46328,7 +53587,7 @@ "tags": [], "label": "_id", "description": [], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/serialization.ts", "deprecated": false, "trackAdoption": false }, @@ -46340,9 +53599,15 @@ "label": "_source", "description": [], "signature": [ - "SavedObjectsRawDocSource" + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsRawDocSource", + "text": "SavedObjectsRawDocSource" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/serialization.ts", "deprecated": false, "trackAdoption": false }, @@ -46356,7 +53621,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/serialization.ts", "deprecated": false, "trackAdoption": false }, @@ -46370,7 +53635,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/serialization.ts", "deprecated": false, "trackAdoption": false } @@ -46386,10 +53651,7 @@ "description": [ "\nOptions that can be specified when using the saved objects serializer to parse a raw document.\n" ], - "signature": [ - "SavedObjectsRawDocParseOptions" - ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/serialization.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -46405,7 +53667,7 @@ "signature": [ "\"strict\" | \"lax\" | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/serialization.ts", "deprecated": false, "trackAdoption": false } @@ -46419,10 +53681,7 @@ "tags": [], "label": "SavedObjectsRawDocSource", "description": [], - "signature": [ - "SavedObjectsRawDocSource" - ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/serialization.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -46433,7 +53692,7 @@ "tags": [], "label": "type", "description": [], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/serialization.ts", "deprecated": false, "trackAdoption": false }, @@ -46447,7 +53706,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/serialization.ts", "deprecated": false, "trackAdoption": false }, @@ -46461,7 +53720,7 @@ "signature": [ "string[] | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/serialization.ts", "deprecated": false, "trackAdoption": false }, @@ -46473,10 +53732,16 @@ "label": "migrationVersion", "description": [], "signature": [ - "SavedObjectsMigrationVersion", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectsMigrationVersion", + "text": "SavedObjectsMigrationVersion" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/serialization.ts", "deprecated": false, "trackAdoption": false }, @@ -46490,7 +53755,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/serialization.ts", "deprecated": false, "trackAdoption": false }, @@ -46504,7 +53769,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/serialization.ts", "deprecated": false, "trackAdoption": false }, @@ -46516,10 +53781,16 @@ "label": "references", "description": [], "signature": [ - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[] | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/serialization.ts", "deprecated": false, "trackAdoption": false }, @@ -46533,7 +53804,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/serialization.ts", "deprecated": false, "trackAdoption": false }, @@ -46547,7 +53818,7 @@ "signature": [ "[typeMapping: string]: any" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/serialization.ts", "deprecated": false, "trackAdoption": false } @@ -46564,11 +53835,23 @@ "\n" ], "signature": [ - "SavedObjectsRemoveReferencesToOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsRemoveReferencesToOptions", + "text": "SavedObjectsRemoveReferencesToOptions" + }, " extends ", - "SavedObjectsBaseOptions" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/remove_references_to.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -46584,7 +53867,7 @@ "signature": [ "boolean | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/remove_references_to.ts", "deprecated": false, "trackAdoption": false } @@ -46601,11 +53884,23 @@ "\n" ], "signature": [ - "SavedObjectsRemoveReferencesToResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsRemoveReferencesToResponse", + "text": "SavedObjectsRemoveReferencesToResponse" + }, " extends ", - "SavedObjectsBaseOptions" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/remove_references_to.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -46618,7 +53913,7 @@ "description": [ "The number of objects that have been updated by this operation" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/remove_references_to.ts", "deprecated": false, "trackAdoption": false } @@ -46634,10 +53929,7 @@ "description": [ "\nFactory provided when invoking a {@link SavedObjectsClientFactoryProvider | client factory provider}\nSee {@link SavedObjectsServiceSetup.setClientFactoryProvider}\n" ], - "signature": [ - "SavedObjectsRepositoryFactory" - ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/client_factory.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -46652,11 +53944,23 @@ ], "signature": [ "(req: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ", includedHiddenTypes?: string[] | undefined) => ", - "ISavedObjectsRepository" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.ISavedObjectsRepository", + "text": "ISavedObjectsRepository" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/client_factory.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -46668,10 +53972,16 @@ "label": "req", "description": [], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/client_factory.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -46688,7 +53998,7 @@ "signature": [ "string[] | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/client_factory.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -46707,9 +54017,15 @@ ], "signature": [ "(includedHiddenTypes?: string[] | undefined) => ", - "ISavedObjectsRepository" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.ISavedObjectsRepository", + "text": "ISavedObjectsRepository" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/client_factory.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -46725,7 +54041,7 @@ "signature": [ "string[] | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/client_factory.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -46745,10 +54061,7 @@ "description": [ "\nCore's `savedObjects` request handler context." ], - "signature": [ - "SavedObjectsRequestHandlerContext" - ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/request_handler_context.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -46760,9 +54073,15 @@ "label": "client", "description": [], "signature": [ - "SavedObjectsClientContract" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/request_handler_context.ts", "deprecated": false, "trackAdoption": false }, @@ -46774,9 +54093,15 @@ "label": "typeRegistry", "description": [], "signature": [ - "ISavedObjectTypeRegistry" + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.ISavedObjectTypeRegistry", + "text": "ISavedObjectTypeRegistry" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/request_handler_context.ts", "deprecated": false, "trackAdoption": false }, @@ -46789,11 +54114,23 @@ "description": [], "signature": [ "(options?: ", - "SavedObjectsClientProviderOptions", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsClientProviderOptions", + "text": "SavedObjectsClientProviderOptions" + }, " | undefined) => ", - "SavedObjectsClientContract" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/request_handler_context.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -46805,10 +54142,16 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsClientProviderOptions", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsClientProviderOptions", + "text": "SavedObjectsClientProviderOptions" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/request_handler_context.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -46825,11 +54168,23 @@ "description": [], "signature": [ "(client: ", - "SavedObjectsClientContract", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + }, ") => ", - "ISavedObjectsExporter" + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.ISavedObjectsExporter", + "text": "ISavedObjectsExporter" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/request_handler_context.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -46841,9 +54196,15 @@ "label": "client", "description": [], "signature": [ - "SavedObjectsClientContract" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/request_handler_context.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -46860,11 +54221,23 @@ "description": [], "signature": [ "(client: ", - "SavedObjectsClientContract", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + }, ") => ", - "ISavedObjectsImporter" + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.ISavedObjectsImporter", + "text": "ISavedObjectsImporter" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/request_handler_context.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -46876,9 +54249,15 @@ "label": "client", "description": [], "signature": [ - "SavedObjectsClientContract" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/request_handler_context.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -46898,10 +54277,7 @@ "description": [ "\nOptions to control the \"resolve import\" operation." ], - "signature": [ - "SavedObjectsResolveImportErrorsOptions" - ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/import.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -46917,7 +54293,7 @@ "signature": [ "Readable" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/import.ts", "deprecated": false, "trackAdoption": false }, @@ -46931,10 +54307,16 @@ "saved object import references to retry" ], "signature": [ - "SavedObjectsImportRetry", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectsImportRetry", + "text": "SavedObjectsImportRetry" + }, "[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/import.ts", "deprecated": false, "trackAdoption": false }, @@ -46950,7 +54332,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/import.ts", "deprecated": false, "trackAdoption": false }, @@ -46963,7 +54345,7 @@ "description": [ "If true, will create new copies of import objects, each with a random `id` and undefined `originId`." ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/import.ts", "deprecated": false, "trackAdoption": false } @@ -46980,10 +54362,16 @@ "\n" ], "signature": [ - "SavedObjectsResolveResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsResolveResponse", + "text": "SavedObjectsResolveResponse" + }, "" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/resolve.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -46997,10 +54385,16 @@ "\nThe saved object that was found." ], "signature": [ - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/resolve.ts", "deprecated": false, "trackAdoption": false }, @@ -47016,7 +54410,7 @@ "signature": [ "\"conflict\" | \"exactMatch\" | \"aliasMatch\"" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/resolve.ts", "deprecated": false, "trackAdoption": false }, @@ -47032,7 +54426,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/resolve.ts", "deprecated": false, "trackAdoption": false }, @@ -47048,7 +54442,7 @@ "signature": [ "\"savedObjectConversion\" | \"savedObjectImport\" | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/resolve.ts", "deprecated": false, "trackAdoption": false } @@ -47064,10 +54458,7 @@ "description": [ "\nSaved Objects is Kibana's data persistence mechanism allowing plugins to\nuse Elasticsearch for storing and querying state. The SavedObjectsServiceSetup API exposes methods\nfor registering Saved Object types, creating and registering Saved Object client wrappers and factories.\n" ], - "signature": [ - "SavedObjectsServiceSetup" - ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -47082,10 +54473,16 @@ ], "signature": [ "(clientFactoryProvider: ", - "SavedObjectsClientFactoryProvider", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsClientFactoryProvider", + "text": "SavedObjectsClientFactoryProvider" + }, ") => void" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -47097,9 +54494,15 @@ "label": "clientFactoryProvider", "description": [], "signature": [ - "SavedObjectsClientFactoryProvider" + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsClientFactoryProvider", + "text": "SavedObjectsClientFactoryProvider" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -47118,10 +54521,16 @@ ], "signature": [ "(priority: number, id: string, factory: ", - "SavedObjectsClientWrapperFactory", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsClientWrapperFactory", + "text": "SavedObjectsClientWrapperFactory" + }, ") => void" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -47135,7 +54544,7 @@ "signature": [ "number" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -47150,7 +54559,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -47163,9 +54572,15 @@ "label": "factory", "description": [], "signature": [ - "SavedObjectsClientWrapperFactory" + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsClientWrapperFactory", + "text": "SavedObjectsClientWrapperFactory" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -47184,10 +54599,16 @@ ], "signature": [ "(type: ", - "SavedObjectsType", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsType", + "text": "SavedObjectsType" + }, ") => void" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -47199,10 +54620,16 @@ "label": "type", "description": [], "signature": [ - "SavedObjectsType", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsType", + "text": "SavedObjectsType" + }, "" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -47222,7 +54649,7 @@ "signature": [ "() => string" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -47240,10 +54667,7 @@ "description": [ "\nSaved Objects is Kibana's data persistence mechanism allowing plugins to\nuse Elasticsearch for storing and querying state. The\nSavedObjectsServiceStart API provides a scoped Saved Objects client for\ninteracting with Saved Objects.\n" ], - "signature": [ - "SavedObjectsServiceStart" - ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -47258,13 +54682,31 @@ ], "signature": [ "(req: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ", options?: ", - "SavedObjectsClientProviderOptions", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsClientProviderOptions", + "text": "SavedObjectsClientProviderOptions" + }, " | undefined) => ", - "SavedObjectsClientContract" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -47276,10 +54718,16 @@ "label": "req", "description": [], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -47292,10 +54740,16 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsClientProviderOptions", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsClientProviderOptions", + "text": "SavedObjectsClientProviderOptions" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -47314,11 +54768,23 @@ ], "signature": [ "(req: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ", includedHiddenTypes?: string[] | undefined) => ", - "ISavedObjectsRepository" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.ISavedObjectsRepository", + "text": "ISavedObjectsRepository" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -47332,10 +54798,16 @@ "- The request to create the scoped repository from." ], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -47352,7 +54824,7 @@ "signature": [ "string[] | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -47371,9 +54843,15 @@ ], "signature": [ "(includedHiddenTypes?: string[] | undefined) => ", - "ISavedObjectsRepository" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.ISavedObjectsRepository", + "text": "ISavedObjectsRepository" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -47389,7 +54867,7 @@ "signature": [ "string[] | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -47408,9 +54886,15 @@ ], "signature": [ "() => ", - "ISavedObjectsSerializer" + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.ISavedObjectsSerializer", + "text": "ISavedObjectsSerializer" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -47427,11 +54911,23 @@ ], "signature": [ "(client: ", - "SavedObjectsClientContract", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + }, ") => ", - "ISavedObjectsExporter" + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.ISavedObjectsExporter", + "text": "ISavedObjectsExporter" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -47443,9 +54939,15 @@ "label": "client", "description": [], "signature": [ - "SavedObjectsClientContract" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -47464,11 +54966,23 @@ ], "signature": [ "(client: ", - "SavedObjectsClientContract", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + }, ") => ", - "ISavedObjectsImporter" + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.ISavedObjectsImporter", + "text": "ISavedObjectsImporter" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -47480,9 +54994,15 @@ "label": "client", "description": [], "signature": [ - "SavedObjectsClientContract" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -47501,9 +55021,15 @@ ], "signature": [ "() => ", - "ISavedObjectTypeRegistry" + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.ISavedObjectTypeRegistry", + "text": "ISavedObjectTypeRegistry" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -47521,10 +55047,7 @@ "description": [ "\nMeta information about the SavedObjectService's status. Available to plugins via {@link CoreSetup.status}.\n" ], - "signature": [ - "SavedObjectStatusMeta" - ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/saved_objects_status.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -47538,7 +55061,7 @@ "signature": [ "{ [status: string]: number; skipped: number; migrated: number; }" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/saved_objects_status.ts", "deprecated": false, "trackAdoption": false } @@ -47553,10 +55076,16 @@ "label": "SavedObjectsType", "description": [], "signature": [ - "SavedObjectsType", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsType", + "text": "SavedObjectsType" + }, "" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/saved_objects_type.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -47569,7 +55098,7 @@ "description": [ "\nThe name of the type, which is also used as the internal id." ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/saved_objects_type.ts", "deprecated": false, "trackAdoption": false }, @@ -47582,7 +55111,7 @@ "description": [ "\nIs the type hidden by default. If true, repositories will not have access to this type unless explicitly\ndeclared as an `extraType` when creating the repository.\n\nSee {@link SavedObjectsServiceStart.createInternalRepository | createInternalRepository}." ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/saved_objects_type.ts", "deprecated": false, "trackAdoption": false }, @@ -47598,7 +55127,7 @@ "signature": [ "\"single\" | \"multiple\" | \"multiple-isolated\" | \"agnostic\"" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/saved_objects_type.ts", "deprecated": false, "trackAdoption": false }, @@ -47614,7 +55143,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/saved_objects_type.ts", "deprecated": false, "trackAdoption": false }, @@ -47630,7 +55159,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/saved_objects_type.ts", "deprecated": false, "trackAdoption": false }, @@ -47644,10 +55173,16 @@ "\nIf defined, allows a type to exclude unneeded documents from the migration process and effectively be deleted.\nSee {@link SavedObjectTypeExcludeFromUpgradeFilterHook} for more details." ], "signature": [ - "SavedObjectTypeExcludeFromUpgradeFilterHook", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectTypeExcludeFromUpgradeFilterHook", + "text": "SavedObjectTypeExcludeFromUpgradeFilterHook" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/saved_objects_type.ts", "deprecated": false, "trackAdoption": false }, @@ -47661,9 +55196,15 @@ "\nThe {@link SavedObjectsTypeMappingDefinition | mapping definition} for the type." ], "signature": [ - "SavedObjectsTypeMappingDefinition" + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsTypeMappingDefinition", + "text": "SavedObjectsTypeMappingDefinition" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/saved_objects_type.ts", "deprecated": false, "trackAdoption": false }, @@ -47677,12 +55218,24 @@ "\nAn optional map of {@link SavedObjectMigrationFn | migrations} or a function returning a map of {@link SavedObjectMigrationFn | migrations} to be used to migrate the type." ], "signature": [ - "SavedObjectMigrationMap", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectMigrationMap", + "text": "SavedObjectMigrationMap" + }, " | (() => ", - "SavedObjectMigrationMap", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectMigrationMap", + "text": "SavedObjectMigrationMap" + }, ") | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/saved_objects_type.ts", "deprecated": false, "trackAdoption": false }, @@ -47696,12 +55249,24 @@ "\nAn optional schema that can be used to validate the attributes of the type.\n\nWhen provided, calls to {@link SavedObjectsClient.create | create} will be validated against this schema.\n\nSee {@link SavedObjectsValidationMap} for more details." ], "signature": [ - "SavedObjectsValidationMap", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsValidationMap", + "text": "SavedObjectsValidationMap" + }, " | (() => ", - "SavedObjectsValidationMap", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsValidationMap", + "text": "SavedObjectsValidationMap" + }, ") | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/saved_objects_type.ts", "deprecated": false, "trackAdoption": false }, @@ -47717,7 +55282,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/saved_objects_type.ts", "deprecated": false, "trackAdoption": false }, @@ -47731,10 +55296,16 @@ "\nAn optional {@link SavedObjectsTypeManagementDefinition | saved objects management section} definition for the type." ], "signature": [ - "SavedObjectsTypeManagementDefinition", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsTypeManagementDefinition", + "text": "SavedObjectsTypeManagementDefinition" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/saved_objects_type.ts", "deprecated": false, "trackAdoption": false } @@ -47751,10 +55322,16 @@ "\nConfiguration options for the {@link SavedObjectsType | type}'s management section.\n" ], "signature": [ - "SavedObjectsTypeManagementDefinition", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsTypeManagementDefinition", + "text": "SavedObjectsTypeManagementDefinition" + }, "" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/saved_objects_management.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -47770,7 +55347,7 @@ "signature": [ "boolean | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/saved_objects_management.ts", "deprecated": false, "trackAdoption": false }, @@ -47786,7 +55363,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/saved_objects_management.ts", "deprecated": false, "trackAdoption": false }, @@ -47802,7 +55379,7 @@ "signature": [ "boolean | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/saved_objects_management.ts", "deprecated": false, "trackAdoption": false }, @@ -47818,7 +55395,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/saved_objects_management.ts", "deprecated": false, "trackAdoption": false }, @@ -47834,7 +55411,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/saved_objects_management.ts", "deprecated": false, "trackAdoption": false }, @@ -47849,10 +55426,16 @@ ], "signature": [ "((savedObject: ", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, ") => string) | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/saved_objects_management.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -47864,10 +55447,16 @@ "label": "savedObject", "description": [], "signature": [ - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/saved_objects_management.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -47886,10 +55475,16 @@ ], "signature": [ "((savedObject: ", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, ") => string) | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/saved_objects_management.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -47901,10 +55496,16 @@ "label": "savedObject", "description": [], "signature": [ - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/saved_objects_management.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -47923,10 +55524,16 @@ ], "signature": [ "((savedObject: ", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, ") => { path: string; uiCapabilitiesPath: string; }) | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/saved_objects_management.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -47938,10 +55545,16 @@ "label": "savedObject", "description": [], "signature": [ - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/saved_objects_management.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -47961,10 +55574,16 @@ "\nAn optional export transform function that can be used transform the objects of the registered type during\nthe export process.\n\nIt can be used to either mutate the exported objects, or add additional objects (of any type) to the export list.\n\nSee {@link SavedObjectsExportTransform | the transform type documentation} for more info and examples.\n\nWhen implementing both `isExportable` and `onExport`, it is mandatory that\n`isExportable` returns the same value for an object before and after going\nthough the export transform.\nE.g `isExportable(objectBeforeTransform) === isExportable(objectAfterTransform)`\n" ], "signature": [ - "SavedObjectsExportTransform", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsExportTransform", + "text": "SavedObjectsExportTransform" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/saved_objects_management.ts", "deprecated": false, "trackAdoption": false }, @@ -47978,10 +55597,16 @@ "\nAn optional {@link SavedObjectsImportHook | import hook} to use when importing given type.\n\nImport hooks are executed during the savedObjects import process and allow to interact\nwith the imported objects. See the {@link SavedObjectsImportHook | hook documentation}\nfor more info.\n" ], "signature": [ - "SavedObjectsImportHook", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsImportHook", + "text": "SavedObjectsImportHook" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/saved_objects_management.ts", "deprecated": false, "trackAdoption": false }, @@ -47995,10 +55620,16 @@ "\nOptional hook to specify whether an object should be exportable.\n\nIf specified, `isExportable` will be called during export for each\nof this type's objects in the export, and the ones not matching the\npredicate will be excluded from the export.\n\nWhen implementing both `isExportable` and `onExport`, it is mandatory that\n`isExportable` returns the same value for an object before and after going\nthough the export transform.\nE.g `isExportable(objectBeforeTransform) === isExportable(objectAfterTransform)`\n" ], "signature": [ - "SavedObjectsExportablePredicate", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsExportablePredicate", + "text": "SavedObjectsExportablePredicate" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/saved_objects_management.ts", "deprecated": false, "trackAdoption": false } @@ -48014,10 +55645,7 @@ "description": [ "\nDescribe a saved object type mapping.\n" ], - "signature": [ - "SavedObjectsTypeMappingDefinition" - ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/mapping_definition.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -48033,7 +55661,7 @@ "signature": [ "false | \"strict\" | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/mapping_definition.ts", "deprecated": false, "trackAdoption": false }, @@ -48047,9 +55675,15 @@ "The underlying properties of the type mapping" ], "signature": [ - "SavedObjectsMappingProperties" + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsMappingProperties", + "text": "SavedObjectsMappingProperties" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/mapping_definition.ts", "deprecated": false, "trackAdoption": false } @@ -48065,10 +55699,7 @@ "description": [ "\nAn object that should have its spaces updated.\n" ], - "signature": [ - "SavedObjectsUpdateObjectsSpacesObject" - ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/update_objects_spaces.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -48081,7 +55712,7 @@ "description": [ "The type of the object to update" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/update_objects_spaces.ts", "deprecated": false, "trackAdoption": false }, @@ -48094,7 +55725,7 @@ "description": [ "The ID of the object to update" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/update_objects_spaces.ts", "deprecated": false, "trackAdoption": false } @@ -48111,11 +55742,23 @@ "\nOptions for the update operation.\n" ], "signature": [ - "SavedObjectsUpdateObjectsSpacesOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsUpdateObjectsSpacesOptions", + "text": "SavedObjectsUpdateObjectsSpacesOptions" + }, " extends ", - "SavedObjectsBaseOptions" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/update_objects_spaces.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -48129,10 +55772,16 @@ "The Elasticsearch Refresh setting for this operation" ], "signature": [ - "MutatingOperationRefreshSetting", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.MutatingOperationRefreshSetting", + "text": "MutatingOperationRefreshSetting" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/update_objects_spaces.ts", "deprecated": false, "trackAdoption": false } @@ -48148,10 +55797,7 @@ "description": [ "\nThe response when objects' spaces are updated.\n" ], - "signature": [ - "SavedObjectsUpdateObjectsSpacesResponse" - ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/update_objects_spaces.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -48163,10 +55809,16 @@ "label": "objects", "description": [], "signature": [ - "SavedObjectsUpdateObjectsSpacesResponseObject", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsUpdateObjectsSpacesResponseObject", + "text": "SavedObjectsUpdateObjectsSpacesResponseObject" + }, "[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/update_objects_spaces.ts", "deprecated": false, "trackAdoption": false } @@ -48182,10 +55834,7 @@ "description": [ "\nDetails about a specific object's update result.\n" ], - "signature": [ - "SavedObjectsUpdateObjectsSpacesResponseObject" - ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/update_objects_spaces.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -48198,7 +55847,7 @@ "description": [ "The type of the referenced object" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/update_objects_spaces.ts", "deprecated": false, "trackAdoption": false }, @@ -48211,7 +55860,7 @@ "description": [ "The ID of the referenced object" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/update_objects_spaces.ts", "deprecated": false, "trackAdoption": false }, @@ -48227,7 +55876,7 @@ "signature": [ "string[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/update_objects_spaces.ts", "deprecated": false, "trackAdoption": false }, @@ -48241,10 +55890,16 @@ "Included if there was an error updating this object's spaces" ], "signature": [ - "SavedObjectError", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectError", + "text": "SavedObjectError" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/update_objects_spaces.ts", "deprecated": false, "trackAdoption": false } @@ -48261,11 +55916,23 @@ "\n" ], "signature": [ - "SavedObjectsUpdateOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsUpdateOptions", + "text": "SavedObjectsUpdateOptions" + }, " extends ", - "SavedObjectsBaseOptions" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/update.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -48281,7 +55948,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/update.ts", "deprecated": false, "trackAdoption": false }, @@ -48295,10 +55962,16 @@ "{@inheritdoc SavedObjectReference}" ], "signature": [ - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[] | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/update.ts", "deprecated": false, "trackAdoption": false }, @@ -48312,10 +55985,16 @@ "The Elasticsearch Refresh setting for this operation" ], "signature": [ - "MutatingOperationRefreshSetting", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.MutatingOperationRefreshSetting", + "text": "MutatingOperationRefreshSetting" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/update.ts", "deprecated": false, "trackAdoption": false }, @@ -48331,7 +56010,7 @@ "signature": [ "Attributes | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/update.ts", "deprecated": false, "trackAdoption": false }, @@ -48347,7 +56026,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/update.ts", "deprecated": false, "trackAdoption": false } @@ -48364,12 +56043,24 @@ "\n" ], "signature": [ - "SavedObjectsUpdateResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsUpdateResponse", + "text": "SavedObjectsUpdateResponse" + }, " extends Omit<", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, ", \"attributes\" | \"references\">" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/update.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -48383,7 +56074,7 @@ "signature": [ "{ [P in keyof T]?: T[P] | undefined; }" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/update.ts", "deprecated": false, "trackAdoption": false }, @@ -48395,10 +56086,16 @@ "label": "references", "description": [], "signature": [ - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[] | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/update.ts", "deprecated": false, "trackAdoption": false } @@ -48414,10 +56111,7 @@ "description": [ "\nA map of {@link SavedObjectsValidationSpec | validation specs} to be used for a given type.\nThe map's keys must be valid semver versions.\n\nAny time you change the schema of a {@link SavedObjectsType}, you should add a new entry\nto this map for the Kibana version the change was introduced in.\n" ], - "signature": [ - "SavedObjectsValidationMap" - ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/validation.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -48430,9 +56124,15 @@ "description": [], "signature": [ "[version: string]: ", - "SavedObjectsValidationSpec" + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsValidationSpec", + "text": "SavedObjectsValidationSpec" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/validation.ts", "deprecated": false, "trackAdoption": false } @@ -48449,10 +56149,16 @@ "\nThe current status of a service at a point in time.\n" ], "signature": [ - "ServiceStatus", + { + "pluginId": "@kbn/core-status-common", + "scope": "common", + "docId": "kibKbnCoreStatusCommonPluginApi", + "section": "def-common.ServiceStatus", + "text": "ServiceStatus" + }, "" ], - "path": "node_modules/@types/kbn__core-status-common/index.d.ts", + "path": "packages/core/status/core-status-common/src/service_status.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -48468,7 +56174,7 @@ "signature": [ "Readonly<{ toString: () => \"available\"; valueOf: () => 0; toJSON: () => \"available\"; }> | Readonly<{ toString: () => \"degraded\"; valueOf: () => 1; toJSON: () => \"degraded\"; }> | Readonly<{ toString: () => \"unavailable\"; valueOf: () => 2; toJSON: () => \"unavailable\"; }> | Readonly<{ toString: () => \"critical\"; valueOf: () => 3; toJSON: () => \"critical\"; }>" ], - "path": "node_modules/@types/kbn__core-status-common/index.d.ts", + "path": "packages/core/status/core-status-common/src/service_status.ts", "deprecated": false, "trackAdoption": false }, @@ -48481,7 +56187,7 @@ "description": [ "\nA high-level summary of the service status." ], - "path": "node_modules/@types/kbn__core-status-common/index.d.ts", + "path": "packages/core/status/core-status-common/src/service_status.ts", "deprecated": false, "trackAdoption": false }, @@ -48497,7 +56203,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-status-common/index.d.ts", + "path": "packages/core/status/core-status-common/src/service_status.ts", "deprecated": false, "trackAdoption": false }, @@ -48513,7 +56219,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-status-common/index.d.ts", + "path": "packages/core/status/core-status-common/src/service_status.ts", "deprecated": false, "trackAdoption": false }, @@ -48529,7 +56235,7 @@ "signature": [ "Meta | undefined" ], - "path": "node_modules/@types/kbn__core-status-common/index.d.ts", + "path": "packages/core/status/core-status-common/src/service_status.ts", "deprecated": false, "trackAdoption": false } @@ -48545,10 +56251,7 @@ "description": [ "\nReturn type from a function to validate cookie contents." ], - "signature": [ - "SessionCookieValidationResult" - ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/session_storage.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -48561,7 +56264,7 @@ "description": [ "\nWhether the cookie is valid or not." ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/session_storage.ts", "deprecated": false, "trackAdoption": false }, @@ -48577,7 +56280,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/session_storage.ts", "deprecated": false, "trackAdoption": false } @@ -48594,10 +56297,16 @@ "\nProvides an interface to store and retrieve data across requests." ], "signature": [ - "SessionStorage", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.SessionStorage", + "text": "SessionStorage" + }, "" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/session_storage.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -48613,7 +56322,7 @@ "signature": [ "() => Promise" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/session_storage.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -48631,7 +56340,7 @@ "signature": [ "(sessionValue: T) => void" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/session_storage.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -48647,7 +56356,7 @@ "signature": [ "T" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/session_storage.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -48667,7 +56376,7 @@ "signature": [ "() => void" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/session_storage.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -48686,10 +56395,16 @@ "\nConfiguration used to create HTTP session storage based on top of cookie mechanism." ], "signature": [ - "SessionStorageCookieOptions", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.SessionStorageCookieOptions", + "text": "SessionStorageCookieOptions" + }, "" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/session_storage.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -48702,7 +56417,7 @@ "description": [ "\nName of the session cookie." ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/session_storage.ts", "deprecated": false, "trackAdoption": false }, @@ -48715,7 +56430,7 @@ "description": [ "\nA key used to encrypt a cookie's value. Should be at least 32 characters long." ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/session_storage.ts", "deprecated": false, "trackAdoption": false }, @@ -48730,9 +56445,15 @@ ], "signature": [ "(sessionValue: T | T[]) => ", - "SessionCookieValidationResult" + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.SessionCookieValidationResult", + "text": "SessionCookieValidationResult" + } ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/session_storage.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -48746,7 +56467,7 @@ "signature": [ "T | T[]" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/session_storage.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -48763,7 +56484,7 @@ "description": [ "\nFlag indicating whether the cookie should be sent only via a secure connection." ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/session_storage.ts", "deprecated": false, "trackAdoption": false }, @@ -48779,7 +56500,7 @@ "signature": [ "\"None\" | \"Strict\" | \"Lax\" | undefined" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/session_storage.ts", "deprecated": false, "trackAdoption": false } @@ -48796,10 +56517,16 @@ "\nSessionStorage factory to bind one to an incoming request" ], "signature": [ - "SessionStorageFactory", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.SessionStorageFactory", + "text": "SessionStorageFactory" + }, "" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/session_storage.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -48812,12 +56539,24 @@ "description": [], "signature": [ "(request: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ") => ", - "SessionStorage", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.SessionStorage", + "text": "SessionStorage" + }, "" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/session_storage.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -48829,10 +56568,16 @@ "label": "request", "description": [], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/session_storage.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -48853,10 +56598,16 @@ "\nConstructor of a {@link IShipper}" ], "signature": [ - "ShipperClassConstructor", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.ShipperClassConstructor", + "text": "ShipperClassConstructor" + }, "" ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/analytics_client/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -48869,7 +56620,7 @@ "description": [ "\nThe shipper's unique name" ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/analytics_client/types.ts", "deprecated": false, "trackAdoption": false }, @@ -48885,7 +56636,7 @@ "signature": [ "any" ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/analytics_client/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -48901,7 +56652,7 @@ "signature": [ "Config" ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/analytics_client/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -48916,9 +56667,15 @@ "Common context {@link AnalyticsClientInitContext }" ], "signature": [ - "AnalyticsClientInitContext" + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.AnalyticsClientInitContext", + "text": "AnalyticsClientInitContext" + } ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/analytics_client/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -48938,10 +56695,7 @@ "description": [ "\nAPI for accessing status of Core and this plugin's dependencies as well as for customizing this plugin's status.\n" ], - "signature": [ - "StatusServiceSetup" - ], - "path": "node_modules/@types/kbn__core-status-server/index.d.ts", + "path": "packages/core/status/core-status-server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -48957,10 +56711,16 @@ "signature": [ "Observable", "<", - "CoreStatus", + { + "pluginId": "@kbn/core-status-common", + "scope": "common", + "docId": "kibKbnCoreStatusCommonPluginApi", + "section": "def-common.CoreStatus", + "text": "CoreStatus" + }, ">" ], - "path": "node_modules/@types/kbn__core-status-server/index.d.ts", + "path": "packages/core/status/core-status-server/src/contracts.ts", "deprecated": false, "trackAdoption": false }, @@ -48976,10 +56736,16 @@ "signature": [ "Observable", "<", - "ServiceStatus", + { + "pluginId": "@kbn/core-status-common", + "scope": "common", + "docId": "kibKbnCoreStatusCommonPluginApi", + "section": "def-common.ServiceStatus", + "text": "ServiceStatus" + }, ">" ], - "path": "node_modules/@types/kbn__core-status-server/index.d.ts", + "path": "packages/core/status/core-status-server/src/contracts.ts", "deprecated": false, "trackAdoption": false }, @@ -48996,10 +56762,16 @@ "(status$: ", "Observable", "<", - "ServiceStatus", + { + "pluginId": "@kbn/core-status-common", + "scope": "common", + "docId": "kibKbnCoreStatusCommonPluginApi", + "section": "def-common.ServiceStatus", + "text": "ServiceStatus" + }, ">) => void" ], - "path": "node_modules/@types/kbn__core-status-server/index.d.ts", + "path": "packages/core/status/core-status-server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -49013,10 +56785,16 @@ "signature": [ "Observable", "<", - "ServiceStatus", + { + "pluginId": "@kbn/core-status-common", + "scope": "common", + "docId": "kibKbnCoreStatusCommonPluginApi", + "section": "def-common.ServiceStatus", + "text": "ServiceStatus" + }, ">" ], - "path": "node_modules/@types/kbn__core-status-server/index.d.ts", + "path": "packages/core/status/core-status-server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -49036,10 +56814,16 @@ "signature": [ "Observable", ">>" ], - "path": "node_modules/@types/kbn__core-status-server/index.d.ts", + "path": "packages/core/status/core-status-server/src/contracts.ts", "deprecated": false, "trackAdoption": false }, @@ -49055,10 +56839,16 @@ "signature": [ "Observable", "<", - "ServiceStatus", + { + "pluginId": "@kbn/core-status-common", + "scope": "common", + "docId": "kibKbnCoreStatusCommonPluginApi", + "section": "def-common.ServiceStatus", + "text": "ServiceStatus" + }, ">" ], - "path": "node_modules/@types/kbn__core-status-server/index.d.ts", + "path": "packages/core/status/core-status-server/src/contracts.ts", "deprecated": false, "trackAdoption": false }, @@ -49074,7 +56864,7 @@ "signature": [ "() => boolean" ], - "path": "node_modules/@types/kbn__core-status-server/index.d.ts", + "path": "packages/core/status/core-status-server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -49092,10 +56882,7 @@ "description": [ "\nShape of the events emitted by the telemetryCounter$ observable" ], - "signature": [ - "TelemetryCounter" - ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/events/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -49111,7 +56898,7 @@ "signature": [ "\"failed\" | \"enqueued\" | \"sent_to_shipper\" | \"succeeded\" | \"dropped\"" ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/events/types.ts", "deprecated": false, "trackAdoption": false }, @@ -49124,7 +56911,7 @@ "description": [ "\nWho emitted the event? It can be \"client\" or the name of the shipper." ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/events/types.ts", "deprecated": false, "trackAdoption": false }, @@ -49137,7 +56924,7 @@ "description": [ "\nThe event type the success/failure/drop event refers to." ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/events/types.ts", "deprecated": false, "trackAdoption": false }, @@ -49150,7 +56937,7 @@ "description": [ "\nCode to provide additional information about the success or failure. Examples are 200/400/504/ValidationError/UnknownError" ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/events/types.ts", "deprecated": false, "trackAdoption": false }, @@ -49163,7 +56950,7 @@ "description": [ "\nThe number of events that this counter refers to." ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/events/types.ts", "deprecated": false, "trackAdoption": false } @@ -49180,10 +56967,16 @@ "\nUiSettings parameters defined by the plugins." ], "signature": [ - "UiSettingsParams", + { + "pluginId": "@kbn/core-ui-settings-common", + "scope": "common", + "docId": "kibKbnCoreUiSettingsCommonPluginApi", + "section": "def-common.UiSettingsParams", + "text": "UiSettingsParams" + }, "" ], - "path": "node_modules/@types/kbn__core-ui-settings-common/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-common/src/ui_settings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -49199,7 +56992,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-ui-settings-common/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-common/src/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -49215,7 +57008,7 @@ "signature": [ "T | undefined" ], - "path": "node_modules/@types/kbn__core-ui-settings-common/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-common/src/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -49231,7 +57024,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-ui-settings-common/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-common/src/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -49247,7 +57040,7 @@ "signature": [ "string[] | undefined" ], - "path": "node_modules/@types/kbn__core-ui-settings-common/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-common/src/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -49263,7 +57056,7 @@ "signature": [ "string[] | number[] | undefined" ], - "path": "node_modules/@types/kbn__core-ui-settings-common/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-common/src/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -49279,7 +57072,7 @@ "signature": [ "Record | undefined" ], - "path": "node_modules/@types/kbn__core-ui-settings-common/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-common/src/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -49295,7 +57088,7 @@ "signature": [ "boolean | undefined" ], - "path": "node_modules/@types/kbn__core-ui-settings-common/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-common/src/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -49311,7 +57104,7 @@ "signature": [ "boolean | undefined" ], - "path": "node_modules/@types/kbn__core-ui-settings-common/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-common/src/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -49327,7 +57120,7 @@ "signature": [ "boolean | undefined" ], - "path": "node_modules/@types/kbn__core-ui-settings-common/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-common/src/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -49341,10 +57134,16 @@ "defines a type of UI element {@link UiSettingsType}" ], "signature": [ - "UiSettingsType", + { + "pluginId": "@kbn/core-ui-settings-common", + "scope": "common", + "docId": "kibKbnCoreUiSettingsCommonPluginApi", + "section": "def-common.UiSettingsType", + "text": "UiSettingsType" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-ui-settings-common/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-common/src/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -49358,10 +57157,16 @@ "optional deprecation information. Used to generate a deprecation warning." ], "signature": [ - "DeprecationSettings", + { + "pluginId": "@kbn/core-ui-settings-common", + "scope": "common", + "docId": "kibKbnCoreUiSettingsCommonPluginApi", + "section": "def-common.DeprecationSettings", + "text": "DeprecationSettings" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-ui-settings-common/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-common/src/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -49377,7 +57182,7 @@ "signature": [ "number | undefined" ], - "path": "node_modules/@types/kbn__core-ui-settings-common/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-common/src/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -49389,10 +57194,16 @@ "label": "schema", "description": [], "signature": [ - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "" ], - "path": "node_modules/@types/kbn__core-ui-settings-common/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-common/src/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -49410,7 +57221,7 @@ "signature": [ "{ type: string; name: string; } | undefined" ], - "path": "node_modules/@types/kbn__core-ui-settings-common/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-common/src/ui_settings.ts", "deprecated": true, "trackAdoption": false, "references": [ @@ -49444,10 +57255,7 @@ "description": [ "\nCore's `uiSettings` request handler context." ], - "signature": [ - "UiSettingsRequestHandlerContext" - ], - "path": "node_modules/@types/kbn__core-ui-settings-server/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-server/src/request_handler_context.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -49459,9 +57267,15 @@ "label": "client", "description": [], "signature": [ - "IUiSettingsClient" + { + "pluginId": "@kbn/core-ui-settings-server", + "scope": "server", + "docId": "kibKbnCoreUiSettingsServerPluginApi", + "section": "def-server.IUiSettingsClient", + "text": "IUiSettingsClient" + } ], - "path": "node_modules/@types/kbn__core-ui-settings-server/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-server/src/request_handler_context.ts", "deprecated": false, "trackAdoption": false } @@ -49475,10 +57289,7 @@ "tags": [], "label": "UiSettingsServiceSetup", "description": [], - "signature": [ - "UiSettingsServiceSetup" - ], - "path": "node_modules/@types/kbn__core-ui-settings-server/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -49493,10 +57304,16 @@ ], "signature": [ "(settings: Record>) => void" ], - "path": "node_modules/@types/kbn__core-ui-settings-server/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -49509,10 +57326,16 @@ "description": [], "signature": [ "Record>" ], - "path": "node_modules/@types/kbn__core-ui-settings-server/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -49530,10 +57353,7 @@ "tags": [], "label": "UiSettingsServiceStart", "description": [], - "signature": [ - "UiSettingsServiceStart" - ], - "path": "node_modules/@types/kbn__core-ui-settings-server/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -49548,11 +57368,23 @@ ], "signature": [ "(savedObjectsClient: ", - "SavedObjectsClientContract", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + }, ") => ", - "IUiSettingsClient" + { + "pluginId": "@kbn/core-ui-settings-server", + "scope": "server", + "docId": "kibKbnCoreUiSettingsServerPluginApi", + "section": "def-server.IUiSettingsClient", + "text": "IUiSettingsClient" + } ], - "path": "node_modules/@types/kbn__core-ui-settings-server/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -49564,9 +57396,15 @@ "label": "savedObjectsClient", "description": [], "signature": [ - "SavedObjectsClientContract" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + } ], - "path": "node_modules/@types/kbn__core-ui-settings-server/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -49584,10 +57422,7 @@ "tags": [], "label": "UnauthorizedErrorHandlerNotHandledResult", "description": [], - "signature": [ - "UnauthorizedErrorHandlerNotHandledResult" - ], - "path": "node_modules/@types/kbn__core-elasticsearch-server/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server/src/client/unauthorized_error_handler.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -49601,7 +57436,7 @@ "signature": [ "\"notHandled\"" ], - "path": "node_modules/@types/kbn__core-elasticsearch-server/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server/src/client/unauthorized_error_handler.ts", "deprecated": false, "trackAdoption": false } @@ -49615,10 +57450,7 @@ "tags": [], "label": "UnauthorizedErrorHandlerOptions", "description": [], - "signature": [ - "UnauthorizedErrorHandlerOptions" - ], - "path": "node_modules/@types/kbn__core-elasticsearch-server/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server/src/client/unauthorized_error_handler.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -49633,7 +57465,7 @@ "ResponseError", " & { statusCode: 401; }" ], - "path": "node_modules/@types/kbn__core-elasticsearch-server/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server/src/client/unauthorized_error_handler.ts", "deprecated": false, "trackAdoption": false }, @@ -49645,10 +57477,16 @@ "label": "request", "description": [], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "" ], - "path": "node_modules/@types/kbn__core-elasticsearch-server/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server/src/client/unauthorized_error_handler.ts", "deprecated": false, "trackAdoption": false } @@ -49662,10 +57500,7 @@ "tags": [], "label": "UnauthorizedErrorHandlerResultRetryParams", "description": [], - "signature": [ - "UnauthorizedErrorHandlerResultRetryParams" - ], - "path": "node_modules/@types/kbn__core-elasticsearch-server/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server/src/client/unauthorized_error_handler.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -49679,7 +57514,7 @@ "signature": [ "{ [x: string]: string | string[]; }" ], - "path": "node_modules/@types/kbn__core-elasticsearch-server/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server/src/client/unauthorized_error_handler.ts", "deprecated": false, "trackAdoption": false } @@ -49694,11 +57529,23 @@ "label": "UnauthorizedErrorHandlerRetryResult", "description": [], "signature": [ - "UnauthorizedErrorHandlerRetryResult", + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.UnauthorizedErrorHandlerRetryResult", + "text": "UnauthorizedErrorHandlerRetryResult" + }, " extends ", - "UnauthorizedErrorHandlerResultRetryParams" + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.UnauthorizedErrorHandlerResultRetryParams", + "text": "UnauthorizedErrorHandlerResultRetryParams" + } ], - "path": "node_modules/@types/kbn__core-elasticsearch-server/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server/src/client/unauthorized_error_handler.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -49712,7 +57559,7 @@ "signature": [ "\"retry\"" ], - "path": "node_modules/@types/kbn__core-elasticsearch-server/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server/src/client/unauthorized_error_handler.ts", "deprecated": false, "trackAdoption": false } @@ -49728,10 +57575,7 @@ "description": [ "\nToolkit passed to a {@link UnauthorizedErrorHandler} used to generate responses from the handler" ], - "signature": [ - "UnauthorizedErrorHandlerToolkit" - ], - "path": "node_modules/@types/kbn__core-elasticsearch-server/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server/src/client/unauthorized_error_handler.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -49746,9 +57590,15 @@ ], "signature": [ "() => ", - "UnauthorizedErrorHandlerNotHandledResult" + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.UnauthorizedErrorHandlerNotHandledResult", + "text": "UnauthorizedErrorHandlerNotHandledResult" + } ], - "path": "node_modules/@types/kbn__core-elasticsearch-server/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server/src/client/unauthorized_error_handler.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -49765,11 +57615,23 @@ ], "signature": [ "(params: ", - "UnauthorizedErrorHandlerResultRetryParams", + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.UnauthorizedErrorHandlerResultRetryParams", + "text": "UnauthorizedErrorHandlerResultRetryParams" + }, ") => ", - "UnauthorizedErrorHandlerRetryResult" + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.UnauthorizedErrorHandlerRetryResult", + "text": "UnauthorizedErrorHandlerRetryResult" + } ], - "path": "node_modules/@types/kbn__core-elasticsearch-server/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server/src/client/unauthorized_error_handler.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -49781,9 +57643,15 @@ "label": "params", "description": [], "signature": [ - "UnauthorizedErrorHandlerResultRetryParams" + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.UnauthorizedErrorHandlerResultRetryParams", + "text": "UnauthorizedErrorHandlerResultRetryParams" + } ], - "path": "node_modules/@types/kbn__core-elasticsearch-server/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server/src/client/unauthorized_error_handler.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -49804,10 +57672,16 @@ "\nDescribes the values explicitly set by user." ], "signature": [ - "UserProvidedValues", + { + "pluginId": "@kbn/core-ui-settings-common", + "scope": "common", + "docId": "kibKbnCoreUiSettingsCommonPluginApi", + "section": "def-common.UserProvidedValues", + "text": "UserProvidedValues" + }, "" ], - "path": "node_modules/@types/kbn__core-ui-settings-common/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-common/src/ui_settings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -49821,7 +57695,7 @@ "signature": [ "T | undefined" ], - "path": "node_modules/@types/kbn__core-ui-settings-common/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-common/src/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -49835,7 +57709,7 @@ "signature": [ "boolean | undefined" ], - "path": "node_modules/@types/kbn__core-ui-settings-common/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-common/src/ui_settings.ts", "deprecated": false, "trackAdoption": false } @@ -49851,10 +57725,7 @@ "tags": [], "label": "AuthResultType", "description": [], - "signature": [ - "AuthResultType" - ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/lifecycle/auth.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -49868,10 +57739,7 @@ "description": [ "\nStatus indicating an outcome of the authentication." ], - "signature": [ - "AuthStatus" - ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/auth_state.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -49883,10 +57751,7 @@ "tags": [], "label": "PluginType", "description": [], - "signature": [ - "PluginType" - ], - "path": "node_modules/@types/kbn__core-base-common/index.d.ts", + "path": "packages/core/base/core-base-common/src/plugins.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -49904,10 +57769,16 @@ ], "signature": [ "(details: ", - "DeprecatedConfigDetails", + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.DeprecatedConfigDetails", + "text": "DeprecatedConfigDetails" + }, ") => void" ], - "path": "node_modules/@types/kbn__config/index.d.ts", + "path": "packages/kbn-config/src/deprecation/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -49920,9 +57791,15 @@ "label": "details", "description": [], "signature": [ - "DeprecatedConfigDetails" + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.DeprecatedConfigDetails", + "text": "DeprecatedConfigDetails" + } ], - "path": "node_modules/@types/kbn__config/index.d.ts", + "path": "packages/kbn-config/src/deprecation/types.ts", "deprecated": false, "trackAdoption": false } @@ -49940,24 +57817,66 @@ ], "signature": [ "{ optIn: (optInConfig: ", - "OptInConfig", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.OptInConfig", + "text": "OptInConfig" + }, ") => void; reportEvent: (eventType: string, eventData: EventTypeData) => void; readonly telemetryCounter$: ", "Observable", "<", - "TelemetryCounter", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.TelemetryCounter", + "text": "TelemetryCounter" + }, ">; registerEventType: (eventTypeOps: ", - "EventTypeOpts", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.EventTypeOpts", + "text": "EventTypeOpts" + }, ") => void; registerShipper: (Shipper: ", - "ShipperClassConstructor", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.ShipperClassConstructor", + "text": "ShipperClassConstructor" + }, ", shipperConfig: ShipperConfig, opts?: ", - "RegisterShipperOpts", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.RegisterShipperOpts", + "text": "RegisterShipperOpts" + }, " | undefined) => void; registerContextProvider: (contextProviderOpts: ", - "ContextProviderOpts", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.ContextProviderOpts", + "text": "ContextProviderOpts" + }, ") => void; removeContextProvider: (contextProviderName: string) => void; }" ], - "path": "node_modules/@types/kbn__core-analytics-server/index.d.ts", + "path": "packages/core/analytics/core-analytics-server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -49973,24 +57892,66 @@ ], "signature": [ "{ optIn: (optInConfig: ", - "OptInConfig", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.OptInConfig", + "text": "OptInConfig" + }, ") => void; reportEvent: (eventType: string, eventData: EventTypeData) => void; readonly telemetryCounter$: ", "Observable", "<", - "TelemetryCounter", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.TelemetryCounter", + "text": "TelemetryCounter" + }, ">; registerEventType: (eventTypeOps: ", - "EventTypeOpts", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.EventTypeOpts", + "text": "EventTypeOpts" + }, ") => void; registerShipper: (Shipper: ", - "ShipperClassConstructor", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.ShipperClassConstructor", + "text": "ShipperClassConstructor" + }, ", shipperConfig: ShipperConfig, opts?: ", - "RegisterShipperOpts", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.RegisterShipperOpts", + "text": "RegisterShipperOpts" + }, " | undefined) => void; registerContextProvider: (contextProviderOpts: ", - "ContextProviderOpts", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.ContextProviderOpts", + "text": "ContextProviderOpts" + }, ") => void; removeContextProvider: (contextProviderName: string) => void; }" ], - "path": "node_modules/@types/kbn__core-analytics-server/index.d.ts", + "path": "packages/core/analytics/core-analytics-server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -50006,14 +57967,26 @@ ], "signature": [ "{ optIn: (optInConfig: ", - "OptInConfig", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.OptInConfig", + "text": "OptInConfig" + }, ") => void; reportEvent: (eventType: string, eventData: EventTypeData) => void; readonly telemetryCounter$: ", "Observable", "<", - "TelemetryCounter", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.TelemetryCounter", + "text": "TelemetryCounter" + }, ">; }" ], - "path": "node_modules/@types/kbn__core-analytics-server/index.d.ts", + "path": "packages/core/analytics/core-analytics-server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -50030,7 +58003,7 @@ "signature": [ "\"kbnAppWrapper\"" ], - "path": "node_modules/@types/kbn__core-application-common/index.d.ts", + "path": "packages/core/application/core-application-common/src/app_wrapper_class.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -50043,15 +58016,39 @@ "label": "AppenderConfigType", "description": [], "signature": [ - "ConsoleAppenderConfig", + { + "pluginId": "@kbn/core-logging-server", + "scope": "server", + "docId": "kibKbnCoreLoggingServerPluginApi", + "section": "def-server.ConsoleAppenderConfig", + "text": "ConsoleAppenderConfig" + }, " | ", - "FileAppenderConfig", + { + "pluginId": "@kbn/core-logging-server", + "scope": "server", + "docId": "kibKbnCoreLoggingServerPluginApi", + "section": "def-server.FileAppenderConfig", + "text": "FileAppenderConfig" + }, " | ", - "RewriteAppenderConfig", + { + "pluginId": "@kbn/core-logging-server", + "scope": "server", + "docId": "kibKbnCoreLoggingServerPluginApi", + "section": "def-server.RewriteAppenderConfig", + "text": "RewriteAppenderConfig" + }, " | ", - "RollingFileAppenderConfig" + { + "pluginId": "@kbn/core-logging-server", + "scope": "server", + "docId": "kibKbnCoreLoggingServerPluginApi", + "section": "def-server.RollingFileAppenderConfig", + "text": "RollingFileAppenderConfig" + } ], - "path": "node_modules/@types/kbn__core-logging-server/index.d.ts", + "path": "packages/core/logging/core-logging-server/src/appenders/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -50067,22 +58064,64 @@ ], "signature": [ "(request: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ", response: ", - "LifecycleResponseFactory", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.LifecycleResponseFactory", + "text": "LifecycleResponseFactory" + }, ", toolkit: ", - "AuthToolkit", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.AuthToolkit", + "text": "AuthToolkit" + }, ") => ", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, " | ", - "AuthResult", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.AuthResult", + "text": "AuthResult" + }, " | Promise<", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, " | ", - "AuthResult", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.AuthResult", + "text": "AuthResult" + }, ">" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/lifecycle/auth.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -50095,10 +58134,16 @@ "label": "request", "description": [], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/lifecycle/auth.ts", "deprecated": false, "trackAdoption": false }, @@ -50110,11 +58155,23 @@ "label": "response", "description": [], "signature": [ - "KibanaRedirectionResponseFactory", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRedirectionResponseFactory", + "text": "KibanaRedirectionResponseFactory" + }, " & ", - "KibanaErrorResponseFactory" + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaErrorResponseFactory", + "text": "KibanaErrorResponseFactory" + } ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/lifecycle/auth.ts", "deprecated": false, "trackAdoption": false }, @@ -50126,9 +58183,15 @@ "label": "toolkit", "description": [], "signature": [ - "AuthToolkit" + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.AuthToolkit", + "text": "AuthToolkit" + } ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/lifecycle/auth.ts", "deprecated": false, "trackAdoption": false } @@ -50145,7 +58208,7 @@ "signature": [ "{ [x: string]: string | string[]; }" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/lifecycle/auth.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -50158,13 +58221,31 @@ "label": "AuthResult", "description": [], "signature": [ - "AuthResultAuthenticated", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.AuthResultAuthenticated", + "text": "AuthResultAuthenticated" + }, " | ", - "AuthResultNotHandled", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.AuthResultNotHandled", + "text": "AuthResultNotHandled" + }, " | ", - "AuthResultRedirected" + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.AuthResultRedirected", + "text": "AuthResultRedirected" + } ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/lifecycle/auth.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -50180,10 +58261,16 @@ ], "signature": [ "() => Partial<", - "Capabilities", + { + "pluginId": "@kbn/core-capabilities-common", + "scope": "common", + "docId": "kibKbnCoreCapabilitiesCommonPluginApi", + "section": "def-common.Capabilities", + "text": "Capabilities" + }, ">" ], - "path": "node_modules/@types/kbn__core-capabilities-server/index.d.ts", + "path": "packages/core/capabilities/core-capabilities-server/src/capabilities.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -50201,16 +58288,40 @@ ], "signature": [ "(request: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ", uiCapabilities: ", - "Capabilities", + { + "pluginId": "@kbn/core-capabilities-common", + "scope": "common", + "docId": "kibKbnCoreCapabilitiesCommonPluginApi", + "section": "def-common.Capabilities", + "text": "Capabilities" + }, ", useDefaultCapabilities: boolean) => ", - "MaybePromise", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.MaybePromise", + "text": "MaybePromise" + }, ">" ], - "path": "node_modules/@types/kbn__core-capabilities-server/index.d.ts", + "path": "packages/core/capabilities/core-capabilities-server/src/capabilities.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -50223,10 +58334,16 @@ "label": "request", "description": [], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "" ], - "path": "node_modules/@types/kbn__core-capabilities-server/index.d.ts", + "path": "packages/core/capabilities/core-capabilities-server/src/capabilities.ts", "deprecated": false, "trackAdoption": false }, @@ -50238,9 +58355,15 @@ "label": "uiCapabilities", "description": [], "signature": [ - "Capabilities" + { + "pluginId": "@kbn/core-capabilities-common", + "scope": "common", + "docId": "kibKbnCoreCapabilitiesCommonPluginApi", + "section": "def-common.Capabilities", + "text": "Capabilities" + } ], - "path": "node_modules/@types/kbn__core-capabilities-server/index.d.ts", + "path": "packages/core/capabilities/core-capabilities-server/src/capabilities.ts", "deprecated": false, "trackAdoption": false }, @@ -50251,7 +58374,7 @@ "tags": [], "label": "useDefaultCapabilities", "description": [], - "path": "node_modules/@types/kbn__core-capabilities-server/index.d.ts", + "path": "packages/core/capabilities/core-capabilities-server/src/capabilities.ts", "deprecated": false, "trackAdoption": false } @@ -50269,13 +58392,31 @@ ], "signature": [ "(config: Readonly<{ [x: string]: any; }>, fromPath: string, addDeprecation: ", - "AddConfigDeprecation", + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.AddConfigDeprecation", + "text": "AddConfigDeprecation" + }, ", context: ", - "ConfigDeprecationContext", + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.ConfigDeprecationContext", + "text": "ConfigDeprecationContext" + }, ") => void | ", - "ConfigDeprecationCommand" + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.ConfigDeprecationCommand", + "text": "ConfigDeprecationCommand" + } ], - "path": "node_modules/@types/kbn__config/index.d.ts", + "path": "packages/kbn-config/src/deprecation/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -50292,7 +58433,7 @@ "signature": [ "{ readonly [x: string]: any; }" ], - "path": "node_modules/@types/kbn__config/index.d.ts", + "path": "packages/kbn-config/src/deprecation/types.ts", "deprecated": false, "trackAdoption": false }, @@ -50303,7 +58444,7 @@ "tags": [], "label": "fromPath", "description": [], - "path": "node_modules/@types/kbn__config/index.d.ts", + "path": "packages/kbn-config/src/deprecation/types.ts", "deprecated": false, "trackAdoption": false }, @@ -50316,10 +58457,16 @@ "description": [], "signature": [ "(details: ", - "DeprecatedConfigDetails", + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.DeprecatedConfigDetails", + "text": "DeprecatedConfigDetails" + }, ") => void" ], - "path": "node_modules/@types/kbn__config/index.d.ts", + "path": "packages/kbn-config/src/deprecation/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -50332,9 +58479,15 @@ "label": "details", "description": [], "signature": [ - "DeprecatedConfigDetails" + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.DeprecatedConfigDetails", + "text": "DeprecatedConfigDetails" + } ], - "path": "node_modules/@types/kbn__config/index.d.ts", + "path": "packages/kbn-config/src/deprecation/types.ts", "deprecated": false, "trackAdoption": false } @@ -50348,9 +58501,15 @@ "label": "context", "description": [], "signature": [ - "ConfigDeprecationContext" + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.ConfigDeprecationContext", + "text": "ConfigDeprecationContext" + } ], - "path": "node_modules/@types/kbn__config/index.d.ts", + "path": "packages/kbn-config/src/deprecation/types.ts", "deprecated": false, "trackAdoption": false } @@ -50368,12 +58527,24 @@ ], "signature": [ "(factory: ", - "ConfigDeprecationFactory", + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.ConfigDeprecationFactory", + "text": "ConfigDeprecationFactory" + }, ") => ", - "ConfigDeprecation", + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.ConfigDeprecation", + "text": "ConfigDeprecation" + }, "[]" ], - "path": "node_modules/@types/kbn__config/index.d.ts", + "path": "packages/kbn-config/src/deprecation/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -50386,9 +58557,15 @@ "label": "factory", "description": [], "signature": [ - "ConfigDeprecationFactory" + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.ConfigDeprecationFactory", + "text": "ConfigDeprecationFactory" + } ], - "path": "node_modules/@types/kbn__config/index.d.ts", + "path": "packages/kbn-config/src/deprecation/types.ts", "deprecated": false, "trackAdoption": false } @@ -50405,7 +58582,7 @@ "signature": [ "string | string[]" ], - "path": "node_modules/@types/kbn__config/index.d.ts", + "path": "packages/kbn-config/src/config.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -50422,7 +58599,7 @@ "signature": [ "{ [x: string]: any; }" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/start_contract.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -50436,10 +58613,16 @@ "description": [], "signature": [ "(params: ", - "CoreIncrementCounterParams", + { + "pluginId": "@kbn/core-usage-data-server", + "scope": "server", + "docId": "kibKbnCoreUsageDataServerPluginApi", + "section": "def-server.CoreIncrementCounterParams", + "text": "CoreIncrementCounterParams" + }, ") => void" ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/setup_contract.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -50452,9 +58635,15 @@ "label": "params", "description": [], "signature": [ - "CoreIncrementCounterParams" + { + "pluginId": "@kbn/core-usage-data-server", + "scope": "server", + "docId": "kibKbnCoreUsageDataServerPluginApi", + "section": "def-server.CoreIncrementCounterParams", + "text": "CoreIncrementCounterParams" + } ], - "path": "node_modules/@types/kbn__core-usage-data-server/index.d.ts", + "path": "packages/core/usage-data/core-usage-data-server/src/setup_contract.ts", "deprecated": false, "trackAdoption": false } @@ -50471,10 +58660,16 @@ "\nMixin allowing plugins to define their own request handler contexts.\n" ], "signature": [ - "RequestHandlerContext", + { + "pluginId": "@kbn/core-http-request-handler-context-server", + "scope": "server", + "docId": "kibKbnCoreHttpRequestHandlerContextServerPluginApi", + "section": "def-server.RequestHandlerContext", + "text": "RequestHandlerContext" + }, " & { [Key in keyof T]: T[Key] extends Promise ? T[Key] : Promise; }" ], - "path": "node_modules/@types/kbn__core-http-request-handler-context-server/index.d.ts", + "path": "packages/core/http/core-http-request-handler-context-server/src/request_handler_context.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -50487,11 +58682,23 @@ "label": "DeprecationsDetails", "description": [], "signature": [ - "ConfigDeprecationDetails", + { + "pluginId": "@kbn/core-deprecations-common", + "scope": "common", + "docId": "kibKbnCoreDeprecationsCommonPluginApi", + "section": "def-common.ConfigDeprecationDetails", + "text": "ConfigDeprecationDetails" + }, " | ", - "FeatureDeprecationDetails" + { + "pluginId": "@kbn/core-deprecations-common", + "scope": "common", + "docId": "kibKbnCoreDeprecationsCommonPluginApi", + "section": "def-common.FeatureDeprecationDetails", + "text": "FeatureDeprecationDetails" + } ], - "path": "node_modules/@types/kbn__core-deprecations-common/index.d.ts", + "path": "packages/core/deprecations/core-deprecations-common/src/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -50508,7 +58715,7 @@ "signature": [ "\"post\" | \"put\" | \"delete\" | \"patch\"" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/route.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -50521,9 +58728,15 @@ "label": "DocLinksServiceStart", "description": [], "signature": [ - "DocLinksServiceSetup" + { + "pluginId": "@kbn/core-doc-links-server", + "scope": "server", + "docId": "kibKbnCoreDocLinksServerPluginApi", + "section": "def-server.DocLinksServiceSetup", + "text": "DocLinksServiceSetup" + } ], - "path": "node_modules/@types/kbn__core-doc-links-server/index.d.ts", + "path": "packages/core/doc-links/core-doc-links-server/src/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -50541,9 +58754,7 @@ "EcsBase", " & ", "EcsTracing", - " & { ecs: ", - "EcsField", - "; agent?: ", + " & { ecs: EcsField; agent?: ", "EcsAgent", " | undefined; as?: ", "EcsAutonomousSystem", @@ -50615,7 +58826,7 @@ "EcsVulnerability", " | undefined; }" ], - "path": "node_modules/@types/kbn__logging/index.d.ts", + "path": "packages/kbn-logging/src/ecs/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -50630,7 +58841,7 @@ "signature": [ "\"host\" | \"database\" | \"email\" | \"package\" | \"network\" | \"web\" | \"file\" | \"session\" | \"registry\" | \"process\" | \"authentication\" | \"configuration\" | \"driver\" | \"iam\" | \"intrusion_detection\" | \"malware\"" ], - "path": "node_modules/@types/kbn__logging/index.d.ts", + "path": "packages/kbn-logging/src/ecs/event.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -50645,7 +58856,7 @@ "signature": [ "\"metric\" | \"alert\" | \"signal\" | \"state\" | \"event\" | \"pipeline_error\"" ], - "path": "node_modules/@types/kbn__logging/index.d.ts", + "path": "packages/kbn-logging/src/ecs/event.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -50660,7 +58871,7 @@ "signature": [ "\"success\" | \"unknown\" | \"failure\"" ], - "path": "node_modules/@types/kbn__logging/index.d.ts", + "path": "packages/kbn-logging/src/ecs/event.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -50675,7 +58886,7 @@ "signature": [ "\"start\" | \"error\" | \"connection\" | \"user\" | \"info\" | \"group\" | \"end\" | \"admin\" | \"protocol\" | \"access\" | \"allowed\" | \"change\" | \"creation\" | \"deletion\" | \"denied\" | \"installation\"" ], - "path": "node_modules/@types/kbn__logging/index.d.ts", + "path": "packages/kbn-logging/src/ecs/event.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -51878,7 +60089,7 @@ "default", "; }" ], - "path": "node_modules/@types/kbn__core-elasticsearch-server/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server/src/client/client.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -51895,7 +60106,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/events/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -51908,9 +60119,15 @@ "label": "ExecutionContextStart", "description": [], "signature": [ - "ExecutionContextSetup" + { + "pluginId": "@kbn/core-execution-context-server", + "scope": "server", + "docId": "kibKbnCoreExecutionContextServerPluginApi", + "section": "def-server.ExecutionContextSetup", + "text": "ExecutionContextSetup" + } ], - "path": "node_modules/@types/kbn__core-execution-context-server/index.d.ts", + "path": "packages/core/execution-context/core-execution-context-server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -51925,15 +60142,17 @@ "\nType defining the list of configuration properties that will be exposed on the client-side\nObject properties can either be fully exposed\n" ], "signature": [ - "{ [Key in keyof T]?: (T[Key] extends ", - "Maybe", - " ? boolean : T[Key] extends ", - "Maybe", - " ? boolean | ", - "ExposedToBrowserDescriptor", + "{ [Key in keyof T]?: (T[Key] extends Maybe ? boolean : T[Key] extends Maybe ? boolean | ", + { + "pluginId": "@kbn/core-plugins-server", + "scope": "server", + "docId": "kibKbnCorePluginsServerPluginApi", + "section": "def-server.ExposedToBrowserDescriptor", + "text": "ExposedToBrowserDescriptor" + }, " : boolean) | undefined; }" ], - "path": "node_modules/@types/kbn__core-plugins-server/index.d.ts", + "path": "packages/core/plugins/core-plugins-server/src/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -51951,12 +60170,24 @@ ], "signature": [ "(request: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ") => ", - "AuthHeaders", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.AuthHeaders", + "text": "AuthHeaders" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/auth_headers.ts", "deprecated": false, "trackAdoption": false, "returnComment": [ @@ -51973,10 +60204,16 @@ "{@link KibanaRequest } - an incoming request." ], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/auth_headers.ts", "deprecated": false, "trackAdoption": false } @@ -51994,12 +60231,24 @@ ], "signature": [ "(request: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ") => { status: ", - "AuthStatus", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.AuthStatus", + "text": "AuthStatus" + }, "; state: T; }" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/auth_state.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -52014,10 +60263,16 @@ "{@link KibanaRequest } - an incoming request." ], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/auth_state.ts", "deprecated": false, "trackAdoption": false } @@ -52035,10 +60290,16 @@ ], "signature": [ "T extends ", - "HandlerFunction", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.HandlerFunction", + "text": "HandlerFunction" + }, " ? U : never" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/context_provider.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -52055,7 +60316,7 @@ "signature": [ "(context: T, ...args: any[]) => any" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/context_provider.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -52070,7 +60331,7 @@ "signature": [ "T" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/context_provider.ts", "deprecated": false, "trackAdoption": false }, @@ -52084,7 +60345,7 @@ "signature": [ "any[]" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/context_provider.ts", "deprecated": false, "trackAdoption": false } @@ -52103,7 +60364,7 @@ "signature": [ "T extends (context: any, ...args: infer U) => any ? U : never" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/context_provider.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -52120,7 +60381,7 @@ "signature": [ "{ accept?: string | string[] | undefined; \"accept-language\"?: string | string[] | undefined; \"accept-patch\"?: string | string[] | undefined; \"accept-ranges\"?: string | string[] | undefined; \"access-control-allow-credentials\"?: string | string[] | undefined; \"access-control-allow-headers\"?: string | string[] | undefined; \"access-control-allow-methods\"?: string | string[] | undefined; \"access-control-allow-origin\"?: string | string[] | undefined; \"access-control-expose-headers\"?: string | string[] | undefined; \"access-control-max-age\"?: string | string[] | undefined; \"access-control-request-headers\"?: string | string[] | undefined; \"access-control-request-method\"?: string | string[] | undefined; age?: string | string[] | undefined; allow?: string | string[] | undefined; \"alt-svc\"?: string | string[] | undefined; authorization?: string | string[] | undefined; \"cache-control\"?: string | string[] | undefined; connection?: string | string[] | undefined; \"content-disposition\"?: string | string[] | undefined; \"content-encoding\"?: string | string[] | undefined; \"content-language\"?: string | string[] | undefined; \"content-length\"?: string | string[] | undefined; \"content-location\"?: string | string[] | undefined; \"content-range\"?: string | string[] | undefined; \"content-type\"?: string | string[] | undefined; cookie?: string | string[] | undefined; date?: string | string[] | undefined; etag?: string | string[] | undefined; expect?: string | string[] | undefined; expires?: string | string[] | undefined; forwarded?: string | string[] | undefined; from?: string | string[] | undefined; host?: string | string[] | undefined; \"if-match\"?: string | string[] | undefined; \"if-modified-since\"?: string | string[] | undefined; \"if-none-match\"?: string | string[] | undefined; \"if-unmodified-since\"?: string | string[] | undefined; \"last-modified\"?: string | string[] | undefined; location?: string | string[] | undefined; origin?: string | string[] | undefined; pragma?: string | string[] | undefined; \"proxy-authenticate\"?: string | string[] | undefined; \"proxy-authorization\"?: string | string[] | undefined; \"public-key-pins\"?: string | string[] | undefined; range?: string | string[] | undefined; referer?: string | string[] | undefined; \"retry-after\"?: string | string[] | undefined; \"sec-websocket-accept\"?: string | string[] | undefined; \"sec-websocket-extensions\"?: string | string[] | undefined; \"sec-websocket-key\"?: string | string[] | undefined; \"sec-websocket-protocol\"?: string | string[] | undefined; \"sec-websocket-version\"?: string | string[] | undefined; \"set-cookie\"?: string | string[] | undefined; \"strict-transport-security\"?: string | string[] | undefined; tk?: string | string[] | undefined; trailer?: string | string[] | undefined; \"transfer-encoding\"?: string | string[] | undefined; upgrade?: string | string[] | undefined; \"user-agent\"?: string | string[] | undefined; vary?: string | string[] | undefined; via?: string | string[] | undefined; warning?: string | string[] | undefined; \"www-authenticate\"?: string | string[] | undefined; } & { [header: string]: string | string[] | undefined; }" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/headers.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -52136,30 +60397,90 @@ ], "signature": [ "(context: Context, request: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ", response: ", - "KibanaSuccessResponseFactory", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaSuccessResponseFactory", + "text": "KibanaSuccessResponseFactory" + }, " & ", - "KibanaRedirectionResponseFactory", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRedirectionResponseFactory", + "text": "KibanaRedirectionResponseFactory" + }, " & ", - "KibanaErrorResponseFactory", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaErrorResponseFactory", + "text": "KibanaErrorResponseFactory" + }, " & { custom | Error | ", "Stream", " | Buffer | { message: string | Error; attributes?: ", - "ResponseErrorAttributes", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.ResponseErrorAttributes", + "text": "ResponseErrorAttributes" + }, " | undefined; } | undefined>(options: ", - "CustomHttpResponseOptions", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.CustomHttpResponseOptions", + "text": "CustomHttpResponseOptions" + }, "): ", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, "; } & ", - "HttpResourcesServiceToolkit", + { + "pluginId": "@kbn/core-http-resources-server", + "scope": "server", + "docId": "kibKbnCoreHttpResourcesServerPluginApi", + "section": "def-server.HttpResourcesServiceToolkit", + "text": "HttpResourcesServiceToolkit" + }, ") => ", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, " | Promise<", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, ">" ], - "path": "node_modules/@types/kbn__core-http-resources-server/index.d.ts", + "path": "packages/core/http/core-http-resources-server/src/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -52176,7 +60497,7 @@ "signature": [ "Context" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/request_handler.ts", "deprecated": false, "trackAdoption": false }, @@ -52190,10 +60511,16 @@ "{@link KibanaRequest } - object containing information about requested resource,\nsuch as path, method, headers, parameters, query, body, etc." ], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/request_handler.ts", "deprecated": false, "trackAdoption": false }, @@ -52209,7 +60536,7 @@ "signature": [ "ResponseFactory" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/request_handler.ts", "deprecated": false, "trackAdoption": false } @@ -52226,9 +60553,15 @@ "\nHTTP Resources response parameters" ], "signature": [ - "HttpResponseOptions" + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.HttpResponseOptions", + "text": "HttpResponseOptions" + } ], - "path": "node_modules/@types/kbn__core-http-resources-server/index.d.ts", + "path": "packages/core/http/core-http-resources-server/src/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -52247,7 +60580,7 @@ "Stream", " | Buffer | undefined" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/response.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -52263,14 +60596,32 @@ ], "signature": [ "(context: Omit, request: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ", response: ", - "KibanaResponseFactory", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaResponseFactory", + "text": "KibanaResponseFactory" + }, ") => ", - "MaybePromise", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.MaybePromise", + "text": "MaybePromise" + }, ">" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/context_provider.ts", "deprecated": false, "trackAdoption": false, "returnComment": [ @@ -52289,7 +60640,7 @@ "signature": [ "{ [P in Exclude]: Context[P]; }" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/context_provider.ts", "deprecated": false, "trackAdoption": false }, @@ -52304,12 +60655,24 @@ ], "signature": [ "[request: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ", response: ", - "KibanaResponseFactory", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaResponseFactory", + "text": "KibanaResponseFactory" + }, "]" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/context_provider.ts", "deprecated": false, "trackAdoption": false } @@ -52327,10 +60690,16 @@ ], "signature": [ "(request: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ") => boolean" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/auth_state.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -52345,10 +60714,16 @@ "{@link KibanaRequest } - an incoming request." ], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/auth_state.ts", "deprecated": false, "trackAdoption": false } @@ -52364,10 +60739,16 @@ "description": [], "signature": [ "{ readonly type?: string | undefined; readonly name?: string | undefined; readonly page?: string | undefined; readonly id?: string | undefined; readonly description?: string | undefined; readonly url?: string | undefined; readonly meta?: { [key: string]: string | number | boolean | undefined; } | undefined; child?: ", - "KibanaExecutionContext", + { + "pluginId": "@kbn/core-execution-context-common", + "scope": "common", + "docId": "kibKbnCoreExecutionContextCommonPluginApi", + "section": "def-common.KibanaExecutionContext", + "text": "KibanaExecutionContext" + }, " | undefined; }" ], - "path": "node_modules/@types/kbn__core-execution-context-common/index.d.ts", + "path": "packages/core/execution-context/core-execution-context-common/src/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -52383,40 +60764,24 @@ ], "signature": [ "Method extends \"options\" | \"get\" ? Required, \"body\">> : Required<", - "RouteConfigOptions", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.RouteConfigOptions", + "text": "RouteConfigOptions" + }, ">" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", - "deprecated": false, - "trackAdoption": false, - "initialIsOpen": false - }, - { - "parentPluginId": "core", - "id": "def-server.kibanaResponseFactory", - "type": "CompoundType", - "tags": [], - "label": "kibanaResponseFactory", - "description": [], - "signature": [ - "KibanaSuccessResponseFactory", - " & ", - "KibanaRedirectionResponseFactory", - " & ", - "KibanaErrorResponseFactory", - " & { custom | Error | ", - "Stream", - " | Buffer | { message: string | Error; attributes?: ", - "ResponseErrorAttributes", - " | undefined; } | undefined>(options: ", - "CustomHttpResponseOptions", - "): ", - "IKibanaResponse", - "; }" - ], - "path": "node_modules/@types/kbn__core-http-router-server-internal/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/request.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -52431,22 +60796,58 @@ "\nSet of helpers used to create `KibanaResponse` to form HTTP response on an incoming request.\nShould be returned as a result of {@link RequestHandler} execution.\n" ], "signature": [ - "KibanaSuccessResponseFactory", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaSuccessResponseFactory", + "text": "KibanaSuccessResponseFactory" + }, " & ", - "KibanaRedirectionResponseFactory", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRedirectionResponseFactory", + "text": "KibanaRedirectionResponseFactory" + }, " & ", - "KibanaErrorResponseFactory", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaErrorResponseFactory", + "text": "KibanaErrorResponseFactory" + }, " & { custom | Error | ", "Stream", " | Buffer | { message: string | Error; attributes?: ", - "ResponseErrorAttributes", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.ResponseErrorAttributes", + "text": "ResponseErrorAttributes" + }, " | undefined; } | undefined>(options: ", - "CustomHttpResponseOptions", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.CustomHttpResponseOptions", + "text": "CustomHttpResponseOptions" + }, "): ", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, "; }" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/response_factory.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -52463,7 +60864,7 @@ "signature": [ "\"accept\" | \"accept-language\" | \"accept-patch\" | \"accept-ranges\" | \"access-control-allow-credentials\" | \"access-control-allow-headers\" | \"access-control-allow-methods\" | \"access-control-allow-origin\" | \"access-control-expose-headers\" | \"access-control-max-age\" | \"access-control-request-headers\" | \"access-control-request-method\" | \"age\" | \"allow\" | \"alt-svc\" | \"authorization\" | \"cache-control\" | \"connection\" | \"content-disposition\" | \"content-encoding\" | \"content-language\" | \"content-length\" | \"content-location\" | \"content-range\" | \"content-type\" | \"cookie\" | \"date\" | \"etag\" | \"expect\" | \"expires\" | \"forwarded\" | \"from\" | \"host\" | \"if-match\" | \"if-modified-since\" | \"if-none-match\" | \"if-unmodified-since\" | \"last-modified\" | \"location\" | \"origin\" | \"pragma\" | \"proxy-authenticate\" | \"proxy-authorization\" | \"public-key-pins\" | \"range\" | \"referer\" | \"retry-after\" | \"sec-websocket-accept\" | \"sec-websocket-extensions\" | \"sec-websocket-key\" | \"sec-websocket-protocol\" | \"sec-websocket-version\" | \"set-cookie\" | \"strict-transport-security\" | \"tk\" | \"trailer\" | \"transfer-encoding\" | \"upgrade\" | \"user-agent\" | \"vary\" | \"via\" | \"warning\" | \"www-authenticate\"" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/headers.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -52478,11 +60879,23 @@ "\nCreates an object containing redirection or error response with error details, HTTP headers, and other data transmitted to the client." ], "signature": [ - "KibanaRedirectionResponseFactory", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRedirectionResponseFactory", + "text": "KibanaRedirectionResponseFactory" + }, " & ", - "KibanaErrorResponseFactory" + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaErrorResponseFactory", + "text": "KibanaErrorResponseFactory" + } ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/response_factory.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -52565,7 +60978,7 @@ "EcsVulnerability", " | undefined; }" ], - "path": "node_modules/@types/kbn__logging/index.d.ts", + "path": "packages/kbn-logging/src/log_meta.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -52580,17 +60993,17 @@ "\nList of configuration values that will be exposed to usage collection.\nIf parent node or actual config path is set to `true` then the actual value\nof these configs will be reoprted.\nIf parent node or actual config path is set to `false` then the config\nwill be reported as [redacted].\n" ], "signature": [ - "{ [Key in keyof T]?: (T[Key] extends ", - "Maybe", - " ? false : T[Key] extends ", - "Maybe", - " ? boolean : T[Key] extends ", - "Maybe", - " ? boolean | ", - "MakeUsageFromSchema", + "{ [Key in keyof T]?: (T[Key] extends Maybe ? false : T[Key] extends Maybe ? boolean : T[Key] extends Maybe ? boolean | ", + { + "pluginId": "@kbn/core-plugins-server", + "scope": "server", + "docId": "kibKbnCorePluginsServerPluginApi", + "section": "def-server.MakeUsageFromSchema", + "text": "MakeUsageFromSchema" + }, " : boolean) | undefined; }" ], - "path": "node_modules/@types/kbn__core-plugins-server/index.d.ts", + "path": "packages/core/plugins/core-plugins-server/src/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -52605,9 +61018,15 @@ "\n{@inheritdoc MetricsServiceSetup}\n" ], "signature": [ - "MetricsServiceSetup" + { + "pluginId": "@kbn/core-metrics-server", + "scope": "server", + "docId": "kibKbnCoreMetricsServerPluginApi", + "section": "def-server.MetricsServiceSetup", + "text": "MetricsServiceSetup" + } ], - "path": "node_modules/@types/kbn__core-metrics-server/index.d.ts", + "path": "packages/core/metrics/core-metrics-server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -52624,7 +61043,7 @@ "signature": [ "boolean | \"wait_for\"" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/base.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -52640,22 +61059,64 @@ ], "signature": [ "(request: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ", response: ", - "LifecycleResponseFactory", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.LifecycleResponseFactory", + "text": "LifecycleResponseFactory" + }, ", toolkit: ", - "OnPostAuthToolkit", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.OnPostAuthToolkit", + "text": "OnPostAuthToolkit" + }, ") => ", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, " | ", - "OnPostAuthNextResult", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.OnPostAuthNextResult", + "text": "OnPostAuthNextResult" + }, " | Promise<", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, " | ", - "OnPostAuthNextResult", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.OnPostAuthNextResult", + "text": "OnPostAuthNextResult" + }, ">" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/lifecycle/on_post_auth.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -52668,10 +61129,16 @@ "label": "request", "description": [], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/lifecycle/on_post_auth.ts", "deprecated": false, "trackAdoption": false }, @@ -52683,11 +61150,23 @@ "label": "response", "description": [], "signature": [ - "KibanaRedirectionResponseFactory", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRedirectionResponseFactory", + "text": "KibanaRedirectionResponseFactory" + }, " & ", - "KibanaErrorResponseFactory" + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaErrorResponseFactory", + "text": "KibanaErrorResponseFactory" + } ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/lifecycle/on_post_auth.ts", "deprecated": false, "trackAdoption": false }, @@ -52699,9 +61178,15 @@ "label": "toolkit", "description": [], "signature": [ - "OnPostAuthToolkit" + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.OnPostAuthToolkit", + "text": "OnPostAuthToolkit" + } ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/lifecycle/on_post_auth.ts", "deprecated": false, "trackAdoption": false } @@ -52719,22 +61204,64 @@ ], "signature": [ "(request: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ", response: ", - "LifecycleResponseFactory", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.LifecycleResponseFactory", + "text": "LifecycleResponseFactory" + }, ", toolkit: ", - "OnPreAuthToolkit", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.OnPreAuthToolkit", + "text": "OnPreAuthToolkit" + }, ") => ", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, " | ", - "OnPreAuthNextResult", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.OnPreAuthNextResult", + "text": "OnPreAuthNextResult" + }, " | Promise<", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, " | ", - "OnPreAuthNextResult", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.OnPreAuthNextResult", + "text": "OnPreAuthNextResult" + }, ">" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/lifecycle/on_pre_auth.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -52747,10 +61274,16 @@ "label": "request", "description": [], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/lifecycle/on_pre_auth.ts", "deprecated": false, "trackAdoption": false }, @@ -52762,11 +61295,23 @@ "label": "response", "description": [], "signature": [ - "KibanaRedirectionResponseFactory", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRedirectionResponseFactory", + "text": "KibanaRedirectionResponseFactory" + }, " & ", - "KibanaErrorResponseFactory" + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaErrorResponseFactory", + "text": "KibanaErrorResponseFactory" + } ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/lifecycle/on_pre_auth.ts", "deprecated": false, "trackAdoption": false }, @@ -52778,9 +61323,15 @@ "label": "toolkit", "description": [], "signature": [ - "OnPreAuthToolkit" + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.OnPreAuthToolkit", + "text": "OnPreAuthToolkit" + } ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/lifecycle/on_pre_auth.ts", "deprecated": false, "trackAdoption": false } @@ -52798,18 +61349,48 @@ ], "signature": [ "(request: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ", preResponse: ", - "OnPreResponseInfo", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.OnPreResponseInfo", + "text": "OnPreResponseInfo" + }, ", toolkit: ", - "OnPreResponseToolkit", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.OnPreResponseToolkit", + "text": "OnPreResponseToolkit" + }, ") => ", - "OnPreResponseResult", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.OnPreResponseResult", + "text": "OnPreResponseResult" + }, " | Promise<", - "OnPreResponseResult", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.OnPreResponseResult", + "text": "OnPreResponseResult" + }, ">" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/lifecycle/on_pre_response.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -52822,10 +61403,16 @@ "label": "request", "description": [], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/lifecycle/on_pre_response.ts", "deprecated": false, "trackAdoption": false }, @@ -52837,9 +61424,15 @@ "label": "preResponse", "description": [], "signature": [ - "OnPreResponseInfo" + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.OnPreResponseInfo", + "text": "OnPreResponseInfo" + } ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/lifecycle/on_pre_response.ts", "deprecated": false, "trackAdoption": false }, @@ -52851,9 +61444,15 @@ "label": "toolkit", "description": [], "signature": [ - "OnPreResponseToolkit" + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.OnPreResponseToolkit", + "text": "OnPreResponseToolkit" + } ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/lifecycle/on_pre_response.ts", "deprecated": false, "trackAdoption": false } @@ -52871,22 +61470,64 @@ ], "signature": [ "(request: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ", response: ", - "LifecycleResponseFactory", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.LifecycleResponseFactory", + "text": "LifecycleResponseFactory" + }, ", toolkit: ", - "OnPreRoutingToolkit", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.OnPreRoutingToolkit", + "text": "OnPreRoutingToolkit" + }, ") => ", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, " | ", - "OnPreRoutingResult", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.OnPreRoutingResult", + "text": "OnPreRoutingResult" + }, " | Promise<", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, " | ", - "OnPreRoutingResult", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.OnPreRoutingResult", + "text": "OnPreRoutingResult" + }, ">" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/lifecycle/on_pre_routing.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -52899,10 +61540,16 @@ "label": "request", "description": [], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/lifecycle/on_pre_routing.ts", "deprecated": false, "trackAdoption": false }, @@ -52914,11 +61561,23 @@ "label": "response", "description": [], "signature": [ - "KibanaRedirectionResponseFactory", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRedirectionResponseFactory", + "text": "KibanaRedirectionResponseFactory" + }, " & ", - "KibanaErrorResponseFactory" + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaErrorResponseFactory", + "text": "KibanaErrorResponseFactory" + } ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/lifecycle/on_pre_routing.ts", "deprecated": false, "trackAdoption": false }, @@ -52930,9 +61589,15 @@ "label": "toolkit", "description": [], "signature": [ - "OnPreRoutingToolkit" + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.OnPreRoutingToolkit", + "text": "OnPreRoutingToolkit" + } ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/lifecycle/on_pre_routing.ts", "deprecated": false, "trackAdoption": false } @@ -52949,10 +61614,16 @@ "\nDedicated type for plugin configuration schema.\n" ], "signature": [ - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "" ], - "path": "node_modules/@types/kbn__core-plugins-server/index.d.ts", + "path": "packages/core/plugins/core-plugins-server/src/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -52968,16 +61639,40 @@ ], "signature": [ "(core: ", - "PluginInitializerContext", + { + "pluginId": "@kbn/core-plugins-server", + "scope": "server", + "docId": "kibKbnCorePluginsServerPluginApi", + "section": "def-server.PluginInitializerContext", + "text": "PluginInitializerContext" + }, ") => ", - "Plugin", + { + "pluginId": "@kbn/core-plugins-server", + "scope": "server", + "docId": "kibKbnCorePluginsServerPluginApi", + "section": "def-server.Plugin", + "text": "Plugin" + }, " | ", - "PrebootPlugin", + { + "pluginId": "@kbn/core-plugins-server", + "scope": "server", + "docId": "kibKbnCorePluginsServerPluginApi", + "section": "def-server.PrebootPlugin", + "text": "PrebootPlugin" + }, " | ", - "AsyncPlugin", + { + "pluginId": "@kbn/core-plugins-server", + "scope": "server", + "docId": "kibKbnCorePluginsServerPluginApi", + "section": "def-server.AsyncPlugin", + "text": "AsyncPlugin" + }, "" ], - "path": "node_modules/@types/kbn__core-plugins-server/index.d.ts", + "path": "packages/core/plugins/core-plugins-server/src/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -52990,10 +61685,16 @@ "label": "core", "description": [], "signature": [ - "PluginInitializerContext", + { + "pluginId": "@kbn/core-plugins-server", + "scope": "server", + "docId": "kibKbnCorePluginsServerPluginApi", + "section": "def-server.PluginInitializerContext", + "text": "PluginInitializerContext" + }, "" ], - "path": "node_modules/@types/kbn__core-plugins-server/index.d.ts", + "path": "packages/core/plugins/core-plugins-server/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -53012,7 +61713,7 @@ "signature": [ "string" ], - "path": "node_modules/@types/kbn__core-base-common/index.d.ts", + "path": "packages/core/base/core-base-common/src/plugins.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -53027,7 +61728,7 @@ "signature": [ "symbol" ], - "path": "node_modules/@types/kbn__core-base-common/index.d.ts", + "path": "packages/core/base/core-base-common/src/plugins.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -53042,7 +61743,13 @@ "\nPublic version of RequestHandlerContext, default-scoped to {@link RequestHandlerContext}\nSee [@link RequestHandlerContext}" ], "signature": [ - "HttpServiceSetup", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.HttpServiceSetup", + "text": "HttpServiceSetup" + }, "" ], "path": "src/core/server/index.ts", @@ -53061,11 +61768,29 @@ ], "signature": [ "(context: Context, request: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ", response: ResponseFactory) => ", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, " | Promise<", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, ">" ], "path": "src/core/server/index.ts", @@ -53083,7 +61808,7 @@ "signature": [ "Context" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/request_handler.ts", "deprecated": false, "trackAdoption": false }, @@ -53095,10 +61820,16 @@ "label": "request", "description": [], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/request_handler.ts", "deprecated": false, "trackAdoption": false }, @@ -53112,7 +61843,7 @@ "signature": [ "ResponseFactory" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/request_handler.ts", "deprecated": false, "trackAdoption": false } @@ -53129,7 +61860,13 @@ "\nPublic version of IRouter, default-scoped to {@link RequestHandlerContext}\nSee [@link IRouter}" ], "signature": [ - "IRouter", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IRouter", + "text": "IRouter" + }, "" ], "path": "src/core/server/index.ts", @@ -53148,12 +61885,24 @@ ], "signature": [ "{ name?: string | undefined; value?: unknown; description?: string | undefined; category?: string[] | undefined; options?: string[] | number[] | undefined; optionLabels?: Record | undefined; requiresPageReload?: boolean | undefined; readonly?: boolean | undefined; sensitive?: boolean | undefined; type?: ", - "UiSettingsType", + { + "pluginId": "@kbn/core-ui-settings-common", + "scope": "common", + "docId": "kibKbnCoreUiSettingsCommonPluginApi", + "section": "def-common.UiSettingsType", + "text": "UiSettingsType" + }, " | undefined; deprecation?: ", - "DeprecationSettings", + { + "pluginId": "@kbn/core-ui-settings-common", + "scope": "common", + "docId": "kibKbnCoreUiSettingsCommonPluginApi", + "section": "def-common.DeprecationSettings", + "text": "DeprecationSettings" + }, " | undefined; order?: number | undefined; metric?: { type: string; name: string; } | undefined; }" ], - "path": "node_modules/@types/kbn__core-ui-settings-common/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-common/src/ui_settings.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -53168,10 +61917,16 @@ "\nHTTP response parameters for redirection response" ], "signature": [ - "HttpResponseOptions", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.HttpResponseOptions", + "text": "HttpResponseOptions" + }, " & { headers: { location: string; }; }" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/response.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -53187,14 +61942,32 @@ ], "signature": [ "(context: Context, request: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ", response: ResponseFactory) => ", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, " | Promise<", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, ">" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/request_handler.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -53211,7 +61984,7 @@ "signature": [ "Context" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/request_handler.ts", "deprecated": false, "trackAdoption": false }, @@ -53225,10 +61998,16 @@ "{@link KibanaRequest } - object containing information about requested resource,\nsuch as path, method, headers, parameters, query, body, etc." ], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/request_handler.ts", "deprecated": false, "trackAdoption": false }, @@ -53244,7 +62023,7 @@ "signature": [ "ResponseFactory" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/request_handler.ts", "deprecated": false, "trackAdoption": false } @@ -53262,22 +62041,64 @@ ], "signature": [ "(handler: ", - "RequestHandler", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.RequestHandler", + "text": "RequestHandler" + }, ") => ", - "RequestHandler", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.RequestHandler", + "text": "RequestHandler" + }, "" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/request_handler.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -53291,14 +62112,32 @@ "description": [], "signature": [ "(context: Context, request: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ", response: ResponseFactory) => ", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, " | Promise<", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, ">" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/request_handler.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -53313,7 +62152,7 @@ "signature": [ "Context" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/request_handler.ts", "deprecated": false, "trackAdoption": false }, @@ -53325,10 +62164,16 @@ "label": "request", "description": [], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/request_handler.ts", "deprecated": false, "trackAdoption": false }, @@ -53342,7 +62187,7 @@ "signature": [ "ResponseFactory" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/request_handler.ts", "deprecated": false, "trackAdoption": false } @@ -53362,10 +62207,16 @@ ], "signature": [ "string | Error | { message: string | Error; attributes?: ", - "ResponseErrorAttributes", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.ResponseErrorAttributes", + "text": "ResponseErrorAttributes" + }, " | undefined; }" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/response.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -53382,7 +62233,7 @@ "signature": [ "{ [x: string]: any; }" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/response.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -53399,7 +62250,7 @@ "signature": [ "Record<\"accept\" | \"accept-language\" | \"accept-patch\" | \"accept-ranges\" | \"access-control-allow-credentials\" | \"access-control-allow-headers\" | \"access-control-allow-methods\" | \"access-control-allow-origin\" | \"access-control-expose-headers\" | \"access-control-max-age\" | \"access-control-request-headers\" | \"access-control-request-method\" | \"age\" | \"allow\" | \"alt-svc\" | \"authorization\" | \"cache-control\" | \"connection\" | \"content-disposition\" | \"content-encoding\" | \"content-language\" | \"content-length\" | \"content-location\" | \"content-range\" | \"content-type\" | \"cookie\" | \"date\" | \"etag\" | \"expect\" | \"expires\" | \"forwarded\" | \"from\" | \"host\" | \"if-match\" | \"if-modified-since\" | \"if-none-match\" | \"if-unmodified-since\" | \"last-modified\" | \"location\" | \"origin\" | \"pragma\" | \"proxy-authenticate\" | \"proxy-authorization\" | \"public-key-pins\" | \"range\" | \"referer\" | \"retry-after\" | \"sec-websocket-accept\" | \"sec-websocket-extensions\" | \"sec-websocket-key\" | \"sec-websocket-protocol\" | \"sec-websocket-version\" | \"set-cookie\" | \"strict-transport-security\" | \"tk\" | \"trailer\" | \"transfer-encoding\" | \"upgrade\" | \"user-agent\" | \"vary\" | \"via\" | \"warning\" | \"www-authenticate\", string | string[]> | Record" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/headers.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -53416,7 +62267,7 @@ "signature": [ "\"application/json\" | \"multipart/form-data\" | \"application/*+json\" | \"application/octet-stream\" | \"application/x-www-form-urlencoded\" | \"text/*\"" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/route.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -53431,11 +62282,23 @@ "\nThe set of common HTTP methods supported by Kibana routing." ], "signature": [ - "SafeRouteMethod", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.SafeRouteMethod", + "text": "SafeRouteMethod" + }, " | ", - "DestructiveRouteMethod" + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.DestructiveRouteMethod", + "text": "DestructiveRouteMethod" + } ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/route.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -53451,14 +62314,32 @@ ], "signature": [ "(route: ", - "RouteConfig", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.RouteConfig", + "text": "RouteConfig" + }, ", handler: ", - "RequestHandler", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.RequestHandler", + "text": "RequestHandler" + }, ") => void" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/router.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -53471,10 +62352,16 @@ "label": "route", "description": [], "signature": [ - "RouteConfig", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.RouteConfig", + "text": "RouteConfig" + }, "" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/router.ts", "deprecated": false, "trackAdoption": false }, @@ -53487,16 +62374,40 @@ "description": [], "signature": [ "(context: Context, request: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ", response: ", - "KibanaResponseFactory", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaResponseFactory", + "text": "KibanaResponseFactory" + }, ") => ", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, " | Promise<", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, ">" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/router.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -53511,7 +62422,7 @@ "signature": [ "Context" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/request_handler.ts", "deprecated": false, "trackAdoption": false }, @@ -53523,10 +62434,16 @@ "label": "request", "description": [], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/request_handler.ts", "deprecated": false, "trackAdoption": false }, @@ -53540,7 +62457,7 @@ "signature": [ "ResponseFactory" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/request_handler.ts", "deprecated": false, "trackAdoption": false } @@ -53560,12 +62477,24 @@ ], "signature": [ "(data: any, validationResult: ", - "RouteValidationResultFactory", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.RouteValidationResultFactory", + "text": "RouteValidationResultFactory" + }, ") => { value: T; error?: undefined; } | { value?: undefined; error: ", - "RouteValidationError", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.RouteValidationError", + "text": "RouteValidationError" + }, "; }" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/route_validator.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -53580,7 +62509,7 @@ "signature": [ "any" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/route_validator.ts", "deprecated": false, "trackAdoption": false }, @@ -53592,9 +62521,15 @@ "label": "validationResult", "description": [], "signature": [ - "RouteValidationResultFactory" + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.RouteValidationResultFactory", + "text": "RouteValidationResultFactory" + } ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/route_validator.ts", "deprecated": false, "trackAdoption": false } @@ -53611,14 +62546,32 @@ "\nAllowed property validation options: either @kbn/config-schema validations or custom validation functions\n\nSee {@link RouteValidationFunction} for custom validation.\n" ], "signature": [ - "ObjectType", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ObjectType", + "text": "ObjectType" + }, " | ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, " | ", - "RouteValidationFunction", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.RouteValidationFunction", + "text": "RouteValidationFunction" + }, "" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/route_validator.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -53633,11 +62586,23 @@ "\nRoute validations config and options merged into one object" ], "signature": [ - "RouteValidatorConfig", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.RouteValidatorConfig", + "text": "RouteValidatorConfig" + }, " & ", - "RouteValidatorOptions" + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.RouteValidatorOptions", + "text": "RouteValidatorOptions" + } ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/route_validator.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -53654,7 +62619,7 @@ "signature": [ "\"options\" | \"get\"" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/route.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -53669,12 +62634,24 @@ "\nType definition for a Saved Object attribute value\n" ], "signature": [ - "SavedObjectAttributeSingle", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectAttributeSingle", + "text": "SavedObjectAttributeSingle" + }, " | ", - "SavedObjectAttributeSingle", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectAttributeSingle", + "text": "SavedObjectAttributeSingle" + }, "[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -53690,10 +62667,16 @@ ], "signature": [ "string | number | boolean | ", - "SavedObjectAttributes", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectAttributes", + "text": "SavedObjectAttributes" + }, " | null | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -53709,14 +62692,32 @@ ], "signature": [ "(doc: ", - "SavedObjectUnsanitizedDoc", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectUnsanitizedDoc", + "text": "SavedObjectUnsanitizedDoc" + }, ", context: ", - "SavedObjectMigrationContext", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectMigrationContext", + "text": "SavedObjectMigrationContext" + }, ") => ", - "SavedObjectUnsanitizedDoc", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectUnsanitizedDoc", + "text": "SavedObjectUnsanitizedDoc" + }, "" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/migration.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -53729,12 +62730,17 @@ "label": "doc", "description": [], "signature": [ - "SavedObjectDoc", - " & { references?: ", - "SavedObjectReference", + "SavedObjectDoc & { references?: ", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[] | undefined; }" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/migration.ts", "deprecated": false, "trackAdoption": false }, @@ -53746,9 +62752,15 @@ "label": "context", "description": [], "signature": [ - "SavedObjectMigrationContext" + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectMigrationContext", + "text": "SavedObjectMigrationContext" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/migration.ts", "deprecated": false, "trackAdoption": false } @@ -53765,12 +62777,17 @@ "\nDescribes Saved Object documents that have passed through the migration\nframework and are guaranteed to have a `references` root property.\n" ], "signature": [ - "SavedObjectDoc", - " & { references: ", - "SavedObjectReference", + "SavedObjectDoc & { references: ", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]; }" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/serialization.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -53786,11 +62803,23 @@ ], "signature": [ "({ request, includedHiddenTypes, }: { request: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "; includedHiddenTypes?: string[] | undefined; }) => ", - "SavedObjectsClientContract" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/client_factory.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -53804,10 +62833,16 @@ "description": [], "signature": [ "{ request: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "; includedHiddenTypes?: string[] | undefined; }" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/client_factory.ts", "deprecated": false, "trackAdoption": false } @@ -53825,11 +62860,23 @@ ], "signature": [ "(repositoryFactory: ", - "SavedObjectsRepositoryFactory", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsRepositoryFactory", + "text": "SavedObjectsRepositoryFactory" + }, ") => ", - "SavedObjectsClientFactory" + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsClientFactory", + "text": "SavedObjectsClientFactory" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/client_factory.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -53842,9 +62889,15 @@ "label": "repositoryFactory", "description": [], "signature": [ - "SavedObjectsRepositoryFactory" + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsRepositoryFactory", + "text": "SavedObjectsRepositoryFactory" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/client_factory.ts", "deprecated": false, "trackAdoption": false } @@ -53862,11 +62915,23 @@ ], "signature": [ "(options: ", - "SavedObjectsClientWrapperOptions", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsClientWrapperOptions", + "text": "SavedObjectsClientWrapperOptions" + }, ") => ", - "SavedObjectsClientContract" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/client_factory.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -53879,9 +62944,15 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsClientWrapperOptions" + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsClientWrapperOptions", + "text": "SavedObjectsClientWrapperOptions" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/client_factory.ts", "deprecated": false, "trackAdoption": false } @@ -53896,9 +62967,15 @@ "label": "SavedObjectsClosePointInTimeOptions", "description": [], "signature": [ - "SavedObjectsBaseOptions" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/close_point_in_time.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -53916,16 +62993,40 @@ "> | undefined; perPage?: number | undefined; sortField?: string | undefined; sortOrder?: ", "SortOrder", " | undefined; searchFields?: string[] | undefined; rootSearchFields?: string[] | undefined; hasReference?: ", - "SavedObjectsFindOptionsReference", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsFindOptionsReference", + "text": "SavedObjectsFindOptionsReference" + }, " | ", - "SavedObjectsFindOptionsReference", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsFindOptionsReference", + "text": "SavedObjectsFindOptionsReference" + }, "[] | undefined; hasReferenceOperator?: \"AND\" | \"OR\" | undefined; hasNoReference?: ", - "SavedObjectsFindOptionsReference", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsFindOptionsReference", + "text": "SavedObjectsFindOptionsReference" + }, " | ", - "SavedObjectsFindOptionsReference", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsFindOptionsReference", + "text": "SavedObjectsFindOptionsReference" + }, "[] | undefined; hasNoReferenceOperator?: \"AND\" | \"OR\" | undefined; defaultSearchOperator?: \"AND\" | \"OR\" | undefined; namespaces?: string[] | undefined; typeToNamespacesMap?: Map | undefined; preference?: string | undefined; }" ], - "path": "node_modules/@types/kbn__core-saved-objects-api-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/create_point_in_time_finder.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -53941,16 +63042,40 @@ ], "signature": [ "(context: ", - "SavedObjectsExportTransformContext", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsExportTransformContext", + "text": "SavedObjectsExportTransformContext" + }, ", objects: ", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "[]) => ", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "[] | Promise<", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "[]>" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/export.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -53963,9 +63088,15 @@ "label": "context", "description": [], "signature": [ - "SavedObjectsExportTransformContext" + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsExportTransformContext", + "text": "SavedObjectsExportTransformContext" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/export.ts", "deprecated": false, "trackAdoption": false }, @@ -53977,10 +63108,16 @@ "label": "objects", "description": [], "signature": [ - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/export.ts", "deprecated": false, "trackAdoption": false } @@ -54002,7 +63139,7 @@ "MappingProperty", "> | undefined; }" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/mapping_definition.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -54018,14 +63155,32 @@ ], "signature": [ "(objects: ", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "[]) => ", - "SavedObjectsImportHookResult", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsImportHookResult", + "text": "SavedObjectsImportHookResult" + }, " | Promise<", - "SavedObjectsImportHookResult", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsImportHookResult", + "text": "SavedObjectsImportHookResult" + }, ">" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/import.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -54038,10 +63193,16 @@ "label": "objects", "description": [], "signature": [ - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/import.ts", "deprecated": false, "trackAdoption": false } @@ -54058,11 +63219,23 @@ "\nComposite type of all the possible types of import warnings.\n\nSee {@link SavedObjectsImportSimpleWarning} and {@link SavedObjectsImportActionRequiredWarning}\nfor more details.\n" ], "signature": [ - "SavedObjectsImportSimpleWarning", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectsImportSimpleWarning", + "text": "SavedObjectsImportSimpleWarning" + }, " | ", - "SavedObjectsImportActionRequiredWarning" + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectsImportActionRequiredWarning", + "text": "SavedObjectsImportActionRequiredWarning" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -54079,7 +63252,7 @@ "signature": [ "\"single\" | \"multiple\" | \"multiple-isolated\" | \"agnostic\"" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -54094,10 +63267,16 @@ "\nAllows for validating properties using @kbn/config-schema validations.\n" ], "signature": [ - "ObjectType", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ObjectType", + "text": "ObjectType" + }, "" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/validation.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -54115,14 +63294,26 @@ ], "signature": [ "(toolkit: { readonlyEsClient: Pick<", - "ElasticsearchClient", + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.ElasticsearchClient", + "text": "ElasticsearchClient" + }, ", \"search\">; }) => ", - "MaybePromise", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.MaybePromise", + "text": "MaybePromise" + }, "<", "QueryDslQueryContainer", ">" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/saved_objects_type.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -54136,10 +63327,16 @@ "description": [], "signature": [ "{ readonlyEsClient: Pick<", - "ElasticsearchClient", + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.ElasticsearchClient", + "text": "ElasticsearchClient" + }, ", \"search\">; }" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/saved_objects_type.ts", "deprecated": false, "trackAdoption": false } @@ -54156,12 +63353,17 @@ "\nDescribes Saved Object documents from Kibana < 7.0.0 which don't have a\n`references` root property defined. This type should only be used in\nmigrations.\n" ], "signature": [ - "SavedObjectDoc", - " & { references?: ", - "SavedObjectReference", + "SavedObjectDoc & { references?: ", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[] | undefined; }" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/serialization.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -54176,11 +63378,23 @@ "\n A user credentials container.\nIt accommodates the necessary auth credentials to impersonate the current user.\n" ], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, " | ", - "FakeRequest" + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.FakeRequest", + "text": "FakeRequest" + } ], - "path": "node_modules/@types/kbn__core-elasticsearch-server/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server/src/client/scopeable_request.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -54197,7 +63411,7 @@ "signature": [ "Readonly<{ toString: () => \"available\"; valueOf: () => 0; toJSON: () => \"available\"; }> | Readonly<{ toString: () => \"degraded\"; valueOf: () => 1; toJSON: () => \"degraded\"; }> | Readonly<{ toString: () => \"unavailable\"; valueOf: () => 2; toJSON: () => \"unavailable\"; }> | Readonly<{ toString: () => \"critical\"; valueOf: () => 3; toJSON: () => \"critical\"; }>" ], - "path": "node_modules/@types/kbn__core-status-common/index.d.ts", + "path": "packages/core/status/core-status-common/src/service_status.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -54210,15 +63424,35 @@ "label": "SharedGlobalConfig", "description": [], "signature": [ - "{ readonly elasticsearch: Readonly<{ readonly requestTimeout: Readonly<{ clone: () => moment.Duration; humanize: { (argWithSuffix?: boolean | undefined, argThresholds?: moment.argThresholdOpts | undefined): string; (argThresholds?: moment.argThresholdOpts | undefined): string; }; abs: () => moment.Duration; as: (units: moment.unitOfTime.Base) => number; get: (units: moment.unitOfTime.Base) => number; milliseconds: () => number; asMilliseconds: () => number; seconds: () => number; asSeconds: () => number; minutes: () => number; asMinutes: () => number; hours: () => number; asHours: () => number; days: () => number; asDays: () => number; weeks: () => number; asWeeks: () => number; months: () => number; asMonths: () => number; years: () => number; asYears: () => number; add: (inp?: moment.DurationInputArg1, unit?: moment.unitOfTime.DurationConstructor | undefined) => moment.Duration; subtract: (inp?: moment.DurationInputArg1, unit?: moment.unitOfTime.DurationConstructor | undefined) => moment.Duration; locale: { (): string; (locale: moment.LocaleSpecifier): moment.Duration; }; localeData: () => moment.Locale; toISOString: () => string; toJSON: () => string; isValid: () => boolean; lang: { (locale: moment.LocaleSpecifier): moment.Moment; (): moment.Locale; }; toIsoString: () => string; }>; readonly shardTimeout: Readonly<{ clone: () => moment.Duration; humanize: { (argWithSuffix?: boolean | undefined, argThresholds?: moment.argThresholdOpts | undefined): string; (argThresholds?: moment.argThresholdOpts | undefined): string; }; abs: () => moment.Duration; as: (units: moment.unitOfTime.Base) => number; get: (units: moment.unitOfTime.Base) => number; milliseconds: () => number; asMilliseconds: () => number; seconds: () => number; asSeconds: () => number; minutes: () => number; asMinutes: () => number; hours: () => number; asHours: () => number; days: () => number; asDays: () => number; weeks: () => number; asWeeks: () => number; months: () => number; asMonths: () => number; years: () => number; asYears: () => number; add: (inp?: moment.DurationInputArg1, unit?: moment.unitOfTime.DurationConstructor | undefined) => moment.Duration; subtract: (inp?: moment.DurationInputArg1, unit?: moment.unitOfTime.DurationConstructor | undefined) => moment.Duration; locale: { (): string; (locale: moment.LocaleSpecifier): moment.Duration; }; localeData: () => moment.Locale; toISOString: () => string; toJSON: () => string; isValid: () => boolean; lang: { (locale: moment.LocaleSpecifier): moment.Moment; (): moment.Locale; }; toIsoString: () => string; }>; readonly pingTimeout: Readonly<{ clone: () => moment.Duration; humanize: { (argWithSuffix?: boolean | undefined, argThresholds?: moment.argThresholdOpts | undefined): string; (argThresholds?: moment.argThresholdOpts | undefined): string; }; abs: () => moment.Duration; as: (units: moment.unitOfTime.Base) => number; get: (units: moment.unitOfTime.Base) => number; milliseconds: () => number; asMilliseconds: () => number; seconds: () => number; asSeconds: () => number; minutes: () => number; asMinutes: () => number; hours: () => number; asHours: () => number; days: () => number; asDays: () => number; weeks: () => number; asWeeks: () => number; months: () => number; asMonths: () => number; years: () => number; asYears: () => number; add: (inp?: moment.DurationInputArg1, unit?: moment.unitOfTime.DurationConstructor | undefined) => moment.Duration; subtract: (inp?: moment.DurationInputArg1, unit?: moment.unitOfTime.DurationConstructor | undefined) => moment.Duration; locale: { (): string; (locale: moment.LocaleSpecifier): moment.Duration; }; localeData: () => moment.Locale; toISOString: () => string; toJSON: () => string; isValid: () => boolean; lang: { (locale: moment.LocaleSpecifier): moment.Moment; (): moment.Locale; }; toIsoString: () => string; }>; }>; readonly path: Readonly<{ readonly data: string; }>; readonly savedObjects: Readonly<{ readonly maxImportPayloadBytes: Readonly<{ isGreaterThan: (other: ", - "ByteSizeValue", + "{ readonly elasticsearch: Readonly<{ readonly requestTimeout: Readonly<{ clone: () => moment.Duration; humanize: { (argWithSuffix?: boolean | undefined, argThresholds?: moment.argThresholdOpts | undefined): string; (argThresholds?: moment.argThresholdOpts | undefined): string; }; abs: () => moment.Duration; as: (units: moment.unitOfTime.Base) => number; get: (units: moment.unitOfTime.Base) => number; milliseconds: () => number; asMilliseconds: () => number; seconds: () => number; asSeconds: () => number; minutes: () => number; asMinutes: () => number; hours: () => number; asHours: () => number; days: () => number; asDays: () => number; weeks: () => number; asWeeks: () => number; months: () => number; asMonths: () => number; years: () => number; asYears: () => number; add: (inp?: moment.DurationInputArg1, unit?: moment.unitOfTime.DurationConstructor | undefined) => moment.Duration; subtract: (inp?: moment.DurationInputArg1, unit?: moment.unitOfTime.DurationConstructor | undefined) => moment.Duration; locale: { (): string; (locale: moment.LocaleSpecifier): moment.Duration; }; localeData: () => moment.Locale; toISOString: () => string; toJSON: () => string; isValid: () => boolean; lang: { (locale: moment.LocaleSpecifier): moment.Moment; (): moment.Locale; }; toIsoString: () => string; format: moment.Format; }>; readonly shardTimeout: Readonly<{ clone: () => moment.Duration; humanize: { (argWithSuffix?: boolean | undefined, argThresholds?: moment.argThresholdOpts | undefined): string; (argThresholds?: moment.argThresholdOpts | undefined): string; }; abs: () => moment.Duration; as: (units: moment.unitOfTime.Base) => number; get: (units: moment.unitOfTime.Base) => number; milliseconds: () => number; asMilliseconds: () => number; seconds: () => number; asSeconds: () => number; minutes: () => number; asMinutes: () => number; hours: () => number; asHours: () => number; days: () => number; asDays: () => number; weeks: () => number; asWeeks: () => number; months: () => number; asMonths: () => number; years: () => number; asYears: () => number; add: (inp?: moment.DurationInputArg1, unit?: moment.unitOfTime.DurationConstructor | undefined) => moment.Duration; subtract: (inp?: moment.DurationInputArg1, unit?: moment.unitOfTime.DurationConstructor | undefined) => moment.Duration; locale: { (): string; (locale: moment.LocaleSpecifier): moment.Duration; }; localeData: () => moment.Locale; toISOString: () => string; toJSON: () => string; isValid: () => boolean; lang: { (locale: moment.LocaleSpecifier): moment.Moment; (): moment.Locale; }; toIsoString: () => string; format: moment.Format; }>; readonly pingTimeout: Readonly<{ clone: () => moment.Duration; humanize: { (argWithSuffix?: boolean | undefined, argThresholds?: moment.argThresholdOpts | undefined): string; (argThresholds?: moment.argThresholdOpts | undefined): string; }; abs: () => moment.Duration; as: (units: moment.unitOfTime.Base) => number; get: (units: moment.unitOfTime.Base) => number; milliseconds: () => number; asMilliseconds: () => number; seconds: () => number; asSeconds: () => number; minutes: () => number; asMinutes: () => number; hours: () => number; asHours: () => number; days: () => number; asDays: () => number; weeks: () => number; asWeeks: () => number; months: () => number; asMonths: () => number; years: () => number; asYears: () => number; add: (inp?: moment.DurationInputArg1, unit?: moment.unitOfTime.DurationConstructor | undefined) => moment.Duration; subtract: (inp?: moment.DurationInputArg1, unit?: moment.unitOfTime.DurationConstructor | undefined) => moment.Duration; locale: { (): string; (locale: moment.LocaleSpecifier): moment.Duration; }; localeData: () => moment.Locale; toISOString: () => string; toJSON: () => string; isValid: () => boolean; lang: { (locale: moment.LocaleSpecifier): moment.Moment; (): moment.Locale; }; toIsoString: () => string; format: moment.Format; }>; }>; readonly path: Readonly<{ readonly data: string; }>; readonly savedObjects: Readonly<{ readonly maxImportPayloadBytes: Readonly<{ isGreaterThan: (other: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ByteSizeValue", + "text": "ByteSizeValue" + }, ") => boolean; isLessThan: (other: ", - "ByteSizeValue", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ByteSizeValue", + "text": "ByteSizeValue" + }, ") => boolean; isEqualTo: (other: ", - "ByteSizeValue", - ") => boolean; getValueInBytes: () => number; toString: (returnUnit?: ByteSizeValueUnit | undefined) => string; }>; }>; }" + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ByteSizeValue", + "text": "ByteSizeValue" + }, + ") => boolean; getValueInBytes: () => number; toString: (returnUnit?: ", + "ByteSizeValueUnit", + " | undefined) => string; }>; }>; }" ], - "path": "node_modules/@types/kbn__core-plugins-server/index.d.ts", + "path": "packages/core/plugins/core-plugins-server/src/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -54234,10 +63468,16 @@ ], "signature": [ "() => Promise<[", - "CoreStart", + { + "pluginId": "@kbn/core-lifecycle-server", + "scope": "server", + "docId": "kibKbnCoreLifecycleServerPluginApi", + "section": "def-server.CoreStart", + "text": "CoreStart" + }, ", TPluginsStart, TStart]>" ], - "path": "node_modules/@types/kbn__core-lifecycle-server/index.d.ts", + "path": "packages/core/lifecycle/core-lifecycle-server/src/core_setup.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -54256,7 +63496,7 @@ "signature": [ "\"failed\" | \"enqueued\" | \"sent_to_shipper\" | \"succeeded\" | \"dropped\"" ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/events/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -54273,7 +63513,7 @@ "signature": [ "\"string\" | \"number\" | \"boolean\" | \"undefined\" | \"color\" | \"image\" | \"json\" | \"markdown\" | \"select\" | \"array\"" ], - "path": "node_modules/@types/kbn__core-ui-settings-common/index.d.ts", + "path": "packages/core/ui-settings/core-ui-settings-common/src/ui_settings.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -54289,16 +63529,40 @@ ], "signature": [ "(options: ", - "UnauthorizedErrorHandlerOptions", + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.UnauthorizedErrorHandlerOptions", + "text": "UnauthorizedErrorHandlerOptions" + }, ", toolkit: ", - "UnauthorizedErrorHandlerToolkit", + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.UnauthorizedErrorHandlerToolkit", + "text": "UnauthorizedErrorHandlerToolkit" + }, ") => ", - "MaybePromise", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.MaybePromise", + "text": "MaybePromise" + }, "<", - "UnauthorizedErrorHandlerResult", + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.UnauthorizedErrorHandlerResult", + "text": "UnauthorizedErrorHandlerResult" + }, ">" ], - "path": "node_modules/@types/kbn__core-elasticsearch-server/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server/src/client/unauthorized_error_handler.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -54311,9 +63575,15 @@ "label": "options", "description": [], "signature": [ - "UnauthorizedErrorHandlerOptions" + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.UnauthorizedErrorHandlerOptions", + "text": "UnauthorizedErrorHandlerOptions" + } ], - "path": "node_modules/@types/kbn__core-elasticsearch-server/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server/src/client/unauthorized_error_handler.ts", "deprecated": false, "trackAdoption": false }, @@ -54325,9 +63595,15 @@ "label": "toolkit", "description": [], "signature": [ - "UnauthorizedErrorHandlerToolkit" + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.UnauthorizedErrorHandlerToolkit", + "text": "UnauthorizedErrorHandlerToolkit" + } ], - "path": "node_modules/@types/kbn__core-elasticsearch-server/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server/src/client/unauthorized_error_handler.ts", "deprecated": false, "trackAdoption": false } @@ -54342,11 +63618,23 @@ "label": "UnauthorizedErrorHandlerResult", "description": [], "signature": [ - "UnauthorizedErrorHandlerRetryResult", + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.UnauthorizedErrorHandlerRetryResult", + "text": "UnauthorizedErrorHandlerRetryResult" + }, " | ", - "UnauthorizedErrorHandlerNotHandledResult" + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.UnauthorizedErrorHandlerNotHandledResult", + "text": "UnauthorizedErrorHandlerNotHandledResult" + } ], - "path": "node_modules/@types/kbn__core-elasticsearch-server/index.d.ts", + "path": "packages/core/elasticsearch/core-elasticsearch-server/src/client/unauthorized_error_handler.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -54362,12 +63650,133 @@ "description": [], "signature": [ "{ [x: string]: ", - "AppCategory", + { + "pluginId": "@kbn/core-application-common", + "scope": "common", + "docId": "kibKbnCoreApplicationCommonPluginApi", + "section": "def-common.AppCategory", + "text": "AppCategory" + }, "; }" ], - "path": "node_modules/@types/kbn__core-application-common/index.d.ts", + "path": "packages/core/application/core-application-common/src/default_app_categories.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "core", + "id": "def-server.kibanaResponseFactory", + "type": "Object", + "tags": [], + "label": "kibanaResponseFactory", + "description": [], + "path": "packages/core/http/core-http-router-server-internal/src/response.ts", "deprecated": false, "trackAdoption": false, + "children": [ + { + "parentPluginId": "core", + "id": "def-server.kibanaResponseFactory.Unnamed", + "type": "Any", + "tags": [], + "label": "Unnamed", + "description": [], + "signature": [ + "any" + ], + "path": "packages/core/http/core-http-router-server-internal/src/response.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "core", + "id": "def-server.kibanaResponseFactory.Unnamed", + "type": "Any", + "tags": [], + "label": "Unnamed", + "description": [], + "signature": [ + "any" + ], + "path": "packages/core/http/core-http-router-server-internal/src/response.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "core", + "id": "def-server.kibanaResponseFactory.Unnamed", + "type": "Any", + "tags": [], + "label": "Unnamed", + "description": [], + "signature": [ + "any" + ], + "path": "packages/core/http/core-http-router-server-internal/src/response.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "core", + "id": "def-server.kibanaResponseFactory.custom", + "type": "Function", + "tags": [], + "label": "custom", + "description": [], + "signature": [ + " | Error | ", + "Stream", + " | Buffer | { message: string | Error; attributes?: ", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.ResponseErrorAttributes", + "text": "ResponseErrorAttributes" + }, + " | undefined; } | undefined>(options: ", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.CustomHttpResponseOptions", + "text": "CustomHttpResponseOptions" + }, + ") => ", + "KibanaResponse", + "" + ], + "path": "packages/core/http/core-http-router-server-internal/src/response.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "core", + "id": "def-server.kibanaResponseFactory.custom.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.CustomHttpResponseOptions", + "text": "CustomHttpResponseOptions" + }, + "" + ], + "path": "packages/core/http/core-http-router-server-internal/src/response.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], "initialIsOpen": false }, { @@ -54382,7 +63791,7 @@ "signature": [ "{ readonly available: Readonly<{ toString: () => \"available\"; valueOf: () => 0; toJSON: () => \"available\"; }>; readonly degraded: Readonly<{ toString: () => \"degraded\"; valueOf: () => 1; toJSON: () => \"degraded\"; }>; readonly unavailable: Readonly<{ toString: () => \"unavailable\"; valueOf: () => 2; toJSON: () => \"unavailable\"; }>; readonly critical: Readonly<{ toString: () => \"critical\"; valueOf: () => 3; toJSON: () => \"critical\"; }>; }" ], - "path": "node_modules/@types/kbn__core-status-common/index.d.ts", + "path": "packages/core/status/core-status-common/src/service_status.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -54399,7 +63808,7 @@ "signature": [ "readonly [\"data\", \"stream\"]" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/route.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/core.mdx b/api_docs/core.mdx index d128274caac80..3c25fa30dfdce 100644 --- a/api_docs/core.mdx +++ b/api_docs/core.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/core title: "core" image: https://source.unsplash.com/400x175/?github description: API docs for the core plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'core'] --- import coreObj from './core.devdocs.json'; @@ -21,7 +21,7 @@ Contact [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) for que | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 2700 | 0 | 0 | 0 | +| 2703 | 17 | 1201 | 0 | ## Client diff --git a/api_docs/custom_integrations.mdx b/api_docs/custom_integrations.mdx index fdcca2f221dda..2837331022ab8 100644 --- a/api_docs/custom_integrations.mdx +++ b/api_docs/custom_integrations.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/customIntegrations title: "customIntegrations" image: https://source.unsplash.com/400x175/?github description: API docs for the customIntegrations plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'customIntegrations'] --- import customIntegrationsObj from './custom_integrations.devdocs.json'; diff --git a/api_docs/dashboard.devdocs.json b/api_docs/dashboard.devdocs.json index a4309f565cf9f..4b2a5f4235d2a 100644 --- a/api_docs/dashboard.devdocs.json +++ b/api_docs/dashboard.devdocs.json @@ -330,7 +330,13 @@ "label": "filters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "src/plugins/dashboard/public/types.ts", @@ -400,7 +406,13 @@ "label": "executionContext", "description": [], "signature": [ - "KibanaExecutionContext", + { + "pluginId": "@kbn/core-execution-context-common", + "scope": "common", + "docId": "kibKbnCoreExecutionContextCommonPluginApi", + "section": "def-common.KibanaExecutionContext", + "text": "KibanaExecutionContext" + }, " | undefined" ], "path": "src/plugins/dashboard/public/types.ts", @@ -457,7 +469,13 @@ "description": [], "signature": [ "{ [key: string]: ", - "Serializable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Serializable", + "text": "Serializable" + }, "; }" ], "path": "src/plugins/dashboard/common/types.ts", @@ -621,7 +639,13 @@ ], "signature": [ "{ dashboardId?: string | undefined; timeRange?: ", - "TimeRange", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, " | undefined; refreshInterval?: ", { "pluginId": "data", @@ -631,9 +655,21 @@ "text": "RefreshInterval" }, " | undefined; filters?: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[] | undefined; query?: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | undefined; useHash?: boolean | undefined; preserveSavedFilters?: boolean | undefined; viewMode?: ", { "pluginId": "embeddable", @@ -651,7 +687,13 @@ "text": "SavedDashboardPanel" }, " & ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ")[] | undefined; savedQuery?: string | undefined; tags?: string[] | undefined; options?: ", "DashboardOptions", " | undefined; controlGroupInput?: ", @@ -939,9 +981,21 @@ "description": [], "signature": [ "(savedObjectClient: Pick<", - "ISavedObjectsRepository", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.ISavedObjectsRepository", + "text": "ISavedObjectsRepository" + }, ", \"find\">, embeddableType: string) => Promise<{ [key: string]: ", - "Serializable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Serializable", + "text": "Serializable" + }, "; }[]>" ], "path": "src/plugins/dashboard/server/usage/find_by_value_embeddables.ts", @@ -957,7 +1011,13 @@ "description": [], "signature": [ "Pick<", - "ISavedObjectsRepository", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.ISavedObjectsRepository", + "text": "ISavedObjectsRepository" + }, ", \"find\">" ], "path": "src/plugins/dashboard/server/usage/find_by_value_embeddables.ts", @@ -1320,7 +1380,13 @@ "text": "EmbeddableStateWithType" }, "; references: ", - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]; }" ], "path": "src/plugins/dashboard/common/persistable_state/dashboard_container_references.ts", @@ -1377,7 +1443,13 @@ "text": "EmbeddableStateWithType" }, ", references: ", - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]) => ", { "pluginId": "embeddable", @@ -1477,7 +1549,13 @@ "({ attributes, references = [] }: SavedObjectAttributesAndReferences, deps: ", "InjectDeps", ") => ", - "SavedObjectAttributes" + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectAttributes", + "text": "SavedObjectAttributes" + } ], "path": "src/plugins/dashboard/common/persistable_state/dashboard_saved_object_references.ts", "deprecated": false, @@ -1991,7 +2069,13 @@ "description": [], "signature": [ "{ [key: string]: ", - "Serializable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Serializable", + "text": "Serializable" + }, "; }" ], "path": "src/plugins/dashboard/common/types.ts", diff --git a/api_docs/dashboard.mdx b/api_docs/dashboard.mdx index 78d3f6d0a4f30..a0e11bcecae79 100644 --- a/api_docs/dashboard.mdx +++ b/api_docs/dashboard.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/dashboard title: "dashboard" image: https://source.unsplash.com/400x175/?github description: API docs for the dashboard plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dashboard'] --- import dashboardObj from './dashboard.devdocs.json'; diff --git a/api_docs/dashboard_enhanced.devdocs.json b/api_docs/dashboard_enhanced.devdocs.json index a523dacf19c26..7b4a7ac24f943 100644 --- a/api_docs/dashboard_enhanced.devdocs.json +++ b/api_docs/dashboard_enhanced.devdocs.json @@ -212,7 +212,7 @@ "label": "getDisplayName", "description": [], "signature": [ - "() => string" + "() => any" ], "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", "deprecated": false, @@ -552,7 +552,13 @@ "text": "DashboardStart" }, "; }, unknown, ", - "CoreStart", + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreStart", + "text": "CoreStart" + }, ">" ], "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", @@ -642,7 +648,13 @@ "; navigate(options: ", "RedirectOptions", "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">): void; setAnonymousAccessServiceProvider: (provider: () => ", { "pluginId": "share", @@ -758,7 +770,13 @@ "; navigate(options: ", "RedirectOptions", "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">): void; }" ], "path": "x-pack/plugins/dashboard_enhanced/public/plugin.ts", @@ -964,7 +982,13 @@ "text": "SerializedEvent" }, "; references: ", - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]; }" ], "path": "x-pack/plugins/dashboard_enhanced/common/drilldowns/dashboard_drilldown/dashboard_drilldown_persistable_state.ts", @@ -1016,7 +1040,13 @@ "text": "SerializedEvent" }, ", references: ", - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]) => ", { "pluginId": "uiActionsEnhanced", diff --git a/api_docs/dashboard_enhanced.mdx b/api_docs/dashboard_enhanced.mdx index 31ee950ea007d..ef194c87616ad 100644 --- a/api_docs/dashboard_enhanced.mdx +++ b/api_docs/dashboard_enhanced.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/dashboardEnhanced title: "dashboardEnhanced" image: https://source.unsplash.com/400x175/?github description: API docs for the dashboardEnhanced plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dashboardEnhanced'] --- import dashboardEnhancedObj from './dashboard_enhanced.devdocs.json'; diff --git a/api_docs/data.devdocs.json b/api_docs/data.devdocs.json index 92004714e5dd2..172f176549f6d 100644 --- a/api_docs/data.devdocs.json +++ b/api_docs/data.devdocs.json @@ -626,7 +626,13 @@ "description": [], "signature": [ "() => { type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; }" ], "path": "src/plugins/data/common/search/aggs/agg_config.ts", @@ -648,7 +654,13 @@ "description": [], "signature": [ "() => { type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; }" ], "path": "src/plugins/data/common/search/aggs/agg_config.ts", @@ -670,7 +682,13 @@ ], "signature": [ "() => ", { "pluginId": "fieldFormats", @@ -1010,7 +1028,13 @@ "description": [], "signature": [ "() => ", - "TimeRange", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, " | undefined" ], "path": "src/plugins/data/common/search/aggs/agg_config.ts", @@ -1209,7 +1233,13 @@ "label": "timeRange", "description": [], "signature": [ - "TimeRange", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, " | undefined" ], "path": "src/plugins/data/common/search/aggs/agg_configs.ts", @@ -1503,7 +1533,13 @@ "description": [], "signature": [ "(timeRange: ", - "TimeRange", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, ") => void" ], "path": "src/plugins/data/common/search/aggs/agg_configs.ts", @@ -1518,7 +1554,13 @@ "label": "timeRange", "description": [], "signature": [ - "TimeRange" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + } ], "path": "src/plugins/data/common/search/aggs/agg_configs.ts", "deprecated": false, @@ -2125,7 +2167,13 @@ "description": [], "signature": [ "(forceNow?: Date | undefined) => ", - "RangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilter", + "text": "RangeFilter" + }, "[] | { meta: { index: string | undefined; params: {}; alias: string; disabled: boolean; negate: boolean; }; query: { bool: { should: { bool: { filter: { range: { [x: string]: { format: string; gte: string; lte: string; }; }; }[]; }; }[]; minimum_should_match: number; }; }; }[]" ], "path": "src/plugins/data/common/search/aggs/agg_configs.ts", @@ -2463,7 +2511,13 @@ "description": [], "signature": [ "(agg: TAggConfig, state?: { type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; } | undefined) => TAggConfig" ], "path": "src/plugins/data/common/search/aggs/param_types/agg.ts", @@ -2494,7 +2548,13 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; } | undefined" ], "path": "src/plugins/data/common/search/aggs/param_types/agg.ts", @@ -2568,7 +2628,13 @@ "text": "DataPublicPlugin" }, " implements ", - "Plugin", + { + "pluginId": "@kbn/core-plugins-browser", + "scope": "common", + "docId": "kibKbnCorePluginsBrowserPluginApi", + "section": "def-common.Plugin", + "text": "Plugin" + }, "<", { "pluginId": "data", @@ -2617,7 +2683,13 @@ "label": "initializerContext", "description": [], "signature": [ - "PluginInitializerContext", + { + "pluginId": "@kbn/core-plugins-browser", + "scope": "common", + "docId": "kibKbnCorePluginsBrowserPluginApi", + "section": "def-common.PluginInitializerContext", + "text": "PluginInitializerContext" + }, "; }>; asyncSearch: Readonly<{ pollInterval?: number | undefined; } & { waitForCompletion: moment.Duration; keepAlive: moment.Duration; batchedReduceSize: number; }>; sessions: Readonly<{} & { enabled: boolean; notTouchedTimeout: moment.Duration; maxUpdateRetries: number; defaultExpiration: moment.Duration; management: Readonly<{} & { refreshInterval: moment.Duration; maxSessions: number; refreshTimeout: moment.Duration; expiresSoonWarning: moment.Duration; }>; }>; }>; }>>" ], "path": "src/plugins/data/public/plugin.ts", @@ -2637,7 +2709,13 @@ "description": [], "signature": [ "(core: ", - "CoreSetup", + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreSetup", + "text": "CoreSetup" + }, "<", "DataStartDependencies", ", ", @@ -2671,7 +2749,13 @@ "label": "core", "description": [], "signature": [ - "CoreSetup", + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreSetup", + "text": "CoreSetup" + }, "<", "DataStartDependencies", ", ", @@ -2716,7 +2800,13 @@ "description": [], "signature": [ "(core: ", - "CoreStart", + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreStart", + "text": "CoreStart" + }, ", { uiActions, fieldFormats, dataViews, screenshotMode }: ", "DataStartDependencies", ") => ", @@ -2740,7 +2830,13 @@ "label": "core", "description": [], "signature": [ - "CoreStart" + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreStart", + "text": "CoreStart" + } ], "path": "src/plugins/data/public/plugin.ts", "deprecated": false, @@ -4055,7 +4151,13 @@ ], "signature": [ "() => { searchSourceJSON: string; references: ", - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]; }" ], "path": "src/plugins/data/common/search/search_source/search_source.ts", @@ -4151,7 +4253,13 @@ "description": [], "signature": [ "(timeRange: ", - "TimeRange", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, ", options: ", "CalculateBoundsOptions", ") => ", @@ -4175,7 +4283,13 @@ "label": "timeRange", "description": [], "signature": [ - "TimeRange" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + } ], "path": "src/plugins/data/common/query/timefilter/get_time.ts", "deprecated": false, @@ -4226,7 +4340,13 @@ "text": "SerializedSearchSourceFields" }, ", ", - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]]" ], "path": "src/plugins/data/common/search/search_source/extract_references.ts", @@ -4423,7 +4543,13 @@ "description": [], "signature": [ "(config: KibanaConfig) => ", - "EsQueryConfig" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.EsQueryConfig", + "text": "EsQueryConfig" + } ], "path": "src/plugins/data/common/es_query/get_es_query_config.ts", "deprecated": false, @@ -4570,11 +4696,29 @@ "text": "DataView" }, " | undefined, timeRange: ", - "TimeRange", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, ", options: { forceNow?: Date | undefined; fieldName?: string | undefined; } | undefined) => ", - "RangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilter", + "text": "RangeFilter" + }, " | ", - "ScriptedRangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.ScriptedRangeFilter", + "text": "ScriptedRangeFilter" + }, " | ", "MatchAllRangeFilter", " | undefined" @@ -4613,7 +4757,13 @@ "label": "timeRange", "description": [], "signature": [ - "TimeRange" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + } ], "path": "src/plugins/data/common/query/timefilter/get_time.ts", "deprecated": false, @@ -4682,7 +4832,13 @@ "text": "SerializedSearchSourceFields" }, " & { indexRefName: string; }, references: ", - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]) => ", { "pluginId": "data", @@ -4726,7 +4882,13 @@ "label": "references", "description": [], "signature": [ - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]" ], "path": "src/plugins/data/common/search/search_source/inject_references.ts", @@ -4897,7 +5059,13 @@ "description": [], "signature": [ "(x: unknown) => x is ", - "Query" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + } ], "path": "src/plugins/data/common/query/is_query.ts", "deprecated": false, @@ -5147,7 +5315,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -5194,7 +5368,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -5241,7 +5421,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -5288,7 +5474,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -5335,7 +5527,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -5382,7 +5580,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -5429,7 +5633,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -5476,7 +5686,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -5523,7 +5739,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -5570,7 +5792,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -5617,7 +5845,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -5664,7 +5898,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -5711,7 +5951,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -5758,7 +6004,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -5805,7 +6057,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -5852,7 +6110,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -5899,7 +6163,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -5946,7 +6216,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -5993,7 +6269,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -6040,7 +6322,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -6087,7 +6375,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -6134,7 +6428,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -6181,7 +6481,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -6228,7 +6534,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -6275,7 +6587,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -6322,7 +6640,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -6369,7 +6693,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -6416,7 +6746,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -6463,7 +6799,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -6510,7 +6852,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -6557,7 +6905,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -6604,7 +6958,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -6651,7 +7011,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -6698,7 +7064,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -6745,7 +7117,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -6792,7 +7170,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -6839,7 +7223,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -6886,7 +7276,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -6933,7 +7329,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -7047,7 +7449,13 @@ "description": [], "signature": [ "({ data, negate, }: ValueClickDataContext) => Promise<", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]>" ], "path": "src/plugins/data/public/types.ts", @@ -7080,7 +7488,13 @@ "description": [], "signature": [ "(event: RangeSelectDataContext) => Promise<", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]>" ], "path": "src/plugins/data/public/types.ts", @@ -7737,7 +8151,13 @@ "\nRepresents a meta-information about a Kibana entity intitating a saerch request." ], "signature": [ - "KibanaExecutionContext", + { + "pluginId": "@kbn/core-execution-context-common", + "scope": "common", + "docId": "kibKbnCoreExecutionContextCommonPluginApi", + "section": "def-common.KibanaExecutionContext", + "text": "KibanaExecutionContext" + }, " | undefined" ], "path": "src/plugins/data/common/search/types.ts", @@ -8016,10 +8436,16 @@ "label": "SavedObject", "description": [], "signature": [ - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8032,7 +8458,7 @@ "description": [ "The ID of this Saved Object, guaranteed to be unique for all objects of the same `type`" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false }, @@ -8045,7 +8471,7 @@ "description": [ " The type of Saved Object. Each plugin can define it's own custom Saved Object types." ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false }, @@ -8061,7 +8487,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false }, @@ -8077,7 +8503,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false }, @@ -8093,7 +8519,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false }, @@ -8105,10 +8531,16 @@ "label": "error", "description": [], "signature": [ - "SavedObjectError", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectError", + "text": "SavedObjectError" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false }, @@ -8124,7 +8556,7 @@ "signature": [ "T" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false }, @@ -8138,10 +8570,16 @@ "{@inheritdoc SavedObjectReference}" ], "signature": [ - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false }, @@ -8155,10 +8593,16 @@ "{@inheritdoc SavedObjectsMigrationVersion}" ], "signature": [ - "SavedObjectsMigrationVersion", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectsMigrationVersion", + "text": "SavedObjectsMigrationVersion" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false }, @@ -8174,7 +8618,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false }, @@ -8190,7 +8634,7 @@ "signature": [ "string[] | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false }, @@ -8206,7 +8650,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false } @@ -8250,9 +8694,21 @@ "\n{@link Query}" ], "signature": [ - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | ", - "AggregateQuery", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.AggregateQuery", + "text": "AggregateQuery" + }, " | undefined" ], "path": "src/plugins/data/common/search/search_source/types.ts", @@ -8269,13 +8725,37 @@ "\n{@link Filter}" ], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, " | ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[] | (() => ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, " | ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[] | undefined) | undefined" ], "path": "src/plugins/data/common/search/search_source/types.ts", @@ -8597,10 +9077,7 @@ "tags": [], "label": "ES_FIELD_TYPES", "description": [], - "signature": [ - "ES_FIELD_TYPES" - ], - "path": "node_modules/@types/kbn__field-types/index.d.ts", + "path": "packages/kbn-field-types/src/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8612,10 +9089,7 @@ "tags": [], "label": "KBN_FIELD_TYPES", "description": [], - "signature": [ - "KBN_FIELD_TYPES" - ], - "path": "node_modules/@types/kbn__field-types/index.d.ts", + "path": "packages/kbn-field-types/src/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8663,7 +9137,13 @@ "text": "IAggType" }, "; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; id?: string | undefined; enabled?: boolean | undefined; }" ], "path": "src/plugins/data/common/search/aggs/agg_config.ts", @@ -8680,7 +9160,13 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; }" ], "path": "src/plugins/data/common/search/aggs/agg_config.ts", @@ -8935,7 +9421,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/expressions/esaggs/esaggs_fn.ts", @@ -8991,11 +9483,29 @@ "description": [], "signature": [ "{ filters?: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[] | undefined; query?: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, "[] | undefined; timeRange?: ", { "pluginId": "data", @@ -9175,7 +9685,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/expressions/kql.ts", @@ -9223,7 +9739,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/expressions/lucene.ts", @@ -9432,7 +9954,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data_views/common/expressions/load_index_pattern.ts", @@ -9758,7 +10286,13 @@ "text": "SerializedSearchSourceFields" }, "; serialize: () => { searchSourceJSON: string; references: ", - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]; }; toExpressionAst: ({ asDatatable }?: ExpressionAstOptions) => ", { "pluginId": "expressions", @@ -9835,7 +10369,13 @@ "description": [], "signature": [ "{ value: number; unit: ", - "Unit", + { + "pluginId": "@kbn/datemath", + "scope": "server", + "docId": "kibKbnDatemathPluginApi", + "section": "def-server.Unit", + "text": "Unit" + }, "; type: \"fixed\" | \"calendar\"; }" ], "path": "src/plugins/data/common/search/aggs/utils/date_interval_utils/parse_es_interval.ts", @@ -9870,11 +10410,29 @@ "text": "RefreshInterval" }, " | undefined; filters?: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[] | undefined; query?: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | ", - "AggregateQuery", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.AggregateQuery", + "text": "AggregateQuery" + }, " | undefined; }" ], "path": "src/plugins/data/common/query/query_state.ts", @@ -9906,11 +10464,29 @@ "description": [], "signature": [ "{ type?: string | undefined; query?: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | ", - "AggregateQuery", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.AggregateQuery", + "text": "AggregateQuery" + }, " | undefined; filter?: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[] | undefined; sort?: ", { "pluginId": "data", @@ -9920,9 +10496,21 @@ "text": "EsQuerySortValue" }, "[] | undefined; highlight?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; highlightAll?: boolean | undefined; trackTotalHits?: number | boolean | undefined; aggs?: { type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; }[] | undefined; from?: number | undefined; size?: number | undefined; source?: boolean | ", "Fields", " | undefined; version?: boolean | undefined; fields?: ", @@ -10007,10 +10595,13 @@ { "parentPluginId": "data", "id": "def-public.AggGroupLabels.AggGroupNames.Buckets", - "type": "string", + "type": "Any", "tags": [], "label": "[AggGroupNames.Buckets]", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/aggs/agg_groups.ts", "deprecated": false, "trackAdoption": false @@ -10018,10 +10609,13 @@ { "parentPluginId": "data", "id": "def-public.AggGroupLabels.AggGroupNames.Metrics", - "type": "string", + "type": "Any", "tags": [], "label": "[AggGroupNames.Metrics]", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/aggs/agg_groups.ts", "deprecated": false, "trackAdoption": false @@ -10029,10 +10623,13 @@ { "parentPluginId": "data", "id": "def-public.AggGroupLabels.AggGroupNames.None", - "type": "string", + "type": "Any", "tags": [], "label": "[AggGroupNames.None]", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/aggs/agg_groups.ts", "deprecated": false, "trackAdoption": false @@ -10372,7 +10969,13 @@ "description": [], "signature": [ "{ subType?: ", - "IFieldSubType", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.IFieldSubType", + "text": "IFieldSubType" + }, " | undefined; }" ], "path": "src/plugins/data_views/common/fields/utils.ts", @@ -10405,7 +11008,13 @@ "description": [], "signature": [ "{ subType?: ", - "IFieldSubType", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.IFieldSubType", + "text": "IFieldSubType" + }, " | undefined; }" ], "path": "src/plugins/data_views/common/fields/utils.ts", @@ -10423,7 +11032,13 @@ "description": [], "signature": [ "(field: HasSubtype) => ", - "IFieldSubTypeMulti", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.IFieldSubTypeMulti", + "text": "IFieldSubTypeMulti" + }, " | undefined" ], "path": "src/plugins/data/public/index.ts", @@ -10440,7 +11055,13 @@ "description": [], "signature": [ "{ subType?: ", - "IFieldSubType", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.IFieldSubType", + "text": "IFieldSubType" + }, " | undefined; }" ], "path": "src/plugins/data_views/common/fields/utils.ts", @@ -10458,7 +11079,13 @@ "description": [], "signature": [ "(field: HasSubtype) => ", - "IFieldSubTypeNested", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.IFieldSubTypeNested", + "text": "IFieldSubTypeNested" + }, " | undefined" ], "path": "src/plugins/data/public/index.ts", @@ -10475,7 +11102,13 @@ "description": [], "signature": [ "{ subType?: ", - "IFieldSubType", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.IFieldSubType", + "text": "IFieldSubType" + }, " | undefined; }" ], "path": "src/plugins/data_views/common/fields/utils.ts", @@ -10608,7 +11241,7 @@ "label": "intervalOptions", "description": [], "signature": [ - "({ display: string; val: string; enabled(agg: ", + "({ display: any; val: string; enabled(agg: ", { "pluginId": "data", "scope": "common", @@ -10616,7 +11249,7 @@ "section": "def-common.IBucketAggConfig", "text": "IBucketAggConfig" }, - "): boolean; } | { display: string; val: string; })[]" + "): boolean; } | { display: any; val: string; })[]" ], "path": "src/plugins/data/public/index.ts", "deprecated": false, @@ -10925,10 +11558,13 @@ { "parentPluginId": "data", "id": "def-public.search.aggs.parentPipelineType", - "type": "string", + "type": "Any", "tags": [], "label": "parentPipelineType", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/public/index.ts", "deprecated": false, "trackAdoption": false @@ -10942,7 +11578,13 @@ "description": [], "signature": [ "(interval: string) => { value: number; unit: ", - "Unit", + { + "pluginId": "@kbn/datemath", + "scope": "server", + "docId": "kibKbnDatemathPluginApi", + "section": "def-server.Unit", + "text": "Unit" + }, "; type: \"fixed\" | \"calendar\"; }" ], "path": "src/plugins/data/public/index.ts", @@ -11025,10 +11667,13 @@ { "parentPluginId": "data", "id": "def-public.search.aggs.siblingPipelineType", - "type": "string", + "type": "Any", "tags": [], "label": "siblingPipelineType", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/public/index.ts", "deprecated": false, "trackAdoption": false @@ -11056,7 +11701,13 @@ "description": [], "signature": [ "(range: ", - "TimeRange", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, ") => { from: Date; to: Date; } | undefined" ], "path": "src/plugins/data/public/index.ts", @@ -11088,7 +11739,7 @@ "label": "boundsDescendingRaw", "description": [], "signature": [ - "({ bound: number; interval: moment.Duration; boundLabel: string; intervalLabel: string; } | { bound: moment.Duration; interval: moment.Duration; boundLabel: string; intervalLabel: string; })[]" + "({ bound: number; interval: moment.Duration; boundLabel: any; intervalLabel: any; } | { bound: moment.Duration; interval: moment.Duration; boundLabel: any; intervalLabel: any; })[]" ], "path": "src/plugins/data/public/index.ts", "deprecated": false, @@ -11752,7 +12403,13 @@ "text": "DataServerPlugin" }, " implements ", - "Plugin", + { + "pluginId": "@kbn/core-plugins-server", + "scope": "server", + "docId": "kibKbnCorePluginsServerPluginApi", + "section": "def-server.Plugin", + "text": "Plugin" + }, "<", { "pluginId": "data", @@ -11801,7 +12458,13 @@ "label": "initializerContext", "description": [], "signature": [ - "PluginInitializerContext", + { + "pluginId": "@kbn/core-plugins-server", + "scope": "server", + "docId": "kibKbnCorePluginsServerPluginApi", + "section": "def-server.PluginInitializerContext", + "text": "PluginInitializerContext" + }, "; }>; asyncSearch: Readonly<{ pollInterval?: number | undefined; } & { waitForCompletion: moment.Duration; keepAlive: moment.Duration; batchedReduceSize: number; }>; sessions: Readonly<{} & { enabled: boolean; notTouchedTimeout: moment.Duration; maxUpdateRetries: number; defaultExpiration: moment.Duration; management: Readonly<{} & { refreshInterval: moment.Duration; maxSessions: number; refreshTimeout: moment.Duration; expiresSoonWarning: moment.Duration; }>; }>; }>; }>>" ], "path": "src/plugins/data/server/plugin.ts", @@ -11821,7 +12484,13 @@ "description": [], "signature": [ "(core: ", - "CoreSetup", + { + "pluginId": "@kbn/core-lifecycle-server", + "scope": "server", + "docId": "kibKbnCoreLifecycleServerPluginApi", + "section": "def-server.CoreSetup", + "text": "CoreSetup" + }, "<", "DataPluginStartDependencies", ", ", @@ -11860,7 +12529,13 @@ "label": "core", "description": [], "signature": [ - "CoreSetup", + { + "pluginId": "@kbn/core-lifecycle-server", + "scope": "server", + "docId": "kibKbnCoreLifecycleServerPluginApi", + "section": "def-server.CoreSetup", + "text": "CoreSetup" + }, "<", "DataPluginStartDependencies", ", ", @@ -11905,7 +12580,13 @@ "description": [], "signature": [ "(core: ", - "CoreStart", + { + "pluginId": "@kbn/core-lifecycle-server", + "scope": "server", + "docId": "kibKbnCoreLifecycleServerPluginApi", + "section": "def-server.CoreStart", + "text": "CoreStart" + }, ", { fieldFormats, dataViews, taskManager }: ", "DataPluginStartDependencies", ") => { datatableUtilities: ", @@ -11958,7 +12639,13 @@ "label": "core", "description": [], "signature": [ - "CoreStart" + { + "pluginId": "@kbn/core-lifecycle-server", + "scope": "server", + "docId": "kibKbnCoreLifecycleServerPluginApi", + "section": "def-server.CoreStart", + "text": "CoreStart" + } ], "path": "src/plugins/data/server/plugin.ts", "deprecated": false, @@ -12020,7 +12707,13 @@ "text": "DataView" }, " implements ", - "DataViewBase" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + } ], "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, @@ -12057,6 +12750,10 @@ "deprecated": true, "trackAdoption": false, "references": [ + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/es_query/types.ts" + }, { "plugin": "securitySolution", "path": "x-pack/plugins/security_solution/public/common/containers/source/index.tsx" @@ -12133,6 +12830,94 @@ "plugin": "securitySolution", "path": "x-pack/plugins/security_solution/public/detection_engine/rule_exceptions/components/flyout_components/alerts_actions/utils.test.ts" }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/es_query/build_es_query.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/es_query/from_filters.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/es_query/from_filters.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/es_query/from_kuery.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/es_query/handle_combined_filter.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/es_query/handle_nested_filter.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/filters/build_filters/build_filter.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/filters/build_filters/exists_filter.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/filters/build_filters/get_filter_field.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/filters/build_filters/phrase_filter.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/filters/build_filters/phrase_filter.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/filters/build_filters/phrases_filter.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/kuery/ast/ast.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/kuery/functions/and.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/kuery/functions/exists.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/kuery/functions/is.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/kuery/functions/nested.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/kuery/functions/not.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/kuery/functions/or.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/kuery/functions/range.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/kuery/node_types/function.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/kuery/functions/utils/get_full_field_name_node.test.ts" + }, { "plugin": "dataViews", "path": "src/plugins/data_views/common/data_views/data_view.ts" @@ -12331,39 +13116,39 @@ }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/pages/index_or_search/preconfigured_job_redirect.ts" + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/pages/job_type/page.tsx" + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/pages/job_type/page.tsx" + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/job_creator.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/pages/job_type/page.tsx" + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/results_loader/categorization_examples_loader.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service.ts" + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/chart_loader/chart_loader.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service.ts" + "path": "x-pack/plugins/ml/public/application/jobs/new_job/pages/index_or_search/preconfigured_job_redirect.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/job_creator.ts" + "path": "x-pack/plugins/ml/public/application/jobs/new_job/pages/job_type/page.tsx" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/chart_loader/chart_loader.ts" + "path": "x-pack/plugins/ml/public/application/jobs/new_job/pages/job_type/page.tsx" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/results_loader/categorization_examples_loader.ts" + "path": "x-pack/plugins/ml/public/application/jobs/new_job/pages/job_type/page.tsx" }, { "plugin": "ml", @@ -12477,6 +13262,22 @@ "plugin": "apm", "path": "x-pack/plugins/apm/server/routes/data_view/create_static_data_view.ts" }, + { + "plugin": "canvas", + "path": "x-pack/plugins/canvas/public/components/es_data_view_select/es_data_view_select.component.tsx" + }, + { + "plugin": "canvas", + "path": "x-pack/plugins/canvas/public/components/es_data_view_select/es_data_view_select.component.tsx" + }, + { + "plugin": "canvas", + "path": "x-pack/plugins/canvas/public/components/es_data_view_select/es_data_view_select.component.tsx" + }, + { + "plugin": "canvas", + "path": "x-pack/plugins/canvas/public/components/es_data_view_select/es_data_view_select.tsx" + }, { "plugin": "canvas", "path": "x-pack/plugins/canvas/public/services/kibana/data_views.ts" @@ -12485,6 +13286,10 @@ "plugin": "canvas", "path": "x-pack/plugins/canvas/public/services/kibana/data_views.ts" }, + { + "plugin": "canvas", + "path": "x-pack/plugins/canvas/public/components/datasource/datasource_component.js" + }, { "plugin": "reporting", "path": "x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts" @@ -12878,7 +13683,13 @@ "text": "SerializedFieldFormat" }, "<{}, ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">; }" ], "path": "src/plugins/data_views/common/data_views/data_view.ts", @@ -14468,7 +15279,13 @@ "text": "SerializedFieldFormat" }, "<{}, ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">) => void" ], "path": "src/plugins/data_views/common/data_views/data_view.ts", @@ -14510,7 +15327,13 @@ "text": "SerializedFieldFormat" }, "<{}, ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">" ], "path": "src/plugins/data_views/common/data_views/data_view.ts", @@ -14875,7 +15698,13 @@ ], "signature": [ "() => Promise<", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "<", { "pluginId": "dataViews", @@ -15359,7 +16188,13 @@ ], "signature": [ "(savedObject: ", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "<", { "pluginId": "dataViews", @@ -15389,7 +16224,13 @@ "label": "savedObject", "description": [], "signature": [ - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "<", { "pluginId": "dataViews", @@ -15965,7 +16806,13 @@ "label": "elasticsearchClient", "description": [], "signature": [ - "ElasticsearchClient" + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.ElasticsearchClient", + "text": "ElasticsearchClient" + } ], "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", "deprecated": false, @@ -16219,7 +17066,13 @@ "description": [], "signature": [ "(config: KibanaConfig) => ", - "EsQueryConfig" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.EsQueryConfig", + "text": "EsQueryConfig" + } ], "path": "src/plugins/data/common/es_query/get_es_query_config.ts", "deprecated": false, @@ -16301,11 +17154,29 @@ "text": "DataView" }, " | undefined, timeRange: ", - "TimeRange", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, ", options: { forceNow?: Date | undefined; fieldName?: string | undefined; } | undefined) => ", - "RangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilter", + "text": "RangeFilter" + }, " | ", - "ScriptedRangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.ScriptedRangeFilter", + "text": "ScriptedRangeFilter" + }, " | ", "MatchAllRangeFilter", " | undefined" @@ -16344,7 +17215,13 @@ "label": "timeRange", "description": [], "signature": [ - "TimeRange" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + } ], "path": "src/plugins/data/common/query/timefilter/get_time.ts", "deprecated": false, @@ -16455,11 +17332,29 @@ ], "signature": [ "(savedObjectsClient: ", - "SavedObjectsClientContract", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + }, ", elasticsearchClient: ", - "ElasticsearchClient", + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.ElasticsearchClient", + "text": "ElasticsearchClient" + }, ", request?: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, " | undefined, byPassCapabilities?: boolean | undefined) => Promise<", { "pluginId": "dataViews", @@ -16483,7 +17378,13 @@ "label": "savedObjectsClient", "description": [], "signature": [ - "SavedObjectsClientContract" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + } ], "path": "src/plugins/data_views/server/types.ts", "deprecated": false, @@ -17697,7 +18598,13 @@ "label": "request", "description": [], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, " | undefined" ], "path": "src/plugins/data_views/server/types.ts", @@ -18077,7 +18984,13 @@ "\nRepresents a meta-information about a Kibana entity intitating a saerch request." ], "signature": [ - "KibanaExecutionContext", + { + "pluginId": "@kbn/core-execution-context-common", + "scope": "common", + "docId": "kibKbnCoreExecutionContextCommonPluginApi", + "section": "def-common.KibanaExecutionContext", + "text": "KibanaExecutionContext" + }, " | undefined" ], "path": "src/plugins/data/common/search/types.ts", @@ -18137,10 +19050,7 @@ "tags": [], "label": "ES_FIELD_TYPES", "description": [], - "signature": [ - "ES_FIELD_TYPES" - ], - "path": "node_modules/@types/kbn__field-types/index.d.ts", + "path": "packages/kbn-field-types/src/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -18152,10 +19062,7 @@ "tags": [], "label": "KBN_FIELD_TYPES", "description": [], - "signature": [ - "KBN_FIELD_TYPES" - ], - "path": "node_modules/@types/kbn__field-types/index.d.ts", + "path": "packages/kbn-field-types/src/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -18239,7 +19146,13 @@ "description": [], "signature": [ "{ value: number; unit: ", - "Unit", + { + "pluginId": "@kbn/datemath", + "scope": "server", + "docId": "kibKbnDatemathPluginApi", + "section": "def-server.Unit", + "text": "Unit" + }, "; type: \"fixed\" | \"calendar\"; }" ], "path": "src/plugins/data/common/search/aggs/utils/date_interval_utils/parse_es_interval.ts", @@ -19320,7 +20233,13 @@ "text": "DatatableColumn" }, ") => ", - "Serializable" + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Serializable", + "text": "Serializable" + } ], "path": "src/plugins/data/common/datatable_utilities/datatable_utilities_service.ts", "deprecated": false, @@ -19492,7 +20411,13 @@ "text": "DataView" }, " implements ", - "DataViewBase" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + } ], "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, @@ -19529,6 +20454,10 @@ "deprecated": true, "trackAdoption": false, "references": [ + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/es_query/types.ts" + }, { "plugin": "securitySolution", "path": "x-pack/plugins/security_solution/public/common/containers/source/index.tsx" @@ -19605,6 +20534,94 @@ "plugin": "securitySolution", "path": "x-pack/plugins/security_solution/public/detection_engine/rule_exceptions/components/flyout_components/alerts_actions/utils.test.ts" }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/es_query/build_es_query.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/es_query/from_filters.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/es_query/from_filters.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/es_query/from_kuery.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/es_query/handle_combined_filter.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/es_query/handle_nested_filter.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/filters/build_filters/build_filter.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/filters/build_filters/exists_filter.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/filters/build_filters/get_filter_field.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/filters/build_filters/phrase_filter.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/filters/build_filters/phrase_filter.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/filters/build_filters/phrases_filter.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/kuery/ast/ast.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/kuery/functions/and.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/kuery/functions/exists.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/kuery/functions/is.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/kuery/functions/nested.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/kuery/functions/not.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/kuery/functions/or.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/kuery/functions/range.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/kuery/node_types/function.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/kuery/functions/utils/get_full_field_name_node.test.ts" + }, { "plugin": "dataViews", "path": "src/plugins/data_views/common/data_views/data_view.ts" @@ -19803,39 +20820,39 @@ }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/pages/index_or_search/preconfigured_job_redirect.ts" + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/pages/job_type/page.tsx" + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/pages/job_type/page.tsx" + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/job_creator.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/pages/job_type/page.tsx" + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/results_loader/categorization_examples_loader.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service.ts" + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/chart_loader/chart_loader.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service.ts" + "path": "x-pack/plugins/ml/public/application/jobs/new_job/pages/index_or_search/preconfigured_job_redirect.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/job_creator.ts" + "path": "x-pack/plugins/ml/public/application/jobs/new_job/pages/job_type/page.tsx" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/chart_loader/chart_loader.ts" + "path": "x-pack/plugins/ml/public/application/jobs/new_job/pages/job_type/page.tsx" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/results_loader/categorization_examples_loader.ts" + "path": "x-pack/plugins/ml/public/application/jobs/new_job/pages/job_type/page.tsx" }, { "plugin": "ml", @@ -19949,6 +20966,22 @@ "plugin": "apm", "path": "x-pack/plugins/apm/server/routes/data_view/create_static_data_view.ts" }, + { + "plugin": "canvas", + "path": "x-pack/plugins/canvas/public/components/es_data_view_select/es_data_view_select.component.tsx" + }, + { + "plugin": "canvas", + "path": "x-pack/plugins/canvas/public/components/es_data_view_select/es_data_view_select.component.tsx" + }, + { + "plugin": "canvas", + "path": "x-pack/plugins/canvas/public/components/es_data_view_select/es_data_view_select.component.tsx" + }, + { + "plugin": "canvas", + "path": "x-pack/plugins/canvas/public/components/es_data_view_select/es_data_view_select.tsx" + }, { "plugin": "canvas", "path": "x-pack/plugins/canvas/public/services/kibana/data_views.ts" @@ -19957,6 +20990,10 @@ "plugin": "canvas", "path": "x-pack/plugins/canvas/public/services/kibana/data_views.ts" }, + { + "plugin": "canvas", + "path": "x-pack/plugins/canvas/public/components/datasource/datasource_component.js" + }, { "plugin": "reporting", "path": "x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts" @@ -20350,7 +21387,13 @@ "text": "SerializedFieldFormat" }, "<{}, ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">; }" ], "path": "src/plugins/data_views/common/data_views/data_view.ts", @@ -21940,7 +22983,13 @@ "text": "SerializedFieldFormat" }, "<{}, ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">) => void" ], "path": "src/plugins/data_views/common/data_views/data_view.ts", @@ -21982,7 +23031,13 @@ "text": "SerializedFieldFormat" }, "<{}, ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">" ], "path": "src/plugins/data_views/common/data_views/data_view.ts", @@ -22050,7 +23105,13 @@ "text": "DataViewField" }, " implements ", - "DataViewFieldBase" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + } ], "path": "src/plugins/data_views/common/fields/data_view_field.ts", "deprecated": false, @@ -22064,7 +23125,13 @@ "label": "spec", "description": [], "signature": [ - "DataViewFieldBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, " & { count?: number | undefined; conflictDescriptions?: Record | undefined; format?: ", { "pluginId": "fieldFormats", @@ -22074,7 +23141,13 @@ "text": "SerializedFieldFormat" }, "<{}, ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, "> | undefined; esTypes?: string[] | undefined; searchable: boolean; aggregatable: boolean; readFromDocValues?: boolean | undefined; indexed?: boolean | undefined; customLabel?: string | undefined; runtimeField?: ", { "pluginId": "dataViews", @@ -22527,7 +23600,13 @@ "\nReturns field subtype, multi, nested, or undefined if neither" ], "signature": [ - "IFieldSubType", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.IFieldSubType", + "text": "IFieldSubType" + }, " | undefined" ], "path": "src/plugins/data_views/common/fields/data_view_field.ts", @@ -22649,7 +23728,13 @@ ], "signature": [ "() => ", - "IFieldSubTypeNested", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.IFieldSubTypeNested", + "text": "IFieldSubTypeNested" + }, " | undefined" ], "path": "src/plugins/data_views/common/fields/data_view_field.ts", @@ -22669,7 +23754,13 @@ ], "signature": [ "() => ", - "IFieldSubTypeMulti", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.IFieldSubTypeMulti", + "text": "IFieldSubTypeMulti" + }, " | undefined" ], "path": "src/plugins/data_views/common/fields/data_view_field.ts", @@ -22707,7 +23798,13 @@ ], "signature": [ "() => { count: number; script: string | undefined; lang: string | undefined; conflictDescriptions: Record | undefined; name: string; type: string; esTypes: string[] | undefined; scripted: boolean; searchable: boolean; aggregatable: boolean; readFromDocValues: boolean; subType: ", - "IFieldSubType", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.IFieldSubType", + "text": "IFieldSubType" + }, " | undefined; customLabel: string | undefined; }" ], "path": "src/plugins/data_views/common/fields/data_view_field.ts", @@ -23173,7 +24270,13 @@ ], "signature": [ "() => Promise<", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "<", { "pluginId": "dataViews", @@ -23657,7 +24760,13 @@ ], "signature": [ "(savedObject: ", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "<", { "pluginId": "dataViews", @@ -23687,7 +24796,13 @@ "label": "savedObject", "description": [], "signature": [ - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "<", { "pluginId": "dataViews", @@ -24299,10 +25414,7 @@ "tags": [], "label": "KbnFieldType", "description": [], - "signature": [ - "KbnFieldType" - ], - "path": "node_modules/@types/kbn__field-types/index.d.ts", + "path": "packages/kbn-field-types/src/kbn_field_type.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -24313,7 +25425,7 @@ "tags": [], "label": "name", "description": [], - "path": "node_modules/@types/kbn__field-types/index.d.ts", + "path": "packages/kbn-field-types/src/kbn_field_type.ts", "deprecated": false, "trackAdoption": false }, @@ -24324,7 +25436,7 @@ "tags": [], "label": "sortable", "description": [], - "path": "node_modules/@types/kbn__field-types/index.d.ts", + "path": "packages/kbn-field-types/src/kbn_field_type.ts", "deprecated": false, "trackAdoption": false }, @@ -24335,7 +25447,7 @@ "tags": [], "label": "filterable", "description": [], - "path": "node_modules/@types/kbn__field-types/index.d.ts", + "path": "packages/kbn-field-types/src/kbn_field_type.ts", "deprecated": false, "trackAdoption": false }, @@ -24348,10 +25460,16 @@ "description": [], "signature": [ "readonly ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[]" ], - "path": "node_modules/@types/kbn__field-types/index.d.ts", + "path": "packages/kbn-field-types/src/kbn_field_type.ts", "deprecated": false, "trackAdoption": false }, @@ -24365,7 +25483,7 @@ "signature": [ "any" ], - "path": "node_modules/@types/kbn__field-types/index.d.ts", + "path": "packages/kbn-field-types/src/kbn_field_type.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -24378,13 +25496,19 @@ "description": [], "signature": [ "Partial<", - "KbnFieldTypeOptions", - "> | undefined" + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.KbnFieldTypeOptions", + "text": "KbnFieldTypeOptions" + }, + ">" ], - "path": "node_modules/@types/kbn__field-types/index.d.ts", + "path": "packages/kbn-field-types/src/kbn_field_type.ts", "deprecated": false, "trackAdoption": false, - "isRequired": false + "isRequired": true } ], "returnComment": [] @@ -24618,7 +25742,13 @@ "description": [], "signature": [ "(config: KibanaConfig) => ", - "EsQueryConfig" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.EsQueryConfig", + "text": "EsQueryConfig" + } ], "path": "src/plugins/data/common/es_query/get_es_query_config.ts", "deprecated": false, @@ -24652,7 +25782,13 @@ "description": [], "signature": [ "(field: HasSubtype) => ", - "IFieldSubTypeMulti", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.IFieldSubTypeMulti", + "text": "IFieldSubTypeMulti" + }, " | undefined" ], "path": "src/plugins/data_views/common/fields/utils.ts", @@ -24669,7 +25805,13 @@ "description": [], "signature": [ "{ subType?: ", - "IFieldSubType", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.IFieldSubType", + "text": "IFieldSubType" + }, " | undefined; }" ], "path": "src/plugins/data_views/common/fields/utils.ts", @@ -24688,7 +25830,13 @@ "description": [], "signature": [ "(field: HasSubtype) => ", - "IFieldSubTypeNested", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.IFieldSubTypeNested", + "text": "IFieldSubTypeNested" + }, " | undefined" ], "path": "src/plugins/data_views/common/fields/utils.ts", @@ -24705,7 +25853,13 @@ "description": [], "signature": [ "{ subType?: ", - "IFieldSubType", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.IFieldSubType", + "text": "IFieldSubType" + }, " | undefined; }" ], "path": "src/plugins/data_views/common/fields/utils.ts", @@ -24811,7 +25965,13 @@ "description": [], "signature": [ "{ subType?: ", - "IFieldSubType", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.IFieldSubType", + "text": "IFieldSubType" + }, " | undefined; }" ], "path": "src/plugins/data_views/common/fields/utils.ts", @@ -24845,7 +26005,13 @@ "description": [], "signature": [ "{ subType?: ", - "IFieldSubType", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.IFieldSubType", + "text": "IFieldSubType" + }, " | undefined; }" ], "path": "src/plugins/data_views/common/fields/utils.ts", @@ -25492,7 +26658,13 @@ "text": "SerializedFieldFormat" }, "<{}, ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">> | undefined; runtimeFieldMap?: Record" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -25607,7 +26788,7 @@ "description": [ "The ID of this Saved Object, guaranteed to be unique for all objects of the same `type`" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false }, @@ -25620,7 +26801,7 @@ "description": [ " The type of Saved Object. Each plugin can define it's own custom Saved Object types." ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false }, @@ -25636,7 +26817,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false }, @@ -25652,7 +26833,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false }, @@ -25668,7 +26849,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false }, @@ -25680,10 +26861,16 @@ "label": "error", "description": [], "signature": [ - "SavedObjectError", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectError", + "text": "SavedObjectError" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false }, @@ -25699,7 +26886,7 @@ "signature": [ "T" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false }, @@ -25713,10 +26900,16 @@ "{@inheritdoc SavedObjectReference}" ], "signature": [ - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false }, @@ -25730,10 +26923,16 @@ "{@inheritdoc SavedObjectsMigrationVersion}" ], "signature": [ - "SavedObjectsMigrationVersion", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectsMigrationVersion", + "text": "SavedObjectsMigrationVersion" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false }, @@ -25749,7 +26948,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false }, @@ -25765,7 +26964,7 @@ "signature": [ "string[] | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false }, @@ -25781,7 +26980,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false } @@ -25970,10 +27169,7 @@ "tags": [], "label": "ES_FIELD_TYPES", "description": [], - "signature": [ - "ES_FIELD_TYPES" - ], - "path": "node_modules/@types/kbn__field-types/index.d.ts", + "path": "packages/kbn-field-types/src/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -25985,10 +27181,7 @@ "tags": [], "label": "KBN_FIELD_TYPES", "description": [], - "signature": [ - "KBN_FIELD_TYPES" - ], - "path": "node_modules/@types/kbn__field-types/index.d.ts", + "path": "packages/kbn-field-types/src/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -26131,7 +27324,13 @@ "text": "DataViewListItem" }, "[]>; clearCache: () => void; clearInstanceCache: (id?: string | undefined) => void; getCache: () => Promise<", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "<", { "pluginId": "dataViews", @@ -26229,7 +27428,13 @@ "text": "DataViewFieldMap" }, "; savedObjectToSpec: (savedObject: ", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "<", { "pluginId": "dataViews", @@ -26352,7 +27557,13 @@ "text": "SerializedFieldFormat" }, "<{}, ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">> | undefined; runtimeFieldMap?: Record | undefined; format?: ", { "pluginId": "fieldFormats", @@ -26453,7 +27670,13 @@ "text": "SerializedFieldFormat" }, "<{}, ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, "> | undefined; esTypes?: string[] | undefined; searchable: boolean; aggregatable: boolean; readFromDocValues?: boolean | undefined; indexed?: boolean | undefined; customLabel?: string | undefined; runtimeField?: ", { "pluginId": "dataViews", @@ -26561,7 +27784,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data_views/common/expressions/load_index_pattern.ts", @@ -26611,7 +27840,7 @@ "signature": [ "{ query: string | { [key: string]: any; }; language: string; }" ], - "path": "node_modules/@types/kbn__es-query/index.d.ts", + "path": "packages/kbn-es-query/src/filters/build_filters/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/data.mdx b/api_docs/data.mdx index 93536b065d8ca..8215aa1762f8c 100644 --- a/api_docs/data.mdx +++ b/api_docs/data.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/data title: "data" image: https://source.unsplash.com/400x175/?github description: API docs for the data plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'data'] --- import dataObj from './data.devdocs.json'; @@ -21,7 +21,7 @@ Contact [App Services](https://github.com/orgs/elastic/teams/kibana-app-services | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 3251 | 33 | 2523 | 24 | +| 3251 | 119 | 2546 | 24 | ## Client diff --git a/api_docs/data_query.devdocs.json b/api_docs/data_query.devdocs.json index 051270f939554..744933b9b734f 100644 --- a/api_docs/data_query.devdocs.json +++ b/api_docs/data_query.devdocs.json @@ -26,7 +26,13 @@ "text": "PersistableStateService" }, "<", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]>" ], "path": "src/plugins/data/public/query/filter_manager/filter_manager.ts", @@ -55,7 +61,13 @@ "label": "uiSettings", "description": [], "signature": [ - "IUiSettingsClient" + { + "pluginId": "@kbn/core-ui-settings-browser", + "scope": "common", + "docId": "kibKbnCoreUiSettingsBrowserPluginApi", + "section": "def-common.IUiSettingsClient", + "text": "IUiSettingsClient" + } ], "path": "src/plugins/data/public/query/filter_manager/filter_manager.ts", "deprecated": false, @@ -74,7 +86,13 @@ "description": [], "signature": [ "() => ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "src/plugins/data/public/query/filter_manager/filter_manager.ts", @@ -92,7 +110,13 @@ "description": [], "signature": [ "() => ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "src/plugins/data/public/query/filter_manager/filter_manager.ts", @@ -110,7 +134,13 @@ "description": [], "signature": [ "() => ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "src/plugins/data/public/query/filter_manager/filter_manager.ts", @@ -180,9 +210,21 @@ "description": [], "signature": [ "(filters: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, " | ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[], pinFilterStatus?: boolean) => void" ], "path": "src/plugins/data/public/query/filter_manager/filter_manager.ts", @@ -197,9 +239,21 @@ "label": "filters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, " | ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "src/plugins/data/public/query/filter_manager/filter_manager.ts", @@ -234,7 +288,13 @@ "description": [], "signature": [ "(newFilters: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[], pinFilterStatus?: boolean) => void" ], "path": "src/plugins/data/public/query/filter_manager/filter_manager.ts", @@ -249,7 +309,13 @@ "label": "newFilters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "src/plugins/data/public/query/filter_manager/filter_manager.ts", @@ -286,7 +352,13 @@ ], "signature": [ "(newGlobalFilters: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]) => void" ], "path": "src/plugins/data/public/query/filter_manager/filter_manager.ts", @@ -301,7 +373,13 @@ "label": "newGlobalFilters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "src/plugins/data/public/query/filter_manager/filter_manager.ts", @@ -323,7 +401,13 @@ ], "signature": [ "(newAppFilters: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]) => void" ], "path": "src/plugins/data/public/query/filter_manager/filter_manager.ts", @@ -338,7 +422,13 @@ "label": "newAppFilters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "src/plugins/data/public/query/filter_manager/filter_manager.ts", @@ -358,7 +448,13 @@ "description": [], "signature": [ "(filter: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, ") => void" ], "path": "src/plugins/data/public/query/filter_manager/filter_manager.ts", @@ -373,7 +469,13 @@ "label": "filter", "description": [], "signature": [ - "Filter" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } ], "path": "src/plugins/data/public/query/filter_manager/filter_manager.ts", "deprecated": false, @@ -408,9 +510,21 @@ "description": [], "signature": [ "(filters: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[], store: ", - "FilterStateStore", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, ", shouldOverrideStore?: boolean) => void" ], "path": "src/plugins/data/public/query/filter_manager/filter_manager.ts", @@ -425,7 +539,13 @@ "label": "filters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "src/plugins/data/public/query/filter_manager/filter_manager.ts", @@ -441,7 +561,13 @@ "label": "store", "description": [], "signature": [ - "FilterStateStore" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + } ], "path": "src/plugins/data/public/query/filter_manager/filter_manager.ts", "deprecated": false, @@ -475,11 +601,29 @@ "description": [], "signature": [ "(filters: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]) => { state: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]; references: ", - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]; }" ], "path": "src/plugins/data/public/query/filter_manager/filter_manager.ts", @@ -495,7 +639,13 @@ "label": "filters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "src/plugins/data/common/query/filters/persistable_state.ts", @@ -513,11 +663,29 @@ "description": [], "signature": [ "(filters: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[], references: ", - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]) => ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "src/plugins/data/public/query/filter_manager/filter_manager.ts", @@ -533,7 +701,13 @@ "label": "filters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "src/plugins/data/common/query/filters/persistable_state.ts", @@ -548,7 +722,13 @@ "label": "references", "description": [], "signature": [ - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]" ], "path": "src/plugins/data/common/query/filters/persistable_state.ts", @@ -566,7 +746,13 @@ "description": [], "signature": [ "(filters: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[], collector: unknown) => {}" ], "path": "src/plugins/data/public/query/filter_manager/filter_manager.ts", @@ -582,7 +768,13 @@ "label": "filters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "src/plugins/data/common/query/filters/persistable_state.ts", @@ -968,7 +1160,13 @@ "description": [], "signature": [ "(time: ", - "TimeRange", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, ") => void" ], "path": "src/plugins/data/public/query/timefilter/time_history.ts", @@ -983,7 +1181,13 @@ "label": "time", "description": [], "signature": [ - "TimeRange" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + } ], "path": "src/plugins/data/public/query/timefilter/time_history.ts", "deprecated": false, @@ -1002,7 +1206,13 @@ "description": [], "signature": [ "() => ", - "TimeRange", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, "[]" ], "path": "src/plugins/data/public/query/timefilter/time_history.ts", @@ -1022,7 +1232,13 @@ "() => ", "Observable", "<", - "TimeRange", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, "[]>" ], "path": "src/plugins/data/public/query/timefilter/time_history.ts", @@ -1079,7 +1295,13 @@ "text": "BaseStateContainer" }, ", syncConfig: { time?: boolean | undefined; refreshInterval?: boolean | undefined; filters?: boolean | ", - "FilterStateStore", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, " | undefined; query?: boolean | undefined; }) => () => void" ], "path": "src/plugins/data/public/query/state_sync/connect_to_query_state.ts", @@ -1189,7 +1411,13 @@ "description": [], "signature": [ "boolean | ", - "FilterStateStore", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, " | undefined" ], "path": "src/plugins/data/public/query/state_sync/connect_to_query_state.ts", @@ -1225,7 +1453,13 @@ "description": [], "signature": [ "(http: ", - "HttpSetup", + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpSetup", + "text": "HttpSetup" + }, ") => { createQuery: (attributes: ", { "pluginId": "data", @@ -1296,7 +1530,13 @@ "label": "http", "description": [], "signature": [ - "HttpSetup" + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpSetup", + "text": "HttpSetup" + } ], "path": "src/plugins/data/public/query/saved_query/saved_query_service.ts", "deprecated": false, @@ -1326,11 +1566,29 @@ "text": "FilterManager" }, ", field: string | ", - "DataViewFieldBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, ", values: any, operation: string, index: ", - "DataViewBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, ") => ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "src/plugins/data/public/query/filter_manager/lib/generate_filters.ts", @@ -1371,7 +1629,13 @@ ], "signature": [ "string | ", - "DataViewFieldBase" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + } ], "path": "src/plugins/data/public/query/filter_manager/lib/generate_filters.ts", "deprecated": false, @@ -1422,7 +1686,13 @@ "- Index string to generate filters for" ], "signature": [ - "DataViewBase" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + } ], "path": "src/plugins/data/public/query/filter_manager/lib/generate_filters.ts", "deprecated": false, @@ -1477,7 +1747,13 @@ "description": [], "signature": [ "(filter: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, ", indexPatterns: ", { "pluginId": "dataViews", @@ -1500,7 +1776,13 @@ "label": "filter", "description": [], "signature": [ - "Filter" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } ], "path": "src/plugins/data/public/query/filter_manager/lib/get_display_value.ts", "deprecated": false, @@ -1542,7 +1824,13 @@ "description": [], "signature": [ "(filter: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, ", indexPatterns: ", { "pluginId": "dataViews", @@ -1565,7 +1853,13 @@ "label": "filter", "description": [], "signature": [ - "Filter" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } ], "path": "src/plugins/data/public/query/filter_manager/lib/get_display_value.ts", "deprecated": false, @@ -1607,7 +1901,13 @@ "description": [], "signature": [ "(filter: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, ", indexPatterns: ", { "pluginId": "dataViews", @@ -1638,7 +1938,13 @@ "label": "filter", "description": [], "signature": [ - "Filter" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } ], "path": "src/plugins/data/public/query/filter_manager/lib/get_index_pattern_from_filter.ts", "deprecated": false, @@ -1680,9 +1986,21 @@ "description": [], "signature": [ "(filters: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]) => ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "src/plugins/data/public/query/filter_manager/lib/map_and_flatten_filters.ts", @@ -1697,7 +2015,13 @@ "label": "filters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "src/plugins/data/public/query/filter_manager/lib/map_and_flatten_filters.ts", @@ -2008,7 +2332,13 @@ "label": "filters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[] | undefined" ], "path": "src/plugins/data/public/query/state_sync/types.ts", @@ -2104,27 +2434,87 @@ "description": [], "signature": [ "{ getDefaultQuery: () => { query: string; language: any; }; formatQuery: (query: string | ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | ", - "AggregateQuery", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.AggregateQuery", + "text": "AggregateQuery" + }, " | undefined) => ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | ", - "AggregateQuery", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.AggregateQuery", + "text": "AggregateQuery" + }, "; getUpdates$: () => ", "Observable", "<", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | ", - "AggregateQuery", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.AggregateQuery", + "text": "AggregateQuery" + }, ">; getQuery: () => ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | ", - "AggregateQuery", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.AggregateQuery", + "text": "AggregateQuery" + }, "; setQuery: (query: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | ", - "AggregateQuery", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.AggregateQuery", + "text": "AggregateQuery" + }, ") => void; clearQuery: () => void; }" ], "path": "src/plugins/data/public/query/query_service.ts", @@ -2274,27 +2664,87 @@ "description": [], "signature": [ "{ getDefaultQuery: () => { query: string; language: any; }; formatQuery: (query: string | ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | ", - "AggregateQuery", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.AggregateQuery", + "text": "AggregateQuery" + }, " | undefined) => ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | ", - "AggregateQuery", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.AggregateQuery", + "text": "AggregateQuery" + }, "; getUpdates$: () => ", "Observable", "<", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | ", - "AggregateQuery", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.AggregateQuery", + "text": "AggregateQuery" + }, ">; getQuery: () => ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | ", - "AggregateQuery", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.AggregateQuery", + "text": "AggregateQuery" + }, "; setQuery: (query: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | ", - "AggregateQuery", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.AggregateQuery", + "text": "AggregateQuery" + }, ") => void; clearQuery: () => void; }" ], "path": "src/plugins/data/public/query/query_service.ts", @@ -2364,7 +2814,13 @@ "description": [], "signature": [ "(appName: string, { language, query }: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, ") => void" ], "path": "src/plugins/data/public/query/query_service.ts", @@ -2486,9 +2942,21 @@ "text": "DataView" }, ", timeRange?: ", - "TimeRange", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, " | undefined) => { bool: ", - "BoolQuery", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.BoolQuery", + "text": "BoolQuery" + }, "; }" ], "path": "src/plugins/data/public/query/query_service.ts", @@ -2524,7 +2992,13 @@ "label": "timeRange", "description": [], "signature": [ - "TimeRange", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, " | undefined" ], "path": "src/plugins/data/public/query/query_service.ts", @@ -2962,9 +3436,21 @@ ">; getFetch$: () => ", "Observable", "; getTime: () => ", - "TimeRange", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, "; getAbsoluteTime: () => ", - "TimeRange", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, "; setTime: (time: ", "InputTimeRange", ") => void; getRefreshInterval: () => ", @@ -2992,11 +3478,29 @@ "text": "DataView" }, ", timeRange?: ", - "TimeRange", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, " | undefined) => ", - "RangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilter", + "text": "RangeFilter" + }, " | ", - "ScriptedRangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.ScriptedRangeFilter", + "text": "ScriptedRangeFilter" + }, " | ", "MatchAllRangeFilter", " | undefined; createRelativeFilter: (indexPattern: ", @@ -3008,11 +3512,29 @@ "text": "DataView" }, ", timeRange?: ", - "TimeRange", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, " | undefined) => ", - "RangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilter", + "text": "RangeFilter" + }, " | ", - "ScriptedRangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.ScriptedRangeFilter", + "text": "ScriptedRangeFilter" + }, " | ", "MatchAllRangeFilter", " | undefined; getBounds: () => ", @@ -3024,7 +3546,13 @@ "text": "TimeRangeBounds" }, "; calculateBounds: (timeRange: ", - "TimeRange", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, ") => ", { "pluginId": "data", @@ -3042,7 +3570,13 @@ "text": "TimeRangeBounds" }, " | undefined; enableTimeRangeSelector: () => void; disableTimeRangeSelector: () => void; enableAutoRefreshSelector: () => void; disableAutoRefreshSelector: () => void; getTimeDefaults: () => ", - "TimeRange", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, "; getRefreshIntervalDefaults: () => ", { "pluginId": "data", @@ -3066,13 +3600,31 @@ "description": [], "signature": [ "{ get: () => ", - "TimeRange", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, "[]; add: (time: ", - "TimeRange", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, ") => void; get$: () => ", "Observable", "<", - "TimeRange", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, "[]>; }" ], "path": "src/plugins/data/public/query/timefilter/timefilter_service.ts", @@ -3143,27 +3695,87 @@ "description": [], "signature": [ "{ getDefaultQuery: () => { query: string; language: any; }; formatQuery: (query: string | ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | ", - "AggregateQuery", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.AggregateQuery", + "text": "AggregateQuery" + }, " | undefined) => ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | ", - "AggregateQuery", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.AggregateQuery", + "text": "AggregateQuery" + }, "; getUpdates$: () => ", "Observable", "<", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | ", - "AggregateQuery", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.AggregateQuery", + "text": "AggregateQuery" + }, ">; getQuery: () => ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | ", - "AggregateQuery", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.AggregateQuery", + "text": "AggregateQuery" + }, "; setQuery: (query: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | ", - "AggregateQuery", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.AggregateQuery", + "text": "AggregateQuery" + }, ") => void; clearQuery: () => void; }" ], "path": "src/plugins/data/public/query/query_string/query_string_manager.ts", @@ -3179,7 +3791,13 @@ "label": "SavedQueryTimeFilter", "description": [], "signature": [ - "TimeRange", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, " & { refreshInterval: ", { "pluginId": "data", @@ -3222,9 +3840,21 @@ ">; getFetch$: () => ", "Observable", "; getTime: () => ", - "TimeRange", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, "; getAbsoluteTime: () => ", - "TimeRange", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, "; setTime: (time: ", "InputTimeRange", ") => void; getRefreshInterval: () => ", @@ -3252,11 +3882,29 @@ "text": "DataView" }, ", timeRange?: ", - "TimeRange", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, " | undefined) => ", - "RangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilter", + "text": "RangeFilter" + }, " | ", - "ScriptedRangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.ScriptedRangeFilter", + "text": "ScriptedRangeFilter" + }, " | ", "MatchAllRangeFilter", " | undefined; createRelativeFilter: (indexPattern: ", @@ -3268,11 +3916,29 @@ "text": "DataView" }, ", timeRange?: ", - "TimeRange", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, " | undefined) => ", - "RangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilter", + "text": "RangeFilter" + }, " | ", - "ScriptedRangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.ScriptedRangeFilter", + "text": "ScriptedRangeFilter" + }, " | ", "MatchAllRangeFilter", " | undefined; getBounds: () => ", @@ -3284,7 +3950,13 @@ "text": "TimeRangeBounds" }, "; calculateBounds: (timeRange: ", - "TimeRange", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, ") => ", { "pluginId": "data", @@ -3302,7 +3974,13 @@ "text": "TimeRangeBounds" }, " | undefined; enableTimeRangeSelector: () => void; disableTimeRangeSelector: () => void; enableAutoRefreshSelector: () => void; disableAutoRefreshSelector: () => void; getTimeDefaults: () => ", - "TimeRange", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, "; getRefreshIntervalDefaults: () => ", { "pluginId": "data", @@ -3327,13 +4005,31 @@ "description": [], "signature": [ "{ get: () => ", - "TimeRange", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, "[]; add: (time: ", - "TimeRange", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, ") => void; get$: () => ", "Observable", "<", - "TimeRange", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, "[]>; }" ], "path": "src/plugins/data/public/query/timefilter/time_history.ts", @@ -3364,7 +4060,13 @@ "description": [], "signature": [ "(timeRange: ", - "TimeRange", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, ", options: ", "CalculateBoundsOptions", ") => ", @@ -3388,7 +4090,13 @@ "label": "timeRange", "description": [], "signature": [ - "TimeRange" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + } ], "path": "src/plugins/data/common/query/timefilter/get_time.ts", "deprecated": false, @@ -3423,9 +4131,21 @@ "description": [], "signature": [ "(timeRange: ", - "TimeRange", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, ", { forceNow }: { forceNow?: Date | undefined; }) => ", - "TimeRange" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + } ], "path": "src/plugins/data/common/query/timefilter/get_time.ts", "deprecated": false, @@ -3439,7 +4159,13 @@ "label": "timeRange", "description": [], "signature": [ - "TimeRange" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + } ], "path": "src/plugins/data/common/query/timefilter/get_time.ts", "deprecated": false, @@ -3494,11 +4220,29 @@ "text": "DataView" }, " | undefined, timeRange: ", - "TimeRange", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, ", options: { forceNow?: Date | undefined; fieldName?: string | undefined; } | undefined) => ", - "RangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilter", + "text": "RangeFilter" + }, " | ", - "ScriptedRangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.ScriptedRangeFilter", + "text": "ScriptedRangeFilter" + }, " | ", "MatchAllRangeFilter", " | undefined" @@ -3537,7 +4281,13 @@ "label": "timeRange", "description": [], "signature": [ - "TimeRange" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + } ], "path": "src/plugins/data/common/query/timefilter/get_time.ts", "deprecated": false, @@ -3606,11 +4356,29 @@ "text": "DataView" }, " | undefined, timeRange: ", - "TimeRange", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, ", options: { forceNow?: Date | undefined; fieldName?: string | undefined; } | undefined) => ", - "RangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilter", + "text": "RangeFilter" + }, " | ", - "ScriptedRangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.ScriptedRangeFilter", + "text": "ScriptedRangeFilter" + }, " | ", "MatchAllRangeFilter", " | undefined" @@ -3649,7 +4417,13 @@ "label": "timeRange", "description": [], "signature": [ - "TimeRange" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + } ], "path": "src/plugins/data/common/query/timefilter/get_time.ts", "deprecated": false, @@ -3710,7 +4484,13 @@ "description": [], "signature": [ "(x: unknown) => x is ", - "Query" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + } ], "path": "src/plugins/data/common/query/is_query.ts", "deprecated": false, @@ -3962,7 +4742,13 @@ "label": "filters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[] | undefined" ], "path": "src/plugins/data/common/query/types.ts", @@ -4065,11 +4851,29 @@ "text": "RefreshInterval" }, " | undefined; filters?: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[] | undefined; query?: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | ", - "AggregateQuery", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.AggregateQuery", + "text": "AggregateQuery" + }, " | undefined; }" ], "path": "src/plugins/data/common/query/query_state.ts", diff --git a/api_docs/data_query.mdx b/api_docs/data_query.mdx index 6915b38cab707..7d25048515026 100644 --- a/api_docs/data_query.mdx +++ b/api_docs/data_query.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/data-query title: "data.query" image: https://source.unsplash.com/400x175/?github description: API docs for the data.query plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'data.query'] --- import dataQueryObj from './data_query.devdocs.json'; @@ -21,7 +21,7 @@ Contact [App Services](https://github.com/orgs/elastic/teams/kibana-app-services | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 3251 | 33 | 2523 | 24 | +| 3251 | 119 | 2546 | 24 | ## Client diff --git a/api_docs/data_search.devdocs.json b/api_docs/data_search.devdocs.json index f14a2145fda16..245b49ec877bf 100644 --- a/api_docs/data_search.devdocs.json +++ b/api_docs/data_search.devdocs.json @@ -221,7 +221,13 @@ "text": "ISearchOptions" }, ", \"isStored\" | \"isRestore\" | \"sessionId\">> | null; enableStorage:

(searchSessionInfoProvider: ", { "pluginId": "data", @@ -251,7 +257,13 @@ ">; delete: (sessionId: string) => Promise; create: ({ name, appId, locatorId, initialState, restoreState, sessionId, }: { name: string; appId: string; locatorId: string; initialState: Record; restoreState: Record; sessionId: string; }) => Promise<", "SearchSessionSavedObject", ">; find: (options: Omit<", - "SavedObjectsFindOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsFindOptions", + "text": "SavedObjectsFindOptions" + }, ", \"type\">) => Promise<", { "pluginId": "data", @@ -261,7 +273,13 @@ "text": "SearchSessionsFindResponse" }, ">; update: (sessionId: string, attributes: unknown) => Promise<", - "SavedObjectsUpdateResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsUpdateResponse", + "text": "SavedObjectsUpdateResponse" + }, "<", { "pluginId": "data", @@ -271,7 +289,13 @@ "text": "SearchSessionSavedObjectAttributes" }, ">>; rename: (sessionId: string, newName: string) => Promise<", - "SavedObjectsUpdateResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsUpdateResponse", + "text": "SavedObjectsUpdateResponse" + }, ">>; extend: (sessionId: string, expires: string) => Promise<", - "SavedObjectsFindResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsFindResponse", + "text": "SavedObjectsFindResponse" + }, "<", { "pluginId": "data", @@ -659,7 +689,13 @@ "text": "ISearchOptions" }, ", \"isStored\" | \"isRestore\" | \"sessionId\">> | null; enableStorage:

(searchSessionInfoProvider: ", { "pluginId": "data", @@ -689,7 +725,13 @@ ">; delete: (sessionId: string) => Promise; create: ({ name, appId, locatorId, initialState, restoreState, sessionId, }: { name: string; appId: string; locatorId: string; initialState: Record; restoreState: Record; sessionId: string; }) => Promise<", "SearchSessionSavedObject", ">; find: (options: Omit<", - "SavedObjectsFindOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsFindOptions", + "text": "SavedObjectsFindOptions" + }, ", \"type\">) => Promise<", { "pluginId": "data", @@ -699,7 +741,13 @@ "text": "SearchSessionsFindResponse" }, ">; update: (sessionId: string, attributes: unknown) => Promise<", - "SavedObjectsUpdateResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsUpdateResponse", + "text": "SavedObjectsUpdateResponse" + }, "<", { "pluginId": "data", @@ -709,7 +757,13 @@ "text": "SearchSessionSavedObjectAttributes" }, ">>; rename: (sessionId: string, newName: string) => Promise<", - "SavedObjectsUpdateResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsUpdateResponse", + "text": "SavedObjectsUpdateResponse" + }, ">>; extend: (sessionId: string, expires: string) => Promise<", - "SavedObjectsFindResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsFindResponse", + "text": "SavedObjectsFindResponse" + }, "<", { "pluginId": "data", @@ -1242,7 +1302,13 @@ ">; delete: (sessionId: string) => Promise; create: ({ name, appId, locatorId, initialState, restoreState, sessionId, }: { name: string; appId: string; locatorId: string; initialState: Record; restoreState: Record; sessionId: string; }) => Promise<", "SearchSessionSavedObject", ">; find: (options: Omit<", - "SavedObjectsFindOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsFindOptions", + "text": "SavedObjectsFindOptions" + }, ", \"type\">) => Promise<", { "pluginId": "data", @@ -1252,7 +1318,13 @@ "text": "SearchSessionsFindResponse" }, ">; update: (sessionId: string, attributes: unknown) => Promise<", - "SavedObjectsUpdateResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsUpdateResponse", + "text": "SavedObjectsUpdateResponse" + }, "<", { "pluginId": "data", @@ -1262,7 +1334,13 @@ "text": "SearchSessionSavedObjectAttributes" }, ">>; rename: (sessionId: string, newName: string) => Promise<", - "SavedObjectsUpdateResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsUpdateResponse", + "text": "SavedObjectsUpdateResponse" + }, ">>; extend: (sessionId: string, expires: string) => Promise<", - "SavedObjectsFindResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsFindResponse", + "text": "SavedObjectsFindResponse" + }, "<", { "pluginId": "data", @@ -1323,7 +1407,13 @@ "text": "ISearchOptions" }, ", \"isStored\" | \"isRestore\" | \"sessionId\">> | null; enableStorage:

(searchSessionInfoProvider: ", { "pluginId": "data", @@ -1342,12 +1432,15 @@ { "parentPluginId": "data", "id": "def-public.noSearchSessionStorageCapabilityMessage", - "type": "string", + "type": "Any", "tags": [], "label": "noSearchSessionStorageCapabilityMessage", "description": [ "\nMessage to display in case storing\nsession session is disabled due to turned off capability" ], + "signature": [ + "any" + ], "path": "src/plugins/data/public/search/session/i18n.ts", "deprecated": false, "trackAdoption": false, @@ -1470,7 +1563,13 @@ "label": "logger", "description": [], "signature": [ - "Logger" + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + } ], "path": "src/plugins/data/server/search/session/session_service.ts", "deprecated": false, @@ -1519,7 +1618,13 @@ "description": [], "signature": [ "(core: ", - "CoreSetup", + { + "pluginId": "@kbn/core-lifecycle-server", + "scope": "server", + "docId": "kibKbnCoreLifecycleServerPluginApi", + "section": "def-server.CoreSetup", + "text": "CoreSetup" + }, ", deps: SetupDependencies) => void" ], "path": "src/plugins/data/server/search/session/session_service.ts", @@ -1534,7 +1639,13 @@ "label": "core", "description": [], "signature": [ - "CoreSetup", + { + "pluginId": "@kbn/core-lifecycle-server", + "scope": "server", + "docId": "kibKbnCoreLifecycleServerPluginApi", + "section": "def-server.CoreSetup", + "text": "CoreSetup" + }, "" ], "path": "src/plugins/data/server/search/session/session_service.ts", @@ -1569,7 +1680,13 @@ "description": [], "signature": [ "(core: ", - "CoreStart", + { + "pluginId": "@kbn/core-lifecycle-server", + "scope": "server", + "docId": "kibKbnCoreLifecycleServerPluginApi", + "section": "def-server.CoreStart", + "text": "CoreStart" + }, ", deps: StartDependencies) => void" ], "path": "src/plugins/data/server/search/session/session_service.ts", @@ -1584,7 +1701,13 @@ "label": "core", "description": [], "signature": [ - "CoreStart" + { + "pluginId": "@kbn/core-lifecycle-server", + "scope": "server", + "docId": "kibKbnCoreLifecycleServerPluginApi", + "section": "def-server.CoreStart", + "text": "CoreStart" + } ], "path": "src/plugins/data/server/search/session/session_service.ts", "deprecated": false, @@ -1652,7 +1775,13 @@ "text": "SearchSessionSavedObjectAttributes" }, ">) => Promise<", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "<", { "pluginId": "data", @@ -1764,7 +1893,13 @@ "text": "AuthenticatedUser" }, " | null, sessionId: string) => Promise<", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "<", { "pluginId": "data", @@ -1853,7 +1988,13 @@ "text": "AuthenticatedUser" }, " | null, options: Omit<", - "SavedObjectsFindOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsFindOptions", + "text": "SavedObjectsFindOptions" + }, ", \"type\">) => Promise<", { "pluginId": "data", @@ -1914,7 +2055,13 @@ "description": [], "signature": [ "Omit<", - "SavedObjectsFindOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsFindOptions", + "text": "SavedObjectsFindOptions" + }, ", \"type\">" ], "path": "src/plugins/data/server/search/session/session_service.ts", @@ -1952,7 +2099,13 @@ "text": "SearchSessionSavedObjectAttributes" }, ">) => Promise<", - "SavedObjectsUpdateResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsUpdateResponse", + "text": "SavedObjectsUpdateResponse" + }, "<", { "pluginId": "data", @@ -2064,7 +2217,13 @@ "text": "AuthenticatedUser" }, " | null, sessionId: string, expires: Date) => Promise<", - "SavedObjectsUpdateResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsUpdateResponse", + "text": "SavedObjectsUpdateResponse" + }, "<", { "pluginId": "data", @@ -2168,7 +2327,13 @@ "text": "AuthenticatedUser" }, " | null, sessionId: string) => Promise<", - "SavedObjectsUpdateResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsUpdateResponse", + "text": "SavedObjectsUpdateResponse" + }, "<", { "pluginId": "data", @@ -2492,9 +2657,21 @@ "description": [], "signature": [ "({ savedObjects, elasticsearch }: ", - "CoreStart", + { + "pluginId": "@kbn/core-lifecycle-server", + "scope": "server", + "docId": "kibKbnCoreLifecycleServerPluginApi", + "section": "def-server.CoreStart", + "text": "CoreStart" + }, ") => (request: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ") => { getId: (args_0: ", { "pluginId": "data", @@ -2536,7 +2713,13 @@ "text": "SearchSessionSavedObjectAttributes" }, ">) => Promise<", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "<", { "pluginId": "data", @@ -2546,7 +2729,13 @@ "text": "SearchSessionSavedObjectAttributes" }, ">>; get: (sessionId: string) => Promise<", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "<", { "pluginId": "data", @@ -2556,7 +2745,13 @@ "text": "SearchSessionSavedObjectAttributes" }, ">>; find: (options: Omit<", - "SavedObjectsFindOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsFindOptions", + "text": "SavedObjectsFindOptions" + }, ", \"type\">) => Promise<", { "pluginId": "data", @@ -2574,7 +2769,13 @@ "text": "SearchSessionSavedObjectAttributes" }, ">) => Promise<", - "SavedObjectsUpdateResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsUpdateResponse", + "text": "SavedObjectsUpdateResponse" + }, "<", { "pluginId": "data", @@ -2584,7 +2785,13 @@ "text": "SearchSessionSavedObjectAttributes" }, ">>; extend: (sessionId: string, expires: Date) => Promise<", - "SavedObjectsUpdateResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsUpdateResponse", + "text": "SavedObjectsUpdateResponse" + }, "<", { "pluginId": "data", @@ -2594,7 +2801,13 @@ "text": "SearchSessionSavedObjectAttributes" }, ">>; cancel: (sessionId: string) => Promise<", - "SavedObjectsUpdateResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsUpdateResponse", + "text": "SavedObjectsUpdateResponse" + }, "<", { "pluginId": "data", @@ -2625,7 +2838,13 @@ "label": "{ savedObjects, elasticsearch }", "description": [], "signature": [ - "CoreStart" + { + "pluginId": "@kbn/core-lifecycle-server", + "scope": "server", + "docId": "kibKbnCoreLifecycleServerPluginApi", + "section": "def-server.CoreStart", + "text": "CoreStart" + } ], "path": "src/plugins/data/server/search/session/session_service.ts", "deprecated": false, @@ -2737,7 +2956,13 @@ "text": "SearchSessionSavedObjectAttributes" }, ">) => Promise<", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "<", { "pluginId": "data", @@ -2773,9 +2998,21 @@ "description": [], "signature": [ "{ sessionId?: string | undefined; name?: string | undefined; appId?: string | undefined; created?: string | undefined; expires?: string | undefined; locatorId?: string | undefined; initialState?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; restoreState?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; idMapping?: Record Promise<", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "<", { "pluginId": "data", @@ -2839,7 +3082,13 @@ "description": [], "signature": [ "(options: Omit<", - "SavedObjectsFindOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsFindOptions", + "text": "SavedObjectsFindOptions" + }, ", \"type\">) => Promise<", { "pluginId": "data", @@ -2868,15 +3117,45 @@ "> | undefined; searchAfter?: string[] | undefined; page?: number | undefined; perPage?: number | undefined; sortField?: string | undefined; sortOrder?: ", "SortOrder", " | undefined; searchFields?: string[] | undefined; rootSearchFields?: string[] | undefined; hasReference?: ", - "SavedObjectsFindOptionsReference", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsFindOptionsReference", + "text": "SavedObjectsFindOptionsReference" + }, " | ", - "SavedObjectsFindOptionsReference", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsFindOptionsReference", + "text": "SavedObjectsFindOptionsReference" + }, "[] | undefined; hasReferenceOperator?: \"AND\" | \"OR\" | undefined; hasNoReference?: ", - "SavedObjectsFindOptionsReference", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsFindOptionsReference", + "text": "SavedObjectsFindOptionsReference" + }, " | ", - "SavedObjectsFindOptionsReference", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsFindOptionsReference", + "text": "SavedObjectsFindOptionsReference" + }, "[] | undefined; hasNoReferenceOperator?: \"AND\" | \"OR\" | undefined; defaultSearchOperator?: \"AND\" | \"OR\" | undefined; namespaces?: string[] | undefined; typeToNamespacesMap?: Map | undefined; preference?: string | undefined; pit?: ", - "SavedObjectsPitParams", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsPitParams", + "text": "SavedObjectsPitParams" + }, " | undefined; }" ], "path": "src/plugins/data/server/search/session/types.ts", @@ -2902,7 +3181,13 @@ "text": "SearchSessionSavedObjectAttributes" }, ">) => Promise<", - "SavedObjectsUpdateResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsUpdateResponse", + "text": "SavedObjectsUpdateResponse" + }, "<", { "pluginId": "data", @@ -2938,9 +3223,21 @@ "description": [], "signature": [ "{ sessionId?: string | undefined; name?: string | undefined; appId?: string | undefined; created?: string | undefined; expires?: string | undefined; locatorId?: string | undefined; initialState?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; restoreState?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; idMapping?: Record Promise<", - "SavedObjectsUpdateResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsUpdateResponse", + "text": "SavedObjectsUpdateResponse" + }, "<", { "pluginId": "data", @@ -3124,9 +3427,21 @@ "description": [], "signature": [ "(core: ", - "CoreStart", + { + "pluginId": "@kbn/core-lifecycle-server", + "scope": "server", + "docId": "kibKbnCoreLifecycleServerPluginApi", + "section": "def-server.CoreStart", + "text": "CoreStart" + }, ") => (request: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ") => ", "IScopedSearchSessionsClient" ], @@ -3142,7 +3457,13 @@ "label": "core", "description": [], "signature": [ - "CoreStart" + { + "pluginId": "@kbn/core-lifecycle-server", + "scope": "server", + "docId": "kibKbnCoreLifecycleServerPluginApi", + "section": "def-server.CoreStart", + "text": "CoreStart" + } ], "path": "src/plugins/data/server/search/session/types.ts", "deprecated": false, @@ -3487,7 +3808,13 @@ "label": "savedObjectsClient", "description": [], "signature": [ - "SavedObjectsClientContract" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + } ], "path": "src/plugins/data/server/search/types.ts", "deprecated": false, @@ -3501,7 +3828,13 @@ "label": "esClient", "description": [], "signature": [ - "IScopedClusterClient" + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.IScopedClusterClient", + "text": "IScopedClusterClient" + } ], "path": "src/plugins/data/server/search/types.ts", "deprecated": false, @@ -3543,7 +3876,13 @@ "label": "request", "description": [], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "" ], "path": "src/plugins/data/server/search/types.ts", @@ -3564,7 +3903,13 @@ "label": "DataRequestHandlerContext", "description": [], "signature": [ - "RequestHandlerContext", + { + "pluginId": "@kbn/core-http-request-handler-context-server", + "scope": "server", + "docId": "kibKbnCoreHttpRequestHandlerContextServerPluginApi", + "section": "def-server.RequestHandlerContext", + "text": "RequestHandlerContext" + }, " & { search: Promise<", { "pluginId": "data", @@ -4230,7 +4575,13 @@ "description": [], "signature": [ "() => { type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; }" ], "path": "src/plugins/data/common/search/aggs/agg_config.ts", @@ -4252,7 +4603,13 @@ "description": [], "signature": [ "() => { type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; }" ], "path": "src/plugins/data/common/search/aggs/agg_config.ts", @@ -4274,7 +4631,13 @@ ], "signature": [ "() => ", { "pluginId": "fieldFormats", @@ -4614,7 +4977,13 @@ "description": [], "signature": [ "() => ", - "TimeRange", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, " | undefined" ], "path": "src/plugins/data/common/search/aggs/agg_config.ts", @@ -4813,7 +5182,13 @@ "label": "timeRange", "description": [], "signature": [ - "TimeRange", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, " | undefined" ], "path": "src/plugins/data/common/search/aggs/agg_configs.ts", @@ -5107,7 +5482,13 @@ "description": [], "signature": [ "(timeRange: ", - "TimeRange", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, ") => void" ], "path": "src/plugins/data/common/search/aggs/agg_configs.ts", @@ -5122,7 +5503,13 @@ "label": "timeRange", "description": [], "signature": [ - "TimeRange" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + } ], "path": "src/plugins/data/common/search/aggs/agg_configs.ts", "deprecated": false, @@ -5729,7 +6116,13 @@ "description": [], "signature": [ "(forceNow?: Date | undefined) => ", - "RangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilter", + "text": "RangeFilter" + }, "[] | { meta: { index: string | undefined; params: {}; alias: string; disabled: boolean; negate: boolean; }; query: { bool: { should: { bool: { filter: { range: { [x: string]: { format: string; gte: string; lte: string; }; }; }[]; }; }[]; minimum_should_match: number; }; }; }[]" ], "path": "src/plugins/data/common/search/aggs/agg_configs.ts", @@ -6067,7 +6460,13 @@ "description": [], "signature": [ "(agg: TAggConfig, state?: { type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; } | undefined) => TAggConfig" ], "path": "src/plugins/data/common/search/aggs/param_types/agg.ts", @@ -6098,7 +6497,13 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; } | undefined" ], "path": "src/plugins/data/common/search/aggs/param_types/agg.ts", @@ -7001,7 +7406,13 @@ "text": "SerializedSearchSourceFields" }, "; serialize: () => { searchSourceJSON: string; references: ", - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]; }; toExpressionAst: ({ asDatatable }?: ExpressionAstOptions) => ", { "pluginId": "expressions", @@ -7098,7 +7509,13 @@ ], "signature": [ "(agg: TAggConfig) => ", { "pluginId": "fieldFormats", @@ -8481,9 +8898,21 @@ "label": "filterFieldTypes", "description": [], "signature": [ - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, " | \"*\" | ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, "[]" ], "path": "src/plugins/data/common/search/aggs/param_types/field.ts", @@ -8688,7 +9117,13 @@ "label": "unit", "description": [], "signature": [ - "Unit" + { + "pluginId": "@kbn/datemath", + "scope": "server", + "docId": "kibKbnDatemathPluginApi", + "section": "def-server.Unit", + "text": "Unit" + } ], "path": "src/plugins/data/common/search/aggs/utils/date_interval_utils/invalid_es_calendar_interval_error.ts", "deprecated": false, @@ -10379,7 +10814,13 @@ ], "signature": [ "() => { searchSourceJSON: string; references: ", - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]; }" ], "path": "src/plugins/data/common/search/search_source/search_source.ts", @@ -10564,7 +11005,13 @@ "text": "SerializedSearchSourceFields" }, "; references: ", - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]; }; inject: (searchSourceFields: ", { "pluginId": "data", @@ -10574,7 +11021,13 @@ "text": "SerializedSearchSourceFields" }, " & { indexRefName: string; }, references: ", - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]) => ", { "pluginId": "data", @@ -11019,7 +11472,13 @@ "description": [], "signature": [ "(filter: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, ") => ", { "pluginId": "expressions", @@ -11041,7 +11500,13 @@ "label": "filter", "description": [], "signature": [ - "Filter" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } ], "path": "src/plugins/data/common/search/expressions/utils/filters_adapter.ts", "deprecated": false, @@ -11571,7 +12036,13 @@ "description": [], "signature": [ "(query: ", - "AggregateQuery", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.AggregateQuery", + "text": "AggregateQuery" + }, ", timeField?: string | undefined) => ", { "pluginId": "expressions", @@ -11594,7 +12065,13 @@ "label": "query", "description": [], "signature": [ - "AggregateQuery" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.AggregateQuery", + "text": "AggregateQuery" + } ], "path": "src/plugins/data/common/search/expressions/aggregate_query_to_ast.ts", "deprecated": false, @@ -12395,7 +12872,13 @@ "text": "SerializedSearchSourceFields" }, ", ", - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]]" ], "path": "src/plugins/data/common/search/search_source/extract_references.ts", @@ -12436,9 +12919,21 @@ "description": [], "signature": [ "(filters: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, " | ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]) => ", { "pluginId": "expressions", @@ -12461,9 +12956,21 @@ "label": "filters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, " | ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "src/plugins/data/common/search/expressions/filters_to_ast.ts", @@ -12596,7 +13103,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">) => any" ], "path": "src/plugins/data/common/search/expressions/utils/function_wrapper.ts", @@ -13459,7 +13972,13 @@ "description": [], "signature": [ "(timeRange: ", - "TimeRange", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, ") => ", { "pluginId": "data", @@ -13851,7 +14370,13 @@ "description": [], "signature": [ "(getStartDependencies: (getKibanaRequest: (() => ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ") | undefined) => Promise<", { "pluginId": "data", @@ -13882,7 +14407,13 @@ "description": [], "signature": [ "(getKibanaRequest: (() => ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ") | undefined) => Promise<", { "pluginId": "data", @@ -15170,7 +15701,13 @@ "text": "SerializedSearchSourceFields" }, " & { indexRefName: string; }, references: ", - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]) => ", { "pluginId": "data", @@ -15214,7 +15751,13 @@ "label": "references", "description": [], "signature": [ - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]" ], "path": "src/plugins/data/common/search/search_source/inject_references.ts", @@ -15926,7 +16469,13 @@ ], "signature": [ "(interval: string) => { value: number; unit: ", - "Unit", + { + "pluginId": "@kbn/datemath", + "scope": "server", + "docId": "kibKbnDatemathPluginApi", + "section": "def-server.Unit", + "text": "Unit" + }, "; type: \"fixed\" | \"calendar\"; }" ], "path": "src/plugins/data/common/search/aggs/utils/date_interval_utils/parse_es_interval.ts", @@ -16247,7 +16796,13 @@ "description": [], "signature": [ "(query: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, ") => ", { "pluginId": "expressions", @@ -16269,7 +16824,13 @@ "label": "query", "description": [], "signature": [ - "Query" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + } ], "path": "src/plugins/data/common/search/expressions/query_to_ast.ts", "deprecated": false, @@ -16289,7 +16850,13 @@ "description": [], "signature": [ "(interval: string) => { value: number; unit: ", - "Unit", + { + "pluginId": "@kbn/datemath", + "scope": "server", + "docId": "kibKbnDatemathPluginApi", + "section": "def-server.Unit", + "text": "Unit" + }, "; } | null" ], "path": "src/plugins/data/common/search/aggs/utils/date_interval_utils/parse_interval.ts", @@ -16631,7 +17198,13 @@ "description": [], "signature": [ "(range: ", - "TimeRange", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, ") => { from: Date; to: Date; } | undefined" ], "path": "src/plugins/data/common/search/aggs/utils/date_interval_utils/to_absolute_dates.ts", @@ -16646,7 +17219,13 @@ "label": "range", "description": [], "signature": [ - "TimeRange" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + } ], "path": "src/plugins/data/common/search/aggs/utils/date_interval_utils/to_absolute_dates.ts", "deprecated": false, @@ -16823,7 +17402,13 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; }" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -16886,7 +17471,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -16933,7 +17524,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -16980,7 +17577,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -17027,7 +17630,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -17074,7 +17683,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -17121,7 +17736,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -17168,7 +17789,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -17215,7 +17842,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -17262,7 +17895,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -17309,7 +17948,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -17356,7 +18001,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -17403,7 +18054,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -17450,7 +18107,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -17497,7 +18160,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -17544,7 +18213,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -17591,7 +18266,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -17638,7 +18319,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -17685,7 +18372,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -17732,7 +18425,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -17779,7 +18478,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -17826,7 +18531,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -17873,7 +18584,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -17920,7 +18637,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -17967,7 +18690,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -18014,7 +18743,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -18061,7 +18796,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -18108,7 +18849,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -18155,7 +18902,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -18202,7 +18955,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -18249,7 +19008,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -18296,7 +19061,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -18343,7 +19114,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -18390,7 +19167,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -18437,7 +19220,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -18484,7 +19273,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -18531,7 +19326,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -18578,7 +19379,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -18625,7 +19432,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -18672,7 +19485,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -18916,7 +19735,13 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; } | undefined" ], "path": "src/plugins/data/common/search/aggs/metrics/bucket_avg.ts", @@ -18932,7 +19757,13 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; } | undefined" ], "path": "src/plugins/data/common/search/aggs/metrics/bucket_avg.ts", @@ -19052,7 +19883,13 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; } | undefined" ], "path": "src/plugins/data/common/search/aggs/metrics/bucket_max.ts", @@ -19068,7 +19905,13 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; } | undefined" ], "path": "src/plugins/data/common/search/aggs/metrics/bucket_max.ts", @@ -19188,7 +20031,13 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; } | undefined" ], "path": "src/plugins/data/common/search/aggs/metrics/bucket_min.ts", @@ -19204,7 +20053,13 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; } | undefined" ], "path": "src/plugins/data/common/search/aggs/metrics/bucket_min.ts", @@ -19324,7 +20179,13 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; } | undefined" ], "path": "src/plugins/data/common/search/aggs/metrics/bucket_sum.ts", @@ -19340,7 +20201,13 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; } | undefined" ], "path": "src/plugins/data/common/search/aggs/metrics/bucket_sum.ts", @@ -19540,7 +20407,13 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; } | undefined" ], "path": "src/plugins/data/common/search/aggs/metrics/cumulative_sum.ts", @@ -19587,7 +20460,13 @@ "description": [], "signature": [ "string | ", - "DataViewFieldBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, " | undefined" ], "path": "src/plugins/data/common/search/aggs/buckets/date_histogram.ts", @@ -19602,7 +20481,13 @@ "label": "timeRange", "description": [], "signature": [ - "TimeRange", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, " | undefined" ], "path": "src/plugins/data/common/search/aggs/buckets/date_histogram.ts", @@ -19942,7 +20827,13 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; } | undefined" ], "path": "src/plugins/data/common/search/aggs/metrics/derivative.ts", @@ -20225,7 +21116,13 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; } | undefined" ], "path": "src/plugins/data/common/search/aggs/metrics/filtered_metric.ts", @@ -20241,7 +21138,13 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; } | undefined" ], "path": "src/plugins/data/common/search/aggs/metrics/filtered_metric.ts", @@ -21900,7 +22803,13 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; } | undefined" ], "path": "src/plugins/data/common/search/aggs/metrics/moving_avg.ts", @@ -21985,7 +22894,13 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; } | undefined" ], "path": "src/plugins/data/common/search/aggs/buckets/multi_terms.ts", @@ -22362,7 +23277,13 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; } | undefined" ], "path": "src/plugins/data/common/search/aggs/metrics/serial_diff.ts", @@ -22889,7 +23810,13 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; } | undefined" ], "path": "src/plugins/data/common/search/aggs/buckets/terms.ts", @@ -23678,9 +24605,21 @@ "text": "FormatFactory" }, "; getDefaultConfig: (fieldType: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, ", esTypes?: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined) => ", { "pluginId": "fieldFormats", @@ -23706,9 +24645,21 @@ "text": "FieldFormatInstanceType" }, " | undefined; getDefaultType: (fieldType: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, ", esTypes?: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined) => ", { "pluginId": "fieldFormats", @@ -23718,19 +24669,61 @@ "text": "FieldFormatInstanceType" }, " | undefined; getTypeNameByEsTypes: (esTypes: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined) => ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, " | undefined; getDefaultTypeName: (fieldType: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, ", esTypes?: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined) => ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, " | ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, "; getInstance: (formatId: string, params?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ") => ", { "pluginId": "fieldFormats", @@ -23740,11 +24733,29 @@ "text": "FieldFormat" }, "; getDefaultInstancePlain: (fieldType: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, ", esTypes?: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined, params?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ") => ", { "pluginId": "fieldFormats", @@ -23754,11 +24765,29 @@ "text": "FieldFormat" }, "; getDefaultInstanceCacheResolver: (fieldType: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, ", esTypes?: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined) => string; getByFieldType: (fieldType: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, ") => ", { "pluginId": "fieldFormats", @@ -23768,11 +24797,29 @@ "text": "FieldFormatInstanceType" }, "[]; getDefaultInstance: (fieldType: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, ", esTypes?: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined, params?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ") => ", { "pluginId": "fieldFormats", @@ -23804,7 +24851,13 @@ "description": [], "signature": [ "(timeRange: ", - "TimeRange", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, ") => ", { "pluginId": "data", @@ -24208,7 +25261,13 @@ "text": "SerializedFieldFormat" }, "<{}, ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">) | undefined" ], "path": "src/plugins/data/common/search/aggs/agg_type.ts", @@ -24429,7 +25488,13 @@ "description": [], "signature": [ "(timeRange: ", - "TimeRange", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, ") => ", { "pluginId": "data", @@ -27263,7 +28328,13 @@ "\nRepresents a meta-information about a Kibana entity intitating a saerch request." ], "signature": [ - "KibanaExecutionContext", + { + "pluginId": "@kbn/core-execution-context-common", + "scope": "common", + "docId": "kibKbnCoreExecutionContextCommonPluginApi", + "section": "def-common.KibanaExecutionContext", + "text": "KibanaExecutionContext" + }, " | undefined" ], "path": "src/plugins/data/common/search/types.ts", @@ -28112,7 +29183,13 @@ "label": "filters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[] | undefined" ], "path": "src/plugins/data/common/search/expressions/esaggs/request_handler.ts", @@ -28168,7 +29245,13 @@ "label": "query", "description": [], "signature": [ - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | undefined" ], "path": "src/plugins/data/common/search/expressions/esaggs/request_handler.ts", @@ -28231,7 +29314,13 @@ "label": "timeRange", "description": [], "signature": [ - "TimeRange", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, " | undefined" ], "path": "src/plugins/data/common/search/expressions/esaggs/request_handler.ts", @@ -28276,7 +29365,13 @@ "label": "executionContext", "description": [], "signature": [ - "KibanaExecutionContext", + { + "pluginId": "@kbn/core-execution-context-common", + "scope": "common", + "docId": "kibKbnCoreExecutionContextCommonPluginApi", + "section": "def-common.KibanaExecutionContext", + "text": "KibanaExecutionContext" + }, " | undefined" ], "path": "src/plugins/data/common/search/expressions/esaggs/request_handler.ts", @@ -28598,7 +29693,13 @@ "\nThe application state that was used to create the session.\nShould be used, for example, to re-load an expired search session." ], "signature": [ - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined" ], "path": "src/plugins/data/common/search/session/types.ts", @@ -28615,7 +29716,13 @@ "\nApplication state that should be used to restore the session.\nFor example, relative dates are conveted to absolute ones." ], "signature": [ - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined" ], "path": "src/plugins/data/common/search/session/types.ts", @@ -28740,7 +29847,13 @@ "text": "SearchSessionsFindResponse" }, " extends ", - "SavedObjectsFindResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsFindResponse", + "text": "SavedObjectsFindResponse" + }, "<", { "pluginId": "data", @@ -29080,9 +30193,21 @@ "\n{@link Query}" ], "signature": [ - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | ", - "AggregateQuery", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.AggregateQuery", + "text": "AggregateQuery" + }, " | undefined" ], "path": "src/plugins/data/common/search/search_source/types.ts", @@ -29099,13 +30224,37 @@ "\n{@link Filter}" ], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, " | ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[] | (() => ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, " | ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[] | undefined) | undefined" ], "path": "src/plugins/data/common/search/search_source/types.ts", @@ -29957,7 +31106,13 @@ "text": "IAggType" }, "; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; id?: string | undefined; enabled?: boolean | undefined; }" ], "path": "src/plugins/data/common/search/aggs/agg_config.ts", @@ -29974,7 +31129,13 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; }" ], "path": "src/plugins/data/common/search/aggs/agg_config.ts", @@ -30773,7 +31934,7 @@ "label": "boundsDescendingRaw", "description": [], "signature": [ - "({ bound: number; interval: moment.Duration; boundLabel: string; intervalLabel: string; } | { bound: moment.Duration; interval: moment.Duration; boundLabel: string; intervalLabel: string; })[]" + "({ bound: number; interval: moment.Duration; boundLabel: any; intervalLabel: any; } | { bound: moment.Duration; interval: moment.Duration; boundLabel: any; intervalLabel: any; })[]" ], "path": "src/plugins/data/common/search/aggs/buckets/lib/time_buckets/calc_auto_interval.ts", "deprecated": false, @@ -30819,7 +31980,13 @@ "text": "IAggType" }, "; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; id?: string | undefined; enabled?: boolean | undefined; }" ], "path": "src/plugins/data/common/search/aggs/agg_configs.ts", @@ -30926,7 +32093,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/expressions/eql.ts", @@ -31058,7 +32231,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/expressions/esaggs/esaggs_fn.ts", @@ -31098,7 +32277,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/expressions/esdsl.ts", @@ -31207,11 +32392,29 @@ "description": [], "signature": [ "{ filters?: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[] | undefined; query?: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, "[] | undefined; timeRange?: ", { "pluginId": "data", @@ -31275,7 +32478,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/expressions/cidr.ts", @@ -31331,7 +32540,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/expressions/date_range.ts", @@ -31379,7 +32594,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/expressions/exists_filter.ts", @@ -31435,7 +32656,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/expressions/extended_bounds.ts", @@ -31483,7 +32710,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/expressions/field.ts", @@ -31531,7 +32764,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/expressions/geo_bounding_box.ts", @@ -31579,7 +32818,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/expressions/geo_point.ts", @@ -31635,7 +32880,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/expressions/ip_range.ts", @@ -31807,7 +33058,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/expressions/kibana_filter.ts", @@ -31863,7 +33120,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/expressions/timerange.ts", @@ -31911,7 +33174,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/expressions/kql.ts", @@ -31959,7 +33228,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/expressions/lucene.ts", @@ -32015,7 +33290,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/expressions/numerical_range.ts", @@ -32063,7 +33344,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/expressions/phrase_filter.ts", @@ -32111,7 +33398,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/expressions/query_filter.ts", @@ -32159,7 +33452,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/expressions/range.ts", @@ -32207,7 +33506,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/expressions/range_filter.ts", @@ -32263,7 +33568,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/expressions/remove_filter.ts", @@ -32319,7 +33630,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/expressions/select_filter.ts", @@ -32379,9 +33696,21 @@ "label": "FieldTypes", "description": [], "signature": [ - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, " | \"*\" | ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, "[]" ], "path": "src/plugins/data/common/search/aggs/param_types/field.ts", @@ -32685,7 +34014,7 @@ "label": "intervalOptions", "description": [], "signature": [ - "({ display: string; val: string; enabled(agg: ", + "({ display: any; val: string; enabled(agg: ", { "pluginId": "data", "scope": "common", @@ -32693,7 +34022,7 @@ "section": "def-common.IBucketAggConfig", "text": "IBucketAggConfig" }, - "): boolean; } | { display: string; val: string; })[]" + "): boolean; } | { display: any; val: string; })[]" ], "path": "src/plugins/data/common/search/aggs/buckets/_interval_options.ts", "deprecated": false, @@ -33014,7 +34343,13 @@ ], "signature": [ "{ executionContext?: ", - "KibanaExecutionContext", + { + "pluginId": "@kbn/core-execution-context-common", + "scope": "common", + "docId": "kibKbnCoreExecutionContextCommonPluginApi", + "section": "def-common.KibanaExecutionContext", + "text": "KibanaExecutionContext" + }, " | undefined; isStored?: boolean | undefined; isRestore?: boolean | undefined; sessionId?: string | undefined; strategy?: string | undefined; legacyHitsTotal?: boolean | undefined; isSearchStored?: boolean | undefined; }" ], "path": "src/plugins/data/common/search/types.ts", @@ -33261,7 +34596,13 @@ "text": "SerializedSearchSourceFields" }, "; serialize: () => { searchSourceJSON: string; references: ", - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]; }; toExpressionAst: ({ asDatatable }?: ExpressionAstOptions) => ", { "pluginId": "expressions", @@ -33345,7 +34686,13 @@ "description": [], "signature": [ "{ type: \"kibana_filter\"; } & ", - "Filter" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } ], "path": "src/plugins/data/common/search/expressions/kibana_context_type.ts", "deprecated": false, @@ -33361,7 +34708,13 @@ "description": [], "signature": [ "{ type: \"kibana_query\"; } & ", - "Query" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + } ], "path": "src/plugins/data/common/search/expressions/kibana_context_type.ts", "deprecated": false, @@ -33430,10 +34783,13 @@ { "parentPluginId": "data", "id": "def-common.parentPipelineType", - "type": "string", + "type": "Any", "tags": [], "label": "parentPipelineType", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/aggs/metrics/lib/parent_pipeline_agg_helper.ts", "deprecated": false, "trackAdoption": false, @@ -33448,7 +34804,13 @@ "description": [], "signature": [ "{ value: number; unit: ", - "Unit", + { + "pluginId": "@kbn/datemath", + "scope": "server", + "docId": "kibKbnDatemathPluginApi", + "section": "def-server.Unit", + "text": "Unit" + }, "; type: \"fixed\" | \"calendar\"; }" ], "path": "src/plugins/data/common/search/aggs/utils/date_interval_utils/parse_es_interval.ts", @@ -33562,11 +34924,29 @@ "description": [], "signature": [ "{ type?: string | undefined; query?: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | ", - "AggregateQuery", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.AggregateQuery", + "text": "AggregateQuery" + }, " | undefined; filter?: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[] | undefined; sort?: ", { "pluginId": "data", @@ -33576,9 +34956,21 @@ "text": "EsQuerySortValue" }, "[] | undefined; highlight?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; highlightAll?: boolean | undefined; trackTotalHits?: number | boolean | undefined; aggs?: { type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; }[] | undefined; from?: number | undefined; size?: number | undefined; source?: boolean | ", "Fields", " | undefined; version?: boolean | undefined; fields?: ", @@ -33640,10 +35032,13 @@ { "parentPluginId": "data", "id": "def-common.siblingPipelineType", - "type": "string", + "type": "Any", "tags": [], "label": "siblingPipelineType", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/aggs/metrics/lib/sibling_pipeline_agg_helper.ts", "deprecated": false, "trackAdoption": false, @@ -33790,10 +35185,13 @@ { "parentPluginId": "data", "id": "def-common.AggGroupLabels.AggGroupNames.Buckets", - "type": "string", + "type": "Any", "tags": [], "label": "[AggGroupNames.Buckets]", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/aggs/agg_groups.ts", "deprecated": false, "trackAdoption": false @@ -33801,10 +35199,13 @@ { "parentPluginId": "data", "id": "def-common.AggGroupLabels.AggGroupNames.Metrics", - "type": "string", + "type": "Any", "tags": [], "label": "[AggGroupNames.Metrics]", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/aggs/agg_groups.ts", "deprecated": false, "trackAdoption": false @@ -33812,10 +35213,13 @@ { "parentPluginId": "data", "id": "def-common.AggGroupLabels.AggGroupNames.None", - "type": "string", + "type": "Any", "tags": [], "label": "[AggGroupNames.None]", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/aggs/agg_groups.ts", "deprecated": false, "trackAdoption": false @@ -33894,10 +35298,13 @@ { "parentPluginId": "data", "id": "def-common.cidrFunction.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/expressions/cidr.ts", "deprecated": false, "trackAdoption": false @@ -33955,10 +35362,13 @@ { "parentPluginId": "data", "id": "def-common.cidrFunction.args.mask.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/expressions/cidr.ts", "deprecated": false, "trackAdoption": false @@ -34087,10 +35497,13 @@ { "parentPluginId": "data", "id": "def-common.dateRangeFunction.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/expressions/date_range.ts", "deprecated": false, "trackAdoption": false @@ -34134,10 +35547,13 @@ { "parentPluginId": "data", "id": "def-common.dateRangeFunction.args.from.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/expressions/date_range.ts", "deprecated": false, "trackAdoption": false @@ -34172,10 +35588,13 @@ { "parentPluginId": "data", "id": "def-common.dateRangeFunction.args.to.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/expressions/date_range.ts", "deprecated": false, "trackAdoption": false @@ -34479,10 +35898,13 @@ { "parentPluginId": "data", "id": "def-common.existsFilterFunction.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/expressions/exists_filter.ts", "deprecated": false, "trackAdoption": false @@ -34540,10 +35962,13 @@ { "parentPluginId": "data", "id": "def-common.existsFilterFunction.args.field.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/expressions/exists_filter.ts", "deprecated": false, "trackAdoption": false @@ -34592,10 +36017,13 @@ { "parentPluginId": "data", "id": "def-common.existsFilterFunction.args.negate.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/expressions/exists_filter.ts", "deprecated": false, "trackAdoption": false @@ -34613,9 +36041,21 @@ "description": [], "signature": [ "(input: null, args: Arguments) => { $state?: { store: ", - "FilterStateStore", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, "; } | undefined; meta: ", - "FilterMeta", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, "; query?: Record | undefined; type: \"kibana_filter\"; }" ], "path": "src/plugins/data/common/search/expressions/exists_filter.ts", @@ -34714,10 +36154,13 @@ { "parentPluginId": "data", "id": "def-common.extendedBoundsFunction.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/expressions/extended_bounds.ts", "deprecated": false, "trackAdoption": false @@ -34761,10 +36204,13 @@ { "parentPluginId": "data", "id": "def-common.extendedBoundsFunction.args.min.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/expressions/extended_bounds.ts", "deprecated": false, "trackAdoption": false @@ -34799,10 +36245,13 @@ { "parentPluginId": "data", "id": "def-common.extendedBoundsFunction.args.max.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/expressions/extended_bounds.ts", "deprecated": false, "trackAdoption": false @@ -34931,10 +36380,13 @@ { "parentPluginId": "data", "id": "def-common.fieldFunction.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/expressions/field.ts", "deprecated": false, "trackAdoption": false @@ -34992,10 +36444,13 @@ { "parentPluginId": "data", "id": "def-common.fieldFunction.args.name.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/expressions/field.ts", "deprecated": false, "trackAdoption": false @@ -35044,10 +36499,13 @@ { "parentPluginId": "data", "id": "def-common.fieldFunction.args.type.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/expressions/field.ts", "deprecated": false, "trackAdoption": false @@ -35082,10 +36540,13 @@ { "parentPluginId": "data", "id": "def-common.fieldFunction.args.script.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/expressions/field.ts", "deprecated": false, "trackAdoption": false @@ -35207,10 +36668,13 @@ { "parentPluginId": "data", "id": "def-common.geoBoundingBoxFunction.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/expressions/geo_bounding_box.ts", "deprecated": false, "trackAdoption": false @@ -35254,10 +36718,13 @@ { "parentPluginId": "data", "id": "def-common.geoBoundingBoxFunction.args.top.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/expressions/geo_bounding_box.ts", "deprecated": false, "trackAdoption": false @@ -35292,10 +36759,13 @@ { "parentPluginId": "data", "id": "def-common.geoBoundingBoxFunction.args.left.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/expressions/geo_bounding_box.ts", "deprecated": false, "trackAdoption": false @@ -35330,10 +36800,13 @@ { "parentPluginId": "data", "id": "def-common.geoBoundingBoxFunction.args.bottom.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/expressions/geo_bounding_box.ts", "deprecated": false, "trackAdoption": false @@ -35368,10 +36841,13 @@ { "parentPluginId": "data", "id": "def-common.geoBoundingBoxFunction.args.right.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/expressions/geo_bounding_box.ts", "deprecated": false, "trackAdoption": false @@ -35406,10 +36882,13 @@ { "parentPluginId": "data", "id": "def-common.geoBoundingBoxFunction.args.wkt.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/expressions/geo_bounding_box.ts", "deprecated": false, "trackAdoption": false @@ -35444,10 +36923,13 @@ { "parentPluginId": "data", "id": "def-common.geoBoundingBoxFunction.args.topLeft.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/expressions/geo_bounding_box.ts", "deprecated": false, "trackAdoption": false @@ -35482,10 +36964,13 @@ { "parentPluginId": "data", "id": "def-common.geoBoundingBoxFunction.args.bottomRight.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/expressions/geo_bounding_box.ts", "deprecated": false, "trackAdoption": false @@ -35520,10 +37005,13 @@ { "parentPluginId": "data", "id": "def-common.geoBoundingBoxFunction.args.topRight.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/expressions/geo_bounding_box.ts", "deprecated": false, "trackAdoption": false @@ -35558,10 +37046,13 @@ { "parentPluginId": "data", "id": "def-common.geoBoundingBoxFunction.args.bottomLeft.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/expressions/geo_bounding_box.ts", "deprecated": false, "trackAdoption": false @@ -35683,10 +37174,13 @@ { "parentPluginId": "data", "id": "def-common.geoPointFunction.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/expressions/geo_point.ts", "deprecated": false, "trackAdoption": false @@ -35730,10 +37224,13 @@ { "parentPluginId": "data", "id": "def-common.geoPointFunction.args.lat.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/expressions/geo_point.ts", "deprecated": false, "trackAdoption": false @@ -35768,10 +37265,13 @@ { "parentPluginId": "data", "id": "def-common.geoPointFunction.args.lon.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/expressions/geo_point.ts", "deprecated": false, "trackAdoption": false @@ -35834,10 +37334,13 @@ { "parentPluginId": "data", "id": "def-common.geoPointFunction.args.point.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/expressions/geo_point.ts", "deprecated": false, "trackAdoption": false @@ -35959,10 +37462,13 @@ { "parentPluginId": "data", "id": "def-common.ipRangeFunction.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/expressions/ip_range.ts", "deprecated": false, "trackAdoption": false @@ -36020,10 +37526,13 @@ { "parentPluginId": "data", "id": "def-common.ipRangeFunction.args.from.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/expressions/ip_range.ts", "deprecated": false, "trackAdoption": false @@ -36072,10 +37581,13 @@ { "parentPluginId": "data", "id": "def-common.ipRangeFunction.args.to.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/expressions/ip_range.ts", "deprecated": false, "trackAdoption": false @@ -36204,10 +37716,13 @@ { "parentPluginId": "data", "id": "def-common.kibana.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/expressions/kibana.ts", "deprecated": false, "trackAdoption": false @@ -36550,10 +38065,13 @@ { "parentPluginId": "data", "id": "def-common.kibanaFilterFunction.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/expressions/kibana_filter.ts", "deprecated": false, "trackAdoption": false @@ -36625,10 +38143,13 @@ { "parentPluginId": "data", "id": "def-common.kibanaFilterFunction.args.query.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/expressions/kibana_filter.ts", "deprecated": false, "trackAdoption": false @@ -36677,10 +38198,13 @@ { "parentPluginId": "data", "id": "def-common.kibanaFilterFunction.args.negate.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/expressions/kibana_filter.ts", "deprecated": false, "trackAdoption": false @@ -36729,10 +38253,13 @@ { "parentPluginId": "data", "id": "def-common.kibanaFilterFunction.args.disabled.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/expressions/kibana_filter.ts", "deprecated": false, "trackAdoption": false @@ -36847,10 +38374,13 @@ { "parentPluginId": "data", "id": "def-common.kibanaTimerangeFunction.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/expressions/timerange.ts", "deprecated": false, "trackAdoption": false @@ -36908,10 +38438,13 @@ { "parentPluginId": "data", "id": "def-common.kibanaTimerangeFunction.args.from.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/expressions/timerange.ts", "deprecated": false, "trackAdoption": false @@ -36960,10 +38493,13 @@ { "parentPluginId": "data", "id": "def-common.kibanaTimerangeFunction.args.to.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/expressions/timerange.ts", "deprecated": false, "trackAdoption": false @@ -37012,10 +38548,13 @@ { "parentPluginId": "data", "id": "def-common.kibanaTimerangeFunction.args.mode.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/expressions/timerange.ts", "deprecated": false, "trackAdoption": false @@ -37144,10 +38683,13 @@ { "parentPluginId": "data", "id": "def-common.kqlFunction.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/expressions/kql.ts", "deprecated": false, "trackAdoption": false @@ -37219,10 +38761,13 @@ { "parentPluginId": "data", "id": "def-common.kqlFunction.args.q.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/expressions/kql.ts", "deprecated": false, "trackAdoption": false @@ -37337,10 +38882,13 @@ { "parentPluginId": "data", "id": "def-common.luceneFunction.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/expressions/lucene.ts", "deprecated": false, "trackAdoption": false @@ -37412,10 +38960,13 @@ { "parentPluginId": "data", "id": "def-common.luceneFunction.args.q.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/expressions/lucene.ts", "deprecated": false, "trackAdoption": false @@ -37507,7 +39058,13 @@ "text": "IBucketAggConfig" }, ", state?: { type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; } | undefined) => ", { "pluginId": "data", @@ -37667,10 +39224,13 @@ { "parentPluginId": "data", "id": "def-common.numericalRangeFunction.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/expressions/numerical_range.ts", "deprecated": false, "trackAdoption": false @@ -37714,10 +39274,13 @@ { "parentPluginId": "data", "id": "def-common.numericalRangeFunction.args.from.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/expressions/numerical_range.ts", "deprecated": false, "trackAdoption": false @@ -37752,10 +39315,13 @@ { "parentPluginId": "data", "id": "def-common.numericalRangeFunction.args.to.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/expressions/numerical_range.ts", "deprecated": false, "trackAdoption": false @@ -37790,10 +39356,13 @@ { "parentPluginId": "data", "id": "def-common.numericalRangeFunction.args.label.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/expressions/numerical_range.ts", "deprecated": false, "trackAdoption": false @@ -37880,10 +39449,13 @@ { "parentPluginId": "data", "id": "def-common.parentPipelineAggHelper.subtype", - "type": "string", + "type": "Any", "tags": [], "label": "subtype", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/aggs/metrics/lib/parent_pipeline_agg_helper.ts", "deprecated": false, "trackAdoption": false @@ -38025,10 +39597,13 @@ { "parentPluginId": "data", "id": "def-common.phraseFilterFunction.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/expressions/phrase_filter.ts", "deprecated": false, "trackAdoption": false @@ -38086,10 +39661,13 @@ { "parentPluginId": "data", "id": "def-common.phraseFilterFunction.args.field.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/expressions/phrase_filter.ts", "deprecated": false, "trackAdoption": false @@ -38152,10 +39730,13 @@ { "parentPluginId": "data", "id": "def-common.phraseFilterFunction.args.phrase.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/expressions/phrase_filter.ts", "deprecated": false, "trackAdoption": false @@ -38204,10 +39785,13 @@ { "parentPluginId": "data", "id": "def-common.phraseFilterFunction.args.negate.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/expressions/phrase_filter.ts", "deprecated": false, "trackAdoption": false @@ -38225,9 +39809,21 @@ "description": [], "signature": [ "(input: null, args: Arguments) => { $state?: { store: ", - "FilterStateStore", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, "; } | undefined; meta: ", - "FilterMeta", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, "; query?: Record | undefined; type: \"kibana_filter\"; }" ], "path": "src/plugins/data/common/search/expressions/phrase_filter.ts", @@ -38326,10 +39922,13 @@ { "parentPluginId": "data", "id": "def-common.queryFilterFunction.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/expressions/query_filter.ts", "deprecated": false, "trackAdoption": false @@ -38401,10 +40000,13 @@ { "parentPluginId": "data", "id": "def-common.queryFilterFunction.args.input.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/expressions/query_filter.ts", "deprecated": false, "trackAdoption": false @@ -38439,10 +40041,13 @@ { "parentPluginId": "data", "id": "def-common.queryFilterFunction.args.label.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/expressions/query_filter.ts", "deprecated": false, "trackAdoption": false @@ -38564,10 +40169,13 @@ { "parentPluginId": "data", "id": "def-common.rangeFilterFunction.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/expressions/range_filter.ts", "deprecated": false, "trackAdoption": false @@ -38625,10 +40233,13 @@ { "parentPluginId": "data", "id": "def-common.rangeFilterFunction.args.field.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/expressions/range_filter.ts", "deprecated": false, "trackAdoption": false @@ -38677,10 +40288,13 @@ { "parentPluginId": "data", "id": "def-common.rangeFilterFunction.args.range.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/expressions/range_filter.ts", "deprecated": false, "trackAdoption": false @@ -38729,10 +40343,13 @@ { "parentPluginId": "data", "id": "def-common.rangeFilterFunction.args.negate.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/expressions/range_filter.ts", "deprecated": false, "trackAdoption": false @@ -38750,9 +40367,21 @@ "description": [], "signature": [ "(input: null, args: Arguments) => { $state?: { store: ", - "FilterStateStore", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, "; } | undefined; meta: ", - "FilterMeta", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, "; query?: Record | undefined; type: \"kibana_filter\"; }" ], "path": "src/plugins/data/common/search/expressions/range_filter.ts", @@ -38851,10 +40480,13 @@ { "parentPluginId": "data", "id": "def-common.rangeFunction.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/expressions/range.ts", "deprecated": false, "trackAdoption": false @@ -38898,10 +40530,13 @@ { "parentPluginId": "data", "id": "def-common.rangeFunction.args.gt.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/expressions/range.ts", "deprecated": false, "trackAdoption": false @@ -38936,10 +40571,13 @@ { "parentPluginId": "data", "id": "def-common.rangeFunction.args.lt.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/expressions/range.ts", "deprecated": false, "trackAdoption": false @@ -38974,10 +40612,13 @@ { "parentPluginId": "data", "id": "def-common.rangeFunction.args.gte.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/expressions/range.ts", "deprecated": false, "trackAdoption": false @@ -39012,10 +40653,13 @@ { "parentPluginId": "data", "id": "def-common.rangeFunction.args.lte.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/expressions/range.ts", "deprecated": false, "trackAdoption": false @@ -39130,10 +40774,13 @@ { "parentPluginId": "data", "id": "def-common.removeFilterFunction.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/expressions/remove_filter.ts", "deprecated": false, "trackAdoption": false @@ -39191,10 +40838,13 @@ { "parentPluginId": "data", "id": "def-common.removeFilterFunction.args.group.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/expressions/remove_filter.ts", "deprecated": false, "trackAdoption": false @@ -39229,10 +40879,13 @@ { "parentPluginId": "data", "id": "def-common.removeFilterFunction.args.from.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/expressions/remove_filter.ts", "deprecated": false, "trackAdoption": false @@ -39295,10 +40948,13 @@ { "parentPluginId": "data", "id": "def-common.removeFilterFunction.args.ungrouped.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/expressions/remove_filter.ts", "deprecated": false, "trackAdoption": false @@ -39324,11 +40980,29 @@ "text": "ExpressionValueSearchContext" }, ", { group, from, ungrouped }: Arguments) => { filters: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]; type: \"kibana_context\"; query?: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, "[] | undefined; timeRange?: ", { "pluginId": "data", @@ -39441,10 +41115,13 @@ { "parentPluginId": "data", "id": "def-common.selectFilterFunction.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/expressions/select_filter.ts", "deprecated": false, "trackAdoption": false @@ -39502,10 +41179,13 @@ { "parentPluginId": "data", "id": "def-common.selectFilterFunction.args.group.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/expressions/select_filter.ts", "deprecated": false, "trackAdoption": false @@ -39554,10 +41234,13 @@ { "parentPluginId": "data", "id": "def-common.selectFilterFunction.args.from.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/expressions/select_filter.ts", "deprecated": false, "trackAdoption": false @@ -39620,10 +41303,13 @@ { "parentPluginId": "data", "id": "def-common.selectFilterFunction.args.ungrouped.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/expressions/select_filter.ts", "deprecated": false, "trackAdoption": false @@ -39649,11 +41335,29 @@ "text": "ExpressionValueSearchContext" }, ", { group, ungrouped, from }: Arguments) => { filters: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]; type: \"kibana_context\"; query?: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, "[] | undefined; timeRange?: ", { "pluginId": "data", @@ -39724,10 +41428,13 @@ { "parentPluginId": "data", "id": "def-common.siblingPipelineAggHelper.subtype", - "type": "string", + "type": "Any", "tags": [], "label": "subtype", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/data/common/search/aggs/metrics/lib/sibling_pipeline_agg_helper.ts", "deprecated": false, "trackAdoption": false diff --git a/api_docs/data_search.mdx b/api_docs/data_search.mdx index 5bac09107d917..02fc52da4a81d 100644 --- a/api_docs/data_search.mdx +++ b/api_docs/data_search.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/data-search title: "data.search" image: https://source.unsplash.com/400x175/?github description: API docs for the data.search plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'data.search'] --- import dataSearchObj from './data_search.devdocs.json'; @@ -21,7 +21,7 @@ Contact [App Services](https://github.com/orgs/elastic/teams/kibana-app-services | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 3251 | 33 | 2523 | 24 | +| 3251 | 119 | 2546 | 24 | ## Client diff --git a/api_docs/data_view_editor.mdx b/api_docs/data_view_editor.mdx index 6086d70c23b35..71f4d4d24bb2a 100644 --- a/api_docs/data_view_editor.mdx +++ b/api_docs/data_view_editor.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/dataViewEditor title: "dataViewEditor" image: https://source.unsplash.com/400x175/?github description: API docs for the dataViewEditor plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dataViewEditor'] --- import dataViewEditorObj from './data_view_editor.devdocs.json'; diff --git a/api_docs/data_view_field_editor.devdocs.json b/api_docs/data_view_field_editor.devdocs.json index 50c48bbe6aed2..f12453271d43b 100644 --- a/api_docs/data_view_field_editor.devdocs.json +++ b/api_docs/data_view_field_editor.devdocs.json @@ -95,7 +95,7 @@ "section": "def-public.FormatEditorState", "text": "FormatEditorState" }, - ") => { error: string | undefined; samples: ", + ") => { error: any; samples: ", { "pluginId": "dataViewFieldEditor", "scope": "public", @@ -406,7 +406,13 @@ "description": [], "signature": [ "(newParams: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ") => void" ], "path": "src/plugins/data_view_field_editor/public/components/field_format_editor/editors/types.ts", @@ -421,7 +427,13 @@ "label": "newParams", "description": [], "signature": [ - "SerializableRecord" + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + } ], "path": "src/plugins/data_view_field_editor/public/components/field_format_editor/editors/types.ts", "deprecated": false, diff --git a/api_docs/data_view_field_editor.mdx b/api_docs/data_view_field_editor.mdx index 31bceedc60b1b..514e16ac44b40 100644 --- a/api_docs/data_view_field_editor.mdx +++ b/api_docs/data_view_field_editor.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/dataViewFieldEditor title: "dataViewFieldEditor" image: https://source.unsplash.com/400x175/?github description: API docs for the dataViewFieldEditor plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dataViewFieldEditor'] --- import dataViewFieldEditorObj from './data_view_field_editor.devdocs.json'; diff --git a/api_docs/data_view_management.mdx b/api_docs/data_view_management.mdx index 14d70bd013219..0823cb1c36d81 100644 --- a/api_docs/data_view_management.mdx +++ b/api_docs/data_view_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/dataViewManagement title: "dataViewManagement" image: https://source.unsplash.com/400x175/?github description: API docs for the dataViewManagement plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dataViewManagement'] --- import dataViewManagementObj from './data_view_management.devdocs.json'; diff --git a/api_docs/data_views.devdocs.json b/api_docs/data_views.devdocs.json index 7addb531ba2a9..3dc670c3bcbc6 100644 --- a/api_docs/data_views.devdocs.json +++ b/api_docs/data_views.devdocs.json @@ -20,7 +20,13 @@ "text": "DataView" }, " implements ", - "DataViewBase" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + } ], "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, @@ -57,6 +63,10 @@ "deprecated": true, "trackAdoption": false, "references": [ + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/es_query/types.ts" + }, { "plugin": "securitySolution", "path": "x-pack/plugins/security_solution/public/common/containers/source/index.tsx" @@ -145,6 +155,94 @@ "plugin": "data", "path": "src/plugins/data/common/search/expressions/kibana_context.test.ts" }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/es_query/build_es_query.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/es_query/from_filters.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/es_query/from_filters.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/es_query/from_kuery.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/es_query/handle_combined_filter.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/es_query/handle_nested_filter.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/filters/build_filters/build_filter.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/filters/build_filters/exists_filter.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/filters/build_filters/get_filter_field.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/filters/build_filters/phrase_filter.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/filters/build_filters/phrase_filter.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/filters/build_filters/phrases_filter.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/kuery/ast/ast.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/kuery/functions/and.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/kuery/functions/exists.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/kuery/functions/is.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/kuery/functions/nested.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/kuery/functions/not.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/kuery/functions/or.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/kuery/functions/range.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/kuery/node_types/function.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/kuery/functions/utils/get_full_field_name_node.test.ts" + }, { "plugin": "data", "path": "src/plugins/data/public/query/filter_manager/lib/get_display_value.ts" @@ -339,39 +437,39 @@ }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/pages/index_or_search/preconfigured_job_redirect.ts" + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/pages/job_type/page.tsx" + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/pages/job_type/page.tsx" + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/job_creator.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/pages/job_type/page.tsx" + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/results_loader/categorization_examples_loader.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service.ts" + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/chart_loader/chart_loader.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service.ts" + "path": "x-pack/plugins/ml/public/application/jobs/new_job/pages/index_or_search/preconfigured_job_redirect.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/job_creator.ts" + "path": "x-pack/plugins/ml/public/application/jobs/new_job/pages/job_type/page.tsx" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/chart_loader/chart_loader.ts" + "path": "x-pack/plugins/ml/public/application/jobs/new_job/pages/job_type/page.tsx" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/results_loader/categorization_examples_loader.ts" + "path": "x-pack/plugins/ml/public/application/jobs/new_job/pages/job_type/page.tsx" }, { "plugin": "ml", @@ -485,6 +583,22 @@ "plugin": "apm", "path": "x-pack/plugins/apm/server/routes/data_view/create_static_data_view.ts" }, + { + "plugin": "canvas", + "path": "x-pack/plugins/canvas/public/components/es_data_view_select/es_data_view_select.component.tsx" + }, + { + "plugin": "canvas", + "path": "x-pack/plugins/canvas/public/components/es_data_view_select/es_data_view_select.component.tsx" + }, + { + "plugin": "canvas", + "path": "x-pack/plugins/canvas/public/components/es_data_view_select/es_data_view_select.component.tsx" + }, + { + "plugin": "canvas", + "path": "x-pack/plugins/canvas/public/components/es_data_view_select/es_data_view_select.tsx" + }, { "plugin": "canvas", "path": "x-pack/plugins/canvas/public/services/kibana/data_views.ts" @@ -493,6 +607,10 @@ "plugin": "canvas", "path": "x-pack/plugins/canvas/public/services/kibana/data_views.ts" }, + { + "plugin": "canvas", + "path": "x-pack/plugins/canvas/public/components/datasource/datasource_component.js" + }, { "plugin": "reporting", "path": "x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts" @@ -914,7 +1032,13 @@ "text": "SerializedFieldFormat" }, "<{}, ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">; }" ], "path": "src/plugins/data_views/common/data_views/data_view.ts", @@ -2456,7 +2580,13 @@ "text": "SerializedFieldFormat" }, "<{}, ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">) => void" ], "path": "src/plugins/data_views/common/data_views/data_view.ts", @@ -2498,7 +2628,13 @@ "text": "SerializedFieldFormat" }, "<{}, ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">" ], "path": "src/plugins/data_views/common/data_views/data_view.ts", @@ -2566,7 +2702,13 @@ "text": "DataViewField" }, " implements ", - "DataViewFieldBase" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + } ], "path": "src/plugins/data_views/common/fields/data_view_field.ts", "deprecated": false, @@ -2580,7 +2722,13 @@ "label": "spec", "description": [], "signature": [ - "DataViewFieldBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, " & { count?: number | undefined; conflictDescriptions?: Record | undefined; format?: ", { "pluginId": "fieldFormats", @@ -2590,7 +2738,13 @@ "text": "SerializedFieldFormat" }, "<{}, ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, "> | undefined; esTypes?: string[] | undefined; searchable: boolean; aggregatable: boolean; readFromDocValues?: boolean | undefined; indexed?: boolean | undefined; customLabel?: string | undefined; runtimeField?: ", { "pluginId": "dataViews", @@ -3043,7 +3197,13 @@ "\nReturns field subtype, multi, nested, or undefined if neither" ], "signature": [ - "IFieldSubType", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.IFieldSubType", + "text": "IFieldSubType" + }, " | undefined" ], "path": "src/plugins/data_views/common/fields/data_view_field.ts", @@ -3165,7 +3325,13 @@ ], "signature": [ "() => ", - "IFieldSubTypeNested", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.IFieldSubTypeNested", + "text": "IFieldSubTypeNested" + }, " | undefined" ], "path": "src/plugins/data_views/common/fields/data_view_field.ts", @@ -3185,7 +3351,13 @@ ], "signature": [ "() => ", - "IFieldSubTypeMulti", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.IFieldSubTypeMulti", + "text": "IFieldSubTypeMulti" + }, " | undefined" ], "path": "src/plugins/data_views/common/fields/data_view_field.ts", @@ -3223,7 +3395,13 @@ ], "signature": [ "() => { count: number; script: string | undefined; lang: string | undefined; conflictDescriptions: Record | undefined; name: string; type: string; esTypes: string[] | undefined; scripted: boolean; searchable: boolean; aggregatable: boolean; readFromDocValues: boolean; subType: ", - "IFieldSubType", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.IFieldSubType", + "text": "IFieldSubType" + }, " | undefined; customLabel: string | undefined; }" ], "path": "src/plugins/data_views/common/fields/data_view_field.ts", @@ -3368,7 +3546,13 @@ "http dependency" ], "signature": [ - "HttpSetup" + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpSetup", + "text": "HttpSetup" + } ], "path": "src/plugins/data_views/public/data_views/data_views_api_client.ts", "deprecated": false, @@ -3529,7 +3713,13 @@ "text": "DataViewsPublicPlugin" }, " implements ", - "Plugin", + { + "pluginId": "@kbn/core-plugins-browser", + "scope": "common", + "docId": "kibKbnCorePluginsBrowserPluginApi", + "section": "def-common.Plugin", + "text": "Plugin" + }, "<", { "pluginId": "dataViews", @@ -3577,7 +3767,13 @@ "description": [], "signature": [ "(core: ", - "CoreSetup", + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreSetup", + "text": "CoreSetup" + }, "<", { "pluginId": "dataViews", @@ -3623,7 +3819,13 @@ "label": "core", "description": [], "signature": [ - "CoreSetup", + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreSetup", + "text": "CoreSetup" + }, "<", { "pluginId": "dataViews", @@ -3680,7 +3882,13 @@ "description": [], "signature": [ "(core: ", - "CoreStart", + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreStart", + "text": "CoreStart" + }, ", { fieldFormats }: ", { "pluginId": "dataViews", @@ -3710,7 +3918,13 @@ "label": "core", "description": [], "signature": [ - "CoreStart" + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreStart", + "text": "CoreStart" + } ], "path": "src/plugins/data_views/public/plugin.ts", "deprecated": false, @@ -4075,7 +4289,13 @@ ], "signature": [ "() => Promise<", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "<", { "pluginId": "dataViews", @@ -4559,7 +4779,13 @@ ], "signature": [ "(savedObject: ", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "<", { "pluginId": "dataViews", @@ -4589,7 +4815,13 @@ "label": "savedObject", "description": [], "signature": [ - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "<", { "pluginId": "dataViews", @@ -5359,7 +5591,13 @@ "text": "SavedObjectsClientCommonFindArgs" }, ") => Promise<", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "[]>" ], "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", @@ -5399,7 +5637,13 @@ "description": [], "signature": [ "(type: string, id: string) => Promise<", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, ">" ], "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", @@ -5456,9 +5700,21 @@ "text": "DataViewAttributes" }, ", options: ", - "SavedObjectsUpdateOptions", + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SavedObjectsUpdateOptions", + "text": "SavedObjectsUpdateOptions" + }, ") => Promise<", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, ">" ], "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", @@ -5524,7 +5780,13 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsUpdateOptions", + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SavedObjectsUpdateOptions", + "text": "SavedObjectsUpdateOptions" + }, "" ], "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", @@ -5552,9 +5814,21 @@ "text": "DataViewAttributes" }, ", options?: ", - "SavedObjectsCreateOptions", + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SavedObjectsCreateOptions", + "text": "SavedObjectsCreateOptions" + }, " | undefined) => Promise<", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, ">" ], "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", @@ -5605,7 +5879,13 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsCreateOptions", + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SavedObjectsCreateOptions", + "text": "SavedObjectsCreateOptions" + }, " | undefined" ], "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", @@ -5716,7 +5996,13 @@ "label": "uiSettings", "description": [], "signature": [ - "IUiSettingsClient" + { + "pluginId": "@kbn/core-ui-settings-browser", + "scope": "common", + "docId": "kibKbnCoreUiSettingsBrowserPluginApi", + "section": "def-common.IUiSettingsClient", + "text": "IUiSettingsClient" + } ], "path": "src/plugins/data_views/public/ui_settings_wrapper.ts", "deprecated": false, @@ -5767,9 +6053,21 @@ "description": [], "signature": [ "() => Promise) | undefined>>" ], "path": "src/plugins/data_views/public/ui_settings_wrapper.ts", @@ -5871,7 +6169,13 @@ "description": [], "signature": [ "(field: HasSubtype) => ", - "IFieldSubTypeMulti", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.IFieldSubTypeMulti", + "text": "IFieldSubTypeMulti" + }, " | undefined" ], "path": "src/plugins/data_views/common/fields/utils.ts", @@ -5888,7 +6192,13 @@ "description": [], "signature": [ "{ subType?: ", - "IFieldSubType", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.IFieldSubType", + "text": "IFieldSubType" + }, " | undefined; }" ], "path": "src/plugins/data_views/common/fields/utils.ts", @@ -5907,7 +6217,13 @@ "description": [], "signature": [ "(field: HasSubtype) => ", - "IFieldSubTypeNested", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.IFieldSubTypeNested", + "text": "IFieldSubTypeNested" + }, " | undefined" ], "path": "src/plugins/data_views/common/fields/utils.ts", @@ -5924,7 +6240,13 @@ "description": [], "signature": [ "{ subType?: ", - "IFieldSubType", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.IFieldSubType", + "text": "IFieldSubType" + }, " | undefined; }" ], "path": "src/plugins/data_views/common/fields/utils.ts", @@ -7212,7 +7534,13 @@ "text": "SavedObjectsClientCommonFindArgs" }, ") => Promise<", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "[]>" ], "path": "src/plugins/data_views/common/types.ts", @@ -7256,7 +7584,13 @@ ], "signature": [ "(type: string, id: string) => Promise<", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, ">" ], "path": "src/plugins/data_views/common/types.ts", @@ -7319,9 +7653,21 @@ "text": "DataViewAttributes" }, ", options: ", - "SavedObjectsUpdateOptions", + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SavedObjectsUpdateOptions", + "text": "SavedObjectsUpdateOptions" + }, ") => Promise<", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, ">" ], "path": "src/plugins/data_views/common/types.ts", @@ -7395,7 +7741,13 @@ "- client options" ], "signature": [ - "SavedObjectsUpdateOptions", + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SavedObjectsUpdateOptions", + "text": "SavedObjectsUpdateOptions" + }, "" ], "path": "src/plugins/data_views/common/types.ts", @@ -7425,9 +7777,21 @@ "text": "DataViewAttributes" }, ", options: ", - "SavedObjectsCreateOptions", + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SavedObjectsCreateOptions", + "text": "SavedObjectsCreateOptions" + }, ") => Promise<", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, ">" ], "path": "src/plugins/data_views/common/types.ts", @@ -7484,7 +7848,13 @@ "- client options" ], "signature": [ - "SavedObjectsCreateOptions" + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SavedObjectsCreateOptions", + "text": "SavedObjectsCreateOptions" + } ], "path": "src/plugins/data_views/common/types.ts", "deprecated": false, @@ -7704,7 +8074,13 @@ "text": "SerializedFieldFormat" }, "<{}, ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">> | undefined; runtimeFieldMap?: Record | undefined; format?: ", { "pluginId": "fieldFormats", @@ -7748,7 +8130,13 @@ "text": "SerializedFieldFormat" }, "<{}, ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, "> | undefined; esTypes?: string[] | undefined; searchable: boolean; aggregatable: boolean; readFromDocValues?: boolean | undefined; indexed?: boolean | undefined; customLabel?: string | undefined; runtimeField?: ", { "pluginId": "dataViews", @@ -7935,7 +8323,13 @@ "text": "DataView" }, " implements ", - "DataViewBase" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + } ], "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, @@ -7972,6 +8366,10 @@ "deprecated": true, "trackAdoption": false, "references": [ + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/es_query/types.ts" + }, { "plugin": "securitySolution", "path": "x-pack/plugins/security_solution/public/common/containers/source/index.tsx" @@ -8060,6 +8458,94 @@ "plugin": "data", "path": "src/plugins/data/common/search/expressions/kibana_context.test.ts" }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/es_query/build_es_query.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/es_query/from_filters.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/es_query/from_filters.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/es_query/from_kuery.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/es_query/handle_combined_filter.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/es_query/handle_nested_filter.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/filters/build_filters/build_filter.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/filters/build_filters/exists_filter.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/filters/build_filters/get_filter_field.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/filters/build_filters/phrase_filter.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/filters/build_filters/phrase_filter.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/filters/build_filters/phrases_filter.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/kuery/ast/ast.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/kuery/functions/and.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/kuery/functions/exists.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/kuery/functions/is.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/kuery/functions/nested.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/kuery/functions/not.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/kuery/functions/or.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/kuery/functions/range.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/kuery/node_types/function.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/kuery/functions/utils/get_full_field_name_node.test.ts" + }, { "plugin": "data", "path": "src/plugins/data/public/query/filter_manager/lib/get_display_value.ts" @@ -8254,39 +8740,39 @@ }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/pages/index_or_search/preconfigured_job_redirect.ts" + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/pages/job_type/page.tsx" + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/pages/job_type/page.tsx" + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/job_creator.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/pages/job_type/page.tsx" + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/results_loader/categorization_examples_loader.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service.ts" + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/chart_loader/chart_loader.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service.ts" + "path": "x-pack/plugins/ml/public/application/jobs/new_job/pages/index_or_search/preconfigured_job_redirect.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/job_creator.ts" + "path": "x-pack/plugins/ml/public/application/jobs/new_job/pages/job_type/page.tsx" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/chart_loader/chart_loader.ts" + "path": "x-pack/plugins/ml/public/application/jobs/new_job/pages/job_type/page.tsx" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/results_loader/categorization_examples_loader.ts" + "path": "x-pack/plugins/ml/public/application/jobs/new_job/pages/job_type/page.tsx" }, { "plugin": "ml", @@ -8400,6 +8886,22 @@ "plugin": "apm", "path": "x-pack/plugins/apm/server/routes/data_view/create_static_data_view.ts" }, + { + "plugin": "canvas", + "path": "x-pack/plugins/canvas/public/components/es_data_view_select/es_data_view_select.component.tsx" + }, + { + "plugin": "canvas", + "path": "x-pack/plugins/canvas/public/components/es_data_view_select/es_data_view_select.component.tsx" + }, + { + "plugin": "canvas", + "path": "x-pack/plugins/canvas/public/components/es_data_view_select/es_data_view_select.component.tsx" + }, + { + "plugin": "canvas", + "path": "x-pack/plugins/canvas/public/components/es_data_view_select/es_data_view_select.tsx" + }, { "plugin": "canvas", "path": "x-pack/plugins/canvas/public/services/kibana/data_views.ts" @@ -8408,6 +8910,10 @@ "plugin": "canvas", "path": "x-pack/plugins/canvas/public/services/kibana/data_views.ts" }, + { + "plugin": "canvas", + "path": "x-pack/plugins/canvas/public/components/datasource/datasource_component.js" + }, { "plugin": "reporting", "path": "x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts" @@ -8829,7 +9335,13 @@ "text": "SerializedFieldFormat" }, "<{}, ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">; }" ], "path": "src/plugins/data_views/common/data_views/data_view.ts", @@ -10371,7 +10883,13 @@ "text": "SerializedFieldFormat" }, "<{}, ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">) => void" ], "path": "src/plugins/data_views/common/data_views/data_view.ts", @@ -10413,7 +10931,13 @@ "text": "SerializedFieldFormat" }, "<{}, ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">" ], "path": "src/plugins/data_views/common/data_views/data_view.ts", @@ -10479,7 +11003,13 @@ "text": "DataViewsServerPlugin" }, " implements ", - "Plugin", + { + "pluginId": "@kbn/core-plugins-server", + "scope": "server", + "docId": "kibKbnCorePluginsServerPluginApi", + "section": "def-server.Plugin", + "text": "Plugin" + }, "<", { "pluginId": "dataViews", @@ -10540,7 +11070,13 @@ "label": "initializerContext", "description": [], "signature": [ - "PluginInitializerContext", + { + "pluginId": "@kbn/core-plugins-server", + "scope": "server", + "docId": "kibKbnCorePluginsServerPluginApi", + "section": "def-server.PluginInitializerContext", + "text": "PluginInitializerContext" + }, "" ], "path": "src/plugins/data_views/server/plugin.ts", @@ -10560,7 +11096,13 @@ "description": [], "signature": [ "(core: ", - "CoreSetup", + { + "pluginId": "@kbn/core-lifecycle-server", + "scope": "server", + "docId": "kibKbnCoreLifecycleServerPluginApi", + "section": "def-server.CoreSetup", + "text": "CoreSetup" + }, "<", { "pluginId": "dataViews", @@ -10599,7 +11141,13 @@ "label": "core", "description": [], "signature": [ - "CoreSetup", + { + "pluginId": "@kbn/core-lifecycle-server", + "scope": "server", + "docId": "kibKbnCoreLifecycleServerPluginApi", + "section": "def-server.CoreSetup", + "text": "CoreSetup" + }, "<", { "pluginId": "dataViews", @@ -10656,7 +11204,13 @@ "description": [], "signature": [ "({ uiSettings, capabilities }: ", - "CoreStart", + { + "pluginId": "@kbn/core-lifecycle-server", + "scope": "server", + "docId": "kibKbnCoreLifecycleServerPluginApi", + "section": "def-server.CoreStart", + "text": "CoreStart" + }, ", { fieldFormats }: ", { "pluginId": "dataViews", @@ -10666,11 +11220,29 @@ "text": "DataViewsServerPluginStartDependencies" }, ") => { dataViewsServiceFactory: (savedObjectsClient: ", - "SavedObjectsClientContract", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + }, ", elasticsearchClient: ", - "ElasticsearchClient", + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.ElasticsearchClient", + "text": "ElasticsearchClient" + }, ", request?: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, " | undefined, byPassCapabilities?: boolean | undefined) => Promise<", { "pluginId": "dataViews", @@ -10693,7 +11265,13 @@ "label": "{ uiSettings, capabilities }", "description": [], "signature": [ - "CoreStart" + { + "pluginId": "@kbn/core-lifecycle-server", + "scope": "server", + "docId": "kibKbnCoreLifecycleServerPluginApi", + "section": "def-server.CoreStart", + "text": "CoreStart" + } ], "path": "src/plugins/data_views/server/plugin.ts", "deprecated": false, @@ -11058,7 +11636,13 @@ ], "signature": [ "() => Promise<", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "<", { "pluginId": "dataViews", @@ -11542,7 +12126,13 @@ ], "signature": [ "(savedObject: ", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "<", { "pluginId": "dataViews", @@ -11572,7 +12162,13 @@ "label": "savedObject", "description": [], "signature": [ - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "<", { "pluginId": "dataViews", @@ -12148,7 +12744,13 @@ "label": "elasticsearchClient", "description": [], "signature": [ - "ElasticsearchClient" + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.ElasticsearchClient", + "text": "ElasticsearchClient" + } ], "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", "deprecated": false, @@ -12358,11 +12960,29 @@ ], "signature": [ "(deps: DataViewsServiceFactoryDeps) => (savedObjectsClient: ", - "SavedObjectsClientContract", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + }, ", elasticsearchClient: ", - "ElasticsearchClient", + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.ElasticsearchClient", + "text": "ElasticsearchClient" + }, ", request?: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, " | undefined, byPassCapabilities?: boolean | undefined) => Promise<", { "pluginId": "dataViews", @@ -12409,9 +13029,21 @@ "description": [], "signature": [ "(savedObjectsClient: ", - "SavedObjectsClientContract", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + }, ", index: string) => Promise<", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "<", { "pluginId": "dataViews", @@ -12452,7 +13084,13 @@ "label": "savedObjectsClient", "description": [], "signature": [ - "SavedObjectsClientContract" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + } ], "path": "src/plugins/data_views/server/utils.ts", "deprecated": false, @@ -12535,7 +13173,13 @@ "description": [], "signature": [ "(fieldName: string, indexPattern: ", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "<", { "pluginId": "dataViews", @@ -12599,7 +13243,13 @@ "label": "indexPattern", "description": [], "signature": [ - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "<", { "pluginId": "dataViews", @@ -12749,7 +13399,13 @@ "\nLogger" ], "signature": [ - "Logger" + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + } ], "path": "src/plugins/data_views/server/types.ts", "deprecated": false, @@ -12999,7 +13655,13 @@ "text": "SavedObjectsClientCommonFindArgs" }, ") => Promise<", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "[]>" ], "path": "src/plugins/data_views/common/types.ts", @@ -13043,7 +13705,13 @@ ], "signature": [ "(type: string, id: string) => Promise<", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, ">" ], "path": "src/plugins/data_views/common/types.ts", @@ -13106,9 +13774,21 @@ "text": "DataViewAttributes" }, ", options: ", - "SavedObjectsUpdateOptions", + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SavedObjectsUpdateOptions", + "text": "SavedObjectsUpdateOptions" + }, ") => Promise<", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, ">" ], "path": "src/plugins/data_views/common/types.ts", @@ -13182,7 +13862,13 @@ "- client options" ], "signature": [ - "SavedObjectsUpdateOptions", + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SavedObjectsUpdateOptions", + "text": "SavedObjectsUpdateOptions" + }, "" ], "path": "src/plugins/data_views/common/types.ts", @@ -13212,9 +13898,21 @@ "text": "DataViewAttributes" }, ", options: ", - "SavedObjectsCreateOptions", + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SavedObjectsCreateOptions", + "text": "SavedObjectsCreateOptions" + }, ") => Promise<", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, ">" ], "path": "src/plugins/data_views/common/types.ts", @@ -13271,7 +13969,13 @@ "- client options" ], "signature": [ - "SavedObjectsCreateOptions" + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SavedObjectsCreateOptions", + "text": "SavedObjectsCreateOptions" + } ], "path": "src/plugins/data_views/common/types.ts", "deprecated": false, @@ -13378,7 +14082,13 @@ "\nSerialized version of DataViewField" ], "signature": [ - "DataViewFieldBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, " & { count?: number | undefined; conflictDescriptions?: Record | undefined; format?: ", { "pluginId": "fieldFormats", @@ -13388,7 +14098,13 @@ "text": "SerializedFieldFormat" }, "<{}, ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, "> | undefined; esTypes?: string[] | undefined; searchable: boolean; aggregatable: boolean; readFromDocValues?: boolean | undefined; indexed?: boolean | undefined; customLabel?: string | undefined; runtimeField?: ", { "pluginId": "dataViews", @@ -13655,11 +14371,29 @@ ], "signature": [ "(savedObjectsClient: ", - "SavedObjectsClientContract", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + }, ", elasticsearchClient: ", - "ElasticsearchClient", + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.ElasticsearchClient", + "text": "ElasticsearchClient" + }, ", request?: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, " | undefined, byPassCapabilities?: boolean | undefined) => Promise<", { "pluginId": "dataViews", @@ -13683,7 +14417,13 @@ "label": "savedObjectsClient", "description": [], "signature": [ - "SavedObjectsClientContract" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + } ], "path": "src/plugins/data_views/server/types.ts", "deprecated": false, @@ -14897,7 +15637,13 @@ "label": "request", "description": [], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, " | undefined" ], "path": "src/plugins/data_views/server/types.ts", @@ -14961,7 +15707,13 @@ "text": "DataView" }, " implements ", - "DataViewBase" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + } ], "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, @@ -14998,6 +15750,10 @@ "deprecated": true, "trackAdoption": false, "references": [ + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/es_query/types.ts" + }, { "plugin": "securitySolution", "path": "x-pack/plugins/security_solution/public/common/containers/source/index.tsx" @@ -15086,6 +15842,94 @@ "plugin": "data", "path": "src/plugins/data/common/search/expressions/kibana_context.test.ts" }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/es_query/build_es_query.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/es_query/from_filters.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/es_query/from_filters.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/es_query/from_kuery.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/es_query/handle_combined_filter.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/es_query/handle_nested_filter.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/filters/build_filters/build_filter.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/filters/build_filters/exists_filter.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/filters/build_filters/get_filter_field.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/filters/build_filters/phrase_filter.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/filters/build_filters/phrase_filter.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/filters/build_filters/phrases_filter.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/kuery/ast/ast.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/kuery/functions/and.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/kuery/functions/exists.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/kuery/functions/is.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/kuery/functions/nested.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/kuery/functions/not.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/kuery/functions/or.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/kuery/functions/range.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/kuery/node_types/function.test.ts" + }, + { + "plugin": "@kbn/es-query", + "path": "packages/kbn-es-query/src/kuery/functions/utils/get_full_field_name_node.test.ts" + }, { "plugin": "data", "path": "src/plugins/data/public/query/filter_manager/lib/get_display_value.ts" @@ -15280,39 +16124,39 @@ }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/pages/index_or_search/preconfigured_job_redirect.ts" + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/pages/job_type/page.tsx" + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/pages/job_type/page.tsx" + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/job_creator.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/pages/job_type/page.tsx" + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/results_loader/categorization_examples_loader.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service.ts" + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/chart_loader/chart_loader.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service.ts" + "path": "x-pack/plugins/ml/public/application/jobs/new_job/pages/index_or_search/preconfigured_job_redirect.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/job_creator.ts" + "path": "x-pack/plugins/ml/public/application/jobs/new_job/pages/job_type/page.tsx" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/chart_loader/chart_loader.ts" + "path": "x-pack/plugins/ml/public/application/jobs/new_job/pages/job_type/page.tsx" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/results_loader/categorization_examples_loader.ts" + "path": "x-pack/plugins/ml/public/application/jobs/new_job/pages/job_type/page.tsx" }, { "plugin": "ml", @@ -15426,6 +16270,22 @@ "plugin": "apm", "path": "x-pack/plugins/apm/server/routes/data_view/create_static_data_view.ts" }, + { + "plugin": "canvas", + "path": "x-pack/plugins/canvas/public/components/es_data_view_select/es_data_view_select.component.tsx" + }, + { + "plugin": "canvas", + "path": "x-pack/plugins/canvas/public/components/es_data_view_select/es_data_view_select.component.tsx" + }, + { + "plugin": "canvas", + "path": "x-pack/plugins/canvas/public/components/es_data_view_select/es_data_view_select.component.tsx" + }, + { + "plugin": "canvas", + "path": "x-pack/plugins/canvas/public/components/es_data_view_select/es_data_view_select.tsx" + }, { "plugin": "canvas", "path": "x-pack/plugins/canvas/public/services/kibana/data_views.ts" @@ -15434,6 +16294,10 @@ "plugin": "canvas", "path": "x-pack/plugins/canvas/public/services/kibana/data_views.ts" }, + { + "plugin": "canvas", + "path": "x-pack/plugins/canvas/public/components/datasource/datasource_component.js" + }, { "plugin": "reporting", "path": "x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts" @@ -15855,7 +16719,13 @@ "text": "SerializedFieldFormat" }, "<{}, ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">; }" ], "path": "src/plugins/data_views/common/data_views/data_view.ts", @@ -17397,7 +18267,13 @@ "text": "SerializedFieldFormat" }, "<{}, ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">) => void" ], "path": "src/plugins/data_views/common/data_views/data_view.ts", @@ -17439,7 +18315,13 @@ "text": "SerializedFieldFormat" }, "<{}, ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">" ], "path": "src/plugins/data_views/common/data_views/data_view.ts", @@ -17507,7 +18389,13 @@ "text": "DataViewField" }, " implements ", - "DataViewFieldBase" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + } ], "path": "src/plugins/data_views/common/fields/data_view_field.ts", "deprecated": false, @@ -17521,7 +18409,13 @@ "label": "spec", "description": [], "signature": [ - "DataViewFieldBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, " & { count?: number | undefined; conflictDescriptions?: Record | undefined; format?: ", { "pluginId": "fieldFormats", @@ -17531,7 +18425,13 @@ "text": "SerializedFieldFormat" }, "<{}, ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, "> | undefined; esTypes?: string[] | undefined; searchable: boolean; aggregatable: boolean; readFromDocValues?: boolean | undefined; indexed?: boolean | undefined; customLabel?: string | undefined; runtimeField?: ", { "pluginId": "dataViews", @@ -17984,7 +18884,13 @@ "\nReturns field subtype, multi, nested, or undefined if neither" ], "signature": [ - "IFieldSubType", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.IFieldSubType", + "text": "IFieldSubType" + }, " | undefined" ], "path": "src/plugins/data_views/common/fields/data_view_field.ts", @@ -18106,7 +19012,13 @@ ], "signature": [ "() => ", - "IFieldSubTypeNested", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.IFieldSubTypeNested", + "text": "IFieldSubTypeNested" + }, " | undefined" ], "path": "src/plugins/data_views/common/fields/data_view_field.ts", @@ -18126,7 +19038,13 @@ ], "signature": [ "() => ", - "IFieldSubTypeMulti", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.IFieldSubTypeMulti", + "text": "IFieldSubTypeMulti" + }, " | undefined" ], "path": "src/plugins/data_views/common/fields/data_view_field.ts", @@ -18164,7 +19082,13 @@ ], "signature": [ "() => { count: number; script: string | undefined; lang: string | undefined; conflictDescriptions: Record | undefined; name: string; type: string; esTypes: string[] | undefined; scripted: boolean; searchable: boolean; aggregatable: boolean; readFromDocValues: boolean; subType: ", - "IFieldSubType", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.IFieldSubType", + "text": "IFieldSubType" + }, " | undefined; customLabel: string | undefined; }" ], "path": "src/plugins/data_views/common/fields/data_view_field.ts", @@ -18692,7 +19616,13 @@ ], "signature": [ "() => Promise<", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "<", { "pluginId": "dataViews", @@ -19176,7 +20106,13 @@ ], "signature": [ "(savedObject: ", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "<", { "pluginId": "dataViews", @@ -19206,7 +20142,13 @@ "label": "savedObject", "description": [], "signature": [ - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "<", { "pluginId": "dataViews", @@ -19892,7 +20834,13 @@ "description": [], "signature": [ "(field: HasSubtype) => ", - "IFieldSubTypeMulti", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.IFieldSubTypeMulti", + "text": "IFieldSubTypeMulti" + }, " | undefined" ], "path": "src/plugins/data_views/common/fields/utils.ts", @@ -19909,7 +20857,13 @@ "description": [], "signature": [ "{ subType?: ", - "IFieldSubType", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.IFieldSubType", + "text": "IFieldSubType" + }, " | undefined; }" ], "path": "src/plugins/data_views/common/fields/utils.ts", @@ -19928,7 +20882,13 @@ "description": [], "signature": [ "(field: HasSubtype) => ", - "IFieldSubTypeNested", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.IFieldSubTypeNested", + "text": "IFieldSubTypeNested" + }, " | undefined" ], "path": "src/plugins/data_views/common/fields/utils.ts", @@ -19945,7 +20905,13 @@ "description": [], "signature": [ "{ subType?: ", - "IFieldSubType", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.IFieldSubType", + "text": "IFieldSubType" + }, " | undefined; }" ], "path": "src/plugins/data_views/common/fields/utils.ts", @@ -20051,7 +21017,13 @@ "description": [], "signature": [ "{ subType?: ", - "IFieldSubType", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.IFieldSubType", + "text": "IFieldSubType" + }, " | undefined; }" ], "path": "src/plugins/data_views/common/fields/utils.ts", @@ -20085,7 +21057,13 @@ "description": [], "signature": [ "{ subType?: ", - "IFieldSubType", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.IFieldSubType", + "text": "IFieldSubType" + }, " | undefined; }" ], "path": "src/plugins/data_views/common/fields/utils.ts", @@ -20492,9 +21470,21 @@ "text": "FormatFactory" }, "; getDefaultConfig: (fieldType: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, ", esTypes?: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined) => ", { "pluginId": "fieldFormats", @@ -20520,9 +21510,21 @@ "text": "FieldFormatInstanceType" }, " | undefined; getDefaultType: (fieldType: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, ", esTypes?: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined) => ", { "pluginId": "fieldFormats", @@ -20532,19 +21534,61 @@ "text": "FieldFormatInstanceType" }, " | undefined; getTypeNameByEsTypes: (esTypes: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined) => ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, " | undefined; getDefaultTypeName: (fieldType: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, ", esTypes?: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined) => ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, " | ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, "; getInstance: (formatId: string, params?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ") => ", { "pluginId": "fieldFormats", @@ -20554,11 +21598,29 @@ "text": "FieldFormat" }, "; getDefaultInstancePlain: (fieldType: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, ", esTypes?: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined, params?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ") => ", { "pluginId": "fieldFormats", @@ -20568,11 +21630,29 @@ "text": "FieldFormat" }, "; getDefaultInstanceCacheResolver: (fieldType: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, ", esTypes?: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined) => string; getByFieldType: (fieldType: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, ") => ", { "pluginId": "fieldFormats", @@ -20582,11 +21662,29 @@ "text": "FieldFormatInstanceType" }, "[]; getDefaultInstance: (fieldType: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, ", esTypes?: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined, params?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ") => ", { "pluginId": "fieldFormats", @@ -20620,7 +21718,13 @@ ], "signature": [ "(toastInputFields: ", - "ToastInputFields", + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.ToastInputFields", + "text": "ToastInputFields" + }, ", key: string) => void" ], "path": "src/plugins/data_views/common/data_views/data_views.ts", @@ -20639,9 +21743,21 @@ "Pick<", "Toast", ", \"children\" | \"onError\" | \"hidden\" | \"color\" | \"className\" | \"onChange\" | \"onKeyDown\" | \"onClick\" | \"security\" | \"defaultValue\" | \"lang\" | \"defaultChecked\" | \"suppressContentEditableWarning\" | \"suppressHydrationWarning\" | \"accessKey\" | \"contentEditable\" | \"contextMenu\" | \"dir\" | \"draggable\" | \"placeholder\" | \"slot\" | \"spellCheck\" | \"style\" | \"tabIndex\" | \"translate\" | \"radioGroup\" | \"role\" | \"about\" | \"datatype\" | \"inlist\" | \"prefix\" | \"property\" | \"resource\" | \"typeof\" | \"vocab\" | \"autoCapitalize\" | \"autoCorrect\" | \"autoSave\" | \"itemProp\" | \"itemScope\" | \"itemType\" | \"itemID\" | \"itemRef\" | \"results\" | \"unselectable\" | \"inputMode\" | \"is\" | \"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\" | \"onChangeCapture\" | \"onBeforeInput\" | \"onBeforeInputCapture\" | \"onInput\" | \"onInputCapture\" | \"onReset\" | \"onResetCapture\" | \"onSubmit\" | \"onSubmitCapture\" | \"onInvalid\" | \"onInvalidCapture\" | \"onLoad\" | \"onLoadCapture\" | \"onErrorCapture\" | \"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\" | \"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\" | \"toastLifeTimeMs\" | \"iconType\" | \"onClose\" | \"data-test-subj\" | \"css\"> & { title?: string | ", - "MountPoint", + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.MountPoint", + "text": "MountPoint" + }, " | undefined; text?: string | ", - "MountPoint", + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.MountPoint", + "text": "MountPoint" + }, " | undefined; }" ], "path": "src/plugins/data_views/common/types.ts", @@ -20672,7 +21788,13 @@ ], "signature": [ "(error: Error, toastInputFields: ", - "ErrorToastOptions", + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.ErrorToastOptions", + "text": "ErrorToastOptions" + }, ", key: string) => void" ], "path": "src/plugins/data_views/common/data_views/data_views.ts", @@ -20702,7 +21824,13 @@ "label": "toastInputFields", "description": [], "signature": [ - "ErrorToastOptions" + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.ErrorToastOptions", + "text": "ErrorToastOptions" + } ], "path": "src/plugins/data_views/common/types.ts", "deprecated": false, @@ -21395,7 +22523,13 @@ ], "signature": [ "() => Promise<", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "<", { "pluginId": "dataViews", @@ -21895,7 +23029,13 @@ ], "signature": [ "(savedObject: ", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "<", { "pluginId": "dataViews", @@ -21925,7 +23065,13 @@ "label": "savedObject", "description": [], "signature": [ - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "<", { "pluginId": "dataViews", @@ -22140,7 +23286,13 @@ "text": "SerializedFieldFormat" }, "<{}, ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, "> | null | undefined" ], "path": "src/plugins/data_views/common/types.ts", @@ -22947,7 +24099,13 @@ "text": "SerializedFieldFormat" }, "<{}, ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">> | undefined; runtimeFieldMap?: Record" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -23108,7 +24272,7 @@ "description": [ "The ID of this Saved Object, guaranteed to be unique for all objects of the same `type`" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false }, @@ -23121,7 +24285,7 @@ "description": [ " The type of Saved Object. Each plugin can define it's own custom Saved Object types." ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false }, @@ -23137,7 +24301,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false }, @@ -23153,7 +24317,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false }, @@ -23169,7 +24333,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false }, @@ -23181,10 +24345,16 @@ "label": "error", "description": [], "signature": [ - "SavedObjectError", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectError", + "text": "SavedObjectError" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false }, @@ -23200,7 +24370,7 @@ "signature": [ "T" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false }, @@ -23214,10 +24384,16 @@ "{@inheritdoc SavedObjectReference}" ], "signature": [ - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false }, @@ -23231,10 +24407,16 @@ "{@inheritdoc SavedObjectsMigrationVersion}" ], "signature": [ - "SavedObjectsMigrationVersion", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectsMigrationVersion", + "text": "SavedObjectsMigrationVersion" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false }, @@ -23250,7 +24432,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false }, @@ -23266,7 +24448,7 @@ "signature": [ "string[] | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false }, @@ -23282,7 +24464,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-saved-objects-common/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": false, "trackAdoption": false } @@ -23321,7 +24503,13 @@ "text": "SavedObjectsClientCommonFindArgs" }, ") => Promise<", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "[]>" ], "path": "src/plugins/data_views/common/types.ts", @@ -23365,7 +24553,13 @@ ], "signature": [ "(type: string, id: string) => Promise<", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, ">" ], "path": "src/plugins/data_views/common/types.ts", @@ -23428,9 +24622,21 @@ "text": "DataViewAttributes" }, ", options: ", - "SavedObjectsUpdateOptions", + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SavedObjectsUpdateOptions", + "text": "SavedObjectsUpdateOptions" + }, ") => Promise<", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, ">" ], "path": "src/plugins/data_views/common/types.ts", @@ -23504,7 +24710,13 @@ "- client options" ], "signature": [ - "SavedObjectsUpdateOptions", + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SavedObjectsUpdateOptions", + "text": "SavedObjectsUpdateOptions" + }, "" ], "path": "src/plugins/data_views/common/types.ts", @@ -23534,9 +24746,21 @@ "text": "DataViewAttributes" }, ", options: ", - "SavedObjectsCreateOptions", + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SavedObjectsCreateOptions", + "text": "SavedObjectsCreateOptions" + }, ") => Promise<", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, ">" ], "path": "src/plugins/data_views/common/types.ts", @@ -23593,7 +24817,13 @@ "- client options" ], "signature": [ - "SavedObjectsCreateOptions" + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SavedObjectsCreateOptions", + "text": "SavedObjectsCreateOptions" + } ], "path": "src/plugins/data_views/common/types.ts", "deprecated": false, @@ -24180,7 +25410,13 @@ "text": "DataViewListItem" }, "[]>; clearCache: () => void; clearInstanceCache: (id?: string | undefined) => void; getCache: () => Promise<", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "<", { "pluginId": "dataViews", @@ -24278,7 +25514,13 @@ "text": "DataViewFieldMap" }, "; savedObjectToSpec: (savedObject: ", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "<", { "pluginId": "dataViews", @@ -24401,7 +25643,13 @@ "text": "SerializedFieldFormat" }, "<{}, ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">> | undefined; runtimeFieldMap?: Record; }" ], "path": "src/plugins/data_views/common/types.ts", @@ -24502,7 +25756,13 @@ "\nSerialized version of DataViewField" ], "signature": [ - "DataViewFieldBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, " & { count?: number | undefined; conflictDescriptions?: Record | undefined; format?: ", { "pluginId": "fieldFormats", @@ -24512,7 +25772,13 @@ "text": "SerializedFieldFormat" }, "<{}, ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, "> | undefined; esTypes?: string[] | undefined; searchable: boolean; aggregatable: boolean; readFromDocValues?: boolean | undefined; indexed?: boolean | undefined; customLabel?: string | undefined; runtimeField?: ", { "pluginId": "dataViews", @@ -24575,7 +25841,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data_views/common/expressions/load_index_pattern.ts", @@ -24611,7 +25883,13 @@ ], "signature": [ "(error: Error, toastInputFields: ", - "ErrorToastOptions", + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.ErrorToastOptions", + "text": "ErrorToastOptions" + }, ", key: string) => void" ], "path": "src/plugins/data_views/common/types.ts", @@ -24645,7 +25923,13 @@ "Toast notif config" ], "signature": [ - "ErrorToastOptions" + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.ErrorToastOptions", + "text": "ErrorToastOptions" + } ], "path": "src/plugins/data_views/common/types.ts", "deprecated": false, @@ -24678,7 +25962,13 @@ ], "signature": [ "(toastInputFields: ", - "ToastInputFields", + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.ToastInputFields", + "text": "ToastInputFields" + }, ", key: string) => void" ], "path": "src/plugins/data_views/common/types.ts", @@ -24699,9 +25989,21 @@ "Pick<", "Toast", ", \"children\" | \"onError\" | \"hidden\" | \"color\" | \"className\" | \"onChange\" | \"onKeyDown\" | \"onClick\" | \"security\" | \"defaultValue\" | \"lang\" | \"defaultChecked\" | \"suppressContentEditableWarning\" | \"suppressHydrationWarning\" | \"accessKey\" | \"contentEditable\" | \"contextMenu\" | \"dir\" | \"draggable\" | \"placeholder\" | \"slot\" | \"spellCheck\" | \"style\" | \"tabIndex\" | \"translate\" | \"radioGroup\" | \"role\" | \"about\" | \"datatype\" | \"inlist\" | \"prefix\" | \"property\" | \"resource\" | \"typeof\" | \"vocab\" | \"autoCapitalize\" | \"autoCorrect\" | \"autoSave\" | \"itemProp\" | \"itemScope\" | \"itemType\" | \"itemID\" | \"itemRef\" | \"results\" | \"unselectable\" | \"inputMode\" | \"is\" | \"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\" | \"onChangeCapture\" | \"onBeforeInput\" | \"onBeforeInputCapture\" | \"onInput\" | \"onInputCapture\" | \"onReset\" | \"onResetCapture\" | \"onSubmit\" | \"onSubmitCapture\" | \"onInvalid\" | \"onInvalidCapture\" | \"onLoad\" | \"onLoadCapture\" | \"onErrorCapture\" | \"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\" | \"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\" | \"toastLifeTimeMs\" | \"iconType\" | \"onClose\" | \"data-test-subj\" | \"css\"> & { title?: string | ", - "MountPoint", + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.MountPoint", + "text": "MountPoint" + }, " | undefined; text?: string | ", - "MountPoint", + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.MountPoint", + "text": "MountPoint" + }, " | undefined; }" ], "path": "src/plugins/data_views/common/types.ts", @@ -24900,7 +26202,13 @@ "text": "DataViewSpec" }, ", references: ", - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]) => ", { "pluginId": "dataViews", @@ -24943,7 +26251,13 @@ "label": "references", "description": [], "signature": [ - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]" ], "path": "src/plugins/data_views/common/data_views/persistable_state.ts", diff --git a/api_docs/data_views.mdx b/api_docs/data_views.mdx index f2fe6ec79d926..1b642fbb9a7d8 100644 --- a/api_docs/data_views.mdx +++ b/api_docs/data_views.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/dataViews title: "dataViews" image: https://source.unsplash.com/400x175/?github description: API docs for the dataViews plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dataViews'] --- import dataViewsObj from './data_views.devdocs.json'; @@ -21,7 +21,7 @@ Contact [App Services](https://github.com/orgs/elastic/teams/kibana-app-services | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 1021 | 0 | 229 | 2 | +| 1021 | 0 | 231 | 2 | ## Client diff --git a/api_docs/data_visualizer.mdx b/api_docs/data_visualizer.mdx index faf4890de4ecc..f1fa20b6f57ef 100644 --- a/api_docs/data_visualizer.mdx +++ b/api_docs/data_visualizer.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/dataVisualizer title: "dataVisualizer" image: https://source.unsplash.com/400x175/?github description: API docs for the dataVisualizer plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dataVisualizer'] --- import dataVisualizerObj from './data_visualizer.devdocs.json'; diff --git a/api_docs/deprecations_by_api.mdx b/api_docs/deprecations_by_api.mdx index c5093eac352e7..4231091deda2b 100644 --- a/api_docs/deprecations_by_api.mdx +++ b/api_docs/deprecations_by_api.mdx @@ -7,7 +7,7 @@ id: kibDevDocsDeprecationsByApi slug: /kibana-dev-docs/api-meta/deprecated-api-list-by-api title: Deprecated API usage by API description: A list of deprecated APIs, which plugins are still referencing them, and when they need to be removed by. -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana'] --- @@ -24,15 +24,17 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | alerting, discover, securitySolution | - | | | stackAlerts, alerting, securitySolution, inputControlVis | - | | | actions, alerting | - | -| | savedObjects, embeddable, fleet, visualizations, dashboard, infra, canvas, graph, actions, alerting, enterpriseSearch, securitySolution, taskManager, savedSearch, ml, @kbn/core-saved-objects-server-internal | - | -| | savedObjects, embeddable, fleet, visualizations, dashboard, infra, canvas, graph, actions, alerting, enterpriseSearch, securitySolution, taskManager, savedSearch, ml, @kbn/core-saved-objects-server-internal | - | +| | @kbn/core-saved-objects-common, savedObjects, embeddable, fleet, visualizations, dashboard, infra, canvas, graph, actions, alerting, enterpriseSearch, securitySolution, taskManager, savedSearch, ml, @kbn/core-saved-objects-server-internal | - | +| | @kbn/core-saved-objects-common, savedObjects, embeddable, fleet, visualizations, dashboard, infra, canvas, graph, actions, alerting, enterpriseSearch, securitySolution, taskManager, savedSearch, ml, @kbn/core-saved-objects-server-internal | - | +| | core, savedObjects, embeddable, fleet, visualizations, dashboard, infra, canvas, graph, actions, alerting, enterpriseSearch, securitySolution, taskManager, savedSearch, ml, @kbn/core-saved-objects-server-internal | - | | | discover, maps, monitoring | - | -| | securitySolution, timelines, lists, threatIntelligence, dataViews, dataViewEditor, unifiedSearch, triggersActionsUi, savedObjectsManagement, unifiedFieldList, aiops, presentationUtil, controls, lens, observability, infra, dataVisualizer, ml, fleet, visTypeTimeseries, apm, canvas, reporting, graph, stackAlerts, synthetics, transform, upgradeAssistant, ux, maps, dataViewManagement, inputControlVis, visDefaultEditor, visTypeTimelion, visTypeVega, discover, data | - | -| | securitySolution, timelines, lists, threatIntelligence, dataViews, dataViewEditor, unifiedSearch, triggersActionsUi, savedObjectsManagement, unifiedFieldList, aiops, presentationUtil, controls, lens, observability, infra, dataVisualizer, ml, fleet, visTypeTimeseries, apm, canvas, reporting, graph, stackAlerts, synthetics, transform, upgradeAssistant, ux, maps, dataViewManagement, inputControlVis, visDefaultEditor, visTypeTimelion, visTypeVega, discover, data | - | -| | securitySolution, timelines, lists, threatIntelligence, data, dataViewEditor, unifiedSearch, triggersActionsUi, savedObjectsManagement, unifiedFieldList, aiops, presentationUtil, controls, lens, observability, infra, dataVisualizer, ml, fleet, visTypeTimeseries, apm, canvas, reporting, graph, stackAlerts, synthetics, transform, upgradeAssistant, ux, maps, dataViewManagement, inputControlVis, visDefaultEditor, visTypeTimelion, visTypeVega, discover | - | +| | @kbn/es-query, securitySolution, timelines, lists, threatIntelligence, dataViews, dataViewEditor, unifiedSearch, triggersActionsUi, savedObjectsManagement, unifiedFieldList, aiops, presentationUtil, controls, lens, observability, infra, dataVisualizer, ml, fleet, visTypeTimeseries, apm, canvas, reporting, graph, stackAlerts, synthetics, transform, upgradeAssistant, ux, maps, dataViewManagement, inputControlVis, visDefaultEditor, visTypeTimelion, visTypeVega, discover, data | - | +| | @kbn/es-query, securitySolution, timelines, lists, threatIntelligence, dataViews, dataViewEditor, unifiedSearch, triggersActionsUi, savedObjectsManagement, unifiedFieldList, aiops, presentationUtil, controls, lens, observability, infra, dataVisualizer, ml, fleet, visTypeTimeseries, apm, canvas, reporting, graph, stackAlerts, synthetics, transform, upgradeAssistant, ux, maps, dataViewManagement, inputControlVis, visDefaultEditor, visTypeTimelion, visTypeVega, discover, data | - | +| | @kbn/es-query, securitySolution, timelines, lists, threatIntelligence, data, dataViewEditor, unifiedSearch, triggersActionsUi, savedObjectsManagement, unifiedFieldList, aiops, presentationUtil, controls, lens, observability, infra, dataVisualizer, ml, fleet, visTypeTimeseries, apm, canvas, reporting, graph, stackAlerts, synthetics, transform, upgradeAssistant, ux, maps, dataViewManagement, inputControlVis, visDefaultEditor, visTypeTimelion, visTypeVega, discover | - | | | data, discover, embeddable | - | | | advancedSettings, discover | - | | | advancedSettings, discover | - | +| | advancedSettings, discover | - | | | infra, graph, securitySolution, stackAlerts, inputControlVis, savedObjects | - | | | securitySolution | - | | | encryptedSavedObjects, actions, data, ml, logstash, securitySolution, cloudChat | - | @@ -54,7 +56,8 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | home, data, esUiShared, spaces, savedObjectsManagement, fleet, observability, ml, apm, indexLifecycleManagement, synthetics, upgradeAssistant, ux, kibanaOverview | - | | | spaces, savedObjectsManagement | - | | | spaces, savedObjectsManagement | - | -| | spaces, ml, canvas, osquery | - | +| | spaces, savedObjectsManagement | - | +| | home, spaces, ml, canvas, osquery | - | | | actions, ml, savedObjectsTagging, enterpriseSearch | - | | | canvas | - | | | canvas | - | @@ -69,33 +72,46 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | dataViewManagement | - | | | dataViewManagement | - | | | enterpriseSearch | - | -| | console, @kbn/core-elasticsearch-server-internal, @kbn/core-plugins-server-internal | - | +| | @kbn/core-elasticsearch-server-internal, @kbn/core-plugins-server-internal, console | - | | | @kbn/core-plugins-server-internal | - | | | spaces, security, alerting | 8.8.0 | | | spaces, security, actions, alerting, ml, remoteClusters, graph, indexLifecycleManagement, mapsEms, painlessLab, rollup, searchprofiler, securitySolution, snapshotRestore, transform, upgradeAssistant | 8.8.0 | | | embeddable, discover, presentationUtil, dashboard, graph | 8.8.0 | | | apm, security, securitySolution | 8.8.0 | | | apm, security, securitySolution | 8.8.0 | -| | visualizations, dashboard, lens, maps, ml, securitySolution, security, @kbn/core-application-browser-internal, @kbn/core-application-browser-mocks | 8.8.0 | -| | securitySolution, @kbn/core-application-browser-internal | 8.8.0 | +| | @kbn/core-application-browser-internal, @kbn/core-application-browser-mocks, visualizations, dashboard, lens, maps, ml, securitySolution, security | 8.8.0 | +| | @kbn/core-application-browser, @kbn/core-application-browser-internal, securitySolution | 8.8.0 | +| | @kbn/core-application-browser-internal, core, securitySolution | 8.8.0 | +| | @kbn/core-application-browser-internal, @kbn/core-application-browser-mocks, visualizations, dashboard, lens, maps, ml, securitySolution, security, core | 8.8.0 | | | maps, dashboard, @kbn/core-saved-objects-migration-server-internal | 8.8.0 | -| | monitoring, kibanaUsageCollection, @kbn/core-apps-browser-internal, @kbn/core-metrics-server-internal, @kbn/core-status-server-internal, @kbn/core-usage-data-server-internal | 8.8.0 | +| | @kbn/core-apps-browser-internal, @kbn/core-metrics-server-internal, @kbn/core-status-server-internal, @kbn/core-usage-data-server-internal, monitoring, kibanaUsageCollection | 8.8.0 | | | savedObjectsTaggingOss, dashboard | 8.8.0 | | | security, licenseManagement, ml, apm, crossClusterReplication, logstash, painlessLab, searchprofiler, watcher | 8.8.0 | | | security, fleet | 8.8.0 | | | security, fleet | 8.8.0 | | | security, fleet | 8.8.0 | -| | management, fleet, security, kibanaOverview, @kbn/core-application-browser-internal, @kbn/core-application-browser-mocks | 8.8.0 | +| | @kbn/core-application-browser-internal, @kbn/core-application-browser-mocks, management, fleet, security, kibanaOverview | 8.8.0 | +| | @kbn/core-application-browser-internal, @kbn/core-application-browser-mocks, management, fleet, security, kibanaOverview, core | 8.8.0 | | | apm | 8.8.0 | | | security | 8.8.0 | | | mapsEms | 8.8.0 | -| | @kbn/core-plugins-server-internal | 8.8.0 | +| | @kbn/core-plugins-server, @kbn/core-plugins-server-internal, core | 8.8.0 | +| | @kbn/core-lifecycle-browser | 8.8.0 | +| | @kbn/core-lifecycle-browser | 8.8.0 | | | ml, @kbn/core-http-browser-internal | 8.8.0 +Note to maintainers: when looking at usages, mind that typical use could be inside a `catch` block, +so TS and code-reference navigation might not highlight them. | +| | ml, @kbn/core-http-browser-internal | 8.8.0 + Note to maintainers: when looking at usages, mind that typical use could be inside a `catch` block, so TS and code-reference navigation might not highlight them. | | | @kbn/core-http-browser-internal | 8.8.0 +Note to maintainers: when looking at usages, mind that typical use could be inside a `catch` block, +so TS and code-reference navigation might not highlight them. | +| | @kbn/core-http-browser-internal | 8.8.0 + Note to maintainers: when looking at usages, mind that typical use could be inside a `catch` block, so TS and code-reference navigation might not highlight them. | | | security | 8.8.0 @@ -144,19 +160,4 @@ Safe to remove. | | reporting | | | reporting | | | taskManager | -| | @kbn/storybook | -| | @kbn/core-application-browser | -| | @kbn/core-application-browser | -| | @kbn/core-application-browser | -| | @kbn/core-elasticsearch-server | -| | @kbn/core-http-browser | -| | @kbn/core-http-browser | -| | @kbn/core-injected-metadata-browser | -| | @kbn/core-injected-metadata-browser | -| | @kbn/core-metrics-server | -| | @kbn/core-plugins-server | -| | @kbn/core-plugins-server | -| | @kbn/core-saved-objects-common | -| | @kbn/core-saved-objects-common | -| | @kbn/core-saved-objects-server | -| | @kbn/core-ui-settings-common | \ No newline at end of file +| | @kbn/storybook | \ No newline at end of file diff --git a/api_docs/deprecations_by_plugin.mdx b/api_docs/deprecations_by_plugin.mdx index cbba2d1bbd014..3564d33b5f92a 100644 --- a/api_docs/deprecations_by_plugin.mdx +++ b/api_docs/deprecations_by_plugin.mdx @@ -7,11 +7,19 @@ id: kibDevDocsDeprecationsByPlugin slug: /kibana-dev-docs/api-meta/deprecated-api-list-by-plugin title: Deprecated API usage by plugin description: A list of deprecated APIs, which plugins are still referencing them, and when they need to be removed by. -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana'] --- +## @kbn/core-application-browser + +| Deprecated API | Reference location(s) | Remove By | +| ---------------|-----------|-----------| +| | [app_leave.ts](https://github.com/elastic/kibana/tree/main/packages/core/application/core-application-browser/src/app_leave.ts#:~:text=AppLeaveHandler), [app_leave.ts](https://github.com/elastic/kibana/tree/main/packages/core/application/core-application-browser/src/app_leave.ts#:~:text=AppLeaveHandler), [app_leave.ts](https://github.com/elastic/kibana/tree/main/packages/core/application/core-application-browser/src/app_leave.ts#:~:text=AppLeaveHandler), [app_leave.ts](https://github.com/elastic/kibana/tree/main/packages/core/application/core-application-browser/src/app_leave.ts#:~:text=AppLeaveHandler), [app_mount.ts](https://github.com/elastic/kibana/tree/main/packages/core/application/core-application-browser/src/app_mount.ts#:~:text=AppLeaveHandler), [app_mount.ts](https://github.com/elastic/kibana/tree/main/packages/core/application/core-application-browser/src/app_mount.ts#:~:text=AppLeaveHandler), [index.ts](https://github.com/elastic/kibana/tree/main/packages/core/application/core-application-browser/index.ts#:~:text=AppLeaveHandler) | 8.8.0 | + + + ## @kbn/core-application-browser-internal | Deprecated API | Reference location(s) | Remove By | @@ -19,6 +27,9 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [app_container.tsx](https://github.com/elastic/kibana/tree/main/packages/core/application/core-application-browser-internal/src/ui/app_container.tsx#:~:text=appBasePath) | 8.8.0 | | | [app_container.tsx](https://github.com/elastic/kibana/tree/main/packages/core/application/core-application-browser-internal/src/ui/app_container.tsx#:~:text=onAppLeave) | 8.8.0 | | | [app_container.tsx](https://github.com/elastic/kibana/tree/main/packages/core/application/core-application-browser-internal/src/ui/app_container.tsx#:~:text=AppLeaveHandler), [app_container.tsx](https://github.com/elastic/kibana/tree/main/packages/core/application/core-application-browser-internal/src/ui/app_container.tsx#:~:text=AppLeaveHandler), [app_router.tsx](https://github.com/elastic/kibana/tree/main/packages/core/application/core-application-browser-internal/src/ui/app_router.tsx#:~:text=AppLeaveHandler), [app_router.tsx](https://github.com/elastic/kibana/tree/main/packages/core/application/core-application-browser-internal/src/ui/app_router.tsx#:~:text=AppLeaveHandler), [application_leave.tsx](https://github.com/elastic/kibana/tree/main/packages/core/application/core-application-browser-internal/src/application_leave.tsx#:~:text=AppLeaveHandler), [application_leave.tsx](https://github.com/elastic/kibana/tree/main/packages/core/application/core-application-browser-internal/src/application_leave.tsx#:~:text=AppLeaveHandler), [application_service.tsx](https://github.com/elastic/kibana/tree/main/packages/core/application/core-application-browser-internal/src/application_service.tsx#:~:text=AppLeaveHandler), [application_service.tsx](https://github.com/elastic/kibana/tree/main/packages/core/application/core-application-browser-internal/src/application_service.tsx#:~:text=AppLeaveHandler), [application_service.tsx](https://github.com/elastic/kibana/tree/main/packages/core/application/core-application-browser-internal/src/application_service.tsx#:~:text=AppLeaveHandler) | 8.8.0 | +| | [app_container.tsx](https://github.com/elastic/kibana/tree/main/packages/core/application/core-application-browser-internal/src/ui/app_container.tsx#:~:text=AppLeaveHandler), [app_container.tsx](https://github.com/elastic/kibana/tree/main/packages/core/application/core-application-browser-internal/src/ui/app_container.tsx#:~:text=AppLeaveHandler), [app_router.tsx](https://github.com/elastic/kibana/tree/main/packages/core/application/core-application-browser-internal/src/ui/app_router.tsx#:~:text=AppLeaveHandler), [app_router.tsx](https://github.com/elastic/kibana/tree/main/packages/core/application/core-application-browser-internal/src/ui/app_router.tsx#:~:text=AppLeaveHandler), [application_leave.tsx](https://github.com/elastic/kibana/tree/main/packages/core/application/core-application-browser-internal/src/application_leave.tsx#:~:text=AppLeaveHandler), [application_leave.tsx](https://github.com/elastic/kibana/tree/main/packages/core/application/core-application-browser-internal/src/application_leave.tsx#:~:text=AppLeaveHandler), [application_service.tsx](https://github.com/elastic/kibana/tree/main/packages/core/application/core-application-browser-internal/src/application_service.tsx#:~:text=AppLeaveHandler), [application_service.tsx](https://github.com/elastic/kibana/tree/main/packages/core/application/core-application-browser-internal/src/application_service.tsx#:~:text=AppLeaveHandler), [application_service.tsx](https://github.com/elastic/kibana/tree/main/packages/core/application/core-application-browser-internal/src/application_service.tsx#:~:text=AppLeaveHandler) | 8.8.0 | +| | [app_container.tsx](https://github.com/elastic/kibana/tree/main/packages/core/application/core-application-browser-internal/src/ui/app_container.tsx#:~:text=appBasePath) | 8.8.0 | +| | [app_container.tsx](https://github.com/elastic/kibana/tree/main/packages/core/application/core-application-browser-internal/src/ui/app_container.tsx#:~:text=onAppLeave) | 8.8.0 | @@ -28,6 +39,8 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | ---------------|-----------|-----------| | | [application_service.mock.ts](https://github.com/elastic/kibana/tree/main/packages/core/application/core-application-browser-mocks/src/application_service.mock.ts#:~:text=appBasePath) | 8.8.0 | | | [application_service.mock.ts](https://github.com/elastic/kibana/tree/main/packages/core/application/core-application-browser-mocks/src/application_service.mock.ts#:~:text=onAppLeave) | 8.8.0 | +| | [application_service.mock.ts](https://github.com/elastic/kibana/tree/main/packages/core/application/core-application-browser-mocks/src/application_service.mock.ts#:~:text=appBasePath) | 8.8.0 | +| | [application_service.mock.ts](https://github.com/elastic/kibana/tree/main/packages/core/application/core-application-browser-mocks/src/application_service.mock.ts#:~:text=onAppLeave) | 8.8.0 | @@ -35,7 +48,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [load_status.ts](https://github.com/elastic/kibana/tree/main/packages/core/apps/core-apps-browser-internal/src/status/lib/load_status.ts#:~:text=process), [load_status.ts](https://github.com/elastic/kibana/tree/main/packages/core/apps/core-apps-browser-internal/src/status/lib/load_status.ts#:~:text=process), [load_status.ts](https://github.com/elastic/kibana/tree/main/packages/core/apps/core-apps-browser-internal/src/status/lib/load_status.ts#:~:text=process), [load_status.ts](https://github.com/elastic/kibana/tree/main/packages/core/apps/core-apps-browser-internal/src/status/lib/load_status.ts#:~:text=process), [load_status.ts](https://github.com/elastic/kibana/tree/main/packages/core/apps/core-apps-browser-internal/src/status/lib/load_status.ts#:~:text=process), [load_status.ts](https://github.com/elastic/kibana/tree/main/packages/core/apps/core-apps-browser-internal/src/status/lib/load_status.ts#:~:text=process), [load_status.test.ts](https://github.com/elastic/kibana/tree/main/packages/core/apps/core-apps-browser-internal/src/status/lib/load_status.test.ts#:~:text=process) | 8.8.0 | +| | [load_status.ts](https://github.com/elastic/kibana/tree/main/packages/core/apps/core-apps-browser-internal/src/status/lib/load_status.ts#:~:text=process), [load_status.ts](https://github.com/elastic/kibana/tree/main/packages/core/apps/core-apps-browser-internal/src/status/lib/load_status.ts#:~:text=process), [load_status.ts](https://github.com/elastic/kibana/tree/main/packages/core/apps/core-apps-browser-internal/src/status/lib/load_status.ts#:~:text=process), [load_status.ts](https://github.com/elastic/kibana/tree/main/packages/core/apps/core-apps-browser-internal/src/status/lib/load_status.ts#:~:text=process), [load_status.ts](https://github.com/elastic/kibana/tree/main/packages/core/apps/core-apps-browser-internal/src/status/lib/load_status.ts#:~:text=process), [load_status.ts](https://github.com/elastic/kibana/tree/main/packages/core/apps/core-apps-browser-internal/src/status/lib/load_status.ts#:~:text=process), [load_status.test.ts](https://github.com/elastic/kibana/tree/main/packages/core/apps/core-apps-browser-internal/src/status/lib/load_status.test.ts#:~:text=process), [load_status.ts](https://github.com/elastic/kibana/tree/main/packages/core/apps/core-apps-browser-internal/src/status/lib/load_status.ts#:~:text=process), [load_status.ts](https://github.com/elastic/kibana/tree/main/packages/core/apps/core-apps-browser-internal/src/status/lib/load_status.ts#:~:text=process), [load_status.ts](https://github.com/elastic/kibana/tree/main/packages/core/apps/core-apps-browser-internal/src/status/lib/load_status.ts#:~:text=process)+ 4 more | 8.8.0 | @@ -43,7 +56,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [elasticsearch_service.ts](https://github.com/elastic/kibana/tree/main/packages/core/elasticsearch/core-elasticsearch-server-internal/src/elasticsearch_service.ts#:~:text=legacy), [elasticsearch_service.test.ts](https://github.com/elastic/kibana/tree/main/packages/core/elasticsearch/core-elasticsearch-server-internal/src/elasticsearch_service.test.ts#:~:text=legacy) | - | +| | [elasticsearch_service.ts](https://github.com/elastic/kibana/tree/main/packages/core/elasticsearch/core-elasticsearch-server-internal/src/elasticsearch_service.ts#:~:text=legacy), [elasticsearch_service.test.ts](https://github.com/elastic/kibana/tree/main/packages/core/elasticsearch/core-elasticsearch-server-internal/src/elasticsearch_service.test.ts#:~:text=legacy), [elasticsearch_service.ts](https://github.com/elastic/kibana/tree/main/packages/core/elasticsearch/core-elasticsearch-server-internal/src/elasticsearch_service.ts#:~:text=legacy), [elasticsearch_service.test.ts](https://github.com/elastic/kibana/tree/main/packages/core/elasticsearch/core-elasticsearch-server-internal/src/elasticsearch_service.test.ts#:~:text=legacy) | - | @@ -59,6 +72,23 @@ so TS and code-reference navigation might not highlight them. | Note to maintainers: when looking at usages, mind that typical use could be inside a `catch` block, so TS and code-reference navigation might not highlight them. | +| | [http_fetch_error.ts](https://github.com/elastic/kibana/tree/main/packages/core/http/core-http-browser-internal/src/http_fetch_error.ts#:~:text=req), [http_fetch_error.ts](https://github.com/elastic/kibana/tree/main/packages/core/http/core-http-browser-internal/src/http_fetch_error.ts#:~:text=req) | 8.8.0 + +Note to maintainers: when looking at usages, mind that typical use could be inside a `catch` block, +so TS and code-reference navigation might not highlight them. | +| | [http_fetch_error.ts](https://github.com/elastic/kibana/tree/main/packages/core/http/core-http-browser-internal/src/http_fetch_error.ts#:~:text=res), [http_fetch_error.ts](https://github.com/elastic/kibana/tree/main/packages/core/http/core-http-browser-internal/src/http_fetch_error.ts#:~:text=res) | 8.8.0 + +Note to maintainers: when looking at usages, mind that typical use could be inside a `catch` block, +so TS and code-reference navigation might not highlight them. | + + + +## @kbn/core-lifecycle-browser + +| Deprecated API | Reference location(s) | Remove By | +| ---------------|-----------|-----------| +| | [core_start.ts](https://github.com/elastic/kibana/tree/main/packages/core/lifecycle/core-lifecycle-browser/src/core_start.ts#:~:text=InjectedMetadataStart), [core_start.ts](https://github.com/elastic/kibana/tree/main/packages/core/lifecycle/core-lifecycle-browser/src/core_start.ts#:~:text=InjectedMetadataStart) | 8.8.0 | +| | [core_setup.ts](https://github.com/elastic/kibana/tree/main/packages/core/lifecycle/core-lifecycle-browser/src/core_setup.ts#:~:text=InjectedMetadataSetup), [core_setup.ts](https://github.com/elastic/kibana/tree/main/packages/core/lifecycle/core-lifecycle-browser/src/core_setup.ts#:~:text=InjectedMetadataSetup) | 8.8.0 | @@ -66,7 +96,15 @@ so TS and code-reference navigation might not highlight them. | | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [ops_metrics_collector.ts](https://github.com/elastic/kibana/tree/main/packages/core/metrics/core-metrics-server-internal/src/ops_metrics_collector.ts#:~:text=process), [get_ops_metrics_log.ts](https://github.com/elastic/kibana/tree/main/packages/core/metrics/core-metrics-server-internal/src/logging/get_ops_metrics_log.ts#:~:text=process), [get_ops_metrics_log.test.ts](https://github.com/elastic/kibana/tree/main/packages/core/metrics/core-metrics-server-internal/src/logging/get_ops_metrics_log.test.ts#:~:text=process) | 8.8.0 | +| | [ops_metrics_collector.ts](https://github.com/elastic/kibana/tree/main/packages/core/metrics/core-metrics-server-internal/src/ops_metrics_collector.ts#:~:text=process), [get_ops_metrics_log.ts](https://github.com/elastic/kibana/tree/main/packages/core/metrics/core-metrics-server-internal/src/logging/get_ops_metrics_log.ts#:~:text=process), [get_ops_metrics_log.test.ts](https://github.com/elastic/kibana/tree/main/packages/core/metrics/core-metrics-server-internal/src/logging/get_ops_metrics_log.test.ts#:~:text=process), [ops_metrics_collector.ts](https://github.com/elastic/kibana/tree/main/packages/core/metrics/core-metrics-server-internal/src/ops_metrics_collector.ts#:~:text=process), [get_ops_metrics_log.ts](https://github.com/elastic/kibana/tree/main/packages/core/metrics/core-metrics-server-internal/src/logging/get_ops_metrics_log.ts#:~:text=process), [get_ops_metrics_log.test.ts](https://github.com/elastic/kibana/tree/main/packages/core/metrics/core-metrics-server-internal/src/logging/get_ops_metrics_log.test.ts#:~:text=process) | 8.8.0 | + + + +## @kbn/core-plugins-server + +| Deprecated API | Reference location(s) | Remove By | +| ---------------|-----------|-----------| +| | [types.ts](https://github.com/elastic/kibana/tree/main/packages/core/plugins/core-plugins-server/src/types.ts#:~:text=AsyncPlugin), [index.ts](https://github.com/elastic/kibana/tree/main/packages/core/plugins/core-plugins-server/src/index.ts#:~:text=AsyncPlugin), [index.ts](https://github.com/elastic/kibana/tree/main/packages/core/plugins/core-plugins-server/index.ts#:~:text=AsyncPlugin) | 8.8.0 | @@ -74,9 +112,18 @@ so TS and code-reference navigation might not highlight them. | | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [plugin_context.ts](https://github.com/elastic/kibana/tree/main/packages/core/plugins/core-plugins-server-internal/src/plugin_context.ts#:~:text=legacy), [plugin_context.ts](https://github.com/elastic/kibana/tree/main/packages/core/plugins/core-plugins-server-internal/src/plugin_context.ts#:~:text=legacy) | - | -| | [plugin.ts](https://github.com/elastic/kibana/tree/main/packages/core/plugins/core-plugins-server-internal/src/plugin.ts#:~:text=AsyncPlugin), [plugin.ts](https://github.com/elastic/kibana/tree/main/packages/core/plugins/core-plugins-server-internal/src/plugin.ts#:~:text=AsyncPlugin) | 8.8.0 | -| | [plugin_manifest_parser.ts](https://github.com/elastic/kibana/tree/main/packages/core/plugins/core-plugins-server-internal/src/discovery/plugin_manifest_parser.ts#:~:text=extraPublicDirs), [plugin_manifest_parser.ts](https://github.com/elastic/kibana/tree/main/packages/core/plugins/core-plugins-server-internal/src/discovery/plugin_manifest_parser.ts#:~:text=extraPublicDirs), [plugin_manifest_parser.ts](https://github.com/elastic/kibana/tree/main/packages/core/plugins/core-plugins-server-internal/src/discovery/plugin_manifest_parser.ts#:~:text=extraPublicDirs), [plugin_manifest_parser.ts](https://github.com/elastic/kibana/tree/main/packages/core/plugins/core-plugins-server-internal/src/discovery/plugin_manifest_parser.ts#:~:text=extraPublicDirs), [plugin_manifest_parser.ts](https://github.com/elastic/kibana/tree/main/packages/core/plugins/core-plugins-server-internal/src/discovery/plugin_manifest_parser.ts#:~:text=extraPublicDirs), [plugin_manifest_parser.ts](https://github.com/elastic/kibana/tree/main/packages/core/plugins/core-plugins-server-internal/src/discovery/plugin_manifest_parser.ts#:~:text=extraPublicDirs) | - | +| | [plugin_context.ts](https://github.com/elastic/kibana/tree/main/packages/core/plugins/core-plugins-server-internal/src/plugin_context.ts#:~:text=legacy), [plugin_context.ts](https://github.com/elastic/kibana/tree/main/packages/core/plugins/core-plugins-server-internal/src/plugin_context.ts#:~:text=legacy), [plugin_context.ts](https://github.com/elastic/kibana/tree/main/packages/core/plugins/core-plugins-server-internal/src/plugin_context.ts#:~:text=legacy), [plugin_context.ts](https://github.com/elastic/kibana/tree/main/packages/core/plugins/core-plugins-server-internal/src/plugin_context.ts#:~:text=legacy) | - | +| | [plugin.ts](https://github.com/elastic/kibana/tree/main/packages/core/plugins/core-plugins-server-internal/src/plugin.ts#:~:text=AsyncPlugin), [plugin.ts](https://github.com/elastic/kibana/tree/main/packages/core/plugins/core-plugins-server-internal/src/plugin.ts#:~:text=AsyncPlugin), [plugin.ts](https://github.com/elastic/kibana/tree/main/packages/core/plugins/core-plugins-server-internal/src/plugin.ts#:~:text=AsyncPlugin), [plugin.ts](https://github.com/elastic/kibana/tree/main/packages/core/plugins/core-plugins-server-internal/src/plugin.ts#:~:text=AsyncPlugin) | 8.8.0 | +| | [plugin_manifest_parser.ts](https://github.com/elastic/kibana/tree/main/packages/core/plugins/core-plugins-server-internal/src/discovery/plugin_manifest_parser.ts#:~:text=extraPublicDirs), [plugin_manifest_parser.ts](https://github.com/elastic/kibana/tree/main/packages/core/plugins/core-plugins-server-internal/src/discovery/plugin_manifest_parser.ts#:~:text=extraPublicDirs), [plugin_manifest_parser.ts](https://github.com/elastic/kibana/tree/main/packages/core/plugins/core-plugins-server-internal/src/discovery/plugin_manifest_parser.ts#:~:text=extraPublicDirs), [plugin_manifest_parser.ts](https://github.com/elastic/kibana/tree/main/packages/core/plugins/core-plugins-server-internal/src/discovery/plugin_manifest_parser.ts#:~:text=extraPublicDirs), [plugin_manifest_parser.ts](https://github.com/elastic/kibana/tree/main/packages/core/plugins/core-plugins-server-internal/src/discovery/plugin_manifest_parser.ts#:~:text=extraPublicDirs), [plugin_manifest_parser.ts](https://github.com/elastic/kibana/tree/main/packages/core/plugins/core-plugins-server-internal/src/discovery/plugin_manifest_parser.ts#:~:text=extraPublicDirs), [plugin_manifest_parser.ts](https://github.com/elastic/kibana/tree/main/packages/core/plugins/core-plugins-server-internal/src/discovery/plugin_manifest_parser.ts#:~:text=extraPublicDirs), [plugin_manifest_parser.ts](https://github.com/elastic/kibana/tree/main/packages/core/plugins/core-plugins-server-internal/src/discovery/plugin_manifest_parser.ts#:~:text=extraPublicDirs), [plugin_manifest_parser.ts](https://github.com/elastic/kibana/tree/main/packages/core/plugins/core-plugins-server-internal/src/discovery/plugin_manifest_parser.ts#:~:text=extraPublicDirs), [plugin_manifest_parser.ts](https://github.com/elastic/kibana/tree/main/packages/core/plugins/core-plugins-server-internal/src/discovery/plugin_manifest_parser.ts#:~:text=extraPublicDirs)+ 2 more | - | + + + +## @kbn/core-saved-objects-common + +| Deprecated API | Reference location(s) | Remove By | +| ---------------|-----------|-----------| +| | [saved_objects.ts](https://github.com/elastic/kibana/tree/main/packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts#:~:text=SavedObjectAttributes), [saved_objects.ts](https://github.com/elastic/kibana/tree/main/packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts#:~:text=SavedObjectAttributes), [index.ts](https://github.com/elastic/kibana/tree/main/packages/core/saved-objects/core-saved-objects-common/index.ts#:~:text=SavedObjectAttributes) | - | +| | [saved_objects.ts](https://github.com/elastic/kibana/tree/main/packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts#:~:text=SavedObjectAttributes), [saved_objects.ts](https://github.com/elastic/kibana/tree/main/packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts#:~:text=SavedObjectAttributes), [index.ts](https://github.com/elastic/kibana/tree/main/packages/core/saved-objects/core-saved-objects-common/index.ts#:~:text=SavedObjectAttributes) | - | @@ -84,7 +131,7 @@ so TS and code-reference navigation might not highlight them. | | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [document_migrator.test.ts](https://github.com/elastic/kibana/tree/main/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/core/document_migrator.test.ts#:~:text=warning), [migration_logger.ts](https://github.com/elastic/kibana/tree/main/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/core/migration_logger.ts#:~:text=warning) | 8.8.0 | +| | [document_migrator.test.ts](https://github.com/elastic/kibana/tree/main/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/core/document_migrator.test.ts#:~:text=warning), [migration_logger.ts](https://github.com/elastic/kibana/tree/main/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/core/migration_logger.ts#:~:text=warning), [document_migrator.test.ts](https://github.com/elastic/kibana/tree/main/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/core/document_migrator.test.ts#:~:text=warning), [migration_logger.ts](https://github.com/elastic/kibana/tree/main/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/core/migration_logger.ts#:~:text=warning) | 8.8.0 | @@ -94,6 +141,7 @@ so TS and code-reference navigation might not highlight them. | | ---------------|-----------|-----------| | | [collect_references_deep.test.ts](https://github.com/elastic/kibana/tree/main/packages/core/saved-objects/core-saved-objects-server-internal/src/routes/legacy_import_export/lib/collect_references_deep.test.ts#:~:text=SavedObjectAttributes), [collect_references_deep.test.ts](https://github.com/elastic/kibana/tree/main/packages/core/saved-objects/core-saved-objects-server-internal/src/routes/legacy_import_export/lib/collect_references_deep.test.ts#:~:text=SavedObjectAttributes) | - | | | [collect_references_deep.test.ts](https://github.com/elastic/kibana/tree/main/packages/core/saved-objects/core-saved-objects-server-internal/src/routes/legacy_import_export/lib/collect_references_deep.test.ts#:~:text=SavedObjectAttributes), [collect_references_deep.test.ts](https://github.com/elastic/kibana/tree/main/packages/core/saved-objects/core-saved-objects-server-internal/src/routes/legacy_import_export/lib/collect_references_deep.test.ts#:~:text=SavedObjectAttributes) | - | +| | [collect_references_deep.test.ts](https://github.com/elastic/kibana/tree/main/packages/core/saved-objects/core-saved-objects-server-internal/src/routes/legacy_import_export/lib/collect_references_deep.test.ts#:~:text=SavedObjectAttributes), [collect_references_deep.test.ts](https://github.com/elastic/kibana/tree/main/packages/core/saved-objects/core-saved-objects-server-internal/src/routes/legacy_import_export/lib/collect_references_deep.test.ts#:~:text=SavedObjectAttributes) | - | @@ -101,7 +149,7 @@ so TS and code-reference navigation might not highlight them. | | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [status.ts](https://github.com/elastic/kibana/tree/main/packages/core/status/core-status-server-internal/src/routes/status.ts#:~:text=process), [status.ts](https://github.com/elastic/kibana/tree/main/packages/core/status/core-status-server-internal/src/routes/status.ts#:~:text=process) | 8.8.0 | +| | [status.ts](https://github.com/elastic/kibana/tree/main/packages/core/status/core-status-server-internal/src/routes/status.ts#:~:text=process), [status.ts](https://github.com/elastic/kibana/tree/main/packages/core/status/core-status-server-internal/src/routes/status.ts#:~:text=process), [status.ts](https://github.com/elastic/kibana/tree/main/packages/core/status/core-status-server-internal/src/routes/status.ts#:~:text=process), [status.ts](https://github.com/elastic/kibana/tree/main/packages/core/status/core-status-server-internal/src/routes/status.ts#:~:text=process) | 8.8.0 | @@ -109,7 +157,17 @@ so TS and code-reference navigation might not highlight them. | | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [core_usage_data_service.ts](https://github.com/elastic/kibana/tree/main/packages/core/usage-data/core-usage-data-server-internal/src/core_usage_data_service.ts#:~:text=process), [core_usage_data_service.ts](https://github.com/elastic/kibana/tree/main/packages/core/usage-data/core-usage-data-server-internal/src/core_usage_data_service.ts#:~:text=process), [core_usage_data_service.ts](https://github.com/elastic/kibana/tree/main/packages/core/usage-data/core-usage-data-server-internal/src/core_usage_data_service.ts#:~:text=process) | 8.8.0 | +| | [core_usage_data_service.ts](https://github.com/elastic/kibana/tree/main/packages/core/usage-data/core-usage-data-server-internal/src/core_usage_data_service.ts#:~:text=process), [core_usage_data_service.ts](https://github.com/elastic/kibana/tree/main/packages/core/usage-data/core-usage-data-server-internal/src/core_usage_data_service.ts#:~:text=process), [core_usage_data_service.ts](https://github.com/elastic/kibana/tree/main/packages/core/usage-data/core-usage-data-server-internal/src/core_usage_data_service.ts#:~:text=process), [core_usage_data_service.ts](https://github.com/elastic/kibana/tree/main/packages/core/usage-data/core-usage-data-server-internal/src/core_usage_data_service.ts#:~:text=process), [core_usage_data_service.ts](https://github.com/elastic/kibana/tree/main/packages/core/usage-data/core-usage-data-server-internal/src/core_usage_data_service.ts#:~:text=process), [core_usage_data_service.ts](https://github.com/elastic/kibana/tree/main/packages/core/usage-data/core-usage-data-server-internal/src/core_usage_data_service.ts#:~:text=process) | 8.8.0 | + + + +## @kbn/es-query + +| Deprecated API | Reference location(s) | Remove By | +| ---------------|-----------|-----------| +| | [types.ts](https://github.com/elastic/kibana/tree/main/packages/kbn-es-query/src/es_query/types.ts#:~:text=title), [build_es_query.test.ts](https://github.com/elastic/kibana/tree/main/packages/kbn-es-query/src/es_query/build_es_query.test.ts#:~:text=title), [from_filters.test.ts](https://github.com/elastic/kibana/tree/main/packages/kbn-es-query/src/es_query/from_filters.test.ts#:~:text=title), [from_filters.test.ts](https://github.com/elastic/kibana/tree/main/packages/kbn-es-query/src/es_query/from_filters.test.ts#:~:text=title), [from_kuery.test.ts](https://github.com/elastic/kibana/tree/main/packages/kbn-es-query/src/es_query/from_kuery.test.ts#:~:text=title), [handle_combined_filter.test.ts](https://github.com/elastic/kibana/tree/main/packages/kbn-es-query/src/es_query/handle_combined_filter.test.ts#:~:text=title), [handle_nested_filter.test.ts](https://github.com/elastic/kibana/tree/main/packages/kbn-es-query/src/es_query/handle_nested_filter.test.ts#:~:text=title), [build_filter.test.ts](https://github.com/elastic/kibana/tree/main/packages/kbn-es-query/src/filters/build_filters/build_filter.test.ts#:~:text=title), [exists_filter.test.ts](https://github.com/elastic/kibana/tree/main/packages/kbn-es-query/src/filters/build_filters/exists_filter.test.ts#:~:text=title), [get_filter_field.test.ts](https://github.com/elastic/kibana/tree/main/packages/kbn-es-query/src/filters/build_filters/get_filter_field.test.ts#:~:text=title)+ 36 more | - | +| | [types.ts](https://github.com/elastic/kibana/tree/main/packages/kbn-es-query/src/es_query/types.ts#:~:text=title), [build_es_query.test.ts](https://github.com/elastic/kibana/tree/main/packages/kbn-es-query/src/es_query/build_es_query.test.ts#:~:text=title), [from_filters.test.ts](https://github.com/elastic/kibana/tree/main/packages/kbn-es-query/src/es_query/from_filters.test.ts#:~:text=title), [from_filters.test.ts](https://github.com/elastic/kibana/tree/main/packages/kbn-es-query/src/es_query/from_filters.test.ts#:~:text=title), [from_kuery.test.ts](https://github.com/elastic/kibana/tree/main/packages/kbn-es-query/src/es_query/from_kuery.test.ts#:~:text=title), [handle_combined_filter.test.ts](https://github.com/elastic/kibana/tree/main/packages/kbn-es-query/src/es_query/handle_combined_filter.test.ts#:~:text=title), [handle_nested_filter.test.ts](https://github.com/elastic/kibana/tree/main/packages/kbn-es-query/src/es_query/handle_nested_filter.test.ts#:~:text=title), [build_filter.test.ts](https://github.com/elastic/kibana/tree/main/packages/kbn-es-query/src/filters/build_filters/build_filter.test.ts#:~:text=title), [exists_filter.test.ts](https://github.com/elastic/kibana/tree/main/packages/kbn-es-query/src/filters/build_filters/exists_filter.test.ts#:~:text=title), [get_filter_field.test.ts](https://github.com/elastic/kibana/tree/main/packages/kbn-es-query/src/filters/build_filters/get_filter_field.test.ts#:~:text=title)+ 36 more | - | +| | [types.ts](https://github.com/elastic/kibana/tree/main/packages/kbn-es-query/src/es_query/types.ts#:~:text=title), [build_es_query.test.ts](https://github.com/elastic/kibana/tree/main/packages/kbn-es-query/src/es_query/build_es_query.test.ts#:~:text=title), [from_filters.test.ts](https://github.com/elastic/kibana/tree/main/packages/kbn-es-query/src/es_query/from_filters.test.ts#:~:text=title), [from_filters.test.ts](https://github.com/elastic/kibana/tree/main/packages/kbn-es-query/src/es_query/from_filters.test.ts#:~:text=title), [from_kuery.test.ts](https://github.com/elastic/kibana/tree/main/packages/kbn-es-query/src/es_query/from_kuery.test.ts#:~:text=title), [handle_combined_filter.test.ts](https://github.com/elastic/kibana/tree/main/packages/kbn-es-query/src/es_query/handle_combined_filter.test.ts#:~:text=title), [handle_nested_filter.test.ts](https://github.com/elastic/kibana/tree/main/packages/kbn-es-query/src/es_query/handle_nested_filter.test.ts#:~:text=title), [build_filter.test.ts](https://github.com/elastic/kibana/tree/main/packages/kbn-es-query/src/filters/build_filters/build_filter.test.ts#:~:text=title), [exists_filter.test.ts](https://github.com/elastic/kibana/tree/main/packages/kbn-es-query/src/filters/build_filters/exists_filter.test.ts#:~:text=title), [get_filter_field.test.ts](https://github.com/elastic/kibana/tree/main/packages/kbn-es-query/src/filters/build_filters/get_filter_field.test.ts#:~:text=title)+ 13 more | - | @@ -123,6 +181,7 @@ so TS and code-reference navigation might not highlight them. | | | [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/plugin.ts#:~:text=index), [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/plugin.ts#:~:text=index) | - | | | [actions_client.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/actions_client.ts#:~:text=SavedObjectAttributes), [actions_client.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/actions_client.ts#:~:text=SavedObjectAttributes), [actions_client.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/actions_client.ts#:~:text=SavedObjectAttributes), [actions_client.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/actions_client.ts#:~:text=SavedObjectAttributes), [actions_client.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/actions_client.ts#:~:text=SavedObjectAttributes), [actions_client.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/actions_client.ts#:~:text=SavedObjectAttributes), [actions_client.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/actions_client.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/types.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/types.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/types.ts#:~:text=SavedObjectAttributes)+ 3 more | - | | | [actions_client.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/actions_client.ts#:~:text=SavedObjectAttributes), [actions_client.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/actions_client.ts#:~:text=SavedObjectAttributes), [actions_client.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/actions_client.ts#:~:text=SavedObjectAttributes), [actions_client.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/actions_client.ts#:~:text=SavedObjectAttributes), [actions_client.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/actions_client.ts#:~:text=SavedObjectAttributes), [actions_client.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/actions_client.ts#:~:text=SavedObjectAttributes), [actions_client.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/actions_client.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/types.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/types.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/types.ts#:~:text=SavedObjectAttributes)+ 3 more | - | +| | [actions_client.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/actions_client.ts#:~:text=SavedObjectAttributes), [actions_client.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/actions_client.ts#:~:text=SavedObjectAttributes), [actions_client.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/actions_client.ts#:~:text=SavedObjectAttributes), [actions_client.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/actions_client.ts#:~:text=SavedObjectAttributes), [actions_client.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/actions_client.ts#:~:text=SavedObjectAttributes), [actions_client.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/actions_client.ts#:~:text=SavedObjectAttributes), [actions_client.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/actions_client.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/types.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/types.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/types.ts#:~:text=SavedObjectAttributes)+ 3 more | - | @@ -132,6 +191,7 @@ so TS and code-reference navigation might not highlight them. | | ---------------|-----------|-----------| | | [to_editable_config.ts](https://github.com/elastic/kibana/tree/main/src/plugins/advanced_settings/public/management_app/lib/to_editable_config.ts#:~:text=metric) | - | | | [to_editable_config.ts](https://github.com/elastic/kibana/tree/main/src/plugins/advanced_settings/public/management_app/lib/to_editable_config.ts#:~:text=metric) | - | +| | [to_editable_config.ts](https://github.com/elastic/kibana/tree/main/src/plugins/advanced_settings/public/management_app/lib/to_editable_config.ts#:~:text=metric) | - | @@ -158,6 +218,7 @@ so TS and code-reference navigation might not highlight them. | | | [task.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/usage/task.ts#:~:text=index) | - | | | [rule.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/common/rule.ts#:~:text=SavedObjectAttributes), [rule.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/common/rule.ts#:~:text=SavedObjectAttributes), [rule.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/common/rule.ts#:~:text=SavedObjectAttributes), [rule.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/common/rule.ts#:~:text=SavedObjectAttributes), [rule.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/common/rule.ts#:~:text=SavedObjectAttributes), [rule.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/common/rule.ts#:~:text=SavedObjectAttributes), [migrations.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/saved_objects/geo_containment/migrations.ts#:~:text=SavedObjectAttributes), [migrations.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/saved_objects/geo_containment/migrations.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/types.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/types.ts#:~:text=SavedObjectAttributes)+ 11 more | - | | | [rule.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/common/rule.ts#:~:text=SavedObjectAttributes), [rule.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/common/rule.ts#:~:text=SavedObjectAttributes), [rule.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/common/rule.ts#:~:text=SavedObjectAttributes), [rule.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/common/rule.ts#:~:text=SavedObjectAttributes), [rule.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/common/rule.ts#:~:text=SavedObjectAttributes), [rule.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/common/rule.ts#:~:text=SavedObjectAttributes), [migrations.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/saved_objects/geo_containment/migrations.ts#:~:text=SavedObjectAttributes), [migrations.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/saved_objects/geo_containment/migrations.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/types.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/types.ts#:~:text=SavedObjectAttributes)+ 11 more | - | +| | [rule.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/common/rule.ts#:~:text=SavedObjectAttributes), [rule.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/common/rule.ts#:~:text=SavedObjectAttributes), [rule.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/common/rule.ts#:~:text=SavedObjectAttributes), [rule.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/common/rule.ts#:~:text=SavedObjectAttributes), [rule.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/common/rule.ts#:~:text=SavedObjectAttributes), [rule.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/common/rule.ts#:~:text=SavedObjectAttributes), [migrations.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/saved_objects/geo_containment/migrations.ts#:~:text=SavedObjectAttributes), [migrations.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/saved_objects/geo_containment/migrations.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/types.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/types.ts#:~:text=SavedObjectAttributes)+ 11 more | - | @@ -180,9 +241,9 @@ so TS and code-reference navigation might not highlight them. | | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [data_views.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/services/kibana/data_views.ts#:~:text=title), [data_views.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/services/kibana/data_views.ts#:~:text=title), [data_views.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/services/kibana/data_views.ts#:~:text=title), [data_views.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/services/kibana/data_views.ts#:~:text=title) | - | -| | [data_views.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/services/kibana/data_views.ts#:~:text=title), [data_views.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/services/kibana/data_views.ts#:~:text=title), [data_views.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/services/kibana/data_views.ts#:~:text=title), [data_views.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/services/kibana/data_views.ts#:~:text=title) | - | -| | [data_views.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/services/kibana/data_views.ts#:~:text=title), [data_views.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/services/kibana/data_views.ts#:~:text=title) | - | +| | [es_data_view_select.component.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/components/es_data_view_select/es_data_view_select.component.tsx#:~:text=title), [es_data_view_select.component.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/components/es_data_view_select/es_data_view_select.component.tsx#:~:text=title), [es_data_view_select.component.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/components/es_data_view_select/es_data_view_select.component.tsx#:~:text=title), [es_data_view_select.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/components/es_data_view_select/es_data_view_select.tsx#:~:text=title), [data_views.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/services/kibana/data_views.ts#:~:text=title), [data_views.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/services/kibana/data_views.ts#:~:text=title), [datasource_component.js](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/components/datasource/datasource_component.js#:~:text=title), [es_data_view_select.component.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/components/es_data_view_select/es_data_view_select.component.tsx#:~:text=title), [es_data_view_select.component.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/components/es_data_view_select/es_data_view_select.component.tsx#:~:text=title), [es_data_view_select.component.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/components/es_data_view_select/es_data_view_select.component.tsx#:~:text=title)+ 4 more | - | +| | [es_data_view_select.component.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/components/es_data_view_select/es_data_view_select.component.tsx#:~:text=title), [es_data_view_select.component.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/components/es_data_view_select/es_data_view_select.component.tsx#:~:text=title), [es_data_view_select.component.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/components/es_data_view_select/es_data_view_select.component.tsx#:~:text=title), [es_data_view_select.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/components/es_data_view_select/es_data_view_select.tsx#:~:text=title), [data_views.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/services/kibana/data_views.ts#:~:text=title), [data_views.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/services/kibana/data_views.ts#:~:text=title), [datasource_component.js](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/components/datasource/datasource_component.js#:~:text=title), [es_data_view_select.component.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/components/es_data_view_select/es_data_view_select.component.tsx#:~:text=title), [es_data_view_select.component.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/components/es_data_view_select/es_data_view_select.component.tsx#:~:text=title), [es_data_view_select.component.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/components/es_data_view_select/es_data_view_select.component.tsx#:~:text=title)+ 4 more | - | +| | [es_data_view_select.component.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/components/es_data_view_select/es_data_view_select.component.tsx#:~:text=title), [es_data_view_select.component.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/components/es_data_view_select/es_data_view_select.component.tsx#:~:text=title), [es_data_view_select.component.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/components/es_data_view_select/es_data_view_select.component.tsx#:~:text=title), [es_data_view_select.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/components/es_data_view_select/es_data_view_select.tsx#:~:text=title), [data_views.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/services/kibana/data_views.ts#:~:text=title), [data_views.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/services/kibana/data_views.ts#:~:text=title), [datasource_component.js](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/components/datasource/datasource_component.js#:~:text=title) | - | | | [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/canvas_plugin_src/functions/server/demodata/index.ts#:~:text=context), [embeddable.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/canvas_plugin_src/functions/external/embeddable.ts#:~:text=context), [esdocs.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/canvas_plugin_src/functions/browser/esdocs.ts#:~:text=context), [escount.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/canvas_plugin_src/functions/browser/escount.ts#:~:text=context), [filters.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/common/functions/filters.ts#:~:text=context), [neq.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/canvas_plugin_src/functions/common/neq.ts#:~:text=context), [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/canvas_plugin_src/functions/server/pointseries/index.ts#:~:text=context) | - | | | [setup_expressions.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/setup_expressions.ts#:~:text=getFunction) | - | | | [functions.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/server/routes/functions/functions.ts#:~:text=getFunctions), [functions.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/server/routes/functions/functions.ts#:~:text=getFunctions), [functions.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/server/routes/functions/functions.test.ts#:~:text=getFunctions) | - | @@ -196,6 +257,7 @@ so TS and code-reference navigation might not highlight them. | | | [home.component.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/components/home/home.component.tsx#:~:text=KibanaPageTemplate), [home.component.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/components/home/home.component.tsx#:~:text=KibanaPageTemplate), [home.component.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/components/home/home.component.tsx#:~:text=KibanaPageTemplate) | - | | | [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/shareable_runtime/types.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/shareable_runtime/types.ts#:~:text=SavedObjectAttributes), [find.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/server/routes/custom_elements/find.ts#:~:text=SavedObjectAttributes), [find.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/server/routes/custom_elements/find.ts#:~:text=SavedObjectAttributes), [find.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/server/routes/workpad/find.ts#:~:text=SavedObjectAttributes), [find.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/server/routes/workpad/find.ts#:~:text=SavedObjectAttributes) | - | | | [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/shareable_runtime/types.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/shareable_runtime/types.ts#:~:text=SavedObjectAttributes), [find.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/server/routes/custom_elements/find.ts#:~:text=SavedObjectAttributes), [find.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/server/routes/custom_elements/find.ts#:~:text=SavedObjectAttributes), [find.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/server/routes/workpad/find.ts#:~:text=SavedObjectAttributes), [find.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/server/routes/workpad/find.ts#:~:text=SavedObjectAttributes) | - | +| | [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/shareable_runtime/types.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/shareable_runtime/types.ts#:~:text=SavedObjectAttributes), [find.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/server/routes/custom_elements/find.ts#:~:text=SavedObjectAttributes), [find.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/server/routes/custom_elements/find.ts#:~:text=SavedObjectAttributes), [find.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/server/routes/workpad/find.ts#:~:text=SavedObjectAttributes), [find.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/server/routes/workpad/find.ts#:~:text=SavedObjectAttributes) | - | @@ -219,7 +281,7 @@ so TS and code-reference navigation might not highlight them. | | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [plugin.ts](https://github.com/elastic/kibana/tree/main/src/plugins/console/server/plugin.ts#:~:text=legacy) | - | +| | [plugin.ts](https://github.com/elastic/kibana/tree/main/src/plugins/console/server/plugin.ts#:~:text=legacy), [plugin.ts](https://github.com/elastic/kibana/tree/main/src/plugins/console/server/plugin.ts#:~:text=legacy) | - | @@ -233,6 +295,18 @@ so TS and code-reference navigation might not highlight them. | +## core + +| Deprecated API | Reference location(s) | Remove By | +| ---------------|-----------|-----------| +| | [index.ts](https://github.com/elastic/kibana/tree/main/src/core/public/index.ts#:~:text=AppLeaveHandler) | 8.8.0 | +| | [mocks.ts](https://github.com/elastic/kibana/tree/main/src/core/public/mocks.ts#:~:text=appBasePath) | 8.8.0 | +| | [mocks.ts](https://github.com/elastic/kibana/tree/main/src/core/public/mocks.ts#:~:text=onAppLeave) | 8.8.0 | +| | [index.ts](https://github.com/elastic/kibana/tree/main/src/core/server/index.ts#:~:text=AsyncPlugin) | 8.8.0 | +| | [index.ts](https://github.com/elastic/kibana/tree/main/src/core/public/index.ts#:~:text=SavedObjectAttributes), [index.ts](https://github.com/elastic/kibana/tree/main/src/core/server/index.ts#:~:text=SavedObjectAttributes), [index.ts](https://github.com/elastic/kibana/tree/main/src/core/types/index.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/src/core/server/types.ts#:~:text=SavedObjectAttributes) | - | + + + ## crossClusterReplication | Deprecated API | Reference location(s) | Remove By | @@ -252,7 +326,9 @@ so TS and code-reference navigation might not highlight them. | | | [types.ts](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/public/types.ts#:~:text=onAppLeave), [plugin.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/public/plugin.tsx#:~:text=onAppLeave) | 8.8.0 | | | [load_dashboard_state_from_saved_object.ts](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/public/services/dashboard_saved_object/lib/load_dashboard_state_from_saved_object.ts#:~:text=SavedObjectAttributes), [load_dashboard_state_from_saved_object.ts](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/public/services/dashboard_saved_object/lib/load_dashboard_state_from_saved_object.ts#:~:text=SavedObjectAttributes), [migrate_extract_panel_references.ts](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/server/saved_objects/migrations/migrate_extract_panel_references.ts#:~:text=SavedObjectAttributes), [migrate_extract_panel_references.ts](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/server/saved_objects/migrations/migrate_extract_panel_references.ts#:~:text=SavedObjectAttributes), [dashboard_telemetry_collection_task.ts](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/server/usage/dashboard_telemetry_collection_task.ts#:~:text=SavedObjectAttributes), [dashboard_telemetry_collection_task.ts](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/server/usage/dashboard_telemetry_collection_task.ts#:~:text=SavedObjectAttributes), [dashboard_telemetry_collection_task.ts](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/server/usage/dashboard_telemetry_collection_task.ts#:~:text=SavedObjectAttributes), [dashboard_telemetry.ts](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/server/usage/dashboard_telemetry.ts#:~:text=SavedObjectAttributes), [dashboard_telemetry.ts](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/server/usage/dashboard_telemetry.ts#:~:text=SavedObjectAttributes), [find_by_value_embeddables.ts](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/server/usage/find_by_value_embeddables.ts#:~:text=SavedObjectAttributes)+ 11 more | - | | | [load_dashboard_state_from_saved_object.ts](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/public/services/dashboard_saved_object/lib/load_dashboard_state_from_saved_object.ts#:~:text=SavedObjectAttributes), [load_dashboard_state_from_saved_object.ts](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/public/services/dashboard_saved_object/lib/load_dashboard_state_from_saved_object.ts#:~:text=SavedObjectAttributes), [migrate_extract_panel_references.ts](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/server/saved_objects/migrations/migrate_extract_panel_references.ts#:~:text=SavedObjectAttributes), [migrate_extract_panel_references.ts](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/server/saved_objects/migrations/migrate_extract_panel_references.ts#:~:text=SavedObjectAttributes), [dashboard_telemetry_collection_task.ts](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/server/usage/dashboard_telemetry_collection_task.ts#:~:text=SavedObjectAttributes), [dashboard_telemetry_collection_task.ts](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/server/usage/dashboard_telemetry_collection_task.ts#:~:text=SavedObjectAttributes), [dashboard_telemetry_collection_task.ts](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/server/usage/dashboard_telemetry_collection_task.ts#:~:text=SavedObjectAttributes), [dashboard_telemetry.ts](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/server/usage/dashboard_telemetry.ts#:~:text=SavedObjectAttributes), [dashboard_telemetry.ts](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/server/usage/dashboard_telemetry.ts#:~:text=SavedObjectAttributes), [find_by_value_embeddables.ts](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/server/usage/find_by_value_embeddables.ts#:~:text=SavedObjectAttributes)+ 11 more | - | -| | [migrations_730.ts](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/server/saved_objects/migrations/migrate_to_730/migrations_730.ts#:~:text=warning), [migrations_730.ts](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/server/saved_objects/migrations/migrate_to_730/migrations_730.ts#:~:text=warning) | 8.8.0 | +| | [migrations_730.ts](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/server/saved_objects/migrations/migrate_to_730/migrations_730.ts#:~:text=warning), [migrations_730.ts](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/server/saved_objects/migrations/migrate_to_730/migrations_730.ts#:~:text=warning), [migrations_730.ts](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/server/saved_objects/migrations/migrate_to_730/migrations_730.ts#:~:text=warning), [migrations_730.ts](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/server/saved_objects/migrations/migrate_to_730/migrations_730.ts#:~:text=warning) | 8.8.0 | +| | [types.ts](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/public/types.ts#:~:text=onAppLeave), [plugin.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/public/plugin.tsx#:~:text=onAppLeave) | 8.8.0 | +| | [load_dashboard_state_from_saved_object.ts](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/public/services/dashboard_saved_object/lib/load_dashboard_state_from_saved_object.ts#:~:text=SavedObjectAttributes), [load_dashboard_state_from_saved_object.ts](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/public/services/dashboard_saved_object/lib/load_dashboard_state_from_saved_object.ts#:~:text=SavedObjectAttributes), [migrate_extract_panel_references.ts](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/server/saved_objects/migrations/migrate_extract_panel_references.ts#:~:text=SavedObjectAttributes), [migrate_extract_panel_references.ts](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/server/saved_objects/migrations/migrate_extract_panel_references.ts#:~:text=SavedObjectAttributes), [dashboard_telemetry_collection_task.ts](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/server/usage/dashboard_telemetry_collection_task.ts#:~:text=SavedObjectAttributes), [dashboard_telemetry_collection_task.ts](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/server/usage/dashboard_telemetry_collection_task.ts#:~:text=SavedObjectAttributes), [dashboard_telemetry_collection_task.ts](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/server/usage/dashboard_telemetry_collection_task.ts#:~:text=SavedObjectAttributes), [dashboard_telemetry.ts](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/server/usage/dashboard_telemetry.ts#:~:text=SavedObjectAttributes), [dashboard_telemetry.ts](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/server/usage/dashboard_telemetry.ts#:~:text=SavedObjectAttributes), [find_by_value_embeddables.ts](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/server/usage/find_by_value_embeddables.ts#:~:text=SavedObjectAttributes)+ 11 more | - | @@ -341,6 +417,7 @@ so TS and code-reference navigation might not highlight them. | | | [saved_search_embeddable.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/discover/public/embeddable/saved_search_embeddable.tsx#:~:text=executeTriggerActions), [search_embeddable_factory.ts](https://github.com/elastic/kibana/tree/main/src/plugins/discover/public/embeddable/search_embeddable_factory.ts#:~:text=executeTriggerActions), [plugin.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/discover/public/plugin.tsx#:~:text=executeTriggerActions) | - | | | [ui_settings.ts](https://github.com/elastic/kibana/tree/main/src/plugins/discover/server/ui_settings.ts#:~:text=metric), [ui_settings.ts](https://github.com/elastic/kibana/tree/main/src/plugins/discover/server/ui_settings.ts#:~:text=metric), [ui_settings.ts](https://github.com/elastic/kibana/tree/main/src/plugins/discover/server/ui_settings.ts#:~:text=metric) | - | | | [ui_settings.ts](https://github.com/elastic/kibana/tree/main/src/plugins/discover/server/ui_settings.ts#:~:text=metric), [ui_settings.ts](https://github.com/elastic/kibana/tree/main/src/plugins/discover/server/ui_settings.ts#:~:text=metric), [ui_settings.ts](https://github.com/elastic/kibana/tree/main/src/plugins/discover/server/ui_settings.ts#:~:text=metric) | - | +| | [ui_settings.ts](https://github.com/elastic/kibana/tree/main/src/plugins/discover/server/ui_settings.ts#:~:text=metric), [ui_settings.ts](https://github.com/elastic/kibana/tree/main/src/plugins/discover/server/ui_settings.ts#:~:text=metric), [ui_settings.ts](https://github.com/elastic/kibana/tree/main/src/plugins/discover/server/ui_settings.ts#:~:text=metric) | - | @@ -360,6 +437,7 @@ so TS and code-reference navigation might not highlight them. | | | [container.test.ts](https://github.com/elastic/kibana/tree/main/src/plugins/embeddable/public/tests/container.test.ts#:~:text=executeTriggerActions), [container.test.ts](https://github.com/elastic/kibana/tree/main/src/plugins/embeddable/public/tests/container.test.ts#:~:text=executeTriggerActions), [container.test.ts](https://github.com/elastic/kibana/tree/main/src/plugins/embeddable/public/tests/container.test.ts#:~:text=executeTriggerActions), [container.test.ts](https://github.com/elastic/kibana/tree/main/src/plugins/embeddable/public/tests/container.test.ts#:~:text=executeTriggerActions), [explicit_input.test.ts](https://github.com/elastic/kibana/tree/main/src/plugins/embeddable/public/tests/explicit_input.test.ts#:~:text=executeTriggerActions) | - | | | [add_panel_flyout.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/add_panel_flyout.tsx#:~:text=SavedObjectAttributes), [add_panel_flyout.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/add_panel_flyout.tsx#:~:text=SavedObjectAttributes), [add_panel_flyout.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/add_panel_flyout.tsx#:~:text=SavedObjectAttributes), [default_embeddable_factory_provider.ts](https://github.com/elastic/kibana/tree/main/src/plugins/embeddable/public/lib/embeddables/default_embeddable_factory_provider.ts#:~:text=SavedObjectAttributes), [default_embeddable_factory_provider.ts](https://github.com/elastic/kibana/tree/main/src/plugins/embeddable/public/lib/embeddables/default_embeddable_factory_provider.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/src/plugins/embeddable/public/types.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/src/plugins/embeddable/public/types.ts#:~:text=SavedObjectAttributes) | - | | | [add_panel_flyout.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/add_panel_flyout.tsx#:~:text=SavedObjectAttributes), [add_panel_flyout.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/add_panel_flyout.tsx#:~:text=SavedObjectAttributes), [add_panel_flyout.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/add_panel_flyout.tsx#:~:text=SavedObjectAttributes), [default_embeddable_factory_provider.ts](https://github.com/elastic/kibana/tree/main/src/plugins/embeddable/public/lib/embeddables/default_embeddable_factory_provider.ts#:~:text=SavedObjectAttributes), [default_embeddable_factory_provider.ts](https://github.com/elastic/kibana/tree/main/src/plugins/embeddable/public/lib/embeddables/default_embeddable_factory_provider.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/src/plugins/embeddable/public/types.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/src/plugins/embeddable/public/types.ts#:~:text=SavedObjectAttributes) | - | +| | [add_panel_flyout.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/add_panel_flyout.tsx#:~:text=SavedObjectAttributes), [add_panel_flyout.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/add_panel_flyout.tsx#:~:text=SavedObjectAttributes), [add_panel_flyout.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/add_panel_flyout.tsx#:~:text=SavedObjectAttributes), [default_embeddable_factory_provider.ts](https://github.com/elastic/kibana/tree/main/src/plugins/embeddable/public/lib/embeddables/default_embeddable_factory_provider.ts#:~:text=SavedObjectAttributes), [default_embeddable_factory_provider.ts](https://github.com/elastic/kibana/tree/main/src/plugins/embeddable/public/lib/embeddables/default_embeddable_factory_provider.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/src/plugins/embeddable/public/types.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/src/plugins/embeddable/public/types.ts#:~:text=SavedObjectAttributes) | - | @@ -379,6 +457,7 @@ so TS and code-reference navigation might not highlight them. | | | [check_access.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/enterprise_search/server/lib/check_access.ts#:~:text=authz), [check_access.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/enterprise_search/server/lib/check_access.ts#:~:text=authz), [check_access.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/enterprise_search/server/lib/check_access.ts#:~:text=authz) | - | | | [telemetry.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/enterprise_search/server/collectors/lib/telemetry.ts#:~:text=SavedObjectAttributes), [telemetry.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/enterprise_search/server/collectors/lib/telemetry.ts#:~:text=SavedObjectAttributes), [telemetry.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/enterprise_search/server/collectors/lib/telemetry.ts#:~:text=SavedObjectAttributes) | - | | | [telemetry.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/enterprise_search/server/collectors/lib/telemetry.ts#:~:text=SavedObjectAttributes), [telemetry.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/enterprise_search/server/collectors/lib/telemetry.ts#:~:text=SavedObjectAttributes), [telemetry.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/enterprise_search/server/collectors/lib/telemetry.ts#:~:text=SavedObjectAttributes) | - | +| | [telemetry.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/enterprise_search/server/collectors/lib/telemetry.ts#:~:text=SavedObjectAttributes), [telemetry.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/enterprise_search/server/collectors/lib/telemetry.ts#:~:text=SavedObjectAttributes), [telemetry.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/enterprise_search/server/collectors/lib/telemetry.ts#:~:text=SavedObjectAttributes) | - | @@ -413,6 +492,8 @@ so TS and code-reference navigation might not highlight them. | | | [index.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/public/applications/integrations/index.tsx#:~:text=appBasePath) | 8.8.0 | | | [epm.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/common/types/models/epm.ts#:~:text=SavedObjectAttributes), [epm.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/common/types/models/epm.ts#:~:text=SavedObjectAttributes), [settings.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/common/types/models/settings.ts#:~:text=SavedObjectAttributes), [settings.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/common/types/models/settings.ts#:~:text=SavedObjectAttributes) | - | | | [epm.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/common/types/models/epm.ts#:~:text=SavedObjectAttributes), [epm.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/common/types/models/epm.ts#:~:text=SavedObjectAttributes), [settings.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/common/types/models/settings.ts#:~:text=SavedObjectAttributes), [settings.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/common/types/models/settings.ts#:~:text=SavedObjectAttributes) | - | +| | [index.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/public/applications/integrations/index.tsx#:~:text=appBasePath) | 8.8.0 | +| | [epm.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/common/types/models/epm.ts#:~:text=SavedObjectAttributes), [epm.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/common/types/models/epm.ts#:~:text=SavedObjectAttributes), [settings.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/common/types/models/settings.ts#:~:text=SavedObjectAttributes), [settings.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/common/types/models/settings.ts#:~:text=SavedObjectAttributes) | - | @@ -431,6 +512,7 @@ so TS and code-reference navigation might not highlight them. | | | [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/graph/server/plugin.ts#:~:text=license%24) | 8.8.0 | | | [saved_workspace_references.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/graph/public/services/persistence/saved_workspace_references.ts#:~:text=SavedObjectAttributes), [saved_workspace_references.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/graph/public/services/persistence/saved_workspace_references.ts#:~:text=SavedObjectAttributes), [saved_workspace_utils.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/graph/public/helpers/saved_workspace_utils.ts#:~:text=SavedObjectAttributes), [saved_workspace_utils.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/graph/public/helpers/saved_workspace_utils.ts#:~:text=SavedObjectAttributes) | - | | | [saved_workspace_references.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/graph/public/services/persistence/saved_workspace_references.ts#:~:text=SavedObjectAttributes), [saved_workspace_references.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/graph/public/services/persistence/saved_workspace_references.ts#:~:text=SavedObjectAttributes), [saved_workspace_utils.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/graph/public/helpers/saved_workspace_utils.ts#:~:text=SavedObjectAttributes), [saved_workspace_utils.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/graph/public/helpers/saved_workspace_utils.ts#:~:text=SavedObjectAttributes) | - | +| | [saved_workspace_references.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/graph/public/services/persistence/saved_workspace_references.ts#:~:text=SavedObjectAttributes), [saved_workspace_references.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/graph/public/services/persistence/saved_workspace_references.ts#:~:text=SavedObjectAttributes), [saved_workspace_utils.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/graph/public/helpers/saved_workspace_utils.ts#:~:text=SavedObjectAttributes), [saved_workspace_utils.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/graph/public/helpers/saved_workspace_utils.ts#:~:text=SavedObjectAttributes) | - | @@ -438,7 +520,8 @@ so TS and code-reference navigation might not highlight them. | | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [application.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/home/public/application/application.tsx#:~:text=RedirectAppLinks), [application.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/home/public/application/application.tsx#:~:text=RedirectAppLinks), [application.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/home/public/application/application.tsx#:~:text=RedirectAppLinks), [add_data.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/home/public/application/components/add_data/add_data.tsx#:~:text=RedirectAppLinks), [add_data.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/home/public/application/components/add_data/add_data.tsx#:~:text=RedirectAppLinks), [add_data.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/home/public/application/components/add_data/add_data.tsx#:~:text=RedirectAppLinks), [manage_data.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/home/public/application/components/manage_data/manage_data.tsx#:~:text=RedirectAppLinks), [manage_data.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/home/public/application/components/manage_data/manage_data.tsx#:~:text=RedirectAppLinks), [manage_data.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/home/public/application/components/manage_data/manage_data.tsx#:~:text=RedirectAppLinks), [manage_data.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/home/public/application/components/manage_data/manage_data.tsx#:~:text=RedirectAppLinks)+ 1 more | - | +| | [tutorial_directory.js](https://github.com/elastic/kibana/tree/main/src/plugins/home/public/application/components/tutorial_directory.js#:~:text=KibanaPageTemplate), [tutorial_directory.js](https://github.com/elastic/kibana/tree/main/src/plugins/home/public/application/components/tutorial_directory.js#:~:text=KibanaPageTemplate), [tutorial_directory.js](https://github.com/elastic/kibana/tree/main/src/plugins/home/public/application/components/tutorial_directory.js#:~:text=KibanaPageTemplate), [tutorial.js](https://github.com/elastic/kibana/tree/main/src/plugins/home/public/application/components/tutorial/tutorial.js#:~:text=KibanaPageTemplate), [tutorial.js](https://github.com/elastic/kibana/tree/main/src/plugins/home/public/application/components/tutorial/tutorial.js#:~:text=KibanaPageTemplate), [tutorial.js](https://github.com/elastic/kibana/tree/main/src/plugins/home/public/application/components/tutorial/tutorial.js#:~:text=KibanaPageTemplate), [tutorial.js](https://github.com/elastic/kibana/tree/main/src/plugins/home/public/application/components/tutorial/tutorial.js#:~:text=KibanaPageTemplate) | - | +| | [add_data.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/home/public/application/components/add_data/add_data.tsx#:~:text=RedirectAppLinks), [add_data.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/home/public/application/components/add_data/add_data.tsx#:~:text=RedirectAppLinks), [add_data.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/home/public/application/components/add_data/add_data.tsx#:~:text=RedirectAppLinks), [manage_data.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/home/public/application/components/manage_data/manage_data.tsx#:~:text=RedirectAppLinks), [manage_data.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/home/public/application/components/manage_data/manage_data.tsx#:~:text=RedirectAppLinks), [manage_data.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/home/public/application/components/manage_data/manage_data.tsx#:~:text=RedirectAppLinks), [manage_data.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/home/public/application/components/manage_data/manage_data.tsx#:~:text=RedirectAppLinks), [manage_data.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/home/public/application/components/manage_data/manage_data.tsx#:~:text=RedirectAppLinks), [application.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/home/public/application/application.tsx#:~:text=RedirectAppLinks), [application.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/home/public/application/application.tsx#:~:text=RedirectAppLinks)+ 1 more | - | @@ -461,6 +544,7 @@ so TS and code-reference navigation might not highlight them. | | | [resolved_log_view.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/common/log_views/resolved_log_view.ts#:~:text=title), [validation_errors.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts#:~:text=title), [validation_errors.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts#:~:text=title), [validation_errors.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts#:~:text=title), [validation_errors.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts#:~:text=title), [index_patterns.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts#:~:text=title), [index_patterns.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts#:~:text=title), [index_patterns.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts#:~:text=title), [use_data_view.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/pages/metrics/hosts/hooks/use_data_view.test.ts#:~:text=title) | - | | | [use_find_saved_object.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/hooks/use_find_saved_object.tsx#:~:text=SavedObjectAttributes), [use_find_saved_object.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/hooks/use_find_saved_object.tsx#:~:text=SavedObjectAttributes), [use_create_saved_object.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/hooks/use_create_saved_object.tsx#:~:text=SavedObjectAttributes), [use_create_saved_object.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/hooks/use_create_saved_object.tsx#:~:text=SavedObjectAttributes), [use_create_saved_object.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/hooks/use_create_saved_object.tsx#:~:text=SavedObjectAttributes), [use_get_saved_object.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/hooks/use_get_saved_object.tsx#:~:text=SavedObjectAttributes), [use_get_saved_object.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/hooks/use_get_saved_object.tsx#:~:text=SavedObjectAttributes), [use_update_saved_object.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/hooks/use_update_saved_object.tsx#:~:text=SavedObjectAttributes), [use_update_saved_object.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/hooks/use_update_saved_object.tsx#:~:text=SavedObjectAttributes), [use_update_saved_object.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/hooks/use_update_saved_object.tsx#:~:text=SavedObjectAttributes)+ 2 more | - | | | [use_find_saved_object.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/hooks/use_find_saved_object.tsx#:~:text=SavedObjectAttributes), [use_find_saved_object.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/hooks/use_find_saved_object.tsx#:~:text=SavedObjectAttributes), [use_create_saved_object.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/hooks/use_create_saved_object.tsx#:~:text=SavedObjectAttributes), [use_create_saved_object.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/hooks/use_create_saved_object.tsx#:~:text=SavedObjectAttributes), [use_create_saved_object.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/hooks/use_create_saved_object.tsx#:~:text=SavedObjectAttributes), [use_get_saved_object.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/hooks/use_get_saved_object.tsx#:~:text=SavedObjectAttributes), [use_get_saved_object.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/hooks/use_get_saved_object.tsx#:~:text=SavedObjectAttributes), [use_update_saved_object.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/hooks/use_update_saved_object.tsx#:~:text=SavedObjectAttributes), [use_update_saved_object.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/hooks/use_update_saved_object.tsx#:~:text=SavedObjectAttributes), [use_update_saved_object.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/hooks/use_update_saved_object.tsx#:~:text=SavedObjectAttributes)+ 2 more | - | +| | [use_find_saved_object.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/hooks/use_find_saved_object.tsx#:~:text=SavedObjectAttributes), [use_find_saved_object.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/hooks/use_find_saved_object.tsx#:~:text=SavedObjectAttributes), [use_create_saved_object.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/hooks/use_create_saved_object.tsx#:~:text=SavedObjectAttributes), [use_create_saved_object.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/hooks/use_create_saved_object.tsx#:~:text=SavedObjectAttributes), [use_create_saved_object.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/hooks/use_create_saved_object.tsx#:~:text=SavedObjectAttributes), [use_get_saved_object.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/hooks/use_get_saved_object.tsx#:~:text=SavedObjectAttributes), [use_get_saved_object.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/hooks/use_get_saved_object.tsx#:~:text=SavedObjectAttributes), [use_update_saved_object.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/hooks/use_update_saved_object.tsx#:~:text=SavedObjectAttributes), [use_update_saved_object.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/hooks/use_update_saved_object.tsx#:~:text=SavedObjectAttributes), [use_update_saved_object.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/hooks/use_update_saved_object.tsx#:~:text=SavedObjectAttributes)+ 2 more | - | @@ -483,6 +567,7 @@ so TS and code-reference navigation might not highlight them. | | ---------------|-----------|-----------| | | [add_data.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/kibana_overview/public/components/add_data/add_data.tsx#:~:text=RedirectAppLinks), [add_data.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/kibana_overview/public/components/add_data/add_data.tsx#:~:text=RedirectAppLinks), [add_data.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/kibana_overview/public/components/add_data/add_data.tsx#:~:text=RedirectAppLinks), [manage_data.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/kibana_overview/public/components/manage_data/manage_data.tsx#:~:text=RedirectAppLinks), [manage_data.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/kibana_overview/public/components/manage_data/manage_data.tsx#:~:text=RedirectAppLinks), [manage_data.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/kibana_overview/public/components/manage_data/manage_data.tsx#:~:text=RedirectAppLinks) | - | | | [application.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/kibana_overview/public/application.tsx#:~:text=appBasePath) | 8.8.0 | +| | [application.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/kibana_overview/public/application.tsx#:~:text=appBasePath) | 8.8.0 | @@ -490,7 +575,7 @@ so TS and code-reference navigation might not highlight them. | | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [ops_stats_collector.ts](https://github.com/elastic/kibana/tree/main/src/plugins/kibana_usage_collection/server/collectors/ops_stats/ops_stats_collector.ts#:~:text=process) | 8.8.0 | +| | [ops_stats_collector.ts](https://github.com/elastic/kibana/tree/main/src/plugins/kibana_usage_collection/server/collectors/ops_stats/ops_stats_collector.ts#:~:text=process), [ops_stats_collector.ts](https://github.com/elastic/kibana/tree/main/src/plugins/kibana_usage_collection/server/collectors/ops_stats/ops_stats_collector.ts#:~:text=process) | 8.8.0 | @@ -502,6 +587,7 @@ so TS and code-reference navigation might not highlight them. | | | [loader.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/lens/public/data_views_service/loader.ts#:~:text=title), [lens_top_nav.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/lens/public/app_plugin/lens_top_nav.tsx#:~:text=title), [loader.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/lens/public/data_views_service/loader.test.ts#:~:text=title), [loader.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/lens/public/data_views_service/loader.test.ts#:~:text=title), [loader.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/lens/public/data_views_service/loader.test.ts#:~:text=title), [loader.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/lens/public/data_views_service/loader.ts#:~:text=title), [lens_top_nav.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/lens/public/app_plugin/lens_top_nav.tsx#:~:text=title), [loader.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/lens/public/data_views_service/loader.test.ts#:~:text=title), [loader.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/lens/public/data_views_service/loader.test.ts#:~:text=title), [loader.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/lens/public/data_views_service/loader.test.ts#:~:text=title) | - | | | [loader.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/lens/public/data_views_service/loader.ts#:~:text=title), [lens_top_nav.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/lens/public/app_plugin/lens_top_nav.tsx#:~:text=title), [loader.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/lens/public/data_views_service/loader.test.ts#:~:text=title), [loader.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/lens/public/data_views_service/loader.test.ts#:~:text=title), [loader.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/lens/public/data_views_service/loader.test.ts#:~:text=title) | - | | | [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/lens/public/app_plugin/types.ts#:~:text=onAppLeave), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/lens/public/app_plugin/types.ts#:~:text=onAppLeave), [mounter.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/lens/public/app_plugin/mounter.tsx#:~:text=onAppLeave) | 8.8.0 | +| | [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/lens/public/app_plugin/types.ts#:~:text=onAppLeave), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/lens/public/app_plugin/types.ts#:~:text=onAppLeave), [mounter.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/lens/public/app_plugin/mounter.tsx#:~:text=onAppLeave) | 8.8.0 | @@ -537,6 +623,7 @@ so TS and code-reference navigation might not highlight them. | | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| | | [application.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/management/public/application.tsx#:~:text=appBasePath) | 8.8.0 | +| | [application.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/management/public/application.tsx#:~:text=appBasePath) | 8.8.0 | @@ -552,7 +639,8 @@ so TS and code-reference navigation might not highlight them. | | | [es_tooltip_property.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts#:~:text=title) | - | | | [es_search_source.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx#:~:text=flattenHit), [es_search_source.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx#:~:text=flattenHit) | - | | | [render_app.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/public/render_app.tsx#:~:text=onAppLeave), [map_app.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx#:~:text=onAppLeave), [map_page.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/public/routes/map_page/map_page.tsx#:~:text=onAppLeave) | 8.8.0 | -| | [saved_object_migrations.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/server/saved_objects/saved_object_migrations.ts#:~:text=warning) | 8.8.0 | +| | [saved_object_migrations.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/server/saved_objects/saved_object_migrations.ts#:~:text=warning), [saved_object_migrations.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/server/saved_objects/saved_object_migrations.ts#:~:text=warning) | 8.8.0 | +| | [render_app.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/public/render_app.tsx#:~:text=onAppLeave), [map_app.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx#:~:text=onAppLeave), [map_page.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/public/routes/map_page/map_page.tsx#:~:text=onAppLeave) | 8.8.0 | @@ -585,6 +673,12 @@ so TS and code-reference navigation might not highlight them. | Note to maintainers: when looking at usages, mind that typical use could be inside a `catch` block, so TS and code-reference navigation might not highlight them. | | | [modules.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/ml/common/types/modules.ts#:~:text=SavedObjectAttributes), [modules.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/ml/common/types/modules.ts#:~:text=SavedObjectAttributes) | - | +| | [app.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/ml/public/application/app.tsx#:~:text=onAppLeave) | 8.8.0 | +| | [errors.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/ml/common/util/errors/errors.test.ts#:~:text=req), [errors.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/ml/common/util/errors/errors.test.ts#:~:text=req) | 8.8.0 + +Note to maintainers: when looking at usages, mind that typical use could be inside a `catch` block, +so TS and code-reference navigation might not highlight them. | +| | [modules.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/ml/common/types/modules.ts#:~:text=SavedObjectAttributes), [modules.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/ml/common/types/modules.ts#:~:text=SavedObjectAttributes) | - | @@ -593,7 +687,7 @@ so TS and code-reference navigation might not highlight them. | | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| | | [url_state.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/monitoring/public/url_state.ts#:~:text=syncQueryStateWithUrl), [url_state.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/monitoring/public/url_state.ts#:~:text=syncQueryStateWithUrl) | - | -| | [bulk_uploader.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/monitoring/server/kibana_monitoring/bulk_uploader.ts#:~:text=process) | 8.8.0 | +| | [bulk_uploader.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/monitoring/server/kibana_monitoring/bulk_uploader.ts#:~:text=process), [bulk_uploader.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/monitoring/server/kibana_monitoring/bulk_uploader.ts#:~:text=process) | 8.8.0 | @@ -671,6 +765,7 @@ so TS and code-reference navigation might not highlight them. | | | [saved_object.test.ts](https://github.com/elastic/kibana/tree/main/src/plugins/saved_objects/public/saved_object/saved_object.test.ts#:~:text=indexPatterns), [saved_object.test.ts](https://github.com/elastic/kibana/tree/main/src/plugins/saved_objects/public/saved_object/saved_object.test.ts#:~:text=indexPatterns) | - | | | [types.ts](https://github.com/elastic/kibana/tree/main/src/plugins/saved_objects/public/types.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/src/plugins/saved_objects/public/types.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/src/plugins/saved_objects/public/types.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/src/plugins/saved_objects/public/types.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/src/plugins/saved_objects/public/types.ts#:~:text=SavedObjectAttributes), [create_source.ts](https://github.com/elastic/kibana/tree/main/src/plugins/saved_objects/public/saved_object/helpers/create_source.ts#:~:text=SavedObjectAttributes), [create_source.ts](https://github.com/elastic/kibana/tree/main/src/plugins/saved_objects/public/saved_object/helpers/create_source.ts#:~:text=SavedObjectAttributes), [find_object_by_title.ts](https://github.com/elastic/kibana/tree/main/src/plugins/saved_objects/public/saved_object/helpers/find_object_by_title.ts#:~:text=SavedObjectAttributes), [find_object_by_title.ts](https://github.com/elastic/kibana/tree/main/src/plugins/saved_objects/public/saved_object/helpers/find_object_by_title.ts#:~:text=SavedObjectAttributes), [save_with_confirmation.ts](https://github.com/elastic/kibana/tree/main/src/plugins/saved_objects/public/saved_object/helpers/save_with_confirmation.ts#:~:text=SavedObjectAttributes)+ 15 more | - | | | [types.ts](https://github.com/elastic/kibana/tree/main/src/plugins/saved_objects/public/types.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/src/plugins/saved_objects/public/types.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/src/plugins/saved_objects/public/types.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/src/plugins/saved_objects/public/types.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/src/plugins/saved_objects/public/types.ts#:~:text=SavedObjectAttributes), [create_source.ts](https://github.com/elastic/kibana/tree/main/src/plugins/saved_objects/public/saved_object/helpers/create_source.ts#:~:text=SavedObjectAttributes), [create_source.ts](https://github.com/elastic/kibana/tree/main/src/plugins/saved_objects/public/saved_object/helpers/create_source.ts#:~:text=SavedObjectAttributes), [find_object_by_title.ts](https://github.com/elastic/kibana/tree/main/src/plugins/saved_objects/public/saved_object/helpers/find_object_by_title.ts#:~:text=SavedObjectAttributes), [find_object_by_title.ts](https://github.com/elastic/kibana/tree/main/src/plugins/saved_objects/public/saved_object/helpers/find_object_by_title.ts#:~:text=SavedObjectAttributes), [save_with_confirmation.ts](https://github.com/elastic/kibana/tree/main/src/plugins/saved_objects/public/saved_object/helpers/save_with_confirmation.ts#:~:text=SavedObjectAttributes)+ 15 more | - | +| | [types.ts](https://github.com/elastic/kibana/tree/main/src/plugins/saved_objects/public/types.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/src/plugins/saved_objects/public/types.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/src/plugins/saved_objects/public/types.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/src/plugins/saved_objects/public/types.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/src/plugins/saved_objects/public/types.ts#:~:text=SavedObjectAttributes), [create_source.ts](https://github.com/elastic/kibana/tree/main/src/plugins/saved_objects/public/saved_object/helpers/create_source.ts#:~:text=SavedObjectAttributes), [create_source.ts](https://github.com/elastic/kibana/tree/main/src/plugins/saved_objects/public/saved_object/helpers/create_source.ts#:~:text=SavedObjectAttributes), [find_object_by_title.ts](https://github.com/elastic/kibana/tree/main/src/plugins/saved_objects/public/saved_object/helpers/find_object_by_title.ts#:~:text=SavedObjectAttributes), [find_object_by_title.ts](https://github.com/elastic/kibana/tree/main/src/plugins/saved_objects/public/saved_object/helpers/find_object_by_title.ts#:~:text=SavedObjectAttributes), [save_with_confirmation.ts](https://github.com/elastic/kibana/tree/main/src/plugins/saved_objects/public/saved_object/helpers/save_with_confirmation.ts#:~:text=SavedObjectAttributes)+ 15 more | - | @@ -684,6 +779,7 @@ so TS and code-reference navigation might not highlight them. | | | [saved_objects_edition_page.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/saved_objects_management/public/management_section/saved_objects_edition_page.tsx#:~:text=RedirectAppLinks), [saved_objects_edition_page.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/saved_objects_management/public/management_section/saved_objects_edition_page.tsx#:~:text=RedirectAppLinks), [saved_objects_edition_page.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/saved_objects_management/public/management_section/saved_objects_edition_page.tsx#:~:text=RedirectAppLinks), [saved_objects_table.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.tsx#:~:text=RedirectAppLinks), [saved_objects_table.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.tsx#:~:text=RedirectAppLinks), [saved_objects_table.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.tsx#:~:text=RedirectAppLinks) | - | | | [resolve_import_errors.ts](https://github.com/elastic/kibana/tree/main/src/plugins/saved_objects_management/public/lib/resolve_import_errors.ts#:~:text=createNewCopy) | - | | | [resolve_import_errors.ts](https://github.com/elastic/kibana/tree/main/src/plugins/saved_objects_management/public/lib/resolve_import_errors.ts#:~:text=createNewCopy) | - | +| | [resolve_import_errors.ts](https://github.com/elastic/kibana/tree/main/src/plugins/saved_objects_management/public/lib/resolve_import_errors.ts#:~:text=createNewCopy) | - | @@ -709,6 +805,7 @@ so TS and code-reference navigation might not highlight them. | | ---------------|-----------|-----------| | | [search_migrations.ts](https://github.com/elastic/kibana/tree/main/src/plugins/saved_search/server/saved_objects/search_migrations.ts#:~:text=SavedObjectAttributes), [search_migrations.ts](https://github.com/elastic/kibana/tree/main/src/plugins/saved_search/server/saved_objects/search_migrations.ts#:~:text=SavedObjectAttributes) | - | | | [search_migrations.ts](https://github.com/elastic/kibana/tree/main/src/plugins/saved_search/server/saved_objects/search_migrations.ts#:~:text=SavedObjectAttributes), [search_migrations.ts](https://github.com/elastic/kibana/tree/main/src/plugins/saved_search/server/saved_objects/search_migrations.ts#:~:text=SavedObjectAttributes) | - | +| | [search_migrations.ts](https://github.com/elastic/kibana/tree/main/src/plugins/saved_search/server/saved_objects/search_migrations.ts#:~:text=SavedObjectAttributes), [search_migrations.ts](https://github.com/elastic/kibana/tree/main/src/plugins/saved_search/server/saved_objects/search_migrations.ts#:~:text=SavedObjectAttributes) | - | @@ -744,6 +841,8 @@ migrates to using the Kibana Privilege model: https://github.com/elastic/kibana/ | | [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security/server/plugin.ts#:~:text=license%24) | 8.8.0 | | | [logout_app.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security/public/authentication/logout/logout_app.test.ts#:~:text=appBasePath) | 8.8.0 | | | [logout_app.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security/public/authentication/logout/logout_app.test.ts#:~:text=onAppLeave) | 8.8.0 | +| | [logout_app.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security/public/authentication/logout/logout_app.test.ts#:~:text=appBasePath) | 8.8.0 | +| | [logout_app.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security/public/authentication/logout/logout_app.test.ts#:~:text=onAppLeave) | 8.8.0 | @@ -768,6 +867,9 @@ migrates to using the Kibana Privilege model: https://github.com/elastic/kibana/ | | [index.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/public/timelines/components/flyout/index.tsx#:~:text=AppLeaveHandler), [index.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/public/timelines/components/flyout/index.tsx#:~:text=AppLeaveHandler), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/public/types.ts#:~:text=AppLeaveHandler), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/public/types.ts#:~:text=AppLeaveHandler), [routes.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/public/app/routes.tsx#:~:text=AppLeaveHandler), [routes.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/public/app/routes.tsx#:~:text=AppLeaveHandler), [app.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/public/app/app.tsx#:~:text=AppLeaveHandler), [app.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/public/app/app.tsx#:~:text=AppLeaveHandler), [app.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/public/app/app.tsx#:~:text=AppLeaveHandler), [use_timeline_save_prompt.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/public/common/hooks/timeline/use_timeline_save_prompt.ts#:~:text=AppLeaveHandler)+ 1 more | 8.8.0 | | | [legacy_types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/server/lib/detection_engine/rule_actions_legacy/logic/rule_actions/legacy_types.ts#:~:text=SavedObjectAttributes), [legacy_types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/server/lib/detection_engine/rule_actions_legacy/logic/rule_actions/legacy_types.ts#:~:text=SavedObjectAttributes), [legacy_migrations.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/server/lib/detection_engine/rule_actions_legacy/logic/rule_actions/legacy_migrations.ts#:~:text=SavedObjectAttributes), [legacy_migrations.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/server/lib/detection_engine/rule_actions_legacy/logic/rule_actions/legacy_migrations.ts#:~:text=SavedObjectAttributes) | - | | | [legacy_types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/server/lib/detection_engine/rule_actions_legacy/logic/rule_actions/legacy_types.ts#:~:text=SavedObjectAttributes), [legacy_types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/server/lib/detection_engine/rule_actions_legacy/logic/rule_actions/legacy_types.ts#:~:text=SavedObjectAttributes), [legacy_migrations.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/server/lib/detection_engine/rule_actions_legacy/logic/rule_actions/legacy_migrations.ts#:~:text=SavedObjectAttributes), [legacy_migrations.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/server/lib/detection_engine/rule_actions_legacy/logic/rule_actions/legacy_migrations.ts#:~:text=SavedObjectAttributes) | - | +| | [index.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/public/timelines/components/flyout/index.tsx#:~:text=AppLeaveHandler), [index.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/public/timelines/components/flyout/index.tsx#:~:text=AppLeaveHandler), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/public/types.ts#:~:text=AppLeaveHandler), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/public/types.ts#:~:text=AppLeaveHandler), [routes.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/public/app/routes.tsx#:~:text=AppLeaveHandler), [routes.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/public/app/routes.tsx#:~:text=AppLeaveHandler), [app.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/public/app/app.tsx#:~:text=AppLeaveHandler), [app.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/public/app/app.tsx#:~:text=AppLeaveHandler), [app.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/public/app/app.tsx#:~:text=AppLeaveHandler), [use_timeline_save_prompt.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/public/common/hooks/timeline/use_timeline_save_prompt.ts#:~:text=AppLeaveHandler)+ 1 more | 8.8.0 | +| | [index.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/public/app/index.tsx#:~:text=onAppLeave), [plugin.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/public/plugin.tsx#:~:text=onAppLeave) | 8.8.0 | +| | [legacy_types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/server/lib/detection_engine/rule_actions_legacy/logic/rule_actions/legacy_types.ts#:~:text=SavedObjectAttributes), [legacy_types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/server/lib/detection_engine/rule_actions_legacy/logic/rule_actions/legacy_types.ts#:~:text=SavedObjectAttributes), [legacy_migrations.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/server/lib/detection_engine/rule_actions_legacy/logic/rule_actions/legacy_migrations.ts#:~:text=SavedObjectAttributes), [legacy_migrations.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/server/lib/detection_engine/rule_actions_legacy/logic/rule_actions/legacy_migrations.ts#:~:text=SavedObjectAttributes) | - | @@ -789,6 +891,7 @@ migrates to using the Kibana Privilege model: https://github.com/elastic/kibana/ | | [spaces_usage_collector.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/spaces/server/usage_collection/spaces_usage_collector.ts#:~:text=license%24), [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/spaces/server/plugin.ts#:~:text=license%24), [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/spaces/server/plugin.ts#:~:text=license%24), [spaces_usage_collector.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/spaces/server/usage_collection/spaces_usage_collector.test.ts#:~:text=license%24) | 8.8.0 | | | [copy_to_space_flyout_internal.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/spaces/public/copy_saved_objects_to_space/components/copy_to_space_flyout_internal.tsx#:~:text=createNewCopy) | - | | | [copy_to_space_flyout_internal.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/spaces/public/copy_saved_objects_to_space/components/copy_to_space_flyout_internal.tsx#:~:text=createNewCopy) | - | +| | [copy_to_space_flyout_internal.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/spaces/public/copy_saved_objects_to_space/components/copy_to_space_flyout_internal.tsx#:~:text=createNewCopy) | - | @@ -824,6 +927,7 @@ migrates to using the Kibana Privilege model: https://github.com/elastic/kibana/ | ---------------|-----------|-----------| | | [task_store.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/task_manager/server/task_store.test.ts#:~:text=SavedObjectAttributes), [task_store.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/task_manager/server/task_store.test.ts#:~:text=SavedObjectAttributes) | - | | | [task_store.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/task_manager/server/task_store.test.ts#:~:text=SavedObjectAttributes), [task_store.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/task_manager/server/task_store.test.ts#:~:text=SavedObjectAttributes) | - | +| | [task_store.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/task_manager/server/task_store.test.ts#:~:text=SavedObjectAttributes), [task_store.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/task_manager/server/task_store.test.ts#:~:text=SavedObjectAttributes) | - | @@ -980,6 +1084,8 @@ migrates to using the Kibana Privilege model: https://github.com/elastic/kibana/ | | [visualize_top_nav.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/visualizations/public/visualize_app/components/visualize_top_nav.tsx#:~:text=onAppLeave), [visualize_editor_common.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/visualizations/public/visualize_app/components/visualize_editor_common.tsx#:~:text=onAppLeave), [app.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/visualizations/public/visualize_app/app.tsx#:~:text=onAppLeave), [index.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/visualizations/public/visualize_app/index.tsx#:~:text=onAppLeave) | 8.8.0 | | | [save_with_confirmation.ts](https://github.com/elastic/kibana/tree/main/src/plugins/visualizations/public/utils/saved_objects_utils/save_with_confirmation.ts#:~:text=SavedObjectAttributes), [save_with_confirmation.ts](https://github.com/elastic/kibana/tree/main/src/plugins/visualizations/public/utils/saved_objects_utils/save_with_confirmation.ts#:~:text=SavedObjectAttributes), [find_object_by_title.ts](https://github.com/elastic/kibana/tree/main/src/plugins/visualizations/public/utils/saved_objects_utils/find_object_by_title.ts#:~:text=SavedObjectAttributes), [find_object_by_title.ts](https://github.com/elastic/kibana/tree/main/src/plugins/visualizations/public/utils/saved_objects_utils/find_object_by_title.ts#:~:text=SavedObjectAttributes), [saved_visualization_references.ts](https://github.com/elastic/kibana/tree/main/src/plugins/visualizations/public/utils/saved_visualization_references/saved_visualization_references.ts#:~:text=SavedObjectAttributes), [saved_visualization_references.ts](https://github.com/elastic/kibana/tree/main/src/plugins/visualizations/public/utils/saved_visualization_references/saved_visualization_references.ts#:~:text=SavedObjectAttributes), [saved_visualize_utils.ts](https://github.com/elastic/kibana/tree/main/src/plugins/visualizations/public/utils/saved_visualize_utils.ts#:~:text=SavedObjectAttributes), [saved_visualize_utils.ts](https://github.com/elastic/kibana/tree/main/src/plugins/visualizations/public/utils/saved_visualize_utils.ts#:~:text=SavedObjectAttributes), [saved_visualize_utils.ts](https://github.com/elastic/kibana/tree/main/src/plugins/visualizations/public/utils/saved_visualize_utils.ts#:~:text=SavedObjectAttributes), [saved_visualize_utils.ts](https://github.com/elastic/kibana/tree/main/src/plugins/visualizations/public/utils/saved_visualize_utils.ts#:~:text=SavedObjectAttributes)+ 13 more | - | | | [save_with_confirmation.ts](https://github.com/elastic/kibana/tree/main/src/plugins/visualizations/public/utils/saved_objects_utils/save_with_confirmation.ts#:~:text=SavedObjectAttributes), [save_with_confirmation.ts](https://github.com/elastic/kibana/tree/main/src/plugins/visualizations/public/utils/saved_objects_utils/save_with_confirmation.ts#:~:text=SavedObjectAttributes), [find_object_by_title.ts](https://github.com/elastic/kibana/tree/main/src/plugins/visualizations/public/utils/saved_objects_utils/find_object_by_title.ts#:~:text=SavedObjectAttributes), [find_object_by_title.ts](https://github.com/elastic/kibana/tree/main/src/plugins/visualizations/public/utils/saved_objects_utils/find_object_by_title.ts#:~:text=SavedObjectAttributes), [saved_visualization_references.ts](https://github.com/elastic/kibana/tree/main/src/plugins/visualizations/public/utils/saved_visualization_references/saved_visualization_references.ts#:~:text=SavedObjectAttributes), [saved_visualization_references.ts](https://github.com/elastic/kibana/tree/main/src/plugins/visualizations/public/utils/saved_visualization_references/saved_visualization_references.ts#:~:text=SavedObjectAttributes), [saved_visualize_utils.ts](https://github.com/elastic/kibana/tree/main/src/plugins/visualizations/public/utils/saved_visualize_utils.ts#:~:text=SavedObjectAttributes), [saved_visualize_utils.ts](https://github.com/elastic/kibana/tree/main/src/plugins/visualizations/public/utils/saved_visualize_utils.ts#:~:text=SavedObjectAttributes), [saved_visualize_utils.ts](https://github.com/elastic/kibana/tree/main/src/plugins/visualizations/public/utils/saved_visualize_utils.ts#:~:text=SavedObjectAttributes), [saved_visualize_utils.ts](https://github.com/elastic/kibana/tree/main/src/plugins/visualizations/public/utils/saved_visualize_utils.ts#:~:text=SavedObjectAttributes)+ 13 more | - | +| | [visualize_top_nav.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/visualizations/public/visualize_app/components/visualize_top_nav.tsx#:~:text=onAppLeave), [visualize_editor_common.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/visualizations/public/visualize_app/components/visualize_editor_common.tsx#:~:text=onAppLeave), [app.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/visualizations/public/visualize_app/app.tsx#:~:text=onAppLeave), [index.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/visualizations/public/visualize_app/index.tsx#:~:text=onAppLeave) | 8.8.0 | +| | [save_with_confirmation.ts](https://github.com/elastic/kibana/tree/main/src/plugins/visualizations/public/utils/saved_objects_utils/save_with_confirmation.ts#:~:text=SavedObjectAttributes), [save_with_confirmation.ts](https://github.com/elastic/kibana/tree/main/src/plugins/visualizations/public/utils/saved_objects_utils/save_with_confirmation.ts#:~:text=SavedObjectAttributes), [find_object_by_title.ts](https://github.com/elastic/kibana/tree/main/src/plugins/visualizations/public/utils/saved_objects_utils/find_object_by_title.ts#:~:text=SavedObjectAttributes), [find_object_by_title.ts](https://github.com/elastic/kibana/tree/main/src/plugins/visualizations/public/utils/saved_objects_utils/find_object_by_title.ts#:~:text=SavedObjectAttributes), [saved_visualization_references.ts](https://github.com/elastic/kibana/tree/main/src/plugins/visualizations/public/utils/saved_visualization_references/saved_visualization_references.ts#:~:text=SavedObjectAttributes), [saved_visualization_references.ts](https://github.com/elastic/kibana/tree/main/src/plugins/visualizations/public/utils/saved_visualization_references/saved_visualization_references.ts#:~:text=SavedObjectAttributes), [saved_visualize_utils.ts](https://github.com/elastic/kibana/tree/main/src/plugins/visualizations/public/utils/saved_visualize_utils.ts#:~:text=SavedObjectAttributes), [saved_visualize_utils.ts](https://github.com/elastic/kibana/tree/main/src/plugins/visualizations/public/utils/saved_visualize_utils.ts#:~:text=SavedObjectAttributes), [saved_visualize_utils.ts](https://github.com/elastic/kibana/tree/main/src/plugins/visualizations/public/utils/saved_visualize_utils.ts#:~:text=SavedObjectAttributes), [saved_visualize_utils.ts](https://github.com/elastic/kibana/tree/main/src/plugins/visualizations/public/utils/saved_visualize_utils.ts#:~:text=SavedObjectAttributes)+ 13 more | - | diff --git a/api_docs/deprecations_by_team.mdx b/api_docs/deprecations_by_team.mdx index 1fc18f7407d5f..9ee3760c28141 100644 --- a/api_docs/deprecations_by_team.mdx +++ b/api_docs/deprecations_by_team.mdx @@ -7,7 +7,7 @@ id: kibDevDocsDeprecationsDueByTeam slug: /kibana-dev-docs/api-meta/deprecations-due-by-team title: Deprecated APIs due to be removed, by team description: Lists the teams that are referencing deprecated APIs with a remove by date. -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana'] --- @@ -48,6 +48,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | fleet | | [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/plugin.ts#:~:text=disabled) | 8.8.0 | | fleet | | [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/plugin.ts#:~:text=disabled) | 8.8.0 | | fleet | | [index.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/public/applications/integrations/index.tsx#:~:text=appBasePath) | 8.8.0 | +| fleet | | [index.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/public/applications/integrations/index.tsx#:~:text=appBasePath) | 8.8.0 | @@ -56,7 +57,8 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Plugin | Deprecated API | Reference location(s) | Remove By | | --------|-------|-----------|-----------| | maps | | [render_app.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/public/render_app.tsx#:~:text=onAppLeave), [map_app.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx#:~:text=onAppLeave), [map_page.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/public/routes/map_page/map_page.tsx#:~:text=onAppLeave) | 8.8.0 | -| maps | | [saved_object_migrations.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/server/saved_objects/saved_object_migrations.ts#:~:text=warning) | 8.8.0 | +| maps | | [saved_object_migrations.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/server/saved_objects/saved_object_migrations.ts#:~:text=warning), [saved_object_migrations.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/server/saved_objects/saved_object_migrations.ts#:~:text=warning) | 8.8.0 | +| maps | | [render_app.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/public/render_app.tsx#:~:text=onAppLeave), [map_app.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx#:~:text=onAppLeave), [map_page.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/public/routes/map_page/map_page.tsx#:~:text=onAppLeave) | 8.8.0 | | mapsEms | | [index.ts](https://github.com/elastic/kibana/tree/main/src/plugins/maps_ems/server/index.ts#:~:text=license%24) | 8.8.0 | | mapsEms | | [index.ts](https://github.com/elastic/kibana/tree/main/src/plugins/maps_ems/server/index.ts#:~:text=refresh) | 8.8.0 | @@ -67,9 +69,12 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Plugin | Deprecated API | Reference location(s) | Remove By | | --------|-------|-----------|-----------| | kibanaOverview | | [application.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/kibana_overview/public/application.tsx#:~:text=appBasePath), [app_container.tsx](https://github.com/elastic/kibana/tree/main/packages/core/application/core-application-browser-internal/src/ui/app_container.tsx#:~:text=appBasePath), [application_service.mock.ts](https://github.com/elastic/kibana/tree/main/packages/core/application/core-application-browser-mocks/src/application_service.mock.ts#:~:text=appBasePath) | 8.8.0 | +| kibanaOverview | | [application.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/kibana_overview/public/application.tsx#:~:text=appBasePath), [app_container.tsx](https://github.com/elastic/kibana/tree/main/packages/core/application/core-application-browser-internal/src/ui/app_container.tsx#:~:text=appBasePath), [application_service.mock.ts](https://github.com/elastic/kibana/tree/main/packages/core/application/core-application-browser-mocks/src/application_service.mock.ts#:~:text=appBasePath), [mocks.ts](https://github.com/elastic/kibana/tree/main/src/core/public/mocks.ts#:~:text=appBasePath) | 8.8.0 | | savedObjectsTaggingOss | | [api.ts](https://github.com/elastic/kibana/tree/main/src/plugins/saved_objects_tagging_oss/public/api.ts#:~:text=SavedObject), [types.ts](https://github.com/elastic/kibana/tree/main/src/plugins/saved_objects_tagging_oss/public/decorator/types.ts#:~:text=SavedObject), [types.ts](https://github.com/elastic/kibana/tree/main/src/plugins/saved_objects_tagging_oss/public/decorator/types.ts#:~:text=SavedObject), [api.ts](https://github.com/elastic/kibana/tree/main/src/plugins/saved_objects_tagging_oss/public/api.ts#:~:text=SavedObject), [api.ts](https://github.com/elastic/kibana/tree/main/src/plugins/saved_objects_tagging_oss/public/api.ts#:~:text=SavedObject) | 8.8.0 | | @kbn/core-application-browser-internal | | [app_container.tsx](https://github.com/elastic/kibana/tree/main/packages/core/application/core-application-browser-internal/src/ui/app_container.tsx#:~:text=onAppLeave), [application_service.mock.ts](https://github.com/elastic/kibana/tree/main/packages/core/application/core-application-browser-mocks/src/application_service.mock.ts#:~:text=onAppLeave) | 8.8.0 | -| @kbn/core-application-browser-internal | | [app_container.tsx](https://github.com/elastic/kibana/tree/main/packages/core/application/core-application-browser-internal/src/ui/app_container.tsx#:~:text=AppLeaveHandler), [app_container.tsx](https://github.com/elastic/kibana/tree/main/packages/core/application/core-application-browser-internal/src/ui/app_container.tsx#:~:text=AppLeaveHandler), [app_router.tsx](https://github.com/elastic/kibana/tree/main/packages/core/application/core-application-browser-internal/src/ui/app_router.tsx#:~:text=AppLeaveHandler), [app_router.tsx](https://github.com/elastic/kibana/tree/main/packages/core/application/core-application-browser-internal/src/ui/app_router.tsx#:~:text=AppLeaveHandler), [application_leave.tsx](https://github.com/elastic/kibana/tree/main/packages/core/application/core-application-browser-internal/src/application_leave.tsx#:~:text=AppLeaveHandler), [application_leave.tsx](https://github.com/elastic/kibana/tree/main/packages/core/application/core-application-browser-internal/src/application_leave.tsx#:~:text=AppLeaveHandler), [application_service.tsx](https://github.com/elastic/kibana/tree/main/packages/core/application/core-application-browser-internal/src/application_service.tsx#:~:text=AppLeaveHandler), [application_service.tsx](https://github.com/elastic/kibana/tree/main/packages/core/application/core-application-browser-internal/src/application_service.tsx#:~:text=AppLeaveHandler), [application_service.tsx](https://github.com/elastic/kibana/tree/main/packages/core/application/core-application-browser-internal/src/application_service.tsx#:~:text=AppLeaveHandler) | 8.8.0 | +| @kbn/core-application-browser-internal | | [app_container.tsx](https://github.com/elastic/kibana/tree/main/packages/core/application/core-application-browser-internal/src/ui/app_container.tsx#:~:text=AppLeaveHandler), [app_container.tsx](https://github.com/elastic/kibana/tree/main/packages/core/application/core-application-browser-internal/src/ui/app_container.tsx#:~:text=AppLeaveHandler), [app_router.tsx](https://github.com/elastic/kibana/tree/main/packages/core/application/core-application-browser-internal/src/ui/app_router.tsx#:~:text=AppLeaveHandler), [app_router.tsx](https://github.com/elastic/kibana/tree/main/packages/core/application/core-application-browser-internal/src/ui/app_router.tsx#:~:text=AppLeaveHandler), [application_leave.tsx](https://github.com/elastic/kibana/tree/main/packages/core/application/core-application-browser-internal/src/application_leave.tsx#:~:text=AppLeaveHandler), [application_leave.tsx](https://github.com/elastic/kibana/tree/main/packages/core/application/core-application-browser-internal/src/application_leave.tsx#:~:text=AppLeaveHandler), [application_service.tsx](https://github.com/elastic/kibana/tree/main/packages/core/application/core-application-browser-internal/src/application_service.tsx#:~:text=AppLeaveHandler), [application_service.tsx](https://github.com/elastic/kibana/tree/main/packages/core/application/core-application-browser-internal/src/application_service.tsx#:~:text=AppLeaveHandler), [application_service.tsx](https://github.com/elastic/kibana/tree/main/packages/core/application/core-application-browser-internal/src/application_service.tsx#:~:text=AppLeaveHandler), [app_leave.ts](https://github.com/elastic/kibana/tree/main/packages/core/application/core-application-browser/src/app_leave.ts#:~:text=AppLeaveHandler)+ 6 more | 8.8.0 | +| @kbn/core-application-browser-internal | | [app_container.tsx](https://github.com/elastic/kibana/tree/main/packages/core/application/core-application-browser-internal/src/ui/app_container.tsx#:~:text=AppLeaveHandler), [app_container.tsx](https://github.com/elastic/kibana/tree/main/packages/core/application/core-application-browser-internal/src/ui/app_container.tsx#:~:text=AppLeaveHandler), [app_router.tsx](https://github.com/elastic/kibana/tree/main/packages/core/application/core-application-browser-internal/src/ui/app_router.tsx#:~:text=AppLeaveHandler), [app_router.tsx](https://github.com/elastic/kibana/tree/main/packages/core/application/core-application-browser-internal/src/ui/app_router.tsx#:~:text=AppLeaveHandler), [application_leave.tsx](https://github.com/elastic/kibana/tree/main/packages/core/application/core-application-browser-internal/src/application_leave.tsx#:~:text=AppLeaveHandler), [application_leave.tsx](https://github.com/elastic/kibana/tree/main/packages/core/application/core-application-browser-internal/src/application_leave.tsx#:~:text=AppLeaveHandler), [application_service.tsx](https://github.com/elastic/kibana/tree/main/packages/core/application/core-application-browser-internal/src/application_service.tsx#:~:text=AppLeaveHandler), [application_service.tsx](https://github.com/elastic/kibana/tree/main/packages/core/application/core-application-browser-internal/src/application_service.tsx#:~:text=AppLeaveHandler), [application_service.tsx](https://github.com/elastic/kibana/tree/main/packages/core/application/core-application-browser-internal/src/application_service.tsx#:~:text=AppLeaveHandler), [index.ts](https://github.com/elastic/kibana/tree/main/src/core/public/index.ts#:~:text=AppLeaveHandler) | 8.8.0 | +| @kbn/core-application-browser-internal | | [app_container.tsx](https://github.com/elastic/kibana/tree/main/packages/core/application/core-application-browser-internal/src/ui/app_container.tsx#:~:text=onAppLeave), [application_service.mock.ts](https://github.com/elastic/kibana/tree/main/packages/core/application/core-application-browser-mocks/src/application_service.mock.ts#:~:text=onAppLeave), [mocks.ts](https://github.com/elastic/kibana/tree/main/src/core/public/mocks.ts#:~:text=onAppLeave) | 8.8.0 | | @kbn/core-http-browser-internal | | [http_fetch_error.ts](https://github.com/elastic/kibana/tree/main/packages/core/http/core-http-browser-internal/src/http_fetch_error.ts#:~:text=req), [http_fetch_error.ts](https://github.com/elastic/kibana/tree/main/packages/core/http/core-http-browser-internal/src/http_fetch_error.ts#:~:text=req) | 8.8.0 Note to maintainers: when looking at usages, mind that typical use could be inside a `catch` block, @@ -78,9 +83,19 @@ so TS and code-reference navigation might not highlight them. | Note to maintainers: when looking at usages, mind that typical use could be inside a `catch` block, so TS and code-reference navigation might not highlight them. | -| @kbn/core-plugins-server-internal | | [plugin.ts](https://github.com/elastic/kibana/tree/main/packages/core/plugins/core-plugins-server-internal/src/plugin.ts#:~:text=AsyncPlugin), [plugin.ts](https://github.com/elastic/kibana/tree/main/packages/core/plugins/core-plugins-server-internal/src/plugin.ts#:~:text=AsyncPlugin) | 8.8.0 | -| @kbn/core-saved-objects-migration-server-internal | | [document_migrator.test.ts](https://github.com/elastic/kibana/tree/main/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/core/document_migrator.test.ts#:~:text=warning), [migration_logger.ts](https://github.com/elastic/kibana/tree/main/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/core/migration_logger.ts#:~:text=warning) | 8.8.0 | -| @kbn/core-apps-browser-internal | | [load_status.ts](https://github.com/elastic/kibana/tree/main/packages/core/apps/core-apps-browser-internal/src/status/lib/load_status.ts#:~:text=process), [load_status.ts](https://github.com/elastic/kibana/tree/main/packages/core/apps/core-apps-browser-internal/src/status/lib/load_status.ts#:~:text=process), [load_status.ts](https://github.com/elastic/kibana/tree/main/packages/core/apps/core-apps-browser-internal/src/status/lib/load_status.ts#:~:text=process), [load_status.ts](https://github.com/elastic/kibana/tree/main/packages/core/apps/core-apps-browser-internal/src/status/lib/load_status.ts#:~:text=process), [load_status.ts](https://github.com/elastic/kibana/tree/main/packages/core/apps/core-apps-browser-internal/src/status/lib/load_status.ts#:~:text=process), [load_status.ts](https://github.com/elastic/kibana/tree/main/packages/core/apps/core-apps-browser-internal/src/status/lib/load_status.ts#:~:text=process), [load_status.test.ts](https://github.com/elastic/kibana/tree/main/packages/core/apps/core-apps-browser-internal/src/status/lib/load_status.test.ts#:~:text=process), [ops_metrics_collector.ts](https://github.com/elastic/kibana/tree/main/packages/core/metrics/core-metrics-server-internal/src/ops_metrics_collector.ts#:~:text=process), [get_ops_metrics_log.ts](https://github.com/elastic/kibana/tree/main/packages/core/metrics/core-metrics-server-internal/src/logging/get_ops_metrics_log.ts#:~:text=process), [get_ops_metrics_log.test.ts](https://github.com/elastic/kibana/tree/main/packages/core/metrics/core-metrics-server-internal/src/logging/get_ops_metrics_log.test.ts#:~:text=process)+ 5 more | 8.8.0 | +| @kbn/core-http-browser-internal | | [http_fetch_error.ts](https://github.com/elastic/kibana/tree/main/packages/core/http/core-http-browser-internal/src/http_fetch_error.ts#:~:text=req), [http_fetch_error.ts](https://github.com/elastic/kibana/tree/main/packages/core/http/core-http-browser-internal/src/http_fetch_error.ts#:~:text=req) | 8.8.0 + +Note to maintainers: when looking at usages, mind that typical use could be inside a `catch` block, +so TS and code-reference navigation might not highlight them. | +| @kbn/core-http-browser-internal | | [http_fetch_error.ts](https://github.com/elastic/kibana/tree/main/packages/core/http/core-http-browser-internal/src/http_fetch_error.ts#:~:text=res), [http_fetch_error.ts](https://github.com/elastic/kibana/tree/main/packages/core/http/core-http-browser-internal/src/http_fetch_error.ts#:~:text=res) | 8.8.0 + +Note to maintainers: when looking at usages, mind that typical use could be inside a `catch` block, +so TS and code-reference navigation might not highlight them. | +| @kbn/core-plugins-server-internal | | [plugin.ts](https://github.com/elastic/kibana/tree/main/packages/core/plugins/core-plugins-server-internal/src/plugin.ts#:~:text=AsyncPlugin), [plugin.ts](https://github.com/elastic/kibana/tree/main/packages/core/plugins/core-plugins-server-internal/src/plugin.ts#:~:text=AsyncPlugin), [plugin.ts](https://github.com/elastic/kibana/tree/main/packages/core/plugins/core-plugins-server-internal/src/plugin.ts#:~:text=AsyncPlugin), [plugin.ts](https://github.com/elastic/kibana/tree/main/packages/core/plugins/core-plugins-server-internal/src/plugin.ts#:~:text=AsyncPlugin), [types.ts](https://github.com/elastic/kibana/tree/main/packages/core/plugins/core-plugins-server/src/types.ts#:~:text=AsyncPlugin), [index.ts](https://github.com/elastic/kibana/tree/main/packages/core/plugins/core-plugins-server/src/index.ts#:~:text=AsyncPlugin), [index.ts](https://github.com/elastic/kibana/tree/main/packages/core/plugins/core-plugins-server/index.ts#:~:text=AsyncPlugin), [index.ts](https://github.com/elastic/kibana/tree/main/src/core/server/index.ts#:~:text=AsyncPlugin) | 8.8.0 | +| @kbn/core-saved-objects-migration-server-internal | | [document_migrator.test.ts](https://github.com/elastic/kibana/tree/main/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/core/document_migrator.test.ts#:~:text=warning), [migration_logger.ts](https://github.com/elastic/kibana/tree/main/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/core/migration_logger.ts#:~:text=warning), [document_migrator.test.ts](https://github.com/elastic/kibana/tree/main/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/core/document_migrator.test.ts#:~:text=warning), [migration_logger.ts](https://github.com/elastic/kibana/tree/main/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/core/migration_logger.ts#:~:text=warning) | 8.8.0 | +| @kbn/core-apps-browser-internal | | [load_status.ts](https://github.com/elastic/kibana/tree/main/packages/core/apps/core-apps-browser-internal/src/status/lib/load_status.ts#:~:text=process), [load_status.ts](https://github.com/elastic/kibana/tree/main/packages/core/apps/core-apps-browser-internal/src/status/lib/load_status.ts#:~:text=process), [load_status.ts](https://github.com/elastic/kibana/tree/main/packages/core/apps/core-apps-browser-internal/src/status/lib/load_status.ts#:~:text=process), [load_status.ts](https://github.com/elastic/kibana/tree/main/packages/core/apps/core-apps-browser-internal/src/status/lib/load_status.ts#:~:text=process), [load_status.ts](https://github.com/elastic/kibana/tree/main/packages/core/apps/core-apps-browser-internal/src/status/lib/load_status.ts#:~:text=process), [load_status.ts](https://github.com/elastic/kibana/tree/main/packages/core/apps/core-apps-browser-internal/src/status/lib/load_status.ts#:~:text=process), [load_status.test.ts](https://github.com/elastic/kibana/tree/main/packages/core/apps/core-apps-browser-internal/src/status/lib/load_status.test.ts#:~:text=process), [load_status.ts](https://github.com/elastic/kibana/tree/main/packages/core/apps/core-apps-browser-internal/src/status/lib/load_status.ts#:~:text=process), [load_status.ts](https://github.com/elastic/kibana/tree/main/packages/core/apps/core-apps-browser-internal/src/status/lib/load_status.ts#:~:text=process), [load_status.ts](https://github.com/elastic/kibana/tree/main/packages/core/apps/core-apps-browser-internal/src/status/lib/load_status.ts#:~:text=process)+ 20 more | 8.8.0 | +| @kbn/core-lifecycle-browser | | [core_start.ts](https://github.com/elastic/kibana/tree/main/packages/core/lifecycle/core-lifecycle-browser/src/core_start.ts#:~:text=InjectedMetadataStart), [core_start.ts](https://github.com/elastic/kibana/tree/main/packages/core/lifecycle/core-lifecycle-browser/src/core_start.ts#:~:text=InjectedMetadataStart) | 8.8.0 | +| @kbn/core-lifecycle-browser | | [core_setup.ts](https://github.com/elastic/kibana/tree/main/packages/core/lifecycle/core-lifecycle-browser/src/core_setup.ts#:~:text=InjectedMetadataSetup), [core_setup.ts](https://github.com/elastic/kibana/tree/main/packages/core/lifecycle/core-lifecycle-browser/src/core_setup.ts#:~:text=InjectedMetadataSetup) | 8.8.0 | @@ -91,7 +106,8 @@ so TS and code-reference navigation might not highlight them. | | dashboard | | [save_modal.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/public/application/top_nav/save_modal.tsx#:~:text=SavedObjectSaveModal), [save_modal.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/public/application/top_nav/save_modal.tsx#:~:text=SavedObjectSaveModal), [saved_object_save_modal_dashboard.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/presentation_util/public/components/saved_object_save_modal_dashboard.tsx#:~:text=SavedObjectSaveModal), [saved_object_save_modal_dashboard.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/presentation_util/public/components/saved_object_save_modal_dashboard.tsx#:~:text=SavedObjectSaveModal) | 8.8.0 | | dashboard | | [clone_panel_action.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/public/application/actions/clone_panel_action.tsx#:~:text=SavedObject), [clone_panel_action.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/public/application/actions/clone_panel_action.tsx#:~:text=SavedObject), [clone_panel_action.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/public/application/actions/clone_panel_action.tsx#:~:text=SavedObject) | 8.8.0 | | dashboard | | [types.ts](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/public/types.ts#:~:text=onAppLeave), [plugin.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/public/plugin.tsx#:~:text=onAppLeave) | 8.8.0 | -| dashboard | | [migrations_730.ts](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/server/saved_objects/migrations/migrate_to_730/migrations_730.ts#:~:text=warning), [migrations_730.ts](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/server/saved_objects/migrations/migrate_to_730/migrations_730.ts#:~:text=warning) | 8.8.0 | +| dashboard | | [migrations_730.ts](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/server/saved_objects/migrations/migrate_to_730/migrations_730.ts#:~:text=warning), [migrations_730.ts](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/server/saved_objects/migrations/migrate_to_730/migrations_730.ts#:~:text=warning), [migrations_730.ts](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/server/saved_objects/migrations/migrate_to_730/migrations_730.ts#:~:text=warning), [migrations_730.ts](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/server/saved_objects/migrations/migrate_to_730/migrations_730.ts#:~:text=warning) | 8.8.0 | +| dashboard | | [types.ts](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/public/types.ts#:~:text=onAppLeave), [plugin.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/public/plugin.tsx#:~:text=onAppLeave) | 8.8.0 | @@ -99,7 +115,7 @@ so TS and code-reference navigation might not highlight them. | | Plugin | Deprecated API | Reference location(s) | Remove By | | --------|-------|-----------|-----------| -| kibanaUsageCollection | | [ops_stats_collector.ts](https://github.com/elastic/kibana/tree/main/src/plugins/kibana_usage_collection/server/collectors/ops_stats/ops_stats_collector.ts#:~:text=process) | 8.8.0 | +| kibanaUsageCollection | | [ops_stats_collector.ts](https://github.com/elastic/kibana/tree/main/src/plugins/kibana_usage_collection/server/collectors/ops_stats/ops_stats_collector.ts#:~:text=process), [ops_stats_collector.ts](https://github.com/elastic/kibana/tree/main/src/plugins/kibana_usage_collection/server/collectors/ops_stats/ops_stats_collector.ts#:~:text=process) | 8.8.0 | @@ -122,6 +138,11 @@ so TS and code-reference navigation might not highlight them. | Note to maintainers: when looking at usages, mind that typical use could be inside a `catch` block, so TS and code-reference navigation might not highlight them. | +| ml | | [app.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/ml/public/application/app.tsx#:~:text=onAppLeave) | 8.8.0 | +| ml | | [errors.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/ml/common/util/errors/errors.test.ts#:~:text=req), [errors.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/ml/common/util/errors/errors.test.ts#:~:text=req) | 8.8.0 + +Note to maintainers: when looking at usages, mind that typical use could be inside a `catch` block, +so TS and code-reference navigation might not highlight them. | @@ -148,6 +169,8 @@ migrates to using the Kibana Privilege model: https://github.com/elastic/kibana/ | security | | [license_service.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security/common/licensing/license_service.test.ts#:~:text=mode), [license_service.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security/common/licensing/license_service.test.ts#:~:text=mode), [license_service.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security/common/licensing/license_service.test.ts#:~:text=mode) | 8.8.0 | | security | | [logout_app.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security/public/authentication/logout/logout_app.test.ts#:~:text=appBasePath) | 8.8.0 | | security | | [logout_app.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security/public/authentication/logout/logout_app.test.ts#:~:text=onAppLeave) | 8.8.0 | +| security | | [logout_app.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security/public/authentication/logout/logout_app.test.ts#:~:text=appBasePath) | 8.8.0 | +| security | | [logout_app.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security/public/authentication/logout/logout_app.test.ts#:~:text=onAppLeave) | 8.8.0 | @@ -169,6 +192,8 @@ migrates to using the Kibana Privilege model: https://github.com/elastic/kibana/ | securitySolution | | [query.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/server/lib/detection_engine/signals/executors/query.ts#:~:text=license%24) | 8.8.0 | | securitySolution | | [index.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/public/app/index.tsx#:~:text=onAppLeave), [plugin.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/public/plugin.tsx#:~:text=onAppLeave) | 8.8.0 | | securitySolution | | [index.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/public/timelines/components/flyout/index.tsx#:~:text=AppLeaveHandler), [index.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/public/timelines/components/flyout/index.tsx#:~:text=AppLeaveHandler), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/public/types.ts#:~:text=AppLeaveHandler), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/public/types.ts#:~:text=AppLeaveHandler), [routes.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/public/app/routes.tsx#:~:text=AppLeaveHandler), [routes.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/public/app/routes.tsx#:~:text=AppLeaveHandler), [app.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/public/app/app.tsx#:~:text=AppLeaveHandler), [app.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/public/app/app.tsx#:~:text=AppLeaveHandler), [app.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/public/app/app.tsx#:~:text=AppLeaveHandler), [use_timeline_save_prompt.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/public/common/hooks/timeline/use_timeline_save_prompt.ts#:~:text=AppLeaveHandler)+ 1 more | 8.8.0 | +| securitySolution | | [index.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/public/timelines/components/flyout/index.tsx#:~:text=AppLeaveHandler), [index.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/public/timelines/components/flyout/index.tsx#:~:text=AppLeaveHandler), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/public/types.ts#:~:text=AppLeaveHandler), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/public/types.ts#:~:text=AppLeaveHandler), [routes.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/public/app/routes.tsx#:~:text=AppLeaveHandler), [routes.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/public/app/routes.tsx#:~:text=AppLeaveHandler), [app.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/public/app/app.tsx#:~:text=AppLeaveHandler), [app.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/public/app/app.tsx#:~:text=AppLeaveHandler), [app.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/public/app/app.tsx#:~:text=AppLeaveHandler), [use_timeline_save_prompt.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/public/common/hooks/timeline/use_timeline_save_prompt.ts#:~:text=AppLeaveHandler)+ 1 more | 8.8.0 | +| securitySolution | | [index.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/public/app/index.tsx#:~:text=onAppLeave), [plugin.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/public/plugin.tsx#:~:text=onAppLeave) | 8.8.0 | @@ -185,7 +210,7 @@ migrates to using the Kibana Privilege model: https://github.com/elastic/kibana/ | Plugin | Deprecated API | Reference location(s) | Remove By | | --------|-------|-----------|-----------| -| monitoring | | [bulk_uploader.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/monitoring/server/kibana_monitoring/bulk_uploader.ts#:~:text=process) | 8.8.0 | +| monitoring | | [bulk_uploader.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/monitoring/server/kibana_monitoring/bulk_uploader.ts#:~:text=process), [bulk_uploader.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/monitoring/server/kibana_monitoring/bulk_uploader.ts#:~:text=process) | 8.8.0 | @@ -194,4 +219,6 @@ migrates to using the Kibana Privilege model: https://github.com/elastic/kibana/ | Plugin | Deprecated API | Reference location(s) | Remove By | | --------|-------|-----------|-----------| | lens | | [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/lens/public/app_plugin/types.ts#:~:text=onAppLeave), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/lens/public/app_plugin/types.ts#:~:text=onAppLeave), [mounter.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/lens/public/app_plugin/mounter.tsx#:~:text=onAppLeave), [visualize_top_nav.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/visualizations/public/visualize_app/components/visualize_top_nav.tsx#:~:text=onAppLeave), [visualize_editor_common.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/visualizations/public/visualize_app/components/visualize_editor_common.tsx#:~:text=onAppLeave), [app.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/visualizations/public/visualize_app/app.tsx#:~:text=onAppLeave), [index.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/visualizations/public/visualize_app/index.tsx#:~:text=onAppLeave) | 8.8.0 | -| management | | [application.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/management/public/application.tsx#:~:text=appBasePath) | 8.8.0 | \ No newline at end of file +| lens | | [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/lens/public/app_plugin/types.ts#:~:text=onAppLeave), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/lens/public/app_plugin/types.ts#:~:text=onAppLeave), [mounter.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/lens/public/app_plugin/mounter.tsx#:~:text=onAppLeave), [visualize_top_nav.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/visualizations/public/visualize_app/components/visualize_top_nav.tsx#:~:text=onAppLeave), [visualize_editor_common.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/visualizations/public/visualize_app/components/visualize_editor_common.tsx#:~:text=onAppLeave), [app.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/visualizations/public/visualize_app/app.tsx#:~:text=onAppLeave), [index.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/visualizations/public/visualize_app/index.tsx#:~:text=onAppLeave) | 8.8.0 | +| management | | [application.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/management/public/application.tsx#:~:text=appBasePath) | 8.8.0 | +| management | | [application.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/management/public/application.tsx#:~:text=appBasePath) | 8.8.0 | \ No newline at end of file diff --git a/api_docs/dev_tools.devdocs.json b/api_docs/dev_tools.devdocs.json index ee4eeea5dc27a..f91298e51f8e0 100644 --- a/api_docs/dev_tools.devdocs.json +++ b/api_docs/dev_tools.devdocs.json @@ -18,7 +18,13 @@ "text": "DevToolsPlugin" }, " implements ", - "Plugin", + { + "pluginId": "@kbn/core-plugins-browser", + "scope": "common", + "docId": "kibKbnCorePluginsBrowserPluginApi", + "section": "def-common.Plugin", + "text": "Plugin" + }, "<", { "pluginId": "devTools", @@ -42,7 +48,13 @@ "description": [], "signature": [ "(coreSetup: ", - "CoreSetup", + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreSetup", + "text": "CoreSetup" + }, ", { urlForwarding }: { urlForwarding: { forwardApp: (legacyAppId: string, newAppId: string, rewritePath?: ((legacyPath: string) => string) | undefined) => void; }; }) => { register: (devToolArgs: ", "CreateDevToolArgs", ") => ", @@ -61,7 +73,13 @@ "label": "coreSetup", "description": [], "signature": [ - "CoreSetup", + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreSetup", + "text": "CoreSetup" + }, "" ], "path": "src/plugins/dev_tools/public/plugin.ts", diff --git a/api_docs/dev_tools.mdx b/api_docs/dev_tools.mdx index d307fdff87793..857c624baa907 100644 --- a/api_docs/dev_tools.mdx +++ b/api_docs/dev_tools.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/devTools title: "devTools" image: https://source.unsplash.com/400x175/?github description: API docs for the devTools plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'devTools'] --- import devToolsObj from './dev_tools.devdocs.json'; diff --git a/api_docs/discover.devdocs.json b/api_docs/discover.devdocs.json index 334c593cbc3c7..8b1891318d766 100644 --- a/api_docs/discover.devdocs.json +++ b/api_docs/discover.devdocs.json @@ -141,7 +141,7 @@ "section": "def-public.SavedSearch", "text": "SavedSearch" }, - ") => Promise" + ") => Promise" ], "path": "src/plugins/saved_search/public/services/saved_searches/saved_searches_utils.ts", "deprecated": false, @@ -256,7 +256,13 @@ "text": "DiscoverAppLocatorParams" }, " extends ", - "SerializableRecord" + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + } ], "path": "src/plugins/discover/public/locator.ts", "deprecated": false, @@ -389,7 +395,13 @@ "\nOptionally set the time range in the time picker." ], "signature": [ - "TimeRange", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, " | undefined" ], "path": "src/plugins/discover/public/locator.ts", @@ -415,7 +427,13 @@ "text": "RefreshInterval" }, " & ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ") | undefined" ], "path": "src/plugins/discover/public/locator.ts", @@ -432,7 +450,13 @@ "\nOptionally apply filters." ], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[] | undefined" ], "path": "src/plugins/discover/public/locator.ts", @@ -449,9 +473,21 @@ "\nOptionally set a query." ], "signature": [ - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | ", - "AggregateQuery", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.AggregateQuery", + "text": "AggregateQuery" + }, " | undefined" ], "path": "src/plugins/discover/public/locator.ts", @@ -957,7 +993,13 @@ "text": "SerializedSearchSourceFields" }, "; serialize: () => { searchSourceJSON: string; references: ", - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]; }; toExpressionAst: ({ asDatatable }?: ExpressionAstOptions) => ", { "pluginId": "expressions", @@ -1307,7 +1349,13 @@ "label": "query", "description": [], "signature": [ - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | undefined" ], "path": "src/plugins/discover/public/embeddable/types.ts", @@ -1322,7 +1370,13 @@ "label": "filters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[] | undefined" ], "path": "src/plugins/discover/public/embeddable/types.ts", diff --git a/api_docs/discover.mdx b/api_docs/discover.mdx index bfabfe1aee417..e28305bdf2686 100644 --- a/api_docs/discover.mdx +++ b/api_docs/discover.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/discover title: "discover" image: https://source.unsplash.com/400x175/?github description: API docs for the discover plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'discover'] --- import discoverObj from './discover.devdocs.json'; diff --git a/api_docs/discover_enhanced.devdocs.json b/api_docs/discover_enhanced.devdocs.json index 314300166d7f6..eef9ad2018752 100644 --- a/api_docs/discover_enhanced.devdocs.json +++ b/api_docs/discover_enhanced.devdocs.json @@ -18,7 +18,13 @@ "text": "DiscoverEnhancedPlugin" }, " implements ", - "Plugin", + { + "pluginId": "@kbn/core-plugins-browser", + "scope": "common", + "docId": "kibKbnCorePluginsBrowserPluginApi", + "section": "def-common.Plugin", + "text": "Plugin" + }, "" ], "path": "x-pack/plugins/discover_enhanced/public/plugin.ts", @@ -103,7 +115,13 @@ "description": [], "signature": [ "(core: ", - "CoreSetup", + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreSetup", + "text": "CoreSetup" + }, "<", { "pluginId": "discoverEnhanced", @@ -134,7 +152,13 @@ "label": "core", "description": [], "signature": [ - "CoreSetup", + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreSetup", + "text": "CoreSetup" + }, "<", { "pluginId": "discoverEnhanced", @@ -183,7 +207,13 @@ "description": [], "signature": [ "(core: ", - "CoreStart", + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreStart", + "text": "CoreStart" + }, ", plugins: ", { "pluginId": "discoverEnhanced", @@ -206,7 +236,13 @@ "label": "core", "description": [], "signature": [ - "CoreStart" + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreStart", + "text": "CoreStart" + } ], "path": "x-pack/plugins/discover_enhanced/public/plugin.ts", "deprecated": false, diff --git a/api_docs/discover_enhanced.mdx b/api_docs/discover_enhanced.mdx index a5691ef01b484..632109fd67f1f 100644 --- a/api_docs/discover_enhanced.mdx +++ b/api_docs/discover_enhanced.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/discoverEnhanced title: "discoverEnhanced" image: https://source.unsplash.com/400x175/?github description: API docs for the discoverEnhanced plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'discoverEnhanced'] --- import discoverEnhancedObj from './discover_enhanced.devdocs.json'; diff --git a/api_docs/embeddable.devdocs.json b/api_docs/embeddable.devdocs.json index 735d70ccffc5a..359f01ac6cc60 100644 --- a/api_docs/embeddable.devdocs.json +++ b/api_docs/embeddable.devdocs.json @@ -215,7 +215,13 @@ "label": "overlays", "description": [], "signature": [ - "OverlayStart" + { + "pluginId": "@kbn/core-overlays-browser", + "scope": "common", + "docId": "kibKbnCoreOverlaysBrowserPluginApi", + "section": "def-common.OverlayStart", + "text": "OverlayStart" + } ], "path": "src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/add_panel_action.ts", "deprecated": false, @@ -230,7 +236,13 @@ "label": "notifications", "description": [], "signature": [ - "NotificationsStart" + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.NotificationsStart", + "text": "NotificationsStart" + } ], "path": "src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/add_panel_action.ts", "deprecated": false, @@ -260,7 +272,13 @@ "label": "theme", "description": [], "signature": [ - "ThemeServiceStart" + { + "pluginId": "@kbn/core-theme-browser", + "scope": "common", + "docId": "kibKbnCoreThemeBrowserPluginApi", + "section": "def-common.ThemeServiceStart", + "text": "ThemeServiceStart" + } ], "path": "src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/add_panel_action.ts", "deprecated": false, @@ -293,7 +311,7 @@ "label": "getDisplayName", "description": [], "signature": [ - "() => string" + "() => any" ], "path": "src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/add_panel_action.ts", "deprecated": false, @@ -502,7 +520,13 @@ "label": "toasts", "description": [], "signature": [ - "IToasts" + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.IToasts", + "text": "IToasts" + } ], "path": "src/plugins/embeddable/public/lib/attribute_service/attribute_service.tsx", "deprecated": false, @@ -2096,7 +2120,13 @@ "label": "application", "description": [], "signature": [ - "ApplicationStart" + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.ApplicationStart", + "text": "ApplicationStart" + } ], "path": "src/plugins/embeddable/public/lib/actions/edit_panel_action.ts", "deprecated": false, @@ -2151,7 +2181,7 @@ "label": "getDisplayName", "description": [], "signature": [ - "({ embeddable }: ActionContext) => string" + "({ embeddable }: ActionContext) => any" ], "path": "src/plugins/embeddable/public/lib/actions/edit_panel_action.ts", "deprecated": false, @@ -3805,7 +3835,13 @@ "description": [], "signature": [ "(appId: string, options?: ", - "NavigateToAppOptions", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.NavigateToAppOptions", + "text": "NavigateToAppOptions" + }, " | undefined) => Promise" ], "path": "src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", @@ -3838,7 +3874,13 @@ "description": [], "signature": [ "ReadonlyMap | undefined" ], "path": "src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", @@ -4583,7 +4625,13 @@ "text": "IEmbeddable" }, ", T = ", - "SavedObjectAttributes", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectAttributes", + "text": "SavedObjectAttributes" + }, ">(def: ", { "pluginId": "embeddable", @@ -5630,13 +5678,37 @@ "text": "EmbeddableOutput" }, ", any>, unknown>>; overlays: ", - "OverlayStart", + { + "pluginId": "@kbn/core-overlays-browser", + "scope": "common", + "docId": "kibKbnCoreOverlaysBrowserPluginApi", + "section": "def-common.OverlayStart", + "text": "OverlayStart" + }, "; notifications: ", - "NotificationsStart", + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.NotificationsStart", + "text": "NotificationsStart" + }, "; SavedObjectFinder: React.ComponentType; showCreateNewMenu?: boolean | undefined; reportUiCounter?: ((appName: string, type: string, eventNames: string | string[], count?: number | undefined) => void) | undefined; theme: ", - "ThemeServiceStart", + { + "pluginId": "@kbn/core-theme-browser", + "scope": "common", + "docId": "kibKbnCoreThemeBrowserPluginApi", + "section": "def-common.ThemeServiceStart", + "text": "ThemeServiceStart" + }, "; }) => ", - "OverlayRef" + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.OverlayRef", + "text": "OverlayRef" + } ], "path": "src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/open_add_panel_flyout.tsx", "deprecated": false, @@ -5846,7 +5918,13 @@ "label": "overlays", "description": [], "signature": [ - "OverlayStart" + { + "pluginId": "@kbn/core-overlays-browser", + "scope": "common", + "docId": "kibKbnCoreOverlaysBrowserPluginApi", + "section": "def-common.OverlayStart", + "text": "OverlayStart" + } ], "path": "src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/open_add_panel_flyout.tsx", "deprecated": false, @@ -5860,7 +5938,13 @@ "label": "notifications", "description": [], "signature": [ - "NotificationsStart" + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.NotificationsStart", + "text": "NotificationsStart" + } ], "path": "src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/open_add_panel_flyout.tsx", "deprecated": false, @@ -5916,7 +6000,13 @@ "label": "theme", "description": [], "signature": [ - "ThemeServiceStart" + { + "pluginId": "@kbn/core-theme-browser", + "scope": "common", + "docId": "kibKbnCoreThemeBrowserPluginApi", + "section": "def-common.ThemeServiceStart", + "text": "ThemeServiceStart" + } ], "path": "src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/open_add_panel_flyout.tsx", "deprecated": false, @@ -7739,7 +7829,13 @@ ], "signature": [ "() => Promise<", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]>" ], "path": "src/plugins/embeddable/public/lib/filterable_embeddable/types.ts", @@ -7759,9 +7855,21 @@ ], "signature": [ "() => Promise<", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | ", - "AggregateQuery", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.AggregateQuery", + "text": "AggregateQuery" + }, " | undefined>" ], "path": "src/plugins/embeddable/public/lib/filterable_embeddable/types.ts", @@ -9719,9 +9827,21 @@ "text": "ViewMode" }, " | undefined; title?: string | undefined; id: string; lastReloadRequestTime?: number | undefined; hidePanelTitles?: boolean | undefined; enhancements?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; disabledActions?: string[] | undefined; disableTriggers?: boolean | undefined; searchSessionId?: string | undefined; syncColors?: boolean | undefined; syncCursor?: boolean | undefined; syncTooltips?: boolean | undefined; executionContext?: ", - "KibanaExecutionContext", + { + "pluginId": "@kbn/core-execution-context-common", + "scope": "common", + "docId": "kibKbnCoreExecutionContextCommonPluginApi", + "section": "def-common.KibanaExecutionContext", + "text": "KibanaExecutionContext" + }, " | undefined; }" ], "path": "src/plugins/embeddable/common/types.ts", @@ -9926,10 +10046,13 @@ { "parentPluginId": "embeddable", "id": "def-public.contextMenuTrigger.title", - "type": "string", + "type": "Any", "tags": [], "label": "title", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false @@ -9937,10 +10060,13 @@ { "parentPluginId": "embeddable", "id": "def-public.contextMenuTrigger.description", - "type": "string", + "type": "Any", "tags": [], "label": "description", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false @@ -9973,10 +10099,13 @@ { "parentPluginId": "embeddable", "id": "def-public.panelBadgeTrigger.title", - "type": "string", + "type": "Any", "tags": [], "label": "title", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false @@ -9984,10 +10113,13 @@ { "parentPluginId": "embeddable", "id": "def-public.panelBadgeTrigger.description", - "type": "string", + "type": "Any", "tags": [], "label": "description", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false @@ -10020,10 +10152,13 @@ { "parentPluginId": "embeddable", "id": "def-public.panelNotificationTrigger.title", - "type": "string", + "type": "Any", "tags": [], "label": "title", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false @@ -10031,10 +10166,13 @@ { "parentPluginId": "embeddable", "id": "def-public.panelNotificationTrigger.description", - "type": "string", + "type": "Any", "tags": [], "label": "description", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false @@ -10173,7 +10311,13 @@ "text": "EnhancementRegistryDefinition" }, "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">) => void" ], "path": "src/plugins/embeddable/public/plugin.tsx", @@ -10196,7 +10340,13 @@ "text": "EnhancementRegistryDefinition" }, "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">" ], "path": "src/plugins/embeddable/public/plugin.tsx", @@ -10871,7 +11021,13 @@ "text": "EnhancementRegistryDefinition" }, "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">) => void" ], "path": "src/plugins/embeddable/server/plugin.ts", @@ -10894,7 +11050,13 @@ "text": "EnhancementRegistryDefinition" }, "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">" ], "path": "src/plugins/embeddable/server/plugin.ts", @@ -11060,7 +11222,13 @@ "text": "PersistableState" }, "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, "> & { isContainerType: boolean; }" ], "path": "src/plugins/embeddable/common/types.ts", @@ -11102,7 +11270,13 @@ "text": "PersistableState" }, "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">" ], "path": "src/plugins/embeddable/common/types.ts", @@ -11297,9 +11471,21 @@ "text": "ViewMode" }, " | undefined; title?: string | undefined; id: string; lastReloadRequestTime?: number | undefined; hidePanelTitles?: boolean | undefined; enhancements?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; disabledActions?: string[] | undefined; disableTriggers?: boolean | undefined; searchSessionId?: string | undefined; syncColors?: boolean | undefined; syncCursor?: boolean | undefined; syncTooltips?: boolean | undefined; executionContext?: ", - "KibanaExecutionContext", + { + "pluginId": "@kbn/core-execution-context-common", + "scope": "common", + "docId": "kibKbnCoreExecutionContextCommonPluginApi", + "section": "def-common.KibanaExecutionContext", + "text": "KibanaExecutionContext" + }, " | undefined; }" ], "path": "src/plugins/embeddable/common/types.ts", diff --git a/api_docs/embeddable.mdx b/api_docs/embeddable.mdx index c18fddb00d66d..4a502f7ae842e 100644 --- a/api_docs/embeddable.mdx +++ b/api_docs/embeddable.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/embeddable title: "embeddable" image: https://source.unsplash.com/400x175/?github description: API docs for the embeddable plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'embeddable'] --- import embeddableObj from './embeddable.devdocs.json'; @@ -21,7 +21,7 @@ Contact [App Services](https://github.com/orgs/elastic/teams/kibana-app-services | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 510 | 0 | 410 | 4 | +| 510 | 6 | 410 | 4 | ## Client diff --git a/api_docs/embeddable_enhanced.mdx b/api_docs/embeddable_enhanced.mdx index 7cc5fee9f453b..fe7ecdc75b8c5 100644 --- a/api_docs/embeddable_enhanced.mdx +++ b/api_docs/embeddable_enhanced.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/embeddableEnhanced title: "embeddableEnhanced" image: https://source.unsplash.com/400x175/?github description: API docs for the embeddableEnhanced plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'embeddableEnhanced'] --- import embeddableEnhancedObj from './embeddable_enhanced.devdocs.json'; diff --git a/api_docs/encrypted_saved_objects.devdocs.json b/api_docs/encrypted_saved_objects.devdocs.json index b4f1b14017924..544fee0f50554 100644 --- a/api_docs/encrypted_saved_objects.devdocs.json +++ b/api_docs/encrypted_saved_objects.devdocs.json @@ -207,11 +207,29 @@ "description": [], "signature": [ "(encryptedDoc: ", - "SavedObjectUnsanitizedDoc", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectUnsanitizedDoc", + "text": "SavedObjectUnsanitizedDoc" + }, " | ", - "SavedObjectUnsanitizedDoc", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectUnsanitizedDoc", + "text": "SavedObjectUnsanitizedDoc" + }, ") => encryptedDoc is ", - "SavedObjectUnsanitizedDoc", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectUnsanitizedDoc", + "text": "SavedObjectUnsanitizedDoc" + }, "" ], "path": "x-pack/plugins/encrypted_saved_objects/server/create_migration.ts", @@ -227,9 +245,21 @@ "label": "encryptedDoc", "description": [], "signature": [ - "SavedObjectUnsanitizedDoc", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectUnsanitizedDoc", + "text": "SavedObjectUnsanitizedDoc" + }, " | ", - "SavedObjectUnsanitizedDoc", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectUnsanitizedDoc", + "text": "SavedObjectUnsanitizedDoc" + }, "" ], "path": "x-pack/plugins/encrypted_saved_objects/server/create_migration.ts", @@ -247,11 +277,29 @@ "description": [], "signature": [ "(doc: ", - "SavedObjectUnsanitizedDoc", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectUnsanitizedDoc", + "text": "SavedObjectUnsanitizedDoc" + }, ", context: ", - "SavedObjectMigrationContext", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectMigrationContext", + "text": "SavedObjectMigrationContext" + }, ") => ", - "SavedObjectUnsanitizedDoc", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectUnsanitizedDoc", + "text": "SavedObjectUnsanitizedDoc" + }, "" ], "path": "x-pack/plugins/encrypted_saved_objects/server/create_migration.ts", @@ -267,12 +315,17 @@ "label": "doc", "description": [], "signature": [ - "SavedObjectDoc", - " & { references?: ", - "SavedObjectReference", + "SavedObjectDoc & { references?: ", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[] | undefined; }" ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/migration.ts", "deprecated": false, "trackAdoption": false }, @@ -284,9 +337,15 @@ "label": "context", "description": [], "signature": [ - "SavedObjectMigrationContext" + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectMigrationContext", + "text": "SavedObjectMigrationContext" + } ], - "path": "node_modules/@types/kbn__core-saved-objects-server/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-server/src/migration.ts", "deprecated": false, "trackAdoption": false } @@ -371,9 +430,21 @@ "description": [], "signature": [ "(type: string, id: string, options?: ", - "SavedObjectsBaseOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + }, " | undefined) => Promise<", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, ">" ], "path": "x-pack/plugins/encrypted_saved_objects/server/saved_objects/index.ts", @@ -418,7 +489,13 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsBaseOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + }, " | undefined" ], "path": "x-pack/plugins/encrypted_saved_objects/server/saved_objects/index.ts", @@ -440,11 +517,29 @@ ], "signature": [ "(findOptions: ", - "SavedObjectsCreatePointInTimeFinderOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsCreatePointInTimeFinderOptions", + "text": "SavedObjectsCreatePointInTimeFinderOptions" + }, ", dependencies?: ", - "SavedObjectsCreatePointInTimeFinderDependencies", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsCreatePointInTimeFinderDependencies", + "text": "SavedObjectsCreatePointInTimeFinderDependencies" + }, " | undefined) => Promise<", - "ISavedObjectsPointInTimeFinder", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.ISavedObjectsPointInTimeFinder", + "text": "ISavedObjectsPointInTimeFinder" + }, ">" ], "path": "x-pack/plugins/encrypted_saved_objects/server/saved_objects/index.ts", @@ -461,7 +556,13 @@ "matches interface of corresponding argument of Saved Objects API `createPointInTimeFinder` {@link SavedObjectsCreatePointInTimeFinderOptions }" ], "signature": [ - "SavedObjectsCreatePointInTimeFinderOptions" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsCreatePointInTimeFinderOptions", + "text": "SavedObjectsCreatePointInTimeFinderOptions" + } ], "path": "x-pack/plugins/encrypted_saved_objects/server/saved_objects/index.ts", "deprecated": false, @@ -478,7 +579,13 @@ "matches interface of corresponding argument of Saved Objects API `createPointInTimeFinder` {@link SavedObjectsCreatePointInTimeFinderDependencies }" ], "signature": [ - "SavedObjectsCreatePointInTimeFinderDependencies", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsCreatePointInTimeFinderDependencies", + "text": "SavedObjectsCreatePointInTimeFinderDependencies" + }, " | undefined" ], "path": "x-pack/plugins/encrypted_saved_objects/server/saved_objects/index.ts", @@ -711,11 +818,29 @@ "description": [], "signature": [ "(encryptedDoc: ", - "SavedObjectUnsanitizedDoc", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectUnsanitizedDoc", + "text": "SavedObjectUnsanitizedDoc" + }, " | ", - "SavedObjectUnsanitizedDoc", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectUnsanitizedDoc", + "text": "SavedObjectUnsanitizedDoc" + }, ") => encryptedDoc is ", - "SavedObjectUnsanitizedDoc", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectUnsanitizedDoc", + "text": "SavedObjectUnsanitizedDoc" + }, "" ], "path": "x-pack/plugins/encrypted_saved_objects/server/create_migration.ts", @@ -731,9 +856,21 @@ "label": "encryptedDoc", "description": [], "signature": [ - "SavedObjectUnsanitizedDoc", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectUnsanitizedDoc", + "text": "SavedObjectUnsanitizedDoc" + }, " | ", - "SavedObjectUnsanitizedDoc", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectUnsanitizedDoc", + "text": "SavedObjectUnsanitizedDoc" + }, "" ], "path": "x-pack/plugins/encrypted_saved_objects/server/create_migration.ts", diff --git a/api_docs/encrypted_saved_objects.mdx b/api_docs/encrypted_saved_objects.mdx index 10291ce009bd1..0324cb50b3d0d 100644 --- a/api_docs/encrypted_saved_objects.mdx +++ b/api_docs/encrypted_saved_objects.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/encryptedSavedObjects title: "encryptedSavedObjects" image: https://source.unsplash.com/400x175/?github description: API docs for the encryptedSavedObjects plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'encryptedSavedObjects'] --- import encryptedSavedObjectsObj from './encrypted_saved_objects.devdocs.json'; @@ -21,7 +21,7 @@ Contact [Platform Security](https://github.com/orgs/elastic/teams/kibana-securit | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 51 | 0 | 42 | 0 | +| 51 | 0 | 44 | 0 | ## Server diff --git a/api_docs/enterprise_search.devdocs.json b/api_docs/enterprise_search.devdocs.json index b42b4016faf40..d0b72b833d854 100644 --- a/api_docs/enterprise_search.devdocs.json +++ b/api_docs/enterprise_search.devdocs.json @@ -144,21 +144,69 @@ "label": "configSchema", "description": [], "signature": [ - "ObjectType", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ObjectType", + "text": "ObjectType" + }, "<{ accessCheckTimeout: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; accessCheckTimeoutWarning: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; customHeaders: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, " | undefined>; host: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; ssl: ", - "ObjectType", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ObjectType", + "text": "ObjectType" + }, "<{ certificateAuthorities: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; verificationMode: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "<\"none\" | \"full\" | \"certificate\">; }>; }>" ], "path": "x-pack/plugins/enterprise_search/server/index.ts", diff --git a/api_docs/enterprise_search.mdx b/api_docs/enterprise_search.mdx index 9031a5a8d775e..277c1468d6320 100644 --- a/api_docs/enterprise_search.mdx +++ b/api_docs/enterprise_search.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/enterpriseSearch title: "enterpriseSearch" image: https://source.unsplash.com/400x175/?github description: API docs for the enterpriseSearch plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'enterpriseSearch'] --- import enterpriseSearchObj from './enterprise_search.devdocs.json'; diff --git a/api_docs/es_ui_shared.devdocs.json b/api_docs/es_ui_shared.devdocs.json index 45e839be39c55..486bc8199b5a2 100644 --- a/api_docs/es_ui_shared.devdocs.json +++ b/api_docs/es_ui_shared.devdocs.json @@ -561,7 +561,13 @@ "description": [], "signature": [ "(httpClient: ", - "HttpSetup", + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpSetup", + "text": "HttpSetup" + }, ", { path, method, body, query, asSystemRequest }: ", { "pluginId": "esUiShared", @@ -592,7 +598,13 @@ "label": "httpClient", "description": [], "signature": [ - "HttpSetup" + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpSetup", + "text": "HttpSetup" + } ], "path": "src/plugins/es_ui_shared/public/request/send_request.ts", "deprecated": false, @@ -651,7 +663,13 @@ "description": [], "signature": [ "(httpClient: ", - "HttpSetup", + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpSetup", + "text": "HttpSetup" + }, ", { path, method, query, body, pollIntervalMs, initialData, deserializer }: ", { "pluginId": "esUiShared", @@ -682,7 +700,13 @@ "label": "httpClient", "description": [], "signature": [ - "HttpSetup" + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpSetup", + "text": "HttpSetup" + } ], "path": "src/plugins/es_ui_shared/public/request/use_request.ts", "deprecated": false, @@ -1304,7 +1328,13 @@ "label": "query", "description": [], "signature": [ - "HttpFetchQuery", + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpFetchQuery", + "text": "HttpFetchQuery" + }, " | undefined" ], "path": "src/plugins/es_ui_shared/public/request/send_request.ts", @@ -1794,7 +1824,13 @@ ], "signature": [ "({ error, response, handleCustomError, }: EsErrorHandlerParams) => ", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, "" ], "path": "src/plugins/es_ui_shared/__packages_do_not_import__/errors/handle_es_error.ts", diff --git a/api_docs/es_ui_shared.mdx b/api_docs/es_ui_shared.mdx index 7df70102cd79c..f51232e35fc7a 100644 --- a/api_docs/es_ui_shared.mdx +++ b/api_docs/es_ui_shared.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/esUiShared title: "esUiShared" image: https://source.unsplash.com/400x175/?github description: API docs for the esUiShared plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'esUiShared'] --- import esUiSharedObj from './es_ui_shared.devdocs.json'; diff --git a/api_docs/event_annotation.devdocs.json b/api_docs/event_annotation.devdocs.json index 0bf1025c1dd96..ffce75ed34ebc 100644 --- a/api_docs/event_annotation.devdocs.json +++ b/api_docs/event_annotation.devdocs.json @@ -443,7 +443,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/event_annotation/common/event_annotation_group/index.ts", @@ -1028,10 +1034,13 @@ { "parentPluginId": "eventAnnotation", "id": "def-common.manualPointEventAnnotation.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/event_annotation/common/manual_event_annotation/index.ts", "deprecated": false, "trackAdoption": false @@ -1103,10 +1112,13 @@ { "parentPluginId": "eventAnnotation", "id": "def-common.manualPointEventAnnotation.args.id.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/event_annotation/common/manual_event_annotation/index.ts", "deprecated": false, "trackAdoption": false @@ -1141,10 +1153,13 @@ { "parentPluginId": "eventAnnotation", "id": "def-common.manualPointEventAnnotation.args.time.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/event_annotation/common/manual_event_annotation/index.ts", "deprecated": false, "trackAdoption": false @@ -1179,10 +1194,13 @@ { "parentPluginId": "eventAnnotation", "id": "def-common.manualPointEventAnnotation.args.label.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/event_annotation/common/manual_event_annotation/index.ts", "deprecated": false, "trackAdoption": false @@ -1217,10 +1235,13 @@ { "parentPluginId": "eventAnnotation", "id": "def-common.manualPointEventAnnotation.args.color.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/event_annotation/common/manual_event_annotation/index.ts", "deprecated": false, "trackAdoption": false @@ -1269,10 +1290,13 @@ { "parentPluginId": "eventAnnotation", "id": "def-common.manualPointEventAnnotation.args.lineStyle.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/event_annotation/common/manual_event_annotation/index.ts", "deprecated": false, "trackAdoption": false @@ -1307,10 +1331,13 @@ { "parentPluginId": "eventAnnotation", "id": "def-common.manualPointEventAnnotation.args.lineWidth.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/event_annotation/common/manual_event_annotation/index.ts", "deprecated": false, "trackAdoption": false @@ -1345,10 +1372,13 @@ { "parentPluginId": "eventAnnotation", "id": "def-common.manualPointEventAnnotation.args.icon.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/event_annotation/common/manual_event_annotation/index.ts", "deprecated": false, "trackAdoption": false @@ -1411,10 +1441,13 @@ { "parentPluginId": "eventAnnotation", "id": "def-common.manualPointEventAnnotation.args.textVisibility.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/event_annotation/common/manual_event_annotation/index.ts", "deprecated": false, "trackAdoption": false @@ -1449,10 +1482,13 @@ { "parentPluginId": "eventAnnotation", "id": "def-common.manualPointEventAnnotation.args.isHidden.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/event_annotation/common/manual_event_annotation/index.ts", "deprecated": false, "trackAdoption": false @@ -1593,10 +1629,13 @@ { "parentPluginId": "eventAnnotation", "id": "def-common.manualRangeEventAnnotation.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/event_annotation/common/manual_event_annotation/index.ts", "deprecated": false, "trackAdoption": false @@ -1668,10 +1707,13 @@ { "parentPluginId": "eventAnnotation", "id": "def-common.manualRangeEventAnnotation.args.id.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/event_annotation/common/manual_event_annotation/index.ts", "deprecated": false, "trackAdoption": false @@ -1706,10 +1748,13 @@ { "parentPluginId": "eventAnnotation", "id": "def-common.manualRangeEventAnnotation.args.time.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/event_annotation/common/manual_event_annotation/index.ts", "deprecated": false, "trackAdoption": false @@ -1744,10 +1789,13 @@ { "parentPluginId": "eventAnnotation", "id": "def-common.manualRangeEventAnnotation.args.endTime.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/event_annotation/common/manual_event_annotation/index.ts", "deprecated": false, "trackAdoption": false @@ -1848,10 +1896,13 @@ { "parentPluginId": "eventAnnotation", "id": "def-common.manualRangeEventAnnotation.args.label.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/event_annotation/common/manual_event_annotation/index.ts", "deprecated": false, "trackAdoption": false @@ -1886,10 +1937,13 @@ { "parentPluginId": "eventAnnotation", "id": "def-common.manualRangeEventAnnotation.args.color.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/event_annotation/common/manual_event_annotation/index.ts", "deprecated": false, "trackAdoption": false @@ -1924,10 +1978,13 @@ { "parentPluginId": "eventAnnotation", "id": "def-common.manualRangeEventAnnotation.args.isHidden.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/event_annotation/common/manual_event_annotation/index.ts", "deprecated": false, "trackAdoption": false @@ -2048,10 +2105,13 @@ { "parentPluginId": "eventAnnotation", "id": "def-common.queryPointEventAnnotation.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/event_annotation/common/query_point_event_annotation/index.ts", "deprecated": false, "trackAdoption": false @@ -2123,10 +2183,13 @@ { "parentPluginId": "eventAnnotation", "id": "def-common.queryPointEventAnnotation.args.id.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/event_annotation/common/query_point_event_annotation/index.ts", "deprecated": false, "trackAdoption": false @@ -2161,10 +2224,13 @@ { "parentPluginId": "eventAnnotation", "id": "def-common.queryPointEventAnnotation.args.filter.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/event_annotation/common/query_point_event_annotation/index.ts", "deprecated": false, "trackAdoption": false @@ -2213,10 +2279,13 @@ { "parentPluginId": "eventAnnotation", "id": "def-common.queryPointEventAnnotation.args.extraFields.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/event_annotation/common/query_point_event_annotation/index.ts", "deprecated": false, "trackAdoption": false @@ -2251,10 +2320,13 @@ { "parentPluginId": "eventAnnotation", "id": "def-common.queryPointEventAnnotation.args.timeField.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/event_annotation/common/query_point_event_annotation/index.ts", "deprecated": false, "trackAdoption": false @@ -2289,10 +2361,13 @@ { "parentPluginId": "eventAnnotation", "id": "def-common.queryPointEventAnnotation.args.label.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/event_annotation/common/query_point_event_annotation/index.ts", "deprecated": false, "trackAdoption": false @@ -2327,10 +2402,13 @@ { "parentPluginId": "eventAnnotation", "id": "def-common.queryPointEventAnnotation.args.color.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/event_annotation/common/query_point_event_annotation/index.ts", "deprecated": false, "trackAdoption": false @@ -2379,10 +2457,13 @@ { "parentPluginId": "eventAnnotation", "id": "def-common.queryPointEventAnnotation.args.lineStyle.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/event_annotation/common/query_point_event_annotation/index.ts", "deprecated": false, "trackAdoption": false @@ -2417,10 +2498,13 @@ { "parentPluginId": "eventAnnotation", "id": "def-common.queryPointEventAnnotation.args.lineWidth.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/event_annotation/common/query_point_event_annotation/index.ts", "deprecated": false, "trackAdoption": false @@ -2455,10 +2539,13 @@ { "parentPluginId": "eventAnnotation", "id": "def-common.queryPointEventAnnotation.args.icon.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/event_annotation/common/query_point_event_annotation/index.ts", "deprecated": false, "trackAdoption": false @@ -2521,10 +2608,13 @@ { "parentPluginId": "eventAnnotation", "id": "def-common.queryPointEventAnnotation.args.textVisibility.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/event_annotation/common/query_point_event_annotation/index.ts", "deprecated": false, "trackAdoption": false @@ -2559,10 +2649,13 @@ { "parentPluginId": "eventAnnotation", "id": "def-common.queryPointEventAnnotation.args.textField.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/event_annotation/common/query_point_event_annotation/index.ts", "deprecated": false, "trackAdoption": false @@ -2597,10 +2690,13 @@ { "parentPluginId": "eventAnnotation", "id": "def-common.queryPointEventAnnotation.args.isHidden.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/event_annotation/common/query_point_event_annotation/index.ts", "deprecated": false, "trackAdoption": false @@ -2635,10 +2731,13 @@ { "parentPluginId": "eventAnnotation", "id": "def-common.queryPointEventAnnotation.args.ignoreGlobalFilters.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/event_annotation/common/query_point_event_annotation/index.ts", "deprecated": false, "trackAdoption": false diff --git a/api_docs/event_annotation.mdx b/api_docs/event_annotation.mdx index 2fd3458275897..5f24d493feb2e 100644 --- a/api_docs/event_annotation.mdx +++ b/api_docs/event_annotation.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/eventAnnotation title: "eventAnnotation" image: https://source.unsplash.com/400x175/?github description: API docs for the eventAnnotation plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'eventAnnotation'] --- import eventAnnotationObj from './event_annotation.devdocs.json'; @@ -21,7 +21,7 @@ Contact [Vis Editors](https://github.com/orgs/elastic/teams/kibana-vis-editors) | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 174 | 0 | 174 | 3 | +| 174 | 31 | 174 | 3 | ## Client diff --git a/api_docs/event_log.devdocs.json b/api_docs/event_log.devdocs.json index 6018838914f57..01751839f9f65 100644 --- a/api_docs/event_log.devdocs.json +++ b/api_docs/event_log.devdocs.json @@ -1059,7 +1059,13 @@ "description": [], "signature": [ "(type: string, authFilter: ", - "KueryNode", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryNode", + "text": "KueryNode" + }, ", options?: Partial<", "AggregateOptionsType", "> | undefined) => Promise<", @@ -1099,7 +1105,13 @@ "label": "authFilter", "description": [], "signature": [ - "KueryNode" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryNode", + "text": "KueryNode" + } ], "path": "x-pack/plugins/event_log/server/types.ts", "deprecated": false, @@ -1312,7 +1324,7 @@ "label": "data", "description": [], "signature": [ - "(Readonly<{ error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; tags?: string[] | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; user?: Readonly<{ name?: string | undefined; } & {}> | undefined; message?: string | undefined; kibana?: Readonly<{ alert?: Readonly<{ rule?: Readonly<{ consumer?: string | undefined; execution?: Readonly<{ status?: string | undefined; uuid?: string | undefined; metrics?: Readonly<{ number_of_triggered_actions?: string | number | undefined; number_of_generated_actions?: string | number | undefined; alert_counts?: Readonly<{ recovered?: string | number | undefined; active?: string | number | undefined; new?: string | number | undefined; } & {}> | undefined; number_of_searches?: string | number | undefined; total_indexing_duration_ms?: string | number | undefined; es_search_duration_ms?: string | number | undefined; total_search_duration_ms?: string | number | undefined; execution_gap_duration_s?: string | number | undefined; rule_type_run_duration_ms?: string | number | undefined; process_alerts_duration_ms?: string | number | undefined; trigger_actions_duration_ms?: string | number | undefined; process_rule_duration_ms?: string | number | undefined; claim_to_start_duration_ms?: string | number | undefined; prepare_rule_duration_ms?: string | number | undefined; total_run_duration_ms?: string | number | undefined; total_enrichment_duration_ms?: string | number | undefined; } & {}> | undefined; status_order?: string | number | undefined; } & {}> | undefined; rule_type_id?: string | undefined; } & {}> | undefined; } & {}> | undefined; version?: string | undefined; alerting?: Readonly<{ status?: string | undefined; outcome?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; task?: Readonly<{ id?: string | undefined; schedule_delay?: string | number | undefined; scheduled?: string | undefined; } & {}> | undefined; saved_objects?: Readonly<{ type?: string | undefined; id?: string | undefined; namespace?: string | undefined; rel?: string | undefined; type_id?: string | undefined; } & {}>[] | undefined; space_ids?: string[] | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; rule?: Readonly<{ name?: string | undefined; description?: string | undefined; category?: string | undefined; id?: string | undefined; uuid?: string | undefined; version?: string | undefined; license?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; } & {}> | undefined; event?: Readonly<{ start?: string | undefined; category?: string[] | undefined; type?: string[] | undefined; id?: string | undefined; created?: string | undefined; outcome?: string | undefined; end?: string | undefined; original?: string | undefined; duration?: string | number | undefined; code?: string | undefined; url?: string | undefined; action?: string | undefined; kind?: string | undefined; hash?: string | undefined; severity?: string | number | undefined; dataset?: string | undefined; ingested?: string | undefined; module?: string | undefined; provider?: string | undefined; reason?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: string | number | undefined; timezone?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; } & {}> | undefined)[]" + "(Readonly<{ error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; tags?: string[] | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; user?: Readonly<{ name?: string | undefined; } & {}> | undefined; message?: string | undefined; kibana?: Readonly<{ alert?: Readonly<{ rule?: Readonly<{ consumer?: string | undefined; execution?: Readonly<{ status?: string | undefined; uuid?: string | undefined; metrics?: Readonly<{ number_of_triggered_actions?: string | number | undefined; number_of_generated_actions?: string | number | undefined; alert_counts?: Readonly<{ recovered?: string | number | undefined; active?: string | number | undefined; new?: string | number | undefined; } & {}> | undefined; number_of_searches?: string | number | undefined; total_indexing_duration_ms?: string | number | undefined; es_search_duration_ms?: string | number | undefined; total_search_duration_ms?: string | number | undefined; execution_gap_duration_s?: string | number | undefined; rule_type_run_duration_ms?: string | number | undefined; process_alerts_duration_ms?: string | number | undefined; trigger_actions_duration_ms?: string | number | undefined; process_rule_duration_ms?: string | number | undefined; claim_to_start_duration_ms?: string | number | undefined; prepare_rule_duration_ms?: string | number | undefined; total_run_duration_ms?: string | number | undefined; total_enrichment_duration_ms?: string | number | undefined; } & {}> | undefined; status_order?: string | number | undefined; } & {}> | undefined; rule_type_id?: string | undefined; } & {}> | undefined; } & {}> | undefined; version?: string | undefined; alerting?: Readonly<{ status?: string | undefined; outcome?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; task?: Readonly<{ id?: string | undefined; schedule_delay?: string | number | undefined; scheduled?: string | undefined; } & {}> | undefined; saved_objects?: Readonly<{ type?: string | undefined; id?: string | undefined; namespace?: string | undefined; rel?: string | undefined; type_id?: string | undefined; } & {}>[] | undefined; space_ids?: string[] | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; rule?: Readonly<{ name?: string | undefined; description?: string | undefined; category?: string | undefined; id?: string | undefined; uuid?: string | undefined; version?: string | undefined; license?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; } & {}> | undefined; event?: Readonly<{ start?: string | undefined; category?: string[] | undefined; type?: string[] | undefined; id?: string | undefined; reason?: string | undefined; created?: string | undefined; outcome?: string | undefined; end?: string | undefined; original?: string | undefined; duration?: string | number | undefined; code?: string | undefined; url?: string | undefined; action?: string | undefined; kind?: string | undefined; hash?: string | undefined; severity?: string | number | undefined; dataset?: string | undefined; ingested?: string | undefined; module?: string | undefined; provider?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: string | number | undefined; timezone?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; } & {}> | undefined)[]" ], "path": "x-pack/plugins/event_log/server/es/cluster_client_adapter.ts", "deprecated": false, @@ -1332,7 +1344,7 @@ "label": "IEvent", "description": [], "signature": [ - "DeepPartial | undefined; tags?: string[] | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; user?: Readonly<{ name?: string | undefined; } & {}> | undefined; message?: string | undefined; kibana?: Readonly<{ alert?: Readonly<{ rule?: Readonly<{ consumer?: string | undefined; execution?: Readonly<{ status?: string | undefined; uuid?: string | undefined; metrics?: Readonly<{ number_of_triggered_actions?: string | number | undefined; number_of_generated_actions?: string | number | undefined; alert_counts?: Readonly<{ recovered?: string | number | undefined; active?: string | number | undefined; new?: string | number | undefined; } & {}> | undefined; number_of_searches?: string | number | undefined; total_indexing_duration_ms?: string | number | undefined; es_search_duration_ms?: string | number | undefined; total_search_duration_ms?: string | number | undefined; execution_gap_duration_s?: string | number | undefined; rule_type_run_duration_ms?: string | number | undefined; process_alerts_duration_ms?: string | number | undefined; trigger_actions_duration_ms?: string | number | undefined; process_rule_duration_ms?: string | number | undefined; claim_to_start_duration_ms?: string | number | undefined; prepare_rule_duration_ms?: string | number | undefined; total_run_duration_ms?: string | number | undefined; total_enrichment_duration_ms?: string | number | undefined; } & {}> | undefined; status_order?: string | number | undefined; } & {}> | undefined; rule_type_id?: string | undefined; } & {}> | undefined; } & {}> | undefined; version?: string | undefined; alerting?: Readonly<{ status?: string | undefined; outcome?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; task?: Readonly<{ id?: string | undefined; schedule_delay?: string | number | undefined; scheduled?: string | undefined; } & {}> | undefined; saved_objects?: Readonly<{ type?: string | undefined; id?: string | undefined; namespace?: string | undefined; rel?: string | undefined; type_id?: string | undefined; } & {}>[] | undefined; space_ids?: string[] | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; rule?: Readonly<{ name?: string | undefined; description?: string | undefined; category?: string | undefined; id?: string | undefined; uuid?: string | undefined; version?: string | undefined; license?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; } & {}> | undefined; event?: Readonly<{ start?: string | undefined; category?: string[] | undefined; type?: string[] | undefined; id?: string | undefined; created?: string | undefined; outcome?: string | undefined; end?: string | undefined; original?: string | undefined; duration?: string | number | undefined; code?: string | undefined; url?: string | undefined; action?: string | undefined; kind?: string | undefined; hash?: string | undefined; severity?: string | number | undefined; dataset?: string | undefined; ingested?: string | undefined; module?: string | undefined; provider?: string | undefined; reason?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: string | number | undefined; timezone?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; } & {}>>> | undefined" + "DeepPartial | undefined; tags?: string[] | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; user?: Readonly<{ name?: string | undefined; } & {}> | undefined; message?: string | undefined; kibana?: Readonly<{ alert?: Readonly<{ rule?: Readonly<{ consumer?: string | undefined; execution?: Readonly<{ status?: string | undefined; uuid?: string | undefined; metrics?: Readonly<{ number_of_triggered_actions?: string | number | undefined; number_of_generated_actions?: string | number | undefined; alert_counts?: Readonly<{ recovered?: string | number | undefined; active?: string | number | undefined; new?: string | number | undefined; } & {}> | undefined; number_of_searches?: string | number | undefined; total_indexing_duration_ms?: string | number | undefined; es_search_duration_ms?: string | number | undefined; total_search_duration_ms?: string | number | undefined; execution_gap_duration_s?: string | number | undefined; rule_type_run_duration_ms?: string | number | undefined; process_alerts_duration_ms?: string | number | undefined; trigger_actions_duration_ms?: string | number | undefined; process_rule_duration_ms?: string | number | undefined; claim_to_start_duration_ms?: string | number | undefined; prepare_rule_duration_ms?: string | number | undefined; total_run_duration_ms?: string | number | undefined; total_enrichment_duration_ms?: string | number | undefined; } & {}> | undefined; status_order?: string | number | undefined; } & {}> | undefined; rule_type_id?: string | undefined; } & {}> | undefined; } & {}> | undefined; version?: string | undefined; alerting?: Readonly<{ status?: string | undefined; outcome?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; task?: Readonly<{ id?: string | undefined; schedule_delay?: string | number | undefined; scheduled?: string | undefined; } & {}> | undefined; saved_objects?: Readonly<{ type?: string | undefined; id?: string | undefined; namespace?: string | undefined; rel?: string | undefined; type_id?: string | undefined; } & {}>[] | undefined; space_ids?: string[] | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; rule?: Readonly<{ name?: string | undefined; description?: string | undefined; category?: string | undefined; id?: string | undefined; uuid?: string | undefined; version?: string | undefined; license?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; } & {}> | undefined; event?: Readonly<{ start?: string | undefined; category?: string[] | undefined; type?: string[] | undefined; id?: string | undefined; reason?: string | undefined; created?: string | undefined; outcome?: string | undefined; end?: string | undefined; original?: string | undefined; duration?: string | number | undefined; code?: string | undefined; url?: string | undefined; action?: string | undefined; kind?: string | undefined; hash?: string | undefined; severity?: string | number | undefined; dataset?: string | undefined; ingested?: string | undefined; module?: string | undefined; provider?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: string | number | undefined; timezone?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; } & {}>>> | undefined" ], "path": "x-pack/plugins/event_log/generated/schemas.ts", "deprecated": false, @@ -1347,7 +1359,7 @@ "label": "IValidatedEvent", "description": [], "signature": [ - "Readonly<{ error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; tags?: string[] | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; user?: Readonly<{ name?: string | undefined; } & {}> | undefined; message?: string | undefined; kibana?: Readonly<{ alert?: Readonly<{ rule?: Readonly<{ consumer?: string | undefined; execution?: Readonly<{ status?: string | undefined; uuid?: string | undefined; metrics?: Readonly<{ number_of_triggered_actions?: string | number | undefined; number_of_generated_actions?: string | number | undefined; alert_counts?: Readonly<{ recovered?: string | number | undefined; active?: string | number | undefined; new?: string | number | undefined; } & {}> | undefined; number_of_searches?: string | number | undefined; total_indexing_duration_ms?: string | number | undefined; es_search_duration_ms?: string | number | undefined; total_search_duration_ms?: string | number | undefined; execution_gap_duration_s?: string | number | undefined; rule_type_run_duration_ms?: string | number | undefined; process_alerts_duration_ms?: string | number | undefined; trigger_actions_duration_ms?: string | number | undefined; process_rule_duration_ms?: string | number | undefined; claim_to_start_duration_ms?: string | number | undefined; prepare_rule_duration_ms?: string | number | undefined; total_run_duration_ms?: string | number | undefined; total_enrichment_duration_ms?: string | number | undefined; } & {}> | undefined; status_order?: string | number | undefined; } & {}> | undefined; rule_type_id?: string | undefined; } & {}> | undefined; } & {}> | undefined; version?: string | undefined; alerting?: Readonly<{ status?: string | undefined; outcome?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; task?: Readonly<{ id?: string | undefined; schedule_delay?: string | number | undefined; scheduled?: string | undefined; } & {}> | undefined; saved_objects?: Readonly<{ type?: string | undefined; id?: string | undefined; namespace?: string | undefined; rel?: string | undefined; type_id?: string | undefined; } & {}>[] | undefined; space_ids?: string[] | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; rule?: Readonly<{ name?: string | undefined; description?: string | undefined; category?: string | undefined; id?: string | undefined; uuid?: string | undefined; version?: string | undefined; license?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; } & {}> | undefined; event?: Readonly<{ start?: string | undefined; category?: string[] | undefined; type?: string[] | undefined; id?: string | undefined; created?: string | undefined; outcome?: string | undefined; end?: string | undefined; original?: string | undefined; duration?: string | number | undefined; code?: string | undefined; url?: string | undefined; action?: string | undefined; kind?: string | undefined; hash?: string | undefined; severity?: string | number | undefined; dataset?: string | undefined; ingested?: string | undefined; module?: string | undefined; provider?: string | undefined; reason?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: string | number | undefined; timezone?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; } & {}> | undefined" + "Readonly<{ error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; tags?: string[] | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; user?: Readonly<{ name?: string | undefined; } & {}> | undefined; message?: string | undefined; kibana?: Readonly<{ alert?: Readonly<{ rule?: Readonly<{ consumer?: string | undefined; execution?: Readonly<{ status?: string | undefined; uuid?: string | undefined; metrics?: Readonly<{ number_of_triggered_actions?: string | number | undefined; number_of_generated_actions?: string | number | undefined; alert_counts?: Readonly<{ recovered?: string | number | undefined; active?: string | number | undefined; new?: string | number | undefined; } & {}> | undefined; number_of_searches?: string | number | undefined; total_indexing_duration_ms?: string | number | undefined; es_search_duration_ms?: string | number | undefined; total_search_duration_ms?: string | number | undefined; execution_gap_duration_s?: string | number | undefined; rule_type_run_duration_ms?: string | number | undefined; process_alerts_duration_ms?: string | number | undefined; trigger_actions_duration_ms?: string | number | undefined; process_rule_duration_ms?: string | number | undefined; claim_to_start_duration_ms?: string | number | undefined; prepare_rule_duration_ms?: string | number | undefined; total_run_duration_ms?: string | number | undefined; total_enrichment_duration_ms?: string | number | undefined; } & {}> | undefined; status_order?: string | number | undefined; } & {}> | undefined; rule_type_id?: string | undefined; } & {}> | undefined; } & {}> | undefined; version?: string | undefined; alerting?: Readonly<{ status?: string | undefined; outcome?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; task?: Readonly<{ id?: string | undefined; schedule_delay?: string | number | undefined; scheduled?: string | undefined; } & {}> | undefined; saved_objects?: Readonly<{ type?: string | undefined; id?: string | undefined; namespace?: string | undefined; rel?: string | undefined; type_id?: string | undefined; } & {}>[] | undefined; space_ids?: string[] | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; rule?: Readonly<{ name?: string | undefined; description?: string | undefined; category?: string | undefined; id?: string | undefined; uuid?: string | undefined; version?: string | undefined; license?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; } & {}> | undefined; event?: Readonly<{ start?: string | undefined; category?: string[] | undefined; type?: string[] | undefined; id?: string | undefined; reason?: string | undefined; created?: string | undefined; outcome?: string | undefined; end?: string | undefined; original?: string | undefined; duration?: string | number | undefined; code?: string | undefined; url?: string | undefined; action?: string | undefined; kind?: string | undefined; hash?: string | undefined; severity?: string | number | undefined; dataset?: string | undefined; ingested?: string | undefined; module?: string | undefined; provider?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: string | number | undefined; timezone?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; } & {}> | undefined" ], "path": "x-pack/plugins/event_log/generated/schemas.ts", "deprecated": false, @@ -1670,7 +1682,13 @@ "description": [], "signature": [ "(request: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ") => ", { "pluginId": "eventLog", @@ -1692,7 +1710,13 @@ "label": "request", "description": [], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "" ], "path": "x-pack/plugins/event_log/server/types.ts", diff --git a/api_docs/event_log.mdx b/api_docs/event_log.mdx index 1796f797b4a9a..3cb72270da855 100644 --- a/api_docs/event_log.mdx +++ b/api_docs/event_log.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/eventLog title: "eventLog" image: https://source.unsplash.com/400x175/?github description: API docs for the eventLog plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'eventLog'] --- import eventLogObj from './event_log.devdocs.json'; diff --git a/api_docs/expression_error.devdocs.json b/api_docs/expression_error.devdocs.json index 22e172552744a..e7816c0a58eb7 100644 --- a/api_docs/expression_error.devdocs.json +++ b/api_docs/expression_error.devdocs.json @@ -12,7 +12,13 @@ "description": [], "signature": [ "(core: ", - "CoreSetup", + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreSetup", + "text": "CoreSetup" + }, ") => () => ", { "pluginId": "expressions", @@ -35,7 +41,13 @@ "label": "core", "description": [], "signature": [ - "CoreSetup", + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreSetup", + "text": "CoreSetup" + }, "" ], "path": "src/plugins/expression_error/public/expression_renderers/debug_renderer.tsx", @@ -56,7 +68,13 @@ "description": [], "signature": [ "(core: ", - "CoreSetup", + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreSetup", + "text": "CoreSetup" + }, ") => () => ", { "pluginId": "expressions", @@ -81,7 +99,13 @@ "label": "core", "description": [], "signature": [ - "CoreSetup", + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreSetup", + "text": "CoreSetup" + }, "" ], "path": "src/plugins/expression_error/public/expression_renderers/error_renderer.tsx", @@ -104,7 +128,13 @@ "(theme$?: ", "Observable", "<", - "CoreTheme", + { + "pluginId": "@kbn/core-theme-browser", + "scope": "common", + "docId": "kibKbnCoreThemeBrowserPluginApi", + "section": "def-common.CoreTheme", + "text": "CoreTheme" + }, ">) => () => ", { "pluginId": "expressions", @@ -129,7 +159,13 @@ "signature": [ "Observable", "<", - "CoreTheme", + { + "pluginId": "@kbn/core-theme-browser", + "scope": "common", + "docId": "kibKbnCoreThemeBrowserPluginApi", + "section": "def-common.CoreTheme", + "text": "CoreTheme" + }, ">" ], "path": "src/plugins/expression_error/public/expression_renderers/debug_renderer.tsx", @@ -152,7 +188,13 @@ "(theme$?: ", "Observable", "<", - "CoreTheme", + { + "pluginId": "@kbn/core-theme-browser", + "scope": "common", + "docId": "kibKbnCoreThemeBrowserPluginApi", + "section": "def-common.CoreTheme", + "text": "CoreTheme" + }, ">) => () => ", { "pluginId": "expressions", @@ -179,7 +221,13 @@ "signature": [ "Observable", "<", - "CoreTheme", + { + "pluginId": "@kbn/core-theme-browser", + "scope": "common", + "docId": "kibKbnCoreThemeBrowserPluginApi", + "section": "def-common.CoreTheme", + "text": "CoreTheme" + }, ">" ], "path": "src/plugins/expression_error/public/expression_renderers/error_renderer.tsx", diff --git a/api_docs/expression_error.mdx b/api_docs/expression_error.mdx index 0aa72d2023c10..25b039cbf9231 100644 --- a/api_docs/expression_error.mdx +++ b/api_docs/expression_error.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionError title: "expressionError" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionError plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionError'] --- import expressionErrorObj from './expression_error.devdocs.json'; diff --git a/api_docs/expression_gauge.devdocs.json b/api_docs/expression_gauge.devdocs.json index 7869c0eedcb1c..0caa768a67009 100644 --- a/api_docs/expression_gauge.devdocs.json +++ b/api_docs/expression_gauge.devdocs.json @@ -106,7 +106,13 @@ "text": "Accessors" }, " | undefined, paletteParams?: ", - "CustomPaletteParams", + { + "pluginId": "@kbn/coloring", + "scope": "common", + "docId": "kibKbnColoringPluginApi", + "section": "def-common.CustomPaletteParams", + "text": "CustomPaletteParams" + }, " | undefined, isRespectRanges?: boolean | undefined) => number" ], "path": "src/plugins/chart_expressions/expression_gauge/public/components/utils/accessors.ts", @@ -165,7 +171,13 @@ "label": "paletteParams", "description": [], "signature": [ - "CustomPaletteParams", + { + "pluginId": "@kbn/coloring", + "scope": "common", + "docId": "kibKbnColoringPluginApi", + "section": "def-common.CustomPaletteParams", + "text": "CustomPaletteParams" + }, " | undefined" ], "path": "src/plugins/chart_expressions/expression_gauge/public/components/utils/accessors.ts", @@ -217,7 +229,13 @@ "text": "Accessors" }, " | undefined, paletteParams?: ", - "CustomPaletteParams", + { + "pluginId": "@kbn/coloring", + "scope": "common", + "docId": "kibKbnColoringPluginApi", + "section": "def-common.CustomPaletteParams", + "text": "CustomPaletteParams" + }, " | undefined, isRespectRanges?: boolean | undefined) => any" ], "path": "src/plugins/chart_expressions/expression_gauge/public/components/utils/accessors.ts", @@ -276,7 +294,13 @@ "label": "paletteParams", "description": [], "signature": [ - "CustomPaletteParams", + { + "pluginId": "@kbn/coloring", + "scope": "common", + "docId": "kibKbnColoringPluginApi", + "section": "def-common.CustomPaletteParams", + "text": "CustomPaletteParams" + }, " | undefined" ], "path": "src/plugins/chart_expressions/expression_gauge/public/components/utils/accessors.ts", @@ -536,7 +560,13 @@ "; colorMode: ", "GaugeColorMode", "; palette?: ", - "PaletteOutput", + { + "pluginId": "@kbn/coloring", + "scope": "common", + "docId": "kibKbnColoringPluginApi", + "section": "def-common.PaletteOutput", + "text": "PaletteOutput" + }, "<", { "pluginId": "charts", @@ -772,9 +802,21 @@ "label": "palette", "description": [], "signature": [ - "PaletteOutput", + { + "pluginId": "@kbn/coloring", + "scope": "common", + "docId": "kibKbnColoringPluginApi", + "section": "def-common.PaletteOutput", + "text": "PaletteOutput" + }, "<", - "CustomPaletteParams", + { + "pluginId": "@kbn/coloring", + "scope": "common", + "docId": "kibKbnColoringPluginApi", + "section": "def-common.CustomPaletteParams", + "text": "CustomPaletteParams" + }, "> | undefined" ], "path": "src/plugins/chart_expressions/expression_gauge/common/types/expression_functions.ts", @@ -883,7 +925,13 @@ "text": "SerializedFieldFormat" }, "<{}, ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, "> | undefined) => ", { "pluginId": "fieldFormats", @@ -914,7 +962,13 @@ "text": "SerializedFieldFormat" }, "<{}, ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, "> | undefined" ], "path": "src/plugins/chart_expressions/expression_gauge/common/types/expression_renderers.ts", @@ -950,7 +1004,13 @@ "; colorMode: ", "GaugeColorMode", "; palette?: ", - "PaletteOutput", + { + "pluginId": "@kbn/coloring", + "scope": "common", + "docId": "kibKbnColoringPluginApi", + "section": "def-common.PaletteOutput", + "text": "PaletteOutput" + }, "<", { "pluginId": "charts", @@ -1030,7 +1090,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/chart_expressions/expression_gauge/common/types/expression_functions.ts", @@ -1079,7 +1145,13 @@ "; chartsThemeService: ", "Theme", "; paletteService: ", - "PaletteRegistry", + { + "pluginId": "@kbn/coloring", + "scope": "common", + "docId": "kibKbnColoringPluginApi", + "section": "def-common.PaletteRegistry", + "text": "PaletteRegistry" + }, "; renderComplete: () => void; uiState: ", { "pluginId": "visualizations", diff --git a/api_docs/expression_gauge.mdx b/api_docs/expression_gauge.mdx index 58ceede7c2082..d5624f7424f55 100644 --- a/api_docs/expression_gauge.mdx +++ b/api_docs/expression_gauge.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionGauge title: "expressionGauge" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionGauge plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionGauge'] --- import expressionGaugeObj from './expression_gauge.devdocs.json'; diff --git a/api_docs/expression_heatmap.devdocs.json b/api_docs/expression_heatmap.devdocs.json index a6c8b1f56ef39..79c0b1665724a 100644 --- a/api_docs/expression_heatmap.devdocs.json +++ b/api_docs/expression_heatmap.devdocs.json @@ -214,7 +214,13 @@ "label": "palette", "description": [], "signature": [ - "PaletteOutput", + { + "pluginId": "@kbn/coloring", + "scope": "common", + "docId": "kibKbnColoringPluginApi", + "section": "def-common.PaletteOutput", + "text": "PaletteOutput" + }, "<", { "pluginId": "charts", @@ -511,7 +517,13 @@ "text": "SerializedFieldFormat" }, "<{}, ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, "> | undefined) => ", { "pluginId": "fieldFormats", @@ -542,7 +554,13 @@ "text": "SerializedFieldFormat" }, "<{}, ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, "> | undefined" ], "path": "src/plugins/chart_expressions/expression_heatmap/common/types/expression_renderers.ts", @@ -636,7 +654,13 @@ "text": "Datatable" }, "; column: number; range: number[]; timeFieldName?: string | undefined; }) => void; paletteService: ", - "PaletteRegistry", + { + "pluginId": "@kbn/coloring", + "scope": "common", + "docId": "kibKbnColoringPluginApi", + "section": "def-common.PaletteRegistry", + "text": "PaletteRegistry" + }, "; uiState: ", { "pluginId": "visualizations", @@ -803,10 +827,13 @@ { "parentPluginId": "expressionHeatmap", "id": "def-common.heatmapGridConfig.args.strokeWidth.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/chart_expressions/expression_heatmap/common/expression_functions/heatmap_grid.ts", "deprecated": false, "trackAdoption": false @@ -855,10 +882,13 @@ { "parentPluginId": "expressionHeatmap", "id": "def-common.heatmapGridConfig.args.strokeColor.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/chart_expressions/expression_heatmap/common/expression_functions/heatmap_grid.ts", "deprecated": false, "trackAdoption": false @@ -909,10 +939,13 @@ { "parentPluginId": "expressionHeatmap", "id": "def-common.heatmapGridConfig.args.isCellLabelVisible.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/chart_expressions/expression_heatmap/common/expression_functions/heatmap_grid.ts", "deprecated": false, "trackAdoption": false @@ -949,10 +982,13 @@ { "parentPluginId": "expressionHeatmap", "id": "def-common.heatmapGridConfig.args.isYAxisLabelVisible.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/chart_expressions/expression_heatmap/common/expression_functions/heatmap_grid.ts", "deprecated": false, "trackAdoption": false @@ -987,10 +1023,13 @@ { "parentPluginId": "expressionHeatmap", "id": "def-common.heatmapGridConfig.args.isYAxisTitleVisible.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/chart_expressions/expression_heatmap/common/expression_functions/heatmap_grid.ts", "deprecated": false, "trackAdoption": false @@ -1025,10 +1064,13 @@ { "parentPluginId": "expressionHeatmap", "id": "def-common.heatmapGridConfig.args.yTitle.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/chart_expressions/expression_heatmap/common/expression_functions/heatmap_grid.ts", "deprecated": false, "trackAdoption": false @@ -1079,10 +1121,13 @@ { "parentPluginId": "expressionHeatmap", "id": "def-common.heatmapGridConfig.args.isXAxisLabelVisible.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/chart_expressions/expression_heatmap/common/expression_functions/heatmap_grid.ts", "deprecated": false, "trackAdoption": false @@ -1117,10 +1162,13 @@ { "parentPluginId": "expressionHeatmap", "id": "def-common.heatmapGridConfig.args.isXAxisTitleVisible.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/chart_expressions/expression_heatmap/common/expression_functions/heatmap_grid.ts", "deprecated": false, "trackAdoption": false @@ -1155,10 +1203,13 @@ { "parentPluginId": "expressionHeatmap", "id": "def-common.heatmapGridConfig.args.xTitle.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/chart_expressions/expression_heatmap/common/expression_functions/heatmap_grid.ts", "deprecated": false, "trackAdoption": false @@ -1350,10 +1401,13 @@ { "parentPluginId": "expressionHeatmap", "id": "def-common.heatmapLegendConfig.args.isVisible.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/chart_expressions/expression_heatmap/common/expression_functions/heatmap_legend.ts", "deprecated": false, "trackAdoption": false @@ -1416,10 +1470,13 @@ { "parentPluginId": "expressionHeatmap", "id": "def-common.heatmapLegendConfig.args.position.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/chart_expressions/expression_heatmap/common/expression_functions/heatmap_legend.ts", "deprecated": false, "trackAdoption": false @@ -1468,10 +1525,13 @@ { "parentPluginId": "expressionHeatmap", "id": "def-common.heatmapLegendConfig.args.maxLines.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/chart_expressions/expression_heatmap/common/expression_functions/heatmap_legend.ts", "deprecated": false, "trackAdoption": false @@ -1520,10 +1580,13 @@ { "parentPluginId": "expressionHeatmap", "id": "def-common.heatmapLegendConfig.args.shouldTruncate.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/chart_expressions/expression_heatmap/common/expression_functions/heatmap_legend.ts", "deprecated": false, "trackAdoption": false @@ -1578,10 +1641,13 @@ { "parentPluginId": "expressionHeatmap", "id": "def-common.heatmapLegendConfig.args.legendSize.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/chart_expressions/expression_heatmap/common/expression_functions/heatmap_legend.ts", "deprecated": false, "trackAdoption": false diff --git a/api_docs/expression_heatmap.mdx b/api_docs/expression_heatmap.mdx index 97cd3c9ae6f1e..350203305fc10 100644 --- a/api_docs/expression_heatmap.mdx +++ b/api_docs/expression_heatmap.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionHeatmap title: "expressionHeatmap" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionHeatmap plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionHeatmap'] --- import expressionHeatmapObj from './expression_heatmap.devdocs.json'; @@ -21,7 +21,7 @@ Contact [Vis Editors](https://github.com/orgs/elastic/teams/kibana-vis-editors) | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 108 | 0 | 104 | 3 | +| 108 | 14 | 104 | 3 | ## Common diff --git a/api_docs/expression_image.devdocs.json b/api_docs/expression_image.devdocs.json index e3cac954d378b..afa9495151e3f 100644 --- a/api_docs/expression_image.devdocs.json +++ b/api_docs/expression_image.devdocs.json @@ -14,7 +14,13 @@ "(theme$?: ", "Observable", "<", - "CoreTheme", + { + "pluginId": "@kbn/core-theme-browser", + "scope": "common", + "docId": "kibKbnCoreThemeBrowserPluginApi", + "section": "def-common.CoreTheme", + "text": "CoreTheme" + }, ">) => () => ", { "pluginId": "expressions", @@ -47,7 +53,13 @@ "signature": [ "Observable", "<", - "CoreTheme", + { + "pluginId": "@kbn/core-theme-browser", + "scope": "common", + "docId": "kibKbnCoreThemeBrowserPluginApi", + "section": "def-common.CoreTheme", + "text": "CoreTheme" + }, ">" ], "path": "src/plugins/expression_image/public/expression_renderers/image_renderer.tsx", @@ -68,7 +80,13 @@ "description": [], "signature": [ "(core: ", - "CoreSetup", + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreSetup", + "text": "CoreSetup" + }, ") => () => ", { "pluginId": "expressions", @@ -99,7 +117,13 @@ "label": "core", "description": [], "signature": [ - "CoreSetup", + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreSetup", + "text": "CoreSetup" + }, "" ], "path": "src/plugins/expression_image/public/expression_renderers/image_renderer.tsx", @@ -383,7 +407,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expression_image/common/types/expression_functions.ts", diff --git a/api_docs/expression_image.mdx b/api_docs/expression_image.mdx index b20d974047f74..d82326b1fe860 100644 --- a/api_docs/expression_image.mdx +++ b/api_docs/expression_image.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionImage title: "expressionImage" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionImage plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionImage'] --- import expressionImageObj from './expression_image.devdocs.json'; diff --git a/api_docs/expression_legacy_metric_vis.devdocs.json b/api_docs/expression_legacy_metric_vis.devdocs.json index e1dc4542035a7..c69921b83f054 100644 --- a/api_docs/expression_legacy_metric_vis.devdocs.json +++ b/api_docs/expression_legacy_metric_vis.devdocs.json @@ -158,7 +158,13 @@ "label": "palette", "description": [], "signature": [ - "PaletteOutput", + { + "pluginId": "@kbn/coloring", + "scope": "common", + "docId": "kibKbnColoringPluginApi", + "section": "def-common.PaletteOutput", + "text": "PaletteOutput" + }, "<", { "pluginId": "charts", @@ -837,7 +843,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/chart_expressions/expression_legacy_metric/common/types/expression_functions.ts", diff --git a/api_docs/expression_legacy_metric_vis.mdx b/api_docs/expression_legacy_metric_vis.mdx index 585c31a8423f0..7f4aaaed07260 100644 --- a/api_docs/expression_legacy_metric_vis.mdx +++ b/api_docs/expression_legacy_metric_vis.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionLegacyMetricVis title: "expressionLegacyMetricVis" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionLegacyMetricVis plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionLegacyMetricVis'] --- import expressionLegacyMetricVisObj from './expression_legacy_metric_vis.devdocs.json'; diff --git a/api_docs/expression_metric.devdocs.json b/api_docs/expression_metric.devdocs.json index 8734065695431..8b7be7c3410f7 100644 --- a/api_docs/expression_metric.devdocs.json +++ b/api_docs/expression_metric.devdocs.json @@ -14,7 +14,13 @@ "(theme$?: ", "Observable", "<", - "CoreTheme", + { + "pluginId": "@kbn/core-theme-browser", + "scope": "common", + "docId": "kibKbnCoreThemeBrowserPluginApi", + "section": "def-common.CoreTheme", + "text": "CoreTheme" + }, ">) => () => ", { "pluginId": "expressions", @@ -47,7 +53,13 @@ "signature": [ "Observable", "<", - "CoreTheme", + { + "pluginId": "@kbn/core-theme-browser", + "scope": "common", + "docId": "kibKbnCoreThemeBrowserPluginApi", + "section": "def-common.CoreTheme", + "text": "CoreTheme" + }, ">" ], "path": "src/plugins/expression_metric/public/expression_renderers/metric_renderer.tsx", @@ -68,7 +80,13 @@ "description": [], "signature": [ "(core: ", - "CoreSetup", + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreSetup", + "text": "CoreSetup" + }, ") => () => ", { "pluginId": "expressions", @@ -99,7 +117,13 @@ "label": "core", "description": [], "signature": [ - "CoreSetup", + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreSetup", + "text": "CoreSetup" + }, "" ], "path": "src/plugins/expression_metric/public/expression_renderers/metric_renderer.tsx", @@ -168,7 +192,7 @@ "label": "metricFunction", "description": [], "signature": [ - "() => { name: \"metric\"; aliases: never[]; type: \"render\"; inputTypes: (\"number\" | \"null\" | \"string\")[]; help: string; args: { label: { types: \"string\"[]; aliases: string[]; help: string; default: string; }; labelFont: { types: \"style\"[]; help: string; default: string; }; metricFont: { types: \"style\"[]; help: string; default: string; }; metricFormat: { types: \"string\"[]; aliases: string[]; help: string; }; }; fn: (input: ", + "() => { name: \"metric\"; aliases: never[]; type: \"render\"; inputTypes: (\"number\" | \"null\" | \"string\")[]; help: any; args: { label: { types: \"string\"[]; aliases: string[]; help: any; default: string; }; labelFont: { types: \"style\"[]; help: any; default: string; }; metricFont: { types: \"style\"[]; help: any; default: string; }; metricFormat: { types: \"string\"[]; aliases: string[]; help: any; }; }; fn: (input: ", { "pluginId": "expressionMetric", "scope": "common", @@ -506,7 +530,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expression_metric/common/types/expression_functions.ts", diff --git a/api_docs/expression_metric.mdx b/api_docs/expression_metric.mdx index 300f81fdeb06d..92b623d104857 100644 --- a/api_docs/expression_metric.mdx +++ b/api_docs/expression_metric.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionMetric title: "expressionMetric" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionMetric plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionMetric'] --- import expressionMetricObj from './expression_metric.devdocs.json'; diff --git a/api_docs/expression_metric_vis.devdocs.json b/api_docs/expression_metric_vis.devdocs.json index 4f715f2618c97..052d886583c4a 100644 --- a/api_docs/expression_metric_vis.devdocs.json +++ b/api_docs/expression_metric_vis.devdocs.json @@ -470,7 +470,13 @@ "label": "palette", "description": [], "signature": [ - "PaletteOutput", + { + "pluginId": "@kbn/coloring", + "scope": "common", + "docId": "kibKbnColoringPluginApi", + "section": "def-common.PaletteOutput", + "text": "PaletteOutput" + }, "<", { "pluginId": "charts", @@ -1037,7 +1043,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/chart_expressions/expression_metric/common/types/expression_functions.ts", diff --git a/api_docs/expression_metric_vis.mdx b/api_docs/expression_metric_vis.mdx index 320708f97f425..3e9682dd01c7d 100644 --- a/api_docs/expression_metric_vis.mdx +++ b/api_docs/expression_metric_vis.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionMetricVis title: "expressionMetricVis" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionMetricVis plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionMetricVis'] --- import expressionMetricVisObj from './expression_metric_vis.devdocs.json'; diff --git a/api_docs/expression_partition_vis.devdocs.json b/api_docs/expression_partition_vis.devdocs.json index 83045ce60af28..5c3b0a81120ca 100644 --- a/api_docs/expression_partition_vis.devdocs.json +++ b/api_docs/expression_partition_vis.devdocs.json @@ -141,7 +141,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/chart_expressions/expression_partition_vis/common/expression_functions/partition_labels_function.ts", @@ -264,7 +270,13 @@ "text": "SerializedFieldFormat" }, "<{}, ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, "> | undefined; }" ], "path": "src/plugins/chart_expressions/expression_partition_vis/common/types/expression_renderers.ts", @@ -641,7 +653,13 @@ "label": "palette", "description": [], "signature": [ - "PaletteOutput", + { + "pluginId": "@kbn/coloring", + "scope": "common", + "docId": "kibKbnColoringPluginApi", + "section": "def-common.PaletteOutput", + "text": "PaletteOutput" + }, "<{ [key: string]: unknown; }>" ], "path": "src/plugins/chart_expressions/expression_partition_vis/common/types/expression_renderers.ts", @@ -1157,7 +1175,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/chart_expressions/expression_partition_vis/common/types/expression_functions.ts", @@ -1268,7 +1292,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/chart_expressions/expression_partition_vis/common/types/expression_functions.ts", @@ -1379,7 +1409,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/chart_expressions/expression_partition_vis/common/types/expression_functions.ts", @@ -1460,7 +1496,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/chart_expressions/expression_partition_vis/common/types/expression_functions.ts", diff --git a/api_docs/expression_partition_vis.mdx b/api_docs/expression_partition_vis.mdx index 6ca6b58e7971d..234ee0679d90e 100644 --- a/api_docs/expression_partition_vis.mdx +++ b/api_docs/expression_partition_vis.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionPartitionVis title: "expressionPartitionVis" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionPartitionVis plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionPartitionVis'] --- import expressionPartitionVisObj from './expression_partition_vis.devdocs.json'; diff --git a/api_docs/expression_repeat_image.devdocs.json b/api_docs/expression_repeat_image.devdocs.json index af42a7dd870ba..5107ef860b69e 100644 --- a/api_docs/expression_repeat_image.devdocs.json +++ b/api_docs/expression_repeat_image.devdocs.json @@ -14,7 +14,13 @@ "(theme$?: ", "Observable", "<", - "CoreTheme", + { + "pluginId": "@kbn/core-theme-browser", + "scope": "common", + "docId": "kibKbnCoreThemeBrowserPluginApi", + "section": "def-common.CoreTheme", + "text": "CoreTheme" + }, ">) => () => ", { "pluginId": "expressions", @@ -47,7 +53,13 @@ "signature": [ "Observable", "<", - "CoreTheme", + { + "pluginId": "@kbn/core-theme-browser", + "scope": "common", + "docId": "kibKbnCoreThemeBrowserPluginApi", + "section": "def-common.CoreTheme", + "text": "CoreTheme" + }, ">" ], "path": "src/plugins/expression_repeat_image/public/expression_renderers/repeat_image_renderer.tsx", @@ -68,7 +80,13 @@ "description": [], "signature": [ "(core: ", - "CoreSetup", + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreSetup", + "text": "CoreSetup" + }, ") => () => ", { "pluginId": "expressions", @@ -99,7 +117,13 @@ "label": "core", "description": [], "signature": [ - "CoreSetup", + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreSetup", + "text": "CoreSetup" + }, "" ], "path": "src/plugins/expression_repeat_image/public/expression_renderers/repeat_image_renderer.tsx", @@ -168,7 +192,7 @@ "label": "repeatImageFunction", "description": [], "signature": [ - "() => { name: \"repeatImage\"; aliases: never[]; type: \"render\"; inputTypes: \"number\"[]; help: string; args: { emptyImage: { types: (\"null\" | \"string\")[]; help: string; default: null; }; image: { types: (\"null\" | \"string\")[]; help: string; default: null; }; max: { types: (\"number\" | \"null\")[]; help: string; default: number; }; size: { types: \"number\"[]; default: number; help: string; }; }; fn: (count: number, args: Arguments) => Promise<{ type: \"render\"; as: string; value: { image: string | null; emptyImage: string | null; size: number; max: number | null; count: number; }; }>; }" + "() => { name: \"repeatImage\"; aliases: never[]; type: \"render\"; inputTypes: \"number\"[]; help: any; args: { emptyImage: { types: (\"null\" | \"string\")[]; help: any; default: null; }; image: { types: (\"null\" | \"string\")[]; help: any; default: null; }; max: { types: (\"number\" | \"null\")[]; help: any; default: number; }; size: { types: \"number\"[]; default: number; help: any; }; }; fn: (count: number, args: Arguments) => Promise<{ type: \"render\"; as: string; value: { image: string | null; emptyImage: string | null; size: number; max: number | null; count: number; }; }>; }" ], "path": "src/plugins/expression_repeat_image/common/expression_functions/repeat_image_function.ts", "deprecated": false, @@ -430,7 +454,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expression_repeat_image/common/types/expression_functions.ts", diff --git a/api_docs/expression_repeat_image.mdx b/api_docs/expression_repeat_image.mdx index d25d618512960..bd48894c6bafd 100644 --- a/api_docs/expression_repeat_image.mdx +++ b/api_docs/expression_repeat_image.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionRepeatImage title: "expressionRepeatImage" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionRepeatImage plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionRepeatImage'] --- import expressionRepeatImageObj from './expression_repeat_image.devdocs.json'; diff --git a/api_docs/expression_reveal_image.devdocs.json b/api_docs/expression_reveal_image.devdocs.json index 83f7f39feed9c..4d85254014050 100644 --- a/api_docs/expression_reveal_image.devdocs.json +++ b/api_docs/expression_reveal_image.devdocs.json @@ -14,7 +14,13 @@ "(theme$?: ", "Observable", "<", - "CoreTheme", + { + "pluginId": "@kbn/core-theme-browser", + "scope": "common", + "docId": "kibKbnCoreThemeBrowserPluginApi", + "section": "def-common.CoreTheme", + "text": "CoreTheme" + }, ">) => () => ", { "pluginId": "expressions", @@ -41,7 +47,13 @@ "signature": [ "Observable", "<", - "CoreTheme", + { + "pluginId": "@kbn/core-theme-browser", + "scope": "common", + "docId": "kibKbnCoreThemeBrowserPluginApi", + "section": "def-common.CoreTheme", + "text": "CoreTheme" + }, ">" ], "path": "src/plugins/expression_reveal_image/public/expression_renderers/reveal_image_renderer.tsx", @@ -62,7 +74,13 @@ "description": [], "signature": [ "(core: ", - "CoreSetup", + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreSetup", + "text": "CoreSetup" + }, ") => () => ", { "pluginId": "expressions", @@ -87,7 +105,13 @@ "label": "core", "description": [], "signature": [ - "CoreSetup", + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreSetup", + "text": "CoreSetup" + }, "" ], "path": "src/plugins/expression_reveal_image/public/expression_renderers/reveal_image_renderer.tsx", @@ -156,7 +180,7 @@ "label": "revealImageFunction", "description": [], "signature": [ - "() => { name: \"revealImage\"; aliases: never[]; type: \"render\"; inputTypes: \"number\"[]; help: string; args: { image: { types: (\"null\" | \"string\")[]; help: string; default: null; }; emptyImage: { types: (\"null\" | \"string\")[]; help: string; default: null; }; origin: { types: \"string\"[]; help: string; default: string; options: ", + "() => { name: \"revealImage\"; aliases: never[]; type: \"render\"; inputTypes: \"number\"[]; help: any; args: { image: { types: (\"null\" | \"string\")[]; help: any; default: null; }; emptyImage: { types: (\"null\" | \"string\")[]; help: any; default: null; }; origin: { types: \"string\"[]; help: any; default: string; options: ", "Origin", "[]; }; }; fn: (percent: number, args: Arguments) => Promise<{ type: \"render\"; as: string; value: { image: string; emptyImage: string; origin: ", "Origin", diff --git a/api_docs/expression_reveal_image.mdx b/api_docs/expression_reveal_image.mdx index c8e2f0d6c7768..98d936fd03563 100644 --- a/api_docs/expression_reveal_image.mdx +++ b/api_docs/expression_reveal_image.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionRevealImage title: "expressionRevealImage" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionRevealImage plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionRevealImage'] --- import expressionRevealImageObj from './expression_reveal_image.devdocs.json'; diff --git a/api_docs/expression_shape.devdocs.json b/api_docs/expression_shape.devdocs.json index fb7c05ab9b562..fe1c74fde2073 100644 --- a/api_docs/expression_shape.devdocs.json +++ b/api_docs/expression_shape.devdocs.json @@ -38,7 +38,13 @@ "(theme$?: ", "Observable", "<", - "CoreTheme", + { + "pluginId": "@kbn/core-theme-browser", + "scope": "common", + "docId": "kibKbnCoreThemeBrowserPluginApi", + "section": "def-common.CoreTheme", + "text": "CoreTheme" + }, ">) => () => ", { "pluginId": "expressions", @@ -71,7 +77,13 @@ "signature": [ "Observable", "<", - "CoreTheme", + { + "pluginId": "@kbn/core-theme-browser", + "scope": "common", + "docId": "kibKbnCoreThemeBrowserPluginApi", + "section": "def-common.CoreTheme", + "text": "CoreTheme" + }, ">" ], "path": "src/plugins/expression_shape/public/expression_renderers/progress_renderer.tsx", @@ -94,7 +106,13 @@ "(theme$?: ", "Observable", "<", - "CoreTheme", + { + "pluginId": "@kbn/core-theme-browser", + "scope": "common", + "docId": "kibKbnCoreThemeBrowserPluginApi", + "section": "def-common.CoreTheme", + "text": "CoreTheme" + }, ">) => () => ", { "pluginId": "expressions", @@ -127,7 +145,13 @@ "signature": [ "Observable", "<", - "CoreTheme", + { + "pluginId": "@kbn/core-theme-browser", + "scope": "common", + "docId": "kibKbnCoreThemeBrowserPluginApi", + "section": "def-common.CoreTheme", + "text": "CoreTheme" + }, ">" ], "path": "src/plugins/expression_shape/public/expression_renderers/shape_renderer.tsx", @@ -276,7 +300,13 @@ "description": [], "signature": [ "(core: ", - "CoreSetup", + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreSetup", + "text": "CoreSetup" + }, ") => () => ", { "pluginId": "expressions", @@ -307,7 +337,13 @@ "label": "core", "description": [], "signature": [ - "CoreSetup", + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreSetup", + "text": "CoreSetup" + }, "" ], "path": "src/plugins/expression_shape/public/expression_renderers/progress_renderer.tsx", @@ -328,7 +364,13 @@ "description": [], "signature": [ "(core: ", - "CoreSetup", + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreSetup", + "text": "CoreSetup" + }, ") => () => ", { "pluginId": "expressions", @@ -359,7 +401,13 @@ "label": "core", "description": [], "signature": [ - "CoreSetup", + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreSetup", + "text": "CoreSetup" + }, "" ], "path": "src/plugins/expression_shape/public/expression_renderers/shape_renderer.tsx", @@ -1502,7 +1550,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expression_shape/common/types/expression_functions.ts", @@ -1553,7 +1607,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expression_shape/common/types/expression_functions.ts", @@ -2494,7 +2554,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expression_shape/common/types/expression_functions.ts", @@ -2545,7 +2611,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expression_shape/common/types/expression_functions.ts", diff --git a/api_docs/expression_shape.mdx b/api_docs/expression_shape.mdx index 450b5076c7d04..c7b583a336ce1 100644 --- a/api_docs/expression_shape.mdx +++ b/api_docs/expression_shape.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionShape title: "expressionShape" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionShape plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionShape'] --- import expressionShapeObj from './expression_shape.devdocs.json'; diff --git a/api_docs/expression_tagcloud.mdx b/api_docs/expression_tagcloud.mdx index 3bae16775d617..7f3ed53063902 100644 --- a/api_docs/expression_tagcloud.mdx +++ b/api_docs/expression_tagcloud.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionTagcloud title: "expressionTagcloud" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionTagcloud plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionTagcloud'] --- import expressionTagcloudObj from './expression_tagcloud.devdocs.json'; diff --git a/api_docs/expression_x_y.devdocs.json b/api_docs/expression_x_y.devdocs.json index 1ed51d6360c13..34724030ea4a9 100644 --- a/api_docs/expression_x_y.devdocs.json +++ b/api_docs/expression_x_y.devdocs.json @@ -769,7 +769,13 @@ "label": "palette", "description": [], "signature": [ - "PaletteOutput", + { + "pluginId": "@kbn/coloring", + "scope": "common", + "docId": "kibKbnColoringPluginApi", + "section": "def-common.PaletteOutput", + "text": "PaletteOutput" + }, "<{ [key: string]: unknown; }>" ], "path": "src/plugins/chart_expressions/expression_xy/common/types/expression_functions.ts", @@ -2252,7 +2258,13 @@ "text": "DataLayerArgs" }, ", \"palette\"> & { type: \"dataLayer\"; layerType: \"data\"; palette: ", - "PaletteOutput", + { + "pluginId": "@kbn/coloring", + "scope": "common", + "docId": "kibKbnColoringPluginApi", + "section": "def-common.PaletteOutput", + "text": "PaletteOutput" + }, "<{ [key: string]: unknown; }>; table: ", { "pluginId": "expressions", @@ -2286,7 +2298,13 @@ "text": "DataLayerArgs" }, ", \"palette\"> & { type: \"dataLayer\"; layerType: \"data\"; palette: ", - "PaletteOutput", + { + "pluginId": "@kbn/coloring", + "scope": "common", + "docId": "kibKbnColoringPluginApi", + "section": "def-common.PaletteOutput", + "text": "PaletteOutput" + }, "<{ [key: string]: unknown; }>; table: ", { "pluginId": "expressions", @@ -2328,7 +2346,13 @@ "Omit<", "ExtendedDataLayerArgs", ", \"palette\"> & { type: \"extendedDataLayer\"; layerType: \"data\"; palette: ", - "PaletteOutput", + { + "pluginId": "@kbn/coloring", + "scope": "common", + "docId": "kibKbnColoringPluginApi", + "section": "def-common.PaletteOutput", + "text": "PaletteOutput" + }, "<{ [key: string]: unknown; }>; table: ", { "pluginId": "expressions", diff --git a/api_docs/expression_x_y.mdx b/api_docs/expression_x_y.mdx index 83e1481458f77..711d7c308ea77 100644 --- a/api_docs/expression_x_y.mdx +++ b/api_docs/expression_x_y.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionXY title: "expressionXY" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionXY plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionXY'] --- import expressionXYObj from './expression_x_y.devdocs.json'; diff --git a/api_docs/expressions.devdocs.json b/api_docs/expressions.devdocs.json index 8888cbfd994f0..a1b86d1c267b6 100644 --- a/api_docs/expressions.devdocs.json +++ b/api_docs/expressions.devdocs.json @@ -128,7 +128,13 @@ "text": "ExecutionContext" }, "" ], "path": "src/plugins/expressions/common/execution/execution.ts", @@ -259,7 +265,13 @@ "label": "logger", "description": [], "signature": [ - "Logger", + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + }, " | undefined" ], "path": "src/plugins/expressions/common/execution/execution.ts", @@ -1043,7 +1055,13 @@ "description": [], "signature": [ " = Record>(logger?: ", - "Logger", + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + }, " | undefined, state?: ", { "pluginId": "expressions", @@ -1074,7 +1092,13 @@ "label": "logger", "description": [], "signature": [ - "Logger", + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + }, " | undefined" ], "path": "src/plugins/expressions/common/executor/executor.ts", @@ -1220,7 +1244,13 @@ "label": "logger", "description": [], "signature": [ - "Logger", + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + }, " | undefined" ], "path": "src/plugins/expressions/common/executor/executor.ts", @@ -1797,7 +1827,13 @@ "text": "ExpressionAstExpression" }, ", references: ", - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]) => ", { "pluginId": "expressions", @@ -1840,7 +1876,13 @@ "label": "references", "description": [], "signature": [ - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]" ], "path": "src/plugins/expressions/common/executor/executor.ts", @@ -1876,7 +1918,13 @@ "text": "ExpressionAstExpression" }, "; references: ", - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]; }" ], "path": "src/plugins/expressions/common/executor/executor.ts", @@ -2008,7 +2056,13 @@ "text": "VersionedState" }, "<", - "Serializable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Serializable", + "text": "Serializable" + }, ">) => ", { "pluginId": "expressions", @@ -2038,7 +2092,13 @@ "text": "VersionedState" }, "<", - "Serializable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Serializable", + "text": "Serializable" + }, ">" ], "path": "src/plugins/expressions/common/executor/executor.ts", @@ -2359,7 +2419,13 @@ "text": "ExpressionAstArgument" }, "[]>; references: ", - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]; }" ], "path": "src/plugins/expressions/common/expression_functions/expression_function.ts", @@ -2408,7 +2474,13 @@ "text": "ExpressionAstArgument" }, "[]>, references: ", - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]) => Record Promise" ], "path": "src/plugins/expressions/public/render.ts", @@ -3761,7 +3845,13 @@ "label": "value", "description": [], "signature": [ - "SerializableRecord" + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + } ], "path": "src/plugins/expressions/public/render.ts", "deprecated": false, @@ -3883,7 +3973,13 @@ "text": "ExpressionsPublicPlugin" }, " implements ", - "Plugin", + { + "pluginId": "@kbn/core-plugins-browser", + "scope": "common", + "docId": "kibKbnCorePluginsBrowserPluginApi", + "section": "def-common.Plugin", + "text": "Plugin" + }, "<", { "pluginId": "expressions", @@ -3928,7 +4024,13 @@ "label": "initializerContext", "description": [], "signature": [ - "PluginInitializerContext", + { + "pluginId": "@kbn/core-plugins-browser", + "scope": "common", + "docId": "kibKbnCorePluginsBrowserPluginApi", + "section": "def-common.PluginInitializerContext", + "text": "PluginInitializerContext" + }, "" ], "path": "src/plugins/expressions/public/plugin.ts", @@ -3948,7 +4050,13 @@ "description": [], "signature": [ "(core: ", - "CoreSetup", + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreSetup", + "text": "CoreSetup" + }, ") => ", { "pluginId": "expressions", @@ -3970,7 +4078,13 @@ "label": "core", "description": [], "signature": [ - "CoreSetup", + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreSetup", + "text": "CoreSetup" + }, "" ], "path": "src/plugins/expressions/public/plugin.ts", @@ -3990,7 +4104,13 @@ "description": [], "signature": [ "(core: ", - "CoreStart", + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreStart", + "text": "CoreStart" + }, ") => ", { "pluginId": "expressions", @@ -4012,7 +4132,13 @@ "label": "core", "description": [], "signature": [ - "CoreStart" + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreStart", + "text": "CoreStart" + } ], "path": "src/plugins/expressions/public/plugin.ts", "deprecated": false, @@ -4918,7 +5044,13 @@ "text": "ExpressionAstExpression" }, "; references: ", - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]; }" ], "path": "src/plugins/expressions/common/service/expressions_services.ts", @@ -4972,7 +5104,13 @@ "text": "ExpressionAstExpression" }, ", references: ", - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]) => ", { "pluginId": "expressions", @@ -5019,7 +5157,13 @@ "array of saved object references" ], "signature": [ - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]" ], "path": "src/plugins/expressions/common/service/expressions_services.ts", @@ -5076,7 +5220,13 @@ "text": "VersionedState" }, "<", - "Serializable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Serializable", + "text": "Serializable" + }, ">) => ", { "pluginId": "expressions", @@ -5106,7 +5256,13 @@ "text": "VersionedState" }, "<", - "Serializable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Serializable", + "text": "Serializable" + }, ">" ], "path": "src/plugins/expressions/common/service/expressions_services.ts", @@ -5325,7 +5481,13 @@ ], "signature": [ "((value: ", - "Serializable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Serializable", + "text": "Serializable" + }, ") => unknown) | undefined" ], "path": "src/plugins/expressions/common/expression_types/expression_type.ts", @@ -5341,7 +5503,13 @@ "description": [], "signature": [ "((serialized: unknown[]) => ", - "Serializable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Serializable", + "text": "Serializable" + }, ") | undefined" ], "path": "src/plugins/expressions/common/expression_types/expression_type.ts", @@ -7011,7 +7179,13 @@ ], "signature": [ "(() => ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ") | undefined" ], "path": "src/plugins/expressions/common/execution/types.ts", @@ -7085,7 +7259,13 @@ ], "signature": [ "() => ", - "KibanaExecutionContext", + { + "pluginId": "@kbn/core-execution-context-common", + "scope": "common", + "docId": "kibKbnCoreExecutionContextCommonPluginApi", + "section": "def-common.KibanaExecutionContext", + "text": "KibanaExecutionContext" + }, " | undefined" ], "path": "src/plugins/expressions/common/execution/types.ts", @@ -7288,7 +7468,13 @@ "description": [], "signature": [ "Omit<", - "Ast", + { + "pluginId": "@kbn/interpreter", + "scope": "common", + "docId": "kibKbnInterpreterPluginApi", + "section": "def-common.Ast", + "text": "Ast" + }, ", \"chain\"> & { chain: ", { "pluginId": "expressions", @@ -8140,9 +8326,21 @@ "text": "KnownTypeToString" }, " ? ", - "UnwrapObservable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapObservable", + "text": "UnwrapObservable" + }, " : Awaited> | ", { "pluginId": "expressions", @@ -8397,7 +8595,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -8452,7 +8656,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -8491,7 +8701,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -8530,7 +8746,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -8569,7 +8791,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -8632,7 +8860,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -8695,7 +8929,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -8758,7 +8998,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -8821,7 +9067,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -9849,7 +10101,13 @@ "text": "ExpressionAstExpression" }, "; references: ", - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]; }" ], "path": "src/plugins/expressions/common/service/expressions_services.ts", @@ -9897,7 +10155,13 @@ "text": "ExpressionAstExpression" }, ", references: ", - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]) => ", { "pluginId": "expressions", @@ -9940,7 +10204,13 @@ "label": "references", "description": [], "signature": [ - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]" ], "path": "src/plugins/expressions/common/service/expressions_services.ts", @@ -10370,7 +10640,13 @@ "label": "searchContext", "description": [], "signature": [ - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined" ], "path": "src/plugins/expressions/public/types/index.ts", @@ -10632,7 +10908,13 @@ "label": "executionContext", "description": [], "signature": [ - "KibanaExecutionContext", + { + "pluginId": "@kbn/core-execution-context-common", + "scope": "common", + "docId": "kibKbnCoreExecutionContextCommonPluginApi", + "section": "def-common.KibanaExecutionContext", + "text": "KibanaExecutionContext" + }, " | undefined" ], "path": "src/plugins/expressions/public/types/index.ts", @@ -11006,7 +11288,13 @@ "description": [], "signature": [ "() => ", - "KibanaExecutionContext", + { + "pluginId": "@kbn/core-execution-context-common", + "scope": "common", + "docId": "kibKbnCoreExecutionContextCommonPluginApi", + "section": "def-common.KibanaExecutionContext", + "text": "KibanaExecutionContext" + }, " | undefined" ], "path": "src/plugins/expressions/common/expression_renderers/types.ts", @@ -11514,7 +11802,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -11710,7 +12004,13 @@ "description": [], "signature": [ "Omit<", - "Ast", + { + "pluginId": "@kbn/interpreter", + "scope": "common", + "docId": "kibKbnInterpreterPluginApi", + "section": "def-common.Ast", + "text": "Ast" + }, ", \"chain\"> & { chain: ", { "pluginId": "expressions", @@ -11735,7 +12035,13 @@ "description": [], "signature": [ "Omit<", - "AstFunction", + { + "pluginId": "@kbn/interpreter", + "scope": "common", + "docId": "kibKbnInterpreterPluginApi", + "section": "def-common.AstFunction", + "text": "AstFunction" + }, ", \"arguments\"> & { arguments: Record ? ", - "UnwrapObservable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapObservable", + "text": "UnwrapObservable" + }, " : Awaited) extends string ? \"string\" : (T extends ", - "ObservableLike", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.ObservableLike", + "text": "ObservableLike" + }, " ? ", - "UnwrapObservable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapObservable", + "text": "UnwrapObservable" + }, " : Awaited) extends boolean ? \"boolean\" : (T extends ", - "ObservableLike", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.ObservableLike", + "text": "ObservableLike" + }, " ? ", - "UnwrapObservable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapObservable", + "text": "UnwrapObservable" + }, " : Awaited) extends number ? \"number\" : (T extends ", - "ObservableLike", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.ObservableLike", + "text": "ObservableLike" + }, " ? ", - "UnwrapObservable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapObservable", + "text": "UnwrapObservable" + }, " : Awaited) extends null ? \"null\" : (T extends ", - "ObservableLike", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.ObservableLike", + "text": "ObservableLike" + }, " ? ", - "UnwrapObservable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapObservable", + "text": "UnwrapObservable" + }, " : Awaited) extends { type: string; } ? ({ type: string; } & (T extends ", - "ObservableLike", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.ObservableLike", + "text": "ObservableLike" + }, " ? ", - "UnwrapObservable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapObservable", + "text": "UnwrapObservable" + }, " : Awaited))[\"type\"] : never" ], "path": "src/plugins/expressions/common/types/common.ts", @@ -13198,7 +13588,13 @@ "text": "ExecutionContext" }, "" ], "path": "src/plugins/expressions/common/execution/execution.ts", @@ -13329,7 +13725,13 @@ "label": "logger", "description": [], "signature": [ - "Logger", + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + }, " | undefined" ], "path": "src/plugins/expressions/common/execution/execution.ts", @@ -13894,7 +14296,13 @@ "description": [], "signature": [ " = Record>(logger?: ", - "Logger", + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + }, " | undefined, state?: ", { "pluginId": "expressions", @@ -13925,7 +14333,13 @@ "label": "logger", "description": [], "signature": [ - "Logger", + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + }, " | undefined" ], "path": "src/plugins/expressions/common/executor/executor.ts", @@ -14071,7 +14485,13 @@ "label": "logger", "description": [], "signature": [ - "Logger", + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + }, " | undefined" ], "path": "src/plugins/expressions/common/executor/executor.ts", @@ -14648,7 +15068,13 @@ "text": "ExpressionAstExpression" }, ", references: ", - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]) => ", { "pluginId": "expressions", @@ -14691,7 +15117,13 @@ "label": "references", "description": [], "signature": [ - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]" ], "path": "src/plugins/expressions/common/executor/executor.ts", @@ -14727,7 +15159,13 @@ "text": "ExpressionAstExpression" }, "; references: ", - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]; }" ], "path": "src/plugins/expressions/common/executor/executor.ts", @@ -14859,7 +15297,13 @@ "text": "VersionedState" }, "<", - "Serializable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Serializable", + "text": "Serializable" + }, ">) => ", { "pluginId": "expressions", @@ -14889,7 +15333,13 @@ "text": "VersionedState" }, "<", - "Serializable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Serializable", + "text": "Serializable" + }, ">" ], "path": "src/plugins/expressions/common/executor/executor.ts", @@ -15210,7 +15660,13 @@ "text": "ExpressionAstArgument" }, "[]>; references: ", - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]; }" ], "path": "src/plugins/expressions/common/expression_functions/expression_function.ts", @@ -15259,7 +15715,13 @@ "text": "ExpressionAstArgument" }, "[]>, references: ", - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]) => Record" ], "path": "src/plugins/expressions/server/plugin.ts", @@ -16206,7 +16686,13 @@ "description": [], "signature": [ "(core: ", - "CoreSetup", + { + "pluginId": "@kbn/core-lifecycle-server", + "scope": "server", + "docId": "kibKbnCoreLifecycleServerPluginApi", + "section": "def-server.CoreSetup", + "text": "CoreSetup" + }, ") => ", { "pluginId": "expressions", @@ -16228,7 +16714,13 @@ "label": "core", "description": [], "signature": [ - "CoreSetup", + { + "pluginId": "@kbn/core-lifecycle-server", + "scope": "server", + "docId": "kibKbnCoreLifecycleServerPluginApi", + "section": "def-server.CoreSetup", + "text": "CoreSetup" + }, "" ], "path": "src/plugins/expressions/server/plugin.ts", @@ -16248,7 +16740,13 @@ "description": [], "signature": [ "(core: ", - "CoreStart", + { + "pluginId": "@kbn/core-lifecycle-server", + "scope": "server", + "docId": "kibKbnCoreLifecycleServerPluginApi", + "section": "def-server.CoreStart", + "text": "CoreStart" + }, ") => ", { "pluginId": "expressions", @@ -16270,7 +16768,13 @@ "label": "core", "description": [], "signature": [ - "CoreStart" + { + "pluginId": "@kbn/core-lifecycle-server", + "scope": "server", + "docId": "kibKbnCoreLifecycleServerPluginApi", + "section": "def-server.CoreStart", + "text": "CoreStart" + } ], "path": "src/plugins/expressions/server/plugin.ts", "deprecated": false, @@ -16406,7 +16910,13 @@ ], "signature": [ "((value: ", - "Serializable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Serializable", + "text": "Serializable" + }, ") => unknown) | undefined" ], "path": "src/plugins/expressions/common/expression_types/expression_type.ts", @@ -16422,7 +16932,13 @@ "description": [], "signature": [ "((serialized: unknown[]) => ", - "Serializable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Serializable", + "text": "Serializable" + }, ") | undefined" ], "path": "src/plugins/expressions/common/expression_types/expression_type.ts", @@ -18010,7 +18526,13 @@ ], "signature": [ "(() => ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ") | undefined" ], "path": "src/plugins/expressions/common/execution/types.ts", @@ -18084,7 +18606,13 @@ ], "signature": [ "() => ", - "KibanaExecutionContext", + { + "pluginId": "@kbn/core-execution-context-common", + "scope": "common", + "docId": "kibKbnCoreExecutionContextCommonPluginApi", + "section": "def-common.KibanaExecutionContext", + "text": "KibanaExecutionContext" + }, " | undefined" ], "path": "src/plugins/expressions/common/execution/types.ts", @@ -18287,7 +18815,13 @@ "description": [], "signature": [ "Omit<", - "Ast", + { + "pluginId": "@kbn/interpreter", + "scope": "common", + "docId": "kibKbnInterpreterPluginApi", + "section": "def-common.Ast", + "text": "Ast" + }, ", \"chain\"> & { chain: ", { "pluginId": "expressions", @@ -19108,9 +19642,21 @@ "text": "KnownTypeToString" }, " ? ", - "UnwrapObservable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapObservable", + "text": "UnwrapObservable" + }, " : Awaited> | ", { "pluginId": "expressions", @@ -19365,7 +19911,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -19420,7 +19972,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -19459,7 +20017,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -19498,7 +20062,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -19537,7 +20107,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -19600,7 +20176,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -19663,7 +20245,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -19726,7 +20314,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -19789,7 +20383,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -20686,7 +21286,13 @@ "description": [], "signature": [ "() => ", - "KibanaExecutionContext", + { + "pluginId": "@kbn/core-execution-context-common", + "scope": "common", + "docId": "kibKbnCoreExecutionContextCommonPluginApi", + "section": "def-common.KibanaExecutionContext", + "text": "KibanaExecutionContext" + }, " | undefined" ], "path": "src/plugins/expressions/common/expression_renderers/types.ts", @@ -21058,7 +21664,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -21254,7 +21866,13 @@ "description": [], "signature": [ "Omit<", - "Ast", + { + "pluginId": "@kbn/interpreter", + "scope": "common", + "docId": "kibKbnInterpreterPluginApi", + "section": "def-common.Ast", + "text": "Ast" + }, ", \"chain\"> & { chain: ", { "pluginId": "expressions", @@ -21279,7 +21897,13 @@ "description": [], "signature": [ "Omit<", - "AstFunction", + { + "pluginId": "@kbn/interpreter", + "scope": "common", + "docId": "kibKbnInterpreterPluginApi", + "section": "def-common.AstFunction", + "text": "AstFunction" + }, ", \"arguments\"> & { arguments: Record ? ", - "UnwrapObservable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapObservable", + "text": "UnwrapObservable" + }, " : Awaited) extends string ? \"string\" : (T extends ", - "ObservableLike", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.ObservableLike", + "text": "ObservableLike" + }, " ? ", - "UnwrapObservable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapObservable", + "text": "UnwrapObservable" + }, " : Awaited) extends boolean ? \"boolean\" : (T extends ", - "ObservableLike", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.ObservableLike", + "text": "ObservableLike" + }, " ? ", - "UnwrapObservable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapObservable", + "text": "UnwrapObservable" + }, " : Awaited) extends number ? \"number\" : (T extends ", - "ObservableLike", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.ObservableLike", + "text": "ObservableLike" + }, " ? ", - "UnwrapObservable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapObservable", + "text": "UnwrapObservable" + }, " : Awaited) extends null ? \"null\" : (T extends ", - "ObservableLike", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.ObservableLike", + "text": "ObservableLike" + }, " ? ", - "UnwrapObservable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapObservable", + "text": "UnwrapObservable" + }, " : Awaited) extends { type: string; } ? ({ type: string; } & (T extends ", - "ObservableLike", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.ObservableLike", + "text": "ObservableLike" + }, " ? ", - "UnwrapObservable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapObservable", + "text": "UnwrapObservable" + }, " : Awaited))[\"type\"] : never" ], "path": "src/plugins/expressions/common/types/common.ts", @@ -22001,7 +22709,13 @@ "text": "ExecutionContext" }, "" ], "path": "src/plugins/expressions/common/execution/execution.ts", @@ -22132,7 +22846,13 @@ "label": "logger", "description": [], "signature": [ - "Logger", + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + }, " | undefined" ], "path": "src/plugins/expressions/common/execution/execution.ts", @@ -22916,7 +23636,13 @@ "description": [], "signature": [ " = Record>(logger?: ", - "Logger", + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + }, " | undefined, state?: ", { "pluginId": "expressions", @@ -22947,7 +23673,13 @@ "label": "logger", "description": [], "signature": [ - "Logger", + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + }, " | undefined" ], "path": "src/plugins/expressions/common/executor/executor.ts", @@ -23093,7 +23825,13 @@ "label": "logger", "description": [], "signature": [ - "Logger", + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + }, " | undefined" ], "path": "src/plugins/expressions/common/executor/executor.ts", @@ -23670,7 +24408,13 @@ "text": "ExpressionAstExpression" }, ", references: ", - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]) => ", { "pluginId": "expressions", @@ -23713,7 +24457,13 @@ "label": "references", "description": [], "signature": [ - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]" ], "path": "src/plugins/expressions/common/executor/executor.ts", @@ -23749,7 +24499,13 @@ "text": "ExpressionAstExpression" }, "; references: ", - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]; }" ], "path": "src/plugins/expressions/common/executor/executor.ts", @@ -23881,7 +24637,13 @@ "text": "VersionedState" }, "<", - "Serializable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Serializable", + "text": "Serializable" + }, ">) => ", { "pluginId": "expressions", @@ -23911,7 +24673,13 @@ "text": "VersionedState" }, "<", - "Serializable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Serializable", + "text": "Serializable" + }, ">" ], "path": "src/plugins/expressions/common/executor/executor.ts", @@ -24232,7 +25000,13 @@ "text": "ExpressionAstArgument" }, "[]>; references: ", - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]; }" ], "path": "src/plugins/expressions/common/expression_functions/expression_function.ts", @@ -24281,7 +25055,13 @@ "text": "ExpressionAstArgument" }, "[]>, references: ", - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]) => Record ", { "pluginId": "expressions", @@ -26203,7 +27001,13 @@ "array of saved object references" ], "signature": [ - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]" ], "path": "src/plugins/expressions/common/service/expressions_services.ts", @@ -26260,7 +27064,13 @@ "text": "VersionedState" }, "<", - "Serializable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Serializable", + "text": "Serializable" + }, ">) => ", { "pluginId": "expressions", @@ -26290,7 +27100,13 @@ "text": "VersionedState" }, "<", - "Serializable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Serializable", + "text": "Serializable" + }, ">" ], "path": "src/plugins/expressions/common/service/expressions_services.ts", @@ -26509,7 +27325,13 @@ ], "signature": [ "((value: ", - "Serializable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Serializable", + "text": "Serializable" + }, ") => unknown) | undefined" ], "path": "src/plugins/expressions/common/expression_types/expression_type.ts", @@ -26525,7 +27347,13 @@ "description": [], "signature": [ "((serialized: unknown[]) => ", - "Serializable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Serializable", + "text": "Serializable" + }, ") | undefined" ], "path": "src/plugins/expressions/common/expression_types/expression_type.ts", @@ -28034,7 +28862,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">" ], "path": "src/plugins/expressions/common/util/test_utils.ts", @@ -29376,7 +30210,13 @@ "text": "SerializedFieldFormat" }, "<{}, ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, "> | undefined" ], "path": "src/plugins/expressions/common/expression_types/specs/datatable.ts", @@ -29409,7 +30249,13 @@ "\nany extra parameters for the source that produced this column" ], "signature": [ - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined" ], "path": "src/plugins/expressions/common/expression_types/specs/datatable.ts", @@ -29701,7 +30547,13 @@ ], "signature": [ "(() => ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ") | undefined" ], "path": "src/plugins/expressions/common/execution/types.ts", @@ -29775,7 +30627,13 @@ ], "signature": [ "() => ", - "KibanaExecutionContext", + { + "pluginId": "@kbn/core-execution-context-common", + "scope": "common", + "docId": "kibKbnCoreExecutionContextCommonPluginApi", + "section": "def-common.KibanaExecutionContext", + "text": "KibanaExecutionContext" + }, " | undefined" ], "path": "src/plugins/expressions/common/execution/types.ts", @@ -30222,7 +31080,13 @@ "description": [], "signature": [ "Omit<", - "Ast", + { + "pluginId": "@kbn/interpreter", + "scope": "common", + "docId": "kibKbnInterpreterPluginApi", + "section": "def-common.Ast", + "text": "Ast" + }, ", \"chain\"> & { chain: ", { "pluginId": "expressions", @@ -31284,7 +32148,13 @@ "label": "searchContext", "description": [], "signature": [ - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined" ], "path": "src/plugins/expressions/common/service/expressions_services.ts", @@ -31331,7 +32201,13 @@ "\nMakes a `KibanaRequest` object available to expression functions. Useful for\nfunctions which are running on the server and need to perform operations that\nare scoped to a specific user." ], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, " | undefined" ], "path": "src/plugins/expressions/common/service/expressions_services.ts", @@ -31423,7 +32299,13 @@ "label": "executionContext", "description": [], "signature": [ - "KibanaExecutionContext", + { + "pluginId": "@kbn/core-execution-context-common", + "scope": "common", + "docId": "kibKbnCoreExecutionContextCommonPluginApi", + "section": "def-common.KibanaExecutionContext", + "text": "KibanaExecutionContext" + }, " | undefined" ], "path": "src/plugins/expressions/common/service/expressions_services.ts", @@ -31566,9 +32448,21 @@ "text": "KnownTypeToString" }, " ? ", - "UnwrapObservable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapObservable", + "text": "UnwrapObservable" + }, " : Awaited> | ", { "pluginId": "expressions", @@ -31823,7 +32717,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -31878,7 +32778,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -31917,7 +32823,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -31956,7 +32868,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -31995,7 +32913,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -32058,7 +32982,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -32121,7 +33051,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -32184,7 +33120,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -32247,7 +33189,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -32539,7 +33487,13 @@ "label": "logger", "description": [], "signature": [ - "Logger", + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + }, " | undefined" ], "path": "src/plugins/expressions/common/service/expressions_services.ts", @@ -33487,7 +34441,13 @@ "text": "ExpressionAstExpression" }, "; references: ", - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]; }" ], "path": "src/plugins/expressions/common/service/expressions_services.ts", @@ -33535,7 +34495,13 @@ "text": "ExpressionAstExpression" }, ", references: ", - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]) => ", { "pluginId": "expressions", @@ -33578,7 +34544,13 @@ "label": "references", "description": [], "signature": [ - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]" ], "path": "src/plugins/expressions/common/service/expressions_services.ts", @@ -34524,7 +35496,13 @@ "description": [], "signature": [ "() => ", - "KibanaExecutionContext", + { + "pluginId": "@kbn/core-execution-context-common", + "scope": "common", + "docId": "kibKbnCoreExecutionContextCommonPluginApi", + "section": "def-common.KibanaExecutionContext", + "text": "KibanaExecutionContext" + }, " | undefined" ], "path": "src/plugins/expressions/common/expression_renderers/types.ts", @@ -35289,7 +36267,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -35537,7 +36521,13 @@ "description": [], "signature": [ "Omit<", - "Ast", + { + "pluginId": "@kbn/interpreter", + "scope": "common", + "docId": "kibKbnInterpreterPluginApi", + "section": "def-common.Ast", + "text": "Ast" + }, ", \"chain\"> & { chain: ", { "pluginId": "expressions", @@ -35562,7 +36552,13 @@ "description": [], "signature": [ "Omit<", - "AstFunction", + { + "pluginId": "@kbn/interpreter", + "scope": "common", + "docId": "kibKbnInterpreterPluginApi", + "section": "def-common.AstFunction", + "text": "AstFunction" + }, ", \"arguments\"> & { arguments: Record>" ], "path": "src/plugins/expressions/common/expression_functions/specs/clog.ts", @@ -35734,7 +36736,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/specs/cumulative_sum.ts", @@ -35798,7 +36806,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/specs/derivative.ts", @@ -35854,7 +36868,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/specs/font.ts", @@ -35918,7 +36938,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/specs/moving_average.ts", @@ -35982,7 +37008,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/specs/overall_metric.ts", @@ -36022,7 +37054,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/specs/theme.ts", @@ -36078,7 +37116,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/specs/ui_setting.ts", @@ -36118,7 +37162,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/specs/var.ts", @@ -36158,7 +37208,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/specs/var_set.ts", @@ -36275,7 +37331,13 @@ "text": "ErrorLike" }, "; info?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }" ], "path": "src/plugins/expressions/common/expression_types/specs/error.ts", @@ -36448,7 +37510,13 @@ "text": "ErrorLike" }, "; info?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }" ], "path": "src/plugins/expressions/common/expression_types/specs/error.ts", @@ -36784,29 +37852,101 @@ ], "signature": [ "(T extends ", - "ObservableLike", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.ObservableLike", + "text": "ObservableLike" + }, " ? ", - "UnwrapObservable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapObservable", + "text": "UnwrapObservable" + }, " : Awaited) extends string ? \"string\" : (T extends ", - "ObservableLike", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.ObservableLike", + "text": "ObservableLike" + }, " ? ", - "UnwrapObservable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapObservable", + "text": "UnwrapObservable" + }, " : Awaited) extends boolean ? \"boolean\" : (T extends ", - "ObservableLike", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.ObservableLike", + "text": "ObservableLike" + }, " ? ", - "UnwrapObservable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapObservable", + "text": "UnwrapObservable" + }, " : Awaited) extends number ? \"number\" : (T extends ", - "ObservableLike", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.ObservableLike", + "text": "ObservableLike" + }, " ? ", - "UnwrapObservable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapObservable", + "text": "UnwrapObservable" + }, " : Awaited) extends null ? \"null\" : (T extends ", - "ObservableLike", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.ObservableLike", + "text": "ObservableLike" + }, " ? ", - "UnwrapObservable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapObservable", + "text": "UnwrapObservable" + }, " : Awaited) extends { type: string; } ? ({ type: string; } & (T extends ", - "ObservableLike", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.ObservableLike", + "text": "ObservableLike" + }, " ? ", - "UnwrapObservable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapObservable", + "text": "UnwrapObservable" + }, " : Awaited))[\"type\"] : never" ], "path": "src/plugins/expressions/common/types/common.ts", @@ -37322,10 +38462,13 @@ { "parentPluginId": "expressions", "id": "def-common.createTable.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/expressions/common/expression_functions/specs/create_table.ts", "deprecated": false, "trackAdoption": false @@ -37369,10 +38512,13 @@ { "parentPluginId": "expressions", "id": "def-common.createTable.args.ids.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/expressions/common/expression_functions/specs/create_table.ts", "deprecated": false, "trackAdoption": false @@ -37435,10 +38581,13 @@ { "parentPluginId": "expressions", "id": "def-common.createTable.args.names.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/expressions/common/expression_functions/specs/create_table.ts", "deprecated": false, "trackAdoption": false @@ -37501,10 +38650,13 @@ { "parentPluginId": "expressions", "id": "def-common.createTable.args.rowCount.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/expressions/common/expression_functions/specs/create_table.ts", "deprecated": false, "trackAdoption": false @@ -37668,10 +38820,13 @@ { "parentPluginId": "expressions", "id": "def-common.cumulativeSum.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/expressions/common/expression_functions/specs/cumulative_sum.ts", "deprecated": false, "trackAdoption": false @@ -37701,10 +38856,13 @@ { "parentPluginId": "expressions", "id": "def-common.cumulativeSum.args.by.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/expressions/common/expression_functions/specs/cumulative_sum.ts", "deprecated": false, "trackAdoption": false @@ -37767,10 +38925,13 @@ { "parentPluginId": "expressions", "id": "def-common.cumulativeSum.args.inputColumnId.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/expressions/common/expression_functions/specs/cumulative_sum.ts", "deprecated": false, "trackAdoption": false @@ -37819,10 +38980,13 @@ { "parentPluginId": "expressions", "id": "def-common.cumulativeSum.args.outputColumnId.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/expressions/common/expression_functions/specs/cumulative_sum.ts", "deprecated": false, "trackAdoption": false @@ -37871,10 +39035,13 @@ { "parentPluginId": "expressions", "id": "def-common.cumulativeSum.args.outputColumnName.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/expressions/common/expression_functions/specs/cumulative_sum.ts", "deprecated": false, "trackAdoption": false @@ -38482,10 +39649,13 @@ { "parentPluginId": "expressions", "id": "def-common.derivative.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/expressions/common/expression_functions/specs/derivative.ts", "deprecated": false, "trackAdoption": false @@ -38515,10 +39685,13 @@ { "parentPluginId": "expressions", "id": "def-common.derivative.args.by.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/expressions/common/expression_functions/specs/derivative.ts", "deprecated": false, "trackAdoption": false @@ -38581,10 +39754,13 @@ { "parentPluginId": "expressions", "id": "def-common.derivative.args.inputColumnId.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/expressions/common/expression_functions/specs/derivative.ts", "deprecated": false, "trackAdoption": false @@ -38633,10 +39809,13 @@ { "parentPluginId": "expressions", "id": "def-common.derivative.args.outputColumnId.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/expressions/common/expression_functions/specs/derivative.ts", "deprecated": false, "trackAdoption": false @@ -38685,10 +39864,13 @@ { "parentPluginId": "expressions", "id": "def-common.derivative.args.outputColumnName.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/expressions/common/expression_functions/specs/derivative.ts", "deprecated": false, "trackAdoption": false @@ -39269,10 +40451,13 @@ { "parentPluginId": "expressions", "id": "def-common.font.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/expressions/common/expression_functions/specs/font.ts", "deprecated": false, "trackAdoption": false @@ -39327,10 +40512,13 @@ { "parentPluginId": "expressions", "id": "def-common.font.args.align.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/expressions/common/expression_functions/specs/font.ts", "deprecated": false, "trackAdoption": false @@ -39397,10 +40585,13 @@ { "parentPluginId": "expressions", "id": "def-common.font.args.color.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/expressions/common/expression_functions/specs/font.ts", "deprecated": false, "trackAdoption": false @@ -39446,10 +40637,13 @@ { "parentPluginId": "expressions", "id": "def-common.font.args.family.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/expressions/common/expression_functions/specs/font.ts", "deprecated": false, "trackAdoption": false @@ -39495,10 +40689,13 @@ { "parentPluginId": "expressions", "id": "def-common.font.args.italic.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/expressions/common/expression_functions/specs/font.ts", "deprecated": false, "trackAdoption": false @@ -39572,10 +40769,13 @@ { "parentPluginId": "expressions", "id": "def-common.font.args.lHeight.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/expressions/common/expression_functions/specs/font.ts", "deprecated": false, "trackAdoption": false @@ -39621,10 +40821,13 @@ { "parentPluginId": "expressions", "id": "def-common.font.args.size.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/expressions/common/expression_functions/specs/font.ts", "deprecated": false, "trackAdoption": false @@ -39670,10 +40873,13 @@ { "parentPluginId": "expressions", "id": "def-common.font.args.sizeUnit.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/expressions/common/expression_functions/specs/font.ts", "deprecated": false, "trackAdoption": false @@ -39733,10 +40939,13 @@ { "parentPluginId": "expressions", "id": "def-common.font.args.underline.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/expressions/common/expression_functions/specs/font.ts", "deprecated": false, "trackAdoption": false @@ -39796,10 +41005,13 @@ { "parentPluginId": "expressions", "id": "def-common.font.args.weight.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/expressions/common/expression_functions/specs/font.ts", "deprecated": false, "trackAdoption": false @@ -40178,10 +41390,13 @@ { "parentPluginId": "expressions", "id": "def-common.mapColumn.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/expressions/common/expression_functions/specs/map_column.ts", "deprecated": false, "trackAdoption": false @@ -40225,10 +41440,13 @@ { "parentPluginId": "expressions", "id": "def-common.mapColumn.args.id.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/expressions/common/expression_functions/specs/map_column.ts", "deprecated": false, "trackAdoption": false @@ -40305,10 +41523,13 @@ { "parentPluginId": "expressions", "id": "def-common.mapColumn.args.name.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/expressions/common/expression_functions/specs/map_column.ts", "deprecated": false, "trackAdoption": false @@ -40385,10 +41606,13 @@ { "parentPluginId": "expressions", "id": "def-common.mapColumn.args.expression.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/expressions/common/expression_functions/specs/map_column.ts", "deprecated": false, "trackAdoption": false @@ -40437,10 +41661,13 @@ { "parentPluginId": "expressions", "id": "def-common.mapColumn.args.copyMetaFrom.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/expressions/common/expression_functions/specs/map_column.ts", "deprecated": false, "trackAdoption": false @@ -40639,10 +41866,13 @@ { "parentPluginId": "expressions", "id": "def-common.math.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/expressions/common/expression_functions/specs/math.ts", "deprecated": false, "trackAdoption": false @@ -40700,10 +41930,13 @@ { "parentPluginId": "expressions", "id": "def-common.math.args.expression.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/expressions/common/expression_functions/specs/math.ts", "deprecated": false, "trackAdoption": false @@ -40752,10 +41985,13 @@ { "parentPluginId": "expressions", "id": "def-common.math.args.onError.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/expressions/common/expression_functions/specs/math.ts", "deprecated": false, "trackAdoption": false @@ -40898,10 +42134,13 @@ { "parentPluginId": "expressions", "id": "def-common.mathColumn.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/expressions/common/expression_functions/specs/math_column.ts", "deprecated": false, "trackAdoption": false @@ -40959,10 +42198,13 @@ { "parentPluginId": "expressions", "id": "def-common.mathColumn.args.id.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/expressions/common/expression_functions/specs/math_column.ts", "deprecated": false, "trackAdoption": false @@ -41025,10 +42267,13 @@ { "parentPluginId": "expressions", "id": "def-common.mathColumn.args.name.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/expressions/common/expression_functions/specs/math_column.ts", "deprecated": false, "trackAdoption": false @@ -41077,10 +42322,13 @@ { "parentPluginId": "expressions", "id": "def-common.mathColumn.args.copyMetaFrom.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/expressions/common/expression_functions/specs/math_column.ts", "deprecated": false, "trackAdoption": false @@ -41158,7 +42406,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">) => Promise<", { "pluginId": "expressions", @@ -41239,7 +42493,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">" ], "path": "src/plugins/expressions/common/expression_functions/specs/math_column.ts", @@ -41311,10 +42571,13 @@ { "parentPluginId": "expressions", "id": "def-common.movingAverage.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/expressions/common/expression_functions/specs/moving_average.ts", "deprecated": false, "trackAdoption": false @@ -41344,10 +42607,13 @@ { "parentPluginId": "expressions", "id": "def-common.movingAverage.args.by.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/expressions/common/expression_functions/specs/moving_average.ts", "deprecated": false, "trackAdoption": false @@ -41410,10 +42676,13 @@ { "parentPluginId": "expressions", "id": "def-common.movingAverage.args.inputColumnId.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/expressions/common/expression_functions/specs/moving_average.ts", "deprecated": false, "trackAdoption": false @@ -41462,10 +42731,13 @@ { "parentPluginId": "expressions", "id": "def-common.movingAverage.args.outputColumnId.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/expressions/common/expression_functions/specs/moving_average.ts", "deprecated": false, "trackAdoption": false @@ -41514,10 +42786,13 @@ { "parentPluginId": "expressions", "id": "def-common.movingAverage.args.outputColumnName.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/expressions/common/expression_functions/specs/moving_average.ts", "deprecated": false, "trackAdoption": false @@ -41566,10 +42841,13 @@ { "parentPluginId": "expressions", "id": "def-common.movingAverage.args.window.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/expressions/common/expression_functions/specs/moving_average.ts", "deprecated": false, "trackAdoption": false @@ -42325,10 +43603,13 @@ { "parentPluginId": "expressions", "id": "def-common.overallMetric.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/expressions/common/expression_functions/specs/overall_metric.ts", "deprecated": false, "trackAdoption": false @@ -42358,10 +43639,13 @@ { "parentPluginId": "expressions", "id": "def-common.overallMetric.args.by.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/expressions/common/expression_functions/specs/overall_metric.ts", "deprecated": false, "trackAdoption": false @@ -42424,10 +43708,13 @@ { "parentPluginId": "expressions", "id": "def-common.overallMetric.args.metric.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/expressions/common/expression_functions/specs/overall_metric.ts", "deprecated": false, "trackAdoption": false @@ -42476,10 +43763,13 @@ { "parentPluginId": "expressions", "id": "def-common.overallMetric.args.inputColumnId.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/expressions/common/expression_functions/specs/overall_metric.ts", "deprecated": false, "trackAdoption": false @@ -42528,10 +43818,13 @@ { "parentPluginId": "expressions", "id": "def-common.overallMetric.args.outputColumnId.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/expressions/common/expression_functions/specs/overall_metric.ts", "deprecated": false, "trackAdoption": false @@ -42580,10 +43873,13 @@ { "parentPluginId": "expressions", "id": "def-common.overallMetric.args.outputColumnName.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/expressions/common/expression_functions/specs/overall_metric.ts", "deprecated": false, "trackAdoption": false @@ -43844,10 +45140,13 @@ { "parentPluginId": "expressions", "id": "def-common.theme.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/expressions/common/expression_functions/specs/theme.ts", "deprecated": false, "trackAdoption": false @@ -43905,10 +45204,13 @@ { "parentPluginId": "expressions", "id": "def-common.theme.args.variable.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/expressions/common/expression_functions/specs/theme.ts", "deprecated": false, "trackAdoption": false @@ -43957,10 +45259,13 @@ { "parentPluginId": "expressions", "id": "def-common.theme.args.default.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/expressions/common/expression_functions/specs/theme.ts", "deprecated": false, "trackAdoption": false @@ -43994,7 +45299,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">) => any" ], "path": "src/plugins/expressions/common/expression_functions/specs/theme.ts", @@ -44055,7 +45366,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">" ], "path": "src/plugins/expressions/common/expression_functions/specs/theme.ts", @@ -44383,10 +45700,13 @@ { "parentPluginId": "expressions", "id": "def-common.variable.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/expressions/common/expression_functions/specs/var.ts", "deprecated": false, "trackAdoption": false @@ -44458,10 +45778,13 @@ { "parentPluginId": "expressions", "id": "def-common.variable.args.name.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/expressions/common/expression_functions/specs/var.ts", "deprecated": false, "trackAdoption": false @@ -44495,7 +45818,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">) => unknown" ], "path": "src/plugins/expressions/common/expression_functions/specs/var.ts", @@ -44556,7 +45885,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">" ], "path": "src/plugins/expressions/common/expression_functions/specs/var.ts", @@ -44598,10 +45933,13 @@ { "parentPluginId": "expressions", "id": "def-common.variableSet.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/expressions/common/expression_functions/specs/var_set.ts", "deprecated": false, "trackAdoption": false @@ -44687,10 +46025,13 @@ { "parentPluginId": "expressions", "id": "def-common.variableSet.args.name.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/expressions/common/expression_functions/specs/var_set.ts", "deprecated": false, "trackAdoption": false @@ -44739,10 +46080,13 @@ { "parentPluginId": "expressions", "id": "def-common.variableSet.args.value.help", - "type": "string", + "type": "Any", "tags": [], "label": "help", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/expressions/common/expression_functions/specs/var_set.ts", "deprecated": false, "trackAdoption": false @@ -44776,7 +46120,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">) => unknown" ], "path": "src/plugins/expressions/common/expression_functions/specs/var_set.ts", @@ -44837,7 +46187,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">" ], "path": "src/plugins/expressions/common/expression_functions/specs/var_set.ts", diff --git a/api_docs/expressions.mdx b/api_docs/expressions.mdx index 0debf0db98534..cefd4e2f8cbdd 100644 --- a/api_docs/expressions.mdx +++ b/api_docs/expressions.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressions title: "expressions" image: https://source.unsplash.com/400x175/?github description: API docs for the expressions plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressions'] --- import expressionsObj from './expressions.devdocs.json'; @@ -21,7 +21,7 @@ Contact [App Services](https://github.com/orgs/elastic/teams/kibana-app-services | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 2191 | 17 | 1734 | 5 | +| 2191 | 73 | 1734 | 5 | ## Client diff --git a/api_docs/features.devdocs.json b/api_docs/features.devdocs.json index 4214e7c762f0a..c7982c8ae51ad 100644 --- a/api_docs/features.devdocs.json +++ b/api_docs/features.devdocs.json @@ -566,7 +566,13 @@ "\nThe category for this feature.\nThis will be used to organize the list of features for display within the\nSpaces and Roles management screens." ], "signature": [ - "AppCategory" + { + "pluginId": "@kbn/core-application-common", + "scope": "common", + "docId": "kibKbnCoreApplicationCommonPluginApi", + "section": "def-common.AppCategory", + "text": "AppCategory" + } ], "path": "x-pack/plugins/features/common/kibana_feature.ts", "deprecated": false, @@ -1053,11 +1059,29 @@ "description": [], "signature": [ "Readonly<{ id: string; management?: Readonly<{ [x: string]: ", - "RecursiveReadonlyArray", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.RecursiveReadonlyArray", + "text": "RecursiveReadonlyArray" + }, "; }> | undefined; catalogue?: ", - "RecursiveReadonlyArray", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.RecursiveReadonlyArray", + "text": "RecursiveReadonlyArray" + }, " | undefined; privileges: ", - "RecursiveReadonlyArray", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.RecursiveReadonlyArray", + "text": "RecursiveReadonlyArray" + }, "<", { "pluginId": "features", @@ -1095,7 +1119,13 @@ "label": "catalogue", "description": [], "signature": [ - "RecursiveReadonlyArray", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.RecursiveReadonlyArray", + "text": "RecursiveReadonlyArray" + }, " | undefined" ], "path": "x-pack/plugins/features/common/elasticsearch_feature.ts", @@ -1111,7 +1141,13 @@ "description": [], "signature": [ "Readonly<{ [x: string]: ", - "RecursiveReadonlyArray", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.RecursiveReadonlyArray", + "text": "RecursiveReadonlyArray" + }, "; }> | undefined" ], "path": "x-pack/plugins/features/common/elasticsearch_feature.ts", @@ -1126,7 +1162,13 @@ "label": "privileges", "description": [], "signature": [ - "RecursiveReadonlyArray", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.RecursiveReadonlyArray", + "text": "RecursiveReadonlyArray" + }, "<", { "pluginId": "features", @@ -1910,7 +1952,13 @@ "\nThe category for this feature.\nThis will be used to organize the list of features for display within the\nSpaces and Roles management screens." ], "signature": [ - "AppCategory" + { + "pluginId": "@kbn/core-application-common", + "scope": "common", + "docId": "kibKbnCoreApplicationCommonPluginApi", + "section": "def-common.AppCategory", + "text": "AppCategory" + } ], "path": "x-pack/plugins/features/common/kibana_feature.ts", "deprecated": false, @@ -2435,7 +2483,13 @@ "description": [], "signature": [ "() => ", - "Capabilities" + { + "pluginId": "@kbn/core-capabilities-common", + "scope": "common", + "docId": "kibKbnCoreCapabilitiesCommonPluginApi", + "section": "def-common.Capabilities", + "text": "Capabilities" + } ], "path": "x-pack/plugins/features/server/plugin.ts", "deprecated": false, @@ -2740,11 +2794,29 @@ "description": [], "signature": [ "Readonly<{ id: string; management?: Readonly<{ [x: string]: ", - "RecursiveReadonlyArray", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.RecursiveReadonlyArray", + "text": "RecursiveReadonlyArray" + }, "; }> | undefined; catalogue?: ", - "RecursiveReadonlyArray", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.RecursiveReadonlyArray", + "text": "RecursiveReadonlyArray" + }, " | undefined; privileges: ", - "RecursiveReadonlyArray", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.RecursiveReadonlyArray", + "text": "RecursiveReadonlyArray" + }, "<", { "pluginId": "features", @@ -2782,7 +2854,13 @@ "label": "catalogue", "description": [], "signature": [ - "RecursiveReadonlyArray", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.RecursiveReadonlyArray", + "text": "RecursiveReadonlyArray" + }, " | undefined" ], "path": "x-pack/plugins/features/common/elasticsearch_feature.ts", @@ -2798,7 +2876,13 @@ "description": [], "signature": [ "Readonly<{ [x: string]: ", - "RecursiveReadonlyArray", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.RecursiveReadonlyArray", + "text": "RecursiveReadonlyArray" + }, "; }> | undefined" ], "path": "x-pack/plugins/features/common/elasticsearch_feature.ts", @@ -2813,7 +2897,13 @@ "label": "privileges", "description": [], "signature": [ - "RecursiveReadonlyArray", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.RecursiveReadonlyArray", + "text": "RecursiveReadonlyArray" + }, "<", { "pluginId": "features", @@ -3719,7 +3809,13 @@ "\nThe category for this feature.\nThis will be used to organize the list of features for display within the\nSpaces and Roles management screens." ], "signature": [ - "AppCategory" + { + "pluginId": "@kbn/core-application-common", + "scope": "common", + "docId": "kibKbnCoreApplicationCommonPluginApi", + "section": "def-common.AppCategory", + "text": "AppCategory" + } ], "path": "x-pack/plugins/features/common/kibana_feature.ts", "deprecated": false, diff --git a/api_docs/features.mdx b/api_docs/features.mdx index a9a66ccc1dc7a..2e177c06b95be 100644 --- a/api_docs/features.mdx +++ b/api_docs/features.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/features title: "features" image: https://source.unsplash.com/400x175/?github description: API docs for the features plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'features'] --- import featuresObj from './features.devdocs.json'; diff --git a/api_docs/field_formats.devdocs.json b/api_docs/field_formats.devdocs.json index e072b2ca996b4..ee79971c21c0d 100644 --- a/api_docs/field_formats.devdocs.json +++ b/api_docs/field_formats.devdocs.json @@ -53,10 +53,13 @@ { "parentPluginId": "fieldFormats", "id": "def-public.DateFormat.title", - "type": "string", + "type": "Any", "tags": [], "label": "title", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/field_formats/public/lib/converters/date.ts", "deprecated": false, "trackAdoption": false @@ -69,7 +72,13 @@ "label": "fieldType", "description": [], "signature": [ - "KBN_FIELD_TYPES" + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + } ], "path": "src/plugins/field_formats/public/lib/converters/date.ts", "deprecated": false, @@ -84,9 +93,21 @@ "description": [], "signature": [ "() => { pattern: ", - "Serializable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Serializable", + "text": "Serializable" + }, "; timezone: ", - "Serializable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Serializable", + "text": "Serializable" + }, "; }" ], "path": "src/plugins/field_formats/public/lib/converters/date.ts", @@ -175,10 +196,13 @@ { "parentPluginId": "fieldFormats", "id": "def-public.DateNanosFormat.title", - "type": "string", + "type": "Any", "tags": [], "label": "title", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/field_formats/common/converters/date_nanos_shared.ts", "deprecated": false, "trackAdoption": false @@ -191,7 +215,13 @@ "label": "fieldType", "description": [], "signature": [ - "KBN_FIELD_TYPES" + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + } ], "path": "src/plugins/field_formats/common/converters/date_nanos_shared.ts", "deprecated": false, @@ -242,11 +272,29 @@ "description": [], "signature": [ "() => { pattern: ", - "Serializable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Serializable", + "text": "Serializable" + }, "; fallbackPattern: ", - "Serializable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Serializable", + "text": "Serializable" + }, "; timezone: ", - "Serializable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Serializable", + "text": "Serializable" + }, "; }" ], "path": "src/plugins/field_formats/common/converters/date_nanos_shared.ts", @@ -406,10 +454,13 @@ { "parentPluginId": "fieldFormats", "id": "def-server.DateFormat.title", - "type": "string", + "type": "Any", "tags": [], "label": "title", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/field_formats/server/lib/converters/date_server.ts", "deprecated": false, "trackAdoption": false @@ -422,7 +473,13 @@ "label": "fieldType", "description": [], "signature": [ - "KBN_FIELD_TYPES" + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + } ], "path": "src/plugins/field_formats/server/lib/converters/date_server.ts", "deprecated": false, @@ -451,7 +508,13 @@ "description": [], "signature": [ "(", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " & ", { "pluginId": "fieldFormats", @@ -483,7 +546,13 @@ "text": "FieldFormatsGetConfigFn" }, "<", - "Serializable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Serializable", + "text": "Serializable" + }, "> | undefined" ], "path": "src/plugins/field_formats/server/lib/converters/date_server.ts", @@ -503,9 +572,21 @@ "description": [], "signature": [ "() => { pattern: ", - "Serializable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Serializable", + "text": "Serializable" + }, "; timezone: ", - "Serializable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Serializable", + "text": "Serializable" + }, "; }" ], "path": "src/plugins/field_formats/server/lib/converters/date_server.ts", @@ -753,7 +834,13 @@ ], "signature": [ "(uiSettings: ", - "IUiSettingsClient", + { + "pluginId": "@kbn/core-ui-settings-server", + "scope": "server", + "docId": "kibKbnCoreUiSettingsServerPluginApi", + "section": "def-server.IUiSettingsClient", + "text": "IUiSettingsClient" + }, ") => Promise<", { "pluginId": "fieldFormats", @@ -778,7 +865,13 @@ "- {@link IUiSettingsClient }" ], "signature": [ - "IUiSettingsClient" + { + "pluginId": "@kbn/core-ui-settings-server", + "scope": "server", + "docId": "kibKbnCoreUiSettingsServerPluginApi", + "section": "def-server.IUiSettingsClient", + "text": "IUiSettingsClient" + } ], "path": "src/plugins/field_formats/server/types.ts", "deprecated": false, @@ -846,10 +939,13 @@ { "parentPluginId": "fieldFormats", "id": "def-common.BoolFormat.title", - "type": "string", + "type": "Any", "tags": [], "label": "title", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/field_formats/common/converters/boolean.ts", "deprecated": false, "trackAdoption": false @@ -862,7 +958,13 @@ "label": "fieldType", "description": [], "signature": [ - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, "[]" ], "path": "src/plugins/field_formats/common/converters/boolean.ts", @@ -979,10 +1081,13 @@ { "parentPluginId": "fieldFormats", "id": "def-common.BytesFormat.title", - "type": "string", + "type": "Any", "tags": [], "label": "title", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/field_formats/common/converters/bytes.ts", "deprecated": false, "trackAdoption": false @@ -1010,10 +1115,13 @@ { "parentPluginId": "fieldFormats", "id": "def-common.BytesFormat.title", - "type": "string", + "type": "Any", "tags": [], "label": "title", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/field_formats/common/converters/bytes.ts", "deprecated": false, "trackAdoption": false @@ -1083,10 +1191,13 @@ { "parentPluginId": "fieldFormats", "id": "def-common.ColorFormat.title", - "type": "string", + "type": "Any", "tags": [], "label": "title", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/field_formats/common/converters/color.tsx", "deprecated": false, "trackAdoption": false @@ -1099,7 +1210,13 @@ "label": "fieldType", "description": [], "signature": [ - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, "[]" ], "path": "src/plugins/field_formats/common/converters/color.tsx", @@ -1270,10 +1387,13 @@ { "parentPluginId": "fieldFormats", "id": "def-common.DurationFormat.title", - "type": "string", + "type": "Any", "tags": [], "label": "title", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/field_formats/common/converters/duration.ts", "deprecated": false, "trackAdoption": false @@ -1286,7 +1406,13 @@ "label": "fieldType", "description": [], "signature": [ - "KBN_FIELD_TYPES" + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + } ], "path": "src/plugins/field_formats/common/converters/duration.ts", "deprecated": false, @@ -1300,7 +1426,7 @@ "label": "inputFormats", "description": [], "signature": [ - "{ text: string; kind: string; }[]" + "{ text: any; kind: string; }[]" ], "path": "src/plugins/field_formats/common/converters/duration.ts", "deprecated": false, @@ -1314,7 +1440,7 @@ "label": "outputFormats", "description": [], "signature": [ - "({ text: string; method: string; shortText?: undefined; } | { text: string; shortText: string; method: string; })[]" + "({ text: any; method: string; shortText?: undefined; } | { text: any; shortText: any; method: string; })[]" ], "path": "src/plugins/field_formats/common/converters/duration.ts", "deprecated": false, @@ -1604,7 +1730,13 @@ "label": "_params", "description": [], "signature": [ - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " & ", { "pluginId": "fieldFormats", @@ -1634,7 +1766,13 @@ "text": "FieldFormatsGetConfigFn" }, "<", - "Serializable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Serializable", + "text": "Serializable" + }, "> | undefined" ], "path": "src/plugins/field_formats/common/field_format.ts", @@ -1663,7 +1801,13 @@ "label": "_params", "description": [], "signature": [ - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " & ", { "pluginId": "fieldFormats", @@ -1694,7 +1838,13 @@ "text": "FieldFormatsGetConfigFn" }, "<", - "Serializable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Serializable", + "text": "Serializable" + }, "> | undefined" ], "path": "src/plugins/field_formats/common/field_format.ts", @@ -1892,7 +2042,13 @@ ], "signature": [ "() => ", - "SerializableRecord" + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + } ], "path": "src/plugins/field_formats/common/field_format.ts", "deprecated": false, @@ -1955,7 +2111,13 @@ ], "signature": [ "() => ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " & ", { "pluginId": "fieldFormats", @@ -1984,7 +2146,13 @@ ], "signature": [ "() => { id: string; params: (", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " & ", { "pluginId": "fieldFormats", @@ -2192,7 +2360,13 @@ "text": "FieldFormatsGetConfigFn" }, "<", - "Serializable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Serializable", + "text": "Serializable" + }, "> | undefined" ], "path": "src/plugins/field_formats/common/field_formats_registry.ts", @@ -2216,7 +2390,13 @@ "text": "SerializedFieldFormat" }, "<{}, ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, "> | undefined) => ", { "pluginId": "fieldFormats", @@ -2246,7 +2426,13 @@ "text": "SerializedFieldFormat" }, "<{}, ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, "> | undefined" ], "path": "src/plugins/field_formats/common/field_formats_registry.ts", @@ -2274,7 +2460,13 @@ "text": "FieldFormatsGetConfigFn" }, "<", - "Serializable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Serializable", + "text": "Serializable" + }, ">, metaParamsOptions?: ", { "pluginId": "fieldFormats", @@ -2313,7 +2505,13 @@ "text": "FieldFormatsGetConfigFn" }, "<", - "Serializable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Serializable", + "text": "Serializable" + }, ">" ], "path": "src/plugins/field_formats/common/field_formats_registry.ts", @@ -2380,9 +2578,21 @@ ], "signature": [ "(fieldType: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, ", esTypes?: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined) => ", { "pluginId": "fieldFormats", @@ -2406,7 +2616,13 @@ "- the field type" ], "signature": [ - "KBN_FIELD_TYPES" + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + } ], "path": "src/plugins/field_formats/common/field_formats_registry.ts", "deprecated": false, @@ -2423,7 +2639,13 @@ "- Array of ES data types" ], "signature": [ - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined" ], "path": "src/plugins/field_formats/common/field_formats_registry.ts", @@ -2533,9 +2755,21 @@ ], "signature": [ "(fieldType: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, ", esTypes?: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined) => ", { "pluginId": "fieldFormats", @@ -2558,7 +2792,13 @@ "label": "fieldType", "description": [], "signature": [ - "KBN_FIELD_TYPES" + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + } ], "path": "src/plugins/field_formats/common/field_formats_registry.ts", "deprecated": false, @@ -2575,7 +2815,13 @@ "- Array of ES data types" ], "signature": [ - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined" ], "path": "src/plugins/field_formats/common/field_formats_registry.ts", @@ -2599,9 +2845,21 @@ ], "signature": [ "(esTypes: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined) => ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, " | undefined" ], "path": "src/plugins/field_formats/common/field_formats_registry.ts", @@ -2618,7 +2876,13 @@ "- Array of ES data types" ], "signature": [ - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined" ], "path": "src/plugins/field_formats/common/field_formats_registry.ts", @@ -2642,13 +2906,37 @@ ], "signature": [ "(fieldType: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, ", esTypes?: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined) => ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, " | ", - "KBN_FIELD_TYPES" + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + } ], "path": "src/plugins/field_formats/common/field_formats_registry.ts", "deprecated": false, @@ -2662,7 +2950,13 @@ "label": "fieldType", "description": [], "signature": [ - "KBN_FIELD_TYPES" + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + } ], "path": "src/plugins/field_formats/common/field_formats_registry.ts", "deprecated": false, @@ -2677,7 +2971,13 @@ "label": "esTypes", "description": [], "signature": [ - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined" ], "path": "src/plugins/field_formats/common/field_formats_registry.ts", @@ -2701,7 +3001,13 @@ ], "signature": [ "(formatId: string, params?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ") => ", { "pluginId": "fieldFormats", @@ -2738,7 +3044,13 @@ "label": "params", "description": [], "signature": [ - "SerializableRecord" + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + } ], "path": "src/plugins/field_formats/common/field_formats_registry.ts", "deprecated": false, @@ -2761,11 +3073,29 @@ ], "signature": [ "(fieldType: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, ", esTypes?: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined, params?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ") => ", { "pluginId": "fieldFormats", @@ -2787,7 +3117,13 @@ "label": "fieldType", "description": [], "signature": [ - "KBN_FIELD_TYPES" + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + } ], "path": "src/plugins/field_formats/common/field_formats_registry.ts", "deprecated": false, @@ -2802,7 +3138,13 @@ "label": "esTypes", "description": [], "signature": [ - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined" ], "path": "src/plugins/field_formats/common/field_formats_registry.ts", @@ -2818,7 +3160,13 @@ "label": "params", "description": [], "signature": [ - "SerializableRecord" + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + } ], "path": "src/plugins/field_formats/common/field_formats_registry.ts", "deprecated": false, @@ -2841,9 +3189,21 @@ ], "signature": [ "(fieldType: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, ", esTypes?: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined) => string" ], "path": "src/plugins/field_formats/common/field_formats_registry.ts", @@ -2858,7 +3218,13 @@ "label": "fieldType", "description": [], "signature": [ - "KBN_FIELD_TYPES" + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + } ], "path": "src/plugins/field_formats/common/field_formats_registry.ts", "deprecated": false, @@ -2873,7 +3239,13 @@ "label": "esTypes", "description": [], "signature": [ - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined" ], "path": "src/plugins/field_formats/common/field_formats_registry.ts", @@ -2897,7 +3269,13 @@ ], "signature": [ "(fieldType: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, ") => ", { "pluginId": "fieldFormats", @@ -2920,7 +3298,13 @@ "label": "fieldType", "description": [], "signature": [ - "KBN_FIELD_TYPES" + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + } ], "path": "src/plugins/field_formats/common/field_formats_registry.ts", "deprecated": false, @@ -2943,11 +3327,29 @@ ], "signature": [ "(fieldType: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, ", esTypes?: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined, params?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ") => ", { "pluginId": "fieldFormats", @@ -2969,7 +3371,13 @@ "label": "fieldType", "description": [], "signature": [ - "KBN_FIELD_TYPES" + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + } ], "path": "src/plugins/field_formats/common/field_formats_registry.ts", "deprecated": false, @@ -2984,7 +3392,13 @@ "label": "esTypes", "description": [], "signature": [ - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined" ], "path": "src/plugins/field_formats/common/field_formats_registry.ts", @@ -3000,7 +3414,13 @@ "label": "params", "description": [], "signature": [ - "SerializableRecord" + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + } ], "path": "src/plugins/field_formats/common/field_formats_registry.ts", "deprecated": false, @@ -3193,10 +3613,13 @@ { "parentPluginId": "fieldFormats", "id": "def-common.GeoPointFormat.title", - "type": "string", + "type": "Any", "tags": [], "label": "title", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/field_formats/common/converters/geo_point.ts", "deprecated": false, "trackAdoption": false @@ -3209,7 +3632,13 @@ "label": "fieldType", "description": [], "signature": [ - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, "[]" ], "path": "src/plugins/field_formats/common/converters/geo_point.ts", @@ -3224,7 +3653,7 @@ "label": "transformOptions", "description": [], "signature": [ - "{ kind: string; text: string; }[]" + "{ kind: string; text: any; }[]" ], "path": "src/plugins/field_formats/common/converters/geo_point.ts", "deprecated": false, @@ -3367,7 +3796,13 @@ "label": "fieldType", "description": [], "signature": [ - "KBN_FIELD_TYPES" + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + } ], "path": "src/plugins/field_formats/common/converters/histogram.ts", "deprecated": false, @@ -3376,10 +3811,13 @@ { "parentPluginId": "fieldFormats", "id": "def-common.HistogramFormat.title", - "type": "string", + "type": "Any", "tags": [], "label": "title", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/field_formats/common/converters/histogram.ts", "deprecated": false, "trackAdoption": false @@ -3407,10 +3845,13 @@ { "parentPluginId": "fieldFormats", "id": "def-common.HistogramFormat.title", - "type": "string", + "type": "Any", "tags": [], "label": "title", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/field_formats/common/converters/histogram.ts", "deprecated": false, "trackAdoption": false @@ -3558,10 +3999,13 @@ { "parentPluginId": "fieldFormats", "id": "def-common.IpFormat.title", - "type": "string", + "type": "Any", "tags": [], "label": "title", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/field_formats/common/converters/ip.ts", "deprecated": false, "trackAdoption": false @@ -3574,7 +4018,13 @@ "label": "fieldType", "description": [], "signature": [ - "KBN_FIELD_TYPES" + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + } ], "path": "src/plugins/field_formats/common/converters/ip.ts", "deprecated": false, @@ -3660,10 +4110,13 @@ { "parentPluginId": "fieldFormats", "id": "def-common.NumberFormat.title", - "type": "string", + "type": "Any", "tags": [], "label": "title", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/field_formats/common/converters/number.ts", "deprecated": false, "trackAdoption": false @@ -3691,10 +4144,13 @@ { "parentPluginId": "fieldFormats", "id": "def-common.NumberFormat.title", - "type": "string", + "type": "Any", "tags": [], "label": "title", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/field_formats/common/converters/number.ts", "deprecated": false, "trackAdoption": false @@ -3758,10 +4214,13 @@ { "parentPluginId": "fieldFormats", "id": "def-common.PercentFormat.title", - "type": "string", + "type": "Any", "tags": [], "label": "title", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/field_formats/common/converters/percent.ts", "deprecated": false, "trackAdoption": false @@ -3789,10 +4248,13 @@ { "parentPluginId": "fieldFormats", "id": "def-common.PercentFormat.title", - "type": "string", + "type": "Any", "tags": [], "label": "title", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/field_formats/common/converters/percent.ts", "deprecated": false, "trackAdoption": false @@ -3817,7 +4279,13 @@ "description": [], "signature": [ "() => { pattern: ", - "Serializable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Serializable", + "text": "Serializable" + }, "; fractional: boolean; }" ], "path": "src/plugins/field_formats/common/converters/percent.ts", @@ -3912,10 +4380,13 @@ { "parentPluginId": "fieldFormats", "id": "def-common.RelativeDateFormat.title", - "type": "string", + "type": "Any", "tags": [], "label": "title", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/field_formats/common/converters/relative_date.ts", "deprecated": false, "trackAdoption": false @@ -3928,7 +4399,13 @@ "label": "fieldType", "description": [], "signature": [ - "KBN_FIELD_TYPES" + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + } ], "path": "src/plugins/field_formats/common/converters/relative_date.ts", "deprecated": false, @@ -4020,10 +4497,13 @@ { "parentPluginId": "fieldFormats", "id": "def-common.StaticLookupFormat.title", - "type": "string", + "type": "Any", "tags": [], "label": "title", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/field_formats/common/converters/static_lookup.ts", "deprecated": false, "trackAdoption": false @@ -4036,7 +4516,13 @@ "label": "fieldType", "description": [], "signature": [ - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, "[]" ], "path": "src/plugins/field_formats/common/converters/static_lookup.ts", @@ -4145,10 +4631,13 @@ { "parentPluginId": "fieldFormats", "id": "def-common.StringFormat.title", - "type": "string", + "type": "Any", "tags": [], "label": "title", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/field_formats/common/converters/string.ts", "deprecated": false, "trackAdoption": false @@ -4161,7 +4650,13 @@ "label": "fieldType", "description": [], "signature": [ - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, "[]" ], "path": "src/plugins/field_formats/common/converters/string.ts", @@ -4176,7 +4671,7 @@ "label": "transformOptions", "description": [], "signature": [ - "({ kind: boolean; text: string; } | { kind: string; text: string; })[]" + "({ kind: boolean; text: any; } | { kind: string; text: any; })[]" ], "path": "src/plugins/field_formats/common/converters/string.ts", "deprecated": false, @@ -4214,7 +4709,7 @@ "section": "def-common.TextContextTypeOptions", "text": "TextContextTypeOptions" }, - " | undefined) => string" + " | undefined) => any" ], "path": "src/plugins/field_formats/common/converters/string.ts", "deprecated": false, @@ -4376,10 +4871,13 @@ { "parentPluginId": "fieldFormats", "id": "def-common.TruncateFormat.title", - "type": "string", + "type": "Any", "tags": [], "label": "title", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/field_formats/common/converters/truncate.ts", "deprecated": false, "trackAdoption": false @@ -4392,7 +4890,13 @@ "label": "fieldType", "description": [], "signature": [ - "KBN_FIELD_TYPES" + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + } ], "path": "src/plugins/field_formats/common/converters/truncate.ts", "deprecated": false, @@ -4484,10 +4988,13 @@ { "parentPluginId": "fieldFormats", "id": "def-common.UrlFormat.title", - "type": "string", + "type": "Any", "tags": [], "label": "title", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/field_formats/common/converters/url.ts", "deprecated": false, "trackAdoption": false @@ -4500,7 +5007,13 @@ "label": "fieldType", "description": [], "signature": [ - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, "[]" ], "path": "src/plugins/field_formats/common/converters/url.ts", @@ -4515,7 +5028,7 @@ "label": "urlTypes", "description": [], "signature": [ - "{ kind: string; text: string; }[]" + "{ kind: string; text: any; }[]" ], "path": "src/plugins/field_formats/common/converters/url.ts", "deprecated": false, @@ -4543,7 +5056,13 @@ "label": "params", "description": [], "signature": [ - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " & ", { "pluginId": "fieldFormats", @@ -5024,7 +5543,13 @@ "description": [], "signature": [ "{ id: string; params: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, "; es?: boolean | undefined; }" ], "path": "src/plugins/field_formats/common/types.ts", @@ -5093,7 +5618,13 @@ ], "signature": [ "(new (params?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined, getConfig?: ", { "pluginId": "fieldFormats", @@ -5103,7 +5634,13 @@ "text": "FieldFormatsGetConfigFn" }, "<", - "Serializable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Serializable", + "text": "Serializable" + }, "> | undefined) => ", { "pluginId": "fieldFormats", @@ -5129,7 +5666,13 @@ "\nParams provided when creating a formatter.\nParams are vary per formatter\n\nTODO: support strict typing for params depending on format type\nhttps://github.com/elastic/kibana/issues/108158" ], "signature": [ - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " & P" ], "path": "src/plugins/field_formats/common/types.ts", @@ -5214,9 +5757,21 @@ "text": "FormatFactory" }, "; getDefaultConfig: (fieldType: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, ", esTypes?: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined) => ", { "pluginId": "fieldFormats", @@ -5242,9 +5797,21 @@ "text": "FieldFormatInstanceType" }, " | undefined; getDefaultType: (fieldType: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, ", esTypes?: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined) => ", { "pluginId": "fieldFormats", @@ -5254,19 +5821,61 @@ "text": "FieldFormatInstanceType" }, " | undefined; getTypeNameByEsTypes: (esTypes: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined) => ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, " | undefined; getDefaultTypeName: (fieldType: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, ", esTypes?: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined) => ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, " | ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, "; getInstance: (formatId: string, params?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ") => ", { "pluginId": "fieldFormats", @@ -5276,11 +5885,29 @@ "text": "FieldFormat" }, "; getDefaultInstancePlain: (fieldType: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, ", esTypes?: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined, params?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ") => ", { "pluginId": "fieldFormats", @@ -5290,11 +5917,29 @@ "text": "FieldFormat" }, "; getDefaultInstanceCacheResolver: (fieldType: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, ", esTypes?: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined) => string; getByFieldType: (fieldType: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, ") => ", { "pluginId": "fieldFormats", @@ -5304,11 +5949,29 @@ "text": "FieldFormatInstanceType" }, "[]; getDefaultInstance: (fieldType: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, ", esTypes?: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined, params?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ") => ", { "pluginId": "fieldFormats", @@ -5518,7 +6181,13 @@ "text": "FieldFormatsGetConfigFn" }, "<", - "Serializable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Serializable", + "text": "Serializable" + }, ">, metaParamsOptions?: ", { "pluginId": "fieldFormats", @@ -5552,9 +6221,21 @@ "text": "FieldFormatInstanceType" }, "[]) => void; getDefaultConfig: (fieldType: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, ", esTypes?: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined) => ", { "pluginId": "fieldFormats", @@ -5580,9 +6261,21 @@ "text": "FieldFormatInstanceType" }, " | undefined; getDefaultType: (fieldType: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, ", esTypes?: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined) => ", { "pluginId": "fieldFormats", @@ -5592,19 +6285,61 @@ "text": "FieldFormatInstanceType" }, " | undefined; getTypeNameByEsTypes: (esTypes: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined) => ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, " | undefined; getDefaultTypeName: (fieldType: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, ", esTypes?: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined) => ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, " | ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, "; getInstance: (formatId: string, params?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ") => ", { "pluginId": "fieldFormats", @@ -5614,11 +6349,29 @@ "text": "FieldFormat" }, "; getDefaultInstancePlain: (fieldType: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, ", esTypes?: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined, params?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ") => ", { "pluginId": "fieldFormats", @@ -5628,11 +6381,29 @@ "text": "FieldFormat" }, "; getDefaultInstanceCacheResolver: (fieldType: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, ", esTypes?: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined) => string; getByFieldType: (fieldType: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, ") => ", { "pluginId": "fieldFormats", @@ -5642,11 +6413,29 @@ "text": "FieldFormatInstanceType" }, "[]; getDefaultInstance: (fieldType: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, ", esTypes?: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined, params?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ") => ", { "pluginId": "fieldFormats", diff --git a/api_docs/field_formats.mdx b/api_docs/field_formats.mdx index 48e5baffafee0..30e199a53539d 100644 --- a/api_docs/field_formats.mdx +++ b/api_docs/field_formats.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/fieldFormats title: "fieldFormats" image: https://source.unsplash.com/400x175/?github description: API docs for the fieldFormats plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'fieldFormats'] --- import fieldFormatsObj from './field_formats.devdocs.json'; @@ -21,7 +21,7 @@ Contact [App Services](https://github.com/orgs/elastic/teams/kibana-app-services | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 288 | 5 | 249 | 3 | +| 288 | 26 | 249 | 3 | ## Client diff --git a/api_docs/file_upload.devdocs.json b/api_docs/file_upload.devdocs.json index afba8b7312153..f25468cc2ce79 100644 --- a/api_docs/file_upload.devdocs.json +++ b/api_docs/file_upload.devdocs.json @@ -242,9 +242,21 @@ "label": "geoFieldType", "description": [], "signature": [ - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".GEO_POINT | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".GEO_SHAPE" ], "path": "x-pack/plugins/file_upload/public/lazy_load_bundle/index.ts", @@ -604,71 +616,269 @@ "description": [], "signature": [ "{ properties: { [fieldName: string]: { type: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".STRING | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".TEXT | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".MATCH_ONLY_TEXT | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".KEYWORD | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".VERSION | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".BOOLEAN | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".OBJECT | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".DATE | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".DATE_NANOS | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".DATE_RANGE | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".GEO_POINT | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".GEO_SHAPE | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".FLOAT | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".HALF_FLOAT | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".SCALED_FLOAT | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".DOUBLE | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".INTEGER | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".LONG | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".SHORT | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".UNSIGNED_LONG | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".AGGREGATE_METRIC_DOUBLE | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".FLOAT_RANGE | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".DOUBLE_RANGE | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".INTEGER_RANGE | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".LONG_RANGE | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".NESTED | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".BYTE | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".IP | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".IP_RANGE | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".ATTACHMENT | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".TOKEN_COUNT | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".MURMUR3 | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".HISTOGRAM; format?: string | undefined; }; }; }" ], "path": "x-pack/plugins/file_upload/common/types.ts", diff --git a/api_docs/file_upload.mdx b/api_docs/file_upload.mdx index 446d1de3366f5..7ddde8f855f12 100644 --- a/api_docs/file_upload.mdx +++ b/api_docs/file_upload.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/fileUpload title: "fileUpload" image: https://source.unsplash.com/400x175/?github description: API docs for the fileUpload plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'fileUpload'] --- import fileUploadObj from './file_upload.devdocs.json'; diff --git a/api_docs/files.devdocs.json b/api_docs/files.devdocs.json index c2f975575fe41..8264e26e68efe 100644 --- a/api_docs/files.devdocs.json +++ b/api_docs/files.devdocs.json @@ -2971,7 +2971,13 @@ "\nA logger for debuggin purposes" ], "signature": [ - "Logger" + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + } ], "path": "x-pack/plugins/files/server/file_client/create_es_file_client.ts", "deprecated": false, @@ -4161,7 +4167,13 @@ ], "signature": [ "(req: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ") => ", { "pluginId": "files", @@ -4185,7 +4197,13 @@ "- the Kibana request to scope the service to" ], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "" ], "path": "x-pack/plugins/files/server/file_service/file_service_factory.ts", @@ -6814,7 +6832,13 @@ "\nAn {@link SavedObject} containing a file object (i.e., metadata only)." ], "signature": [ - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "<", { "pluginId": "files", diff --git a/api_docs/files.mdx b/api_docs/files.mdx index 9e08f5adbe4af..0ed87da11ac9f 100644 --- a/api_docs/files.mdx +++ b/api_docs/files.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/files title: "files" image: https://source.unsplash.com/400x175/?github description: API docs for the files plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'files'] --- import filesObj from './files.devdocs.json'; diff --git a/api_docs/fleet.devdocs.json b/api_docs/fleet.devdocs.json index f9525660b4ded..4ab611613bfef 100644 --- a/api_docs/fleet.devdocs.json +++ b/api_docs/fleet.devdocs.json @@ -209,7 +209,13 @@ ], "signature": [ "[appId: string, options?: ", - "NavigateToAppOptions", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.NavigateToAppOptions", + "text": "NavigateToAppOptions" + }, " | undefined] | undefined" ], "path": "x-pack/plugins/fleet/public/types/intra_app_route_state.ts", @@ -307,7 +313,13 @@ ], "signature": [ "[appId: string, options?: ", - "NavigateToAppOptions", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.NavigateToAppOptions", + "text": "NavigateToAppOptions" + }, " | undefined] | undefined" ], "path": "x-pack/plugins/fleet/public/types/intra_app_route_state.ts", @@ -341,7 +353,13 @@ ], "signature": [ "[appId: string, options?: ", - "NavigateToAppOptions", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.NavigateToAppOptions", + "text": "NavigateToAppOptions" + }, " | undefined] | undefined" ], "path": "x-pack/plugins/fleet/public/types/intra_app_route_state.ts", @@ -359,7 +377,13 @@ ], "signature": [ "[appId: string, options?: ", - "NavigateToAppOptions", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.NavigateToAppOptions", + "text": "NavigateToAppOptions" + }, " | undefined] | undefined" ], "path": "x-pack/plugins/fleet/public/types/intra_app_route_state.ts", @@ -3549,6 +3573,52 @@ "tags": [], "label": "settings_edit_fleet_server_hosts", "description": [], + "signature": [ + "({ itemId }: ", + { + "pluginId": "fleet", + "scope": "public", + "docId": "kibFleetPluginApi", + "section": "def-public.DynamicPagePathValues", + "text": "DynamicPagePathValues" + }, + ") => [string, string]" + ], + "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "fleet", + "id": "def-public.pagePathGetters.settings_edit_fleet_server_hosts.$1", + "type": "Object", + "tags": [], + "label": "{ itemId }", + "description": [], + "signature": [ + { + "pluginId": "fleet", + "scope": "public", + "docId": "kibFleetPluginApi", + "section": "def-public.DynamicPagePathValues", + "text": "DynamicPagePathValues" + } + ], + "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "fleet", + "id": "def-public.pagePathGetters.settings_create_fleet_server_hosts", + "type": "Function", + "tags": [], + "label": "settings_create_fleet_server_hosts", + "description": [], "signature": [ "() => [string, string]" ], @@ -4200,7 +4270,13 @@ "description": [], "signature": [ "(soClient: ", - "SavedObjectsClientContract", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + }, ", id: string, withPackagePolicies?: boolean) => Promise<", { "pluginId": "fleet", @@ -4224,7 +4300,13 @@ "label": "soClient", "description": [], "signature": [ - "SavedObjectsClientContract" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + } ], "path": "x-pack/plugins/fleet/server/services/agent_policy.ts", "deprecated": false, @@ -4263,7 +4345,13 @@ "description": [], "signature": [ "(soClient: ", - "SavedObjectsClientContract", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + }, ", options: Readonly<{ page?: number | undefined; perPage?: number | undefined; sortField?: string | undefined; sortOrder?: \"asc\" | \"desc\" | undefined; kuery?: any; showUpgradeable?: boolean | undefined; } & {}> & { withPackagePolicies?: boolean | undefined; }) => Promise<{ items: ", { "pluginId": "fleet", @@ -4287,7 +4375,13 @@ "label": "soClient", "description": [], "signature": [ - "SavedObjectsClientContract" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + } ], "path": "x-pack/plugins/fleet/server/services/agent_policy.ts", "deprecated": false, @@ -4318,7 +4412,13 @@ "description": [], "signature": [ "(soClient: ", - "SavedObjectsClientContract", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + }, ", id: string, options?: { standalone: boolean; } | undefined) => Promise<", { "pluginId": "fleet", @@ -4342,7 +4442,13 @@ "label": "soClient", "description": [], "signature": [ - "SavedObjectsClientContract" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + } ], "path": "x-pack/plugins/fleet/server/services/agent_policy.ts", "deprecated": false, @@ -4384,7 +4490,13 @@ "description": [], "signature": [ "(soClient: ", - "SavedObjectsClientContract", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + }, ", ids: string[], options?: { fields?: string[] | undefined; withPackagePolicies?: boolean | undefined; ignoreMissing?: boolean | undefined; }) => Promise<", { "pluginId": "fleet", @@ -4408,7 +4520,13 @@ "label": "soClient", "description": [], "signature": [ - "SavedObjectsClientContract" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + } ], "path": "x-pack/plugins/fleet/server/services/agent_policy.ts", "deprecated": false, @@ -4471,7 +4589,13 @@ ], "signature": [ "(req: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ") => ", { "pluginId": "fleet", @@ -4493,7 +4617,13 @@ "label": "req", "description": [], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "" ], "path": "x-pack/plugins/fleet/server/services/agents/agent_service.ts", @@ -4857,7 +4987,13 @@ "description": [], "signature": [ "(savedObjectsClient: ", - "SavedObjectsClientContract", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + }, ", pkgName: string, datasetPath: string) => Promise" ], "path": "x-pack/plugins/fleet/server/services/index.ts", @@ -4872,7 +5008,13 @@ "label": "savedObjectsClient", "description": [], "signature": [ - "SavedObjectsClientContract" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + } ], "path": "x-pack/plugins/fleet/server/services/index.ts", "deprecated": false, @@ -5416,9 +5558,21 @@ "description": [], "signature": [ "(soClient: ", - "SavedObjectsClientContract", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + }, ", esClient: ", - "ElasticsearchClient", + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.ElasticsearchClient", + "text": "ElasticsearchClient" + }, ", packagePolicy: ", { "pluginId": "fleet", @@ -5465,7 +5619,13 @@ "label": "soClient", "description": [], "signature": [ - "SavedObjectsClientContract" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + } ], "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", "deprecated": false, @@ -5480,7 +5640,13 @@ "label": "esClient", "description": [], "signature": [ - "ElasticsearchClient" + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.ElasticsearchClient", + "text": "ElasticsearchClient" + } ], "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", "deprecated": false, @@ -5673,9 +5839,21 @@ "description": [], "signature": [ "(soClient: ", - "SavedObjectsClientContract", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + }, ", esClient: ", - "ElasticsearchClient", + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.ElasticsearchClient", + "text": "ElasticsearchClient" + }, ", packagePolicies: ", "NewPackagePolicyWithId", "[], options?: { user?: ", @@ -5708,7 +5886,13 @@ "label": "soClient", "description": [], "signature": [ - "SavedObjectsClientContract" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + } ], "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", "deprecated": false, @@ -5723,7 +5907,13 @@ "label": "esClient", "description": [], "signature": [ - "ElasticsearchClient" + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.ElasticsearchClient", + "text": "ElasticsearchClient" + } ], "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", "deprecated": false, @@ -5820,9 +6010,21 @@ "description": [], "signature": [ "(soClient: ", - "SavedObjectsClientContract", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + }, ", esClient: ", - "ElasticsearchClient", + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.ElasticsearchClient", + "text": "ElasticsearchClient" + }, ", packagePolicyUpdates: (", { "pluginId": "fleet", @@ -5861,7 +6063,13 @@ "label": "soClient", "description": [], "signature": [ - "SavedObjectsClientContract" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + } ], "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", "deprecated": false, @@ -5876,7 +6084,13 @@ "label": "esClient", "description": [], "signature": [ - "ElasticsearchClient" + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.ElasticsearchClient", + "text": "ElasticsearchClient" + } ], "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", "deprecated": false, @@ -5981,7 +6195,13 @@ "description": [], "signature": [ "(soClient: ", - "SavedObjectsClientContract", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + }, ", id: string) => Promise<", { "pluginId": "fleet", @@ -6004,7 +6224,13 @@ "label": "soClient", "description": [], "signature": [ - "SavedObjectsClientContract" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + } ], "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", "deprecated": false, @@ -6038,7 +6264,13 @@ "description": [], "signature": [ "(soClient: ", - "SavedObjectsClientContract", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + }, ", agentPolicyId: string) => Promise<", { "pluginId": "fleet", @@ -6061,7 +6293,13 @@ "label": "soClient", "description": [], "signature": [ - "SavedObjectsClientContract" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + } ], "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", "deprecated": false, @@ -6095,7 +6333,13 @@ "description": [], "signature": [ "(soClient: ", - "SavedObjectsClientContract", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + }, ", ids: string[], options?: { ignoreMissing?: boolean | undefined; } | undefined) => Promise<", { "pluginId": "fleet", @@ -6118,7 +6362,13 @@ "label": "soClient", "description": [], "signature": [ - "SavedObjectsClientContract" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + } ], "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", "deprecated": false, @@ -6179,7 +6429,13 @@ "description": [], "signature": [ "(soClient: ", - "SavedObjectsClientContract", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + }, ", options: ", { "pluginId": "fleet", @@ -6218,7 +6474,13 @@ "label": "soClient", "description": [], "signature": [ - "SavedObjectsClientContract" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + } ], "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", "deprecated": false, @@ -6258,7 +6520,13 @@ "description": [], "signature": [ "(soClient: ", - "SavedObjectsClientContract", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + }, ", options: ", { "pluginId": "fleet", @@ -6289,7 +6557,13 @@ "label": "soClient", "description": [], "signature": [ - "SavedObjectsClientContract" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + } ], "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", "deprecated": false, @@ -6329,9 +6603,21 @@ "description": [], "signature": [ "(soClient: ", - "SavedObjectsClientContract", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + }, ", esClient: ", - "ElasticsearchClient", + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.ElasticsearchClient", + "text": "ElasticsearchClient" + }, ", id: string, packagePolicyUpdate: ", { "pluginId": "fleet", @@ -6370,7 +6656,13 @@ "label": "soClient", "description": [], "signature": [ - "SavedObjectsClientContract" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + } ], "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", "deprecated": false, @@ -6385,7 +6677,13 @@ "label": "esClient", "description": [], "signature": [ - "ElasticsearchClient" + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.ElasticsearchClient", + "text": "ElasticsearchClient" + } ], "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", "deprecated": false, @@ -6517,9 +6815,21 @@ "description": [], "signature": [ "(soClient: ", - "SavedObjectsClientContract", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + }, ", esClient: ", - "ElasticsearchClient", + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.ElasticsearchClient", + "text": "ElasticsearchClient" + }, ", ids: string[], options?: { user?: ", { "pluginId": "security", @@ -6550,7 +6860,13 @@ "label": "soClient", "description": [], "signature": [ - "SavedObjectsClientContract" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + } ], "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", "deprecated": false, @@ -6565,7 +6881,13 @@ "label": "esClient", "description": [], "signature": [ - "ElasticsearchClient" + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.ElasticsearchClient", + "text": "ElasticsearchClient" + } ], "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", "deprecated": false, @@ -6661,9 +6983,21 @@ "description": [], "signature": [ "(soClient: ", - "SavedObjectsClientContract", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + }, ", esClient: ", - "ElasticsearchClient", + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.ElasticsearchClient", + "text": "ElasticsearchClient" + }, ", ids: string[], options?: { user?: ", { "pluginId": "security", @@ -6702,7 +7036,13 @@ "label": "soClient", "description": [], "signature": [ - "SavedObjectsClientContract" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + } ], "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", "deprecated": false, @@ -6717,7 +7057,13 @@ "label": "esClient", "description": [], "signature": [ - "ElasticsearchClient" + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.ElasticsearchClient", + "text": "ElasticsearchClient" + } ], "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", "deprecated": false, @@ -6822,7 +7168,13 @@ "description": [], "signature": [ "(soClient: ", - "SavedObjectsClientContract", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + }, ", id: string, packagePolicy?: ", { "pluginId": "fleet", @@ -6853,7 +7205,13 @@ "label": "soClient", "description": [], "signature": [ - "SavedObjectsClientContract" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + } ], "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", "deprecated": false, @@ -6924,7 +7282,13 @@ "description": [], "signature": [ "(soClient: ", - "SavedObjectsClientContract", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + }, ", newPolicy: ", { "pluginId": "fleet", @@ -6955,7 +7319,13 @@ "label": "soClient", "description": [], "signature": [ - "SavedObjectsClientContract" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + } ], "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", "deprecated": false, @@ -6995,9 +7365,21 @@ "description": [], "signature": [ "(soClient: ", - "SavedObjectsClientContract", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + }, ", pkgName: string, logger?: ", - "Logger", + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + }, " | undefined) => Promise<", { "pluginId": "fleet", @@ -7020,7 +7402,13 @@ "label": "soClient", "description": [], "signature": [ - "SavedObjectsClientContract" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + } ], "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", "deprecated": false, @@ -7050,7 +7438,13 @@ "label": "logger", "description": [], "signature": [ - "Logger", + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + }, " | undefined" ], "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", @@ -7094,9 +7488,21 @@ "text": "NewPackagePolicy" }, ", context: ", - "RequestHandlerContext", + { + "pluginId": "@kbn/core-http-request-handler-context-server", + "scope": "server", + "docId": "kibKbnCoreHttpRequestHandlerContextServerPluginApi", + "section": "def-server.RequestHandlerContext", + "text": "RequestHandlerContext" + }, ", request: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ") => Promise" ], "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", @@ -7261,7 +7679,13 @@ "description": [], "signature": [ "(soClient: ", - "SavedObjectsClientContract", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + }, ", id: string) => Promise<{ packagePolicy: ", { "pluginId": "fleet", @@ -7294,7 +7718,13 @@ "label": "soClient", "description": [], "signature": [ - "SavedObjectsClientContract" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + } ], "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", "deprecated": false, @@ -7342,7 +7772,13 @@ "description": [], "signature": [ "(request: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ") => ", { "pluginId": "fleet", @@ -7364,7 +7800,13 @@ "label": "request", "description": [], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "" ], "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", @@ -7471,9 +7913,21 @@ "text": "NewPackagePolicy" }, ", context: ", - "RequestHandlerContext", + { + "pluginId": "@kbn/core-http-request-handler-context-server", + "scope": "server", + "docId": "kibKbnCoreHttpRequestHandlerContextServerPluginApi", + "section": "def-server.RequestHandlerContext", + "text": "RequestHandlerContext" + }, ", request: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ") => Promise<", { "pluginId": "fleet", @@ -7517,7 +7971,13 @@ "label": "context", "description": [], "signature": [ - "RequestHandlerContext" + { + "pluginId": "@kbn/core-http-request-handler-context-server", + "scope": "server", + "docId": "kibKbnCoreHttpRequestHandlerContextServerPluginApi", + "section": "def-server.RequestHandlerContext", + "text": "RequestHandlerContext" + } ], "path": "x-pack/plugins/fleet/server/types/extensions.ts", "deprecated": false, @@ -7531,7 +7991,13 @@ "label": "request", "description": [], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "" ], "path": "x-pack/plugins/fleet/server/types/extensions.ts", @@ -7609,9 +8075,21 @@ "text": "PackagePolicy" }, ", context: ", - "RequestHandlerContext", + { + "pluginId": "@kbn/core-http-request-handler-context-server", + "scope": "server", + "docId": "kibKbnCoreHttpRequestHandlerContextServerPluginApi", + "section": "def-server.RequestHandlerContext", + "text": "RequestHandlerContext" + }, ", request: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ") => Promise<", { "pluginId": "fleet", @@ -7655,7 +8133,13 @@ "label": "context", "description": [], "signature": [ - "RequestHandlerContext" + { + "pluginId": "@kbn/core-http-request-handler-context-server", + "scope": "server", + "docId": "kibKbnCoreHttpRequestHandlerContextServerPluginApi", + "section": "def-server.RequestHandlerContext", + "text": "RequestHandlerContext" + } ], "path": "x-pack/plugins/fleet/server/types/extensions.ts", "deprecated": false, @@ -7669,7 +8153,13 @@ "label": "request", "description": [], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "" ], "path": "x-pack/plugins/fleet/server/types/extensions.ts", @@ -7696,9 +8186,21 @@ "text": "UpdatePackagePolicy" }, ", context: ", - "RequestHandlerContext", + { + "pluginId": "@kbn/core-http-request-handler-context-server", + "scope": "server", + "docId": "kibKbnCoreHttpRequestHandlerContextServerPluginApi", + "section": "def-server.RequestHandlerContext", + "text": "RequestHandlerContext" + }, ", request: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ") => Promise<", { "pluginId": "fleet", @@ -7742,7 +8244,13 @@ "label": "context", "description": [], "signature": [ - "RequestHandlerContext" + { + "pluginId": "@kbn/core-http-request-handler-context-server", + "scope": "server", + "docId": "kibKbnCoreHttpRequestHandlerContextServerPluginApi", + "section": "def-server.RequestHandlerContext", + "text": "RequestHandlerContext" + } ], "path": "x-pack/plugins/fleet/server/types/extensions.ts", "deprecated": false, @@ -7756,7 +8264,13 @@ "label": "request", "description": [], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "" ], "path": "x-pack/plugins/fleet/server/types/extensions.ts", @@ -7824,7 +8338,13 @@ "description": [], "signature": [ "{ fromRequest(request: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "): Promise<", { "pluginId": "fleet", @@ -10734,7 +11254,13 @@ "text": "Installation" }, " extends ", - "SavedObjectAttributes" + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectAttributes", + "text": "SavedObjectAttributes" + } ], "path": "x-pack/plugins/fleet/common/types/models/epm.ts", "deprecated": false, @@ -11154,7 +11680,13 @@ "text": "ListWithKuery" }, " extends ", - "HttpFetchQuery" + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpFetchQuery", + "text": "HttpFetchQuery" + } ], "path": "x-pack/plugins/fleet/common/types/rest_spec/common.ts", "deprecated": false, @@ -11434,6 +11966,20 @@ "deprecated": false, "trackAdoption": false }, + { + "parentPluginId": "fleet", + "id": "def-common.NewAgentPolicy.fleet_server_host_id", + "type": "CompoundType", + "tags": [], + "label": "fleet_server_host_id", + "description": [], + "signature": [ + "string | null | undefined" + ], + "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "deprecated": false, + "trackAdoption": false + }, { "parentPluginId": "fleet", "id": "def-common.NewAgentPolicy.schema_version", @@ -14312,7 +14858,13 @@ "description": [], "signature": [ "Pick<", - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, ", \"id\"> & { type: ", { "pluginId": "fleet", @@ -14690,7 +15242,13 @@ "description": [], "signature": [ "T & { status: \"installed\"; savedObject: ", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "<", { "pluginId": "fleet", @@ -14730,7 +15288,13 @@ "description": [], "signature": [ "T & { status: \"installing\"; savedObject: ", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "<", { "pluginId": "fleet", @@ -14815,7 +15379,13 @@ "description": [], "signature": [ "Pick<", - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, ", \"id\"> & { type: ", { "pluginId": "fleet", @@ -15030,7 +15600,13 @@ "description": [], "signature": [ "Pick<", - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, ", \"id\"> & { type: \"epm-packages-assets\"; }" ], "path": "x-pack/plugins/fleet/common/types/models/epm.ts", diff --git a/api_docs/fleet.mdx b/api_docs/fleet.mdx index f0e78b481e915..1e0c328efcc78 100644 --- a/api_docs/fleet.mdx +++ b/api_docs/fleet.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/fleet title: "fleet" image: https://source.unsplash.com/400x175/?github description: API docs for the fleet plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'fleet'] --- import fleetObj from './fleet.devdocs.json'; @@ -21,7 +21,7 @@ Contact [Fleet](https://github.com/orgs/elastic/teams/fleet) for questions regar | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 996 | 3 | 893 | 17 | +| 999 | 3 | 896 | 17 | ## Client diff --git a/api_docs/global_search.devdocs.json b/api_docs/global_search.devdocs.json index 6dfe6c66b672b..7d96b4bfad1da 100644 --- a/api_docs/global_search.devdocs.json +++ b/api_docs/global_search.devdocs.json @@ -317,7 +317,13 @@ ], "signature": [ "Record | undefined" ], "path": "x-pack/plugins/global_search/common/types.ts", @@ -650,15 +656,39 @@ "description": [], "signature": [ "{ savedObjects: { client: ", - "SavedObjectsClientContract", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + }, "; typeRegistry: ", - "ISavedObjectTypeRegistry", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.ISavedObjectTypeRegistry", + "text": "ISavedObjectTypeRegistry" + }, "; }; uiSettings: { client: ", - "IUiSettingsClient", + { + "pluginId": "@kbn/core-ui-settings-server", + "scope": "server", + "docId": "kibKbnCoreUiSettingsServerPluginApi", + "section": "def-server.IUiSettingsClient", + "text": "IUiSettingsClient" + }, "; }; capabilities: ", "Observable", "<", - "Capabilities", + { + "pluginId": "@kbn/core-capabilities-common", + "scope": "common", + "docId": "kibKbnCoreCapabilitiesCommonPluginApi", + "section": "def-common.Capabilities", + "text": "Capabilities" + }, ">; }" ], "path": "x-pack/plugins/global_search/server/types.ts", @@ -835,7 +865,13 @@ ], "signature": [ "Record | undefined" ], "path": "x-pack/plugins/global_search/common/types.ts", @@ -1171,13 +1207,25 @@ "text": "GlobalSearchFindOptions" }, ", request: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ") => ", "Observable", "<", "GlobalSearchBatchedResults", ">; getSearchableTypes: (request: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ") => Promise; }" ], "path": "x-pack/plugins/global_search/server/types.ts", diff --git a/api_docs/global_search.mdx b/api_docs/global_search.mdx index 6b4ab37d53324..10170787f782a 100644 --- a/api_docs/global_search.mdx +++ b/api_docs/global_search.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/globalSearch title: "globalSearch" image: https://source.unsplash.com/400x175/?github description: API docs for the globalSearch plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'globalSearch'] --- import globalSearchObj from './global_search.devdocs.json'; diff --git a/api_docs/guided_onboarding.devdocs.json b/api_docs/guided_onboarding.devdocs.json index 5ee76b97bb7c5..486baff36f0f2 100644 --- a/api_docs/guided_onboarding.devdocs.json +++ b/api_docs/guided_onboarding.devdocs.json @@ -24,7 +24,13 @@ "description": [], "signature": [ "(httpClient: ", - "HttpSetup", + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpSetup", + "text": "HttpSetup" + }, ") => void" ], "path": "src/plugins/guided_onboarding/public/types.ts", @@ -39,7 +45,13 @@ "label": "httpClient", "description": [], "signature": [ - "HttpSetup" + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpSetup", + "text": "HttpSetup" + } ], "path": "src/plugins/guided_onboarding/public/types.ts", "deprecated": false, @@ -60,7 +72,13 @@ "() => ", "Observable", "<", - "GuideState", + { + "pluginId": "@kbn/guided-onboarding", + "scope": "common", + "docId": "kibKbnGuidedOnboardingPluginApi", + "section": "def-common.GuideState", + "text": "GuideState" + }, " | undefined>" ], "path": "src/plugins/guided_onboarding/public/types.ts", @@ -78,7 +96,13 @@ "description": [], "signature": [ "() => Promise<{ state: ", - "GuideState", + { + "pluginId": "@kbn/guided-onboarding", + "scope": "common", + "docId": "kibKbnGuidedOnboardingPluginApi", + "section": "def-common.GuideState", + "text": "GuideState" + }, "[]; } | undefined>" ], "path": "src/plugins/guided_onboarding/public/types.ts", @@ -96,9 +120,21 @@ "description": [], "signature": [ "(newState: ", - "GuideState", + { + "pluginId": "@kbn/guided-onboarding", + "scope": "common", + "docId": "kibKbnGuidedOnboardingPluginApi", + "section": "def-common.GuideState", + "text": "GuideState" + }, ", panelState: boolean) => Promise<{ state: ", - "GuideState", + { + "pluginId": "@kbn/guided-onboarding", + "scope": "common", + "docId": "kibKbnGuidedOnboardingPluginApi", + "section": "def-common.GuideState", + "text": "GuideState" + }, "; } | undefined>" ], "path": "src/plugins/guided_onboarding/public/types.ts", @@ -113,7 +149,13 @@ "label": "newState", "description": [], "signature": [ - "GuideState" + { + "pluginId": "@kbn/guided-onboarding", + "scope": "common", + "docId": "kibKbnGuidedOnboardingPluginApi", + "section": "def-common.GuideState", + "text": "GuideState" + } ], "path": "src/plugins/guided_onboarding/public/types.ts", "deprecated": false, @@ -147,11 +189,29 @@ "description": [], "signature": [ "(guideId: ", - "GuideId", + { + "pluginId": "@kbn/guided-onboarding", + "scope": "common", + "docId": "kibKbnGuidedOnboardingPluginApi", + "section": "def-common.GuideId", + "text": "GuideId" + }, ", guide?: ", - "GuideState", + { + "pluginId": "@kbn/guided-onboarding", + "scope": "common", + "docId": "kibKbnGuidedOnboardingPluginApi", + "section": "def-common.GuideState", + "text": "GuideState" + }, " | undefined) => Promise<{ state: ", - "GuideState", + { + "pluginId": "@kbn/guided-onboarding", + "scope": "common", + "docId": "kibKbnGuidedOnboardingPluginApi", + "section": "def-common.GuideState", + "text": "GuideState" + }, "; } | undefined>" ], "path": "src/plugins/guided_onboarding/public/types.ts", @@ -166,7 +226,13 @@ "label": "guideId", "description": [], "signature": [ - "GuideId" + { + "pluginId": "@kbn/guided-onboarding", + "scope": "common", + "docId": "kibKbnGuidedOnboardingPluginApi", + "section": "def-common.GuideId", + "text": "GuideId" + } ], "path": "src/plugins/guided_onboarding/public/types.ts", "deprecated": false, @@ -181,7 +247,13 @@ "label": "guide", "description": [], "signature": [ - "GuideState", + { + "pluginId": "@kbn/guided-onboarding", + "scope": "common", + "docId": "kibKbnGuidedOnboardingPluginApi", + "section": "def-common.GuideState", + "text": "GuideState" + }, " | undefined" ], "path": "src/plugins/guided_onboarding/public/types.ts", @@ -201,9 +273,21 @@ "description": [], "signature": [ "(guideId: ", - "GuideId", + { + "pluginId": "@kbn/guided-onboarding", + "scope": "common", + "docId": "kibKbnGuidedOnboardingPluginApi", + "section": "def-common.GuideId", + "text": "GuideId" + }, ") => Promise<{ state: ", - "GuideState", + { + "pluginId": "@kbn/guided-onboarding", + "scope": "common", + "docId": "kibKbnGuidedOnboardingPluginApi", + "section": "def-common.GuideState", + "text": "GuideState" + }, "; } | undefined>" ], "path": "src/plugins/guided_onboarding/public/types.ts", @@ -218,7 +302,13 @@ "label": "guideId", "description": [], "signature": [ - "GuideId" + { + "pluginId": "@kbn/guided-onboarding", + "scope": "common", + "docId": "kibKbnGuidedOnboardingPluginApi", + "section": "def-common.GuideId", + "text": "GuideId" + } ], "path": "src/plugins/guided_onboarding/public/types.ts", "deprecated": false, @@ -237,9 +327,21 @@ "description": [], "signature": [ "(guideId: ", - "GuideId", + { + "pluginId": "@kbn/guided-onboarding", + "scope": "common", + "docId": "kibKbnGuidedOnboardingPluginApi", + "section": "def-common.GuideId", + "text": "GuideId" + }, ", stepId: ", - "GuideStepIds", + { + "pluginId": "@kbn/guided-onboarding", + "scope": "common", + "docId": "kibKbnGuidedOnboardingPluginApi", + "section": "def-common.GuideStepIds", + "text": "GuideStepIds" + }, ") => ", "Observable", "" @@ -256,7 +358,13 @@ "label": "guideId", "description": [], "signature": [ - "GuideId" + { + "pluginId": "@kbn/guided-onboarding", + "scope": "common", + "docId": "kibKbnGuidedOnboardingPluginApi", + "section": "def-common.GuideId", + "text": "GuideId" + } ], "path": "src/plugins/guided_onboarding/public/types.ts", "deprecated": false, @@ -271,7 +379,13 @@ "label": "stepId", "description": [], "signature": [ - "GuideStepIds" + { + "pluginId": "@kbn/guided-onboarding", + "scope": "common", + "docId": "kibKbnGuidedOnboardingPluginApi", + "section": "def-common.GuideStepIds", + "text": "GuideStepIds" + } ], "path": "src/plugins/guided_onboarding/public/types.ts", "deprecated": false, @@ -290,11 +404,29 @@ "description": [], "signature": [ "(guideId: ", - "GuideId", + { + "pluginId": "@kbn/guided-onboarding", + "scope": "common", + "docId": "kibKbnGuidedOnboardingPluginApi", + "section": "def-common.GuideId", + "text": "GuideId" + }, ", stepId: ", - "GuideStepIds", + { + "pluginId": "@kbn/guided-onboarding", + "scope": "common", + "docId": "kibKbnGuidedOnboardingPluginApi", + "section": "def-common.GuideStepIds", + "text": "GuideStepIds" + }, ") => Promise<{ state: ", - "GuideState", + { + "pluginId": "@kbn/guided-onboarding", + "scope": "common", + "docId": "kibKbnGuidedOnboardingPluginApi", + "section": "def-common.GuideState", + "text": "GuideState" + }, "; } | undefined>" ], "path": "src/plugins/guided_onboarding/public/types.ts", @@ -309,7 +441,13 @@ "label": "guideId", "description": [], "signature": [ - "GuideId" + { + "pluginId": "@kbn/guided-onboarding", + "scope": "common", + "docId": "kibKbnGuidedOnboardingPluginApi", + "section": "def-common.GuideId", + "text": "GuideId" + } ], "path": "src/plugins/guided_onboarding/public/types.ts", "deprecated": false, @@ -324,7 +462,13 @@ "label": "stepId", "description": [], "signature": [ - "GuideStepIds" + { + "pluginId": "@kbn/guided-onboarding", + "scope": "common", + "docId": "kibKbnGuidedOnboardingPluginApi", + "section": "def-common.GuideStepIds", + "text": "GuideStepIds" + } ], "path": "src/plugins/guided_onboarding/public/types.ts", "deprecated": false, @@ -343,11 +487,29 @@ "description": [], "signature": [ "(guideId: ", - "GuideId", + { + "pluginId": "@kbn/guided-onboarding", + "scope": "common", + "docId": "kibKbnGuidedOnboardingPluginApi", + "section": "def-common.GuideId", + "text": "GuideId" + }, ", stepId: ", - "GuideStepIds", + { + "pluginId": "@kbn/guided-onboarding", + "scope": "common", + "docId": "kibKbnGuidedOnboardingPluginApi", + "section": "def-common.GuideStepIds", + "text": "GuideStepIds" + }, ") => Promise<{ state: ", - "GuideState", + { + "pluginId": "@kbn/guided-onboarding", + "scope": "common", + "docId": "kibKbnGuidedOnboardingPluginApi", + "section": "def-common.GuideState", + "text": "GuideState" + }, "; } | undefined>" ], "path": "src/plugins/guided_onboarding/public/types.ts", @@ -362,7 +524,13 @@ "label": "guideId", "description": [], "signature": [ - "GuideId" + { + "pluginId": "@kbn/guided-onboarding", + "scope": "common", + "docId": "kibKbnGuidedOnboardingPluginApi", + "section": "def-common.GuideId", + "text": "GuideId" + } ], "path": "src/plugins/guided_onboarding/public/types.ts", "deprecated": false, @@ -377,7 +545,13 @@ "label": "stepId", "description": [], "signature": [ - "GuideStepIds" + { + "pluginId": "@kbn/guided-onboarding", + "scope": "common", + "docId": "kibKbnGuidedOnboardingPluginApi", + "section": "def-common.GuideStepIds", + "text": "GuideStepIds" + } ], "path": "src/plugins/guided_onboarding/public/types.ts", "deprecated": false, @@ -430,7 +604,13 @@ "description": [], "signature": [ "(integration?: string | undefined) => Promise<{ state: ", - "GuideState", + { + "pluginId": "@kbn/guided-onboarding", + "scope": "common", + "docId": "kibKbnGuidedOnboardingPluginApi", + "section": "def-common.GuideState", + "text": "GuideState" + }, "; } | undefined>" ], "path": "src/plugins/guided_onboarding/public/types.ts", diff --git a/api_docs/guided_onboarding.mdx b/api_docs/guided_onboarding.mdx index 88d169f07e133..37de1b7f2df48 100644 --- a/api_docs/guided_onboarding.mdx +++ b/api_docs/guided_onboarding.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/guidedOnboarding title: "guidedOnboarding" image: https://source.unsplash.com/400x175/?github description: API docs for the guidedOnboarding plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'guidedOnboarding'] --- import guidedOnboardingObj from './guided_onboarding.devdocs.json'; diff --git a/api_docs/home.devdocs.json b/api_docs/home.devdocs.json index a18ea6d544131..c68b5eda160a9 100644 --- a/api_docs/home.devdocs.json +++ b/api_docs/home.devdocs.json @@ -54,7 +54,13 @@ "description": [], "signature": [ "({ capabilities }: { capabilities: ", - "Capabilities", + { + "pluginId": "@kbn/core-capabilities-common", + "scope": "common", + "docId": "kibKbnCoreCapabilitiesCommonPluginApi", + "section": "def-common.Capabilities", + "text": "Capabilities" + }, "; }) => void" ], "path": "src/plugins/home/public/services/feature_catalogue/feature_catalogue_registry.ts", @@ -80,7 +86,13 @@ "label": "capabilities", "description": [], "signature": [ - "Capabilities" + { + "pluginId": "@kbn/core-capabilities-common", + "scope": "common", + "docId": "kibKbnCoreCapabilitiesCommonPluginApi", + "section": "def-common.Capabilities", + "text": "Capabilities" + } ], "path": "src/plugins/home/public/services/feature_catalogue/feature_catalogue_registry.ts", "deprecated": false, @@ -189,7 +201,7 @@ "\nConvert instruction variant id into display text.\n" ], "signature": [ - "(id: \"ESC\" | \"OSX\" | \"DEB\" | \"RPM\" | \"DOCKER\" | \"WINDOWS\" | \"NODE\" | \"DJANGO\" | \"FLASK\" | \"RAILS\" | \"RACK\" | \"JS\" | \"GO\" | \"JAVA\" | \"DOTNET\" | \"LINUX\" | \"PHP\" | \"FLEET\" | \"OPEN_TELEMETRY\") => string" + "(id: \"ESC\" | \"OSX\" | \"DEB\" | \"RPM\" | \"DOCKER\" | \"WINDOWS\" | \"NODE\" | \"DJANGO\" | \"FLASK\" | \"RAILS\" | \"RACK\" | \"JS\" | \"GO\" | \"JAVA\" | \"DOTNET\" | \"LINUX\" | \"PHP\" | \"FLEET\" | \"OPEN_TELEMETRY\") => any" ], "path": "src/plugins/home/common/instruction_variant.ts", "deprecated": false, @@ -1733,9 +1745,21 @@ "description": [], "signature": [ "{ getSampleDatasets: () => ", - "Writable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Writable", + "text": "Writable" + }, "[]; previewImagePath: string; overviewDashboard: string; defaultIndex: string; dataIndices: Readonly<{} & { id: string; fields: Record; timeFields: string[]; dataPath: string; currentTimeMarker: string; preserveDayOfWeekTimeOfDay: boolean; }>[]; }>>[]; addSavedObjectsToSampleDataset: (id: string, savedObjects: ", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "[]) => void; addAppLinksToSampleDataset: (id: string, appLinks: ", { "pluginId": "home", @@ -1768,7 +1792,13 @@ "description": [], "signature": [ "() => ", - "Writable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Writable", + "text": "Writable" + }, "[]; previewImagePath: string; overviewDashboard: string; defaultIndex: string; dataIndices: Readonly<{} & { id: string; fields: Record; timeFields: string[]; dataPath: string; currentTimeMarker: string; preserveDayOfWeekTimeOfDay: boolean; }>[]; }>>" ], "path": "src/plugins/home/server/services/sample_data/lib/sample_dataset_registry_types.ts", @@ -2155,9 +2185,21 @@ "description": [], "signature": [ "{ getSampleDatasets: () => ", - "Writable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Writable", + "text": "Writable" + }, "[]; previewImagePath: string; overviewDashboard: string; defaultIndex: string; dataIndices: Readonly<{} & { id: string; fields: Record; timeFields: string[]; dataPath: string; currentTimeMarker: string; preserveDayOfWeekTimeOfDay: boolean; }>[]; }>>[]; addSavedObjectsToSampleDataset: (id: string, savedObjects: ", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "[]) => void; addAppLinksToSampleDataset: (id: string, appLinks: ", { "pluginId": "home", diff --git a/api_docs/home.mdx b/api_docs/home.mdx index e96184aa60203..9d738371a43fa 100644 --- a/api_docs/home.mdx +++ b/api_docs/home.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/home title: "home" image: https://source.unsplash.com/400x175/?github description: API docs for the home plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'home'] --- import homeObj from './home.devdocs.json'; diff --git a/api_docs/index_lifecycle_management.devdocs.json b/api_docs/index_lifecycle_management.devdocs.json index da2d945350c0b..3cc512a363c4e 100644 --- a/api_docs/index_lifecycle_management.devdocs.json +++ b/api_docs/index_lifecycle_management.devdocs.json @@ -20,7 +20,13 @@ "text": "IlmLocatorParams" }, " extends ", - "SerializableRecord" + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + } ], "path": "x-pack/plugins/index_lifecycle_management/public/locator.ts", "deprecated": false, diff --git a/api_docs/index_lifecycle_management.mdx b/api_docs/index_lifecycle_management.mdx index ef4f1bcbb757b..5dd05766d3f93 100644 --- a/api_docs/index_lifecycle_management.mdx +++ b/api_docs/index_lifecycle_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/indexLifecycleManagement title: "indexLifecycleManagement" image: https://source.unsplash.com/400x175/?github description: API docs for the indexLifecycleManagement plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'indexLifecycleManagement'] --- import indexLifecycleManagementObj from './index_lifecycle_management.devdocs.json'; diff --git a/api_docs/index_management.mdx b/api_docs/index_management.mdx index 1a8e76cce91bd..dd6aa028fcd7f 100644 --- a/api_docs/index_management.mdx +++ b/api_docs/index_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/indexManagement title: "indexManagement" image: https://source.unsplash.com/400x175/?github description: API docs for the indexManagement plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'indexManagement'] --- import indexManagementObj from './index_management.devdocs.json'; diff --git a/api_docs/infra.devdocs.json b/api_docs/infra.devdocs.json index 8982b332b7913..ffbfd58ed53de 100644 --- a/api_docs/infra.devdocs.json +++ b/api_docs/infra.devdocs.json @@ -653,7 +653,13 @@ "description": [], "signature": [ "(savedObjectsClient: ", - "SavedObjectsClientContract", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + }, ", sourceId?: string | undefined) => Promise" ], "path": "x-pack/plugins/infra/server/types.ts", @@ -668,7 +674,13 @@ "label": "savedObjectsClient", "description": [], "signature": [ - "SavedObjectsClientContract" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + } ], "path": "x-pack/plugins/infra/server/types.ts", "deprecated": false, diff --git a/api_docs/infra.mdx b/api_docs/infra.mdx index e906f4753d0ba..03fe3db4665fe 100644 --- a/api_docs/infra.mdx +++ b/api_docs/infra.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/infra title: "infra" image: https://source.unsplash.com/400x175/?github description: API docs for the infra plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'infra'] --- import infraObj from './infra.devdocs.json'; diff --git a/api_docs/inspector.devdocs.json b/api_docs/inspector.devdocs.json index 6c57aa5bc39d8..db6ceeae34643 100644 --- a/api_docs/inspector.devdocs.json +++ b/api_docs/inspector.devdocs.json @@ -18,7 +18,13 @@ "text": "InspectorPublicPlugin" }, " implements ", - "Plugin", + { + "pluginId": "@kbn/core-plugins-browser", + "scope": "common", + "docId": "kibKbnCorePluginsBrowserPluginApi", + "section": "def-common.Plugin", + "text": "Plugin" + }, "<", { "pluginId": "inspector", @@ -78,7 +84,13 @@ "label": "initializerContext", "description": [], "signature": [ - "PluginInitializerContext", + { + "pluginId": "@kbn/core-plugins-browser", + "scope": "common", + "docId": "kibKbnCorePluginsBrowserPluginApi", + "section": "def-common.PluginInitializerContext", + "text": "PluginInitializerContext" + }, "" ], "path": "src/plugins/inspector/public/plugin.tsx", @@ -98,7 +110,13 @@ "description": [], "signature": [ "(core: ", - "CoreSetup", + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreSetup", + "text": "CoreSetup" + }, ") => { registerView: (view: ", { "pluginId": "inspector", @@ -123,7 +141,13 @@ "label": "core", "description": [], "signature": [ - "CoreSetup", + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreSetup", + "text": "CoreSetup" + }, "" ], "path": "src/plugins/inspector/public/plugin.tsx", @@ -143,7 +167,13 @@ "description": [], "signature": [ "(core: ", - "CoreStart", + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreStart", + "text": "CoreStart" + }, ", startDeps: ", "InspectorPluginStartDeps", ") => { isAvailable: (adapters?: ", @@ -171,7 +201,13 @@ "text": "InspectorOptions" }, " | undefined) => ", - "OverlayRef", + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.OverlayRef", + "text": "OverlayRef" + }, "; }" ], "path": "src/plugins/inspector/public/plugin.tsx", @@ -186,7 +222,13 @@ "label": "core", "description": [], "signature": [ - "CoreStart" + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreStart", + "text": "CoreStart" + } ], "path": "src/plugins/inspector/public/plugin.tsx", "deprecated": false, @@ -1298,7 +1340,13 @@ "label": "InspectorSession", "description": [], "signature": [ - "OverlayRef" + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.OverlayRef", + "text": "OverlayRef" + } ], "path": "src/plugins/inspector/public/types.ts", "deprecated": false, @@ -1477,7 +1525,13 @@ "text": "InspectorOptions" }, " | undefined) => ", - "OverlayRef" + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.OverlayRef", + "text": "OverlayRef" + } ], "path": "src/plugins/inspector/public/plugin.tsx", "deprecated": false, diff --git a/api_docs/inspector.mdx b/api_docs/inspector.mdx index d958a9751ef65..849745adb6cab 100644 --- a/api_docs/inspector.mdx +++ b/api_docs/inspector.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/inspector title: "inspector" image: https://source.unsplash.com/400x175/?github description: API docs for the inspector plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'inspector'] --- import inspectorObj from './inspector.devdocs.json'; diff --git a/api_docs/interactive_setup.mdx b/api_docs/interactive_setup.mdx index 0809b92e22c24..cb79c74905fca 100644 --- a/api_docs/interactive_setup.mdx +++ b/api_docs/interactive_setup.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/interactiveSetup title: "interactiveSetup" image: https://source.unsplash.com/400x175/?github description: API docs for the interactiveSetup plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'interactiveSetup'] --- import interactiveSetupObj from './interactive_setup.devdocs.json'; diff --git a/api_docs/kbn_ace.mdx b/api_docs/kbn_ace.mdx index d4a6f3bc05e64..203bd49bdd328 100644 --- a/api_docs/kbn_ace.mdx +++ b/api_docs/kbn_ace.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ace title: "@kbn/ace" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ace plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ace'] --- import kbnAceObj from './kbn_ace.devdocs.json'; diff --git a/api_docs/kbn_aiops_components.mdx b/api_docs/kbn_aiops_components.mdx index 4001c98c47a3e..ddd4a30b47e8d 100644 --- a/api_docs/kbn_aiops_components.mdx +++ b/api_docs/kbn_aiops_components.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-aiops-components title: "@kbn/aiops-components" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/aiops-components plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/aiops-components'] --- import kbnAiopsComponentsObj from './kbn_aiops_components.devdocs.json'; diff --git a/api_docs/kbn_aiops_utils.devdocs.json b/api_docs/kbn_aiops_utils.devdocs.json index 9a6e5f07f153e..ce298e173b372 100644 --- a/api_docs/kbn_aiops_utils.devdocs.json +++ b/api_docs/kbn_aiops_utils.devdocs.json @@ -187,9 +187,21 @@ ], "signature": [ "(headers: ", - "Headers", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.Headers", + "text": "Headers" + }, ", logger: ", - "Logger", + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + }, ", compressOverride: boolean | undefined, flushFix: boolean | undefined) => StreamFactoryReturnType" ], "path": "x-pack/packages/ml/aiops_utils/src/stream_factory.ts", @@ -206,7 +218,13 @@ "- Request headers." ], "signature": [ - "Headers" + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.Headers", + "text": "Headers" + } ], "path": "x-pack/packages/ml/aiops_utils/src/stream_factory.ts", "deprecated": false, @@ -223,7 +241,13 @@ "- Kibana logger." ], "signature": [ - "Logger" + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + } ], "path": "x-pack/packages/ml/aiops_utils/src/stream_factory.ts", "deprecated": false, @@ -281,9 +305,21 @@ ], "signature": [ "(headers: ", - "Headers", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.Headers", + "text": "Headers" + }, ", logger: ", - "Logger", + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + }, ", compressOverride: boolean, flushFix: boolean) => StreamFactoryReturnType" ], "path": "x-pack/packages/ml/aiops_utils/src/stream_factory.ts", @@ -300,7 +336,13 @@ "- Request headers." ], "signature": [ - "Headers" + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.Headers", + "text": "Headers" + } ], "path": "x-pack/packages/ml/aiops_utils/src/stream_factory.ts", "deprecated": false, @@ -317,7 +359,13 @@ "- Kibana logger." ], "signature": [ - "Logger" + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + } ], "path": "x-pack/packages/ml/aiops_utils/src/stream_factory.ts", "deprecated": false, diff --git a/api_docs/kbn_aiops_utils.mdx b/api_docs/kbn_aiops_utils.mdx index 1636216d6bbd7..4e1677e8b8467 100644 --- a/api_docs/kbn_aiops_utils.mdx +++ b/api_docs/kbn_aiops_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-aiops-utils title: "@kbn/aiops-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/aiops-utils plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/aiops-utils'] --- import kbnAiopsUtilsObj from './kbn_aiops_utils.devdocs.json'; diff --git a/api_docs/kbn_alerts.mdx b/api_docs/kbn_alerts.mdx index 275259494c606..b8bb0a7f42535 100644 --- a/api_docs/kbn_alerts.mdx +++ b/api_docs/kbn_alerts.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-alerts title: "@kbn/alerts" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/alerts plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/alerts'] --- import kbnAlertsObj from './kbn_alerts.devdocs.json'; diff --git a/api_docs/kbn_analytics.mdx b/api_docs/kbn_analytics.mdx index 7702052c76348..4fad42ec8307c 100644 --- a/api_docs/kbn_analytics.mdx +++ b/api_docs/kbn_analytics.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-analytics title: "@kbn/analytics" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/analytics plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics'] --- import kbnAnalyticsObj from './kbn_analytics.devdocs.json'; diff --git a/api_docs/kbn_analytics_client.devdocs.json b/api_docs/kbn_analytics_client.devdocs.json index f4bf073a712a2..952f802a9c51c 100644 --- a/api_docs/kbn_analytics_client.devdocs.json +++ b/api_docs/kbn_analytics_client.devdocs.json @@ -131,7 +131,13 @@ "\nApplication-provided logger." ], "signature": [ - "Logger" + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + } ], "path": "packages/analytics/client/src/analytics_client/types.ts", "deprecated": false, @@ -595,7 +601,228 @@ "path": "packages/analytics/client/src/analytics_client/types.ts", "deprecated": false, "trackAdoption": true, - "references": [], + "references": [ + { + "plugin": "@kbn/ebt-tools", + "path": "packages/kbn-ebt-tools/src/performance_metric_events/helpers.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/track_clicks.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" + }, + { + "plugin": "@kbn/core-root-browser-internal", + "path": "packages/core/root/core-root-browser-internal/src/core_system.ts" + }, + { + "plugin": "@kbn/core-status-server-internal", + "path": "packages/core/status/core-status-server-internal/src/status_service.ts" + }, + { + "plugin": "@kbn/core-plugins-server-internal", + "path": "packages/core/plugins/core-plugins-server-internal/src/plugin_context.ts" + }, + { + "plugin": "@kbn/core-plugins-server-internal", + "path": "packages/core/plugins/core-plugins-server-internal/src/plugin_context.ts" + }, + { + "plugin": "@kbn/core-plugins-server-internal", + "path": "packages/core/plugins/core-plugins-server-internal/src/plugin_context.ts" + }, + { + "plugin": "@kbn/core-plugins-server-internal", + "path": "packages/core/plugins/core-plugins-server-internal/src/plugin_context.ts" + }, + { + "plugin": "@kbn/core-plugins-server-internal", + "path": "packages/core/plugins/core-plugins-server-internal/src/plugin_context.ts" + }, + { + "plugin": "@kbn/core-plugins-server-internal", + "path": "packages/core/plugins/core-plugins-server-internal/src/plugin_context.ts" + }, + { + "plugin": "@kbn/core-analytics-server-internal", + "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" + }, + { + "plugin": "@kbn/core-analytics-server-internal", + "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" + }, + { + "plugin": "@kbn/core-analytics-server-internal", + "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" + }, + { + "plugin": "@kbn/core-analytics-server-internal", + "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" + }, + { + "plugin": "@kbn/core-analytics-server-internal", + "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" + }, + { + "plugin": "@kbn/core-analytics-server-internal", + "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" + }, + { + "plugin": "core", + "path": "src/core/server/server.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/server/analytics/analytics_service.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/services/analytics/types.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/services/analytics/analytics_service.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/plugins/fleet/server/services/fleet_usage_sender.ts" + }, + { + "plugin": "osquery", + "path": "x-pack/plugins/osquery/server/lib/telemetry/sender.ts" + }, + { + "plugin": "osquery", + "path": "x-pack/plugins/osquery/server/lib/telemetry/sender.ts" + }, + { + "plugin": "osquery", + "path": "x-pack/plugins/osquery/server/lib/telemetry/sender.ts" + }, + { + "plugin": "osquery", + "path": "x-pack/plugins/osquery/server/lib/telemetry/sender.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-mocks", + "path": "packages/core/analytics/core-analytics-browser-mocks/src/analytics_service.mock.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-mocks", + "path": "packages/core/analytics/core-analytics-browser-mocks/src/analytics_service.mock.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/services/analytics/analytics.stub.ts" + }, + { + "plugin": "@kbn/core-root-browser-internal", + "path": "packages/core/root/core-root-browser-internal/src/core_system.test.ts" + }, + { + "plugin": "@kbn/core-root-browser-internal", + "path": "packages/core/root/core-root-browser-internal/src/core_system.test.ts" + }, + { + "plugin": "@kbn/core-root-browser-internal", + "path": "packages/core/root/core-root-browser-internal/src/core_system.test.ts" + }, + { + "plugin": "@kbn/core-root-browser-internal", + "path": "packages/core/root/core-root-browser-internal/src/core_system.test.ts" + }, + { + "plugin": "@kbn/core-root-browser-internal", + "path": "packages/core/root/core-root-browser-internal/src/core_system.test.ts" + }, + { + "plugin": "@kbn/core-root-browser-internal", + "path": "packages/core/root/core-root-browser-internal/src/core_system.test.ts" + }, + { + "plugin": "@kbn/core-analytics-server-mocks", + "path": "packages/core/analytics/core-analytics-server-mocks/src/analytics_service.mock.ts" + }, + { + "plugin": "@kbn/core-analytics-server-mocks", + "path": "packages/core/analytics/core-analytics-server-mocks/src/analytics_service.mock.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/server/analytics/analytics_service.test.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/server/analytics/analytics_service.test.ts" + }, + { + "plugin": "@kbn/core-status-server-internal", + "path": "packages/core/status/core-status-server-internal/src/status_service.test.ts" + }, + { + "plugin": "@kbn/core-status-server-internal", + "path": "packages/core/status/core-status-server-internal/src/status_service.test.ts" + }, + { + "plugin": "@kbn/core-status-server-internal", + "path": "packages/core/status/core-status-server-internal/src/status_service.test.ts" + }, + { + "plugin": "@kbn/core-analytics-server-mocks", + "path": "packages/core/analytics/core-analytics-server-mocks/src/analytics_service.mock.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.test.mocks.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/track_clicks.test.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/track_clicks.test.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/track_clicks.test.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/track_clicks.test.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.test.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.test.ts" + }, + { + "plugin": "@kbn/core-analytics-server-internal", + "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.test.mocks.ts" + } + ], "children": [ { "parentPluginId": "@kbn/analytics-client", @@ -868,7 +1095,228 @@ "path": "packages/analytics/client/src/analytics_client/types.ts", "deprecated": false, "trackAdoption": true, - "references": [], + "references": [ + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" + }, + { + "plugin": "@kbn/core-execution-context-browser-internal", + "path": "packages/core/execution-context/core-execution-context-browser-internal/src/execution_context_service.ts" + }, + { + "plugin": "@kbn/core-elasticsearch-server-internal", + "path": "packages/core/elasticsearch/core-elasticsearch-server-internal/src/register_analytics_context_provider.ts" + }, + { + "plugin": "@kbn/core-environment-server-internal", + "path": "packages/core/environment/core-environment-server-internal/src/environment_service.ts" + }, + { + "plugin": "@kbn/core-status-server-internal", + "path": "packages/core/status/core-status-server-internal/src/status_service.ts" + }, + { + "plugin": "@kbn/core-plugins-server-internal", + "path": "packages/core/plugins/core-plugins-server-internal/src/plugin_context.ts" + }, + { + "plugin": "@kbn/core-plugins-server-internal", + "path": "packages/core/plugins/core-plugins-server-internal/src/plugin_context.ts" + }, + { + "plugin": "@kbn/core-plugins-server-internal", + "path": "packages/core/plugins/core-plugins-server-internal/src/plugin_context.ts" + }, + { + "plugin": "@kbn/core-plugins-server-internal", + "path": "packages/core/plugins/core-plugins-server-internal/src/plugin_context.ts" + }, + { + "plugin": "@kbn/core-analytics-server-internal", + "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" + }, + { + "plugin": "@kbn/core-analytics-server-internal", + "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" + }, + { + "plugin": "@kbn/core-analytics-server-internal", + "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" + }, + { + "plugin": "@kbn/core-analytics-server-internal", + "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" + }, + { + "plugin": "@kbn/core-analytics-server-internal", + "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" + }, + { + "plugin": "licensing", + "path": "x-pack/plugins/licensing/common/register_analytics_context_provider.ts" + }, + { + "plugin": "cloud", + "path": "x-pack/plugins/cloud/common/register_cloud_deployment_id_analytics_context.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/public/analytics/register_user_context.ts" + }, + { + "plugin": "telemetry", + "path": "src/plugins/telemetry/public/plugin.ts" + }, + { + "plugin": "telemetry", + "path": "src/plugins/telemetry/server/plugin.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-mocks", + "path": "packages/core/analytics/core-analytics-browser-mocks/src/analytics_service.mock.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/public/analytics/analytics_service.test.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/public/analytics/analytics_service.test.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/public/analytics/register_user_context.test.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/public/analytics/register_user_context.test.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/public/analytics/register_user_context.test.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/public/analytics/register_user_context.test.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/public/analytics/register_user_context.test.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/public/analytics/register_user_context.test.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/public/analytics/register_user_context.test.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/public/analytics/register_user_context.test.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/public/analytics/register_user_context.test.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/public/analytics/register_user_context.test.ts" + }, + { + "plugin": "@kbn/core-execution-context-browser-internal", + "path": "packages/core/execution-context/core-execution-context-browser-internal/src/execution_context_service.test.ts" + }, + { + "plugin": "@kbn/core-execution-context-browser-internal", + "path": "packages/core/execution-context/core-execution-context-browser-internal/src/execution_context_service.test.ts" + }, + { + "plugin": "@kbn/core-analytics-server-mocks", + "path": "packages/core/analytics/core-analytics-server-mocks/src/analytics_service.mock.ts" + }, + { + "plugin": "@kbn/core-analytics-server-mocks", + "path": "packages/core/analytics/core-analytics-server-mocks/src/analytics_service.mock.ts" + }, + { + "plugin": "@kbn/core-elasticsearch-server-internal", + "path": "packages/core/elasticsearch/core-elasticsearch-server-internal/src/register_analytics_context_provider.test.ts" + }, + { + "plugin": "@kbn/core-status-server-internal", + "path": "packages/core/status/core-status-server-internal/src/status_service.test.ts" + }, + { + "plugin": "@kbn/core-status-server-internal", + "path": "packages/core/status/core-status-server-internal/src/status_service.test.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.test.mocks.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.test.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.test.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.test.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.test.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.test.ts" + }, + { + "plugin": "@kbn/core-analytics-browser-internal", + "path": "packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.test.ts" + }, + { + "plugin": "@kbn/core-analytics-server-internal", + "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.test.mocks.ts" + }, + { + "plugin": "@kbn/core-analytics-server-internal", + "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.test.ts" + }, + { + "plugin": "@kbn/core-analytics-server-internal", + "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.test.ts" + } + ], "children": [ { "parentPluginId": "@kbn/analytics-client", diff --git a/api_docs/kbn_analytics_client.mdx b/api_docs/kbn_analytics_client.mdx index cb0f6dc8d2b46..ba6605802a62b 100644 --- a/api_docs/kbn_analytics_client.mdx +++ b/api_docs/kbn_analytics_client.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-analytics-client title: "@kbn/analytics-client" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/analytics-client plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics-client'] --- import kbnAnalyticsClientObj from './kbn_analytics_client.devdocs.json'; diff --git a/api_docs/kbn_analytics_shippers_elastic_v3_browser.devdocs.json b/api_docs/kbn_analytics_shippers_elastic_v3_browser.devdocs.json index b73733babcf66..2e1927862ade1 100644 --- a/api_docs/kbn_analytics_shippers_elastic_v3_browser.devdocs.json +++ b/api_docs/kbn_analytics_shippers_elastic_v3_browser.devdocs.json @@ -36,7 +36,13 @@ "text": "ElasticV3BrowserShipper" }, " implements ", - "IShipper" + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.IShipper", + "text": "IShipper" + } ], "path": "packages/analytics/shippers/elastic_v3/browser/src/browser_shipper.ts", "deprecated": false, @@ -67,7 +73,13 @@ "signature": [ "Subject", "<", - "TelemetryCounter", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.TelemetryCounter", + "text": "TelemetryCounter" + }, ">" ], "path": "packages/analytics/shippers/elastic_v3/browser/src/browser_shipper.ts", @@ -100,7 +112,13 @@ "{@link ElasticV3ShipperOptions }" ], "signature": [ - "ElasticV3ShipperOptions" + { + "pluginId": "@kbn/analytics-shippers-elastic-v3-common", + "scope": "common", + "docId": "kibKbnAnalyticsShippersElasticV3CommonPluginApi", + "section": "def-common.ElasticV3ShipperOptions", + "text": "ElasticV3ShipperOptions" + } ], "path": "packages/analytics/shippers/elastic_v3/browser/src/browser_shipper.ts", "deprecated": false, @@ -117,7 +135,13 @@ "{@link AnalyticsClientInitContext }" ], "signature": [ - "AnalyticsClientInitContext" + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.AnalyticsClientInitContext", + "text": "AnalyticsClientInitContext" + } ], "path": "packages/analytics/shippers/elastic_v3/browser/src/browser_shipper.ts", "deprecated": false, @@ -138,7 +162,13 @@ ], "signature": [ "(newContext: ", - "EventContext", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.EventContext", + "text": "EventContext" + }, ") => void" ], "path": "packages/analytics/shippers/elastic_v3/browser/src/browser_shipper.ts", @@ -155,7 +185,13 @@ "The full new context to set {@link EventContext }" ], "signature": [ - "EventContext" + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.EventContext", + "text": "EventContext" + } ], "path": "packages/analytics/shippers/elastic_v3/browser/src/browser_shipper.ts", "deprecated": false, @@ -212,7 +248,13 @@ ], "signature": [ "(events: ", - "Event", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.Event", + "text": "Event" + }, ">[]) => void" ], "path": "packages/analytics/shippers/elastic_v3/browser/src/browser_shipper.ts", @@ -229,7 +271,13 @@ "batched events {@link Event }" ], "signature": [ - "Event", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.Event", + "text": "Event" + }, ">[]" ], "path": "packages/analytics/shippers/elastic_v3/browser/src/browser_shipper.ts", @@ -273,10 +321,7 @@ "description": [ "\nOptions for the Elastic V3 shipper" ], - "signature": [ - "ElasticV3ShipperOptions" - ], - "path": "node_modules/@types/kbn__analytics-shippers-elastic-v3-common/index.d.ts", + "path": "packages/analytics/shippers/elastic_v3/common/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -289,7 +334,7 @@ "description": [ "\nThe name of the channel to stream all the events to." ], - "path": "node_modules/@types/kbn__analytics-shippers-elastic-v3-common/index.d.ts", + "path": "packages/analytics/shippers/elastic_v3/common/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -302,7 +347,7 @@ "description": [ "\nThe product's version." ], - "path": "node_modules/@types/kbn__analytics-shippers-elastic-v3-common/index.d.ts", + "path": "packages/analytics/shippers/elastic_v3/common/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -318,7 +363,7 @@ "signature": [ "\"staging\" | \"production\" | undefined" ], - "path": "node_modules/@types/kbn__analytics-shippers-elastic-v3-common/index.d.ts", + "path": "packages/analytics/shippers/elastic_v3/common/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -334,7 +379,7 @@ "signature": [ "boolean | undefined" ], - "path": "node_modules/@types/kbn__analytics-shippers-elastic-v3-common/index.d.ts", + "path": "packages/analytics/shippers/elastic_v3/common/src/types.ts", "deprecated": false, "trackAdoption": false } diff --git a/api_docs/kbn_analytics_shippers_elastic_v3_browser.mdx b/api_docs/kbn_analytics_shippers_elastic_v3_browser.mdx index 9520a179c4635..607d95df8418c 100644 --- a/api_docs/kbn_analytics_shippers_elastic_v3_browser.mdx +++ b/api_docs/kbn_analytics_shippers_elastic_v3_browser.mdx @@ -8,7 +8,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 description: API docs for the @kbn/analytics-shippers-elastic-v3-browser plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics-shippers-elastic-v3-browser'] --- import kbnAnalyticsShippersElasticV3BrowserObj from './kbn_analytics_shippers_elastic_v3_browser.devdocs.json'; diff --git a/api_docs/kbn_analytics_shippers_elastic_v3_common.devdocs.json b/api_docs/kbn_analytics_shippers_elastic_v3_common.devdocs.json index f0bc3a04cff0e..2e718139d6717 100644 --- a/api_docs/kbn_analytics_shippers_elastic_v3_common.devdocs.json +++ b/api_docs/kbn_analytics_shippers_elastic_v3_common.devdocs.json @@ -234,11 +234,29 @@ "(telemetryCounter$: ", "Subject", "<", - "TelemetryCounter", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.TelemetryCounter", + "text": "TelemetryCounter" + }, ">, source: string) => (events: ", - "Event", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.Event", + "text": "Event" + }, ">[], { type, code, error, }?: { type?: ", - "TelemetryCounterType", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.TelemetryCounterType", + "text": "TelemetryCounterType" + }, " | undefined; code?: string | undefined; error?: Error | undefined; }) => void" ], "path": "packages/analytics/shippers/elastic_v3/common/src/report_telemetry_counters.ts", @@ -257,7 +275,13 @@ "signature": [ "Subject", "<", - "TelemetryCounter", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.TelemetryCounter", + "text": "TelemetryCounter" + }, ">" ], "path": "packages/analytics/shippers/elastic_v3/common/src/report_telemetry_counters.ts", @@ -297,7 +321,13 @@ ], "signature": [ "(events: ", - "Event", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.Event", + "text": "Event" + }, ">[]) => string" ], "path": "packages/analytics/shippers/elastic_v3/common/src/events_to_ndjson.ts", @@ -314,7 +344,13 @@ "An array of events {@link Event }" ], "signature": [ - "Event", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.Event", + "text": "Event" + }, ">[]" ], "path": "packages/analytics/shippers/elastic_v3/common/src/events_to_ndjson.ts", diff --git a/api_docs/kbn_analytics_shippers_elastic_v3_common.mdx b/api_docs/kbn_analytics_shippers_elastic_v3_common.mdx index f61e96afac2c2..3c9187f8e24c8 100644 --- a/api_docs/kbn_analytics_shippers_elastic_v3_common.mdx +++ b/api_docs/kbn_analytics_shippers_elastic_v3_common.mdx @@ -8,7 +8,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 description: API docs for the @kbn/analytics-shippers-elastic-v3-common plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics-shippers-elastic-v3-common'] --- import kbnAnalyticsShippersElasticV3CommonObj from './kbn_analytics_shippers_elastic_v3_common.devdocs.json'; diff --git a/api_docs/kbn_analytics_shippers_elastic_v3_server.devdocs.json b/api_docs/kbn_analytics_shippers_elastic_v3_server.devdocs.json index a5b5e11e33d65..9a0eb5bc0ac7d 100644 --- a/api_docs/kbn_analytics_shippers_elastic_v3_server.devdocs.json +++ b/api_docs/kbn_analytics_shippers_elastic_v3_server.devdocs.json @@ -28,7 +28,13 @@ "text": "ElasticV3ServerShipper" }, " implements ", - "IShipper" + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.IShipper", + "text": "IShipper" + } ], "path": "packages/analytics/shippers/elastic_v3/server/src/server_shipper.ts", "deprecated": false, @@ -59,7 +65,13 @@ "signature": [ "Subject", "<", - "TelemetryCounter", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.TelemetryCounter", + "text": "TelemetryCounter" + }, ">" ], "path": "packages/analytics/shippers/elastic_v3/server/src/server_shipper.ts", @@ -92,7 +104,13 @@ "{@link ElasticV3ShipperOptions }" ], "signature": [ - "ElasticV3ShipperOptions" + { + "pluginId": "@kbn/analytics-shippers-elastic-v3-common", + "scope": "common", + "docId": "kibKbnAnalyticsShippersElasticV3CommonPluginApi", + "section": "def-common.ElasticV3ShipperOptions", + "text": "ElasticV3ShipperOptions" + } ], "path": "packages/analytics/shippers/elastic_v3/server/src/server_shipper.ts", "deprecated": false, @@ -109,7 +127,13 @@ "{@link AnalyticsClientInitContext }" ], "signature": [ - "AnalyticsClientInitContext" + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.AnalyticsClientInitContext", + "text": "AnalyticsClientInitContext" + } ], "path": "packages/analytics/shippers/elastic_v3/server/src/server_shipper.ts", "deprecated": false, @@ -130,7 +154,13 @@ ], "signature": [ "(newContext: ", - "EventContext", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.EventContext", + "text": "EventContext" + }, ") => void" ], "path": "packages/analytics/shippers/elastic_v3/server/src/server_shipper.ts", @@ -147,7 +177,13 @@ "The full new context to set {@link EventContext }" ], "signature": [ - "EventContext" + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.EventContext", + "text": "EventContext" + } ], "path": "packages/analytics/shippers/elastic_v3/server/src/server_shipper.ts", "deprecated": false, @@ -204,7 +240,13 @@ ], "signature": [ "(events: ", - "Event", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.Event", + "text": "Event" + }, ">[]) => void" ], "path": "packages/analytics/shippers/elastic_v3/server/src/server_shipper.ts", @@ -221,7 +263,13 @@ "batched events {@link Event }" ], "signature": [ - "Event", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.Event", + "text": "Event" + }, ">[]" ], "path": "packages/analytics/shippers/elastic_v3/server/src/server_shipper.ts", @@ -265,10 +313,7 @@ "description": [ "\nOptions for the Elastic V3 shipper" ], - "signature": [ - "ElasticV3ShipperOptions" - ], - "path": "node_modules/@types/kbn__analytics-shippers-elastic-v3-common/index.d.ts", + "path": "packages/analytics/shippers/elastic_v3/common/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -281,7 +326,7 @@ "description": [ "\nThe name of the channel to stream all the events to." ], - "path": "node_modules/@types/kbn__analytics-shippers-elastic-v3-common/index.d.ts", + "path": "packages/analytics/shippers/elastic_v3/common/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -294,7 +339,7 @@ "description": [ "\nThe product's version." ], - "path": "node_modules/@types/kbn__analytics-shippers-elastic-v3-common/index.d.ts", + "path": "packages/analytics/shippers/elastic_v3/common/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -310,7 +355,7 @@ "signature": [ "\"staging\" | \"production\" | undefined" ], - "path": "node_modules/@types/kbn__analytics-shippers-elastic-v3-common/index.d.ts", + "path": "packages/analytics/shippers/elastic_v3/common/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -326,7 +371,7 @@ "signature": [ "boolean | undefined" ], - "path": "node_modules/@types/kbn__analytics-shippers-elastic-v3-common/index.d.ts", + "path": "packages/analytics/shippers/elastic_v3/common/src/types.ts", "deprecated": false, "trackAdoption": false } diff --git a/api_docs/kbn_analytics_shippers_elastic_v3_server.mdx b/api_docs/kbn_analytics_shippers_elastic_v3_server.mdx index c29bb9f3ee30f..8d7dfdad57371 100644 --- a/api_docs/kbn_analytics_shippers_elastic_v3_server.mdx +++ b/api_docs/kbn_analytics_shippers_elastic_v3_server.mdx @@ -8,7 +8,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 description: API docs for the @kbn/analytics-shippers-elastic-v3-server plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics-shippers-elastic-v3-server'] --- import kbnAnalyticsShippersElasticV3ServerObj from './kbn_analytics_shippers_elastic_v3_server.devdocs.json'; diff --git a/api_docs/kbn_analytics_shippers_fullstory.devdocs.json b/api_docs/kbn_analytics_shippers_fullstory.devdocs.json index 3ddce3a3b1119..476a7042823ac 100644 --- a/api_docs/kbn_analytics_shippers_fullstory.devdocs.json +++ b/api_docs/kbn_analytics_shippers_fullstory.devdocs.json @@ -36,7 +36,13 @@ "text": "FullStoryShipper" }, " implements ", - "IShipper" + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.IShipper", + "text": "IShipper" + } ], "path": "packages/analytics/shippers/fullstory/src/fullstory_shipper.ts", "deprecated": false, @@ -104,7 +110,13 @@ "{@link AnalyticsClientInitContext }" ], "signature": [ - "AnalyticsClientInitContext" + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.AnalyticsClientInitContext", + "text": "AnalyticsClientInitContext" + } ], "path": "packages/analytics/shippers/fullstory/src/fullstory_shipper.ts", "deprecated": false, @@ -125,7 +137,13 @@ ], "signature": [ "(newContext: ", - "EventContext", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.EventContext", + "text": "EventContext" + }, ") => void" ], "path": "packages/analytics/shippers/fullstory/src/fullstory_shipper.ts", @@ -142,7 +160,13 @@ "The full new context to set {@link EventContext }" ], "signature": [ - "EventContext" + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.EventContext", + "text": "EventContext" + } ], "path": "packages/analytics/shippers/fullstory/src/fullstory_shipper.ts", "deprecated": false, @@ -199,7 +223,13 @@ ], "signature": [ "(events: ", - "Event", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.Event", + "text": "Event" + }, ">[]) => void" ], "path": "packages/analytics/shippers/fullstory/src/fullstory_shipper.ts", @@ -216,7 +246,13 @@ "batched events {@link Event }" ], "signature": [ - "Event", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.Event", + "text": "Event" + }, ">[]" ], "path": "packages/analytics/shippers/fullstory/src/fullstory_shipper.ts", diff --git a/api_docs/kbn_analytics_shippers_fullstory.mdx b/api_docs/kbn_analytics_shippers_fullstory.mdx index 1b3de74362ff7..d3b12d2990a08 100644 --- a/api_docs/kbn_analytics_shippers_fullstory.mdx +++ b/api_docs/kbn_analytics_shippers_fullstory.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-analytics-shippers-fullstory title: "@kbn/analytics-shippers-fullstory" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/analytics-shippers-fullstory plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics-shippers-fullstory'] --- import kbnAnalyticsShippersFullstoryObj from './kbn_analytics_shippers_fullstory.devdocs.json'; diff --git a/api_docs/kbn_analytics_shippers_gainsight.devdocs.json b/api_docs/kbn_analytics_shippers_gainsight.devdocs.json index 00e50bd404a3d..624830a0a10b5 100644 --- a/api_docs/kbn_analytics_shippers_gainsight.devdocs.json +++ b/api_docs/kbn_analytics_shippers_gainsight.devdocs.json @@ -36,7 +36,13 @@ "text": "GainsightShipper" }, " implements ", - "IShipper" + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.IShipper", + "text": "IShipper" + } ], "path": "packages/analytics/shippers/gainsight/src/gainsight_shipper.ts", "deprecated": false, @@ -104,7 +110,13 @@ "{@link AnalyticsClientInitContext }" ], "signature": [ - "AnalyticsClientInitContext" + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.AnalyticsClientInitContext", + "text": "AnalyticsClientInitContext" + } ], "path": "packages/analytics/shippers/gainsight/src/gainsight_shipper.ts", "deprecated": false, @@ -125,7 +137,13 @@ ], "signature": [ "(newContext: ", - "EventContext", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.EventContext", + "text": "EventContext" + }, ") => void" ], "path": "packages/analytics/shippers/gainsight/src/gainsight_shipper.ts", @@ -142,7 +160,13 @@ "The full new context to set {@link EventContext }" ], "signature": [ - "EventContext" + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.EventContext", + "text": "EventContext" + } ], "path": "packages/analytics/shippers/gainsight/src/gainsight_shipper.ts", "deprecated": false, @@ -199,7 +223,13 @@ ], "signature": [ "(events: ", - "Event", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.Event", + "text": "Event" + }, ">[]) => void" ], "path": "packages/analytics/shippers/gainsight/src/gainsight_shipper.ts", @@ -216,7 +246,13 @@ "batched events {@link Event }" ], "signature": [ - "Event", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.Event", + "text": "Event" + }, ">[]" ], "path": "packages/analytics/shippers/gainsight/src/gainsight_shipper.ts", diff --git a/api_docs/kbn_analytics_shippers_gainsight.mdx b/api_docs/kbn_analytics_shippers_gainsight.mdx index 0eda080e06a41..26721849e3dd4 100644 --- a/api_docs/kbn_analytics_shippers_gainsight.mdx +++ b/api_docs/kbn_analytics_shippers_gainsight.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-analytics-shippers-gainsight title: "@kbn/analytics-shippers-gainsight" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/analytics-shippers-gainsight plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics-shippers-gainsight'] --- import kbnAnalyticsShippersGainsightObj from './kbn_analytics_shippers_gainsight.devdocs.json'; diff --git a/api_docs/kbn_apm_config_loader.devdocs.json b/api_docs/kbn_apm_config_loader.devdocs.json index 3e13d8a02d2e9..6b39978e0e142 100644 --- a/api_docs/kbn_apm_config_loader.devdocs.json +++ b/api_docs/kbn_apm_config_loader.devdocs.json @@ -283,15 +283,45 @@ "label": "apmConfigSchema", "description": [], "signature": [ - "ObjectType", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ObjectType", + "text": "ObjectType" + }, "<{ active: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; serverUrl: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; secretToken: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; globalLabels: ", - "ObjectType", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ObjectType", + "text": "ObjectType" + }, "<{}>; }>" ], "path": "packages/kbn-apm-config-loader/src/apm_config.ts", diff --git a/api_docs/kbn_apm_config_loader.mdx b/api_docs/kbn_apm_config_loader.mdx index ef7630ec9445e..191fa468b0a22 100644 --- a/api_docs/kbn_apm_config_loader.mdx +++ b/api_docs/kbn_apm_config_loader.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-apm-config-loader title: "@kbn/apm-config-loader" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/apm-config-loader plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/apm-config-loader'] --- import kbnApmConfigLoaderObj from './kbn_apm_config_loader.devdocs.json'; diff --git a/api_docs/kbn_apm_synthtrace.mdx b/api_docs/kbn_apm_synthtrace.mdx index 0d9003bf68a83..a91e301cd149d 100644 --- a/api_docs/kbn_apm_synthtrace.mdx +++ b/api_docs/kbn_apm_synthtrace.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-apm-synthtrace title: "@kbn/apm-synthtrace" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/apm-synthtrace plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/apm-synthtrace'] --- import kbnApmSynthtraceObj from './kbn_apm_synthtrace.devdocs.json'; diff --git a/api_docs/kbn_apm_utils.mdx b/api_docs/kbn_apm_utils.mdx index 11c9ffb888234..2fc91a0852d73 100644 --- a/api_docs/kbn_apm_utils.mdx +++ b/api_docs/kbn_apm_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-apm-utils title: "@kbn/apm-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/apm-utils plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/apm-utils'] --- import kbnApmUtilsObj from './kbn_apm_utils.devdocs.json'; diff --git a/api_docs/kbn_axe_config.mdx b/api_docs/kbn_axe_config.mdx index 2cee27d1231cc..4c24e19544768 100644 --- a/api_docs/kbn_axe_config.mdx +++ b/api_docs/kbn_axe_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-axe-config title: "@kbn/axe-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/axe-config plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/axe-config'] --- import kbnAxeConfigObj from './kbn_axe_config.devdocs.json'; diff --git a/api_docs/kbn_cases_components.devdocs.json b/api_docs/kbn_cases_components.devdocs.json index 77285328875af..098fcecdffa0d 100644 --- a/api_docs/kbn_cases_components.devdocs.json +++ b/api_docs/kbn_cases_components.devdocs.json @@ -27,7 +27,7 @@ "label": "getStatusConfiguration", "description": [], "signature": [ - "() => { open: { color: string; label: string; icon: \"folderOpen\"; }; \"in-progress\": { color: string; label: string; icon: \"folderExclamation\"; }; closed: { color: string; label: string; icon: \"folderCheck\"; }; }" + "() => { open: { color: string; label: any; icon: \"folderOpen\"; }; \"in-progress\": { color: string; label: any; icon: \"folderExclamation\"; }; closed: { color: string; label: any; icon: \"folderCheck\"; }; }" ], "path": "packages/kbn-cases-components/src/status/config.ts", "deprecated": false, diff --git a/api_docs/kbn_cases_components.mdx b/api_docs/kbn_cases_components.mdx index 8cf3f486edf94..5be1a833084c8 100644 --- a/api_docs/kbn_cases_components.mdx +++ b/api_docs/kbn_cases_components.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-cases-components title: "@kbn/cases-components" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/cases-components plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/cases-components'] --- import kbnCasesComponentsObj from './kbn_cases_components.devdocs.json'; diff --git a/api_docs/kbn_chart_icons.mdx b/api_docs/kbn_chart_icons.mdx index d467c4d5d98ac..260c8abee1d33 100644 --- a/api_docs/kbn_chart_icons.mdx +++ b/api_docs/kbn_chart_icons.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-chart-icons title: "@kbn/chart-icons" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/chart-icons plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/chart-icons'] --- import kbnChartIconsObj from './kbn_chart_icons.devdocs.json'; diff --git a/api_docs/kbn_ci_stats_core.devdocs.json b/api_docs/kbn_ci_stats_core.devdocs.json index c7f7a7630b0d7..2f0ac23f7ca6c 100644 --- a/api_docs/kbn_ci_stats_core.devdocs.json +++ b/api_docs/kbn_ci_stats_core.devdocs.json @@ -20,7 +20,13 @@ "description": [], "signature": [ "(log: ", - "SomeDevLog", + { + "pluginId": "@kbn/some-dev-log", + "scope": "server", + "docId": "kibKbnSomeDevLogPluginApi", + "section": "def-server.SomeDevLog", + "text": "SomeDevLog" + }, ") => ", { "pluginId": "@kbn/ci-stats-core", @@ -43,7 +49,13 @@ "label": "log", "description": [], "signature": [ - "SomeDevLog" + { + "pluginId": "@kbn/some-dev-log", + "scope": "server", + "docId": "kibKbnSomeDevLogPluginApi", + "section": "def-server.SomeDevLog", + "text": "SomeDevLog" + } ], "path": "packages/kbn-ci-stats-core/src/ci_stats_config.ts", "deprecated": false, diff --git a/api_docs/kbn_ci_stats_core.mdx b/api_docs/kbn_ci_stats_core.mdx index 8d36dcd5f2e92..5e373b70f0885 100644 --- a/api_docs/kbn_ci_stats_core.mdx +++ b/api_docs/kbn_ci_stats_core.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ci-stats-core title: "@kbn/ci-stats-core" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ci-stats-core plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ci-stats-core'] --- import kbnCiStatsCoreObj from './kbn_ci_stats_core.devdocs.json'; diff --git a/api_docs/kbn_ci_stats_performance_metrics.mdx b/api_docs/kbn_ci_stats_performance_metrics.mdx index 2203363490a93..e17d7708eff22 100644 --- a/api_docs/kbn_ci_stats_performance_metrics.mdx +++ b/api_docs/kbn_ci_stats_performance_metrics.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ci-stats-performance-metrics title: "@kbn/ci-stats-performance-metrics" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ci-stats-performance-metrics plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ci-stats-performance-metrics'] --- import kbnCiStatsPerformanceMetricsObj from './kbn_ci_stats_performance_metrics.devdocs.json'; diff --git a/api_docs/kbn_ci_stats_reporter.devdocs.json b/api_docs/kbn_ci_stats_reporter.devdocs.json index 18389c93d07ca..d43b7a22add37 100644 --- a/api_docs/kbn_ci_stats_reporter.devdocs.json +++ b/api_docs/kbn_ci_stats_reporter.devdocs.json @@ -34,7 +34,13 @@ ], "signature": [ "(log: ", - "SomeDevLog", + { + "pluginId": "@kbn/some-dev-log", + "scope": "server", + "docId": "kibKbnSomeDevLogPluginApi", + "section": "def-server.SomeDevLog", + "text": "SomeDevLog" + }, ") => ", { "pluginId": "@kbn/ci-stats-reporter", @@ -56,7 +62,13 @@ "label": "log", "description": [], "signature": [ - "SomeDevLog" + { + "pluginId": "@kbn/some-dev-log", + "scope": "server", + "docId": "kibKbnSomeDevLogPluginApi", + "section": "def-server.SomeDevLog", + "text": "SomeDevLog" + } ], "path": "packages/kbn-ci-stats-reporter/src/ci_stats_reporter.ts", "deprecated": false, @@ -88,7 +100,13 @@ "label": "config", "description": [], "signature": [ - "Config", + { + "pluginId": "@kbn/ci-stats-core", + "scope": "server", + "docId": "kibKbnCiStatsCorePluginApi", + "section": "def-server.Config", + "text": "Config" + }, " | undefined" ], "path": "packages/kbn-ci-stats-reporter/src/ci_stats_reporter.ts", @@ -104,7 +122,13 @@ "label": "log", "description": [], "signature": [ - "SomeDevLog" + { + "pluginId": "@kbn/some-dev-log", + "scope": "server", + "docId": "kibKbnSomeDevLogPluginApi", + "section": "def-server.SomeDevLog", + "text": "SomeDevLog" + } ], "path": "packages/kbn-ci-stats-reporter/src/ci_stats_reporter.ts", "deprecated": false, @@ -373,7 +397,13 @@ "description": [], "signature": [ "(log: ", - "ToolingLog", + { + "pluginId": "@kbn/tooling-log", + "scope": "server", + "docId": "kibKbnToolingLogPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + }, ", group: string) => (startTime: number, id: string, meta: Record) => Promise" ], "path": "packages/kbn-ci-stats-reporter/src/report_time.ts", @@ -388,7 +418,13 @@ "label": "log", "description": [], "signature": [ - "ToolingLog" + { + "pluginId": "@kbn/tooling-log", + "scope": "server", + "docId": "kibKbnToolingLogPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + } ], "path": "packages/kbn-ci-stats-reporter/src/report_time.ts", "deprecated": false, @@ -510,7 +546,13 @@ "Arbitrary key-value pairs which can be used for additional filtering/reporting" ], "signature": [ - "CiStatsMetadata", + { + "pluginId": "@kbn/ci-stats-core", + "scope": "server", + "docId": "kibKbnCiStatsCorePluginApi", + "section": "def-server.CiStatsMetadata", + "text": "CiStatsMetadata" + }, " | undefined" ], "path": "packages/kbn-ci-stats-reporter/src/ci_stats_reporter.ts", @@ -670,7 +712,13 @@ "\nArbitrary metadata associated with this group. We currently look for a ciGroup metadata property for highlighting that when appropriate" ], "signature": [ - "CiStatsMetadata" + { + "pluginId": "@kbn/ci-stats-core", + "scope": "server", + "docId": "kibKbnCiStatsCorePluginApi", + "section": "def-server.CiStatsMetadata", + "text": "CiStatsMetadata" + } ], "path": "packages/kbn-ci-stats-reporter/src/ci_stats_test_group_types.ts", "deprecated": false, @@ -916,7 +964,13 @@ "hash of key-value pairs which will be stored with the timing for additional filtering and reporting" ], "signature": [ - "CiStatsMetadata", + { + "pluginId": "@kbn/ci-stats-core", + "scope": "server", + "docId": "kibKbnCiStatsCorePluginApi", + "section": "def-server.CiStatsMetadata", + "text": "CiStatsMetadata" + }, " | undefined" ], "path": "packages/kbn-ci-stats-reporter/src/ci_stats_reporter.ts", @@ -949,7 +1003,13 @@ "Default metadata to add to each metric" ], "signature": [ - "CiStatsMetadata", + { + "pluginId": "@kbn/ci-stats-core", + "scope": "server", + "docId": "kibKbnCiStatsCorePluginApi", + "section": "def-server.CiStatsMetadata", + "text": "CiStatsMetadata" + }, " | undefined" ], "path": "packages/kbn-ci-stats-reporter/src/ci_stats_reporter.ts", diff --git a/api_docs/kbn_ci_stats_reporter.mdx b/api_docs/kbn_ci_stats_reporter.mdx index 3afdccc76f9c7..a03adffb03161 100644 --- a/api_docs/kbn_ci_stats_reporter.mdx +++ b/api_docs/kbn_ci_stats_reporter.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ci-stats-reporter title: "@kbn/ci-stats-reporter" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ci-stats-reporter plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ci-stats-reporter'] --- import kbnCiStatsReporterObj from './kbn_ci_stats_reporter.devdocs.json'; diff --git a/api_docs/kbn_cli_dev_mode.mdx b/api_docs/kbn_cli_dev_mode.mdx index 5643fe9ab6e15..4fc6281bb8993 100644 --- a/api_docs/kbn_cli_dev_mode.mdx +++ b/api_docs/kbn_cli_dev_mode.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-cli-dev-mode title: "@kbn/cli-dev-mode" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/cli-dev-mode plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/cli-dev-mode'] --- import kbnCliDevModeObj from './kbn_cli_dev_mode.devdocs.json'; diff --git a/api_docs/kbn_coloring.devdocs.json b/api_docs/kbn_coloring.devdocs.json index 8c6054e41c806..bfddcf39dfed9 100644 --- a/api_docs/kbn_coloring.devdocs.json +++ b/api_docs/kbn_coloring.devdocs.json @@ -1242,7 +1242,13 @@ ], "signature": [ "(state?: T | undefined) => ", - "Ast" + { + "pluginId": "@kbn/interpreter", + "scope": "common", + "docId": "kibKbnInterpreterPluginApi", + "section": "def-common.Ast", + "text": "Ast" + } ], "path": "packages/kbn-coloring/src/palettes/types.ts", "deprecated": false, diff --git a/api_docs/kbn_coloring.mdx b/api_docs/kbn_coloring.mdx index cda24d2de7e68..c91688a017065 100644 --- a/api_docs/kbn_coloring.mdx +++ b/api_docs/kbn_coloring.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-coloring title: "@kbn/coloring" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/coloring plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/coloring'] --- import kbnColoringObj from './kbn_coloring.devdocs.json'; diff --git a/api_docs/kbn_config.devdocs.json b/api_docs/kbn_config.devdocs.json index ed22f3e9d58ac..bc31f6ba45c46 100644 --- a/api_docs/kbn_config.devdocs.json +++ b/api_docs/kbn_config.devdocs.json @@ -282,7 +282,13 @@ "Allow direct access to the doc links from the deprecation handler" ], "signature": [ - "DocLinks" + { + "pluginId": "@kbn/doc-links", + "scope": "common", + "docId": "kibKbnDocLinksPluginApi", + "section": "def-common.DocLinks", + "text": "DocLinks" + } ], "path": "packages/kbn-config/src/deprecation/types.ts", "deprecated": false, diff --git a/api_docs/kbn_config.mdx b/api_docs/kbn_config.mdx index 1f1889bfcaf76..c27c3c7b3b7e2 100644 --- a/api_docs/kbn_config.mdx +++ b/api_docs/kbn_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-config title: "@kbn/config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/config plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/config'] --- import kbnConfigObj from './kbn_config.devdocs.json'; @@ -21,7 +21,7 @@ Contact Kibana Core for questions regarding this plugin. | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 73 | 0 | 44 | 1 | +| 73 | 0 | 44 | 8 | ## Server diff --git a/api_docs/kbn_config_mocks.devdocs.json b/api_docs/kbn_config_mocks.devdocs.json index 5b6e0a9435c89..5e1b5d32aa4b4 100644 --- a/api_docs/kbn_config_mocks.devdocs.json +++ b/api_docs/kbn_config_mocks.devdocs.json @@ -24,7 +24,13 @@ " | undefined; packageInfo?: ", "RawPackageInfo", " | undefined; }) => ", - "Env" + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.Env", + "text": "Env" + } ], "path": "packages/kbn-config-mocks/src/env.mock.ts", "deprecated": false, @@ -187,7 +193,13 @@ "label": "ConfigDeprecationContextMock", "description": [], "signature": [ - "ConfigDeprecationContext" + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.ConfigDeprecationContext", + "text": "ConfigDeprecationContext" + } ], "path": "packages/kbn-config-mocks/src/deprecations.mock.ts", "deprecated": false, @@ -203,11 +215,29 @@ "description": [], "signature": [ "{ has: jest.MockInstance; get: jest.MockInstance; set: jest.MockInstance; getFlattenedPaths: jest.MockInstance; toRaw: jest.MockInstance, []>; } & ", "Config" ], @@ -231,27 +261,81 @@ "<", "Config", ">, []>; setSchema: jest.MockInstance]>; addDeprecationProvider: jest.MockInstance; getHandledDeprecatedConfigs: jest.MockInstance<[string, ", - "DeprecatedConfigDetails", + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.DeprecatedConfigDetails", + "text": "DeprecatedConfigDetails" + }, "[]][], []>; atPath: jest.MockInstance<", "Observable", ", [path: ", - "ConfigPath", + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.ConfigPath", + "text": "ConfigPath" + }, "]>; atPathSync: jest.MockInstance; isEnabledAtPath: jest.MockInstance, [path: ", - "ConfigPath", + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.ConfigPath", + "text": "ConfigPath" + }, "]>; getUnusedPaths: jest.MockInstance, []>; getUsedPaths: jest.MockInstance, []>; getDeprecatedConfigPath$: jest.MockInstance<", "Observable", "<", - "ChangedDeprecatedPaths", + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.ChangedDeprecatedPaths", + "text": "ChangedDeprecatedPaths" + }, ">, []>; } & ", "IConfigService" ], @@ -271,7 +355,13 @@ "{ stop: jest.MockInstance; getConfig$: jest.MockInstance<", "Observable", ">, []>; loadConfig: jest.MockInstance; reloadConfig: jest.MockInstance; } & ", - "PublicMethodsOf", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.PublicMethodsOf", + "text": "PublicMethodsOf" + }, "<", "RawConfigService", ">" @@ -303,7 +393,13 @@ "description": [], "signature": [ "() => ", - "ConfigDeprecationContext" + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.ConfigDeprecationContext", + "text": "ConfigDeprecationContext" + } ], "path": "packages/kbn-config-mocks/src/deprecations.mock.ts", "deprecated": false, diff --git a/api_docs/kbn_config_mocks.mdx b/api_docs/kbn_config_mocks.mdx index a1330227dc6ea..a87061bb44ddd 100644 --- a/api_docs/kbn_config_mocks.mdx +++ b/api_docs/kbn_config_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-config-mocks title: "@kbn/config-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/config-mocks plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/config-mocks'] --- import kbnConfigMocksObj from './kbn_config_mocks.devdocs.json'; diff --git a/api_docs/kbn_config_schema.devdocs.json b/api_docs/kbn_config_schema.devdocs.json index dffe21fe32845..fba38fe0d44cc 100644 --- a/api_docs/kbn_config_schema.devdocs.json +++ b/api_docs/kbn_config_schema.devdocs.json @@ -1466,7 +1466,9 @@ "ConditionalTypeValue", ", B, C>(leftOperand: ", "Reference", - ", rightOperand: ", + ", rightOperand: A | ", + "Reference", + " | ", { "pluginId": "@kbn/config-schema", "scope": "server", @@ -1474,9 +1476,7 @@ "section": "def-server.Type", "text": "Type" }, - " | A | ", - "Reference", - ", equalType: ", + ", equalType: ", { "pluginId": "@kbn/config-schema", "scope": "server", @@ -2521,7 +2521,9 @@ "ConditionalTypeValue", ", B, C>(leftOperand: ", "Reference", - ", rightOperand: ", + ", rightOperand: A | ", + "Reference", + " | ", { "pluginId": "@kbn/config-schema", "scope": "server", @@ -2529,9 +2531,7 @@ "section": "def-server.Type", "text": "Type" }, - " | A | ", - "Reference", - ", equalType: ", + ", equalType: ", { "pluginId": "@kbn/config-schema", "scope": "server", @@ -2587,6 +2587,9 @@ "label": "rightOperand", "description": [], "signature": [ + "A | ", + "Reference", + " | ", { "pluginId": "@kbn/config-schema", "scope": "server", @@ -2594,9 +2597,7 @@ "section": "def-server.Type", "text": "Type" }, - " | A | ", - "Reference", - "" + "" ], "path": "packages/kbn-config-schema/index.ts", "deprecated": false, diff --git a/api_docs/kbn_config_schema.mdx b/api_docs/kbn_config_schema.mdx index 570de8bc5daef..239f81e6669a1 100644 --- a/api_docs/kbn_config_schema.mdx +++ b/api_docs/kbn_config_schema.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-config-schema title: "@kbn/config-schema" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/config-schema plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/config-schema'] --- import kbnConfigSchemaObj from './kbn_config_schema.devdocs.json'; diff --git a/api_docs/kbn_content_management_table_list.devdocs.json b/api_docs/kbn_content_management_table_list.devdocs.json index 967aae50206d2..6a8205e1d4d94 100644 --- a/api_docs/kbn_content_management_table_list.devdocs.json +++ b/api_docs/kbn_content_management_table_list.devdocs.json @@ -73,7 +73,13 @@ ], "signature": [ "({ children, ...services }: React.PropsWithChildren<", - "TableListViewKibanaDependencies", + { + "pluginId": "@kbn/content-management-table-list", + "scope": "common", + "docId": "kibKbnContentManagementTableListPluginApi", + "section": "def-common.TableListViewKibanaDependencies", + "text": "TableListViewKibanaDependencies" + }, ">) => JSX.Element" ], "path": "packages/content-management/table_list/src/services.tsx", @@ -89,7 +95,13 @@ "description": [], "signature": [ "React.PropsWithChildren<", - "TableListViewKibanaDependencies", + { + "pluginId": "@kbn/content-management-table-list", + "scope": "common", + "docId": "kibKbnContentManagementTableListPluginApi", + "section": "def-common.TableListViewKibanaDependencies", + "text": "TableListViewKibanaDependencies" + }, ">" ], "path": "packages/content-management/table_list/src/services.tsx", @@ -142,6 +154,144 @@ } ], "interfaces": [ + { + "parentPluginId": "@kbn/content-management-table-list", + "id": "def-common.TableListViewKibanaDependencies", + "type": "Interface", + "tags": [], + "label": "TableListViewKibanaDependencies", + "description": [ + "\nKibana-specific service types." + ], + "path": "packages/content-management/table_list/src/services.tsx", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/content-management-table-list", + "id": "def-common.TableListViewKibanaDependencies.core", + "type": "Object", + "tags": [], + "label": "core", + "description": [ + "CoreStart contract" + ], + "signature": [ + "{ application: { capabilities: { advancedSettings?: { save: boolean; } | undefined; }; getUrlForApp: (app: string, options: { path: string; }) => string; currentAppId$: ", + "Observable", + "; navigateToUrl: (url: string) => void | Promise; }; notifications: { toasts: { addDanger: (notifyArgs: { title: MountPoint; text?: string | undefined; }) => void; }; }; }" + ], + "path": "packages/content-management/table_list/src/services.tsx", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/content-management-table-list", + "id": "def-common.TableListViewKibanaDependencies.toMountPoint", + "type": "Function", + "tags": [], + "label": "toMountPoint", + "description": [ + "\nHandler from the '@kbn/kibana-react-plugin/public' Plugin\n\n```\nimport { toMountPoint } from '@kbn/kibana-react-plugin/public';\n```" + ], + "signature": [ + "(node: React.ReactNode, options?: { theme$: ", + "Observable", + "<{ readonly darkMode: boolean; }>; } | undefined) => MountPoint" + ], + "path": "packages/content-management/table_list/src/services.tsx", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/content-management-table-list", + "id": "def-common.TableListViewKibanaDependencies.toMountPoint.$1", + "type": "CompoundType", + "tags": [], + "label": "node", + "description": [], + "signature": [ + "React.ReactNode" + ], + "path": "packages/content-management/table_list/src/services.tsx", + "deprecated": false, + "trackAdoption": false, + "isRequired": false + }, + { + "parentPluginId": "@kbn/content-management-table-list", + "id": "def-common.TableListViewKibanaDependencies.toMountPoint.$2", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "path": "packages/content-management/table_list/src/services.tsx", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/content-management-table-list", + "id": "def-common.TableListViewKibanaDependencies.toMountPoint.$2.theme$", + "type": "Object", + "tags": [], + "label": "theme$", + "description": [], + "signature": [ + "Observable", + "<{ readonly darkMode: boolean; }>" + ], + "path": "packages/content-management/table_list/src/services.tsx", + "deprecated": false, + "trackAdoption": false + } + ] + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/content-management-table-list", + "id": "def-common.TableListViewKibanaDependencies.savedObjectsTagging", + "type": "Object", + "tags": [], + "label": "savedObjectsTagging", + "description": [ + "\nThe public API from the savedObjectsTaggingOss plugin.\nIt is returned by calling `getTaggingApi()` from the SavedObjectTaggingOssPluginStart\n\n```js\nconst savedObjectsTagging = savedObjectsTaggingOss?.getTaggingApi()\n```" + ], + "signature": [ + "{ ui: { components: { TagList: React.FC<{ object: { references: ", + "SavedObjectsReference", + "[]; }; onClick?: ((tag: { name: string; description: string; color: string; }) => void) | undefined; }>; }; parseSearchQuery: (query: string, options?: { useName?: boolean | undefined; tagField?: string | undefined; } | undefined) => { searchTerm: string; tagReferences: ", + "SavedObjectsFindOptionsReference", + "[]; valid: boolean; }; getSearchBarFilter: (options?: { useName?: boolean | undefined; tagField?: string | undefined; } | undefined) => ", + "SearchFilterConfig", + "; getTagIdsFromReferences: (references: ", + "SavedObjectsReference", + "[]) => string[]; }; } | undefined" + ], + "path": "packages/content-management/table_list/src/services.tsx", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/content-management-table-list", + "id": "def-common.TableListViewKibanaDependencies.FormattedRelative", + "type": "Object", + "tags": [], + "label": "FormattedRelative", + "description": [ + "The component from the @kbn/i18n-react package" + ], + "signature": [ + "typeof ReactIntl.FormattedRelative" + ], + "path": "packages/content-management/table_list/src/services.tsx", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false + }, { "parentPluginId": "@kbn/content-management-table-list", "id": "def-common.UserContentCommonSchema", diff --git a/api_docs/kbn_content_management_table_list.mdx b/api_docs/kbn_content_management_table_list.mdx index 0351af0c0dd2b..505b51ec263dc 100644 --- a/api_docs/kbn_content_management_table_list.mdx +++ b/api_docs/kbn_content_management_table_list.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-content-management-table-list title: "@kbn/content-management-table-list" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/content-management-table-list plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/content-management-table-list'] --- import kbnContentManagementTableListObj from './kbn_content_management_table_list.devdocs.json'; @@ -21,7 +21,7 @@ Contact [Owner missing] for questions regarding this plugin. | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 12 | 0 | 10 | 4 | +| 20 | 0 | 13 | 4 | ## Common diff --git a/api_docs/kbn_core_analytics_browser.devdocs.json b/api_docs/kbn_core_analytics_browser.devdocs.json index df9feddd3b17a..b0ced1c35a7de 100644 --- a/api_docs/kbn_core_analytics_browser.devdocs.json +++ b/api_docs/kbn_core_analytics_browser.devdocs.json @@ -33,21 +33,63 @@ ], "signature": [ "{ optIn: (optInConfig: ", - "OptInConfig", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.OptInConfig", + "text": "OptInConfig" + }, ") => void; reportEvent: (eventType: string, eventData: EventTypeData) => void; readonly telemetryCounter$: ", "Observable", "<", - "TelemetryCounter", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.TelemetryCounter", + "text": "TelemetryCounter" + }, ">; registerEventType: (eventTypeOps: ", - "EventTypeOpts", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.EventTypeOpts", + "text": "EventTypeOpts" + }, ") => void; registerShipper: (Shipper: ", - "ShipperClassConstructor", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.ShipperClassConstructor", + "text": "ShipperClassConstructor" + }, ", shipperConfig: ShipperConfig, opts?: ", - "RegisterShipperOpts", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.RegisterShipperOpts", + "text": "RegisterShipperOpts" + }, " | undefined) => void; registerContextProvider: (contextProviderOpts: ", - "ContextProviderOpts", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.ContextProviderOpts", + "text": "ContextProviderOpts" + }, ") => void; removeContextProvider: (contextProviderName: string) => void; }" ], "path": "packages/core/analytics/core-analytics-browser/src/types.ts", @@ -66,11 +108,23 @@ ], "signature": [ "{ optIn: (optInConfig: ", - "OptInConfig", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.OptInConfig", + "text": "OptInConfig" + }, ") => void; reportEvent: (eventType: string, eventData: EventTypeData) => void; readonly telemetryCounter$: ", "Observable", "<", - "TelemetryCounter", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.TelemetryCounter", + "text": "TelemetryCounter" + }, ">; }" ], "path": "packages/core/analytics/core-analytics-browser/src/types.ts", diff --git a/api_docs/kbn_core_analytics_browser.mdx b/api_docs/kbn_core_analytics_browser.mdx index 1a542210be71b..3256e0903d580 100644 --- a/api_docs/kbn_core_analytics_browser.mdx +++ b/api_docs/kbn_core_analytics_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-browser title: "@kbn/core-analytics-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-analytics-browser plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-analytics-browser'] --- import kbnCoreAnalyticsBrowserObj from './kbn_core_analytics_browser.devdocs.json'; diff --git a/api_docs/kbn_core_analytics_browser_internal.devdocs.json b/api_docs/kbn_core_analytics_browser_internal.devdocs.json index 13176eda7ae3f..7852bf8e4b033 100644 --- a/api_docs/kbn_core_analytics_browser_internal.devdocs.json +++ b/api_docs/kbn_core_analytics_browser_internal.devdocs.json @@ -72,7 +72,13 @@ "({ injectedMetadata }: ", "AnalyticsServiceSetupDeps", ") => ", - "AnalyticsServiceSetup" + { + "pluginId": "@kbn/core-analytics-browser", + "scope": "common", + "docId": "kibKbnCoreAnalyticsBrowserPluginApi", + "section": "def-common.AnalyticsServiceSetup", + "text": "AnalyticsServiceSetup" + } ], "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts", "deprecated": false, @@ -105,7 +111,13 @@ "description": [], "signature": [ "() => ", - "AnalyticsServiceStart" + { + "pluginId": "@kbn/core-analytics-browser", + "scope": "common", + "docId": "kibKbnCoreAnalyticsBrowserPluginApi", + "section": "def-common.AnalyticsServiceStart", + "text": "AnalyticsServiceStart" + } ], "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts", "deprecated": false, diff --git a/api_docs/kbn_core_analytics_browser_internal.mdx b/api_docs/kbn_core_analytics_browser_internal.mdx index 76dac4ab40b25..bdd6d9162c5a1 100644 --- a/api_docs/kbn_core_analytics_browser_internal.mdx +++ b/api_docs/kbn_core_analytics_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-browser-internal title: "@kbn/core-analytics-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-analytics-browser-internal plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-analytics-browser-internal'] --- import kbnCoreAnalyticsBrowserInternalObj from './kbn_core_analytics_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_analytics_browser_mocks.devdocs.json b/api_docs/kbn_core_analytics_browser_mocks.devdocs.json index edc408199dbc2..0b945559a93af 100644 --- a/api_docs/kbn_core_analytics_browser_mocks.devdocs.json +++ b/api_docs/kbn_core_analytics_browser_mocks.devdocs.json @@ -59,7 +59,13 @@ "description": [], "signature": [ "() => jest.Mocked<", - "AnalyticsServiceSetup", + { + "pluginId": "@kbn/core-analytics-browser", + "scope": "common", + "docId": "kibKbnCoreAnalyticsBrowserPluginApi", + "section": "def-common.AnalyticsServiceSetup", + "text": "AnalyticsServiceSetup" + }, ">" ], "path": "packages/core/analytics/core-analytics-browser-mocks/src/analytics_service.mock.ts", @@ -77,7 +83,13 @@ "description": [], "signature": [ "() => jest.Mocked<", - "AnalyticsServiceStart", + { + "pluginId": "@kbn/core-analytics-browser", + "scope": "common", + "docId": "kibKbnCoreAnalyticsBrowserPluginApi", + "section": "def-common.AnalyticsServiceStart", + "text": "AnalyticsServiceStart" + }, ">" ], "path": "packages/core/analytics/core-analytics-browser-mocks/src/analytics_service.mock.ts", diff --git a/api_docs/kbn_core_analytics_browser_mocks.mdx b/api_docs/kbn_core_analytics_browser_mocks.mdx index 9a4f9f07cc6ee..606eb0f8a1cf7 100644 --- a/api_docs/kbn_core_analytics_browser_mocks.mdx +++ b/api_docs/kbn_core_analytics_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-browser-mocks title: "@kbn/core-analytics-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-analytics-browser-mocks plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-analytics-browser-mocks'] --- import kbnCoreAnalyticsBrowserMocksObj from './kbn_core_analytics_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_analytics_server.devdocs.json b/api_docs/kbn_core_analytics_server.devdocs.json index a675d4ad90684..f254ded72092f 100644 --- a/api_docs/kbn_core_analytics_server.devdocs.json +++ b/api_docs/kbn_core_analytics_server.devdocs.json @@ -25,21 +25,63 @@ ], "signature": [ "{ optIn: (optInConfig: ", - "OptInConfig", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.OptInConfig", + "text": "OptInConfig" + }, ") => void; reportEvent: (eventType: string, eventData: EventTypeData) => void; readonly telemetryCounter$: ", "Observable", "<", - "TelemetryCounter", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.TelemetryCounter", + "text": "TelemetryCounter" + }, ">; registerEventType: (eventTypeOps: ", - "EventTypeOpts", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.EventTypeOpts", + "text": "EventTypeOpts" + }, ") => void; registerShipper: (Shipper: ", - "ShipperClassConstructor", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.ShipperClassConstructor", + "text": "ShipperClassConstructor" + }, ", shipperConfig: ShipperConfig, opts?: ", - "RegisterShipperOpts", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.RegisterShipperOpts", + "text": "RegisterShipperOpts" + }, " | undefined) => void; registerContextProvider: (contextProviderOpts: ", - "ContextProviderOpts", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.ContextProviderOpts", + "text": "ContextProviderOpts" + }, ") => void; removeContextProvider: (contextProviderName: string) => void; }" ], "path": "packages/core/analytics/core-analytics-server/src/contracts.ts", @@ -58,21 +100,63 @@ ], "signature": [ "{ optIn: (optInConfig: ", - "OptInConfig", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.OptInConfig", + "text": "OptInConfig" + }, ") => void; reportEvent: (eventType: string, eventData: EventTypeData) => void; readonly telemetryCounter$: ", "Observable", "<", - "TelemetryCounter", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.TelemetryCounter", + "text": "TelemetryCounter" + }, ">; registerEventType: (eventTypeOps: ", - "EventTypeOpts", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.EventTypeOpts", + "text": "EventTypeOpts" + }, ") => void; registerShipper: (Shipper: ", - "ShipperClassConstructor", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.ShipperClassConstructor", + "text": "ShipperClassConstructor" + }, ", shipperConfig: ShipperConfig, opts?: ", - "RegisterShipperOpts", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.RegisterShipperOpts", + "text": "RegisterShipperOpts" + }, " | undefined) => void; registerContextProvider: (contextProviderOpts: ", - "ContextProviderOpts", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.ContextProviderOpts", + "text": "ContextProviderOpts" + }, ") => void; removeContextProvider: (contextProviderName: string) => void; }" ], "path": "packages/core/analytics/core-analytics-server/src/contracts.ts", @@ -91,11 +175,23 @@ ], "signature": [ "{ optIn: (optInConfig: ", - "OptInConfig", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.OptInConfig", + "text": "OptInConfig" + }, ") => void; reportEvent: (eventType: string, eventData: EventTypeData) => void; readonly telemetryCounter$: ", "Observable", "<", - "TelemetryCounter", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.TelemetryCounter", + "text": "TelemetryCounter" + }, ">; }" ], "path": "packages/core/analytics/core-analytics-server/src/contracts.ts", diff --git a/api_docs/kbn_core_analytics_server.mdx b/api_docs/kbn_core_analytics_server.mdx index f98c375f09c9f..ed25640ecde42 100644 --- a/api_docs/kbn_core_analytics_server.mdx +++ b/api_docs/kbn_core_analytics_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-server title: "@kbn/core-analytics-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-analytics-server plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-analytics-server'] --- import kbnCoreAnalyticsServerObj from './kbn_core_analytics_server.devdocs.json'; diff --git a/api_docs/kbn_core_analytics_server_internal.devdocs.json b/api_docs/kbn_core_analytics_server_internal.devdocs.json index 5f04684c1b169..01e3743f2f806 100644 --- a/api_docs/kbn_core_analytics_server_internal.devdocs.json +++ b/api_docs/kbn_core_analytics_server_internal.devdocs.json @@ -62,7 +62,13 @@ "description": [], "signature": [ "() => ", - "AnalyticsServicePreboot" + { + "pluginId": "@kbn/core-analytics-server", + "scope": "server", + "docId": "kibKbnCoreAnalyticsServerPluginApi", + "section": "def-server.AnalyticsServicePreboot", + "text": "AnalyticsServicePreboot" + } ], "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts", "deprecated": false, @@ -79,7 +85,13 @@ "description": [], "signature": [ "() => ", - "AnalyticsServiceSetup" + { + "pluginId": "@kbn/core-analytics-server", + "scope": "server", + "docId": "kibKbnCoreAnalyticsServerPluginApi", + "section": "def-server.AnalyticsServiceSetup", + "text": "AnalyticsServiceSetup" + } ], "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts", "deprecated": false, @@ -96,7 +108,13 @@ "description": [], "signature": [ "() => ", - "AnalyticsServiceStart" + { + "pluginId": "@kbn/core-analytics-server", + "scope": "server", + "docId": "kibKbnCoreAnalyticsServerPluginApi", + "section": "def-server.AnalyticsServiceStart", + "text": "AnalyticsServiceStart" + } ], "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts", "deprecated": false, diff --git a/api_docs/kbn_core_analytics_server_internal.mdx b/api_docs/kbn_core_analytics_server_internal.mdx index 84675aaccc95d..053b69d5611b1 100644 --- a/api_docs/kbn_core_analytics_server_internal.mdx +++ b/api_docs/kbn_core_analytics_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-server-internal title: "@kbn/core-analytics-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-analytics-server-internal plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-analytics-server-internal'] --- import kbnCoreAnalyticsServerInternalObj from './kbn_core_analytics_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_analytics_server_mocks.devdocs.json b/api_docs/kbn_core_analytics_server_mocks.devdocs.json index beb0ce1c497dd..3b88c66575047 100644 --- a/api_docs/kbn_core_analytics_server_mocks.devdocs.json +++ b/api_docs/kbn_core_analytics_server_mocks.devdocs.json @@ -51,7 +51,13 @@ "description": [], "signature": [ "() => jest.Mocked<", - "AnalyticsServicePreboot", + { + "pluginId": "@kbn/core-analytics-server", + "scope": "server", + "docId": "kibKbnCoreAnalyticsServerPluginApi", + "section": "def-server.AnalyticsServicePreboot", + "text": "AnalyticsServicePreboot" + }, ">" ], "path": "packages/core/analytics/core-analytics-server-mocks/src/analytics_service.mock.ts", @@ -69,7 +75,13 @@ "description": [], "signature": [ "() => jest.Mocked<", - "AnalyticsServiceSetup", + { + "pluginId": "@kbn/core-analytics-server", + "scope": "server", + "docId": "kibKbnCoreAnalyticsServerPluginApi", + "section": "def-server.AnalyticsServiceSetup", + "text": "AnalyticsServiceSetup" + }, ">" ], "path": "packages/core/analytics/core-analytics-server-mocks/src/analytics_service.mock.ts", @@ -87,7 +99,13 @@ "description": [], "signature": [ "() => jest.Mocked<", - "AnalyticsServiceStart", + { + "pluginId": "@kbn/core-analytics-server", + "scope": "server", + "docId": "kibKbnCoreAnalyticsServerPluginApi", + "section": "def-server.AnalyticsServiceStart", + "text": "AnalyticsServiceStart" + }, ">" ], "path": "packages/core/analytics/core-analytics-server-mocks/src/analytics_service.mock.ts", diff --git a/api_docs/kbn_core_analytics_server_mocks.mdx b/api_docs/kbn_core_analytics_server_mocks.mdx index 6408c343be39d..d16b07a27e336 100644 --- a/api_docs/kbn_core_analytics_server_mocks.mdx +++ b/api_docs/kbn_core_analytics_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-server-mocks title: "@kbn/core-analytics-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-analytics-server-mocks plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-analytics-server-mocks'] --- import kbnCoreAnalyticsServerMocksObj from './kbn_core_analytics_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_application_browser.devdocs.json b/api_docs/kbn_core_application_browser.devdocs.json index afc8071835d8f..e837ffdee30dd 100644 --- a/api_docs/kbn_core_application_browser.devdocs.json +++ b/api_docs/kbn_core_application_browser.devdocs.json @@ -84,7 +84,13 @@ "\nThe category definition of the product\nSee {@link AppCategory}\nSee DEFAULT_APP_CATEGORIES for more reference" ], "signature": [ - "AppCategory", + { + "pluginId": "@kbn/core-application-common", + "scope": "common", + "docId": "kibKbnCoreApplicationCommonPluginApi", + "section": "def-common.AppCategory", + "text": "AppCategory" + }, " | undefined" ], "path": "packages/core/application/core-application-browser/src/application.ts", @@ -205,7 +211,13 @@ ], "signature": [ "Partial<", - "Capabilities", + { + "pluginId": "@kbn/core-capabilities-common", + "scope": "common", + "docId": "kibKbnCoreCapabilitiesCommonPluginApi", + "section": "def-common.Capabilities", + "text": "Capabilities" + }, "> | undefined" ], "path": "packages/core/application/core-application-browser/src/application.ts", @@ -1153,7 +1165,36 @@ "deprecated": true, "removeBy": "8.8.0", "trackAdoption": false, - "references": [] + "references": [ + { + "plugin": "@kbn/core-application-browser-internal", + "path": "packages/core/application/core-application-browser-internal/src/ui/app_container.tsx" + }, + { + "plugin": "@kbn/core-application-browser-mocks", + "path": "packages/core/application/core-application-browser-mocks/src/application_service.mock.ts" + }, + { + "plugin": "management", + "path": "src/plugins/management/public/application.tsx" + }, + { + "plugin": "fleet", + "path": "x-pack/plugins/fleet/public/applications/integrations/index.tsx" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/public/authentication/logout/logout_app.test.ts" + }, + { + "plugin": "kibanaOverview", + "path": "src/plugins/kibana_overview/public/application.tsx" + }, + { + "plugin": "core", + "path": "src/core/public/mocks.ts" + } + ] }, { "parentPluginId": "@kbn/core-application-browser", @@ -1181,7 +1222,84 @@ "deprecated": true, "removeBy": "8.8.0", "trackAdoption": false, - "references": [], + "references": [ + { + "plugin": "@kbn/core-application-browser-internal", + "path": "packages/core/application/core-application-browser-internal/src/ui/app_container.tsx" + }, + { + "plugin": "@kbn/core-application-browser-mocks", + "path": "packages/core/application/core-application-browser-mocks/src/application_service.mock.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/visualize_app/components/visualize_top_nav.tsx" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/visualize_app/components/visualize_editor_common.tsx" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/visualize_app/app.tsx" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/visualize_app/index.tsx" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/types.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/plugin.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/app_plugin/types.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/app_plugin/types.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/app_plugin/mounter.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/render_app.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/routes/map_page/map_page.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/app.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/app/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/plugin.tsx" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/public/authentication/logout/logout_app.test.ts" + }, + { + "plugin": "core", + "path": "src/core/public/mocks.ts" + } + ], "children": [ { "parentPluginId": "@kbn/core-application-browser", @@ -1218,7 +1336,13 @@ ], "signature": [ "(menuMount: ", - "MountPoint", + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.MountPoint", + "text": "MountPoint" + }, " | undefined) => void" ], "path": "packages/core/application/core-application-browser/src/app_mount.ts", @@ -1233,7 +1357,13 @@ "label": "menuMount", "description": [], "signature": [ - "MountPoint", + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.MountPoint", + "text": "MountPoint" + }, " | undefined" ], "path": "packages/core/application/core-application-browser/src/app_mount.ts", @@ -1256,7 +1386,13 @@ "signature": [ "Observable", "<", - "CoreTheme", + { + "pluginId": "@kbn/core-theme-browser", + "scope": "common", + "docId": "kibKbnCoreThemeBrowserPluginApi", + "section": "def-common.CoreTheme", + "text": "CoreTheme" + }, ">" ], "path": "packages/core/application/core-application-browser/src/app_mount.ts", @@ -1817,7 +1953,92 @@ "deprecated": true, "removeBy": "8.8.0", "trackAdoption": false, - "references": [], + "references": [ + { + "plugin": "@kbn/core-application-browser-internal", + "path": "packages/core/application/core-application-browser-internal/src/ui/app_container.tsx" + }, + { + "plugin": "@kbn/core-application-browser-internal", + "path": "packages/core/application/core-application-browser-internal/src/ui/app_container.tsx" + }, + { + "plugin": "@kbn/core-application-browser-internal", + "path": "packages/core/application/core-application-browser-internal/src/ui/app_router.tsx" + }, + { + "plugin": "@kbn/core-application-browser-internal", + "path": "packages/core/application/core-application-browser-internal/src/ui/app_router.tsx" + }, + { + "plugin": "@kbn/core-application-browser-internal", + "path": "packages/core/application/core-application-browser-internal/src/application_leave.tsx" + }, + { + "plugin": "@kbn/core-application-browser-internal", + "path": "packages/core/application/core-application-browser-internal/src/application_leave.tsx" + }, + { + "plugin": "@kbn/core-application-browser-internal", + "path": "packages/core/application/core-application-browser-internal/src/application_service.tsx" + }, + { + "plugin": "@kbn/core-application-browser-internal", + "path": "packages/core/application/core-application-browser-internal/src/application_service.tsx" + }, + { + "plugin": "@kbn/core-application-browser-internal", + "path": "packages/core/application/core-application-browser-internal/src/application_service.tsx" + }, + { + "plugin": "core", + "path": "src/core/public/index.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/components/flyout/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/components/flyout/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/app/routes.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/app/routes.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/app/app.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/app/app.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/app/app.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/hooks/timeline/use_timeline_save_prompt.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/hooks/timeline/use_timeline_save_prompt.ts" + } + ], "returnComment": [], "children": [ { diff --git a/api_docs/kbn_core_application_browser.mdx b/api_docs/kbn_core_application_browser.mdx index df6d52c8d761b..6ad99d6f952ea 100644 --- a/api_docs/kbn_core_application_browser.mdx +++ b/api_docs/kbn_core_application_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-application-browser title: "@kbn/core-application-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-application-browser plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-application-browser'] --- import kbnCoreApplicationBrowserObj from './kbn_core_application_browser.devdocs.json'; diff --git a/api_docs/kbn_core_application_browser_internal.devdocs.json b/api_docs/kbn_core_application_browser_internal.devdocs.json index afa55347fdb2d..ff0417c778b24 100644 --- a/api_docs/kbn_core_application_browser_internal.devdocs.json +++ b/api_docs/kbn_core_application_browser_internal.devdocs.json @@ -76,9 +76,21 @@ "description": [], "signature": [ "(app: ", - "App", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.App", + "text": "App" + }, ") => ", - "PublicAppInfo" + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.PublicAppInfo", + "text": "PublicAppInfo" + } ], "path": "packages/core/application/core-application-browser-internal/src/utils/get_app_info.ts", "deprecated": false, @@ -92,7 +104,13 @@ "label": "app", "description": [], "signature": [ - "App", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.App", + "text": "App" + }, "" ], "path": "packages/core/application/core-application-browser-internal/src/utils/get_app_info.ts", @@ -115,9 +133,21 @@ ], "signature": [ "(url: string, basePath: ", - "IBasePath", + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.IBasePath", + "text": "IBasePath" + }, ", apps: Map>, currentUrl?: string) => ", "ParsedAppUrl", " | undefined" @@ -149,7 +179,13 @@ "label": "basePath", "description": [], "signature": [ - "IBasePath" + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.IBasePath", + "text": "IBasePath" + } ], "path": "packages/core/application/core-application-browser-internal/src/utils/parse_app_url.ts", "deprecated": false, @@ -165,7 +201,13 @@ "description": [], "signature": [ "Map>" ], "path": "packages/core/application/core-application-browser-internal/src/utils/parse_app_url.ts", diff --git a/api_docs/kbn_core_application_browser_internal.mdx b/api_docs/kbn_core_application_browser_internal.mdx index 4967e067b15d7..09439ceeea8b6 100644 --- a/api_docs/kbn_core_application_browser_internal.mdx +++ b/api_docs/kbn_core_application_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-application-browser-internal title: "@kbn/core-application-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-application-browser-internal plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-application-browser-internal'] --- import kbnCoreApplicationBrowserInternalObj from './kbn_core_application_browser_internal.devdocs.json'; @@ -21,7 +21,7 @@ Contact Kibana Core for questions regarding this plugin. | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 18 | 0 | 15 | 1 | +| 18 | 0 | 15 | 3 | ## Common diff --git a/api_docs/kbn_core_application_browser_mocks.devdocs.json b/api_docs/kbn_core_application_browser_mocks.devdocs.json index 179ed3831178b..986386f0a924e 100644 --- a/api_docs/kbn_core_application_browser_mocks.devdocs.json +++ b/api_docs/kbn_core_application_browser_mocks.devdocs.json @@ -31,7 +31,13 @@ "description": [], "signature": [ "{ createSubHistory: jest.MockInstance<", - "ScopedHistory", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.ScopedHistory", + "text": "ScopedHistory" + }, ", [basePath: string]>; createHref: jest.MockInstance, options?: { prependBasePath?: boolean | undefined; } | undefined]>; length: number; action: ", @@ -51,7 +57,13 @@ ", [listener: ", "LocationListener", "]>; } & ", - "ScopedHistory", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.ScopedHistory", + "text": "ScopedHistory" + }, "" ], "path": "packages/core/application/core-application-browser-mocks/src/scoped_history.mock.ts", @@ -97,7 +109,13 @@ "description": [], "signature": [ "() => jest.Mocked<", - "ApplicationSetup", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.ApplicationSetup", + "text": "ApplicationSetup" + }, ">" ], "path": "packages/core/application/core-application-browser-mocks/src/application_service.mock.ts", @@ -115,7 +133,13 @@ "description": [], "signature": [ "() => jest.Mocked<", - "ApplicationStart", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.ApplicationStart", + "text": "ApplicationStart" + }, ">" ], "path": "packages/core/application/core-application-browser-mocks/src/application_service.mock.ts", @@ -169,9 +193,21 @@ "description": [], "signature": [ "(parts?: Partial<", - "AppMountParameters", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.AppMountParameters", + "text": "AppMountParameters" + }, ">) => ", - "AppMountParameters", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.AppMountParameters", + "text": "AppMountParameters" + }, "" ], "path": "packages/core/application/core-application-browser-mocks/src/application_service.mock.ts", @@ -188,15 +224,39 @@ "description": [], "signature": [ "{ element?: HTMLElement | undefined; history?: ", - "ScopedHistory", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.ScopedHistory", + "text": "ScopedHistory" + }, " | undefined; appBasePath?: string | undefined; onAppLeave?: ((handler: ", - "AppLeaveHandler", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.AppLeaveHandler", + "text": "AppLeaveHandler" + }, ") => void) | undefined; setHeaderActionMenu?: ((menuMount: ", - "MountPoint", + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.MountPoint", + "text": "MountPoint" + }, " | undefined) => void) | undefined; theme$?: ", "Observable", "<", - "CoreTheme", + { + "pluginId": "@kbn/core-theme-browser", + "scope": "common", + "docId": "kibKbnCoreThemeBrowserPluginApi", + "section": "def-common.CoreTheme", + "text": "CoreTheme" + }, "> | undefined; }" ], "path": "packages/core/application/core-application-browser-mocks/src/application_service.mock.ts", diff --git a/api_docs/kbn_core_application_browser_mocks.mdx b/api_docs/kbn_core_application_browser_mocks.mdx index c3a7189bb05bb..18ae3c13bec68 100644 --- a/api_docs/kbn_core_application_browser_mocks.mdx +++ b/api_docs/kbn_core_application_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-application-browser-mocks title: "@kbn/core-application-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-application-browser-mocks plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-application-browser-mocks'] --- import kbnCoreApplicationBrowserMocksObj from './kbn_core_application_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_application_common.mdx b/api_docs/kbn_core_application_common.mdx index d7ab7dd6f938a..1604f07a06db8 100644 --- a/api_docs/kbn_core_application_common.mdx +++ b/api_docs/kbn_core_application_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-application-common title: "@kbn/core-application-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-application-common plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-application-common'] --- import kbnCoreApplicationCommonObj from './kbn_core_application_common.devdocs.json'; diff --git a/api_docs/kbn_core_apps_browser_internal.devdocs.json b/api_docs/kbn_core_apps_browser_internal.devdocs.json index 5cea64788f899..d8938c10403b5 100644 --- a/api_docs/kbn_core_apps_browser_internal.devdocs.json +++ b/api_docs/kbn_core_apps_browser_internal.devdocs.json @@ -208,7 +208,13 @@ "label": "http", "description": [], "signature": [ - "HttpSetup" + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpSetup", + "text": "HttpSetup" + } ], "path": "packages/core/apps/core-apps-browser-internal/src/core_app.ts", "deprecated": false, @@ -236,7 +242,13 @@ "label": "notifications", "description": [], "signature": [ - "NotificationsSetup" + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.NotificationsSetup", + "text": "NotificationsSetup" + } ], "path": "packages/core/apps/core-apps-browser-internal/src/core_app.ts", "deprecated": false, @@ -278,7 +290,13 @@ "label": "docLinks", "description": [], "signature": [ - "DocLinksStart" + { + "pluginId": "@kbn/core-doc-links-browser", + "scope": "common", + "docId": "kibKbnCoreDocLinksBrowserPluginApi", + "section": "def-common.DocLinksStart", + "text": "DocLinksStart" + } ], "path": "packages/core/apps/core-apps-browser-internal/src/core_app.ts", "deprecated": false, @@ -292,7 +310,13 @@ "label": "http", "description": [], "signature": [ - "HttpSetup" + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpSetup", + "text": "HttpSetup" + } ], "path": "packages/core/apps/core-apps-browser-internal/src/core_app.ts", "deprecated": false, @@ -306,7 +330,13 @@ "label": "notifications", "description": [], "signature": [ - "NotificationsStart" + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.NotificationsStart", + "text": "NotificationsStart" + } ], "path": "packages/core/apps/core-apps-browser-internal/src/core_app.ts", "deprecated": false, @@ -320,7 +350,13 @@ "label": "uiSettings", "description": [], "signature": [ - "IUiSettingsClient" + { + "pluginId": "@kbn/core-ui-settings-browser", + "scope": "common", + "docId": "kibKbnCoreUiSettingsBrowserPluginApi", + "section": "def-common.IUiSettingsClient", + "text": "IUiSettingsClient" + } ], "path": "packages/core/apps/core-apps-browser-internal/src/core_app.ts", "deprecated": false, diff --git a/api_docs/kbn_core_apps_browser_internal.mdx b/api_docs/kbn_core_apps_browser_internal.mdx index 77ad356faefc7..dc391dc0ad21a 100644 --- a/api_docs/kbn_core_apps_browser_internal.mdx +++ b/api_docs/kbn_core_apps_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-apps-browser-internal title: "@kbn/core-apps-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-apps-browser-internal plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-apps-browser-internal'] --- import kbnCoreAppsBrowserInternalObj from './kbn_core_apps_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_apps_browser_mocks.mdx b/api_docs/kbn_core_apps_browser_mocks.mdx index 4bcc6d4a94dfc..10e5163227453 100644 --- a/api_docs/kbn_core_apps_browser_mocks.mdx +++ b/api_docs/kbn_core_apps_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-apps-browser-mocks title: "@kbn/core-apps-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-apps-browser-mocks plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-apps-browser-mocks'] --- import kbnCoreAppsBrowserMocksObj from './kbn_core_apps_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_base_browser_mocks.mdx b/api_docs/kbn_core_base_browser_mocks.mdx index 2d811ccdb10d9..baa190cd43ab2 100644 --- a/api_docs/kbn_core_base_browser_mocks.mdx +++ b/api_docs/kbn_core_base_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-base-browser-mocks title: "@kbn/core-base-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-base-browser-mocks plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-base-browser-mocks'] --- import kbnCoreBaseBrowserMocksObj from './kbn_core_base_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_base_common.mdx b/api_docs/kbn_core_base_common.mdx index 0332574e2ea08..52c623a6003fb 100644 --- a/api_docs/kbn_core_base_common.mdx +++ b/api_docs/kbn_core_base_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-base-common title: "@kbn/core-base-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-base-common plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-base-common'] --- import kbnCoreBaseCommonObj from './kbn_core_base_common.devdocs.json'; diff --git a/api_docs/kbn_core_base_server_internal.mdx b/api_docs/kbn_core_base_server_internal.mdx index 1d51cad3400b7..8f9d8b3760a92 100644 --- a/api_docs/kbn_core_base_server_internal.mdx +++ b/api_docs/kbn_core_base_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-base-server-internal title: "@kbn/core-base-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-base-server-internal plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-base-server-internal'] --- import kbnCoreBaseServerInternalObj from './kbn_core_base_server_internal.devdocs.json'; @@ -21,7 +21,7 @@ Contact Kibana Core for questions regarding this plugin. | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 7 | 0 | 7 | 0 | +| 7 | 0 | 7 | 2 | ## Server diff --git a/api_docs/kbn_core_base_server_mocks.devdocs.json b/api_docs/kbn_core_base_server_mocks.devdocs.json index 5b94ef7a6f470..49538fe9953d9 100644 --- a/api_docs/kbn_core_base_server_mocks.devdocs.json +++ b/api_docs/kbn_core_base_server_mocks.devdocs.json @@ -35,13 +35,31 @@ "description": [], "signature": [ "({ env, logger, configService, }?: { env?: ", - "Env", + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.Env", + "text": "Env" + }, " | undefined; logger?: jest.Mocked<", - "LoggerFactory", + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.LoggerFactory", + "text": "LoggerFactory" + }, "> | undefined; configService?: jest.Mocked<", "IConfigService", "> | undefined; }) => ", - "DeeplyMockedKeys", + { + "pluginId": "@kbn/utility-types-jest", + "scope": "server", + "docId": "kibKbnUtilityTypesJestPluginApi", + "section": "def-server.DeeplyMockedKeys", + "text": "DeeplyMockedKeys" + }, "<", "CoreContext", ">" @@ -60,9 +78,21 @@ "description": [], "signature": [ "{ env?: ", - "Env", + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.Env", + "text": "Env" + }, " | undefined; logger?: jest.Mocked<", - "LoggerFactory", + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.LoggerFactory", + "text": "LoggerFactory" + }, "> | undefined; configService?: jest.Mocked<", "IConfigService", "> | undefined; }" diff --git a/api_docs/kbn_core_base_server_mocks.mdx b/api_docs/kbn_core_base_server_mocks.mdx index c164495cda3f7..28e0a50ae3f87 100644 --- a/api_docs/kbn_core_base_server_mocks.mdx +++ b/api_docs/kbn_core_base_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-base-server-mocks title: "@kbn/core-base-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-base-server-mocks plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-base-server-mocks'] --- import kbnCoreBaseServerMocksObj from './kbn_core_base_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_capabilities_browser_mocks.devdocs.json b/api_docs/kbn_core_capabilities_browser_mocks.devdocs.json index f5d505c8100d2..8deb9635d33e0 100644 --- a/api_docs/kbn_core_capabilities_browser_mocks.devdocs.json +++ b/api_docs/kbn_core_capabilities_browser_mocks.devdocs.json @@ -43,7 +43,13 @@ "description": [], "signature": [ "() => jest.Mocked<", - "PublicMethodsOf", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.PublicMethodsOf", + "text": "PublicMethodsOf" + }, "<", "CapabilitiesService", ">>" diff --git a/api_docs/kbn_core_capabilities_browser_mocks.mdx b/api_docs/kbn_core_capabilities_browser_mocks.mdx index 9f0d4dafa5ad5..c6bb1ea9dd3dd 100644 --- a/api_docs/kbn_core_capabilities_browser_mocks.mdx +++ b/api_docs/kbn_core_capabilities_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-capabilities-browser-mocks title: "@kbn/core-capabilities-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-capabilities-browser-mocks plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-capabilities-browser-mocks'] --- import kbnCoreCapabilitiesBrowserMocksObj from './kbn_core_capabilities_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_capabilities_common.mdx b/api_docs/kbn_core_capabilities_common.mdx index e8c602473cdfd..1fc889ba908df 100644 --- a/api_docs/kbn_core_capabilities_common.mdx +++ b/api_docs/kbn_core_capabilities_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-capabilities-common title: "@kbn/core-capabilities-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-capabilities-common plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-capabilities-common'] --- import kbnCoreCapabilitiesCommonObj from './kbn_core_capabilities_common.devdocs.json'; diff --git a/api_docs/kbn_core_capabilities_server.devdocs.json b/api_docs/kbn_core_capabilities_server.devdocs.json index 7847b60af1bcf..cd7bd72d9c4bd 100644 --- a/api_docs/kbn_core_capabilities_server.devdocs.json +++ b/api_docs/kbn_core_capabilities_server.devdocs.json @@ -148,7 +148,13 @@ ], "signature": [ "(request: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ", options?: ", { "pluginId": "@kbn/core-capabilities-server", @@ -158,7 +164,13 @@ "text": "ResolveCapabilitiesOptions" }, " | undefined) => Promise<", - "Capabilities", + { + "pluginId": "@kbn/core-capabilities-common", + "scope": "common", + "docId": "kibKbnCoreCapabilitiesCommonPluginApi", + "section": "def-common.Capabilities", + "text": "Capabilities" + }, ">" ], "path": "packages/core/capabilities/core-capabilities-server/src/contracts.ts", @@ -173,7 +185,13 @@ "label": "request", "description": [], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "" ], "path": "packages/core/capabilities/core-capabilities-server/src/contracts.ts", @@ -252,7 +270,13 @@ ], "signature": [ "() => Partial<", - "Capabilities", + { + "pluginId": "@kbn/core-capabilities-common", + "scope": "common", + "docId": "kibKbnCoreCapabilitiesCommonPluginApi", + "section": "def-common.Capabilities", + "text": "Capabilities" + }, ">" ], "path": "packages/core/capabilities/core-capabilities-server/src/capabilities.ts", @@ -273,13 +297,37 @@ ], "signature": [ "(request: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ", uiCapabilities: ", - "Capabilities", + { + "pluginId": "@kbn/core-capabilities-common", + "scope": "common", + "docId": "kibKbnCoreCapabilitiesCommonPluginApi", + "section": "def-common.Capabilities", + "text": "Capabilities" + }, ", useDefaultCapabilities: boolean) => ", - "MaybePromise", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.MaybePromise", + "text": "MaybePromise" + }, ">" ], "path": "packages/core/capabilities/core-capabilities-server/src/capabilities.ts", @@ -295,7 +343,13 @@ "label": "request", "description": [], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "" ], "path": "packages/core/capabilities/core-capabilities-server/src/capabilities.ts", @@ -310,7 +364,13 @@ "label": "uiCapabilities", "description": [], "signature": [ - "Capabilities" + { + "pluginId": "@kbn/core-capabilities-common", + "scope": "common", + "docId": "kibKbnCoreCapabilitiesCommonPluginApi", + "section": "def-common.Capabilities", + "text": "Capabilities" + } ], "path": "packages/core/capabilities/core-capabilities-server/src/capabilities.ts", "deprecated": false, diff --git a/api_docs/kbn_core_capabilities_server.mdx b/api_docs/kbn_core_capabilities_server.mdx index 24a327be717b0..7356cfbadc273 100644 --- a/api_docs/kbn_core_capabilities_server.mdx +++ b/api_docs/kbn_core_capabilities_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-capabilities-server title: "@kbn/core-capabilities-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-capabilities-server plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-capabilities-server'] --- import kbnCoreCapabilitiesServerObj from './kbn_core_capabilities_server.devdocs.json'; diff --git a/api_docs/kbn_core_capabilities_server_mocks.devdocs.json b/api_docs/kbn_core_capabilities_server_mocks.devdocs.json index 63e7462ee78f0..c4cb6a1ee8a16 100644 --- a/api_docs/kbn_core_capabilities_server_mocks.devdocs.json +++ b/api_docs/kbn_core_capabilities_server_mocks.devdocs.json @@ -22,15 +22,23 @@ "label": "CapabilitiesServiceContract", "description": [], "signature": [ - "{ setup: (setupDeps: ", - "SetupDeps", - ") => ", - "CapabilitiesSetup", + "{ setup: (setupDeps: SetupDeps) => ", + { + "pluginId": "@kbn/core-capabilities-server", + "scope": "server", + "docId": "kibKbnCoreCapabilitiesServerPluginApi", + "section": "def-server.CapabilitiesSetup", + "text": "CapabilitiesSetup" + }, "; start: () => ", - "CapabilitiesStart", - "; preboot: (prebootDeps: ", - "PrebootSetupDeps", - ") => void; }" + { + "pluginId": "@kbn/core-capabilities-server", + "scope": "server", + "docId": "kibKbnCoreCapabilitiesServerPluginApi", + "section": "def-server.CapabilitiesStart", + "text": "CapabilitiesStart" + }, + "; preboot: (prebootDeps: PrebootSetupDeps) => void; }" ], "path": "packages/core/capabilities/core-capabilities-server-mocks/src/capabilities_service.mock.ts", "deprecated": false, @@ -83,7 +91,13 @@ "description": [], "signature": [ "() => jest.Mocked<", - "CapabilitiesSetup", + { + "pluginId": "@kbn/core-capabilities-server", + "scope": "server", + "docId": "kibKbnCoreCapabilitiesServerPluginApi", + "section": "def-server.CapabilitiesSetup", + "text": "CapabilitiesSetup" + }, ">" ], "path": "packages/core/capabilities/core-capabilities-server-mocks/src/capabilities_service.mock.ts", @@ -101,7 +115,13 @@ "description": [], "signature": [ "() => jest.Mocked<", - "CapabilitiesStart", + { + "pluginId": "@kbn/core-capabilities-server", + "scope": "server", + "docId": "kibKbnCoreCapabilitiesServerPluginApi", + "section": "def-server.CapabilitiesStart", + "text": "CapabilitiesStart" + }, ">" ], "path": "packages/core/capabilities/core-capabilities-server-mocks/src/capabilities_service.mock.ts", @@ -119,7 +139,13 @@ "description": [], "signature": [ "() => ", - "Capabilities" + { + "pluginId": "@kbn/core-capabilities-common", + "scope": "common", + "docId": "kibKbnCoreCapabilitiesCommonPluginApi", + "section": "def-common.Capabilities", + "text": "Capabilities" + } ], "path": "packages/core/capabilities/core-capabilities-server-mocks/src/capabilities_service.mock.ts", "deprecated": false, diff --git a/api_docs/kbn_core_capabilities_server_mocks.mdx b/api_docs/kbn_core_capabilities_server_mocks.mdx index dcc32dff2e07e..1bbbcb8aada6f 100644 --- a/api_docs/kbn_core_capabilities_server_mocks.mdx +++ b/api_docs/kbn_core_capabilities_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-capabilities-server-mocks title: "@kbn/core-capabilities-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-capabilities-server-mocks plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-capabilities-server-mocks'] --- import kbnCoreCapabilitiesServerMocksObj from './kbn_core_capabilities_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_chrome_browser.devdocs.json b/api_docs/kbn_core_chrome_browser.devdocs.json index ac10e8f1cb1d1..11d74117c8415 100644 --- a/api_docs/kbn_core_chrome_browser.devdocs.json +++ b/api_docs/kbn_core_chrome_browser.devdocs.json @@ -91,7 +91,13 @@ "description": [], "signature": [ "(element: HTMLDivElement) => ", - "UnmountCallback" + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.UnmountCallback", + "text": "UnmountCallback" + } ], "path": "packages/core/chrome/core-chrome-browser/src/breadcrumb.ts", "deprecated": false, @@ -108,7 +114,7 @@ "signature": [ "T" ], - "path": "node_modules/@types/kbn__core-mount-utils-browser/index.d.ts", + "path": "packages/core/mount-utils/core-mount-utils-browser/src/mount_point.ts", "deprecated": false, "trackAdoption": false } @@ -683,7 +689,13 @@ "description": [], "signature": [ "(element: HTMLElement) => ", - "UnmountCallback" + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.UnmountCallback", + "text": "UnmountCallback" + } ], "path": "packages/core/chrome/core-chrome-browser/src/nav_controls.ts", "deprecated": false, @@ -700,7 +712,7 @@ "signature": [ "T" ], - "path": "node_modules/@types/kbn__core-mount-utils-browser/index.d.ts", + "path": "packages/core/mount-utils/core-mount-utils-browser/src/mount_point.ts", "deprecated": false, "trackAdoption": false } @@ -964,7 +976,13 @@ "\nThe category the app lives in" ], "signature": [ - "AppCategory", + { + "pluginId": "@kbn/core-application-common", + "scope": "common", + "docId": "kibKbnCoreApplicationCommonPluginApi", + "section": "def-common.AppCategory", + "text": "AppCategory" + }, " | undefined" ], "path": "packages/core/chrome/core-chrome-browser/src/nav_links.ts", @@ -2227,7 +2245,13 @@ "description": [], "signature": [ "(element: HTMLDivElement) => ", - "UnmountCallback" + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.UnmountCallback", + "text": "UnmountCallback" + } ], "path": "packages/core/chrome/core-chrome-browser/src/types.ts", "deprecated": false, @@ -2244,7 +2268,7 @@ "signature": [ "T" ], - "path": "node_modules/@types/kbn__core-mount-utils-browser/index.d.ts", + "path": "packages/core/mount-utils/core-mount-utils-browser/src/mount_point.ts", "deprecated": false, "trackAdoption": false } diff --git a/api_docs/kbn_core_chrome_browser.mdx b/api_docs/kbn_core_chrome_browser.mdx index ab23cb7bcd091..79d24c024072d 100644 --- a/api_docs/kbn_core_chrome_browser.mdx +++ b/api_docs/kbn_core_chrome_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-chrome-browser title: "@kbn/core-chrome-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-chrome-browser plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-chrome-browser'] --- import kbnCoreChromeBrowserObj from './kbn_core_chrome_browser.devdocs.json'; @@ -21,7 +21,7 @@ Contact Kibana Core for questions regarding this plugin. | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 119 | 0 | 43 | 0 | +| 119 | 0 | 46 | 0 | ## Common diff --git a/api_docs/kbn_core_chrome_browser_mocks.devdocs.json b/api_docs/kbn_core_chrome_browser_mocks.devdocs.json index 7da9613ba0ea2..42c9aacfa3dc9 100644 --- a/api_docs/kbn_core_chrome_browser_mocks.devdocs.json +++ b/api_docs/kbn_core_chrome_browser_mocks.devdocs.json @@ -59,7 +59,13 @@ "description": [], "signature": [ "() => ", - "DeeplyMockedKeys", + { + "pluginId": "@kbn/utility-types-jest", + "scope": "server", + "docId": "kibKbnUtilityTypesJestPluginApi", + "section": "def-server.DeeplyMockedKeys", + "text": "DeeplyMockedKeys" + }, "<", "InternalChromeStart", ">" diff --git a/api_docs/kbn_core_chrome_browser_mocks.mdx b/api_docs/kbn_core_chrome_browser_mocks.mdx index 878d8a8895fa4..6455ee3244d4a 100644 --- a/api_docs/kbn_core_chrome_browser_mocks.mdx +++ b/api_docs/kbn_core_chrome_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-chrome-browser-mocks title: "@kbn/core-chrome-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-chrome-browser-mocks plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-chrome-browser-mocks'] --- import kbnCoreChromeBrowserMocksObj from './kbn_core_chrome_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_config_server_internal.devdocs.json b/api_docs/kbn_core_config_server_internal.devdocs.json index 79979fc457172..65ff20ef0238d 100644 --- a/api_docs/kbn_core_config_server_internal.devdocs.json +++ b/api_docs/kbn_core_config_server_internal.devdocs.json @@ -20,7 +20,13 @@ "description": [], "signature": [ "() => ", - "ConfigDeprecation", + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.ConfigDeprecation", + "text": "ConfigDeprecation" + }, "[]" ], "path": "packages/core/config/core-config-server-internal/src/deprecation/core_deprecations.ts", diff --git a/api_docs/kbn_core_config_server_internal.mdx b/api_docs/kbn_core_config_server_internal.mdx index 005bd9a9609a2..7edeb39818a08 100644 --- a/api_docs/kbn_core_config_server_internal.mdx +++ b/api_docs/kbn_core_config_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-config-server-internal title: "@kbn/core-config-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-config-server-internal plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-config-server-internal'] --- import kbnCoreConfigServerInternalObj from './kbn_core_config_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_deprecations_browser.devdocs.json b/api_docs/kbn_core_deprecations_browser.devdocs.json index 857c2acbb4e33..4b90c819784f0 100644 --- a/api_docs/kbn_core_deprecations_browser.devdocs.json +++ b/api_docs/kbn_core_deprecations_browser.devdocs.json @@ -44,7 +44,13 @@ ], "signature": [ "() => Promise<", - "DomainDeprecationDetails", + { + "pluginId": "@kbn/core-deprecations-common", + "scope": "common", + "docId": "kibKbnCoreDeprecationsCommonPluginApi", + "section": "def-common.DomainDeprecationDetails", + "text": "DomainDeprecationDetails" + }, "[]>" ], "path": "packages/core/deprecations/core-deprecations-browser/src/contracts.ts", @@ -64,7 +70,13 @@ ], "signature": [ "(domainId: string) => Promise<", - "DomainDeprecationDetails", + { + "pluginId": "@kbn/core-deprecations-common", + "scope": "common", + "docId": "kibKbnCoreDeprecationsCommonPluginApi", + "section": "def-common.DomainDeprecationDetails", + "text": "DomainDeprecationDetails" + }, "[]>" ], "path": "packages/core/deprecations/core-deprecations-browser/src/contracts.ts", @@ -100,7 +112,13 @@ ], "signature": [ "(details: ", - "DomainDeprecationDetails", + { + "pluginId": "@kbn/core-deprecations-common", + "scope": "common", + "docId": "kibKbnCoreDeprecationsCommonPluginApi", + "section": "def-common.DomainDeprecationDetails", + "text": "DomainDeprecationDetails" + }, ") => boolean" ], "path": "packages/core/deprecations/core-deprecations-browser/src/contracts.ts", @@ -115,7 +133,13 @@ "label": "details", "description": [], "signature": [ - "DomainDeprecationDetails" + { + "pluginId": "@kbn/core-deprecations-common", + "scope": "common", + "docId": "kibKbnCoreDeprecationsCommonPluginApi", + "section": "def-common.DomainDeprecationDetails", + "text": "DomainDeprecationDetails" + } ], "path": "packages/core/deprecations/core-deprecations-browser/src/contracts.ts", "deprecated": false, @@ -136,7 +160,13 @@ ], "signature": [ "(details: ", - "DomainDeprecationDetails", + { + "pluginId": "@kbn/core-deprecations-common", + "scope": "common", + "docId": "kibKbnCoreDeprecationsCommonPluginApi", + "section": "def-common.DomainDeprecationDetails", + "text": "DomainDeprecationDetails" + }, ") => Promise<", { "pluginId": "@kbn/core-deprecations-browser", @@ -159,7 +189,13 @@ "label": "details", "description": [], "signature": [ - "DomainDeprecationDetails" + { + "pluginId": "@kbn/core-deprecations-common", + "scope": "common", + "docId": "kibKbnCoreDeprecationsCommonPluginApi", + "section": "def-common.DomainDeprecationDetails", + "text": "DomainDeprecationDetails" + } ], "path": "packages/core/deprecations/core-deprecations-browser/src/contracts.ts", "deprecated": false, diff --git a/api_docs/kbn_core_deprecations_browser.mdx b/api_docs/kbn_core_deprecations_browser.mdx index 1a94bc83196e8..c84ad7a2379d8 100644 --- a/api_docs/kbn_core_deprecations_browser.mdx +++ b/api_docs/kbn_core_deprecations_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-browser title: "@kbn/core-deprecations-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-browser plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-deprecations-browser'] --- import kbnCoreDeprecationsBrowserObj from './kbn_core_deprecations_browser.devdocs.json'; diff --git a/api_docs/kbn_core_deprecations_browser_internal.devdocs.json b/api_docs/kbn_core_deprecations_browser_internal.devdocs.json index 8eac54406790d..57e6318b3165c 100644 --- a/api_docs/kbn_core_deprecations_browser_internal.devdocs.json +++ b/api_docs/kbn_core_deprecations_browser_internal.devdocs.json @@ -36,7 +36,13 @@ " implements ", "CoreService", "" ], "path": "packages/core/deprecations/core-deprecations-browser-internal/src/deprecations_service.ts", @@ -68,9 +74,21 @@ "description": [], "signature": [ "({ http }: { http: ", - "HttpSetup", + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpSetup", + "text": "HttpSetup" + }, "; }) => ", - "DeprecationsServiceStart" + { + "pluginId": "@kbn/core-deprecations-browser", + "scope": "common", + "docId": "kibKbnCoreDeprecationsBrowserPluginApi", + "section": "def-common.DeprecationsServiceStart", + "text": "DeprecationsServiceStart" + } ], "path": "packages/core/deprecations/core-deprecations-browser-internal/src/deprecations_service.ts", "deprecated": false, @@ -95,7 +113,13 @@ "label": "http", "description": [], "signature": [ - "HttpSetup" + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpSetup", + "text": "HttpSetup" + } ], "path": "packages/core/deprecations/core-deprecations-browser-internal/src/deprecations_service.ts", "deprecated": false, diff --git a/api_docs/kbn_core_deprecations_browser_internal.mdx b/api_docs/kbn_core_deprecations_browser_internal.mdx index c2816352f4c13..414e7df7c64f7 100644 --- a/api_docs/kbn_core_deprecations_browser_internal.mdx +++ b/api_docs/kbn_core_deprecations_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-browser-internal title: "@kbn/core-deprecations-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-browser-internal plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-deprecations-browser-internal'] --- import kbnCoreDeprecationsBrowserInternalObj from './kbn_core_deprecations_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_deprecations_browser_mocks.devdocs.json b/api_docs/kbn_core_deprecations_browser_mocks.devdocs.json index bf48fad3e7b9e..897d016b3527d 100644 --- a/api_docs/kbn_core_deprecations_browser_mocks.devdocs.json +++ b/api_docs/kbn_core_deprecations_browser_mocks.devdocs.json @@ -43,9 +43,21 @@ "description": [], "signature": [ "() => jest.Mocked<", - "PublicMethodsOf", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.PublicMethodsOf", + "text": "PublicMethodsOf" + }, "<", - "DeprecationsService", + { + "pluginId": "@kbn/core-deprecations-browser-internal", + "scope": "common", + "docId": "kibKbnCoreDeprecationsBrowserInternalPluginApi", + "section": "def-common.DeprecationsService", + "text": "DeprecationsService" + }, ">>" ], "path": "packages/core/deprecations/core-deprecations-browser-mocks/src/deprecations_service.mock.ts", @@ -79,7 +91,13 @@ "description": [], "signature": [ "() => jest.Mocked<", - "DeprecationsServiceStart", + { + "pluginId": "@kbn/core-deprecations-browser", + "scope": "common", + "docId": "kibKbnCoreDeprecationsBrowserPluginApi", + "section": "def-common.DeprecationsServiceStart", + "text": "DeprecationsServiceStart" + }, ">" ], "path": "packages/core/deprecations/core-deprecations-browser-mocks/src/deprecations_service.mock.ts", diff --git a/api_docs/kbn_core_deprecations_browser_mocks.mdx b/api_docs/kbn_core_deprecations_browser_mocks.mdx index d84c18bc483c1..2a5176e2951db 100644 --- a/api_docs/kbn_core_deprecations_browser_mocks.mdx +++ b/api_docs/kbn_core_deprecations_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-browser-mocks title: "@kbn/core-deprecations-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-browser-mocks plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-deprecations-browser-mocks'] --- import kbnCoreDeprecationsBrowserMocksObj from './kbn_core_deprecations_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_deprecations_common.mdx b/api_docs/kbn_core_deprecations_common.mdx index 34fb7a95bfb4a..54f8741c974eb 100644 --- a/api_docs/kbn_core_deprecations_common.mdx +++ b/api_docs/kbn_core_deprecations_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-common title: "@kbn/core-deprecations-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-common plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-deprecations-common'] --- import kbnCoreDeprecationsCommonObj from './kbn_core_deprecations_common.devdocs.json'; diff --git a/api_docs/kbn_core_deprecations_server.devdocs.json b/api_docs/kbn_core_deprecations_server.devdocs.json index 514993fac9207..dbf0a0be1088a 100644 --- a/api_docs/kbn_core_deprecations_server.devdocs.json +++ b/api_docs/kbn_core_deprecations_server.devdocs.json @@ -87,7 +87,13 @@ "description": [], "signature": [ "() => Promise<", - "DomainDeprecationDetails", + { + "pluginId": "@kbn/core-deprecations-common", + "scope": "common", + "docId": "kibKbnCoreDeprecationsCommonPluginApi", + "section": "def-common.DomainDeprecationDetails", + "text": "DomainDeprecationDetails" + }, "[]>" ], "path": "packages/core/deprecations/core-deprecations-server/src/request_handler_context.ts", @@ -216,7 +222,13 @@ "label": "esClient", "description": [], "signature": [ - "IScopedClusterClient" + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.IScopedClusterClient", + "text": "IScopedClusterClient" + } ], "path": "packages/core/deprecations/core-deprecations-server/src/contracts.ts", "deprecated": false, @@ -230,7 +242,13 @@ "label": "savedObjectsClient", "description": [], "signature": [ - "SavedObjectsClientContract" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + } ], "path": "packages/core/deprecations/core-deprecations-server/src/contracts.ts", "deprecated": false, @@ -267,9 +285,21 @@ "text": "GetDeprecationsContext" }, ") => ", - "MaybePromise", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.MaybePromise", + "text": "MaybePromise" + }, "<", - "DeprecationsDetails", + { + "pluginId": "@kbn/core-deprecations-common", + "scope": "common", + "docId": "kibKbnCoreDeprecationsCommonPluginApi", + "section": "def-common.DeprecationsDetails", + "text": "DeprecationsDetails" + }, "[]>" ], "path": "packages/core/deprecations/core-deprecations-server/src/contracts.ts", diff --git a/api_docs/kbn_core_deprecations_server.mdx b/api_docs/kbn_core_deprecations_server.mdx index b0057953e7e25..56a76e8117682 100644 --- a/api_docs/kbn_core_deprecations_server.mdx +++ b/api_docs/kbn_core_deprecations_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-server title: "@kbn/core-deprecations-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-server plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-deprecations-server'] --- import kbnCoreDeprecationsServerObj from './kbn_core_deprecations_server.devdocs.json'; diff --git a/api_docs/kbn_core_deprecations_server_internal.devdocs.json b/api_docs/kbn_core_deprecations_server_internal.devdocs.json index c59b077897a1d..438b29f186d86 100644 --- a/api_docs/kbn_core_deprecations_server_internal.devdocs.json +++ b/api_docs/kbn_core_deprecations_server_internal.devdocs.json @@ -34,11 +34,29 @@ ], "signature": [ "(esClient: ", - "IScopedClusterClient", + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.IScopedClusterClient", + "text": "IScopedClusterClient" + }, ", savedObjectsClient: ", - "SavedObjectsClientContract", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + }, ") => ", - "DeprecationsClient" + { + "pluginId": "@kbn/core-deprecations-server", + "scope": "server", + "docId": "kibKbnCoreDeprecationsServerPluginApi", + "section": "def-server.DeprecationsClient", + "text": "DeprecationsClient" + } ], "path": "packages/core/deprecations/core-deprecations-server-internal/src/deprecations_service.ts", "deprecated": false, @@ -52,7 +70,13 @@ "label": "esClient", "description": [], "signature": [ - "IScopedClusterClient" + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.IScopedClusterClient", + "text": "IScopedClusterClient" + } ], "path": "packages/core/deprecations/core-deprecations-server-internal/src/deprecations_service.ts", "deprecated": false, @@ -67,7 +91,13 @@ "label": "savedObjectsClient", "description": [], "signature": [ - "SavedObjectsClientContract" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + } ], "path": "packages/core/deprecations/core-deprecations-server-internal/src/deprecations_service.ts", "deprecated": false, diff --git a/api_docs/kbn_core_deprecations_server_internal.mdx b/api_docs/kbn_core_deprecations_server_internal.mdx index 85ff7b98f242b..a65170c8366c3 100644 --- a/api_docs/kbn_core_deprecations_server_internal.mdx +++ b/api_docs/kbn_core_deprecations_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-server-internal title: "@kbn/core-deprecations-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-server-internal plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-deprecations-server-internal'] --- import kbnCoreDeprecationsServerInternalObj from './kbn_core_deprecations_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_deprecations_server_mocks.devdocs.json b/api_docs/kbn_core_deprecations_server_mocks.devdocs.json index 464b9f5476a54..69467b4a093d4 100644 --- a/api_docs/kbn_core_deprecations_server_mocks.devdocs.json +++ b/api_docs/kbn_core_deprecations_server_mocks.devdocs.json @@ -51,7 +51,13 @@ "description": [], "signature": [ "() => jest.Mocked<", - "DeprecationRegistryProvider", + { + "pluginId": "@kbn/core-deprecations-server", + "scope": "server", + "docId": "kibKbnCoreDeprecationsServerPluginApi", + "section": "def-server.DeprecationRegistryProvider", + "text": "DeprecationRegistryProvider" + }, ">" ], "path": "packages/core/deprecations/core-deprecations-server-mocks/src/deprecations_service.mock.ts", @@ -69,7 +75,13 @@ "description": [], "signature": [ "() => jest.Mocked<", - "DeprecationsServiceSetup", + { + "pluginId": "@kbn/core-deprecations-server", + "scope": "server", + "docId": "kibKbnCoreDeprecationsServerPluginApi", + "section": "def-server.DeprecationsServiceSetup", + "text": "DeprecationsServiceSetup" + }, ">" ], "path": "packages/core/deprecations/core-deprecations-server-mocks/src/deprecations_service.mock.ts", @@ -87,7 +99,13 @@ "description": [], "signature": [ "() => jest.Mocked<", - "InternalDeprecationsServiceStart", + { + "pluginId": "@kbn/core-deprecations-server-internal", + "scope": "server", + "docId": "kibKbnCoreDeprecationsServerInternalPluginApi", + "section": "def-server.InternalDeprecationsServiceStart", + "text": "InternalDeprecationsServiceStart" + }, ">" ], "path": "packages/core/deprecations/core-deprecations-server-mocks/src/deprecations_service.mock.ts", @@ -105,7 +123,13 @@ "description": [], "signature": [ "() => jest.Mocked<", - "DeprecationsClient", + { + "pluginId": "@kbn/core-deprecations-server", + "scope": "server", + "docId": "kibKbnCoreDeprecationsServerPluginApi", + "section": "def-server.DeprecationsClient", + "text": "DeprecationsClient" + }, ">" ], "path": "packages/core/deprecations/core-deprecations-server-mocks/src/deprecations_service.mock.ts", diff --git a/api_docs/kbn_core_deprecations_server_mocks.mdx b/api_docs/kbn_core_deprecations_server_mocks.mdx index 86fcc6b1474bb..da85b6b5a10d6 100644 --- a/api_docs/kbn_core_deprecations_server_mocks.mdx +++ b/api_docs/kbn_core_deprecations_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-server-mocks title: "@kbn/core-deprecations-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-server-mocks plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-deprecations-server-mocks'] --- import kbnCoreDeprecationsServerMocksObj from './kbn_core_deprecations_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_doc_links_browser.devdocs.json b/api_docs/kbn_core_doc_links_browser.devdocs.json index f8270d3ce9f28..8710e5edbcf19 100644 --- a/api_docs/kbn_core_doc_links_browser.devdocs.json +++ b/api_docs/kbn_core_doc_links_browser.devdocs.json @@ -61,7 +61,13 @@ "label": "links", "description": [], "signature": [ - "DocLinks" + { + "pluginId": "@kbn/doc-links", + "scope": "common", + "docId": "kibKbnDocLinksPluginApi", + "section": "def-common.DocLinks", + "text": "DocLinks" + } ], "path": "packages/core/doc-links/core-doc-links-browser/src/types.ts", "deprecated": false, diff --git a/api_docs/kbn_core_doc_links_browser.mdx b/api_docs/kbn_core_doc_links_browser.mdx index a66e1dae6b07f..893d3bd32bc21 100644 --- a/api_docs/kbn_core_doc_links_browser.mdx +++ b/api_docs/kbn_core_doc_links_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-doc-links-browser title: "@kbn/core-doc-links-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-doc-links-browser plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-doc-links-browser'] --- import kbnCoreDocLinksBrowserObj from './kbn_core_doc_links_browser.devdocs.json'; diff --git a/api_docs/kbn_core_doc_links_browser_mocks.devdocs.json b/api_docs/kbn_core_doc_links_browser_mocks.devdocs.json index 321ece3f9c64b..cb8eebb761298 100644 --- a/api_docs/kbn_core_doc_links_browser_mocks.devdocs.json +++ b/api_docs/kbn_core_doc_links_browser_mocks.devdocs.json @@ -75,7 +75,13 @@ "description": [], "signature": [ "() => ", - "DocLinksStart" + { + "pluginId": "@kbn/core-doc-links-browser", + "scope": "common", + "docId": "kibKbnCoreDocLinksBrowserPluginApi", + "section": "def-common.DocLinksStart", + "text": "DocLinksStart" + } ], "path": "packages/core/doc-links/core-doc-links-browser-mocks/src/doc_links_service.mock.ts", "deprecated": false, diff --git a/api_docs/kbn_core_doc_links_browser_mocks.mdx b/api_docs/kbn_core_doc_links_browser_mocks.mdx index b4e039c3ea497..172d3fce20749 100644 --- a/api_docs/kbn_core_doc_links_browser_mocks.mdx +++ b/api_docs/kbn_core_doc_links_browser_mocks.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-doc-links-browser-mocks plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-doc-links-browser-mocks'] --- import kbnCoreDocLinksBrowserMocksObj from './kbn_core_doc_links_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_doc_links_server.devdocs.json b/api_docs/kbn_core_doc_links_server.devdocs.json index d48c2855292a6..c820d0c60c68d 100644 --- a/api_docs/kbn_core_doc_links_server.devdocs.json +++ b/api_docs/kbn_core_doc_links_server.devdocs.json @@ -59,7 +59,13 @@ "A record of all registered doc links" ], "signature": [ - "DocLinks" + { + "pluginId": "@kbn/doc-links", + "scope": "common", + "docId": "kibKbnDocLinksPluginApi", + "section": "def-common.DocLinks", + "text": "DocLinks" + } ], "path": "packages/core/doc-links/core-doc-links-server/src/types.ts", "deprecated": false, diff --git a/api_docs/kbn_core_doc_links_server.mdx b/api_docs/kbn_core_doc_links_server.mdx index b70cec094002b..dde317df7f866 100644 --- a/api_docs/kbn_core_doc_links_server.mdx +++ b/api_docs/kbn_core_doc_links_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-doc-links-server title: "@kbn/core-doc-links-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-doc-links-server plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-doc-links-server'] --- import kbnCoreDocLinksServerObj from './kbn_core_doc_links_server.devdocs.json'; diff --git a/api_docs/kbn_core_doc_links_server_mocks.devdocs.json b/api_docs/kbn_core_doc_links_server_mocks.devdocs.json index 1172ff722d041..bd82f1fed2249 100644 --- a/api_docs/kbn_core_doc_links_server_mocks.devdocs.json +++ b/api_docs/kbn_core_doc_links_server_mocks.devdocs.json @@ -51,7 +51,13 @@ "description": [], "signature": [ "() => ", - "DocLinksServiceSetup" + { + "pluginId": "@kbn/core-doc-links-server", + "scope": "server", + "docId": "kibKbnCoreDocLinksServerPluginApi", + "section": "def-server.DocLinksServiceSetup", + "text": "DocLinksServiceSetup" + } ], "path": "packages/core/doc-links/core-doc-links-server-mocks/src/doc_links_service.mock.ts", "deprecated": false, @@ -68,7 +74,13 @@ "description": [], "signature": [ "() => ", - "DocLinksServiceSetup" + { + "pluginId": "@kbn/core-doc-links-server", + "scope": "server", + "docId": "kibKbnCoreDocLinksServerPluginApi", + "section": "def-server.DocLinksServiceSetup", + "text": "DocLinksServiceSetup" + } ], "path": "packages/core/doc-links/core-doc-links-server-mocks/src/doc_links_service.mock.ts", "deprecated": false, diff --git a/api_docs/kbn_core_doc_links_server_mocks.mdx b/api_docs/kbn_core_doc_links_server_mocks.mdx index 696829e89c200..c6fd74e6fb44d 100644 --- a/api_docs/kbn_core_doc_links_server_mocks.mdx +++ b/api_docs/kbn_core_doc_links_server_mocks.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-doc-links-server-mocks plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-doc-links-server-mocks'] --- import kbnCoreDocLinksServerMocksObj from './kbn_core_doc_links_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_elasticsearch_client_server_internal.devdocs.json b/api_docs/kbn_core_elasticsearch_client_server_internal.devdocs.json index aa5dd46285c2f..66472dd2f1a85 100644 --- a/api_docs/kbn_core_elasticsearch_client_server_internal.devdocs.json +++ b/api_docs/kbn_core_elasticsearch_client_server_internal.devdocs.json @@ -20,9 +20,21 @@ "description": [], "signature": [ "(config: ", - "ElasticsearchClientConfig", + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.ElasticsearchClientConfig", + "text": "ElasticsearchClientConfig" + }, ", { logger, type, scoped, getExecutionContext, agentFactoryProvider, kibanaVersion, }: { logger: ", - "Logger", + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + }, "; type: string; scoped?: boolean | undefined; getExecutionContext?: (() => string | undefined) | undefined; agentFactoryProvider: ", "AgentFactoryProvider", "; kibanaVersion: string; }) => ", @@ -40,7 +52,13 @@ "label": "config", "description": [], "signature": [ - "ElasticsearchClientConfig" + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.ElasticsearchClientConfig", + "text": "ElasticsearchClientConfig" + } ], "path": "packages/core/elasticsearch/core-elasticsearch-client-server-internal/src/configure_client.ts", "deprecated": false, @@ -66,7 +84,13 @@ "label": "logger", "description": [], "signature": [ - "Logger" + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + } ], "path": "packages/core/elasticsearch/core-elasticsearch-client-server-internal/src/configure_client.ts", "deprecated": false, @@ -241,7 +265,13 @@ "description": [], "signature": [ "() => Set<", - "NetworkAgent", + { + "pluginId": "@kbn/core-elasticsearch-client-server-internal", + "scope": "server", + "docId": "kibKbnCoreElasticsearchClientServerInternalPluginApi", + "section": "def-server.NetworkAgent", + "text": "NetworkAgent" + }, ">" ], "path": "packages/core/elasticsearch/core-elasticsearch-client-server-internal/src/agent_manager.ts", @@ -255,7 +285,25 @@ } ], "enums": [], - "misc": [], + "misc": [ + { + "parentPluginId": "@kbn/core-elasticsearch-client-server-internal", + "id": "def-server.NetworkAgent", + "type": "Type", + "tags": [], + "label": "NetworkAgent", + "description": [], + "signature": [ + "Agent", + " | ", + "Agent" + ], + "path": "packages/core/elasticsearch/core-elasticsearch-client-server-internal/src/agent_manager.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + } + ], "objects": [] }, "common": { diff --git a/api_docs/kbn_core_elasticsearch_client_server_internal.mdx b/api_docs/kbn_core_elasticsearch_client_server_internal.mdx index 2a3f804614c2c..9ca17bcee1635 100644 --- a/api_docs/kbn_core_elasticsearch_client_server_internal.mdx +++ b/api_docs/kbn_core_elasticsearch_client_server_internal.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-elasticsearch-client-server-internal plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-elasticsearch-client-server-internal'] --- import kbnCoreElasticsearchClientServerInternalObj from './kbn_core_elasticsearch_client_server_internal.devdocs.json'; @@ -21,7 +21,7 @@ Contact Kibana Core for questions regarding this plugin. | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 15 | 0 | 13 | 2 | +| 16 | 0 | 14 | 1 | ## Server @@ -31,3 +31,6 @@ Contact Kibana Core for questions regarding this plugin. ### Interfaces +### Consts, variables and types + + diff --git a/api_docs/kbn_core_elasticsearch_client_server_mocks.devdocs.json b/api_docs/kbn_core_elasticsearch_client_server_mocks.devdocs.json index 570636f16f3a8..f90b564cccdfe 100644 --- a/api_docs/kbn_core_elasticsearch_client_server_mocks.devdocs.json +++ b/api_docs/kbn_core_elasticsearch_client_server_mocks.devdocs.json @@ -20,9 +20,21 @@ "description": [], "signature": [ "(agents?: Set<", - "NetworkAgent", + { + "pluginId": "@kbn/core-elasticsearch-client-server-internal", + "scope": "server", + "docId": "kibKbnCoreElasticsearchClientServerInternalPluginApi", + "section": "def-server.NetworkAgent", + "text": "NetworkAgent" + }, ">) => ", - "AgentStore" + { + "pluginId": "@kbn/core-elasticsearch-client-server-internal", + "scope": "server", + "docId": "kibKbnCoreElasticsearchClientServerInternalPluginApi", + "section": "def-server.AgentStore", + "text": "AgentStore" + } ], "path": "packages/core/elasticsearch/core-elasticsearch-client-server-mocks/src/agent_manager.mocks.ts", "deprecated": false, @@ -37,7 +49,13 @@ "description": [], "signature": [ "Set<", - "NetworkAgent", + { + "pluginId": "@kbn/core-elasticsearch-client-server-internal", + "scope": "server", + "docId": "kibKbnCoreElasticsearchClientServerInternalPluginApi", + "section": "def-server.NetworkAgent", + "text": "NetworkAgent" + }, ">" ], "path": "packages/core/elasticsearch/core-elasticsearch-client-server-mocks/src/agent_manager.mocks.ts", @@ -1317,7 +1335,13 @@ "<", "default", ">; } & ", - "ElasticsearchClient" + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.ElasticsearchClient", + "text": "ElasticsearchClient" + } ], "path": "packages/core/elasticsearch/core-elasticsearch-client-server-mocks/src/mocks.ts", "deprecated": false, @@ -2418,7 +2442,13 @@ "<", "default", ">; } & ", - "ElasticsearchClient" + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.ElasticsearchClient", + "text": "ElasticsearchClient" + } ], "path": "packages/core/elasticsearch/core-elasticsearch-client-server-mocks/src/mocks.ts", "deprecated": false, @@ -3473,7 +3503,13 @@ "<", "default", ">; } & ", - "ElasticsearchClient" + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.ElasticsearchClient", + "text": "ElasticsearchClient" + } ], "path": "packages/core/elasticsearch/core-elasticsearch-client-server-mocks/src/mocks.ts", "deprecated": false, @@ -3494,13 +3530,37 @@ "description": [], "signature": [ "{ close: jest.MockInstance, []>; readonly asInternalUser: ", - "ElasticsearchClient", + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.ElasticsearchClient", + "text": "ElasticsearchClient" + }, "; asScoped: jest.MockInstance<", - "IScopedClusterClient", + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.IScopedClusterClient", + "text": "IScopedClusterClient" + }, ", [request: ", - "ScopeableRequest", + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.ScopeableRequest", + "text": "ScopeableRequest" + }, "]>; } & ", - "ICustomClusterClient", + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.ICustomClusterClient", + "text": "ICustomClusterClient" + }, " & ", { "pluginId": "@kbn/core-elasticsearch-client-server-mocks", @@ -4595,7 +4655,13 @@ "<", "default", ">; } & ", - "ElasticsearchClient" + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.ElasticsearchClient", + "text": "ElasticsearchClient" + } ], "path": "packages/core/elasticsearch/core-elasticsearch-client-server-mocks/src/mocks.ts", "deprecated": false, diff --git a/api_docs/kbn_core_elasticsearch_client_server_mocks.mdx b/api_docs/kbn_core_elasticsearch_client_server_mocks.mdx index e66ad7033aa70..ca0b26489c6ee 100644 --- a/api_docs/kbn_core_elasticsearch_client_server_mocks.mdx +++ b/api_docs/kbn_core_elasticsearch_client_server_mocks.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-elasticsearch-client-server-mocks plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-elasticsearch-client-server-mocks'] --- import kbnCoreElasticsearchClientServerMocksObj from './kbn_core_elasticsearch_client_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_elasticsearch_server.devdocs.json b/api_docs/kbn_core_elasticsearch_server.devdocs.json index 3644958164e4d..f390e83c1cbe0 100644 --- a/api_docs/kbn_core_elasticsearch_server.devdocs.json +++ b/api_docs/kbn_core_elasticsearch_server.devdocs.json @@ -641,7 +641,28 @@ "path": "packages/core/elasticsearch/core-elasticsearch-server/src/contracts.ts", "deprecated": true, "trackAdoption": false, - "references": [] + "references": [ + { + "plugin": "@kbn/core-elasticsearch-server-internal", + "path": "packages/core/elasticsearch/core-elasticsearch-server-internal/src/elasticsearch_service.ts" + }, + { + "plugin": "@kbn/core-plugins-server-internal", + "path": "packages/core/plugins/core-plugins-server-internal/src/plugin_context.ts" + }, + { + "plugin": "@kbn/core-plugins-server-internal", + "path": "packages/core/plugins/core-plugins-server-internal/src/plugin_context.ts" + }, + { + "plugin": "console", + "path": "src/plugins/console/server/plugin.ts" + }, + { + "plugin": "@kbn/core-elasticsearch-server-internal", + "path": "packages/core/elasticsearch/core-elasticsearch-server-internal/src/elasticsearch_service.test.ts" + } + ] } ], "initialIsOpen": false @@ -5010,7 +5031,13 @@ "label": "request", "description": [], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "" ], "path": "packages/core/elasticsearch/core-elasticsearch-server/src/client/unauthorized_error_handler.ts", @@ -6405,7 +6432,13 @@ "\n A user credentials container.\nIt accommodates the necessary auth credentials to impersonate the current user.\n" ], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, " | ", { "pluginId": "@kbn/core-elasticsearch-server", @@ -6447,7 +6480,13 @@ "text": "UnauthorizedErrorHandlerToolkit" }, ") => ", - "MaybePromise", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.MaybePromise", + "text": "MaybePromise" + }, "<", { "pluginId": "@kbn/core-elasticsearch-server", diff --git a/api_docs/kbn_core_elasticsearch_server.mdx b/api_docs/kbn_core_elasticsearch_server.mdx index ec539fa56cd4a..745e960f79664 100644 --- a/api_docs/kbn_core_elasticsearch_server.mdx +++ b/api_docs/kbn_core_elasticsearch_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-elasticsearch-server title: "@kbn/core-elasticsearch-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-elasticsearch-server plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-elasticsearch-server'] --- import kbnCoreElasticsearchServerObj from './kbn_core_elasticsearch_server.devdocs.json'; diff --git a/api_docs/kbn_core_elasticsearch_server_internal.devdocs.json b/api_docs/kbn_core_elasticsearch_server_internal.devdocs.json index 476751b714f15..1c02a6fb26dad 100644 --- a/api_docs/kbn_core_elasticsearch_server_internal.devdocs.json +++ b/api_docs/kbn_core_elasticsearch_server_internal.devdocs.json @@ -20,7 +20,13 @@ "description": [], "signature": [ "({ client, }: { client: ", - "ElasticsearchClient", + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.ElasticsearchClient", + "text": "ElasticsearchClient" + }, "; }) => Promise" ], "path": "packages/core/elasticsearch/core-elasticsearch-server-internal/src/is_scripting_enabled.ts", @@ -1405,6 +1411,55 @@ } ], "interfaces": [ + { + "parentPluginId": "@kbn/core-elasticsearch-server-internal", + "id": "def-server.ClusterInfo", + "type": "Interface", + "tags": [ + "private" + ], + "label": "ClusterInfo", + "description": [], + "path": "packages/core/elasticsearch/core-elasticsearch-server-internal/src/get_cluster_info.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/core-elasticsearch-server-internal", + "id": "def-server.ClusterInfo.cluster_name", + "type": "string", + "tags": [], + "label": "cluster_name", + "description": [], + "path": "packages/core/elasticsearch/core-elasticsearch-server-internal/src/get_cluster_info.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/core-elasticsearch-server-internal", + "id": "def-server.ClusterInfo.cluster_uuid", + "type": "string", + "tags": [], + "label": "cluster_uuid", + "description": [], + "path": "packages/core/elasticsearch/core-elasticsearch-server-internal/src/get_cluster_info.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/core-elasticsearch-server-internal", + "id": "def-server.ClusterInfo.cluster_version", + "type": "string", + "tags": [], + "label": "cluster_version", + "description": [], + "path": "packages/core/elasticsearch/core-elasticsearch-server-internal/src/get_cluster_info.ts", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false + }, { "parentPluginId": "@kbn/core-elasticsearch-server-internal", "id": "def-server.NodeInfo", @@ -2827,7 +2882,13 @@ "label": "log", "description": [], "signature": [ - "Logger" + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + } ], "path": "packages/core/elasticsearch/core-elasticsearch-server-internal/src/version_check/ensure_es_version.ts", "deprecated": false, @@ -2899,77 +2960,293 @@ "\nValidation schema for elasticsearch service config. It can be reused when plugins allow users\nto specify a local elasticsearch config." ], "signature": [ - "ObjectType", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ObjectType", + "text": "ObjectType" + }, "<{ sniffOnStart: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; sniffInterval: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; sniffOnConnectionFault: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; hosts: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; maxSockets: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; maxIdleSockets: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; idleSocketTimeout: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; compression: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; username: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; password: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; serviceAccountToken: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; requestHeadersWhitelist: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; customHeaders: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, ">; shardTimeout: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; requestTimeout: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; pingTimeout: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; logQueries: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; ssl: ", - "ObjectType", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ObjectType", + "text": "ObjectType" + }, "<{ verificationMode: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "<\"none\" | \"full\" | \"certificate\">; certificateAuthorities: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; certificate: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; key: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; keyPassphrase: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; keystore: ", - "ObjectType", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ObjectType", + "text": "ObjectType" + }, "<{ path: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; password: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; }>; truststore: ", - "ObjectType", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ObjectType", + "text": "ObjectType" + }, "<{ path: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; password: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; }>; alwaysPresentCertificate: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; }>; apiVersion: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; healthCheck: ", - "ObjectType", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ObjectType", + "text": "ObjectType" + }, "<{ delay: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; }>; ignoreVersionMismatch: ", - "ConditionalType", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ConditionalType", + "text": "ConditionalType" + }, "; skipStartupConnectionCheck: ", - "ConditionalType", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ConditionalType", + "text": "ConditionalType" + }, "; }>" ], "path": "packages/core/elasticsearch/core-elasticsearch-server-internal/src/elasticsearch_config.ts", diff --git a/api_docs/kbn_core_elasticsearch_server_internal.mdx b/api_docs/kbn_core_elasticsearch_server_internal.mdx index 6f2c38fd0fbc5..e0e4ac8e7ea0a 100644 --- a/api_docs/kbn_core_elasticsearch_server_internal.mdx +++ b/api_docs/kbn_core_elasticsearch_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-elasticsearch-server-internal title: "@kbn/core-elasticsearch-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-elasticsearch-server-internal plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-elasticsearch-server-internal'] --- import kbnCoreElasticsearchServerInternalObj from './kbn_core_elasticsearch_server_internal.devdocs.json'; @@ -21,7 +21,7 @@ Contact Kibana Core for questions regarding this plugin. | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 33 | 0 | 29 | 0 | +| 37 | 0 | 33 | 3 | ## Server diff --git a/api_docs/kbn_core_elasticsearch_server_mocks.devdocs.json b/api_docs/kbn_core_elasticsearch_server_mocks.devdocs.json index 9ac1cdcb19f0f..61f670f9761de 100644 --- a/api_docs/kbn_core_elasticsearch_server_mocks.devdocs.json +++ b/api_docs/kbn_core_elasticsearch_server_mocks.devdocs.json @@ -31,7 +31,13 @@ "label": "client", "description": [], "signature": [ - "ClusterClientMock" + { + "pluginId": "@kbn/core-elasticsearch-client-server-mocks", + "scope": "server", + "docId": "kibKbnCoreElasticsearchClientServerMocksPluginApi", + "section": "def-server.ClusterClientMock", + "text": "ClusterClientMock" + } ], "path": "packages/core/elasticsearch/core-elasticsearch-server-mocks/src/elasticsearch_service.mock.ts", "deprecated": false, @@ -46,13 +52,37 @@ "description": [], "signature": [ "jest.MockInstance<", - "CustomClusterClientMock", + { + "pluginId": "@kbn/core-elasticsearch-client-server-mocks", + "scope": "server", + "docId": "kibKbnCoreElasticsearchClientServerMocksPluginApi", + "section": "def-server.CustomClusterClientMock", + "text": "CustomClusterClientMock" + }, ", [type: string, config?: Partial<", - "ElasticsearchClientConfig", + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.ElasticsearchClientConfig", + "text": "ElasticsearchClientConfig" + }, "> | undefined]> & ((type: string, config?: Partial<", - "ElasticsearchClientConfig", + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.ElasticsearchClientConfig", + "text": "ElasticsearchClientConfig" + }, "> | undefined) => ", - "CustomClusterClientMock", + { + "pluginId": "@kbn/core-elasticsearch-client-server-mocks", + "scope": "server", + "docId": "kibKbnCoreElasticsearchClientServerMocksPluginApi", + "section": "def-server.CustomClusterClientMock", + "text": "CustomClusterClientMock" + }, ")" ], "path": "packages/core/elasticsearch/core-elasticsearch-server-mocks/src/elasticsearch_service.mock.ts", @@ -80,7 +110,13 @@ "description": [], "signature": [ "Partial<", - "ElasticsearchClientConfig", + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.ElasticsearchClientConfig", + "text": "ElasticsearchClientConfig" + }, "> | undefined" ], "path": "packages/core/elasticsearch/core-elasticsearch-server-mocks/src/elasticsearch_service.mock.ts", @@ -104,9 +140,21 @@ "description": [], "signature": [ "{ setUnauthorizedErrorHandler: jest.MockInstance; } & Omit<", - "ElasticsearchServiceSetup", + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.ElasticsearchServiceSetup", + "text": "ElasticsearchServiceSetup" + }, ", \"legacy\"> & { legacy: { config$: ", "BehaviorSubject", "<", diff --git a/api_docs/kbn_core_elasticsearch_server_mocks.mdx b/api_docs/kbn_core_elasticsearch_server_mocks.mdx index ac4e22b592f67..e6d1c184127a0 100644 --- a/api_docs/kbn_core_elasticsearch_server_mocks.mdx +++ b/api_docs/kbn_core_elasticsearch_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-elasticsearch-server-mocks title: "@kbn/core-elasticsearch-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-elasticsearch-server-mocks plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-elasticsearch-server-mocks'] --- import kbnCoreElasticsearchServerMocksObj from './kbn_core_elasticsearch_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_environment_server_internal.devdocs.json b/api_docs/kbn_core_environment_server_internal.devdocs.json index bd313a9c15630..f9601c5c6904c 100644 --- a/api_docs/kbn_core_environment_server_internal.devdocs.json +++ b/api_docs/kbn_core_environment_server_internal.devdocs.json @@ -61,11 +61,29 @@ "label": "schema", "description": [], "signature": [ - "ObjectType", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ObjectType", + "text": "ObjectType" + }, "<{ file: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; exclusive: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; }>" ], "path": "packages/core/environment/core-environment-server-internal/src/pid_config.ts", diff --git a/api_docs/kbn_core_environment_server_internal.mdx b/api_docs/kbn_core_environment_server_internal.mdx index 6b523094d9dba..e49ecc8787a38 100644 --- a/api_docs/kbn_core_environment_server_internal.mdx +++ b/api_docs/kbn_core_environment_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-environment-server-internal title: "@kbn/core-environment-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-environment-server-internal plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-environment-server-internal'] --- import kbnCoreEnvironmentServerInternalObj from './kbn_core_environment_server_internal.devdocs.json'; @@ -21,7 +21,7 @@ Contact Kibana Core for questions regarding this plugin. | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 4 | 0 | 4 | 0 | +| 4 | 0 | 4 | 1 | ## Server diff --git a/api_docs/kbn_core_environment_server_mocks.mdx b/api_docs/kbn_core_environment_server_mocks.mdx index 4ce2683145410..eb62270cbbaa2 100644 --- a/api_docs/kbn_core_environment_server_mocks.mdx +++ b/api_docs/kbn_core_environment_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-environment-server-mocks title: "@kbn/core-environment-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-environment-server-mocks plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-environment-server-mocks'] --- import kbnCoreEnvironmentServerMocksObj from './kbn_core_environment_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_execution_context_browser.devdocs.json b/api_docs/kbn_core_execution_context_browser.devdocs.json index 46b9544979b59..99b7ade70d8e4 100644 --- a/api_docs/kbn_core_execution_context_browser.devdocs.json +++ b/api_docs/kbn_core_execution_context_browser.devdocs.json @@ -45,7 +45,13 @@ "signature": [ "Observable", "<", - "KibanaExecutionContext", + { + "pluginId": "@kbn/core-execution-context-common", + "scope": "common", + "docId": "kibKbnCoreExecutionContextCommonPluginApi", + "section": "def-common.KibanaExecutionContext", + "text": "KibanaExecutionContext" + }, ">" ], "path": "packages/core/execution-context/core-execution-context-browser/src/types.ts", @@ -63,7 +69,13 @@ ], "signature": [ "(c$: ", - "KibanaExecutionContext", + { + "pluginId": "@kbn/core-execution-context-common", + "scope": "common", + "docId": "kibKbnCoreExecutionContextCommonPluginApi", + "section": "def-common.KibanaExecutionContext", + "text": "KibanaExecutionContext" + }, ") => void" ], "path": "packages/core/execution-context/core-execution-context-browser/src/types.ts", @@ -78,7 +90,13 @@ "label": "c$", "description": [], "signature": [ - "KibanaExecutionContext" + { + "pluginId": "@kbn/core-execution-context-common", + "scope": "common", + "docId": "kibKbnCoreExecutionContextCommonPluginApi", + "section": "def-common.KibanaExecutionContext", + "text": "KibanaExecutionContext" + } ], "path": "packages/core/execution-context/core-execution-context-browser/src/types.ts", "deprecated": false, @@ -99,7 +117,13 @@ ], "signature": [ "() => ", - "KibanaExecutionContext" + { + "pluginId": "@kbn/core-execution-context-common", + "scope": "common", + "docId": "kibKbnCoreExecutionContextCommonPluginApi", + "section": "def-common.KibanaExecutionContext", + "text": "KibanaExecutionContext" + } ], "path": "packages/core/execution-context/core-execution-context-browser/src/types.ts", "deprecated": false, @@ -155,9 +179,21 @@ ], "signature": [ "(context?: ", - "KibanaExecutionContext", + { + "pluginId": "@kbn/core-execution-context-common", + "scope": "common", + "docId": "kibKbnCoreExecutionContextCommonPluginApi", + "section": "def-common.KibanaExecutionContext", + "text": "KibanaExecutionContext" + }, " | undefined) => ", - "KibanaExecutionContext" + { + "pluginId": "@kbn/core-execution-context-common", + "scope": "common", + "docId": "kibKbnCoreExecutionContextCommonPluginApi", + "section": "def-common.KibanaExecutionContext", + "text": "KibanaExecutionContext" + } ], "path": "packages/core/execution-context/core-execution-context-browser/src/types.ts", "deprecated": false, @@ -171,7 +207,13 @@ "label": "context", "description": [], "signature": [ - "KibanaExecutionContext", + { + "pluginId": "@kbn/core-execution-context-common", + "scope": "common", + "docId": "kibKbnCoreExecutionContextCommonPluginApi", + "section": "def-common.KibanaExecutionContext", + "text": "KibanaExecutionContext" + }, " | undefined" ], "path": "packages/core/execution-context/core-execution-context-browser/src/types.ts", diff --git a/api_docs/kbn_core_execution_context_browser.mdx b/api_docs/kbn_core_execution_context_browser.mdx index 4edaa29334fbc..6d0ee929b982f 100644 --- a/api_docs/kbn_core_execution_context_browser.mdx +++ b/api_docs/kbn_core_execution_context_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-browser title: "@kbn/core-execution-context-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-execution-context-browser plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-browser'] --- import kbnCoreExecutionContextBrowserObj from './kbn_core_execution_context_browser.devdocs.json'; diff --git a/api_docs/kbn_core_execution_context_browser_internal.devdocs.json b/api_docs/kbn_core_execution_context_browser_internal.devdocs.json index d0c12ae15f804..2c9ffd14622cb 100644 --- a/api_docs/kbn_core_execution_context_browser_internal.devdocs.json +++ b/api_docs/kbn_core_execution_context_browser_internal.devdocs.json @@ -49,7 +49,13 @@ "description": [], "signature": [ "{ readonly type?: string | undefined; readonly name?: string | undefined; readonly page?: string | undefined; readonly id?: string | undefined; readonly description?: string | undefined; readonly url?: string | undefined; readonly meta?: { [key: string]: string | number | boolean | undefined; } | undefined; readonly child?: ", - "KibanaExecutionContext", + { + "pluginId": "@kbn/core-execution-context-common", + "scope": "common", + "docId": "kibKbnCoreExecutionContextCommonPluginApi", + "section": "def-common.KibanaExecutionContext", + "text": "KibanaExecutionContext" + }, " | undefined; }" ], "path": "packages/core/execution-context/core-execution-context-browser-internal/src/execution_context_container.ts", @@ -79,7 +85,13 @@ "description": [], "signature": [ "Readonly<", - "KibanaExecutionContext", + { + "pluginId": "@kbn/core-execution-context-common", + "scope": "common", + "docId": "kibKbnCoreExecutionContextCommonPluginApi", + "section": "def-common.KibanaExecutionContext", + "text": "KibanaExecutionContext" + }, ">" ], "path": "packages/core/execution-context/core-execution-context-browser-internal/src/execution_context_container.ts", @@ -115,7 +127,13 @@ "description": [], "signature": [ "() => Readonly<", - "KibanaExecutionContext", + { + "pluginId": "@kbn/core-execution-context-common", + "scope": "common", + "docId": "kibKbnCoreExecutionContextCommonPluginApi", + "section": "def-common.KibanaExecutionContext", + "text": "KibanaExecutionContext" + }, ">" ], "path": "packages/core/execution-context/core-execution-context-browser-internal/src/execution_context_container.ts", diff --git a/api_docs/kbn_core_execution_context_browser_internal.mdx b/api_docs/kbn_core_execution_context_browser_internal.mdx index 9fc1fd68ca6fe..ac734072d5412 100644 --- a/api_docs/kbn_core_execution_context_browser_internal.mdx +++ b/api_docs/kbn_core_execution_context_browser_internal.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-execution-context-browser-internal plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-browser-internal'] --- import kbnCoreExecutionContextBrowserInternalObj from './kbn_core_execution_context_browser_internal.devdocs.json'; @@ -21,7 +21,7 @@ Contact Kibana Core for questions regarding this plugin. | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 6 | 0 | 6 | 1 | +| 6 | 0 | 6 | 2 | ## Common diff --git a/api_docs/kbn_core_execution_context_browser_mocks.devdocs.json b/api_docs/kbn_core_execution_context_browser_mocks.devdocs.json index 814bebffd8678..97296da62f1cd 100644 --- a/api_docs/kbn_core_execution_context_browser_mocks.devdocs.json +++ b/api_docs/kbn_core_execution_context_browser_mocks.devdocs.json @@ -43,7 +43,13 @@ "description": [], "signature": [ "() => jest.Mocked<", - "PublicMethodsOf", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.PublicMethodsOf", + "text": "PublicMethodsOf" + }, "<", "ExecutionContextService", ">>" @@ -63,7 +69,13 @@ "description": [], "signature": [ "() => jest.Mocked<", - "ExecutionContextSetup", + { + "pluginId": "@kbn/core-execution-context-browser", + "scope": "common", + "docId": "kibKbnCoreExecutionContextBrowserPluginApi", + "section": "def-common.ExecutionContextSetup", + "text": "ExecutionContextSetup" + }, ">" ], "path": "packages/core/execution-context/core-execution-context-browser-mocks/src/execution_context_service.mock.ts", @@ -81,7 +93,13 @@ "description": [], "signature": [ "() => jest.Mocked<", - "ExecutionContextSetup", + { + "pluginId": "@kbn/core-execution-context-browser", + "scope": "common", + "docId": "kibKbnCoreExecutionContextBrowserPluginApi", + "section": "def-common.ExecutionContextSetup", + "text": "ExecutionContextSetup" + }, ">" ], "path": "packages/core/execution-context/core-execution-context-browser-mocks/src/execution_context_service.mock.ts", @@ -99,7 +117,13 @@ "description": [], "signature": [ "() => jest.Mocked<", - "ExecutionContextSetup", + { + "pluginId": "@kbn/core-execution-context-browser", + "scope": "common", + "docId": "kibKbnCoreExecutionContextBrowserPluginApi", + "section": "def-common.ExecutionContextSetup", + "text": "ExecutionContextSetup" + }, ">" ], "path": "packages/core/execution-context/core-execution-context-browser-mocks/src/execution_context_service.mock.ts", @@ -117,7 +141,13 @@ "description": [], "signature": [ "() => jest.Mocked<", - "ExecutionContextSetup", + { + "pluginId": "@kbn/core-execution-context-browser", + "scope": "common", + "docId": "kibKbnCoreExecutionContextBrowserPluginApi", + "section": "def-common.ExecutionContextSetup", + "text": "ExecutionContextSetup" + }, ">" ], "path": "packages/core/execution-context/core-execution-context-browser-mocks/src/execution_context_service.mock.ts", diff --git a/api_docs/kbn_core_execution_context_browser_mocks.mdx b/api_docs/kbn_core_execution_context_browser_mocks.mdx index 9ee7a26b75450..b250c32ad1eb5 100644 --- a/api_docs/kbn_core_execution_context_browser_mocks.mdx +++ b/api_docs/kbn_core_execution_context_browser_mocks.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-execution-context-browser-mocks plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-browser-mocks'] --- import kbnCoreExecutionContextBrowserMocksObj from './kbn_core_execution_context_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_execution_context_common.mdx b/api_docs/kbn_core_execution_context_common.mdx index 6d22f01a36ed2..dfe5aae1a93b9 100644 --- a/api_docs/kbn_core_execution_context_common.mdx +++ b/api_docs/kbn_core_execution_context_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-common title: "@kbn/core-execution-context-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-execution-context-common plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-common'] --- import kbnCoreExecutionContextCommonObj from './kbn_core_execution_context_common.devdocs.json'; diff --git a/api_docs/kbn_core_execution_context_server.devdocs.json b/api_docs/kbn_core_execution_context_server.devdocs.json index c4c6bf5de2603..07ce068738ebf 100644 --- a/api_docs/kbn_core_execution_context_server.devdocs.json +++ b/api_docs/kbn_core_execution_context_server.devdocs.json @@ -34,7 +34,13 @@ ], "signature": [ "(context: ", - "KibanaExecutionContext", + { + "pluginId": "@kbn/core-execution-context-common", + "scope": "common", + "docId": "kibKbnCoreExecutionContextCommonPluginApi", + "section": "def-common.KibanaExecutionContext", + "text": "KibanaExecutionContext" + }, " | undefined, fn: (...args: any[]) => R) => R" ], "path": "packages/core/execution-context/core-execution-context-server/src/contracts.ts", @@ -49,7 +55,13 @@ "label": "context", "description": [], "signature": [ - "KibanaExecutionContext", + { + "pluginId": "@kbn/core-execution-context-common", + "scope": "common", + "docId": "kibKbnCoreExecutionContextCommonPluginApi", + "section": "def-common.KibanaExecutionContext", + "text": "KibanaExecutionContext" + }, " | undefined" ], "path": "packages/core/execution-context/core-execution-context-server/src/contracts.ts", @@ -131,7 +143,13 @@ "description": [], "signature": [ "() => Readonly<", - "KibanaExecutionContext", + { + "pluginId": "@kbn/core-execution-context-common", + "scope": "common", + "docId": "kibKbnCoreExecutionContextCommonPluginApi", + "section": "def-common.KibanaExecutionContext", + "text": "KibanaExecutionContext" + }, ">" ], "path": "packages/core/execution-context/core-execution-context-server/src/types.ts", diff --git a/api_docs/kbn_core_execution_context_server.mdx b/api_docs/kbn_core_execution_context_server.mdx index 7024232052c48..a81b66482b16b 100644 --- a/api_docs/kbn_core_execution_context_server.mdx +++ b/api_docs/kbn_core_execution_context_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-server title: "@kbn/core-execution-context-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-execution-context-server plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-server'] --- import kbnCoreExecutionContextServerObj from './kbn_core_execution_context_server.devdocs.json'; diff --git a/api_docs/kbn_core_execution_context_server_internal.devdocs.json b/api_docs/kbn_core_execution_context_server_internal.devdocs.json index e63a3cff21fc7..a673d3df13e53 100644 --- a/api_docs/kbn_core_execution_context_server_internal.devdocs.json +++ b/api_docs/kbn_core_execution_context_server_internal.devdocs.json @@ -158,9 +158,21 @@ "label": "schema", "description": [], "signature": [ - "ObjectType", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ObjectType", + "text": "ObjectType" + }, "<{ enabled: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; }>" ], "path": "packages/core/execution-context/core-execution-context-server-internal/src/execution_context_config.ts", diff --git a/api_docs/kbn_core_execution_context_server_internal.mdx b/api_docs/kbn_core_execution_context_server_internal.mdx index 02620160211d0..1673ec0269685 100644 --- a/api_docs/kbn_core_execution_context_server_internal.mdx +++ b/api_docs/kbn_core_execution_context_server_internal.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-execution-context-server-internal plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-server-internal'] --- import kbnCoreExecutionContextServerInternalObj from './kbn_core_execution_context_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_execution_context_server_mocks.devdocs.json b/api_docs/kbn_core_execution_context_server_mocks.devdocs.json index c3ec9e75b044d..14140199a25e0 100644 --- a/api_docs/kbn_core_execution_context_server_mocks.devdocs.json +++ b/api_docs/kbn_core_execution_context_server_mocks.devdocs.json @@ -71,7 +71,13 @@ "description": [], "signature": [ "() => jest.Mocked<", - "ExecutionContextSetup", + { + "pluginId": "@kbn/core-execution-context-server", + "scope": "server", + "docId": "kibKbnCoreExecutionContextServerPluginApi", + "section": "def-server.ExecutionContextSetup", + "text": "ExecutionContextSetup" + }, ">" ], "path": "packages/core/execution-context/core-execution-context-server-mocks/src/execution_context_service.mock.ts", @@ -89,7 +95,13 @@ "description": [], "signature": [ "() => jest.Mocked<", - "ExecutionContextSetup", + { + "pluginId": "@kbn/core-execution-context-server", + "scope": "server", + "docId": "kibKbnCoreExecutionContextServerPluginApi", + "section": "def-server.ExecutionContextSetup", + "text": "ExecutionContextSetup" + }, ">" ], "path": "packages/core/execution-context/core-execution-context-server-mocks/src/execution_context_service.mock.ts", diff --git a/api_docs/kbn_core_execution_context_server_mocks.mdx b/api_docs/kbn_core_execution_context_server_mocks.mdx index cabf49fa973fa..5bb6efd54966c 100644 --- a/api_docs/kbn_core_execution_context_server_mocks.mdx +++ b/api_docs/kbn_core_execution_context_server_mocks.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-execution-context-server-mocks plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-server-mocks'] --- import kbnCoreExecutionContextServerMocksObj from './kbn_core_execution_context_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_fatal_errors_browser.mdx b/api_docs/kbn_core_fatal_errors_browser.mdx index 3b2d649d44d85..55187173e2b34 100644 --- a/api_docs/kbn_core_fatal_errors_browser.mdx +++ b/api_docs/kbn_core_fatal_errors_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-fatal-errors-browser title: "@kbn/core-fatal-errors-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-fatal-errors-browser plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-fatal-errors-browser'] --- import kbnCoreFatalErrorsBrowserObj from './kbn_core_fatal_errors_browser.devdocs.json'; diff --git a/api_docs/kbn_core_fatal_errors_browser_mocks.devdocs.json b/api_docs/kbn_core_fatal_errors_browser_mocks.devdocs.json index 0ec842a04eb15..671d22018f6e4 100644 --- a/api_docs/kbn_core_fatal_errors_browser_mocks.devdocs.json +++ b/api_docs/kbn_core_fatal_errors_browser_mocks.devdocs.json @@ -59,7 +59,13 @@ "description": [], "signature": [ "() => jest.Mocked<", - "FatalErrorsSetup", + { + "pluginId": "@kbn/core-fatal-errors-browser", + "scope": "common", + "docId": "kibKbnCoreFatalErrorsBrowserPluginApi", + "section": "def-common.FatalErrorsSetup", + "text": "FatalErrorsSetup" + }, ">" ], "path": "packages/core/fatal-errors/core-fatal-errors-browser-mocks/src/fatal_errors_service.mock.ts", @@ -77,7 +83,13 @@ "description": [], "signature": [ "() => jest.Mocked<", - "FatalErrorsSetup", + { + "pluginId": "@kbn/core-fatal-errors-browser", + "scope": "common", + "docId": "kibKbnCoreFatalErrorsBrowserPluginApi", + "section": "def-common.FatalErrorsSetup", + "text": "FatalErrorsSetup" + }, ">" ], "path": "packages/core/fatal-errors/core-fatal-errors-browser-mocks/src/fatal_errors_service.mock.ts", diff --git a/api_docs/kbn_core_fatal_errors_browser_mocks.mdx b/api_docs/kbn_core_fatal_errors_browser_mocks.mdx index 62d198a5f2c00..a546baa5cdb34 100644 --- a/api_docs/kbn_core_fatal_errors_browser_mocks.mdx +++ b/api_docs/kbn_core_fatal_errors_browser_mocks.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-fatal-errors-browser-mocks plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-fatal-errors-browser-mocks'] --- import kbnCoreFatalErrorsBrowserMocksObj from './kbn_core_fatal_errors_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_http_browser.devdocs.json b/api_docs/kbn_core_http_browser.devdocs.json index de4c55002551d..7e3c52f8f463f 100644 --- a/api_docs/kbn_core_http_browser.devdocs.json +++ b/api_docs/kbn_core_http_browser.devdocs.json @@ -201,7 +201,13 @@ "label": "context", "description": [], "signature": [ - "KibanaExecutionContext", + { + "pluginId": "@kbn/core-execution-context-common", + "scope": "common", + "docId": "kibKbnCoreExecutionContextCommonPluginApi", + "section": "def-common.KibanaExecutionContext", + "text": "KibanaExecutionContext" + }, " | undefined" ], "path": "packages/core/http/core-http-browser/src/types.ts", @@ -427,7 +433,13 @@ "text": "IHttpInterceptController" }, ") => void | ", - "MaybePromise", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.MaybePromise", + "text": "MaybePromise" + }, " void | ", - "MaybePromise", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.MaybePromise", + "text": "MaybePromise" + }, " void | ", - "MaybePromise", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.MaybePromise", + "text": "MaybePromise" + }, "<", { "pluginId": "@kbn/core-http-browser", @@ -701,7 +725,13 @@ "text": "IHttpInterceptController" }, ") => void | ", - "MaybePromise", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.MaybePromise", + "text": "MaybePromise" + }, "<", { "pluginId": "@kbn/core-http-browser", @@ -804,7 +834,13 @@ "text": "HttpHeadersInit" }, " | undefined; readonly asSystemRequest?: boolean | undefined; readonly asResponse?: boolean | undefined; readonly context?: ", - "KibanaExecutionContext", + { + "pluginId": "@kbn/core-execution-context-common", + "scope": "common", + "docId": "kibKbnCoreExecutionContextCommonPluginApi", + "section": "def-common.KibanaExecutionContext", + "text": "KibanaExecutionContext" + }, " | undefined; readonly body?: BodyInit | null | undefined; readonly cache?: RequestCache | undefined; readonly credentials?: RequestCredentials | undefined; readonly integrity?: string | undefined; readonly keepalive?: boolean | undefined; readonly method?: string | undefined; readonly mode?: RequestMode | undefined; readonly redirect?: RequestRedirect | undefined; readonly referrer?: string | undefined; readonly referrerPolicy?: ReferrerPolicy | undefined; readonly signal?: AbortSignal | null | undefined; readonly window?: null | undefined; }" ], "path": "packages/core/http/core-http-browser/src/types.ts", @@ -1175,7 +1211,13 @@ "text": "HttpHeadersInit" }, " | undefined; readonly asSystemRequest?: boolean | undefined; readonly asResponse?: boolean | undefined; readonly context?: ", - "KibanaExecutionContext", + { + "pluginId": "@kbn/core-execution-context-common", + "scope": "common", + "docId": "kibKbnCoreExecutionContextCommonPluginApi", + "section": "def-common.KibanaExecutionContext", + "text": "KibanaExecutionContext" + }, " | undefined; readonly body?: BodyInit | null | undefined; readonly cache?: RequestCache | undefined; readonly credentials?: RequestCredentials | undefined; readonly integrity?: string | undefined; readonly keepalive?: boolean | undefined; readonly method?: string | undefined; readonly mode?: RequestMode | undefined; readonly redirect?: RequestRedirect | undefined; readonly referrer?: string | undefined; readonly referrerPolicy?: ReferrerPolicy | undefined; readonly signal?: AbortSignal | null | undefined; readonly window?: null | undefined; }" ], "path": "packages/core/http/core-http-browser/src/types.ts", @@ -1973,7 +2015,24 @@ "deprecated": true, "removeBy": "8.8.0\n\nNote to maintainers: when looking at usages, mind that typical use could be inside a `catch` block,\nso TS and code-reference navigation might not highlight them.", "trackAdoption": false, - "references": [] + "references": [ + { + "plugin": "ml", + "path": "x-pack/plugins/ml/common/util/errors/errors.test.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/common/util/errors/errors.test.ts" + }, + { + "plugin": "@kbn/core-http-browser-internal", + "path": "packages/core/http/core-http-browser-internal/src/http_fetch_error.ts" + }, + { + "plugin": "@kbn/core-http-browser-internal", + "path": "packages/core/http/core-http-browser-internal/src/http_fetch_error.ts" + } + ] }, { "parentPluginId": "@kbn/core-http-browser", @@ -1991,7 +2050,16 @@ "deprecated": true, "removeBy": "8.8.0\n\nNote to maintainers: when looking at usages, mind that typical use could be inside a `catch` block,\nso TS and code-reference navigation might not highlight them.", "trackAdoption": false, - "references": [] + "references": [ + { + "plugin": "@kbn/core-http-browser-internal", + "path": "packages/core/http/core-http-browser-internal/src/http_fetch_error.ts" + }, + { + "plugin": "@kbn/core-http-browser-internal", + "path": "packages/core/http/core-http-browser-internal/src/http_fetch_error.ts" + } + ] }, { "parentPluginId": "@kbn/core-http-browser", diff --git a/api_docs/kbn_core_http_browser.mdx b/api_docs/kbn_core_http_browser.mdx index cf7244de9a991..a9ec6bef339b2 100644 --- a/api_docs/kbn_core_http_browser.mdx +++ b/api_docs/kbn_core_http_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-browser title: "@kbn/core-http-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-browser plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-browser'] --- import kbnCoreHttpBrowserObj from './kbn_core_http_browser.devdocs.json'; diff --git a/api_docs/kbn_core_http_browser_internal.devdocs.json b/api_docs/kbn_core_http_browser_internal.devdocs.json index cc07977158fa0..1bc1f355c68f9 100644 --- a/api_docs/kbn_core_http_browser_internal.devdocs.json +++ b/api_docs/kbn_core_http_browser_internal.devdocs.json @@ -34,7 +34,13 @@ "text": "BasePath" }, " implements ", - "IBasePath" + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.IBasePath", + "text": "IBasePath" + } ], "path": "packages/core/http/core-http-browser-internal/src/base_path.ts", "deprecated": false, diff --git a/api_docs/kbn_core_http_browser_internal.mdx b/api_docs/kbn_core_http_browser_internal.mdx index 73f80c568a445..fbecc415a0882 100644 --- a/api_docs/kbn_core_http_browser_internal.mdx +++ b/api_docs/kbn_core_http_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-browser-internal title: "@kbn/core-http-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-browser-internal plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-browser-internal'] --- import kbnCoreHttpBrowserInternalObj from './kbn_core_http_browser_internal.devdocs.json'; @@ -21,7 +21,7 @@ Contact Kibana Core for questions regarding this plugin. | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 10 | 0 | 10 | 0 | +| 10 | 0 | 10 | 1 | ## Common diff --git a/api_docs/kbn_core_http_browser_mocks.devdocs.json b/api_docs/kbn_core_http_browser_mocks.devdocs.json index 0bd3fb7f7197f..0dd35b3a0b406 100644 --- a/api_docs/kbn_core_http_browser_mocks.devdocs.json +++ b/api_docs/kbn_core_http_browser_mocks.devdocs.json @@ -28,7 +28,13 @@ "description": [], "signature": [ "(message: string, name: string, request: Request, response: Response | undefined, body: TResponseBody | undefined) => ", - "IHttpFetchError", + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.IHttpFetchError", + "text": "IHttpFetchError" + }, "" ], "path": "packages/core/http/core-http-browser-mocks/src/fetch_error.mock.ts", @@ -127,39 +133,129 @@ "description": [], "signature": [ "{ basePath: ", - "IBasePath", + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.IBasePath", + "text": "IBasePath" + }, "; anonymousPaths: ", - "IAnonymousPaths", + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.IAnonymousPaths", + "text": "IAnonymousPaths" + }, "; externalUrl: ", - "IExternalUrl", + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.IExternalUrl", + "text": "IExternalUrl" + }, "; intercept: jest.MockInstance<() => void, [interceptor: ", - "HttpInterceptor", + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpInterceptor", + "text": "HttpInterceptor" + }, "]>; fetch: jest.MockInstance, [options: ", - "HttpFetchOptionsWithPath", + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpFetchOptionsWithPath", + "text": "HttpFetchOptionsWithPath" + }, "]>; delete: jest.MockInstance, [options: ", - "HttpFetchOptionsWithPath", + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpFetchOptionsWithPath", + "text": "HttpFetchOptionsWithPath" + }, "]>; get: jest.MockInstance, [options: ", - "HttpFetchOptionsWithPath", + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpFetchOptionsWithPath", + "text": "HttpFetchOptionsWithPath" + }, "]>; head: jest.MockInstance, [options: ", - "HttpFetchOptionsWithPath", + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpFetchOptionsWithPath", + "text": "HttpFetchOptionsWithPath" + }, "]>; options: jest.MockInstance, [options: ", - "HttpFetchOptionsWithPath", + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpFetchOptionsWithPath", + "text": "HttpFetchOptionsWithPath" + }, "]>; patch: jest.MockInstance, [options: ", - "HttpFetchOptionsWithPath", + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpFetchOptionsWithPath", + "text": "HttpFetchOptionsWithPath" + }, "]>; post: jest.MockInstance, [options: ", - "HttpFetchOptionsWithPath", + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpFetchOptionsWithPath", + "text": "HttpFetchOptionsWithPath" + }, "]>; put: jest.MockInstance, [options: ", - "HttpFetchOptionsWithPath", + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpFetchOptionsWithPath", + "text": "HttpFetchOptionsWithPath" + }, "]>; addLoadingCountSource: jest.MockInstance]>; getLoadingCount$: jest.MockInstance<", "Observable", ", []>; } & ", - "HttpSetup", + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpSetup", + "text": "HttpSetup" + }, " & { basePath: ", - "BasePath", + { + "pluginId": "@kbn/core-http-browser-internal", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserInternalPluginApi", + "section": "def-common.BasePath", + "text": "BasePath" + }, "; anonymousPaths: jest.Mocked<", - "IAnonymousPaths", + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.IAnonymousPaths", + "text": "IAnonymousPaths" + }, ">; }" ], "path": "packages/core/http/core-http-browser-mocks/src/http_service.mock.ts", @@ -189,7 +285,13 @@ "description": [], "signature": [ "({ basePath }?: { basePath?: string | undefined; }) => jest.Mocked<", - "PublicMethodsOf", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.PublicMethodsOf", + "text": "PublicMethodsOf" + }, "<", "HttpService", ">>" @@ -300,7 +402,13 @@ "description": [], "signature": [ "({ publicBaseUrl, serverBasePath, }?: { publicBaseUrl?: string | undefined; serverBasePath?: string | undefined; }) => jest.Mocked<", - "IBasePath", + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.IBasePath", + "text": "IBasePath" + }, ">" ], "path": "packages/core/http/core-http-browser-mocks/src/http_service.mock.ts", diff --git a/api_docs/kbn_core_http_browser_mocks.mdx b/api_docs/kbn_core_http_browser_mocks.mdx index 20e46abe43468..c68f30baaf23d 100644 --- a/api_docs/kbn_core_http_browser_mocks.mdx +++ b/api_docs/kbn_core_http_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-browser-mocks title: "@kbn/core-http-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-browser-mocks plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-browser-mocks'] --- import kbnCoreHttpBrowserMocksObj from './kbn_core_http_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_http_common.mdx b/api_docs/kbn_core_http_common.mdx index 51306915126ab..9731f5466a03d 100644 --- a/api_docs/kbn_core_http_common.mdx +++ b/api_docs/kbn_core_http_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-common title: "@kbn/core-http-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-common plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-common'] --- import kbnCoreHttpCommonObj from './kbn_core_http_common.devdocs.json'; diff --git a/api_docs/kbn_core_http_context_server_mocks.devdocs.json b/api_docs/kbn_core_http_context_server_mocks.devdocs.json index 94f515060dfb9..1c09edc8d986e 100644 --- a/api_docs/kbn_core_http_context_server_mocks.devdocs.json +++ b/api_docs/kbn_core_http_context_server_mocks.devdocs.json @@ -23,25 +23,85 @@ "description": [], "signature": [ "{ registerContext: jest.MockInstance<", - "IContextContainer", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IContextContainer", + "text": "IContextContainer" + }, ", [pluginOpaqueId: symbol, contextName: \"resolve\", provider: ", - "IContextProvider", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IContextProvider", + "text": "IContextProvider" + }, "<", - "RequestHandlerContextBase", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.RequestHandlerContextBase", + "text": "RequestHandlerContextBase" + }, ", \"resolve\">]>; createHandler: jest.MockInstance<(request: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ", response: ", - "KibanaResponseFactory", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaResponseFactory", + "text": "KibanaResponseFactory" + }, ") => Promise<", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, ">, [pluginOpaqueId: symbol, handler: ", - "RequestHandler", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.RequestHandler", + "text": "RequestHandler" + }, "]>; } & ", - "IContextContainer" + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IContextContainer", + "text": "IContextContainer" + } ], "path": "packages/core/http/core-http-context-server-mocks/src/context_container.mock.ts", "deprecated": false, diff --git a/api_docs/kbn_core_http_context_server_mocks.mdx b/api_docs/kbn_core_http_context_server_mocks.mdx index 4138256bb659f..f00f8012cfe98 100644 --- a/api_docs/kbn_core_http_context_server_mocks.mdx +++ b/api_docs/kbn_core_http_context_server_mocks.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-http-context-server-mocks plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-context-server-mocks'] --- import kbnCoreHttpContextServerMocksObj from './kbn_core_http_context_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_http_request_handler_context_server.devdocs.json b/api_docs/kbn_core_http_request_handler_context_server.devdocs.json index ebf6567c0a8b4..bc823ae2e23be 100644 --- a/api_docs/kbn_core_http_request_handler_context_server.devdocs.json +++ b/api_docs/kbn_core_http_request_handler_context_server.devdocs.json @@ -33,7 +33,13 @@ "label": "savedObjects", "description": [], "signature": [ - "SavedObjectsRequestHandlerContext" + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsRequestHandlerContext", + "text": "SavedObjectsRequestHandlerContext" + } ], "path": "packages/core/http/core-http-request-handler-context-server/src/request_handler_context.ts", "deprecated": false, @@ -47,7 +53,13 @@ "label": "elasticsearch", "description": [], "signature": [ - "ElasticsearchRequestHandlerContext" + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.ElasticsearchRequestHandlerContext", + "text": "ElasticsearchRequestHandlerContext" + } ], "path": "packages/core/http/core-http-request-handler-context-server/src/request_handler_context.ts", "deprecated": false, @@ -61,7 +73,13 @@ "label": "uiSettings", "description": [], "signature": [ - "UiSettingsRequestHandlerContext" + { + "pluginId": "@kbn/core-ui-settings-server", + "scope": "server", + "docId": "kibKbnCoreUiSettingsServerPluginApi", + "section": "def-server.UiSettingsRequestHandlerContext", + "text": "UiSettingsRequestHandlerContext" + } ], "path": "packages/core/http/core-http-request-handler-context-server/src/request_handler_context.ts", "deprecated": false, @@ -75,7 +93,13 @@ "label": "deprecations", "description": [], "signature": [ - "DeprecationsRequestHandlerContext" + { + "pluginId": "@kbn/core-deprecations-server", + "scope": "server", + "docId": "kibKbnCoreDeprecationsServerPluginApi", + "section": "def-server.DeprecationsRequestHandlerContext", + "text": "DeprecationsRequestHandlerContext" + } ], "path": "packages/core/http/core-http-request-handler-context-server/src/request_handler_context.ts", "deprecated": false, @@ -134,7 +158,13 @@ "text": "PrebootRequestHandlerContext" }, " extends ", - "RequestHandlerContextBase" + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.RequestHandlerContextBase", + "text": "RequestHandlerContextBase" + } ], "path": "packages/core/http/core-http-request-handler-context-server/src/preboot_request_handler_context.ts", "deprecated": false, @@ -184,7 +214,13 @@ "label": "client", "description": [], "signature": [ - "IUiSettingsClient" + { + "pluginId": "@kbn/core-ui-settings-server", + "scope": "server", + "docId": "kibKbnCoreUiSettingsServerPluginApi", + "section": "def-server.IUiSettingsClient", + "text": "IUiSettingsClient" + } ], "path": "packages/core/http/core-http-request-handler-context-server/src/preboot_request_handler_context.ts", "deprecated": false, @@ -211,7 +247,13 @@ "text": "RequestHandlerContext" }, " extends ", - "RequestHandlerContextBase" + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.RequestHandlerContextBase", + "text": "RequestHandlerContextBase" + } ], "path": "packages/core/http/core-http-request-handler-context-server/src/request_handler_context.ts", "deprecated": false, diff --git a/api_docs/kbn_core_http_request_handler_context_server.mdx b/api_docs/kbn_core_http_request_handler_context_server.mdx index c84c3aaa95fb9..c055462d60edf 100644 --- a/api_docs/kbn_core_http_request_handler_context_server.mdx +++ b/api_docs/kbn_core_http_request_handler_context_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-request-handler-context-server title: "@kbn/core-http-request-handler-context-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-request-handler-context-server plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-request-handler-context-server'] --- import kbnCoreHttpRequestHandlerContextServerObj from './kbn_core_http_request_handler_context_server.devdocs.json'; diff --git a/api_docs/kbn_core_http_resources_server.devdocs.json b/api_docs/kbn_core_http_resources_server.devdocs.json index bc5b87b070efc..7e6561fb56e57 100644 --- a/api_docs/kbn_core_http_resources_server.devdocs.json +++ b/api_docs/kbn_core_http_resources_server.devdocs.json @@ -36,11 +36,29 @@ ], "signature": [ "(route: ", - "RouteConfig", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.RouteConfig", + "text": "RouteConfig" + }, ", handler: ", { "pluginId": "@kbn/core-http-resources-server", @@ -63,7 +81,13 @@ "label": "route", "description": [], "signature": [ - "RouteConfig", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.RouteConfig", + "text": "RouteConfig" + }, "" ], "path": "packages/core/http/core-http-resources-server/src/types.ts", @@ -122,7 +146,13 @@ "\nHTTP Headers with additional information about response." ], "signature": [ - "ResponseHeaders", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.ResponseHeaders", + "text": "ResponseHeaders" + }, " | undefined" ], "path": "packages/core/http/core-http-resources-server/src/types.ts", @@ -164,7 +194,13 @@ "text": "HttpResourcesRenderOptions" }, " | undefined) => Promise<", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, ">" ], "path": "packages/core/http/core-http-resources-server/src/types.ts", @@ -215,7 +251,13 @@ "text": "HttpResourcesRenderOptions" }, " | undefined) => Promise<", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, ">" ], "path": "packages/core/http/core-http-resources-server/src/types.ts", @@ -258,9 +300,21 @@ ], "signature": [ "(options: ", - "HttpResponseOptions", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.HttpResponseOptions", + "text": "HttpResponseOptions" + }, ") => ", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, "" ], "path": "packages/core/http/core-http-resources-server/src/types.ts", @@ -275,7 +329,13 @@ "label": "options", "description": [], "signature": [ - "HttpResponseOptions" + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.HttpResponseOptions", + "text": "HttpResponseOptions" + } ], "path": "packages/core/http/core-http-resources-server/src/types.ts", "deprecated": false, @@ -296,9 +356,21 @@ ], "signature": [ "(options: ", - "HttpResponseOptions", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.HttpResponseOptions", + "text": "HttpResponseOptions" + }, ") => ", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, "" ], "path": "packages/core/http/core-http-resources-server/src/types.ts", @@ -313,7 +385,13 @@ "label": "options", "description": [], "signature": [ - "HttpResponseOptions" + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.HttpResponseOptions", + "text": "HttpResponseOptions" + } ], "path": "packages/core/http/core-http-resources-server/src/types.ts", "deprecated": false, @@ -334,9 +412,21 @@ ], "signature": [ "(options: ", - "HttpResponseOptions", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.HttpResponseOptions", + "text": "HttpResponseOptions" + }, ") => ", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, "" ], "path": "packages/core/http/core-http-resources-server/src/types.ts", @@ -351,7 +441,13 @@ "label": "options", "description": [], "signature": [ - "HttpResponseOptions" + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.HttpResponseOptions", + "text": "HttpResponseOptions" + } ], "path": "packages/core/http/core-http-resources-server/src/types.ts", "deprecated": false, @@ -378,21 +474,63 @@ ], "signature": [ "(context: Context, request: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ", response: ", - "KibanaSuccessResponseFactory", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaSuccessResponseFactory", + "text": "KibanaSuccessResponseFactory" + }, " & ", - "KibanaRedirectionResponseFactory", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRedirectionResponseFactory", + "text": "KibanaRedirectionResponseFactory" + }, " & ", - "KibanaErrorResponseFactory", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaErrorResponseFactory", + "text": "KibanaErrorResponseFactory" + }, " & { custom | Error | ", "Stream", " | Buffer | { message: string | Error; attributes?: ", - "ResponseErrorAttributes", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.ResponseErrorAttributes", + "text": "ResponseErrorAttributes" + }, " | undefined; } | undefined>(options: ", - "CustomHttpResponseOptions", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.CustomHttpResponseOptions", + "text": "CustomHttpResponseOptions" + }, "): ", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, "; } & ", { "pluginId": "@kbn/core-http-resources-server", @@ -402,9 +540,21 @@ "text": "HttpResourcesServiceToolkit" }, ") => ", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, " | Promise<", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, ">" ], "path": "packages/core/http/core-http-resources-server/src/types.ts", @@ -424,7 +574,7 @@ "signature": [ "Context" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/request_handler.ts", "deprecated": false, "trackAdoption": false }, @@ -438,10 +588,16 @@ "{@link KibanaRequest } - object containing information about requested resource,\nsuch as path, method, headers, parameters, query, body, etc." ], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/request_handler.ts", "deprecated": false, "trackAdoption": false }, @@ -457,7 +613,7 @@ "signature": [ "ResponseFactory" ], - "path": "node_modules/@types/kbn__core-http-server/index.d.ts", + "path": "packages/core/http/core-http-server/src/router/request_handler.ts", "deprecated": false, "trackAdoption": false } @@ -474,7 +630,13 @@ "\nHTTP Resources response parameters" ], "signature": [ - "HttpResponseOptions" + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.HttpResponseOptions", + "text": "HttpResponseOptions" + } ], "path": "packages/core/http/core-http-resources-server/src/types.ts", "deprecated": false, diff --git a/api_docs/kbn_core_http_resources_server.mdx b/api_docs/kbn_core_http_resources_server.mdx index 3092451425afe..2abb55fff10ab 100644 --- a/api_docs/kbn_core_http_resources_server.mdx +++ b/api_docs/kbn_core_http_resources_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-resources-server title: "@kbn/core-http-resources-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-resources-server plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-resources-server'] --- import kbnCoreHttpResourcesServerObj from './kbn_core_http_resources_server.devdocs.json'; diff --git a/api_docs/kbn_core_http_resources_server_internal.devdocs.json b/api_docs/kbn_core_http_resources_server_internal.devdocs.json index fae7163d58b82..4fe3811d674d6 100644 --- a/api_docs/kbn_core_http_resources_server_internal.devdocs.json +++ b/api_docs/kbn_core_http_resources_server_internal.devdocs.json @@ -78,11 +78,29 @@ "(deps: ", "PrebootDeps", ") => { createRegistrar: (router: ", - "IRouter", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IRouter", + "text": "IRouter" + }, "<", - "RequestHandlerContext", + { + "pluginId": "@kbn/core-http-request-handler-context-server", + "scope": "server", + "docId": "kibKbnCoreHttpRequestHandlerContextServerPluginApi", + "section": "def-server.RequestHandlerContext", + "text": "RequestHandlerContext" + }, ">) => ", - "HttpResources", + { + "pluginId": "@kbn/core-http-resources-server", + "scope": "server", + "docId": "kibKbnCoreHttpResourcesServerPluginApi", + "section": "def-server.HttpResources", + "text": "HttpResources" + }, "; }" ], "path": "packages/core/http/core-http-resources-server-internal/src/http_resources_service.ts", @@ -118,11 +136,29 @@ "(deps: ", "SetupDeps", ") => { createRegistrar: (router: ", - "IRouter", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IRouter", + "text": "IRouter" + }, "<", - "RequestHandlerContext", + { + "pluginId": "@kbn/core-http-request-handler-context-server", + "scope": "server", + "docId": "kibKbnCoreHttpRequestHandlerContextServerPluginApi", + "section": "def-server.RequestHandlerContext", + "text": "RequestHandlerContext" + }, ">) => ", - "HttpResources", + { + "pluginId": "@kbn/core-http-resources-server", + "scope": "server", + "docId": "kibKbnCoreHttpResourcesServerPluginApi", + "section": "def-server.HttpResources", + "text": "HttpResources" + }, "; }" ], "path": "packages/core/http/core-http-resources-server-internal/src/http_resources_service.ts", diff --git a/api_docs/kbn_core_http_resources_server_internal.mdx b/api_docs/kbn_core_http_resources_server_internal.mdx index aeb7751cc002c..4ef4feaf099f6 100644 --- a/api_docs/kbn_core_http_resources_server_internal.mdx +++ b/api_docs/kbn_core_http_resources_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-resources-server-internal title: "@kbn/core-http-resources-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-resources-server-internal plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-resources-server-internal'] --- import kbnCoreHttpResourcesServerInternalObj from './kbn_core_http_resources_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_http_resources_server_mocks.devdocs.json b/api_docs/kbn_core_http_resources_server_mocks.devdocs.json index edc6ab2842489..4c38ef17466c9 100644 --- a/api_docs/kbn_core_http_resources_server_mocks.devdocs.json +++ b/api_docs/kbn_core_http_resources_server_mocks.devdocs.json @@ -23,25 +23,73 @@ "description": [], "signature": [ "{ setup: jest.MockInstance<{ createRegistrar: (router: ", - "IRouter", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IRouter", + "text": "IRouter" + }, "<", - "RequestHandlerContext", + { + "pluginId": "@kbn/core-http-request-handler-context-server", + "scope": "server", + "docId": "kibKbnCoreHttpRequestHandlerContextServerPluginApi", + "section": "def-server.RequestHandlerContext", + "text": "RequestHandlerContext" + }, ">) => ", - "HttpResources", + { + "pluginId": "@kbn/core-http-resources-server", + "scope": "server", + "docId": "kibKbnCoreHttpResourcesServerPluginApi", + "section": "def-server.HttpResources", + "text": "HttpResources" + }, "; }, [deps: ", "SetupDeps", "]>; start: jest.MockInstance; stop: jest.MockInstance; preboot: jest.MockInstance<{ createRegistrar: (router: ", - "IRouter", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IRouter", + "text": "IRouter" + }, "<", - "RequestHandlerContext", + { + "pluginId": "@kbn/core-http-request-handler-context-server", + "scope": "server", + "docId": "kibKbnCoreHttpRequestHandlerContextServerPluginApi", + "section": "def-server.RequestHandlerContext", + "text": "RequestHandlerContext" + }, ">) => ", - "HttpResources", + { + "pluginId": "@kbn/core-http-resources-server", + "scope": "server", + "docId": "kibKbnCoreHttpResourcesServerPluginApi", + "section": "def-server.HttpResources", + "text": "HttpResources" + }, "; }, [deps: ", "PrebootDeps", "]>; } & ", - "PublicMethodsOf", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.PublicMethodsOf", + "text": "PublicMethodsOf" + }, "<", - "HttpResourcesService", + { + "pluginId": "@kbn/core-http-resources-server-internal", + "scope": "server", + "docId": "kibKbnCoreHttpResourcesServerInternalPluginApi", + "section": "def-server.HttpResourcesService", + "text": "HttpResourcesService" + }, ">" ], "path": "packages/core/http/core-http-resources-server-mocks/src/http_resources_server.mock.ts", @@ -94,7 +142,13 @@ "description": [], "signature": [ "() => jest.Mocked<", - "HttpResources", + { + "pluginId": "@kbn/core-http-resources-server", + "scope": "server", + "docId": "kibKbnCoreHttpResourcesServerPluginApi", + "section": "def-server.HttpResources", + "text": "HttpResources" + }, ">" ], "path": "packages/core/http/core-http-resources-server-mocks/src/http_resources_server.mock.ts", @@ -112,7 +166,13 @@ "description": [], "signature": [ "() => { createRegistrar: jest.Mock, []>; }" ], "path": "packages/core/http/core-http-resources-server-mocks/src/http_resources_server.mock.ts", @@ -130,7 +190,13 @@ "description": [], "signature": [ "() => { createRegistrar: jest.Mock, []>; }" ], "path": "packages/core/http/core-http-resources-server-mocks/src/http_resources_server.mock.ts", @@ -148,149 +214,557 @@ "description": [], "signature": [ "() => { renderCoreApp: jest.MockInstance>, [options?: ", - "HttpResourcesRenderOptions", + { + "pluginId": "@kbn/core-http-resources-server", + "scope": "server", + "docId": "kibKbnCoreHttpResourcesServerPluginApi", + "section": "def-server.HttpResourcesRenderOptions", + "text": "HttpResourcesRenderOptions" + }, " | undefined]> & ((options?: ", - "HttpResourcesRenderOptions", + { + "pluginId": "@kbn/core-http-resources-server", + "scope": "server", + "docId": "kibKbnCoreHttpResourcesServerPluginApi", + "section": "def-server.HttpResourcesRenderOptions", + "text": "HttpResourcesRenderOptions" + }, " | undefined) => Promise<", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, ">); renderAnonymousCoreApp: jest.MockInstance>, [options?: ", - "HttpResourcesRenderOptions", + { + "pluginId": "@kbn/core-http-resources-server", + "scope": "server", + "docId": "kibKbnCoreHttpResourcesServerPluginApi", + "section": "def-server.HttpResourcesRenderOptions", + "text": "HttpResourcesRenderOptions" + }, " | undefined]> & ((options?: ", - "HttpResourcesRenderOptions", + { + "pluginId": "@kbn/core-http-resources-server", + "scope": "server", + "docId": "kibKbnCoreHttpResourcesServerPluginApi", + "section": "def-server.HttpResourcesRenderOptions", + "text": "HttpResourcesRenderOptions" + }, " | undefined) => Promise<", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, ">); renderHtml: jest.MockInstance<", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, ", [options: ", - "HttpResponseOptions", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.HttpResponseOptions", + "text": "HttpResponseOptions" + }, "]> & ((options: ", - "HttpResponseOptions", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.HttpResponseOptions", + "text": "HttpResponseOptions" + }, ") => ", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, "); renderJs: jest.MockInstance<", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, ", [options: ", - "HttpResponseOptions", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.HttpResponseOptions", + "text": "HttpResponseOptions" + }, "]> & ((options: ", - "HttpResponseOptions", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.HttpResponseOptions", + "text": "HttpResponseOptions" + }, ") => ", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, "); renderCss: jest.MockInstance<", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, ", [options: ", - "HttpResponseOptions", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.HttpResponseOptions", + "text": "HttpResponseOptions" + }, "]> & ((options: ", - "HttpResponseOptions", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.HttpResponseOptions", + "text": "HttpResponseOptions" + }, ") => ", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, "); ok: jest.MockInstance<", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, ", [options?: ", - "HttpResponseOptions", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.HttpResponseOptions", + "text": "HttpResponseOptions" + }, " | undefined]> & ((options?: ", - "HttpResponseOptions", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.HttpResponseOptions", + "text": "HttpResponseOptions" + }, " | undefined) => ", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, "); accepted: jest.MockInstance<", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, ", [options?: ", - "HttpResponseOptions", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.HttpResponseOptions", + "text": "HttpResponseOptions" + }, " | undefined]> & ((options?: ", - "HttpResponseOptions", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.HttpResponseOptions", + "text": "HttpResponseOptions" + }, " | undefined) => ", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, "); noContent: jest.MockInstance<", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, ", [options?: ", - "HttpResponseOptions", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.HttpResponseOptions", + "text": "HttpResponseOptions" + }, " | undefined]> & ((options?: ", - "HttpResponseOptions", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.HttpResponseOptions", + "text": "HttpResponseOptions" + }, " | undefined) => ", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, "); redirected: jest.MockInstance<", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, ", [options: ", - "RedirectResponseOptions", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.RedirectResponseOptions", + "text": "RedirectResponseOptions" + }, "]> & ((options: ", - "RedirectResponseOptions", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.RedirectResponseOptions", + "text": "RedirectResponseOptions" + }, ") => ", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, "); badRequest: jest.MockInstance<", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, ", [options?: ", - "ErrorHttpResponseOptions", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.ErrorHttpResponseOptions", + "text": "ErrorHttpResponseOptions" + }, " | undefined]> & ((options?: ", - "ErrorHttpResponseOptions", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.ErrorHttpResponseOptions", + "text": "ErrorHttpResponseOptions" + }, " | undefined) => ", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, "); unauthorized: jest.MockInstance<", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, ", [options?: ", - "ErrorHttpResponseOptions", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.ErrorHttpResponseOptions", + "text": "ErrorHttpResponseOptions" + }, " | undefined]> & ((options?: ", - "ErrorHttpResponseOptions", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.ErrorHttpResponseOptions", + "text": "ErrorHttpResponseOptions" + }, " | undefined) => ", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, "); forbidden: jest.MockInstance<", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, ", [options?: ", - "ErrorHttpResponseOptions", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.ErrorHttpResponseOptions", + "text": "ErrorHttpResponseOptions" + }, " | undefined]> & ((options?: ", - "ErrorHttpResponseOptions", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.ErrorHttpResponseOptions", + "text": "ErrorHttpResponseOptions" + }, " | undefined) => ", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, "); notFound: jest.MockInstance<", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, ", [options?: ", - "ErrorHttpResponseOptions", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.ErrorHttpResponseOptions", + "text": "ErrorHttpResponseOptions" + }, " | undefined]> & ((options?: ", - "ErrorHttpResponseOptions", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.ErrorHttpResponseOptions", + "text": "ErrorHttpResponseOptions" + }, " | undefined) => ", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, "); conflict: jest.MockInstance<", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, ", [options?: ", - "ErrorHttpResponseOptions", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.ErrorHttpResponseOptions", + "text": "ErrorHttpResponseOptions" + }, " | undefined]> & ((options?: ", - "ErrorHttpResponseOptions", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.ErrorHttpResponseOptions", + "text": "ErrorHttpResponseOptions" + }, " | undefined) => ", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, "); customError: jest.MockInstance<", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, ", [options: ", - "CustomHttpResponseOptions", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.CustomHttpResponseOptions", + "text": "CustomHttpResponseOptions" + }, "<", "Stream", " | Buffer | ", - "ResponseError", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.ResponseError", + "text": "ResponseError" + }, ">]> & ((options: ", - "CustomHttpResponseOptions", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.CustomHttpResponseOptions", + "text": "CustomHttpResponseOptions" + }, "<", "Stream", " | Buffer | ", - "ResponseError", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.ResponseError", + "text": "ResponseError" + }, ">) => ", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, "); custom: jest.MockInstance<", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, ", [options: ", - "CustomHttpResponseOptions", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.CustomHttpResponseOptions", + "text": "CustomHttpResponseOptions" + }, " | Error | ", "Stream", " | Buffer | { message: string | Error; attributes?: ", - "ResponseErrorAttributes", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.ResponseErrorAttributes", + "text": "ResponseErrorAttributes" + }, " | undefined; } | undefined>]> & ( | Error | ", "Stream", " | Buffer | { message: string | Error; attributes?: ", - "ResponseErrorAttributes", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.ResponseErrorAttributes", + "text": "ResponseErrorAttributes" + }, " | undefined; } | undefined>(options: ", - "CustomHttpResponseOptions", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.CustomHttpResponseOptions", + "text": "CustomHttpResponseOptions" + }, ") => ", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, "); }" ], "path": "packages/core/http/core-http-resources-server-mocks/src/http_resources_server.mock.ts", diff --git a/api_docs/kbn_core_http_resources_server_mocks.mdx b/api_docs/kbn_core_http_resources_server_mocks.mdx index ff8d71d477a68..190ded14602e4 100644 --- a/api_docs/kbn_core_http_resources_server_mocks.mdx +++ b/api_docs/kbn_core_http_resources_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-resources-server-mocks title: "@kbn/core-http-resources-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-resources-server-mocks plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-resources-server-mocks'] --- import kbnCoreHttpResourcesServerMocksObj from './kbn_core_http_resources_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_http_router_server_internal.devdocs.json b/api_docs/kbn_core_http_router_server_internal.devdocs.json index 4ff063af1f90d..c8660a33d0e99 100644 --- a/api_docs/kbn_core_http_router_server_internal.devdocs.json +++ b/api_docs/kbn_core_http_router_server_internal.devdocs.json @@ -157,9 +157,21 @@ "description": [], "signature": [ "(headers: ", - "Headers", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.Headers", + "text": "Headers" + }, ", fieldsToKeep: string[], fieldsToExclude: string[]) => ", - "Headers" + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.Headers", + "text": "Headers" + } ], "path": "packages/core/http/core-http-router-server-internal/src/headers.ts", "deprecated": false, @@ -173,7 +185,13 @@ "label": "headers", "description": [], "signature": [ - "Headers" + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.Headers", + "text": "Headers" + } ], "path": "packages/core/http/core-http-router-server-internal/src/headers.ts", "deprecated": false, @@ -256,7 +274,13 @@ "description": [], "signature": [ "(method: ", - "RouteMethod", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.RouteMethod", + "text": "RouteMethod" + }, ") => boolean" ], "path": "packages/core/http/core-http-router-server-internal/src/route.ts", @@ -271,7 +295,13 @@ "label": "method", "description": [], "signature": [ - "RouteMethod" + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.RouteMethod", + "text": "RouteMethod" + } ], "path": "packages/core/http/core-http-router-server-internal/src/route.ts", "deprecated": false, @@ -351,9 +381,21 @@ " | Error | ", "Stream", " | Buffer | { message: string | Error; attributes?: ", - "ResponseErrorAttributes", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.ResponseErrorAttributes", + "text": "ResponseErrorAttributes" + }, " | undefined; } | undefined>(options: ", - "CustomHttpResponseOptions", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.CustomHttpResponseOptions", + "text": "CustomHttpResponseOptions" + }, ") => ", "KibanaResponse", "" @@ -370,7 +412,13 @@ "label": "options", "description": [], "signature": [ - "CustomHttpResponseOptions", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.CustomHttpResponseOptions", + "text": "CustomHttpResponseOptions" + }, "" ], "path": "packages/core/http/core-http-router-server-internal/src/response.ts", diff --git a/api_docs/kbn_core_http_router_server_internal.mdx b/api_docs/kbn_core_http_router_server_internal.mdx index 928fe9125b26c..17f7a524ba439 100644 --- a/api_docs/kbn_core_http_router_server_internal.mdx +++ b/api_docs/kbn_core_http_router_server_internal.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-http-router-server-internal plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-router-server-internal'] --- import kbnCoreHttpRouterServerInternalObj from './kbn_core_http_router_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_http_router_server_mocks.devdocs.json b/api_docs/kbn_core_http_router_server_mocks.devdocs.json index 1dfa09a953f90..30d2905d9bce4 100644 --- a/api_docs/kbn_core_http_router_server_mocks.devdocs.json +++ b/api_docs/kbn_core_http_router_server_mocks.devdocs.json @@ -23,55 +23,205 @@ "description": [], "signature": [ "{ routerPath: string; get: jest.MockInstance, handler: ", - "RequestHandler", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.RequestHandler", + "text": "RequestHandler" + }, "]>; post: jest.MockInstance, handler: ", - "RequestHandler", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.RequestHandler", + "text": "RequestHandler" + }, "]>; put: jest.MockInstance, handler: ", - "RequestHandler", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.RequestHandler", + "text": "RequestHandler" + }, "]>; patch: jest.MockInstance, handler: ", - "RequestHandler", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.RequestHandler", + "text": "RequestHandler" + }, "]>; delete: jest.MockInstance, handler: ", - "RequestHandler", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.RequestHandler", + "text": "RequestHandler" + }, "]>; handleLegacyErrors: jest.MockInstance<", - "RequestHandler", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.RequestHandler", + "text": "RequestHandler" + }, ", [handler: ", - "RequestHandler", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.RequestHandler", + "text": "RequestHandler" + }, "]>; getRoutes: jest.MockInstance<", - "RouterRoute", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.RouterRoute", + "text": "RouterRoute" + }, "[], []>; } & ", - "IRouter", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IRouter", + "text": "IRouter" + }, "" ], "path": "packages/core/http/core-http-router-server-mocks/src/router.mock.ts", @@ -141,7 +291,13 @@ "

({ path, headers, params, body, query, method, socket, routeTags, routeAuthRequired, validation, kibanaRouteOptions, kibanaRequestState, auth, }?: ", "RequestFixtureOptions", ") => ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "" ], "path": "packages/core/http/core-http-router-server-mocks/src/router.mock.ts", @@ -175,7 +331,13 @@ "description": [], "signature": [ "() => jest.Mocked<", - "KibanaResponseFactory", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaResponseFactory", + "text": "KibanaResponseFactory" + }, ">" ], "path": "packages/core/http/core-http-router-server-mocks/src/router.mock.ts", diff --git a/api_docs/kbn_core_http_router_server_mocks.mdx b/api_docs/kbn_core_http_router_server_mocks.mdx index ae17e38eab58d..687b1999b4464 100644 --- a/api_docs/kbn_core_http_router_server_mocks.mdx +++ b/api_docs/kbn_core_http_router_server_mocks.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-http-router-server-mocks plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-router-server-mocks'] --- import kbnCoreHttpRouterServerMocksObj from './kbn_core_http_router_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_http_server.devdocs.json b/api_docs/kbn_core_http_server.devdocs.json index 2fdd0ff9d2a33..67d50befff8cf 100644 --- a/api_docs/kbn_core_http_server.devdocs.json +++ b/api_docs/kbn_core_http_server.devdocs.json @@ -28,7 +28,13 @@ "text": "RouteValidationError" }, " extends ", - "SchemaTypeError" + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.SchemaTypeError", + "text": "SchemaTypeError" + } ], "path": "packages/core/http/core-http-server/src/router/route_validator.ts", "deprecated": false, @@ -2322,7 +2328,13 @@ "\nA set of policies describing which external urls are allowed." ], "signature": [ - "IExternalUrlPolicy", + { + "pluginId": "@kbn/core-http-common", + "scope": "common", + "docId": "kibKbnCoreHttpCommonPluginApi", + "section": "def-common.IExternalUrlPolicy", + "text": "IExternalUrlPolicy" + }, "[]" ], "path": "packages/core/http/core-http-server/src/external_url.ts", @@ -4229,9 +4241,21 @@ ], "signature": [ "{ readonly path: string; readonly method: ", - "RecursiveReadonly", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.RecursiveReadonly", + "text": "RecursiveReadonly" + }, "; readonly options: ", - "RecursiveReadonly", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.RecursiveReadonly", + "text": "RecursiveReadonly" + }, "<", { "pluginId": "@kbn/core-http-server", @@ -5571,7 +5595,13 @@ ], "signature": [ ">(parts: T[]) => Promise<", - "AwaitedProperties", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.AwaitedProperties", + "text": "AwaitedProperties" + }, ">>" ], "path": "packages/core/http/core-http-server/src/router/request_handler_context.ts", @@ -6689,14 +6719,6 @@ "text": "AuthToolkit" }, ") => ", - { - "pluginId": "@kbn/core-http-server", - "scope": "server", - "docId": "kibKbnCoreHttpServerPluginApi", - "section": "def-server.AuthResult", - "text": "AuthResult" - }, - " | ", { "pluginId": "@kbn/core-http-server", "scope": "server", @@ -6704,7 +6726,7 @@ "section": "def-server.IKibanaResponse", "text": "IKibanaResponse" }, - " | Promise<", + " | ", { "pluginId": "@kbn/core-http-server", "scope": "server", @@ -6712,7 +6734,7 @@ "section": "def-server.AuthResult", "text": "AuthResult" }, - " | ", + " | Promise<", { "pluginId": "@kbn/core-http-server", "scope": "server", @@ -6720,7 +6742,15 @@ "section": "def-server.IKibanaResponse", "text": "IKibanaResponse" }, - ">" + " | ", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.AuthResult", + "text": "AuthResult" + }, + ">" ], "path": "packages/core/http/core-http-server/src/lifecycle/auth.ts", "deprecated": false, @@ -7143,7 +7173,13 @@ "text": "KibanaResponseFactory" }, ") => ", - "MaybePromise", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.MaybePromise", + "text": "MaybePromise" + }, ">" ], "path": "packages/core/http/core-http-server/src/router/context_provider.ts", @@ -7639,14 +7675,6 @@ "text": "OnPreAuthToolkit" }, ") => ", - { - "pluginId": "@kbn/core-http-server", - "scope": "server", - "docId": "kibKbnCoreHttpServerPluginApi", - "section": "def-server.OnPreAuthNextResult", - "text": "OnPreAuthNextResult" - }, - " | ", { "pluginId": "@kbn/core-http-server", "scope": "server", @@ -7654,7 +7682,7 @@ "section": "def-server.IKibanaResponse", "text": "IKibanaResponse" }, - " | Promise<", + " | ", { "pluginId": "@kbn/core-http-server", "scope": "server", @@ -7662,7 +7690,7 @@ "section": "def-server.OnPreAuthNextResult", "text": "OnPreAuthNextResult" }, - " | ", + " | Promise<", { "pluginId": "@kbn/core-http-server", "scope": "server", @@ -7670,7 +7698,15 @@ "section": "def-server.IKibanaResponse", "text": "IKibanaResponse" }, - ">" + " | ", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.OnPreAuthNextResult", + "text": "OnPreAuthNextResult" + }, + ">" ], "path": "packages/core/http/core-http-server/src/lifecycle/on_pre_auth.ts", "deprecated": false, @@ -8745,9 +8781,21 @@ "\nAllowed property validation options: either @kbn/config-schema validations or custom validation functions\n\nSee {@link RouteValidationFunction} for custom validation.\n" ], "signature": [ - "ObjectType", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ObjectType", + "text": "ObjectType" + }, " | ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, " | ", { "pluginId": "@kbn/core-http-server", diff --git a/api_docs/kbn_core_http_server.mdx b/api_docs/kbn_core_http_server.mdx index 86ac3707020f1..71ddfe595c300 100644 --- a/api_docs/kbn_core_http_server.mdx +++ b/api_docs/kbn_core_http_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-server title: "@kbn/core-http-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-server plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-server'] --- import kbnCoreHttpServerObj from './kbn_core_http_server.devdocs.json'; diff --git a/api_docs/kbn_core_http_server_internal.devdocs.json b/api_docs/kbn_core_http_server_internal.devdocs.json index d7eec9a8625a8..d4c9428b8a5da 100644 --- a/api_docs/kbn_core_http_server_internal.devdocs.json +++ b/api_docs/kbn_core_http_server_internal.devdocs.json @@ -28,7 +28,13 @@ "text": "CspConfig" }, " implements ", - "ICspConfig" + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.ICspConfig", + "text": "ICspConfig" + } ], "path": "packages/core/http/core-http-server-internal/src/csp/csp_config.ts", "deprecated": false, @@ -133,7 +139,13 @@ "text": "ExternalUrlConfig" }, " implements ", - "IExternalUrlConfig" + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IExternalUrlConfig", + "text": "IExternalUrlConfig" + } ], "path": "packages/core/http/core-http-server-internal/src/external_url/external_url_config.ts", "deprecated": false, @@ -167,7 +179,13 @@ "label": "policy", "description": [], "signature": [ - "IExternalUrlPolicy", + { + "pluginId": "@kbn/core-http-common", + "scope": "common", + "docId": "kibKbnCoreHttpCommonPluginApi", + "section": "def-common.IExternalUrlPolicy", + "text": "IExternalUrlPolicy" + }, "[]" ], "path": "packages/core/http/core-http-server-internal/src/external_url/external_url_config.ts", @@ -193,7 +211,13 @@ "text": "HttpConfig" }, " implements ", - "IHttpConfig" + { + "pluginId": "@kbn/server-http-tools", + "scope": "server", + "docId": "kibKbnServerHttpToolsPluginApi", + "section": "def-server.IHttpConfig", + "text": "IHttpConfig" + } ], "path": "packages/core/http/core-http-server-internal/src/http_config.ts", "deprecated": false, @@ -315,7 +339,13 @@ "label": "maxPayload", "description": [], "signature": [ - "ByteSizeValue" + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ByteSizeValue", + "text": "ByteSizeValue" + } ], "path": "packages/core/http/core-http-server-internal/src/http_config.ts", "deprecated": false, @@ -368,7 +398,13 @@ "label": "ssl", "description": [], "signature": [ - "SslConfig" + { + "pluginId": "@kbn/server-http-tools", + "scope": "server", + "docId": "kibKbnServerHttpToolsPluginApi", + "section": "def-server.SslConfig", + "text": "SslConfig" + } ], "path": "packages/core/http/core-http-server-internal/src/http_config.ts", "deprecated": false, @@ -396,7 +432,13 @@ "label": "csp", "description": [], "signature": [ - "ICspConfig" + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.ICspConfig", + "text": "ICspConfig" + } ], "path": "packages/core/http/core-http-server-internal/src/http_config.ts", "deprecated": false, @@ -410,7 +452,13 @@ "label": "externalUrl", "description": [], "signature": [ - "IExternalUrlConfig" + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IExternalUrlConfig", + "text": "IExternalUrlConfig" + } ], "path": "packages/core/http/core-http-server-internal/src/http_config.ts", "deprecated": false, @@ -494,7 +542,13 @@ "label": "logger", "description": [], "signature": [ - "LoggerFactory" + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.LoggerFactory", + "text": "LoggerFactory" + } ], "path": "packages/core/http/core-http-server-internal/src/http_server.ts", "deprecated": false, @@ -665,13 +719,31 @@ ], "signature": [ "(log: ", - "Logger", + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + }, ", server: ", "Server", ", cookieOptions: ", - "SessionStorageCookieOptions", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.SessionStorageCookieOptions", + "text": "SessionStorageCookieOptions" + }, ", basePath: string | undefined) => Promise<", - "SessionStorageFactory", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.SessionStorageFactory", + "text": "SessionStorageFactory" + }, ">" ], "path": "packages/core/http/core-http-server-internal/src/cookie_session_storage.ts", @@ -686,7 +758,13 @@ "label": "log", "description": [], "signature": [ - "Logger" + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + } ], "path": "packages/core/http/core-http-server-internal/src/cookie_session_storage.ts", "deprecated": false, @@ -720,7 +798,13 @@ "- cookies configuration" ], "signature": [ - "SessionStorageCookieOptions", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.SessionStorageCookieOptions", + "text": "SessionStorageCookieOptions" + }, "" ], "path": "packages/core/http/core-http-server-internal/src/cookie_session_storage.ts", @@ -760,7 +844,13 @@ "description": [], "signature": [ "{ readonly uuid?: string | undefined; readonly basePath?: string | undefined; readonly publicBaseUrl?: string | undefined; readonly name: string; readonly host: string; readonly compression: Readonly<{ referrerWhitelist?: string[] | undefined; } & { enabled: boolean; brotli: Readonly<{} & { enabled: boolean; quality: number; }>; }>; readonly ssl: Readonly<{ key?: string | undefined; certificateAuthorities?: string | string[] | undefined; certificate?: string | undefined; keyPassphrase?: string | undefined; redirectHttpFromPort?: number | undefined; } & { enabled: boolean; keystore: Readonly<{ path?: string | undefined; password?: string | undefined; } & {}>; truststore: Readonly<{ path?: string | undefined; password?: string | undefined; } & {}>; cipherSuites: string[]; supportedProtocols: string[]; clientAuthentication: \"optional\" | \"none\" | \"required\"; }>; readonly port: number; readonly cors: Readonly<{} & { enabled: boolean; allowCredentials: boolean; allowOrigin: string[] | \"*\"[]; }>; readonly autoListen: boolean; readonly shutdownTimeout: moment.Duration; readonly securityResponseHeaders: Readonly<{} & { referrerPolicy: \"origin\" | \"no-referrer\" | \"no-referrer-when-downgrade\" | \"origin-when-cross-origin\" | \"same-origin\" | \"strict-origin\" | \"strict-origin-when-cross-origin\" | \"unsafe-url\" | null; disableEmbedding: boolean; strictTransportSecurity: string | null; xContentTypeOptions: \"nosniff\" | null; permissionsPolicy: string | null; }>; readonly customResponseHeaders: Record; readonly maxPayload: ", - "ByteSizeValue", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ByteSizeValue", + "text": "ByteSizeValue" + }, "; readonly rewriteBasePath: boolean; readonly keepaliveTimeout: number; readonly socketTimeout: number; readonly xsrf: Readonly<{} & { disableProtection: boolean; allowlist: string[]; }>; readonly requestId: Readonly<{} & { allowFromAnyIp: boolean; ipAllowlist: string[]; }>; }" ], "path": "packages/core/http/core-http-server-internal/src/http_config.ts", @@ -802,37 +892,133 @@ "label": "schema", "description": [], "signature": [ - "ObjectType", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ObjectType", + "text": "ObjectType" + }, "<{ disableUnsafeEval: ", - "ConditionalType", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ConditionalType", + "text": "ConditionalType" + }, "; script_src: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; worker_src: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; style_src: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; connect_src: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; default_src: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; font_src: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; frame_src: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; img_src: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; frame_ancestors: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; report_uri: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; report_to: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; strict: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; warnLegacyBrowsers: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; disableEmbedding: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; }>" ], "path": "packages/core/http/core-http-server-internal/src/csp/config.ts", @@ -872,11 +1058,29 @@ "label": "schema", "description": [], "signature": [ - "ObjectType", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ObjectType", + "text": "ObjectType" + }, "<{ policy: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "<", - "IExternalUrlPolicy", + { + "pluginId": "@kbn/core-http-common", + "scope": "common", + "docId": "kibKbnCoreHttpCommonPluginApi", + "section": "def-common.IExternalUrlPolicy", + "text": "IExternalUrlPolicy" + }, "[]>; }>" ], "path": "packages/core/http/core-http-server-internal/src/external_url/config.ts", diff --git a/api_docs/kbn_core_http_server_internal.mdx b/api_docs/kbn_core_http_server_internal.mdx index 53bad37f3f131..f20b25894e8fd 100644 --- a/api_docs/kbn_core_http_server_internal.mdx +++ b/api_docs/kbn_core_http_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-server-internal title: "@kbn/core-http-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-server-internal plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-server-internal'] --- import kbnCoreHttpServerInternalObj from './kbn_core_http_server_internal.devdocs.json'; @@ -21,7 +21,7 @@ Contact Kibana Core for questions regarding this plugin. | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 54 | 0 | 48 | 2 | +| 54 | 0 | 48 | 6 | ## Server diff --git a/api_docs/kbn_core_http_server_mocks.devdocs.json b/api_docs/kbn_core_http_server_mocks.devdocs.json index 262d3311c6d1a..7068d6b65feae 100644 --- a/api_docs/kbn_core_http_server_mocks.devdocs.json +++ b/api_docs/kbn_core_http_server_mocks.devdocs.json @@ -102,17 +102,53 @@ "description": [], "signature": [ "{ registerRoutes: jest.MockInstance) => void]>; basePath: ", - "IBasePath", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IBasePath", + "text": "IBasePath" + }, "; getServerInfo: jest.MockInstance<", - "HttpServerInfo", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.HttpServerInfo", + "text": "HttpServerInfo" + }, ", []>; } & ", - "HttpServicePreboot", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.HttpServicePreboot", + "text": "HttpServicePreboot" + }, "<", - "RequestHandlerContextBase", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.RequestHandlerContextBase", + "text": "RequestHandlerContextBase" + }, ">" ], "path": "packages/core/http/core-http-server-mocks/src/http_service.mock.ts", @@ -129,31 +165,109 @@ "description": [], "signature": [ "{ csp: ", - "ICspConfig", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.ICspConfig", + "text": "ICspConfig" + }, "; registerRouteHandlerContext: jest.MockInstance<", - "IContextContainer", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IContextContainer", + "text": "IContextContainer" + }, ", [contextName: Exclude, provider: ", - "IContextProvider", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IContextProvider", + "text": "IContextProvider" + }, ">]>; getServerInfo: jest.MockInstance<", - "HttpServerInfo", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.HttpServerInfo", + "text": "HttpServerInfo" + }, ", []>; createCookieSessionStorageFactory: jest.MockInstance>, [cookieOptions: ", - "SessionStorageCookieOptions", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.SessionStorageCookieOptions", + "text": "SessionStorageCookieOptions" + }, "]>; registerOnPreRouting: jest.MockInstance; registerOnPreAuth: jest.MockInstance; registerAuth: jest.MockInstance; registerOnPostAuth: jest.MockInstance; registerOnPreResponse: jest.MockInstance; } & Omit<", - "HttpServiceSetup", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.HttpServiceSetup", + "text": "HttpServiceSetup" + }, ", \"createRouter\" | \"basePath\"> & { basePath: BasePathMocked; createRouter: jest.MockedFunction<() => ", - "RouterMock", + { + "pluginId": "@kbn/core-http-router-server-mocks", + "scope": "server", + "docId": "kibKbnCoreHttpRouterServerMocksPluginApi", + "section": "def-server.RouterMock", + "text": "RouterMock" + }, ">; }" ], "path": "packages/core/http/core-http-server-mocks/src/http_service.mock.ts", @@ -170,13 +284,37 @@ "description": [], "signature": [ "{ basePath: ", - "IBasePath", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IBasePath", + "text": "IBasePath" + }, "; auth: ", - "HttpAuth", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.HttpAuth", + "text": "HttpAuth" + }, "; getServerInfo: jest.MockInstance<", - "HttpServerInfo", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.HttpServerInfo", + "text": "HttpServerInfo" + }, ", []>; } & ", - "HttpServiceStart", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.HttpServiceStart", + "text": "HttpServiceStart" + }, " & { basePath: BasePathMocked; }" ], "path": "packages/core/http/core-http-server-mocks/src/http_service.mock.ts", @@ -193,23 +331,71 @@ "description": [], "signature": [ "{ auth: ", - "HttpAuth", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.HttpAuth", + "text": "HttpAuth" + }, "; server: ", "Server", "; externalUrl: ", - "ExternalUrlConfig", + { + "pluginId": "@kbn/core-http-server-internal", + "scope": "server", + "docId": "kibKbnCoreHttpServerInternalPluginApi", + "section": "def-server.ExternalUrlConfig", + "text": "ExternalUrlConfig" + }, "; csp: ", - "ICspConfig", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.ICspConfig", + "text": "ICspConfig" + }, "; registerStaticDir: jest.MockInstance; registerRouteHandlerContext: jest.MockInstance]>; getServerInfo: jest.MockInstance<", - "HttpServerInfo", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.HttpServerInfo", + "text": "HttpServerInfo" + }, ", []>; registerRoutes: jest.MockInstance) => void]>; } & Omit<", "InternalHttpServicePreboot", ", \"basePath\"> & { basePath: BasePathMocked; }" @@ -230,43 +416,151 @@ "{ server: ", "Server", "; externalUrl: ", - "ExternalUrlConfig", + { + "pluginId": "@kbn/core-http-server-internal", + "scope": "server", + "docId": "kibKbnCoreHttpServerInternalPluginApi", + "section": "def-server.ExternalUrlConfig", + "text": "ExternalUrlConfig" + }, "; csp: ", - "ICspConfig", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.ICspConfig", + "text": "ICspConfig" + }, "; registerStaticDir: jest.MockInstance; registerRouteHandlerContext: jest.MockInstance]>; getServerInfo: jest.MockInstance<", - "HttpServerInfo", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.HttpServerInfo", + "text": "HttpServerInfo" + }, ", []>; createCookieSessionStorageFactory: jest.MockInstance>, [cookieOptions: ", - "SessionStorageCookieOptions", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.SessionStorageCookieOptions", + "text": "SessionStorageCookieOptions" + }, "]>; registerOnPreRouting: jest.MockInstance; registerOnPreAuth: jest.MockInstance; registerAuth: jest.MockInstance; registerOnPostAuth: jest.MockInstance; registerOnPreResponse: jest.MockInstance; registerRouterAfterListening: jest.MockInstance]>; registerPrebootRoutes: jest.MockInstance) => void]>; } & Omit<", "InternalHttpServiceSetup", ", \"createRouter\" | \"basePath\" | \"auth\" | \"authRequestHeaders\"> & { auth: AuthMocked; basePath: BasePathMocked; createRouter: jest.MockedFunction<(path: string) => ", - "RouterMock", + { + "pluginId": "@kbn/core-http-router-server-mocks", + "scope": "server", + "docId": "kibKbnCoreHttpRouterServerMocksPluginApi", + "section": "def-server.RouterMock", + "text": "RouterMock" + }, ">; authRequestHeaders: jest.Mocked<", - "IAuthHeadersStorage", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IAuthHeadersStorage", + "text": "IAuthHeadersStorage" + }, ">; }" ], "path": "packages/core/http/core-http-server-mocks/src/http_service.mock.ts", @@ -283,11 +577,29 @@ "description": [], "signature": [ "{ isListening: jest.MockInstance; basePath: ", - "IBasePath", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IBasePath", + "text": "IBasePath" + }, "; auth: ", - "HttpAuth", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.HttpAuth", + "text": "HttpAuth" + }, "; getServerInfo: jest.MockInstance<", - "HttpServerInfo", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.HttpServerInfo", + "text": "HttpServerInfo" + }, ", []>; } & ", "InternalHttpServiceStart", " & { basePath: BasePathMocked; }" @@ -320,8 +632,14 @@ "signature": [ "

({ path, headers, params, body, query, method, socket, routeTags, routeAuthRequired, validation, kibanaRouteOptions, kibanaRequestState, auth, }?: ", "RequestFixtureOptions", - " | undefined) => ", - "KibanaRequest", + ") => ", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "" ], "path": "packages/core/http/core-http-server-mocks/src/http_server.mocks.ts", @@ -338,9 +656,9 @@ "description": [], "signature": [ "RequestFixtureOptions", - " | undefined" + "" ], - "path": "node_modules/@types/kbn__core-http-router-server-mocks/index.d.ts", + "path": "packages/core/http/core-http-router-server-mocks/src/router.mock.ts", "deprecated": false, "trackAdoption": false } @@ -355,10 +673,16 @@ "description": [], "signature": [ "(customization?: ", - "DeepPartialObject", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.DeepPartialObject", + "text": "DeepPartialObject" + }, "<", "Request", - "> | undefined) => ", + ">) => ", "Request" ], "path": "packages/core/http/core-http-server-mocks/src/http_server.mocks.ts", @@ -374,12 +698,433 @@ "label": "customization", "description": [], "signature": [ - "DeepPartialObject", + "{ app?: ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.DeepPartialObject", + "text": "DeepPartialObject" + }, + "<", + "RequestApplicationState", + "> | undefined; readonly auth?: ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.DeepPartialObject", + "text": "DeepPartialObject" + }, + "<", + "RequestAuth", + "> | undefined; events?: ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.DeepPartialObject", + "text": "DeepPartialObject" + }, + "<", + "RequestEvents", + "> | undefined; readonly headers?: ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.DeepPartialObject", + "text": "DeepPartialObject" + }, "<", + "Util", + ".Dictionary> | undefined; readonly info?: ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.DeepPartialObject", + "text": "DeepPartialObject" + }, + "<", + "RequestInfo", + "> | undefined; readonly logs?: ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.DeepPartialArray", + "text": "DeepPartialArray" + }, + "<", + "RequestLog", + "> | undefined; readonly method?: ", + "Util", + ".HTTP_METHODS_PARTIAL_LOWERCASE | undefined; readonly mime?: string | undefined; readonly orig?: ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.DeepPartialObject", + "text": "DeepPartialObject" + }, + "<", + "RequestOrig", + "> | undefined; readonly params?: ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.DeepPartialObject", + "text": "DeepPartialObject" + }, + "<", + "Util", + ".Dictionary> | undefined; readonly paramsArray?: ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.DeepPartialArray", + "text": "DeepPartialArray" + }, + " | undefined; readonly path?: string | undefined; readonly payload?: string | object | ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.DeepPartialObject", + "text": "DeepPartialObject" + }, + "<", + "Readable", + "> | ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.DeepPartialObject", + "text": "DeepPartialObject" + }, + " | undefined; plugins?: ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.DeepPartialObject", + "text": "DeepPartialObject" + }, + "<", + "PluginsStates", + "> | undefined; readonly pre?: ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.DeepPartialObject", + "text": "DeepPartialObject" + }, + "<", + "Util", + ".Dictionary> | undefined; response?: ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.DeepPartialObject", + "text": "DeepPartialObject" + }, + "<", + "Boom", + "> | ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.DeepPartialObject", + "text": "DeepPartialObject" + }, + "<", + "ResponseObject", + "> | undefined; readonly preResponses?: ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.DeepPartialObject", + "text": "DeepPartialObject" + }, + "<", + "Util", + ".Dictionary> | undefined; readonly query?: ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.DeepPartialObject", + "text": "DeepPartialObject" + }, + "<", + "RequestQuery", + "> | undefined; readonly raw?: ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.DeepPartialObject", + "text": "DeepPartialObject" + }, + "<{ req: ", + "IncomingMessage", + "; res: ", + "ServerResponse", + "; }> | undefined; readonly route?: ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.DeepPartialObject", + "text": "DeepPartialObject" + }, + "<", + "RequestRoute", + "> | undefined; server?: ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.DeepPartialObject", + "text": "DeepPartialObject" + }, + "<", + "Server", + "> | undefined; readonly state?: ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.DeepPartialObject", + "text": "DeepPartialObject" + }, + "<", + "Util", + ".Dictionary> | undefined; readonly url?: ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.DeepPartialObject", + "text": "DeepPartialObject" + }, + "<", + "URL", + "> | undefined; active?: ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.DeepPartialObject", + "text": "DeepPartialObject" + }, + "<() => boolean> | undefined; generateResponse?: ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.DeepPartialObject", + "text": "DeepPartialObject" + }, + "<(source: string | object | null, options?: { variety?: string | undefined; prepare?: ((response: ", + "ResponseObject", + ") => Promise<", + "ResponseObject", + ">) | undefined; marshal?: ((response: ", + "ResponseObject", + ") => Promise<", + "ResponseValue", + ">) | undefined; close?: ((response: ", + "ResponseObject", + ") => void) | undefined; } | undefined) => ", + "ResponseObject", + "> | undefined; log?: ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.DeepPartialObject", + "text": "DeepPartialObject" + }, + "<(tags: string | string[], data?: string | object | (() => string | object) | undefined) => void> | undefined; setMethod?: ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.DeepPartialObject", + "text": "DeepPartialObject" + }, + "<(method: ", + "Util", + ".HTTP_METHODS_PARTIAL) => void> | undefined; setUrl?: ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.DeepPartialObject", + "text": "DeepPartialObject" + }, + "<(url: string | ", + "URL", + ", stripTrailingSlash?: boolean | undefined) => void> | undefined; cookieAuth?: ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.DeepPartialObject", + "text": "DeepPartialObject" + }, + "<{ set(session: object): void; set(key: string, value: string | object): void; clear(key?: string | undefined): void; ttl(milliseconds: number): void; }> | undefined; registerEvent?: ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.DeepPartialObject", + "text": "DeepPartialObject" + }, + "<(events: ", + "Event", + " | ", + "Event", + "[]) => void> | undefined; registerPodium?: ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.DeepPartialObject", + "text": "DeepPartialObject" + }, + "<(podiums: ", + "node_modules/@hapi/podium/lib/index", + " | ", + "node_modules/@hapi/podium/lib/index", + "[]) => void> | undefined; emit?: ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.DeepPartialObject", + "text": "DeepPartialObject" + }, + "<(criteria: string | ", + "EmitCriteria", + ", data?: any) => Promise> | undefined; on?: ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.DeepPartialObject", + "text": "DeepPartialObject" + }, + "<{ (criteria: string | ", + "CriteriaObject", + ", listener: ", + "Listener", + ", context?: Tcontext | undefined): ", + "Request", + "; (criteria: string | ", + "CriteriaObject", + ", listener: ", + "Listener", + ", context?: Tcontext | undefined): ", + "Request", + "; }> | undefined; addListener?: ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.DeepPartialObject", + "text": "DeepPartialObject" + }, + "<{ (criteria: string | ", + "CriteriaObject", + ", listener: ", + "Listener", + ", context?: Tcontext | undefined): ", + "Request", + "; (criteria: string | ", + "CriteriaObject", + ", listener: ", + "Listener", + ", context?: Tcontext | undefined): ", "Request", - "> | undefined" + "; }> | undefined; once?: ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.DeepPartialObject", + "text": "DeepPartialObject" + }, + "<{ (criteria: string | Omit<", + "CriteriaObject", + ", \"count\">, listener: ", + "Listener", + ", context?: Tcontext | undefined): ", + "Request", + "; (criteria: string | Omit<", + "CriteriaObject", + ", \"count\">, listener: ", + "Listener", + ", context?: Tcontext | undefined): ", + "Request", + "; (criteria: string | Omit<", + "CriteriaObject", + ", \"count\">): Promise; (criteria: string | Omit<", + "CriteriaObject", + ", \"count\">): Promise; }> | undefined; removeListener?: ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.DeepPartialObject", + "text": "DeepPartialObject" + }, + "<(name: string, listener: ", + "Listener", + ") => ", + "Request", + "> | undefined; removeAllListeners?: ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.DeepPartialObject", + "text": "DeepPartialObject" + }, + "<(name: string) => ", + "Request", + "> | undefined; hasListeners?: ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.DeepPartialObject", + "text": "DeepPartialObject" + }, + "<(name: string) => boolean> | undefined; }" ], - "path": "node_modules/@types/kbn__hapi-mocks/index.d.ts", + "path": "packages/kbn-hapi-mocks/src/request.ts", "deprecated": false, "trackAdoption": false } @@ -394,7 +1139,13 @@ "description": [], "signature": [ "() => jest.Mocked<", - "KibanaResponseFactory", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaResponseFactory", + "text": "KibanaResponseFactory" + }, ">" ], "path": "packages/core/http/core-http-server-mocks/src/http_server.mocks.ts", @@ -412,7 +1163,13 @@ "description": [], "signature": [ "() => jest.Mocked<", - "LifecycleResponseFactory", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.LifecycleResponseFactory", + "text": "LifecycleResponseFactory" + }, ">" ], "path": "packages/core/http/core-http-server-mocks/src/http_server.mocks.ts", @@ -600,9 +1357,21 @@ "description": [], "signature": [ "() => ", { "pluginId": "@kbn/core-http-server-mocks", @@ -674,7 +1443,13 @@ "description": [], "signature": [ "() => jest.Mocked<", - "OnPreAuthToolkit", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.OnPreAuthToolkit", + "text": "OnPreAuthToolkit" + }, ">" ], "path": "packages/core/http/core-http-server-mocks/src/http_service.mock.ts", @@ -692,7 +1467,13 @@ "description": [], "signature": [ "() => jest.Mocked<", - "OnPostAuthToolkit", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.OnPostAuthToolkit", + "text": "OnPostAuthToolkit" + }, ">" ], "path": "packages/core/http/core-http-server-mocks/src/http_service.mock.ts", @@ -710,7 +1491,13 @@ "description": [], "signature": [ "() => jest.Mocked<", - "OnPreResponseToolkit", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.OnPreResponseToolkit", + "text": "OnPreResponseToolkit" + }, ">" ], "path": "packages/core/http/core-http-server-mocks/src/http_service.mock.ts", @@ -728,7 +1515,13 @@ "description": [], "signature": [ "() => jest.Mocked<", - "OnPreRoutingToolkit", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.OnPreRoutingToolkit", + "text": "OnPreRoutingToolkit" + }, ">" ], "path": "packages/core/http/core-http-server-mocks/src/http_service.mock.ts", @@ -746,7 +1539,13 @@ "description": [], "signature": [ "() => jest.Mocked<", - "AuthToolkit", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.AuthToolkit", + "text": "AuthToolkit" + }, ">" ], "path": "packages/core/http/core-http-server-mocks/src/http_service.mock.ts", @@ -764,7 +1563,13 @@ "description": [], "signature": [ "() => jest.Mocked<", - "IAuthHeadersStorage", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IAuthHeadersStorage", + "text": "IAuthHeadersStorage" + }, ">" ], "path": "packages/core/http/core-http-server-mocks/src/http_service.mock.ts", @@ -781,8 +1586,14 @@ "label": "createRouter", "description": [], "signature": [ - "({ routerPath }?: { routerPath?: string | undefined; } | undefined) => ", - "RouterMock" + "({ routerPath }?: { routerPath?: string | undefined; }) => ", + { + "pluginId": "@kbn/core-http-router-server-mocks", + "scope": "server", + "docId": "kibKbnCoreHttpRouterServerMocksPluginApi", + "section": "def-server.RouterMock", + "text": "RouterMock" + } ], "path": "packages/core/http/core-http-server-mocks/src/http_service.mock.ts", "deprecated": false, @@ -797,9 +1608,9 @@ "label": "__0", "description": [], "signature": [ - "{ routerPath?: string | undefined; } | undefined" + "{ routerPath?: string | undefined; }" ], - "path": "node_modules/@types/kbn__core-http-router-server-mocks/index.d.ts", + "path": "packages/core/http/core-http-router-server-mocks/src/router.mock.ts", "deprecated": false, "trackAdoption": false } @@ -828,7 +1639,13 @@ "description": [], "signature": [ "() => jest.Mocked<", - "SessionStorage", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.SessionStorage", + "text": "SessionStorage" + }, ">" ], "path": "packages/core/http/core-http-server-mocks/src/cookie_session_storage.mocks.ts", @@ -846,7 +1663,13 @@ "description": [], "signature": [ "() => DeepMocked<", - "SessionStorageFactory", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.SessionStorageFactory", + "text": "SessionStorageFactory" + }, ">" ], "path": "packages/core/http/core-http-server-mocks/src/cookie_session_storage.mocks.ts", diff --git a/api_docs/kbn_core_http_server_mocks.mdx b/api_docs/kbn_core_http_server_mocks.mdx index ea16a2e95253f..8def61b6f7cff 100644 --- a/api_docs/kbn_core_http_server_mocks.mdx +++ b/api_docs/kbn_core_http_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-server-mocks title: "@kbn/core-http-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-server-mocks plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-server-mocks'] --- import kbnCoreHttpServerMocksObj from './kbn_core_http_server_mocks.devdocs.json'; @@ -21,7 +21,7 @@ Contact Kibana Core for questions regarding this plugin. | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 41 | 0 | 37 | 0 | +| 41 | 0 | 40 | 0 | ## Server diff --git a/api_docs/kbn_core_i18n_browser.mdx b/api_docs/kbn_core_i18n_browser.mdx index 7e22e401221a0..9b8e881b251fc 100644 --- a/api_docs/kbn_core_i18n_browser.mdx +++ b/api_docs/kbn_core_i18n_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-i18n-browser title: "@kbn/core-i18n-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-i18n-browser plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-i18n-browser'] --- import kbnCoreI18nBrowserObj from './kbn_core_i18n_browser.devdocs.json'; diff --git a/api_docs/kbn_core_i18n_browser_mocks.devdocs.json b/api_docs/kbn_core_i18n_browser_mocks.devdocs.json index 0ec0cea1ba1ec..183e0f3819aaf 100644 --- a/api_docs/kbn_core_i18n_browser_mocks.devdocs.json +++ b/api_docs/kbn_core_i18n_browser_mocks.devdocs.json @@ -59,7 +59,13 @@ "description": [], "signature": [ "() => jest.Mocked<", - "I18nStart", + { + "pluginId": "@kbn/core-i18n-browser", + "scope": "common", + "docId": "kibKbnCoreI18nBrowserPluginApi", + "section": "def-common.I18nStart", + "text": "I18nStart" + }, ">" ], "path": "packages/core/i18n/core-i18n-browser-mocks/src/i18n_service.mock.ts", diff --git a/api_docs/kbn_core_i18n_browser_mocks.mdx b/api_docs/kbn_core_i18n_browser_mocks.mdx index 3730d5d6221ad..5c7635fa0a040 100644 --- a/api_docs/kbn_core_i18n_browser_mocks.mdx +++ b/api_docs/kbn_core_i18n_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-i18n-browser-mocks title: "@kbn/core-i18n-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-i18n-browser-mocks plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-i18n-browser-mocks'] --- import kbnCoreI18nBrowserMocksObj from './kbn_core_i18n_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_i18n_server.mdx b/api_docs/kbn_core_i18n_server.mdx index 738596e3ad145..52ffa62dd8700 100644 --- a/api_docs/kbn_core_i18n_server.mdx +++ b/api_docs/kbn_core_i18n_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-i18n-server title: "@kbn/core-i18n-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-i18n-server plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-i18n-server'] --- import kbnCoreI18nServerObj from './kbn_core_i18n_server.devdocs.json'; diff --git a/api_docs/kbn_core_i18n_server_internal.devdocs.json b/api_docs/kbn_core_i18n_server_internal.devdocs.json index 6e782c213c8dd..a2e781dc92059 100644 --- a/api_docs/kbn_core_i18n_server_internal.devdocs.json +++ b/api_docs/kbn_core_i18n_server_internal.devdocs.json @@ -98,7 +98,13 @@ "({ pluginPaths, http }: ", "SetupDeps", ") => Promise<", - "I18nServiceSetup", + { + "pluginId": "@kbn/core-i18n-server", + "scope": "common", + "docId": "kibKbnCoreI18nServerPluginApi", + "section": "def-common.I18nServiceSetup", + "text": "I18nServiceSetup" + }, ">" ], "path": "packages/core/i18n/core-i18n-server-internal/src/i18n_service.ts", diff --git a/api_docs/kbn_core_i18n_server_internal.mdx b/api_docs/kbn_core_i18n_server_internal.mdx index f2b4eaaee418e..a5bafa1fe72e5 100644 --- a/api_docs/kbn_core_i18n_server_internal.mdx +++ b/api_docs/kbn_core_i18n_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-i18n-server-internal title: "@kbn/core-i18n-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-i18n-server-internal plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-i18n-server-internal'] --- import kbnCoreI18nServerInternalObj from './kbn_core_i18n_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_i18n_server_mocks.devdocs.json b/api_docs/kbn_core_i18n_server_mocks.devdocs.json index 33f7ded52d484..2fb15942eb4ec 100644 --- a/api_docs/kbn_core_i18n_server_mocks.devdocs.json +++ b/api_docs/kbn_core_i18n_server_mocks.devdocs.json @@ -59,7 +59,13 @@ "description": [], "signature": [ "() => jest.Mocked<", - "I18nServiceSetup", + { + "pluginId": "@kbn/core-i18n-server", + "scope": "common", + "docId": "kibKbnCoreI18nServerPluginApi", + "section": "def-common.I18nServiceSetup", + "text": "I18nServiceSetup" + }, ">" ], "path": "packages/core/i18n/core-i18n-server-mocks/src/i18n_service.mock.ts", diff --git a/api_docs/kbn_core_i18n_server_mocks.mdx b/api_docs/kbn_core_i18n_server_mocks.mdx index c8e4a90ba7102..715a7fc53ce53 100644 --- a/api_docs/kbn_core_i18n_server_mocks.mdx +++ b/api_docs/kbn_core_i18n_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-i18n-server-mocks title: "@kbn/core-i18n-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-i18n-server-mocks plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-i18n-server-mocks'] --- import kbnCoreI18nServerMocksObj from './kbn_core_i18n_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_injected_metadata_browser.devdocs.json b/api_docs/kbn_core_injected_metadata_browser.devdocs.json index 03b1d0caa4b7f..1d4823c2427e7 100644 --- a/api_docs/kbn_core_injected_metadata_browser.devdocs.json +++ b/api_docs/kbn_core_injected_metadata_browser.devdocs.json @@ -35,7 +35,16 @@ "deprecated": true, "removeBy": "8.8.0", "trackAdoption": false, - "references": [], + "references": [ + { + "plugin": "@kbn/core-lifecycle-browser", + "path": "packages/core/lifecycle/core-lifecycle-browser/src/core_setup.ts" + }, + { + "plugin": "@kbn/core-lifecycle-browser", + "path": "packages/core/lifecycle/core-lifecycle-browser/src/core_setup.ts" + } + ], "children": [ { "parentPluginId": "@kbn/core-injected-metadata-browser", @@ -102,7 +111,16 @@ "deprecated": true, "removeBy": "8.8.0", "trackAdoption": false, - "references": [], + "references": [ + { + "plugin": "@kbn/core-lifecycle-browser", + "path": "packages/core/lifecycle/core-lifecycle-browser/src/core_start.ts" + }, + { + "plugin": "@kbn/core-lifecycle-browser", + "path": "packages/core/lifecycle/core-lifecycle-browser/src/core_start.ts" + } + ], "children": [ { "parentPluginId": "@kbn/core-injected-metadata-browser", diff --git a/api_docs/kbn_core_injected_metadata_browser.mdx b/api_docs/kbn_core_injected_metadata_browser.mdx index 52b3251db2f1d..68360fcfa8c9c 100644 --- a/api_docs/kbn_core_injected_metadata_browser.mdx +++ b/api_docs/kbn_core_injected_metadata_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-injected-metadata-browser title: "@kbn/core-injected-metadata-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-injected-metadata-browser plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-injected-metadata-browser'] --- import kbnCoreInjectedMetadataBrowserObj from './kbn_core_injected_metadata_browser.devdocs.json'; diff --git a/api_docs/kbn_core_injected_metadata_browser_mocks.mdx b/api_docs/kbn_core_injected_metadata_browser_mocks.mdx index bd6b97ab9a9c4..e7fb276e15d96 100644 --- a/api_docs/kbn_core_injected_metadata_browser_mocks.mdx +++ b/api_docs/kbn_core_injected_metadata_browser_mocks.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-injected-metadata-browser-mocks plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-injected-metadata-browser-mocks'] --- import kbnCoreInjectedMetadataBrowserMocksObj from './kbn_core_injected_metadata_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_integrations_browser_internal.devdocs.json b/api_docs/kbn_core_integrations_browser_internal.devdocs.json index 65b33e341b140..f4e19a59acdf1 100644 --- a/api_docs/kbn_core_integrations_browser_internal.devdocs.json +++ b/api_docs/kbn_core_integrations_browser_internal.devdocs.json @@ -39,7 +39,13 @@ "label": "uiSettings", "description": [], "signature": [ - "IUiSettingsClient" + { + "pluginId": "@kbn/core-ui-settings-browser", + "scope": "common", + "docId": "kibKbnCoreUiSettingsBrowserPluginApi", + "section": "def-common.IUiSettingsClient", + "text": "IUiSettingsClient" + } ], "path": "packages/core/integrations/core-integrations-browser-internal/src/integrations_service.ts", "deprecated": false, diff --git a/api_docs/kbn_core_integrations_browser_internal.mdx b/api_docs/kbn_core_integrations_browser_internal.mdx index 1fa6ee3e16518..4bb9ac82a6e5e 100644 --- a/api_docs/kbn_core_integrations_browser_internal.mdx +++ b/api_docs/kbn_core_integrations_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-integrations-browser-internal title: "@kbn/core-integrations-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-integrations-browser-internal plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-integrations-browser-internal'] --- import kbnCoreIntegrationsBrowserInternalObj from './kbn_core_integrations_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_integrations_browser_mocks.devdocs.json b/api_docs/kbn_core_integrations_browser_mocks.devdocs.json index b2fc0d81a14ec..8cfbd08b46584 100644 --- a/api_docs/kbn_core_integrations_browser_mocks.devdocs.json +++ b/api_docs/kbn_core_integrations_browser_mocks.devdocs.json @@ -31,7 +31,13 @@ "description": [], "signature": [ "{ setup: () => Promise; start: ({ uiSettings }: ", - "IntegrationsServiceSetupDeps", + { + "pluginId": "@kbn/core-integrations-browser-internal", + "scope": "common", + "docId": "kibKbnCoreIntegrationsBrowserInternalPluginApi", + "section": "def-common.IntegrationsServiceSetupDeps", + "text": "IntegrationsServiceSetupDeps" + }, ") => Promise; stop: () => Promise; }" ], "path": "packages/core/integrations/core-integrations-browser-mocks/src/integrations_service.mock.ts", @@ -48,7 +54,13 @@ "description": [], "signature": [ "{ setup: jest.MockInstance, []>; start: jest.MockInstance, [", - "IntegrationsServiceSetupDeps", + { + "pluginId": "@kbn/core-integrations-browser-internal", + "scope": "common", + "docId": "kibKbnCoreIntegrationsBrowserInternalPluginApi", + "section": "def-common.IntegrationsServiceSetupDeps", + "text": "IntegrationsServiceSetupDeps" + }, "]>; stop: jest.MockInstance, []>; } & ", { "pluginId": "@kbn/core-integrations-browser-mocks", diff --git a/api_docs/kbn_core_integrations_browser_mocks.mdx b/api_docs/kbn_core_integrations_browser_mocks.mdx index 624361bd90d56..0422b7045f40d 100644 --- a/api_docs/kbn_core_integrations_browser_mocks.mdx +++ b/api_docs/kbn_core_integrations_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-integrations-browser-mocks title: "@kbn/core-integrations-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-integrations-browser-mocks plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-integrations-browser-mocks'] --- import kbnCoreIntegrationsBrowserMocksObj from './kbn_core_integrations_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_lifecycle_browser.devdocs.json b/api_docs/kbn_core_lifecycle_browser.devdocs.json index 28d9250e42e6d..aec95c7c6a5f4 100644 --- a/api_docs/kbn_core_lifecycle_browser.devdocs.json +++ b/api_docs/kbn_core_lifecycle_browser.devdocs.json @@ -54,21 +54,63 @@ ], "signature": [ "{ optIn: (optInConfig: ", - "OptInConfig", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.OptInConfig", + "text": "OptInConfig" + }, ") => void; reportEvent: (eventType: string, eventData: EventTypeData) => void; readonly telemetryCounter$: ", "Observable", "<", - "TelemetryCounter", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.TelemetryCounter", + "text": "TelemetryCounter" + }, ">; registerEventType: (eventTypeOps: ", - "EventTypeOpts", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.EventTypeOpts", + "text": "EventTypeOpts" + }, ") => void; registerShipper: (Shipper: ", - "ShipperClassConstructor", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.ShipperClassConstructor", + "text": "ShipperClassConstructor" + }, ", shipperConfig: ShipperConfig, opts?: ", - "RegisterShipperOpts", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.RegisterShipperOpts", + "text": "RegisterShipperOpts" + }, " | undefined) => void; registerContextProvider: (contextProviderOpts: ", - "ContextProviderOpts", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.ContextProviderOpts", + "text": "ContextProviderOpts" + }, ") => void; removeContextProvider: (contextProviderName: string) => void; }" ], "path": "packages/core/lifecycle/core-lifecycle-browser/src/core_setup.ts", @@ -85,7 +127,13 @@ "{@link ApplicationSetup}" ], "signature": [ - "ApplicationSetup" + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.ApplicationSetup", + "text": "ApplicationSetup" + } ], "path": "packages/core/lifecycle/core-lifecycle-browser/src/core_setup.ts", "deprecated": false, @@ -101,7 +149,13 @@ "{@link FatalErrorsSetup}" ], "signature": [ - "FatalErrorsSetup" + { + "pluginId": "@kbn/core-fatal-errors-browser", + "scope": "common", + "docId": "kibKbnCoreFatalErrorsBrowserPluginApi", + "section": "def-common.FatalErrorsSetup", + "text": "FatalErrorsSetup" + } ], "path": "packages/core/lifecycle/core-lifecycle-browser/src/core_setup.ts", "deprecated": false, @@ -117,7 +171,13 @@ "{@link HttpSetup}" ], "signature": [ - "HttpSetup" + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpSetup", + "text": "HttpSetup" + } ], "path": "packages/core/lifecycle/core-lifecycle-browser/src/core_setup.ts", "deprecated": false, @@ -133,7 +193,13 @@ "{@link NotificationsSetup}" ], "signature": [ - "NotificationsSetup" + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.NotificationsSetup", + "text": "NotificationsSetup" + } ], "path": "packages/core/lifecycle/core-lifecycle-browser/src/core_setup.ts", "deprecated": false, @@ -149,7 +215,13 @@ "{@link IUiSettingsClient}" ], "signature": [ - "IUiSettingsClient" + { + "pluginId": "@kbn/core-ui-settings-browser", + "scope": "common", + "docId": "kibKbnCoreUiSettingsBrowserPluginApi", + "section": "def-common.IUiSettingsClient", + "text": "IUiSettingsClient" + } ], "path": "packages/core/lifecycle/core-lifecycle-browser/src/core_setup.ts", "deprecated": false, @@ -165,7 +237,13 @@ "{@link ExecutionContextSetup}" ], "signature": [ - "ExecutionContextSetup" + { + "pluginId": "@kbn/core-execution-context-browser", + "scope": "common", + "docId": "kibKbnCoreExecutionContextBrowserPluginApi", + "section": "def-common.ExecutionContextSetup", + "text": "ExecutionContextSetup" + } ], "path": "packages/core/lifecycle/core-lifecycle-browser/src/core_setup.ts", "deprecated": false, @@ -181,7 +259,13 @@ "{@link InjectedMetadataSetup}" ], "signature": [ - "InjectedMetadataSetup" + { + "pluginId": "@kbn/core-injected-metadata-browser", + "scope": "common", + "docId": "kibKbnCoreInjectedMetadataBrowserPluginApi", + "section": "def-common.InjectedMetadataSetup", + "text": "InjectedMetadataSetup" + } ], "path": "packages/core/lifecycle/core-lifecycle-browser/src/core_setup.ts", "deprecated": false, @@ -197,7 +281,13 @@ "{@link ThemeServiceSetup}" ], "signature": [ - "ThemeServiceSetup" + { + "pluginId": "@kbn/core-theme-browser", + "scope": "common", + "docId": "kibKbnCoreThemeBrowserPluginApi", + "section": "def-common.ThemeServiceSetup", + "text": "ThemeServiceSetup" + } ], "path": "packages/core/lifecycle/core-lifecycle-browser/src/core_setup.ts", "deprecated": false, @@ -256,11 +346,23 @@ ], "signature": [ "{ optIn: (optInConfig: ", - "OptInConfig", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.OptInConfig", + "text": "OptInConfig" + }, ") => void; reportEvent: (eventType: string, eventData: EventTypeData) => void; readonly telemetryCounter$: ", "Observable", "<", - "TelemetryCounter", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.TelemetryCounter", + "text": "TelemetryCounter" + }, ">; }" ], "path": "packages/core/lifecycle/core-lifecycle-browser/src/core_start.ts", @@ -277,7 +379,13 @@ "{@link ApplicationStart}" ], "signature": [ - "ApplicationStart" + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.ApplicationStart", + "text": "ApplicationStart" + } ], "path": "packages/core/lifecycle/core-lifecycle-browser/src/core_start.ts", "deprecated": false, @@ -293,7 +401,13 @@ "{@link ChromeStart}" ], "signature": [ - "ChromeStart" + { + "pluginId": "@kbn/core-chrome-browser", + "scope": "common", + "docId": "kibKbnCoreChromeBrowserPluginApi", + "section": "def-common.ChromeStart", + "text": "ChromeStart" + } ], "path": "packages/core/lifecycle/core-lifecycle-browser/src/core_start.ts", "deprecated": false, @@ -309,7 +423,13 @@ "{@link DocLinksStart}" ], "signature": [ - "DocLinksStart" + { + "pluginId": "@kbn/core-doc-links-browser", + "scope": "common", + "docId": "kibKbnCoreDocLinksBrowserPluginApi", + "section": "def-common.DocLinksStart", + "text": "DocLinksStart" + } ], "path": "packages/core/lifecycle/core-lifecycle-browser/src/core_start.ts", "deprecated": false, @@ -325,7 +445,13 @@ "{@link ExecutionContextStart}" ], "signature": [ - "ExecutionContextSetup" + { + "pluginId": "@kbn/core-execution-context-browser", + "scope": "common", + "docId": "kibKbnCoreExecutionContextBrowserPluginApi", + "section": "def-common.ExecutionContextSetup", + "text": "ExecutionContextSetup" + } ], "path": "packages/core/lifecycle/core-lifecycle-browser/src/core_start.ts", "deprecated": false, @@ -341,7 +467,13 @@ "{@link HttpStart}" ], "signature": [ - "HttpSetup" + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpSetup", + "text": "HttpSetup" + } ], "path": "packages/core/lifecycle/core-lifecycle-browser/src/core_start.ts", "deprecated": false, @@ -357,7 +489,13 @@ "{@link SavedObjectsStart}" ], "signature": [ - "SavedObjectsStart" + { + "pluginId": "@kbn/core-saved-objects-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsBrowserPluginApi", + "section": "def-common.SavedObjectsStart", + "text": "SavedObjectsStart" + } ], "path": "packages/core/lifecycle/core-lifecycle-browser/src/core_start.ts", "deprecated": false, @@ -373,7 +511,13 @@ "{@link I18nStart}" ], "signature": [ - "I18nStart" + { + "pluginId": "@kbn/core-i18n-browser", + "scope": "common", + "docId": "kibKbnCoreI18nBrowserPluginApi", + "section": "def-common.I18nStart", + "text": "I18nStart" + } ], "path": "packages/core/lifecycle/core-lifecycle-browser/src/core_start.ts", "deprecated": false, @@ -389,7 +533,13 @@ "{@link NotificationsStart}" ], "signature": [ - "NotificationsStart" + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.NotificationsStart", + "text": "NotificationsStart" + } ], "path": "packages/core/lifecycle/core-lifecycle-browser/src/core_start.ts", "deprecated": false, @@ -405,7 +555,13 @@ "{@link OverlayStart}" ], "signature": [ - "OverlayStart" + { + "pluginId": "@kbn/core-overlays-browser", + "scope": "common", + "docId": "kibKbnCoreOverlaysBrowserPluginApi", + "section": "def-common.OverlayStart", + "text": "OverlayStart" + } ], "path": "packages/core/lifecycle/core-lifecycle-browser/src/core_start.ts", "deprecated": false, @@ -421,7 +577,13 @@ "{@link IUiSettingsClient}" ], "signature": [ - "IUiSettingsClient" + { + "pluginId": "@kbn/core-ui-settings-browser", + "scope": "common", + "docId": "kibKbnCoreUiSettingsBrowserPluginApi", + "section": "def-common.IUiSettingsClient", + "text": "IUiSettingsClient" + } ], "path": "packages/core/lifecycle/core-lifecycle-browser/src/core_start.ts", "deprecated": false, @@ -437,7 +599,13 @@ "{@link FatalErrorsStart}" ], "signature": [ - "FatalErrorsSetup" + { + "pluginId": "@kbn/core-fatal-errors-browser", + "scope": "common", + "docId": "kibKbnCoreFatalErrorsBrowserPluginApi", + "section": "def-common.FatalErrorsSetup", + "text": "FatalErrorsSetup" + } ], "path": "packages/core/lifecycle/core-lifecycle-browser/src/core_start.ts", "deprecated": false, @@ -453,7 +621,13 @@ "{@link DeprecationsServiceStart}" ], "signature": [ - "DeprecationsServiceStart" + { + "pluginId": "@kbn/core-deprecations-browser", + "scope": "common", + "docId": "kibKbnCoreDeprecationsBrowserPluginApi", + "section": "def-common.DeprecationsServiceStart", + "text": "DeprecationsServiceStart" + } ], "path": "packages/core/lifecycle/core-lifecycle-browser/src/core_start.ts", "deprecated": false, @@ -469,7 +643,13 @@ "{@link ThemeServiceStart}" ], "signature": [ - "ThemeServiceStart" + { + "pluginId": "@kbn/core-theme-browser", + "scope": "common", + "docId": "kibKbnCoreThemeBrowserPluginApi", + "section": "def-common.ThemeServiceStart", + "text": "ThemeServiceStart" + } ], "path": "packages/core/lifecycle/core-lifecycle-browser/src/core_start.ts", "deprecated": false, @@ -485,7 +665,13 @@ "{@link InjectedMetadataStart}" ], "signature": [ - "InjectedMetadataStart" + { + "pluginId": "@kbn/core-injected-metadata-browser", + "scope": "common", + "docId": "kibKbnCoreInjectedMetadataBrowserPluginApi", + "section": "def-common.InjectedMetadataStart", + "text": "InjectedMetadataStart" + } ], "path": "packages/core/lifecycle/core-lifecycle-browser/src/core_start.ts", "deprecated": false, diff --git a/api_docs/kbn_core_lifecycle_browser.mdx b/api_docs/kbn_core_lifecycle_browser.mdx index 0d7909bf4ea0e..c07b0f2ff3e2c 100644 --- a/api_docs/kbn_core_lifecycle_browser.mdx +++ b/api_docs/kbn_core_lifecycle_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-lifecycle-browser title: "@kbn/core-lifecycle-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-lifecycle-browser plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-lifecycle-browser'] --- import kbnCoreLifecycleBrowserObj from './kbn_core_lifecycle_browser.devdocs.json'; diff --git a/api_docs/kbn_core_lifecycle_browser_mocks.devdocs.json b/api_docs/kbn_core_lifecycle_browser_mocks.devdocs.json index dddb527723421..02bd77f9b7a66 100644 --- a/api_docs/kbn_core_lifecycle_browser_mocks.devdocs.json +++ b/api_docs/kbn_core_lifecycle_browser_mocks.devdocs.json @@ -43,57 +43,207 @@ "description": [], "signature": [ "({ basePath, pluginStartDeps, pluginStartContract, }?: { basePath?: string | undefined; pluginStartDeps?: object | undefined; pluginStartContract?: any; }) => { analytics: jest.Mocked<", - "AnalyticsServiceSetup", + { + "pluginId": "@kbn/core-analytics-browser", + "scope": "common", + "docId": "kibKbnCoreAnalyticsBrowserPluginApi", + "section": "def-common.AnalyticsServiceSetup", + "text": "AnalyticsServiceSetup" + }, ">; application: jest.Mocked<", - "ApplicationSetup", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.ApplicationSetup", + "text": "ApplicationSetup" + }, ">; docLinks: jest.Mock; executionContext: jest.Mocked<", - "ExecutionContextSetup", + { + "pluginId": "@kbn/core-execution-context-browser", + "scope": "common", + "docId": "kibKbnCoreExecutionContextBrowserPluginApi", + "section": "def-common.ExecutionContextSetup", + "text": "ExecutionContextSetup" + }, ">; fatalErrors: jest.Mocked<", - "FatalErrorsSetup", + { + "pluginId": "@kbn/core-fatal-errors-browser", + "scope": "common", + "docId": "kibKbnCoreFatalErrorsBrowserPluginApi", + "section": "def-common.FatalErrorsSetup", + "text": "FatalErrorsSetup" + }, ">; getStartServices: jest.Mock; application: jest.Mocked<", - "ApplicationStart", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.ApplicationStart", + "text": "ApplicationStart" + }, ">; chrome: ", - "DeeplyMockedKeys", + { + "pluginId": "@kbn/utility-types-jest", + "scope": "server", + "docId": "kibKbnUtilityTypesJestPluginApi", + "section": "def-server.DeeplyMockedKeys", + "text": "DeeplyMockedKeys" + }, "<", "InternalChromeStart", ">; docLinks: ", - "DocLinksStart", + { + "pluginId": "@kbn/core-doc-links-browser", + "scope": "common", + "docId": "kibKbnCoreDocLinksBrowserPluginApi", + "section": "def-common.DocLinksStart", + "text": "DocLinksStart" + }, "; executionContext: jest.Mocked<", - "ExecutionContextSetup", + { + "pluginId": "@kbn/core-execution-context-browser", + "scope": "common", + "docId": "kibKbnCoreExecutionContextBrowserPluginApi", + "section": "def-common.ExecutionContextSetup", + "text": "ExecutionContextSetup" + }, ">; http: ", - "HttpSetupMock", + { + "pluginId": "@kbn/core-http-browser-mocks", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserMocksPluginApi", + "section": "def-common.HttpSetupMock", + "text": "HttpSetupMock" + }, "; i18n: jest.Mocked<", - "I18nStart", + { + "pluginId": "@kbn/core-i18n-browser", + "scope": "common", + "docId": "kibKbnCoreI18nBrowserPluginApi", + "section": "def-common.I18nStart", + "text": "I18nStart" + }, ">; notifications: ", - "MockedKeys", + { + "pluginId": "@kbn/utility-types-jest", + "scope": "server", + "docId": "kibKbnUtilityTypesJestPluginApi", + "section": "def-server.MockedKeys", + "text": "MockedKeys" + }, "<", - "NotificationsStart", + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.NotificationsStart", + "text": "NotificationsStart" + }, ">; overlays: ", - "DeeplyMockedKeys", + { + "pluginId": "@kbn/utility-types-jest", + "scope": "server", + "docId": "kibKbnUtilityTypesJestPluginApi", + "section": "def-server.DeeplyMockedKeys", + "text": "DeeplyMockedKeys" + }, "<", - "OverlayStart", + { + "pluginId": "@kbn/core-overlays-browser", + "scope": "common", + "docId": "kibKbnCoreOverlaysBrowserPluginApi", + "section": "def-common.OverlayStart", + "text": "OverlayStart" + }, ">; uiSettings: jest.Mocked<", - "IUiSettingsClient", + { + "pluginId": "@kbn/core-ui-settings-browser", + "scope": "common", + "docId": "kibKbnCoreUiSettingsBrowserPluginApi", + "section": "def-common.IUiSettingsClient", + "text": "IUiSettingsClient" + }, ">; savedObjects: jest.Mocked<", - "SavedObjectsStart", + { + "pluginId": "@kbn/core-saved-objects-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsBrowserPluginApi", + "section": "def-common.SavedObjectsStart", + "text": "SavedObjectsStart" + }, ">; deprecations: jest.Mocked<", - "DeprecationsServiceStart", + { + "pluginId": "@kbn/core-deprecations-browser", + "scope": "common", + "docId": "kibKbnCoreDeprecationsBrowserPluginApi", + "section": "def-common.DeprecationsServiceStart", + "text": "DeprecationsServiceStart" + }, ">; theme: jest.Mocked<", - "ThemeServiceStart", + { + "pluginId": "@kbn/core-theme-browser", + "scope": "common", + "docId": "kibKbnCoreThemeBrowserPluginApi", + "section": "def-common.ThemeServiceStart", + "text": "ThemeServiceStart" + }, ">; injectedMetadata: { getInjectedVar: jest.MockInstance & ((name: string, defaultValue?: any) => unknown); }; fatalErrors: jest.Mocked<", - "FatalErrorsSetup", + { + "pluginId": "@kbn/core-fatal-errors-browser", + "scope": "common", + "docId": "kibKbnCoreFatalErrorsBrowserPluginApi", + "section": "def-common.FatalErrorsSetup", + "text": "FatalErrorsSetup" + }, ">; }, any, any]>, []>; http: ", - "HttpSetupMock", + { + "pluginId": "@kbn/core-http-browser-mocks", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserMocksPluginApi", + "section": "def-common.HttpSetupMock", + "text": "HttpSetupMock" + }, "; notifications: ", - "MockedKeys", + { + "pluginId": "@kbn/utility-types-jest", + "scope": "server", + "docId": "kibKbnUtilityTypesJestPluginApi", + "section": "def-server.MockedKeys", + "text": "MockedKeys" + }, "<", - "NotificationsSetup", + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.NotificationsSetup", + "text": "NotificationsSetup" + }, ">; uiSettings: jest.Mocked<", - "IUiSettingsClient", + { + "pluginId": "@kbn/core-ui-settings-browser", + "scope": "common", + "docId": "kibKbnCoreUiSettingsBrowserPluginApi", + "section": "def-common.IUiSettingsClient", + "text": "IUiSettingsClient" + }, ">; deprecations: undefined; injectedMetadata: { getInjectedVar: jest.MockInstance & ((name: string, defaultValue?: any) => unknown); }; theme: jest.Mocked<", - "ThemeServiceSetup", + { + "pluginId": "@kbn/core-theme-browser", + "scope": "common", + "docId": "kibKbnCoreThemeBrowserPluginApi", + "section": "def-common.ThemeServiceSetup", + "text": "ThemeServiceSetup" + }, ">; }" ], "path": "packages/core/lifecycle/core-lifecycle-browser-mocks/src/index.ts", @@ -126,39 +276,135 @@ "description": [], "signature": [ "({ basePath }?: { basePath?: string | undefined; }) => { analytics: jest.Mocked<", - "AnalyticsServiceStart", + { + "pluginId": "@kbn/core-analytics-browser", + "scope": "common", + "docId": "kibKbnCoreAnalyticsBrowserPluginApi", + "section": "def-common.AnalyticsServiceStart", + "text": "AnalyticsServiceStart" + }, ">; application: jest.Mocked<", - "ApplicationStart", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.ApplicationStart", + "text": "ApplicationStart" + }, ">; chrome: ", - "DeeplyMockedKeys", + { + "pluginId": "@kbn/utility-types-jest", + "scope": "server", + "docId": "kibKbnUtilityTypesJestPluginApi", + "section": "def-server.DeeplyMockedKeys", + "text": "DeeplyMockedKeys" + }, "<", "InternalChromeStart", ">; docLinks: ", - "DocLinksStart", + { + "pluginId": "@kbn/core-doc-links-browser", + "scope": "common", + "docId": "kibKbnCoreDocLinksBrowserPluginApi", + "section": "def-common.DocLinksStart", + "text": "DocLinksStart" + }, "; executionContext: jest.Mocked<", - "ExecutionContextSetup", + { + "pluginId": "@kbn/core-execution-context-browser", + "scope": "common", + "docId": "kibKbnCoreExecutionContextBrowserPluginApi", + "section": "def-common.ExecutionContextSetup", + "text": "ExecutionContextSetup" + }, ">; http: ", - "HttpSetupMock", + { + "pluginId": "@kbn/core-http-browser-mocks", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserMocksPluginApi", + "section": "def-common.HttpSetupMock", + "text": "HttpSetupMock" + }, "; i18n: jest.Mocked<", - "I18nStart", + { + "pluginId": "@kbn/core-i18n-browser", + "scope": "common", + "docId": "kibKbnCoreI18nBrowserPluginApi", + "section": "def-common.I18nStart", + "text": "I18nStart" + }, ">; notifications: ", - "MockedKeys", + { + "pluginId": "@kbn/utility-types-jest", + "scope": "server", + "docId": "kibKbnUtilityTypesJestPluginApi", + "section": "def-server.MockedKeys", + "text": "MockedKeys" + }, "<", - "NotificationsStart", + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.NotificationsStart", + "text": "NotificationsStart" + }, ">; overlays: ", - "DeeplyMockedKeys", + { + "pluginId": "@kbn/utility-types-jest", + "scope": "server", + "docId": "kibKbnUtilityTypesJestPluginApi", + "section": "def-server.DeeplyMockedKeys", + "text": "DeeplyMockedKeys" + }, "<", - "OverlayStart", + { + "pluginId": "@kbn/core-overlays-browser", + "scope": "common", + "docId": "kibKbnCoreOverlaysBrowserPluginApi", + "section": "def-common.OverlayStart", + "text": "OverlayStart" + }, ">; uiSettings: jest.Mocked<", - "IUiSettingsClient", + { + "pluginId": "@kbn/core-ui-settings-browser", + "scope": "common", + "docId": "kibKbnCoreUiSettingsBrowserPluginApi", + "section": "def-common.IUiSettingsClient", + "text": "IUiSettingsClient" + }, ">; savedObjects: jest.Mocked<", - "SavedObjectsStart", + { + "pluginId": "@kbn/core-saved-objects-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsBrowserPluginApi", + "section": "def-common.SavedObjectsStart", + "text": "SavedObjectsStart" + }, ">; deprecations: jest.Mocked<", - "DeprecationsServiceStart", + { + "pluginId": "@kbn/core-deprecations-browser", + "scope": "common", + "docId": "kibKbnCoreDeprecationsBrowserPluginApi", + "section": "def-common.DeprecationsServiceStart", + "text": "DeprecationsServiceStart" + }, ">; theme: jest.Mocked<", - "ThemeServiceStart", + { + "pluginId": "@kbn/core-theme-browser", + "scope": "common", + "docId": "kibKbnCoreThemeBrowserPluginApi", + "section": "def-common.ThemeServiceStart", + "text": "ThemeServiceStart" + }, ">; injectedMetadata: { getInjectedVar: jest.MockInstance & ((name: string, defaultValue?: any) => unknown); }; fatalErrors: jest.Mocked<", - "FatalErrorsSetup", + { + "pluginId": "@kbn/core-fatal-errors-browser", + "scope": "common", + "docId": "kibKbnCoreFatalErrorsBrowserPluginApi", + "section": "def-common.FatalErrorsSetup", + "text": "FatalErrorsSetup" + }, ">; }" ], "path": "packages/core/lifecycle/core-lifecycle-browser-mocks/src/index.ts", diff --git a/api_docs/kbn_core_lifecycle_browser_mocks.mdx b/api_docs/kbn_core_lifecycle_browser_mocks.mdx index f6ee86c23e733..da19b0f1524e0 100644 --- a/api_docs/kbn_core_lifecycle_browser_mocks.mdx +++ b/api_docs/kbn_core_lifecycle_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-lifecycle-browser-mocks title: "@kbn/core-lifecycle-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-lifecycle-browser-mocks plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-lifecycle-browser-mocks'] --- import kbnCoreLifecycleBrowserMocksObj from './kbn_core_lifecycle_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_lifecycle_server.devdocs.json b/api_docs/kbn_core_lifecycle_server.devdocs.json index c49e0d2cda602..0f8b4df0b7133 100644 --- a/api_docs/kbn_core_lifecycle_server.devdocs.json +++ b/api_docs/kbn_core_lifecycle_server.devdocs.json @@ -36,21 +36,63 @@ ], "signature": [ "{ optIn: (optInConfig: ", - "OptInConfig", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.OptInConfig", + "text": "OptInConfig" + }, ") => void; reportEvent: (eventType: string, eventData: EventTypeData) => void; readonly telemetryCounter$: ", "Observable", "<", - "TelemetryCounter", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.TelemetryCounter", + "text": "TelemetryCounter" + }, ">; registerEventType: (eventTypeOps: ", - "EventTypeOpts", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.EventTypeOpts", + "text": "EventTypeOpts" + }, ") => void; registerShipper: (Shipper: ", - "ShipperClassConstructor", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.ShipperClassConstructor", + "text": "ShipperClassConstructor" + }, ", shipperConfig: ShipperConfig, opts?: ", - "RegisterShipperOpts", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.RegisterShipperOpts", + "text": "RegisterShipperOpts" + }, " | undefined) => void; registerContextProvider: (contextProviderOpts: ", - "ContextProviderOpts", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.ContextProviderOpts", + "text": "ContextProviderOpts" + }, ") => void; removeContextProvider: (contextProviderName: string) => void; }" ], "path": "packages/core/lifecycle/core-lifecycle-server/src/core_preboot.ts", @@ -67,7 +109,13 @@ "{@link ElasticsearchServicePreboot}" ], "signature": [ - "ElasticsearchServicePreboot" + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.ElasticsearchServicePreboot", + "text": "ElasticsearchServicePreboot" + } ], "path": "packages/core/lifecycle/core-lifecycle-server/src/core_preboot.ts", "deprecated": false, @@ -83,9 +131,21 @@ "{@link HttpServicePreboot}" ], "signature": [ - "HttpServicePreboot", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.HttpServicePreboot", + "text": "HttpServicePreboot" + }, "<", - "RequestHandlerContext", + { + "pluginId": "@kbn/core-http-request-handler-context-server", + "scope": "server", + "docId": "kibKbnCoreHttpRequestHandlerContextServerPluginApi", + "section": "def-server.RequestHandlerContext", + "text": "RequestHandlerContext" + }, ">" ], "path": "packages/core/lifecycle/core-lifecycle-server/src/core_preboot.ts", @@ -102,7 +162,13 @@ "{@link PrebootServicePreboot}" ], "signature": [ - "PrebootServicePreboot" + { + "pluginId": "@kbn/core-preboot-server", + "scope": "server", + "docId": "kibKbnCorePrebootServerPluginApi", + "section": "def-server.PrebootServicePreboot", + "text": "PrebootServicePreboot" + } ], "path": "packages/core/lifecycle/core-lifecycle-server/src/core_preboot.ts", "deprecated": false, @@ -145,21 +211,63 @@ ], "signature": [ "{ optIn: (optInConfig: ", - "OptInConfig", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.OptInConfig", + "text": "OptInConfig" + }, ") => void; reportEvent: (eventType: string, eventData: EventTypeData) => void; readonly telemetryCounter$: ", "Observable", "<", - "TelemetryCounter", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.TelemetryCounter", + "text": "TelemetryCounter" + }, ">; registerEventType: (eventTypeOps: ", - "EventTypeOpts", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.EventTypeOpts", + "text": "EventTypeOpts" + }, ") => void; registerShipper: (Shipper: ", - "ShipperClassConstructor", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.ShipperClassConstructor", + "text": "ShipperClassConstructor" + }, ", shipperConfig: ShipperConfig, opts?: ", - "RegisterShipperOpts", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.RegisterShipperOpts", + "text": "RegisterShipperOpts" + }, " | undefined) => void; registerContextProvider: (contextProviderOpts: ", - "ContextProviderOpts", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.ContextProviderOpts", + "text": "ContextProviderOpts" + }, ") => void; removeContextProvider: (contextProviderName: string) => void; }" ], "path": "packages/core/lifecycle/core-lifecycle-server/src/core_setup.ts", @@ -176,7 +284,13 @@ "{@link CapabilitiesSetup}" ], "signature": [ - "CapabilitiesSetup" + { + "pluginId": "@kbn/core-capabilities-server", + "scope": "server", + "docId": "kibKbnCoreCapabilitiesServerPluginApi", + "section": "def-server.CapabilitiesSetup", + "text": "CapabilitiesSetup" + } ], "path": "packages/core/lifecycle/core-lifecycle-server/src/core_setup.ts", "deprecated": false, @@ -192,7 +306,13 @@ "{@link DocLinksServiceSetup}" ], "signature": [ - "DocLinksServiceSetup" + { + "pluginId": "@kbn/core-doc-links-server", + "scope": "server", + "docId": "kibKbnCoreDocLinksServerPluginApi", + "section": "def-server.DocLinksServiceSetup", + "text": "DocLinksServiceSetup" + } ], "path": "packages/core/lifecycle/core-lifecycle-server/src/core_setup.ts", "deprecated": false, @@ -208,7 +328,13 @@ "{@link ElasticsearchServiceSetup}" ], "signature": [ - "ElasticsearchServiceSetup" + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.ElasticsearchServiceSetup", + "text": "ElasticsearchServiceSetup" + } ], "path": "packages/core/lifecycle/core-lifecycle-server/src/core_setup.ts", "deprecated": false, @@ -224,7 +350,13 @@ "{@link ExecutionContextSetup}" ], "signature": [ - "ExecutionContextSetup" + { + "pluginId": "@kbn/core-execution-context-server", + "scope": "server", + "docId": "kibKbnCoreExecutionContextServerPluginApi", + "section": "def-server.ExecutionContextSetup", + "text": "ExecutionContextSetup" + } ], "path": "packages/core/lifecycle/core-lifecycle-server/src/core_setup.ts", "deprecated": false, @@ -240,11 +372,29 @@ "{@link HttpServiceSetup}" ], "signature": [ - "HttpServiceSetup", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.HttpServiceSetup", + "text": "HttpServiceSetup" + }, "<", - "RequestHandlerContext", + { + "pluginId": "@kbn/core-http-request-handler-context-server", + "scope": "server", + "docId": "kibKbnCoreHttpRequestHandlerContextServerPluginApi", + "section": "def-server.RequestHandlerContext", + "text": "RequestHandlerContext" + }, "> & { resources: ", - "HttpResources", + { + "pluginId": "@kbn/core-http-resources-server", + "scope": "server", + "docId": "kibKbnCoreHttpResourcesServerPluginApi", + "section": "def-server.HttpResources", + "text": "HttpResources" + }, "; }" ], "path": "packages/core/lifecycle/core-lifecycle-server/src/core_setup.ts", @@ -261,7 +411,13 @@ "{@link I18nServiceSetup}" ], "signature": [ - "I18nServiceSetup" + { + "pluginId": "@kbn/core-i18n-server", + "scope": "common", + "docId": "kibKbnCoreI18nServerPluginApi", + "section": "def-common.I18nServiceSetup", + "text": "I18nServiceSetup" + } ], "path": "packages/core/lifecycle/core-lifecycle-server/src/core_setup.ts", "deprecated": false, @@ -277,7 +433,13 @@ "{@link LoggingServiceSetup}" ], "signature": [ - "LoggingServiceSetup" + { + "pluginId": "@kbn/core-logging-server", + "scope": "server", + "docId": "kibKbnCoreLoggingServerPluginApi", + "section": "def-server.LoggingServiceSetup", + "text": "LoggingServiceSetup" + } ], "path": "packages/core/lifecycle/core-lifecycle-server/src/core_setup.ts", "deprecated": false, @@ -293,7 +455,13 @@ "{@link MetricsServiceSetup}" ], "signature": [ - "MetricsServiceSetup" + { + "pluginId": "@kbn/core-metrics-server", + "scope": "server", + "docId": "kibKbnCoreMetricsServerPluginApi", + "section": "def-server.MetricsServiceSetup", + "text": "MetricsServiceSetup" + } ], "path": "packages/core/lifecycle/core-lifecycle-server/src/core_setup.ts", "deprecated": false, @@ -309,7 +477,13 @@ "{@link SavedObjectsServiceSetup}" ], "signature": [ - "SavedObjectsServiceSetup" + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsServiceSetup", + "text": "SavedObjectsServiceSetup" + } ], "path": "packages/core/lifecycle/core-lifecycle-server/src/core_setup.ts", "deprecated": false, @@ -325,7 +499,13 @@ "{@link StatusServiceSetup}" ], "signature": [ - "StatusServiceSetup" + { + "pluginId": "@kbn/core-status-server", + "scope": "server", + "docId": "kibKbnCoreStatusServerPluginApi", + "section": "def-server.StatusServiceSetup", + "text": "StatusServiceSetup" + } ], "path": "packages/core/lifecycle/core-lifecycle-server/src/core_setup.ts", "deprecated": false, @@ -341,7 +521,13 @@ "{@link UiSettingsServiceSetup}" ], "signature": [ - "UiSettingsServiceSetup" + { + "pluginId": "@kbn/core-ui-settings-server", + "scope": "server", + "docId": "kibKbnCoreUiSettingsServerPluginApi", + "section": "def-server.UiSettingsServiceSetup", + "text": "UiSettingsServiceSetup" + } ], "path": "packages/core/lifecycle/core-lifecycle-server/src/core_setup.ts", "deprecated": false, @@ -357,7 +543,13 @@ "{@link DeprecationsServiceSetup}" ], "signature": [ - "DeprecationsServiceSetup" + { + "pluginId": "@kbn/core-deprecations-server", + "scope": "server", + "docId": "kibKbnCoreDeprecationsServerPluginApi", + "section": "def-server.DeprecationsServiceSetup", + "text": "DeprecationsServiceSetup" + } ], "path": "packages/core/lifecycle/core-lifecycle-server/src/core_setup.ts", "deprecated": false, @@ -416,11 +608,23 @@ ], "signature": [ "{ optIn: (optInConfig: ", - "OptInConfig", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.OptInConfig", + "text": "OptInConfig" + }, ") => void; reportEvent: (eventType: string, eventData: EventTypeData) => void; readonly telemetryCounter$: ", "Observable", "<", - "TelemetryCounter", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.TelemetryCounter", + "text": "TelemetryCounter" + }, ">; }" ], "path": "packages/core/lifecycle/core-lifecycle-server/src/core_start.ts", @@ -437,7 +641,13 @@ "{@link CapabilitiesStart}" ], "signature": [ - "CapabilitiesStart" + { + "pluginId": "@kbn/core-capabilities-server", + "scope": "server", + "docId": "kibKbnCoreCapabilitiesServerPluginApi", + "section": "def-server.CapabilitiesStart", + "text": "CapabilitiesStart" + } ], "path": "packages/core/lifecycle/core-lifecycle-server/src/core_start.ts", "deprecated": false, @@ -453,7 +663,13 @@ "{@link DocLinksServiceStart}" ], "signature": [ - "DocLinksServiceSetup" + { + "pluginId": "@kbn/core-doc-links-server", + "scope": "server", + "docId": "kibKbnCoreDocLinksServerPluginApi", + "section": "def-server.DocLinksServiceSetup", + "text": "DocLinksServiceSetup" + } ], "path": "packages/core/lifecycle/core-lifecycle-server/src/core_start.ts", "deprecated": false, @@ -469,7 +685,13 @@ "{@link ElasticsearchServiceStart}" ], "signature": [ - "ElasticsearchServiceStart" + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.ElasticsearchServiceStart", + "text": "ElasticsearchServiceStart" + } ], "path": "packages/core/lifecycle/core-lifecycle-server/src/core_start.ts", "deprecated": false, @@ -485,7 +707,13 @@ "{@link ExecutionContextStart}" ], "signature": [ - "ExecutionContextSetup" + { + "pluginId": "@kbn/core-execution-context-server", + "scope": "server", + "docId": "kibKbnCoreExecutionContextServerPluginApi", + "section": "def-server.ExecutionContextSetup", + "text": "ExecutionContextSetup" + } ], "path": "packages/core/lifecycle/core-lifecycle-server/src/core_start.ts", "deprecated": false, @@ -501,7 +729,13 @@ "{@link HttpServiceStart}" ], "signature": [ - "HttpServiceStart" + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.HttpServiceStart", + "text": "HttpServiceStart" + } ], "path": "packages/core/lifecycle/core-lifecycle-server/src/core_start.ts", "deprecated": false, @@ -517,7 +751,13 @@ "{@link MetricsServiceStart}" ], "signature": [ - "MetricsServiceSetup" + { + "pluginId": "@kbn/core-metrics-server", + "scope": "server", + "docId": "kibKbnCoreMetricsServerPluginApi", + "section": "def-server.MetricsServiceSetup", + "text": "MetricsServiceSetup" + } ], "path": "packages/core/lifecycle/core-lifecycle-server/src/core_start.ts", "deprecated": false, @@ -533,7 +773,13 @@ "{@link SavedObjectsServiceStart}" ], "signature": [ - "SavedObjectsServiceStart" + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsServiceStart", + "text": "SavedObjectsServiceStart" + } ], "path": "packages/core/lifecycle/core-lifecycle-server/src/core_start.ts", "deprecated": false, @@ -549,7 +795,13 @@ "{@link UiSettingsServiceStart}" ], "signature": [ - "UiSettingsServiceStart" + { + "pluginId": "@kbn/core-ui-settings-server", + "scope": "server", + "docId": "kibKbnCoreUiSettingsServerPluginApi", + "section": "def-server.UiSettingsServiceStart", + "text": "UiSettingsServiceStart" + } ], "path": "packages/core/lifecycle/core-lifecycle-server/src/core_start.ts", "deprecated": false, diff --git a/api_docs/kbn_core_lifecycle_server.mdx b/api_docs/kbn_core_lifecycle_server.mdx index ef0ed70248903..b69f51e93cd36 100644 --- a/api_docs/kbn_core_lifecycle_server.mdx +++ b/api_docs/kbn_core_lifecycle_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-lifecycle-server title: "@kbn/core-lifecycle-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-lifecycle-server plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-lifecycle-server'] --- import kbnCoreLifecycleServerObj from './kbn_core_lifecycle_server.devdocs.json'; diff --git a/api_docs/kbn_core_lifecycle_server_mocks.devdocs.json b/api_docs/kbn_core_lifecycle_server_mocks.devdocs.json index 55aa54ec4fffa..f66f441281b15 100644 --- a/api_docs/kbn_core_lifecycle_server_mocks.devdocs.json +++ b/api_docs/kbn_core_lifecycle_server_mocks.devdocs.json @@ -35,21 +35,43 @@ "description": [], "signature": [ "() => { analytics: jest.Mocked<", - "AnalyticsServicePreboot", + { + "pluginId": "@kbn/core-analytics-server", + "scope": "server", + "docId": "kibKbnCoreAnalyticsServerPluginApi", + "section": "def-server.AnalyticsServicePreboot", + "text": "AnalyticsServicePreboot" + }, ">; context: jest.Mocked<", "InternalContextSetup", - ">; elasticsearch: ", - "MockedElasticSearchServicePreboot", - "; http: ", - "InternalHttpServicePrebootMock", + ">; elasticsearch: MockedElasticSearchServicePreboot; http: ", + { + "pluginId": "@kbn/core-http-server-mocks", + "scope": "server", + "docId": "kibKbnCoreHttpServerMocksPluginApi", + "section": "def-server.InternalHttpServicePrebootMock", + "text": "InternalHttpServicePrebootMock" + }, "; httpResources: { createRegistrar: jest.Mock, []>; }; uiSettings: jest.Mocked<", "InternalUiSettingsServicePreboot", ">; logging: jest.Mocked<", "InternalLoggingServicePreboot", ">; preboot: ", - "InternalPrebootServicePrebootMock", + { + "pluginId": "@kbn/core-preboot-server-mocks", + "scope": "server", + "docId": "kibKbnCorePrebootServerMocksPluginApi", + "section": "def-server.InternalPrebootServicePrebootMock", + "text": "InternalPrebootServicePrebootMock" + }, "; }" ], "path": "packages/core/lifecycle/core-lifecycle-server-mocks/src/index.ts", @@ -67,17 +89,39 @@ "description": [], "signature": [ "() => { analytics: jest.Mocked<", - "AnalyticsServiceSetup", + { + "pluginId": "@kbn/core-analytics-server", + "scope": "server", + "docId": "kibKbnCoreAnalyticsServerPluginApi", + "section": "def-server.AnalyticsServiceSetup", + "text": "AnalyticsServiceSetup" + }, ">; capabilities: jest.Mocked<", - "CapabilitiesSetup", + { + "pluginId": "@kbn/core-capabilities-server", + "scope": "server", + "docId": "kibKbnCoreCapabilitiesServerPluginApi", + "section": "def-server.CapabilitiesSetup", + "text": "CapabilitiesSetup" + }, ">; context: jest.Mocked<", "InternalContextSetup", ">; docLinks: ", - "DocLinksServiceSetup", - "; elasticsearch: ", - "MockedInternalElasticSearchServiceSetup", - "; http: ", - "InternalHttpServiceSetupMock", + { + "pluginId": "@kbn/core-doc-links-server", + "scope": "server", + "docId": "kibKbnCoreDocLinksServerPluginApi", + "section": "def-server.DocLinksServiceSetup", + "text": "DocLinksServiceSetup" + }, + "; elasticsearch: MockedInternalElasticSearchServiceSetup; http: ", + { + "pluginId": "@kbn/core-http-server-mocks", + "scope": "server", + "docId": "kibKbnCoreHttpServerMocksPluginApi", + "section": "def-server.InternalHttpServiceSetupMock", + "text": "InternalHttpServiceSetupMock" + }, "; savedObjects: jest.Mocked<", "InternalSavedObjectsServiceSetup", ">; status: jest.Mocked<", @@ -85,19 +129,49 @@ ">; environment: jest.Mocked<", "InternalEnvironmentServicePreboot", ">; i18n: jest.Mocked<", - "I18nServiceSetup", + { + "pluginId": "@kbn/core-i18n-server", + "scope": "common", + "docId": "kibKbnCoreI18nServerPluginApi", + "section": "def-common.I18nServiceSetup", + "text": "I18nServiceSetup" + }, ">; httpResources: { createRegistrar: jest.Mock, []>; }; rendering: jest.Mocked<", "InternalRenderingServiceSetup", ">; uiSettings: jest.Mocked<", - "UiSettingsServiceSetup", + { + "pluginId": "@kbn/core-ui-settings-server", + "scope": "server", + "docId": "kibKbnCoreUiSettingsServerPluginApi", + "section": "def-server.UiSettingsServiceSetup", + "text": "UiSettingsServiceSetup" + }, ">; logging: jest.Mocked<", "InternalLoggingServicePreboot", ">; metrics: jest.Mocked<", - "MetricsServiceSetup", + { + "pluginId": "@kbn/core-metrics-server", + "scope": "server", + "docId": "kibKbnCoreMetricsServerPluginApi", + "section": "def-server.MetricsServiceSetup", + "text": "MetricsServiceSetup" + }, ">; deprecations: jest.Mocked<", - "DeprecationRegistryProvider", + { + "pluginId": "@kbn/core-deprecations-server", + "scope": "server", + "docId": "kibKbnCoreDeprecationsServerPluginApi", + "section": "def-server.DeprecationRegistryProvider", + "text": "DeprecationRegistryProvider" + }, ">; executionContext: jest.Mocked<", "IExecutionContext", ">; coreUsageData: jest.Mocked<", @@ -119,27 +193,87 @@ "description": [], "signature": [ "() => { analytics: jest.Mocked<", - "AnalyticsServiceStart", + { + "pluginId": "@kbn/core-analytics-server", + "scope": "server", + "docId": "kibKbnCoreAnalyticsServerPluginApi", + "section": "def-server.AnalyticsServiceStart", + "text": "AnalyticsServiceStart" + }, ">; capabilities: jest.Mocked<", - "CapabilitiesStart", + { + "pluginId": "@kbn/core-capabilities-server", + "scope": "server", + "docId": "kibKbnCoreCapabilitiesServerPluginApi", + "section": "def-server.CapabilitiesStart", + "text": "CapabilitiesStart" + }, ">; docLinks: ", - "DocLinksServiceSetup", + { + "pluginId": "@kbn/core-doc-links-server", + "scope": "server", + "docId": "kibKbnCoreDocLinksServerPluginApi", + "section": "def-server.DocLinksServiceSetup", + "text": "DocLinksServiceSetup" + }, "; elasticsearch: ", - "MockedElasticSearchServiceStart", + { + "pluginId": "@kbn/core-elasticsearch-server-mocks", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerMocksPluginApi", + "section": "def-server.MockedElasticSearchServiceStart", + "text": "MockedElasticSearchServiceStart" + }, "; http: ", - "InternalHttpServiceStartMock", + { + "pluginId": "@kbn/core-http-server-mocks", + "scope": "server", + "docId": "kibKbnCoreHttpServerMocksPluginApi", + "section": "def-server.InternalHttpServiceStartMock", + "text": "InternalHttpServiceStartMock" + }, "; metrics: jest.Mocked<", - "MetricsServiceSetup", + { + "pluginId": "@kbn/core-metrics-server", + "scope": "server", + "docId": "kibKbnCoreMetricsServerPluginApi", + "section": "def-server.MetricsServiceSetup", + "text": "MetricsServiceSetup" + }, ">; savedObjects: jest.Mocked<", - "SavedObjectsServiceStart", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsServiceStart", + "text": "SavedObjectsServiceStart" + }, ">; uiSettings: jest.Mocked<", - "UiSettingsServiceStart", + { + "pluginId": "@kbn/core-ui-settings-server", + "scope": "server", + "docId": "kibKbnCoreUiSettingsServerPluginApi", + "section": "def-server.UiSettingsServiceStart", + "text": "UiSettingsServiceStart" + }, ">; coreUsageData: jest.Mocked<", - "CoreUsageDataStart", + { + "pluginId": "@kbn/core-usage-data-server", + "scope": "server", + "docId": "kibKbnCoreUsageDataServerPluginApi", + "section": "def-server.CoreUsageDataStart", + "text": "CoreUsageDataStart" + }, ">; executionContext: jest.Mocked<", "IExecutionContext", ">; deprecations: jest.Mocked<", - "InternalDeprecationsServiceStart", + { + "pluginId": "@kbn/core-deprecations-server-internal", + "scope": "server", + "docId": "kibKbnCoreDeprecationsServerInternalPluginApi", + "section": "def-server.InternalDeprecationsServiceStart", + "text": "InternalDeprecationsServiceStart" + }, ">; }" ], "path": "packages/core/lifecycle/core-lifecycle-server-mocks/src/index.ts", @@ -218,9 +352,21 @@ "description": [], "signature": [ "() => ", - "MockedKeys", + { + "pluginId": "@kbn/utility-types-jest", + "scope": "server", + "docId": "kibKbnUtilityTypesJestPluginApi", + "section": "def-server.MockedKeys", + "text": "MockedKeys" + }, "<", - "CoreStart", + { + "pluginId": "@kbn/core-lifecycle-server", + "scope": "server", + "docId": "kibKbnCoreLifecycleServerPluginApi", + "section": "def-server.CoreStart", + "text": "CoreStart" + }, ">" ], "path": "packages/core/lifecycle/core-lifecycle-server-mocks/src/index.ts", diff --git a/api_docs/kbn_core_lifecycle_server_mocks.mdx b/api_docs/kbn_core_lifecycle_server_mocks.mdx index 51dff8afb9a51..d424f722ad0a6 100644 --- a/api_docs/kbn_core_lifecycle_server_mocks.mdx +++ b/api_docs/kbn_core_lifecycle_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-lifecycle-server-mocks title: "@kbn/core-lifecycle-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-lifecycle-server-mocks plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-lifecycle-server-mocks'] --- import kbnCoreLifecycleServerMocksObj from './kbn_core_lifecycle_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_logging_server.devdocs.json b/api_docs/kbn_core_logging_server.devdocs.json index 8a5748a6993ce..650c3a9d2d2c8 100644 --- a/api_docs/kbn_core_logging_server.devdocs.json +++ b/api_docs/kbn_core_logging_server.devdocs.json @@ -730,16 +730,16 @@ "pluginId": "@kbn/core-logging-server", "scope": "server", "docId": "kibKbnCoreLoggingServerPluginApi", - "section": "def-server.SizeLimitTriggeringPolicyConfig", - "text": "SizeLimitTriggeringPolicyConfig" + "section": "def-server.TimeIntervalTriggeringPolicyConfig", + "text": "TimeIntervalTriggeringPolicyConfig" }, " | ", { "pluginId": "@kbn/core-logging-server", "scope": "server", "docId": "kibKbnCoreLoggingServerPluginApi", - "section": "def-server.TimeIntervalTriggeringPolicyConfig", - "text": "TimeIntervalTriggeringPolicyConfig" + "section": "def-server.SizeLimitTriggeringPolicyConfig", + "text": "SizeLimitTriggeringPolicyConfig" } ], "path": "packages/core/logging/core-logging-server/src/appenders/rolling_file.ts", @@ -806,7 +806,13 @@ "\nThe minimum size the file must have to roll over." ], "signature": [ - "ByteSizeValue" + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ByteSizeValue", + "text": "ByteSizeValue" + } ], "path": "packages/core/logging/core-logging-server/src/appenders/rolling_file.ts", "deprecated": false, @@ -1009,16 +1015,16 @@ "pluginId": "@kbn/core-logging-server", "scope": "server", "docId": "kibKbnCoreLoggingServerPluginApi", - "section": "def-server.SizeLimitTriggeringPolicyConfig", - "text": "SizeLimitTriggeringPolicyConfig" + "section": "def-server.TimeIntervalTriggeringPolicyConfig", + "text": "TimeIntervalTriggeringPolicyConfig" }, " | ", { "pluginId": "@kbn/core-logging-server", "scope": "server", "docId": "kibKbnCoreLoggingServerPluginApi", - "section": "def-server.TimeIntervalTriggeringPolicyConfig", - "text": "TimeIntervalTriggeringPolicyConfig" + "section": "def-server.SizeLimitTriggeringPolicyConfig", + "text": "SizeLimitTriggeringPolicyConfig" } ], "path": "packages/core/logging/core-logging-server/src/appenders/rolling_file.ts", diff --git a/api_docs/kbn_core_logging_server.mdx b/api_docs/kbn_core_logging_server.mdx index 6a25c69557b43..8fb3822f8e8d6 100644 --- a/api_docs/kbn_core_logging_server.mdx +++ b/api_docs/kbn_core_logging_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-logging-server title: "@kbn/core-logging-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-logging-server plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-logging-server'] --- import kbnCoreLoggingServerObj from './kbn_core_logging_server.devdocs.json'; diff --git a/api_docs/kbn_core_logging_server_internal.devdocs.json b/api_docs/kbn_core_logging_server_internal.devdocs.json index 97a1788e84dcb..ec9dae6cfd6bb 100644 --- a/api_docs/kbn_core_logging_server_internal.devdocs.json +++ b/api_docs/kbn_core_logging_server_internal.devdocs.json @@ -120,11 +120,29 @@ "\nConfig schema for validting the shape of the `appenders` key in in {@link LoggerContextConfigType} or\n{@link LoggingConfigType}.\n" ], "signature": [ - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, " | Readonly<{ highlight?: boolean | undefined; pattern?: string | undefined; } & { type: \"pattern\"; }>; }> | Readonly<{} & { type: \"file\"; layout: Readonly<{} & { type: \"json\"; }> | Readonly<{ highlight?: boolean | undefined; pattern?: string | undefined; } & { type: \"pattern\"; }>; fileName: string; }> | Readonly<{} & { type: \"rewrite\"; policy: Readonly<{} & { type: \"meta\"; mode: \"update\" | \"remove\"; properties: Readonly<{ value?: string | number | boolean | null | undefined; } & { path: string; }>[]; }>; appenders: string[]; }> | Readonly<{} & { type: \"rolling-file\"; strategy: ", - "NumericRollingStrategyConfig", + { + "pluginId": "@kbn/core-logging-server", + "scope": "server", + "docId": "kibKbnCoreLoggingServerPluginApi", + "section": "def-server.NumericRollingStrategyConfig", + "text": "NumericRollingStrategyConfig" + }, "; layout: Readonly<{} & { type: \"json\"; }> | Readonly<{ highlight?: boolean | undefined; pattern?: string | undefined; } & { type: \"pattern\"; }>; fileName: string; policy: Readonly<{} & { type: \"size-limit\"; size: ", - "ByteSizeValue", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ByteSizeValue", + "text": "ByteSizeValue" + }, "; }> | Readonly<{} & { type: \"time-interval\"; interval: moment.Duration; modulate: boolean; }>; }>>" ], "path": "packages/core/logging/core-logging-server-internal/src/appenders/appenders.ts", @@ -142,13 +160,37 @@ "\nConfig schema for validating the inputs to the {@link LoggingServiceStart.configure} API.\nSee {@link LoggerContextConfigType}.\n" ], "signature": [ - "ObjectType", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ObjectType", + "text": "ObjectType" + }, "<{ appenders: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, ">; loggers: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "[]>; }>" ], "path": "packages/core/logging/core-logging-server-internal/src/logging_config.ts", @@ -166,13 +208,37 @@ "\nConfig schema for validating the `loggers` key in {@link LoggerContextConfigType} or {@link LoggingConfigType}.\n" ], "signature": [ - "ObjectType", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ObjectType", + "text": "ObjectType" + }, "<{ appenders: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; name: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; level: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "<\"error\" | \"all\" | \"info\" | \"debug\" | \"off\" | \"warn\" | \"trace\" | \"fatal\">; }>" ], "path": "packages/core/logging/core-logging-server-internal/src/logging_config.ts", diff --git a/api_docs/kbn_core_logging_server_internal.mdx b/api_docs/kbn_core_logging_server_internal.mdx index a3baee6a50ac6..6e44abbba05f8 100644 --- a/api_docs/kbn_core_logging_server_internal.mdx +++ b/api_docs/kbn_core_logging_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-logging-server-internal title: "@kbn/core-logging-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-logging-server-internal plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-logging-server-internal'] --- import kbnCoreLoggingServerInternalObj from './kbn_core_logging_server_internal.devdocs.json'; @@ -21,7 +21,7 @@ Contact Kibana Core for questions regarding this plugin. | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 9 | 0 | 5 | 1 | +| 9 | 0 | 5 | 2 | ## Server diff --git a/api_docs/kbn_core_logging_server_mocks.devdocs.json b/api_docs/kbn_core_logging_server_mocks.devdocs.json index 389ee2b4f09ba..1a40b0e111102 100644 --- a/api_docs/kbn_core_logging_server_mocks.devdocs.json +++ b/api_docs/kbn_core_logging_server_mocks.devdocs.json @@ -51,7 +51,13 @@ "description": [], "signature": [ "() => jest.Mocked<", - "LoggingServiceSetup", + { + "pluginId": "@kbn/core-logging-server", + "scope": "server", + "docId": "kibKbnCoreLoggingServerPluginApi", + "section": "def-server.LoggingServiceSetup", + "text": "LoggingServiceSetup" + }, ">" ], "path": "packages/core/logging/core-logging-server-mocks/src/logging_service.mock.ts", @@ -137,21 +143,63 @@ "description": [], "signature": [ "(loggerFactory: ", - "LoggerFactory", + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.LoggerFactory", + "text": "LoggerFactory" + }, ") => { debug: [message: string, meta?: ", - "LogMeta", + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.LogMeta", + "text": "LogMeta" + }, " | undefined][]; error: [errorOrMessage: string | Error, meta?: ", - "LogMeta", + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.LogMeta", + "text": "LogMeta" + }, " | undefined][]; fatal: [errorOrMessage: string | Error, meta?: ", - "LogMeta", + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.LogMeta", + "text": "LogMeta" + }, " | undefined][]; info: [message: string, meta?: ", - "LogMeta", + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.LogMeta", + "text": "LogMeta" + }, " | undefined][]; log: [record: ", "LogRecord", "][]; trace: [message: string, meta?: ", - "LogMeta", + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.LogMeta", + "text": "LogMeta" + }, " | undefined][]; warn: [errorOrMessage: string | Error, meta?: ", - "LogMeta", + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.LogMeta", + "text": "LogMeta" + }, " | undefined][]; }" ], "path": "packages/core/logging/core-logging-server-mocks/src/logging_system.mock.ts", @@ -167,7 +215,13 @@ "label": "loggerFactory", "description": [], "signature": [ - "LoggerFactory" + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.LoggerFactory", + "text": "LoggerFactory" + } ], "path": "packages/core/logging/core-logging-server-mocks/src/logging_system.mock.ts", "deprecated": false, @@ -184,7 +238,13 @@ "description": [], "signature": [ "(loggerFactory: ", - "LoggerFactory", + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.LoggerFactory", + "text": "LoggerFactory" + }, ") => void" ], "path": "packages/core/logging/core-logging-server-mocks/src/logging_system.mock.ts", @@ -200,7 +260,13 @@ "label": "loggerFactory", "description": [], "signature": [ - "LoggerFactory" + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.LoggerFactory", + "text": "LoggerFactory" + } ], "path": "packages/core/logging/core-logging-server-mocks/src/logging_system.mock.ts", "deprecated": false, @@ -216,8 +282,14 @@ "label": "createLogger", "description": [], "signature": [ - "(context?: string[] | undefined) => ", - "MockedLogger" + "(context?: string[]) => ", + { + "pluginId": "@kbn/logging-mocks", + "scope": "server", + "docId": "kibKbnLoggingMocksPluginApi", + "section": "def-server.MockedLogger", + "text": "MockedLogger" + } ], "path": "packages/core/logging/core-logging-server-mocks/src/logging_system.mock.ts", "deprecated": false, @@ -232,9 +304,9 @@ "label": "context", "description": [], "signature": [ - "string[] | undefined" + "string[]" ], - "path": "node_modules/@types/kbn__logging-mocks/index.d.ts", + "path": "packages/kbn-logging-mocks/src/logger.mock.ts", "deprecated": false, "trackAdoption": false } diff --git a/api_docs/kbn_core_logging_server_mocks.mdx b/api_docs/kbn_core_logging_server_mocks.mdx index d2a716af0013f..ae42321ed0010 100644 --- a/api_docs/kbn_core_logging_server_mocks.mdx +++ b/api_docs/kbn_core_logging_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-logging-server-mocks title: "@kbn/core-logging-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-logging-server-mocks plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-logging-server-mocks'] --- import kbnCoreLoggingServerMocksObj from './kbn_core_logging_server_mocks.devdocs.json'; @@ -21,7 +21,7 @@ Contact Kibana Core for questions regarding this plugin. | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 13 | 0 | 12 | 0 | +| 13 | 0 | 13 | 0 | ## Server diff --git a/api_docs/kbn_core_metrics_collectors_server_internal.devdocs.json b/api_docs/kbn_core_metrics_collectors_server_internal.devdocs.json index 8713e12e2a39f..b42a3b8909832 100644 --- a/api_docs/kbn_core_metrics_collectors_server_internal.devdocs.json +++ b/api_docs/kbn_core_metrics_collectors_server_internal.devdocs.json @@ -26,9 +26,21 @@ "text": "ElasticsearchClientsMetricsCollector" }, " implements ", - "MetricsCollector", + { + "pluginId": "@kbn/core-metrics-server", + "scope": "server", + "docId": "kibKbnCoreMetricsServerPluginApi", + "section": "def-server.MetricsCollector", + "text": "MetricsCollector" + }, "<", - "ElasticsearchClientsMetrics", + { + "pluginId": "@kbn/core-metrics-server", + "scope": "server", + "docId": "kibKbnCoreMetricsServerPluginApi", + "section": "def-server.ElasticsearchClientsMetrics", + "text": "ElasticsearchClientsMetrics" + }, ">" ], "path": "packages/core/metrics/core-metrics-collectors-server-internal/src/elasticsearch_client.ts", @@ -57,7 +69,13 @@ "label": "agentStore", "description": [], "signature": [ - "AgentStore" + { + "pluginId": "@kbn/core-elasticsearch-client-server-internal", + "scope": "server", + "docId": "kibKbnCoreElasticsearchClientServerInternalPluginApi", + "section": "def-server.AgentStore", + "text": "AgentStore" + } ], "path": "packages/core/metrics/core-metrics-collectors-server-internal/src/elasticsearch_client.ts", "deprecated": false, @@ -76,7 +94,13 @@ "description": [], "signature": [ "() => Promise<", - "ElasticsearchClientsMetrics", + { + "pluginId": "@kbn/core-metrics-server", + "scope": "server", + "docId": "kibKbnCoreMetricsServerPluginApi", + "section": "def-server.ElasticsearchClientsMetrics", + "text": "ElasticsearchClientsMetrics" + }, ">" ], "path": "packages/core/metrics/core-metrics-collectors-server-internal/src/elasticsearch_client.ts", @@ -120,9 +144,21 @@ "text": "EventLoopDelaysMonitor" }, " implements ", - "IEventLoopDelaysMonitor", + { + "pluginId": "@kbn/core-metrics-server", + "scope": "server", + "docId": "kibKbnCoreMetricsServerPluginApi", + "section": "def-server.IEventLoopDelaysMonitor", + "text": "IEventLoopDelaysMonitor" + }, "<", - "IntervalHistogram", + { + "pluginId": "@kbn/core-metrics-server", + "scope": "server", + "docId": "kibKbnCoreMetricsServerPluginApi", + "section": "def-server.IntervalHistogram", + "text": "IntervalHistogram" + }, ">" ], "path": "packages/core/metrics/core-metrics-collectors-server-internal/src/event_loop_delays_monitor.ts", @@ -158,7 +194,13 @@ ], "signature": [ "() => ", - "IntervalHistogram" + { + "pluginId": "@kbn/core-metrics-server", + "scope": "server", + "docId": "kibKbnCoreMetricsServerPluginApi", + "section": "def-server.IntervalHistogram", + "text": "IntervalHistogram" + } ], "path": "packages/core/metrics/core-metrics-collectors-server-internal/src/event_loop_delays_monitor.ts", "deprecated": false, @@ -221,9 +263,21 @@ "text": "OsMetricsCollector" }, " implements ", - "MetricsCollector", + { + "pluginId": "@kbn/core-metrics-server", + "scope": "server", + "docId": "kibKbnCoreMetricsServerPluginApi", + "section": "def-server.MetricsCollector", + "text": "MetricsCollector" + }, "<", - "OpsOsMetrics", + { + "pluginId": "@kbn/core-metrics-server", + "scope": "server", + "docId": "kibKbnCoreMetricsServerPluginApi", + "section": "def-server.OpsOsMetrics", + "text": "OpsOsMetrics" + }, ">" ], "path": "packages/core/metrics/core-metrics-collectors-server-internal/src/os.ts", @@ -277,7 +331,13 @@ "description": [], "signature": [ "() => Promise<", - "OpsOsMetrics", + { + "pluginId": "@kbn/core-metrics-server", + "scope": "server", + "docId": "kibKbnCoreMetricsServerPluginApi", + "section": "def-server.OpsOsMetrics", + "text": "OpsOsMetrics" + }, ">" ], "path": "packages/core/metrics/core-metrics-collectors-server-internal/src/os.ts", @@ -321,9 +381,21 @@ "text": "ProcessMetricsCollector" }, " implements ", - "MetricsCollector", + { + "pluginId": "@kbn/core-metrics-server", + "scope": "server", + "docId": "kibKbnCoreMetricsServerPluginApi", + "section": "def-server.MetricsCollector", + "text": "MetricsCollector" + }, "<", - "OpsProcessMetrics", + { + "pluginId": "@kbn/core-metrics-server", + "scope": "server", + "docId": "kibKbnCoreMetricsServerPluginApi", + "section": "def-server.OpsProcessMetrics", + "text": "OpsProcessMetrics" + }, "[]>" ], "path": "packages/core/metrics/core-metrics-collectors-server-internal/src/process.ts", @@ -339,9 +411,21 @@ "description": [], "signature": [ "(processes: ", - "OpsProcessMetrics", + { + "pluginId": "@kbn/core-metrics-server", + "scope": "server", + "docId": "kibKbnCoreMetricsServerPluginApi", + "section": "def-server.OpsProcessMetrics", + "text": "OpsProcessMetrics" + }, "[]) => ", - "OpsProcessMetrics", + { + "pluginId": "@kbn/core-metrics-server", + "scope": "server", + "docId": "kibKbnCoreMetricsServerPluginApi", + "section": "def-server.OpsProcessMetrics", + "text": "OpsProcessMetrics" + }, " | undefined" ], "path": "packages/core/metrics/core-metrics-collectors-server-internal/src/process.ts", @@ -356,7 +440,13 @@ "label": "processes", "description": [], "signature": [ - "OpsProcessMetrics", + { + "pluginId": "@kbn/core-metrics-server", + "scope": "server", + "docId": "kibKbnCoreMetricsServerPluginApi", + "section": "def-server.OpsProcessMetrics", + "text": "OpsProcessMetrics" + }, "[]" ], "path": "packages/core/metrics/core-metrics-collectors-server-internal/src/process.ts", @@ -376,7 +466,13 @@ "description": [], "signature": [ "() => ", - "OpsProcessMetrics", + { + "pluginId": "@kbn/core-metrics-server", + "scope": "server", + "docId": "kibKbnCoreMetricsServerPluginApi", + "section": "def-server.OpsProcessMetrics", + "text": "OpsProcessMetrics" + }, "[]" ], "path": "packages/core/metrics/core-metrics-collectors-server-internal/src/process.ts", @@ -420,9 +516,21 @@ "text": "ServerMetricsCollector" }, " implements ", - "MetricsCollector", + { + "pluginId": "@kbn/core-metrics-server", + "scope": "server", + "docId": "kibKbnCoreMetricsServerPluginApi", + "section": "def-server.MetricsCollector", + "text": "MetricsCollector" + }, "<", - "OpsServerMetrics", + { + "pluginId": "@kbn/core-metrics-server", + "scope": "server", + "docId": "kibKbnCoreMetricsServerPluginApi", + "section": "def-server.OpsServerMetrics", + "text": "OpsServerMetrics" + }, ">" ], "path": "packages/core/metrics/core-metrics-collectors-server-internal/src/server.ts", @@ -470,7 +578,13 @@ "description": [], "signature": [ "() => Promise<", - "OpsServerMetrics", + { + "pluginId": "@kbn/core-metrics-server", + "scope": "server", + "docId": "kibKbnCoreMetricsServerPluginApi", + "section": "def-server.OpsServerMetrics", + "text": "OpsServerMetrics" + }, ">" ], "path": "packages/core/metrics/core-metrics-collectors-server-internal/src/server.ts", @@ -520,7 +634,13 @@ "label": "logger", "description": [], "signature": [ - "Logger" + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + } ], "path": "packages/core/metrics/core-metrics-collectors-server-internal/src/os.ts", "deprecated": false, diff --git a/api_docs/kbn_core_metrics_collectors_server_internal.mdx b/api_docs/kbn_core_metrics_collectors_server_internal.mdx index 103c4b097c6c4..40ff397630ade 100644 --- a/api_docs/kbn_core_metrics_collectors_server_internal.mdx +++ b/api_docs/kbn_core_metrics_collectors_server_internal.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-metrics-collectors-server-internal plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-metrics-collectors-server-internal'] --- import kbnCoreMetricsCollectorsServerInternalObj from './kbn_core_metrics_collectors_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_metrics_collectors_server_mocks.devdocs.json b/api_docs/kbn_core_metrics_collectors_server_mocks.devdocs.json index 500a21e68dfe3..ab924ea08f2eb 100644 --- a/api_docs/kbn_core_metrics_collectors_server_mocks.devdocs.json +++ b/api_docs/kbn_core_metrics_collectors_server_mocks.devdocs.json @@ -20,7 +20,13 @@ "description": [], "signature": [ "() => ", - "OpsProcessMetrics" + { + "pluginId": "@kbn/core-metrics-server", + "scope": "server", + "docId": "kibKbnCoreMetricsServerPluginApi", + "section": "def-server.OpsProcessMetrics", + "text": "OpsProcessMetrics" + } ], "path": "packages/core/metrics/core-metrics-collectors-server-mocks/src/process.mocks.ts", "deprecated": false, @@ -54,7 +60,13 @@ "description": [], "signature": [ "() => jest.Mocked<", - "MetricsCollector", + { + "pluginId": "@kbn/core-metrics-server", + "scope": "server", + "docId": "kibKbnCoreMetricsServerPluginApi", + "section": "def-server.MetricsCollector", + "text": "MetricsCollector" + }, ">" ], "path": "packages/core/metrics/core-metrics-collectors-server-mocks/src/mocks.ts", @@ -72,7 +84,13 @@ "description": [], "signature": [ "() => ", - "OpsProcessMetrics" + { + "pluginId": "@kbn/core-metrics-server", + "scope": "server", + "docId": "kibKbnCoreMetricsServerPluginApi", + "section": "def-server.OpsProcessMetrics", + "text": "OpsProcessMetrics" + } ], "path": "packages/core/metrics/core-metrics-collectors-server-mocks/src/mocks.ts", "deprecated": false, @@ -103,7 +121,13 @@ "description": [], "signature": [ "(collectReturnValue?: any) => jest.Mocked<", - "MetricsCollector", + { + "pluginId": "@kbn/core-metrics-server", + "scope": "server", + "docId": "kibKbnCoreMetricsServerPluginApi", + "section": "def-server.MetricsCollector", + "text": "MetricsCollector" + }, ">" ], "path": "packages/core/metrics/core-metrics-collectors-server-mocks/src/collector.mock.ts", @@ -150,9 +174,21 @@ "description": [], "signature": [ "(overwrites?: Partial<", - "IntervalHistogram", + { + "pluginId": "@kbn/core-metrics-server", + "scope": "server", + "docId": "kibKbnCoreMetricsServerPluginApi", + "section": "def-server.IntervalHistogram", + "text": "IntervalHistogram" + }, ">) => ", - "IntervalHistogram" + { + "pluginId": "@kbn/core-metrics-server", + "scope": "server", + "docId": "kibKbnCoreMetricsServerPluginApi", + "section": "def-server.IntervalHistogram", + "text": "IntervalHistogram" + } ], "path": "packages/core/metrics/core-metrics-collectors-server-mocks/src/event_loop_delays_monitor.mocks.ts", "deprecated": false, @@ -184,7 +220,13 @@ "description": [], "signature": [ "() => ", - "EventLoopDelaysMonitor" + { + "pluginId": "@kbn/core-metrics-collectors-server-internal", + "scope": "server", + "docId": "kibKbnCoreMetricsCollectorsServerInternalPluginApi", + "section": "def-server.EventLoopDelaysMonitor", + "text": "EventLoopDelaysMonitor" + } ], "path": "packages/core/metrics/core-metrics-collectors-server-mocks/src/event_loop_delays_monitor.mocks.ts", "deprecated": false, diff --git a/api_docs/kbn_core_metrics_collectors_server_mocks.mdx b/api_docs/kbn_core_metrics_collectors_server_mocks.mdx index e0ff7a8ec8436..780353749ecc7 100644 --- a/api_docs/kbn_core_metrics_collectors_server_mocks.mdx +++ b/api_docs/kbn_core_metrics_collectors_server_mocks.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-metrics-collectors-server-mocks plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-metrics-collectors-server-mocks'] --- import kbnCoreMetricsCollectorsServerMocksObj from './kbn_core_metrics_collectors_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_metrics_server.devdocs.json b/api_docs/kbn_core_metrics_server.devdocs.json index 6413560fea457..a020eebc5db95 100644 --- a/api_docs/kbn_core_metrics_server.devdocs.json +++ b/api_docs/kbn_core_metrics_server.devdocs.json @@ -395,7 +395,13 @@ ], "signature": [ "() => ", - "MaybePromise", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.MaybePromise", + "text": "MaybePromise" + }, "" ], "path": "packages/core/metrics/core-metrics-server/src/collectors.ts", @@ -557,7 +563,76 @@ "deprecated": true, "removeBy": "8.8.0", "trackAdoption": false, - "references": [] + "references": [ + { + "plugin": "@kbn/core-apps-browser-internal", + "path": "packages/core/apps/core-apps-browser-internal/src/status/lib/load_status.ts" + }, + { + "plugin": "@kbn/core-apps-browser-internal", + "path": "packages/core/apps/core-apps-browser-internal/src/status/lib/load_status.ts" + }, + { + "plugin": "@kbn/core-apps-browser-internal", + "path": "packages/core/apps/core-apps-browser-internal/src/status/lib/load_status.ts" + }, + { + "plugin": "@kbn/core-apps-browser-internal", + "path": "packages/core/apps/core-apps-browser-internal/src/status/lib/load_status.ts" + }, + { + "plugin": "@kbn/core-apps-browser-internal", + "path": "packages/core/apps/core-apps-browser-internal/src/status/lib/load_status.ts" + }, + { + "plugin": "@kbn/core-apps-browser-internal", + "path": "packages/core/apps/core-apps-browser-internal/src/status/lib/load_status.ts" + }, + { + "plugin": "@kbn/core-metrics-server-internal", + "path": "packages/core/metrics/core-metrics-server-internal/src/ops_metrics_collector.ts" + }, + { + "plugin": "@kbn/core-metrics-server-internal", + "path": "packages/core/metrics/core-metrics-server-internal/src/logging/get_ops_metrics_log.ts" + }, + { + "plugin": "@kbn/core-status-server-internal", + "path": "packages/core/status/core-status-server-internal/src/routes/status.ts" + }, + { + "plugin": "@kbn/core-status-server-internal", + "path": "packages/core/status/core-status-server-internal/src/routes/status.ts" + }, + { + "plugin": "@kbn/core-usage-data-server-internal", + "path": "packages/core/usage-data/core-usage-data-server-internal/src/core_usage_data_service.ts" + }, + { + "plugin": "@kbn/core-usage-data-server-internal", + "path": "packages/core/usage-data/core-usage-data-server-internal/src/core_usage_data_service.ts" + }, + { + "plugin": "@kbn/core-usage-data-server-internal", + "path": "packages/core/usage-data/core-usage-data-server-internal/src/core_usage_data_service.ts" + }, + { + "plugin": "monitoring", + "path": "x-pack/plugins/monitoring/server/kibana_monitoring/bulk_uploader.ts" + }, + { + "plugin": "kibanaUsageCollection", + "path": "src/plugins/kibana_usage_collection/server/collectors/ops_stats/ops_stats_collector.ts" + }, + { + "plugin": "@kbn/core-metrics-server-internal", + "path": "packages/core/metrics/core-metrics-server-internal/src/logging/get_ops_metrics_log.test.ts" + }, + { + "plugin": "@kbn/core-apps-browser-internal", + "path": "packages/core/apps/core-apps-browser-internal/src/status/lib/load_status.test.ts" + } + ] }, { "parentPluginId": "@kbn/core-metrics-server", diff --git a/api_docs/kbn_core_metrics_server.mdx b/api_docs/kbn_core_metrics_server.mdx index 377775a36d46d..7718cce55915b 100644 --- a/api_docs/kbn_core_metrics_server.mdx +++ b/api_docs/kbn_core_metrics_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-metrics-server title: "@kbn/core-metrics-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-metrics-server plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-metrics-server'] --- import kbnCoreMetricsServerObj from './kbn_core_metrics_server.devdocs.json'; diff --git a/api_docs/kbn_core_metrics_server_internal.devdocs.json b/api_docs/kbn_core_metrics_server_internal.devdocs.json index 0920f42e9bf88..8813632cb753b 100644 --- a/api_docs/kbn_core_metrics_server_internal.devdocs.json +++ b/api_docs/kbn_core_metrics_server_internal.devdocs.json @@ -91,15 +91,45 @@ "label": "schema", "description": [], "signature": [ - "ObjectType", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ObjectType", + "text": "ObjectType" + }, "<{ interval: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; cGroupOverrides: ", - "ObjectType", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ObjectType", + "text": "ObjectType" + }, "<{ cpuPath: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; cpuAcctPath: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; }>; }>" ], "path": "packages/core/metrics/core-metrics-server-internal/src/ops_config.ts", diff --git a/api_docs/kbn_core_metrics_server_internal.mdx b/api_docs/kbn_core_metrics_server_internal.mdx index d9115595a4ddb..a34ab20aa29c2 100644 --- a/api_docs/kbn_core_metrics_server_internal.mdx +++ b/api_docs/kbn_core_metrics_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-metrics-server-internal title: "@kbn/core-metrics-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-metrics-server-internal plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-metrics-server-internal'] --- import kbnCoreMetricsServerInternalObj from './kbn_core_metrics_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_metrics_server_mocks.devdocs.json b/api_docs/kbn_core_metrics_server_mocks.devdocs.json index 9e06f6bcaef02..637b44897f560 100644 --- a/api_docs/kbn_core_metrics_server_mocks.devdocs.json +++ b/api_docs/kbn_core_metrics_server_mocks.devdocs.json @@ -51,7 +51,13 @@ "description": [], "signature": [ "() => jest.Mocked<", - "MetricsServiceSetup", + { + "pluginId": "@kbn/core-metrics-server", + "scope": "server", + "docId": "kibKbnCoreMetricsServerPluginApi", + "section": "def-server.MetricsServiceSetup", + "text": "MetricsServiceSetup" + }, ">" ], "path": "packages/core/metrics/core-metrics-server-mocks/src/metrics_service.mock.ts", @@ -69,7 +75,13 @@ "description": [], "signature": [ "() => jest.Mocked<", - "MetricsServiceSetup", + { + "pluginId": "@kbn/core-metrics-server", + "scope": "server", + "docId": "kibKbnCoreMetricsServerPluginApi", + "section": "def-server.MetricsServiceSetup", + "text": "MetricsServiceSetup" + }, ">" ], "path": "packages/core/metrics/core-metrics-server-mocks/src/metrics_service.mock.ts", @@ -87,7 +99,13 @@ "description": [], "signature": [ "() => jest.Mocked<", - "MetricsServiceSetup", + { + "pluginId": "@kbn/core-metrics-server", + "scope": "server", + "docId": "kibKbnCoreMetricsServerPluginApi", + "section": "def-server.MetricsServiceSetup", + "text": "MetricsServiceSetup" + }, ">" ], "path": "packages/core/metrics/core-metrics-server-mocks/src/metrics_service.mock.ts", @@ -105,7 +123,13 @@ "description": [], "signature": [ "() => jest.Mocked<", - "MetricsServiceSetup", + { + "pluginId": "@kbn/core-metrics-server", + "scope": "server", + "docId": "kibKbnCoreMetricsServerPluginApi", + "section": "def-server.MetricsServiceSetup", + "text": "MetricsServiceSetup" + }, ">" ], "path": "packages/core/metrics/core-metrics-server-mocks/src/metrics_service.mock.ts", @@ -123,7 +147,13 @@ "description": [], "signature": [ "() => ", - "EventLoopDelaysMonitor" + { + "pluginId": "@kbn/core-metrics-collectors-server-internal", + "scope": "server", + "docId": "kibKbnCoreMetricsCollectorsServerInternalPluginApi", + "section": "def-server.EventLoopDelaysMonitor", + "text": "EventLoopDelaysMonitor" + } ], "path": "packages/core/metrics/core-metrics-server-mocks/src/metrics_service.mock.ts", "deprecated": false, diff --git a/api_docs/kbn_core_metrics_server_mocks.mdx b/api_docs/kbn_core_metrics_server_mocks.mdx index fd91e6c1c011a..7c6e8b98cb979 100644 --- a/api_docs/kbn_core_metrics_server_mocks.mdx +++ b/api_docs/kbn_core_metrics_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-metrics-server-mocks title: "@kbn/core-metrics-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-metrics-server-mocks plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-metrics-server-mocks'] --- import kbnCoreMetricsServerMocksObj from './kbn_core_metrics_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_mount_utils_browser.mdx b/api_docs/kbn_core_mount_utils_browser.mdx index b4da644dd676c..ab502388b71ac 100644 --- a/api_docs/kbn_core_mount_utils_browser.mdx +++ b/api_docs/kbn_core_mount_utils_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-mount-utils-browser title: "@kbn/core-mount-utils-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-mount-utils-browser plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-mount-utils-browser'] --- import kbnCoreMountUtilsBrowserObj from './kbn_core_mount_utils_browser.devdocs.json'; diff --git a/api_docs/kbn_core_node_server.mdx b/api_docs/kbn_core_node_server.mdx index 07404318e35c4..50c301dee8012 100644 --- a/api_docs/kbn_core_node_server.mdx +++ b/api_docs/kbn_core_node_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-node-server title: "@kbn/core-node-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-node-server plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-node-server'] --- import kbnCoreNodeServerObj from './kbn_core_node_server.devdocs.json'; diff --git a/api_docs/kbn_core_node_server_internal.devdocs.json b/api_docs/kbn_core_node_server_internal.devdocs.json index 813dd30908201..857092dbf36e0 100644 --- a/api_docs/kbn_core_node_server_internal.devdocs.json +++ b/api_docs/kbn_core_node_server_internal.devdocs.json @@ -11,7 +11,36 @@ "server": { "classes": [], "functions": [], - "interfaces": [], + "interfaces": [ + { + "parentPluginId": "@kbn/core-node-server-internal", + "id": "def-server.PrebootDeps", + "type": "Interface", + "tags": [], + "label": "PrebootDeps", + "description": [], + "path": "packages/core/node/core-node-server-internal/src/node_service.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/core-node-server-internal", + "id": "def-server.PrebootDeps.loggingSystem", + "type": "Object", + "tags": [], + "label": "loggingSystem", + "description": [], + "signature": [ + "ILoggingSystem" + ], + "path": "packages/core/node/core-node-server-internal/src/node_service.ts", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false + } + ], "enums": [], "misc": [], "objects": [ @@ -48,9 +77,21 @@ "label": "schema", "description": [], "signature": [ - "ObjectType", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ObjectType", + "text": "ObjectType" + }, "<{ roles: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "<\"*\"[] | (\"ui\" | \"background_tasks\")[]>; }>" ], "path": "packages/core/node/core-node-server-internal/src/node_config.ts", diff --git a/api_docs/kbn_core_node_server_internal.mdx b/api_docs/kbn_core_node_server_internal.mdx index 7aefb5c28ccd7..845b849450517 100644 --- a/api_docs/kbn_core_node_server_internal.mdx +++ b/api_docs/kbn_core_node_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-node-server-internal title: "@kbn/core-node-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-node-server-internal plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-node-server-internal'] --- import kbnCoreNodeServerInternalObj from './kbn_core_node_server_internal.devdocs.json'; @@ -21,10 +21,13 @@ Contact Kibana Core for questions regarding this plugin. | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 3 | 0 | 3 | 0 | +| 5 | 0 | 5 | 1 | ## Server ### Objects +### Interfaces + + diff --git a/api_docs/kbn_core_node_server_mocks.mdx b/api_docs/kbn_core_node_server_mocks.mdx index 177b84ffad2e4..3ce9165b5f54d 100644 --- a/api_docs/kbn_core_node_server_mocks.mdx +++ b/api_docs/kbn_core_node_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-node-server-mocks title: "@kbn/core-node-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-node-server-mocks plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-node-server-mocks'] --- import kbnCoreNodeServerMocksObj from './kbn_core_node_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_notifications_browser.devdocs.json b/api_docs/kbn_core_notifications_browser.devdocs.json index c9bcfa0a110d8..fdd20afaf2828 100644 --- a/api_docs/kbn_core_notifications_browser.devdocs.json +++ b/api_docs/kbn_core_notifications_browser.devdocs.json @@ -682,9 +682,21 @@ "Pick<", "Toast", ", \"children\" | \"onError\" | \"hidden\" | \"color\" | \"className\" | \"onChange\" | \"onKeyDown\" | \"onClick\" | \"security\" | \"defaultValue\" | \"lang\" | \"defaultChecked\" | \"suppressContentEditableWarning\" | \"suppressHydrationWarning\" | \"accessKey\" | \"contentEditable\" | \"contextMenu\" | \"dir\" | \"draggable\" | \"placeholder\" | \"slot\" | \"spellCheck\" | \"style\" | \"tabIndex\" | \"translate\" | \"radioGroup\" | \"role\" | \"about\" | \"datatype\" | \"inlist\" | \"prefix\" | \"property\" | \"resource\" | \"typeof\" | \"vocab\" | \"autoCapitalize\" | \"autoCorrect\" | \"autoSave\" | \"itemProp\" | \"itemScope\" | \"itemType\" | \"itemID\" | \"itemRef\" | \"results\" | \"unselectable\" | \"inputMode\" | \"is\" | \"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\" | \"onChangeCapture\" | \"onBeforeInput\" | \"onBeforeInputCapture\" | \"onInput\" | \"onInputCapture\" | \"onReset\" | \"onResetCapture\" | \"onSubmit\" | \"onSubmitCapture\" | \"onInvalid\" | \"onInvalidCapture\" | \"onLoad\" | \"onLoadCapture\" | \"onErrorCapture\" | \"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\" | \"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\" | \"toastLifeTimeMs\" | \"iconType\" | \"onClose\" | \"data-test-subj\" | \"css\"> & { title?: string | ", - "MountPoint", + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.MountPoint", + "text": "MountPoint" + }, " | undefined; text?: string | ", - "MountPoint", + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.MountPoint", + "text": "MountPoint" + }, " | undefined; } & { id: string; }" ], "path": "packages/core/notifications/core-notifications-browser/src/types.ts", @@ -729,9 +741,21 @@ "Pick<", "Toast", ", \"children\" | \"onError\" | \"hidden\" | \"color\" | \"className\" | \"onChange\" | \"onKeyDown\" | \"onClick\" | \"security\" | \"defaultValue\" | \"lang\" | \"defaultChecked\" | \"suppressContentEditableWarning\" | \"suppressHydrationWarning\" | \"accessKey\" | \"contentEditable\" | \"contextMenu\" | \"dir\" | \"draggable\" | \"placeholder\" | \"slot\" | \"spellCheck\" | \"style\" | \"tabIndex\" | \"translate\" | \"radioGroup\" | \"role\" | \"about\" | \"datatype\" | \"inlist\" | \"prefix\" | \"property\" | \"resource\" | \"typeof\" | \"vocab\" | \"autoCapitalize\" | \"autoCorrect\" | \"autoSave\" | \"itemProp\" | \"itemScope\" | \"itemType\" | \"itemID\" | \"itemRef\" | \"results\" | \"unselectable\" | \"inputMode\" | \"is\" | \"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\" | \"onChangeCapture\" | \"onBeforeInput\" | \"onBeforeInputCapture\" | \"onInput\" | \"onInputCapture\" | \"onReset\" | \"onResetCapture\" | \"onSubmit\" | \"onSubmitCapture\" | \"onInvalid\" | \"onInvalidCapture\" | \"onLoad\" | \"onLoadCapture\" | \"onErrorCapture\" | \"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\" | \"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\" | \"toastLifeTimeMs\" | \"iconType\" | \"onClose\" | \"data-test-subj\" | \"css\"> & { title?: string | ", - "MountPoint", + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.MountPoint", + "text": "MountPoint" + }, " | undefined; text?: string | ", - "MountPoint", + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.MountPoint", + "text": "MountPoint" + }, " | undefined; }" ], "path": "packages/core/notifications/core-notifications-browser/src/types.ts", diff --git a/api_docs/kbn_core_notifications_browser.mdx b/api_docs/kbn_core_notifications_browser.mdx index 4125c2190f47e..a996b1d591385 100644 --- a/api_docs/kbn_core_notifications_browser.mdx +++ b/api_docs/kbn_core_notifications_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-notifications-browser title: "@kbn/core-notifications-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-notifications-browser plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-notifications-browser'] --- import kbnCoreNotificationsBrowserObj from './kbn_core_notifications_browser.devdocs.json'; diff --git a/api_docs/kbn_core_notifications_browser_internal.devdocs.json b/api_docs/kbn_core_notifications_browser_internal.devdocs.json index 0a1c85f066b80..a76ecdf8d28c0 100644 --- a/api_docs/kbn_core_notifications_browser_internal.devdocs.json +++ b/api_docs/kbn_core_notifications_browser_internal.devdocs.json @@ -56,7 +56,13 @@ "({ uiSettings }: ", "SetupDeps", ") => ", - "NotificationsSetup" + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.NotificationsSetup", + "text": "NotificationsSetup" + } ], "path": "packages/core/notifications/core-notifications-browser-internal/src/notifications_service.ts", "deprecated": false, @@ -91,7 +97,13 @@ "({ i18n: i18nDep, overlays, theme, targetDomElement, }: ", "StartDeps", ") => ", - "NotificationsStart" + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.NotificationsStart", + "text": "NotificationsStart" + } ], "path": "packages/core/notifications/core-notifications-browser-internal/src/notifications_service.ts", "deprecated": false, @@ -152,7 +164,13 @@ "text": "ToastsApi" }, " implements ", - "IToasts" + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.IToasts", + "text": "IToasts" + } ], "path": "packages/core/notifications/core-notifications-browser-internal/src/toasts/toasts_api.tsx", "deprecated": false, @@ -191,7 +209,13 @@ "label": "uiSettings", "description": [], "signature": [ - "IUiSettingsClient" + { + "pluginId": "@kbn/core-ui-settings-browser", + "scope": "common", + "docId": "kibKbnCoreUiSettingsBrowserPluginApi", + "section": "def-common.IUiSettingsClient", + "text": "IUiSettingsClient" + } ], "path": "packages/core/notifications/core-notifications-browser-internal/src/toasts/toasts_api.tsx", "deprecated": false, @@ -215,7 +239,13 @@ "() => ", "Observable", "<", - "Toast", + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.Toast", + "text": "Toast" + }, "[]>" ], "path": "packages/core/notifications/core-notifications-browser-internal/src/toasts/toasts_api.tsx", @@ -235,9 +265,21 @@ ], "signature": [ "(toastOrTitle: ", - "ToastInput", + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.ToastInput", + "text": "ToastInput" + }, ") => ", - "Toast" + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.Toast", + "text": "Toast" + } ], "path": "packages/core/notifications/core-notifications-browser-internal/src/toasts/toasts_api.tsx", "deprecated": false, @@ -253,7 +295,13 @@ "- a {@link ToastInput }" ], "signature": [ - "ToastInput" + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.ToastInput", + "text": "ToastInput" + } ], "path": "packages/core/notifications/core-notifications-browser-internal/src/toasts/toasts_api.tsx", "deprecated": false, @@ -276,7 +324,13 @@ ], "signature": [ "(toastOrId: string | ", - "Toast", + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.Toast", + "text": "Toast" + }, ") => void" ], "path": "packages/core/notifications/core-notifications-browser-internal/src/toasts/toasts_api.tsx", @@ -294,7 +348,13 @@ ], "signature": [ "string | ", - "Toast" + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.Toast", + "text": "Toast" + } ], "path": "packages/core/notifications/core-notifications-browser-internal/src/toasts/toasts_api.tsx", "deprecated": false, @@ -315,11 +375,29 @@ ], "signature": [ "(toastOrTitle: ", - "ToastInput", + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.ToastInput", + "text": "ToastInput" + }, ", options?: ", - "ToastOptions", + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.ToastOptions", + "text": "ToastOptions" + }, " | undefined) => ", - "Toast" + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.Toast", + "text": "Toast" + } ], "path": "packages/core/notifications/core-notifications-browser-internal/src/toasts/toasts_api.tsx", "deprecated": false, @@ -335,7 +413,13 @@ "- a {@link ToastInput }" ], "signature": [ - "ToastInput" + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.ToastInput", + "text": "ToastInput" + } ], "path": "packages/core/notifications/core-notifications-browser-internal/src/toasts/toasts_api.tsx", "deprecated": false, @@ -352,7 +436,13 @@ "- a {@link ToastOptions }" ], "signature": [ - "ToastOptions", + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.ToastOptions", + "text": "ToastOptions" + }, " | undefined" ], "path": "packages/core/notifications/core-notifications-browser-internal/src/toasts/toasts_api.tsx", @@ -376,11 +466,29 @@ ], "signature": [ "(toastOrTitle: ", - "ToastInput", + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.ToastInput", + "text": "ToastInput" + }, ", options?: ", - "ToastOptions", + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.ToastOptions", + "text": "ToastOptions" + }, " | undefined) => ", - "Toast" + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.Toast", + "text": "Toast" + } ], "path": "packages/core/notifications/core-notifications-browser-internal/src/toasts/toasts_api.tsx", "deprecated": false, @@ -396,7 +504,13 @@ "- a {@link ToastInput }" ], "signature": [ - "ToastInput" + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.ToastInput", + "text": "ToastInput" + } ], "path": "packages/core/notifications/core-notifications-browser-internal/src/toasts/toasts_api.tsx", "deprecated": false, @@ -413,7 +527,13 @@ "- a {@link ToastOptions }" ], "signature": [ - "ToastOptions", + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.ToastOptions", + "text": "ToastOptions" + }, " | undefined" ], "path": "packages/core/notifications/core-notifications-browser-internal/src/toasts/toasts_api.tsx", @@ -437,11 +557,29 @@ ], "signature": [ "(toastOrTitle: ", - "ToastInput", + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.ToastInput", + "text": "ToastInput" + }, ", options?: ", - "ToastOptions", + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.ToastOptions", + "text": "ToastOptions" + }, " | undefined) => ", - "Toast" + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.Toast", + "text": "Toast" + } ], "path": "packages/core/notifications/core-notifications-browser-internal/src/toasts/toasts_api.tsx", "deprecated": false, @@ -457,7 +595,13 @@ "- a {@link ToastInput }" ], "signature": [ - "ToastInput" + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.ToastInput", + "text": "ToastInput" + } ], "path": "packages/core/notifications/core-notifications-browser-internal/src/toasts/toasts_api.tsx", "deprecated": false, @@ -474,7 +618,13 @@ "- a {@link ToastOptions }" ], "signature": [ - "ToastOptions", + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.ToastOptions", + "text": "ToastOptions" + }, " | undefined" ], "path": "packages/core/notifications/core-notifications-browser-internal/src/toasts/toasts_api.tsx", @@ -498,11 +648,29 @@ ], "signature": [ "(toastOrTitle: ", - "ToastInput", + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.ToastInput", + "text": "ToastInput" + }, ", options?: ", - "ToastOptions", + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.ToastOptions", + "text": "ToastOptions" + }, " | undefined) => ", - "Toast" + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.Toast", + "text": "Toast" + } ], "path": "packages/core/notifications/core-notifications-browser-internal/src/toasts/toasts_api.tsx", "deprecated": false, @@ -518,7 +686,13 @@ "- a {@link ToastInput }" ], "signature": [ - "ToastInput" + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.ToastInput", + "text": "ToastInput" + } ], "path": "packages/core/notifications/core-notifications-browser-internal/src/toasts/toasts_api.tsx", "deprecated": false, @@ -535,7 +709,13 @@ "- a {@link ToastOptions }" ], "signature": [ - "ToastOptions", + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.ToastOptions", + "text": "ToastOptions" + }, " | undefined" ], "path": "packages/core/notifications/core-notifications-browser-internal/src/toasts/toasts_api.tsx", @@ -559,9 +739,21 @@ ], "signature": [ "(error: Error, options: ", - "ErrorToastOptions", + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.ErrorToastOptions", + "text": "ErrorToastOptions" + }, ") => ", - "Toast" + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.Toast", + "text": "Toast" + } ], "path": "packages/core/notifications/core-notifications-browser-internal/src/toasts/toasts_api.tsx", "deprecated": false, @@ -594,7 +786,13 @@ "- {@link ErrorToastOptions }" ], "signature": [ - "ErrorToastOptions" + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.ErrorToastOptions", + "text": "ErrorToastOptions" + } ], "path": "packages/core/notifications/core-notifications-browser-internal/src/toasts/toasts_api.tsx", "deprecated": false, @@ -625,11 +823,23 @@ "{ setup: ({ uiSettings }: ", "SetupDeps", ") => ", - "NotificationsSetup", + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.NotificationsSetup", + "text": "NotificationsSetup" + }, "; start: ({ i18n: i18nDep, overlays, theme, targetDomElement, }: ", "StartDeps", ") => ", - "NotificationsStart", + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.NotificationsStart", + "text": "NotificationsStart" + }, "; stop: () => void; }" ], "path": "packages/core/notifications/core-notifications-browser-internal/src/notifications_service.ts", diff --git a/api_docs/kbn_core_notifications_browser_internal.mdx b/api_docs/kbn_core_notifications_browser_internal.mdx index f4f021aace7d1..f1eb1d4cb0526 100644 --- a/api_docs/kbn_core_notifications_browser_internal.mdx +++ b/api_docs/kbn_core_notifications_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-notifications-browser-internal title: "@kbn/core-notifications-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-notifications-browser-internal plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-notifications-browser-internal'] --- import kbnCoreNotificationsBrowserInternalObj from './kbn_core_notifications_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_notifications_browser_mocks.devdocs.json b/api_docs/kbn_core_notifications_browser_mocks.devdocs.json index fcf364d484832..c0a98863dbbfc 100644 --- a/api_docs/kbn_core_notifications_browser_mocks.devdocs.json +++ b/api_docs/kbn_core_notifications_browser_mocks.devdocs.json @@ -35,7 +35,13 @@ "description": [], "signature": [ "() => jest.Mocked<", - "NotificationsServiceContract", + { + "pluginId": "@kbn/core-notifications-browser-internal", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserInternalPluginApi", + "section": "def-common.NotificationsServiceContract", + "text": "NotificationsServiceContract" + }, ">" ], "path": "packages/core/notifications/core-notifications-browser-mocks/src/notifications_service.mock.ts", @@ -53,9 +59,21 @@ "description": [], "signature": [ "() => ", - "MockedKeys", + { + "pluginId": "@kbn/utility-types-jest", + "scope": "server", + "docId": "kibKbnUtilityTypesJestPluginApi", + "section": "def-server.MockedKeys", + "text": "MockedKeys" + }, "<", - "NotificationsSetup", + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.NotificationsSetup", + "text": "NotificationsSetup" + }, ">" ], "path": "packages/core/notifications/core-notifications-browser-mocks/src/notifications_service.mock.ts", @@ -73,9 +91,21 @@ "description": [], "signature": [ "() => ", - "MockedKeys", + { + "pluginId": "@kbn/utility-types-jest", + "scope": "server", + "docId": "kibKbnUtilityTypesJestPluginApi", + "section": "def-server.MockedKeys", + "text": "MockedKeys" + }, "<", - "NotificationsStart", + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.NotificationsStart", + "text": "NotificationsStart" + }, ">" ], "path": "packages/core/notifications/core-notifications-browser-mocks/src/notifications_service.mock.ts", diff --git a/api_docs/kbn_core_notifications_browser_mocks.mdx b/api_docs/kbn_core_notifications_browser_mocks.mdx index 448fd0d2eafb7..45eef6570f49c 100644 --- a/api_docs/kbn_core_notifications_browser_mocks.mdx +++ b/api_docs/kbn_core_notifications_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-notifications-browser-mocks title: "@kbn/core-notifications-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-notifications-browser-mocks plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-notifications-browser-mocks'] --- import kbnCoreNotificationsBrowserMocksObj from './kbn_core_notifications_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_overlays_browser.devdocs.json b/api_docs/kbn_core_overlays_browser.devdocs.json index 96e3daf337c5a..00e0537ab6d02 100644 --- a/api_docs/kbn_core_overlays_browser.devdocs.json +++ b/api_docs/kbn_core_overlays_browser.devdocs.json @@ -42,7 +42,13 @@ ], "signature": [ "(mount: ", - "MountPoint", + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.MountPoint", + "text": "MountPoint" + }, ", priority?: number | undefined) => string" ], "path": "packages/core/overlays/core-overlays-browser/src/banners.ts", @@ -59,7 +65,13 @@ "{@link MountPoint }" ], "signature": [ - "MountPoint", + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.MountPoint", + "text": "MountPoint" + }, "" ], "path": "packages/core/overlays/core-overlays-browser/src/banners.ts", @@ -138,7 +150,13 @@ ], "signature": [ "(id: string | undefined, mount: ", - "MountPoint", + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.MountPoint", + "text": "MountPoint" + }, ", priority?: number | undefined) => string" ], "path": "packages/core/overlays/core-overlays-browser/src/banners.ts", @@ -172,7 +190,13 @@ "{@link MountPoint }" ], "signature": [ - "MountPoint", + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.MountPoint", + "text": "MountPoint" + }, "" ], "path": "packages/core/overlays/core-overlays-browser/src/banners.ts", @@ -384,7 +408,13 @@ ], "signature": [ "((flyout: ", - "OverlayRef", + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.OverlayRef", + "text": "OverlayRef" + }, ") => void) | undefined" ], "path": "packages/core/overlays/core-overlays-browser/src/flyout.ts", @@ -399,7 +429,13 @@ "label": "flyout", "description": [], "signature": [ - "OverlayRef" + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.OverlayRef", + "text": "OverlayRef" + } ], "path": "packages/core/overlays/core-overlays-browser/src/flyout.ts", "deprecated": false, @@ -438,7 +474,13 @@ ], "signature": [ "(mount: ", - "MountPoint", + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.MountPoint", + "text": "MountPoint" + }, ", options?: ", { "pluginId": "@kbn/core-overlays-browser", @@ -448,7 +490,13 @@ "text": "OverlayFlyoutOpenOptions" }, " | undefined) => ", - "OverlayRef" + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.OverlayRef", + "text": "OverlayRef" + } ], "path": "packages/core/overlays/core-overlays-browser/src/flyout.ts", "deprecated": false, @@ -464,7 +512,13 @@ "{@link MountPoint } - Mounts the children inside a flyout panel" ], "signature": [ - "MountPoint", + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.MountPoint", + "text": "MountPoint" + }, "" ], "path": "packages/core/overlays/core-overlays-browser/src/flyout.ts", @@ -741,7 +795,13 @@ ], "signature": [ "(mount: ", - "MountPoint", + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.MountPoint", + "text": "MountPoint" + }, ", options?: ", { "pluginId": "@kbn/core-overlays-browser", @@ -751,7 +811,13 @@ "text": "OverlayModalOpenOptions" }, " | undefined) => ", - "OverlayRef" + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.OverlayRef", + "text": "OverlayRef" + } ], "path": "packages/core/overlays/core-overlays-browser/src/modal.ts", "deprecated": false, @@ -767,7 +833,13 @@ "{@link MountPoint } - Mounts the children inside the modal" ], "signature": [ - "MountPoint", + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.MountPoint", + "text": "MountPoint" + }, "" ], "path": "packages/core/overlays/core-overlays-browser/src/modal.ts", @@ -813,7 +885,13 @@ ], "signature": [ "(message: string | ", - "MountPoint", + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.MountPoint", + "text": "MountPoint" + }, ", options?: ", { "pluginId": "@kbn/core-overlays-browser", @@ -839,7 +917,13 @@ ], "signature": [ "string | ", - "MountPoint", + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.MountPoint", + "text": "MountPoint" + }, "" ], "path": "packages/core/overlays/core-overlays-browser/src/modal.ts", @@ -921,7 +1005,13 @@ ], "signature": [ "(mount: ", - "MountPoint", + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.MountPoint", + "text": "MountPoint" + }, ", options?: ", { "pluginId": "@kbn/core-overlays-browser", @@ -931,7 +1021,13 @@ "text": "OverlayFlyoutOpenOptions" }, " | undefined) => ", - "OverlayRef" + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.OverlayRef", + "text": "OverlayRef" + } ], "path": "packages/core/overlays/core-overlays-browser/src/overlays.ts", "deprecated": false, @@ -947,7 +1043,13 @@ "description": [], "signature": [ "(element: HTMLElement) => ", - "UnmountCallback" + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.UnmountCallback", + "text": "UnmountCallback" + } ], "path": "packages/core/overlays/core-overlays-browser/src/flyout.ts", "deprecated": false, @@ -964,7 +1066,7 @@ "signature": [ "T" ], - "path": "node_modules/@types/kbn__core-mount-utils-browser/index.d.ts", + "path": "packages/core/mount-utils/core-mount-utils-browser/src/mount_point.ts", "deprecated": false, "trackAdoption": false } @@ -1004,7 +1106,13 @@ ], "signature": [ "(mount: ", - "MountPoint", + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.MountPoint", + "text": "MountPoint" + }, ", options?: ", { "pluginId": "@kbn/core-overlays-browser", @@ -1014,7 +1122,13 @@ "text": "OverlayModalOpenOptions" }, " | undefined) => ", - "OverlayRef" + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.OverlayRef", + "text": "OverlayRef" + } ], "path": "packages/core/overlays/core-overlays-browser/src/overlays.ts", "deprecated": false, @@ -1030,7 +1144,13 @@ "description": [], "signature": [ "(element: HTMLElement) => ", - "UnmountCallback" + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.UnmountCallback", + "text": "UnmountCallback" + } ], "path": "packages/core/overlays/core-overlays-browser/src/modal.ts", "deprecated": false, @@ -1047,7 +1167,7 @@ "signature": [ "T" ], - "path": "node_modules/@types/kbn__core-mount-utils-browser/index.d.ts", + "path": "packages/core/mount-utils/core-mount-utils-browser/src/mount_point.ts", "deprecated": false, "trackAdoption": false } @@ -1087,7 +1207,13 @@ ], "signature": [ "(message: string | ", - "MountPoint", + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.MountPoint", + "text": "MountPoint" + }, ", options?: ", { "pluginId": "@kbn/core-overlays-browser", @@ -1112,7 +1238,13 @@ "description": [], "signature": [ "string | ", - "MountPoint", + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.MountPoint", + "text": "MountPoint" + }, "" ], "path": "packages/core/overlays/core-overlays-browser/src/modal.ts", diff --git a/api_docs/kbn_core_overlays_browser.mdx b/api_docs/kbn_core_overlays_browser.mdx index 3a2e061ab8f5a..1c246d1b96588 100644 --- a/api_docs/kbn_core_overlays_browser.mdx +++ b/api_docs/kbn_core_overlays_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-overlays-browser title: "@kbn/core-overlays-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-overlays-browser plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-overlays-browser'] --- import kbnCoreOverlaysBrowserObj from './kbn_core_overlays_browser.devdocs.json'; @@ -21,7 +21,7 @@ Contact Kibana Core for questions regarding this plugin. | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 63 | 0 | 35 | 0 | +| 63 | 0 | 37 | 0 | ## Common diff --git a/api_docs/kbn_core_overlays_browser_internal.devdocs.json b/api_docs/kbn_core_overlays_browser_internal.devdocs.json index dc445a5b23b20..109e99fce2e52 100644 --- a/api_docs/kbn_core_overlays_browser_internal.devdocs.json +++ b/api_docs/kbn_core_overlays_browser_internal.devdocs.json @@ -36,7 +36,13 @@ "text": "InternalOverlayBannersStart" }, " extends ", - "OverlayBannersStart" + { + "pluginId": "@kbn/core-overlays-browser", + "scope": "common", + "docId": "kibKbnCoreOverlaysBrowserPluginApi", + "section": "def-common.OverlayBannersStart", + "text": "OverlayBannersStart" + } ], "path": "packages/core/overlays/core-overlays-browser-internal/src/banners/banners_service.tsx", "deprecated": false, diff --git a/api_docs/kbn_core_overlays_browser_internal.mdx b/api_docs/kbn_core_overlays_browser_internal.mdx index 97bed2d49581a..ac2768e80144b 100644 --- a/api_docs/kbn_core_overlays_browser_internal.mdx +++ b/api_docs/kbn_core_overlays_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-overlays-browser-internal title: "@kbn/core-overlays-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-overlays-browser-internal plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-overlays-browser-internal'] --- import kbnCoreOverlaysBrowserInternalObj from './kbn_core_overlays_browser_internal.devdocs.json'; @@ -21,7 +21,7 @@ Contact Kibana Core for questions regarding this plugin. | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 1 | 0 | 1 | 0 | +| 1 | 0 | 1 | 1 | ## Common diff --git a/api_docs/kbn_core_overlays_browser_mocks.devdocs.json b/api_docs/kbn_core_overlays_browser_mocks.devdocs.json index f85faeed0734c..9843f80b312ec 100644 --- a/api_docs/kbn_core_overlays_browser_mocks.devdocs.json +++ b/api_docs/kbn_core_overlays_browser_mocks.devdocs.json @@ -35,7 +35,13 @@ "description": [], "signature": [ "() => jest.Mocked<", - "PublicMethodsOf", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.PublicMethodsOf", + "text": "PublicMethodsOf" + }, "<", "OverlayService", ">>" @@ -55,9 +61,21 @@ "description": [], "signature": [ "() => ", - "DeeplyMockedKeys", + { + "pluginId": "@kbn/utility-types-jest", + "scope": "server", + "docId": "kibKbnUtilityTypesJestPluginApi", + "section": "def-server.DeeplyMockedKeys", + "text": "DeeplyMockedKeys" + }, "<", - "OverlayStart", + { + "pluginId": "@kbn/core-overlays-browser", + "scope": "common", + "docId": "kibKbnCoreOverlaysBrowserPluginApi", + "section": "def-common.OverlayStart", + "text": "OverlayStart" + }, ">" ], "path": "packages/core/overlays/core-overlays-browser-mocks/src/overlay_service.mock.ts", diff --git a/api_docs/kbn_core_overlays_browser_mocks.mdx b/api_docs/kbn_core_overlays_browser_mocks.mdx index 9fad4b99e2c9b..77915857f4d8d 100644 --- a/api_docs/kbn_core_overlays_browser_mocks.mdx +++ b/api_docs/kbn_core_overlays_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-overlays-browser-mocks title: "@kbn/core-overlays-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-overlays-browser-mocks plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-overlays-browser-mocks'] --- import kbnCoreOverlaysBrowserMocksObj from './kbn_core_overlays_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_plugins_browser.devdocs.json b/api_docs/kbn_core_plugins_browser.devdocs.json index 6f6473053dc30..4d32b54c3a7aa 100644 --- a/api_docs/kbn_core_plugins_browser.devdocs.json +++ b/api_docs/kbn_core_plugins_browser.devdocs.json @@ -52,7 +52,13 @@ "description": [], "signature": [ "(core: ", - "CoreSetup", + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreSetup", + "text": "CoreSetup" + }, ", plugins: TPluginsSetup) => TSetup" ], "path": "packages/core/plugins/core-plugins-browser/src/plugin.ts", @@ -67,7 +73,13 @@ "label": "core", "description": [], "signature": [ - "CoreSetup", + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreSetup", + "text": "CoreSetup" + }, "" ], "path": "packages/core/plugins/core-plugins-browser/src/plugin.ts", @@ -102,7 +114,13 @@ "description": [], "signature": [ "(core: ", - "CoreStart", + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreStart", + "text": "CoreStart" + }, ", plugins: TPluginsStart) => TStart" ], "path": "packages/core/plugins/core-plugins-browser/src/plugin.ts", @@ -117,7 +135,13 @@ "label": "core", "description": [], "signature": [ - "CoreStart" + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreStart", + "text": "CoreStart" + } ], "path": "packages/core/plugins/core-plugins-browser/src/plugin.ts", "deprecated": false, @@ -209,9 +233,21 @@ "description": [], "signature": [ "{ mode: Readonly<", - "EnvironmentMode", + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.EnvironmentMode", + "text": "EnvironmentMode" + }, ">; packageInfo: Readonly<", - "PackageInfo", + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.PackageInfo", + "text": "PackageInfo" + }, ">; }" ], "path": "packages/core/plugins/core-plugins-browser/src/plugin_initializer.ts", diff --git a/api_docs/kbn_core_plugins_browser.mdx b/api_docs/kbn_core_plugins_browser.mdx index 312b84b533096..52a7974fa786d 100644 --- a/api_docs/kbn_core_plugins_browser.mdx +++ b/api_docs/kbn_core_plugins_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-plugins-browser title: "@kbn/core-plugins-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-plugins-browser plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-plugins-browser'] --- import kbnCorePluginsBrowserObj from './kbn_core_plugins_browser.devdocs.json'; diff --git a/api_docs/kbn_core_plugins_browser_mocks.devdocs.json b/api_docs/kbn_core_plugins_browser_mocks.devdocs.json index 7f22d9fda85ce..5671c40bc1f8c 100644 --- a/api_docs/kbn_core_plugins_browser_mocks.devdocs.json +++ b/api_docs/kbn_core_plugins_browser_mocks.devdocs.json @@ -93,7 +93,13 @@ "description": [], "signature": [ "(config?: unknown) => ", - "PluginInitializerContext", + { + "pluginId": "@kbn/core-plugins-browser", + "scope": "common", + "docId": "kibKbnCorePluginsBrowserPluginApi", + "section": "def-common.PluginInitializerContext", + "text": "PluginInitializerContext" + }, "" ], "path": "packages/core/plugins/core-plugins-browser-mocks/src/plugins_service.mock.ts", diff --git a/api_docs/kbn_core_plugins_browser_mocks.mdx b/api_docs/kbn_core_plugins_browser_mocks.mdx index b730211a57d84..56c1d97b85d5f 100644 --- a/api_docs/kbn_core_plugins_browser_mocks.mdx +++ b/api_docs/kbn_core_plugins_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-plugins-browser-mocks title: "@kbn/core-plugins-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-plugins-browser-mocks plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-plugins-browser-mocks'] --- import kbnCorePluginsBrowserMocksObj from './kbn_core_plugins_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_plugins_server.devdocs.json b/api_docs/kbn_core_plugins_server.devdocs.json index 63fcf8fc2dbbc..9dc1958b3cbe7 100644 --- a/api_docs/kbn_core_plugins_server.devdocs.json +++ b/api_docs/kbn_core_plugins_server.devdocs.json @@ -37,7 +37,20 @@ "deprecated": true, "removeBy": "8.8.0", "trackAdoption": false, - "references": [], + "references": [ + { + "plugin": "@kbn/core-plugins-server-internal", + "path": "packages/core/plugins/core-plugins-server-internal/src/plugin.ts" + }, + { + "plugin": "@kbn/core-plugins-server-internal", + "path": "packages/core/plugins/core-plugins-server-internal/src/plugin.ts" + }, + { + "plugin": "core", + "path": "src/core/server/index.ts" + } + ], "children": [ { "parentPluginId": "@kbn/core-plugins-server", @@ -48,7 +61,13 @@ "description": [], "signature": [ "(core: ", - "CoreSetup", + { + "pluginId": "@kbn/core-lifecycle-server", + "scope": "server", + "docId": "kibKbnCoreLifecycleServerPluginApi", + "section": "def-server.CoreSetup", + "text": "CoreSetup" + }, ", plugins: TPluginsSetup) => TSetup | Promise" ], "path": "packages/core/plugins/core-plugins-server/src/types.ts", @@ -63,7 +82,13 @@ "label": "core", "description": [], "signature": [ - "CoreSetup", + { + "pluginId": "@kbn/core-lifecycle-server", + "scope": "server", + "docId": "kibKbnCoreLifecycleServerPluginApi", + "section": "def-server.CoreSetup", + "text": "CoreSetup" + }, "" ], "path": "packages/core/plugins/core-plugins-server/src/types.ts", @@ -98,7 +123,13 @@ "description": [], "signature": [ "(core: ", - "CoreStart", + { + "pluginId": "@kbn/core-lifecycle-server", + "scope": "server", + "docId": "kibKbnCoreLifecycleServerPluginApi", + "section": "def-server.CoreStart", + "text": "CoreStart" + }, ", plugins: TPluginsStart) => TStart | Promise" ], "path": "packages/core/plugins/core-plugins-server/src/types.ts", @@ -113,7 +144,13 @@ "label": "core", "description": [], "signature": [ - "CoreStart" + { + "pluginId": "@kbn/core-lifecycle-server", + "scope": "server", + "docId": "kibKbnCoreLifecycleServerPluginApi", + "section": "def-server.CoreStart", + "text": "CoreStart" + } ], "path": "packages/core/plugins/core-plugins-server/src/types.ts", "deprecated": false, @@ -189,7 +226,13 @@ "description": [], "signature": [ "(core: ", - "CoreSetup", + { + "pluginId": "@kbn/core-lifecycle-server", + "scope": "server", + "docId": "kibKbnCoreLifecycleServerPluginApi", + "section": "def-server.CoreSetup", + "text": "CoreSetup" + }, ", plugins: TPluginsSetup) => TSetup" ], "path": "packages/core/plugins/core-plugins-server/src/types.ts", @@ -204,7 +247,13 @@ "label": "core", "description": [], "signature": [ - "CoreSetup", + { + "pluginId": "@kbn/core-lifecycle-server", + "scope": "server", + "docId": "kibKbnCoreLifecycleServerPluginApi", + "section": "def-server.CoreSetup", + "text": "CoreSetup" + }, "" ], "path": "packages/core/plugins/core-plugins-server/src/types.ts", @@ -239,7 +288,13 @@ "description": [], "signature": [ "(core: ", - "CoreStart", + { + "pluginId": "@kbn/core-lifecycle-server", + "scope": "server", + "docId": "kibKbnCoreLifecycleServerPluginApi", + "section": "def-server.CoreStart", + "text": "CoreStart" + }, ", plugins: TPluginsStart) => TStart" ], "path": "packages/core/plugins/core-plugins-server/src/types.ts", @@ -254,7 +309,13 @@ "label": "core", "description": [], "signature": [ - "CoreStart" + { + "pluginId": "@kbn/core-lifecycle-server", + "scope": "server", + "docId": "kibKbnCoreLifecycleServerPluginApi", + "section": "def-server.CoreStart", + "text": "CoreStart" + } ], "path": "packages/core/plugins/core-plugins-server/src/types.ts", "deprecated": false, @@ -331,7 +392,13 @@ "\nProvider for the {@link ConfigDeprecation} to apply to the plugin configuration." ], "signature": [ - "ConfigDeprecationProvider", + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.ConfigDeprecationProvider", + "text": "ConfigDeprecationProvider" + }, " | undefined" ], "path": "packages/core/plugins/core-plugins-server/src/types.ts", @@ -371,7 +438,13 @@ "\nSchema to use to validate the plugin configuration.\n\n{@link PluginConfigSchema}" ], "signature": [ - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "" ], "path": "packages/core/plugins/core-plugins-server/src/types.ts", @@ -450,9 +523,21 @@ "description": [], "signature": [ "{ mode: ", - "EnvironmentMode", + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.EnvironmentMode", + "text": "EnvironmentMode" + }, "; packageInfo: Readonly<", - "PackageInfo", + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.PackageInfo", + "text": "PackageInfo" + }, ">; instanceUuid: string; configs: readonly string[]; }" ], "path": "packages/core/plugins/core-plugins-server/src/types.ts", @@ -469,7 +554,13 @@ "\nAccess the configuration for this particular Kibana node.\nCan be used to determine which `roles` the current process was started with.\n" ], "signature": [ - "NodeInfo" + { + "pluginId": "@kbn/core-node-server", + "scope": "server", + "docId": "kibKbnCoreNodeServerPluginApi", + "section": "def-server.NodeInfo", + "text": "NodeInfo" + } ], "path": "packages/core/plugins/core-plugins-server/src/types.ts", "deprecated": false, @@ -485,7 +576,13 @@ "\n{@link LoggerFactory | logger factory} instance already bound to the plugin's logging context\n" ], "signature": [ - "LoggerFactory" + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.LoggerFactory", + "text": "LoggerFactory" + } ], "path": "packages/core/plugins/core-plugins-server/src/types.ts", "deprecated": false, @@ -503,19 +600,59 @@ "signature": [ "{ legacy: { globalConfig$: ", "Observable", - " moment.Duration; humanize: { (argWithSuffix?: boolean | undefined, argThresholds?: moment.argThresholdOpts | undefined): string; (argThresholds?: moment.argThresholdOpts | undefined): string; }; abs: () => moment.Duration; as: (units: moment.unitOfTime.Base) => number; get: (units: moment.unitOfTime.Base) => number; milliseconds: () => number; asMilliseconds: () => number; seconds: () => number; asSeconds: () => number; minutes: () => number; asMinutes: () => number; hours: () => number; asHours: () => number; days: () => number; asDays: () => number; weeks: () => number; asWeeks: () => number; months: () => number; asMonths: () => number; years: () => number; asYears: () => number; add: (inp?: moment.DurationInputArg1, unit?: moment.unitOfTime.DurationConstructor | undefined) => moment.Duration; subtract: (inp?: moment.DurationInputArg1, unit?: moment.unitOfTime.DurationConstructor | undefined) => moment.Duration; locale: { (): string; (locale: moment.LocaleSpecifier): moment.Duration; }; localeData: () => moment.Locale; toISOString: () => string; toJSON: () => string; isValid: () => boolean; lang: { (locale: moment.LocaleSpecifier): moment.Moment; (): moment.Locale; }; toIsoString: () => string; }>; readonly shardTimeout: Readonly<{ clone: () => moment.Duration; humanize: { (argWithSuffix?: boolean | undefined, argThresholds?: moment.argThresholdOpts | undefined): string; (argThresholds?: moment.argThresholdOpts | undefined): string; }; abs: () => moment.Duration; as: (units: moment.unitOfTime.Base) => number; get: (units: moment.unitOfTime.Base) => number; milliseconds: () => number; asMilliseconds: () => number; seconds: () => number; asSeconds: () => number; minutes: () => number; asMinutes: () => number; hours: () => number; asHours: () => number; days: () => number; asDays: () => number; weeks: () => number; asWeeks: () => number; months: () => number; asMonths: () => number; years: () => number; asYears: () => number; add: (inp?: moment.DurationInputArg1, unit?: moment.unitOfTime.DurationConstructor | undefined) => moment.Duration; subtract: (inp?: moment.DurationInputArg1, unit?: moment.unitOfTime.DurationConstructor | undefined) => moment.Duration; locale: { (): string; (locale: moment.LocaleSpecifier): moment.Duration; }; localeData: () => moment.Locale; toISOString: () => string; toJSON: () => string; isValid: () => boolean; lang: { (locale: moment.LocaleSpecifier): moment.Moment; (): moment.Locale; }; toIsoString: () => string; }>; readonly pingTimeout: Readonly<{ clone: () => moment.Duration; humanize: { (argWithSuffix?: boolean | undefined, argThresholds?: moment.argThresholdOpts | undefined): string; (argThresholds?: moment.argThresholdOpts | undefined): string; }; abs: () => moment.Duration; as: (units: moment.unitOfTime.Base) => number; get: (units: moment.unitOfTime.Base) => number; milliseconds: () => number; asMilliseconds: () => number; seconds: () => number; asSeconds: () => number; minutes: () => number; asMinutes: () => number; hours: () => number; asHours: () => number; days: () => number; asDays: () => number; weeks: () => number; asWeeks: () => number; months: () => number; asMonths: () => number; years: () => number; asYears: () => number; add: (inp?: moment.DurationInputArg1, unit?: moment.unitOfTime.DurationConstructor | undefined) => moment.Duration; subtract: (inp?: moment.DurationInputArg1, unit?: moment.unitOfTime.DurationConstructor | undefined) => moment.Duration; locale: { (): string; (locale: moment.LocaleSpecifier): moment.Duration; }; localeData: () => moment.Locale; toISOString: () => string; toJSON: () => string; isValid: () => boolean; lang: { (locale: moment.LocaleSpecifier): moment.Moment; (): moment.Locale; }; toIsoString: () => string; }>; }>; path: Readonly<{ readonly data: string; }>; savedObjects: Readonly<{ readonly maxImportPayloadBytes: Readonly<{ isGreaterThan: (other: ", - "ByteSizeValue", + " moment.Duration; humanize: { (argWithSuffix?: boolean | undefined, argThresholds?: moment.argThresholdOpts | undefined): string; (argThresholds?: moment.argThresholdOpts | undefined): string; }; abs: () => moment.Duration; as: (units: moment.unitOfTime.Base) => number; get: (units: moment.unitOfTime.Base) => number; milliseconds: () => number; asMilliseconds: () => number; seconds: () => number; asSeconds: () => number; minutes: () => number; asMinutes: () => number; hours: () => number; asHours: () => number; days: () => number; asDays: () => number; weeks: () => number; asWeeks: () => number; months: () => number; asMonths: () => number; years: () => number; asYears: () => number; add: (inp?: moment.DurationInputArg1, unit?: moment.unitOfTime.DurationConstructor | undefined) => moment.Duration; subtract: (inp?: moment.DurationInputArg1, unit?: moment.unitOfTime.DurationConstructor | undefined) => moment.Duration; locale: { (): string; (locale: moment.LocaleSpecifier): moment.Duration; }; localeData: () => moment.Locale; toISOString: () => string; toJSON: () => string; isValid: () => boolean; lang: { (locale: moment.LocaleSpecifier): moment.Moment; (): moment.Locale; }; toIsoString: () => string; format: moment.Format; }>; readonly shardTimeout: Readonly<{ clone: () => moment.Duration; humanize: { (argWithSuffix?: boolean | undefined, argThresholds?: moment.argThresholdOpts | undefined): string; (argThresholds?: moment.argThresholdOpts | undefined): string; }; abs: () => moment.Duration; as: (units: moment.unitOfTime.Base) => number; get: (units: moment.unitOfTime.Base) => number; milliseconds: () => number; asMilliseconds: () => number; seconds: () => number; asSeconds: () => number; minutes: () => number; asMinutes: () => number; hours: () => number; asHours: () => number; days: () => number; asDays: () => number; weeks: () => number; asWeeks: () => number; months: () => number; asMonths: () => number; years: () => number; asYears: () => number; add: (inp?: moment.DurationInputArg1, unit?: moment.unitOfTime.DurationConstructor | undefined) => moment.Duration; subtract: (inp?: moment.DurationInputArg1, unit?: moment.unitOfTime.DurationConstructor | undefined) => moment.Duration; locale: { (): string; (locale: moment.LocaleSpecifier): moment.Duration; }; localeData: () => moment.Locale; toISOString: () => string; toJSON: () => string; isValid: () => boolean; lang: { (locale: moment.LocaleSpecifier): moment.Moment; (): moment.Locale; }; toIsoString: () => string; format: moment.Format; }>; readonly pingTimeout: Readonly<{ clone: () => moment.Duration; humanize: { (argWithSuffix?: boolean | undefined, argThresholds?: moment.argThresholdOpts | undefined): string; (argThresholds?: moment.argThresholdOpts | undefined): string; }; abs: () => moment.Duration; as: (units: moment.unitOfTime.Base) => number; get: (units: moment.unitOfTime.Base) => number; milliseconds: () => number; asMilliseconds: () => number; seconds: () => number; asSeconds: () => number; minutes: () => number; asMinutes: () => number; hours: () => number; asHours: () => number; days: () => number; asDays: () => number; weeks: () => number; asWeeks: () => number; months: () => number; asMonths: () => number; years: () => number; asYears: () => number; add: (inp?: moment.DurationInputArg1, unit?: moment.unitOfTime.DurationConstructor | undefined) => moment.Duration; subtract: (inp?: moment.DurationInputArg1, unit?: moment.unitOfTime.DurationConstructor | undefined) => moment.Duration; locale: { (): string; (locale: moment.LocaleSpecifier): moment.Duration; }; localeData: () => moment.Locale; toISOString: () => string; toJSON: () => string; isValid: () => boolean; lang: { (locale: moment.LocaleSpecifier): moment.Moment; (): moment.Locale; }; toIsoString: () => string; format: moment.Format; }>; }>; path: Readonly<{ readonly data: string; }>; savedObjects: Readonly<{ readonly maxImportPayloadBytes: Readonly<{ isGreaterThan: (other: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ByteSizeValue", + "text": "ByteSizeValue" + }, ") => boolean; isLessThan: (other: ", - "ByteSizeValue", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ByteSizeValue", + "text": "ByteSizeValue" + }, ") => boolean; isEqualTo: (other: ", - "ByteSizeValue", - ") => boolean; getValueInBytes: () => number; toString: (returnUnit?: ByteSizeValueUnit | undefined) => string; }>; }>; }>>; get: () => Readonly<{ elasticsearch: Readonly<{ readonly requestTimeout: Readonly<{ clone: () => moment.Duration; humanize: { (argWithSuffix?: boolean | undefined, argThresholds?: moment.argThresholdOpts | undefined): string; (argThresholds?: moment.argThresholdOpts | undefined): string; }; abs: () => moment.Duration; as: (units: moment.unitOfTime.Base) => number; get: (units: moment.unitOfTime.Base) => number; milliseconds: () => number; asMilliseconds: () => number; seconds: () => number; asSeconds: () => number; minutes: () => number; asMinutes: () => number; hours: () => number; asHours: () => number; days: () => number; asDays: () => number; weeks: () => number; asWeeks: () => number; months: () => number; asMonths: () => number; years: () => number; asYears: () => number; add: (inp?: moment.DurationInputArg1, unit?: moment.unitOfTime.DurationConstructor | undefined) => moment.Duration; subtract: (inp?: moment.DurationInputArg1, unit?: moment.unitOfTime.DurationConstructor | undefined) => moment.Duration; locale: { (): string; (locale: moment.LocaleSpecifier): moment.Duration; }; localeData: () => moment.Locale; toISOString: () => string; toJSON: () => string; isValid: () => boolean; lang: { (locale: moment.LocaleSpecifier): moment.Moment; (): moment.Locale; }; toIsoString: () => string; }>; readonly shardTimeout: Readonly<{ clone: () => moment.Duration; humanize: { (argWithSuffix?: boolean | undefined, argThresholds?: moment.argThresholdOpts | undefined): string; (argThresholds?: moment.argThresholdOpts | undefined): string; }; abs: () => moment.Duration; as: (units: moment.unitOfTime.Base) => number; get: (units: moment.unitOfTime.Base) => number; milliseconds: () => number; asMilliseconds: () => number; seconds: () => number; asSeconds: () => number; minutes: () => number; asMinutes: () => number; hours: () => number; asHours: () => number; days: () => number; asDays: () => number; weeks: () => number; asWeeks: () => number; months: () => number; asMonths: () => number; years: () => number; asYears: () => number; add: (inp?: moment.DurationInputArg1, unit?: moment.unitOfTime.DurationConstructor | undefined) => moment.Duration; subtract: (inp?: moment.DurationInputArg1, unit?: moment.unitOfTime.DurationConstructor | undefined) => moment.Duration; locale: { (): string; (locale: moment.LocaleSpecifier): moment.Duration; }; localeData: () => moment.Locale; toISOString: () => string; toJSON: () => string; isValid: () => boolean; lang: { (locale: moment.LocaleSpecifier): moment.Moment; (): moment.Locale; }; toIsoString: () => string; }>; readonly pingTimeout: Readonly<{ clone: () => moment.Duration; humanize: { (argWithSuffix?: boolean | undefined, argThresholds?: moment.argThresholdOpts | undefined): string; (argThresholds?: moment.argThresholdOpts | undefined): string; }; abs: () => moment.Duration; as: (units: moment.unitOfTime.Base) => number; get: (units: moment.unitOfTime.Base) => number; milliseconds: () => number; asMilliseconds: () => number; seconds: () => number; asSeconds: () => number; minutes: () => number; asMinutes: () => number; hours: () => number; asHours: () => number; days: () => number; asDays: () => number; weeks: () => number; asWeeks: () => number; months: () => number; asMonths: () => number; years: () => number; asYears: () => number; add: (inp?: moment.DurationInputArg1, unit?: moment.unitOfTime.DurationConstructor | undefined) => moment.Duration; subtract: (inp?: moment.DurationInputArg1, unit?: moment.unitOfTime.DurationConstructor | undefined) => moment.Duration; locale: { (): string; (locale: moment.LocaleSpecifier): moment.Duration; }; localeData: () => moment.Locale; toISOString: () => string; toJSON: () => string; isValid: () => boolean; lang: { (locale: moment.LocaleSpecifier): moment.Moment; (): moment.Locale; }; toIsoString: () => string; }>; }>; path: Readonly<{ readonly data: string; }>; savedObjects: Readonly<{ readonly maxImportPayloadBytes: Readonly<{ isGreaterThan: (other: ", - "ByteSizeValue", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ByteSizeValue", + "text": "ByteSizeValue" + }, + ") => boolean; getValueInBytes: () => number; toString: (returnUnit?: ", + "ByteSizeValueUnit", + " | undefined) => string; }>; }>; }>>; get: () => Readonly<{ elasticsearch: Readonly<{ readonly requestTimeout: Readonly<{ clone: () => moment.Duration; humanize: { (argWithSuffix?: boolean | undefined, argThresholds?: moment.argThresholdOpts | undefined): string; (argThresholds?: moment.argThresholdOpts | undefined): string; }; abs: () => moment.Duration; as: (units: moment.unitOfTime.Base) => number; get: (units: moment.unitOfTime.Base) => number; milliseconds: () => number; asMilliseconds: () => number; seconds: () => number; asSeconds: () => number; minutes: () => number; asMinutes: () => number; hours: () => number; asHours: () => number; days: () => number; asDays: () => number; weeks: () => number; asWeeks: () => number; months: () => number; asMonths: () => number; years: () => number; asYears: () => number; add: (inp?: moment.DurationInputArg1, unit?: moment.unitOfTime.DurationConstructor | undefined) => moment.Duration; subtract: (inp?: moment.DurationInputArg1, unit?: moment.unitOfTime.DurationConstructor | undefined) => moment.Duration; locale: { (): string; (locale: moment.LocaleSpecifier): moment.Duration; }; localeData: () => moment.Locale; toISOString: () => string; toJSON: () => string; isValid: () => boolean; lang: { (locale: moment.LocaleSpecifier): moment.Moment; (): moment.Locale; }; toIsoString: () => string; format: moment.Format; }>; readonly shardTimeout: Readonly<{ clone: () => moment.Duration; humanize: { (argWithSuffix?: boolean | undefined, argThresholds?: moment.argThresholdOpts | undefined): string; (argThresholds?: moment.argThresholdOpts | undefined): string; }; abs: () => moment.Duration; as: (units: moment.unitOfTime.Base) => number; get: (units: moment.unitOfTime.Base) => number; milliseconds: () => number; asMilliseconds: () => number; seconds: () => number; asSeconds: () => number; minutes: () => number; asMinutes: () => number; hours: () => number; asHours: () => number; days: () => number; asDays: () => number; weeks: () => number; asWeeks: () => number; months: () => number; asMonths: () => number; years: () => number; asYears: () => number; add: (inp?: moment.DurationInputArg1, unit?: moment.unitOfTime.DurationConstructor | undefined) => moment.Duration; subtract: (inp?: moment.DurationInputArg1, unit?: moment.unitOfTime.DurationConstructor | undefined) => moment.Duration; locale: { (): string; (locale: moment.LocaleSpecifier): moment.Duration; }; localeData: () => moment.Locale; toISOString: () => string; toJSON: () => string; isValid: () => boolean; lang: { (locale: moment.LocaleSpecifier): moment.Moment; (): moment.Locale; }; toIsoString: () => string; format: moment.Format; }>; readonly pingTimeout: Readonly<{ clone: () => moment.Duration; humanize: { (argWithSuffix?: boolean | undefined, argThresholds?: moment.argThresholdOpts | undefined): string; (argThresholds?: moment.argThresholdOpts | undefined): string; }; abs: () => moment.Duration; as: (units: moment.unitOfTime.Base) => number; get: (units: moment.unitOfTime.Base) => number; milliseconds: () => number; asMilliseconds: () => number; seconds: () => number; asSeconds: () => number; minutes: () => number; asMinutes: () => number; hours: () => number; asHours: () => number; days: () => number; asDays: () => number; weeks: () => number; asWeeks: () => number; months: () => number; asMonths: () => number; years: () => number; asYears: () => number; add: (inp?: moment.DurationInputArg1, unit?: moment.unitOfTime.DurationConstructor | undefined) => moment.Duration; subtract: (inp?: moment.DurationInputArg1, unit?: moment.unitOfTime.DurationConstructor | undefined) => moment.Duration; locale: { (): string; (locale: moment.LocaleSpecifier): moment.Duration; }; localeData: () => moment.Locale; toISOString: () => string; toJSON: () => string; isValid: () => boolean; lang: { (locale: moment.LocaleSpecifier): moment.Moment; (): moment.Locale; }; toIsoString: () => string; format: moment.Format; }>; }>; path: Readonly<{ readonly data: string; }>; savedObjects: Readonly<{ readonly maxImportPayloadBytes: Readonly<{ isGreaterThan: (other: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ByteSizeValue", + "text": "ByteSizeValue" + }, ") => boolean; isLessThan: (other: ", - "ByteSizeValue", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ByteSizeValue", + "text": "ByteSizeValue" + }, ") => boolean; isEqualTo: (other: ", - "ByteSizeValue", - ") => boolean; getValueInBytes: () => number; toString: (returnUnit?: ByteSizeValueUnit | undefined) => string; }>; }>; }>; }; create: () => ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ByteSizeValue", + "text": "ByteSizeValue" + }, + ") => boolean; getValueInBytes: () => number; toString: (returnUnit?: ", + "ByteSizeValueUnit", + " | undefined) => string; }>; }>; }>; }; create: () => ", "Observable", "; get: () => T; }" ], @@ -588,7 +725,13 @@ "\nType of the plugin, defaults to `standard`." ], "signature": [ - "PluginType" + { + "pluginId": "@kbn/core-base-common", + "scope": "server", + "docId": "kibKbnCoreBaseCommonPluginApi", + "section": "def-server.PluginType", + "text": "PluginType" + } ], "path": "packages/core/plugins/core-plugins-server/src/types.ts", "deprecated": false, @@ -701,7 +844,32 @@ "path": "packages/core/plugins/core-plugins-server/src/types.ts", "deprecated": true, "trackAdoption": false, - "references": [] + "references": [ + { + "plugin": "@kbn/core-plugins-server-internal", + "path": "packages/core/plugins/core-plugins-server-internal/src/discovery/plugin_manifest_parser.ts" + }, + { + "plugin": "@kbn/core-plugins-server-internal", + "path": "packages/core/plugins/core-plugins-server-internal/src/discovery/plugin_manifest_parser.ts" + }, + { + "plugin": "@kbn/core-plugins-server-internal", + "path": "packages/core/plugins/core-plugins-server-internal/src/discovery/plugin_manifest_parser.ts" + }, + { + "plugin": "@kbn/core-plugins-server-internal", + "path": "packages/core/plugins/core-plugins-server-internal/src/discovery/plugin_manifest_parser.ts" + }, + { + "plugin": "@kbn/core-plugins-server-internal", + "path": "packages/core/plugins/core-plugins-server-internal/src/discovery/plugin_manifest_parser.ts" + }, + { + "plugin": "@kbn/core-plugins-server-internal", + "path": "packages/core/plugins/core-plugins-server-internal/src/discovery/plugin_manifest_parser.ts" + } + ] }, { "parentPluginId": "@kbn/core-plugins-server", @@ -800,7 +968,13 @@ "description": [], "signature": [ "(core: ", - "CorePreboot", + { + "pluginId": "@kbn/core-lifecycle-server", + "scope": "server", + "docId": "kibKbnCoreLifecycleServerPluginApi", + "section": "def-server.CorePreboot", + "text": "CorePreboot" + }, ", plugins: TPluginsSetup) => TSetup" ], "path": "packages/core/plugins/core-plugins-server/src/types.ts", @@ -815,7 +989,13 @@ "label": "core", "description": [], "signature": [ - "CorePreboot" + { + "pluginId": "@kbn/core-lifecycle-server", + "scope": "server", + "docId": "kibKbnCoreLifecycleServerPluginApi", + "section": "def-server.CorePreboot", + "text": "CorePreboot" + } ], "path": "packages/core/plugins/core-plugins-server/src/types.ts", "deprecated": false, @@ -922,7 +1102,13 @@ "\nDedicated type for plugin configuration schema.\n" ], "signature": [ - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "" ], "path": "packages/core/plugins/core-plugins-server/src/types.ts", @@ -1011,13 +1197,33 @@ "label": "SharedGlobalConfig", "description": [], "signature": [ - "{ readonly elasticsearch: Readonly<{ readonly requestTimeout: Readonly<{ clone: () => moment.Duration; humanize: { (argWithSuffix?: boolean | undefined, argThresholds?: moment.argThresholdOpts | undefined): string; (argThresholds?: moment.argThresholdOpts | undefined): string; }; abs: () => moment.Duration; as: (units: moment.unitOfTime.Base) => number; get: (units: moment.unitOfTime.Base) => number; milliseconds: () => number; asMilliseconds: () => number; seconds: () => number; asSeconds: () => number; minutes: () => number; asMinutes: () => number; hours: () => number; asHours: () => number; days: () => number; asDays: () => number; weeks: () => number; asWeeks: () => number; months: () => number; asMonths: () => number; years: () => number; asYears: () => number; add: (inp?: moment.DurationInputArg1, unit?: moment.unitOfTime.DurationConstructor | undefined) => moment.Duration; subtract: (inp?: moment.DurationInputArg1, unit?: moment.unitOfTime.DurationConstructor | undefined) => moment.Duration; locale: { (): string; (locale: moment.LocaleSpecifier): moment.Duration; }; localeData: () => moment.Locale; toISOString: () => string; toJSON: () => string; isValid: () => boolean; lang: { (locale: moment.LocaleSpecifier): moment.Moment; (): moment.Locale; }; toIsoString: () => string; }>; readonly shardTimeout: Readonly<{ clone: () => moment.Duration; humanize: { (argWithSuffix?: boolean | undefined, argThresholds?: moment.argThresholdOpts | undefined): string; (argThresholds?: moment.argThresholdOpts | undefined): string; }; abs: () => moment.Duration; as: (units: moment.unitOfTime.Base) => number; get: (units: moment.unitOfTime.Base) => number; milliseconds: () => number; asMilliseconds: () => number; seconds: () => number; asSeconds: () => number; minutes: () => number; asMinutes: () => number; hours: () => number; asHours: () => number; days: () => number; asDays: () => number; weeks: () => number; asWeeks: () => number; months: () => number; asMonths: () => number; years: () => number; asYears: () => number; add: (inp?: moment.DurationInputArg1, unit?: moment.unitOfTime.DurationConstructor | undefined) => moment.Duration; subtract: (inp?: moment.DurationInputArg1, unit?: moment.unitOfTime.DurationConstructor | undefined) => moment.Duration; locale: { (): string; (locale: moment.LocaleSpecifier): moment.Duration; }; localeData: () => moment.Locale; toISOString: () => string; toJSON: () => string; isValid: () => boolean; lang: { (locale: moment.LocaleSpecifier): moment.Moment; (): moment.Locale; }; toIsoString: () => string; }>; readonly pingTimeout: Readonly<{ clone: () => moment.Duration; humanize: { (argWithSuffix?: boolean | undefined, argThresholds?: moment.argThresholdOpts | undefined): string; (argThresholds?: moment.argThresholdOpts | undefined): string; }; abs: () => moment.Duration; as: (units: moment.unitOfTime.Base) => number; get: (units: moment.unitOfTime.Base) => number; milliseconds: () => number; asMilliseconds: () => number; seconds: () => number; asSeconds: () => number; minutes: () => number; asMinutes: () => number; hours: () => number; asHours: () => number; days: () => number; asDays: () => number; weeks: () => number; asWeeks: () => number; months: () => number; asMonths: () => number; years: () => number; asYears: () => number; add: (inp?: moment.DurationInputArg1, unit?: moment.unitOfTime.DurationConstructor | undefined) => moment.Duration; subtract: (inp?: moment.DurationInputArg1, unit?: moment.unitOfTime.DurationConstructor | undefined) => moment.Duration; locale: { (): string; (locale: moment.LocaleSpecifier): moment.Duration; }; localeData: () => moment.Locale; toISOString: () => string; toJSON: () => string; isValid: () => boolean; lang: { (locale: moment.LocaleSpecifier): moment.Moment; (): moment.Locale; }; toIsoString: () => string; }>; }>; readonly path: Readonly<{ readonly data: string; }>; readonly savedObjects: Readonly<{ readonly maxImportPayloadBytes: Readonly<{ isGreaterThan: (other: ", - "ByteSizeValue", + "{ readonly elasticsearch: Readonly<{ readonly requestTimeout: Readonly<{ clone: () => moment.Duration; humanize: { (argWithSuffix?: boolean | undefined, argThresholds?: moment.argThresholdOpts | undefined): string; (argThresholds?: moment.argThresholdOpts | undefined): string; }; abs: () => moment.Duration; as: (units: moment.unitOfTime.Base) => number; get: (units: moment.unitOfTime.Base) => number; milliseconds: () => number; asMilliseconds: () => number; seconds: () => number; asSeconds: () => number; minutes: () => number; asMinutes: () => number; hours: () => number; asHours: () => number; days: () => number; asDays: () => number; weeks: () => number; asWeeks: () => number; months: () => number; asMonths: () => number; years: () => number; asYears: () => number; add: (inp?: moment.DurationInputArg1, unit?: moment.unitOfTime.DurationConstructor | undefined) => moment.Duration; subtract: (inp?: moment.DurationInputArg1, unit?: moment.unitOfTime.DurationConstructor | undefined) => moment.Duration; locale: { (): string; (locale: moment.LocaleSpecifier): moment.Duration; }; localeData: () => moment.Locale; toISOString: () => string; toJSON: () => string; isValid: () => boolean; lang: { (locale: moment.LocaleSpecifier): moment.Moment; (): moment.Locale; }; toIsoString: () => string; format: moment.Format; }>; readonly shardTimeout: Readonly<{ clone: () => moment.Duration; humanize: { (argWithSuffix?: boolean | undefined, argThresholds?: moment.argThresholdOpts | undefined): string; (argThresholds?: moment.argThresholdOpts | undefined): string; }; abs: () => moment.Duration; as: (units: moment.unitOfTime.Base) => number; get: (units: moment.unitOfTime.Base) => number; milliseconds: () => number; asMilliseconds: () => number; seconds: () => number; asSeconds: () => number; minutes: () => number; asMinutes: () => number; hours: () => number; asHours: () => number; days: () => number; asDays: () => number; weeks: () => number; asWeeks: () => number; months: () => number; asMonths: () => number; years: () => number; asYears: () => number; add: (inp?: moment.DurationInputArg1, unit?: moment.unitOfTime.DurationConstructor | undefined) => moment.Duration; subtract: (inp?: moment.DurationInputArg1, unit?: moment.unitOfTime.DurationConstructor | undefined) => moment.Duration; locale: { (): string; (locale: moment.LocaleSpecifier): moment.Duration; }; localeData: () => moment.Locale; toISOString: () => string; toJSON: () => string; isValid: () => boolean; lang: { (locale: moment.LocaleSpecifier): moment.Moment; (): moment.Locale; }; toIsoString: () => string; format: moment.Format; }>; readonly pingTimeout: Readonly<{ clone: () => moment.Duration; humanize: { (argWithSuffix?: boolean | undefined, argThresholds?: moment.argThresholdOpts | undefined): string; (argThresholds?: moment.argThresholdOpts | undefined): string; }; abs: () => moment.Duration; as: (units: moment.unitOfTime.Base) => number; get: (units: moment.unitOfTime.Base) => number; milliseconds: () => number; asMilliseconds: () => number; seconds: () => number; asSeconds: () => number; minutes: () => number; asMinutes: () => number; hours: () => number; asHours: () => number; days: () => number; asDays: () => number; weeks: () => number; asWeeks: () => number; months: () => number; asMonths: () => number; years: () => number; asYears: () => number; add: (inp?: moment.DurationInputArg1, unit?: moment.unitOfTime.DurationConstructor | undefined) => moment.Duration; subtract: (inp?: moment.DurationInputArg1, unit?: moment.unitOfTime.DurationConstructor | undefined) => moment.Duration; locale: { (): string; (locale: moment.LocaleSpecifier): moment.Duration; }; localeData: () => moment.Locale; toISOString: () => string; toJSON: () => string; isValid: () => boolean; lang: { (locale: moment.LocaleSpecifier): moment.Moment; (): moment.Locale; }; toIsoString: () => string; format: moment.Format; }>; }>; readonly path: Readonly<{ readonly data: string; }>; readonly savedObjects: Readonly<{ readonly maxImportPayloadBytes: Readonly<{ isGreaterThan: (other: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ByteSizeValue", + "text": "ByteSizeValue" + }, ") => boolean; isLessThan: (other: ", - "ByteSizeValue", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ByteSizeValue", + "text": "ByteSizeValue" + }, ") => boolean; isEqualTo: (other: ", - "ByteSizeValue", - ") => boolean; getValueInBytes: () => number; toString: (returnUnit?: ByteSizeValueUnit | undefined) => string; }>; }>; }" + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ByteSizeValue", + "text": "ByteSizeValue" + }, + ") => boolean; getValueInBytes: () => number; toString: (returnUnit?: ", + "ByteSizeValueUnit", + " | undefined) => string; }>; }>; }" ], "path": "packages/core/plugins/core-plugins-server/src/types.ts", "deprecated": false, diff --git a/api_docs/kbn_core_plugins_server.mdx b/api_docs/kbn_core_plugins_server.mdx index 20565955de17c..9f153b446bb4c 100644 --- a/api_docs/kbn_core_plugins_server.mdx +++ b/api_docs/kbn_core_plugins_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-plugins-server title: "@kbn/core-plugins-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-plugins-server plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-plugins-server'] --- import kbnCorePluginsServerObj from './kbn_core_plugins_server.devdocs.json'; diff --git a/api_docs/kbn_core_plugins_server_mocks.mdx b/api_docs/kbn_core_plugins_server_mocks.mdx index 623651f92b458..7db17045e0dbe 100644 --- a/api_docs/kbn_core_plugins_server_mocks.mdx +++ b/api_docs/kbn_core_plugins_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-plugins-server-mocks title: "@kbn/core-plugins-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-plugins-server-mocks plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-plugins-server-mocks'] --- import kbnCorePluginsServerMocksObj from './kbn_core_plugins_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_preboot_server.mdx b/api_docs/kbn_core_preboot_server.mdx index 939e64548e51f..ba48f508e9efc 100644 --- a/api_docs/kbn_core_preboot_server.mdx +++ b/api_docs/kbn_core_preboot_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-preboot-server title: "@kbn/core-preboot-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-preboot-server plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-preboot-server'] --- import kbnCorePrebootServerObj from './kbn_core_preboot_server.devdocs.json'; diff --git a/api_docs/kbn_core_preboot_server_mocks.devdocs.json b/api_docs/kbn_core_preboot_server_mocks.devdocs.json index dc65fa2926d2f..efd10a267bbb8 100644 --- a/api_docs/kbn_core_preboot_server_mocks.devdocs.json +++ b/api_docs/kbn_core_preboot_server_mocks.devdocs.json @@ -39,7 +39,13 @@ "description": [], "signature": [ "{ readonly isSetupOnHold: jest.MockInstance; readonly holdSetupUntilResolved: jest.MockInstance]>; } & ", - "PrebootServicePreboot" + { + "pluginId": "@kbn/core-preboot-server", + "scope": "server", + "docId": "kibKbnCorePrebootServerPluginApi", + "section": "def-server.PrebootServicePreboot", + "text": "PrebootServicePreboot" + } ], "path": "packages/core/preboot/core-preboot-server-mocks/src/preboot_service.mock.ts", "deprecated": false, diff --git a/api_docs/kbn_core_preboot_server_mocks.mdx b/api_docs/kbn_core_preboot_server_mocks.mdx index 2938dfa57c489..d8685f6493124 100644 --- a/api_docs/kbn_core_preboot_server_mocks.mdx +++ b/api_docs/kbn_core_preboot_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-preboot-server-mocks title: "@kbn/core-preboot-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-preboot-server-mocks plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-preboot-server-mocks'] --- import kbnCorePrebootServerMocksObj from './kbn_core_preboot_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_rendering_browser_mocks.mdx b/api_docs/kbn_core_rendering_browser_mocks.mdx index 2a2d9dfffb384..7f377b6ddfc6a 100644 --- a/api_docs/kbn_core_rendering_browser_mocks.mdx +++ b/api_docs/kbn_core_rendering_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-rendering-browser-mocks title: "@kbn/core-rendering-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-rendering-browser-mocks plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-rendering-browser-mocks'] --- import kbnCoreRenderingBrowserMocksObj from './kbn_core_rendering_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_rendering_server_internal.mdx b/api_docs/kbn_core_rendering_server_internal.mdx index a573c2918e26e..5b6a016f9cb4b 100644 --- a/api_docs/kbn_core_rendering_server_internal.mdx +++ b/api_docs/kbn_core_rendering_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-rendering-server-internal title: "@kbn/core-rendering-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-rendering-server-internal plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-rendering-server-internal'] --- import kbnCoreRenderingServerInternalObj from './kbn_core_rendering_server_internal.devdocs.json'; @@ -21,7 +21,7 @@ Contact Kibana Core for questions regarding this plugin. | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 2 | 0 | 2 | 0 | +| 2 | 0 | 2 | 1 | ## Server diff --git a/api_docs/kbn_core_rendering_server_mocks.mdx b/api_docs/kbn_core_rendering_server_mocks.mdx index 7bbf3e460faab..69d261c0ee436 100644 --- a/api_docs/kbn_core_rendering_server_mocks.mdx +++ b/api_docs/kbn_core_rendering_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-rendering-server-mocks title: "@kbn/core-rendering-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-rendering-server-mocks plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-rendering-server-mocks'] --- import kbnCoreRenderingServerMocksObj from './kbn_core_rendering_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_api_browser.devdocs.json b/api_docs/kbn_core_saved_objects_api_browser.devdocs.json index 06e843f3cd6f5..94f6b814699f3 100644 --- a/api_docs/kbn_core_saved_objects_api_browser.devdocs.json +++ b/api_docs/kbn_core_saved_objects_api_browser.devdocs.json @@ -363,7 +363,13 @@ "label": "error", "description": [], "signature": [ - "SavedObjectError", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectError", + "text": "SavedObjectError" + }, " | undefined" ], "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/apis/bulk_delete.ts", @@ -497,7 +503,13 @@ "label": "references", "description": [], "signature": [ - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[] | undefined" ], "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/apis/bulk_update.ts", @@ -814,7 +826,13 @@ ], "signature": [ "(objects: ", - "SavedObjectTypeIdTuple", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectTypeIdTuple", + "text": "SavedObjectTypeIdTuple" + }, "[], options?: ", { "pluginId": "@kbn/core-saved-objects-api-browser", @@ -847,7 +865,13 @@ "- an array of objects containing id, type" ], "signature": [ - "SavedObjectTypeIdTuple", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectTypeIdTuple", + "text": "SavedObjectTypeIdTuple" + }, "[]" ], "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/saved_objects_client.ts", @@ -1020,7 +1044,13 @@ ], "signature": [ "(objects: ", - "SavedObjectTypeIdTuple", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectTypeIdTuple", + "text": "SavedObjectTypeIdTuple" + }, "[]) => Promise<", { "pluginId": "@kbn/core-saved-objects-api-browser", @@ -1045,7 +1075,13 @@ "- an array ids, or an array of objects containing id and optionally type" ], "signature": [ - "SavedObjectTypeIdTuple", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectTypeIdTuple", + "text": "SavedObjectTypeIdTuple" + }, "[]" ], "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/saved_objects_client.ts", @@ -1132,7 +1168,13 @@ ], "signature": [ "(objects: ", - "SavedObjectTypeIdTuple", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectTypeIdTuple", + "text": "SavedObjectTypeIdTuple" + }, "[]) => Promise<", { "pluginId": "@kbn/core-saved-objects-api-browser", @@ -1157,7 +1199,13 @@ "- an array of objects containing id, type" ], "signature": [ - "SavedObjectTypeIdTuple", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectTypeIdTuple", + "text": "SavedObjectTypeIdTuple" + }, "[]" ], "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/saved_objects_client.ts", @@ -1392,7 +1440,13 @@ "{@inheritDoc SavedObjectsMigrationVersion}" ], "signature": [ - "SavedObjectsMigrationVersion", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectsMigrationVersion", + "text": "SavedObjectsMigrationVersion" + }, " | undefined" ], "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/apis/create.ts", @@ -1423,7 +1477,13 @@ "label": "references", "description": [], "signature": [ - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[] | undefined" ], "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/apis/create.ts", @@ -1637,7 +1697,13 @@ "label": "references", "description": [], "signature": [ - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[] | undefined" ], "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/apis/update.ts", @@ -1728,7 +1794,13 @@ "label": "migrationVersion", "description": [], "signature": [ - "SavedObjectsMigrationVersion", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectsMigrationVersion", + "text": "SavedObjectsMigrationVersion" + }, " | undefined" ], "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/simple_saved_object.ts", @@ -1757,7 +1829,13 @@ "label": "error", "description": [], "signature": [ - "SavedObjectError", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectError", + "text": "SavedObjectError" + }, " | undefined" ], "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/simple_saved_object.ts", @@ -1772,7 +1850,13 @@ "label": "references", "description": [], "signature": [ - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]" ], "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/simple_saved_object.ts", @@ -1991,13 +2075,37 @@ "{ type: string | string[]; filter?: any; search?: string | undefined; fields?: string[] | undefined; aggs?: Record | undefined; page?: number | undefined; perPage?: number | undefined; sortField?: string | undefined; searchFields?: string[] | undefined; hasReference?: ", - "SavedObjectsFindOptionsReference", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsFindOptionsReference", + "text": "SavedObjectsFindOptionsReference" + }, " | ", - "SavedObjectsFindOptionsReference", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsFindOptionsReference", + "text": "SavedObjectsFindOptionsReference" + }, "[] | undefined; hasReferenceOperator?: \"AND\" | \"OR\" | undefined; hasNoReference?: ", - "SavedObjectsFindOptionsReference", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsFindOptionsReference", + "text": "SavedObjectsFindOptionsReference" + }, " | ", - "SavedObjectsFindOptionsReference", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsFindOptionsReference", + "text": "SavedObjectsFindOptionsReference" + }, "[] | undefined; hasNoReferenceOperator?: \"AND\" | \"OR\" | undefined; defaultSearchOperator?: \"AND\" | \"OR\" | undefined; namespaces?: string[] | undefined; preference?: string | undefined; }" ], "path": "packages/core/saved-objects/core-saved-objects-api-browser/src/apis/find.ts", diff --git a/api_docs/kbn_core_saved_objects_api_browser.mdx b/api_docs/kbn_core_saved_objects_api_browser.mdx index 0642cc56522a5..c7f9ea44c43dd 100644 --- a/api_docs/kbn_core_saved_objects_api_browser.mdx +++ b/api_docs/kbn_core_saved_objects_api_browser.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-saved-objects-api-browser plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-api-browser'] --- import kbnCoreSavedObjectsApiBrowserObj from './kbn_core_saved_objects_api_browser.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_api_server.devdocs.json b/api_docs/kbn_core_saved_objects_api_server.devdocs.json index cae43e5b22b0d..9f0fd0f2b409c 100644 --- a/api_docs/kbn_core_saved_objects_api_server.devdocs.json +++ b/api_docs/kbn_core_saved_objects_api_server.devdocs.json @@ -118,7 +118,13 @@ "text": "SavedObjectsCreateOptions" }, " | undefined) => Promise<", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, ">" ], "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_repository.ts", @@ -879,7 +885,13 @@ "text": "SavedObjectsBaseOptions" }, " | undefined) => Promise<", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, ">" ], "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_repository.ts", @@ -1554,7 +1566,13 @@ "text": "SavedObjectsIncrementCounterOptions" }, " | undefined) => Promise<", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, ">" ], "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_repository.ts", @@ -2147,7 +2165,13 @@ "label": "references", "description": [], "signature": [ - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[] | undefined" ], "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/bulk_create.ts", @@ -2164,7 +2188,13 @@ "{@inheritDoc SavedObjectsMigrationVersion}" ], "signature": [ - "SavedObjectsMigrationVersion", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectsMigrationVersion", + "text": "SavedObjectsMigrationVersion" + }, " | undefined" ], "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/bulk_create.ts", @@ -2421,7 +2451,13 @@ "Reason the object could not be deleted (success is false)" ], "signature": [ - "SavedObjectError", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectError", + "text": "SavedObjectError" + }, " | undefined" ], "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/bulk_delete.ts", @@ -2617,7 +2653,13 @@ "label": "saved_objects", "description": [], "signature": [ - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "[]" ], "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/base.ts", @@ -2882,7 +2924,13 @@ "description": [], "signature": [ "{ id: string; type: string; error: ", - "SavedObjectError", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectError", + "text": "SavedObjectError" + }, "; }[]" ], "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/check_conflicts.ts", @@ -2924,7 +2972,13 @@ "text": "SavedObjectsCreateOptions" }, " | undefined) => Promise<", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, ">" ], "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_client.ts", @@ -3490,7 +3544,13 @@ "text": "SavedObjectsBaseOptions" }, " | undefined) => Promise<", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, ">" ], "path": "packages/core/saved-objects/core-saved-objects-api-server/src/saved_objects_client.ts", @@ -4703,7 +4763,13 @@ "{@inheritDoc SavedObjectsMigrationVersion}" ], "signature": [ - "SavedObjectsMigrationVersion", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectsMigrationVersion", + "text": "SavedObjectsMigrationVersion" + }, " | undefined" ], "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/create.ts", @@ -4734,7 +4800,13 @@ "label": "references", "description": [], "signature": [ - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[] | undefined" ], "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/create.ts", @@ -5538,7 +5610,13 @@ "text": "SavedObjectsFindResult" }, " extends ", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "" ], "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/find.ts", @@ -5674,7 +5752,13 @@ "{@link SavedObjectsMigrationVersion}" ], "signature": [ - "SavedObjectsMigrationVersion", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectsMigrationVersion", + "text": "SavedObjectsMigrationVersion" + }, " | undefined" ], "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/increment_counter.ts", @@ -5979,7 +6063,13 @@ "\nThe saved object that was found." ], "signature": [ - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "" ], "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/resolve.ts", @@ -6237,7 +6327,13 @@ "Included if there was an error updating this object's spaces" ], "signature": [ - "SavedObjectError", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectError", + "text": "SavedObjectError" + }, " | undefined" ], "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/update_objects_spaces.ts", @@ -6303,7 +6399,13 @@ "{@inheritdoc SavedObjectReference}" ], "signature": [ - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[] | undefined" ], "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/update.ts", @@ -6386,7 +6488,13 @@ "text": "SavedObjectsUpdateResponse" }, " extends Omit<", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, ", \"attributes\" | \"references\">" ], "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/update.ts", @@ -6415,7 +6523,13 @@ "label": "references", "description": [], "signature": [ - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[] | undefined" ], "path": "packages/core/saved-objects/core-saved-objects-api-server/src/apis/update.ts", diff --git a/api_docs/kbn_core_saved_objects_api_server.mdx b/api_docs/kbn_core_saved_objects_api_server.mdx index 4e5efe605eb1b..0fceb8d7b769b 100644 --- a/api_docs/kbn_core_saved_objects_api_server.mdx +++ b/api_docs/kbn_core_saved_objects_api_server.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-saved-objects-api-server plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-api-server'] --- import kbnCoreSavedObjectsApiServerObj from './kbn_core_saved_objects_api_server.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_api_server_internal.devdocs.json b/api_docs/kbn_core_saved_objects_api_server_internal.devdocs.json index 79c17d6086eef..18ce6c3676d88 100644 --- a/api_docs/kbn_core_saved_objects_api_server_internal.devdocs.json +++ b/api_docs/kbn_core_saved_objects_api_server_internal.devdocs.json @@ -26,7 +26,13 @@ "text": "SavedObjectsRepository" }, " implements ", - "ISavedObjectsRepository" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.ISavedObjectsRepository", + "text": "ISavedObjectsRepository" + } ], "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, @@ -43,9 +49,21 @@ ], "signature": [ "(type: string, attributes: T, options?: ", - "SavedObjectsCreateOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsCreateOptions", + "text": "SavedObjectsCreateOptions" + }, ") => Promise<", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, ">" ], "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", @@ -90,7 +108,13 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsCreateOptions" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsCreateOptions", + "text": "SavedObjectsCreateOptions" + } ], "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, @@ -111,11 +135,29 @@ ], "signature": [ "(objects: ", - "SavedObjectsBulkCreateObject", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkCreateObject", + "text": "SavedObjectsBulkCreateObject" + }, "[], options?: ", - "SavedObjectsCreateOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsCreateOptions", + "text": "SavedObjectsCreateOptions" + }, ") => Promise<", - "SavedObjectsBulkResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkResponse", + "text": "SavedObjectsBulkResponse" + }, ">" ], "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", @@ -130,7 +172,13 @@ "label": "objects", "description": [], "signature": [ - "SavedObjectsBulkCreateObject", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkCreateObject", + "text": "SavedObjectsBulkCreateObject" + }, "[]" ], "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", @@ -146,7 +194,13 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsCreateOptions" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsCreateOptions", + "text": "SavedObjectsCreateOptions" + } ], "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, @@ -167,11 +221,29 @@ ], "signature": [ "(objects?: ", - "SavedObjectsCheckConflictsObject", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsCheckConflictsObject", + "text": "SavedObjectsCheckConflictsObject" + }, "[], options?: ", - "SavedObjectsBaseOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + }, ") => Promise<", - "SavedObjectsCheckConflictsResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsCheckConflictsResponse", + "text": "SavedObjectsCheckConflictsResponse" + }, ">" ], "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", @@ -186,7 +258,13 @@ "label": "objects", "description": [], "signature": [ - "SavedObjectsCheckConflictsObject", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsCheckConflictsObject", + "text": "SavedObjectsCheckConflictsObject" + }, "[]" ], "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", @@ -202,7 +280,13 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsBaseOptions" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + } ], "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, @@ -223,7 +307,13 @@ ], "signature": [ "(type: string, id: string, options?: ", - "SavedObjectsDeleteOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsDeleteOptions", + "text": "SavedObjectsDeleteOptions" + }, ") => Promise<{}>" ], "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", @@ -268,7 +358,13 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsDeleteOptions" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsDeleteOptions", + "text": "SavedObjectsDeleteOptions" + } ], "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, @@ -289,11 +385,29 @@ ], "signature": [ "(objects: ", - "SavedObjectsBulkDeleteObject", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkDeleteObject", + "text": "SavedObjectsBulkDeleteObject" + }, "[], options?: ", - "SavedObjectsBulkDeleteOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkDeleteOptions", + "text": "SavedObjectsBulkDeleteOptions" + }, ") => Promise<", - "SavedObjectsBulkDeleteResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkDeleteResponse", + "text": "SavedObjectsBulkDeleteResponse" + }, ">" ], "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", @@ -308,7 +422,13 @@ "label": "objects", "description": [], "signature": [ - "SavedObjectsBulkDeleteObject", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkDeleteObject", + "text": "SavedObjectsBulkDeleteObject" + }, "[]" ], "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", @@ -324,7 +444,13 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsBulkDeleteOptions" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkDeleteOptions", + "text": "SavedObjectsBulkDeleteOptions" + } ], "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, @@ -345,7 +471,13 @@ ], "signature": [ "(namespace: string, options?: ", - "SavedObjectsDeleteByNamespaceOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsDeleteByNamespaceOptions", + "text": "SavedObjectsDeleteByNamespaceOptions" + }, ") => Promise" ], "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", @@ -375,7 +507,13 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsDeleteByNamespaceOptions" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsDeleteByNamespaceOptions", + "text": "SavedObjectsDeleteByNamespaceOptions" + } ], "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, @@ -396,9 +534,21 @@ ], "signature": [ "(options: ", - "SavedObjectsFindOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsFindOptions", + "text": "SavedObjectsFindOptions" + }, ") => Promise<", - "SavedObjectsFindResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsFindResponse", + "text": "SavedObjectsFindResponse" + }, ">" ], "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", @@ -413,7 +563,13 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsFindOptions" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsFindOptions", + "text": "SavedObjectsFindOptions" + } ], "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, @@ -434,11 +590,29 @@ ], "signature": [ "(objects?: ", - "SavedObjectsBulkGetObject", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkGetObject", + "text": "SavedObjectsBulkGetObject" + }, "[], options?: ", - "SavedObjectsBaseOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + }, ") => Promise<", - "SavedObjectsBulkResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkResponse", + "text": "SavedObjectsBulkResponse" + }, ">" ], "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", @@ -453,7 +627,13 @@ "label": "objects", "description": [], "signature": [ - "SavedObjectsBulkGetObject", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkGetObject", + "text": "SavedObjectsBulkGetObject" + }, "[]" ], "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", @@ -469,7 +649,13 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsBaseOptions" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + } ], "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, @@ -490,11 +676,29 @@ ], "signature": [ "(objects: ", - "SavedObjectsBulkResolveObject", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkResolveObject", + "text": "SavedObjectsBulkResolveObject" + }, "[], options?: ", - "SavedObjectsBaseOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + }, ") => Promise<", - "SavedObjectsBulkResolveResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkResolveResponse", + "text": "SavedObjectsBulkResolveResponse" + }, ">" ], "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", @@ -509,7 +713,13 @@ "label": "objects", "description": [], "signature": [ - "SavedObjectsBulkResolveObject", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkResolveObject", + "text": "SavedObjectsBulkResolveObject" + }, "[]" ], "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", @@ -525,7 +735,13 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsBaseOptions" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + } ], "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, @@ -546,9 +762,21 @@ ], "signature": [ "(type: string, id: string, options?: ", - "SavedObjectsBaseOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + }, ") => Promise<", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, ">" ], "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", @@ -593,7 +821,13 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsBaseOptions" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + } ], "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, @@ -614,9 +848,21 @@ ], "signature": [ "(type: string, id: string, options?: ", - "SavedObjectsBaseOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + }, ") => Promise<", - "SavedObjectsResolveResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsResolveResponse", + "text": "SavedObjectsResolveResponse" + }, ">" ], "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", @@ -661,7 +907,13 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsBaseOptions" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + } ], "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, @@ -682,9 +934,21 @@ ], "signature": [ "(type: string, id: string, attributes: Partial, options?: ", - "SavedObjectsUpdateOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsUpdateOptions", + "text": "SavedObjectsUpdateOptions" + }, ") => Promise<", - "SavedObjectsUpdateResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsUpdateResponse", + "text": "SavedObjectsUpdateResponse" + }, ">" ], "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", @@ -744,7 +1008,13 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsUpdateOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsUpdateOptions", + "text": "SavedObjectsUpdateOptions" + }, "" ], "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", @@ -766,11 +1036,29 @@ ], "signature": [ "(objects: ", - "SavedObjectsCollectMultiNamespaceReferencesObject", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsCollectMultiNamespaceReferencesObject", + "text": "SavedObjectsCollectMultiNamespaceReferencesObject" + }, "[], options?: ", - "SavedObjectsCollectMultiNamespaceReferencesOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsCollectMultiNamespaceReferencesOptions", + "text": "SavedObjectsCollectMultiNamespaceReferencesOptions" + }, " | undefined) => Promise<", - "SavedObjectsCollectMultiNamespaceReferencesResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsCollectMultiNamespaceReferencesResponse", + "text": "SavedObjectsCollectMultiNamespaceReferencesResponse" + }, ">" ], "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", @@ -785,7 +1073,13 @@ "label": "objects", "description": [], "signature": [ - "SavedObjectsCollectMultiNamespaceReferencesObject", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsCollectMultiNamespaceReferencesObject", + "text": "SavedObjectsCollectMultiNamespaceReferencesObject" + }, "[]" ], "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", @@ -801,7 +1095,13 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsCollectMultiNamespaceReferencesOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsCollectMultiNamespaceReferencesOptions", + "text": "SavedObjectsCollectMultiNamespaceReferencesOptions" + }, " | undefined" ], "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", @@ -823,11 +1123,29 @@ ], "signature": [ "(objects: ", - "SavedObjectsUpdateObjectsSpacesObject", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsUpdateObjectsSpacesObject", + "text": "SavedObjectsUpdateObjectsSpacesObject" + }, "[], spacesToAdd: string[], spacesToRemove: string[], options?: ", - "SavedObjectsUpdateObjectsSpacesOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsUpdateObjectsSpacesOptions", + "text": "SavedObjectsUpdateObjectsSpacesOptions" + }, " | undefined) => Promise<", - "SavedObjectsUpdateObjectsSpacesResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsUpdateObjectsSpacesResponse", + "text": "SavedObjectsUpdateObjectsSpacesResponse" + }, ">" ], "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", @@ -842,7 +1160,13 @@ "label": "objects", "description": [], "signature": [ - "SavedObjectsUpdateObjectsSpacesObject", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsUpdateObjectsSpacesObject", + "text": "SavedObjectsUpdateObjectsSpacesObject" + }, "[]" ], "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", @@ -888,7 +1212,13 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsUpdateObjectsSpacesOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsUpdateObjectsSpacesOptions", + "text": "SavedObjectsUpdateObjectsSpacesOptions" + }, " | undefined" ], "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", @@ -910,11 +1240,29 @@ ], "signature": [ "(objects: ", - "SavedObjectsBulkUpdateObject", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkUpdateObject", + "text": "SavedObjectsBulkUpdateObject" + }, "[], options?: ", - "SavedObjectsBulkUpdateOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkUpdateOptions", + "text": "SavedObjectsBulkUpdateOptions" + }, ") => Promise<", - "SavedObjectsBulkUpdateResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkUpdateResponse", + "text": "SavedObjectsBulkUpdateResponse" + }, ">" ], "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", @@ -929,7 +1277,13 @@ "label": "objects", "description": [], "signature": [ - "SavedObjectsBulkUpdateObject", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkUpdateObject", + "text": "SavedObjectsBulkUpdateObject" + }, "[]" ], "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", @@ -945,7 +1299,13 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsBulkUpdateOptions" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkUpdateOptions", + "text": "SavedObjectsBulkUpdateOptions" + } ], "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, @@ -966,9 +1326,21 @@ ], "signature": [ "(type: string, id: string, options?: ", - "SavedObjectsRemoveReferencesToOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsRemoveReferencesToOptions", + "text": "SavedObjectsRemoveReferencesToOptions" + }, ") => Promise<", - "SavedObjectsRemoveReferencesToResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsRemoveReferencesToResponse", + "text": "SavedObjectsRemoveReferencesToResponse" + }, ">" ], "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", @@ -1013,7 +1385,13 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsRemoveReferencesToOptions" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsRemoveReferencesToOptions", + "text": "SavedObjectsRemoveReferencesToOptions" + } ], "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, @@ -1034,11 +1412,29 @@ ], "signature": [ "(type: string, id: string, counterFields: (string | ", - "SavedObjectsIncrementCounterField", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsIncrementCounterField", + "text": "SavedObjectsIncrementCounterField" + }, ")[], options?: ", - "SavedObjectsIncrementCounterOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsIncrementCounterOptions", + "text": "SavedObjectsIncrementCounterOptions" + }, " | undefined) => Promise<", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, ">" ], "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", @@ -1084,7 +1480,13 @@ "description": [], "signature": [ "(string | ", - "SavedObjectsIncrementCounterField", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsIncrementCounterField", + "text": "SavedObjectsIncrementCounterField" + }, ")[]" ], "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", @@ -1100,7 +1502,13 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsIncrementCounterOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsIncrementCounterOptions", + "text": "SavedObjectsIncrementCounterOptions" + }, " | undefined" ], "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", @@ -1122,9 +1530,21 @@ ], "signature": [ "(type: string | string[], { keepAlive, preference }?: ", - "SavedObjectsOpenPointInTimeOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsOpenPointInTimeOptions", + "text": "SavedObjectsOpenPointInTimeOptions" + }, ") => Promise<", - "SavedObjectsOpenPointInTimeResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsOpenPointInTimeResponse", + "text": "SavedObjectsOpenPointInTimeResponse" + }, ">" ], "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", @@ -1154,7 +1574,13 @@ "label": "{ keepAlive = '5m', preference }", "description": [], "signature": [ - "SavedObjectsOpenPointInTimeOptions" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsOpenPointInTimeOptions", + "text": "SavedObjectsOpenPointInTimeOptions" + } ], "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, @@ -1175,9 +1601,21 @@ ], "signature": [ "(id: string, options?: ", - "SavedObjectsBaseOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + }, " | undefined) => Promise<", - "SavedObjectsClosePointInTimeResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClosePointInTimeResponse", + "text": "SavedObjectsClosePointInTimeResponse" + }, ">" ], "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", @@ -1207,7 +1645,13 @@ "label": "options", "description": [], "signature": [ - "SavedObjectsBaseOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + }, " | undefined" ], "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", @@ -1229,11 +1673,29 @@ ], "signature": [ "(findOptions: ", - "SavedObjectsCreatePointInTimeFinderOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsCreatePointInTimeFinderOptions", + "text": "SavedObjectsCreatePointInTimeFinderOptions" + }, ", dependencies?: ", - "SavedObjectsCreatePointInTimeFinderDependencies", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsCreatePointInTimeFinderDependencies", + "text": "SavedObjectsCreatePointInTimeFinderDependencies" + }, " | undefined) => ", - "ISavedObjectsPointInTimeFinder", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.ISavedObjectsPointInTimeFinder", + "text": "ISavedObjectsPointInTimeFinder" + }, "" ], "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", @@ -1248,7 +1710,13 @@ "label": "findOptions", "description": [], "signature": [ - "SavedObjectsCreatePointInTimeFinderOptions" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsCreatePointInTimeFinderOptions", + "text": "SavedObjectsCreatePointInTimeFinderOptions" + } ], "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", "deprecated": false, @@ -1263,7 +1731,13 @@ "label": "dependencies", "description": [], "signature": [ - "SavedObjectsCreatePointInTimeFinderDependencies", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsCreatePointInTimeFinderDependencies", + "text": "SavedObjectsCreatePointInTimeFinderDependencies" + }, " | undefined" ], "path": "packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/repository.ts", diff --git a/api_docs/kbn_core_saved_objects_api_server_internal.mdx b/api_docs/kbn_core_saved_objects_api_server_internal.mdx index 2c716d003903b..fc13e5bff77b3 100644 --- a/api_docs/kbn_core_saved_objects_api_server_internal.mdx +++ b/api_docs/kbn_core_saved_objects_api_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-api-server-internal title: "@kbn/core-saved-objects-api-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-api-server-internal plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-api-server-internal'] --- import kbnCoreSavedObjectsApiServerInternalObj from './kbn_core_saved_objects_api_server_internal.devdocs.json'; @@ -21,7 +21,7 @@ Contact Kibana Core for questions regarding this plugin. | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 71 | 0 | 51 | 0 | +| 71 | 0 | 51 | 1 | ## Server diff --git a/api_docs/kbn_core_saved_objects_api_server_mocks.devdocs.json b/api_docs/kbn_core_saved_objects_api_server_mocks.devdocs.json index 84cd863028166..0b9fbecf6d4ef 100644 --- a/api_docs/kbn_core_saved_objects_api_server_mocks.devdocs.json +++ b/api_docs/kbn_core_saved_objects_api_server_mocks.devdocs.json @@ -35,7 +35,13 @@ "description": [], "signature": [ "() => jest.Mocked<", - "SavedObjectsClientContract", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + }, ">" ], "path": "packages/core/saved-objects/core-saved-objects-api-server-mocks/src/saved_objects_client.mock.ts", @@ -99,7 +105,13 @@ "description": [], "signature": [ "() => jest.Mocked<", - "ISavedObjectsRepository", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.ISavedObjectsRepository", + "text": "ISavedObjectsRepository" + }, ">" ], "path": "packages/core/saved-objects/core-saved-objects-api-server-mocks/src/repository.mock.ts", diff --git a/api_docs/kbn_core_saved_objects_api_server_mocks.mdx b/api_docs/kbn_core_saved_objects_api_server_mocks.mdx index 8375b92816678..ca7c80de813dc 100644 --- a/api_docs/kbn_core_saved_objects_api_server_mocks.mdx +++ b/api_docs/kbn_core_saved_objects_api_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-api-server-mocks title: "@kbn/core-saved-objects-api-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-api-server-mocks plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-api-server-mocks'] --- import kbnCoreSavedObjectsApiServerMocksObj from './kbn_core_saved_objects_api_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_base_server_internal.devdocs.json b/api_docs/kbn_core_saved_objects_base_server_internal.devdocs.json index 00845df5afb5d..d0b90ce8141cc 100644 --- a/api_docs/kbn_core_saved_objects_base_server_internal.devdocs.json +++ b/api_docs/kbn_core_saved_objects_base_server_internal.devdocs.json @@ -52,7 +52,13 @@ "description": [], "signature": [ "{ readonly discardUnknownObjects?: string | undefined; readonly discardCorruptObjects?: string | undefined; readonly pollInterval: number; readonly skip: boolean; readonly batchSize: number; readonly maxBatchSizeBytes: ", - "ByteSizeValue", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ByteSizeValue", + "text": "ByteSizeValue" + }, "; readonly scrollDuration: string; readonly retryAttempts: number; }" ], "path": "packages/core/saved-objects/core-saved-objects-base-server-internal/src/saved_objects_config.ts", @@ -82,7 +88,13 @@ "description": [], "signature": [ "Readonly<{} & { maxImportPayloadBytes: ", - "ByteSizeValue", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ByteSizeValue", + "text": "ByteSizeValue" + }, "; maxImportExportSize: number; }>" ], "path": "packages/core/saved-objects/core-saved-objects-base-server-internal/src/saved_objects_config.ts", @@ -99,7 +111,13 @@ "description": [], "signature": [ "Readonly<{ discardUnknownObjects?: string | undefined; discardCorruptObjects?: string | undefined; } & { pollInterval: number; skip: boolean; batchSize: number; maxBatchSizeBytes: ", - "ByteSizeValue", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ByteSizeValue", + "text": "ByteSizeValue" + }, "; scrollDuration: string; retryAttempts: number; }>" ], "path": "packages/core/saved-objects/core-saved-objects-base-server-internal/src/saved_objects_config.ts", @@ -338,11 +356,23 @@ "description": [], "signature": [ "(mappings: ", - "SavedObjectsFieldMapping", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsFieldMapping", + "text": "SavedObjectsFieldMapping" + }, " | ", "IndexMapping", ", path: string | string[]) => ", - "SavedObjectsFieldMapping", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsFieldMapping", + "text": "SavedObjectsFieldMapping" + }, " | undefined" ], "path": "packages/core/saved-objects/core-saved-objects-base-server-internal/src/mappings/lib/get_property.ts", @@ -357,7 +387,13 @@ "label": "mappings", "description": [], "signature": [ - "SavedObjectsFieldMapping", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsFieldMapping", + "text": "SavedObjectsFieldMapping" + }, " | ", "IndexMapping" ], @@ -398,7 +434,13 @@ "(mapping: ", "IndexMapping", ") => ", - "SavedObjectsMappingProperties" + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsMappingProperties", + "text": "SavedObjectsMappingProperties" + } ], "path": "packages/core/saved-objects/core-saved-objects-base-server-internal/src/mappings/lib/get_root_properties.ts", "deprecated": false, @@ -434,7 +476,13 @@ "(mappings: ", "IndexMapping", ") => ", - "SavedObjectsMappingProperties" + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsMappingProperties", + "text": "SavedObjectsMappingProperties" + } ], "path": "packages/core/saved-objects/core-saved-objects-base-server-internal/src/mappings/lib/get_root_properties_objects.ts", "deprecated": false, @@ -509,7 +557,13 @@ "description": [], "signature": [ "{ readonly maxImportPayloadBytes: ", - "ByteSizeValue", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ByteSizeValue", + "text": "ByteSizeValue" + }, "; readonly maxImportExportSize: number; }" ], "path": "packages/core/saved-objects/core-saved-objects-base-server-internal/src/saved_objects_config.ts", @@ -526,7 +580,13 @@ "description": [], "signature": [ "{ readonly discardUnknownObjects?: string | undefined; readonly discardCorruptObjects?: string | undefined; readonly pollInterval: number; readonly skip: boolean; readonly batchSize: number; readonly maxBatchSizeBytes: ", - "ByteSizeValue", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ByteSizeValue", + "text": "ByteSizeValue" + }, "; readonly scrollDuration: string; readonly retryAttempts: number; }" ], "path": "packages/core/saved-objects/core-saved-objects-base-server-internal/src/saved_objects_config.ts", @@ -566,13 +626,37 @@ "label": "schema", "description": [], "signature": [ - "ObjectType", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ObjectType", + "text": "ObjectType" + }, "<{ maxImportPayloadBytes: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "<", - "ByteSizeValue", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ByteSizeValue", + "text": "ByteSizeValue" + }, ">; maxImportExportSize: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; }>" ], "path": "packages/core/saved-objects/core-saved-objects-base-server-internal/src/saved_objects_config.ts", @@ -612,25 +696,85 @@ "label": "schema", "description": [], "signature": [ - "ObjectType", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ObjectType", + "text": "ObjectType" + }, "<{ batchSize: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; maxBatchSizeBytes: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "<", - "ByteSizeValue", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ByteSizeValue", + "text": "ByteSizeValue" + }, ">; discardUnknownObjects: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; discardCorruptObjects: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; scrollDuration: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; pollInterval: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; skip: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; retryAttempts: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; }>" ], "path": "packages/core/saved-objects/core-saved-objects-base-server-internal/src/saved_objects_config.ts", diff --git a/api_docs/kbn_core_saved_objects_base_server_internal.mdx b/api_docs/kbn_core_saved_objects_base_server_internal.mdx index 13b40f456ab72..d87dbc308f97a 100644 --- a/api_docs/kbn_core_saved_objects_base_server_internal.mdx +++ b/api_docs/kbn_core_saved_objects_base_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-base-server-internal title: "@kbn/core-saved-objects-base-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-base-server-internal plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-base-server-internal'] --- import kbnCoreSavedObjectsBaseServerInternalObj from './kbn_core_saved_objects_base_server_internal.devdocs.json'; @@ -21,7 +21,7 @@ Contact Kibana Core for questions regarding this plugin. | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 37 | 0 | 31 | 1 | +| 37 | 0 | 31 | 6 | ## Server diff --git a/api_docs/kbn_core_saved_objects_base_server_mocks.devdocs.json b/api_docs/kbn_core_saved_objects_base_server_mocks.devdocs.json index 738df680f7054..764ca03709e88 100644 --- a/api_docs/kbn_core_saved_objects_base_server_mocks.devdocs.json +++ b/api_docs/kbn_core_saved_objects_base_server_mocks.devdocs.json @@ -35,7 +35,13 @@ "description": [], "signature": [ "() => jest.Mocked<", - "ISavedObjectsSerializer", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.ISavedObjectsSerializer", + "text": "ISavedObjectsSerializer" + }, ">" ], "path": "packages/core/saved-objects/core-saved-objects-base-server-mocks/src/serializer.mock.ts", @@ -67,7 +73,13 @@ "description": [], "signature": [ "() => jest.Mocked<", - "ISavedObjectTypeRegistry", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.ISavedObjectTypeRegistry", + "text": "ISavedObjectTypeRegistry" + }, " & Pick<", "SavedObjectTypeRegistry", ", \"registerType\">>" diff --git a/api_docs/kbn_core_saved_objects_base_server_mocks.mdx b/api_docs/kbn_core_saved_objects_base_server_mocks.mdx index 555db5054f166..8991dca404cfa 100644 --- a/api_docs/kbn_core_saved_objects_base_server_mocks.mdx +++ b/api_docs/kbn_core_saved_objects_base_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-base-server-mocks title: "@kbn/core-saved-objects-base-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-base-server-mocks plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-base-server-mocks'] --- import kbnCoreSavedObjectsBaseServerMocksObj from './kbn_core_saved_objects_base_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_browser.devdocs.json b/api_docs/kbn_core_saved_objects_browser.devdocs.json index d8cda029f89a8..0211987b25cf8 100644 --- a/api_docs/kbn_core_saved_objects_browser.devdocs.json +++ b/api_docs/kbn_core_saved_objects_browser.devdocs.json @@ -41,7 +41,13 @@ "{@link SavedObjectsClientContract}" ], "signature": [ - "SavedObjectsClientContract" + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + } ], "path": "packages/core/saved-objects/core-saved-objects-browser/src/contracts.ts", "deprecated": false, diff --git a/api_docs/kbn_core_saved_objects_browser.mdx b/api_docs/kbn_core_saved_objects_browser.mdx index 728d8f2f45c9f..a7ccde5f26f89 100644 --- a/api_docs/kbn_core_saved_objects_browser.mdx +++ b/api_docs/kbn_core_saved_objects_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-browser title: "@kbn/core-saved-objects-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-browser plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-browser'] --- import kbnCoreSavedObjectsBrowserObj from './kbn_core_saved_objects_browser.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_browser_internal.devdocs.json b/api_docs/kbn_core_saved_objects_browser_internal.devdocs.json index 85d598600e037..1158ef8e8e0ca 100644 --- a/api_docs/kbn_core_saved_objects_browser_internal.devdocs.json +++ b/api_docs/kbn_core_saved_objects_browser_internal.devdocs.json @@ -36,7 +36,13 @@ " implements ", "CoreService", "" ], "path": "packages/core/saved-objects/core-saved-objects-browser-internal/src/saved_objects_service.ts", @@ -68,9 +74,21 @@ "description": [], "signature": [ "({ http }: { http: ", - "HttpSetup", + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpSetup", + "text": "HttpSetup" + }, "; }) => Promise<", - "SavedObjectsStart", + { + "pluginId": "@kbn/core-saved-objects-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsBrowserPluginApi", + "section": "def-common.SavedObjectsStart", + "text": "SavedObjectsStart" + }, ">" ], "path": "packages/core/saved-objects/core-saved-objects-browser-internal/src/saved_objects_service.ts", @@ -96,7 +114,13 @@ "label": "http", "description": [], "signature": [ - "HttpSetup" + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpSetup", + "text": "HttpSetup" + } ], "path": "packages/core/saved-objects/core-saved-objects-browser-internal/src/saved_objects_service.ts", "deprecated": false, diff --git a/api_docs/kbn_core_saved_objects_browser_internal.mdx b/api_docs/kbn_core_saved_objects_browser_internal.mdx index 54c07a5f1859a..b5c900f42d3cf 100644 --- a/api_docs/kbn_core_saved_objects_browser_internal.mdx +++ b/api_docs/kbn_core_saved_objects_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-browser-internal title: "@kbn/core-saved-objects-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-browser-internal plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-browser-internal'] --- import kbnCoreSavedObjectsBrowserInternalObj from './kbn_core_saved_objects_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_browser_mocks.devdocs.json b/api_docs/kbn_core_saved_objects_browser_mocks.devdocs.json index a76112903241c..b2742a4480855 100644 --- a/api_docs/kbn_core_saved_objects_browser_mocks.devdocs.json +++ b/api_docs/kbn_core_saved_objects_browser_mocks.devdocs.json @@ -59,7 +59,13 @@ "description": [], "signature": [ "() => jest.Mocked<", - "SavedObjectsStart", + { + "pluginId": "@kbn/core-saved-objects-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsBrowserPluginApi", + "section": "def-common.SavedObjectsStart", + "text": "SavedObjectsStart" + }, ">" ], "path": "packages/core/saved-objects/core-saved-objects-browser-mocks/src/saved_objects_service.mock.ts", @@ -91,11 +97,29 @@ "description": [], "signature": [ "(client: ", - "SavedObjectsClientContract", + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + }, ", savedObject: ", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, ") => jest.Mocked<", - "SimpleSavedObject", + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SimpleSavedObject", + "text": "SimpleSavedObject" + }, ">" ], "path": "packages/core/saved-objects/core-saved-objects-browser-mocks/src/simple_saved_object.mock.ts", @@ -110,7 +134,13 @@ "label": "client", "description": [], "signature": [ - "SavedObjectsClientContract" + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + } ], "path": "packages/core/saved-objects/core-saved-objects-browser-mocks/src/simple_saved_object.mock.ts", "deprecated": false, @@ -125,7 +155,13 @@ "label": "savedObject", "description": [], "signature": [ - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "" ], "path": "packages/core/saved-objects/core-saved-objects-browser-mocks/src/simple_saved_object.mock.ts", diff --git a/api_docs/kbn_core_saved_objects_browser_mocks.mdx b/api_docs/kbn_core_saved_objects_browser_mocks.mdx index b0654cfb22bee..64058c1ff6cb3 100644 --- a/api_docs/kbn_core_saved_objects_browser_mocks.mdx +++ b/api_docs/kbn_core_saved_objects_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-browser-mocks title: "@kbn/core-saved-objects-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-browser-mocks plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-browser-mocks'] --- import kbnCoreSavedObjectsBrowserMocksObj from './kbn_core_saved_objects_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_common.devdocs.json b/api_docs/kbn_core_saved_objects_common.devdocs.json index 4a004f5e967eb..094d17f6639a0 100644 --- a/api_docs/kbn_core_saved_objects_common.devdocs.json +++ b/api_docs/kbn_core_saved_objects_common.devdocs.json @@ -263,7 +263,628 @@ "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects.ts", "deprecated": true, "trackAdoption": false, - "references": [], + "references": [ + { + "plugin": "core", + "path": "src/core/public/index.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/types.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/types.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/types.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/types.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/types.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/saved_object/helpers/create_source.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/saved_object/helpers/create_source.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/saved_object/helpers/find_object_by_title.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/saved_object/helpers/find_object_by_title.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/saved_object/helpers/save_with_confirmation.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/saved_object/helpers/save_with_confirmation.ts" + }, + { + "plugin": "embeddable", + "path": "src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/add_panel_flyout.tsx" + }, + { + "plugin": "embeddable", + "path": "src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/add_panel_flyout.tsx" + }, + { + "plugin": "embeddable", + "path": "src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/add_panel_flyout.tsx" + }, + { + "plugin": "embeddable", + "path": "src/plugins/embeddable/public/lib/embeddables/default_embeddable_factory_provider.ts" + }, + { + "plugin": "embeddable", + "path": "src/plugins/embeddable/public/lib/embeddables/default_embeddable_factory_provider.ts" + }, + { + "plugin": "embeddable", + "path": "src/plugins/embeddable/public/types.ts" + }, + { + "plugin": "embeddable", + "path": "src/plugins/embeddable/public/types.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/plugins/fleet/common/types/models/epm.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/plugins/fleet/common/types/models/epm.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/plugins/fleet/common/types/models/settings.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/plugins/fleet/common/types/models/settings.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/utils/saved_objects_utils/save_with_confirmation.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/utils/saved_objects_utils/save_with_confirmation.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/utils/saved_objects_utils/find_object_by_title.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/utils/saved_objects_utils/find_object_by_title.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/utils/saved_visualization_references/saved_visualization_references.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/utils/saved_visualization_references/saved_visualization_references.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/utils/saved_visualize_utils.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/utils/saved_visualize_utils.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/utils/saved_visualize_utils.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/utils/saved_visualize_utils.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/utils/saved_visualize_utils.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/utils/saved_visualize_utils.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/wizard/search_selection/search_selection.tsx" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/wizard/search_selection/search_selection.tsx" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable_factory.tsx" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable_factory.tsx" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.tsx" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.tsx" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/services/dashboard_saved_object/lib/load_dashboard_state_from_saved_object.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/services/dashboard_saved_object/lib/load_dashboard_state_from_saved_object.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/hooks/use_find_saved_object.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/hooks/use_find_saved_object.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/hooks/use_create_saved_object.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/hooks/use_create_saved_object.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/hooks/use_create_saved_object.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/hooks/use_get_saved_object.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/hooks/use_get_saved_object.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/hooks/use_update_saved_object.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/hooks/use_update_saved_object.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/hooks/use_update_saved_object.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/containers/saved_view/saved_view.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/containers/saved_view/saved_view.tsx" + }, + { + "plugin": "canvas", + "path": "x-pack/plugins/canvas/shareable_runtime/types.ts" + }, + { + "plugin": "canvas", + "path": "x-pack/plugins/canvas/shareable_runtime/types.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/saved_workspace_references.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/saved_workspace_references.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/helpers/saved_workspace_utils.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/helpers/saved_workspace_utils.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/saved_object/saved_object.test.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/saved_object/saved_object.test.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/saved_object/saved_object.test.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/saved_object/saved_object.test.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/saved_object/saved_object.test.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/saved_object/saved_object.test.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/saved_object/saved_object.test.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/saved_object/saved_object.test.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/saved_object/saved_object.test.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/saved_object/saved_object.test.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/saved_object/saved_object.test.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/saved_object/helpers/save_with_confirmation.test.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/saved_object/helpers/save_with_confirmation.test.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/saved_object/helpers/save_with_confirmation.test.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/utils/saved_objects_utils/save_with_confirmation.test.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/utils/saved_objects_utils/save_with_confirmation.test.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/utils/saved_objects_utils/save_with_confirmation.test.ts" + }, + { + "plugin": "core", + "path": "src/core/server/index.ts" + }, + { + "plugin": "actions", + "path": "x-pack/plugins/actions/server/actions_client.ts" + }, + { + "plugin": "actions", + "path": "x-pack/plugins/actions/server/actions_client.ts" + }, + { + "plugin": "actions", + "path": "x-pack/plugins/actions/server/actions_client.ts" + }, + { + "plugin": "actions", + "path": "x-pack/plugins/actions/server/actions_client.ts" + }, + { + "plugin": "actions", + "path": "x-pack/plugins/actions/server/actions_client.ts" + }, + { + "plugin": "actions", + "path": "x-pack/plugins/actions/server/actions_client.ts" + }, + { + "plugin": "actions", + "path": "x-pack/plugins/actions/server/actions_client.ts" + }, + { + "plugin": "actions", + "path": "x-pack/plugins/actions/server/types.ts" + }, + { + "plugin": "actions", + "path": "x-pack/plugins/actions/server/types.ts" + }, + { + "plugin": "actions", + "path": "x-pack/plugins/actions/server/types.ts" + }, + { + "plugin": "actions", + "path": "x-pack/plugins/actions/server/types.ts" + }, + { + "plugin": "actions", + "path": "x-pack/plugins/actions/server/types.ts" + }, + { + "plugin": "actions", + "path": "x-pack/plugins/actions/server/types.ts" + }, + { + "plugin": "alerting", + "path": "x-pack/plugins/alerting/common/rule.ts" + }, + { + "plugin": "alerting", + "path": "x-pack/plugins/alerting/common/rule.ts" + }, + { + "plugin": "alerting", + "path": "x-pack/plugins/alerting/common/rule.ts" + }, + { + "plugin": "alerting", + "path": "x-pack/plugins/alerting/common/rule.ts" + }, + { + "plugin": "alerting", + "path": "x-pack/plugins/alerting/common/rule.ts" + }, + { + "plugin": "alerting", + "path": "x-pack/plugins/alerting/common/rule.ts" + }, + { + "plugin": "alerting", + "path": "x-pack/plugins/alerting/server/saved_objects/geo_containment/migrations.ts" + }, + { + "plugin": "alerting", + "path": "x-pack/plugins/alerting/server/saved_objects/geo_containment/migrations.ts" + }, + { + "plugin": "alerting", + "path": "x-pack/plugins/alerting/server/types.ts" + }, + { + "plugin": "alerting", + "path": "x-pack/plugins/alerting/server/types.ts" + }, + { + "plugin": "alerting", + "path": "x-pack/plugins/alerting/server/types.ts" + }, + { + "plugin": "alerting", + "path": "x-pack/plugins/alerting/server/types.ts" + }, + { + "plugin": "alerting", + "path": "x-pack/plugins/alerting/server/types.ts" + }, + { + "plugin": "alerting", + "path": "x-pack/plugins/alerting/server/types.ts" + }, + { + "plugin": "alerting", + "path": "x-pack/plugins/alerting/server/types.ts" + }, + { + "plugin": "alerting", + "path": "x-pack/plugins/alerting/server/rules_client/rules_client.ts" + }, + { + "plugin": "alerting", + "path": "x-pack/plugins/alerting/server/rules_client/rules_client.ts" + }, + { + "plugin": "canvas", + "path": "x-pack/plugins/canvas/server/routes/custom_elements/find.ts" + }, + { + "plugin": "canvas", + "path": "x-pack/plugins/canvas/server/routes/custom_elements/find.ts" + }, + { + "plugin": "canvas", + "path": "x-pack/plugins/canvas/server/routes/workpad/find.ts" + }, + { + "plugin": "canvas", + "path": "x-pack/plugins/canvas/server/routes/workpad/find.ts" + }, + { + "plugin": "enterpriseSearch", + "path": "x-pack/plugins/enterprise_search/server/collectors/lib/telemetry.ts" + }, + { + "plugin": "enterpriseSearch", + "path": "x-pack/plugins/enterprise_search/server/collectors/lib/telemetry.ts" + }, + { + "plugin": "enterpriseSearch", + "path": "x-pack/plugins/enterprise_search/server/collectors/lib/telemetry.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/server/lib/detection_engine/rule_actions_legacy/logic/rule_actions/legacy_types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/server/lib/detection_engine/rule_actions_legacy/logic/rule_actions/legacy_types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/server/lib/detection_engine/rule_actions_legacy/logic/rule_actions/legacy_migrations.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/server/lib/detection_engine/rule_actions_legacy/logic/rule_actions/legacy_migrations.ts" + }, + { + "plugin": "taskManager", + "path": "x-pack/plugins/task_manager/server/task_store.test.ts" + }, + { + "plugin": "taskManager", + "path": "x-pack/plugins/task_manager/server/task_store.test.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/server/saved_objects/migrations/migrate_extract_panel_references.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/server/saved_objects/migrations/migrate_extract_panel_references.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/server/usage/dashboard_telemetry_collection_task.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/server/usage/dashboard_telemetry_collection_task.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/server/usage/dashboard_telemetry_collection_task.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/server/usage/dashboard_telemetry.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/server/usage/dashboard_telemetry.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/server/usage/find_by_value_embeddables.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/server/usage/find_by_value_embeddables.ts" + }, + { + "plugin": "savedSearch", + "path": "src/plugins/saved_search/server/saved_objects/search_migrations.ts" + }, + { + "plugin": "savedSearch", + "path": "src/plugins/saved_search/server/saved_objects/search_migrations.ts" + }, + { + "plugin": "core", + "path": "src/core/types/index.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/common/types.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/common/types.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/common/persistable_state/dashboard_saved_object_references.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/common/persistable_state/dashboard_saved_object_references.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/common/persistable_state/dashboard_saved_object_references.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/common/persistable_state/dashboard_saved_object_references.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/common/persistable_state/dashboard_saved_object_references.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/common/persistable_state/dashboard_saved_object_references.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/common/persistable_state/dashboard_saved_object_references.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/common/persistable_state/dashboard_saved_object_references.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/common/types/modules.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/common/types/modules.ts" + }, + { + "plugin": "core", + "path": "src/core/server/types.ts" + }, + { + "plugin": "alerting", + "path": "x-pack/plugins/alerting/server/saved_objects/migrations/7.11/index.ts" + }, + { + "plugin": "alerting", + "path": "x-pack/plugins/alerting/server/saved_objects/migrations/7.11/index.ts" + }, + { + "plugin": "alerting", + "path": "x-pack/plugins/alerting/server/saved_objects/migrations/7.15/index.ts" + }, + { + "plugin": "alerting", + "path": "x-pack/plugins/alerting/server/saved_objects/migrations/7.15/index.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/services/dashboard_saved_object/lib/save_dashboard_state_to_saved_object.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/services/dashboard_saved_object/lib/save_dashboard_state_to_saved_object.ts" + }, + { + "plugin": "@kbn/core-saved-objects-server-internal", + "path": "packages/core/saved-objects/core-saved-objects-server-internal/src/routes/legacy_import_export/lib/collect_references_deep.test.ts" + }, + { + "plugin": "@kbn/core-saved-objects-server-internal", + "path": "packages/core/saved-objects/core-saved-objects-server-internal/src/routes/legacy_import_export/lib/collect_references_deep.test.ts" + } + ], "children": [ { "parentPluginId": "@kbn/core-saved-objects-common", @@ -1044,7 +1665,16 @@ "path": "packages/core/saved-objects/core-saved-objects-common/src/saved_objects_imports.ts", "deprecated": true, "trackAdoption": false, - "references": [] + "references": [ + { + "plugin": "spaces", + "path": "x-pack/plugins/spaces/public/copy_saved_objects_to_space/components/copy_to_space_flyout_internal.tsx" + }, + { + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/lib/resolve_import_errors.ts" + } + ] }, { "parentPluginId": "@kbn/core-saved-objects-common", diff --git a/api_docs/kbn_core_saved_objects_common.mdx b/api_docs/kbn_core_saved_objects_common.mdx index e43a54c76873a..747ad6997f43c 100644 --- a/api_docs/kbn_core_saved_objects_common.mdx +++ b/api_docs/kbn_core_saved_objects_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-common title: "@kbn/core-saved-objects-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-common plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-common'] --- import kbnCoreSavedObjectsCommonObj from './kbn_core_saved_objects_common.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_import_export_server_internal.devdocs.json b/api_docs/kbn_core_saved_objects_import_export_server_internal.devdocs.json index fd2846eec2566..82eee4c2e14fb 100644 --- a/api_docs/kbn_core_saved_objects_import_export_server_internal.devdocs.json +++ b/api_docs/kbn_core_saved_objects_import_export_server_internal.devdocs.json @@ -141,7 +141,13 @@ "description": [], "signature": [ "(objects: ", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "[]) => ", { "pluginId": "@kbn/core-saved-objects-import-export-server-internal", @@ -163,7 +169,13 @@ "label": "objects", "description": [], "signature": [ - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "[]" ], "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/errors.ts", @@ -185,7 +197,13 @@ ], "signature": [ "(objects: ", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "[], cause: Error) => ", { "pluginId": "@kbn/core-saved-objects-import-export-server-internal", @@ -207,7 +225,13 @@ "label": "objects", "description": [], "signature": [ - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "[]" ], "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/errors.ts", @@ -463,7 +487,13 @@ "description": [], "signature": [ "(objects: ", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "[]) => ", { "pluginId": "@kbn/core-saved-objects-import-export-server-internal", @@ -485,7 +515,13 @@ "label": "objects", "description": [], "signature": [ - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "[]" ], "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/errors.ts", diff --git a/api_docs/kbn_core_saved_objects_import_export_server_internal.mdx b/api_docs/kbn_core_saved_objects_import_export_server_internal.mdx index da40515f51f40..ff24c4ed0e414 100644 --- a/api_docs/kbn_core_saved_objects_import_export_server_internal.mdx +++ b/api_docs/kbn_core_saved_objects_import_export_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-import-export-server-internal title: "@kbn/core-saved-objects-import-export-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-import-export-server-internal plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-import-export-server-internal'] --- import kbnCoreSavedObjectsImportExportServerInternalObj from './kbn_core_saved_objects_import_export_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_import_export_server_mocks.devdocs.json b/api_docs/kbn_core_saved_objects_import_export_server_mocks.devdocs.json index 344f2d6e58526..1b61975574e79 100644 --- a/api_docs/kbn_core_saved_objects_import_export_server_mocks.devdocs.json +++ b/api_docs/kbn_core_saved_objects_import_export_server_mocks.devdocs.json @@ -35,7 +35,13 @@ "description": [], "signature": [ "() => jest.Mocked<", - "ISavedObjectsExporter", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.ISavedObjectsExporter", + "text": "ISavedObjectsExporter" + }, ">" ], "path": "packages/core/saved-objects/core-saved-objects-import-export-server-mocks/src/saved_objects_exporter.mock.ts", @@ -67,7 +73,13 @@ "description": [], "signature": [ "() => jest.Mocked<", - "ISavedObjectsImporter", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.ISavedObjectsImporter", + "text": "ISavedObjectsImporter" + }, ">" ], "path": "packages/core/saved-objects/core-saved-objects-import-export-server-mocks/src/saved_objects_importer.mock.ts", diff --git a/api_docs/kbn_core_saved_objects_import_export_server_mocks.mdx b/api_docs/kbn_core_saved_objects_import_export_server_mocks.mdx index 41595aa5a17e9..240ce9a8a2921 100644 --- a/api_docs/kbn_core_saved_objects_import_export_server_mocks.mdx +++ b/api_docs/kbn_core_saved_objects_import_export_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-import-export-server-mocks title: "@kbn/core-saved-objects-import-export-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-import-export-server-mocks plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-import-export-server-mocks'] --- import kbnCoreSavedObjectsImportExportServerMocksObj from './kbn_core_saved_objects_import_export_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_migration_server_internal.devdocs.json b/api_docs/kbn_core_saved_objects_migration_server_internal.devdocs.json index 529f203e49b32..a5ff80fa83667 100644 --- a/api_docs/kbn_core_saved_objects_migration_server_internal.devdocs.json +++ b/api_docs/kbn_core_saved_objects_migration_server_internal.devdocs.json @@ -193,9 +193,21 @@ "description": [], "signature": [ "(doc: ", - "SavedObjectUnsanitizedDoc", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectUnsanitizedDoc", + "text": "SavedObjectUnsanitizedDoc" + }, ") => ", - "SavedObjectUnsanitizedDoc", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectUnsanitizedDoc", + "text": "SavedObjectUnsanitizedDoc" + }, "" ], "path": "packages/core/saved-objects/core-saved-objects-migration-server-internal/src/kibana_migrator.ts", @@ -210,7 +222,13 @@ "label": "doc", "description": [], "signature": [ - "SavedObjectUnsanitizedDoc", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectUnsanitizedDoc", + "text": "SavedObjectUnsanitizedDoc" + }, "" ], "path": "packages/core/saved-objects/core-saved-objects-migration-server-internal/src/kibana_migrator.ts", @@ -297,7 +315,13 @@ ], "signature": [ "(typeDefinitions: ", - "SavedObjectsMappingProperties", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsMappingProperties", + "text": "SavedObjectsMappingProperties" + }, " | ", "SavedObjectsTypeMappingDefinitions", ") => ", @@ -317,7 +341,13 @@ "- the type definitions to build mapping from." ], "signature": [ - "SavedObjectsMappingProperties", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsMappingProperties", + "text": "SavedObjectsMappingProperties" + }, " | ", "SavedObjectsTypeMappingDefinitions" ], @@ -833,7 +863,13 @@ ], "signature": [ "(types: ", - "SavedObjectsType", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsType", + "text": "SavedObjectsType" + }, "[]) => ", "SavedObjectsTypeMappingDefinitions" ], @@ -849,7 +885,13 @@ "label": "types", "description": [], "signature": [ - "SavedObjectsType", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsType", + "text": "SavedObjectsType" + }, "[]" ], "path": "packages/core/saved-objects/core-saved-objects-migration-server-internal/src/kibana_migrator.ts", @@ -913,7 +955,13 @@ ], "signature": [ "(client: ", - "ElasticsearchClient", + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.ElasticsearchClient", + "text": "ElasticsearchClient" + }, ", index: string) => ", "TaskEither", "<", @@ -940,7 +988,13 @@ "label": "client", "description": [], "signature": [ - "ElasticsearchClient" + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.ElasticsearchClient", + "text": "ElasticsearchClient" + } ], "path": "packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/pickup_updated_mappings.ts", "deprecated": false, @@ -1143,7 +1197,13 @@ ], "signature": [ "(client: ", - "ElasticsearchClient", + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.ElasticsearchClient", + "text": "ElasticsearchClient" + }, ", options: ", "SearchForOutdatedDocumentsOptions", ") => ", @@ -1166,7 +1226,13 @@ "label": "client", "description": [], "signature": [ - "ElasticsearchClient" + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.ElasticsearchClient", + "text": "ElasticsearchClient" + } ], "path": "packages/core/saved-objects/core-saved-objects-migration-server-internal/src/actions/search_for_outdated_documents.ts", "deprecated": false, @@ -1699,7 +1765,13 @@ "label": "processedDocs", "description": [], "signature": [ - "SavedObjectsRawDoc", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsRawDoc", + "text": "SavedObjectsRawDoc" + }, "[]" ], "path": "packages/core/saved-objects/core-saved-objects-migration-server-internal/src/core/migrate_raw_docs.ts", @@ -1728,7 +1800,13 @@ "label": "processedDocs", "description": [], "signature": [ - "SavedObjectsRawDoc", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsRawDoc", + "text": "SavedObjectsRawDoc" + }, "[]" ], "path": "packages/core/saved-objects/core-saved-objects-migration-server-internal/src/core/migrate_raw_docs.ts", @@ -2957,7 +3035,13 @@ "label": "typeRegistry", "description": [], "signature": [ - "ISavedObjectTypeRegistry" + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.ISavedObjectTypeRegistry", + "text": "ISavedObjectTypeRegistry" + } ], "path": "packages/core/saved-objects/core-saved-objects-migration-server-internal/src/kibana_migrator.ts", "deprecated": false, @@ -2972,7 +3056,13 @@ "description": [], "signature": [ "{ readonly discardUnknownObjects?: string | undefined; readonly discardCorruptObjects?: string | undefined; readonly pollInterval: number; readonly skip: boolean; readonly batchSize: number; readonly maxBatchSizeBytes: ", - "ByteSizeValue", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ByteSizeValue", + "text": "ByteSizeValue" + }, "; readonly scrollDuration: string; readonly retryAttempts: number; }" ], "path": "packages/core/saved-objects/core-saved-objects-migration-server-internal/src/kibana_migrator.ts", @@ -3009,7 +3099,13 @@ "label": "logger", "description": [], "signature": [ - "Logger" + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + } ], "path": "packages/core/saved-objects/core-saved-objects-migration-server-internal/src/kibana_migrator.ts", "deprecated": false, @@ -3023,7 +3119,13 @@ "label": "docLinks", "description": [], "signature": [ - "DocLinksServiceSetup" + { + "pluginId": "@kbn/core-doc-links-server", + "scope": "server", + "docId": "kibKbnCoreDocLinksServerPluginApi", + "section": "def-server.DocLinksServiceSetup", + "text": "DocLinksServiceSetup" + } ], "path": "packages/core/saved-objects/core-saved-objects-migration-server-internal/src/kibana_migrator.ts", "deprecated": false, diff --git a/api_docs/kbn_core_saved_objects_migration_server_internal.mdx b/api_docs/kbn_core_saved_objects_migration_server_internal.mdx index 3b27744486ffa..f2c726433b815 100644 --- a/api_docs/kbn_core_saved_objects_migration_server_internal.mdx +++ b/api_docs/kbn_core_saved_objects_migration_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-migration-server-internal title: "@kbn/core-saved-objects-migration-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-migration-server-internal plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-migration-server-internal'] --- import kbnCoreSavedObjectsMigrationServerInternalObj from './kbn_core_saved_objects_migration_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_migration_server_mocks.devdocs.json b/api_docs/kbn_core_saved_objects_migration_server_mocks.devdocs.json index 04a8bf037c755..0f43ff1b8f315 100644 --- a/api_docs/kbn_core_saved_objects_migration_server_mocks.devdocs.json +++ b/api_docs/kbn_core_saved_objects_migration_server_mocks.devdocs.json @@ -20,7 +20,13 @@ "description": [], "signature": [ "() => jest.Mocked<", - "SavedObjectsMigrationLogger", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsMigrationLogger", + "text": "SavedObjectsMigrationLogger" + }, ">" ], "path": "packages/core/saved-objects/core-saved-objects-migration-server-mocks/src/migration.mocks.ts", @@ -123,7 +129,13 @@ "description": [], "signature": [ "({ migrationVersion, convertToMultiNamespaceTypeVersion, isSingleNamespaceType, }?: { migrationVersion?: string | undefined; convertToMultiNamespaceTypeVersion?: string | undefined; isSingleNamespaceType?: boolean | undefined; }) => jest.Mocked<", - "SavedObjectMigrationContext", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectMigrationContext", + "text": "SavedObjectMigrationContext" + }, ">" ], "path": "packages/core/saved-objects/core-saved-objects-migration-server-mocks/src/migration.mocks.ts", @@ -170,7 +182,13 @@ "description": [], "signature": [ "({ types, }?: { types: ", - "SavedObjectsType", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsType", + "text": "SavedObjectsType" + }, "[]; }) => jest.Mocked<", "IKibanaMigrator", ">" @@ -189,7 +207,13 @@ "description": [], "signature": [ "{ types: ", - "SavedObjectsType", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsType", + "text": "SavedObjectsType" + }, "[]; }" ], "path": "packages/core/saved-objects/core-saved-objects-migration-server-mocks/src/kibana_migrator.mock.ts", diff --git a/api_docs/kbn_core_saved_objects_migration_server_mocks.mdx b/api_docs/kbn_core_saved_objects_migration_server_mocks.mdx index 1a293f3481b81..f2e7ea5b6d4b6 100644 --- a/api_docs/kbn_core_saved_objects_migration_server_mocks.mdx +++ b/api_docs/kbn_core_saved_objects_migration_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-migration-server-mocks title: "@kbn/core-saved-objects-migration-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-migration-server-mocks plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-migration-server-mocks'] --- import kbnCoreSavedObjectsMigrationServerMocksObj from './kbn_core_saved_objects_migration_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_server.devdocs.json b/api_docs/kbn_core_saved_objects_server.devdocs.json index 29e8376dafd9b..859645e5e7cb8 100644 --- a/api_docs/kbn_core_saved_objects_server.devdocs.json +++ b/api_docs/kbn_core_saved_objects_server.devdocs.json @@ -166,7 +166,13 @@ "text": "SavedObjectsImportOptions" }, ") => Promise<", - "SavedObjectsImportResponse", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectsImportResponse", + "text": "SavedObjectsImportResponse" + }, ">" ], "path": "packages/core/saved-objects/core-saved-objects-server/src/import.ts", @@ -218,7 +224,13 @@ "text": "SavedObjectsResolveImportErrorsOptions" }, ") => Promise<", - "SavedObjectsImportResponse", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectsImportResponse", + "text": "SavedObjectsImportResponse" + }, ">" ], "path": "packages/core/saved-objects/core-saved-objects-server/src/import.ts", @@ -1033,7 +1045,13 @@ "The http request initiating the export." ], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "" ], "path": "packages/core/saved-objects/core-saved-objects-server/src/export.ts", @@ -1290,7 +1308,13 @@ "label": "client", "description": [], "signature": [ - "SavedObjectsClientContract" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + } ], "path": "packages/core/saved-objects/core-saved-objects-server/src/client_factory.ts", "deprecated": false, @@ -1324,7 +1348,13 @@ "label": "request", "description": [], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "" ], "path": "packages/core/saved-objects/core-saved-objects-server/src/client_factory.ts", @@ -1374,7 +1404,13 @@ "optional array of objects to export." ], "signature": [ - "SavedObjectTypeIdTuple", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectTypeIdTuple", + "text": "SavedObjectTypeIdTuple" + }, "[]" ], "path": "packages/core/saved-objects/core-saved-objects-server/src/export.ts", @@ -1440,7 +1476,13 @@ "optional array of references to search object for." ], "signature": [ - "SavedObjectsFindOptionsReference", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsFindOptionsReference", + "text": "SavedObjectsFindOptionsReference" + }, "[] | undefined" ], "path": "packages/core/saved-objects/core-saved-objects-server/src/export.ts", @@ -1571,7 +1613,13 @@ "missing references details" ], "signature": [ - "SavedObjectTypeIdTuple", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectTypeIdTuple", + "text": "SavedObjectTypeIdTuple" + }, "[]" ], "path": "packages/core/saved-objects/core-saved-objects-server/src/export.ts", @@ -1640,7 +1688,13 @@ "\nThe request that initiated the export request. Can be used to create scoped\nservices or client inside the {@link SavedObjectsExportTransform | transformation}" ], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "" ], "path": "packages/core/saved-objects/core-saved-objects-server/src/export.ts", @@ -1673,7 +1727,13 @@ "\nAn optional list of warnings to display in the UI when the import succeeds." ], "signature": [ - "SavedObjectsImportWarning", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectsImportWarning", + "text": "SavedObjectsImportWarning" + }, "[] | undefined" ], "path": "packages/core/saved-objects/core-saved-objects-server/src/import.ts", @@ -1901,7 +1961,28 @@ "deprecated": true, "removeBy": "8.8.0", "trackAdoption": false, - "references": [], + "references": [ + { + "plugin": "maps", + "path": "x-pack/plugins/maps/server/saved_objects/saved_object_migrations.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/server/saved_objects/migrations/migrate_to_730/migrations_730.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/server/saved_objects/migrations/migrate_to_730/migrations_730.ts" + }, + { + "plugin": "@kbn/core-saved-objects-migration-server-internal", + "path": "packages/core/saved-objects/core-saved-objects-migration-server-internal/src/core/document_migrator.test.ts" + }, + { + "plugin": "@kbn/core-saved-objects-migration-server-internal", + "path": "packages/core/saved-objects/core-saved-objects-migration-server-internal/src/core/migration_logger.ts" + } + ], "children": [ { "parentPluginId": "@kbn/core-saved-objects-server", @@ -1962,9 +2043,21 @@ "description": [], "signature": [ "(msg: string, meta: Meta) => void" ], "path": "packages/core/saved-objects/core-saved-objects-server/src/migration.ts", @@ -2172,7 +2265,13 @@ "label": "migrationVersion", "description": [], "signature": [ - "SavedObjectsMigrationVersion", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectsMigrationVersion", + "text": "SavedObjectsMigrationVersion" + }, " | undefined" ], "path": "packages/core/saved-objects/core-saved-objects-server/src/serialization.ts", @@ -2215,7 +2314,13 @@ "label": "references", "description": [], "signature": [ - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[] | undefined" ], "path": "packages/core/saved-objects/core-saved-objects-server/src/serialization.ts", @@ -2277,9 +2382,21 @@ ], "signature": [ "(req: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ", includedHiddenTypes?: string[] | undefined) => ", - "ISavedObjectsRepository" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.ISavedObjectsRepository", + "text": "ISavedObjectsRepository" + } ], "path": "packages/core/saved-objects/core-saved-objects-server/src/client_factory.ts", "deprecated": false, @@ -2293,7 +2410,13 @@ "label": "req", "description": [], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "" ], "path": "packages/core/saved-objects/core-saved-objects-server/src/client_factory.ts", @@ -2332,7 +2455,13 @@ ], "signature": [ "(includedHiddenTypes?: string[] | undefined) => ", - "ISavedObjectsRepository" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.ISavedObjectsRepository", + "text": "ISavedObjectsRepository" + } ], "path": "packages/core/saved-objects/core-saved-objects-server/src/client_factory.ts", "deprecated": false, @@ -2382,7 +2511,13 @@ "label": "client", "description": [], "signature": [ - "SavedObjectsClientContract" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + } ], "path": "packages/core/saved-objects/core-saved-objects-server/src/request_handler_context.ts", "deprecated": false, @@ -2425,7 +2560,13 @@ "text": "SavedObjectsClientProviderOptions" }, " | undefined) => ", - "SavedObjectsClientContract" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + } ], "path": "packages/core/saved-objects/core-saved-objects-server/src/request_handler_context.ts", "deprecated": false, @@ -2465,7 +2606,13 @@ "description": [], "signature": [ "(client: ", - "SavedObjectsClientContract", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + }, ") => ", { "pluginId": "@kbn/core-saved-objects-server", @@ -2487,7 +2634,13 @@ "label": "client", "description": [], "signature": [ - "SavedObjectsClientContract" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + } ], "path": "packages/core/saved-objects/core-saved-objects-server/src/request_handler_context.ts", "deprecated": false, @@ -2506,7 +2659,13 @@ "description": [], "signature": [ "(client: ", - "SavedObjectsClientContract", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + }, ") => ", { "pluginId": "@kbn/core-saved-objects-server", @@ -2528,7 +2687,13 @@ "label": "client", "description": [], "signature": [ - "SavedObjectsClientContract" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + } ], "path": "packages/core/saved-objects/core-saved-objects-server/src/request_handler_context.ts", "deprecated": false, @@ -2580,7 +2745,13 @@ "saved object import references to retry" ], "signature": [ - "SavedObjectsImportRetry", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectsImportRetry", + "text": "SavedObjectsImportRetry" + }, "[]" ], "path": "packages/core/saved-objects/core-saved-objects-server/src/import.ts", @@ -2852,7 +3023,13 @@ ], "signature": [ "(req: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ", options?: ", { "pluginId": "@kbn/core-saved-objects-server", @@ -2862,7 +3039,13 @@ "text": "SavedObjectsClientProviderOptions" }, " | undefined) => ", - "SavedObjectsClientContract" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + } ], "path": "packages/core/saved-objects/core-saved-objects-server/src/contracts.ts", "deprecated": false, @@ -2876,7 +3059,13 @@ "label": "req", "description": [], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "" ], "path": "packages/core/saved-objects/core-saved-objects-server/src/contracts.ts", @@ -2920,9 +3109,21 @@ ], "signature": [ "(req: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ", includedHiddenTypes?: string[] | undefined) => ", - "ISavedObjectsRepository" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.ISavedObjectsRepository", + "text": "ISavedObjectsRepository" + } ], "path": "packages/core/saved-objects/core-saved-objects-server/src/contracts.ts", "deprecated": false, @@ -2938,7 +3139,13 @@ "- The request to create the scoped repository from." ], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "" ], "path": "packages/core/saved-objects/core-saved-objects-server/src/contracts.ts", @@ -2977,7 +3184,13 @@ ], "signature": [ "(includedHiddenTypes?: string[] | undefined) => ", - "ISavedObjectsRepository" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.ISavedObjectsRepository", + "text": "ISavedObjectsRepository" + } ], "path": "packages/core/saved-objects/core-saved-objects-server/src/contracts.ts", "deprecated": false, @@ -3039,7 +3252,13 @@ ], "signature": [ "(client: ", - "SavedObjectsClientContract", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + }, ") => ", { "pluginId": "@kbn/core-saved-objects-server", @@ -3061,7 +3280,13 @@ "label": "client", "description": [], "signature": [ - "SavedObjectsClientContract" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + } ], "path": "packages/core/saved-objects/core-saved-objects-server/src/contracts.ts", "deprecated": false, @@ -3082,7 +3307,13 @@ ], "signature": [ "(client: ", - "SavedObjectsClientContract", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + }, ") => ", { "pluginId": "@kbn/core-saved-objects-server", @@ -3104,7 +3335,13 @@ "label": "client", "description": [], "signature": [ - "SavedObjectsClientContract" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + } ], "path": "packages/core/saved-objects/core-saved-objects-server/src/contracts.ts", "deprecated": false, @@ -3530,7 +3767,13 @@ ], "signature": [ "((savedObject: ", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, ") => string) | undefined" ], "path": "packages/core/saved-objects/core-saved-objects-server/src/saved_objects_management.ts", @@ -3545,7 +3788,13 @@ "label": "savedObject", "description": [], "signature": [ - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "" ], "path": "packages/core/saved-objects/core-saved-objects-server/src/saved_objects_management.ts", @@ -3567,7 +3816,13 @@ ], "signature": [ "((savedObject: ", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, ") => string) | undefined" ], "path": "packages/core/saved-objects/core-saved-objects-server/src/saved_objects_management.ts", @@ -3582,7 +3837,13 @@ "label": "savedObject", "description": [], "signature": [ - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "" ], "path": "packages/core/saved-objects/core-saved-objects-server/src/saved_objects_management.ts", @@ -3604,7 +3865,13 @@ ], "signature": [ "((savedObject: ", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, ") => { path: string; uiCapabilitiesPath: string; }) | undefined" ], "path": "packages/core/saved-objects/core-saved-objects-server/src/saved_objects_management.ts", @@ -3619,7 +3886,13 @@ "label": "savedObject", "description": [], "signature": [ - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "" ], "path": "packages/core/saved-objects/core-saved-objects-server/src/saved_objects_management.ts", @@ -3806,7 +4079,13 @@ "label": "CreatedObject", "description": [], "signature": [ - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, " & { destinationId?: string | undefined; }" ], "path": "packages/core/saved-objects/core-saved-objects-server/src/import.ts", @@ -3864,7 +4143,13 @@ "description": [], "signature": [ "SavedObjectDoc & { references?: ", - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[] | undefined; }" ], "path": "packages/core/saved-objects/core-saved-objects-server/src/migration.ts", @@ -3905,7 +4190,13 @@ ], "signature": [ "SavedObjectDoc & { references: ", - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]; }" ], "path": "packages/core/saved-objects/core-saved-objects-server/src/serialization.ts", @@ -3924,9 +4215,21 @@ ], "signature": [ "({ request, includedHiddenTypes, }: { request: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "; includedHiddenTypes?: string[] | undefined; }) => ", - "SavedObjectsClientContract" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + } ], "path": "packages/core/saved-objects/core-saved-objects-server/src/client_factory.ts", "deprecated": false, @@ -3942,7 +4245,13 @@ "description": [], "signature": [ "{ request: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "; includedHiddenTypes?: string[] | undefined; }" ], "path": "packages/core/saved-objects/core-saved-objects-server/src/client_factory.ts", @@ -4026,7 +4335,13 @@ "text": "SavedObjectsClientWrapperOptions" }, ") => ", - "SavedObjectsClientContract" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + } ], "path": "packages/core/saved-objects/core-saved-objects-server/src/client_factory.ts", "deprecated": false, @@ -4065,7 +4380,13 @@ "description": [], "signature": [ "(obj: ", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, ") => boolean" ], "path": "packages/core/saved-objects/core-saved-objects-server/src/saved_objects_management.ts", @@ -4081,7 +4402,13 @@ "label": "obj", "description": [], "signature": [ - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "" ], "path": "packages/core/saved-objects/core-saved-objects-server/src/saved_objects_management.ts", @@ -4110,11 +4437,29 @@ "text": "SavedObjectsExportTransformContext" }, ", objects: ", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "[]) => ", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "[] | Promise<", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "[]>" ], "path": "packages/core/saved-objects/core-saved-objects-server/src/export.ts", @@ -4150,7 +4495,13 @@ "label": "objects", "description": [], "signature": [ - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "[]" ], "path": "packages/core/saved-objects/core-saved-objects-server/src/export.ts", @@ -4191,7 +4542,13 @@ ], "signature": [ "(objects: ", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "[]) => ", { "pluginId": "@kbn/core-saved-objects-server", @@ -4223,7 +4580,13 @@ "label": "objects", "description": [], "signature": [ - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "[]" ], "path": "packages/core/saved-objects/core-saved-objects-server/src/import.ts", @@ -4243,7 +4606,13 @@ "\nAllows for validating properties using @kbn/config-schema validations.\n" ], "signature": [ - "ObjectType", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ObjectType", + "text": "ObjectType" + }, "" ], "path": "packages/core/saved-objects/core-saved-objects-server/src/validation.ts", @@ -4264,9 +4633,21 @@ ], "signature": [ "(toolkit: { readonlyEsClient: Pick<", - "ElasticsearchClient", + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.ElasticsearchClient", + "text": "ElasticsearchClient" + }, ", \"search\">; }) => ", - "MaybePromise", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.MaybePromise", + "text": "MaybePromise" + }, "<", "QueryDslQueryContainer", ">" @@ -4285,7 +4666,13 @@ "description": [], "signature": [ "{ readonlyEsClient: Pick<", - "ElasticsearchClient", + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.ElasticsearchClient", + "text": "ElasticsearchClient" + }, ", \"search\">; }" ], "path": "packages/core/saved-objects/core-saved-objects-server/src/saved_objects_type.ts", @@ -4306,7 +4693,13 @@ ], "signature": [ "SavedObjectDoc & { references?: ", - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[] | undefined; }" ], "path": "packages/core/saved-objects/core-saved-objects-server/src/serialization.ts", diff --git a/api_docs/kbn_core_saved_objects_server.mdx b/api_docs/kbn_core_saved_objects_server.mdx index f007bd8f5a7f0..54193d0e7a1c1 100644 --- a/api_docs/kbn_core_saved_objects_server.mdx +++ b/api_docs/kbn_core_saved_objects_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-server title: "@kbn/core-saved-objects-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-server plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-server'] --- import kbnCoreSavedObjectsServerObj from './kbn_core_saved_objects_server.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_server_internal.devdocs.json b/api_docs/kbn_core_saved_objects_server_internal.devdocs.json index 5d601613ed4a7..9dbb795e3e83c 100644 --- a/api_docs/kbn_core_saved_objects_server_internal.devdocs.json +++ b/api_docs/kbn_core_saved_objects_server_internal.devdocs.json @@ -30,7 +30,13 @@ "<", "InternalSavedObjectsServiceSetup", ", ", - "SavedObjectsServiceStart", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsServiceStart", + "text": "SavedObjectsServiceStart" + }, ">" ], "path": "packages/core/saved-objects/core-saved-objects-server-internal/src/saved_objects_service.ts", @@ -116,7 +122,13 @@ "({ elasticsearch, pluginsInitialized, docLinks, }: ", "SavedObjectsStartDeps", ") => Promise<", - "SavedObjectsServiceStart", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsServiceStart", + "text": "SavedObjectsServiceStart" + }, ">" ], "path": "packages/core/saved-objects/core-saved-objects-server-internal/src/saved_objects_service.ts", @@ -775,7 +787,13 @@ ", { kibanaVersion, coreUsageData, logger, }: { kibanaVersion: string; coreUsageData: ", "InternalCoreUsageDataSetup", "; logger: ", - "Logger", + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + }, "; }) => void" ], "path": "packages/core/saved-objects/core-saved-objects-server-internal/src/routes/legacy_import_export/export.ts", @@ -841,7 +859,13 @@ "label": "logger", "description": [], "signature": [ - "Logger" + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + } ], "path": "packages/core/saved-objects/core-saved-objects-server-internal/src/routes/legacy_import_export/export.ts", "deprecated": false, @@ -866,7 +890,13 @@ ", { maxImportPayloadBytes, coreUsageData, logger, }: { maxImportPayloadBytes: number; coreUsageData: ", "InternalCoreUsageDataSetup", "; logger: ", - "Logger", + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + }, "; }) => void" ], "path": "packages/core/saved-objects/core-saved-objects-server-internal/src/routes/legacy_import_export/import.ts", @@ -932,7 +962,13 @@ "label": "logger", "description": [], "signature": [ - "Logger" + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + } ], "path": "packages/core/saved-objects/core-saved-objects-server-internal/src/routes/legacy_import_export/import.ts", "deprecated": false, @@ -1160,7 +1196,13 @@ "label": "InternalSavedObjectsServiceStart", "description": [], "signature": [ - "SavedObjectsServiceStart" + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsServiceStart", + "text": "SavedObjectsServiceStart" + } ], "path": "packages/core/saved-objects/core-saved-objects-server-internal/src/saved_objects_service.ts", "deprecated": false, diff --git a/api_docs/kbn_core_saved_objects_server_internal.mdx b/api_docs/kbn_core_saved_objects_server_internal.mdx index 0c5af1568504a..9597645c5396e 100644 --- a/api_docs/kbn_core_saved_objects_server_internal.mdx +++ b/api_docs/kbn_core_saved_objects_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-server-internal title: "@kbn/core-saved-objects-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-server-internal plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-server-internal'] --- import kbnCoreSavedObjectsServerInternalObj from './kbn_core_saved_objects_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_server_mocks.devdocs.json b/api_docs/kbn_core_saved_objects_server_mocks.devdocs.json index 75554244f43ff..31a6f16b36edd 100644 --- a/api_docs/kbn_core_saved_objects_server_mocks.devdocs.json +++ b/api_docs/kbn_core_saved_objects_server_mocks.devdocs.json @@ -69,7 +69,13 @@ "description": [], "signature": [ "() => jest.Mocked<", - "SavedObjectsServiceSetup", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsServiceSetup", + "text": "SavedObjectsServiceSetup" + }, ">" ], "path": "packages/core/saved-objects/core-saved-objects-server-mocks/src/saved_objects_service.mock.ts", @@ -87,9 +93,21 @@ "description": [], "signature": [ "(typeRegistry?: jest.Mocked<", - "ISavedObjectTypeRegistry", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.ISavedObjectTypeRegistry", + "text": "ISavedObjectTypeRegistry" + }, "> | undefined) => jest.Mocked<", - "SavedObjectsServiceStart", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsServiceStart", + "text": "SavedObjectsServiceStart" + }, ">" ], "path": "packages/core/saved-objects/core-saved-objects-server-mocks/src/saved_objects_service.mock.ts", @@ -106,7 +124,13 @@ "description": [], "signature": [ "jest.Mocked<", - "ISavedObjectTypeRegistry", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.ISavedObjectTypeRegistry", + "text": "ISavedObjectTypeRegistry" + }, "> | undefined" ], "path": "packages/core/saved-objects/core-saved-objects-server-mocks/src/saved_objects_service.mock.ts", @@ -124,9 +148,21 @@ "description": [], "signature": [ "(typeRegistry?: jest.Mocked<", - "ISavedObjectTypeRegistry", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.ISavedObjectTypeRegistry", + "text": "ISavedObjectTypeRegistry" + }, "> | undefined) => jest.Mocked<", - "SavedObjectsServiceStart", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsServiceStart", + "text": "SavedObjectsServiceStart" + }, ">" ], "path": "packages/core/saved-objects/core-saved-objects-server-mocks/src/saved_objects_service.mock.ts", @@ -143,7 +179,13 @@ "description": [], "signature": [ "jest.Mocked<", - "ISavedObjectTypeRegistry", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.ISavedObjectTypeRegistry", + "text": "ISavedObjectTypeRegistry" + }, "> | undefined" ], "path": "packages/core/saved-objects/core-saved-objects-server-mocks/src/saved_objects_service.mock.ts", @@ -160,8 +202,14 @@ "label": "createMigrationContext", "description": [], "signature": [ - "({ migrationVersion, convertToMultiNamespaceTypeVersion, isSingleNamespaceType, }?: { migrationVersion?: string | undefined; convertToMultiNamespaceTypeVersion?: string | undefined; isSingleNamespaceType?: boolean | undefined; } | undefined) => jest.Mocked<", - "SavedObjectMigrationContext", + "({ migrationVersion, convertToMultiNamespaceTypeVersion, isSingleNamespaceType, }?: { migrationVersion?: string | undefined; convertToMultiNamespaceTypeVersion?: string | undefined; isSingleNamespaceType?: boolean | undefined; }) => jest.Mocked<", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectMigrationContext", + "text": "SavedObjectMigrationContext" + }, ">" ], "path": "packages/core/saved-objects/core-saved-objects-server-mocks/src/saved_objects_service.mock.ts", @@ -177,9 +225,9 @@ "label": "__0", "description": [], "signature": [ - "{ migrationVersion?: string | undefined; convertToMultiNamespaceTypeVersion?: string | undefined; isSingleNamespaceType?: boolean | undefined; } | undefined" + "{ migrationVersion?: string | undefined; convertToMultiNamespaceTypeVersion?: string | undefined; isSingleNamespaceType?: boolean | undefined; }" ], - "path": "node_modules/@types/kbn__core-saved-objects-migration-server-mocks/index.d.ts", + "path": "packages/core/saved-objects/core-saved-objects-migration-server-mocks/src/migration.mocks.ts", "deprecated": false, "trackAdoption": false } @@ -194,7 +242,13 @@ "description": [], "signature": [ "() => jest.Mocked<", - "ISavedObjectTypeRegistry", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.ISavedObjectTypeRegistry", + "text": "ISavedObjectTypeRegistry" + }, " & Pick<", "SavedObjectTypeRegistry", ", \"registerType\">>" @@ -214,7 +268,13 @@ "description": [], "signature": [ "() => jest.Mocked<", - "ISavedObjectsExporter", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.ISavedObjectsExporter", + "text": "ISavedObjectsExporter" + }, ">" ], "path": "packages/core/saved-objects/core-saved-objects-server-mocks/src/saved_objects_service.mock.ts", @@ -232,7 +292,13 @@ "description": [], "signature": [ "() => jest.Mocked<", - "ISavedObjectsImporter", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.ISavedObjectsImporter", + "text": "ISavedObjectsImporter" + }, ">" ], "path": "packages/core/saved-objects/core-saved-objects-server-mocks/src/saved_objects_service.mock.ts", @@ -250,7 +316,13 @@ "description": [], "signature": [ "() => jest.Mocked<", - "ISavedObjectsSerializer", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.ISavedObjectsSerializer", + "text": "ISavedObjectsSerializer" + }, ">" ], "path": "packages/core/saved-objects/core-saved-objects-server-mocks/src/saved_objects_service.mock.ts", diff --git a/api_docs/kbn_core_saved_objects_server_mocks.mdx b/api_docs/kbn_core_saved_objects_server_mocks.mdx index cbb4ea185d981..453556cdc0b08 100644 --- a/api_docs/kbn_core_saved_objects_server_mocks.mdx +++ b/api_docs/kbn_core_saved_objects_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-server-mocks title: "@kbn/core-saved-objects-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-server-mocks plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-server-mocks'] --- import kbnCoreSavedObjectsServerMocksObj from './kbn_core_saved_objects_server_mocks.devdocs.json'; @@ -21,7 +21,7 @@ Contact Kibana Core for questions regarding this plugin. | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 14 | 0 | 13 | 0 | +| 14 | 0 | 14 | 0 | ## Server diff --git a/api_docs/kbn_core_saved_objects_utils_server.devdocs.json b/api_docs/kbn_core_saved_objects_utils_server.devdocs.json index b8c138a99687f..6873e44f20a7f 100644 --- a/api_docs/kbn_core_saved_objects_utils_server.devdocs.json +++ b/api_docs/kbn_core_saved_objects_utils_server.devdocs.json @@ -1601,9 +1601,21 @@ ], "signature": [ "({ page, perPage, }: ", - "SavedObjectsFindOptions", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsFindOptions", + "text": "SavedObjectsFindOptions" + }, ") => ", - "SavedObjectsFindResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsFindResponse", + "text": "SavedObjectsFindResponse" + }, "" ], "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_utils.ts", @@ -1618,7 +1630,13 @@ "label": "{\n page = FIND_DEFAULT_PAGE,\n perPage = FIND_DEFAULT_PER_PAGE,\n }", "description": [], "signature": [ - "SavedObjectsFindOptions" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsFindOptions", + "text": "SavedObjectsFindOptions" + } ], "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/saved_objects_utils.ts", "deprecated": false, @@ -1772,11 +1790,29 @@ ], "signature": [ "(map1: ", - "SavedObjectMigrationMap", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectMigrationMap", + "text": "SavedObjectMigrationMap" + }, ", map2: ", - "SavedObjectMigrationMap", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectMigrationMap", + "text": "SavedObjectMigrationMap" + }, ") => ", - "SavedObjectMigrationMap" + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectMigrationMap", + "text": "SavedObjectMigrationMap" + } ], "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/merge_migration_maps.ts", "deprecated": false, @@ -1790,7 +1826,13 @@ "label": "map1", "description": [], "signature": [ - "SavedObjectMigrationMap" + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectMigrationMap", + "text": "SavedObjectMigrationMap" + } ], "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/merge_migration_maps.ts", "deprecated": false, @@ -1805,7 +1847,13 @@ "label": "map2", "description": [], "signature": [ - "SavedObjectMigrationMap" + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectMigrationMap", + "text": "SavedObjectMigrationMap" + } ], "path": "packages/core/saved-objects/core-saved-objects-utils-server/src/merge_migration_maps.ts", "deprecated": false, diff --git a/api_docs/kbn_core_saved_objects_utils_server.mdx b/api_docs/kbn_core_saved_objects_utils_server.mdx index e53e3959785a6..138da81a3ea8a 100644 --- a/api_docs/kbn_core_saved_objects_utils_server.mdx +++ b/api_docs/kbn_core_saved_objects_utils_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-utils-server title: "@kbn/core-saved-objects-utils-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-utils-server plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-utils-server'] --- import kbnCoreSavedObjectsUtilsServerObj from './kbn_core_saved_objects_utils_server.devdocs.json'; diff --git a/api_docs/kbn_core_status_common.mdx b/api_docs/kbn_core_status_common.mdx index fe0609a6775c7..eb941453b3e27 100644 --- a/api_docs/kbn_core_status_common.mdx +++ b/api_docs/kbn_core_status_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-status-common title: "@kbn/core-status-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-status-common plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-status-common'] --- import kbnCoreStatusCommonObj from './kbn_core_status_common.devdocs.json'; diff --git a/api_docs/kbn_core_status_common_internal.devdocs.json b/api_docs/kbn_core_status_common_internal.devdocs.json index eba46bfede8b3..f321466729eaa 100644 --- a/api_docs/kbn_core_status_common_internal.devdocs.json +++ b/api_docs/kbn_core_status_common_internal.devdocs.json @@ -180,7 +180,13 @@ "text": "StatusInfoServiceStatus" }, " extends Omit<", - "ServiceStatus", + { + "pluginId": "@kbn/core-status-common", + "scope": "common", + "docId": "kibKbnCoreStatusCommonPluginApi", + "section": "def-common.ServiceStatus", + "text": "ServiceStatus" + }, ", \"level\">" ], "path": "packages/core/status/core-status-common-internal/src/status.ts", @@ -286,7 +292,13 @@ "description": [], "signature": [ "Omit<", - "OpsMetrics", + { + "pluginId": "@kbn/core-metrics-server", + "scope": "server", + "docId": "kibKbnCoreMetricsServerPluginApi", + "section": "def-server.OpsMetrics", + "text": "OpsMetrics" + }, ", \"collected_at\"> & { last_updated: string; collection_interval_in_millis: number; requests: { status_codes: Record; }; }" ], "path": "packages/core/status/core-status-common-internal/src/status.ts", @@ -308,7 +320,13 @@ "description": [], "signature": [ "Omit<", - "OpsMetrics", + { + "pluginId": "@kbn/core-metrics-server", + "scope": "server", + "docId": "kibKbnCoreMetricsServerPluginApi", + "section": "def-server.OpsMetrics", + "text": "OpsMetrics" + }, ", \"collected_at\"> & { last_updated: string; collection_interval_in_millis: number; requests: { status_codes: Record; }; }" ], "path": "packages/core/status/core-status-common-internal/src/status.ts", diff --git a/api_docs/kbn_core_status_common_internal.mdx b/api_docs/kbn_core_status_common_internal.mdx index e8de0337eafe1..90ddc8524384b 100644 --- a/api_docs/kbn_core_status_common_internal.mdx +++ b/api_docs/kbn_core_status_common_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-status-common-internal title: "@kbn/core-status-common-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-status-common-internal plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-status-common-internal'] --- import kbnCoreStatusCommonInternalObj from './kbn_core_status_common_internal.devdocs.json'; diff --git a/api_docs/kbn_core_status_server.devdocs.json b/api_docs/kbn_core_status_server.devdocs.json index 5ec5b6bbeb967..5e5049083b67d 100644 --- a/api_docs/kbn_core_status_server.devdocs.json +++ b/api_docs/kbn_core_status_server.devdocs.json @@ -21,10 +21,7 @@ "description": [ "\nStatus of core services.\n" ], - "signature": [ - "CoreStatus" - ], - "path": "node_modules/@types/kbn__core-status-common/index.d.ts", + "path": "packages/core/status/core-status-common/src/core_status.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -36,10 +33,16 @@ "label": "elasticsearch", "description": [], "signature": [ - "ServiceStatus", + { + "pluginId": "@kbn/core-status-common", + "scope": "common", + "docId": "kibKbnCoreStatusCommonPluginApi", + "section": "def-common.ServiceStatus", + "text": "ServiceStatus" + }, "" ], - "path": "node_modules/@types/kbn__core-status-common/index.d.ts", + "path": "packages/core/status/core-status-common/src/core_status.ts", "deprecated": false, "trackAdoption": false }, @@ -51,10 +54,16 @@ "label": "savedObjects", "description": [], "signature": [ - "ServiceStatus", + { + "pluginId": "@kbn/core-status-common", + "scope": "common", + "docId": "kibKbnCoreStatusCommonPluginApi", + "section": "def-common.ServiceStatus", + "text": "ServiceStatus" + }, "" ], - "path": "node_modules/@types/kbn__core-status-common/index.d.ts", + "path": "packages/core/status/core-status-common/src/core_status.ts", "deprecated": false, "trackAdoption": false } @@ -71,10 +80,16 @@ "\nThe current status of a service at a point in time.\n" ], "signature": [ - "ServiceStatus", + { + "pluginId": "@kbn/core-status-common", + "scope": "common", + "docId": "kibKbnCoreStatusCommonPluginApi", + "section": "def-common.ServiceStatus", + "text": "ServiceStatus" + }, "" ], - "path": "node_modules/@types/kbn__core-status-common/index.d.ts", + "path": "packages/core/status/core-status-common/src/service_status.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -90,7 +105,7 @@ "signature": [ "Readonly<{ toString: () => \"available\"; valueOf: () => 0; toJSON: () => \"available\"; }> | Readonly<{ toString: () => \"degraded\"; valueOf: () => 1; toJSON: () => \"degraded\"; }> | Readonly<{ toString: () => \"unavailable\"; valueOf: () => 2; toJSON: () => \"unavailable\"; }> | Readonly<{ toString: () => \"critical\"; valueOf: () => 3; toJSON: () => \"critical\"; }>" ], - "path": "node_modules/@types/kbn__core-status-common/index.d.ts", + "path": "packages/core/status/core-status-common/src/service_status.ts", "deprecated": false, "trackAdoption": false }, @@ -103,7 +118,7 @@ "description": [ "\nA high-level summary of the service status." ], - "path": "node_modules/@types/kbn__core-status-common/index.d.ts", + "path": "packages/core/status/core-status-common/src/service_status.ts", "deprecated": false, "trackAdoption": false }, @@ -119,7 +134,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-status-common/index.d.ts", + "path": "packages/core/status/core-status-common/src/service_status.ts", "deprecated": false, "trackAdoption": false }, @@ -135,7 +150,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@types/kbn__core-status-common/index.d.ts", + "path": "packages/core/status/core-status-common/src/service_status.ts", "deprecated": false, "trackAdoption": false }, @@ -151,7 +166,7 @@ "signature": [ "Meta | undefined" ], - "path": "node_modules/@types/kbn__core-status-common/index.d.ts", + "path": "packages/core/status/core-status-common/src/service_status.ts", "deprecated": false, "trackAdoption": false } @@ -183,7 +198,13 @@ "signature": [ "Observable", "<", - "CoreStatus", + { + "pluginId": "@kbn/core-status-common", + "scope": "common", + "docId": "kibKbnCoreStatusCommonPluginApi", + "section": "def-common.CoreStatus", + "text": "CoreStatus" + }, ">" ], "path": "packages/core/status/core-status-server/src/contracts.ts", @@ -202,7 +223,13 @@ "signature": [ "Observable", "<", - "ServiceStatus", + { + "pluginId": "@kbn/core-status-common", + "scope": "common", + "docId": "kibKbnCoreStatusCommonPluginApi", + "section": "def-common.ServiceStatus", + "text": "ServiceStatus" + }, ">" ], "path": "packages/core/status/core-status-server/src/contracts.ts", @@ -222,7 +249,13 @@ "(status$: ", "Observable", "<", - "ServiceStatus", + { + "pluginId": "@kbn/core-status-common", + "scope": "common", + "docId": "kibKbnCoreStatusCommonPluginApi", + "section": "def-common.ServiceStatus", + "text": "ServiceStatus" + }, ">) => void" ], "path": "packages/core/status/core-status-server/src/contracts.ts", @@ -239,7 +272,13 @@ "signature": [ "Observable", "<", - "ServiceStatus", + { + "pluginId": "@kbn/core-status-common", + "scope": "common", + "docId": "kibKbnCoreStatusCommonPluginApi", + "section": "def-common.ServiceStatus", + "text": "ServiceStatus" + }, ">" ], "path": "packages/core/status/core-status-server/src/contracts.ts", @@ -262,7 +301,13 @@ "signature": [ "Observable", ">>" ], "path": "packages/core/status/core-status-server/src/contracts.ts", @@ -281,7 +326,13 @@ "signature": [ "Observable", "<", - "ServiceStatus", + { + "pluginId": "@kbn/core-status-common", + "scope": "common", + "docId": "kibKbnCoreStatusCommonPluginApi", + "section": "def-common.ServiceStatus", + "text": "ServiceStatus" + }, ">" ], "path": "packages/core/status/core-status-server/src/contracts.ts", @@ -324,7 +375,7 @@ "signature": [ "Readonly<{ toString: () => \"available\"; valueOf: () => 0; toJSON: () => \"available\"; }> | Readonly<{ toString: () => \"degraded\"; valueOf: () => 1; toJSON: () => \"degraded\"; }> | Readonly<{ toString: () => \"unavailable\"; valueOf: () => 2; toJSON: () => \"unavailable\"; }> | Readonly<{ toString: () => \"critical\"; valueOf: () => 3; toJSON: () => \"critical\"; }>" ], - "path": "node_modules/@types/kbn__core-status-common/index.d.ts", + "path": "packages/core/status/core-status-common/src/service_status.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -341,7 +392,7 @@ "signature": [ "\"degraded\" | \"unavailable\" | \"available\" | \"critical\"" ], - "path": "node_modules/@types/kbn__core-status-common/index.d.ts", + "path": "packages/core/status/core-status-common/src/service_status.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -360,7 +411,7 @@ "signature": [ "{ readonly available: Readonly<{ toString: () => \"available\"; valueOf: () => 0; toJSON: () => \"available\"; }>; readonly degraded: Readonly<{ toString: () => \"degraded\"; valueOf: () => 1; toJSON: () => \"degraded\"; }>; readonly unavailable: Readonly<{ toString: () => \"unavailable\"; valueOf: () => 2; toJSON: () => \"unavailable\"; }>; readonly critical: Readonly<{ toString: () => \"critical\"; valueOf: () => 3; toJSON: () => \"critical\"; }>; }" ], - "path": "node_modules/@types/kbn__core-status-common/index.d.ts", + "path": "packages/core/status/core-status-common/src/service_status.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/kbn_core_status_server.mdx b/api_docs/kbn_core_status_server.mdx index 81ee0f6e6c613..1f5e305a93c32 100644 --- a/api_docs/kbn_core_status_server.mdx +++ b/api_docs/kbn_core_status_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-status-server title: "@kbn/core-status-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-status-server plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-status-server'] --- import kbnCoreStatusServerObj from './kbn_core_status_server.devdocs.json'; @@ -21,7 +21,7 @@ Contact Kibana Core for questions regarding this plugin. | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 20 | 0 | 1 | 0 | +| 20 | 0 | 3 | 0 | ## Server diff --git a/api_docs/kbn_core_status_server_internal.devdocs.json b/api_docs/kbn_core_status_server_internal.devdocs.json index d24cd2e143830..7d2d74b08ced9 100644 --- a/api_docs/kbn_core_status_server_internal.devdocs.json +++ b/api_docs/kbn_core_status_server_internal.devdocs.json @@ -86,27 +86,63 @@ ") => Promise<{ core$: ", "Observable", "<", - "CoreStatus", + { + "pluginId": "@kbn/core-status-common", + "scope": "common", + "docId": "kibKbnCoreStatusCommonPluginApi", + "section": "def-common.CoreStatus", + "text": "CoreStatus" + }, ">; coreOverall$: ", "Observable", "<", - "ServiceStatus", + { + "pluginId": "@kbn/core-status-common", + "scope": "common", + "docId": "kibKbnCoreStatusCommonPluginApi", + "section": "def-common.ServiceStatus", + "text": "ServiceStatus" + }, ">; overall$: ", "Observable", "<", - "ServiceStatus", + { + "pluginId": "@kbn/core-status-common", + "scope": "common", + "docId": "kibKbnCoreStatusCommonPluginApi", + "section": "def-common.ServiceStatus", + "text": "ServiceStatus" + }, ">; plugins: { set: (plugin: string, status$: ", "Observable", "<", - "ServiceStatus", + { + "pluginId": "@kbn/core-status-common", + "scope": "common", + "docId": "kibKbnCoreStatusCommonPluginApi", + "section": "def-common.ServiceStatus", + "text": "ServiceStatus" + }, ">) => void; getDependenciesStatus$: (plugin: string) => ", "Observable", ">>; getDerivedStatus$: (plugin: string) => ", "Observable", "<", - "ServiceStatus", + { + "pluginId": "@kbn/core-status-common", + "scope": "common", + "docId": "kibKbnCoreStatusCommonPluginApi", + "section": "def-common.ServiceStatus", + "text": "ServiceStatus" + }, ">; }; isStatusPageAnonymous: () => boolean; }>" ], "path": "packages/core/status/core-status-server-internal/src/status_service.ts", @@ -229,21 +265,63 @@ "description": [], "signature": [ "{ optIn: (optInConfig: ", - "OptInConfig", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.OptInConfig", + "text": "OptInConfig" + }, ") => void; reportEvent: (eventType: string, eventData: EventTypeData) => void; readonly telemetryCounter$: ", "Observable", "<", - "TelemetryCounter", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.TelemetryCounter", + "text": "TelemetryCounter" + }, ">; registerEventType: (eventTypeOps: ", - "EventTypeOpts", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.EventTypeOpts", + "text": "EventTypeOpts" + }, ") => void; registerShipper: (Shipper: ", - "ShipperClassConstructor", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.ShipperClassConstructor", + "text": "ShipperClassConstructor" + }, ", shipperConfig: ShipperConfig, opts?: ", - "RegisterShipperOpts", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.RegisterShipperOpts", + "text": "RegisterShipperOpts" + }, " | undefined) => void; registerContextProvider: (contextProviderOpts: ", - "ContextProviderOpts", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.ContextProviderOpts", + "text": "ContextProviderOpts" + }, ") => void; removeContextProvider: (contextProviderName: string) => void; }" ], "path": "packages/core/status/core-status-server-internal/src/status_service.ts", @@ -261,7 +339,13 @@ "{ status$: ", "Observable", "<", - "ServiceStatus", + { + "pluginId": "@kbn/core-status-common", + "scope": "common", + "docId": "kibKbnCoreStatusCommonPluginApi", + "section": "def-common.ServiceStatus", + "text": "ServiceStatus" + }, "<", "ElasticsearchStatusMeta", ">>; }" @@ -320,7 +404,13 @@ "label": "metrics", "description": [], "signature": [ - "MetricsServiceSetup" + { + "pluginId": "@kbn/core-metrics-server", + "scope": "server", + "docId": "kibKbnCoreMetricsServerPluginApi", + "section": "def-server.MetricsServiceSetup", + "text": "MetricsServiceSetup" + } ], "path": "packages/core/status/core-status-server-internal/src/status_service.ts", "deprecated": false, @@ -337,9 +427,21 @@ "{ status$: ", "Observable", "<", - "ServiceStatus", + { + "pluginId": "@kbn/core-status-common", + "scope": "common", + "docId": "kibKbnCoreStatusCommonPluginApi", + "section": "def-common.ServiceStatus", + "text": "ServiceStatus" + }, "<", - "SavedObjectStatusMeta", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectStatusMeta", + "text": "SavedObjectStatusMeta" + }, ">>; }" ], "path": "packages/core/status/core-status-server-internal/src/status_service.ts", @@ -355,7 +457,13 @@ "description": [], "signature": [ "{ incrementUsageCounter: ", - "CoreIncrementUsageCounter", + { + "pluginId": "@kbn/core-usage-data-server", + "scope": "server", + "docId": "kibKbnCoreUsageDataServerPluginApi", + "section": "def-server.CoreIncrementUsageCounter", + "text": "CoreIncrementUsageCounter" + }, "; }" ], "path": "packages/core/status/core-status-server-internal/src/status_service.ts", @@ -415,9 +523,21 @@ "label": "schema", "description": [], "signature": [ - "ObjectType", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ObjectType", + "text": "ObjectType" + }, "<{ allowAnonymous: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; }>" ], "path": "packages/core/status/core-status-server-internal/src/status_config.ts", diff --git a/api_docs/kbn_core_status_server_internal.mdx b/api_docs/kbn_core_status_server_internal.mdx index e81f804bea4e3..30f59674c2d4e 100644 --- a/api_docs/kbn_core_status_server_internal.mdx +++ b/api_docs/kbn_core_status_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-status-server-internal title: "@kbn/core-status-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-status-server-internal plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-status-server-internal'] --- import kbnCoreStatusServerInternalObj from './kbn_core_status_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_status_server_mocks.devdocs.json b/api_docs/kbn_core_status_server_mocks.devdocs.json index 85f331d9e7e27..707d54a031b14 100644 --- a/api_docs/kbn_core_status_server_mocks.devdocs.json +++ b/api_docs/kbn_core_status_server_mocks.devdocs.json @@ -51,7 +51,13 @@ "description": [], "signature": [ "() => jest.Mocked<", - "StatusServiceSetup", + { + "pluginId": "@kbn/core-status-server", + "scope": "server", + "docId": "kibKbnCoreStatusServerPluginApi", + "section": "def-server.StatusServiceSetup", + "text": "StatusServiceSetup" + }, ">" ], "path": "packages/core/status/core-status-server-mocks/src/status_service.mock.ts", diff --git a/api_docs/kbn_core_status_server_mocks.mdx b/api_docs/kbn_core_status_server_mocks.mdx index 1f0ca3c3dd5ee..752a9eb722e04 100644 --- a/api_docs/kbn_core_status_server_mocks.mdx +++ b/api_docs/kbn_core_status_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-status-server-mocks title: "@kbn/core-status-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-status-server-mocks plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-status-server-mocks'] --- import kbnCoreStatusServerMocksObj from './kbn_core_status_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_test_helpers_deprecations_getters.devdocs.json b/api_docs/kbn_core_test_helpers_deprecations_getters.devdocs.json index 625a82429f672..c3a8a7ab202c1 100644 --- a/api_docs/kbn_core_test_helpers_deprecations_getters.devdocs.json +++ b/api_docs/kbn_core_test_helpers_deprecations_getters.devdocs.json @@ -20,7 +20,13 @@ "description": [], "signature": [ "({ provider, settings, path, }: { provider: ", - "ConfigDeprecationProvider", + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.ConfigDeprecationProvider", + "text": "ConfigDeprecationProvider" + }, "; settings?: Record | undefined; path: string; }) => { messages: string[]; levels: string[]; migrated: Record; }" ], "path": "packages/core/test-helpers/core-test-helpers-deprecations-getters/src/deprecations_getters.ts", @@ -47,9 +53,21 @@ "description": [], "signature": [ "(factory: ", - "ConfigDeprecationFactory", + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.ConfigDeprecationFactory", + "text": "ConfigDeprecationFactory" + }, ") => ", - "ConfigDeprecation", + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.ConfigDeprecation", + "text": "ConfigDeprecation" + }, "[]" ], "path": "packages/core/test-helpers/core-test-helpers-deprecations-getters/src/deprecations_getters.ts", @@ -65,9 +83,15 @@ "label": "factory", "description": [], "signature": [ - "ConfigDeprecationFactory" + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.ConfigDeprecationFactory", + "text": "ConfigDeprecationFactory" + } ], - "path": "node_modules/@types/kbn__config/index.d.ts", + "path": "packages/kbn-config/src/deprecation/types.ts", "deprecated": false, "trackAdoption": false } @@ -113,7 +137,13 @@ "description": [], "signature": [ "({ provider, settings, }: { provider: ", - "ConfigDeprecationProvider", + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.ConfigDeprecationProvider", + "text": "ConfigDeprecationProvider" + }, "; settings?: Record | undefined; }) => { messages: string[]; levels: string[]; migrated: Record; }" ], "path": "packages/core/test-helpers/core-test-helpers-deprecations-getters/src/deprecations_getters.ts", @@ -140,9 +170,21 @@ "description": [], "signature": [ "(factory: ", - "ConfigDeprecationFactory", + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.ConfigDeprecationFactory", + "text": "ConfigDeprecationFactory" + }, ") => ", - "ConfigDeprecation", + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.ConfigDeprecation", + "text": "ConfigDeprecation" + }, "[]" ], "path": "packages/core/test-helpers/core-test-helpers-deprecations-getters/src/deprecations_getters.ts", @@ -158,9 +200,15 @@ "label": "factory", "description": [], "signature": [ - "ConfigDeprecationFactory" + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.ConfigDeprecationFactory", + "text": "ConfigDeprecationFactory" + } ], - "path": "node_modules/@types/kbn__config/index.d.ts", + "path": "packages/kbn-config/src/deprecation/types.ts", "deprecated": false, "trackAdoption": false } diff --git a/api_docs/kbn_core_test_helpers_deprecations_getters.mdx b/api_docs/kbn_core_test_helpers_deprecations_getters.mdx index 9e2c0902dddf5..8f26134925875 100644 --- a/api_docs/kbn_core_test_helpers_deprecations_getters.mdx +++ b/api_docs/kbn_core_test_helpers_deprecations_getters.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-test-helpers-deprecations-getters title: "@kbn/core-test-helpers-deprecations-getters" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-test-helpers-deprecations-getters plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-test-helpers-deprecations-getters'] --- import kbnCoreTestHelpersDeprecationsGettersObj from './kbn_core_test_helpers_deprecations_getters.devdocs.json'; @@ -21,7 +21,7 @@ Contact Kibana Core for questions regarding this plugin. | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 11 | 0 | 9 | 0 | +| 11 | 0 | 11 | 0 | ## Server diff --git a/api_docs/kbn_core_test_helpers_http_setup_browser.devdocs.json b/api_docs/kbn_core_test_helpers_http_setup_browser.devdocs.json index f368f3a1b89b0..2b85357c8f13d 100644 --- a/api_docs/kbn_core_test_helpers_http_setup_browser.devdocs.json +++ b/api_docs/kbn_core_test_helpers_http_setup_browser.devdocs.json @@ -40,9 +40,21 @@ "; injectedMetadata: jest.Mocked<", "InternalInjectedMetadataSetup", ">; fatalErrors: jest.Mocked<", - "FatalErrorsSetup", + { + "pluginId": "@kbn/core-fatal-errors-browser", + "scope": "common", + "docId": "kibKbnCoreFatalErrorsBrowserPluginApi", + "section": "def-common.FatalErrorsSetup", + "text": "FatalErrorsSetup" + }, ">; http: ", - "HttpSetup", + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpSetup", + "text": "HttpSetup" + }, "; }" ], "path": "packages/core/test-helpers/core-test-helpers-http-setup-browser/src/http_test_setup.ts", @@ -89,7 +101,13 @@ "(injectedMetadata: jest.Mocked<", "InternalInjectedMetadataSetup", ">, fatalErrors: jest.Mocked<", - "FatalErrorsSetup", + { + "pluginId": "@kbn/core-fatal-errors-browser", + "scope": "common", + "docId": "kibKbnCoreFatalErrorsBrowserPluginApi", + "section": "def-common.FatalErrorsSetup", + "text": "FatalErrorsSetup" + }, ">) => void" ], "path": "packages/core/test-helpers/core-test-helpers-http-setup-browser/src/http_test_setup.ts", @@ -129,9 +147,21 @@ "{ add: jest.MockInstance; get$: jest.MockInstance<", "Observable", "<", - "FatalErrorInfo", + { + "pluginId": "@kbn/core-fatal-errors-browser", + "scope": "common", + "docId": "kibKbnCoreFatalErrorsBrowserPluginApi", + "section": "def-common.FatalErrorInfo", + "text": "FatalErrorInfo" + }, ">, []>; } & ", - "FatalErrorsSetup" + { + "pluginId": "@kbn/core-fatal-errors-browser", + "scope": "common", + "docId": "kibKbnCoreFatalErrorsBrowserPluginApi", + "section": "def-common.FatalErrorsSetup", + "text": "FatalErrorsSetup" + } ], "path": "packages/core/test-helpers/core-test-helpers-http-setup-browser/src/http_test_setup.ts", "deprecated": false, 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 356d97802d204..8130d538b170f 100644 --- a/api_docs/kbn_core_test_helpers_http_setup_browser.mdx +++ b/api_docs/kbn_core_test_helpers_http_setup_browser.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-test-helpers-http-setup-browser plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-test-helpers-http-setup-browser'] --- import kbnCoreTestHelpersHttpSetupBrowserObj from './kbn_core_test_helpers_http_setup_browser.devdocs.json'; diff --git a/api_docs/kbn_core_test_helpers_so_type_serializer.devdocs.json b/api_docs/kbn_core_test_helpers_so_type_serializer.devdocs.json index 10df0d4e5d2de..642eda6c66314 100644 --- a/api_docs/kbn_core_test_helpers_so_type_serializer.devdocs.json +++ b/api_docs/kbn_core_test_helpers_so_type_serializer.devdocs.json @@ -22,7 +22,13 @@ ], "signature": [ "(soType: ", - "SavedObjectsType", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsType", + "text": "SavedObjectsType" + }, ") => ", { "pluginId": "@kbn/core-test-helpers-so-type-serializer", @@ -44,7 +50,13 @@ "label": "soType", "description": [], "signature": [ - "SavedObjectsType", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsType", + "text": "SavedObjectsType" + }, "" ], "path": "packages/core/test-helpers/core-test-helpers-so-type-serializer/src/extract_migration_info.ts", @@ -65,7 +77,13 @@ "description": [], "signature": [ "(soType: ", - "SavedObjectsType", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsType", + "text": "SavedObjectsType" + }, ") => string" ], "path": "packages/core/test-helpers/core-test-helpers-so-type-serializer/src/get_migration_hash.ts", @@ -80,7 +98,13 @@ "label": "soType", "description": [], "signature": [ - "SavedObjectsType", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsType", + "text": "SavedObjectsType" + }, "" ], "path": "packages/core/test-helpers/core-test-helpers-so-type-serializer/src/get_migration_hash.ts", diff --git a/api_docs/kbn_core_test_helpers_so_type_serializer.mdx b/api_docs/kbn_core_test_helpers_so_type_serializer.mdx index c50630ddc7266..42a99f22ecb81 100644 --- a/api_docs/kbn_core_test_helpers_so_type_serializer.mdx +++ b/api_docs/kbn_core_test_helpers_so_type_serializer.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-test-helpers-so-type-serializer title: "@kbn/core-test-helpers-so-type-serializer" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-test-helpers-so-type-serializer plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-test-helpers-so-type-serializer'] --- import kbnCoreTestHelpersSoTypeSerializerObj from './kbn_core_test_helpers_so_type_serializer.devdocs.json'; diff --git a/api_docs/kbn_core_test_helpers_test_utils.devdocs.json b/api_docs/kbn_core_test_helpers_test_utils.devdocs.json index acb9b9ecd3d2c..a8444a39cb0f8 100644 --- a/api_docs/kbn_core_test_helpers_test_utils.devdocs.json +++ b/api_docs/kbn_core_test_helpers_test_utils.devdocs.json @@ -20,7 +20,13 @@ "description": [], "signature": [ "(name: string) => ", - "SavedObjectsType", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsType", + "text": "SavedObjectsType" + }, "" ], "path": "packages/core/test-helpers/core-test-helpers-test-utils/src/create_exportable_type.ts", @@ -59,23 +65,71 @@ "; httpSetup: ", "InternalHttpServiceSetup", "; handlerContext: { savedObjects: { client: jest.Mocked<", - "SavedObjectsClientContract", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + }, ">; typeRegistry: jest.Mocked<", - "ISavedObjectTypeRegistry", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.ISavedObjectTypeRegistry", + "text": "ISavedObjectTypeRegistry" + }, " & Pick<", "SavedObjectTypeRegistry", ", \"registerType\">>; getClient: () => jest.Mocked<", - "SavedObjectsClientContract", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + }, ">; getExporter: () => jest.Mocked<", - "ISavedObjectsExporter", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.ISavedObjectsExporter", + "text": "ISavedObjectsExporter" + }, ">; getImporter: () => jest.Mocked<", - "ISavedObjectsImporter", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.ISavedObjectsImporter", + "text": "ISavedObjectsImporter" + }, ">; }; elasticsearch: { client: ", - "ScopedClusterClientMock", + { + "pluginId": "@kbn/core-elasticsearch-client-server-mocks", + "scope": "server", + "docId": "kibKbnCoreElasticsearchClientServerMocksPluginApi", + "section": "def-server.ScopedClusterClientMock", + "text": "ScopedClusterClientMock" + }, "; }; uiSettings: { client: jest.Mocked<", - "IUiSettingsClient", + { + "pluginId": "@kbn/core-ui-settings-server", + "scope": "server", + "docId": "kibKbnCoreUiSettingsServerPluginApi", + "section": "def-server.IUiSettingsClient", + "text": "IUiSettingsClient" + }, ">; }; deprecations: { client: jest.Mocked<", - "DeprecationsClient", + { + "pluginId": "@kbn/core-deprecations-server", + "scope": "server", + "docId": "kibKbnCoreDeprecationsServerPluginApi", + "section": "def-server.DeprecationsClient", + "text": "DeprecationsClient" + }, ">; }; }; }>" ], "path": "packages/core/test-helpers/core-test-helpers-test-utils/src/setup_server.ts", diff --git a/api_docs/kbn_core_test_helpers_test_utils.mdx b/api_docs/kbn_core_test_helpers_test_utils.mdx index 3d3534d0dfc50..de3e6484e592e 100644 --- a/api_docs/kbn_core_test_helpers_test_utils.mdx +++ b/api_docs/kbn_core_test_helpers_test_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-test-helpers-test-utils title: "@kbn/core-test-helpers-test-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-test-helpers-test-utils plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-test-helpers-test-utils'] --- import kbnCoreTestHelpersTestUtilsObj from './kbn_core_test_helpers_test_utils.devdocs.json'; diff --git a/api_docs/kbn_core_theme_browser.mdx b/api_docs/kbn_core_theme_browser.mdx index 80df7e7d8d6ca..07c304363bf4a 100644 --- a/api_docs/kbn_core_theme_browser.mdx +++ b/api_docs/kbn_core_theme_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-theme-browser title: "@kbn/core-theme-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-theme-browser plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-theme-browser'] --- import kbnCoreThemeBrowserObj from './kbn_core_theme_browser.devdocs.json'; diff --git a/api_docs/kbn_core_theme_browser_internal.mdx b/api_docs/kbn_core_theme_browser_internal.mdx index 89b708cac3389..5014a3189457d 100644 --- a/api_docs/kbn_core_theme_browser_internal.mdx +++ b/api_docs/kbn_core_theme_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-theme-browser-internal title: "@kbn/core-theme-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-theme-browser-internal plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-theme-browser-internal'] --- import kbnCoreThemeBrowserInternalObj from './kbn_core_theme_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_theme_browser_mocks.devdocs.json b/api_docs/kbn_core_theme_browser_mocks.devdocs.json index 888d4b04303a2..016a004c920b2 100644 --- a/api_docs/kbn_core_theme_browser_mocks.devdocs.json +++ b/api_docs/kbn_core_theme_browser_mocks.devdocs.json @@ -59,7 +59,13 @@ "description": [], "signature": [ "() => jest.Mocked<", - "ThemeServiceSetup", + { + "pluginId": "@kbn/core-theme-browser", + "scope": "common", + "docId": "kibKbnCoreThemeBrowserPluginApi", + "section": "def-common.ThemeServiceSetup", + "text": "ThemeServiceSetup" + }, ">" ], "path": "packages/core/theme/core-theme-browser-mocks/src/theme_service.mock.ts", @@ -77,7 +83,13 @@ "description": [], "signature": [ "() => jest.Mocked<", - "ThemeServiceStart", + { + "pluginId": "@kbn/core-theme-browser", + "scope": "common", + "docId": "kibKbnCoreThemeBrowserPluginApi", + "section": "def-common.ThemeServiceStart", + "text": "ThemeServiceStart" + }, ">" ], "path": "packages/core/theme/core-theme-browser-mocks/src/theme_service.mock.ts", @@ -95,7 +107,13 @@ "description": [], "signature": [ "() => ", - "CoreTheme" + { + "pluginId": "@kbn/core-theme-browser", + "scope": "common", + "docId": "kibKbnCoreThemeBrowserPluginApi", + "section": "def-common.CoreTheme", + "text": "CoreTheme" + } ], "path": "packages/core/theme/core-theme-browser-mocks/src/theme_service.mock.ts", "deprecated": false, @@ -114,7 +132,13 @@ "() => ", "Observable", "<", - "CoreTheme", + { + "pluginId": "@kbn/core-theme-browser", + "scope": "common", + "docId": "kibKbnCoreThemeBrowserPluginApi", + "section": "def-common.CoreTheme", + "text": "CoreTheme" + }, ">" ], "path": "packages/core/theme/core-theme-browser-mocks/src/theme_service.mock.ts", diff --git a/api_docs/kbn_core_theme_browser_mocks.mdx b/api_docs/kbn_core_theme_browser_mocks.mdx index 896ae14e7f36a..63538b15956cd 100644 --- a/api_docs/kbn_core_theme_browser_mocks.mdx +++ b/api_docs/kbn_core_theme_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-theme-browser-mocks title: "@kbn/core-theme-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-theme-browser-mocks plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-theme-browser-mocks'] --- import kbnCoreThemeBrowserMocksObj from './kbn_core_theme_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_ui_settings_browser.devdocs.json b/api_docs/kbn_core_ui_settings_browser.devdocs.json index 8a46c32c24978..312846b09f5e5 100644 --- a/api_docs/kbn_core_ui_settings_browser.devdocs.json +++ b/api_docs/kbn_core_ui_settings_browser.devdocs.json @@ -144,9 +144,21 @@ ], "signature": [ "() => Readonly>>" ], "path": "packages/core/ui-settings/core-ui-settings-browser/src/types.ts", @@ -437,9 +449,21 @@ "description": [], "signature": [ "[key: string]: ", - "PublicUiSettingsParams", + { + "pluginId": "@kbn/core-ui-settings-common", + "scope": "common", + "docId": "kibKbnCoreUiSettingsCommonPluginApi", + "section": "def-common.PublicUiSettingsParams", + "text": "PublicUiSettingsParams" + }, " & ", - "UserProvidedValues", + { + "pluginId": "@kbn/core-ui-settings-common", + "scope": "common", + "docId": "kibKbnCoreUiSettingsCommonPluginApi", + "section": "def-common.UserProvidedValues", + "text": "UserProvidedValues" + }, "" ], "path": "packages/core/ui-settings/core-ui-settings-browser/src/types.ts", diff --git a/api_docs/kbn_core_ui_settings_browser.mdx b/api_docs/kbn_core_ui_settings_browser.mdx index 68d936c4b7448..ebbaf17cca3b3 100644 --- a/api_docs/kbn_core_ui_settings_browser.mdx +++ b/api_docs/kbn_core_ui_settings_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-browser title: "@kbn/core-ui-settings-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-ui-settings-browser plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-ui-settings-browser'] --- import kbnCoreUiSettingsBrowserObj from './kbn_core_ui_settings_browser.devdocs.json'; diff --git a/api_docs/kbn_core_ui_settings_browser_internal.devdocs.json b/api_docs/kbn_core_ui_settings_browser_internal.devdocs.json index 3d089bf821f4f..93f9f2cc2eb55 100644 --- a/api_docs/kbn_core_ui_settings_browser_internal.devdocs.json +++ b/api_docs/kbn_core_ui_settings_browser_internal.devdocs.json @@ -34,7 +34,13 @@ "text": "UiSettingsClient" }, " implements ", - "IUiSettingsClient" + { + "pluginId": "@kbn/core-ui-settings-browser", + "scope": "common", + "docId": "kibKbnCoreUiSettingsBrowserPluginApi", + "section": "def-common.IUiSettingsClient", + "text": "IUiSettingsClient" + } ], "path": "packages/core/ui-settings/core-ui-settings-browser-internal/src/ui_settings_client.ts", "deprecated": false, @@ -81,9 +87,21 @@ "description": [], "signature": [ "() => Record>" ], "path": "packages/core/ui-settings/core-ui-settings-browser-internal/src/ui_settings_client.ts", diff --git a/api_docs/kbn_core_ui_settings_browser_internal.mdx b/api_docs/kbn_core_ui_settings_browser_internal.mdx index 89d2633e06781..a41ffc05a6aa6 100644 --- a/api_docs/kbn_core_ui_settings_browser_internal.mdx +++ b/api_docs/kbn_core_ui_settings_browser_internal.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-ui-settings-browser-internal plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-ui-settings-browser-internal'] --- import kbnCoreUiSettingsBrowserInternalObj from './kbn_core_ui_settings_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_ui_settings_browser_mocks.devdocs.json b/api_docs/kbn_core_ui_settings_browser_mocks.devdocs.json index 13108950725c0..36d284b3d050c 100644 --- a/api_docs/kbn_core_ui_settings_browser_mocks.devdocs.json +++ b/api_docs/kbn_core_ui_settings_browser_mocks.devdocs.json @@ -59,7 +59,13 @@ "description": [], "signature": [ "() => jest.Mocked<", - "IUiSettingsClient", + { + "pluginId": "@kbn/core-ui-settings-browser", + "scope": "common", + "docId": "kibKbnCoreUiSettingsBrowserPluginApi", + "section": "def-common.IUiSettingsClient", + "text": "IUiSettingsClient" + }, ">" ], "path": "packages/core/ui-settings/core-ui-settings-browser-mocks/src/ui_settings_service.mock.ts", @@ -77,7 +83,13 @@ "description": [], "signature": [ "() => jest.Mocked<", - "IUiSettingsClient", + { + "pluginId": "@kbn/core-ui-settings-browser", + "scope": "common", + "docId": "kibKbnCoreUiSettingsBrowserPluginApi", + "section": "def-common.IUiSettingsClient", + "text": "IUiSettingsClient" + }, ">" ], "path": "packages/core/ui-settings/core-ui-settings-browser-mocks/src/ui_settings_service.mock.ts", diff --git a/api_docs/kbn_core_ui_settings_browser_mocks.mdx b/api_docs/kbn_core_ui_settings_browser_mocks.mdx index f5490f25c452d..91ef221394eb5 100644 --- a/api_docs/kbn_core_ui_settings_browser_mocks.mdx +++ b/api_docs/kbn_core_ui_settings_browser_mocks.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-ui-settings-browser-mocks plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-ui-settings-browser-mocks'] --- import kbnCoreUiSettingsBrowserMocksObj from './kbn_core_ui_settings_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_ui_settings_common.devdocs.json b/api_docs/kbn_core_ui_settings_common.devdocs.json index 6967cb7263b52..9a3b58162141f 100644 --- a/api_docs/kbn_core_ui_settings_common.devdocs.json +++ b/api_docs/kbn_core_ui_settings_common.devdocs.json @@ -299,7 +299,13 @@ "label": "schema", "description": [], "signature": [ - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "" ], "path": "packages/core/ui-settings/core-ui-settings-common/src/ui_settings.ts", @@ -323,7 +329,24 @@ "path": "packages/core/ui-settings/core-ui-settings-common/src/ui_settings.ts", "deprecated": true, "trackAdoption": false, - "references": [] + "references": [ + { + "plugin": "advancedSettings", + "path": "src/plugins/advanced_settings/public/management_app/lib/to_editable_config.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/server/ui_settings.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/server/ui_settings.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/server/ui_settings.ts" + } + ] } ], "initialIsOpen": false diff --git a/api_docs/kbn_core_ui_settings_common.mdx b/api_docs/kbn_core_ui_settings_common.mdx index 56209877b222b..0c94871cf9714 100644 --- a/api_docs/kbn_core_ui_settings_common.mdx +++ b/api_docs/kbn_core_ui_settings_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-common title: "@kbn/core-ui-settings-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-ui-settings-common plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-ui-settings-common'] --- import kbnCoreUiSettingsCommonObj from './kbn_core_ui_settings_common.devdocs.json'; diff --git a/api_docs/kbn_core_ui_settings_server.devdocs.json b/api_docs/kbn_core_ui_settings_server.devdocs.json index f2b6ff763a4a7..c1bb08ade2aca 100644 --- a/api_docs/kbn_core_ui_settings_server.devdocs.json +++ b/api_docs/kbn_core_ui_settings_server.devdocs.json @@ -36,7 +36,13 @@ ], "signature": [ "() => Readonly>" ], "path": "packages/core/ui-settings/core-ui-settings-server/src/ui_settings_client.ts", @@ -108,7 +114,13 @@ ], "signature": [ "() => Promise>>" ], "path": "packages/core/ui-settings/core-ui-settings-server/src/ui_settings_client.ts", @@ -397,7 +409,13 @@ ], "signature": [ "(settings: Record>) => void" ], "path": "packages/core/ui-settings/core-ui-settings-server/src/contracts.ts", @@ -413,7 +431,13 @@ "description": [], "signature": [ "Record>" ], "path": "packages/core/ui-settings/core-ui-settings-server/src/contracts.ts", @@ -449,7 +473,13 @@ ], "signature": [ "(savedObjectsClient: ", - "SavedObjectsClientContract", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + }, ") => ", { "pluginId": "@kbn/core-ui-settings-server", @@ -471,7 +501,13 @@ "label": "savedObjectsClient", "description": [], "signature": [ - "SavedObjectsClientContract" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + } ], "path": "packages/core/ui-settings/core-ui-settings-server/src/contracts.ts", "deprecated": false, diff --git a/api_docs/kbn_core_ui_settings_server.mdx b/api_docs/kbn_core_ui_settings_server.mdx index 089429139d053..7789104bf8901 100644 --- a/api_docs/kbn_core_ui_settings_server.mdx +++ b/api_docs/kbn_core_ui_settings_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-server title: "@kbn/core-ui-settings-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-ui-settings-server plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-ui-settings-server'] --- import kbnCoreUiSettingsServerObj from './kbn_core_ui_settings_server.devdocs.json'; diff --git a/api_docs/kbn_core_ui_settings_server_internal.devdocs.json b/api_docs/kbn_core_ui_settings_server_internal.devdocs.json index 2edb18eb582d6..81c6e14698d39 100644 --- a/api_docs/kbn_core_ui_settings_server_internal.devdocs.json +++ b/api_docs/kbn_core_ui_settings_server_internal.devdocs.json @@ -321,7 +321,13 @@ "label": "savedObjectsClient", "description": [], "signature": [ - "SavedObjectsClientContract" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + } ], "path": "packages/core/ui-settings/core-ui-settings-server-internal/src/ui_settings_client.ts", "deprecated": false, @@ -350,7 +356,13 @@ "description": [], "signature": [ "Record> | undefined" ], "path": "packages/core/ui-settings/core-ui-settings-server-internal/src/ui_settings_client.ts", @@ -365,7 +377,13 @@ "label": "log", "description": [], "signature": [ - "Logger" + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + } ], "path": "packages/core/ui-settings/core-ui-settings-server-internal/src/ui_settings_client.ts", "deprecated": false, @@ -408,9 +426,21 @@ "label": "schema", "description": [], "signature": [ - "ObjectType", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ObjectType", + "text": "ObjectType" + }, "<{ overrides: ", - "ObjectType", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ObjectType", + "text": "ObjectType" + }, "<{}>; }>" ], "path": "packages/core/ui-settings/core-ui-settings-server-internal/src/ui_settings_config.ts", @@ -426,9 +456,21 @@ "description": [], "signature": [ "(factory: ", - "ConfigDeprecationFactory", + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.ConfigDeprecationFactory", + "text": "ConfigDeprecationFactory" + }, ") => ", - "ConfigDeprecation", + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.ConfigDeprecation", + "text": "ConfigDeprecation" + }, "[]" ], "path": "packages/core/ui-settings/core-ui-settings-server-internal/src/ui_settings_config.ts", @@ -444,9 +486,15 @@ "label": "factory", "description": [], "signature": [ - "ConfigDeprecationFactory" + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.ConfigDeprecationFactory", + "text": "ConfigDeprecationFactory" + } ], - "path": "node_modules/@types/kbn__config/index.d.ts", + "path": "packages/kbn-config/src/deprecation/types.ts", "deprecated": false, "trackAdoption": false } diff --git a/api_docs/kbn_core_ui_settings_server_internal.mdx b/api_docs/kbn_core_ui_settings_server_internal.mdx index 6551a5773b243..3cd31d3913d75 100644 --- a/api_docs/kbn_core_ui_settings_server_internal.mdx +++ b/api_docs/kbn_core_ui_settings_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-server-internal title: "@kbn/core-ui-settings-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-ui-settings-server-internal plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-ui-settings-server-internal'] --- import kbnCoreUiSettingsServerInternalObj from './kbn_core_ui_settings_server_internal.devdocs.json'; @@ -21,7 +21,7 @@ Contact Kibana Core for questions regarding this plugin. | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 28 | 1 | 27 | 1 | +| 28 | 1 | 28 | 2 | ## Server diff --git a/api_docs/kbn_core_ui_settings_server_mocks.devdocs.json b/api_docs/kbn_core_ui_settings_server_mocks.devdocs.json index 96ed28f3b1379..b16f1b9bd37e8 100644 --- a/api_docs/kbn_core_ui_settings_server_mocks.devdocs.json +++ b/api_docs/kbn_core_ui_settings_server_mocks.devdocs.json @@ -53,7 +53,13 @@ "description": [], "signature": [ "() => jest.Mocked<", - "UiSettingsServiceSetup", + { + "pluginId": "@kbn/core-ui-settings-server", + "scope": "server", + "docId": "kibKbnCoreUiSettingsServerPluginApi", + "section": "def-server.UiSettingsServiceSetup", + "text": "UiSettingsServiceSetup" + }, ">" ], "path": "packages/core/ui-settings/core-ui-settings-server-mocks/src/ui_settings_service.mock.ts", @@ -71,7 +77,13 @@ "description": [], "signature": [ "() => jest.Mocked<", - "UiSettingsServiceStart", + { + "pluginId": "@kbn/core-ui-settings-server", + "scope": "server", + "docId": "kibKbnCoreUiSettingsServerPluginApi", + "section": "def-server.UiSettingsServiceStart", + "text": "UiSettingsServiceStart" + }, ">" ], "path": "packages/core/ui-settings/core-ui-settings-server-mocks/src/ui_settings_service.mock.ts", @@ -89,7 +101,13 @@ "description": [], "signature": [ "() => jest.Mocked<", - "IUiSettingsClient", + { + "pluginId": "@kbn/core-ui-settings-server", + "scope": "server", + "docId": "kibKbnCoreUiSettingsServerPluginApi", + "section": "def-server.IUiSettingsClient", + "text": "IUiSettingsClient" + }, ">" ], "path": "packages/core/ui-settings/core-ui-settings-server-mocks/src/ui_settings_service.mock.ts", diff --git a/api_docs/kbn_core_ui_settings_server_mocks.mdx b/api_docs/kbn_core_ui_settings_server_mocks.mdx index d0f0ad394df64..166dc7afd32c5 100644 --- a/api_docs/kbn_core_ui_settings_server_mocks.mdx +++ b/api_docs/kbn_core_ui_settings_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-server-mocks title: "@kbn/core-ui-settings-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-ui-settings-server-mocks plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-ui-settings-server-mocks'] --- import kbnCoreUiSettingsServerMocksObj from './kbn_core_ui_settings_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_usage_data_server.mdx b/api_docs/kbn_core_usage_data_server.mdx index d2f6d32b3204d..7f86d85118f63 100644 --- a/api_docs/kbn_core_usage_data_server.mdx +++ b/api_docs/kbn_core_usage_data_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-usage-data-server title: "@kbn/core-usage-data-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-usage-data-server plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-usage-data-server'] --- import kbnCoreUsageDataServerObj from './kbn_core_usage_data_server.devdocs.json'; diff --git a/api_docs/kbn_core_usage_data_server_internal.devdocs.json b/api_docs/kbn_core_usage_data_server_internal.devdocs.json index 9673e8514d67a..793e3c65b04dc 100644 --- a/api_docs/kbn_core_usage_data_server_internal.devdocs.json +++ b/api_docs/kbn_core_usage_data_server_internal.devdocs.json @@ -30,7 +30,13 @@ "<", "InternalCoreUsageDataSetup", ", ", - "CoreUsageDataStart", + { + "pluginId": "@kbn/core-usage-data-server", + "scope": "server", + "docId": "kibKbnCoreUsageDataServerPluginApi", + "section": "def-server.CoreUsageDataStart", + "text": "CoreUsageDataStart" + }, ">" ], "path": "packages/core/usage-data/core-usage-data-server-internal/src/core_usage_data_service.ts", @@ -115,9 +121,21 @@ "({ savedObjects, elasticsearch, exposedConfigsToUsage }: ", "StartDeps", ") => { getCoreUsageData: () => Promise<", - "CoreUsageData", + { + "pluginId": "@kbn/core-usage-data-server", + "scope": "server", + "docId": "kibKbnCoreUsageDataServerPluginApi", + "section": "def-server.CoreUsageData", + "text": "CoreUsageData" + }, ">; getConfigsUsageData: () => Promise<", - "ConfigUsageData", + { + "pluginId": "@kbn/core-usage-data-server", + "scope": "server", + "docId": "kibKbnCoreUsageDataServerPluginApi", + "section": "def-server.ConfigUsageData", + "text": "ConfigUsageData" + }, ">; }" ], "path": "packages/core/usage-data/core-usage-data-server-internal/src/core_usage_data_service.ts", diff --git a/api_docs/kbn_core_usage_data_server_internal.mdx b/api_docs/kbn_core_usage_data_server_internal.mdx index d9b586328a918..2c1293f89904f 100644 --- a/api_docs/kbn_core_usage_data_server_internal.mdx +++ b/api_docs/kbn_core_usage_data_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-usage-data-server-internal title: "@kbn/core-usage-data-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-usage-data-server-internal plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-usage-data-server-internal'] --- import kbnCoreUsageDataServerInternalObj from './kbn_core_usage_data_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_usage_data_server_mocks.devdocs.json b/api_docs/kbn_core_usage_data_server_mocks.devdocs.json index 0f3cc66101f7f..e134ee465bb94 100644 --- a/api_docs/kbn_core_usage_data_server_mocks.devdocs.json +++ b/api_docs/kbn_core_usage_data_server_mocks.devdocs.json @@ -35,9 +35,21 @@ "description": [], "signature": [ "() => jest.Mocked<", - "PublicMethodsOf", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.PublicMethodsOf", + "text": "PublicMethodsOf" + }, "<", - "CoreUsageDataService", + { + "pluginId": "@kbn/core-usage-data-server-internal", + "scope": "server", + "docId": "kibKbnCoreUsageDataServerInternalPluginApi", + "section": "def-server.CoreUsageDataService", + "text": "CoreUsageDataService" + }, ">>" ], "path": "packages/core/usage-data/core-usage-data-server-mocks/src/core_usage_data_service.mock.ts", @@ -74,7 +86,13 @@ "description": [], "signature": [ "{ getUsageStats: jest.MockInstance, []>; incrementSavedObjectsBulkCreate: jest.MockInstance, [options: ", "BaseIncrementOptions", "]>; incrementSavedObjectsBulkGet: jest.MockInstance, [options: ", @@ -125,7 +143,13 @@ "description": [], "signature": [ "() => jest.Mocked<", - "CoreUsageDataStart", + { + "pluginId": "@kbn/core-usage-data-server", + "scope": "server", + "docId": "kibKbnCoreUsageDataServerPluginApi", + "section": "def-server.CoreUsageDataStart", + "text": "CoreUsageDataStart" + }, ">" ], "path": "packages/core/usage-data/core-usage-data-server-mocks/src/core_usage_data_service.mock.ts", diff --git a/api_docs/kbn_core_usage_data_server_mocks.mdx b/api_docs/kbn_core_usage_data_server_mocks.mdx index 767a875971ca6..14855501567ef 100644 --- a/api_docs/kbn_core_usage_data_server_mocks.mdx +++ b/api_docs/kbn_core_usage_data_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-usage-data-server-mocks title: "@kbn/core-usage-data-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-usage-data-server-mocks plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-usage-data-server-mocks'] --- import kbnCoreUsageDataServerMocksObj from './kbn_core_usage_data_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_crypto.mdx b/api_docs/kbn_crypto.mdx index 5c7dd87ee1d94..74ed745fb1786 100644 --- a/api_docs/kbn_crypto.mdx +++ b/api_docs/kbn_crypto.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-crypto title: "@kbn/crypto" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/crypto plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/crypto'] --- import kbnCryptoObj from './kbn_crypto.devdocs.json'; diff --git a/api_docs/kbn_crypto_browser.mdx b/api_docs/kbn_crypto_browser.mdx index 386d440ac17c9..7326017b86641 100644 --- a/api_docs/kbn_crypto_browser.mdx +++ b/api_docs/kbn_crypto_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-crypto-browser title: "@kbn/crypto-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/crypto-browser plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/crypto-browser'] --- import kbnCryptoBrowserObj from './kbn_crypto_browser.devdocs.json'; diff --git a/api_docs/kbn_datemath.mdx b/api_docs/kbn_datemath.mdx index b3cf999f7e526..1ebef891c7412 100644 --- a/api_docs/kbn_datemath.mdx +++ b/api_docs/kbn_datemath.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-datemath title: "@kbn/datemath" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/datemath plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/datemath'] --- import kbnDatemathObj from './kbn_datemath.devdocs.json'; diff --git a/api_docs/kbn_dev_cli_errors.mdx b/api_docs/kbn_dev_cli_errors.mdx index 3e0794998bb7d..d294818d63da2 100644 --- a/api_docs/kbn_dev_cli_errors.mdx +++ b/api_docs/kbn_dev_cli_errors.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-dev-cli-errors title: "@kbn/dev-cli-errors" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/dev-cli-errors plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/dev-cli-errors'] --- import kbnDevCliErrorsObj from './kbn_dev_cli_errors.devdocs.json'; diff --git a/api_docs/kbn_dev_cli_runner.devdocs.json b/api_docs/kbn_dev_cli_runner.devdocs.json index 7744755b64732..f0831b9d0d9c3 100644 --- a/api_docs/kbn_dev_cli_runner.devdocs.json +++ b/api_docs/kbn_dev_cli_runner.devdocs.json @@ -1336,7 +1336,13 @@ "label": "log", "description": [], "signature": [ - "ToolingLog" + { + "pluginId": "@kbn/tooling-log", + "scope": "server", + "docId": "kibKbnToolingLogPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + } ], "path": "packages/kbn-dev-cli-runner/src/run.ts", "deprecated": false, @@ -1370,7 +1376,13 @@ "label": "procRunner", "description": [], "signature": [ - "ProcRunner" + { + "pluginId": "@kbn/dev-proc-runner", + "scope": "server", + "docId": "kibKbnDevProcRunnerPluginApi", + "section": "def-server.ProcRunner", + "text": "ProcRunner" + } ], "path": "packages/kbn-dev-cli-runner/src/run.ts", "deprecated": false, diff --git a/api_docs/kbn_dev_cli_runner.mdx b/api_docs/kbn_dev_cli_runner.mdx index d8eb5492684f4..96f757e016528 100644 --- a/api_docs/kbn_dev_cli_runner.mdx +++ b/api_docs/kbn_dev_cli_runner.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-dev-cli-runner title: "@kbn/dev-cli-runner" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/dev-cli-runner plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/dev-cli-runner'] --- import kbnDevCliRunnerObj from './kbn_dev_cli_runner.devdocs.json'; diff --git a/api_docs/kbn_dev_proc_runner.devdocs.json b/api_docs/kbn_dev_proc_runner.devdocs.json index 614ee960a9726..61867527c7ab5 100644 --- a/api_docs/kbn_dev_proc_runner.devdocs.json +++ b/api_docs/kbn_dev_proc_runner.devdocs.json @@ -47,7 +47,13 @@ "label": "log", "description": [], "signature": [ - "ToolingLog" + { + "pluginId": "@kbn/tooling-log", + "scope": "server", + "docId": "kibKbnToolingLogPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + } ], "path": "packages/kbn-dev-proc-runner/src/proc_runner.ts", "deprecated": false, @@ -229,7 +235,13 @@ ], "signature": [ "(log: ", - "ToolingLog", + { + "pluginId": "@kbn/tooling-log", + "scope": "server", + "docId": "kibKbnToolingLogPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + }, ", fn: (procs: ", { "pluginId": "@kbn/dev-proc-runner", @@ -252,7 +264,13 @@ "label": "log", "description": [], "signature": [ - "ToolingLog" + { + "pluginId": "@kbn/tooling-log", + "scope": "server", + "docId": "kibKbnToolingLogPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + } ], "path": "packages/kbn-dev-proc-runner/src/with_proc_runner.ts", "deprecated": false, diff --git a/api_docs/kbn_dev_proc_runner.mdx b/api_docs/kbn_dev_proc_runner.mdx index ab477df8e198d..edf7cf62fbd9c 100644 --- a/api_docs/kbn_dev_proc_runner.mdx +++ b/api_docs/kbn_dev_proc_runner.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-dev-proc-runner title: "@kbn/dev-proc-runner" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/dev-proc-runner plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/dev-proc-runner'] --- import kbnDevProcRunnerObj from './kbn_dev_proc_runner.devdocs.json'; diff --git a/api_docs/kbn_dev_utils.mdx b/api_docs/kbn_dev_utils.mdx index 73b4d82693e37..015c0300396c5 100644 --- a/api_docs/kbn_dev_utils.mdx +++ b/api_docs/kbn_dev_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-dev-utils title: "@kbn/dev-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/dev-utils plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/dev-utils'] --- import kbnDevUtilsObj from './kbn_dev_utils.devdocs.json'; diff --git a/api_docs/kbn_doc_links.mdx b/api_docs/kbn_doc_links.mdx index 96bc776b10dbd..3e8b812f6d1c2 100644 --- a/api_docs/kbn_doc_links.mdx +++ b/api_docs/kbn_doc_links.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-doc-links title: "@kbn/doc-links" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/doc-links plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/doc-links'] --- import kbnDocLinksObj from './kbn_doc_links.devdocs.json'; diff --git a/api_docs/kbn_docs_utils.mdx b/api_docs/kbn_docs_utils.mdx index 604d1db5413c2..92d52351507d5 100644 --- a/api_docs/kbn_docs_utils.mdx +++ b/api_docs/kbn_docs_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-docs-utils title: "@kbn/docs-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/docs-utils plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/docs-utils'] --- import kbnDocsUtilsObj from './kbn_docs_utils.devdocs.json'; diff --git a/api_docs/kbn_ebt_tools.devdocs.json b/api_docs/kbn_ebt_tools.devdocs.json index f488bb68fdf86..24d17adf34e2e 100644 --- a/api_docs/kbn_ebt_tools.devdocs.json +++ b/api_docs/kbn_ebt_tools.devdocs.json @@ -32,7 +32,13 @@ ], "signature": [ "(analytics: Pick<", - "AnalyticsClient", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.IAnalyticsClient", + "text": "IAnalyticsClient" + }, ", \"registerEventType\">) => void" ], "path": "packages/kbn-ebt-tools/src/performance_metric_events/helpers.ts", @@ -50,7 +56,13 @@ ], "signature": [ "Pick<", - "AnalyticsClient", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.IAnalyticsClient", + "text": "IAnalyticsClient" + }, ", \"registerEventType\">" ], "path": "packages/kbn-ebt-tools/src/performance_metric_events/helpers.ts", @@ -73,7 +85,13 @@ ], "signature": [ "(analytics: Pick<", - "AnalyticsClient", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.IAnalyticsClient", + "text": "IAnalyticsClient" + }, ", \"reportEvent\">, eventData: ", { "pluginId": "@kbn/ebt-tools", @@ -99,7 +117,13 @@ ], "signature": [ "Pick<", - "AnalyticsClient", + { + "pluginId": "@kbn/analytics-client", + "scope": "common", + "docId": "kibKbnAnalyticsClientPluginApi", + "section": "def-common.IAnalyticsClient", + "text": "IAnalyticsClient" + }, ", \"reportEvent\">" ], "path": "packages/kbn-ebt-tools/src/performance_metric_events/helpers.ts", diff --git a/api_docs/kbn_ebt_tools.mdx b/api_docs/kbn_ebt_tools.mdx index a6e75dd8efee1..9dac3a235d214 100644 --- a/api_docs/kbn_ebt_tools.mdx +++ b/api_docs/kbn_ebt_tools.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ebt-tools title: "@kbn/ebt-tools" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ebt-tools plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ebt-tools'] --- import kbnEbtToolsObj from './kbn_ebt_tools.devdocs.json'; diff --git a/api_docs/kbn_es.devdocs.json b/api_docs/kbn_es.devdocs.json new file mode 100644 index 0000000000000..5ff9763c6c396 --- /dev/null +++ b/api_docs/kbn_es.devdocs.json @@ -0,0 +1,96 @@ +{ + "id": "@kbn/es", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [ + { + "parentPluginId": "@kbn/es", + "id": "def-server.run", + "type": "Function", + "tags": [], + "label": "run", + "description": [], + "signature": [ + "(defaults?: {}) => Promise" + ], + "path": "packages/kbn-es/src/cli.js", + "deprecated": false, + "trackAdoption": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "@kbn/es", + "id": "def-server.run.$1", + "type": "Object", + "tags": [], + "label": "defaults", + "description": [], + "signature": [ + "{}" + ], + "path": "packages/kbn-es/src/cli.js", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false + } + ], + "interfaces": [], + "enums": [], + "misc": [ + { + "parentPluginId": "@kbn/es", + "id": "def-server.SYSTEM_INDICES_SUPERUSER", + "type": "string", + "tags": [], + "label": "SYSTEM_INDICES_SUPERUSER", + "description": [], + "path": "packages/kbn-es/src/utils/native_realm.js", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + } + ], + "objects": [ + { + "parentPluginId": "@kbn/es", + "id": "def-server.Cluster", + "type": "Object", + "tags": [], + "label": "Cluster", + "description": [], + "signature": [ + "typeof ", + { + "pluginId": "@kbn/es", + "scope": "server", + "docId": "kibKbnEsPluginApi", + "section": "def-server.Cluster", + "text": "Cluster" + } + ], + "path": "packages/kbn-es/src/cluster.js", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + } + ] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_es.mdx b/api_docs/kbn_es.mdx new file mode 100644 index 0000000000000..6b832f3cad144 --- /dev/null +++ b/api_docs/kbn_es.mdx @@ -0,0 +1,36 @@ +--- +#### +#### This document is auto-generated and is meant to be viewed inside our experimental, new docs system. +#### Reach out in #docs-engineering for more info. +#### +id: kibKbnEsPluginApi +slug: /kibana-dev-docs/api/kbn-es +title: "@kbn/es" +image: https://source.unsplash.com/400x175/?github +description: API docs for the @kbn/es plugin +date: 2022-10-29 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/es'] +--- +import kbnEsObj from './kbn_es.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 | 4 | 0 | + +## Server + +### Objects + + +### Functions + + +### Consts, variables and types + + diff --git a/api_docs/kbn_es_archiver.mdx b/api_docs/kbn_es_archiver.mdx index 6f2fec0bf550e..35069638a467b 100644 --- a/api_docs/kbn_es_archiver.mdx +++ b/api_docs/kbn_es_archiver.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-es-archiver title: "@kbn/es-archiver" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/es-archiver plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/es-archiver'] --- import kbnEsArchiverObj from './kbn_es_archiver.devdocs.json'; diff --git a/api_docs/kbn_es_errors.mdx b/api_docs/kbn_es_errors.mdx index 4333e141f1f19..b129784d2a228 100644 --- a/api_docs/kbn_es_errors.mdx +++ b/api_docs/kbn_es_errors.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-es-errors title: "@kbn/es-errors" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/es-errors plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/es-errors'] --- import kbnEsErrorsObj from './kbn_es_errors.devdocs.json'; diff --git a/api_docs/kbn_es_query.devdocs.json b/api_docs/kbn_es_query.devdocs.json index fafb95160c5b2..0b894c5ecbcba 100644 --- a/api_docs/kbn_es_query.devdocs.json +++ b/api_docs/kbn_es_query.devdocs.json @@ -115,7 +115,13 @@ ], "signature": [ "(filters: ", - "FilterItem", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterItem", + "text": "FilterItem" + }, "[]) => ", "CombinedFilter" ], @@ -133,7 +139,13 @@ "An array of CombinedFilterItem" ], "signature": [ - "FilterItem", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterItem", + "text": "FilterItem" + }, "[]" ], "path": "packages/kbn-es-query/src/filters/build_filters/combined_filter.ts", @@ -627,7 +639,13 @@ "text": "FILTERS" }, ", negate: boolean, disabled: boolean, params: ", - "Serializable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Serializable", + "text": "Serializable" + }, ", alias: string | null, store: ", { "pluginId": "@kbn/es-query", @@ -754,7 +772,13 @@ "label": "params", "description": [], "signature": [ - "Serializable" + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Serializable", + "text": "Serializable" + } ], "path": "packages/kbn-es-query/src/filters/build_filters/build_filters.ts", "deprecated": false, @@ -1657,7 +1681,13 @@ "(query: ", "QueryDslQueryContainer", ", queryStringOptions: string | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ", dateFormatTZ: string | undefined) => ", "QueryDslQueryContainer" ], @@ -1693,7 +1723,13 @@ ], "signature": [ "string | ", - "SerializableRecord" + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + } ], "path": "packages/kbn-es-query/src/es_query/decorate_query.ts", "deprecated": false, @@ -4467,7 +4503,13 @@ "text": "EsQueryFiltersConfig" }, " & { allowLeadingWildcards?: boolean | undefined; queryStringOptions?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }" ], "path": "packages/kbn-es-query/src/es_query/build_es_query.ts", @@ -4519,32 +4561,32 @@ "pluginId": "@kbn/es-query", "scope": "common", "docId": "kibKbnEsQueryPluginApi", - "section": "def-common.ExistsFilter", - "text": "ExistsFilter" + "section": "def-common.RangeFilter", + "text": "RangeFilter" }, " | ", { "pluginId": "@kbn/es-query", "scope": "common", "docId": "kibKbnEsQueryPluginApi", - "section": "def-common.PhraseFilter", - "text": "PhraseFilter" + "section": "def-common.PhrasesFilter", + "text": "PhrasesFilter" }, " | ", { "pluginId": "@kbn/es-query", "scope": "common", "docId": "kibKbnEsQueryPluginApi", - "section": "def-common.PhrasesFilter", - "text": "PhrasesFilter" + "section": "def-common.ExistsFilter", + "text": "ExistsFilter" }, " | ", { "pluginId": "@kbn/es-query", "scope": "common", "docId": "kibKbnEsQueryPluginApi", - "section": "def-common.RangeFilter", - "text": "RangeFilter" + "section": "def-common.PhraseFilter", + "text": "PhraseFilter" }, " | ", { @@ -4591,6 +4633,38 @@ "trackAdoption": false, "initialIsOpen": false }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.FilterItem", + "type": "Type", + "tags": [], + "label": "FilterItem", + "description": [ + "\nEach item in an COMBINED filter may represent either one filter (to be ORed) or an array of filters (ANDed together before\nbecoming part of the OR clause)." + ], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + " | ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterItem", + "text": "FilterItem" + }, + "[]" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/combined_filter.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, { "parentPluginId": "@kbn/es-query", "id": "def-common.FilterMeta", diff --git a/api_docs/kbn_es_query.mdx b/api_docs/kbn_es_query.mdx index 2f2be0f3015ff..602c2a3da10cb 100644 --- a/api_docs/kbn_es_query.mdx +++ b/api_docs/kbn_es_query.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-es-query title: "@kbn/es-query" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/es-query plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/es-query'] --- import kbnEsQueryObj from './kbn_es_query.devdocs.json'; @@ -21,7 +21,7 @@ Contact [Owner missing] for questions regarding this plugin. | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 226 | 1 | 170 | 14 | +| 227 | 1 | 170 | 13 | ## Common diff --git a/api_docs/kbn_es_types.mdx b/api_docs/kbn_es_types.mdx index 03060090f883d..b7a77577a59c5 100644 --- a/api_docs/kbn_es_types.mdx +++ b/api_docs/kbn_es_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-es-types title: "@kbn/es-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/es-types plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/es-types'] --- import kbnEsTypesObj from './kbn_es_types.devdocs.json'; diff --git a/api_docs/kbn_eslint_plugin_imports.devdocs.json b/api_docs/kbn_eslint_plugin_imports.devdocs.json index 14ca36177b2ea..f42861e188de4 100644 --- a/api_docs/kbn_eslint_plugin_imports.devdocs.json +++ b/api_docs/kbn_eslint_plugin_imports.devdocs.json @@ -24,7 +24,13 @@ "(context: ", "Rule", ".RuleContext) => ", - "ImportResolver" + { + "pluginId": "@kbn/import-resolver", + "scope": "server", + "docId": "kibKbnImportResolverPluginApi", + "section": "def-server.ImportResolver", + "text": "ImportResolver" + } ], "path": "packages/kbn-eslint-plugin-imports/src/get_import_resolver.ts", "deprecated": false, diff --git a/api_docs/kbn_eslint_plugin_imports.mdx b/api_docs/kbn_eslint_plugin_imports.mdx index 5b6fd12086b5b..dfc2824c77895 100644 --- a/api_docs/kbn_eslint_plugin_imports.mdx +++ b/api_docs/kbn_eslint_plugin_imports.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-eslint-plugin-imports title: "@kbn/eslint-plugin-imports" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/eslint-plugin-imports plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/eslint-plugin-imports'] --- import kbnEslintPluginImportsObj from './kbn_eslint_plugin_imports.devdocs.json'; diff --git a/api_docs/kbn_field_types.mdx b/api_docs/kbn_field_types.mdx index 5e67189069bba..c1fa40daa51db 100644 --- a/api_docs/kbn_field_types.mdx +++ b/api_docs/kbn_field_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-field-types title: "@kbn/field-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/field-types plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/field-types'] --- import kbnFieldTypesObj from './kbn_field_types.devdocs.json'; diff --git a/api_docs/kbn_find_used_node_modules.mdx b/api_docs/kbn_find_used_node_modules.mdx index 3d596db1402a9..d931263ebeda0 100644 --- a/api_docs/kbn_find_used_node_modules.mdx +++ b/api_docs/kbn_find_used_node_modules.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-find-used-node-modules title: "@kbn/find-used-node-modules" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/find-used-node-modules plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/find-used-node-modules'] --- import kbnFindUsedNodeModulesObj from './kbn_find_used_node_modules.devdocs.json'; diff --git a/api_docs/kbn_ftr_common_functional_services.devdocs.json b/api_docs/kbn_ftr_common_functional_services.devdocs.json index bdd65a77687ad..736101b2bc5f6 100644 --- a/api_docs/kbn_ftr_common_functional_services.devdocs.json +++ b/api_docs/kbn_ftr_common_functional_services.devdocs.json @@ -310,10 +310,129 @@ "tags": [], "label": "EsArchiver", "description": [], + "path": "packages/kbn-ftr-common-functional-services/index.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/ftr-common-functional-services", + "id": "def-server.FtrProviderContext", + "type": "Type", + "tags": [], + "label": "FtrProviderContext", + "description": [], "signature": [ - "EsArchiver" + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.GenericFtrProviderContext", + "text": "GenericFtrProviderContext" + }, + "<{ es: ({ getService }: ", + { + "pluginId": "@kbn/ftr-common-functional-services", + "scope": "server", + "docId": "kibKbnFtrCommonFunctionalServicesPluginApi", + "section": "def-server.FtrProviderContext", + "text": "FtrProviderContext" + }, + ") => ", + "default", + "; kibanaServer: ({ getService }: ", + { + "pluginId": "@kbn/ftr-common-functional-services", + "scope": "server", + "docId": "kibKbnFtrCommonFunctionalServicesPluginApi", + "section": "def-server.FtrProviderContext", + "text": "FtrProviderContext" + }, + ") => ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.KbnClient", + "text": "KbnClient" + }, + "; esArchiver: ({ getService }: ", + { + "pluginId": "@kbn/ftr-common-functional-services", + "scope": "server", + "docId": "kibKbnFtrCommonFunctionalServicesPluginApi", + "section": "def-server.FtrProviderContext", + "text": "FtrProviderContext" + }, + ") => ", + { + "pluginId": "@kbn/es-archiver", + "scope": "server", + "docId": "kibKbnEsArchiverPluginApi", + "section": "def-server.EsArchiver", + "text": "EsArchiver" + }, + "; retry: typeof ", + { + "pluginId": "@kbn/ftr-common-functional-services", + "scope": "server", + "docId": "kibKbnFtrCommonFunctionalServicesPluginApi", + "section": "def-server.RetryService", + "text": "RetryService" + }, + "; }, {}, ProvidedTypeMap<{ es: ({ getService }: ", + { + "pluginId": "@kbn/ftr-common-functional-services", + "scope": "server", + "docId": "kibKbnFtrCommonFunctionalServicesPluginApi", + "section": "def-server.FtrProviderContext", + "text": "FtrProviderContext" + }, + ") => ", + "default", + "; kibanaServer: ({ getService }: ", + { + "pluginId": "@kbn/ftr-common-functional-services", + "scope": "server", + "docId": "kibKbnFtrCommonFunctionalServicesPluginApi", + "section": "def-server.FtrProviderContext", + "text": "FtrProviderContext" + }, + ") => ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.KbnClient", + "text": "KbnClient" + }, + "; esArchiver: ({ getService }: ", + { + "pluginId": "@kbn/ftr-common-functional-services", + "scope": "server", + "docId": "kibKbnFtrCommonFunctionalServicesPluginApi", + "section": "def-server.FtrProviderContext", + "text": "FtrProviderContext" + }, + ") => ", + { + "pluginId": "@kbn/es-archiver", + "scope": "server", + "docId": "kibKbnEsArchiverPluginApi", + "section": "def-server.EsArchiver", + "text": "EsArchiver" + }, + "; retry: typeof ", + { + "pluginId": "@kbn/ftr-common-functional-services", + "scope": "server", + "docId": "kibKbnFtrCommonFunctionalServicesPluginApi", + "section": "def-server.RetryService", + "text": "RetryService" + }, + "; }>, ProvidedTypeMap<{}>>" ], - "path": "packages/kbn-ftr-common-functional-services/index.ts", + "path": "packages/kbn-ftr-common-functional-services/services/ftr_provider_context.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -326,7 +445,13 @@ "label": "KibanaServer", "description": [], "signature": [ - "KbnClient" + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.KbnClient", + "text": "KbnClient" + } ], "path": "packages/kbn-ftr-common-functional-services/index.ts", "deprecated": false, @@ -355,7 +480,13 @@ "description": [], "signature": [ "({ getService }: ", - "FtrProviderContext", + { + "pluginId": "@kbn/ftr-common-functional-services", + "scope": "server", + "docId": "kibKbnFtrCommonFunctionalServicesPluginApi", + "section": "def-server.FtrProviderContext", + "text": "FtrProviderContext" + }, ") => ", "default" ], @@ -372,19 +503,55 @@ "label": "__0", "description": [], "signature": [ - "GenericFtrProviderContext", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.GenericFtrProviderContext", + "text": "GenericFtrProviderContext" + }, "<{ es: ({ getService }: ", - "FtrProviderContext", + { + "pluginId": "@kbn/ftr-common-functional-services", + "scope": "server", + "docId": "kibKbnFtrCommonFunctionalServicesPluginApi", + "section": "def-server.FtrProviderContext", + "text": "FtrProviderContext" + }, ") => ", "default", "; kibanaServer: ({ getService }: ", - "FtrProviderContext", + { + "pluginId": "@kbn/ftr-common-functional-services", + "scope": "server", + "docId": "kibKbnFtrCommonFunctionalServicesPluginApi", + "section": "def-server.FtrProviderContext", + "text": "FtrProviderContext" + }, ") => ", - "KbnClient", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.KbnClient", + "text": "KbnClient" + }, "; esArchiver: ({ getService }: ", - "FtrProviderContext", + { + "pluginId": "@kbn/ftr-common-functional-services", + "scope": "server", + "docId": "kibKbnFtrCommonFunctionalServicesPluginApi", + "section": "def-server.FtrProviderContext", + "text": "FtrProviderContext" + }, ") => ", - "EsArchiver", + { + "pluginId": "@kbn/es-archiver", + "scope": "server", + "docId": "kibKbnEsArchiverPluginApi", + "section": "def-server.EsArchiver", + "text": "EsArchiver" + }, "; retry: typeof ", { "pluginId": "@kbn/ftr-common-functional-services", @@ -393,20 +560,48 @@ "section": "def-server.RetryService", "text": "RetryService" }, - "; }, {}, ", - "ProvidedTypeMap", - "<{ es: ({ getService }: ", - "FtrProviderContext", + "; }, {}, ProvidedTypeMap<{ es: ({ getService }: ", + { + "pluginId": "@kbn/ftr-common-functional-services", + "scope": "server", + "docId": "kibKbnFtrCommonFunctionalServicesPluginApi", + "section": "def-server.FtrProviderContext", + "text": "FtrProviderContext" + }, ") => ", "default", "; kibanaServer: ({ getService }: ", - "FtrProviderContext", + { + "pluginId": "@kbn/ftr-common-functional-services", + "scope": "server", + "docId": "kibKbnFtrCommonFunctionalServicesPluginApi", + "section": "def-server.FtrProviderContext", + "text": "FtrProviderContext" + }, ") => ", - "KbnClient", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.KbnClient", + "text": "KbnClient" + }, "; esArchiver: ({ getService }: ", - "FtrProviderContext", + { + "pluginId": "@kbn/ftr-common-functional-services", + "scope": "server", + "docId": "kibKbnFtrCommonFunctionalServicesPluginApi", + "section": "def-server.FtrProviderContext", + "text": "FtrProviderContext" + }, ") => ", - "EsArchiver", + { + "pluginId": "@kbn/es-archiver", + "scope": "server", + "docId": "kibKbnEsArchiverPluginApi", + "section": "def-server.EsArchiver", + "text": "EsArchiver" + }, "; retry: typeof ", { "pluginId": "@kbn/ftr-common-functional-services", @@ -415,9 +610,7 @@ "section": "def-server.RetryService", "text": "RetryService" }, - "; }>, ", - "ProvidedTypeMap", - "<{}>>" + "; }>, ProvidedTypeMap<{}>>" ], "path": "packages/kbn-ftr-common-functional-services/services/es.ts", "deprecated": false, @@ -434,9 +627,21 @@ "description": [], "signature": [ "({ getService }: ", - "FtrProviderContext", + { + "pluginId": "@kbn/ftr-common-functional-services", + "scope": "server", + "docId": "kibKbnFtrCommonFunctionalServicesPluginApi", + "section": "def-server.FtrProviderContext", + "text": "FtrProviderContext" + }, ") => ", - "KbnClient" + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.KbnClient", + "text": "KbnClient" + } ], "path": "packages/kbn-ftr-common-functional-services/services/all.ts", "deprecated": false, @@ -451,19 +656,55 @@ "label": "__0", "description": [], "signature": [ - "GenericFtrProviderContext", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.GenericFtrProviderContext", + "text": "GenericFtrProviderContext" + }, "<{ es: ({ getService }: ", - "FtrProviderContext", + { + "pluginId": "@kbn/ftr-common-functional-services", + "scope": "server", + "docId": "kibKbnFtrCommonFunctionalServicesPluginApi", + "section": "def-server.FtrProviderContext", + "text": "FtrProviderContext" + }, ") => ", "default", "; kibanaServer: ({ getService }: ", - "FtrProviderContext", + { + "pluginId": "@kbn/ftr-common-functional-services", + "scope": "server", + "docId": "kibKbnFtrCommonFunctionalServicesPluginApi", + "section": "def-server.FtrProviderContext", + "text": "FtrProviderContext" + }, ") => ", - "KbnClient", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.KbnClient", + "text": "KbnClient" + }, "; esArchiver: ({ getService }: ", - "FtrProviderContext", + { + "pluginId": "@kbn/ftr-common-functional-services", + "scope": "server", + "docId": "kibKbnFtrCommonFunctionalServicesPluginApi", + "section": "def-server.FtrProviderContext", + "text": "FtrProviderContext" + }, ") => ", - "EsArchiver", + { + "pluginId": "@kbn/es-archiver", + "scope": "server", + "docId": "kibKbnEsArchiverPluginApi", + "section": "def-server.EsArchiver", + "text": "EsArchiver" + }, "; retry: typeof ", { "pluginId": "@kbn/ftr-common-functional-services", @@ -472,20 +713,48 @@ "section": "def-server.RetryService", "text": "RetryService" }, - "; }, {}, ", - "ProvidedTypeMap", - "<{ es: ({ getService }: ", - "FtrProviderContext", + "; }, {}, ProvidedTypeMap<{ es: ({ getService }: ", + { + "pluginId": "@kbn/ftr-common-functional-services", + "scope": "server", + "docId": "kibKbnFtrCommonFunctionalServicesPluginApi", + "section": "def-server.FtrProviderContext", + "text": "FtrProviderContext" + }, ") => ", "default", "; kibanaServer: ({ getService }: ", - "FtrProviderContext", + { + "pluginId": "@kbn/ftr-common-functional-services", + "scope": "server", + "docId": "kibKbnFtrCommonFunctionalServicesPluginApi", + "section": "def-server.FtrProviderContext", + "text": "FtrProviderContext" + }, ") => ", - "KbnClient", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.KbnClient", + "text": "KbnClient" + }, "; esArchiver: ({ getService }: ", - "FtrProviderContext", + { + "pluginId": "@kbn/ftr-common-functional-services", + "scope": "server", + "docId": "kibKbnFtrCommonFunctionalServicesPluginApi", + "section": "def-server.FtrProviderContext", + "text": "FtrProviderContext" + }, ") => ", - "EsArchiver", + { + "pluginId": "@kbn/es-archiver", + "scope": "server", + "docId": "kibKbnEsArchiverPluginApi", + "section": "def-server.EsArchiver", + "text": "EsArchiver" + }, "; retry: typeof ", { "pluginId": "@kbn/ftr-common-functional-services", @@ -494,9 +763,7 @@ "section": "def-server.RetryService", "text": "RetryService" }, - "; }>, ", - "ProvidedTypeMap", - "<{}>>" + "; }>, ProvidedTypeMap<{}>>" ], "path": "packages/kbn-ftr-common-functional-services/services/kibana_server/kibana_server.ts", "deprecated": false, @@ -513,9 +780,21 @@ "description": [], "signature": [ "({ getService }: ", - "FtrProviderContext", + { + "pluginId": "@kbn/ftr-common-functional-services", + "scope": "server", + "docId": "kibKbnFtrCommonFunctionalServicesPluginApi", + "section": "def-server.FtrProviderContext", + "text": "FtrProviderContext" + }, ") => ", - "EsArchiver" + { + "pluginId": "@kbn/es-archiver", + "scope": "server", + "docId": "kibKbnEsArchiverPluginApi", + "section": "def-server.EsArchiver", + "text": "EsArchiver" + } ], "path": "packages/kbn-ftr-common-functional-services/services/all.ts", "deprecated": false, @@ -530,19 +809,55 @@ "label": "__0", "description": [], "signature": [ - "GenericFtrProviderContext", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.GenericFtrProviderContext", + "text": "GenericFtrProviderContext" + }, "<{ es: ({ getService }: ", - "FtrProviderContext", + { + "pluginId": "@kbn/ftr-common-functional-services", + "scope": "server", + "docId": "kibKbnFtrCommonFunctionalServicesPluginApi", + "section": "def-server.FtrProviderContext", + "text": "FtrProviderContext" + }, ") => ", "default", "; kibanaServer: ({ getService }: ", - "FtrProviderContext", + { + "pluginId": "@kbn/ftr-common-functional-services", + "scope": "server", + "docId": "kibKbnFtrCommonFunctionalServicesPluginApi", + "section": "def-server.FtrProviderContext", + "text": "FtrProviderContext" + }, ") => ", - "KbnClient", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.KbnClient", + "text": "KbnClient" + }, "; esArchiver: ({ getService }: ", - "FtrProviderContext", + { + "pluginId": "@kbn/ftr-common-functional-services", + "scope": "server", + "docId": "kibKbnFtrCommonFunctionalServicesPluginApi", + "section": "def-server.FtrProviderContext", + "text": "FtrProviderContext" + }, ") => ", - "EsArchiver", + { + "pluginId": "@kbn/es-archiver", + "scope": "server", + "docId": "kibKbnEsArchiverPluginApi", + "section": "def-server.EsArchiver", + "text": "EsArchiver" + }, "; retry: typeof ", { "pluginId": "@kbn/ftr-common-functional-services", @@ -551,20 +866,48 @@ "section": "def-server.RetryService", "text": "RetryService" }, - "; }, {}, ", - "ProvidedTypeMap", - "<{ es: ({ getService }: ", - "FtrProviderContext", + "; }, {}, ProvidedTypeMap<{ es: ({ getService }: ", + { + "pluginId": "@kbn/ftr-common-functional-services", + "scope": "server", + "docId": "kibKbnFtrCommonFunctionalServicesPluginApi", + "section": "def-server.FtrProviderContext", + "text": "FtrProviderContext" + }, ") => ", "default", "; kibanaServer: ({ getService }: ", - "FtrProviderContext", + { + "pluginId": "@kbn/ftr-common-functional-services", + "scope": "server", + "docId": "kibKbnFtrCommonFunctionalServicesPluginApi", + "section": "def-server.FtrProviderContext", + "text": "FtrProviderContext" + }, ") => ", - "KbnClient", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.KbnClient", + "text": "KbnClient" + }, "; esArchiver: ({ getService }: ", - "FtrProviderContext", + { + "pluginId": "@kbn/ftr-common-functional-services", + "scope": "server", + "docId": "kibKbnFtrCommonFunctionalServicesPluginApi", + "section": "def-server.FtrProviderContext", + "text": "FtrProviderContext" + }, ") => ", - "EsArchiver", + { + "pluginId": "@kbn/es-archiver", + "scope": "server", + "docId": "kibKbnEsArchiverPluginApi", + "section": "def-server.EsArchiver", + "text": "EsArchiver" + }, "; retry: typeof ", { "pluginId": "@kbn/ftr-common-functional-services", @@ -573,9 +916,7 @@ "section": "def-server.RetryService", "text": "RetryService" }, - "; }>, ", - "ProvidedTypeMap", - "<{}>>" + "; }>, ProvidedTypeMap<{}>>" ], "path": "packages/kbn-ftr-common-functional-services/services/es_archiver.ts", "deprecated": false, diff --git a/api_docs/kbn_ftr_common_functional_services.mdx b/api_docs/kbn_ftr_common_functional_services.mdx index 19f0e32829d23..ab1f62baef810 100644 --- a/api_docs/kbn_ftr_common_functional_services.mdx +++ b/api_docs/kbn_ftr_common_functional_services.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ftr-common-functional-services title: "@kbn/ftr-common-functional-services" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ftr-common-functional-services plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ftr-common-functional-services'] --- import kbnFtrCommonFunctionalServicesObj from './kbn_ftr_common_functional_services.devdocs.json'; @@ -21,7 +21,7 @@ Contact [Owner missing] for questions regarding this plugin. | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 28 | 0 | 28 | 2 | +| 29 | 0 | 29 | 1 | ## Server diff --git a/api_docs/kbn_generate.mdx b/api_docs/kbn_generate.mdx index da21f36aa4cd1..d75da0f360379 100644 --- a/api_docs/kbn_generate.mdx +++ b/api_docs/kbn_generate.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-generate title: "@kbn/generate" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/generate plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/generate'] --- import kbnGenerateObj from './kbn_generate.devdocs.json'; diff --git a/api_docs/kbn_get_repo_files.mdx b/api_docs/kbn_get_repo_files.mdx index 9729bb60c2973..f93e19ddb1cd4 100644 --- a/api_docs/kbn_get_repo_files.mdx +++ b/api_docs/kbn_get_repo_files.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-get-repo-files title: "@kbn/get-repo-files" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/get-repo-files plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/get-repo-files'] --- import kbnGetRepoFilesObj from './kbn_get_repo_files.devdocs.json'; diff --git a/api_docs/kbn_guided_onboarding.devdocs.json b/api_docs/kbn_guided_onboarding.devdocs.json index 14d9b55715a6b..408f531d6798c 100644 --- a/api_docs/kbn_guided_onboarding.devdocs.json +++ b/api_docs/kbn_guided_onboarding.devdocs.json @@ -63,7 +63,13 @@ "description": [], "signature": [ "({ navigateToApp, isDarkTheme, addBasePath, }: { navigateToApp: (appId: string, options?: ", - "NavigateToAppOptions", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.NavigateToAppOptions", + "text": "NavigateToAppOptions" + }, " | undefined) => Promise; isDarkTheme: boolean; addBasePath: (url: string) => string; }) => JSX.Element" ], "path": "packages/kbn-guided-onboarding/src/components/landing_page/observability_link_card.tsx", @@ -90,7 +96,13 @@ "description": [], "signature": [ "(appId: string, options?: ", - "NavigateToAppOptions", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.NavigateToAppOptions", + "text": "NavigateToAppOptions" + }, " | undefined) => Promise" ], "path": "packages/kbn-guided-onboarding/src/components/landing_page/observability_link_card.tsx", @@ -120,7 +132,13 @@ "label": "options", "description": [], "signature": [ - "NavigateToAppOptions", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.NavigateToAppOptions", + "text": "NavigateToAppOptions" + }, " | undefined" ], "path": "packages/kbn-guided-onboarding/src/components/landing_page/observability_link_card.tsx", @@ -243,7 +261,13 @@ "label": "steps", "description": [], "signature": [ - "GuideStep", + { + "pluginId": "@kbn/guided-onboarding", + "scope": "common", + "docId": "kibKbnGuidedOnboardingPluginApi", + "section": "def-common.GuideStep", + "text": "GuideStep" + }, "[]" ], "path": "packages/kbn-guided-onboarding/src/types.ts", @@ -252,6 +276,48 @@ } ], "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/guided-onboarding", + "id": "def-common.GuideStep", + "type": "Interface", + "tags": [], + "label": "GuideStep", + "description": [], + "path": "packages/kbn-guided-onboarding/src/types.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/guided-onboarding", + "id": "def-common.GuideStep.id", + "type": "CompoundType", + "tags": [], + "label": "id", + "description": [], + "signature": [ + "\"add_data\" | \"view_dashboard\" | \"tour_observability\" | \"rules\" | \"alertsCases\" | \"browse_docs\" | \"search_experience\" | \"step1\" | \"step2\" | \"step3\"" + ], + "path": "packages/kbn-guided-onboarding/src/types.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/guided-onboarding", + "id": "def-common.GuideStep.status", + "type": "CompoundType", + "tags": [], + "label": "status", + "description": [], + "signature": [ + "\"complete\" | \"active\" | \"inactive\" | \"in_progress\" | \"ready_to_complete\"" + ], + "path": "packages/kbn-guided-onboarding/src/types.ts", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false } ], "enums": [], @@ -271,6 +337,38 @@ "trackAdoption": false, "initialIsOpen": false }, + { + "parentPluginId": "@kbn/guided-onboarding", + "id": "def-common.GuideStepIds", + "type": "Type", + "tags": [], + "label": "GuideStepIds", + "description": [], + "signature": [ + "\"add_data\" | \"view_dashboard\" | \"tour_observability\" | \"rules\" | \"alertsCases\" | \"browse_docs\" | \"search_experience\" | \"step1\" | \"step2\" | \"step3\"" + ], + "path": "packages/kbn-guided-onboarding/src/types.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/guided-onboarding", + "id": "def-common.StepStatus", + "type": "Type", + "tags": [], + "label": "StepStatus", + "description": [ + "\nAllowed states for each step in a guide:\n inactive: Step has not started\n active: Step is ready to start (i.e., the guide has been started)\n in_progress: Step has been started and is in progress\n ready_to_complete: Step can be manually completed\n complete: Step has been completed" + ], + "signature": [ + "\"complete\" | \"active\" | \"inactive\" | \"in_progress\" | \"ready_to_complete\"" + ], + "path": "packages/kbn-guided-onboarding/src/types.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, { "parentPluginId": "@kbn/guided-onboarding", "id": "def-common.UseCase", diff --git a/api_docs/kbn_guided_onboarding.mdx b/api_docs/kbn_guided_onboarding.mdx index bb79e3b61a93c..01c2575ed0ca5 100644 --- a/api_docs/kbn_guided_onboarding.mdx +++ b/api_docs/kbn_guided_onboarding.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-guided-onboarding title: "@kbn/guided-onboarding" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/guided-onboarding plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/guided-onboarding'] --- import kbnGuidedOnboardingObj from './kbn_guided_onboarding.devdocs.json'; @@ -21,7 +21,7 @@ Contact [Owner missing] for questions regarding this plugin. | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 17 | 0 | 17 | 2 | +| 22 | 0 | 21 | 1 | ## Common diff --git a/api_docs/kbn_handlebars.mdx b/api_docs/kbn_handlebars.mdx index 84c0bcf306d21..522ebca810ccd 100644 --- a/api_docs/kbn_handlebars.mdx +++ b/api_docs/kbn_handlebars.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-handlebars title: "@kbn/handlebars" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/handlebars plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/handlebars'] --- import kbnHandlebarsObj from './kbn_handlebars.devdocs.json'; diff --git a/api_docs/kbn_hapi_mocks.devdocs.json b/api_docs/kbn_hapi_mocks.devdocs.json index 37376eff5726b..6f8dc695e075a 100644 --- a/api_docs/kbn_hapi_mocks.devdocs.json +++ b/api_docs/kbn_hapi_mocks.devdocs.json @@ -35,7 +35,13 @@ "description": [], "signature": [ "(customization?: ", - "DeepPartialObject", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.DeepPartialObject", + "text": "DeepPartialObject" + }, "<", "Request", ">) => ", @@ -55,97 +61,241 @@ "description": [], "signature": [ "{ app?: ", - "DeepPartialObject", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.DeepPartialObject", + "text": "DeepPartialObject" + }, "<", "RequestApplicationState", "> | undefined; readonly auth?: ", - "DeepPartialObject", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.DeepPartialObject", + "text": "DeepPartialObject" + }, "<", "RequestAuth", "> | undefined; events?: ", - "DeepPartialObject", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.DeepPartialObject", + "text": "DeepPartialObject" + }, "<", "RequestEvents", "> | undefined; readonly headers?: ", - "DeepPartialObject", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.DeepPartialObject", + "text": "DeepPartialObject" + }, "<", "Util", ".Dictionary> | undefined; readonly info?: ", - "DeepPartialObject", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.DeepPartialObject", + "text": "DeepPartialObject" + }, "<", "RequestInfo", "> | undefined; readonly logs?: ", - "DeepPartialArray", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.DeepPartialArray", + "text": "DeepPartialArray" + }, "<", "RequestLog", "> | undefined; readonly method?: ", "Util", ".HTTP_METHODS_PARTIAL_LOWERCASE | undefined; readonly mime?: string | undefined; readonly orig?: ", - "DeepPartialObject", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.DeepPartialObject", + "text": "DeepPartialObject" + }, "<", "RequestOrig", "> | undefined; readonly params?: ", - "DeepPartialObject", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.DeepPartialObject", + "text": "DeepPartialObject" + }, "<", "Util", ".Dictionary> | undefined; readonly paramsArray?: ", - "DeepPartialArray", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.DeepPartialArray", + "text": "DeepPartialArray" + }, " | undefined; readonly path?: string | undefined; readonly payload?: string | object | ", - "DeepPartialObject", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.DeepPartialObject", + "text": "DeepPartialObject" + }, "<", "Readable", "> | ", - "DeepPartialObject", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.DeepPartialObject", + "text": "DeepPartialObject" + }, " | undefined; plugins?: ", - "DeepPartialObject", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.DeepPartialObject", + "text": "DeepPartialObject" + }, "<", "PluginsStates", "> | undefined; readonly pre?: ", - "DeepPartialObject", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.DeepPartialObject", + "text": "DeepPartialObject" + }, "<", "Util", ".Dictionary> | undefined; response?: ", - "DeepPartialObject", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.DeepPartialObject", + "text": "DeepPartialObject" + }, "<", "Boom", "> | ", - "DeepPartialObject", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.DeepPartialObject", + "text": "DeepPartialObject" + }, "<", "ResponseObject", "> | undefined; readonly preResponses?: ", - "DeepPartialObject", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.DeepPartialObject", + "text": "DeepPartialObject" + }, "<", "Util", ".Dictionary> | undefined; readonly query?: ", - "DeepPartialObject", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.DeepPartialObject", + "text": "DeepPartialObject" + }, "<", "RequestQuery", "> | undefined; readonly raw?: ", - "DeepPartialObject", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.DeepPartialObject", + "text": "DeepPartialObject" + }, "<{ req: ", "IncomingMessage", "; res: ", "ServerResponse", "; }> | undefined; readonly route?: ", - "DeepPartialObject", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.DeepPartialObject", + "text": "DeepPartialObject" + }, "<", "RequestRoute", "> | undefined; server?: ", - "DeepPartialObject", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.DeepPartialObject", + "text": "DeepPartialObject" + }, "<", "Server", "> | undefined; readonly state?: ", - "DeepPartialObject", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.DeepPartialObject", + "text": "DeepPartialObject" + }, "<", "Util", ".Dictionary> | undefined; readonly url?: ", - "DeepPartialObject", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.DeepPartialObject", + "text": "DeepPartialObject" + }, "<", "URL", "> | undefined; active?: ", - "DeepPartialObject", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.DeepPartialObject", + "text": "DeepPartialObject" + }, "<() => boolean> | undefined; generateResponse?: ", - "DeepPartialObject", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.DeepPartialObject", + "text": "DeepPartialObject" + }, "<(source: string | object | null, options?: { variety?: string | undefined; prepare?: ((response: ", "ResponseObject", ") => Promise<", @@ -159,35 +309,83 @@ ") => void) | undefined; } | undefined) => ", "ResponseObject", "> | undefined; log?: ", - "DeepPartialObject", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.DeepPartialObject", + "text": "DeepPartialObject" + }, "<(tags: string | string[], data?: string | object | (() => string | object) | undefined) => void> | undefined; setMethod?: ", - "DeepPartialObject", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.DeepPartialObject", + "text": "DeepPartialObject" + }, "<(method: ", "Util", ".HTTP_METHODS_PARTIAL) => void> | undefined; setUrl?: ", - "DeepPartialObject", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.DeepPartialObject", + "text": "DeepPartialObject" + }, "<(url: string | ", "URL", ", stripTrailingSlash?: boolean | undefined) => void> | undefined; cookieAuth?: ", - "DeepPartialObject", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.DeepPartialObject", + "text": "DeepPartialObject" + }, "<{ set(session: object): void; set(key: string, value: string | object): void; clear(key?: string | undefined): void; ttl(milliseconds: number): void; }> | undefined; registerEvent?: ", - "DeepPartialObject", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.DeepPartialObject", + "text": "DeepPartialObject" + }, "<(events: ", "Event", " | ", "Event", "[]) => void> | undefined; registerPodium?: ", - "DeepPartialObject", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.DeepPartialObject", + "text": "DeepPartialObject" + }, "<(podiums: ", "node_modules/@hapi/podium/lib/index", " | ", "node_modules/@hapi/podium/lib/index", "[]) => void> | undefined; emit?: ", - "DeepPartialObject", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.DeepPartialObject", + "text": "DeepPartialObject" + }, "<(criteria: string | ", "EmitCriteria", ", data?: any) => Promise> | undefined; on?: ", - "DeepPartialObject", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.DeepPartialObject", + "text": "DeepPartialObject" + }, "<{ (criteria: string | ", @@ -205,7 +403,13 @@ ", context?: Tcontext | undefined): ", "Request", "; }> | undefined; addListener?: ", - "DeepPartialObject", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.DeepPartialObject", + "text": "DeepPartialObject" + }, "<{ (criteria: string | ", @@ -223,7 +427,13 @@ ", context?: Tcontext | undefined): ", "Request", "; }> | undefined; once?: ", - "DeepPartialObject", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.DeepPartialObject", + "text": "DeepPartialObject" + }, "<{ (criteria: string | Omit<", @@ -245,17 +455,35 @@ ", \"count\">): Promise; (criteria: string | Omit<", "CriteriaObject", ", \"count\">): Promise; }> | undefined; removeListener?: ", - "DeepPartialObject", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.DeepPartialObject", + "text": "DeepPartialObject" + }, "<(name: string, listener: ", "Listener", ") => ", "Request", "> | undefined; removeAllListeners?: ", - "DeepPartialObject", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.DeepPartialObject", + "text": "DeepPartialObject" + }, "<(name: string) => ", "Request", "> | undefined; hasListeners?: ", - "DeepPartialObject", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.DeepPartialObject", + "text": "DeepPartialObject" + }, "<(name: string) => boolean> | undefined; }" ], "path": "packages/kbn-hapi-mocks/src/request.ts", diff --git a/api_docs/kbn_hapi_mocks.mdx b/api_docs/kbn_hapi_mocks.mdx index 8e713f67134f8..c0d07b895cdd7 100644 --- a/api_docs/kbn_hapi_mocks.mdx +++ b/api_docs/kbn_hapi_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-hapi-mocks title: "@kbn/hapi-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/hapi-mocks plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/hapi-mocks'] --- import kbnHapiMocksObj from './kbn_hapi_mocks.devdocs.json'; diff --git a/api_docs/kbn_home_sample_data_card.mdx b/api_docs/kbn_home_sample_data_card.mdx index 6cd1e795d2f80..d813a6a61534d 100644 --- a/api_docs/kbn_home_sample_data_card.mdx +++ b/api_docs/kbn_home_sample_data_card.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-home-sample-data-card title: "@kbn/home-sample-data-card" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/home-sample-data-card plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/home-sample-data-card'] --- import kbnHomeSampleDataCardObj from './kbn_home_sample_data_card.devdocs.json'; diff --git a/api_docs/kbn_home_sample_data_tab.mdx b/api_docs/kbn_home_sample_data_tab.mdx index 3a901c82a8566..3e4aaee15f2ab 100644 --- a/api_docs/kbn_home_sample_data_tab.mdx +++ b/api_docs/kbn_home_sample_data_tab.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-home-sample-data-tab title: "@kbn/home-sample-data-tab" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/home-sample-data-tab plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/home-sample-data-tab'] --- import kbnHomeSampleDataTabObj from './kbn_home_sample_data_tab.devdocs.json'; diff --git a/api_docs/kbn_i18n.mdx b/api_docs/kbn_i18n.mdx index 896651ac7c2aa..fed1416764cc2 100644 --- a/api_docs/kbn_i18n.mdx +++ b/api_docs/kbn_i18n.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-i18n title: "@kbn/i18n" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/i18n plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/i18n'] --- import kbnI18nObj from './kbn_i18n.devdocs.json'; diff --git a/api_docs/kbn_i18n_react.devdocs.json b/api_docs/kbn_i18n_react.devdocs.json new file mode 100644 index 0000000000000..a10b9c7098be2 --- /dev/null +++ b/api_docs/kbn_i18n_react.devdocs.json @@ -0,0 +1,953 @@ +{ + "id": "@kbn/i18n-react", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [ + { + "parentPluginId": "@kbn/i18n-react", + "id": "def-common.FormattedDate", + "type": "Class", + "tags": [], + "label": "FormattedDate", + "description": [], + "signature": [ + "ReactIntl.FormattedDate extends React.Component" + ], + "path": "node_modules/@types/react-intl/index.d.ts", + "deprecated": false, + "trackAdoption": false, + "children": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/i18n-react", + "id": "def-common.FormattedHTMLMessage", + "type": "Class", + "tags": [], + "label": "FormattedHTMLMessage", + "description": [], + "signature": [ + "ReactIntl.FormattedHTMLMessage extends React.Component" + ], + "path": "node_modules/@types/react-intl/index.d.ts", + "deprecated": false, + "trackAdoption": false, + "children": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/i18n-react", + "id": "def-common.FormattedMessage", + "type": "Class", + "tags": [], + "label": "FormattedMessage", + "description": [], + "signature": [ + "ReactIntl.FormattedMessage extends React.Component" + ], + "path": "node_modules/@types/react-intl/index.d.ts", + "deprecated": false, + "trackAdoption": false, + "children": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/i18n-react", + "id": "def-common.FormattedNumber", + "type": "Class", + "tags": [], + "label": "FormattedNumber", + "description": [], + "signature": [ + "ReactIntl.FormattedNumber extends React.Component" + ], + "path": "node_modules/@types/react-intl/index.d.ts", + "deprecated": false, + "trackAdoption": false, + "children": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/i18n-react", + "id": "def-common.FormattedPlural", + "type": "Class", + "tags": [], + "label": "FormattedPlural", + "description": [], + "signature": [ + "ReactIntl.FormattedPlural extends React.Component" + ], + "path": "node_modules/@types/react-intl/index.d.ts", + "deprecated": false, + "trackAdoption": false, + "children": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/i18n-react", + "id": "def-common.FormattedRelative", + "type": "Class", + "tags": [], + "label": "FormattedRelative", + "description": [], + "signature": [ + "ReactIntl.FormattedRelative extends React.Component" + ], + "path": "node_modules/@types/react-intl/index.d.ts", + "deprecated": false, + "trackAdoption": false, + "children": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/i18n-react", + "id": "def-common.FormattedTime", + "type": "Class", + "tags": [], + "label": "FormattedTime", + "description": [], + "signature": [ + "ReactIntl.FormattedTime extends React.Component" + ], + "path": "node_modules/@types/react-intl/index.d.ts", + "deprecated": false, + "trackAdoption": false, + "children": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/i18n-react", + "id": "def-common.IntlProvider", + "type": "Class", + "tags": [], + "label": "IntlProvider", + "description": [], + "signature": [ + "ReactIntl.IntlProvider extends React.Component" + ], + "path": "node_modules/@types/react-intl/index.d.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/i18n-react", + "id": "def-common.IntlProvider.getChildContext", + "type": "Function", + "tags": [], + "label": "getChildContext", + "description": [], + "signature": [ + "() => { intl: ReactIntl.InjectedIntl; }" + ], + "path": "node_modules/@types/react-intl/index.d.ts", + "deprecated": false, + "trackAdoption": false, + "children": [], + "returnComment": [] + } + ], + "initialIsOpen": false + } + ], + "functions": [ + { + "parentPluginId": "@kbn/i18n-react", + "id": "def-common.I18nProvider", + "type": "Function", + "tags": [], + "label": "I18nProvider", + "description": [ + "\nThe library uses the provider pattern to scope an i18n context to a tree\nof components. This component is used to setup the i18n context for a tree.\nIntlProvider should wrap react app's root component (inside each react render method)." + ], + "signature": [ + "({ children }: { children?: React.ReactNode; }) => JSX.Element" + ], + "path": "packages/kbn-i18n-react/src/provider.tsx", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/i18n-react", + "id": "def-common.I18nProvider.$1", + "type": "Object", + "tags": [], + "label": "{ children }", + "description": [], + "signature": [ + "{ children?: React.ReactNode; }" + ], + "path": "packages/kbn-i18n-react/src/provider.tsx", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/i18n-react", + "id": "def-common.injectIntl", + "type": "Function", + "tags": [], + "label": "injectIntl", + "description": [], + "signature": [ + "(component: React.ComponentType

, options: ReactIntl.InjectIntlConfig | undefined) => React.ComponentClass>, any> & { WrappedComponent: React.ComponentType

; }" + ], + "path": "node_modules/@types/react-intl/index.d.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/i18n-react", + "id": "def-common.injectIntl.$1", + "type": "CompoundType", + "tags": [], + "label": "component", + "description": [], + "signature": [ + "React.ComponentType

" + ], + "path": "node_modules/@types/react-intl/index.d.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/i18n-react", + "id": "def-common.injectIntl.$2", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "ReactIntl.InjectIntlConfig | undefined" + ], + "path": "node_modules/@types/react-intl/index.d.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": false + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/i18n-react", + "id": "def-common.intlShape", + "type": "Function", + "tags": [], + "label": "intlShape", + "description": [], + "signature": [ + "ReactIntl.IntlShape" + ], + "path": "node_modules/@types/react-intl/index.d.ts", + "deprecated": false, + "trackAdoption": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "@kbn/i18n-react", + "id": "def-common.intlShape.$1", + "type": "Uncategorized", + "tags": [], + "label": "props", + "description": [], + "signature": [ + "object" + ], + "path": "node_modules/@types/react/node_modules/@types/prop-types/index.d.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/i18n-react", + "id": "def-common.intlShape.$2", + "type": "string", + "tags": [], + "label": "propName", + "description": [], + "path": "node_modules/@types/react/node_modules/@types/prop-types/index.d.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/i18n-react", + "id": "def-common.intlShape.$3", + "type": "string", + "tags": [], + "label": "componentName", + "description": [], + "path": "node_modules/@types/react/node_modules/@types/prop-types/index.d.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/i18n-react", + "id": "def-common.intlShape.$4", + "type": "string", + "tags": [], + "label": "location", + "description": [], + "path": "node_modules/@types/react/node_modules/@types/prop-types/index.d.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/i18n-react", + "id": "def-common.intlShape.$5", + "type": "string", + "tags": [], + "label": "propFullName", + "description": [], + "path": "node_modules/@types/react/node_modules/@types/prop-types/index.d.ts", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false + } + ], + "interfaces": [ + { + "parentPluginId": "@kbn/i18n-react", + "id": "def-common.InjectedIntl", + "type": "Interface", + "tags": [], + "label": "InjectedIntl", + "description": [], + "signature": [ + "ReactIntl.InjectedIntl" + ], + "path": "node_modules/@types/react-intl/index.d.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/i18n-react", + "id": "def-common.InjectedIntl.formatDate", + "type": "Function", + "tags": [], + "label": "formatDate", + "description": [], + "signature": [ + "(value: ReactIntl.DateSource, options?: ReactIntl.IntlComponent.DateTimeFormatProps | undefined) => string" + ], + "path": "node_modules/@types/react-intl/index.d.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/i18n-react", + "id": "def-common.InjectedIntl.formatDate.$1", + "type": "CompoundType", + "tags": [], + "label": "value", + "description": [], + "signature": [ + "ReactIntl.DateSource" + ], + "path": "node_modules/@types/react-intl/index.d.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/i18n-react", + "id": "def-common.InjectedIntl.formatDate.$2", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "ReactIntl.IntlComponent.DateTimeFormatProps | undefined" + ], + "path": "node_modules/@types/react-intl/index.d.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/i18n-react", + "id": "def-common.InjectedIntl.formatTime", + "type": "Function", + "tags": [], + "label": "formatTime", + "description": [], + "signature": [ + "(value: ReactIntl.DateSource, options?: ReactIntl.IntlComponent.DateTimeFormatProps | undefined) => string" + ], + "path": "node_modules/@types/react-intl/index.d.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/i18n-react", + "id": "def-common.InjectedIntl.formatTime.$1", + "type": "CompoundType", + "tags": [], + "label": "value", + "description": [], + "signature": [ + "ReactIntl.DateSource" + ], + "path": "node_modules/@types/react-intl/index.d.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/i18n-react", + "id": "def-common.InjectedIntl.formatTime.$2", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "ReactIntl.IntlComponent.DateTimeFormatProps | undefined" + ], + "path": "node_modules/@types/react-intl/index.d.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/i18n-react", + "id": "def-common.InjectedIntl.formatRelative", + "type": "Function", + "tags": [], + "label": "formatRelative", + "description": [], + "signature": [ + "(value: ReactIntl.DateSource, options?: (ReactIntl.FormattedRelative.PropsBase & { now?: any; }) | undefined) => string" + ], + "path": "node_modules/@types/react-intl/index.d.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/i18n-react", + "id": "def-common.InjectedIntl.formatRelative.$1", + "type": "CompoundType", + "tags": [], + "label": "value", + "description": [], + "signature": [ + "ReactIntl.DateSource" + ], + "path": "node_modules/@types/react-intl/index.d.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/i18n-react", + "id": "def-common.InjectedIntl.formatRelative.$2", + "type": "CompoundType", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "(ReactIntl.FormattedRelative.PropsBase & { now?: any; }) | undefined" + ], + "path": "node_modules/@types/react-intl/index.d.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/i18n-react", + "id": "def-common.InjectedIntl.formatNumber", + "type": "Function", + "tags": [], + "label": "formatNumber", + "description": [], + "signature": [ + "(value: number, options?: ReactIntl.FormattedNumber.PropsBase | undefined) => string" + ], + "path": "node_modules/@types/react-intl/index.d.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/i18n-react", + "id": "def-common.InjectedIntl.formatNumber.$1", + "type": "number", + "tags": [], + "label": "value", + "description": [], + "signature": [ + "number" + ], + "path": "node_modules/@types/react-intl/index.d.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/i18n-react", + "id": "def-common.InjectedIntl.formatNumber.$2", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "ReactIntl.FormattedNumber.PropsBase | undefined" + ], + "path": "node_modules/@types/react-intl/index.d.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/i18n-react", + "id": "def-common.InjectedIntl.formatPlural", + "type": "Function", + "tags": [], + "label": "formatPlural", + "description": [], + "signature": [ + "(value: number, options?: ReactIntl.FormattedPlural.Base | undefined) => keyof ReactIntl.FormattedPlural.PropsBase" + ], + "path": "node_modules/@types/react-intl/index.d.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/i18n-react", + "id": "def-common.InjectedIntl.formatPlural.$1", + "type": "number", + "tags": [], + "label": "value", + "description": [], + "signature": [ + "number" + ], + "path": "node_modules/@types/react-intl/index.d.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/i18n-react", + "id": "def-common.InjectedIntl.formatPlural.$2", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "ReactIntl.FormattedPlural.Base | undefined" + ], + "path": "node_modules/@types/react-intl/index.d.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/i18n-react", + "id": "def-common.InjectedIntl.formatMessage", + "type": "Function", + "tags": [], + "label": "formatMessage", + "description": [], + "signature": [ + "(messageDescriptor: ReactIntl.FormattedMessage.MessageDescriptor, values?: { [key: string]: ReactIntl.MessageValue; } | undefined) => string" + ], + "path": "node_modules/@types/react-intl/index.d.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/i18n-react", + "id": "def-common.InjectedIntl.formatMessage.$1", + "type": "Object", + "tags": [], + "label": "messageDescriptor", + "description": [], + "signature": [ + "ReactIntl.FormattedMessage.MessageDescriptor" + ], + "path": "node_modules/@types/react-intl/index.d.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/i18n-react", + "id": "def-common.InjectedIntl.formatMessage.$2", + "type": "Object", + "tags": [], + "label": "values", + "description": [], + "path": "node_modules/@types/react-intl/index.d.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/i18n-react", + "id": "def-common.InjectedIntl.formatMessage.$2.Unnamed", + "type": "IndexSignature", + "tags": [], + "label": "[key: string]: MessageValue", + "description": [], + "signature": [ + "[key: string]: ReactIntl.MessageValue" + ], + "path": "node_modules/@types/react-intl/index.d.ts", + "deprecated": false, + "trackAdoption": false + } + ] + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/i18n-react", + "id": "def-common.InjectedIntl.formatHTMLMessage", + "type": "Function", + "tags": [], + "label": "formatHTMLMessage", + "description": [], + "signature": [ + "(messageDescriptor: ReactIntl.FormattedMessage.MessageDescriptor, values?: { [key: string]: ReactIntl.MessageValue; } | undefined) => string" + ], + "path": "node_modules/@types/react-intl/index.d.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/i18n-react", + "id": "def-common.InjectedIntl.formatHTMLMessage.$1", + "type": "Object", + "tags": [], + "label": "messageDescriptor", + "description": [], + "signature": [ + "ReactIntl.FormattedMessage.MessageDescriptor" + ], + "path": "node_modules/@types/react-intl/index.d.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/i18n-react", + "id": "def-common.InjectedIntl.formatHTMLMessage.$2", + "type": "Object", + "tags": [], + "label": "values", + "description": [], + "path": "node_modules/@types/react-intl/index.d.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/i18n-react", + "id": "def-common.InjectedIntl.formatHTMLMessage.$2.Unnamed", + "type": "IndexSignature", + "tags": [], + "label": "[key: string]: MessageValue", + "description": [], + "signature": [ + "[key: string]: ReactIntl.MessageValue" + ], + "path": "node_modules/@types/react-intl/index.d.ts", + "deprecated": false, + "trackAdoption": false + } + ] + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/i18n-react", + "id": "def-common.InjectedIntl.locale", + "type": "string", + "tags": [], + "label": "locale", + "description": [], + "path": "node_modules/@types/react-intl/index.d.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/i18n-react", + "id": "def-common.InjectedIntl.formats", + "type": "Any", + "tags": [], + "label": "formats", + "description": [], + "signature": [ + "any" + ], + "path": "node_modules/@types/react-intl/index.d.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/i18n-react", + "id": "def-common.InjectedIntl.messages", + "type": "Object", + "tags": [], + "label": "messages", + "description": [], + "signature": [ + "{ [id: string]: string; }" + ], + "path": "node_modules/@types/react-intl/index.d.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/i18n-react", + "id": "def-common.InjectedIntl.defaultLocale", + "type": "string", + "tags": [], + "label": "defaultLocale", + "description": [], + "path": "node_modules/@types/react-intl/index.d.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/i18n-react", + "id": "def-common.InjectedIntl.defaultFormats", + "type": "Any", + "tags": [], + "label": "defaultFormats", + "description": [], + "signature": [ + "any" + ], + "path": "node_modules/@types/react-intl/index.d.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/i18n-react", + "id": "def-common.InjectedIntl.now", + "type": "Function", + "tags": [], + "label": "now", + "description": [], + "signature": [ + "() => number" + ], + "path": "node_modules/@types/react-intl/index.d.ts", + "deprecated": false, + "trackAdoption": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/i18n-react", + "id": "def-common.InjectedIntl.onError", + "type": "Function", + "tags": [], + "label": "onError", + "description": [], + "signature": [ + "(error: string) => void" + ], + "path": "node_modules/@types/react-intl/index.d.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/i18n-react", + "id": "def-common.InjectedIntl.onError.$1", + "type": "string", + "tags": [], + "label": "error", + "description": [], + "signature": [ + "string" + ], + "path": "node_modules/@types/react-intl/index.d.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/i18n-react", + "id": "def-common.InjectedIntlProps", + "type": "Interface", + "tags": [], + "label": "InjectedIntlProps", + "description": [], + "signature": [ + "ReactIntl.InjectedIntlProps" + ], + "path": "node_modules/@types/react-intl/index.d.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/i18n-react", + "id": "def-common.InjectedIntlProps.intl", + "type": "Object", + "tags": [], + "label": "intl", + "description": [], + "signature": [ + "ReactIntl.InjectedIntl" + ], + "path": "node_modules/@types/react-intl/index.d.ts", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false + } + ], + "enums": [], + "misc": [], + "objects": [ + { + "parentPluginId": "@kbn/i18n-react", + "id": "def-common.FormattedDate", + "type": "Object", + "tags": [], + "label": "FormattedDate", + "description": [], + "signature": [ + "typeof ReactIntl.FormattedDate" + ], + "path": "node_modules/@types/react-intl/index.d.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/i18n-react", + "id": "def-common.FormattedMessage", + "type": "Object", + "tags": [], + "label": "FormattedMessage", + "description": [], + "signature": [ + "typeof ReactIntl.FormattedMessage" + ], + "path": "node_modules/@types/react-intl/index.d.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/i18n-react", + "id": "def-common.FormattedNumber", + "type": "Object", + "tags": [], + "label": "FormattedNumber", + "description": [], + "signature": [ + "typeof ReactIntl.FormattedNumber" + ], + "path": "node_modules/@types/react-intl/index.d.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/i18n-react", + "id": "def-common.FormattedPlural", + "type": "Object", + "tags": [], + "label": "FormattedPlural", + "description": [], + "signature": [ + "typeof ReactIntl.FormattedPlural" + ], + "path": "node_modules/@types/react-intl/index.d.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/i18n-react", + "id": "def-common.FormattedRelative", + "type": "Object", + "tags": [], + "label": "FormattedRelative", + "description": [], + "signature": [ + "typeof ReactIntl.FormattedRelative" + ], + "path": "node_modules/@types/react-intl/index.d.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/i18n-react", + "id": "def-common.FormattedTime", + "type": "Object", + "tags": [], + "label": "FormattedTime", + "description": [], + "signature": [ + "typeof ReactIntl.FormattedTime" + ], + "path": "node_modules/@types/react-intl/index.d.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/i18n-react", + "id": "def-common.IntlProvider", + "type": "Object", + "tags": [], + "label": "IntlProvider", + "description": [], + "signature": [ + "typeof ReactIntl.IntlProvider" + ], + "path": "node_modules/@types/react-intl/index.d.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + } + ] + } +} \ No newline at end of file diff --git a/api_docs/kbn_i18n_react.mdx b/api_docs/kbn_i18n_react.mdx new file mode 100644 index 0000000000000..b8a0df8be2846 --- /dev/null +++ b/api_docs/kbn_i18n_react.mdx @@ -0,0 +1,39 @@ +--- +#### +#### This document is auto-generated and is meant to be viewed inside our experimental, new docs system. +#### Reach out in #docs-engineering for more info. +#### +id: kibKbnI18nReactPluginApi +slug: /kibana-dev-docs/api/kbn-i18n-react +title: "@kbn/i18n-react" +image: https://source.unsplash.com/400x175/?github +description: API docs for the @kbn/i18n-react plugin +date: 2022-10-29 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/i18n-react'] +--- +import kbnI18nReactObj from './kbn_i18n_react.devdocs.json'; + + + +Contact Kibana Core for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 61 | 0 | 1 | 0 | + +## Common + +### Objects + + +### Functions + + +### Classes + + +### Interfaces + + diff --git a/api_docs/kbn_import_resolver.mdx b/api_docs/kbn_import_resolver.mdx index 397ce65de0f20..395b61f295054 100644 --- a/api_docs/kbn_import_resolver.mdx +++ b/api_docs/kbn_import_resolver.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-import-resolver title: "@kbn/import-resolver" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/import-resolver plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/import-resolver'] --- import kbnImportResolverObj from './kbn_import_resolver.devdocs.json'; diff --git a/api_docs/kbn_interpreter.devdocs.json b/api_docs/kbn_interpreter.devdocs.json index 4122a34219731..6da1bcc3242c3 100644 --- a/api_docs/kbn_interpreter.devdocs.json +++ b/api_docs/kbn_interpreter.devdocs.json @@ -236,6 +236,126 @@ } ], "functions": [ + { + "parentPluginId": "@kbn/interpreter", + "id": "def-common.addRegistries", + "type": "Function", + "tags": [], + "label": "addRegistries", + "description": [ + "\nAdd a new set of registries to an existing set of registries.\n" + ], + "signature": [ + "(registries: any, newRegistries: any) => any" + ], + "path": "packages/kbn-interpreter/src/common/registries.js", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/interpreter", + "id": "def-common.addRegistries.$1", + "type": "Any", + "tags": [], + "label": "registries", + "description": [ + "- The existing set of registries" + ], + "signature": [ + "any" + ], + "path": "packages/kbn-interpreter/src/common/registries.js", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/interpreter", + "id": "def-common.addRegistries.$2", + "type": "Any", + "tags": [], + "label": "newRegistries", + "description": [ + "- The new set of registries" + ], + "signature": [ + "any" + ], + "path": "packages/kbn-interpreter/src/common/registries.js", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/interpreter", + "id": "def-common.castProvider", + "type": "Function", + "tags": [], + "label": "castProvider", + "description": [], + "signature": [ + "(types: any) => (node: any, toTypeNames: any) => any" + ], + "path": "packages/kbn-interpreter/src/common/lib/cast.js", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/interpreter", + "id": "def-common.castProvider.$1", + "type": "Any", + "tags": [], + "label": "types", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-interpreter/src/common/lib/cast.js", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/interpreter", + "id": "def-common.Fn", + "type": "Function", + "tags": [], + "label": "Fn", + "description": [], + "signature": [ + "(config: any) => void" + ], + "path": "packages/kbn-interpreter/src/common/lib/fn.js", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/interpreter", + "id": "def-common.Fn.$1", + "type": "Any", + "tags": [], + "label": "config", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-interpreter/src/common/lib/fn.js", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, { "parentPluginId": "@kbn/interpreter", "id": "def-common.fromExpression", @@ -291,6 +411,56 @@ "returnComment": [], "initialIsOpen": false }, + { + "parentPluginId": "@kbn/interpreter", + "id": "def-common.getByAlias", + "type": "Function", + "tags": [], + "label": "getByAlias", + "description": [ + "\nThis is used for looking up function/argument definitions. It looks through\nthe given object/array for a case-insensitive match, which could be either the\n`name` itself, or something under the `aliases` property." + ], + "signature": [ + "(specs: any, name: any) => any" + ], + "path": "packages/kbn-interpreter/src/common/lib/get_by_alias.js", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/interpreter", + "id": "def-common.getByAlias.$1", + "type": "Any", + "tags": [], + "label": "specs", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-interpreter/src/common/lib/get_by_alias.js", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/interpreter", + "id": "def-common.getByAlias.$2", + "type": "Any", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-interpreter/src/common/lib/get_by_alias.js", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, { "parentPluginId": "@kbn/interpreter", "id": "def-common.getType", @@ -390,6 +560,97 @@ "returnComment": [], "initialIsOpen": false }, + { + "parentPluginId": "@kbn/interpreter", + "id": "def-common.register", + "type": "Function", + "tags": [], + "label": "register", + "description": [ + "\nRegister a set of interpreter specs (functions, types, renderers, etc)\n" + ], + "signature": [ + "(registries: any, specs: any) => any" + ], + "path": "packages/kbn-interpreter/src/common/registries.js", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/interpreter", + "id": "def-common.register.$1", + "type": "Any", + "tags": [], + "label": "registries", + "description": [ + "- The set of registries" + ], + "signature": [ + "any" + ], + "path": "packages/kbn-interpreter/src/common/registries.js", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/interpreter", + "id": "def-common.register.$2", + "type": "Any", + "tags": [], + "label": "specs", + "description": [ + "- The specs to be regsitered (e.g. { types: [], browserFunctions: [] })" + ], + "signature": [ + "any" + ], + "path": "packages/kbn-interpreter/src/common/registries.js", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/interpreter", + "id": "def-common.registryFactory", + "type": "Function", + "tags": [], + "label": "registryFactory", + "description": [ + "\nA convenience function for exposing registries and register in a plugin-friendly way\nas a global in the browser, and as server.plugins.interpreter.register | registries\non the server.\n" + ], + "signature": [ + "(registries: any) => { registries(): any; register(specs: any): any; }" + ], + "path": "packages/kbn-interpreter/src/common/registries.js", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/interpreter", + "id": "def-common.registryFactory.$1", + "type": "Any", + "tags": [], + "label": "registries", + "description": [ + "- The registries to wrap." + ], + "signature": [ + "any" + ], + "path": "packages/kbn-interpreter/src/common/registries.js", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, { "parentPluginId": "@kbn/interpreter", "id": "def-common.safeElementFromExpression", diff --git a/api_docs/kbn_interpreter.mdx b/api_docs/kbn_interpreter.mdx index ea3c79879111a..528eb24395b7e 100644 --- a/api_docs/kbn_interpreter.mdx +++ b/api_docs/kbn_interpreter.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-interpreter title: "@kbn/interpreter" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/interpreter plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/interpreter'] --- import kbnInterpreterObj from './kbn_interpreter.devdocs.json'; @@ -21,7 +21,7 @@ Contact App Services for questions regarding this plugin. | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 35 | 4 | 35 | 0 | +| 50 | 13 | 41 | 0 | ## Common diff --git a/api_docs/kbn_io_ts_utils.mdx b/api_docs/kbn_io_ts_utils.mdx index 1e6e1d44cc73b..bbe330bf67023 100644 --- a/api_docs/kbn_io_ts_utils.mdx +++ b/api_docs/kbn_io_ts_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-io-ts-utils title: "@kbn/io-ts-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/io-ts-utils plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/io-ts-utils'] --- import kbnIoTsUtilsObj from './kbn_io_ts_utils.devdocs.json'; diff --git a/api_docs/kbn_jest_serializers.mdx b/api_docs/kbn_jest_serializers.mdx index 6630e1f929434..ecbbd4b511168 100644 --- a/api_docs/kbn_jest_serializers.mdx +++ b/api_docs/kbn_jest_serializers.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-jest-serializers title: "@kbn/jest-serializers" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/jest-serializers plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/jest-serializers'] --- import kbnJestSerializersObj from './kbn_jest_serializers.devdocs.json'; diff --git a/api_docs/kbn_journeys.devdocs.json b/api_docs/kbn_journeys.devdocs.json index 601334a03f8e8..42ac65b7eead4 100644 --- a/api_docs/kbn_journeys.devdocs.json +++ b/api_docs/kbn_journeys.devdocs.json @@ -48,7 +48,13 @@ "text": "Journey" }, ") => ", - "FtrConfigProvider" + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.FtrConfigProvider", + "text": "FtrConfigProvider" + } ], "path": "packages/kbn-journeys/journey/journey.ts", "deprecated": false, @@ -262,7 +268,13 @@ ], "signature": [ "({ getService }: ", - "FtrProviderContext", + { + "pluginId": "@kbn/ftr-common-functional-services", + "scope": "server", + "docId": "kibKbnFtrCommonFunctionalServicesPluginApi", + "section": "def-server.FtrProviderContext", + "text": "FtrProviderContext" + }, ") => void" ], "path": "packages/kbn-journeys/journey/journey.ts", @@ -277,7 +289,13 @@ "label": "{ getService }", "description": [], "signature": [ - "FtrProviderContext" + { + "pluginId": "@kbn/ftr-common-functional-services", + "scope": "server", + "docId": "kibKbnFtrCommonFunctionalServicesPluginApi", + "section": "def-server.FtrProviderContext", + "text": "FtrProviderContext" + } ], "path": "packages/kbn-journeys/journey/journey.ts", "deprecated": false, diff --git a/api_docs/kbn_journeys.mdx b/api_docs/kbn_journeys.mdx index 5fd216e3e7c2f..90680958f0d76 100644 --- a/api_docs/kbn_journeys.mdx +++ b/api_docs/kbn_journeys.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-journeys title: "@kbn/journeys" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/journeys plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/journeys'] --- import kbnJourneysObj from './kbn_journeys.devdocs.json'; diff --git a/api_docs/kbn_kibana_manifest_schema.mdx b/api_docs/kbn_kibana_manifest_schema.mdx index 34e78be6a731e..52d63fedc432e 100644 --- a/api_docs/kbn_kibana_manifest_schema.mdx +++ b/api_docs/kbn_kibana_manifest_schema.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-kibana-manifest-schema title: "@kbn/kibana-manifest-schema" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/kibana-manifest-schema plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/kibana-manifest-schema'] --- import kbnKibanaManifestSchemaObj from './kbn_kibana_manifest_schema.devdocs.json'; diff --git a/api_docs/kbn_language_documentation_popover.mdx b/api_docs/kbn_language_documentation_popover.mdx index 03fb3a08ccab2..1b1f80830491c 100644 --- a/api_docs/kbn_language_documentation_popover.mdx +++ b/api_docs/kbn_language_documentation_popover.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-language-documentation-popover title: "@kbn/language-documentation-popover" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/language-documentation-popover plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/language-documentation-popover'] --- import kbnLanguageDocumentationPopoverObj from './kbn_language_documentation_popover.devdocs.json'; diff --git a/api_docs/kbn_logging.devdocs.json b/api_docs/kbn_logging.devdocs.json index ae5f4c09df969..c4b55ec411dce 100644 --- a/api_docs/kbn_logging.devdocs.json +++ b/api_docs/kbn_logging.devdocs.json @@ -439,6 +439,44 @@ ], "returnComment": [] }, + { + "parentPluginId": "@kbn/logging", + "id": "def-server.Logger.isLevelEnabled", + "type": "Function", + "tags": [], + "label": "isLevelEnabled", + "description": [ + "\nChecks if given level is currently enabled for this logger.\nCan be used to wrap expensive logging operations into conditional blocks\n" + ], + "signature": [ + "(level: ", + "LogLevelId", + ") => boolean" + ], + "path": "packages/kbn-logging/src/logger.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/logging", + "id": "def-server.Logger.isLevelEnabled.$1", + "type": "CompoundType", + "tags": [], + "label": "level", + "description": [ + "The log level to check for." + ], + "signature": [ + "LogLevelId" + ], + "path": "packages/kbn-logging/src/logger.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [] + }, { "parentPluginId": "@kbn/logging", "id": "def-server.Logger.get", diff --git a/api_docs/kbn_logging.mdx b/api_docs/kbn_logging.mdx index 47d7783bb1a46..305a01bf3fb96 100644 --- a/api_docs/kbn_logging.mdx +++ b/api_docs/kbn_logging.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-logging title: "@kbn/logging" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/logging plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/logging'] --- import kbnLoggingObj from './kbn_logging.devdocs.json'; @@ -21,7 +21,7 @@ Contact Kibana Core for questions regarding this plugin. | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 30 | 0 | 5 | 37 | +| 32 | 0 | 5 | 39 | ## Server diff --git a/api_docs/kbn_logging_mocks.devdocs.json b/api_docs/kbn_logging_mocks.devdocs.json index fdd0f4b0a5b4d..c479b9353e59a 100644 --- a/api_docs/kbn_logging_mocks.devdocs.json +++ b/api_docs/kbn_logging_mocks.devdocs.json @@ -23,23 +23,73 @@ "description": [], "signature": [ "{ trace: jest.MockInstance; debug: jest.MockInstance; info: jest.MockInstance; warn: jest.MockInstance; error: jest.MockInstance; fatal: jest.MockInstance; log: jest.MockInstance; isLevelEnabled: jest.MockInstance; get: jest.MockInstance<", - "Logger", + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + }, ", string[]>; } & ", - "Logger", + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + }, " & { context: string[]; }" ], "path": "packages/kbn-logging-mocks/src/logger.mock.ts", @@ -130,23 +180,73 @@ "description": [], "signature": [ "{ trace: jest.MockInstance; debug: jest.MockInstance; info: jest.MockInstance; warn: jest.MockInstance; error: jest.MockInstance; fatal: jest.MockInstance; log: jest.MockInstance; isLevelEnabled: jest.MockInstance; get: jest.MockInstance<", - "Logger", + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + }, ", string[]>; } & ", - "Logger", + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + }, " & { context: string[]; }" ], "path": "packages/kbn-logging-mocks/src/logger.mock.ts", @@ -172,19 +272,55 @@ "text": "MockedLogger" }, ") => { debug: [message: string, meta?: ", - "LogMeta", + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.LogMeta", + "text": "LogMeta" + }, " | undefined][]; error: [errorOrMessage: string | Error, meta?: ", - "LogMeta", + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.LogMeta", + "text": "LogMeta" + }, " | undefined][]; fatal: [errorOrMessage: string | Error, meta?: ", - "LogMeta", + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.LogMeta", + "text": "LogMeta" + }, " | undefined][]; info: [message: string, meta?: ", - "LogMeta", + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.LogMeta", + "text": "LogMeta" + }, " | undefined][]; log: [record: ", "LogRecord", "][]; trace: [message: string, meta?: ", - "LogMeta", + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.LogMeta", + "text": "LogMeta" + }, " | undefined][]; warn: [errorOrMessage: string | Error, meta?: ", - "LogMeta", + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.LogMeta", + "text": "LogMeta" + }, " | undefined][]; }" ], "path": "packages/kbn-logging-mocks/src/logger.mock.ts", @@ -201,23 +337,73 @@ "description": [], "signature": [ "{ trace: jest.MockInstance; debug: jest.MockInstance; info: jest.MockInstance; warn: jest.MockInstance; error: jest.MockInstance; fatal: jest.MockInstance; log: jest.MockInstance; isLevelEnabled: jest.MockInstance; get: jest.MockInstance<", - "Logger", + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + }, ", string[]>; } & ", - "Logger", + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + }, " & { context: string[]; }" ], "path": "packages/kbn-logging-mocks/src/logger.mock.ts", diff --git a/api_docs/kbn_logging_mocks.mdx b/api_docs/kbn_logging_mocks.mdx index 96ba7e474c678..2e15a1dc06015 100644 --- a/api_docs/kbn_logging_mocks.mdx +++ b/api_docs/kbn_logging_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-logging-mocks title: "@kbn/logging-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/logging-mocks plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/logging-mocks'] --- import kbnLoggingMocksObj from './kbn_logging_mocks.devdocs.json'; diff --git a/api_docs/kbn_managed_vscode_config.mdx b/api_docs/kbn_managed_vscode_config.mdx index e6dfd011b24bc..c4cd60d5f24d2 100644 --- a/api_docs/kbn_managed_vscode_config.mdx +++ b/api_docs/kbn_managed_vscode_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-managed-vscode-config title: "@kbn/managed-vscode-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/managed-vscode-config plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/managed-vscode-config'] --- import kbnManagedVscodeConfigObj from './kbn_managed_vscode_config.devdocs.json'; diff --git a/api_docs/kbn_mapbox_gl.mdx b/api_docs/kbn_mapbox_gl.mdx index 1b43562ba291c..1d646cbc2d084 100644 --- a/api_docs/kbn_mapbox_gl.mdx +++ b/api_docs/kbn_mapbox_gl.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-mapbox-gl title: "@kbn/mapbox-gl" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/mapbox-gl plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/mapbox-gl'] --- import kbnMapboxGlObj from './kbn_mapbox_gl.devdocs.json'; diff --git a/api_docs/kbn_ml_agg_utils.devdocs.json b/api_docs/kbn_ml_agg_utils.devdocs.json index efb59fbc5c166..709185e8d6a49 100644 --- a/api_docs/kbn_ml_agg_utils.devdocs.json +++ b/api_docs/kbn_ml_agg_utils.devdocs.json @@ -74,7 +74,13 @@ ], "signature": [ "(client: ", - "ElasticsearchClient", + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.ElasticsearchClient", + "text": "ElasticsearchClient" + }, ", indexPattern: string, query: ", "QueryDslQueryContainer", ", fields: ", @@ -109,7 +115,13 @@ "label": "client", "description": [], "signature": [ - "ElasticsearchClient" + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.ElasticsearchClient", + "text": "ElasticsearchClient" + } ], "path": "x-pack/packages/ml/agg_utils/src/fetch_agg_intervals.ts", "deprecated": false, @@ -229,7 +241,13 @@ ], "signature": [ "(client: ", - "ElasticsearchClient", + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.ElasticsearchClient", + "text": "ElasticsearchClient" + }, ", indexPattern: string, query: any, fields: ", { "pluginId": "@kbn/ml-agg-utils", @@ -241,7 +259,13 @@ ", samplerShardSize: number, runtimeMappings?: ", "MappingRuntimeFields", " | undefined, abortSignal?: AbortSignal | undefined) => Promise<(", - "NumericChartData", + { + "pluginId": "@kbn/ml-agg-utils", + "scope": "server", + "docId": "kibKbnMlAggUtilsPluginApi", + "section": "def-server.NumericChartData", + "text": "NumericChartData" + }, " | OrdinalChartData | UnsupportedChartData)[]>" ], "path": "x-pack/packages/ml/agg_utils/src/fetch_histograms_for_fields.ts", @@ -258,7 +282,13 @@ "Elasticsearch Client" ], "signature": [ - "ElasticsearchClient" + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.ElasticsearchClient", + "text": "ElasticsearchClient" + } ], "path": "x-pack/packages/ml/agg_utils/src/fetch_histograms_for_fields.ts", "deprecated": false, @@ -544,7 +574,13 @@ "text": "ChangePoint" }, " extends ", - "FieldValuePair" + { + "pluginId": "@kbn/ml-agg-utils", + "scope": "server", + "docId": "kibKbnMlAggUtilsPluginApi", + "section": "def-server.FieldValuePair", + "text": "FieldValuePair" + } ], "path": "x-pack/packages/ml/agg_utils/src/types.ts", "deprecated": false, @@ -807,7 +843,13 @@ "text": "ChangePointHistogram" }, " extends ", - "FieldValuePair" + { + "pluginId": "@kbn/ml-agg-utils", + "scope": "server", + "docId": "kibKbnMlAggUtilsPluginApi", + "section": "def-server.FieldValuePair", + "text": "FieldValuePair" + } ], "path": "x-pack/packages/ml/agg_utils/src/types.ts", "deprecated": false, @@ -897,6 +939,47 @@ ], "initialIsOpen": false }, + { + "parentPluginId": "@kbn/ml-agg-utils", + "id": "def-server.FieldValuePair", + "type": "Interface", + "tags": [], + "label": "FieldValuePair", + "description": [ + "\nField/value pair definition." + ], + "path": "x-pack/packages/ml/agg_utils/src/types.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/ml-agg-utils", + "id": "def-server.FieldValuePair.fieldName", + "type": "string", + "tags": [], + "label": "fieldName", + "description": [], + "path": "x-pack/packages/ml/agg_utils/src/types.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/ml-agg-utils", + "id": "def-server.FieldValuePair.fieldValue", + "type": "CompoundType", + "tags": [], + "label": "fieldValue", + "description": [], + "signature": [ + "string | number" + ], + "path": "x-pack/packages/ml/agg_utils/src/types.ts", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false + }, { "parentPluginId": "@kbn/ml-agg-utils", "id": "def-server.HistogramField", @@ -929,7 +1012,13 @@ "label": "type", "description": [], "signature": [ - "KBN_FIELD_TYPES" + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + } ], "path": "x-pack/packages/ml/agg_utils/src/types.ts", "deprecated": false, @@ -985,6 +1074,86 @@ ], "initialIsOpen": false }, + { + "parentPluginId": "@kbn/ml-agg-utils", + "id": "def-server.NumericChartData", + "type": "Interface", + "tags": [], + "label": "NumericChartData", + "description": [ + "\nInterface to describe the data structure returned for numeric based charts." + ], + "path": "x-pack/packages/ml/agg_utils/src/fetch_histograms_for_fields.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/ml-agg-utils", + "id": "def-server.NumericChartData.data", + "type": "Array", + "tags": [], + "label": "data", + "description": [], + "signature": [ + "NumericDataItem[]" + ], + "path": "x-pack/packages/ml/agg_utils/src/fetch_histograms_for_fields.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/ml-agg-utils", + "id": "def-server.NumericChartData.id", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "path": "x-pack/packages/ml/agg_utils/src/fetch_histograms_for_fields.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/ml-agg-utils", + "id": "def-server.NumericChartData.interval", + "type": "number", + "tags": [], + "label": "interval", + "description": [], + "path": "x-pack/packages/ml/agg_utils/src/fetch_histograms_for_fields.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/ml-agg-utils", + "id": "def-server.NumericChartData.stats", + "type": "Object", + "tags": [], + "label": "stats", + "description": [], + "signature": [ + "[number, number]" + ], + "path": "x-pack/packages/ml/agg_utils/src/fetch_histograms_for_fields.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/ml-agg-utils", + "id": "def-server.NumericChartData.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "\"numeric\"" + ], + "path": "x-pack/packages/ml/agg_utils/src/fetch_histograms_for_fields.ts", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false + }, { "parentPluginId": "@kbn/ml-agg-utils", "id": "def-server.NumericColumnStats", @@ -1033,6 +1202,68 @@ } ], "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/ml-agg-utils", + "id": "def-server.NumericHistogramField", + "type": "Interface", + "tags": [], + "label": "NumericHistogramField", + "description": [ + "\nNumeric based histogram field interface, limited to `date` and `number`." + ], + "signature": [ + { + "pluginId": "@kbn/ml-agg-utils", + "scope": "server", + "docId": "kibKbnMlAggUtilsPluginApi", + "section": "def-server.NumericHistogramField", + "text": "NumericHistogramField" + }, + " extends ", + { + "pluginId": "@kbn/ml-agg-utils", + "scope": "server", + "docId": "kibKbnMlAggUtilsPluginApi", + "section": "def-server.HistogramField", + "text": "HistogramField" + } + ], + "path": "x-pack/packages/ml/agg_utils/src/fetch_histograms_for_fields.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/ml-agg-utils", + "id": "def-server.NumericHistogramField.type", + "type": "CompoundType", + "tags": [], + "label": "type", + "description": [], + "signature": [ + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, + ".DATE | ", + { + "pluginId": "@kbn/field-types", + "scope": "common", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-common.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, + ".NUMBER" + ], + "path": "x-pack/packages/ml/agg_utils/src/fetch_histograms_for_fields.ts", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false } ], "enums": [], @@ -1048,7 +1279,13 @@ ], "signature": [ "(", - "NumericHistogramField", + { + "pluginId": "@kbn/ml-agg-utils", + "scope": "server", + "docId": "kibKbnMlAggUtilsPluginApi", + "section": "def-server.NumericHistogramField", + "text": "NumericHistogramField" + }, " | NumericHistogramFieldWithColumnStats | OrdinalHistogramField | UnsupportedHistogramField)[]" ], "path": "x-pack/packages/ml/agg_utils/src/fetch_histograms_for_fields.ts", diff --git a/api_docs/kbn_ml_agg_utils.mdx b/api_docs/kbn_ml_agg_utils.mdx index b7f8b23d75bca..6c1af00693955 100644 --- a/api_docs/kbn_ml_agg_utils.mdx +++ b/api_docs/kbn_ml_agg_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-agg-utils title: "@kbn/ml-agg-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-agg-utils plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-agg-utils'] --- import kbnMlAggUtilsObj from './kbn_ml_agg_utils.devdocs.json'; @@ -21,7 +21,7 @@ Contact Machine Learning UI for questions regarding this plugin. | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 66 | 2 | 46 | 3 | +| 77 | 2 | 54 | 0 | ## Server diff --git a/api_docs/kbn_ml_is_populated_object.mdx b/api_docs/kbn_ml_is_populated_object.mdx index e22f3d94a05b8..8f57502e65602 100644 --- a/api_docs/kbn_ml_is_populated_object.mdx +++ b/api_docs/kbn_ml_is_populated_object.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-is-populated-object title: "@kbn/ml-is-populated-object" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-is-populated-object plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-is-populated-object'] --- import kbnMlIsPopulatedObjectObj from './kbn_ml_is_populated_object.devdocs.json'; diff --git a/api_docs/kbn_ml_string_hash.mdx b/api_docs/kbn_ml_string_hash.mdx index 9937c2596ad36..a8af28531723b 100644 --- a/api_docs/kbn_ml_string_hash.mdx +++ b/api_docs/kbn_ml_string_hash.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-string-hash title: "@kbn/ml-string-hash" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-string-hash plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-string-hash'] --- import kbnMlStringHashObj from './kbn_ml_string_hash.devdocs.json'; diff --git a/api_docs/kbn_monaco.mdx b/api_docs/kbn_monaco.mdx index 627ef2bc8b7c4..284f0417d5def 100644 --- a/api_docs/kbn_monaco.mdx +++ b/api_docs/kbn_monaco.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-monaco title: "@kbn/monaco" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/monaco plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/monaco'] --- import kbnMonacoObj from './kbn_monaco.devdocs.json'; diff --git a/api_docs/kbn_optimizer.devdocs.json b/api_docs/kbn_optimizer.devdocs.json index 0eb4cd95ddadd..5d285a63ef574 100644 --- a/api_docs/kbn_optimizer.devdocs.json +++ b/api_docs/kbn_optimizer.devdocs.json @@ -342,7 +342,13 @@ "description": [], "signature": [ "(log: ", - "ToolingLog", + { + "pluginId": "@kbn/tooling-log", + "scope": "server", + "docId": "kibKbnToolingLogPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + }, ") => ", "MonoTypeOperatorFunction", "<", @@ -367,7 +373,13 @@ "label": "log", "description": [], "signature": [ - "ToolingLog" + { + "pluginId": "@kbn/tooling-log", + "scope": "server", + "docId": "kibKbnToolingLogPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + } ], "path": "packages/kbn-optimizer/src/log_optimizer_progress.ts", "deprecated": false, @@ -387,7 +399,13 @@ "description": [], "signature": [ "(log: ", - "ToolingLog", + { + "pluginId": "@kbn/tooling-log", + "scope": "server", + "docId": "kibKbnToolingLogPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + }, ", config: ", { "pluginId": "@kbn/optimizer", @@ -426,7 +444,13 @@ "label": "log", "description": [], "signature": [ - "ToolingLog" + { + "pluginId": "@kbn/tooling-log", + "scope": "server", + "docId": "kibKbnToolingLogPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + } ], "path": "packages/kbn-optimizer/src/log_optimizer_state.ts", "deprecated": false, @@ -518,7 +542,13 @@ "description": [], "signature": [ "(log: ", - "ToolingLog", + { + "pluginId": "@kbn/tooling-log", + "scope": "server", + "docId": "kibKbnToolingLogPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + }, ", config: ", { "pluginId": "@kbn/optimizer", @@ -557,7 +587,13 @@ "label": "log", "description": [], "signature": [ - "ToolingLog" + { + "pluginId": "@kbn/tooling-log", + "scope": "server", + "docId": "kibKbnToolingLogPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + } ], "path": "packages/kbn-optimizer/src/report_optimizer_timings.ts", "deprecated": false, @@ -783,7 +819,13 @@ "description": [], "signature": [ "(log: ", - "ToolingLog", + { + "pluginId": "@kbn/tooling-log", + "scope": "server", + "docId": "kibKbnToolingLogPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + }, ", config: ", { "pluginId": "@kbn/optimizer", @@ -806,7 +848,13 @@ "label": "log", "description": [], "signature": [ - "ToolingLog" + { + "pluginId": "@kbn/tooling-log", + "scope": "server", + "docId": "kibKbnToolingLogPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + } ], "path": "packages/kbn-optimizer/src/limits.ts", "deprecated": false, diff --git a/api_docs/kbn_optimizer.mdx b/api_docs/kbn_optimizer.mdx index eb60a060493d5..f4404587e8fde 100644 --- a/api_docs/kbn_optimizer.mdx +++ b/api_docs/kbn_optimizer.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-optimizer title: "@kbn/optimizer" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/optimizer plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/optimizer'] --- import kbnOptimizerObj from './kbn_optimizer.devdocs.json'; diff --git a/api_docs/kbn_optimizer_webpack_helpers.mdx b/api_docs/kbn_optimizer_webpack_helpers.mdx index e27e092033296..a1c4fc00729d0 100644 --- a/api_docs/kbn_optimizer_webpack_helpers.mdx +++ b/api_docs/kbn_optimizer_webpack_helpers.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-optimizer-webpack-helpers title: "@kbn/optimizer-webpack-helpers" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/optimizer-webpack-helpers plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/optimizer-webpack-helpers'] --- import kbnOptimizerWebpackHelpersObj from './kbn_optimizer_webpack_helpers.devdocs.json'; diff --git a/api_docs/kbn_osquery_io_ts_types.mdx b/api_docs/kbn_osquery_io_ts_types.mdx index 462afe5c61725..98135a5e36ac7 100644 --- a/api_docs/kbn_osquery_io_ts_types.mdx +++ b/api_docs/kbn_osquery_io_ts_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-osquery-io-ts-types title: "@kbn/osquery-io-ts-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/osquery-io-ts-types plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/osquery-io-ts-types'] --- import kbnOsqueryIoTsTypesObj from './kbn_osquery_io_ts_types.devdocs.json'; diff --git a/api_docs/kbn_performance_testing_dataset_extractor.mdx b/api_docs/kbn_performance_testing_dataset_extractor.mdx index 4c7e93fb0ec5d..d4d3e23de7bb4 100644 --- a/api_docs/kbn_performance_testing_dataset_extractor.mdx +++ b/api_docs/kbn_performance_testing_dataset_extractor.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-performance-testing-dataset-extractor title: "@kbn/performance-testing-dataset-extractor" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/performance-testing-dataset-extractor plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/performance-testing-dataset-extractor'] --- import kbnPerformanceTestingDatasetExtractorObj from './kbn_performance_testing_dataset_extractor.devdocs.json'; diff --git a/api_docs/kbn_plugin_generator.mdx b/api_docs/kbn_plugin_generator.mdx index 8af661cf8e9e1..0273c767cc649 100644 --- a/api_docs/kbn_plugin_generator.mdx +++ b/api_docs/kbn_plugin_generator.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-plugin-generator title: "@kbn/plugin-generator" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/plugin-generator plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/plugin-generator'] --- import kbnPluginGeneratorObj from './kbn_plugin_generator.devdocs.json'; diff --git a/api_docs/kbn_plugin_helpers.mdx b/api_docs/kbn_plugin_helpers.mdx index cfbda73ee92d7..8245837d279de 100644 --- a/api_docs/kbn_plugin_helpers.mdx +++ b/api_docs/kbn_plugin_helpers.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-plugin-helpers title: "@kbn/plugin-helpers" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/plugin-helpers plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/plugin-helpers'] --- import kbnPluginHelpersObj from './kbn_plugin_helpers.devdocs.json'; diff --git a/api_docs/kbn_react_field.mdx b/api_docs/kbn_react_field.mdx index a0fd6734a820f..fb170a72d59f8 100644 --- a/api_docs/kbn_react_field.mdx +++ b/api_docs/kbn_react_field.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-react-field title: "@kbn/react-field" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/react-field plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/react-field'] --- import kbnReactFieldObj from './kbn_react_field.devdocs.json'; diff --git a/api_docs/kbn_repo_source_classifier.devdocs.json b/api_docs/kbn_repo_source_classifier.devdocs.json index ed76a94aa46a9..a23c140d773d2 100644 --- a/api_docs/kbn_repo_source_classifier.devdocs.json +++ b/api_docs/kbn_repo_source_classifier.devdocs.json @@ -43,7 +43,13 @@ "label": "resolver", "description": [], "signature": [ - "ImportResolver" + { + "pluginId": "@kbn/import-resolver", + "scope": "server", + "docId": "kibKbnImportResolverPluginApi", + "section": "def-server.ImportResolver", + "text": "ImportResolver" + } ], "path": "packages/kbn-repo-source-classifier/src/repo_source_classifier.ts", "deprecated": false, diff --git a/api_docs/kbn_repo_source_classifier.mdx b/api_docs/kbn_repo_source_classifier.mdx index 1e1799350884d..3a6588281565c 100644 --- a/api_docs/kbn_repo_source_classifier.mdx +++ b/api_docs/kbn_repo_source_classifier.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-repo-source-classifier title: "@kbn/repo-source-classifier" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/repo-source-classifier plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/repo-source-classifier'] --- import kbnRepoSourceClassifierObj from './kbn_repo_source_classifier.devdocs.json'; diff --git a/api_docs/kbn_rule_data_utils.devdocs.json b/api_docs/kbn_rule_data_utils.devdocs.json index bde52540e8d2c..6c8e6fe3b4063 100644 --- a/api_docs/kbn_rule_data_utils.devdocs.json +++ b/api_docs/kbn_rule_data_utils.devdocs.json @@ -28,7 +28,13 @@ "description": [], "signature": [ "(params?: GetEsQueryConfigParamType | undefined) => ", - "EsQueryConfig" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.EsQueryConfig", + "text": "EsQueryConfig" + } ], "path": "packages/kbn-rule-data-utils/src/alerts_as_data_rbac.ts", "deprecated": false, @@ -1092,7 +1098,7 @@ "label": "TechnicalRuleDataFieldName", "description": [], "signature": [ - "\"tags\" | \"kibana\" | \"@timestamp\" | \"kibana.alert.rule.rule_type_id\" | \"kibana.alert.rule.consumer\" | \"event.action\" | \"kibana.alert.rule.execution.uuid\" | \"kibana.alert.rule.parameters\" | \"kibana.alert.rule.producer\" | \"kibana.space_ids\" | \"kibana.alert.uuid\" | \"kibana.alert.instance.id\" | \"kibana.alert.start\" | \"kibana.alert.time_range\" | \"kibana.alert.end\" | \"kibana.alert.duration.us\" | \"kibana.alert.severity\" | \"kibana.alert.status\" | \"kibana.version\" | \"ecs.version\" | \"kibana.alert.risk_score\" | \"kibana.alert.workflow_status\" | \"kibana.alert.workflow_user\" | \"kibana.alert.workflow_reason\" | \"kibana.alert.system_status\" | \"kibana.alert.action_group\" | \"kibana.alert.reason\" | \"kibana.alert.rule.author\" | \"kibana.alert.rule.category\" | \"kibana.alert.rule.uuid\" | \"kibana.alert.rule.created_at\" | \"kibana.alert.rule.created_by\" | \"kibana.alert.rule.description\" | \"kibana.alert.rule.enabled\" | \"kibana.alert.rule.from\" | \"kibana.alert.rule.interval\" | \"kibana.alert.rule.license\" | \"kibana.alert.rule.name\" | \"kibana.alert.rule.note\" | \"kibana.alert.rule.references\" | \"kibana.alert.rule.rule_id\" | \"kibana.alert.rule.rule_name_override\" | \"kibana.alert.rule.tags\" | \"kibana.alert.rule.to\" | \"kibana.alert.rule.type\" | \"kibana.alert.rule.updated_at\" | \"kibana.alert.rule.updated_by\" | \"kibana.alert.rule.version\" | \"event.kind\" | \"event.module\" | \"kibana.alert.evaluation.threshold\" | \"kibana.alert.evaluation.value\" | \"kibana.alert.building_block_type\" | \"kibana.alert.rule.exceptions_list\" | \"kibana.alert.rule.namespace\" | \"kibana.alert\" | \"kibana.alert.rule\"" + "\"tags\" | \"kibana\" | \"@timestamp\" | \"kibana.alert.rule.rule_type_id\" | \"kibana.alert.rule.consumer\" | \"event.action\" | \"kibana.alert.rule.execution.uuid\" | \"kibana.alert\" | \"kibana.alert.rule\" | \"kibana.alert.rule.parameters\" | \"kibana.alert.rule.producer\" | \"kibana.space_ids\" | \"kibana.alert.uuid\" | \"kibana.alert.instance.id\" | \"kibana.alert.start\" | \"kibana.alert.time_range\" | \"kibana.alert.end\" | \"kibana.alert.duration.us\" | \"kibana.alert.severity\" | \"kibana.alert.status\" | \"kibana.version\" | \"ecs.version\" | \"kibana.alert.risk_score\" | \"kibana.alert.workflow_status\" | \"kibana.alert.workflow_user\" | \"kibana.alert.workflow_reason\" | \"kibana.alert.system_status\" | \"kibana.alert.action_group\" | \"kibana.alert.reason\" | \"kibana.alert.rule.author\" | \"kibana.alert.rule.category\" | \"kibana.alert.rule.uuid\" | \"kibana.alert.rule.created_at\" | \"kibana.alert.rule.created_by\" | \"kibana.alert.rule.description\" | \"kibana.alert.rule.enabled\" | \"kibana.alert.rule.from\" | \"kibana.alert.rule.interval\" | \"kibana.alert.rule.license\" | \"kibana.alert.rule.name\" | \"kibana.alert.rule.note\" | \"kibana.alert.rule.references\" | \"kibana.alert.rule.rule_id\" | \"kibana.alert.rule.rule_name_override\" | \"kibana.alert.rule.tags\" | \"kibana.alert.rule.to\" | \"kibana.alert.rule.type\" | \"kibana.alert.rule.updated_at\" | \"kibana.alert.rule.updated_by\" | \"kibana.alert.rule.version\" | \"event.kind\" | \"event.module\" | \"kibana.alert.evaluation.threshold\" | \"kibana.alert.evaluation.value\" | \"kibana.alert.building_block_type\" | \"kibana.alert.rule.exceptions_list\" | \"kibana.alert.rule.namespace\"" ], "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", "deprecated": false, diff --git a/api_docs/kbn_rule_data_utils.mdx b/api_docs/kbn_rule_data_utils.mdx index 703a9072f2c91..9e8ab87b36a94 100644 --- a/api_docs/kbn_rule_data_utils.mdx +++ b/api_docs/kbn_rule_data_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-rule-data-utils title: "@kbn/rule-data-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/rule-data-utils plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/rule-data-utils'] --- import kbnRuleDataUtilsObj from './kbn_rule_data_utils.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_autocomplete.devdocs.json b/api_docs/kbn_securitysolution_autocomplete.devdocs.json index 7623b6034551c..5f57ad28f5f73 100644 --- a/api_docs/kbn_securitysolution_autocomplete.devdocs.json +++ b/api_docs/kbn_securitysolution_autocomplete.devdocs.json @@ -208,7 +208,13 @@ ], "signature": [ "(param: string | undefined, field: ", - "DataViewFieldBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, " | undefined, isRequired: boolean, touched: boolean) => string | null | undefined" ], "path": "packages/kbn-securitysolution-autocomplete/src/check_empty_value/index.ts", @@ -238,7 +244,13 @@ "label": "field", "description": [], "signature": [ - "DataViewFieldBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, " | undefined" ], "path": "packages/kbn-securitysolution-autocomplete/src/check_empty_value/index.ts", @@ -336,7 +348,13 @@ "text": "AutocompleteListsData" }, ", field?: (", - "DataViewFieldBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, " & { esTypes?: string[] | undefined; }) | undefined) => ", { "pluginId": "@kbn/securitysolution-autocomplete", @@ -384,7 +402,13 @@ ], "signature": [ "(", - "DataViewFieldBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, " & { esTypes?: string[] | undefined; }) | undefined" ], "path": "packages/kbn-securitysolution-autocomplete/src/filter_field_to_list/index.ts", @@ -521,9 +545,21 @@ ], "signature": [ "(field: ", - "DataViewFieldBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, " | undefined) => ", - "OperatorOption", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.OperatorOption", + "text": "OperatorOption" + }, "[]" ], "path": "packages/kbn-securitysolution-autocomplete/src/get_operators/index.ts", @@ -540,7 +576,13 @@ "DataViewFieldBase selected field" ], "signature": [ - "DataViewFieldBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, " | undefined" ], "path": "packages/kbn-securitysolution-autocomplete/src/get_operators/index.ts", @@ -629,7 +671,13 @@ ], "signature": [ "(param: string | undefined, field: ", - "DataViewFieldBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, " | undefined, isRequired: boolean, touched: boolean) => string | undefined" ], "path": "packages/kbn-securitysolution-autocomplete/src/param_is_valid/index.ts", @@ -663,7 +711,13 @@ "the selected field" ], "signature": [ - "DataViewFieldBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, " | undefined" ], "path": "packages/kbn-securitysolution-autocomplete/src/param_is_valid/index.ts", @@ -916,7 +970,13 @@ "label": "indexPattern", "description": [], "signature": [ - "DataViewBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, " | undefined" ], "path": "packages/kbn-securitysolution-autocomplete/src/hooks/use_field_value_autocomplete/index.ts", @@ -931,7 +991,13 @@ "label": "operatorType", "description": [], "signature": [ - "ListOperatorTypeEnum" + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorTypeEnum", + "text": "ListOperatorTypeEnum" + } ], "path": "packages/kbn-securitysolution-autocomplete/src/hooks/use_field_value_autocomplete/index.ts", "deprecated": false, @@ -956,7 +1022,13 @@ "label": "selectedField", "description": [], "signature": [ - "DataViewFieldBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, " | undefined" ], "path": "packages/kbn-securitysolution-autocomplete/src/hooks/use_field_value_autocomplete/index.ts", diff --git a/api_docs/kbn_securitysolution_autocomplete.mdx b/api_docs/kbn_securitysolution_autocomplete.mdx index b2110aff202eb..7fbe9f3d25f7b 100644 --- a/api_docs/kbn_securitysolution_autocomplete.mdx +++ b/api_docs/kbn_securitysolution_autocomplete.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-autocomplete title: "@kbn/securitysolution-autocomplete" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-autocomplete plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-autocomplete'] --- import kbnSecuritysolutionAutocompleteObj from './kbn_securitysolution_autocomplete.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_es_utils.mdx b/api_docs/kbn_securitysolution_es_utils.mdx index d91a839d5ac24..aa74b6983ff60 100644 --- a/api_docs/kbn_securitysolution_es_utils.mdx +++ b/api_docs/kbn_securitysolution_es_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-es-utils title: "@kbn/securitysolution-es-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-es-utils plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-es-utils'] --- import kbnSecuritysolutionEsUtilsObj from './kbn_securitysolution_es_utils.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_exception_list_components.devdocs.json b/api_docs/kbn_securitysolution_exception_list_components.devdocs.json index ed2e9262906b9..7f0855de80b64 100644 --- a/api_docs/kbn_securitysolution_exception_list_components.devdocs.json +++ b/api_docs/kbn_securitysolution_exception_list_components.devdocs.json @@ -510,7 +510,7 @@ "label": "item", "description": [], "signature": [ - "{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }" + "{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }" ], "path": "packages/kbn-securitysolution-exception-list-components/src/exception_item_card/header/index.tsx", "deprecated": false, @@ -577,7 +577,7 @@ "label": "item", "description": [], "signature": [ - "{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }" + "{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }" ], "path": "packages/kbn-securitysolution-exception-list-components/src/exception_item_card/meta/index.tsx", "deprecated": false, @@ -693,7 +693,7 @@ "label": "exceptionItem", "description": [], "signature": [ - "{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }" + "{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }" ], "path": "packages/kbn-securitysolution-exception-list-components/src/exception_item_card/exception_item_card.tsx", "deprecated": false, @@ -707,7 +707,13 @@ "label": "listType", "description": [], "signature": [ - "ExceptionListTypeEnum" + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ExceptionListTypeEnum", + "text": "ExceptionListTypeEnum" + } ], "path": "packages/kbn-securitysolution-exception-list-components/src/exception_item_card/exception_item_card.tsx", "deprecated": false, @@ -878,7 +884,7 @@ "label": "onEditException", "description": [], "signature": [ - "(item: { _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }) => void" + "(item: { _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }) => void" ], "path": "packages/kbn-securitysolution-exception-list-components/src/exception_item_card/exception_item_card.tsx", "deprecated": false, @@ -892,7 +898,7 @@ "label": "item", "description": [], "signature": [ - "{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }" + "{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }" ], "path": "packages/kbn-securitysolution-exception-list-components/src/exception_item_card/exception_item_card.tsx", "deprecated": false, diff --git a/api_docs/kbn_securitysolution_exception_list_components.mdx b/api_docs/kbn_securitysolution_exception_list_components.mdx index f2996b19653d2..beb707b8ca796 100644 --- a/api_docs/kbn_securitysolution_exception_list_components.mdx +++ b/api_docs/kbn_securitysolution_exception_list_components.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-exception-list-components title: "@kbn/securitysolution-exception-list-components" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-exception-list-components plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-exception-list-components'] --- import kbnSecuritysolutionExceptionListComponentsObj from './kbn_securitysolution_exception_list_components.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_hook_utils.mdx b/api_docs/kbn_securitysolution_hook_utils.mdx index b805d79576809..4fe2c8b587cdc 100644 --- a/api_docs/kbn_securitysolution_hook_utils.mdx +++ b/api_docs/kbn_securitysolution_hook_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-hook-utils title: "@kbn/securitysolution-hook-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-hook-utils plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-hook-utils'] --- import kbnSecuritysolutionHookUtilsObj from './kbn_securitysolution_hook_utils.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_io_ts_alerting_types.mdx b/api_docs/kbn_securitysolution_io_ts_alerting_types.mdx index 6fe517283c4c9..5f6cabb35890e 100644 --- a/api_docs/kbn_securitysolution_io_ts_alerting_types.mdx +++ b/api_docs/kbn_securitysolution_io_ts_alerting_types.mdx @@ -8,7 +8,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 description: API docs for the @kbn/securitysolution-io-ts-alerting-types plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-io-ts-alerting-types'] --- import kbnSecuritysolutionIoTsAlertingTypesObj from './kbn_securitysolution_io_ts_alerting_types.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_io_ts_list_types.devdocs.json b/api_docs/kbn_securitysolution_io_ts_list_types.devdocs.json index 02fc5d323345b..05b6435e461e1 100644 --- a/api_docs/kbn_securitysolution_io_ts_list_types.devdocs.json +++ b/api_docs/kbn_securitysolution_io_ts_list_types.devdocs.json @@ -27,7 +27,7 @@ "label": "updateExceptionListItemValidate", "description": [], "signature": [ - "(schema: { description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; name: string; type: \"simple\"; } & { _version?: string | undefined; comments?: ({ comment: string; } & { id?: string | undefined; })[] | undefined; id?: string | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }) => string[]" + "(schema: { description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; name: string; type: \"simple\"; } & { _version?: string | undefined; comments?: ({ comment: string; } & { id?: string | undefined; })[] | undefined; id?: string | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }) => string[]" ], "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/update_exception_list_item_validation/index.ts", "deprecated": false, @@ -41,7 +41,7 @@ "label": "schema", "description": [], "signature": [ - "{ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; name: string; type: \"simple\"; } & { _version?: string | undefined; comments?: ({ comment: string; } & { id?: string | undefined; })[] | undefined; id?: string | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }" + "{ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; name: string; type: \"simple\"; } & { _version?: string | undefined; comments?: ({ comment: string; } & { id?: string | undefined; })[] | undefined; id?: string | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }" ], "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/update_exception_list_item_validation/index.ts", "deprecated": false, @@ -60,7 +60,7 @@ "label": "validateComments", "description": [], "signature": [ - "(item: { description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; name: string; type: \"simple\"; } & { _version?: string | undefined; comments?: ({ comment: string; } & { id?: string | undefined; })[] | undefined; id?: string | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }) => string[]" + "(item: { description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; name: string; type: \"simple\"; } & { _version?: string | undefined; comments?: ({ comment: string; } & { id?: string | undefined; })[] | undefined; id?: string | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }) => string[]" ], "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/update_exception_list_item_validation/index.ts", "deprecated": false, @@ -74,7 +74,7 @@ "label": "item", "description": [], "signature": [ - "{ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; name: string; type: \"simple\"; } & { _version?: string | undefined; comments?: ({ comment: string; } & { id?: string | undefined; })[] | undefined; id?: string | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }" + "{ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; name: string; type: \"simple\"; } & { _version?: string | undefined; comments?: ({ comment: string; } & { id?: string | undefined; })[] | undefined; id?: string | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }" ], "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/update_exception_list_item_validation/index.ts", "deprecated": false, @@ -162,7 +162,7 @@ "label": "listItem", "description": [], "signature": [ - "{ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; list_id: string; name: string; type: \"simple\"; } & { comments?: { comment: string; }[] | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }" + "{ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; list_id: string; name: string; type: \"simple\"; } & { comments?: { comment: string; }[] | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }" ], "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", "deprecated": false, @@ -697,7 +697,7 @@ "label": "exceptions", "description": [], "signature": [ - "(({ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; list_id: string; name: string; type: \"simple\"; } & { comments?: { comment: string; }[] | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }) | { _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; })[]" + "({ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; } | ({ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; list_id: string; name: string; type: \"simple\"; } & { comments?: { comment: string; }[] | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }))[]" ], "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", "deprecated": false, @@ -744,7 +744,13 @@ "description": [], "signature": [ "(arg: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, ") => void" ], "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", @@ -759,7 +765,13 @@ "label": "arg", "description": [], "signature": [ - "Filter" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } ], "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", "deprecated": false, @@ -855,7 +867,13 @@ "description": [], "signature": [ "(arg: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, ") => void" ], "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", @@ -870,7 +888,13 @@ "label": "arg", "description": [], "signature": [ - "Filter" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } ], "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", "deprecated": false, @@ -1104,9 +1128,21 @@ "description": [], "signature": [ "{ $state?: { store: ", - "FilterStateStore", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, "; } | undefined; meta: ", - "FilterMeta", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, "; query?: Record | undefined; }" ], "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", @@ -1525,7 +1561,7 @@ "label": "exceptions", "description": [], "signature": [ - "(({ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; list_id: string; name: string; type: \"simple\"; } & { comments?: { comment: string; }[] | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }) | { _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; })[]" + "({ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; } | ({ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; list_id: string; name: string; type: \"simple\"; } & { comments?: { comment: string; }[] | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }))[]" ], "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", "deprecated": false, @@ -1747,7 +1783,7 @@ "label": "listItem", "description": [], "signature": [ - "{ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; name: string; type: \"simple\"; } & { _version?: string | undefined; comments?: ({ comment: string; } & { id?: string | undefined; })[] | undefined; id?: string | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }" + "{ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; name: string; type: \"simple\"; } & { _version?: string | undefined; comments?: ({ comment: string; } & { id?: string | undefined; })[] | undefined; id?: string | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }" ], "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", "deprecated": false, @@ -1845,7 +1881,7 @@ "label": "exceptions", "description": [], "signature": [ - "{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }[]" + "{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }[]" ], "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", "deprecated": false, @@ -2475,7 +2511,7 @@ "label": "CreateEndpointListItemSchemaDecoded", "description": [], "signature": [ - "Omit<{ description: string; entries: ({ field: string; operator: \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; })[]; name: string; type: \"simple\"; comments: { comment: string; }[] | undefined; item_id: string | undefined; meta: object | undefined; os_types: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags: string[] | undefined; }, \"tags\" | \"entries\" | \"comments\" | \"item_id\" | \"os_types\"> & { comments: { comment: string; }[]; tags: string[]; item_id: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; os_types: (\"windows\" | \"linux\" | \"macos\")[]; }" + "Omit<{ description: string; entries: ({ field: string; operator: \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; })[]; name: string; type: \"simple\"; comments: { comment: string; }[] | undefined; item_id: string | undefined; meta: object | undefined; os_types: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags: string[] | undefined; }, \"tags\" | \"entries\" | \"comments\" | \"item_id\" | \"os_types\"> & { comments: { comment: string; }[]; tags: string[]; item_id: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; os_types: (\"windows\" | \"linux\" | \"macos\")[]; }" ], "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/create_endpoint_list_item_schema/index.ts", "deprecated": false, @@ -2505,7 +2541,7 @@ "label": "CreateExceptionListItemSchema", "description": [], "signature": [ - "{ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; list_id: string; name: string; type: \"simple\"; } & { comments?: { comment: string; }[] | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }" + "{ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; list_id: string; name: string; type: \"simple\"; } & { comments?: { comment: string; }[] | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }" ], "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/create_exception_list_item_schema/index.ts", "deprecated": false, @@ -2520,7 +2556,7 @@ "label": "CreateExceptionListItemSchemaDecoded", "description": [], "signature": [ - "Omit<{ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; list_id: string; name: string; type: \"simple\"; comments: { comment: string; }[] | undefined; item_id: string | undefined; meta: object | undefined; namespace_type: \"single\" | \"agnostic\" | undefined; os_types: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags: string[] | undefined; }, \"tags\" | \"entries\" | \"comments\" | \"item_id\" | \"namespace_type\"> & { comments: { comment: string; }[]; tags: string[]; item_id: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; }" + "Omit<{ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; list_id: string; name: string; type: \"simple\"; comments: { comment: string; }[] | undefined; item_id: string | undefined; meta: object | undefined; namespace_type: \"single\" | \"agnostic\" | undefined; os_types: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags: string[] | undefined; }, \"tags\" | \"entries\" | \"comments\" | \"item_id\" | \"namespace_type\"> & { comments: { comment: string; }[]; tags: string[]; item_id: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; }" ], "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/create_exception_list_item_schema/index.ts", "deprecated": false, @@ -2625,7 +2661,7 @@ "label": "CreateRuleExceptionListItemSchema", "description": [], "signature": [ - "{ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; name: string; type: \"simple\"; } & { comments?: { comment: string; }[] | undefined; item_id?: string | undefined; list_id?: undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }" + "{ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; name: string; type: \"simple\"; } & { comments?: { comment: string; }[] | undefined; item_id?: string | undefined; list_id?: undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }" ], "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/create_rule_exception_item_schema/index.ts", "deprecated": false, @@ -2640,7 +2676,7 @@ "label": "CreateRuleExceptionListItemSchemaDecoded", "description": [], "signature": [ - "Omit<{ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; name: string; type: \"simple\"; comments: { comment: string; }[] | undefined; item_id: string | undefined; list_id: undefined; meta: object | undefined; namespace_type: \"single\" | \"agnostic\" | undefined; os_types: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags: string[] | undefined; }, \"tags\" | \"entries\" | \"comments\" | \"item_id\" | \"namespace_type\"> & { comments: { comment: string; }[]; tags: string[]; item_id: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; }" + "Omit<{ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; name: string; type: \"simple\"; comments: { comment: string; }[] | undefined; item_id: string | undefined; list_id: undefined; meta: object | undefined; namespace_type: \"single\" | \"agnostic\" | undefined; os_types: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags: string[] | undefined; }, \"tags\" | \"entries\" | \"comments\" | \"item_id\" | \"namespace_type\"> & { comments: { comment: string; }[]; tags: string[]; item_id: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; }" ], "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/create_rule_exception_item_schema/index.ts", "deprecated": false, @@ -2955,7 +2991,7 @@ "label": "EntriesArray", "description": [], "signature": [ - "({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]" + "({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]" ], "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/entries/index.ts", "deprecated": false, @@ -2970,7 +3006,7 @@ "label": "EntriesArrayOrUndefined", "description": [], "signature": [ - "({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[] | undefined" + "({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[] | undefined" ], "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/entries/index.ts", "deprecated": false, @@ -3105,7 +3141,7 @@ "label": "ExceptionListItemSchema", "description": [], "signature": [ - "{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }" + "{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }" ], "path": "packages/kbn-securitysolution-io-ts-list-types/src/response/exception_list_item_schema/index.ts", "deprecated": false, @@ -3465,7 +3501,7 @@ "label": "FoundExceptionListItemSchema", "description": [], "signature": [ - "{ data: { _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }[]; page: number; per_page: number; total: number; } & { pit?: string | undefined; }" + "{ data: { _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }[]; page: number; per_page: number; total: number; } & { pit?: string | undefined; }" ], "path": "packages/kbn-securitysolution-io-ts-list-types/src/response/found_exception_list_item_schema/index.ts", "deprecated": false, @@ -3540,7 +3576,7 @@ "label": "GetExceptionFilterSchema", "description": [], "signature": [ - "({ exception_list_ids: { exception_list_id: string; namespace_type: \"single\" | \"agnostic\"; }[]; type: \"exception_list_ids\"; } | { exceptions: (({ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; list_id: string; name: string; type: \"simple\"; } & { comments?: { comment: string; }[] | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }) | { _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; })[]; type: \"exception_items\"; }) & { alias?: string | undefined; chunk_size?: number | undefined; exclude_exceptions?: boolean | undefined; }" + "({ exception_list_ids: { exception_list_id: string; namespace_type: \"single\" | \"agnostic\"; }[]; type: \"exception_list_ids\"; } | { exceptions: ({ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; } | ({ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; list_id: string; name: string; type: \"simple\"; } & { comments?: { comment: string; }[] | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }))[]; type: \"exception_items\"; }) & { alias?: string | undefined; chunk_size?: number | undefined; exclude_exceptions?: boolean | undefined; }" ], "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/get_exception_filter_schema/index.ts", "deprecated": false, @@ -3660,7 +3696,7 @@ "label": "ImportExceptionListItemSchema", "description": [], "signature": [ - "{ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; item_id: string; list_id: string; name: string; type: \"simple\"; } & { id?: string | undefined; comments?: (({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; }) | { comment: string; })[] | undefined; created_at?: string | undefined; updated_at?: string | undefined; created_by?: string | undefined; updated_by?: string | undefined; _version?: string | undefined; tie_breaker_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }" + "{ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; item_id: string; list_id: string; name: string; type: \"simple\"; } & { id?: string | undefined; comments?: (({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; }) | { comment: string; })[] | undefined; created_at?: string | undefined; updated_at?: string | undefined; created_by?: string | undefined; updated_by?: string | undefined; _version?: string | undefined; tie_breaker_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }" ], "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/import_exception_item_schema/index.ts", "deprecated": false, @@ -3675,7 +3711,7 @@ "label": "ImportExceptionListItemSchemaDecoded", "description": [], "signature": [ - "Omit<{ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; item_id: string; list_id: string; name: string; type: \"simple\"; } & { id?: string | undefined; comments?: (({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; }) | { comment: string; })[] | undefined; created_at?: string | undefined; updated_at?: string | undefined; created_by?: string | undefined; updated_by?: string | undefined; _version?: string | undefined; tie_breaker_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }, \"tags\" | \"entries\" | \"comments\" | \"item_id\" | \"namespace_type\"> & { comments: (({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; }) | { comment: string; })[]; tags: string[]; item_id: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; }" + "Omit<{ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; item_id: string; list_id: string; name: string; type: \"simple\"; } & { id?: string | undefined; comments?: (({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; }) | { comment: string; })[] | undefined; created_at?: string | undefined; updated_at?: string | undefined; created_by?: string | undefined; updated_by?: string | undefined; _version?: string | undefined; tie_breaker_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }, \"tags\" | \"entries\" | \"comments\" | \"item_id\" | \"namespace_type\"> & { comments: (({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; }) | { comment: string; })[]; tags: string[]; item_id: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; }" ], "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/import_exception_item_schema/index.ts", "deprecated": false, @@ -4230,7 +4266,7 @@ "label": "NonEmptyEntriesArray", "description": [], "signature": [ - "({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]" + "({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]" ], "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/non_empty_entries_array/index.ts", "deprecated": false, @@ -4245,7 +4281,7 @@ "label": "NonEmptyEntriesArrayDecoded", "description": [], "signature": [ - "({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]" + "({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]" ], "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/non_empty_entries_array/index.ts", "deprecated": false, @@ -4935,7 +4971,7 @@ "label": "UpdateEndpointListItemSchema", "description": [], "signature": [ - "{ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; name: string; type: \"simple\"; } & { _version?: string | undefined; comments?: ({ comment: string; } & { id?: string | undefined; })[] | undefined; id?: string | undefined; item_id?: string | undefined; meta?: object | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }" + "{ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; name: string; type: \"simple\"; } & { _version?: string | undefined; comments?: ({ comment: string; } & { id?: string | undefined; })[] | undefined; id?: string | undefined; item_id?: string | undefined; meta?: object | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }" ], "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/update_endpoint_list_item_schema/index.ts", "deprecated": false, @@ -4950,7 +4986,7 @@ "label": "UpdateEndpointListItemSchemaDecoded", "description": [], "signature": [ - "Omit<{ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; name: string; type: \"simple\"; _version: string | undefined; comments: ({ comment: string; } & { id?: string | undefined; })[] | undefined; id: string | undefined; item_id: string | undefined; meta: object | undefined; os_types: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags: string[] | undefined; }, \"tags\" | \"entries\" | \"comments\"> & { comments: ({ comment: string; } & { id?: string | undefined; })[]; tags: string[]; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; os_types: (\"windows\" | \"linux\" | \"macos\")[]; }" + "Omit<{ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; name: string; type: \"simple\"; _version: string | undefined; comments: ({ comment: string; } & { id?: string | undefined; })[] | undefined; id: string | undefined; item_id: string | undefined; meta: object | undefined; os_types: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags: string[] | undefined; }, \"tags\" | \"entries\" | \"comments\"> & { comments: ({ comment: string; } & { id?: string | undefined; })[]; tags: string[]; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; os_types: (\"windows\" | \"linux\" | \"macos\")[]; }" ], "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/update_endpoint_list_item_schema/index.ts", "deprecated": false, @@ -4965,7 +5001,7 @@ "label": "UpdateExceptionListItemSchema", "description": [], "signature": [ - "{ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; name: string; type: \"simple\"; } & { _version?: string | undefined; comments?: ({ comment: string; } & { id?: string | undefined; })[] | undefined; id?: string | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }" + "{ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; name: string; type: \"simple\"; } & { _version?: string | undefined; comments?: ({ comment: string; } & { id?: string | undefined; })[] | undefined; id?: string | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }" ], "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/update_exception_list_item_schema/index.ts", "deprecated": false, @@ -4980,7 +5016,7 @@ "label": "UpdateExceptionListItemSchemaDecoded", "description": [], "signature": [ - "Omit<{ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; name: string; type: \"simple\"; _version: string | undefined; comments: ({ comment: string; } & { id?: string | undefined; })[] | undefined; id: string | undefined; item_id: string | undefined; meta: object | undefined; namespace_type: \"single\" | \"agnostic\" | undefined; os_types: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags: string[] | undefined; }, \"tags\" | \"entries\" | \"comments\" | \"namespace_type\" | \"os_types\"> & { comments: ({ comment: string; } & { id?: string | undefined; })[]; tags: string[]; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; }" + "Omit<{ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; name: string; type: \"simple\"; _version: string | undefined; comments: ({ comment: string; } & { id?: string | undefined; })[] | undefined; id: string | undefined; item_id: string | undefined; meta: object | undefined; namespace_type: \"single\" | \"agnostic\" | undefined; os_types: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags: string[] | undefined; }, \"tags\" | \"entries\" | \"comments\" | \"namespace_type\" | \"os_types\"> & { comments: ({ comment: string; } & { id?: string | undefined; })[]; tags: string[]; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; }" ], "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/update_exception_list_item_schema/index.ts", "deprecated": false, @@ -5535,7 +5571,7 @@ "StringC", "; entries: ", "Type", - "<({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[], ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[], unknown>; list_id: ", + "<({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[], ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[], unknown>; list_id: ", "Type", "; name: ", "StringC", @@ -5703,7 +5739,7 @@ "StringC", "; entries: ", "Type", - "<({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[], ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[], unknown>; name: ", + "<({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[], ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[], unknown>; name: ", "StringC", "; type: ", "KeyofC", @@ -7110,7 +7146,7 @@ "StringC", "; entries: ", "Type", - "<({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[], ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[], unknown>; list_id: ", + "<({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[], ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[], unknown>; list_id: ", "Type", "; name: ", "StringC", @@ -7392,9 +7428,21 @@ "<{ filter: ", "StringC", "; page: ", - "StringToPositiveNumberC", + { + "pluginId": "@kbn/securitysolution-io-ts-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsTypesPluginApi", + "section": "def-common.StringToPositiveNumberC", + "text": "StringToPositiveNumberC" + }, "; per_page: ", - "StringToPositiveNumberC", + { + "pluginId": "@kbn/securitysolution-io-ts-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsTypesPluginApi", + "section": "def-common.StringToPositiveNumberC", + "text": "StringToPositiveNumberC" + }, "; sort_field: ", "StringC", "; sort_order: ", @@ -7430,9 +7478,21 @@ "; namespace_type: ", "Type", "<(\"single\" | \"agnostic\")[], string | null | undefined, unknown>; page: ", - "StringToPositiveNumberC", + { + "pluginId": "@kbn/securitysolution-io-ts-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsTypesPluginApi", + "section": "def-common.StringToPositiveNumberC", + "text": "StringToPositiveNumberC" + }, "; per_page: ", - "StringToPositiveNumberC", + { + "pluginId": "@kbn/securitysolution-io-ts-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsTypesPluginApi", + "section": "def-common.StringToPositiveNumberC", + "text": "StringToPositiveNumberC" + }, "; search: ", "StringC", "; sort_field: ", @@ -7462,9 +7522,21 @@ "; namespace_type: ", "Type", "<(\"single\" | \"agnostic\")[], string | null | undefined, unknown>; page: ", - "StringToPositiveNumberC", + { + "pluginId": "@kbn/securitysolution-io-ts-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsTypesPluginApi", + "section": "def-common.StringToPositiveNumberC", + "text": "StringToPositiveNumberC" + }, "; per_page: ", - "StringToPositiveNumberC", + { + "pluginId": "@kbn/securitysolution-io-ts-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsTypesPluginApi", + "section": "def-common.StringToPositiveNumberC", + "text": "StringToPositiveNumberC" + }, "; sort_field: ", "StringC", "; sort_order: ", @@ -7500,9 +7572,21 @@ "; filter: ", "StringC", "; page: ", - "StringToPositiveNumberC", + { + "pluginId": "@kbn/securitysolution-io-ts-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsTypesPluginApi", + "section": "def-common.StringToPositiveNumberC", + "text": "StringToPositiveNumberC" + }, "; per_page: ", - "StringToPositiveNumberC", + { + "pluginId": "@kbn/securitysolution-io-ts-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsTypesPluginApi", + "section": "def-common.StringToPositiveNumberC", + "text": "StringToPositiveNumberC" + }, "; sort_field: ", "StringC", "; sort_order: ", @@ -7530,9 +7614,21 @@ "; filter: ", "StringC", "; page: ", - "StringToPositiveNumberC", + { + "pluginId": "@kbn/securitysolution-io-ts-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsTypesPluginApi", + "section": "def-common.StringToPositiveNumberC", + "text": "StringToPositiveNumberC" + }, "; per_page: ", - "StringToPositiveNumberC", + { + "pluginId": "@kbn/securitysolution-io-ts-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsTypesPluginApi", + "section": "def-common.StringToPositiveNumberC", + "text": "StringToPositiveNumberC" + }, "; sort_field: ", "StringC", "; sort_order: ", @@ -8319,7 +8415,7 @@ "StringC", "; entries: ", "Type", - "<({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[], ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[], unknown>; list_id: ", + "<({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[], ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[], unknown>; list_id: ", "Type", "; name: ", "StringC", @@ -8606,7 +8702,7 @@ "StringC", "; entries: ", "Type", - "<({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[], ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[], unknown>; item_id: ", + "<({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[], ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[], unknown>; item_id: ", "Type", "; list_id: ", "Type", @@ -9646,7 +9742,7 @@ ], "signature": [ "Type", - "<({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[], ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[], unknown>" + "<({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[], ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[], unknown>" ], "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/non_empty_entries_array/index.ts", "deprecated": false, @@ -10656,7 +10752,7 @@ "StringC", "; entries: ", "Type", - "<({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[], ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[], unknown>; name: ", + "<({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[], ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[], unknown>; name: ", "StringC", "; type: ", "KeyofC", @@ -10710,7 +10806,7 @@ "StringC", "; entries: ", "Type", - "<({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[], ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[], unknown>; name: ", + "<({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[], ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[], unknown>; name: ", "StringC", "; type: ", "KeyofC", diff --git a/api_docs/kbn_securitysolution_io_ts_list_types.mdx b/api_docs/kbn_securitysolution_io_ts_list_types.mdx index 6bf6b8095915d..73f6e6232c301 100644 --- a/api_docs/kbn_securitysolution_io_ts_list_types.mdx +++ b/api_docs/kbn_securitysolution_io_ts_list_types.mdx @@ -8,7 +8,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 description: API docs for the @kbn/securitysolution-io-ts-list-types plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-io-ts-list-types'] --- import kbnSecuritysolutionIoTsListTypesObj from './kbn_securitysolution_io_ts_list_types.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_io_ts_types.mdx b/api_docs/kbn_securitysolution_io_ts_types.mdx index 0822f2f2fc770..8957d0967be75 100644 --- a/api_docs/kbn_securitysolution_io_ts_types.mdx +++ b/api_docs/kbn_securitysolution_io_ts_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-io-ts-types title: "@kbn/securitysolution-io-ts-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-io-ts-types plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-io-ts-types'] --- import kbnSecuritysolutionIoTsTypesObj from './kbn_securitysolution_io_ts_types.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_io_ts_utils.mdx b/api_docs/kbn_securitysolution_io_ts_utils.mdx index 53303f21289a7..45b6db3f0a4c1 100644 --- a/api_docs/kbn_securitysolution_io_ts_utils.mdx +++ b/api_docs/kbn_securitysolution_io_ts_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-io-ts-utils title: "@kbn/securitysolution-io-ts-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-io-ts-utils plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-io-ts-utils'] --- import kbnSecuritysolutionIoTsUtilsObj from './kbn_securitysolution_io_ts_utils.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_list_api.devdocs.json b/api_docs/kbn_securitysolution_list_api.devdocs.json index 00e1b747be030..4d4136d67c60d 100644 --- a/api_docs/kbn_securitysolution_list_api.devdocs.json +++ b/api_docs/kbn_securitysolution_list_api.devdocs.json @@ -28,7 +28,13 @@ "description": [], "signature": [ "({ http, signal, }: ", - "AddEndpointExceptionListProps", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.AddEndpointExceptionListProps", + "text": "AddEndpointExceptionListProps" + }, ") => Promise<{ _version: string | undefined; created_at: string; created_by: string; description: string; id: string; immutable: boolean; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"endpoint\" | \"detection\" | \"rule_default\" | \"endpoint_trusted_apps\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\" | \"endpoint_blocklists\"; updated_at: string; updated_by: string; version: number; } | {}>" ], "path": "packages/kbn-securitysolution-list-api/src/api/index.ts", @@ -43,7 +49,13 @@ "label": "{\n http,\n signal,\n}", "description": [], "signature": [ - "AddEndpointExceptionListProps" + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.AddEndpointExceptionListProps", + "text": "AddEndpointExceptionListProps" + } ], "path": "packages/kbn-securitysolution-list-api/src/api/index.ts", "deprecated": false, @@ -63,8 +75,14 @@ "description": [], "signature": [ "({ http, listItem, signal, }: ", - "AddExceptionListItemProps", - ") => Promise<{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }>" + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.AddExceptionListItemProps", + "text": "AddExceptionListItemProps" + }, + ") => Promise<{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }>" ], "path": "packages/kbn-securitysolution-list-api/src/api/index.ts", "deprecated": false, @@ -78,7 +96,13 @@ "label": "{\n http,\n listItem,\n signal,\n}", "description": [], "signature": [ - "AddExceptionListItemProps" + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.AddExceptionListItemProps", + "text": "AddExceptionListItemProps" + } ], "path": "packages/kbn-securitysolution-list-api/src/api/index.ts", "deprecated": false, @@ -98,7 +122,13 @@ "description": [], "signature": [ "({ http, list, signal, }: ", - "AddExceptionListProps", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.AddExceptionListProps", + "text": "AddExceptionListProps" + }, ") => Promise<{ _version: string | undefined; created_at: string; created_by: string; description: string; id: string; immutable: boolean; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"endpoint\" | \"detection\" | \"rule_default\" | \"endpoint_trusted_apps\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\" | \"endpoint_blocklists\"; updated_at: string; updated_by: string; version: number; }>" ], "path": "packages/kbn-securitysolution-list-api/src/api/index.ts", @@ -113,7 +143,13 @@ "label": "{\n http,\n list,\n signal,\n}", "description": [], "signature": [ - "AddExceptionListProps" + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.AddExceptionListProps", + "text": "AddExceptionListProps" + } ], "path": "packages/kbn-securitysolution-list-api/src/api/index.ts", "deprecated": false, @@ -180,7 +216,13 @@ "description": [], "signature": [ "({ http, id, namespaceType, signal, }: ", - "ApiCallByIdProps", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ApiCallByIdProps", + "text": "ApiCallByIdProps" + }, ") => Promise<{ _version: string | undefined; created_at: string; created_by: string; description: string; id: string; immutable: boolean; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"endpoint\" | \"detection\" | \"rule_default\" | \"endpoint_trusted_apps\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\" | \"endpoint_blocklists\"; updated_at: string; updated_by: string; version: number; }>" ], "path": "packages/kbn-securitysolution-list-api/src/api/index.ts", @@ -195,7 +237,13 @@ "label": "{\n http,\n id,\n namespaceType,\n signal,\n}", "description": [], "signature": [ - "ApiCallByIdProps" + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ApiCallByIdProps", + "text": "ApiCallByIdProps" + } ], "path": "packages/kbn-securitysolution-list-api/src/api/index.ts", "deprecated": false, @@ -215,8 +263,14 @@ "description": [], "signature": [ "({ http, id, namespaceType, signal, }: ", - "ApiCallByIdProps", - ") => Promise<{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }>" + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ApiCallByIdProps", + "text": "ApiCallByIdProps" + }, + ") => Promise<{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }>" ], "path": "packages/kbn-securitysolution-list-api/src/api/index.ts", "deprecated": false, @@ -230,7 +284,13 @@ "label": "{\n http,\n id,\n namespaceType,\n signal,\n}", "description": [], "signature": [ - "ApiCallByIdProps" + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ApiCallByIdProps", + "text": "ApiCallByIdProps" + } ], "path": "packages/kbn-securitysolution-list-api/src/api/index.ts", "deprecated": false, @@ -301,7 +361,13 @@ ], "signature": [ "({ http, id, listId, namespaceType, signal, }: ", - "ExportExceptionListProps", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ExportExceptionListProps", + "text": "ExportExceptionListProps" + }, ") => Promise" ], "path": "packages/kbn-securitysolution-list-api/src/api/index.ts", @@ -316,7 +382,13 @@ "label": "{\n http,\n id,\n listId,\n namespaceType,\n signal,\n}", "description": [], "signature": [ - "ExportExceptionListProps" + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ExportExceptionListProps", + "text": "ExportExceptionListProps" + } ], "path": "packages/kbn-securitysolution-list-api/src/api/index.ts", "deprecated": false, @@ -383,7 +455,13 @@ "description": [], "signature": [ "({ http, id, namespaceType, signal, }: ", - "ApiCallByIdProps", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ApiCallByIdProps", + "text": "ApiCallByIdProps" + }, ") => Promise<{ _version: string | undefined; created_at: string; created_by: string; description: string; id: string; immutable: boolean; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"endpoint\" | \"detection\" | \"rule_default\" | \"endpoint_trusted_apps\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\" | \"endpoint_blocklists\"; updated_at: string; updated_by: string; version: number; }>" ], "path": "packages/kbn-securitysolution-list-api/src/api/index.ts", @@ -398,7 +476,13 @@ "label": "{\n http,\n id,\n namespaceType,\n signal,\n}", "description": [], "signature": [ - "ApiCallByIdProps" + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ApiCallByIdProps", + "text": "ApiCallByIdProps" + } ], "path": "packages/kbn-securitysolution-list-api/src/api/index.ts", "deprecated": false, @@ -418,8 +502,14 @@ "description": [], "signature": [ "({ http, id, namespaceType, signal, }: ", - "ApiCallByIdProps", - ") => Promise<{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }>" + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ApiCallByIdProps", + "text": "ApiCallByIdProps" + }, + ") => Promise<{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }>" ], "path": "packages/kbn-securitysolution-list-api/src/api/index.ts", "deprecated": false, @@ -433,7 +523,13 @@ "label": "{\n http,\n id,\n namespaceType,\n signal,\n}", "description": [], "signature": [ - "ApiCallByIdProps" + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ApiCallByIdProps", + "text": "ApiCallByIdProps" + } ], "path": "packages/kbn-securitysolution-list-api/src/api/index.ts", "deprecated": false, @@ -453,8 +549,14 @@ "description": [], "signature": [ "({ filter, http, listIds, namespaceTypes, pagination, search, signal, }: ", - "ApiCallByListIdProps", - ") => Promise<{ data: { _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }[]; page: number; per_page: number; total: number; } & { pit?: string | undefined; }>" + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ApiCallByListIdProps", + "text": "ApiCallByListIdProps" + }, + ") => Promise<{ data: { _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }[]; page: number; per_page: number; total: number; } & { pit?: string | undefined; }>" ], "path": "packages/kbn-securitysolution-list-api/src/api/index.ts", "deprecated": false, @@ -468,7 +570,13 @@ "label": "{\n filter,\n http,\n listIds,\n namespaceTypes,\n pagination,\n search,\n signal,\n}", "description": [], "signature": [ - "ApiCallByListIdProps" + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ApiCallByListIdProps", + "text": "ApiCallByListIdProps" + } ], "path": "packages/kbn-securitysolution-list-api/src/api/index.ts", "deprecated": false, @@ -488,7 +596,13 @@ "description": [], "signature": [ "({ filters, http, namespaceTypes, pagination, signal, }: ", - "ApiCallFetchExceptionListsProps", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ApiCallFetchExceptionListsProps", + "text": "ApiCallFetchExceptionListsProps" + }, ") => Promise<{ data: { _version: string | undefined; created_at: string; created_by: string; description: string; id: string; immutable: boolean; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"endpoint\" | \"detection\" | \"rule_default\" | \"endpoint_trusted_apps\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\" | \"endpoint_blocklists\"; updated_at: string; updated_by: string; version: number; }[]; page: number; per_page: number; total: number; } & { pit?: string | undefined; }>" ], "path": "packages/kbn-securitysolution-list-api/src/api/index.ts", @@ -503,7 +617,13 @@ "label": "{\n filters,\n http,\n namespaceTypes,\n pagination,\n signal,\n}", "description": [], "signature": [ - "ApiCallFetchExceptionListsProps" + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ApiCallFetchExceptionListsProps", + "text": "ApiCallFetchExceptionListsProps" + } ], "path": "packages/kbn-securitysolution-list-api/src/api/index.ts", "deprecated": false, @@ -621,9 +741,21 @@ ], "signature": [ "({ alias, chunkSize, exceptionListIds, excludeExceptions, http, signal, }: ", - "GetExceptionFilterFromExceptionListIdsProps", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.GetExceptionFilterFromExceptionListIdsProps", + "text": "GetExceptionFilterFromExceptionListIdsProps" + }, ") => Promise<", - "ExceptionFilterResponse", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ExceptionFilterResponse", + "text": "ExceptionFilterResponse" + }, ">" ], "path": "packages/kbn-securitysolution-list-api/src/api/index.ts", @@ -638,7 +770,13 @@ "label": "{\n alias,\n chunkSize,\n exceptionListIds,\n excludeExceptions,\n http,\n signal,\n}", "description": [], "signature": [ - "GetExceptionFilterFromExceptionListIdsProps" + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.GetExceptionFilterFromExceptionListIdsProps", + "text": "GetExceptionFilterFromExceptionListIdsProps" + } ], "path": "packages/kbn-securitysolution-list-api/src/api/index.ts", "deprecated": false, @@ -662,9 +800,21 @@ ], "signature": [ "({ exceptions, alias, excludeExceptions, http, chunkSize, signal, }: ", - "GetExceptionFilterFromExceptionsProps", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.GetExceptionFilterFromExceptionsProps", + "text": "GetExceptionFilterFromExceptionsProps" + }, ") => Promise<", - "ExceptionFilterResponse", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ExceptionFilterResponse", + "text": "ExceptionFilterResponse" + }, ">" ], "path": "packages/kbn-securitysolution-list-api/src/api/index.ts", @@ -679,7 +829,13 @@ "label": "{\n exceptions,\n alias,\n excludeExceptions,\n http,\n chunkSize,\n signal,\n}", "description": [], "signature": [ - "GetExceptionFilterFromExceptionsProps" + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.GetExceptionFilterFromExceptionsProps", + "text": "GetExceptionFilterFromExceptionsProps" + } ], "path": "packages/kbn-securitysolution-list-api/src/api/index.ts", "deprecated": false, @@ -909,8 +1065,14 @@ "description": [], "signature": [ "({ http, listItem, signal, }: ", - "UpdateExceptionListItemProps", - ") => Promise<{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }>" + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.UpdateExceptionListItemProps", + "text": "UpdateExceptionListItemProps" + }, + ") => Promise<{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }>" ], "path": "packages/kbn-securitysolution-list-api/src/api/index.ts", "deprecated": false, @@ -924,7 +1086,13 @@ "label": "{\n http,\n listItem,\n signal,\n}", "description": [], "signature": [ - "UpdateExceptionListItemProps" + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.UpdateExceptionListItemProps", + "text": "UpdateExceptionListItemProps" + } ], "path": "packages/kbn-securitysolution-list-api/src/api/index.ts", "deprecated": false, @@ -944,7 +1112,13 @@ "description": [], "signature": [ "({ http, list, signal, }: ", - "UpdateExceptionListProps", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.UpdateExceptionListProps", + "text": "UpdateExceptionListProps" + }, ") => Promise<{ _version: string | undefined; created_at: string; created_by: string; description: string; id: string; immutable: boolean; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"endpoint\" | \"detection\" | \"rule_default\" | \"endpoint_trusted_apps\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\" | \"endpoint_blocklists\"; updated_at: string; updated_by: string; version: number; }>" ], "path": "packages/kbn-securitysolution-list-api/src/api/index.ts", @@ -959,7 +1133,13 @@ "label": "{\n http,\n list,\n signal,\n}", "description": [], "signature": [ - "UpdateExceptionListProps" + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.UpdateExceptionListProps", + "text": "UpdateExceptionListProps" + } ], "path": "packages/kbn-securitysolution-list-api/src/api/index.ts", "deprecated": false, diff --git a/api_docs/kbn_securitysolution_list_api.mdx b/api_docs/kbn_securitysolution_list_api.mdx index ea197b72201b0..15b88ca6fa5b1 100644 --- a/api_docs/kbn_securitysolution_list_api.mdx +++ b/api_docs/kbn_securitysolution_list_api.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-list-api title: "@kbn/securitysolution-list-api" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-list-api plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-list-api'] --- import kbnSecuritysolutionListApiObj from './kbn_securitysolution_list_api.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_list_constants.mdx b/api_docs/kbn_securitysolution_list_constants.mdx index 40b5e081ccc33..313adb7c3e6a3 100644 --- a/api_docs/kbn_securitysolution_list_constants.mdx +++ b/api_docs/kbn_securitysolution_list_constants.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-list-constants title: "@kbn/securitysolution-list-constants" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-list-constants plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-list-constants'] --- import kbnSecuritysolutionListConstantsObj from './kbn_securitysolution_list_constants.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_list_hooks.devdocs.json b/api_docs/kbn_securitysolution_list_hooks.devdocs.json index 0584759561cde..67eade2f7b66f 100644 --- a/api_docs/kbn_securitysolution_list_hooks.devdocs.json +++ b/api_docs/kbn_securitysolution_list_hooks.devdocs.json @@ -29,7 +29,7 @@ "\nThis adds an id to the incoming exception item entries as ReactJS prefers to have\nan id added to them for use as a stable id. Later if we decide to change the data\nmodel to have id's within the array then this code should be removed. If not, then\nthis code should stay as an adapter for ReactJS.\n\nThis does break the type system slightly as we are lying a bit to the type system as we return\nthe same exceptionItem as we have previously but are augmenting the arrays with an id which TypeScript\ndoesn't mind us doing here. However, downstream you will notice that you have an id when the type\ndoes not indicate it. In that case use (ExceptionItem & { id: string }) temporarily if you're using the id. If you're not,\nyou can ignore the id and just use the normal TypeScript with ReactJS.\n" ], "signature": [ - "(exceptionItem: { _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }) => { _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }" + "(exceptionItem: { _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }) => { _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }" ], "path": "packages/kbn-securitysolution-list-hooks/src/transforms/index.ts", "deprecated": false, @@ -45,7 +45,7 @@ "The exceptionItem to add an id to the threat matches." ], "signature": [ - "{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }" + "{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }" ], "path": "packages/kbn-securitysolution-list-hooks/src/transforms/index.ts", "deprecated": false, @@ -68,7 +68,7 @@ "\nThis removes an id from the exceptionItem entries as ReactJS prefers to have\nan id added to them for use as a stable id. Later if we decide to change the data\nmodel to have id's within the array then this code should be removed. If not, then\nthis code should stay as an adapter for ReactJS.\n" ], "signature": [ - "(exceptionItem: T) => T" + "(exceptionItem: T) => T" ], "path": "packages/kbn-securitysolution-list-hooks/src/transforms/index.ts", "deprecated": false, @@ -107,7 +107,7 @@ "\nTransforms the output of rules to compensate for technical debt or UI concerns such as\nReactJS preferences for having ids within arrays if the data is not modeled that way.\n\nIf you add a new transform of the input called \"myNewTransform\" do it\nin the form of:\nflow(addIdToExceptionItemEntries, myNewTransform)(exceptionItem)\n" ], "signature": [ - "(exceptionItem: { _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }) => { _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }" + "(exceptionItem: { _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }) => { _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }" ], "path": "packages/kbn-securitysolution-list-hooks/src/transforms/index.ts", "deprecated": false, @@ -123,7 +123,7 @@ "The exceptionItem to transform the output of" ], "signature": [ - "{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }" + "{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }" ], "path": "packages/kbn-securitysolution-list-hooks/src/transforms/index.ts", "deprecated": false, @@ -144,7 +144,7 @@ "label": "transformNewItemOutput", "description": [], "signature": [ - "(exceptionItem: { description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; })[]; list_id: string; name: string; type: \"simple\"; } & { comments?: { comment: string; }[] | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }) => { description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; })[]; list_id: string; name: string; type: \"simple\"; } & { comments?: { comment: string; }[] | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }" + "(exceptionItem: { description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; list_id: string; name: string; type: \"simple\"; } & { comments?: { comment: string; }[] | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }) => { description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; list_id: string; name: string; type: \"simple\"; } & { comments?: { comment: string; }[] | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }" ], "path": "packages/kbn-securitysolution-list-hooks/src/transforms/index.ts", "deprecated": false, @@ -158,7 +158,7 @@ "label": "exceptionItem", "description": [], "signature": [ - "{ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; })[]; list_id: string; name: string; type: \"simple\"; } & { comments?: { comment: string; }[] | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }" + "{ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; list_id: string; name: string; type: \"simple\"; } & { comments?: { comment: string; }[] | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }" ], "path": "packages/kbn-securitysolution-list-hooks/src/transforms/index.ts", "deprecated": false, @@ -179,7 +179,7 @@ "\nTransforms the output of exception items to compensate for technical debt or UI concerns such as\nReactJS preferences for having ids within arrays if the data is not modeled that way.\n\nIf you add a new transform of the output called \"myNewTransform\" do it\nin the form of:\nflow(removeIdFromExceptionItemsEntries, myNewTransform)(exceptionItem)\n" ], "signature": [ - "(exceptionItem: { _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; } | ({ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; })[]; name: string; type: \"simple\"; } & { _version?: string | undefined; comments?: ({ comment: string; } & { id?: string | undefined; })[] | undefined; id?: string | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; })) => { _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; } | ({ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; })[]; name: string; type: \"simple\"; } & { _version?: string | undefined; comments?: ({ comment: string; } & { id?: string | undefined; })[] | undefined; id?: string | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; })" + "(exceptionItem: { _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; } | ({ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; name: string; type: \"simple\"; } & { _version?: string | undefined; comments?: ({ comment: string; } & { id?: string | undefined; })[] | undefined; id?: string | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; })) => { _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; } | ({ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; name: string; type: \"simple\"; } & { _version?: string | undefined; comments?: ({ comment: string; } & { id?: string | undefined; })[] | undefined; id?: string | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; })" ], "path": "packages/kbn-securitysolution-list-hooks/src/transforms/index.ts", "deprecated": false, @@ -195,7 +195,7 @@ "The exceptionItem to transform the output of" ], "signature": [ - "{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; } | ({ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; })[]; name: string; type: \"simple\"; } & { _version?: string | undefined; comments?: ({ comment: string; } & { id?: string | undefined; })[] | undefined; id?: string | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; })" + "{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; } | ({ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; name: string; type: \"simple\"; } & { _version?: string | undefined; comments?: ({ comment: string; } & { id?: string | undefined; })[] | undefined; id?: string | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; })" ], "path": "packages/kbn-securitysolution-list-hooks/src/transforms/index.ts", "deprecated": false, @@ -257,11 +257,29 @@ "description": [], "signature": [ "() => ", - "Task", + { + "pluginId": "@kbn/securitysolution-hook-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionHookUtilsPluginApi", + "section": "def-common.Task", + "text": "Task" + }, "<[args: ", - "OptionalSignalArgs", + { + "pluginId": "@kbn/securitysolution-hook-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionHookUtilsPluginApi", + "section": "def-common.OptionalSignalArgs", + "text": "OptionalSignalArgs" + }, "<", - "ApiParams", + { + "pluginId": "@kbn/securitysolution-list-api", + "scope": "common", + "docId": "kibKbnSecuritysolutionListApiPluginApi", + "section": "def-common.ApiParams", + "text": "ApiParams" + }, ">], { acknowledged: boolean; }>" ], "path": "packages/kbn-securitysolution-list-hooks/src/use_create_list_index/index.ts", @@ -327,11 +345,29 @@ "description": [], "signature": [ "() => ", - "Task", + { + "pluginId": "@kbn/securitysolution-hook-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionHookUtilsPluginApi", + "section": "def-common.Task", + "text": "Task" + }, "<[args: ", - "OptionalSignalArgs", + { + "pluginId": "@kbn/securitysolution-hook-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionHookUtilsPluginApi", + "section": "def-common.OptionalSignalArgs", + "text": "OptionalSignalArgs" + }, "<", - "DeleteListParams", + { + "pluginId": "@kbn/securitysolution-list-api", + "scope": "common", + "docId": "kibKbnSecuritysolutionListApiPluginApi", + "section": "def-common.DeleteListParams", + "text": "DeleteListParams" + }, ">], { _version: string | undefined; created_at: string; created_by: string; description: string; deserializer: string | undefined; id: string; immutable: boolean; meta: object | undefined; name: string; serializer: string | undefined; tie_breaker_id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; updated_at: string; updated_by: string; version: number; }>" ], "path": "packages/kbn-securitysolution-list-hooks/src/use_delete_list/index.ts", @@ -352,7 +388,13 @@ ], "signature": [ "({ errorMessage, http, initialPagination, filterOptions, namespaceTypes, notifications, hideLists, }: ", - "UseExceptionListsProps", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.UseExceptionListsProps", + "text": "UseExceptionListsProps" + }, ") => ", { "pluginId": "@kbn/securitysolution-list-hooks", @@ -374,7 +416,13 @@ "label": "{\n errorMessage,\n http,\n initialPagination = DEFAULT_PAGINATION,\n filterOptions = {},\n namespaceTypes,\n notifications,\n hideLists = [],\n}", "description": [], "signature": [ - "UseExceptionListsProps" + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.UseExceptionListsProps", + "text": "UseExceptionListsProps" + } ], "path": "packages/kbn-securitysolution-list-hooks/src/use_exception_lists/index.ts", "deprecated": false, @@ -394,11 +442,29 @@ "description": [], "signature": [ "() => ", - "Task", + { + "pluginId": "@kbn/securitysolution-hook-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionHookUtilsPluginApi", + "section": "def-common.Task", + "text": "Task" + }, "<[args: ", - "OptionalSignalArgs", + { + "pluginId": "@kbn/securitysolution-hook-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionHookUtilsPluginApi", + "section": "def-common.OptionalSignalArgs", + "text": "OptionalSignalArgs" + }, "<", - "ExportListParams", + { + "pluginId": "@kbn/securitysolution-list-api", + "scope": "common", + "docId": "kibKbnSecuritysolutionListApiPluginApi", + "section": "def-common.ExportListParams", + "text": "ExportListParams" + }, ">], Blob>" ], "path": "packages/kbn-securitysolution-list-hooks/src/use_export_list/index.ts", @@ -417,11 +483,29 @@ "description": [], "signature": [ "() => ", - "Task", + { + "pluginId": "@kbn/securitysolution-hook-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionHookUtilsPluginApi", + "section": "def-common.Task", + "text": "Task" + }, "<[args: ", - "OptionalSignalArgs", + { + "pluginId": "@kbn/securitysolution-hook-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionHookUtilsPluginApi", + "section": "def-common.OptionalSignalArgs", + "text": "OptionalSignalArgs" + }, "<", - "FindListsParams", + { + "pluginId": "@kbn/securitysolution-list-api", + "scope": "common", + "docId": "kibKbnSecuritysolutionListApiPluginApi", + "section": "def-common.FindListsParams", + "text": "FindListsParams" + }, ">], { cursor: string; data: { _version: string | undefined; created_at: string; created_by: string; description: string; deserializer: string | undefined; id: string; immutable: boolean; meta: object | undefined; name: string; serializer: string | undefined; tie_breaker_id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; updated_at: string; updated_by: string; version: number; }[]; page: number; per_page: number; total: number; }>" ], "path": "packages/kbn-securitysolution-list-hooks/src/use_find_lists/index.ts", @@ -440,11 +524,29 @@ "description": [], "signature": [ "() => ", - "Task", + { + "pluginId": "@kbn/securitysolution-hook-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionHookUtilsPluginApi", + "section": "def-common.Task", + "text": "Task" + }, "<[args: ", - "OptionalSignalArgs", + { + "pluginId": "@kbn/securitysolution-hook-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionHookUtilsPluginApi", + "section": "def-common.OptionalSignalArgs", + "text": "OptionalSignalArgs" + }, "<", - "FindListsParams", + { + "pluginId": "@kbn/securitysolution-list-api", + "scope": "common", + "docId": "kibKbnSecuritysolutionListApiPluginApi", + "section": "def-common.FindListsParams", + "text": "FindListsParams" + }, ">], { largeLists: { _version: string | undefined; created_at: string; created_by: string; description: string; deserializer: string | undefined; id: string; immutable: boolean; meta: object | undefined; name: string; serializer: string | undefined; tie_breaker_id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; updated_at: string; updated_by: string; version: number; }[]; smallLists: { _version: string | undefined; created_at: string; created_by: string; description: string; deserializer: string | undefined; id: string; immutable: boolean; meta: object | undefined; name: string; serializer: string | undefined; tie_breaker_id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; updated_at: string; updated_by: string; version: number; }[]; }>" ], "path": "packages/kbn-securitysolution-list-hooks/src/use_find_lists_by_size/index.ts", @@ -463,11 +565,29 @@ "description": [], "signature": [ "() => ", - "Task", + { + "pluginId": "@kbn/securitysolution-hook-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionHookUtilsPluginApi", + "section": "def-common.Task", + "text": "Task" + }, "<[args: ", - "OptionalSignalArgs", + { + "pluginId": "@kbn/securitysolution-hook-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionHookUtilsPluginApi", + "section": "def-common.OptionalSignalArgs", + "text": "OptionalSignalArgs" + }, "<", - "ImportListParams", + { + "pluginId": "@kbn/securitysolution-list-api", + "scope": "common", + "docId": "kibKbnSecuritysolutionListApiPluginApi", + "section": "def-common.ImportListParams", + "text": "ImportListParams" + }, ">], { _version: string | undefined; created_at: string; created_by: string; description: string; deserializer: string | undefined; id: string; immutable: boolean; meta: object | undefined; name: string; serializer: string | undefined; tie_breaker_id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; updated_at: string; updated_by: string; version: number; }>" ], "path": "packages/kbn-securitysolution-list-hooks/src/use_import_list/index.ts", @@ -488,7 +608,13 @@ ], "signature": [ "({ http, onError, }: ", - "PersistHookProps", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.PersistHookProps", + "text": "PersistHookProps" + }, ") => ", { "pluginId": "@kbn/securitysolution-list-hooks", @@ -510,7 +636,13 @@ "label": "{\n http,\n onError,\n}", "description": [], "signature": [ - "PersistHookProps" + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.PersistHookProps", + "text": "PersistHookProps" + } ], "path": "packages/kbn-securitysolution-list-hooks/src/use_persist_exception_item/index.ts", "deprecated": false, @@ -532,7 +664,13 @@ ], "signature": [ "({ http, onError, }: ", - "PersistHookProps", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.PersistHookProps", + "text": "PersistHookProps" + }, ") => ", { "pluginId": "@kbn/securitysolution-list-hooks", @@ -554,7 +692,13 @@ "label": "{\n http,\n onError,\n}", "description": [], "signature": [ - "PersistHookProps" + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.PersistHookProps", + "text": "PersistHookProps" + } ], "path": "packages/kbn-securitysolution-list-hooks/src/use_persist_exception_list/index.ts", "deprecated": false, @@ -574,11 +718,29 @@ "description": [], "signature": [ "() => ", - "Task", + { + "pluginId": "@kbn/securitysolution-hook-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionHookUtilsPluginApi", + "section": "def-common.Task", + "text": "Task" + }, "<[args: ", - "OptionalSignalArgs", + { + "pluginId": "@kbn/securitysolution-hook-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionHookUtilsPluginApi", + "section": "def-common.OptionalSignalArgs", + "text": "OptionalSignalArgs" + }, "<", - "ApiParams", + { + "pluginId": "@kbn/securitysolution-list-api", + "scope": "common", + "docId": "kibKbnSecuritysolutionListApiPluginApi", + "section": "def-common.ApiParams", + "text": "ApiParams" + }, ">], { list_index: boolean; list_item_index: boolean; }>" ], "path": "packages/kbn-securitysolution-list-hooks/src/use_read_list_index/index.ts", @@ -597,11 +759,29 @@ "description": [], "signature": [ "() => ", - "Task", + { + "pluginId": "@kbn/securitysolution-hook-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionHookUtilsPluginApi", + "section": "def-common.Task", + "text": "Task" + }, "<[args: ", - "OptionalSignalArgs", + { + "pluginId": "@kbn/securitysolution-hook-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionHookUtilsPluginApi", + "section": "def-common.OptionalSignalArgs", + "text": "OptionalSignalArgs" + }, "<", - "ApiParams", + { + "pluginId": "@kbn/securitysolution-list-api", + "scope": "common", + "docId": "kibKbnSecuritysolutionListApiPluginApi", + "section": "def-common.ApiParams", + "text": "ApiParams" + }, ">], unknown>" ], "path": "packages/kbn-securitysolution-list-hooks/src/use_read_list_privileges/index.ts", @@ -632,7 +812,7 @@ "label": "addExceptionListItem", "description": [], "signature": [ - "(arg: { listItem: { description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; })[]; list_id: string; name: string; type: \"simple\"; } & { comments?: { comment: string; }[] | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }; }) => Promise<{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }>" + "(arg: { listItem: { description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; list_id: string; name: string; type: \"simple\"; } & { comments?: { comment: string; }[] | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }; }) => Promise<{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }>" ], "path": "packages/kbn-securitysolution-list-hooks/src/use_api/index.ts", "deprecated": false, @@ -657,7 +837,7 @@ "label": "listItem", "description": [], "signature": [ - "{ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; })[]; list_id: string; name: string; type: \"simple\"; } & { comments?: { comment: string; }[] | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }" + "{ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; list_id: string; name: string; type: \"simple\"; } & { comments?: { comment: string; }[] | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }" ], "path": "packages/kbn-securitysolution-list-hooks/src/use_api/index.ts", "deprecated": false, @@ -676,7 +856,7 @@ "label": "updateExceptionListItem", "description": [], "signature": [ - "(arg: { listItem: { description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; })[]; name: string; type: \"simple\"; } & { _version?: string | undefined; comments?: ({ comment: string; } & { id?: string | undefined; })[] | undefined; id?: string | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }; }) => Promise<{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }>" + "(arg: { listItem: { description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; name: string; type: \"simple\"; } & { _version?: string | undefined; comments?: ({ comment: string; } & { id?: string | undefined; })[] | undefined; id?: string | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }; }) => Promise<{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }>" ], "path": "packages/kbn-securitysolution-list-hooks/src/use_api/index.ts", "deprecated": false, @@ -701,7 +881,7 @@ "label": "listItem", "description": [], "signature": [ - "{ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; })[]; name: string; type: \"simple\"; } & { _version?: string | undefined; comments?: ({ comment: string; } & { id?: string | undefined; })[] | undefined; id?: string | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }" + "{ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; name: string; type: \"simple\"; } & { _version?: string | undefined; comments?: ({ comment: string; } & { id?: string | undefined; })[] | undefined; id?: string | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }" ], "path": "packages/kbn-securitysolution-list-hooks/src/use_api/index.ts", "deprecated": false, @@ -721,7 +901,13 @@ "description": [], "signature": [ "(arg: ", - "ApiCallMemoProps", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ApiCallMemoProps", + "text": "ApiCallMemoProps" + }, ") => Promise" ], "path": "packages/kbn-securitysolution-list-hooks/src/use_api/index.ts", @@ -736,7 +922,13 @@ "label": "arg", "description": [], "signature": [ - "ApiCallMemoProps" + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ApiCallMemoProps", + "text": "ApiCallMemoProps" + } ], "path": "packages/kbn-securitysolution-list-hooks/src/use_api/index.ts", "deprecated": false, @@ -755,7 +947,13 @@ "description": [], "signature": [ "(arg: ", - "ApiCallMemoProps", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ApiCallMemoProps", + "text": "ApiCallMemoProps" + }, ") => Promise" ], "path": "packages/kbn-securitysolution-list-hooks/src/use_api/index.ts", @@ -770,7 +968,13 @@ "label": "arg", "description": [], "signature": [ - "ApiCallMemoProps" + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ApiCallMemoProps", + "text": "ApiCallMemoProps" + } ], "path": "packages/kbn-securitysolution-list-hooks/src/use_api/index.ts", "deprecated": false, @@ -789,8 +993,14 @@ "description": [], "signature": [ "(arg: ", - "ApiCallMemoProps", - " & { onSuccess: (arg: { _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }) => void; }) => Promise" + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ApiCallMemoProps", + "text": "ApiCallMemoProps" + }, + " & { onSuccess: (arg: { _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }) => void; }) => Promise" ], "path": "packages/kbn-securitysolution-list-hooks/src/use_api/index.ts", "deprecated": false, @@ -804,8 +1014,14 @@ "label": "arg", "description": [], "signature": [ - "ApiCallMemoProps", - " & { onSuccess: (arg: { _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }) => void; }" + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ApiCallMemoProps", + "text": "ApiCallMemoProps" + }, + " & { onSuccess: (arg: { _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }) => void; }" ], "path": "packages/kbn-securitysolution-list-hooks/src/use_api/index.ts", "deprecated": false, @@ -824,7 +1040,13 @@ "description": [], "signature": [ "(arg: ", - "ApiCallMemoProps", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ApiCallMemoProps", + "text": "ApiCallMemoProps" + }, " & { onSuccess: (arg: { _version: string | undefined; created_at: string; created_by: string; description: string; id: string; immutable: boolean; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"endpoint\" | \"detection\" | \"rule_default\" | \"endpoint_trusted_apps\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\" | \"endpoint_blocklists\"; updated_at: string; updated_by: string; version: number; }) => void; }) => Promise" ], "path": "packages/kbn-securitysolution-list-hooks/src/use_api/index.ts", @@ -839,7 +1061,13 @@ "label": "arg", "description": [], "signature": [ - "ApiCallMemoProps", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ApiCallMemoProps", + "text": "ApiCallMemoProps" + }, " & { onSuccess: (arg: { _version: string | undefined; created_at: string; created_by: string; description: string; id: string; immutable: boolean; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"endpoint\" | \"detection\" | \"rule_default\" | \"endpoint_trusted_apps\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\" | \"endpoint_blocklists\"; updated_at: string; updated_by: string; version: number; }) => void; }" ], "path": "packages/kbn-securitysolution-list-hooks/src/use_api/index.ts", @@ -859,7 +1087,13 @@ "description": [], "signature": [ "(arg: ", - "ApiCallFindListsItemsMemoProps", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ApiCallFindListsItemsMemoProps", + "text": "ApiCallFindListsItemsMemoProps" + }, ") => Promise" ], "path": "packages/kbn-securitysolution-list-hooks/src/use_api/index.ts", @@ -874,7 +1108,13 @@ "label": "arg", "description": [], "signature": [ - "ApiCallFindListsItemsMemoProps" + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ApiCallFindListsItemsMemoProps", + "text": "ApiCallFindListsItemsMemoProps" + } ], "path": "packages/kbn-securitysolution-list-hooks/src/use_api/index.ts", "deprecated": false, @@ -893,7 +1133,13 @@ "description": [], "signature": [ "(arg: ", - "ApiCallGetExceptionFilterFromIdsMemoProps", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ApiCallGetExceptionFilterFromIdsMemoProps", + "text": "ApiCallGetExceptionFilterFromIdsMemoProps" + }, ") => Promise" ], "path": "packages/kbn-securitysolution-list-hooks/src/use_api/index.ts", @@ -908,7 +1154,13 @@ "label": "arg", "description": [], "signature": [ - "ApiCallGetExceptionFilterFromIdsMemoProps" + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ApiCallGetExceptionFilterFromIdsMemoProps", + "text": "ApiCallGetExceptionFilterFromIdsMemoProps" + } ], "path": "packages/kbn-securitysolution-list-hooks/src/use_api/index.ts", "deprecated": false, @@ -927,7 +1179,13 @@ "description": [], "signature": [ "(arg: ", - "ApiCallGetExceptionFilterFromExceptionsMemoProps", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ApiCallGetExceptionFilterFromExceptionsMemoProps", + "text": "ApiCallGetExceptionFilterFromExceptionsMemoProps" + }, ") => Promise" ], "path": "packages/kbn-securitysolution-list-hooks/src/use_api/index.ts", @@ -942,7 +1200,13 @@ "label": "arg", "description": [], "signature": [ - "ApiCallGetExceptionFilterFromExceptionsMemoProps" + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ApiCallGetExceptionFilterFromExceptionsMemoProps", + "text": "ApiCallGetExceptionFilterFromExceptionsMemoProps" + } ], "path": "packages/kbn-securitysolution-list-hooks/src/use_api/index.ts", "deprecated": false, @@ -961,7 +1225,13 @@ "description": [], "signature": [ "(arg: ", - "ApiListExportProps", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ApiListExportProps", + "text": "ApiListExportProps" + }, ") => Promise" ], "path": "packages/kbn-securitysolution-list-hooks/src/use_api/index.ts", @@ -976,7 +1246,13 @@ "label": "arg", "description": [], "signature": [ - "ApiListExportProps" + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ApiListExportProps", + "text": "ApiListExportProps" + } ], "path": "packages/kbn-securitysolution-list-hooks/src/use_api/index.ts", "deprecated": false, @@ -1054,9 +1330,21 @@ "description": [], "signature": [ "[loading: boolean, exceptionLists: { _version: string | undefined; created_at: string; created_by: string; description: string; id: string; immutable: boolean; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"endpoint\" | \"detection\" | \"rule_default\" | \"endpoint_trusted_apps\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\" | \"endpoint_blocklists\"; updated_at: string; updated_by: string; version: number; }[], pagination: ", - "Pagination", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.Pagination", + "text": "Pagination" + }, ", setPagination: React.Dispatch>, fetchLists: ", { "pluginId": "@kbn/securitysolution-list-hooks", @@ -1080,7 +1368,7 @@ "label": "ReturnPersistExceptionItem", "description": [], "signature": [ - "[PersistReturnExceptionItem, React.Dispatch<({ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; })[]; list_id: string; name: string; type: \"simple\"; } & { comments?: { comment: string; }[] | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }) | ({ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; })[]; name: string; type: \"simple\"; } & { _version?: string | undefined; comments?: ({ comment: string; } & { id?: string | undefined; })[] | undefined; id?: string | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }) | null>]" + "[PersistReturnExceptionItem, React.Dispatch<({ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; list_id: string; name: string; type: \"simple\"; } & { comments?: { comment: string; }[] | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }) | ({ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; name: string; type: \"simple\"; } & { _version?: string | undefined; comments?: ({ comment: string; } & { id?: string | undefined; })[] | undefined; id?: string | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }) | null>]" ], "path": "packages/kbn-securitysolution-list-hooks/src/use_persist_exception_item/index.ts", "deprecated": false, @@ -1096,7 +1384,13 @@ "description": [], "signature": [ "[PersistReturnExceptionList, React.Dispatch<", - "AddExceptionList", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.AddExceptionList", + "text": "AddExceptionList" + }, " | null>]" ], "path": "packages/kbn-securitysolution-list-hooks/src/use_persist_exception_list/index.ts", diff --git a/api_docs/kbn_securitysolution_list_hooks.mdx b/api_docs/kbn_securitysolution_list_hooks.mdx index f14634ed2b5ea..71239f13a8ae0 100644 --- a/api_docs/kbn_securitysolution_list_hooks.mdx +++ b/api_docs/kbn_securitysolution_list_hooks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-list-hooks title: "@kbn/securitysolution-list-hooks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-list-hooks plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-list-hooks'] --- import kbnSecuritysolutionListHooksObj from './kbn_securitysolution_list_hooks.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_list_utils.devdocs.json b/api_docs/kbn_securitysolution_list_utils.devdocs.json index becdd346daef2..51f091c7f6d84 100644 --- a/api_docs/kbn_securitysolution_list_utils.devdocs.json +++ b/api_docs/kbn_securitysolution_list_utils.devdocs.json @@ -27,7 +27,7 @@ "label": "addIdToEntries", "description": [], "signature": [ - "(entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]) => ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]" + "(entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]) => ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]" ], "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", "deprecated": false, @@ -41,7 +41,7 @@ "label": "entries", "description": [], "signature": [ - "({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]" + "({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]" ], "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", "deprecated": false, @@ -167,9 +167,21 @@ ], "signature": [ "({ fields, selectedField, }: { fields: ", - "DataViewFieldBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, "[]; selectedField: string | undefined; }) => ", - "DataViewFieldBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, " | undefined" ], "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", @@ -195,7 +207,13 @@ "label": "fields", "description": [], "signature": [ - "DataViewFieldBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, "[]" ], "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", @@ -367,7 +385,13 @@ "text": "FormattedBuilderEntry" }, ", newField: ", - "DataViewFieldBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, ") => { index: number; updatedEntry: ", { "pluginId": "@kbn/securitysolution-list-utils", @@ -415,7 +439,13 @@ "- newly selected field" ], "signature": [ - "DataViewFieldBase" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + } ], "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", "deprecated": false, @@ -982,7 +1012,13 @@ ], "signature": [ "(patterns: ", - "DataViewBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, ", item: ", { "pluginId": "@kbn/securitysolution-list-utils", @@ -992,11 +1028,29 @@ "text": "FormattedBuilderEntry" }, ", type: \"endpoint\" | \"detection\" | \"rule_default\" | \"endpoint_trusted_apps\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\" | \"endpoint_blocklists\", preFilter?: ((i: ", - "DataViewBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, ", t: \"endpoint\" | \"detection\" | \"rule_default\" | \"endpoint_trusted_apps\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\" | \"endpoint_blocklists\", o?: (\"windows\" | \"linux\" | \"macos\")[] | undefined) => ", - "DataViewBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, ") | undefined, osTypes?: (\"windows\" | \"linux\" | \"macos\")[] | undefined) => ", - "DataViewBase" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + } ], "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", "deprecated": false, @@ -1012,7 +1066,13 @@ "DataViewBase containing available fields on rule index" ], "signature": [ - "DataViewBase" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + } ], "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", "deprecated": false, @@ -1066,9 +1126,21 @@ "description": [], "signature": [ "((i: ", - "DataViewBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, ", t: \"endpoint\" | \"detection\" | \"rule_default\" | \"endpoint_trusted_apps\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\" | \"endpoint_blocklists\", o?: (\"windows\" | \"linux\" | \"macos\")[] | undefined) => ", - "DataViewBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, ") | undefined" ], "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", @@ -1153,7 +1225,13 @@ ], "signature": [ "(indexPattern: ", - "DataViewBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, ", entries: ", { "pluginId": "@kbn/securitysolution-list-utils", @@ -1162,7 +1240,7 @@ "section": "def-common.BuilderEntry", "text": "BuilderEntry" }, - "[], allowCustomFieldOptions: boolean, parent?: { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | undefined, parentIndex?: number | undefined) => ", + "[], allowCustomFieldOptions: boolean, parent?: { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | undefined, parentIndex?: number | undefined) => ", { "pluginId": "@kbn/securitysolution-list-utils", "scope": "common", @@ -1184,7 +1262,13 @@ "label": "indexPattern", "description": [], "signature": [ - "DataViewBase" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + } ], "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", "deprecated": false, @@ -1242,7 +1326,7 @@ "nested entries hold copy of their parent for use in various logic" ], "signature": [ - "{ entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | undefined" + "{ entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | undefined" ], "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", "deprecated": false, @@ -1281,7 +1365,13 @@ ], "signature": [ "(indexPattern: ", - "DataViewBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, ", item: ", { "pluginId": "@kbn/securitysolution-list-utils", @@ -1290,7 +1380,7 @@ "section": "def-common.BuilderEntry", "text": "BuilderEntry" }, - ", itemIndex: number, parent: { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | undefined, parentIndex: number | undefined, allowCustomFieldOptions: boolean) => ", + ", itemIndex: number, parent: { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | undefined, parentIndex: number | undefined, allowCustomFieldOptions: boolean) => ", { "pluginId": "@kbn/securitysolution-list-utils", "scope": "common", @@ -1311,7 +1401,13 @@ "label": "indexPattern", "description": [], "signature": [ - "DataViewBase" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + } ], "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", "deprecated": false, @@ -1368,7 +1464,7 @@ "nested entries hold copy of their parent for use in various logic" ], "signature": [ - "{ entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | undefined" + "{ entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | undefined" ], "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", "deprecated": false, @@ -1422,7 +1518,13 @@ "description": [], "signature": [ "(filters: ", - "ExceptionListFilter", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ExceptionListFilter", + "text": "ExceptionListFilter" + }, ", namespaceTypes: ", { "pluginId": "@kbn/securitysolution-list-utils", @@ -1445,7 +1547,13 @@ "label": "filters", "description": [], "signature": [ - "ExceptionListFilter" + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ExceptionListFilter", + "text": "ExceptionListFilter" + } ], "path": "packages/kbn-securitysolution-list-utils/src/get_general_filters/index.ts", "deprecated": false, @@ -1487,7 +1595,13 @@ "description": [], "signature": [ "({ lists, showDetection, showEndpoint, }: { lists: ", - "ExceptionListIdentifiers", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ExceptionListIdentifiers", + "text": "ExceptionListIdentifiers" + }, "[]; showDetection: boolean; showEndpoint: boolean; }) => { ids: string[]; namespaces: (\"single\" | \"agnostic\")[]; }" ], "path": "packages/kbn-securitysolution-list-utils/src/get_ids_and_namespaces/index.ts", @@ -1513,7 +1627,13 @@ "label": "lists", "description": [], "signature": [ - "ExceptionListIdentifiers", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ExceptionListIdentifiers", + "text": "ExceptionListIdentifiers" + }, "[]" ], "path": "packages/kbn-securitysolution-list-utils/src/get_ids_and_namespaces/index.ts", @@ -1748,7 +1868,13 @@ "text": "BuilderEntry" }, ") => ", - "ListOperatorTypeEnum" + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorTypeEnum", + "text": "ListOperatorTypeEnum" + } ], "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", "deprecated": false, @@ -1982,7 +2108,7 @@ "label": "hasLargeValueList", "description": [], "signature": [ - "(entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]) => boolean" + "(entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]) => boolean" ], "path": "packages/kbn-securitysolution-list-utils/src/has_large_value_list/index.ts", "deprecated": false, @@ -1996,7 +2122,7 @@ "label": "entries", "description": [], "signature": [ - "({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]" + "({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]" ], "path": "packages/kbn-securitysolution-list-utils/src/has_large_value_list/index.ts", "deprecated": false, @@ -2023,7 +2149,7 @@ "section": "def-common.BuilderEntry", "text": "BuilderEntry" }, - ") => item is { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; }" + ") => item is { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; }" ], "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", "deprecated": false, @@ -2100,7 +2226,13 @@ "label": "operator", "description": [], "signature": [ - "ListOperatorEnum" + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorEnum", + "text": "ListOperatorEnum" + } ], "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", "deprecated": false, @@ -2114,11 +2246,29 @@ "label": "type", "description": [], "signature": [ - "ListOperatorTypeEnum", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorTypeEnum", + "text": "ListOperatorTypeEnum" + }, ".MATCH | ", - "ListOperatorTypeEnum", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorTypeEnum", + "text": "ListOperatorTypeEnum" + }, ".MATCH_ANY | ", - "ListOperatorTypeEnum", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorTypeEnum", + "text": "ListOperatorTypeEnum" + }, ".WILDCARD" ], "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", @@ -2186,7 +2336,13 @@ "label": "operator", "description": [], "signature": [ - "ListOperatorEnum" + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorEnum", + "text": "ListOperatorEnum" + } ], "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", "deprecated": false, @@ -2200,7 +2356,13 @@ "label": "type", "description": [], "signature": [ - "ListOperatorTypeEnum", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorTypeEnum", + "text": "ListOperatorTypeEnum" + }, ".LIST" ], "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", @@ -2268,7 +2430,13 @@ "label": "type", "description": [], "signature": [ - "ListOperatorTypeEnum", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorTypeEnum", + "text": "ListOperatorTypeEnum" + }, ".NESTED" ], "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", @@ -2322,7 +2490,13 @@ "label": "field", "description": [], "signature": [ - "DataViewFieldBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, " | undefined" ], "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", @@ -2418,7 +2592,13 @@ "label": "correspondingKeywordField", "description": [], "signature": [ - "DataViewFieldBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, " | undefined" ], "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", @@ -2447,7 +2627,13 @@ "label": "filters", "description": [], "signature": [ - "ExceptionListFilter" + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ExceptionListFilter", + "text": "ExceptionListFilter" + } ], "path": "packages/kbn-securitysolution-list-utils/src/get_filters/index.ts", "deprecated": false, @@ -2525,7 +2711,13 @@ "label": "operator", "description": [], "signature": [ - "ListOperatorEnum" + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorEnum", + "text": "ListOperatorEnum" + } ], "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", "deprecated": false, @@ -2539,7 +2731,13 @@ "label": "type", "description": [], "signature": [ - "ListOperatorTypeEnum" + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorTypeEnum", + "text": "ListOperatorTypeEnum" + } ], "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", "deprecated": false, @@ -2627,7 +2825,7 @@ "label": "BuilderEntryNested", "description": [], "signature": [ - "Omit<{ entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; }, \"entries\"> & { id?: string | undefined; entries: (({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } & { id?: string | undefined; }) | ({ field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } & { id?: string | undefined; }) | ({ field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } & { id?: string | undefined; }) | ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } & { id?: string | undefined; }))[]; }" + "Omit<{ entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; }, \"entries\"> & { id?: string | undefined; entries: (({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } & { id?: string | undefined; }) | ({ field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } & { id?: string | undefined; }) | ({ field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } & { id?: string | undefined; }) | ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } & { id?: string | undefined; }))[]; }" ], "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", "deprecated": false, @@ -2642,7 +2840,7 @@ "label": "CreateExceptionListItemBuilderSchema", "description": [], "signature": [ - "Omit<{ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; })[]; list_id: string; name: string; type: \"simple\"; } & { comments?: { comment: string; }[] | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }, \"meta\" | \"entries\" | \"list_id\" | \"namespace_type\"> & { meta: { temporaryUuid: string; }; entries: ", + "Omit<{ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; list_id: string; name: string; type: \"simple\"; } & { comments?: { comment: string; }[] | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }, \"meta\" | \"entries\" | \"list_id\" | \"namespace_type\"> & { meta: { temporaryUuid: string; }; entries: ", { "pluginId": "@kbn/securitysolution-list-utils", "scope": "common", @@ -2768,7 +2966,7 @@ "label": "ExceptionListItemBuilderSchema", "description": [], "signature": [ - "Omit<{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }, \"entries\"> & { entries: ", + "Omit<{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }, \"entries\"> & { entries: ", { "pluginId": "@kbn/securitysolution-list-utils", "scope": "common", @@ -2835,7 +3033,7 @@ "label": "ExceptionsBuilderReturnExceptionItem", "description": [], "signature": [ - "{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; } | ({ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; })[]; list_id: string; name: string; type: \"simple\"; } & { comments?: { comment: string; }[] | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }) | ({ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; })[]; name: string; type: \"simple\"; } & { comments?: { comment: string; }[] | undefined; item_id?: string | undefined; list_id?: undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; })" + "{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; } | ({ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; list_id: string; name: string; type: \"simple\"; } & { comments?: { comment: string; }[] | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }) | ({ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; name: string; type: \"simple\"; } & { comments?: { comment: string; }[] | undefined; item_id?: string | undefined; list_id?: undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; })" ], "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", "deprecated": false, @@ -2873,10 +3071,13 @@ { "parentPluginId": "@kbn/securitysolution-list-utils", "id": "def-common.doesNotExistOperator.message", - "type": "string", + "type": "Any", "tags": [], "label": "message", "description": [], + "signature": [ + "any" + ], "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", "deprecated": false, "trackAdoption": false @@ -2889,7 +3090,13 @@ "label": "operator", "description": [], "signature": [ - "ListOperatorEnum", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorEnum", + "text": "ListOperatorEnum" + }, ".EXCLUDED" ], "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", @@ -2904,7 +3111,13 @@ "label": "type", "description": [], "signature": [ - "ListOperatorTypeEnum", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorTypeEnum", + "text": "ListOperatorTypeEnum" + }, ".EXISTS" ], "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", @@ -2939,10 +3152,13 @@ { "parentPluginId": "@kbn/securitysolution-list-utils", "id": "def-common.doesNotMatchOperator.message", - "type": "string", + "type": "Any", "tags": [], "label": "message", "description": [], + "signature": [ + "any" + ], "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", "deprecated": false, "trackAdoption": false @@ -2955,7 +3171,13 @@ "label": "operator", "description": [], "signature": [ - "ListOperatorEnum", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorEnum", + "text": "ListOperatorEnum" + }, ".EXCLUDED" ], "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", @@ -2970,7 +3192,13 @@ "label": "type", "description": [], "signature": [ - "ListOperatorTypeEnum", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorTypeEnum", + "text": "ListOperatorTypeEnum" + }, ".WILDCARD" ], "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", @@ -3005,10 +3233,13 @@ { "parentPluginId": "@kbn/securitysolution-list-utils", "id": "def-common.existsOperator.message", - "type": "string", + "type": "Any", "tags": [], "label": "message", "description": [], + "signature": [ + "any" + ], "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", "deprecated": false, "trackAdoption": false @@ -3021,7 +3252,13 @@ "label": "operator", "description": [], "signature": [ - "ListOperatorEnum", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorEnum", + "text": "ListOperatorEnum" + }, ".INCLUDED" ], "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", @@ -3036,7 +3273,13 @@ "label": "type", "description": [], "signature": [ - "ListOperatorTypeEnum", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorTypeEnum", + "text": "ListOperatorTypeEnum" + }, ".EXISTS" ], "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", @@ -3071,10 +3314,13 @@ { "parentPluginId": "@kbn/securitysolution-list-utils", "id": "def-common.isInListOperator.message", - "type": "string", + "type": "Any", "tags": [], "label": "message", "description": [], + "signature": [ + "any" + ], "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", "deprecated": false, "trackAdoption": false @@ -3087,7 +3333,13 @@ "label": "operator", "description": [], "signature": [ - "ListOperatorEnum", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorEnum", + "text": "ListOperatorEnum" + }, ".INCLUDED" ], "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", @@ -3102,7 +3354,13 @@ "label": "type", "description": [], "signature": [ - "ListOperatorTypeEnum", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorTypeEnum", + "text": "ListOperatorTypeEnum" + }, ".LIST" ], "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", @@ -3137,10 +3395,13 @@ { "parentPluginId": "@kbn/securitysolution-list-utils", "id": "def-common.isNotInListOperator.message", - "type": "string", + "type": "Any", "tags": [], "label": "message", "description": [], + "signature": [ + "any" + ], "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", "deprecated": false, "trackAdoption": false @@ -3153,7 +3414,13 @@ "label": "operator", "description": [], "signature": [ - "ListOperatorEnum", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorEnum", + "text": "ListOperatorEnum" + }, ".EXCLUDED" ], "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", @@ -3168,7 +3435,13 @@ "label": "type", "description": [], "signature": [ - "ListOperatorTypeEnum", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorTypeEnum", + "text": "ListOperatorTypeEnum" + }, ".LIST" ], "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", @@ -3203,10 +3476,13 @@ { "parentPluginId": "@kbn/securitysolution-list-utils", "id": "def-common.isNotOneOfOperator.message", - "type": "string", + "type": "Any", "tags": [], "label": "message", "description": [], + "signature": [ + "any" + ], "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", "deprecated": false, "trackAdoption": false @@ -3219,7 +3495,13 @@ "label": "operator", "description": [], "signature": [ - "ListOperatorEnum", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorEnum", + "text": "ListOperatorEnum" + }, ".EXCLUDED" ], "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", @@ -3234,7 +3516,13 @@ "label": "type", "description": [], "signature": [ - "ListOperatorTypeEnum", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorTypeEnum", + "text": "ListOperatorTypeEnum" + }, ".MATCH_ANY" ], "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", @@ -3269,10 +3557,13 @@ { "parentPluginId": "@kbn/securitysolution-list-utils", "id": "def-common.isNotOperator.message", - "type": "string", + "type": "Any", "tags": [], "label": "message", "description": [], + "signature": [ + "any" + ], "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", "deprecated": false, "trackAdoption": false @@ -3285,7 +3576,13 @@ "label": "operator", "description": [], "signature": [ - "ListOperatorEnum", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorEnum", + "text": "ListOperatorEnum" + }, ".EXCLUDED" ], "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", @@ -3300,7 +3597,13 @@ "label": "type", "description": [], "signature": [ - "ListOperatorTypeEnum", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorTypeEnum", + "text": "ListOperatorTypeEnum" + }, ".MATCH" ], "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", @@ -3335,10 +3638,13 @@ { "parentPluginId": "@kbn/securitysolution-list-utils", "id": "def-common.isOneOfOperator.message", - "type": "string", + "type": "Any", "tags": [], "label": "message", "description": [], + "signature": [ + "any" + ], "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", "deprecated": false, "trackAdoption": false @@ -3351,7 +3657,13 @@ "label": "operator", "description": [], "signature": [ - "ListOperatorEnum", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorEnum", + "text": "ListOperatorEnum" + }, ".INCLUDED" ], "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", @@ -3366,7 +3678,13 @@ "label": "type", "description": [], "signature": [ - "ListOperatorTypeEnum", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorTypeEnum", + "text": "ListOperatorTypeEnum" + }, ".MATCH_ANY" ], "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", @@ -3401,10 +3719,13 @@ { "parentPluginId": "@kbn/securitysolution-list-utils", "id": "def-common.isOperator.message", - "type": "string", + "type": "Any", "tags": [], "label": "message", "description": [], + "signature": [ + "any" + ], "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", "deprecated": false, "trackAdoption": false @@ -3417,7 +3738,13 @@ "label": "operator", "description": [], "signature": [ - "ListOperatorEnum", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorEnum", + "text": "ListOperatorEnum" + }, ".INCLUDED" ], "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", @@ -3432,7 +3759,13 @@ "label": "type", "description": [], "signature": [ - "ListOperatorTypeEnum", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorTypeEnum", + "text": "ListOperatorTypeEnum" + }, ".MATCH" ], "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", @@ -3467,10 +3800,13 @@ { "parentPluginId": "@kbn/securitysolution-list-utils", "id": "def-common.matchesOperator.message", - "type": "string", + "type": "Any", "tags": [], "label": "message", "description": [], + "signature": [ + "any" + ], "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", "deprecated": false, "trackAdoption": false @@ -3483,7 +3819,13 @@ "label": "operator", "description": [], "signature": [ - "ListOperatorEnum", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorEnum", + "text": "ListOperatorEnum" + }, ".INCLUDED" ], "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", @@ -3498,7 +3840,13 @@ "label": "type", "description": [], "signature": [ - "ListOperatorTypeEnum", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorTypeEnum", + "text": "ListOperatorTypeEnum" + }, ".WILDCARD" ], "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", diff --git a/api_docs/kbn_securitysolution_list_utils.mdx b/api_docs/kbn_securitysolution_list_utils.mdx index b3bed4ba0ff31..89fc516832f84 100644 --- a/api_docs/kbn_securitysolution_list_utils.mdx +++ b/api_docs/kbn_securitysolution_list_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-list-utils title: "@kbn/securitysolution-list-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-list-utils plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-list-utils'] --- import kbnSecuritysolutionListUtilsObj from './kbn_securitysolution_list_utils.devdocs.json'; @@ -21,7 +21,7 @@ Contact [Owner missing] for questions regarding this plugin. | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 194 | 0 | 150 | 0 | +| 194 | 10 | 150 | 0 | ## Common diff --git a/api_docs/kbn_securitysolution_rules.mdx b/api_docs/kbn_securitysolution_rules.mdx index 15f7fefa491a8..c0541f1118f30 100644 --- a/api_docs/kbn_securitysolution_rules.mdx +++ b/api_docs/kbn_securitysolution_rules.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-rules title: "@kbn/securitysolution-rules" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-rules plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-rules'] --- import kbnSecuritysolutionRulesObj from './kbn_securitysolution_rules.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_t_grid.mdx b/api_docs/kbn_securitysolution_t_grid.mdx index 199e2a7182de4..70d337fda4065 100644 --- a/api_docs/kbn_securitysolution_t_grid.mdx +++ b/api_docs/kbn_securitysolution_t_grid.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-t-grid title: "@kbn/securitysolution-t-grid" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-t-grid plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-t-grid'] --- import kbnSecuritysolutionTGridObj from './kbn_securitysolution_t_grid.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_utils.devdocs.json b/api_docs/kbn_securitysolution_utils.devdocs.json index 9c1fb4cd9da93..2e011adcd1bcf 100644 --- a/api_docs/kbn_securitysolution_utils.devdocs.json +++ b/api_docs/kbn_securitysolution_utils.devdocs.json @@ -520,10 +520,13 @@ { "parentPluginId": "@kbn/securitysolution-utils", "id": "def-common.FILENAME_WILDCARD_WARNING", - "type": "string", + "type": "Any", "tags": [], "label": "FILENAME_WILDCARD_WARNING", "description": [], + "signature": [ + "any" + ], "path": "packages/kbn-securitysolution-utils/src/path_validations/index.ts", "deprecated": false, "trackAdoption": false, @@ -532,10 +535,13 @@ { "parentPluginId": "@kbn/securitysolution-utils", "id": "def-common.FILEPATH_WARNING", - "type": "string", + "type": "Any", "tags": [], "label": "FILEPATH_WARNING", "description": [], + "signature": [ + "any" + ], "path": "packages/kbn-securitysolution-utils/src/path_validations/index.ts", "deprecated": false, "trackAdoption": false, diff --git a/api_docs/kbn_securitysolution_utils.mdx b/api_docs/kbn_securitysolution_utils.mdx index bd8f2807bbee5..81a359efc3a8e 100644 --- a/api_docs/kbn_securitysolution_utils.mdx +++ b/api_docs/kbn_securitysolution_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-utils title: "@kbn/securitysolution-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-utils plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-utils'] --- import kbnSecuritysolutionUtilsObj from './kbn_securitysolution_utils.devdocs.json'; @@ -21,7 +21,7 @@ Contact [Owner missing] for questions regarding this plugin. | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 31 | 0 | 29 | 0 | +| 31 | 2 | 29 | 0 | ## Common diff --git a/api_docs/kbn_server_http_tools.devdocs.json b/api_docs/kbn_server_http_tools.devdocs.json index ac1861e2e8fe1..e980e1105d08a 100644 --- a/api_docs/kbn_server_http_tools.devdocs.json +++ b/api_docs/kbn_server_http_tools.devdocs.json @@ -578,7 +578,13 @@ "label": "maxPayload", "description": [], "signature": [ - "ByteSizeValue" + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ByteSizeValue", + "text": "ByteSizeValue" + } ], "path": "packages/kbn-server-http-tools/src/types.ts", "deprecated": false, @@ -814,37 +820,133 @@ "label": "sslSchema", "description": [], "signature": [ - "ObjectType", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ObjectType", + "text": "ObjectType" + }, "<{ certificate: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; certificateAuthorities: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; cipherSuites: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; enabled: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; key: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; keyPassphrase: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; keystore: ", - "ObjectType", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ObjectType", + "text": "ObjectType" + }, "<{ path: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; password: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; }>; truststore: ", - "ObjectType", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ObjectType", + "text": "ObjectType" + }, "<{ path: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; password: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; }>; redirectHttpFromPort: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; supportedProtocols: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; clientAuthentication: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "<\"optional\" | \"none\" | \"required\">; }>" ], "path": "packages/kbn-server-http-tools/src/ssl/ssl_config.ts", diff --git a/api_docs/kbn_server_http_tools.mdx b/api_docs/kbn_server_http_tools.mdx index 0d35ac3f0822c..ecd84760d1ea3 100644 --- a/api_docs/kbn_server_http_tools.mdx +++ b/api_docs/kbn_server_http_tools.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-server-http-tools title: "@kbn/server-http-tools" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/server-http-tools plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/server-http-tools'] --- import kbnServerHttpToolsObj from './kbn_server_http_tools.devdocs.json'; diff --git a/api_docs/kbn_server_route_repository.devdocs.json b/api_docs/kbn_server_route_repository.devdocs.json index 9599b078d7468..c97218a86a7ab 100644 --- a/api_docs/kbn_server_route_repository.devdocs.json +++ b/api_docs/kbn_server_route_repository.devdocs.json @@ -515,7 +515,13 @@ "// `body` can be null, but `validate` expects non-nullable types\n// if any validation is defined. Not having validation currently\n// means we don't get the payload. See\n// https://github.com/elastic/kibana/issues/50179" ], "signature": [ - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, " | null>" ], "path": "packages/kbn-server-route-repository/src/route_validation_object.ts", @@ -530,7 +536,13 @@ "label": "params", "description": [], "signature": [ - "ObjectType", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ObjectType", + "text": "ObjectType" + }, "<{}>" ], "path": "packages/kbn-server-route-repository/src/route_validation_object.ts", @@ -545,7 +557,13 @@ "label": "query", "description": [], "signature": [ - "ObjectType", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ObjectType", + "text": "ObjectType" + }, "<{}>" ], "path": "packages/kbn-server-route-repository/src/route_validation_object.ts", diff --git a/api_docs/kbn_server_route_repository.mdx b/api_docs/kbn_server_route_repository.mdx index f5050c4c361ac..6311bfa5e3683 100644 --- a/api_docs/kbn_server_route_repository.mdx +++ b/api_docs/kbn_server_route_repository.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-server-route-repository title: "@kbn/server-route-repository" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/server-route-repository plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/server-route-repository'] --- import kbnServerRouteRepositoryObj from './kbn_server_route_repository.devdocs.json'; diff --git a/api_docs/kbn_shared_svg.mdx b/api_docs/kbn_shared_svg.mdx index bf75bd7d733cb..cf4dcd191e969 100644 --- a/api_docs/kbn_shared_svg.mdx +++ b/api_docs/kbn_shared_svg.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-svg title: "@kbn/shared-svg" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-svg plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-svg'] --- import kbnSharedSvgObj from './kbn_shared_svg.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_avatar_solution.devdocs.json b/api_docs/kbn_shared_ux_avatar_solution.devdocs.json new file mode 100644 index 0000000000000..ff876f8b54549 --- /dev/null +++ b/api_docs/kbn_shared_ux_avatar_solution.devdocs.json @@ -0,0 +1,95 @@ +{ + "id": "@kbn/shared-ux-avatar-solution", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [ + { + "parentPluginId": "@kbn/shared-ux-avatar-solution", + "id": "def-common.KibanaSolutionAvatar", + "type": "Function", + "tags": [], + "label": "KibanaSolutionAvatar", + "description": [ + "\nApplies extra styling to a typical EuiAvatar.\nThe `name` value will be appended to 'logo' to configure the `iconType` unless `iconType` is provided." + ], + "signature": [ + "(props: ", + { + "pluginId": "@kbn/shared-ux-avatar-solution", + "scope": "common", + "docId": "kibKbnSharedUxAvatarSolutionPluginApi", + "section": "def-common.KibanaSolutionAvatarProps", + "text": "KibanaSolutionAvatarProps" + }, + ") => JSX.Element" + ], + "path": "packages/shared-ux/avatar/solution/src/solution_avatar.tsx", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/shared-ux-avatar-solution", + "id": "def-common.KibanaSolutionAvatar.$1", + "type": "CompoundType", + "tags": [], + "label": "props", + "description": [], + "signature": [ + { + "pluginId": "@kbn/shared-ux-avatar-solution", + "scope": "common", + "docId": "kibKbnSharedUxAvatarSolutionPluginApi", + "section": "def-common.KibanaSolutionAvatarProps", + "text": "KibanaSolutionAvatarProps" + } + ], + "path": "packages/shared-ux/avatar/solution/src/solution_avatar.tsx", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [], + "enums": [], + "misc": [ + { + "parentPluginId": "@kbn/shared-ux-avatar-solution", + "id": "def-common.KibanaSolutionAvatarProps", + "type": "Type", + "tags": [], + "label": "KibanaSolutionAvatarProps", + "description": [], + "signature": [ + "KnownSolutionProps", + " | ", + "IconTypeProps" + ], + "path": "packages/shared-ux/avatar/solution/src/solution_avatar.tsx", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + } + ], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_shared_ux_avatar_solution.mdx b/api_docs/kbn_shared_ux_avatar_solution.mdx new file mode 100644 index 0000000000000..af2a080c31cdd --- /dev/null +++ b/api_docs/kbn_shared_ux_avatar_solution.mdx @@ -0,0 +1,33 @@ +--- +#### +#### This document is auto-generated and is meant to be viewed inside our experimental, new docs system. +#### Reach out in #docs-engineering for more info. +#### +id: kibKbnSharedUxAvatarSolutionPluginApi +slug: /kibana-dev-docs/api/kbn-shared-ux-avatar-solution +title: "@kbn/shared-ux-avatar-solution" +image: https://source.unsplash.com/400x175/?github +description: API docs for the @kbn/shared-ux-avatar-solution plugin +date: 2022-10-29 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-avatar-solution'] +--- +import kbnSharedUxAvatarSolutionObj from './kbn_shared_ux_avatar_solution.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 | 2 | 2 | + +## Common + +### Functions + + +### Consts, variables and types + + diff --git a/api_docs/kbn_shared_ux_avatar_user_profile_components.mdx b/api_docs/kbn_shared_ux_avatar_user_profile_components.mdx index 63ee6f1f22f43..f57e78d04639a 100644 --- a/api_docs/kbn_shared_ux_avatar_user_profile_components.mdx +++ b/api_docs/kbn_shared_ux_avatar_user_profile_components.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-avatar-user-profile-components title: "@kbn/shared-ux-avatar-user-profile-components" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-avatar-user-profile-components plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-avatar-user-profile-components'] --- import kbnSharedUxAvatarUserProfileComponentsObj from './kbn_shared_ux_avatar_user_profile_components.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_button_exit_full_screen.devdocs.json b/api_docs/kbn_shared_ux_button_exit_full_screen.devdocs.json new file mode 100644 index 0000000000000..e048a09926e16 --- /dev/null +++ b/api_docs/kbn_shared_ux_button_exit_full_screen.devdocs.json @@ -0,0 +1,180 @@ +{ + "id": "@kbn/shared-ux-button-exit-full-screen", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [ + { + "parentPluginId": "@kbn/shared-ux-button-exit-full-screen", + "id": "def-common.ExitFullScreenButton", + "type": "Function", + "tags": [], + "label": "ExitFullScreenButton", + "description": [ + "\nA presentational component that renders a button designed to exit \"full screen\" mode." + ], + "signature": [ + "({ onClick, className }: ", + "ExitFullScreenButtonComponentProps", + ") => JSX.Element" + ], + "path": "packages/shared-ux/button/exit_full_screen/impl/src/exit_full_screen_button.component.tsx", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/shared-ux-button-exit-full-screen", + "id": "def-common.ExitFullScreenButton.$1", + "type": "Object", + "tags": [], + "label": "{ onClick, className }", + "description": [], + "signature": [ + "ExitFullScreenButtonComponentProps" + ], + "path": "packages/shared-ux/button/exit_full_screen/impl/src/exit_full_screen_button.component.tsx", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/shared-ux-button-exit-full-screen", + "id": "def-common.ExitFullScreenButton", + "type": "Function", + "tags": [], + "label": "ExitFullScreenButton", + "description": [ + "\nA service-enabled component that provides Kibana-specific functionality to the `ExitFullScreenButton`\npure component." + ], + "signature": [ + "({ onExit, toggleChrome }: ", + "ExitFullScreenButtonProps", + ") => JSX.Element" + ], + "path": "packages/shared-ux/button/exit_full_screen/impl/src/exit_full_screen_button.tsx", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/shared-ux-button-exit-full-screen", + "id": "def-common.ExitFullScreenButton.$1", + "type": "Object", + "tags": [], + "label": "{ onExit = () => {}, toggleChrome = true }", + "description": [], + "signature": [ + "ExitFullScreenButtonProps" + ], + "path": "packages/shared-ux/button/exit_full_screen/impl/src/exit_full_screen_button.tsx", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/shared-ux-button-exit-full-screen", + "id": "def-common.ExitFullScreenButtonKibanaProvider", + "type": "Function", + "tags": [], + "label": "ExitFullScreenButtonKibanaProvider", + "description": [ + "\nKibana-specific Provider that maps to known dependency types." + ], + "signature": [ + "({ children, ...services }: React.PropsWithChildren<", + "KibanaDependencies", + ">) => JSX.Element" + ], + "path": "packages/shared-ux/button/exit_full_screen/impl/src/services.tsx", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/shared-ux-button-exit-full-screen", + "id": "def-common.ExitFullScreenButtonKibanaProvider.$1", + "type": "CompoundType", + "tags": [], + "label": "{\n children,\n ...services\n}", + "description": [], + "signature": [ + "React.PropsWithChildren<", + "KibanaDependencies", + ">" + ], + "path": "packages/shared-ux/button/exit_full_screen/impl/src/services.tsx", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/shared-ux-button-exit-full-screen", + "id": "def-common.ExitFullScreenButtonProvider", + "type": "Function", + "tags": [], + "label": "ExitFullScreenButtonProvider", + "description": [ + "\nAbstract external service Provider." + ], + "signature": [ + "({ children, ...services }: React.PropsWithChildren<", + "Services", + ">) => JSX.Element" + ], + "path": "packages/shared-ux/button/exit_full_screen/impl/src/services.tsx", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/shared-ux-button-exit-full-screen", + "id": "def-common.ExitFullScreenButtonProvider.$1", + "type": "CompoundType", + "tags": [], + "label": "{\n children,\n ...services\n}", + "description": [], + "signature": [ + "React.PropsWithChildren<", + "Services", + ">" + ], + "path": "packages/shared-ux/button/exit_full_screen/impl/src/services.tsx", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_shared_ux_button_exit_full_screen.mdx b/api_docs/kbn_shared_ux_button_exit_full_screen.mdx new file mode 100644 index 0000000000000..22425c28b36f7 --- /dev/null +++ b/api_docs/kbn_shared_ux_button_exit_full_screen.mdx @@ -0,0 +1,30 @@ +--- +#### +#### This document is auto-generated and is meant to be viewed inside our experimental, new docs system. +#### Reach out in #docs-engineering for more info. +#### +id: kibKbnSharedUxButtonExitFullScreenPluginApi +slug: /kibana-dev-docs/api/kbn-shared-ux-button-exit-full-screen +title: "@kbn/shared-ux-button-exit-full-screen" +image: https://source.unsplash.com/400x175/?github +description: API docs for the @kbn/shared-ux-button-exit-full-screen plugin +date: 2022-10-29 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-button-exit-full-screen'] +--- +import kbnSharedUxButtonExitFullScreenObj from './kbn_shared_ux_button_exit_full_screen.devdocs.json'; + + + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 8 | 0 | 4 | 0 | + +## Common + +### Functions + + diff --git a/api_docs/kbn_shared_ux_button_exit_full_screen_mocks.devdocs.json b/api_docs/kbn_shared_ux_button_exit_full_screen_mocks.devdocs.json index 6ecc8d46df1b2..827ece1bdc932 100644 --- a/api_docs/kbn_shared_ux_button_exit_full_screen_mocks.devdocs.json +++ b/api_docs/kbn_shared_ux_button_exit_full_screen_mocks.devdocs.json @@ -36,7 +36,13 @@ "text": "StorybookMock" }, " extends ", - "AbstractStorybookMock", + { + "pluginId": "@kbn/shared-ux-storybook-mock", + "scope": "common", + "docId": "kibKbnSharedUxStorybookMockPluginApi", + "section": "def-common.AbstractStorybookMock", + "text": "AbstractStorybookMock" + }, "<", "ExitFullScreenButtonProps", ", ", 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 e72527d2ce5f7..de920ca7c7f0f 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 @@ -8,7 +8,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 description: API docs for the @kbn/shared-ux-button-exit-full-screen-mocks plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-button-exit-full-screen-mocks'] --- import kbnSharedUxButtonExitFullScreenMocksObj from './kbn_shared_ux_button_exit_full_screen_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_button_toolbar.mdx b/api_docs/kbn_shared_ux_button_toolbar.mdx index ff73df9a47762..e006f29419e9c 100644 --- a/api_docs/kbn_shared_ux_button_toolbar.mdx +++ b/api_docs/kbn_shared_ux_button_toolbar.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-button-toolbar title: "@kbn/shared-ux-button-toolbar" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-button-toolbar plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-button-toolbar'] --- import kbnSharedUxButtonToolbarObj from './kbn_shared_ux_button_toolbar.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_card_no_data.devdocs.json b/api_docs/kbn_shared_ux_card_no_data.devdocs.json index c1e08d1b9a31f..320d34a4bc9b4 100644 --- a/api_docs/kbn_shared_ux_card_no_data.devdocs.json +++ b/api_docs/kbn_shared_ux_card_no_data.devdocs.json @@ -150,7 +150,7 @@ "EuiCardProps", ", \"description\" | \"onClick\" | \"isDisabled\" | \"button\" | \"layout\">> & { button?: React.ReactNode; onClick?: React.MouseEventHandler | undefined; description?: React.ReactNode; category?: string | undefined; canAccessFleet?: boolean | undefined; }" ], - "path": "node_modules/@kbn/shared-ux-card-no-data-types/index.d.ts", + "path": "packages/shared-ux/card/no_data/types/index.d.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -169,7 +169,7 @@ " & ", "RedirectAppLinksKibanaDependencies" ], - "path": "node_modules/@kbn/shared-ux-card-no-data-types/index.d.ts", + "path": "packages/shared-ux/card/no_data/types/index.d.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -344,7 +344,7 @@ "EuiCardSelectProps", " | undefined; }" ], - "path": "node_modules/@kbn/shared-ux-card-no-data-types/index.d.ts", + "path": "packages/shared-ux/card/no_data/types/index.d.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -363,7 +363,7 @@ " & ", "RedirectAppLinksServices" ], - "path": "node_modules/@kbn/shared-ux-card-no-data-types/index.d.ts", + "path": "packages/shared-ux/card/no_data/types/index.d.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/kbn_shared_ux_card_no_data.mdx b/api_docs/kbn_shared_ux_card_no_data.mdx index ff9540de7b626..8f535aa117bc5 100644 --- a/api_docs/kbn_shared_ux_card_no_data.mdx +++ b/api_docs/kbn_shared_ux_card_no_data.mdx @@ -8,7 +8,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 description: API docs for the @kbn/shared-ux-card-no-data plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-card-no-data'] --- import kbnSharedUxCardNoDataObj from './kbn_shared_ux_card_no_data.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_card_no_data_mocks.devdocs.json b/api_docs/kbn_shared_ux_card_no_data_mocks.devdocs.json index c83e2d8f0e1aa..1aa83630b7156 100644 --- a/api_docs/kbn_shared_ux_card_no_data_mocks.devdocs.json +++ b/api_docs/kbn_shared_ux_card_no_data_mocks.devdocs.json @@ -36,7 +36,13 @@ "text": "StorybookMock" }, " extends ", - "AbstractStorybookMock", + { + "pluginId": "@kbn/shared-ux-storybook-mock", + "scope": "common", + "docId": "kibKbnSharedUxStorybookMockPluginApi", + "section": "def-common.AbstractStorybookMock", + "text": "AbstractStorybookMock" + }, "<", "NoDataCardProps", ", ", @@ -308,7 +314,13 @@ "label": "dependencies", "description": [], "signature": [ - "RedirectAppLinksStorybookMock", + { + "pluginId": "@kbn/shared-ux-link-redirect-app-mocks", + "scope": "common", + "docId": "kibKbnSharedUxLinkRedirectAppMocksPluginApi", + "section": "def-common.StorybookMock", + "text": "StorybookMock" + }, "[]" ], "path": "packages/shared-ux/card/no_data/mocks/src/storybook.ts", 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 588412bafc2e8..6344bbc15c6a8 100644 --- a/api_docs/kbn_shared_ux_card_no_data_mocks.mdx +++ b/api_docs/kbn_shared_ux_card_no_data_mocks.mdx @@ -8,7 +8,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 description: API docs for the @kbn/shared-ux-card-no-data-mocks plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-card-no-data-mocks'] --- import kbnSharedUxCardNoDataMocksObj from './kbn_shared_ux_card_no_data_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_link_redirect_app.devdocs.json b/api_docs/kbn_shared_ux_link_redirect_app.devdocs.json new file mode 100644 index 0000000000000..f5d80dfd2a233 --- /dev/null +++ b/api_docs/kbn_shared_ux_link_redirect_app.devdocs.json @@ -0,0 +1,334 @@ +{ + "id": "@kbn/shared-ux-link-redirect-app", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [ + { + "parentPluginId": "@kbn/shared-ux-link-redirect-app", + "id": "def-common.RedirectAppLinks", + "type": "Function", + "tags": [], + "label": "RedirectAppLinks", + "description": [ + "\nA service-enabled component that provides Kibana-specific functionality to the `RedirectAppLinks`\npure component.\n" + ], + "signature": [ + "({ className, children }: React.PropsWithChildren<{ className?: string | undefined; }>) => JSX.Element" + ], + "path": "packages/shared-ux/link/redirect_app/impl/src/redirect_app_links.container.tsx", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/shared-ux-link-redirect-app", + "id": "def-common.RedirectAppLinks.$1", + "type": "CompoundType", + "tags": [], + "label": "{ className, children }", + "description": [], + "signature": [ + "React.PropsWithChildren<{ className?: string | undefined; }>" + ], + "path": "packages/shared-ux/link/redirect_app/impl/src/redirect_app_links.container.tsx", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/shared-ux-link-redirect-app", + "id": "def-common.RedirectAppLinks", + "type": "Function", + "tags": [], + "label": "RedirectAppLinks", + "description": [ + "\nUtility component that will intercept click events on children anchor (``) elements to call\n`navigateToUrl` with the link's href. This will trigger SPA friendly navigation when the link points\nto a valid Kibana app.\n" + ], + "signature": [ + "({ children, navigateToUrl, currentAppId, className, }: React.PropsWithChildren<", + "RedirectAppLinksComponentProps", + ">) => JSX.Element" + ], + "path": "packages/shared-ux/link/redirect_app/impl/src/redirect_app_links.component.tsx", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/shared-ux-link-redirect-app", + "id": "def-common.RedirectAppLinks.$1", + "type": "CompoundType", + "tags": [], + "label": "{\n children,\n navigateToUrl,\n currentAppId,\n className,\n}", + "description": [], + "signature": [ + "React.PropsWithChildren<", + "RedirectAppLinksComponentProps", + ">" + ], + "path": "packages/shared-ux/link/redirect_app/impl/src/redirect_app_links.component.tsx", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/shared-ux-link-redirect-app", + "id": "def-common.RedirectAppLinks", + "type": "Function", + "tags": [], + "label": "RedirectAppLinks", + "description": [ + "\nThis component composes `RedirectAppLinksContainer` with either `RedirectAppLinksProvider` or\n`RedirectAppLinksKibanaProvider` based on the services provided, creating a single component\nwith which consumers can wrap their components or solutions." + ], + "signature": [ + "({ children, className, ...props }: React.PropsWithChildren<", + "RedirectAppLinksProps", + ">) => JSX.Element" + ], + "path": "packages/shared-ux/link/redirect_app/impl/src/redirect_app_links.tsx", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/shared-ux-link-redirect-app", + "id": "def-common.RedirectAppLinks.$1", + "type": "CompoundType", + "tags": [], + "label": "{ children, className, ...props }", + "description": [], + "signature": [ + "React.PropsWithChildren<", + "RedirectAppLinksProps", + ">" + ], + "path": "packages/shared-ux/link/redirect_app/impl/src/redirect_app_links.tsx", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/shared-ux-link-redirect-app", + "id": "def-common.RedirectAppLinksKibanaProvider", + "type": "Function", + "tags": [], + "label": "RedirectAppLinksKibanaProvider", + "description": [ + "\nKibana-specific contextual services Provider." + ], + "signature": [ + "({ children, coreStart, }: React.PropsWithChildren<", + "RedirectAppLinksKibanaDependencies", + ">) => JSX.Element" + ], + "path": "packages/shared-ux/link/redirect_app/impl/src/services.tsx", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/shared-ux-link-redirect-app", + "id": "def-common.RedirectAppLinksKibanaProvider.$1", + "type": "CompoundType", + "tags": [], + "label": "{\n children,\n coreStart,\n}", + "description": [], + "signature": [ + "React.PropsWithChildren<", + "RedirectAppLinksKibanaDependencies", + ">" + ], + "path": "packages/shared-ux/link/redirect_app/impl/src/services.tsx", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/shared-ux-link-redirect-app", + "id": "def-common.RedirectAppLinksProvider", + "type": "Function", + "tags": [], + "label": "RedirectAppLinksProvider", + "description": [ + "\nContextual services Provider." + ], + "signature": [ + "({ children, ...services }: React.PropsWithChildren<", + "RedirectAppLinksServices", + ">) => JSX.Element" + ], + "path": "packages/shared-ux/link/redirect_app/impl/src/services.tsx", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/shared-ux-link-redirect-app", + "id": "def-common.RedirectAppLinksProvider.$1", + "type": "CompoundType", + "tags": [], + "label": "{\n children,\n ...services\n}", + "description": [], + "signature": [ + "React.PropsWithChildren<", + "RedirectAppLinksServices", + ">" + ], + "path": "packages/shared-ux/link/redirect_app/impl/src/services.tsx", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [ + { + "parentPluginId": "@kbn/shared-ux-link-redirect-app", + "id": "def-common.RedirectAppLinksKibanaDependencies", + "type": "Interface", + "tags": [], + "label": "RedirectAppLinksKibanaDependencies", + "description": [ + "\nKibana-specific contextual services to be adapted for this component." + ], + "path": "packages/shared-ux/link/redirect_app/types/index.d.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/shared-ux-link-redirect-app", + "id": "def-common.RedirectAppLinksKibanaDependencies.coreStart", + "type": "Object", + "tags": [], + "label": "coreStart", + "description": [], + "signature": [ + "{ application: { currentAppId$: ", + "Observable", + "; navigateToUrl: ", + "NavigateToUrl", + "; }; }" + ], + "path": "packages/shared-ux/link/redirect_app/types/index.d.ts", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/shared-ux-link-redirect-app", + "id": "def-common.RedirectAppLinksServices", + "type": "Interface", + "tags": [], + "label": "RedirectAppLinksServices", + "description": [ + "\nContextual services for this component." + ], + "path": "packages/shared-ux/link/redirect_app/types/index.d.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/shared-ux-link-redirect-app", + "id": "def-common.RedirectAppLinksServices.navigateToUrl", + "type": "Function", + "tags": [], + "label": "navigateToUrl", + "description": [], + "signature": [ + "(url: string) => void | Promise" + ], + "path": "packages/shared-ux/link/redirect_app/types/index.d.ts", + "deprecated": false, + "trackAdoption": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "@kbn/shared-ux-link-redirect-app", + "id": "def-common.RedirectAppLinksServices.navigateToUrl.$1", + "type": "string", + "tags": [], + "label": "url", + "description": [], + "path": "packages/shared-ux/link/redirect_app/types/index.d.ts", + "deprecated": false, + "trackAdoption": false + } + ] + }, + { + "parentPluginId": "@kbn/shared-ux-link-redirect-app", + "id": "def-common.RedirectAppLinksServices.currentAppId", + "type": "string", + "tags": [], + "label": "currentAppId", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/shared-ux/link/redirect_app/types/index.d.ts", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false + } + ], + "enums": [], + "misc": [ + { + "parentPluginId": "@kbn/shared-ux-link-redirect-app", + "id": "def-common.RedirectAppLinksProps", + "type": "Type", + "tags": [], + "label": "RedirectAppLinksProps", + "description": [ + "Props for the `RedirectAppLinks` component." + ], + "signature": [ + "{ className?: string | undefined; } & (", + "RedirectAppLinksKibanaDependencies", + " | ", + "RedirectAppLinksServices", + ")" + ], + "path": "packages/shared-ux/link/redirect_app/types/index.d.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + } + ], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_shared_ux_link_redirect_app.mdx b/api_docs/kbn_shared_ux_link_redirect_app.mdx new file mode 100644 index 0000000000000..99dfc4fa6c55e --- /dev/null +++ b/api_docs/kbn_shared_ux_link_redirect_app.mdx @@ -0,0 +1,36 @@ +--- +#### +#### This document is auto-generated and is meant to be viewed inside our experimental, new docs system. +#### Reach out in #docs-engineering for more info. +#### +id: kibKbnSharedUxLinkRedirectAppPluginApi +slug: /kibana-dev-docs/api/kbn-shared-ux-link-redirect-app +title: "@kbn/shared-ux-link-redirect-app" +image: https://source.unsplash.com/400x175/?github +description: API docs for the @kbn/shared-ux-link-redirect-app plugin +date: 2022-10-29 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-link-redirect-app'] +--- +import kbnSharedUxLinkRedirectAppObj from './kbn_shared_ux_link_redirect_app.devdocs.json'; + + + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 17 | 0 | 9 | 0 | + +## Common + +### Functions + + +### Interfaces + + +### Consts, variables and types + + diff --git a/api_docs/kbn_shared_ux_link_redirect_app_mocks.devdocs.json b/api_docs/kbn_shared_ux_link_redirect_app_mocks.devdocs.json index 1d6ac7215b19c..3506fc8c049f8 100644 --- a/api_docs/kbn_shared_ux_link_redirect_app_mocks.devdocs.json +++ b/api_docs/kbn_shared_ux_link_redirect_app_mocks.devdocs.json @@ -34,7 +34,13 @@ "text": "StorybookMock" }, " extends ", - "AbstractStorybookMock", + { + "pluginId": "@kbn/shared-ux-storybook-mock", + "scope": "common", + "docId": "kibKbnSharedUxStorybookMockPluginApi", + "section": "def-common.AbstractStorybookMock", + "text": "AbstractStorybookMock" + }, "<", "RedirectAppLinksProps", ", {}, {}, {}>" 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 a92c825ea2c15..6020f2ecfd8dd 100644 --- a/api_docs/kbn_shared_ux_link_redirect_app_mocks.mdx +++ b/api_docs/kbn_shared_ux_link_redirect_app_mocks.mdx @@ -8,7 +8,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 description: API docs for the @kbn/shared-ux-link-redirect-app-mocks plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-link-redirect-app-mocks'] --- import kbnSharedUxLinkRedirectAppMocksObj from './kbn_shared_ux_link_redirect_app_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_markdown.mdx b/api_docs/kbn_shared_ux_markdown.mdx index 16466be63d54f..35323a06e2c28 100644 --- a/api_docs/kbn_shared_ux_markdown.mdx +++ b/api_docs/kbn_shared_ux_markdown.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-markdown title: "@kbn/shared-ux-markdown" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-markdown plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-markdown'] --- import kbnSharedUxMarkdownObj from './kbn_shared_ux_markdown.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_markdown_mocks.devdocs.json b/api_docs/kbn_shared_ux_markdown_mocks.devdocs.json index e9841a0b50e0e..0f5ffb13f1421 100644 --- a/api_docs/kbn_shared_ux_markdown_mocks.devdocs.json +++ b/api_docs/kbn_shared_ux_markdown_mocks.devdocs.json @@ -36,7 +36,13 @@ "text": "MarkdownStorybookMock" }, " extends ", - "AbstractStorybookMock", + { + "pluginId": "@kbn/shared-ux-storybook-mock", + "scope": "common", + "docId": "kibKbnSharedUxStorybookMockPluginApi", + "section": "def-common.AbstractStorybookMock", + "text": "AbstractStorybookMock" + }, "<", "MarkdownProps", ", {}, PropArguments, {}>" diff --git a/api_docs/kbn_shared_ux_markdown_mocks.mdx b/api_docs/kbn_shared_ux_markdown_mocks.mdx index 718356cb2a019..196b716668888 100644 --- a/api_docs/kbn_shared_ux_markdown_mocks.mdx +++ b/api_docs/kbn_shared_ux_markdown_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-markdown-mocks title: "@kbn/shared-ux-markdown-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-markdown-mocks plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-markdown-mocks'] --- import kbnSharedUxMarkdownMocksObj from './kbn_shared_ux_markdown_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_analytics_no_data.devdocs.json b/api_docs/kbn_shared_ux_page_analytics_no_data.devdocs.json index b53cb7d2758d5..40ba0e9b06f06 100644 --- a/api_docs/kbn_shared_ux_page_analytics_no_data.devdocs.json +++ b/api_docs/kbn_shared_ux_page_analytics_no_data.devdocs.json @@ -182,7 +182,7 @@ "description": [ "\nProps for the `AnalyticsNoDataPage` component." ], - "path": "node_modules/@kbn/shared-ux-page-analytics-no-data-types/index.d.ts", + "path": "packages/shared-ux/page/analytics_no_data/types/index.d.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -198,7 +198,7 @@ "signature": [ "(dataView: unknown) => void" ], - "path": "node_modules/@kbn/shared-ux-page-analytics-no-data-types/index.d.ts", + "path": "packages/shared-ux/page/analytics_no_data/types/index.d.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -212,7 +212,7 @@ "signature": [ "unknown" ], - "path": "node_modules/@kbn/shared-ux-page-analytics-no-data-types/index.d.ts", + "path": "packages/shared-ux/page/analytics_no_data/types/index.d.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -246,7 +246,7 @@ " & ", "RedirectAppLinksKibanaDependencies" ], - "path": "node_modules/@kbn/shared-ux-page-analytics-no-data-types/index.d.ts", + "path": "packages/shared-ux/page/analytics_no_data/types/index.d.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -271,7 +271,7 @@ " & ", "NoDataViewsPromptServices" ], - "path": "node_modules/@kbn/shared-ux-page-analytics-no-data-types/index.d.ts", + "path": "packages/shared-ux/page/analytics_no_data/types/index.d.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false 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 6cfe4df95874b..a8c6190346a9a 100644 --- a/api_docs/kbn_shared_ux_page_analytics_no_data.mdx +++ b/api_docs/kbn_shared_ux_page_analytics_no_data.mdx @@ -8,7 +8,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 description: API docs for the @kbn/shared-ux-page-analytics-no-data plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-analytics-no-data'] --- import kbnSharedUxPageAnalyticsNoDataObj from './kbn_shared_ux_page_analytics_no_data.devdocs.json'; @@ -21,7 +21,7 @@ Contact [Owner missing] for questions regarding this plugin. | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 13 | 0 | 4 | 1 | +| 13 | 0 | 5 | 1 | ## Common diff --git a/api_docs/kbn_shared_ux_page_analytics_no_data_mocks.devdocs.json b/api_docs/kbn_shared_ux_page_analytics_no_data_mocks.devdocs.json index c8af9498f67a4..ee58f4094a5e3 100644 --- a/api_docs/kbn_shared_ux_page_analytics_no_data_mocks.devdocs.json +++ b/api_docs/kbn_shared_ux_page_analytics_no_data_mocks.devdocs.json @@ -34,7 +34,13 @@ "text": "StorybookMock" }, " extends ", - "AbstractStorybookMock", + { + "pluginId": "@kbn/shared-ux-storybook-mock", + "scope": "common", + "docId": "kibKbnSharedUxStorybookMockPluginApi", + "section": "def-common.AbstractStorybookMock", + "text": "AbstractStorybookMock" + }, "<", "AnalyticsNoDataPageProps", ", ", @@ -113,7 +119,13 @@ "label": "dependencies", "description": [], "signature": [ - "KibanaNoDataPageStorybookMock", + { + "pluginId": "@kbn/shared-ux-page-kibana-no-data-mocks", + "scope": "common", + "docId": "kibKbnSharedUxPageKibanaNoDataMocksPluginApi", + "section": "def-common.StorybookMock", + "text": "StorybookMock" + }, "[]" ], "path": "packages/shared-ux/page/analytics_no_data/mocks/src/storybook.ts", @@ -220,17 +232,37 @@ "label": "Params", "description": [], "signature": [ - "ArgumentParams", + { + "pluginId": "@kbn/shared-ux-storybook-mock", + "scope": "common", + "docId": "kibKbnSharedUxStorybookMockPluginApi", + "section": "def-common.ArgumentParams", + "text": "ArgumentParams" + }, "<{}, ServiceArguments> & ", - "ArgumentParams", - "<", - "PropArguments", - ", ", - "ServiceArguments", - "> & ", - "NoDataCardStorybookParams", + { + "pluginId": "@kbn/shared-ux-storybook-mock", + "scope": "common", + "docId": "kibKbnSharedUxStorybookMockPluginApi", + "section": "def-common.ArgumentParams", + "text": "ArgumentParams" + }, + " & ", + { + "pluginId": "@kbn/shared-ux-card-no-data-mocks", + "scope": "common", + "docId": "kibKbnSharedUxCardNoDataMocksPluginApi", + "section": "def-common.Params", + "text": "Params" + }, " & ", - "NoDataViewsPromptStorybookParams" + { + "pluginId": "@kbn/shared-ux-prompt-no-data-views-mocks", + "scope": "common", + "docId": "kibKbnSharedUxPromptNoDataViewsMocksPluginApi", + "section": "def-common.Params", + "text": "Params" + } ], "path": "packages/shared-ux/page/analytics_no_data/mocks/src/storybook.ts", "deprecated": false, 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 ee58d4903ba28..19fc529d662d1 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 @@ -8,7 +8,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 description: API docs for the @kbn/shared-ux-page-analytics-no-data-mocks plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-analytics-no-data-mocks'] --- import kbnSharedUxPageAnalyticsNoDataMocksObj from './kbn_shared_ux_page_analytics_no_data_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_kibana_no_data.devdocs.json b/api_docs/kbn_shared_ux_page_kibana_no_data.devdocs.json index a6210ec3c8c1a..965a9d9b55e54 100644 --- a/api_docs/kbn_shared_ux_page_kibana_no_data.devdocs.json +++ b/api_docs/kbn_shared_ux_page_kibana_no_data.devdocs.json @@ -156,7 +156,7 @@ " & ", "RedirectAppLinksKibanaDependencies" ], - "path": "node_modules/@kbn/shared-ux-page-kibana-no-data-types/index.d.ts", + "path": "packages/shared-ux/page/kibana_no_data/types/index.d.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -179,7 +179,7 @@ " & ", "NoDataViewsPromptServices" ], - "path": "node_modules/@kbn/shared-ux-page-kibana-no-data-types/index.d.ts", + "path": "packages/shared-ux/page/kibana_no_data/types/index.d.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false 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 73710ecfa25b9..dc1fa9128dd3c 100644 --- a/api_docs/kbn_shared_ux_page_kibana_no_data.mdx +++ b/api_docs/kbn_shared_ux_page_kibana_no_data.mdx @@ -8,7 +8,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 description: API docs for the @kbn/shared-ux-page-kibana-no-data plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-kibana-no-data'] --- import kbnSharedUxPageKibanaNoDataObj from './kbn_shared_ux_page_kibana_no_data.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_kibana_no_data_mocks.devdocs.json b/api_docs/kbn_shared_ux_page_kibana_no_data_mocks.devdocs.json index fa5d1c414395f..6baad57602555 100644 --- a/api_docs/kbn_shared_ux_page_kibana_no_data_mocks.devdocs.json +++ b/api_docs/kbn_shared_ux_page_kibana_no_data_mocks.devdocs.json @@ -34,7 +34,13 @@ "text": "StorybookMock" }, " extends ", - "AbstractStorybookMock", + { + "pluginId": "@kbn/shared-ux-storybook-mock", + "scope": "common", + "docId": "kibKbnSharedUxStorybookMockPluginApi", + "section": "def-common.AbstractStorybookMock", + "text": "AbstractStorybookMock" + }, "<", "KibanaNoDataPageProps", ", ", @@ -250,9 +256,21 @@ "description": [], "signature": [ "(", - "NoDataViewsPromptStorybookMock", + { + "pluginId": "@kbn/shared-ux-card-no-data-mocks", + "scope": "common", + "docId": "kibKbnSharedUxCardNoDataMocksPluginApi", + "section": "def-common.StorybookMock", + "text": "StorybookMock" + }, " | ", - "NoDataCardStorybookMock", + { + "pluginId": "@kbn/shared-ux-prompt-no-data-views-mocks", + "scope": "common", + "docId": "kibKbnSharedUxPromptNoDataViewsMocksPluginApi", + "section": "def-common.StorybookMock", + "text": "StorybookMock" + }, ")[]" ], "path": "packages/shared-ux/page/kibana_no_data/mocks/src/storybook.ts", @@ -407,11 +425,29 @@ "label": "Params", "description": [], "signature": [ - "ArgumentParams", + { + "pluginId": "@kbn/shared-ux-storybook-mock", + "scope": "common", + "docId": "kibKbnSharedUxStorybookMockPluginApi", + "section": "def-common.ArgumentParams", + "text": "ArgumentParams" + }, " & ", - "NoDataCardStorybookParams", + { + "pluginId": "@kbn/shared-ux-card-no-data-mocks", + "scope": "common", + "docId": "kibKbnSharedUxCardNoDataMocksPluginApi", + "section": "def-common.Params", + "text": "Params" + }, " & ", - "NoDataViewsPromptStorybookParams" + { + "pluginId": "@kbn/shared-ux-prompt-no-data-views-mocks", + "scope": "common", + "docId": "kibKbnSharedUxPromptNoDataViewsMocksPluginApi", + "section": "def-common.Params", + "text": "Params" + } ], "path": "packages/shared-ux/page/kibana_no_data/mocks/src/storybook.ts", "deprecated": false, 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 8e463e1820fef..d79277fbe4006 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 @@ -8,7 +8,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 description: API docs for the @kbn/shared-ux-page-kibana-no-data-mocks plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-kibana-no-data-mocks'] --- import kbnSharedUxPageKibanaNoDataMocksObj from './kbn_shared_ux_page_kibana_no_data_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_kibana_template.devdocs.json b/api_docs/kbn_shared_ux_page_kibana_template.devdocs.json index cd08253e10ed9..42d13b89e4e8d 100644 --- a/api_docs/kbn_shared_ux_page_kibana_template.devdocs.json +++ b/api_docs/kbn_shared_ux_page_kibana_template.devdocs.json @@ -165,7 +165,7 @@ " & ", "RedirectAppLinksKibanaDependencies" ], - "path": "node_modules/@kbn/shared-ux-page-kibana-template-types/index.d.ts", + "path": "packages/shared-ux/page/kibana_template/types/index.d.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -190,7 +190,13 @@ ".MinHeight | undefined; offset?: number | undefined; mainProps?: (", "CommonProps", " & React.HTMLAttributes) | undefined; } & { isEmptyState?: boolean | undefined; solutionNav?: ", - "SolutionNavProps", + { + "pluginId": "@kbn/shared-ux-page-solution-nav", + "scope": "common", + "docId": "kibKbnSharedUxPageSolutionNavPluginApi", + "section": "def-common.SolutionNavProps", + "text": "SolutionNavProps" + }, " | undefined; noDataConfig?: ", "NoDataPageProps", " | undefined; pageHeader?: ", @@ -199,7 +205,7 @@ "EuiPageSidebarProps", " | undefined; }" ], - "path": "node_modules/@kbn/shared-ux-page-kibana-template-types/index.d.ts", + "path": "packages/shared-ux/page/kibana_template/types/index.d.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -216,7 +222,7 @@ " & ", "RedirectAppLinksServices" ], - "path": "node_modules/@kbn/shared-ux-page-kibana-template-types/index.d.ts", + "path": "packages/shared-ux/page/kibana_template/types/index.d.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -231,7 +237,7 @@ "signature": [ "NoDataPageProps" ], - "path": "node_modules/@kbn/shared-ux-page-no-data-config-types/index.d.ts", + "path": "packages/shared-ux/page/no_data_config/types/index.d.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/kbn_shared_ux_page_kibana_template.mdx b/api_docs/kbn_shared_ux_page_kibana_template.mdx index 0aeb2bd31c8c5..1807078d317d5 100644 --- a/api_docs/kbn_shared_ux_page_kibana_template.mdx +++ b/api_docs/kbn_shared_ux_page_kibana_template.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-kibana-template title: "@kbn/shared-ux-page-kibana-template" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-kibana-template plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-kibana-template'] --- import kbnSharedUxPageKibanaTemplateObj from './kbn_shared_ux_page_kibana_template.devdocs.json'; @@ -21,7 +21,7 @@ Contact [Owner missing] for questions regarding this plugin. | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 11 | 0 | 2 | 0 | +| 11 | 0 | 6 | 0 | ## Server diff --git a/api_docs/kbn_shared_ux_page_kibana_template_mocks.devdocs.json b/api_docs/kbn_shared_ux_page_kibana_template_mocks.devdocs.json index ff42bbf98fb39..b52d94020e0b7 100644 --- a/api_docs/kbn_shared_ux_page_kibana_template_mocks.devdocs.json +++ b/api_docs/kbn_shared_ux_page_kibana_template_mocks.devdocs.json @@ -34,7 +34,13 @@ "text": "StorybookMock" }, " extends ", - "AbstractStorybookMock", + { + "pluginId": "@kbn/shared-ux-storybook-mock", + "scope": "common", + "docId": "kibKbnSharedUxStorybookMockPluginApi", + "section": "def-common.AbstractStorybookMock", + "text": "AbstractStorybookMock" + }, "<", "KibanaPageTemplateProps", ", ", @@ -106,7 +112,13 @@ "label": "dependencies", "description": [], "signature": [ - "NoDataConfigPageStorybookMock", + { + "pluginId": "@kbn/shared-ux-page-no-data-config-mocks", + "scope": "common", + "docId": "kibKbnSharedUxPageNoDataConfigMocksPluginApi", + "section": "def-common.NoDataConfigPageStorybookMock", + "text": "NoDataConfigPageStorybookMock" + }, "[]" ], "path": "packages/shared-ux/page/kibana_template/mocks/src/storybook/all.ts", @@ -227,7 +239,13 @@ "text": "StorybookMock" }, " extends ", - "AbstractStorybookMock", + { + "pluginId": "@kbn/shared-ux-storybook-mock", + "scope": "common", + "docId": "kibKbnSharedUxStorybookMockPluginApi", + "section": "def-common.AbstractStorybookMock", + "text": "AbstractStorybookMock" + }, "<", "KibanaPageTemplateProps", ", ", @@ -287,7 +305,13 @@ "label": "dependencies", "description": [], "signature": [ - "NoDataConfigPageStorybookMock", + { + "pluginId": "@kbn/shared-ux-page-no-data-config-mocks", + "scope": "common", + "docId": "kibKbnSharedUxPageNoDataConfigMocksPluginApi", + "section": "def-common.NoDataConfigPageStorybookMock", + "text": "NoDataConfigPageStorybookMock" + }, "[]" ], "path": "packages/shared-ux/page/kibana_template/mocks/src/storybook/no_data_config.ts", @@ -408,7 +432,13 @@ "text": "StorybookMock" }, " extends ", - "AbstractStorybookMock", + { + "pluginId": "@kbn/shared-ux-storybook-mock", + "scope": "common", + "docId": "kibKbnSharedUxStorybookMockPluginApi", + "section": "def-common.AbstractStorybookMock", + "text": "AbstractStorybookMock" + }, "<", "KibanaPageTemplateProps", ", ", @@ -468,7 +498,13 @@ "label": "dependencies", "description": [], "signature": [ - "NoDataConfigPageStorybookMock", + { + "pluginId": "@kbn/shared-ux-page-no-data-config-mocks", + "scope": "common", + "docId": "kibKbnSharedUxPageNoDataConfigMocksPluginApi", + "section": "def-common.NoDataConfigPageStorybookMock", + "text": "NoDataConfigPageStorybookMock" + }, "[]" ], "path": "packages/shared-ux/page/kibana_template/mocks/src/storybook/solution_nav.ts", @@ -589,7 +625,13 @@ "text": "StorybookMock" }, " extends ", - "AbstractStorybookMock", + { + "pluginId": "@kbn/shared-ux-storybook-mock", + "scope": "common", + "docId": "kibKbnSharedUxStorybookMockPluginApi", + "section": "def-common.AbstractStorybookMock", + "text": "AbstractStorybookMock" + }, "<", "KibanaPageTemplateProps", ", ", @@ -801,17 +843,37 @@ "label": "Params", "description": [], "signature": [ - "ArgumentParams", + { + "pluginId": "@kbn/shared-ux-storybook-mock", + "scope": "common", + "docId": "kibKbnSharedUxStorybookMockPluginApi", + "section": "def-common.ArgumentParams", + "text": "ArgumentParams" + }, " & ", - "ArgumentParams", - "<", - "PropArguments", - ", {}> & ", - "ArgumentParams", - "<", - "PropArguments", - ", {}> & ", - "NoDataCardStorybookParams" + { + "pluginId": "@kbn/shared-ux-storybook-mock", + "scope": "common", + "docId": "kibKbnSharedUxStorybookMockPluginApi", + "section": "def-common.ArgumentParams", + "text": "ArgumentParams" + }, + " & ", + { + "pluginId": "@kbn/shared-ux-storybook-mock", + "scope": "common", + "docId": "kibKbnSharedUxStorybookMockPluginApi", + "section": "def-common.ArgumentParams", + "text": "ArgumentParams" + }, + " & ", + { + "pluginId": "@kbn/shared-ux-card-no-data-mocks", + "scope": "common", + "docId": "kibKbnSharedUxCardNoDataMocksPluginApi", + "section": "def-common.Params", + "text": "Params" + } ], "path": "packages/shared-ux/page/kibana_template/mocks/src/storybook/all.ts", "deprecated": false, @@ -826,19 +888,39 @@ "label": "Params", "description": [], "signature": [ - "ArgumentParams", + { + "pluginId": "@kbn/shared-ux-storybook-mock", + "scope": "common", + "docId": "kibKbnSharedUxStorybookMockPluginApi", + "section": "def-common.ArgumentParams", + "text": "ArgumentParams" + }, "<", "NoDataConfigArguments", ", {}> & ", - "ArgumentParams", - "<", - "PropArguments", - ", {}> & ", - "ArgumentParams", - "<", - "PropArguments", - ", {}> & ", - "NoDataCardStorybookParams" + { + "pluginId": "@kbn/shared-ux-storybook-mock", + "scope": "common", + "docId": "kibKbnSharedUxStorybookMockPluginApi", + "section": "def-common.ArgumentParams", + "text": "ArgumentParams" + }, + " & ", + { + "pluginId": "@kbn/shared-ux-storybook-mock", + "scope": "common", + "docId": "kibKbnSharedUxStorybookMockPluginApi", + "section": "def-common.ArgumentParams", + "text": "ArgumentParams" + }, + " & ", + { + "pluginId": "@kbn/shared-ux-card-no-data-mocks", + "scope": "common", + "docId": "kibKbnSharedUxCardNoDataMocksPluginApi", + "section": "def-common.Params", + "text": "Params" + } ], "path": "packages/shared-ux/page/kibana_template/mocks/src/storybook/no_data_config.ts", "deprecated": false, @@ -853,19 +935,39 @@ "label": "Params", "description": [], "signature": [ - "ArgumentParams", + { + "pluginId": "@kbn/shared-ux-storybook-mock", + "scope": "common", + "docId": "kibKbnSharedUxStorybookMockPluginApi", + "section": "def-common.ArgumentParams", + "text": "ArgumentParams" + }, "<", "SolutionNavArguments", ", {}> & ", - "ArgumentParams", - "<", - "PropArguments", - ", {}> & ", - "ArgumentParams", - "<", - "PropArguments", - ", {}> & ", - "NoDataCardStorybookParams" + { + "pluginId": "@kbn/shared-ux-storybook-mock", + "scope": "common", + "docId": "kibKbnSharedUxStorybookMockPluginApi", + "section": "def-common.ArgumentParams", + "text": "ArgumentParams" + }, + " & ", + { + "pluginId": "@kbn/shared-ux-storybook-mock", + "scope": "common", + "docId": "kibKbnSharedUxStorybookMockPluginApi", + "section": "def-common.ArgumentParams", + "text": "ArgumentParams" + }, + " & ", + { + "pluginId": "@kbn/shared-ux-card-no-data-mocks", + "scope": "common", + "docId": "kibKbnSharedUxCardNoDataMocksPluginApi", + "section": "def-common.Params", + "text": "Params" + } ], "path": "packages/shared-ux/page/kibana_template/mocks/src/storybook/solution_nav.ts", "deprecated": false, @@ -880,17 +982,37 @@ "label": "Params", "description": [], "signature": [ - "ArgumentParams", + { + "pluginId": "@kbn/shared-ux-storybook-mock", + "scope": "common", + "docId": "kibKbnSharedUxStorybookMockPluginApi", + "section": "def-common.ArgumentParams", + "text": "ArgumentParams" + }, " & ", - "ArgumentParams", - "<", - "PropArguments", - ", {}> & ", - "ArgumentParams", - "<", - "PropArguments", - ", {}> & ", - "NoDataCardStorybookParams" + { + "pluginId": "@kbn/shared-ux-storybook-mock", + "scope": "common", + "docId": "kibKbnSharedUxStorybookMockPluginApi", + "section": "def-common.ArgumentParams", + "text": "ArgumentParams" + }, + " & ", + { + "pluginId": "@kbn/shared-ux-storybook-mock", + "scope": "common", + "docId": "kibKbnSharedUxStorybookMockPluginApi", + "section": "def-common.ArgumentParams", + "text": "ArgumentParams" + }, + " & ", + { + "pluginId": "@kbn/shared-ux-card-no-data-mocks", + "scope": "common", + "docId": "kibKbnSharedUxCardNoDataMocksPluginApi", + "section": "def-common.Params", + "text": "Params" + } ], "path": "packages/shared-ux/page/kibana_template/mocks/src/storybook/inner.tsx", "deprecated": false, diff --git a/api_docs/kbn_shared_ux_page_kibana_template_mocks.mdx b/api_docs/kbn_shared_ux_page_kibana_template_mocks.mdx index f606cf86a5e18..7dd1404024347 100644 --- a/api_docs/kbn_shared_ux_page_kibana_template_mocks.mdx +++ b/api_docs/kbn_shared_ux_page_kibana_template_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-kibana-template-mocks title: "@kbn/shared-ux-page-kibana-template-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-kibana-template-mocks plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-kibana-template-mocks'] --- import kbnSharedUxPageKibanaTemplateMocksObj from './kbn_shared_ux_page_kibana_template_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_no_data.devdocs.json b/api_docs/kbn_shared_ux_page_no_data.devdocs.json index da8d66fbcfe79..e6f62668e8f73 100644 --- a/api_docs/kbn_shared_ux_page_no_data.devdocs.json +++ b/api_docs/kbn_shared_ux_page_no_data.devdocs.json @@ -148,7 +148,7 @@ ",", "ActionCardProps" ], - "path": "node_modules/@kbn/shared-ux-page-no-data-types/index.d.ts", + "path": "packages/shared-ux/page/no_data/types/index.d.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -161,7 +161,7 @@ "description": [ "\nSingle name for the current solution, used to auto-generate the title, logo, description, and button label" ], - "path": "node_modules/@kbn/shared-ux-page-no-data-types/index.d.ts", + "path": "packages/shared-ux/page/no_data/types/index.d.ts", "deprecated": false, "trackAdoption": false }, @@ -174,7 +174,7 @@ "description": [ "\nRequired to set the docs link for the whole solution" ], - "path": "node_modules/@kbn/shared-ux-page-no-data-types/index.d.ts", + "path": "packages/shared-ux/page/no_data/types/index.d.ts", "deprecated": false, "trackAdoption": false }, @@ -190,7 +190,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@kbn/shared-ux-page-no-data-types/index.d.ts", + "path": "packages/shared-ux/page/no_data/types/index.d.ts", "deprecated": false, "trackAdoption": false }, @@ -206,7 +206,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@kbn/shared-ux-page-no-data-types/index.d.ts", + "path": "packages/shared-ux/page/no_data/types/index.d.ts", "deprecated": false, "trackAdoption": false } @@ -230,7 +230,7 @@ " & ", "RedirectAppLinksKibanaDependencies" ], - "path": "node_modules/@kbn/shared-ux-page-no-data-types/index.d.ts", + "path": "packages/shared-ux/page/no_data/types/index.d.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -249,7 +249,7 @@ " & ", "RedirectAppLinksServices" ], - "path": "node_modules/@kbn/shared-ux-page-no-data-types/index.d.ts", + "path": "packages/shared-ux/page/no_data/types/index.d.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/kbn_shared_ux_page_no_data.mdx b/api_docs/kbn_shared_ux_page_no_data.mdx index 279cc76b41769..6e6daf57b3090 100644 --- a/api_docs/kbn_shared_ux_page_no_data.mdx +++ b/api_docs/kbn_shared_ux_page_no_data.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-no-data title: "@kbn/shared-ux-page-no-data" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-no-data plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-no-data'] --- import kbnSharedUxPageNoDataObj from './kbn_shared_ux_page_no_data.devdocs.json'; @@ -21,7 +21,7 @@ Contact [Owner missing] for questions regarding this plugin. | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 13 | 0 | 4 | 0 | +| 13 | 0 | 5 | 0 | ## Common diff --git a/api_docs/kbn_shared_ux_page_no_data_config.devdocs.json b/api_docs/kbn_shared_ux_page_no_data_config.devdocs.json index 2736dcfb19759..07e83e6991e88 100644 --- a/api_docs/kbn_shared_ux_page_no_data_config.devdocs.json +++ b/api_docs/kbn_shared_ux_page_no_data_config.devdocs.json @@ -140,9 +140,7 @@ "label": "NoDataConfigPageWithSolutionNavBar", "description": [], "signature": [ - "{ (props: ", - "Props", - "<", + "{ (props: Props<", "_EuiPageOuterProps", " & Omit<", "_EuiPageInnerProps", @@ -176,10 +174,16 @@ "P & Pick<", "KibanaPageTemplateProps", ", \"pageSideBar\" | \"pageSideBarProps\"> & { children?: React.ReactNode; } & { solutionNav: ", - "SolutionNavProps", + { + "pluginId": "@kbn/shared-ux-page-solution-nav", + "scope": "common", + "docId": "kibKbnSharedUxPageSolutionNavPluginApi", + "section": "def-common.SolutionNavProps", + "text": "SolutionNavProps" + }, "; }" ], - "path": "node_modules/@types/kbn__shared-ux-page-solution-nav/index.d.ts", + "path": "packages/shared-ux/page/solution_nav/src/with_solution_nav.tsx", "deprecated": false, "trackAdoption": false } @@ -202,7 +206,7 @@ " & ", "RedirectAppLinksKibanaDependencies" ], - "path": "node_modules/@kbn/shared-ux-page-no-data-config-types/index.d.ts", + "path": "packages/shared-ux/page/no_data_config/types/index.d.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -232,7 +236,7 @@ "EuiPageSidebarProps", " | undefined; }" ], - "path": "node_modules/@kbn/shared-ux-page-no-data-config-types/index.d.ts", + "path": "packages/shared-ux/page/no_data_config/types/index.d.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -249,7 +253,7 @@ " & ", "RedirectAppLinksServices" ], - "path": "node_modules/@kbn/shared-ux-page-no-data-config-types/index.d.ts", + "path": "packages/shared-ux/page/no_data_config/types/index.d.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/kbn_shared_ux_page_no_data_config.mdx b/api_docs/kbn_shared_ux_page_no_data_config.mdx index 7fd8d75217e1e..c8725a3e284cd 100644 --- a/api_docs/kbn_shared_ux_page_no_data_config.mdx +++ b/api_docs/kbn_shared_ux_page_no_data_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-no-data-config title: "@kbn/shared-ux-page-no-data-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-no-data-config plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-no-data-config'] --- import kbnSharedUxPageNoDataConfigObj from './kbn_shared_ux_page_no_data_config.devdocs.json'; @@ -21,7 +21,7 @@ Contact [Owner missing] for questions regarding this plugin. | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 11 | 0 | 5 | 0 | +| 11 | 0 | 9 | 0 | ## Common diff --git a/api_docs/kbn_shared_ux_page_no_data_config_mocks.devdocs.json b/api_docs/kbn_shared_ux_page_no_data_config_mocks.devdocs.json index beaad7773c82b..d30a00b6d1dcd 100644 --- a/api_docs/kbn_shared_ux_page_no_data_config_mocks.devdocs.json +++ b/api_docs/kbn_shared_ux_page_no_data_config_mocks.devdocs.json @@ -34,7 +34,13 @@ "text": "NoDataConfigPageStorybookMock" }, " extends ", - "AbstractStorybookMock", + { + "pluginId": "@kbn/shared-ux-storybook-mock", + "scope": "common", + "docId": "kibKbnSharedUxStorybookMockPluginApi", + "section": "def-common.AbstractStorybookMock", + "text": "AbstractStorybookMock" + }, "<", "NoDataConfigPageProps", ", ", @@ -248,7 +254,13 @@ "label": "dependencies", "description": [], "signature": [ - "NoDataPageStorybookMock", + { + "pluginId": "@kbn/shared-ux-page-no-data-mocks", + "scope": "common", + "docId": "kibKbnSharedUxPageNoDataMocksPluginApi", + "section": "def-common.NoDataPageStorybookMock", + "text": "NoDataPageStorybookMock" + }, "[]" ], "path": "packages/shared-ux/page/no_data_config/mocks/src/storybook.ts", @@ -385,13 +397,29 @@ "label": "Params", "description": [], "signature": [ - "ArgumentParams", + { + "pluginId": "@kbn/shared-ux-storybook-mock", + "scope": "common", + "docId": "kibKbnSharedUxStorybookMockPluginApi", + "section": "def-common.ArgumentParams", + "text": "ArgumentParams" + }, " & ", - "ArgumentParams", - "<", - "PropArguments", - ", {}> & ", - "NoDataCardStorybookParams" + { + "pluginId": "@kbn/shared-ux-storybook-mock", + "scope": "common", + "docId": "kibKbnSharedUxStorybookMockPluginApi", + "section": "def-common.ArgumentParams", + "text": "ArgumentParams" + }, + " & ", + { + "pluginId": "@kbn/shared-ux-card-no-data-mocks", + "scope": "common", + "docId": "kibKbnSharedUxCardNoDataMocksPluginApi", + "section": "def-common.Params", + "text": "Params" + } ], "path": "packages/shared-ux/page/no_data_config/mocks/src/storybook.ts", "deprecated": false, diff --git a/api_docs/kbn_shared_ux_page_no_data_config_mocks.mdx b/api_docs/kbn_shared_ux_page_no_data_config_mocks.mdx index 392586baa1613..9f6666977044b 100644 --- a/api_docs/kbn_shared_ux_page_no_data_config_mocks.mdx +++ b/api_docs/kbn_shared_ux_page_no_data_config_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-no-data-config-mocks title: "@kbn/shared-ux-page-no-data-config-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-no-data-config-mocks plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-no-data-config-mocks'] --- import kbnSharedUxPageNoDataConfigMocksObj from './kbn_shared_ux_page_no_data_config_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_no_data_mocks.devdocs.json b/api_docs/kbn_shared_ux_page_no_data_mocks.devdocs.json index 09a4c4fcda6af..eec36e151d26c 100644 --- a/api_docs/kbn_shared_ux_page_no_data_mocks.devdocs.json +++ b/api_docs/kbn_shared_ux_page_no_data_mocks.devdocs.json @@ -34,7 +34,13 @@ "text": "NoDataPageStorybookMock" }, " extends ", - "AbstractStorybookMock", + { + "pluginId": "@kbn/shared-ux-storybook-mock", + "scope": "common", + "docId": "kibKbnSharedUxStorybookMockPluginApi", + "section": "def-common.AbstractStorybookMock", + "text": "AbstractStorybookMock" + }, "<", "NoDataPageProps", ", ", @@ -248,7 +254,13 @@ "label": "dependencies", "description": [], "signature": [ - "NoDataCardStorybookMock", + { + "pluginId": "@kbn/shared-ux-card-no-data-mocks", + "scope": "common", + "docId": "kibKbnSharedUxCardNoDataMocksPluginApi", + "section": "def-common.StorybookMock", + "text": "StorybookMock" + }, "[]" ], "path": "packages/shared-ux/page/no_data/mocks/src/storybook.ts", @@ -445,9 +457,21 @@ "label": "Params", "description": [], "signature": [ - "ArgumentParams", + { + "pluginId": "@kbn/shared-ux-storybook-mock", + "scope": "common", + "docId": "kibKbnSharedUxStorybookMockPluginApi", + "section": "def-common.ArgumentParams", + "text": "ArgumentParams" + }, " & ", - "NoDataCardStorybookParams" + { + "pluginId": "@kbn/shared-ux-card-no-data-mocks", + "scope": "common", + "docId": "kibKbnSharedUxCardNoDataMocksPluginApi", + "section": "def-common.Params", + "text": "Params" + } ], "path": "packages/shared-ux/page/no_data/mocks/src/storybook.ts", "deprecated": false, diff --git a/api_docs/kbn_shared_ux_page_no_data_mocks.mdx b/api_docs/kbn_shared_ux_page_no_data_mocks.mdx index 77edb31ea04ba..b8a3bad7d3b4d 100644 --- a/api_docs/kbn_shared_ux_page_no_data_mocks.mdx +++ b/api_docs/kbn_shared_ux_page_no_data_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-no-data-mocks title: "@kbn/shared-ux-page-no-data-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-no-data-mocks plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-no-data-mocks'] --- import kbnSharedUxPageNoDataMocksObj from './kbn_shared_ux_page_no_data_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_solution_nav.mdx b/api_docs/kbn_shared_ux_page_solution_nav.mdx index bf84175cd2816..5cdeae5e8a614 100644 --- a/api_docs/kbn_shared_ux_page_solution_nav.mdx +++ b/api_docs/kbn_shared_ux_page_solution_nav.mdx @@ -8,7 +8,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 description: API docs for the @kbn/shared-ux-page-solution-nav plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-solution-nav'] --- import kbnSharedUxPageSolutionNavObj from './kbn_shared_ux_page_solution_nav.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_prompt_no_data_views.devdocs.json b/api_docs/kbn_shared_ux_prompt_no_data_views.devdocs.json index 78f03a3e5bfd8..7d8d9d6a01b9b 100644 --- a/api_docs/kbn_shared_ux_prompt_no_data_views.devdocs.json +++ b/api_docs/kbn_shared_ux_prompt_no_data_views.devdocs.json @@ -180,7 +180,7 @@ "tags": [], "label": "NoDataViewsPromptComponentProps", "description": [], - "path": "node_modules/@kbn/shared-ux-prompt-no-data-views-types/index.d.ts", + "path": "packages/shared-ux/prompt/no_data_views/types/index.d.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -193,7 +193,7 @@ "description": [ "True if the user has permission to create a data view, false otherwise." ], - "path": "node_modules/@kbn/shared-ux-prompt-no-data-views-types/index.d.ts", + "path": "packages/shared-ux/prompt/no_data_views/types/index.d.ts", "deprecated": false, "trackAdoption": false }, @@ -209,7 +209,7 @@ "signature": [ "(() => void) | undefined" ], - "path": "node_modules/@kbn/shared-ux-prompt-no-data-views-types/index.d.ts", + "path": "packages/shared-ux/prompt/no_data_views/types/index.d.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -227,7 +227,7 @@ "signature": [ "string | undefined" ], - "path": "node_modules/@kbn/shared-ux-prompt-no-data-views-types/index.d.ts", + "path": "packages/shared-ux/prompt/no_data_views/types/index.d.ts", "deprecated": false, "trackAdoption": false }, @@ -243,7 +243,7 @@ "signature": [ "\"warning\" | \"subdued\" | \"primary\" | \"accent\" | \"success\" | \"danger\" | \"transparent\" | \"plain\" | undefined" ], - "path": "node_modules/@kbn/shared-ux-prompt-no-data-views-types/index.d.ts", + "path": "packages/shared-ux/prompt/no_data_views/types/index.d.ts", "deprecated": false, "trackAdoption": false } @@ -259,7 +259,7 @@ "description": [ "\nKibana-specific service types." ], - "path": "node_modules/@kbn/shared-ux-prompt-no-data-views-types/index.d.ts", + "path": "packages/shared-ux/prompt/no_data_views/types/index.d.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -273,7 +273,7 @@ "signature": [ "{ docLinks: { links: { indexPatterns: { introduction: string; }; }; }; }" ], - "path": "node_modules/@kbn/shared-ux-prompt-no-data-views-types/index.d.ts", + "path": "packages/shared-ux/prompt/no_data_views/types/index.d.ts", "deprecated": false, "trackAdoption": false }, @@ -289,7 +289,7 @@ "DataViewEditorOptions", ") => () => void; }" ], - "path": "node_modules/@kbn/shared-ux-prompt-no-data-views-types/index.d.ts", + "path": "packages/shared-ux/prompt/no_data_views/types/index.d.ts", "deprecated": false, "trackAdoption": false } @@ -303,7 +303,7 @@ "tags": [], "label": "NoDataViewsPromptProps", "description": [], - "path": "node_modules/@kbn/shared-ux-prompt-no-data-views-types/index.d.ts", + "path": "packages/shared-ux/prompt/no_data_views/types/index.d.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -319,7 +319,7 @@ "signature": [ "(dataView: unknown) => void" ], - "path": "node_modules/@kbn/shared-ux-prompt-no-data-views-types/index.d.ts", + "path": "packages/shared-ux/prompt/no_data_views/types/index.d.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -333,7 +333,7 @@ "signature": [ "unknown" ], - "path": "node_modules/@kbn/shared-ux-prompt-no-data-views-types/index.d.ts", + "path": "packages/shared-ux/prompt/no_data_views/types/index.d.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -353,7 +353,7 @@ "description": [ "\nAbstract external services for this component." ], - "path": "node_modules/@kbn/shared-ux-prompt-no-data-views-types/index.d.ts", + "path": "packages/shared-ux/prompt/no_data_views/types/index.d.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -366,7 +366,7 @@ "description": [ "True if the user has permission to create a new Data View, false otherwise." ], - "path": "node_modules/@kbn/shared-ux-prompt-no-data-views-types/index.d.ts", + "path": "packages/shared-ux/prompt/no_data_views/types/index.d.ts", "deprecated": false, "trackAdoption": false }, @@ -384,7 +384,7 @@ "DataViewEditorOptions", ") => () => void" ], - "path": "node_modules/@kbn/shared-ux-prompt-no-data-views-types/index.d.ts", + "path": "packages/shared-ux/prompt/no_data_views/types/index.d.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -398,7 +398,7 @@ "signature": [ "DataViewEditorOptions" ], - "path": "node_modules/@kbn/shared-ux-prompt-no-data-views-types/index.d.ts", + "path": "packages/shared-ux/prompt/no_data_views/types/index.d.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -415,7 +415,7 @@ "description": [ "A link to information about Data Views in Kibana" ], - "path": "node_modules/@kbn/shared-ux-prompt-no-data-views-types/index.d.ts", + "path": "packages/shared-ux/prompt/no_data_views/types/index.d.ts", "deprecated": false, "trackAdoption": false } 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 7387d18eed214..4c4b0b646e11e 100644 --- a/api_docs/kbn_shared_ux_prompt_no_data_views.mdx +++ b/api_docs/kbn_shared_ux_prompt_no_data_views.mdx @@ -8,7 +8,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 description: API docs for the @kbn/shared-ux-prompt-no-data-views plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-prompt-no-data-views'] --- import kbnSharedUxPromptNoDataViewsObj from './kbn_shared_ux_prompt_no_data_views.devdocs.json'; @@ -21,7 +21,7 @@ Contact [Owner missing] for questions regarding this plugin. | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 24 | 0 | 4 | 0 | +| 24 | 0 | 10 | 0 | ## Common diff --git a/api_docs/kbn_shared_ux_prompt_no_data_views_mocks.devdocs.json b/api_docs/kbn_shared_ux_prompt_no_data_views_mocks.devdocs.json index 6e741eeb458f3..3abb027d373c5 100644 --- a/api_docs/kbn_shared_ux_prompt_no_data_views_mocks.devdocs.json +++ b/api_docs/kbn_shared_ux_prompt_no_data_views_mocks.devdocs.json @@ -34,7 +34,13 @@ "text": "StorybookMock" }, " extends ", - "AbstractStorybookMock", + { + "pluginId": "@kbn/shared-ux-storybook-mock", + "scope": "common", + "docId": "kibKbnSharedUxStorybookMockPluginApi", + "section": "def-common.AbstractStorybookMock", + "text": "AbstractStorybookMock" + }, "<", "NoDataViewsPromptProps", ", ", 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 5f178d823f10a..4f26769d29a17 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 @@ -8,7 +8,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 description: API docs for the @kbn/shared-ux-prompt-no-data-views-mocks plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-prompt-no-data-views-mocks'] --- import kbnSharedUxPromptNoDataViewsMocksObj from './kbn_shared_ux_prompt_no_data_views_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_router.mdx b/api_docs/kbn_shared_ux_router.mdx index 020dee3f21375..c49a0793e14da 100644 --- a/api_docs/kbn_shared_ux_router.mdx +++ b/api_docs/kbn_shared_ux_router.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-router title: "@kbn/shared-ux-router" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-router plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-router'] --- import kbnSharedUxRouterObj from './kbn_shared_ux_router.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_router_mocks.mdx b/api_docs/kbn_shared_ux_router_mocks.mdx index 98c7c51a31af8..dc54091268d8c 100644 --- a/api_docs/kbn_shared_ux_router_mocks.mdx +++ b/api_docs/kbn_shared_ux_router_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-router-mocks title: "@kbn/shared-ux-router-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-router-mocks plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-router-mocks'] --- import kbnSharedUxRouterMocksObj from './kbn_shared_ux_router_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_storybook_config.mdx b/api_docs/kbn_shared_ux_storybook_config.mdx index 713ac132ec311..2c0579bdb7cc5 100644 --- a/api_docs/kbn_shared_ux_storybook_config.mdx +++ b/api_docs/kbn_shared_ux_storybook_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-storybook-config title: "@kbn/shared-ux-storybook-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-storybook-config plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-storybook-config'] --- import kbnSharedUxStorybookConfigObj from './kbn_shared_ux_storybook_config.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_storybook_mock.devdocs.json b/api_docs/kbn_shared_ux_storybook_mock.devdocs.json index 10d6ff9a9a534..4736b2493fd6e 100644 --- a/api_docs/kbn_shared_ux_storybook_mock.devdocs.json +++ b/api_docs/kbn_shared_ux_storybook_mock.devdocs.json @@ -183,7 +183,13 @@ ], "signature": [ "(arg: keyof PropArguments | keyof ServiceArguments, params?: ", - "ArgumentParams", + { + "pluginId": "@kbn/shared-ux-storybook-mock", + "scope": "common", + "docId": "kibKbnSharedUxStorybookMockPluginApi", + "section": "def-common.ArgumentParams", + "text": "ArgumentParams" + }, " | undefined) => any" ], "path": "packages/shared-ux/storybook/mock/src/mocks.ts", @@ -213,7 +219,13 @@ "label": "params", "description": [], "signature": [ - "ArgumentParams", + { + "pluginId": "@kbn/shared-ux-storybook-mock", + "scope": "common", + "docId": "kibKbnSharedUxStorybookMockPluginApi", + "section": "def-common.ArgumentParams", + "text": "ArgumentParams" + }, " | undefined" ], "path": "packages/shared-ux/storybook/mock/src/mocks.ts", @@ -235,7 +247,13 @@ ], "signature": [ "(params?: ", - "ArgumentParams", + { + "pluginId": "@kbn/shared-ux-storybook-mock", + "scope": "common", + "docId": "kibKbnSharedUxStorybookMockPluginApi", + "section": "def-common.ArgumentParams", + "text": "ArgumentParams" + }, " | undefined) => Props" ], "path": "packages/shared-ux/storybook/mock/src/mocks.ts", @@ -250,7 +268,13 @@ "label": "params", "description": [], "signature": [ - "ArgumentParams", + { + "pluginId": "@kbn/shared-ux-storybook-mock", + "scope": "common", + "docId": "kibKbnSharedUxStorybookMockPluginApi", + "section": "def-common.ArgumentParams", + "text": "ArgumentParams" + }, " | undefined" ], "path": "packages/shared-ux/storybook/mock/src/mocks.ts", @@ -272,7 +296,13 @@ ], "signature": [ "(params?: ", - "ArgumentParams", + { + "pluginId": "@kbn/shared-ux-storybook-mock", + "scope": "common", + "docId": "kibKbnSharedUxStorybookMockPluginApi", + "section": "def-common.ArgumentParams", + "text": "ArgumentParams" + }, " | undefined) => Services" ], "path": "packages/shared-ux/storybook/mock/src/mocks.ts", @@ -287,7 +317,13 @@ "label": "params", "description": [], "signature": [ - "ArgumentParams", + { + "pluginId": "@kbn/shared-ux-storybook-mock", + "scope": "common", + "docId": "kibKbnSharedUxStorybookMockPluginApi", + "section": "def-common.ArgumentParams", + "text": "ArgumentParams" + }, " | undefined" ], "path": "packages/shared-ux/storybook/mock/src/mocks.ts", @@ -305,7 +341,25 @@ "functions": [], "interfaces": [], "enums": [], - "misc": [], + "misc": [ + { + "parentPluginId": "@kbn/shared-ux-storybook-mock", + "id": "def-common.ArgumentParams", + "type": "Type", + "tags": [], + "label": "ArgumentParams", + "description": [ + "\nType that expresses the arguments available to a story based on the\nprops and services the component consumes." + ], + "signature": [ + "{ [P in keyof PropArguments | keyof ServiceArguments]: any; }" + ], + "path": "packages/shared-ux/storybook/mock/src/mocks.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + } + ], "objects": [] } } \ No newline at end of file diff --git a/api_docs/kbn_shared_ux_storybook_mock.mdx b/api_docs/kbn_shared_ux_storybook_mock.mdx index f58fa69ce6e89..c1e0fbc70cbf3 100644 --- a/api_docs/kbn_shared_ux_storybook_mock.mdx +++ b/api_docs/kbn_shared_ux_storybook_mock.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-storybook-mock title: "@kbn/shared-ux-storybook-mock" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-storybook-mock plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-storybook-mock'] --- import kbnSharedUxStorybookMockObj from './kbn_shared_ux_storybook_mock.devdocs.json'; @@ -21,10 +21,13 @@ Contact [Owner missing] for questions regarding this plugin. | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 14 | 0 | 4 | 1 | +| 15 | 0 | 4 | 0 | ## Common ### Classes +### Consts, variables and types + + diff --git a/api_docs/kbn_shared_ux_utility.mdx b/api_docs/kbn_shared_ux_utility.mdx index 68db745c8c7a5..e6a3edc228f03 100644 --- a/api_docs/kbn_shared_ux_utility.mdx +++ b/api_docs/kbn_shared_ux_utility.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-utility title: "@kbn/shared-ux-utility" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-utility plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-utility'] --- import kbnSharedUxUtilityObj from './kbn_shared_ux_utility.devdocs.json'; diff --git a/api_docs/kbn_some_dev_log.mdx b/api_docs/kbn_some_dev_log.mdx index e5b2f0f60dc3d..a9bb775c87041 100644 --- a/api_docs/kbn_some_dev_log.mdx +++ b/api_docs/kbn_some_dev_log.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-some-dev-log title: "@kbn/some-dev-log" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/some-dev-log plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/some-dev-log'] --- import kbnSomeDevLogObj from './kbn_some_dev_log.devdocs.json'; diff --git a/api_docs/kbn_sort_package_json.mdx b/api_docs/kbn_sort_package_json.mdx index 1a57b5677dcd2..86a2fee373a70 100644 --- a/api_docs/kbn_sort_package_json.mdx +++ b/api_docs/kbn_sort_package_json.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-sort-package-json title: "@kbn/sort-package-json" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/sort-package-json plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/sort-package-json'] --- import kbnSortPackageJsonObj from './kbn_sort_package_json.devdocs.json'; diff --git a/api_docs/kbn_std.devdocs.json b/api_docs/kbn_std.devdocs.json index c8636b80ef3b5..730a237d2c47b 100644 --- a/api_docs/kbn_std.devdocs.json +++ b/api_docs/kbn_std.devdocs.json @@ -412,7 +412,13 @@ ], "signature": [ "(object: T) => ", - "RecursiveReadonly", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.RecursiveReadonly", + "text": "RecursiveReadonly" + }, "" ], "path": "packages/kbn-std/src/deep_freeze.ts", diff --git a/api_docs/kbn_std.mdx b/api_docs/kbn_std.mdx index 21efd9db94f90..4402615c5d8d3 100644 --- a/api_docs/kbn_std.mdx +++ b/api_docs/kbn_std.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-std title: "@kbn/std" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/std plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/std'] --- import kbnStdObj from './kbn_std.devdocs.json'; diff --git a/api_docs/kbn_stdio_dev_helpers.mdx b/api_docs/kbn_stdio_dev_helpers.mdx index bfbf616e3b931..d1880646d260c 100644 --- a/api_docs/kbn_stdio_dev_helpers.mdx +++ b/api_docs/kbn_stdio_dev_helpers.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-stdio-dev-helpers title: "@kbn/stdio-dev-helpers" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/stdio-dev-helpers plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/stdio-dev-helpers'] --- import kbnStdioDevHelpersObj from './kbn_stdio_dev_helpers.devdocs.json'; diff --git a/api_docs/kbn_storybook.mdx b/api_docs/kbn_storybook.mdx index bf8e529d4d5f6..666b6f7d6e69e 100644 --- a/api_docs/kbn_storybook.mdx +++ b/api_docs/kbn_storybook.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-storybook title: "@kbn/storybook" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/storybook plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/storybook'] --- import kbnStorybookObj from './kbn_storybook.devdocs.json'; diff --git a/api_docs/kbn_telemetry_tools.mdx b/api_docs/kbn_telemetry_tools.mdx index 6bb5ef1566a37..21c614f8c2929 100644 --- a/api_docs/kbn_telemetry_tools.mdx +++ b/api_docs/kbn_telemetry_tools.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-telemetry-tools title: "@kbn/telemetry-tools" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/telemetry-tools plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/telemetry-tools'] --- import kbnTelemetryToolsObj from './kbn_telemetry_tools.devdocs.json'; diff --git a/api_docs/kbn_test.devdocs.json b/api_docs/kbn_test.devdocs.json index db22fd28c89fe..c8dd06291eab2 100644 --- a/api_docs/kbn_test.devdocs.json +++ b/api_docs/kbn_test.devdocs.json @@ -259,7 +259,13 @@ "label": "log", "description": [], "signature": [ - "ToolingLog" + { + "pluginId": "@kbn/tooling-log", + "scope": "server", + "docId": "kibKbnToolingLogPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + } ], "path": "packages/kbn-test/src/functional_test_runner/lib/docker_servers/docker_servers_service.ts", "deprecated": false, @@ -601,7 +607,13 @@ "label": "log", "description": [], "signature": [ - "ToolingLog" + { + "pluginId": "@kbn/tooling-log", + "scope": "server", + "docId": "kibKbnToolingLogPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + } ], "path": "packages/kbn-test/src/functional_test_runner/functional_test_runner.ts", "deprecated": false, @@ -1375,7 +1387,13 @@ "label": "log", "description": [], "signature": [ - "ToolingLog" + { + "pluginId": "@kbn/tooling-log", + "scope": "server", + "docId": "kibKbnToolingLogPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + } ], "path": "packages/kbn-test/src/functional_test_runner/lib/lifecycle.ts", "deprecated": false, @@ -2168,7 +2186,13 @@ "description": [], "signature": [ "(log: ", - "ToolingLog", + { + "pluginId": "@kbn/tooling-log", + "scope": "server", + "docId": "kibKbnToolingLogPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + }, ", esVersion: ", { "pluginId": "@kbn/test", @@ -2199,7 +2223,13 @@ "label": "log", "description": [], "signature": [ - "ToolingLog" + { + "pluginId": "@kbn/tooling-log", + "scope": "server", + "docId": "kibKbnToolingLogPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + } ], "path": "packages/kbn-test/src/functional_test_runner/lib/config/config_loading.ts", "deprecated": false, @@ -2388,7 +2418,13 @@ ], "signature": [ "(log: ", - "ToolingLog", + { + "pluginId": "@kbn/tooling-log", + "scope": "server", + "docId": "kibKbnToolingLogPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + }, ", options: { configs: string[]; esVersion: ", { "pluginId": "@kbn/test", @@ -2411,7 +2447,13 @@ "label": "log", "description": [], "signature": [ - "ToolingLog" + { + "pluginId": "@kbn/tooling-log", + "scope": "server", + "docId": "kibKbnToolingLogPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + } ], "path": "packages/kbn-test/src/functional_tests/run_tests/run_tests.ts", "deprecated": false, @@ -2462,6 +2504,54 @@ "returnComment": [], "initialIsOpen": false }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.setupJUnitReportGeneration", + "type": "Function", + "tags": [], + "label": "setupJUnitReportGeneration", + "description": [], + "signature": [ + "(runner: any, options: {}) => void" + ], + "path": "packages/kbn-test/src/mocha/junit_report_generation.js", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.setupJUnitReportGeneration.$1", + "type": "Any", + "tags": [], + "label": "runner", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-test/src/mocha/junit_report_generation.js", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.setupJUnitReportGeneration.$2", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "{}" + ], + "path": "packages/kbn-test/src/mocha/junit_report_generation.js", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, { "parentPluginId": "@kbn/test", "id": "def-server.startServers", @@ -2471,7 +2561,13 @@ "description": [], "signature": [ "(log: ", - "ToolingLog", + { + "pluginId": "@kbn/tooling-log", + "scope": "server", + "docId": "kibKbnToolingLogPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + }, ", options: { config: string; esFrom: \"source\" | \"snapshot\" | undefined; esVersion: ", { "pluginId": "@kbn/test", @@ -2494,7 +2590,13 @@ "label": "log", "description": [], "signature": [ - "ToolingLog" + { + "pluginId": "@kbn/tooling-log", + "scope": "server", + "docId": "kibKbnToolingLogPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + } ], "path": "packages/kbn-test/src/functional_tests/start_servers/start_servers.ts", "deprecated": false, @@ -2762,7 +2864,13 @@ "label": "log", "description": [], "signature": [ - "ToolingLog" + { + "pluginId": "@kbn/tooling-log", + "scope": "server", + "docId": "kibKbnToolingLogPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + } ], "path": "packages/kbn-test/src/es/test_es_cluster.ts", "deprecated": false, @@ -3212,7 +3320,13 @@ "label": "log", "description": [], "signature": [ - "ToolingLog" + { + "pluginId": "@kbn/tooling-log", + "scope": "server", + "docId": "kibKbnToolingLogPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + } ], "path": "packages/kbn-test/src/functional_test_runner/public_types.ts", "deprecated": false, @@ -3419,7 +3533,13 @@ "text": "Config" }, "; (serviceName: \"log\"): ", - "ToolingLog", + { + "pluginId": "@kbn/tooling-log", + "scope": "server", + "docId": "kibKbnToolingLogPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + }, "; (serviceName: \"lifecycle\"): ", { "pluginId": "@kbn/test", @@ -3487,7 +3607,13 @@ "text": "Config" }, "; (serviceName: \"log\"): ", - "ToolingLog", + { + "pluginId": "@kbn/tooling-log", + "scope": "server", + "docId": "kibKbnToolingLogPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + }, "; (serviceName: \"lifecycle\"): ", { "pluginId": "@kbn/test", @@ -3555,7 +3681,13 @@ "text": "Config" }, "; (serviceName: \"log\"): ", - "ToolingLog", + { + "pluginId": "@kbn/tooling-log", + "scope": "server", + "docId": "kibKbnToolingLogPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + }, "; (serviceName: \"lifecycle\"): ", { "pluginId": "@kbn/test", @@ -3623,7 +3755,13 @@ "text": "Config" }, "; (serviceName: \"log\"): ", - "ToolingLog", + { + "pluginId": "@kbn/tooling-log", + "scope": "server", + "docId": "kibKbnToolingLogPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + }, "; (serviceName: \"lifecycle\"): ", { "pluginId": "@kbn/test", @@ -3691,7 +3829,13 @@ "text": "Config" }, "; (serviceName: \"log\"): ", - "ToolingLog", + { + "pluginId": "@kbn/tooling-log", + "scope": "server", + "docId": "kibKbnToolingLogPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + }, "; (serviceName: \"lifecycle\"): ", { "pluginId": "@kbn/test", @@ -3759,7 +3903,13 @@ "text": "Config" }, "; (serviceName: \"log\"): ", - "ToolingLog", + { + "pluginId": "@kbn/tooling-log", + "scope": "server", + "docId": "kibKbnToolingLogPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + }, "; (serviceName: \"lifecycle\"): ", { "pluginId": "@kbn/test", @@ -3827,7 +3977,13 @@ "text": "Config" }, "; (serviceName: \"log\"): ", - "ToolingLog", + { + "pluginId": "@kbn/tooling-log", + "scope": "server", + "docId": "kibKbnToolingLogPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + }, "; (serviceName: \"lifecycle\"): ", { "pluginId": "@kbn/test", @@ -4179,7 +4335,13 @@ "label": "log", "description": [], "signature": [ - "ToolingLog" + { + "pluginId": "@kbn/tooling-log", + "scope": "server", + "docId": "kibKbnToolingLogPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + } ], "path": "packages/kbn-test/src/kbn_client/kbn_client.ts", "deprecated": false, @@ -4788,13 +4950,10 @@ { "parentPluginId": "@kbn/test", "id": "def-server.systemIndicesSuperuser.username", - "type": "Any", + "type": "string", "tags": [], "label": "username", "description": [], - "signature": [ - "any" - ], "path": "packages/kbn-test/src/kbn/users.ts", "deprecated": false, "trackAdoption": false diff --git a/api_docs/kbn_test.mdx b/api_docs/kbn_test.mdx index 3d838aac07afc..2758141a7afe6 100644 --- a/api_docs/kbn_test.mdx +++ b/api_docs/kbn_test.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-test title: "@kbn/test" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/test plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/test'] --- import kbnTestObj from './kbn_test.devdocs.json'; @@ -21,7 +21,7 @@ Contact Operations for questions regarding this plugin. | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 261 | 4 | 217 | 11 | +| 264 | 4 | 220 | 11 | ## Server diff --git a/api_docs/kbn_test_jest_helpers.mdx b/api_docs/kbn_test_jest_helpers.mdx index 0b8da797d1164..fc2d1d2e4f782 100644 --- a/api_docs/kbn_test_jest_helpers.mdx +++ b/api_docs/kbn_test_jest_helpers.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-test-jest-helpers title: "@kbn/test-jest-helpers" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/test-jest-helpers plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/test-jest-helpers'] --- import kbnTestJestHelpersObj from './kbn_test_jest_helpers.devdocs.json'; diff --git a/api_docs/kbn_test_subj_selector.mdx b/api_docs/kbn_test_subj_selector.mdx index 86977e2042960..85fd93bbb99b2 100644 --- a/api_docs/kbn_test_subj_selector.mdx +++ b/api_docs/kbn_test_subj_selector.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-test-subj-selector title: "@kbn/test-subj-selector" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/test-subj-selector plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/test-subj-selector'] --- import kbnTestSubjSelectorObj from './kbn_test_subj_selector.devdocs.json'; diff --git a/api_docs/kbn_tooling_log.devdocs.json b/api_docs/kbn_tooling_log.devdocs.json index 6323eacf6604a..22807adbce52d 100644 --- a/api_docs/kbn_tooling_log.devdocs.json +++ b/api_docs/kbn_tooling_log.devdocs.json @@ -26,7 +26,13 @@ "text": "ToolingLog" }, " implements ", - "SomeDevLog" + { + "pluginId": "@kbn/some-dev-log", + "scope": "server", + "docId": "kibKbnSomeDevLogPluginApi", + "section": "def-server.SomeDevLog", + "text": "SomeDevLog" + } ], "path": "packages/kbn-tooling-log/src/tooling_log.ts", "deprecated": false, diff --git a/api_docs/kbn_tooling_log.mdx b/api_docs/kbn_tooling_log.mdx index 9495b1cce34a4..ecfb74381a38b 100644 --- a/api_docs/kbn_tooling_log.mdx +++ b/api_docs/kbn_tooling_log.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-tooling-log title: "@kbn/tooling-log" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/tooling-log plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/tooling-log'] --- import kbnToolingLogObj from './kbn_tooling_log.devdocs.json'; diff --git a/api_docs/kbn_type_summarizer.devdocs.json b/api_docs/kbn_type_summarizer.devdocs.json index 40ba2fe956d4d..3e70eac82db20 100644 --- a/api_docs/kbn_type_summarizer.devdocs.json +++ b/api_docs/kbn_type_summarizer.devdocs.json @@ -22,7 +22,13 @@ ], "signature": [ "(log: ", - "Logger", + { + "pluginId": "@kbn/type-summarizer-core", + "scope": "server", + "docId": "kibKbnTypeSummarizerCorePluginApi", + "section": "def-server.Logger", + "text": "Logger" + }, ", options: ", { "pluginId": "@kbn/type-summarizer", @@ -47,7 +53,13 @@ "label": "log", "description": [], "signature": [ - "Logger" + { + "pluginId": "@kbn/type-summarizer-core", + "scope": "server", + "docId": "kibKbnTypeSummarizerCorePluginApi", + "section": "def-server.Logger", + "text": "Logger" + } ], "path": "packages/kbn-type-summarizer/src/summarize_package.ts", "deprecated": false, diff --git a/api_docs/kbn_type_summarizer.mdx b/api_docs/kbn_type_summarizer.mdx index 0afc7e9358db4..ec160787636e2 100644 --- a/api_docs/kbn_type_summarizer.mdx +++ b/api_docs/kbn_type_summarizer.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-type-summarizer title: "@kbn/type-summarizer" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/type-summarizer plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/type-summarizer'] --- import kbnTypeSummarizerObj from './kbn_type_summarizer.devdocs.json'; diff --git a/api_docs/kbn_type_summarizer_core.mdx b/api_docs/kbn_type_summarizer_core.mdx index 38436dd47d9b0..4205149aef6dd 100644 --- a/api_docs/kbn_type_summarizer_core.mdx +++ b/api_docs/kbn_type_summarizer_core.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-type-summarizer-core title: "@kbn/type-summarizer-core" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/type-summarizer-core plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/type-summarizer-core'] --- import kbnTypeSummarizerCoreObj from './kbn_type_summarizer_core.devdocs.json'; diff --git a/api_docs/kbn_typed_react_router_config.devdocs.json b/api_docs/kbn_typed_react_router_config.devdocs.json index b6c4b0eb31605..f4cc199ac6dbf 100644 --- a/api_docs/kbn_typed_react_router_config.devdocs.json +++ b/api_docs/kbn_typed_react_router_config.devdocs.json @@ -690,7 +690,7 @@ "label": "element", "description": [], "signature": [ - "React.ReactElement" + "React.ReactElement>" ], "path": "packages/kbn-typed-react-router-config/src/types/index.ts", "deprecated": false, diff --git a/api_docs/kbn_typed_react_router_config.mdx b/api_docs/kbn_typed_react_router_config.mdx index 04bb1d84e7f77..06e7463a49368 100644 --- a/api_docs/kbn_typed_react_router_config.mdx +++ b/api_docs/kbn_typed_react_router_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-typed-react-router-config title: "@kbn/typed-react-router-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/typed-react-router-config plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/typed-react-router-config'] --- import kbnTypedReactRouterConfigObj from './kbn_typed_react_router_config.devdocs.json'; diff --git a/api_docs/kbn_ui_shared_deps_src.devdocs.json b/api_docs/kbn_ui_shared_deps_src.devdocs.json new file mode 100644 index 0000000000000..aeefda9c3a789 --- /dev/null +++ b/api_docs/kbn_ui_shared_deps_src.devdocs.json @@ -0,0 +1,510 @@ +{ + "id": "@kbn/ui-shared-deps-src", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [ + { + "parentPluginId": "@kbn/ui-shared-deps-src", + "id": "def-server.cssDistFilename", + "type": "string", + "tags": [], + "label": "cssDistFilename", + "description": [ + "\nFilename of the main bundle file in the distributable directory" + ], + "signature": [ + "\"kbn-ui-shared-deps-src.css\"" + ], + "path": "packages/kbn-ui-shared-deps-src/src/definitions.js", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/ui-shared-deps-src", + "id": "def-server.distDir", + "type": "string", + "tags": [], + "label": "distDir", + "description": [ + "\nAbsolute path to the distributable directory" + ], + "path": "packages/kbn-ui-shared-deps-src/src/definitions.js", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/ui-shared-deps-src", + "id": "def-server.jsFilename", + "type": "string", + "tags": [], + "label": "jsFilename", + "description": [ + "\nFilename of the main bundle file in the distributable directory" + ], + "signature": [ + "\"kbn-ui-shared-deps-src.js\"" + ], + "path": "packages/kbn-ui-shared-deps-src/src/definitions.js", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + } + ], + "objects": [ + { + "parentPluginId": "@kbn/ui-shared-deps-src", + "id": "def-server.externals", + "type": "Object", + "tags": [], + "label": "externals", + "description": [ + "\nExternals mapping inteded to be used in a webpack config" + ], + "path": "packages/kbn-ui-shared-deps-src/src/definitions.js", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/ui-shared-deps-src", + "id": "def-server.externals.kbnuitheme", + "type": "string", + "tags": [], + "label": "'@kbn/ui-theme'", + "description": [ + "/**\n * stateful deps\n */" + ], + "path": "packages/kbn-ui-shared-deps-src/src/definitions.js", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/ui-shared-deps-src", + "id": "def-server.externals.kbni18n", + "type": "string", + "tags": [], + "label": "'@kbn/i18n'", + "description": [], + "path": "packages/kbn-ui-shared-deps-src/src/definitions.js", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/ui-shared-deps-src", + "id": "def-server.externals.kbni18nreact", + "type": "string", + "tags": [], + "label": "'@kbn/i18n-react'", + "description": [], + "path": "packages/kbn-ui-shared-deps-src/src/definitions.js", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/ui-shared-deps-src", + "id": "def-server.externals.emotioncache", + "type": "string", + "tags": [], + "label": "'@emotion/cache'", + "description": [], + "path": "packages/kbn-ui-shared-deps-src/src/definitions.js", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/ui-shared-deps-src", + "id": "def-server.externals.emotionreact", + "type": "string", + "tags": [], + "label": "'@emotion/react'", + "description": [], + "path": "packages/kbn-ui-shared-deps-src/src/definitions.js", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/ui-shared-deps-src", + "id": "def-server.externals.jquery", + "type": "string", + "tags": [], + "label": "jquery", + "description": [], + "path": "packages/kbn-ui-shared-deps-src/src/definitions.js", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/ui-shared-deps-src", + "id": "def-server.externals.moment", + "type": "string", + "tags": [], + "label": "moment", + "description": [], + "path": "packages/kbn-ui-shared-deps-src/src/definitions.js", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/ui-shared-deps-src", + "id": "def-server.externals.momenttimezone", + "type": "string", + "tags": [], + "label": "'moment-timezone'", + "description": [], + "path": "packages/kbn-ui-shared-deps-src/src/definitions.js", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/ui-shared-deps-src", + "id": "def-server.externals.react", + "type": "string", + "tags": [], + "label": "react", + "description": [], + "path": "packages/kbn-ui-shared-deps-src/src/definitions.js", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/ui-shared-deps-src", + "id": "def-server.externals.reactdom", + "type": "string", + "tags": [], + "label": "'react-dom'", + "description": [], + "path": "packages/kbn-ui-shared-deps-src/src/definitions.js", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/ui-shared-deps-src", + "id": "def-server.externals.reactdomserver", + "type": "string", + "tags": [], + "label": "'react-dom/server'", + "description": [], + "path": "packages/kbn-ui-shared-deps-src/src/definitions.js", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/ui-shared-deps-src", + "id": "def-server.externals.reactrouter", + "type": "string", + "tags": [], + "label": "'react-router'", + "description": [], + "path": "packages/kbn-ui-shared-deps-src/src/definitions.js", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/ui-shared-deps-src", + "id": "def-server.externals.reactrouterdom", + "type": "string", + "tags": [], + "label": "'react-router-dom'", + "description": [], + "path": "packages/kbn-ui-shared-deps-src/src/definitions.js", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/ui-shared-deps-src", + "id": "def-server.externals.styledcomponents", + "type": "string", + "tags": [], + "label": "'styled-components'", + "description": [], + "path": "packages/kbn-ui-shared-deps-src/src/definitions.js", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/ui-shared-deps-src", + "id": "def-server.externals.kbnmonaco", + "type": "string", + "tags": [], + "label": "'@kbn/monaco'", + "description": [], + "path": "packages/kbn-ui-shared-deps-src/src/definitions.js", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/ui-shared-deps-src", + "id": "def-server.externals.monacoeditoresmvseditoreditor.api", + "type": "string", + "tags": [], + "label": "'monaco-editor/esm/vs/editor/editor.api'", + "description": [ + "// this is how plugins/consumers from npm load monaco" + ], + "path": "packages/kbn-ui-shared-deps-src/src/definitions.js", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/ui-shared-deps-src", + "id": "def-server.externals.rxjs", + "type": "string", + "tags": [], + "label": "rxjs", + "description": [ + "/**\n * big deps which are locked to a single version\n */" + ], + "path": "packages/kbn-ui-shared-deps-src/src/definitions.js", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/ui-shared-deps-src", + "id": "def-server.externals.rxjsoperators", + "type": "string", + "tags": [], + "label": "'rxjs/operators'", + "description": [], + "path": "packages/kbn-ui-shared-deps-src/src/definitions.js", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/ui-shared-deps-src", + "id": "def-server.externals.numeral", + "type": "string", + "tags": [], + "label": "numeral", + "description": [], + "path": "packages/kbn-ui-shared-deps-src/src/definitions.js", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/ui-shared-deps-src", + "id": "def-server.externals.elasticnumeral", + "type": "string", + "tags": [], + "label": "'@elastic/numeral'", + "description": [], + "path": "packages/kbn-ui-shared-deps-src/src/definitions.js", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/ui-shared-deps-src", + "id": "def-server.externals.elasticcharts", + "type": "string", + "tags": [], + "label": "'@elastic/charts'", + "description": [], + "path": "packages/kbn-ui-shared-deps-src/src/definitions.js", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/ui-shared-deps-src", + "id": "def-server.externals.kbndatemath", + "type": "string", + "tags": [], + "label": "'@kbn/datemath'", + "description": [], + "path": "packages/kbn-ui-shared-deps-src/src/definitions.js", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/ui-shared-deps-src", + "id": "def-server.externals.elasticeui", + "type": "string", + "tags": [], + "label": "'@elastic/eui'", + "description": [], + "path": "packages/kbn-ui-shared-deps-src/src/definitions.js", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/ui-shared-deps-src", + "id": "def-server.externals.elasticeuilibservices", + "type": "string", + "tags": [], + "label": "'@elastic/eui/lib/services'", + "description": [], + "path": "packages/kbn-ui-shared-deps-src/src/definitions.js", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/ui-shared-deps-src", + "id": "def-server.externals.elasticeuilibservicesformat", + "type": "string", + "tags": [], + "label": "'@elastic/eui/lib/services/format'", + "description": [], + "path": "packages/kbn-ui-shared-deps-src/src/definitions.js", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/ui-shared-deps-src", + "id": "def-server.externals.elasticeuidisteui_charts_theme", + "type": "string", + "tags": [], + "label": "'@elastic/eui/dist/eui_charts_theme'", + "description": [], + "path": "packages/kbn-ui-shared-deps-src/src/definitions.js", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/ui-shared-deps-src", + "id": "def-server.externals.reactbeautifuldnd", + "type": "string", + "tags": [], + "label": "'react-beautiful-dnd'", + "description": [ + "// transient dep of eui" + ], + "path": "packages/kbn-ui-shared-deps-src/src/definitions.js", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/ui-shared-deps-src", + "id": "def-server.externals.lodash", + "type": "string", + "tags": [], + "label": "lodash", + "description": [], + "path": "packages/kbn-ui-shared-deps-src/src/definitions.js", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/ui-shared-deps-src", + "id": "def-server.externals.lodashfp", + "type": "string", + "tags": [], + "label": "'lodash/fp'", + "description": [], + "path": "packages/kbn-ui-shared-deps-src/src/definitions.js", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/ui-shared-deps-src", + "id": "def-server.externals.fflate", + "type": "string", + "tags": [], + "label": "fflate", + "description": [], + "path": "packages/kbn-ui-shared-deps-src/src/definitions.js", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/ui-shared-deps-src", + "id": "def-server.externals.tslib", + "type": "string", + "tags": [], + "label": "tslib", + "description": [ + "/**\n * runtime deps which don't need to be copied across all bundles\n */" + ], + "path": "packages/kbn-ui-shared-deps-src/src/definitions.js", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/ui-shared-deps-src", + "id": "def-server.externals.kbnanalytics", + "type": "string", + "tags": [], + "label": "'@kbn/analytics'", + "description": [], + "path": "packages/kbn-ui-shared-deps-src/src/definitions.js", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/ui-shared-deps-src", + "id": "def-server.externals.kbnstd", + "type": "string", + "tags": [], + "label": "'@kbn/std'", + "description": [], + "path": "packages/kbn-ui-shared-deps-src/src/definitions.js", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/ui-shared-deps-src", + "id": "def-server.externals.kbnsaferlodashset", + "type": "string", + "tags": [], + "label": "'@kbn/safer-lodash-set'", + "description": [], + "path": "packages/kbn-ui-shared-deps-src/src/definitions.js", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/ui-shared-deps-src", + "id": "def-server.externals.risonnode", + "type": "string", + "tags": [], + "label": "'rison-node'", + "description": [], + "path": "packages/kbn-ui-shared-deps-src/src/definitions.js", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/ui-shared-deps-src", + "id": "def-server.externals.history", + "type": "string", + "tags": [], + "label": "history", + "description": [], + "path": "packages/kbn-ui-shared-deps-src/src/definitions.js", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/ui-shared-deps-src", + "id": "def-server.externals.classnames", + "type": "string", + "tags": [], + "label": "classnames", + "description": [], + "path": "packages/kbn-ui-shared-deps-src/src/definitions.js", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false + } + ] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_ui_shared_deps_src.mdx b/api_docs/kbn_ui_shared_deps_src.mdx new file mode 100644 index 0000000000000..9e3d81bc3cad3 --- /dev/null +++ b/api_docs/kbn_ui_shared_deps_src.mdx @@ -0,0 +1,33 @@ +--- +#### +#### This document is auto-generated and is meant to be viewed inside our experimental, new docs system. +#### Reach out in #docs-engineering for more info. +#### +id: kibKbnUiSharedDepsSrcPluginApi +slug: /kibana-dev-docs/api/kbn-ui-shared-deps-src +title: "@kbn/ui-shared-deps-src" +image: https://source.unsplash.com/400x175/?github +description: API docs for the @kbn/ui-shared-deps-src plugin +date: 2022-10-29 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ui-shared-deps-src'] +--- +import kbnUiSharedDepsSrcObj from './kbn_ui_shared_deps_src.devdocs.json'; + + + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 41 | 0 | 32 | 0 | + +## Server + +### Objects + + +### Consts, variables and types + + diff --git a/api_docs/kbn_ui_theme.mdx b/api_docs/kbn_ui_theme.mdx index 2196ea0ca4c0d..ba19f0b90487e 100644 --- a/api_docs/kbn_ui_theme.mdx +++ b/api_docs/kbn_ui_theme.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ui-theme title: "@kbn/ui-theme" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ui-theme plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ui-theme'] --- import kbnUiThemeObj from './kbn_ui_theme.devdocs.json'; diff --git a/api_docs/kbn_user_profile_components.mdx b/api_docs/kbn_user_profile_components.mdx index 87f7d8aa7a3a6..a726130544d3d 100644 --- a/api_docs/kbn_user_profile_components.mdx +++ b/api_docs/kbn_user_profile_components.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-user-profile-components title: "@kbn/user-profile-components" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/user-profile-components plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/user-profile-components'] --- import kbnUserProfileComponentsObj from './kbn_user_profile_components.devdocs.json'; diff --git a/api_docs/kbn_utility_types.devdocs.json b/api_docs/kbn_utility_types.devdocs.json index 1188303de0182..bd2863aa5599c 100644 --- a/api_docs/kbn_utility_types.devdocs.json +++ b/api_docs/kbn_utility_types.devdocs.json @@ -456,16 +456,16 @@ "pluginId": "@kbn/utility-types", "scope": "server", "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.JsonArray", - "text": "JsonArray" + "section": "def-server.JsonObject", + "text": "JsonObject" }, " | ", { "pluginId": "@kbn/utility-types", "scope": "server", "docId": "kibKbnUtilityTypesPluginApi", - "section": "def-server.JsonObject", - "text": "JsonObject" + "section": "def-server.JsonArray", + "text": "JsonArray" }, " | null" ], diff --git a/api_docs/kbn_utility_types.mdx b/api_docs/kbn_utility_types.mdx index 08b96a049c6ae..226406c97ef84 100644 --- a/api_docs/kbn_utility_types.mdx +++ b/api_docs/kbn_utility_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-utility-types title: "@kbn/utility-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/utility-types plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/utility-types'] --- import kbnUtilityTypesObj from './kbn_utility_types.devdocs.json'; diff --git a/api_docs/kbn_utility_types_jest.mdx b/api_docs/kbn_utility_types_jest.mdx index 1cc693181c4b1..908cc90fd6e41 100644 --- a/api_docs/kbn_utility_types_jest.mdx +++ b/api_docs/kbn_utility_types_jest.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-utility-types-jest title: "@kbn/utility-types-jest" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/utility-types-jest plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/utility-types-jest'] --- import kbnUtilityTypesJestObj from './kbn_utility_types_jest.devdocs.json'; diff --git a/api_docs/kbn_utils.mdx b/api_docs/kbn_utils.mdx index 3452b7512b29a..ee7bf0b4c432c 100644 --- a/api_docs/kbn_utils.mdx +++ b/api_docs/kbn_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-utils title: "@kbn/utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/utils plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/utils'] --- import kbnUtilsObj from './kbn_utils.devdocs.json'; diff --git a/api_docs/kbn_yarn_lock_validator.devdocs.json b/api_docs/kbn_yarn_lock_validator.devdocs.json index 91771e7709cd2..856739993086c 100644 --- a/api_docs/kbn_yarn_lock_validator.devdocs.json +++ b/api_docs/kbn_yarn_lock_validator.devdocs.json @@ -49,7 +49,13 @@ ], "signature": [ "(log: ", - "SomeDevLog", + { + "pluginId": "@kbn/some-dev-log", + "scope": "server", + "docId": "kibKbnSomeDevLogPluginApi", + "section": "def-server.SomeDevLog", + "text": "SomeDevLog" + }, ", yarnLock: ", { "pluginId": "@kbn/yarn-lock-validator", @@ -72,7 +78,13 @@ "label": "log", "description": [], "signature": [ - "SomeDevLog" + { + "pluginId": "@kbn/some-dev-log", + "scope": "server", + "docId": "kibKbnSomeDevLogPluginApi", + "section": "def-server.SomeDevLog", + "text": "SomeDevLog" + } ], "path": "packages/kbn-yarn-lock-validator/src/validate_yarn_lock.ts", "deprecated": false, diff --git a/api_docs/kbn_yarn_lock_validator.mdx b/api_docs/kbn_yarn_lock_validator.mdx index b24bfc343c346..402d589c8b51c 100644 --- a/api_docs/kbn_yarn_lock_validator.mdx +++ b/api_docs/kbn_yarn_lock_validator.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-yarn-lock-validator title: "@kbn/yarn-lock-validator" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/yarn-lock-validator plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/yarn-lock-validator'] --- import kbnYarnLockValidatorObj from './kbn_yarn_lock_validator.devdocs.json'; diff --git a/api_docs/kibana_overview.mdx b/api_docs/kibana_overview.mdx index 21d5166f364b6..3a4f93e97d91f 100644 --- a/api_docs/kibana_overview.mdx +++ b/api_docs/kibana_overview.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kibanaOverview title: "kibanaOverview" image: https://source.unsplash.com/400x175/?github description: API docs for the kibanaOverview plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'kibanaOverview'] --- import kibanaOverviewObj from './kibana_overview.devdocs.json'; diff --git a/api_docs/kibana_react.devdocs.json b/api_docs/kibana_react.devdocs.json index 2bb478cb6e99c..d53aecf80c373 100644 --- a/api_docs/kibana_react.devdocs.json +++ b/api_docs/kibana_react.devdocs.json @@ -279,7 +279,13 @@ "description": [], "signature": [ ">(services: Services) => ", { "pluginId": "kibanaReact", @@ -322,7 +328,13 @@ "description": [], "signature": [ "(services: Partial<", - "CoreStart", + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreStart", + "text": "CoreStart" + }, ">) => ", { "pluginId": "kibanaReact", @@ -345,7 +357,13 @@ "description": [], "signature": [ "Partial<", - "CoreStart", + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreStart", + "text": "CoreStart" + }, ">" ], "path": "src/plugins/kibana_react/public/notifications/create_notifications.tsx", @@ -366,7 +384,13 @@ "description": [], "signature": [ "(services: Partial<", - "CoreStart", + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreStart", + "text": "CoreStart" + }, ">) => ", { "pluginId": "kibanaReact", @@ -389,7 +413,13 @@ "description": [], "signature": [ "Partial<", - "CoreStart", + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreStart", + "text": "CoreStart" + }, ">" ], "path": "src/plugins/kibana_react/public/overlays/create_react_overlays.tsx", @@ -522,6 +552,34 @@ "deprecated": true, "trackAdoption": false, "references": [ + { + "plugin": "home", + "path": "src/plugins/home/public/application/components/tutorial_directory.js" + }, + { + "plugin": "home", + "path": "src/plugins/home/public/application/components/tutorial_directory.js" + }, + { + "plugin": "home", + "path": "src/plugins/home/public/application/components/tutorial_directory.js" + }, + { + "plugin": "home", + "path": "src/plugins/home/public/application/components/tutorial/tutorial.js" + }, + { + "plugin": "home", + "path": "src/plugins/home/public/application/components/tutorial/tutorial.js" + }, + { + "plugin": "home", + "path": "src/plugins/home/public/application/components/tutorial/tutorial.js" + }, + { + "plugin": "home", + "path": "src/plugins/home/public/application/components/tutorial/tutorial.js" + }, { "plugin": "spaces", "path": "x-pack/plugins/spaces/public/space_selector/space_selector.tsx" @@ -945,7 +1003,13 @@ "description": [], "signature": [ "(history: ", - "ScopedHistory", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.ScopedHistory", + "text": "ScopedHistory" + }, " | ", "History", ", to: string | LocationObject, onClickCallback?: Function | undefined) => { href: string; onClick: (event: React.MouseEvent) => void; }" @@ -962,7 +1026,13 @@ "label": "history", "description": [], "signature": [ - "ScopedHistory", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.ScopedHistory", + "text": "ScopedHistory" + }, " | ", "History", "" @@ -1015,7 +1085,13 @@ "description": [], "signature": [ "(history: ", - "ScopedHistory", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.ScopedHistory", + "text": "ScopedHistory" + }, " | ", "History", ", to: string | LocationObject, onClickCallback?: Function | undefined) => (event: React.MouseEvent) => void" @@ -1032,7 +1108,13 @@ "label": "history", "description": [], "signature": [ - "ScopedHistory", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.ScopedHistory", + "text": "ScopedHistory" + }, " | ", "History", "" @@ -1139,6 +1221,38 @@ "deprecated": true, "trackAdoption": false, "references": [ + { + "plugin": "home", + "path": "src/plugins/home/public/application/components/add_data/add_data.tsx" + }, + { + "plugin": "home", + "path": "src/plugins/home/public/application/components/add_data/add_data.tsx" + }, + { + "plugin": "home", + "path": "src/plugins/home/public/application/components/add_data/add_data.tsx" + }, + { + "plugin": "home", + "path": "src/plugins/home/public/application/components/manage_data/manage_data.tsx" + }, + { + "plugin": "home", + "path": "src/plugins/home/public/application/components/manage_data/manage_data.tsx" + }, + { + "plugin": "home", + "path": "src/plugins/home/public/application/components/manage_data/manage_data.tsx" + }, + { + "plugin": "home", + "path": "src/plugins/home/public/application/components/manage_data/manage_data.tsx" + }, + { + "plugin": "home", + "path": "src/plugins/home/public/application/components/manage_data/manage_data.tsx" + }, { "plugin": "home", "path": "src/plugins/home/public/application/application.tsx" @@ -1434,38 +1548,6 @@ { "plugin": "kibanaOverview", "path": "src/plugins/kibana_overview/public/components/manage_data/manage_data.tsx" - }, - { - "plugin": "home", - "path": "src/plugins/home/public/application/components/add_data/add_data.tsx" - }, - { - "plugin": "home", - "path": "src/plugins/home/public/application/components/add_data/add_data.tsx" - }, - { - "plugin": "home", - "path": "src/plugins/home/public/application/components/add_data/add_data.tsx" - }, - { - "plugin": "home", - "path": "src/plugins/home/public/application/components/manage_data/manage_data.tsx" - }, - { - "plugin": "home", - "path": "src/plugins/home/public/application/components/manage_data/manage_data.tsx" - }, - { - "plugin": "home", - "path": "src/plugins/home/public/application/components/manage_data/manage_data.tsx" - }, - { - "plugin": "home", - "path": "src/plugins/home/public/application/components/manage_data/manage_data.tsx" - }, - { - "plugin": "home", - "path": "src/plugins/home/public/application/components/manage_data/manage_data.tsx" } ], "children": [ @@ -1544,7 +1626,13 @@ "text": "ToMountPointOptions" }, ") => ", - "MountPoint", + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.MountPoint", + "text": "MountPoint" + }, "" ], "path": "src/plugins/kibana_react/public/util/to_mount_point.tsx", @@ -1767,9 +1855,21 @@ ], "signature": [ "(executionContext: ", - "ExecutionContextSetup", + { + "pluginId": "@kbn/core-execution-context-browser", + "scope": "common", + "docId": "kibKbnCoreExecutionContextBrowserPluginApi", + "section": "def-common.ExecutionContextSetup", + "text": "ExecutionContextSetup" + }, " | undefined, context: ", - "KibanaExecutionContext", + { + "pluginId": "@kbn/core-execution-context-common", + "scope": "common", + "docId": "kibKbnCoreExecutionContextCommonPluginApi", + "section": "def-common.KibanaExecutionContext", + "text": "KibanaExecutionContext" + }, ") => void" ], "path": "src/plugins/kibana_react/public/use_execution_context/use_execution_context.ts", @@ -1784,7 +1884,13 @@ "label": "executionContext", "description": [], "signature": [ - "ExecutionContextSetup", + { + "pluginId": "@kbn/core-execution-context-browser", + "scope": "common", + "docId": "kibKbnCoreExecutionContextBrowserPluginApi", + "section": "def-common.ExecutionContextSetup", + "text": "ExecutionContextSetup" + }, " | undefined" ], "path": "src/plugins/kibana_react/public/use_execution_context/use_execution_context.ts", @@ -1800,7 +1906,13 @@ "label": "context", "description": [], "signature": [ - "KibanaExecutionContext" + { + "pluginId": "@kbn/core-execution-context-common", + "scope": "common", + "docId": "kibKbnCoreExecutionContextCommonPluginApi", + "section": "def-common.KibanaExecutionContext", + "text": "KibanaExecutionContext" + } ], "path": "src/plugins/kibana_react/public/use_execution_context/use_execution_context.ts", "deprecated": false, @@ -1828,7 +1940,13 @@ "text": "KibanaReactContextValue" }, " & Extra>" ], "path": "src/plugins/kibana_react/public/context/context.tsx", @@ -1990,7 +2108,13 @@ "(node: React.ReactNode, theme$: ", "Observable", "<", - "CoreTheme", + { + "pluginId": "@kbn/core-theme-browser", + "scope": "common", + "docId": "kibKbnCoreThemeBrowserPluginApi", + "section": "def-common.CoreTheme", + "text": "CoreTheme" + }, ">) => React.ReactElement>" ], "path": "src/plugins/kibana_react/public/theme/wrap_with_theme.tsx", @@ -2022,7 +2146,13 @@ "signature": [ "Observable", "<", - "CoreTheme", + { + "pluginId": "@kbn/core-theme-browser", + "scope": "common", + "docId": "kibKbnCoreThemeBrowserPluginApi", + "section": "def-common.CoreTheme", + "text": "CoreTheme" + }, ">" ], "path": "src/plugins/kibana_react/public/theme/wrap_with_theme.tsx", @@ -2071,7 +2201,13 @@ "label": "chrome", "description": [], "signature": [ - "ChromeStart" + { + "pluginId": "@kbn/core-chrome-browser", + "scope": "common", + "docId": "kibKbnCoreChromeBrowserPluginApi", + "section": "def-common.ChromeStart", + "text": "ChromeStart" + } ], "path": "src/plugins/kibana_react/public/exit_full_screen_button/exit_full_screen_button.tsx", "deprecated": false, @@ -2386,9 +2522,21 @@ "description": [], "signature": [ "(node: React.ReactNode, options?: ", - "OverlayFlyoutOpenOptions", + { + "pluginId": "@kbn/core-overlays-browser", + "scope": "common", + "docId": "kibKbnCoreOverlaysBrowserPluginApi", + "section": "def-common.OverlayFlyoutOpenOptions", + "text": "OverlayFlyoutOpenOptions" + }, " | undefined) => ", - "OverlayRef" + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.OverlayRef", + "text": "OverlayRef" + } ], "path": "src/plugins/kibana_react/public/overlays/types.ts", "deprecated": false, @@ -2417,7 +2565,13 @@ "label": "options", "description": [], "signature": [ - "OverlayFlyoutOpenOptions", + { + "pluginId": "@kbn/core-overlays-browser", + "scope": "common", + "docId": "kibKbnCoreOverlaysBrowserPluginApi", + "section": "def-common.OverlayFlyoutOpenOptions", + "text": "OverlayFlyoutOpenOptions" + }, " | undefined" ], "path": "src/plugins/kibana_react/public/overlays/types.ts", @@ -2437,9 +2591,21 @@ "description": [], "signature": [ "(node: React.ReactNode, options?: ", - "OverlayModalOpenOptions", + { + "pluginId": "@kbn/core-overlays-browser", + "scope": "common", + "docId": "kibKbnCoreOverlaysBrowserPluginApi", + "section": "def-common.OverlayModalOpenOptions", + "text": "OverlayModalOpenOptions" + }, " | undefined) => ", - "OverlayRef" + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.OverlayRef", + "text": "OverlayRef" + } ], "path": "src/plugins/kibana_react/public/overlays/types.ts", "deprecated": false, @@ -2468,7 +2634,13 @@ "label": "options", "description": [], "signature": [ - "OverlayModalOpenOptions", + { + "pluginId": "@kbn/core-overlays-browser", + "scope": "common", + "docId": "kibKbnCoreOverlaysBrowserPluginApi", + "section": "def-common.OverlayModalOpenOptions", + "text": "OverlayModalOpenOptions" + }, " | undefined" ], "path": "src/plugins/kibana_react/public/overlays/types.ts", @@ -2709,7 +2881,13 @@ "signature": [ "Observable", "<", - "CoreTheme", + { + "pluginId": "@kbn/core-theme-browser", + "scope": "common", + "docId": "kibKbnCoreThemeBrowserPluginApi", + "section": "def-common.CoreTheme", + "text": "CoreTheme" + }, "> | undefined" ], "path": "src/plugins/kibana_react/public/util/to_mount_point.tsx", @@ -3037,35 +3215,125 @@ "description": [], "signature": [ "{ analytics?: ", - "AnalyticsServiceStart", + { + "pluginId": "@kbn/core-analytics-browser", + "scope": "common", + "docId": "kibKbnCoreAnalyticsBrowserPluginApi", + "section": "def-common.AnalyticsServiceStart", + "text": "AnalyticsServiceStart" + }, " | undefined; application?: ", - "ApplicationStart", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.ApplicationStart", + "text": "ApplicationStart" + }, " | undefined; chrome?: ", - "ChromeStart", + { + "pluginId": "@kbn/core-chrome-browser", + "scope": "common", + "docId": "kibKbnCoreChromeBrowserPluginApi", + "section": "def-common.ChromeStart", + "text": "ChromeStart" + }, " | undefined; docLinks?: ", - "DocLinksStart", + { + "pluginId": "@kbn/core-doc-links-browser", + "scope": "common", + "docId": "kibKbnCoreDocLinksBrowserPluginApi", + "section": "def-common.DocLinksStart", + "text": "DocLinksStart" + }, " | undefined; executionContext?: ", - "ExecutionContextSetup", + { + "pluginId": "@kbn/core-execution-context-browser", + "scope": "common", + "docId": "kibKbnCoreExecutionContextBrowserPluginApi", + "section": "def-common.ExecutionContextSetup", + "text": "ExecutionContextSetup" + }, " | undefined; http?: ", - "HttpSetup", + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpSetup", + "text": "HttpSetup" + }, " | undefined; savedObjects?: ", - "SavedObjectsStart", + { + "pluginId": "@kbn/core-saved-objects-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsBrowserPluginApi", + "section": "def-common.SavedObjectsStart", + "text": "SavedObjectsStart" + }, " | undefined; i18n?: ", - "I18nStart", + { + "pluginId": "@kbn/core-i18n-browser", + "scope": "common", + "docId": "kibKbnCoreI18nBrowserPluginApi", + "section": "def-common.I18nStart", + "text": "I18nStart" + }, " | undefined; notifications?: ", - "NotificationsStart", + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.NotificationsStart", + "text": "NotificationsStart" + }, " | undefined; overlays?: ", - "OverlayStart", + { + "pluginId": "@kbn/core-overlays-browser", + "scope": "common", + "docId": "kibKbnCoreOverlaysBrowserPluginApi", + "section": "def-common.OverlayStart", + "text": "OverlayStart" + }, " | undefined; uiSettings?: ", - "IUiSettingsClient", + { + "pluginId": "@kbn/core-ui-settings-browser", + "scope": "common", + "docId": "kibKbnCoreUiSettingsBrowserPluginApi", + "section": "def-common.IUiSettingsClient", + "text": "IUiSettingsClient" + }, " | undefined; fatalErrors?: ", - "FatalErrorsSetup", + { + "pluginId": "@kbn/core-fatal-errors-browser", + "scope": "common", + "docId": "kibKbnCoreFatalErrorsBrowserPluginApi", + "section": "def-common.FatalErrorsSetup", + "text": "FatalErrorsSetup" + }, " | undefined; deprecations?: ", - "DeprecationsServiceStart", + { + "pluginId": "@kbn/core-deprecations-browser", + "scope": "common", + "docId": "kibKbnCoreDeprecationsBrowserPluginApi", + "section": "def-common.DeprecationsServiceStart", + "text": "DeprecationsServiceStart" + }, " | undefined; theme?: ", - "ThemeServiceStart", + { + "pluginId": "@kbn/core-theme-browser", + "scope": "common", + "docId": "kibKbnCoreThemeBrowserPluginApi", + "section": "def-common.ThemeServiceStart", + "text": "ThemeServiceStart" + }, " | undefined; injectedMetadata?: ", - "InjectedMetadataStart", + { + "pluginId": "@kbn/core-injected-metadata-browser", + "scope": "common", + "docId": "kibKbnCoreInjectedMetadataBrowserPluginApi", + "section": "def-common.InjectedMetadataStart", + "text": "InjectedMetadataStart" + }, " | undefined; }" ], "path": "src/plugins/kibana_react/public/context/types.ts", @@ -3166,10 +3434,13 @@ { "parentPluginId": "kibanaReact", "id": "def-public.NO_DATA_RECOMMENDED", - "type": "string", + "type": "Any", "tags": [], "label": "NO_DATA_RECOMMENDED", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/kibana_react/public/page_template/no_data_page/no_data_page.tsx", "deprecated": false, "trackAdoption": false, @@ -3329,7 +3600,13 @@ "text": "KibanaReactContextValue" }, ">>" ], "path": "src/plugins/kibana_react/public/context/context.tsx", diff --git a/api_docs/kibana_react.mdx b/api_docs/kibana_react.mdx index 863829b324b28..b06ec5c7bad49 100644 --- a/api_docs/kibana_react.mdx +++ b/api_docs/kibana_react.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kibanaReact title: "kibanaReact" image: https://source.unsplash.com/400x175/?github description: API docs for the kibanaReact plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'kibanaReact'] --- import kibanaReactObj from './kibana_react.devdocs.json'; @@ -21,7 +21,7 @@ Contact [App Services](https://github.com/orgs/elastic/teams/kibana-app-services | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 184 | 0 | 151 | 5 | +| 184 | 1 | 151 | 5 | ## Client diff --git a/api_docs/kibana_utils.devdocs.json b/api_docs/kibana_utils.devdocs.json index be9527781185b..6731244a7c301 100644 --- a/api_docs/kibana_utils.devdocs.json +++ b/api_docs/kibana_utils.devdocs.json @@ -1956,9 +1956,21 @@ "; }[]; storageKey: string; navLinkUpdater$: ", "BehaviorSubject", "<", - "AppUpdater", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.AppUpdater", + "text": "AppUpdater" + }, ">; toastNotifications: ", - "IToasts", + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.IToasts", + "text": "IToasts" + }, "; history?: ", "History", " | undefined; getHistory?: (() => ", @@ -2050,7 +2062,13 @@ "signature": [ "BehaviorSubject", "<", - "AppUpdater", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.AppUpdater", + "text": "AppUpdater" + }, ">" ], "path": "src/plugins/kibana_utils/public/state_management/url/kbn_url_tracker.ts", @@ -2067,7 +2085,13 @@ "\nToast notifications service to show toasts in error cases." ], "signature": [ - "IToasts" + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.IToasts", + "text": "IToasts" + } ], "path": "src/plugins/kibana_utils/public/state_management/url/kbn_url_tracker.ts", "deprecated": false, @@ -2362,7 +2386,13 @@ ], "signature": [ "(accessor: ", - "StartServicesAccessor", + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.StartServicesAccessor", + "text": "StartServicesAccessor" + }, ") => ", { "pluginId": "kibanaUtils", @@ -2372,7 +2402,13 @@ "text": "StartServicesGetter" }, "" ], "path": "src/plugins/kibana_utils/public/core/create_start_service_getter.ts", @@ -2389,7 +2425,13 @@ "Asynchronous start service accessor provided by platform." ], "signature": [ - "StartServicesAccessor", + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.StartServicesAccessor", + "text": "StartServicesAccessor" + }, "" ], "path": "src/plugins/kibana_utils/public/core/create_start_service_getter.ts", @@ -3353,11 +3395,29 @@ "({\n history,\n navigateToApp,\n basePath,\n mapping,\n toastNotifications,\n onBeforeRedirect,\n theme,\n}: { history: ", "History", "; navigateToApp: (appId: string, options?: ", - "NavigateToAppOptions", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.NavigateToAppOptions", + "text": "NavigateToAppOptions" + }, " | undefined) => Promise; basePath: ", - "IBasePath", + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.IBasePath", + "text": "IBasePath" + }, "; mapping: string | Mapping; toastNotifications: ", - "IToasts", + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.IToasts", + "text": "IToasts" + }, "; onBeforeRedirect?: ((error: ", { "pluginId": "kibanaUtils", @@ -3367,7 +3427,13 @@ "text": "SavedObjectNotFound" }, ") => void) | undefined; theme: ", - "ThemeServiceStart", + { + "pluginId": "@kbn/core-theme-browser", + "scope": "common", + "docId": "kibKbnCoreThemeBrowserPluginApi", + "section": "def-common.ThemeServiceStart", + "text": "ThemeServiceStart" + }, "; }) => (error: ", { "pluginId": "kibanaUtils", @@ -3417,7 +3483,13 @@ "description": [], "signature": [ "(appId: string, options?: ", - "NavigateToAppOptions", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.NavigateToAppOptions", + "text": "NavigateToAppOptions" + }, " | undefined) => Promise" ], "path": "src/plugins/kibana_utils/public/history/redirect_when_missing.tsx", @@ -3432,7 +3504,7 @@ "tags": [], "label": "appId", "description": [], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false }, @@ -3444,10 +3516,16 @@ "label": "options", "description": [], "signature": [ - "NavigateToAppOptions", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.NavigateToAppOptions", + "text": "NavigateToAppOptions" + }, " | undefined" ], - "path": "node_modules/@types/kbn__core-application-browser/index.d.ts", + "path": "packages/core/application/core-application-browser/src/contracts.ts", "deprecated": false, "trackAdoption": false } @@ -3461,7 +3539,13 @@ "label": "basePath", "description": [], "signature": [ - "IBasePath" + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.IBasePath", + "text": "IBasePath" + } ], "path": "src/plugins/kibana_utils/public/history/redirect_when_missing.tsx", "deprecated": false, @@ -3493,7 +3577,13 @@ "\nToast notifications service to show toasts in error cases." ], "signature": [ - "IToasts" + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.IToasts", + "text": "IToasts" + } ], "path": "src/plugins/kibana_utils/public/history/redirect_when_missing.tsx", "deprecated": false, @@ -3555,7 +3645,13 @@ "label": "theme", "description": [], "signature": [ - "ThemeServiceStart" + { + "pluginId": "@kbn/core-theme-browser", + "scope": "common", + "docId": "kibKbnCoreThemeBrowserPluginApi", + "section": "def-common.ThemeServiceStart", + "text": "ThemeServiceStart" + } ], "path": "src/plugins/kibana_utils/public/history/redirect_when_missing.tsx", "deprecated": false, @@ -4266,7 +4362,13 @@ ], "signature": [ "(toasts: ", - "IToasts", + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.IToasts", + "text": "IToasts" + }, ") => { onGetError: (error: Error) => void; onSetError: (error: Error) => void; }" ], "path": "src/plugins/kibana_utils/public/state_management/url/errors.ts", @@ -4281,7 +4383,13 @@ "label": "toasts", "description": [], "signature": [ - "IToasts" + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.IToasts", + "text": "IToasts" + } ], "path": "src/plugins/kibana_utils/public/state_management/url/errors.ts", "deprecated": false, @@ -6381,9 +6489,21 @@ "description": [], "signature": [ "{ [K in keyof T]: ReturnType<", - "Ensure", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Ensure", + "text": "Ensure" + }, "<", - "Ensure", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Ensure", + "text": "Ensure" + }, " StartServices" ], "path": "src/plugins/kibana_utils/public/core/create_start_service_getter.ts", @@ -7489,7 +7621,13 @@ ], "signature": [ "(res: ", - "KibanaResponseFactory", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaResponseFactory", + "text": "KibanaResponseFactory" + }, ", err: ", { "pluginId": "kibanaUtils", @@ -7499,7 +7637,13 @@ "text": "KbnServerError" }, ") => ", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, "" ], "path": "src/plugins/kibana_utils/server/report_server_error.ts", @@ -7516,7 +7660,13 @@ "Formats a `KbnServerError` into a server error response" ], "signature": [ - "KibanaResponseFactory" + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaResponseFactory", + "text": "KibanaResponseFactory" + } ], "path": "src/plugins/kibana_utils/server/report_server_error.ts", "deprecated": false, @@ -9200,7 +9350,13 @@ "text": "VersionedState" }, "<", - "Serializable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Serializable", + "text": "Serializable" + }, ">) => S" ], "path": "src/plugins/kibana_utils/common/persistable_state/migrate_to_latest.ts", @@ -9244,7 +9400,13 @@ "text": "VersionedState" }, "<", - "Serializable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Serializable", + "text": "Serializable" + }, ">" ], "path": "src/plugins/kibana_utils/common/persistable_state/migrate_to_latest.ts", @@ -9781,7 +9943,13 @@ ], "signature": [ "(state: P, references: ", - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]) => P" ], "path": "src/plugins/kibana_utils/common/persistable_state/types.ts", @@ -9815,7 +9983,13 @@ "List of saved object references." ], "signature": [ - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]" ], "path": "src/plugins/kibana_utils/common/persistable_state/types.ts", @@ -9839,7 +10013,13 @@ ], "signature": [ "(state: P) => { state: P; references: ", - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]; }" ], "path": "src/plugins/kibana_utils/common/persistable_state/types.ts", @@ -9988,7 +10168,13 @@ ], "signature": [ "(state: P, references: ", - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]) => P" ], "path": "src/plugins/kibana_utils/common/persistable_state/types.ts", @@ -10022,7 +10208,13 @@ "List of saved object references." ], "signature": [ - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]" ], "path": "src/plugins/kibana_utils/common/persistable_state/types.ts", @@ -10046,7 +10238,13 @@ ], "signature": [ "(state: P) => { state: P; references: ", - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]; }" ], "path": "src/plugins/kibana_utils/common/persistable_state/types.ts", @@ -11081,9 +11279,21 @@ "description": [], "signature": [ "{ telemetry?: ((state: P, stats: Record) => Record) | undefined; inject?: ((state: P, references: ", - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]) => P) | undefined; extract?: ((state: P) => { state: P; references: ", - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]; }) | undefined; migrations?: ", { "pluginId": "kibanaUtils", @@ -11118,9 +11328,21 @@ ], "signature": [ "(state: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ", version: string) => ", - "SerializableRecord" + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + } ], "path": "src/plugins/kibana_utils/common/persistable_state/types.ts", "deprecated": false, @@ -11135,7 +11357,13 @@ "label": "state", "description": [], "signature": [ - "SerializableRecord" + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + } ], "path": "src/plugins/kibana_utils/common/persistable_state/types.ts", "deprecated": false, @@ -11204,9 +11432,21 @@ "description": [], "signature": [ "{ [K in keyof T]: ReturnType<", - "Ensure", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Ensure", + "text": "Ensure" + }, "<", - "Ensure", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Ensure", + "text": "Ensure" + }, " ", - "KibanaExecutionContext", + { + "pluginId": "@kbn/core-execution-context-common", + "scope": "common", + "docId": "kibKbnCoreExecutionContextCommonPluginApi", + "section": "def-common.KibanaExecutionContext", + "text": "KibanaExecutionContext" + }, " | undefined" ], "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx", @@ -642,7 +648,13 @@ ], "signature": [ "() => Promise<", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]>" ], "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx", @@ -664,7 +676,13 @@ ], "signature": [ "() => Promise<", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | undefined>" ], "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx", @@ -1365,7 +1383,13 @@ "label": "palette", "description": [], "signature": [ - "PaletteOutput", + { + "pluginId": "@kbn/coloring", + "scope": "common", + "docId": "kibKbnColoringPluginApi", + "section": "def-common.PaletteOutput", + "text": "PaletteOutput" + }, "<{ [key: string]: unknown; }>" ], "path": "src/plugins/chart_expressions/expression_xy/common/types/expression_functions.ts", @@ -1564,11 +1588,29 @@ "text": "Datatable" }, "> | undefined, timeRange?: ", - "TimeRange", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, " | undefined) => { error: string; } | Record<\"disabled\" | \"enabled\", { kuery: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, "[][]; lucene: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, "[][]; }>" ], "path": "x-pack/plugins/lens/public/types.ts", @@ -1606,7 +1648,13 @@ "label": "timeRange", "description": [], "signature": [ - "TimeRange", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, " | undefined" ], "path": "x-pack/plugins/lens/public/types.ts", @@ -2182,7 +2230,13 @@ ], "signature": [ "(id: string, column: { formula: string; label?: string | undefined; filter?: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | undefined; reducedTimeRange?: string | undefined; timeScale?: ", "TimeScaleUnit", " | undefined; format?: { id: string; params?: { decimals: number; } | undefined; } | undefined; }, layer: ", @@ -2276,7 +2330,13 @@ "label": "filter", "description": [], "signature": [ - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | undefined" ], "path": "x-pack/plugins/lens/public/datasources/form_based/operations/definitions/formula/formula_public_api.ts", @@ -2562,9 +2622,21 @@ "label": "palette", "description": [], "signature": [ - "PaletteOutput", + { + "pluginId": "@kbn/coloring", + "scope": "common", + "docId": "kibKbnColoringPluginApi", + "section": "def-common.PaletteOutput", + "text": "PaletteOutput" + }, "<", - "CustomPaletteParams", + { + "pluginId": "@kbn/coloring", + "scope": "common", + "docId": "kibKbnColoringPluginApi", + "section": "def-common.CustomPaletteParams", + "text": "CustomPaletteParams" + }, "> | undefined" ], "path": "x-pack/plugins/lens/common/types.ts", @@ -3480,7 +3552,13 @@ "label": "palette", "description": [], "signature": [ - "PaletteOutput", + { + "pluginId": "@kbn/coloring", + "scope": "common", + "docId": "kibKbnColoringPluginApi", + "section": "def-common.PaletteOutput", + "text": "PaletteOutput" + }, "<{ [key: string]: unknown; }> | undefined" ], "path": "x-pack/plugins/lens/common/types.ts", @@ -4009,7 +4087,13 @@ "label": "mainPalette", "description": [], "signature": [ - "PaletteOutput", + { + "pluginId": "@kbn/coloring", + "scope": "common", + "docId": "kibKbnColoringPluginApi", + "section": "def-common.PaletteOutput", + "text": "PaletteOutput" + }, "<{ [key: string]: unknown; }> | undefined" ], "path": "x-pack/plugins/lens/public/types.ts", @@ -4292,7 +4376,13 @@ ], "signature": [ "(addNewLayer: () => string, state?: T | undefined, mainPalette?: ", - "PaletteOutput", + { + "pluginId": "@kbn/coloring", + "scope": "common", + "docId": "kibKbnColoringPluginApi", + "section": "def-common.PaletteOutput", + "text": "PaletteOutput" + }, "<{ [key: string]: unknown; }> | undefined) => T" ], "path": "x-pack/plugins/lens/public/types.ts", @@ -4337,7 +4427,13 @@ "label": "mainPalette", "description": [], "signature": [ - "PaletteOutput", + { + "pluginId": "@kbn/coloring", + "scope": "common", + "docId": "kibKbnColoringPluginApi", + "section": "def-common.PaletteOutput", + "text": "PaletteOutput" + }, "<{ [key: string]: unknown; }> | undefined" ], "path": "x-pack/plugins/lens/public/types.ts", @@ -4438,7 +4534,13 @@ "description": [], "signature": [ "((state: T) => ", - "PaletteOutput", + { + "pluginId": "@kbn/coloring", + "scope": "common", + "docId": "kibKbnColoringPluginApi", + "section": "def-common.PaletteOutput", + "text": "PaletteOutput" + }, "<{ [key: string]: unknown; }> | undefined) | undefined" ], "path": "x-pack/plugins/lens/public/types.ts", @@ -4626,7 +4728,13 @@ ], "signature": [ "((state: T) => { state: P; savedObjectReferences: ", - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]; }) | undefined" ], "path": "x-pack/plugins/lens/public/types.ts", @@ -4662,7 +4770,13 @@ ], "signature": [ "((state: P, references?: ", - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[] | undefined, initialContext?: ", { "pluginId": "uiActions", @@ -4710,7 +4824,13 @@ "label": "references", "description": [], "signature": [ - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[] | undefined" ], "path": "x-pack/plugins/lens/public/types.ts", @@ -6199,7 +6319,13 @@ "text": "DatasourcePublicAPI" }, ">>, attributes?: Partial<{ title: string; description: string; }> | undefined, datasourceExpressionsByLayers?: Record | undefined) => string | ", { "pluginId": "expressions", @@ -6276,7 +6402,13 @@ "description": [], "signature": [ "Record | undefined" ], "path": "x-pack/plugins/lens/public/types.ts", @@ -6306,7 +6438,13 @@ "text": "DatasourcePublicAPI" }, ">>, datasourceExpressionsByLayers?: Record | undefined) => string | ", { "pluginId": "expressions", @@ -6368,7 +6506,13 @@ "description": [], "signature": [ "Record | undefined" ], "path": "x-pack/plugins/lens/public/types.ts", @@ -7667,7 +7811,13 @@ "label": "palette", "description": [], "signature": [ - "PaletteOutput", + { + "pluginId": "@kbn/coloring", + "scope": "common", + "docId": "kibKbnColoringPluginApi", + "section": "def-common.PaletteOutput", + "text": "PaletteOutput" + }, "<{ [key: string]: unknown; }> | undefined" ], "path": "x-pack/plugins/lens/public/visualizations/xy/types.ts", @@ -8624,7 +8774,13 @@ "text": "DataLayerArgs" }, ", \"palette\"> & { type: \"dataLayer\"; layerType: \"data\"; palette: ", - "PaletteOutput", + { + "pluginId": "@kbn/coloring", + "scope": "common", + "docId": "kibKbnColoringPluginApi", + "section": "def-common.PaletteOutput", + "text": "PaletteOutput" + }, "<{ [key: string]: unknown; }>; table: ", { "pluginId": "expressions", @@ -8905,9 +9061,21 @@ "description": [], "signature": [ "{ description?: string | undefined; title: string; state: { datasourceStates: Record; visualization: unknown; query: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, "; globalPalette?: { activePaletteId: string; state?: unknown; } | undefined; filters: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]; adHocDataViews?: Record | undefined; internalReferences?: ", - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[] | undefined; }; references: ", - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]; visualizationType: string | null; }" ], "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx", @@ -9496,7 +9676,13 @@ "text": "LensServerPlugin" }, " implements ", - "Plugin", + { + "pluginId": "@kbn/core-plugins-server", + "scope": "server", + "docId": "kibKbnCorePluginsServerPluginApi", + "section": "def-server.Plugin", + "text": "Plugin" + }, "<", { "pluginId": "lens", @@ -9536,7 +9722,13 @@ "description": [], "signature": [ "(core: ", - "CoreSetup", + { + "pluginId": "@kbn/core-lifecycle-server", + "scope": "server", + "docId": "kibKbnCoreLifecycleServerPluginApi", + "section": "def-server.CoreSetup", + "text": "CoreSetup" + }, "<", { "pluginId": "lens", @@ -9591,7 +9783,13 @@ "label": "core", "description": [], "signature": [ - "CoreSetup", + { + "pluginId": "@kbn/core-lifecycle-server", + "scope": "server", + "docId": "kibKbnCoreLifecycleServerPluginApi", + "section": "def-server.CoreSetup", + "text": "CoreSetup" + }, "<", { "pluginId": "lens", @@ -9640,7 +9838,13 @@ "description": [], "signature": [ "(core: ", - "CoreStart", + { + "pluginId": "@kbn/core-lifecycle-server", + "scope": "server", + "docId": "kibKbnCoreLifecycleServerPluginApi", + "section": "def-server.CoreStart", + "text": "CoreStart" + }, ", plugins: ", { "pluginId": "lens", @@ -9663,7 +9867,13 @@ "label": "core", "description": [], "signature": [ - "CoreStart" + { + "pluginId": "@kbn/core-lifecycle-server", + "scope": "server", + "docId": "kibKbnCoreLifecycleServerPluginApi", + "section": "def-server.CoreStart", + "text": "CoreStart" + } ], "path": "x-pack/plugins/lens/server/plugin.tsx", "deprecated": false, @@ -9785,7 +9995,13 @@ "description": [], "signature": [ "{ datasourceMetaData: { filterableIndexPatterns: { id: string; title: string; }[]; }; datasourceStates: { indexpattern: { currentIndexPatternId: string; layers: Record>; }>; }; }; visualization: VisualizationState; query: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, "; filters: ", { "pluginId": "lens", @@ -9880,9 +10096,21 @@ "text": "OperationTypePost712" }, "; }>; }>; }; }; visualization: VisualizationState; query: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, "; filters: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]; }" ], "path": "x-pack/plugins/lens/server/migrations/types.ts", @@ -9969,9 +10197,21 @@ "text": "OperationTypePre712" }, "; }>; }>; }; }; query: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, "; visualization: VisualizationState; filters: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]; }" ], "path": "x-pack/plugins/lens/server/migrations/types.ts", @@ -10435,9 +10675,21 @@ "text": "OperationTypePost712" }, "; }>; }>; }; }; visualization: unknown; query: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, "; filters: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]; }, \"datasourceStates\"> & { datasourceStates: { indexpattern: Omit<{ currentIndexPatternId: string; layers: Record; }>; }; }; visualization: unknown; query: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, "; filters: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]; }, \"datasourceStates\"> & { datasourceStates: { indexpattern: Omit<{ currentIndexPatternId: string; layers: Record, \"filters\" | \"state\"> & { filters: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]; state: Omit<{ datasourceMetaData: { filterableIndexPatterns: { id: string; title: string; }[]; }; datasourceStates: { indexpattern: { currentIndexPatternId: string; layers: Record>; }>; }; }; visualization: VisualizationState; query: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, "; filters: ", { "pluginId": "lens", @@ -10588,9 +10864,21 @@ "text": "LensDocShape715" }, ", \"filters\" | \"state\"> & { filters: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]; state: Omit<{ datasourceMetaData: { filterableIndexPatterns: { id: string; title: string; }[]; }; datasourceStates: { indexpattern: { currentIndexPatternId: string; layers: Record>; }>; }; }; visualization: VisualizationState; query: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, "; filters: ", { "pluginId": "lens", @@ -10631,9 +10919,21 @@ "text": "LensDocShape715" }, ", \"filters\" | \"state\"> & { filters: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]; state: Omit<{ datasourceMetaData: { filterableIndexPatterns: { id: string; title: string; }[]; }; datasourceStates: { indexpattern: { currentIndexPatternId: string; layers: Record>; }>; }; }; visualization: VisualizationState; query: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, "; filters: ", { "pluginId": "lens", @@ -10674,9 +10974,21 @@ "text": "LensDocShape715" }, ", \"filters\" | \"state\"> & { filters: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]; state: Omit<{ datasourceMetaData: { filterableIndexPatterns: { id: string; title: string; }[]; }; datasourceStates: { indexpattern: { currentIndexPatternId: string; layers: Record>; }>; }; }; visualization: VisualizationState; query: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, "; filters: ", { "pluginId": "lens", @@ -10717,7 +11029,13 @@ "text": "LensDocShape850" }, ", \"state\"> & { state: Omit>; }>; }; }; visualization: VisualizationState; query: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, "; filters: ", { "pluginId": "lens", @@ -10780,13 +11098,37 @@ "description": [], "signature": [ "{ columns: { palette?: ", - "PaletteOutput", + { + "pluginId": "@kbn/coloring", + "scope": "common", + "docId": "kibKbnColoringPluginApi", + "section": "def-common.PaletteOutput", + "text": "PaletteOutput" + }, "<", - "CustomPaletteParams", + { + "pluginId": "@kbn/coloring", + "scope": "common", + "docId": "kibKbnColoringPluginApi", + "section": "def-common.CustomPaletteParams", + "text": "CustomPaletteParams" + }, "> | undefined; colorMode?: \"none\" | \"text\" | \"cell\" | undefined; }[]; } | { palette?: ", - "PaletteOutput", + { + "pluginId": "@kbn/coloring", + "scope": "common", + "docId": "kibKbnColoringPluginApi", + "section": "def-common.PaletteOutput", + "text": "PaletteOutput" + }, "<", - "CustomPaletteParams", + { + "pluginId": "@kbn/coloring", + "scope": "common", + "docId": "kibKbnColoringPluginApi", + "section": "def-common.CustomPaletteParams", + "text": "CustomPaletteParams" + }, "> | undefined; }" ], "path": "x-pack/plugins/lens/server/migrations/types.ts", @@ -11296,9 +11638,21 @@ "label": "palette", "description": [], "signature": [ - "PaletteOutput", + { + "pluginId": "@kbn/coloring", + "scope": "common", + "docId": "kibKbnColoringPluginApi", + "section": "def-common.PaletteOutput", + "text": "PaletteOutput" + }, "<", - "CustomPaletteParams", + { + "pluginId": "@kbn/coloring", + "scope": "common", + "docId": "kibKbnColoringPluginApi", + "section": "def-common.CustomPaletteParams", + "text": "CustomPaletteParams" + }, "> | undefined" ], "path": "x-pack/plugins/lens/common/types.ts", @@ -11366,7 +11720,13 @@ "text": "PersistableFilter" }, " extends ", - "Filter" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } ], "path": "x-pack/plugins/lens/common/types.ts", "deprecated": false, @@ -11411,7 +11771,13 @@ "text": "PersistableFilterMeta" }, " extends ", - "FilterMeta" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + } ], "path": "x-pack/plugins/lens/common/types.ts", "deprecated": false, @@ -11488,7 +11854,13 @@ "label": "palette", "description": [], "signature": [ - "PaletteOutput", + { + "pluginId": "@kbn/coloring", + "scope": "common", + "docId": "kibKbnColoringPluginApi", + "section": "def-common.PaletteOutput", + "text": "PaletteOutput" + }, "<{ [key: string]: unknown; }> | undefined" ], "path": "x-pack/plugins/lens/common/types.ts", @@ -11855,7 +12227,13 @@ "text": "SerializedFieldFormat" }, "<{}, ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, "> | undefined) => ", { "pluginId": "fieldFormats", @@ -11886,7 +12264,13 @@ "text": "SerializedFieldFormat" }, "<{}, ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, "> | undefined" ], "path": "x-pack/plugins/lens/common/types.ts", diff --git a/api_docs/lens.mdx b/api_docs/lens.mdx index e7bb35a466d4d..a3ccad313d3d2 100644 --- a/api_docs/lens.mdx +++ b/api_docs/lens.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/lens title: "lens" image: https://source.unsplash.com/400x175/?github description: API docs for the lens plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'lens'] --- import lensObj from './lens.devdocs.json'; diff --git a/api_docs/license_api_guard.devdocs.json b/api_docs/license_api_guard.devdocs.json index 03acec45780d4..2b91cf1351314 100644 --- a/api_docs/license_api_guard.devdocs.json +++ b/api_docs/license_api_guard.devdocs.json @@ -94,7 +94,13 @@ "description": [], "signature": [ "(handler: ", { "pluginId": "core", @@ -104,15 +110,45 @@ "text": "RequestHandler" }, ") => (ctx: Context, request: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ", response: ", - "KibanaResponseFactory", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaResponseFactory", + "text": "KibanaResponseFactory" + }, ") => ", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, " | Promise<", - "IKibanaResponse", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.IKibanaResponse", + "text": "IKibanaResponse" + }, ">" ], "path": "x-pack/plugins/license_api_guard/server/license.ts", @@ -135,7 +171,13 @@ "text": "RequestHandler" }, "" ], "path": "x-pack/plugins/license_api_guard/server/license.ts", diff --git a/api_docs/license_api_guard.mdx b/api_docs/license_api_guard.mdx index af115b770aae7..8a4f7e37f3775 100644 --- a/api_docs/license_api_guard.mdx +++ b/api_docs/license_api_guard.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/licenseApiGuard title: "licenseApiGuard" image: https://source.unsplash.com/400x175/?github description: API docs for the licenseApiGuard plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'licenseApiGuard'] --- import licenseApiGuardObj from './license_api_guard.devdocs.json'; diff --git a/api_docs/license_management.mdx b/api_docs/license_management.mdx index 3823c16cdfe7d..36a2131cc5b9d 100644 --- a/api_docs/license_management.mdx +++ b/api_docs/license_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/licenseManagement title: "licenseManagement" image: https://source.unsplash.com/400x175/?github description: API docs for the licenseManagement plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'licenseManagement'] --- import licenseManagementObj from './license_management.devdocs.json'; diff --git a/api_docs/licensing.devdocs.json b/api_docs/licensing.devdocs.json index df3ae7c6518ff..682c8d781850b 100644 --- a/api_docs/licensing.devdocs.json +++ b/api_docs/licensing.devdocs.json @@ -975,7 +975,13 @@ "text": "RequestHandler" }, ") => ", { "pluginId": "core", @@ -985,7 +991,13 @@ "text": "RequestHandler" }, "" ], "path": "x-pack/plugins/licensing/server/wrap_route_with_license_check.ts", @@ -1029,7 +1041,13 @@ "text": "RequestHandler" }, "" ], "path": "x-pack/plugins/licensing/server/wrap_route_with_license_check.ts", @@ -2328,7 +2346,13 @@ ], "signature": [ "(clusterClient: ", - "IClusterClient", + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.IClusterClient", + "text": "IClusterClient" + }, ", pollingFrequency: number) => { license$: ", "Observable", "<", @@ -2349,7 +2373,13 @@ "label": "clusterClient", "description": [], "signature": [ - "IClusterClient" + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.IClusterClient", + "text": "IClusterClient" + } ], "path": "x-pack/plugins/licensing/server/types.ts", "deprecated": false, diff --git a/api_docs/licensing.mdx b/api_docs/licensing.mdx index 674b3b0183e1a..ad9c24bea2fed 100644 --- a/api_docs/licensing.mdx +++ b/api_docs/licensing.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/licensing title: "licensing" image: https://source.unsplash.com/400x175/?github description: API docs for the licensing plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'licensing'] --- import licensingObj from './licensing.devdocs.json'; diff --git a/api_docs/lists.devdocs.json b/api_docs/lists.devdocs.json index 6410ac3562395..a7536c98ad1ab 100644 --- a/api_docs/lists.devdocs.json +++ b/api_docs/lists.devdocs.json @@ -18,7 +18,13 @@ "text": "Plugin" }, " implements ", - "Plugin", + { + "pluginId": "@kbn/core-plugins-browser", + "scope": "common", + "docId": "kibKbnCorePluginsBrowserPluginApi", + "section": "def-common.Plugin", + "text": "Plugin" + }, "<", { "pluginId": "lists", @@ -67,7 +73,13 @@ "label": "initializerContext", "description": [], "signature": [ - "PluginInitializerContext", + { + "pluginId": "@kbn/core-plugins-browser", + "scope": "common", + "docId": "kibKbnCorePluginsBrowserPluginApi", + "section": "def-common.PluginInitializerContext", + "text": "PluginInitializerContext" + }, "" ], "path": "x-pack/plugins/lists/public/plugin.ts", @@ -87,7 +99,13 @@ "description": [], "signature": [ "(core: ", - "CoreSetup", + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreSetup", + "text": "CoreSetup" + }, "<", "StartPlugins", ", ", @@ -121,7 +139,13 @@ "label": "core", "description": [], "signature": [ - "CoreSetup", + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreSetup", + "text": "CoreSetup" + }, "<", "StartPlugins", ", ", @@ -166,7 +190,13 @@ "description": [], "signature": [ "(core: ", - "CoreStart", + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreStart", + "text": "CoreStart" + }, ", plugins: ", "StartPlugins", ") => ", @@ -190,7 +220,13 @@ "label": "core", "description": [], "signature": [ - "CoreStart" + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreStart", + "text": "CoreStart" + } ], "path": "x-pack/plugins/lists/public/plugin.ts", "deprecated": false, @@ -288,7 +324,13 @@ "label": "exceptionItems", "description": [], "signature": [ - "ExceptionsBuilderReturnExceptionItem", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.ExceptionsBuilderReturnExceptionItem", + "text": "ExceptionsBuilderReturnExceptionItem" + }, "[]" ], "path": "x-pack/plugins/lists/public/exceptions/components/builder/exception_items_renderer.tsx", @@ -303,7 +345,7 @@ "label": "exceptionsToDelete", "description": [], "signature": [ - "{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }[]" + "{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }[]" ], "path": "x-pack/plugins/lists/public/exceptions/components/builder/exception_items_renderer.tsx", "deprecated": false, @@ -580,7 +622,7 @@ "signature": [ "({ itemId, id, namespaceType, }: ", "GetExceptionListItemOptions", - ") => Promise<{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; } | null>" + ") => Promise<{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; } | null>" ], "path": "x-pack/plugins/lists/server/services/exception_lists/exception_list_client.ts", "deprecated": false, @@ -658,7 +700,7 @@ "signature": [ "({ comments, description, entries, itemId, meta, name, osTypes, tags, type, }: ", "CreateEndpointListItemOptions", - ") => Promise<{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }>" + ") => Promise<{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }>" ], "path": "x-pack/plugins/lists/server/services/exception_lists/exception_list_client.ts", "deprecated": false, @@ -696,7 +738,7 @@ "signature": [ "({ _version, comments, description, entries, id, itemId, meta, name, osTypes, tags, type, }: ", "UpdateEndpointListItemOptions", - ") => Promise<{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; } | null>" + ") => Promise<{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; } | null>" ], "path": "x-pack/plugins/lists/server/services/exception_lists/exception_list_client.ts", "deprecated": false, @@ -734,7 +776,7 @@ "signature": [ "({ itemId, id, }: ", "GetEndpointListItemOptions", - ") => Promise<{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; } | null>" + ") => Promise<{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; } | null>" ], "path": "x-pack/plugins/lists/server/services/exception_lists/exception_list_client.ts", "deprecated": false, @@ -892,7 +934,7 @@ "section": "def-server.CreateExceptionListItemOptions", "text": "CreateExceptionListItemOptions" }, - ") => Promise<{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }>" + ") => Promise<{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }>" ], "path": "x-pack/plugins/lists/server/services/exception_lists/exception_list_client.ts", "deprecated": false, @@ -942,7 +984,7 @@ "section": "def-server.UpdateExceptionListItemOptions", "text": "UpdateExceptionListItemOptions" }, - ") => Promise<{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; } | null>" + ") => Promise<{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; } | null>" ], "path": "x-pack/plugins/lists/server/services/exception_lists/exception_list_client.ts", "deprecated": false, @@ -986,7 +1028,7 @@ "signature": [ "({ id, itemId, namespaceType, }: ", "DeleteExceptionListItemOptions", - ") => Promise<{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; } | null>" + ") => Promise<{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; } | null>" ], "path": "x-pack/plugins/lists/server/services/exception_lists/exception_list_client.ts", "deprecated": false, @@ -1060,7 +1102,7 @@ "signature": [ "({ id, itemId, }: ", "DeleteEndpointListItemOptions", - ") => Promise<{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; } | null>" + ") => Promise<{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; } | null>" ], "path": "x-pack/plugins/lists/server/services/exception_lists/exception_list_client.ts", "deprecated": false, @@ -1096,7 +1138,7 @@ "signature": [ "({ listId, filter, perPage, pit, page, search, searchAfter, sortField, sortOrder, namespaceType, }: ", "FindExceptionListItemOptions", - ") => Promise<({ data: { _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }[]; page: number; per_page: number; total: number; } & { pit?: string | undefined; }) | null>" + ") => Promise<({ data: { _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }[]; page: number; per_page: number; total: number; } & { pit?: string | undefined; }) | null>" ], "path": "x-pack/plugins/lists/server/services/exception_lists/exception_list_client.ts", "deprecated": false, @@ -1134,7 +1176,7 @@ "signature": [ "({ listId, filter, perPage, pit, page, search, searchAfter, sortField, sortOrder, namespaceType, }: ", "FindExceptionListsItemOptions", - ") => Promise<({ data: { _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }[]; page: number; per_page: number; total: number; } & { pit?: string | undefined; }) | null>" + ") => Promise<({ data: { _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }[]; page: number; per_page: number; total: number; } & { pit?: string | undefined; }) | null>" ], "path": "x-pack/plugins/lists/server/services/exception_lists/exception_list_client.ts", "deprecated": false, @@ -1172,7 +1214,7 @@ "signature": [ "({ perPage, pit, page, searchAfter, sortField, sortOrder, valueListId, }: ", "FindValueListExceptionListsItems", - ") => Promise<({ data: { _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }[]; page: number; per_page: number; total: number; } & { pit?: string | undefined; }) | null>" + ") => Promise<({ data: { _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }[]; page: number; per_page: number; total: number; } & { pit?: string | undefined; }) | null>" ], "path": "x-pack/plugins/lists/server/services/exception_lists/exception_list_client.ts", "deprecated": false, @@ -1248,7 +1290,7 @@ "signature": [ "({ filter, perPage, page, pit, search, searchAfter, sortField, sortOrder, }: ", "FindEndpointListItemOptions", - ") => Promise<({ data: { _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }[]; page: number; per_page: number; total: number; } & { pit?: string | undefined; }) | null>" + ") => Promise<({ data: { _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }[]; page: number; per_page: number; total: number; } & { pit?: string | undefined; }) | null>" ], "path": "x-pack/plugins/lists/server/services/exception_lists/exception_list_client.ts", "deprecated": false, @@ -1409,7 +1451,13 @@ "({ namespaceType, options, }: ", "OpenPointInTimeOptions", ") => Promise<", - "SavedObjectsOpenPointInTimeResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsOpenPointInTimeResponse", + "text": "SavedObjectsOpenPointInTimeResponse" + }, ">" ], "path": "x-pack/plugins/lists/server/services/exception_lists/exception_list_client.ts", @@ -1449,7 +1497,13 @@ "({ pit, }: ", "ClosePointInTimeOptions", ") => Promise<", - "SavedObjectsClosePointInTimeResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClosePointInTimeResponse", + "text": "SavedObjectsClosePointInTimeResponse" + }, ">" ], "path": "x-pack/plugins/lists/server/services/exception_lists/exception_list_client.ts", @@ -2905,7 +2959,7 @@ "an array with the exception list item entries" ], "signature": [ - "({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]" + "({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]" ], "path": "x-pack/plugins/lists/server/services/exception_lists/exception_list_client_types.ts", "deprecated": false, @@ -3217,7 +3271,7 @@ "item exception entries logic" ], "signature": [ - "({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]" + "({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"text\" | \"geo_point\" | \"geo_shape\" | \"date_nanos\" | \"long\" | \"double\" | \"date_range\" | \"ip_range\" | \"shape\" | \"short\" | \"binary\" | \"byte\" | \"float\" | \"half_float\" | \"integer\" | \"double_range\" | \"float_range\" | \"integer_range\" | \"long_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]" ], "path": "x-pack/plugins/lists/server/services/exception_lists/exception_list_client_types.ts", "deprecated": false, @@ -3805,7 +3859,13 @@ "description": [], "signature": [ "(savedObjectsClient: ", - "SavedObjectsClientContract", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + }, ", user: string, enableServerExtensionPoints?: boolean | undefined) => ", { "pluginId": "lists", @@ -3828,7 +3888,13 @@ "label": "savedObjectsClient", "description": [], "signature": [ - "SavedObjectsClientContract" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + } ], "path": "x-pack/plugins/lists/server/types.ts", "deprecated": false, @@ -3870,7 +3936,13 @@ "description": [], "signature": [ "(esClient: ", - "ElasticsearchClient", + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.ElasticsearchClient", + "text": "ElasticsearchClient" + }, ", spaceId: string, user: string) => ", { "pluginId": "lists", diff --git a/api_docs/lists.mdx b/api_docs/lists.mdx index 18638ed91e086..73c0641c6de94 100644 --- a/api_docs/lists.mdx +++ b/api_docs/lists.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/lists title: "lists" image: https://source.unsplash.com/400x175/?github description: API docs for the lists plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'lists'] --- import listsObj from './lists.devdocs.json'; diff --git a/api_docs/management.devdocs.json b/api_docs/management.devdocs.json index 300c38c0b2dcd..92bdbd0a808d1 100644 --- a/api_docs/management.devdocs.json +++ b/api_docs/management.devdocs.json @@ -552,7 +552,13 @@ "label": "history", "description": [], "signature": [ - "ScopedHistory", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.ScopedHistory", + "text": "ScopedHistory" + }, "" ], "path": "src/plugins/management/public/types.ts", @@ -569,7 +575,13 @@ "signature": [ "Observable", "<", - "CoreTheme", + { + "pluginId": "@kbn/core-theme-browser", + "scope": "common", + "docId": "kibKbnCoreThemeBrowserPluginApi", + "section": "def-common.CoreTheme", + "text": "CoreTheme" + }, ">" ], "path": "src/plugins/management/public/types.ts", diff --git a/api_docs/management.mdx b/api_docs/management.mdx index d4c531295e535..f0a8674d16876 100644 --- a/api_docs/management.mdx +++ b/api_docs/management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/management title: "management" image: https://source.unsplash.com/400x175/?github description: API docs for the management plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'management'] --- import managementObj from './management.devdocs.json'; diff --git a/api_docs/maps.devdocs.json b/api_docs/maps.devdocs.json index 2350f3b292bc0..f60133d04b291 100644 --- a/api_docs/maps.devdocs.json +++ b/api_docs/maps.devdocs.json @@ -494,7 +494,13 @@ "description": [], "signature": [ "() => Promise<", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]>" ], "path": "x-pack/plugins/maps/public/embeddable/map_embeddable.tsx", @@ -512,7 +518,13 @@ "description": [], "signature": [ "() => Promise<", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | undefined>" ], "path": "x-pack/plugins/maps/public/embeddable/map_embeddable.tsx", @@ -827,7 +839,13 @@ "description": [], "signature": [ "() => ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "x-pack/plugins/maps/public/embeddable/map_embeddable.tsx", @@ -1125,7 +1143,13 @@ "description": [], "signature": [ "(filters: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[], actionId?: string) => Promise" ], "path": "x-pack/plugins/maps/public/embeddable/map_embeddable.tsx", @@ -1140,7 +1164,13 @@ "label": "filters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "x-pack/plugins/maps/public/embeddable/map_embeddable.tsx", @@ -1404,7 +1434,13 @@ "label": "filters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", @@ -1419,7 +1455,13 @@ "label": "query", "description": [], "signature": [ - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | undefined" ], "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", @@ -1435,9 +1477,21 @@ "description": [], "signature": [ "{ query?: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | undefined; filters: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]; } | undefined" ], "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", @@ -1452,7 +1506,13 @@ "label": "sourceQuery", "description": [], "signature": [ - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | undefined" ], "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", @@ -1507,7 +1567,13 @@ "label": "joinKeyFilter", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, " | undefined" ], "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", @@ -1627,7 +1693,13 @@ "description": [], "signature": [ "((filters: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[], actionId: string) => Promise) | null" ], "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", @@ -2484,7 +2556,13 @@ "description": [], "signature": [ "() => Promise<", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]>" ], "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts", @@ -3329,7 +3407,13 @@ "description": [], "signature": [ "((filters: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[], actionId: string) => Promise) | null" ], "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts", @@ -4392,7 +4476,13 @@ " & { id: string; indexPatternId: string; geoField?: string | undefined; applyGlobalQuery: boolean; applyGlobalTime: boolean; applyForceRefresh: boolean; } & { metrics: ", "AggDescriptor", "[]; } & { term: string; whereQuery?: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | undefined; size?: number | undefined; type: ", { "pluginId": "maps", @@ -4469,7 +4559,13 @@ " | null; type?: string | undefined; visible?: boolean | undefined; style?: ", "StyleDescriptor", " | null | undefined; query?: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | undefined; includeInFitToBounds?: boolean | undefined; parent?: string | undefined; }" ], "path": "x-pack/plugins/maps/common/descriptor_types/layer_descriptor_types.ts", @@ -4626,7 +4722,13 @@ "signature": [ "DataFilters", " & { applyGlobalQuery: boolean; applyGlobalTime: boolean; applyForceRefresh: boolean; fieldNames: string[]; geogridPrecision?: number | undefined; timesliceMaskField?: string | undefined; sourceQuery?: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | undefined; sourceMeta: object | null; isForceRefresh: boolean; isFeatureEditorOpenForLayer: boolean; }" ], "path": "x-pack/plugins/maps/common/descriptor_types/data_request_descriptor_types.ts", diff --git a/api_docs/maps.mdx b/api_docs/maps.mdx index 22cc726aab7f0..1e526083a2b8d 100644 --- a/api_docs/maps.mdx +++ b/api_docs/maps.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/maps title: "maps" image: https://source.unsplash.com/400x175/?github description: API docs for the maps plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'maps'] --- import mapsObj from './maps.devdocs.json'; diff --git a/api_docs/maps_ems.devdocs.json b/api_docs/maps_ems.devdocs.json index 3479c443f5f13..f04f373af459e 100644 --- a/api_docs/maps_ems.devdocs.json +++ b/api_docs/maps_ems.devdocs.json @@ -433,7 +433,13 @@ "text": "MapsEmsPlugin" }, " implements ", - "Plugin", + { + "pluginId": "@kbn/core-plugins-server", + "scope": "server", + "docId": "kibKbnCorePluginsServerPluginApi", + "section": "def-server.Plugin", + "text": "Plugin" + }, "<", { "pluginId": "mapsEms", @@ -456,7 +462,13 @@ "label": "_initializerContext", "description": [], "signature": [ - "PluginInitializerContext", + { + "pluginId": "@kbn/core-plugins-server", + "scope": "server", + "docId": "kibKbnCorePluginsServerPluginApi", + "section": "def-server.PluginInitializerContext", + "text": "PluginInitializerContext" + }, "; }>; includeElasticMapsService: boolean; emsUrl: string; emsFileApiUrl: string; emsTileApiUrl: string; emsLandingPageUrl: string; emsFontLibraryUrl: string; emsTileLayerId: Readonly<{} & { dark: string; bright: string; desaturated: string; }>; }>>" ], "path": "src/plugins/maps_ems/server/index.ts", @@ -485,7 +497,13 @@ "label": "initializerContext", "description": [], "signature": [ - "PluginInitializerContext", + { + "pluginId": "@kbn/core-plugins-server", + "scope": "server", + "docId": "kibKbnCorePluginsServerPluginApi", + "section": "def-server.PluginInitializerContext", + "text": "PluginInitializerContext" + }, "; }>; includeElasticMapsService: boolean; emsUrl: string; emsFileApiUrl: string; emsTileApiUrl: string; emsLandingPageUrl: string; emsFontLibraryUrl: string; emsTileLayerId: Readonly<{} & { dark: string; bright: string; desaturated: string; }>; }>>" ], "path": "src/plugins/maps_ems/server/index.ts", @@ -505,7 +523,13 @@ "description": [], "signature": [ "(core: ", - "CoreSetup", + { + "pluginId": "@kbn/core-lifecycle-server", + "scope": "server", + "docId": "kibKbnCoreLifecycleServerPluginApi", + "section": "def-server.CoreSetup", + "text": "CoreSetup" + }, ", plugins: MapsEmsSetupServerDependencies) => { config: Readonly<{} & { tilemap: Readonly<{ url?: string | undefined; } & { options: Readonly<{ default?: boolean | undefined; tileSize?: number | undefined; subdomains?: string[] | undefined; errorTileUrl?: string | undefined; tms?: boolean | undefined; reuseTiles?: boolean | undefined; bounds?: number[] | undefined; } & { attribution: string; minZoom: number; maxZoom: number; }>; }>; includeElasticMapsService: boolean; emsUrl: string; emsFileApiUrl: string; emsTileApiUrl: string; emsLandingPageUrl: string; emsFontLibraryUrl: string; emsTileLayerId: Readonly<{} & { dark: string; bright: string; desaturated: string; }>; }>; createEMSSettings: () => ", { "pluginId": "mapsEms", @@ -528,7 +552,13 @@ "label": "core", "description": [], "signature": [ - "CoreSetup", + { + "pluginId": "@kbn/core-lifecycle-server", + "scope": "server", + "docId": "kibKbnCoreLifecycleServerPluginApi", + "section": "def-server.CoreSetup", + "text": "CoreSetup" + }, "" ], "path": "src/plugins/maps_ems/server/index.ts", diff --git a/api_docs/maps_ems.mdx b/api_docs/maps_ems.mdx index 8709a79eff9b6..ed41f9bdc2fc1 100644 --- a/api_docs/maps_ems.mdx +++ b/api_docs/maps_ems.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/mapsEms title: "mapsEms" image: https://source.unsplash.com/400x175/?github description: API docs for the mapsEms plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'mapsEms'] --- import mapsEmsObj from './maps_ems.devdocs.json'; diff --git a/api_docs/ml.devdocs.json b/api_docs/ml.devdocs.json index e407bdfa53682..ec4fd079d786e 100644 --- a/api_docs/ml.devdocs.json +++ b/api_docs/ml.devdocs.json @@ -3135,9 +3135,21 @@ " & ", "ResultsServiceProvider", " & { alertingServiceProvider(savedObjectsClient: ", - "SavedObjectsClientContract", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + }, ", request: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "): { preview: (args_0: Readonly<{} & { timeRange: string; alertParams: Readonly<{} & { severity: number; jobSelection: Readonly<{} & { groupIds: string[]; jobIds: string[]; }>; resultType: \"bucket\" | \"record\" | \"influencer\"; includeInterim: boolean; lookbackInterval: string | null; topNBuckets: number | null; }>; sampleSize: number; }>) => Promise; execute: (params: Readonly<{} & { severity: number; jobSelection: Readonly<{} & { groupIds: string[]; jobIds: string[]; }>; resultType: \"bucket\" | \"record\" | \"influencer\"; includeInterim: boolean; lookbackInterval: string | null; topNBuckets: number | null; }>) => Promise<{ context: ", "AnomalyDetectionAlertContext", "; name: string; isHealthy: boolean; } | undefined>; }; } & ", diff --git a/api_docs/ml.mdx b/api_docs/ml.mdx index 73382628e614b..cdd53d0452db3 100644 --- a/api_docs/ml.mdx +++ b/api_docs/ml.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/ml title: "ml" image: https://source.unsplash.com/400x175/?github description: API docs for the ml plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'ml'] --- import mlObj from './ml.devdocs.json'; diff --git a/api_docs/monitoring.devdocs.json b/api_docs/monitoring.devdocs.json index 64ac00cd99ad1..cf4b2efaf9269 100644 --- a/api_docs/monitoring.devdocs.json +++ b/api_docs/monitoring.devdocs.json @@ -64,7 +64,13 @@ "description": [], "signature": [ "(esClient: ", - "ElasticsearchClient", + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.ElasticsearchClient", + "text": "ElasticsearchClient" + }, ") => void" ], "path": "x-pack/plugins/monitoring/server/types.ts", @@ -79,7 +85,13 @@ "label": "esClient", "description": [], "signature": [ - "ElasticsearchClient" + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.ElasticsearchClient", + "text": "ElasticsearchClient" + } ], "path": "x-pack/plugins/monitoring/server/types.ts", "deprecated": false, @@ -212,7 +224,71 @@ }, "common": { "classes": [], - "functions": [], + "functions": [ + { + "parentPluginId": "monitoring", + "id": "def-common.formatTimestampToDuration", + "type": "Function", + "tags": [], + "label": "formatTimestampToDuration", + "description": [], + "signature": [ + "(timestamp: any, calculationFlag: any, initialTime: any) => string" + ], + "path": "x-pack/plugins/monitoring/common/format_timestamp_to_duration.js", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "monitoring", + "id": "def-common.formatTimestampToDuration.$1", + "type": "Any", + "tags": [], + "label": "timestamp", + "description": [], + "signature": [ + "any" + ], + "path": "x-pack/plugins/monitoring/common/format_timestamp_to_duration.js", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "monitoring", + "id": "def-common.formatTimestampToDuration.$2", + "type": "Any", + "tags": [], + "label": "calculationFlag", + "description": [], + "signature": [ + "any" + ], + "path": "x-pack/plugins/monitoring/common/format_timestamp_to_duration.js", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "monitoring", + "id": "def-common.formatTimestampToDuration.$3", + "type": "Any", + "tags": [], + "label": "initialTime", + "description": [], + "signature": [ + "any" + ], + "path": "x-pack/plugins/monitoring/common/format_timestamp_to_duration.js", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], "interfaces": [], "enums": [], "misc": [], diff --git a/api_docs/monitoring.mdx b/api_docs/monitoring.mdx index ec57c30fc945e..0fa09769d2e2a 100644 --- a/api_docs/monitoring.mdx +++ b/api_docs/monitoring.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/monitoring title: "monitoring" image: https://source.unsplash.com/400x175/?github description: API docs for the monitoring plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'monitoring'] --- import monitoringObj from './monitoring.devdocs.json'; @@ -21,7 +21,7 @@ Contact [Stack Monitoring](https://github.com/orgs/elastic/teams/stack-monitorin | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 11 | 0 | 9 | 1 | +| 15 | 3 | 13 | 1 | ## Server @@ -34,3 +34,8 @@ Contact [Stack Monitoring](https://github.com/orgs/elastic/teams/stack-monitorin ### Consts, variables and types +## Common + +### Functions + + diff --git a/api_docs/monitoring_collection.devdocs.json b/api_docs/monitoring_collection.devdocs.json index 5d88c99099b56..bafd6078f836f 100644 --- a/api_docs/monitoring_collection.devdocs.json +++ b/api_docs/monitoring_collection.devdocs.json @@ -109,7 +109,13 @@ "description": [], "signature": [ "T & ", - "JsonObject" + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.JsonObject", + "text": "JsonObject" + } ], "path": "x-pack/plugins/monitoring_collection/server/plugin.ts", "deprecated": false, diff --git a/api_docs/monitoring_collection.mdx b/api_docs/monitoring_collection.mdx index ee33a91466314..826aa51c4e51f 100644 --- a/api_docs/monitoring_collection.mdx +++ b/api_docs/monitoring_collection.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/monitoringCollection title: "monitoringCollection" image: https://source.unsplash.com/400x175/?github description: API docs for the monitoringCollection plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'monitoringCollection'] --- import monitoringCollectionObj from './monitoring_collection.devdocs.json'; diff --git a/api_docs/navigation.devdocs.json b/api_docs/navigation.devdocs.json index 2787dba184164..c58b1904429f4 100644 --- a/api_docs/navigation.devdocs.json +++ b/api_docs/navigation.devdocs.json @@ -18,7 +18,13 @@ "text": "NavigationPublicPlugin" }, " implements ", - "Plugin", + { + "pluginId": "@kbn/core-plugins-browser", + "scope": "common", + "docId": "kibKbnCorePluginsBrowserPluginApi", + "section": "def-common.Plugin", + "text": "Plugin" + }, "<", { "pluginId": "navigation", @@ -63,7 +69,13 @@ "label": "initializerContext", "description": [], "signature": [ - "PluginInitializerContext", + { + "pluginId": "@kbn/core-plugins-browser", + "scope": "common", + "docId": "kibKbnCorePluginsBrowserPluginApi", + "section": "def-common.PluginInitializerContext", + "text": "PluginInitializerContext" + }, "" ], "path": "src/plugins/navigation/public/plugin.ts", @@ -83,7 +95,13 @@ "description": [], "signature": [ "(core: ", - "CoreSetup", + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreSetup", + "text": "CoreSetup" + }, ") => ", { "pluginId": "navigation", @@ -105,7 +123,13 @@ "label": "core", "description": [], "signature": [ - "CoreSetup", + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreSetup", + "text": "CoreSetup" + }, "" ], "path": "src/plugins/navigation/public/plugin.ts", @@ -125,7 +149,13 @@ "description": [], "signature": [ "(core: ", - "CoreStart", + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreStart", + "text": "CoreStart" + }, ", { unifiedSearch }: ", "NavigationPluginStartDependencies", ") => ", @@ -149,7 +179,13 @@ "label": "core", "description": [], "signature": [ - "CoreStart" + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreStart", + "text": "CoreStart" + } ], "path": "src/plugins/navigation/public/plugin.ts", "deprecated": false, @@ -673,7 +709,13 @@ "text": "UnifiedSearchPublicPluginStart" }, " | undefined; className?: string | undefined; visible?: boolean | undefined; setMenuMountPoint?: ((menuMount: ", - "MountPoint", + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.MountPoint", + "text": "MountPoint" + }, " | undefined) => void) | undefined; }" ], "path": "src/plugins/navigation/public/top_nav_menu/top_nav_menu.tsx", @@ -759,7 +801,13 @@ "text": "TopNavMenuProps" }, "<", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, ">) => React.ReactElement>; AggregateQueryTopNavMenu: (props: ", { "pluginId": "navigation", @@ -769,7 +817,13 @@ "text": "TopNavMenuProps" }, "<", - "AggregateQuery", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.AggregateQuery", + "text": "AggregateQuery" + }, ">) => React.ReactElement>; }" ], "path": "src/plugins/navigation/public/types.ts", diff --git a/api_docs/navigation.mdx b/api_docs/navigation.mdx index f5173fe1765f9..2bfc12c035a88 100644 --- a/api_docs/navigation.mdx +++ b/api_docs/navigation.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/navigation title: "navigation" image: https://source.unsplash.com/400x175/?github description: API docs for the navigation plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'navigation'] --- import navigationObj from './navigation.devdocs.json'; diff --git a/api_docs/newsfeed.mdx b/api_docs/newsfeed.mdx index 8d9b2eb280566..2b6775ee1ba51 100644 --- a/api_docs/newsfeed.mdx +++ b/api_docs/newsfeed.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/newsfeed title: "newsfeed" image: https://source.unsplash.com/400x175/?github description: API docs for the newsfeed plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'newsfeed'] --- import newsfeedObj from './newsfeed.devdocs.json'; diff --git a/api_docs/observability.devdocs.json b/api_docs/observability.devdocs.json index 0b0b048696bfe..9367f4ea23e9a 100644 --- a/api_docs/observability.devdocs.json +++ b/api_docs/observability.devdocs.json @@ -1244,7 +1244,13 @@ "text": "IInspectorInfo" }, " | undefined; name: string; }) => { data: ", - "ESSearchResponse", + { + "pluginId": "@kbn/es-types", + "scope": "server", + "docId": "kibKbnEsTypesPluginApi", + "section": "def-server.ESSearchResponse", + "text": "ESSearchResponse" + }, "; loading: boolean | undefined; }" ], "path": "x-pack/plugins/observability/public/hooks/use_es_search.ts", @@ -3817,7 +3823,7 @@ "Maybe", ", { defaultValue, extended }?: FormatterOptions) => string; asPercent: (numerator: ", "Maybe", - ", denominator: number | undefined, fallbackResult?: string) => string; }; }) => { reason: string; link: string; }" + ", denominator: number | undefined, fallbackResult?: any) => any; }; }) => { reason: string; link: string; }" ], "path": "x-pack/plugins/observability/public/rules/create_observability_rule_type_registry.ts", "deprecated": false, @@ -3836,7 +3842,7 @@ "Maybe", ", { defaultValue, extended }?: FormatterOptions) => string; asPercent: (numerator: ", "Maybe", - ", denominator: number | undefined, fallbackResult?: string) => string; }; }" + ", denominator: number | undefined, fallbackResult?: any) => any; }; }" ], "path": "x-pack/plugins/observability/public/rules/create_observability_rule_type_registry.ts", "deprecated": false, @@ -4028,9 +4034,21 @@ "description": [], "signature": [ "(", - "ExistsFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.ExistsFilter", + "text": "ExistsFilter" + }, " | ", - "PhraseFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.PhraseFilter", + "text": "PhraseFilter" + }, " | ", { "pluginId": "lens", @@ -4054,9 +4072,21 @@ "description": [], "signature": [ "(string | { field: string; nested?: string | undefined; singleSelection?: boolean | undefined; filters?: (", - "ExistsFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.ExistsFilter", + "text": "ExistsFilter" + }, " | ", - "PhraseFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.PhraseFilter", + "text": "PhraseFilter" + }, " | ", { "pluginId": "lens", @@ -4136,7 +4166,13 @@ "label": "palette", "description": [], "signature": [ - "PaletteOutput", + { + "pluginId": "@kbn/coloring", + "scope": "common", + "docId": "kibKbnColoringPluginApi", + "section": "def-common.PaletteOutput", + "text": "PaletteOutput" + }, "<{ [key: string]: unknown; }> | undefined" ], "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/types.ts", @@ -4930,10 +4966,7 @@ "tags": [], "label": "METRIC_TYPE", "description": [], - "signature": [ - "METRIC_TYPE" - ], - "path": "node_modules/@types/kbn__analytics/index.d.ts", + "path": "packages/kbn-analytics/src/metrics/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5347,7 +5380,7 @@ "Maybe", ", { defaultValue, extended }?: FormatterOptions) => string; asPercent: (numerator: ", "Maybe", - ", denominator: number | undefined, fallbackResult?: string) => string; }; }) => { reason: string; link: string; }" + ", denominator: number | undefined, fallbackResult?: any) => any; }; }) => { reason: string; link: string; }" ], "path": "x-pack/plugins/observability/public/rules/create_observability_rule_type_registry.ts", "deprecated": false, @@ -5366,7 +5399,7 @@ "Maybe", ", { defaultValue, extended }?: FormatterOptions) => string; asPercent: (numerator: ", "Maybe", - ", denominator: number | undefined, fallbackResult?: string) => string; }; }" + ", denominator: number | undefined, fallbackResult?: any) => any; }; }" ], "path": "x-pack/plugins/observability/public/rules/create_observability_rule_type_registry.ts", "deprecated": false, @@ -5831,9 +5864,21 @@ " | undefined; runtime?: ", "MappingRuntimeFields", " | undefined; }; client: ", - "ElasticsearchClient", + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.ElasticsearchClient", + "text": "ElasticsearchClient" + }, "; logger: ", - "Logger", + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + }, "; }) => Promise" ], "path": "x-pack/plugins/observability/server/utils/create_or_update_index.ts", @@ -7103,7 +7148,13 @@ "label": "logger", "description": [], "signature": [ - "Logger" + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + } ], "path": "x-pack/plugins/observability/server/utils/create_or_update_index.ts", "deprecated": false, @@ -7136,7 +7187,13 @@ "text": "RequestStatus" }, "; esResponse: any; kibanaRequest: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "; operationName: string; startTime: number; }) => ", { "pluginId": "inspector", @@ -7232,7 +7289,13 @@ "label": "kibanaRequest", "description": [], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "" ], "path": "x-pack/plugins/observability/common/utils/get_inspect_response.ts", @@ -7550,9 +7613,21 @@ "description": [], "signature": [ "{ start: () => Promise<", - "CoreStart", + { + "pluginId": "@kbn/core-lifecycle-server", + "scope": "server", + "docId": "kibKbnCoreLifecycleServerPluginApi", + "section": "def-server.CoreStart", + "text": "CoreStart" + }, ">; setup: ", - "CoreSetup", + { + "pluginId": "@kbn/core-lifecycle-server", + "scope": "server", + "docId": "kibKbnCoreLifecycleServerPluginApi", + "section": "def-server.CoreSetup", + "text": "CoreSetup" + }, "; }" ], "path": "x-pack/plugins/observability/server/routes/types.ts", @@ -7607,7 +7682,13 @@ "label": "request", "description": [], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "" ], "path": "x-pack/plugins/observability/server/routes/types.ts", @@ -7622,7 +7703,13 @@ "label": "context", "description": [], "signature": [ - "RequestHandlerContext", + { + "pluginId": "@kbn/core-http-request-handler-context-server", + "scope": "server", + "docId": "kibKbnCoreHttpRequestHandlerContextServerPluginApi", + "section": "def-server.RequestHandlerContext", + "text": "RequestHandlerContext" + }, " & { licensing: Promise<", { "pluginId": "licensing", @@ -7640,7 +7727,13 @@ "text": "AlertingApiRequestHandlerContext" }, ">; core: Promise<", - "CoreRequestHandlerContext", + { + "pluginId": "@kbn/core-http-request-handler-context-server", + "scope": "server", + "docId": "kibKbnCoreHttpRequestHandlerContextServerPluginApi", + "section": "def-server.CoreRequestHandlerContext", + "text": "CoreRequestHandlerContext" + }, ">; }" ], "path": "x-pack/plugins/observability/server/routes/types.ts", @@ -7655,7 +7748,13 @@ "label": "logger", "description": [], "signature": [ - "Logger" + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + } ], "path": "x-pack/plugins/observability/server/routes/types.ts", "deprecated": false, @@ -7676,9 +7775,21 @@ "description": [], "signature": [ "{ [x: string]: ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, ">; }" ], "path": "x-pack/plugins/observability/server/routes/types.ts", @@ -7729,7 +7840,13 @@ "description": [], "signature": [ "{ \"DELETE /api/observability/slos/{id}\"?: ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"DELETE /api/observability/slos/{id}\", ", "TypeC", "<{ path: ", @@ -7753,7 +7870,13 @@ "text": "ObservabilityRouteCreateOptions" }, "> | undefined; \"GET /api/observability/slos/{id}\"?: ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/observability/slos/{id}\", ", "TypeC", "<{ path: ", @@ -7777,7 +7900,13 @@ "text": "ObservabilityRouteCreateOptions" }, "> | undefined; \"PUT /api/observability/slos/{id}\"?: ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"PUT /api/observability/slos/{id}\", ", "TypeC", "<{ path: ", @@ -7941,7 +8070,13 @@ "text": "ObservabilityRouteCreateOptions" }, "> | undefined; \"POST /api/observability/slos\"?: ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"POST /api/observability/slos\", ", "TypeC", "<{ body: ", @@ -8101,7 +8236,13 @@ "text": "ObservabilityRouteCreateOptions" }, "> | undefined; \"GET /api/observability/rules/alerts/dynamic_index_pattern\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/observability/rules/alerts/dynamic_index_pattern\", ", "TypeC", "<{ query: ", @@ -8129,7 +8270,13 @@ "text": "ObservabilityRouteCreateOptions" }, ">; }[TEndpoint] extends ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, " ? TReturnType : never" @@ -8163,7 +8310,13 @@ "description": [], "signature": [ "{ \"DELETE /api/observability/slos/{id}\"?: ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"DELETE /api/observability/slos/{id}\", ", "TypeC", "<{ path: ", @@ -8187,7 +8340,13 @@ "text": "ObservabilityRouteCreateOptions" }, "> | undefined; \"GET /api/observability/slos/{id}\"?: ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/observability/slos/{id}\", ", "TypeC", "<{ path: ", @@ -8211,7 +8370,13 @@ "text": "ObservabilityRouteCreateOptions" }, "> | undefined; \"PUT /api/observability/slos/{id}\"?: ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"PUT /api/observability/slos/{id}\", ", "TypeC", "<{ path: ", @@ -8375,7 +8540,13 @@ "text": "ObservabilityRouteCreateOptions" }, "> | undefined; \"POST /api/observability/slos\"?: ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"POST /api/observability/slos\", ", "TypeC", "<{ body: ", @@ -8535,7 +8706,13 @@ "text": "ObservabilityRouteCreateOptions" }, "> | undefined; \"GET /api/observability/rules/alerts/dynamic_index_pattern\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/observability/rules/alerts/dynamic_index_pattern\", ", "TypeC", "<{ query: ", @@ -8633,10 +8810,13 @@ { "parentPluginId": "observability", "id": "def-server.uiSettings.enableNewSyntheticsView.name", - "type": "string", + "type": "Any", "tags": [], "label": "name", "description": [], + "signature": [ + "any" + ], "path": "x-pack/plugins/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false @@ -8658,10 +8838,13 @@ { "parentPluginId": "observability", "id": "def-server.uiSettings.enableNewSyntheticsView.description", - "type": "string", + "type": "Any", "tags": [], "label": "description", "description": [], + "signature": [ + "any" + ], "path": "x-pack/plugins/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false @@ -8674,7 +8857,13 @@ "label": "schema", "description": [], "signature": [ - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "" ], "path": "x-pack/plugins/observability/server/ui_settings.ts", @@ -8725,10 +8914,13 @@ { "parentPluginId": "observability", "id": "def-server.uiSettings.enableInspectEsQueries.name", - "type": "string", + "type": "Any", "tags": [], "label": "name", "description": [], + "signature": [ + "any" + ], "path": "x-pack/plugins/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false @@ -8750,10 +8942,13 @@ { "parentPluginId": "observability", "id": "def-server.uiSettings.enableInspectEsQueries.description", - "type": "string", + "type": "Any", "tags": [], "label": "description", "description": [], + "signature": [ + "any" + ], "path": "x-pack/plugins/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false @@ -8766,7 +8961,13 @@ "label": "schema", "description": [], "signature": [ - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "" ], "path": "x-pack/plugins/observability/server/ui_settings.ts", @@ -8817,10 +9018,13 @@ { "parentPluginId": "observability", "id": "def-server.uiSettings.maxSuggestions.name", - "type": "string", + "type": "Any", "tags": [], "label": "name", "description": [], + "signature": [ + "any" + ], "path": "x-pack/plugins/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false @@ -8839,10 +9043,13 @@ { "parentPluginId": "observability", "id": "def-server.uiSettings.maxSuggestions.description", - "type": "string", + "type": "Any", "tags": [], "label": "description", "description": [], + "signature": [ + "any" + ], "path": "x-pack/plugins/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false @@ -8855,7 +9062,13 @@ "label": "schema", "description": [], "signature": [ - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "" ], "path": "x-pack/plugins/observability/server/ui_settings.ts", @@ -8892,10 +9105,13 @@ { "parentPluginId": "observability", "id": "def-server.uiSettings.enableComparisonByDefault.name", - "type": "string", + "type": "Any", "tags": [], "label": "name", "description": [], + "signature": [ + "any" + ], "path": "x-pack/plugins/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false @@ -8917,10 +9133,13 @@ { "parentPluginId": "observability", "id": "def-server.uiSettings.enableComparisonByDefault.description", - "type": "string", + "type": "Any", "tags": [], "label": "description", "description": [], + "signature": [ + "any" + ], "path": "x-pack/plugins/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false @@ -8933,7 +9152,13 @@ "label": "schema", "description": [], "signature": [ - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "" ], "path": "x-pack/plugins/observability/server/ui_settings.ts", @@ -8984,10 +9209,13 @@ { "parentPluginId": "observability", "id": "def-server.uiSettings.defaultApmServiceEnvironment.name", - "type": "string", + "type": "Any", "tags": [], "label": "name", "description": [], + "signature": [ + "any" + ], "path": "x-pack/plugins/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false @@ -8995,10 +9223,13 @@ { "parentPluginId": "observability", "id": "def-server.uiSettings.defaultApmServiceEnvironment.description", - "type": "string", + "type": "Any", "tags": [], "label": "description", "description": [], + "signature": [ + "any" + ], "path": "x-pack/plugins/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false @@ -9022,7 +9253,13 @@ "label": "schema", "description": [], "signature": [ - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "" ], "path": "x-pack/plugins/observability/server/ui_settings.ts", @@ -9059,10 +9296,13 @@ { "parentPluginId": "observability", "id": "def-server.uiSettings.apmProgressiveLoading.name", - "type": "string", + "type": "Any", "tags": [], "label": "name", "description": [], + "signature": [ + "any" + ], "path": "x-pack/plugins/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false @@ -9070,10 +9310,13 @@ { "parentPluginId": "observability", "id": "def-server.uiSettings.apmProgressiveLoading.description", - "type": "string", + "type": "Any", "tags": [], "label": "description", "description": [], + "signature": [ + "any" + ], "path": "x-pack/plugins/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false @@ -9106,7 +9349,13 @@ "label": "schema", "description": [], "signature": [ - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "<", { "pluginId": "observability", @@ -9184,10 +9433,13 @@ { "parentPluginId": "observability", "id": "def-server.uiSettings.apmProgressiveLoading.optionLabels.ProgressiveLoadingQuality.off", - "type": "string", + "type": "Any", "tags": [], "label": "[ProgressiveLoadingQuality.off]", "description": [], + "signature": [ + "any" + ], "path": "x-pack/plugins/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false @@ -9195,10 +9447,13 @@ { "parentPluginId": "observability", "id": "def-server.uiSettings.apmProgressiveLoading.optionLabels.ProgressiveLoadingQuality.low", - "type": "string", + "type": "Any", "tags": [], "label": "[ProgressiveLoadingQuality.low]", "description": [], + "signature": [ + "any" + ], "path": "x-pack/plugins/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false @@ -9206,10 +9461,13 @@ { "parentPluginId": "observability", "id": "def-server.uiSettings.apmProgressiveLoading.optionLabels.ProgressiveLoadingQuality.medium", - "type": "string", + "type": "Any", "tags": [], "label": "[ProgressiveLoadingQuality.medium]", "description": [], + "signature": [ + "any" + ], "path": "x-pack/plugins/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false @@ -9217,10 +9475,13 @@ { "parentPluginId": "observability", "id": "def-server.uiSettings.apmProgressiveLoading.optionLabels.ProgressiveLoadingQuality.high", - "type": "string", + "type": "Any", "tags": [], "label": "[ProgressiveLoadingQuality.high]", "description": [], + "signature": [ + "any" + ], "path": "x-pack/plugins/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false @@ -9271,10 +9532,13 @@ { "parentPluginId": "observability", "id": "def-server.uiSettings.enableServiceGroups.name", - "type": "string", + "type": "Any", "tags": [], "label": "name", "description": [], + "signature": [ + "any" + ], "path": "x-pack/plugins/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false @@ -9296,10 +9560,13 @@ { "parentPluginId": "observability", "id": "def-server.uiSettings.enableServiceGroups.description", - "type": "string", + "type": "Any", "tags": [], "label": "description", "description": [], + "signature": [ + "any" + ], "path": "x-pack/plugins/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false @@ -9312,7 +9579,13 @@ "label": "schema", "description": [], "signature": [ - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "" ], "path": "x-pack/plugins/observability/server/ui_settings.ts", @@ -9377,10 +9650,13 @@ { "parentPluginId": "observability", "id": "def-server.uiSettings.enableServiceMetrics.name", - "type": "string", + "type": "Any", "tags": [], "label": "name", "description": [], + "signature": [ + "any" + ], "path": "x-pack/plugins/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false @@ -9402,10 +9678,13 @@ { "parentPluginId": "observability", "id": "def-server.uiSettings.enableServiceMetrics.description", - "type": "string", + "type": "Any", "tags": [], "label": "description", "description": [], + "signature": [ + "any" + ], "path": "x-pack/plugins/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false @@ -9418,7 +9697,13 @@ "label": "schema", "description": [], "signature": [ - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "" ], "path": "x-pack/plugins/observability/server/ui_settings.ts", @@ -9483,10 +9768,13 @@ { "parentPluginId": "observability", "id": "def-server.uiSettings.apmServiceInventoryOptimizedSorting.name", - "type": "string", + "type": "Any", "tags": [], "label": "name", "description": [], + "signature": [ + "any" + ], "path": "x-pack/plugins/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false @@ -9494,10 +9782,13 @@ { "parentPluginId": "observability", "id": "def-server.uiSettings.apmServiceInventoryOptimizedSorting.description", - "type": "string", + "type": "Any", "tags": [], "label": "description", "description": [], + "signature": [ + "any" + ], "path": "x-pack/plugins/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false @@ -9510,7 +9801,13 @@ "label": "schema", "description": [], "signature": [ - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "" ], "path": "x-pack/plugins/observability/server/ui_settings.ts", @@ -9603,10 +9900,13 @@ { "parentPluginId": "observability", "id": "def-server.uiSettings.apmServiceGroupMaxNumberOfServices.name", - "type": "string", + "type": "Any", "tags": [], "label": "name", "description": [], + "signature": [ + "any" + ], "path": "x-pack/plugins/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false @@ -9625,10 +9925,13 @@ { "parentPluginId": "observability", "id": "def-server.uiSettings.apmServiceGroupMaxNumberOfServices.description", - "type": "string", + "type": "Any", "tags": [], "label": "description", "description": [], + "signature": [ + "any" + ], "path": "x-pack/plugins/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false @@ -9641,7 +9944,13 @@ "label": "schema", "description": [], "signature": [ - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "" ], "path": "x-pack/plugins/observability/server/ui_settings.ts", @@ -9678,10 +9987,13 @@ { "parentPluginId": "observability", "id": "def-server.uiSettings.apmTraceExplorerTab.name", - "type": "string", + "type": "Any", "tags": [], "label": "name", "description": [], + "signature": [ + "any" + ], "path": "x-pack/plugins/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false @@ -9689,10 +10001,13 @@ { "parentPluginId": "observability", "id": "def-server.uiSettings.apmTraceExplorerTab.description", - "type": "string", + "type": "Any", "tags": [], "label": "description", "description": [], + "signature": [ + "any" + ], "path": "x-pack/plugins/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false @@ -9705,7 +10020,13 @@ "label": "schema", "description": [], "signature": [ - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "" ], "path": "x-pack/plugins/observability/server/ui_settings.ts", @@ -9798,10 +10119,13 @@ { "parentPluginId": "observability", "id": "def-server.uiSettings.apmOperationsTab.name", - "type": "string", + "type": "Any", "tags": [], "label": "name", "description": [], + "signature": [ + "any" + ], "path": "x-pack/plugins/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false @@ -9809,10 +10133,13 @@ { "parentPluginId": "observability", "id": "def-server.uiSettings.apmOperationsTab.description", - "type": "string", + "type": "Any", "tags": [], "label": "description", "description": [], + "signature": [ + "any" + ], "path": "x-pack/plugins/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false @@ -9825,7 +10152,13 @@ "label": "schema", "description": [], "signature": [ - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "" ], "path": "x-pack/plugins/observability/server/ui_settings.ts", @@ -9918,10 +10251,13 @@ { "parentPluginId": "observability", "id": "def-server.uiSettings.apmLabsButton.name", - "type": "string", + "type": "Any", "tags": [], "label": "name", "description": [], + "signature": [ + "any" + ], "path": "x-pack/plugins/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false @@ -9929,10 +10265,13 @@ { "parentPluginId": "observability", "id": "def-server.uiSettings.apmLabsButton.description", - "type": "string", + "type": "Any", "tags": [], "label": "description", "description": [], + "signature": [ + "any" + ], "path": "x-pack/plugins/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false @@ -9945,7 +10284,13 @@ "label": "schema", "description": [], "signature": [ - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "" ], "path": "x-pack/plugins/observability/server/ui_settings.ts", @@ -10024,10 +10369,13 @@ { "parentPluginId": "observability", "id": "def-server.uiSettings.enableInfrastructureHostsView.name", - "type": "string", + "type": "Any", "tags": [], "label": "name", "description": [], + "signature": [ + "any" + ], "path": "x-pack/plugins/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false @@ -10049,10 +10397,13 @@ { "parentPluginId": "observability", "id": "def-server.uiSettings.enableInfrastructureHostsView.description", - "type": "string", + "type": "Any", "tags": [], "label": "description", "description": [], + "signature": [ + "any" + ], "path": "x-pack/plugins/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false @@ -10065,7 +10416,13 @@ "label": "schema", "description": [], "signature": [ - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "" ], "path": "x-pack/plugins/observability/server/ui_settings.ts", @@ -10102,10 +10459,13 @@ { "parentPluginId": "observability", "id": "def-server.uiSettings.enableAwsLambdaMetrics.name", - "type": "string", + "type": "Any", "tags": [], "label": "name", "description": [], + "signature": [ + "any" + ], "path": "x-pack/plugins/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false @@ -10113,10 +10473,13 @@ { "parentPluginId": "observability", "id": "def-server.uiSettings.enableAwsLambdaMetrics.description", - "type": "string", + "type": "Any", "tags": [], "label": "description", "description": [], + "signature": [ + "any" + ], "path": "x-pack/plugins/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false @@ -10129,7 +10492,13 @@ "label": "schema", "description": [], "signature": [ - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "" ], "path": "x-pack/plugins/observability/server/ui_settings.ts", @@ -10222,10 +10591,13 @@ { "parentPluginId": "observability", "id": "def-server.uiSettings.enableCriticalPath.name", - "type": "string", + "type": "Any", "tags": [], "label": "name", "description": [], + "signature": [ + "any" + ], "path": "x-pack/plugins/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false @@ -10233,10 +10605,13 @@ { "parentPluginId": "observability", "id": "def-server.uiSettings.enableCriticalPath.description", - "type": "string", + "type": "Any", "tags": [], "label": "description", "description": [], + "signature": [ + "any" + ], "path": "x-pack/plugins/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false @@ -10249,7 +10624,13 @@ "label": "schema", "description": [], "signature": [ - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "" ], "path": "x-pack/plugins/observability/server/ui_settings.ts", @@ -10327,7 +10708,13 @@ "description": [], "signature": [ "{ getAlertDetailsConfig(): Readonly<{} & { apm: Readonly<{} & { enabled: boolean; }>; metrics: Readonly<{} & { enabled: boolean; }>; logs: Readonly<{} & { enabled: boolean; }>; uptime: Readonly<{} & { enabled: boolean; }>; }>; getScopedAnnotationsClient: (requestContext: ", - "RequestHandlerContext", + { + "pluginId": "@kbn/core-http-request-handler-context-server", + "scope": "server", + "docId": "kibKbnCoreHttpRequestHandlerContextServerPluginApi", + "section": "def-server.RequestHandlerContext", + "text": "RequestHandlerContext" + }, " & { licensing: Promise<", { "pluginId": "licensing", @@ -10337,7 +10724,13 @@ "text": "LicensingApiRequestHandlerContext" }, ">; }, request: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ") => Promise<{ readonly index: string; create: (createParams: { annotation: { type: string; }; '@timestamp': string; message: string; } & { tags?: string[] | undefined; service?: { name?: string | undefined; environment?: string | undefined; version?: string | undefined; } | undefined; }) => Promise<{ _id: string; _index: string; _source: ", "Annotation", "; }>; getById: (getByIdParams: { id: string; }) => Promise<", @@ -10642,7 +11035,7 @@ "signature": [ "(numerator: ", "Maybe", - ", denominator: number | undefined, fallbackResult?: string) => string" + ", denominator: number | undefined, fallbackResult?: any) => any" ], "path": "x-pack/plugins/observability/common/utils/formatters/formatters.ts", "deprecated": false, @@ -10680,10 +11073,13 @@ { "parentPluginId": "observability", "id": "def-common.AsPercent.$3", - "type": "string", + "type": "Any", "tags": [], "label": "fallbackResult", "description": [], + "signature": [ + "any" + ], "path": "x-pack/plugins/observability/common/utils/formatters/formatters.ts", "deprecated": false, "trackAdoption": false diff --git a/api_docs/observability.mdx b/api_docs/observability.mdx index 75709b402bb03..e27f693b0f101 100644 --- a/api_docs/observability.mdx +++ b/api_docs/observability.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/observability title: "observability" image: https://source.unsplash.com/400x175/?github description: API docs for the observability plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'observability'] --- import observabilityObj from './observability.devdocs.json'; @@ -21,7 +21,7 @@ Contact [Observability UI](https://github.com/orgs/elastic/teams/observability-u | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 550 | 2 | 546 | 31 | +| 550 | 39 | 547 | 31 | ## Client diff --git a/api_docs/osquery.mdx b/api_docs/osquery.mdx index 61e4e2ba0fbf5..191f4ceb89a49 100644 --- a/api_docs/osquery.mdx +++ b/api_docs/osquery.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/osquery title: "osquery" image: https://source.unsplash.com/400x175/?github description: API docs for the osquery plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'osquery'] --- import osqueryObj from './osquery.devdocs.json'; diff --git a/api_docs/plugin_directory.mdx b/api_docs/plugin_directory.mdx index 5ef49967de990..ef2c875e30e57 100644 --- a/api_docs/plugin_directory.mdx +++ b/api_docs/plugin_directory.mdx @@ -7,7 +7,7 @@ id: kibDevDocsPluginDirectory slug: /kibana-dev-docs/api-meta/plugin-api-directory title: Directory description: Directory of public APIs available through plugins or packages. -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana'] --- @@ -15,19 +15,19 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Count | Plugins or Packages with a
public API | Number of teams | |--------------|----------|------------------------| -| 503 | 416 | 38 | +| 503 | 422 | 38 | ### Public API health stats | API Count | Any Count | Missing comments | Missing exports | |--------------|----------|-----------------|--------| -| 32864 | 179 | 22054 | 1041 | +| 33062 | 513 | 23408 | 1091 | ## Plugin Directory | Plugin name           | Maintaining team | Description | API Cnt | Any Cnt | Missing
comments | Missing
exports | |--------------|----------------|-----------|--------------|----------|---------------|--------| -| | [Response Ops](https://github.com/orgs/elastic/teams/response-ops) | - | 225 | 0 | 220 | 24 | +| | [Response Ops](https://github.com/orgs/elastic/teams/response-ops) | - | 225 | 8 | 220 | 24 | | | [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) | - | 36 | 1 | 32 | 2 | | | [Machine Learning UI](https://github.com/orgs/elastic/teams/ml-ui) | AIOps plugin maintained by ML team. | 9 | 0 | 0 | 2 | | | [Response Ops](https://github.com/orgs/elastic/teams/response-ops) | - | 382 | 0 | 373 | 26 | @@ -35,8 +35,8 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) | - | 9 | 0 | 9 | 0 | | | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | Considering using bfetch capabilities when fetching large amounts of data. This services supports batching HTTP requests and streaming responses back. | 81 | 1 | 72 | 2 | | | [Kibana Presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | Adds Canvas application to Kibana | 9 | 0 | 8 | 3 | -| | [ResponseOps](https://github.com/orgs/elastic/teams/response-ops) | The Case management system in Kibana | 87 | 0 | 70 | 28 | -| | [Vis Editors](https://github.com/orgs/elastic/teams/kibana-vis-editors) | - | 264 | 2 | 249 | 9 | +| | [ResponseOps](https://github.com/orgs/elastic/teams/response-ops) | The Case management system in Kibana | 87 | 0 | 71 | 28 | +| | [Vis Editors](https://github.com/orgs/elastic/teams/kibana-vis-editors) | - | 264 | 16 | 249 | 9 | | | [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) | - | 39 | 0 | 11 | 0 | | | [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) | Chat available on Elastic Cloud deployments for quicker assistance. | 1 | 0 | 0 | 0 | | | [Kibana Core](https://github.com/orgs/elastic/teams/@elastic/kibana-core) | Provides the necessary APIs to implement A/B testing scenarios, fetching the variations in configuration and reporting back metrics to track conversion rates of the experiments. | 12 | 0 | 0 | 0 | @@ -46,30 +46,30 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [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 | 233 | 0 | 224 | 7 | -| | [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) | - | 2700 | 0 | 0 | 0 | +| | [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) | - | 2703 | 17 | 1201 | 0 | | 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 | 107 | 0 | 88 | 1 | | | [Kibana Presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | Adds the Dashboard app to Kibana | 121 | 0 | 114 | 3 | | | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | - | 52 | 0 | 51 | 0 | -| | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | Data services are useful for searching and querying data from Elasticsearch. Helpful utilities include: a re-usable react query bar, KQL autocomplete, async search, Data Views (Index Patterns) and field formatters. | 3251 | 33 | 2523 | 24 | +| | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | Data services are useful for searching and querying data from Elasticsearch. Helpful utilities include: a re-usable react query bar, KQL autocomplete, async search, Data Views (Index Patterns) and field formatters. | 3251 | 119 | 2546 | 24 | | | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | This plugin provides the ability to create data views via a modal flyout inside Kibana apps | 16 | 0 | 7 | 0 | | | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | Reusable data view field editor across Kibana | 60 | 0 | 30 | 0 | | | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | Data view management app | 2 | 0 | 2 | 0 | -| | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | Data services are useful for searching and querying data from Elasticsearch. Helpful utilities include: a re-usable react query bar, KQL autocomplete, async search, Data Views (Index Patterns) and field formatters. | 1021 | 0 | 229 | 2 | +| | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | Data services are useful for searching and querying data from Elasticsearch. Helpful utilities include: a re-usable react query bar, KQL autocomplete, async search, Data Views (Index Patterns) and field formatters. | 1021 | 0 | 231 | 2 | | | [Machine Learning UI](https://github.com/orgs/elastic/teams/ml-ui) | The Data Visualizer tools help you understand your data, by analyzing the metrics and fields in a log file or an existing Elasticsearch index. | 28 | 3 | 24 | 1 | | | [Stack Management](https://github.com/orgs/elastic/teams/kibana-stack-management) | - | 10 | 0 | 8 | 2 | | | [Data Discovery](https://github.com/orgs/elastic/teams/kibana-data-discovery) | This plugin contains the Discover application and the saved search embeddable. | 97 | 0 | 80 | 4 | | | [Data Discovery](https://github.com/orgs/elastic/teams/kibana-data-discovery) | - | 37 | 0 | 35 | 2 | -| | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | Adds embeddables service to Kibana | 510 | 0 | 410 | 4 | +| | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | Adds embeddables service to Kibana | 510 | 6 | 410 | 4 | | | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | Extends embeddable plugin with more functionality | 14 | 0 | 14 | 0 | -| | [Platform Security](https://github.com/orgs/elastic/teams/kibana-security) | This plugin provides encryption and decryption utilities for saved objects containing sensitive information. | 51 | 0 | 42 | 0 | +| | [Platform Security](https://github.com/orgs/elastic/teams/kibana-security) | This plugin provides encryption and decryption utilities for saved objects containing sensitive information. | 51 | 0 | 44 | 0 | | | [Enterprise Search](https://github.com/orgs/elastic/teams/enterprise-search-frontend) | Adds dashboards for discovering and managing Enterprise Search products. | 9 | 0 | 9 | 0 | | | [Stack Management](https://github.com/orgs/elastic/teams/kibana-stack-management) | - | 114 | 3 | 110 | 5 | -| | [Vis Editors](https://github.com/orgs/elastic/teams/kibana-vis-editors) | The Event Annotation service contains expressions for event annotations | 174 | 0 | 174 | 3 | +| | [Vis Editors](https://github.com/orgs/elastic/teams/kibana-vis-editors) | The Event Annotation service contains expressions for event annotations | 174 | 31 | 174 | 3 | | | [Response Ops](https://github.com/orgs/elastic/teams/response-ops) | - | 106 | 0 | 106 | 10 | | | [Kibana Presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | Adds 'error' renderer to expressions | 17 | 0 | 15 | 2 | | | [Vis Editors](https://github.com/orgs/elastic/teams/kibana-vis-editors) | Expression Gauge plugin adds a `gauge` renderer and function to the expression plugin. The renderer will display the `gauge` chart. | 58 | 0 | 58 | 2 | -| | [Vis Editors](https://github.com/orgs/elastic/teams/kibana-vis-editors) | Expression Heatmap plugin adds a `heatmap` renderer and function to the expression plugin. The renderer will display the `heatmap` chart. | 108 | 0 | 104 | 3 | +| | [Vis Editors](https://github.com/orgs/elastic/teams/kibana-vis-editors) | Expression Heatmap plugin adds a `heatmap` renderer and function to the expression plugin. The renderer will display the `heatmap` chart. | 108 | 14 | 104 | 3 | | | [Kibana Presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | Adds 'image' function and renderer to expressions | 26 | 0 | 26 | 0 | | | [Vis Editors](https://github.com/orgs/elastic/teams/kibana-vis-editors) | Adds a `metric` renderer and function to the expression plugin. The renderer will display the `legacy metric` chart. | 49 | 0 | 49 | 1 | | | [Kibana Presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | Adds 'metric' function and renderer to expressions | 32 | 0 | 27 | 0 | @@ -80,12 +80,12 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [Kibana Presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | Adds 'shape' function and renderer to expressions | 148 | 0 | 146 | 0 | | | [Vis Editors](https://github.com/orgs/elastic/teams/kibana-vis-editors) | Expression Tagcloud plugin adds a `tagcloud` renderer and function to the expression plugin. The renderer will display the `Wordcloud` chart. | 7 | 0 | 7 | 0 | | | [Vis Editors](https://github.com/orgs/elastic/teams/kibana-vis-editors) | Expression XY plugin adds a `xy` renderer and function to the expression plugin. The renderer will display the `xy` chart. | 159 | 0 | 149 | 9 | -| | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | Adds expression runtime to Kibana | 2191 | 17 | 1734 | 5 | +| | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | Adds expression runtime to Kibana | 2191 | 73 | 1734 | 5 | | | [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) | - | 227 | 0 | 96 | 2 | -| | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | Index pattern fields and ambiguous values formatters | 288 | 5 | 249 | 3 | +| | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | Index pattern fields and ambiguous values formatters | 288 | 26 | 249 | 3 | | | [Machine Learning UI](https://github.com/orgs/elastic/teams/ml-ui) | The file upload plugin contains components and services for uploading a file, analyzing its data, and then importing the data into an Elasticsearch index. Supported file types include CSV, TSV, newline-delimited JSON and GeoJSON. | 62 | 0 | 62 | 2 | | | [@elastic/kibana-app-services](https://github.com/orgs/elastic/teams/team:AppServicesUx) | File upload, download, sharing, and serving over HTTP implementation in Kibana. | 275 | 0 | 19 | 3 | -| | [Fleet](https://github.com/orgs/elastic/teams/fleet) | - | 996 | 3 | 893 | 17 | +| | [Fleet](https://github.com/orgs/elastic/teams/fleet) | - | 999 | 3 | 896 | 17 | | | [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) | - | 68 | 0 | 14 | 5 | | globalSearchBar | [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) | - | 0 | 0 | 0 | 0 | | globalSearchProviders | [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) | - | 0 | 0 | 0 | 0 | @@ -101,9 +101,9 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | - | 123 | 2 | 96 | 4 | | | [Platform Security](https://github.com/orgs/elastic/teams/kibana-security) | This plugin provides UI and APIs for the interactive setup mode. | 28 | 0 | 18 | 0 | | | [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) | - | 6 | 0 | 6 | 0 | -| | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | - | 184 | 0 | 151 | 5 | +| | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | - | 184 | 1 | 151 | 5 | | kibanaUsageCollection | [Kibana Telemetry](https://github.com/orgs/elastic/teams/kibana-telemetry) | - | 0 | 0 | 0 | 0 | -| | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | - | 615 | 3 | 418 | 9 | +| | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | - | 615 | 3 | 420 | 9 | | | [Security Team](https://github.com/orgs/elastic/teams/security-team) | - | 3 | 0 | 3 | 1 | | | [Vis Editors](https://github.com/orgs/elastic/teams/kibana-vis-editors) | Visualization editor allowing to quickly and easily configure compelling visualizations to use on dashboards and canvas workpads. Exposes components to embed visualizations and link into the Lens editor from within other apps in Kibana. | 676 | 0 | 583 | 48 | | | [Stack Management](https://github.com/orgs/elastic/teams/kibana-stack-management) | - | 8 | 0 | 8 | 0 | @@ -115,15 +115,15 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [GIS](https://github.com/orgs/elastic/teams/kibana-gis) | - | 263 | 0 | 262 | 26 | | | [GIS](https://github.com/orgs/elastic/teams/kibana-gis) | - | 67 | 0 | 67 | 0 | | | [Machine Learning UI](https://github.com/orgs/elastic/teams/ml-ui) | This plugin provides access to the machine learning features provided by Elastic. | 254 | 9 | 78 | 39 | -| | [Stack Monitoring](https://github.com/orgs/elastic/teams/stack-monitoring-ui) | - | 11 | 0 | 9 | 1 | +| | [Stack Monitoring](https://github.com/orgs/elastic/teams/stack-monitoring-ui) | - | 15 | 3 | 13 | 1 | | | [Stack Monitoring](https://github.com/orgs/elastic/teams/stack-monitoring-ui) | - | 9 | 0 | 9 | 0 | | | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | - | 34 | 0 | 34 | 2 | | | [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) | - | 17 | 0 | 17 | 0 | -| | [Observability UI](https://github.com/orgs/elastic/teams/observability-ui) | - | 550 | 2 | 546 | 31 | +| | [Observability UI](https://github.com/orgs/elastic/teams/observability-ui) | - | 550 | 39 | 547 | 31 | | | [Security asset management](https://github.com/orgs/elastic/teams/security-asset-management) | - | 21 | 0 | 21 | 3 | | 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). | 243 | 2 | 187 | 12 | -| | [profiling](https://github.com/orgs/elastic/teams/profiling-ui) | - | 14 | 1 | 14 | 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). | 243 | 8 | 187 | 12 | +| | [profiling](https://github.com/orgs/elastic/teams/profiling-ui) | - | 14 | 2 | 14 | 0 | | | [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 | @@ -156,8 +156,8 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [Security solution](https://github.com/orgs/elastic/teams/security-solution) | - | 457 | 1 | 348 | 32 | | | [Machine Learning UI](https://github.com/orgs/elastic/teams/ml-ui) | This plugin provides access to the transforms features provided by Elastic. Transforms enable you to convert existing Elasticsearch indices into summarized indices, which provide opportunities for new insights and analytics. | 4 | 0 | 4 | 1 | | translations | [Kibana Localization](https://github.com/orgs/elastic/teams/kibana-localization) | - | 0 | 0 | 0 | 0 | -| | [Response Ops](https://github.com/orgs/elastic/teams/response-ops) | - | 518 | 1 | 489 | 49 | -| | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | Adds UI Actions service to Kibana | 133 | 0 | 92 | 11 | +| | [Response Ops](https://github.com/orgs/elastic/teams/response-ops) | - | 518 | 11 | 489 | 49 | +| | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | Adds UI Actions service to Kibana | 133 | 2 | 92 | 11 | | | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | Extends UI Actions plugin with more functionality | 206 | 0 | 142 | 9 | | | [Data Discovery](https://github.com/orgs/elastic/teams/kibana-data-discovery) | Contains functionality for the field list which can be integrated into apps | 122 | 0 | 117 | 2 | | | [Data Discovery](https://github.com/orgs/elastic/teams/kibana-data-discovery) | The `unifiedHistogram` plugin provides UI components to create a layout including a resizable histogram and a main display. | 56 | 0 | 29 | 0 | @@ -209,10 +209,10 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [Owner missing] | - | 62 | 0 | 17 | 1 | | | [Owner missing] | - | 2 | 0 | 2 | 0 | | | [Owner missing] | - | 106 | 0 | 80 | 1 | -| | Kibana Core | - | 73 | 0 | 44 | 1 | +| | Kibana Core | - | 73 | 0 | 44 | 8 | | | Kibana Core | - | 24 | 0 | 24 | 0 | | | Kibana Core | - | 129 | 3 | 127 | 17 | -| | [Owner missing] | - | 12 | 0 | 10 | 4 | +| | [Owner missing] | - | 20 | 0 | 13 | 4 | | | Kibana Core | - | 2 | 0 | 0 | 0 | | | Kibana Core | - | 7 | 0 | 7 | 1 | | | Kibana Core | - | 4 | 0 | 4 | 0 | @@ -220,20 +220,20 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | Kibana Core | - | 7 | 0 | 7 | 0 | | | Kibana Core | - | 5 | 0 | 5 | 0 | | | Kibana Core | - | 103 | 0 | 27 | 0 | -| | Kibana Core | - | 18 | 0 | 15 | 1 | +| | Kibana Core | - | 18 | 0 | 15 | 3 | | | Kibana Core | - | 12 | 0 | 12 | 0 | | | Kibana Core | - | 8 | 0 | 1 | 0 | | | Kibana Core | - | 20 | 0 | 19 | 0 | | | Kibana Core | - | 2 | 0 | 2 | 0 | | | Kibana Core | - | 3 | 0 | 3 | 0 | | | Kibana Core | - | 12 | 0 | 3 | 0 | -| | Kibana Core | - | 7 | 0 | 7 | 0 | +| | Kibana Core | - | 7 | 0 | 7 | 2 | | | Kibana Core | - | 3 | 0 | 3 | 0 | | | Kibana Core | - | 3 | 0 | 3 | 0 | | | Kibana Core | - | 5 | 0 | 0 | 0 | | | Kibana Core | - | 16 | 0 | 7 | 0 | | | Kibana Core | - | 6 | 0 | 6 | 0 | -| | Kibana Core | - | 119 | 0 | 43 | 0 | +| | Kibana Core | - | 119 | 0 | 46 | 0 | | | Kibana Core | - | 3 | 0 | 3 | 0 | | | Kibana Core | - | 4 | 0 | 4 | 0 | | | Kibana Core | - | 9 | 0 | 3 | 0 | @@ -247,15 +247,15 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | Kibana Core | - | 4 | 0 | 4 | 0 | | | Kibana Core | - | 5 | 0 | 2 | 0 | | | Kibana Core | - | 4 | 0 | 4 | 0 | -| | Kibana Core | - | 15 | 0 | 13 | 2 | +| | Kibana Core | - | 16 | 0 | 14 | 1 | | | Kibana Core | - | 38 | 1 | 34 | 0 | | | Kibana Core | - | 103 | 0 | 53 | 0 | -| | Kibana Core | - | 33 | 0 | 29 | 0 | +| | Kibana Core | - | 37 | 0 | 33 | 3 | | | Kibana Core | - | 15 | 1 | 15 | 0 | -| | Kibana Core | - | 4 | 0 | 4 | 0 | +| | Kibana Core | - | 4 | 0 | 4 | 1 | | | Kibana Core | - | 4 | 0 | 4 | 0 | | | Kibana Core | - | 10 | 0 | 2 | 1 | -| | Kibana Core | - | 6 | 0 | 6 | 1 | +| | Kibana Core | - | 6 | 0 | 6 | 2 | | | Kibana Core | - | 6 | 0 | 6 | 0 | | | Kibana Core | - | 1 | 0 | 1 | 0 | | | Kibana Core | - | 9 | 0 | 8 | 0 | @@ -264,7 +264,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | Kibana Core | - | 9 | 0 | 2 | 0 | | | Kibana Core | - | 4 | 0 | 4 | 0 | | | Kibana Core | - | 111 | 4 | 37 | 0 | -| | Kibana Core | - | 10 | 0 | 10 | 0 | +| | Kibana Core | - | 10 | 0 | 10 | 1 | | | Kibana Core | - | 16 | 0 | 16 | 0 | | | Kibana Core | - | 4 | 0 | 0 | 0 | | | Kibana Core | - | 10 | 1 | 10 | 0 | @@ -275,8 +275,8 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | Kibana Core | - | 25 | 5 | 25 | 1 | | | Kibana Core | - | 7 | 0 | 7 | 1 | | | Kibana Core | - | 392 | 1 | 154 | 0 | -| | Kibana Core | - | 54 | 0 | 48 | 2 | -| | Kibana Core | - | 41 | 0 | 37 | 0 | +| | Kibana Core | - | 54 | 0 | 48 | 6 | +| | Kibana Core | - | 41 | 0 | 40 | 0 | | | Kibana Core | - | 4 | 0 | 2 | 0 | | | Kibana Core | - | 3 | 0 | 3 | 0 | | | Kibana Core | - | 3 | 0 | 1 | 0 | @@ -291,8 +291,8 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | Kibana Core | - | 31 | 0 | 0 | 0 | | | Kibana Core | - | 9 | 0 | 9 | 0 | | | Kibana Core | - | 56 | 0 | 30 | 0 | -| | Kibana Core | - | 9 | 0 | 5 | 1 | -| | Kibana Core | - | 13 | 0 | 12 | 0 | +| | Kibana Core | - | 9 | 0 | 5 | 2 | +| | Kibana Core | - | 13 | 0 | 13 | 0 | | | Kibana Core | - | 29 | 0 | 25 | 0 | | | Kibana Core | - | 11 | 1 | 11 | 0 | | | Kibana Core | - | 62 | 0 | 8 | 0 | @@ -300,13 +300,13 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | Kibana Core | - | 19 | 0 | 19 | 0 | | | Kibana Core | - | 6 | 0 | 0 | 0 | | | Kibana Core | - | 5 | 0 | 0 | 0 | -| | Kibana Core | - | 3 | 0 | 3 | 0 | +| | Kibana Core | - | 5 | 0 | 5 | 1 | | | Kibana Core | - | 3 | 0 | 3 | 0 | | | Kibana Core | - | 35 | 4 | 23 | 0 | | | Kibana Core | - | 32 | 0 | 11 | 2 | | | Kibana Core | - | 4 | 0 | 4 | 0 | -| | Kibana Core | - | 63 | 0 | 35 | 0 | -| | Kibana Core | - | 1 | 0 | 1 | 0 | +| | Kibana Core | - | 63 | 0 | 37 | 0 | +| | Kibana Core | - | 1 | 0 | 1 | 1 | | | Kibana Core | - | 3 | 0 | 3 | 0 | | | Kibana Core | - | 14 | 0 | 10 | 0 | | | Kibana Core | - | 6 | 0 | 6 | 0 | @@ -315,13 +315,13 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | Kibana Core | - | 5 | 0 | 0 | 0 | | | Kibana Core | - | 6 | 0 | 6 | 0 | | | Kibana Core | - | 2 | 0 | 2 | 0 | -| | Kibana Core | - | 2 | 0 | 2 | 0 | +| | Kibana Core | - | 2 | 0 | 2 | 1 | | | Kibana Core | - | 4 | 0 | 4 | 1 | | | Kibana Core | - | 107 | 1 | 76 | 0 | | | Kibana Core | - | 310 | 1 | 137 | 0 | -| | Kibana Core | - | 71 | 0 | 51 | 0 | +| | Kibana Core | - | 71 | 0 | 51 | 1 | | | Kibana Core | - | 6 | 0 | 6 | 0 | -| | Kibana Core | - | 37 | 0 | 31 | 1 | +| | Kibana Core | - | 37 | 0 | 31 | 6 | | | Kibana Core | - | 4 | 0 | 4 | 0 | | | Kibana Core | - | 2 | 0 | 1 | 0 | | | Kibana Core | - | 6 | 0 | 6 | 0 | @@ -333,14 +333,14 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | Kibana Core | - | 12 | 0 | 12 | 0 | | | Kibana Core | - | 226 | 0 | 83 | 0 | | | Kibana Core | - | 69 | 0 | 69 | 4 | -| | Kibana Core | - | 14 | 0 | 13 | 0 | +| | Kibana Core | - | 14 | 0 | 14 | 0 | | | Kibana Core | - | 99 | 1 | 86 | 0 | | | Kibana Core | - | 12 | 0 | 2 | 0 | | | Kibana Core | - | 19 | 0 | 18 | 0 | -| | Kibana Core | - | 20 | 0 | 1 | 0 | +| | Kibana Core | - | 20 | 0 | 3 | 0 | | | Kibana Core | - | 22 | 0 | 22 | 1 | | | Kibana Core | - | 4 | 0 | 4 | 0 | -| | Kibana Core | - | 11 | 0 | 9 | 0 | +| | Kibana Core | - | 11 | 0 | 11 | 0 | | | Kibana Core | - | 5 | 0 | 5 | 0 | | | Kibana Core | - | 13 | 0 | 12 | 0 | | | [Owner missing] | - | 4 | 0 | 4 | 0 | @@ -352,7 +352,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | Kibana Core | - | 4 | 0 | 4 | 0 | | | Kibana Core | - | 23 | 0 | 3 | 0 | | | Kibana Core | - | 27 | 1 | 13 | 0 | -| | Kibana Core | - | 28 | 1 | 27 | 1 | +| | Kibana Core | - | 28 | 1 | 28 | 2 | | | Kibana Core | - | 6 | 0 | 6 | 0 | | | Kibana Core | - | 153 | 0 | 142 | 0 | | | Kibana Core | - | 8 | 0 | 8 | 2 | @@ -367,34 +367,36 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [Owner missing] | - | 67 | 0 | 67 | 2 | | | [Owner missing] | - | 1 | 0 | 1 | 0 | | | [Owner missing] | - | 19 | 0 | 11 | 0 | +| | [Owner missing] | - | 4 | 0 | 4 | 0 | | | [Owner missing] | - | 27 | 0 | 14 | 1 | | | Kibana Core | - | 7 | 0 | 3 | 0 | -| | [Owner missing] | - | 226 | 1 | 170 | 14 | +| | [Owner missing] | - | 227 | 1 | 170 | 13 | | | Kibana Core | - | 11 | 0 | 11 | 0 | | | [Owner missing] | - | 2 | 0 | 1 | 0 | | | [Owner missing] | - | 20 | 0 | 16 | 0 | | | [Owner missing] | - | 2 | 0 | 0 | 0 | -| | [Owner missing] | - | 28 | 0 | 28 | 2 | +| | [Owner missing] | - | 29 | 0 | 29 | 1 | | | [Owner missing] | - | 1 | 0 | 0 | 0 | | | [Owner missing] | - | 3 | 0 | 0 | 0 | -| | [Owner missing] | - | 17 | 0 | 17 | 2 | +| | [Owner missing] | - | 22 | 0 | 21 | 1 | | | [Owner missing] | - | 6 | 0 | 0 | 0 | | | [Owner missing] | - | 3 | 0 | 3 | 0 | | | [Owner missing] | - | 32 | 0 | 22 | 0 | | | [Owner missing] | - | 8 | 0 | 2 | 2 | | | Kibana Core | - | 51 | 0 | 48 | 0 | +| | Kibana Core | - | 61 | 0 | 1 | 0 | | | [Owner missing] | - | 43 | 0 | 36 | 0 | -| | App Services | - | 35 | 4 | 35 | 0 | +| | App Services | - | 50 | 13 | 41 | 0 | | | [Owner missing] | - | 20 | 0 | 20 | 2 | | | [Owner missing] | - | 13 | 0 | 13 | 0 | | | [Owner missing] | - | 64 | 0 | 59 | 5 | | | [Owner missing] | - | 96 | 0 | 95 | 0 | | | [Owner missing] | - | 7 | 0 | 5 | 0 | -| | Kibana Core | - | 30 | 0 | 5 | 37 | +| | Kibana Core | - | 32 | 0 | 5 | 39 | | | Kibana Core | - | 8 | 0 | 8 | 0 | | | [Owner missing] | - | 6 | 0 | 1 | 1 | | | [Owner missing] | - | 534 | 1 | 1 | 0 | -| | Machine Learning UI | This package includes utility functions related to creating elasticsearch aggregation queries, data manipulation and verification. | 66 | 2 | 46 | 3 | +| | Machine Learning UI | This package includes utility functions related to creating elasticsearch aggregation queries, data manipulation and verification. | 77 | 2 | 54 | 0 | | | Machine Learning UI | A type guard to check record like object structures. | 3 | 0 | 2 | 0 | | | Machine Learning UI | Creates a deterministic number based hash out of a string. | 2 | 0 | 1 | 0 | | | [Owner missing] | - | 55 | 0 | 55 | 2 | @@ -418,38 +420,41 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [Owner missing] | security solution list REST API | 67 | 0 | 64 | 0 | | | [Owner missing] | security solution list constants to use across plugins such lists, security_solution, cases, etc... | 33 | 0 | 17 | 0 | | | [Owner missing] | Security solution list ReactJS hooks | 58 | 0 | 47 | 0 | -| | [Owner missing] | security solution list utilities | 194 | 0 | 150 | 0 | +| | [Owner missing] | security solution list utilities | 194 | 10 | 150 | 0 | | | [Owner missing] | security solution rule utilities to use across plugins | 26 | 0 | 23 | 0 | | | [Owner missing] | security solution t-grid packages will allow sharing components between timelines and security_solution plugin until we transfer all functionality to timelines plugin | 120 | 0 | 116 | 0 | -| | [Owner missing] | security solution utilities to use across plugins such lists, security_solution, cases, etc... | 31 | 0 | 29 | 0 | +| | [Owner missing] | security solution utilities to use across plugins such lists, security_solution, cases, etc... | 31 | 2 | 29 | 0 | | | Kibana Core | - | 53 | 0 | 50 | 1 | | | [Owner missing] | - | 25 | 0 | 24 | 1 | | | [Owner missing] | - | 2 | 0 | 0 | 0 | +| | [Owner missing] | - | 3 | 0 | 2 | 2 | | | [Owner missing] | - | 40 | 0 | 3 | 0 | +| | [Owner missing] | - | 8 | 0 | 4 | 0 | | | [Owner missing] | - | 13 | 0 | 9 | 0 | | | [Owner missing] | - | 25 | 0 | 8 | 0 | | | [Owner missing] | - | 10 | 0 | 4 | 0 | | | [Owner missing] | - | 32 | 0 | 28 | 0 | +| | [Owner missing] | - | 17 | 0 | 9 | 0 | | | [Owner missing] | - | 10 | 0 | 9 | 0 | | | [Owner missing] | - | 2 | 0 | 2 | 1 | | | [Owner missing] | - | 32 | 0 | 31 | 0 | -| | [Owner missing] | - | 13 | 0 | 4 | 1 | +| | [Owner missing] | - | 13 | 0 | 5 | 1 | | | [Owner missing] | - | 12 | 0 | 12 | 0 | | | [Owner missing] | - | 8 | 0 | 3 | 0 | | | [Owner missing] | - | 25 | 0 | 24 | 0 | -| | [Owner missing] | - | 11 | 0 | 2 | 0 | +| | [Owner missing] | - | 11 | 0 | 6 | 0 | | | [Owner missing] | - | 43 | 5 | 43 | 2 | -| | [Owner missing] | - | 13 | 0 | 4 | 0 | -| | [Owner missing] | - | 11 | 0 | 5 | 0 | +| | [Owner missing] | - | 13 | 0 | 5 | 0 | +| | [Owner missing] | - | 11 | 0 | 9 | 0 | | | [Owner missing] | - | 24 | 0 | 24 | 0 | | | [Owner missing] | - | 27 | 0 | 26 | 0 | | | [Owner missing] | - | 5 | 0 | 3 | 0 | -| | [Owner missing] | - | 24 | 0 | 4 | 0 | +| | [Owner missing] | - | 24 | 0 | 10 | 0 | | | [Owner missing] | - | 17 | 0 | 16 | 0 | | | [Owner missing] | - | 2 | 0 | 1 | 0 | | | [Owner missing] | - | 1 | 0 | 1 | 0 | | | [Owner missing] | - | 2 | 0 | 0 | 0 | -| | [Owner missing] | - | 14 | 0 | 4 | 1 | +| | [Owner missing] | - | 15 | 0 | 4 | 0 | | | [Owner missing] | - | 9 | 0 | 3 | 0 | | | [Owner missing] | - | 20 | 0 | 12 | 0 | | | [Owner missing] | - | 2 | 0 | 2 | 0 | @@ -457,13 +462,14 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [Owner missing] | - | 4 | 0 | 2 | 0 | | | Operations | - | 41 | 2 | 21 | 0 | | | Kibana Core | - | 2 | 0 | 2 | 0 | -| | Operations | - | 261 | 4 | 217 | 11 | +| | Operations | - | 264 | 4 | 220 | 11 | | | [Owner missing] | - | 135 | 5 | 103 | 2 | | | [Owner missing] | - | 2 | 0 | 1 | 0 | | | [Owner missing] | - | 72 | 0 | 55 | 0 | | | [Owner missing] | - | 8 | 0 | 2 | 0 | | | [Owner missing] | - | 113 | 1 | 65 | 0 | | | [Owner missing] | - | 83 | 0 | 83 | 1 | +| | [Owner missing] | - | 41 | 0 | 32 | 0 | | | [Owner missing] | - | 7 | 0 | 6 | 0 | | | [Owner missing] | - | 55 | 0 | 5 | 0 | | | [Owner missing] | - | 34 | 0 | 14 | 1 | diff --git a/api_docs/presentation_util.devdocs.json b/api_docs/presentation_util.devdocs.json index 7a250188fd990..7c02ccf9c73ee 100644 --- a/api_docs/presentation_util.devdocs.json +++ b/api_docs/presentation_util.devdocs.json @@ -676,7 +676,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">) => any" ], "path": "src/plugins/presentation_util/common/lib/test_helpers/function_wrapper.ts", @@ -2026,7 +2032,13 @@ "label": "coreStart", "description": [], "signature": [ - "CoreStart" + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreStart", + "text": "CoreStart" + } ], "path": "src/plugins/presentation_util/public/services/create/factory.ts", "deprecated": false, @@ -2056,7 +2068,13 @@ "signature": [ "BehaviorSubject", "<", - "AppUpdater", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.AppUpdater", + "text": "AppUpdater" + }, "> | undefined" ], "path": "src/plugins/presentation_util/public/services/create/factory.ts", @@ -2071,7 +2089,13 @@ "label": "initContext", "description": [], "signature": [ - "PluginInitializerContext", + { + "pluginId": "@kbn/core-plugins-browser", + "scope": "common", + "docId": "kibKbnCorePluginsBrowserPluginApi", + "section": "def-common.PluginInitializerContext", + "text": "PluginInitializerContext" + }, " | undefined" ], "path": "src/plugins/presentation_util/public/services/create/factory.ts", @@ -2179,7 +2203,13 @@ "description": [], "signature": [ "(query: string, fields: string[]) => Promise<", - "SimpleSavedObject", + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SimpleSavedObject", + "text": "SimpleSavedObject" + }, "<", "PartialDashboardAttributes", ">[]>" @@ -2230,7 +2260,13 @@ "description": [], "signature": [ "(title: string) => Promise<", - "SimpleSavedObject", + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SimpleSavedObject", + "text": "SimpleSavedObject" + }, "<", "PartialDashboardAttributes", ">[]>" @@ -3332,7 +3368,13 @@ "signature": [ "Observable", "<", - "CoreTheme", + { + "pluginId": "@kbn/core-theme-browser", + "scope": "common", + "docId": "kibKbnCoreThemeBrowserPluginApi", + "section": "def-common.CoreTheme", + "text": "CoreTheme" + }, ">" ], "path": "src/plugins/presentation_util/common/lib/utils/default_theme.ts", @@ -4179,10 +4221,13 @@ { "parentPluginId": "presentationUtil", "id": "def-common.projects.DEFER_BELOW_FOLD.name", - "type": "string", + "type": "Any", "tags": [], "label": "name", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false @@ -4190,10 +4235,13 @@ { "parentPluginId": "presentationUtil", "id": "def-common.projects.DEFER_BELOW_FOLD.description", - "type": "string", + "type": "Any", "tags": [], "label": "description", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false @@ -4284,10 +4332,13 @@ { "parentPluginId": "presentationUtil", "id": "def-common.projects.DASHBOARD_CONTROLS.name", - "type": "string", + "type": "Any", "tags": [], "label": "name", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false @@ -4295,10 +4346,13 @@ { "parentPluginId": "presentationUtil", "id": "def-common.projects.DASHBOARD_CONTROLS.description", - "type": "string", + "type": "Any", "tags": [], "label": "description", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false @@ -4389,10 +4443,13 @@ { "parentPluginId": "presentationUtil", "id": "def-common.projects.BY_VALUE_EMBEDDABLE.name", - "type": "string", + "type": "Any", "tags": [], "label": "name", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false @@ -4400,10 +4457,13 @@ { "parentPluginId": "presentationUtil", "id": "def-common.projects.BY_VALUE_EMBEDDABLE.description", - "type": "string", + "type": "Any", "tags": [], "label": "description", "description": [], + "signature": [ + "any" + ], "path": "src/plugins/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false diff --git a/api_docs/presentation_util.mdx b/api_docs/presentation_util.mdx index 5f12dc87f9455..dbac75b3246d0 100644 --- a/api_docs/presentation_util.mdx +++ b/api_docs/presentation_util.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/presentationUtil title: "presentationUtil" image: https://source.unsplash.com/400x175/?github description: API docs for the presentationUtil plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'presentationUtil'] --- import presentationUtilObj from './presentation_util.devdocs.json'; @@ -21,7 +21,7 @@ Contact [Kibana Presentation](https://github.com/orgs/elastic/teams/kibana-prese | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 243 | 2 | 187 | 12 | +| 243 | 8 | 187 | 12 | ## Client diff --git a/api_docs/profiling.devdocs.json b/api_docs/profiling.devdocs.json index 59280e0c4a8ac..16ea80bbd39ff 100644 --- a/api_docs/profiling.devdocs.json +++ b/api_docs/profiling.devdocs.json @@ -197,10 +197,13 @@ { "parentPluginId": "profiling", "id": "def-common.NOT_AVAILABLE_LABEL", - "type": "string", + "type": "Any", "tags": [], "label": "NOT_AVAILABLE_LABEL", "description": [], + "signature": [ + "any" + ], "path": "x-pack/plugins/profiling/common/index.ts", "deprecated": false, "trackAdoption": false, diff --git a/api_docs/profiling.mdx b/api_docs/profiling.mdx index d30b167d9a952..16e38b322a801 100644 --- a/api_docs/profiling.mdx +++ b/api_docs/profiling.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/profiling title: "profiling" image: https://source.unsplash.com/400x175/?github description: API docs for the profiling plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'profiling'] --- import profilingObj from './profiling.devdocs.json'; @@ -21,7 +21,7 @@ Contact [profiling](https://github.com/orgs/elastic/teams/profiling-ui) for ques | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 14 | 1 | 14 | 0 | +| 14 | 2 | 14 | 0 | ## Server diff --git a/api_docs/remote_clusters.mdx b/api_docs/remote_clusters.mdx index 02d45abc03e7a..40a807ab295e1 100644 --- a/api_docs/remote_clusters.mdx +++ b/api_docs/remote_clusters.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/remoteClusters title: "remoteClusters" image: https://source.unsplash.com/400x175/?github description: API docs for the remoteClusters plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'remoteClusters'] --- import remoteClustersObj from './remote_clusters.devdocs.json'; diff --git a/api_docs/reporting.devdocs.json b/api_docs/reporting.devdocs.json index 73904f6beaab9..a2e41bd90be70 100644 --- a/api_docs/reporting.devdocs.json +++ b/api_docs/reporting.devdocs.json @@ -613,7 +613,13 @@ "text": "LocatorParams" }, "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">[]; }" ], "path": "x-pack/plugins/reporting/common/types/base.ts", @@ -676,7 +682,13 @@ "text": "LocatorParams" }, "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">[]; }" ], "path": "x-pack/plugins/reporting/common/types/export_types/printable_pdf_v2.ts", diff --git a/api_docs/reporting.mdx b/api_docs/reporting.mdx index 8baf3482a546e..dc45dc940ae06 100644 --- a/api_docs/reporting.mdx +++ b/api_docs/reporting.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/reporting title: "reporting" image: https://source.unsplash.com/400x175/?github description: API docs for the reporting plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'reporting'] --- import reportingObj from './reporting.devdocs.json'; diff --git a/api_docs/rollup.mdx b/api_docs/rollup.mdx index dc12f713737ad..4d8fe853ccb26 100644 --- a/api_docs/rollup.mdx +++ b/api_docs/rollup.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/rollup title: "rollup" image: https://source.unsplash.com/400x175/?github description: API docs for the rollup plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'rollup'] --- import rollupObj from './rollup.devdocs.json'; diff --git a/api_docs/rule_registry.devdocs.json b/api_docs/rule_registry.devdocs.json index 6b0e78ea87929..a1478914784c1 100644 --- a/api_docs/rule_registry.devdocs.json +++ b/api_docs/rule_registry.devdocs.json @@ -1091,7 +1091,13 @@ "description": [], "signature": [ "(featureId: ", - "AlertConsumers", + { + "pluginId": "@kbn/rule-data-utils", + "scope": "common", + "docId": "kibKbnRuleDataUtilsPluginApi", + "section": "def-common.AlertConsumers", + "text": "AlertConsumers" + }, ", dataset: ", { "pluginId": "ruleRegistry", @@ -1116,7 +1122,13 @@ "label": "featureId", "description": [], "signature": [ - "AlertConsumers" + { + "pluginId": "@kbn/rule-data-utils", + "scope": "common", + "docId": "kibKbnRuleDataUtilsPluginApi", + "section": "def-common.AlertConsumers", + "text": "AlertConsumers" + } ], "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", "deprecated": false, @@ -1397,9 +1409,21 @@ "description": [], "signature": [ "(logger: ", - "Logger", + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + }, ", ruleDataClient: ", - "PublicContract", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.PublicContract", + "text": "PublicContract" + }, "<", { "pluginId": "ruleRegistry", @@ -1458,7 +1482,13 @@ "label": "logger", "description": [], "signature": [ - "Logger" + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + } ], "path": "x-pack/plugins/rule_registry/server/utils/create_lifecycle_executor.ts", "deprecated": false, @@ -1473,7 +1503,13 @@ "label": "ruleDataClient", "description": [], "signature": [ - "PublicContract", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.PublicContract", + "text": "PublicContract" + }, "<", { "pluginId": "ruleRegistry", @@ -1502,7 +1538,13 @@ "description": [], "signature": [ "({ logger, ruleDataClient }: { logger: ", - "Logger", + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + }, "; ruleDataClient: ", { "pluginId": "ruleRegistry", @@ -1568,7 +1610,13 @@ "label": "logger", "description": [], "signature": [ - "Logger" + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + } ], "path": "x-pack/plugins/rule_registry/server/utils/create_lifecycle_rule_type_factory.ts", "deprecated": false, @@ -1617,7 +1665,13 @@ "text": "IRuleDataClient" }, "; logger: ", - "Logger", + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + }, "; }) => ; injectReferences: (params: TParams, references: ", - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]) => TParams; } | undefined; isExportable: boolean; defaultScheduleInterval?: string | undefined; ruleTaskTimeout?: string | undefined; doesSetRecoveryContext?: boolean | undefined; }" ], "path": "x-pack/plugins/rule_registry/server/utils/create_persistence_rule_type_wrapper.ts", @@ -1733,7 +1793,13 @@ "text": "IRuleDataClient" }, "; logger: ", - "Logger", + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + }, "; }" ], "path": "x-pack/plugins/rule_registry/server/utils/create_persistence_rule_type_wrapper.ts", @@ -1786,7 +1852,13 @@ "label": "outcome", "description": [], "signature": [ - "EcsEventOutcome", + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.EcsEventOutcome", + "text": "EcsEventOutcome" + }, " | undefined" ], "path": "x-pack/plugins/rule_registry/server/alert_data_client/audit_events.ts", @@ -2320,7 +2392,13 @@ "(request: TSearchRequest) => Promise<", - "ESSearchResponse", + { + "pluginId": "@kbn/es-types", + "scope": "server", + "docId": "kibKbnEsTypesPluginApi", + "section": "def-server.ESSearchResponse", + "text": "ESSearchResponse" + }, "> & OutputOf>>, TSearchRequest, { restTotalHitsAsInt: false; }>>" ], "path": "x-pack/plugins/rule_registry/server/rule_data_client/types.ts", @@ -2660,7 +2738,13 @@ ], "signature": [ "(featureId: ", - "AlertConsumers", + { + "pluginId": "@kbn/rule-data-utils", + "scope": "common", + "docId": "kibKbnRuleDataUtilsPluginApi", + "section": "def-common.AlertConsumers", + "text": "AlertConsumers" + }, ", dataset: ", { "pluginId": "ruleRegistry", @@ -2685,7 +2769,13 @@ "label": "featureId", "description": [], "signature": [ - "AlertConsumers" + { + "pluginId": "@kbn/rule-data-utils", + "scope": "common", + "docId": "kibKbnRuleDataUtilsPluginApi", + "section": "def-common.AlertConsumers", + "text": "AlertConsumers" + } ], "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", "deprecated": false, @@ -3248,7 +3338,13 @@ "label": "logger", "description": [], "signature": [ - "Logger" + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + } ], "path": "x-pack/plugins/rule_registry/server/rule_data_client/rule_data_client.ts", "deprecated": false, @@ -3329,7 +3425,13 @@ "text": "IRuleDataClient" }, "; logger: ", - "Logger", + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + }, "; }) => | ", "Right", "<", - "ElasticsearchClient", + { + "pluginId": "@kbn/core-elasticsearch-server", + "scope": "server", + "docId": "kibKbnCoreElasticsearchServerPluginApi", + "section": "def-server.ElasticsearchClient", + "text": "ElasticsearchClient" + }, ">" ], "path": "x-pack/plugins/rule_registry/server/rule_data_client/rule_data_client.ts", @@ -3916,7 +4030,13 @@ "description": [], "signature": [ "(req: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ") => Promise<", { "pluginId": "ruleRegistry", @@ -3939,7 +4059,13 @@ "label": "req", "description": [], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "" ], "path": "x-pack/plugins/rule_registry/server/plugin.ts", @@ -4180,7 +4306,13 @@ "label": "subType", "description": [], "signature": [ - "IFieldSubType", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.IFieldSubType", + "text": "IFieldSubType" + }, " | undefined" ], "path": "x-pack/plugins/rule_registry/common/types.ts", @@ -4330,7 +4462,13 @@ "text": "IEsSearchRequest" }, " & { featureIds: ", - "AlertConsumers", + { + "pluginId": "@kbn/rule-data-utils", + "scope": "common", + "docId": "kibKbnRuleDataUtilsPluginApi", + "section": "def-common.AlertConsumers", + "text": "AlertConsumers" + }, "[]; fields?: ", "QueryDslFieldAndFormat", "[] | undefined; query?: Pick<", diff --git a/api_docs/rule_registry.mdx b/api_docs/rule_registry.mdx index 4b33b78ab9f33..25ffc023199cb 100644 --- a/api_docs/rule_registry.mdx +++ b/api_docs/rule_registry.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/ruleRegistry title: "ruleRegistry" image: https://source.unsplash.com/400x175/?github description: API docs for the ruleRegistry plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'ruleRegistry'] --- import ruleRegistryObj from './rule_registry.devdocs.json'; diff --git a/api_docs/runtime_fields.devdocs.json b/api_docs/runtime_fields.devdocs.json index d88ed8f52aef0..58b3e44189559 100644 --- a/api_docs/runtime_fields.devdocs.json +++ b/api_docs/runtime_fields.devdocs.json @@ -264,7 +264,13 @@ "\nThe docLinks start service from core" ], "signature": [ - "DocLinksStart" + { + "pluginId": "@kbn/core-doc-links-browser", + "scope": "common", + "docId": "kibKbnCoreDocLinksBrowserPluginApi", + "section": "def-common.DocLinksStart", + "text": "DocLinksStart" + } ], "path": "x-pack/plugins/runtime_fields/public/components/runtime_field_editor_flyout_content/runtime_field_editor_flyout_content.tsx", "deprecated": false, diff --git a/api_docs/runtime_fields.mdx b/api_docs/runtime_fields.mdx index 5a7b3643e060e..3d0a1f6a40be1 100644 --- a/api_docs/runtime_fields.mdx +++ b/api_docs/runtime_fields.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/runtimeFields title: "runtimeFields" image: https://source.unsplash.com/400x175/?github description: API docs for the runtimeFields plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'runtimeFields'] --- import runtimeFieldsObj from './runtime_fields.devdocs.json'; diff --git a/api_docs/saved_objects.devdocs.json b/api_docs/saved_objects.devdocs.json index 71d53634b7540..7a9b1f2ca10c1 100644 --- a/api_docs/saved_objects.devdocs.json +++ b/api_docs/saved_objects.devdocs.json @@ -784,7 +784,13 @@ "text": "SavedObject" }, "<", - "SavedObjectAttributes", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectAttributes", + "text": "SavedObjectAttributes" + }, ">, \"id\" | \"title\" | \"getDisplayName\" | \"lastSavedTitle\" | \"copyOnSave\" | \"getEsType\">, isTitleDuplicateConfirmed: boolean, onTitleDuplicate: (() => void) | undefined, services: Pick<", "SavedObjectKibanaServices", ", \"savedObjectsClient\" | \"overlays\">) => Promise" @@ -810,7 +816,13 @@ "text": "SavedObject" }, "<", - "SavedObjectAttributes", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectAttributes", + "text": "SavedObjectAttributes" + }, ">, \"id\" | \"title\" | \"getDisplayName\" | \"lastSavedTitle\" | \"copyOnSave\" | \"getEsType\">" ], "path": "src/plugins/saved_objects/public/saved_object/helpers/check_for_duplicate_title.ts", @@ -878,9 +890,21 @@ "description": [], "signature": [ "(savedObject: ", - "SavedObjectsStart", + { + "pluginId": "@kbn/core-saved-objects-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsBrowserPluginApi", + "section": "def-common.SavedObjectsStart", + "text": "SavedObjectsStart" + }, ", uiSettings: ", - "IUiSettingsClient", + { + "pluginId": "@kbn/core-ui-settings-browser", + "scope": "common", + "docId": "kibKbnCoreUiSettingsBrowserPluginApi", + "section": "def-common.IUiSettingsClient", + "text": "IUiSettingsClient" + }, ") => (props: ", "SavedObjectFinderProps", ") => JSX.Element" @@ -897,7 +921,13 @@ "label": "savedObject", "description": [], "signature": [ - "SavedObjectsStart" + { + "pluginId": "@kbn/core-saved-objects-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsBrowserPluginApi", + "section": "def-common.SavedObjectsStart", + "text": "SavedObjectsStart" + } ], "path": "src/plugins/saved_objects/public/finder/saved_object_finder.tsx", "deprecated": false, @@ -912,7 +942,13 @@ "label": "uiSettings", "description": [], "signature": [ - "IUiSettingsClient" + { + "pluginId": "@kbn/core-ui-settings-browser", + "scope": "common", + "docId": "kibKbnCoreUiSettingsBrowserPluginApi", + "section": "def-common.IUiSettingsClient", + "text": "IUiSettingsClient" + } ], "path": "src/plugins/saved_objects/public/finder/saved_object_finder.tsx", "deprecated": false, @@ -1027,17 +1063,53 @@ ], "signature": [ "(source: ", - "SavedObjectAttributes", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectAttributes", + "text": "SavedObjectAttributes" + }, ", savedObject: { getEsType(): string; title: string; displayName: string; }, options: ", - "SavedObjectsCreateOptions", + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SavedObjectsCreateOptions", + "text": "SavedObjectsCreateOptions" + }, ", services: { savedObjectsClient: ", - "SavedObjectsClientContract", + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + }, "; overlays: ", - "OverlayStart", + { + "pluginId": "@kbn/core-overlays-browser", + "scope": "common", + "docId": "kibKbnCoreOverlaysBrowserPluginApi", + "section": "def-common.OverlayStart", + "text": "OverlayStart" + }, "; }) => Promise<", - "SimpleSavedObject", + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SimpleSavedObject", + "text": "SimpleSavedObject" + }, "<", - "SavedObjectAttributes", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectAttributes", + "text": "SavedObjectAttributes" + }, ">>" ], "path": "src/plugins/saved_objects/public/saved_object/helpers/save_with_confirmation.ts", @@ -1054,7 +1126,13 @@ "- serialized version of this object what will be indexed into elasticsearch." ], "signature": [ - "SavedObjectAttributes" + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectAttributes", + "text": "SavedObjectAttributes" + } ], "path": "src/plugins/saved_objects/public/saved_object/helpers/save_with_confirmation.ts", "deprecated": false, @@ -1122,7 +1200,13 @@ "- options to pass to the saved object create method" ], "signature": [ - "SavedObjectsCreateOptions" + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SavedObjectsCreateOptions", + "text": "SavedObjectsCreateOptions" + } ], "path": "src/plugins/saved_objects/public/saved_object/helpers/save_with_confirmation.ts", "deprecated": false, @@ -1148,7 +1232,13 @@ "label": "savedObjectsClient", "description": [], "signature": [ - "SavedObjectsClientContract" + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + } ], "path": "src/plugins/saved_objects/public/saved_object/helpers/save_with_confirmation.ts", "deprecated": false, @@ -1162,7 +1252,13 @@ "label": "overlays", "description": [], "signature": [ - "OverlayStart" + { + "pluginId": "@kbn/core-overlays-browser", + "scope": "common", + "docId": "kibKbnCoreOverlaysBrowserPluginApi", + "section": "def-common.OverlayStart", + "text": "OverlayStart" + } ], "path": "src/plugins/saved_objects/public/saved_object/helpers/save_with_confirmation.ts", "deprecated": false, @@ -1580,9 +1676,21 @@ "description": [], "signature": [ "() => { attributes: ", - "SavedObjectAttributes", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectAttributes", + "text": "SavedObjectAttributes" + }, "; references: ", - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]; }" ], "path": "src/plugins/saved_objects/public/types.ts", @@ -2034,7 +2142,13 @@ "label": "unresolvedIndexPatternReference", "description": [], "signature": [ - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, " | undefined" ], "path": "src/plugins/saved_objects/public/types.ts", @@ -2072,7 +2186,13 @@ "text": "SavedObject" }, "<", - "SavedObjectAttributes", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectAttributes", + "text": "SavedObjectAttributes" + }, ">) => Promise<", { "pluginId": "savedObjects", @@ -2082,7 +2202,13 @@ "text": "SavedObject" }, "<", - "SavedObjectAttributes", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectAttributes", + "text": "SavedObjectAttributes" + }, ">>) | undefined" ], "path": "src/plugins/saved_objects/public/types.ts", @@ -2105,7 +2231,13 @@ "text": "SavedObject" }, "<", - "SavedObjectAttributes", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectAttributes", + "text": "SavedObjectAttributes" + }, ">" ], "path": "src/plugins/saved_objects/public/types.ts", @@ -2183,9 +2315,21 @@ "text": "SavedObject" }, "<", - "SavedObjectAttributes", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectAttributes", + "text": "SavedObjectAttributes" + }, ">>(object: T, references: ", - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]) => void) | undefined" ], "path": "src/plugins/saved_objects/public/types.ts", @@ -2215,7 +2359,13 @@ "label": "references", "description": [], "signature": [ - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]" ], "path": "src/plugins/saved_objects/public/types.ts", @@ -2627,7 +2777,13 @@ "description": [], "signature": [ "(savedObject: ", - "SimpleSavedObject", + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SimpleSavedObject", + "text": "SimpleSavedObject" + }, ") => ", "IconType" ], @@ -2643,7 +2799,13 @@ "label": "savedObject", "description": [], "signature": [ - "SimpleSavedObject", + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SimpleSavedObject", + "text": "SimpleSavedObject" + }, "" ], "path": "src/plugins/saved_objects/public/finder/saved_object_finder.tsx", @@ -2663,7 +2825,13 @@ "description": [], "signature": [ "((savedObject: ", - "SimpleSavedObject", + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SimpleSavedObject", + "text": "SimpleSavedObject" + }, ") => string) | undefined" ], "path": "src/plugins/saved_objects/public/finder/saved_object_finder.tsx", @@ -2678,7 +2846,13 @@ "label": "savedObject", "description": [], "signature": [ - "SimpleSavedObject", + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SimpleSavedObject", + "text": "SimpleSavedObject" + }, "" ], "path": "src/plugins/saved_objects/public/finder/saved_object_finder.tsx", @@ -2698,7 +2872,13 @@ "description": [], "signature": [ "((savedObject: ", - "SimpleSavedObject", + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SimpleSavedObject", + "text": "SimpleSavedObject" + }, ") => boolean) | undefined" ], "path": "src/plugins/saved_objects/public/finder/saved_object_finder.tsx", @@ -2713,7 +2893,13 @@ "label": "savedObject", "description": [], "signature": [ - "SimpleSavedObject", + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SimpleSavedObject", + "text": "SimpleSavedObject" + }, "" ], "path": "src/plugins/saved_objects/public/finder/saved_object_finder.tsx", @@ -2733,7 +2919,13 @@ "description": [], "signature": [ "((savedObject: ", - "SimpleSavedObject", + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SimpleSavedObject", + "text": "SimpleSavedObject" + }, ") => string) | undefined" ], "path": "src/plugins/saved_objects/public/finder/saved_object_finder.tsx", @@ -2748,7 +2940,13 @@ "label": "savedObject", "description": [], "signature": [ - "SimpleSavedObject", + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SimpleSavedObject", + "text": "SimpleSavedObject" + }, "" ], "path": "src/plugins/saved_objects/public/finder/saved_object_finder.tsx", @@ -3026,9 +3224,21 @@ "description": [], "signature": [ "{ savedObjects: ", - "SavedObjectsStart", + { + "pluginId": "@kbn/core-saved-objects-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsBrowserPluginApi", + "section": "def-common.SavedObjectsStart", + "text": "SavedObjectsStart" + }, "; uiSettings: ", - "IUiSettingsClient", + { + "pluginId": "@kbn/core-ui-settings-browser", + "scope": "common", + "docId": "kibKbnCoreUiSettingsBrowserPluginApi", + "section": "def-common.IUiSettingsClient", + "text": "IUiSettingsClient" + }, "; } & ", "SavedObjectFinderProps" ], @@ -3086,7 +3296,13 @@ "text": "SavedObject" }, "<", - "SavedObjectAttributes", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectAttributes", + "text": "SavedObjectAttributes" + }, ">" ], "path": "src/plugins/saved_objects/public/plugin.ts", diff --git a/api_docs/saved_objects.mdx b/api_docs/saved_objects.mdx index fb7059b02bbee..727d2b8f0d338 100644 --- a/api_docs/saved_objects.mdx +++ b/api_docs/saved_objects.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/savedObjects title: "savedObjects" image: https://source.unsplash.com/400x175/?github description: API docs for the savedObjects plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'savedObjects'] --- import savedObjectsObj from './saved_objects.devdocs.json'; diff --git a/api_docs/saved_objects_finder.devdocs.json b/api_docs/saved_objects_finder.devdocs.json index 1ab97efddadfb..71986e0c6d66f 100644 --- a/api_docs/saved_objects_finder.devdocs.json +++ b/api_docs/saved_objects_finder.devdocs.json @@ -104,7 +104,13 @@ "description": [], "signature": [ "(savedObject: ", - "SimpleSavedObject", + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SimpleSavedObject", + "text": "SimpleSavedObject" + }, ") => ", "IconType" ], @@ -120,7 +126,13 @@ "label": "savedObject", "description": [], "signature": [ - "SimpleSavedObject", + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SimpleSavedObject", + "text": "SimpleSavedObject" + }, "" ], "path": "src/plugins/saved_objects_finder/public/finder/saved_object_finder.tsx", @@ -140,7 +152,13 @@ "description": [], "signature": [ "((savedObject: ", - "SimpleSavedObject", + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SimpleSavedObject", + "text": "SimpleSavedObject" + }, ") => string) | undefined" ], "path": "src/plugins/saved_objects_finder/public/finder/saved_object_finder.tsx", @@ -155,7 +173,13 @@ "label": "savedObject", "description": [], "signature": [ - "SimpleSavedObject", + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SimpleSavedObject", + "text": "SimpleSavedObject" + }, "" ], "path": "src/plugins/saved_objects_finder/public/finder/saved_object_finder.tsx", @@ -175,7 +199,13 @@ "description": [], "signature": [ "((savedObject: ", - "SimpleSavedObject", + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SimpleSavedObject", + "text": "SimpleSavedObject" + }, ") => boolean) | undefined" ], "path": "src/plugins/saved_objects_finder/public/finder/saved_object_finder.tsx", @@ -190,7 +220,13 @@ "label": "savedObject", "description": [], "signature": [ - "SimpleSavedObject", + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SimpleSavedObject", + "text": "SimpleSavedObject" + }, "" ], "path": "src/plugins/saved_objects_finder/public/finder/saved_object_finder.tsx", @@ -210,7 +246,13 @@ "description": [], "signature": [ "((savedObject: ", - "SimpleSavedObject", + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SimpleSavedObject", + "text": "SimpleSavedObject" + }, ") => string) | undefined" ], "path": "src/plugins/saved_objects_finder/public/finder/saved_object_finder.tsx", @@ -225,7 +267,13 @@ "label": "savedObject", "description": [], "signature": [ - "SimpleSavedObject", + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SimpleSavedObject", + "text": "SimpleSavedObject" + }, "" ], "path": "src/plugins/saved_objects_finder/public/finder/saved_object_finder.tsx", diff --git a/api_docs/saved_objects_finder.mdx b/api_docs/saved_objects_finder.mdx index 7b3663524ee7f..574def6841415 100644 --- a/api_docs/saved_objects_finder.mdx +++ b/api_docs/saved_objects_finder.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/savedObjectsFinder title: "savedObjectsFinder" image: https://source.unsplash.com/400x175/?github description: API docs for the savedObjectsFinder plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'savedObjectsFinder'] --- import savedObjectsFinderObj from './saved_objects_finder.devdocs.json'; diff --git a/api_docs/saved_objects_management.devdocs.json b/api_docs/saved_objects_management.devdocs.json index 1f64f3bea1abe..d08548c27a8ee 100644 --- a/api_docs/saved_objects_management.devdocs.json +++ b/api_docs/saved_objects_management.devdocs.json @@ -466,7 +466,13 @@ "description": [], "signature": [ "(response: ", - "SavedObjectsImportResponse", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectsImportResponse", + "text": "SavedObjectsImportResponse" + }, ") => ", { "pluginId": "savedObjectsManagement", @@ -488,7 +494,13 @@ "label": "response", "description": [], "signature": [ - "SavedObjectsImportResponse" + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectsImportResponse", + "text": "SavedObjectsImportResponse" + } ], "path": "src/plugins/saved_objects_management/public/lib/process_import_response.ts", "deprecated": false, @@ -534,15 +546,45 @@ "label": "error", "description": [], "signature": [ - "SavedObjectsImportConflictError", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectsImportConflictError", + "text": "SavedObjectsImportConflictError" + }, " | ", - "SavedObjectsImportAmbiguousConflictError", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectsImportAmbiguousConflictError", + "text": "SavedObjectsImportAmbiguousConflictError" + }, " | ", - "SavedObjectsImportUnsupportedTypeError", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectsImportUnsupportedTypeError", + "text": "SavedObjectsImportUnsupportedTypeError" + }, " | ", - "SavedObjectsImportMissingReferencesError", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectsImportMissingReferencesError", + "text": "SavedObjectsImportMissingReferencesError" + }, " | ", - "SavedObjectsImportUnknownError" + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectsImportUnknownError", + "text": "SavedObjectsImportUnknownError" + } ], "path": "src/plugins/saved_objects_management/public/lib/process_import_response.ts", "deprecated": false, @@ -591,7 +633,13 @@ "label": "successfulImports", "description": [], "signature": [ - "SavedObjectsImportSuccess", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectsImportSuccess", + "text": "SavedObjectsImportSuccess" + }, "[]" ], "path": "src/plugins/saved_objects_management/public/lib/process_import_response.ts", @@ -645,7 +693,13 @@ "label": "importWarnings", "description": [], "signature": [ - "SavedObjectsImportWarning", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectsImportWarning", + "text": "SavedObjectsImportWarning" + }, "[]" ], "path": "src/plugins/saved_objects_management/public/lib/process_import_response.ts", @@ -793,7 +847,13 @@ "label": "namespaceType", "description": [], "signature": [ - "SavedObjectsNamespaceType", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectsNamespaceType", + "text": "SavedObjectsNamespaceType" + }, " | undefined" ], "path": "src/plugins/saved_objects_management/common/types.ts", @@ -1169,7 +1229,13 @@ "description": [], "signature": [ "{ icon: string; title: string; namespaceType: ", - "SavedObjectsNamespaceType", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectsNamespaceType", + "text": "SavedObjectsNamespaceType" + }, "; hiddenType: boolean; }" ], "path": "src/plugins/saved_objects_management/public/services/types/record.ts", @@ -1184,7 +1250,13 @@ "label": "references", "description": [], "signature": [ - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]" ], "path": "src/plugins/saved_objects_management/public/services/types/record.ts", @@ -1221,7 +1293,13 @@ "\nA {@link SavedObject | saved object} enhanced with meta properties used by the client-side plugin." ], "signature": [ - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, " & { meta: ", { "pluginId": "savedObjectsManagement", @@ -1606,7 +1684,13 @@ "text": "SavedObjectsTaggingApi" }, " | undefined; }) => ", - "SavedObjectsFindOptionsReference", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsFindOptionsReference", + "text": "SavedObjectsFindOptionsReference" + }, "[] | undefined" ], "path": "src/plugins/saved_objects_management/public/plugin.ts", @@ -1724,7 +1808,13 @@ "label": "namespaceType", "description": [], "signature": [ - "SavedObjectsNamespaceType", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectsNamespaceType", + "text": "SavedObjectsNamespaceType" + }, " | undefined" ], "path": "src/plugins/saved_objects_management/common/types.ts", @@ -1761,7 +1851,13 @@ "\nA {@link SavedObject | saved object} enhanced with meta properties used by the client-side plugin." ], "signature": [ - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, " & { meta: ", { "pluginId": "savedObjectsManagement", @@ -2067,7 +2163,13 @@ "label": "namespaceType", "description": [], "signature": [ - "SavedObjectsNamespaceType", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectsNamespaceType", + "text": "SavedObjectsNamespaceType" + }, " | undefined" ], "path": "src/plugins/saved_objects_management/common/types.ts", @@ -2191,7 +2293,13 @@ "\nA {@link SavedObject | saved object} enhanced with meta properties used by the client-side plugin." ], "signature": [ - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, " & { meta: ", { "pluginId": "savedObjectsManagement", diff --git a/api_docs/saved_objects_management.mdx b/api_docs/saved_objects_management.mdx index 395f08d07a4f2..6f50f617a35c5 100644 --- a/api_docs/saved_objects_management.mdx +++ b/api_docs/saved_objects_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/savedObjectsManagement title: "savedObjectsManagement" image: https://source.unsplash.com/400x175/?github description: API docs for the savedObjectsManagement plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'savedObjectsManagement'] --- import savedObjectsManagementObj from './saved_objects_management.devdocs.json'; diff --git a/api_docs/saved_objects_tagging.devdocs.json b/api_docs/saved_objects_tagging.devdocs.json index b1c84029894fa..c96f8e416e0cd 100644 --- a/api_docs/saved_objects_tagging.devdocs.json +++ b/api_docs/saved_objects_tagging.devdocs.json @@ -112,7 +112,13 @@ "label": "client", "description": [], "signature": [ - "SavedObjectsClientContract" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + } ], "path": "x-pack/plugins/saved_objects_tagging/server/types.ts", "deprecated": false, @@ -140,7 +146,13 @@ "label": "client", "description": [], "signature": [ - "SavedObjectsClientContract" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + } ], "path": "x-pack/plugins/saved_objects_tagging/server/types.ts", "deprecated": false, @@ -595,7 +607,13 @@ "description": [], "signature": [ "(capabilities: ", - "Capabilities", + { + "pluginId": "@kbn/core-capabilities-common", + "scope": "common", + "docId": "kibKbnCoreCapabilitiesCommonPluginApi", + "section": "def-common.Capabilities", + "text": "Capabilities" + }, ") => ", { "pluginId": "savedObjectsTagging", @@ -617,7 +635,13 @@ "label": "capabilities", "description": [], "signature": [ - "Capabilities" + { + "pluginId": "@kbn/core-capabilities-common", + "scope": "common", + "docId": "kibKbnCoreCapabilitiesCommonPluginApi", + "section": "def-common.Capabilities", + "text": "Capabilities" + } ], "path": "x-pack/plugins/saved_objects_tagging/common/capabilities.ts", "deprecated": false, @@ -1341,7 +1365,13 @@ "label": "TagSavedObject", "description": [], "signature": [ - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "<", { "pluginId": "savedObjectsTaggingOss", diff --git a/api_docs/saved_objects_tagging.mdx b/api_docs/saved_objects_tagging.mdx index 8aa4437ccb25e..3a0121ff4cdf6 100644 --- a/api_docs/saved_objects_tagging.mdx +++ b/api_docs/saved_objects_tagging.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/savedObjectsTagging title: "savedObjectsTagging" image: https://source.unsplash.com/400x175/?github description: API docs for the savedObjectsTagging plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'savedObjectsTagging'] --- import savedObjectsTaggingObj from './saved_objects_tagging.devdocs.json'; diff --git a/api_docs/saved_objects_tagging_oss.devdocs.json b/api_docs/saved_objects_tagging_oss.devdocs.json index 9642ba9390627..c5608a187385f 100644 --- a/api_docs/saved_objects_tagging_oss.devdocs.json +++ b/api_docs/saved_objects_tagging_oss.devdocs.json @@ -182,7 +182,13 @@ "label": "tagReferences", "description": [], "signature": [ - "SavedObjectsFindOptionsReference", + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SavedObjectsFindOptionsReference", + "text": "SavedObjectsFindOptionsReference" + }, "[]" ], "path": "src/plugins/saved_objects_tagging_oss/public/api.ts", @@ -471,7 +477,13 @@ "text": "SavedObject" }, "<", - "SavedObjectAttributes", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectAttributes", + "text": "SavedObjectAttributes" + }, ">) => object is ", { "pluginId": "savedObjectsTaggingOss", @@ -501,7 +513,13 @@ "text": "SavedObject" }, "<", - "SavedObjectAttributes", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectAttributes", + "text": "SavedObjectAttributes" + }, ">" ], "path": "src/plugins/saved_objects_tagging_oss/public/api.ts", @@ -583,7 +601,13 @@ " | undefined) => ", "EuiTableFieldDataColumnType", "<", - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, ">" ], "path": "src/plugins/saved_objects_tagging_oss/public/api.ts", @@ -626,7 +650,13 @@ ], "signature": [ "(tagName: string) => ", - "SavedObjectsFindOptionsReference", + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SavedObjectsFindOptionsReference", + "text": "SavedObjectsFindOptionsReference" + }, " | undefined" ], "path": "src/plugins/saved_objects_tagging_oss/public/api.ts", @@ -737,9 +767,21 @@ ], "signature": [ "(references: (", - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, " | ", - "SavedObjectsFindOptionsReference", + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SavedObjectsFindOptionsReference", + "text": "SavedObjectsFindOptionsReference" + }, ")[]) => string[]" ], "path": "src/plugins/saved_objects_tagging_oss/public/api.ts", @@ -755,9 +797,21 @@ "description": [], "signature": [ "(", - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, " | ", - "SavedObjectsFindOptionsReference", + { + "pluginId": "@kbn/core-saved-objects-api-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsApiBrowserPluginApi", + "section": "def-common.SavedObjectsFindOptionsReference", + "text": "SavedObjectsFindOptionsReference" + }, ")[]" ], "path": "src/plugins/saved_objects_tagging_oss/public/api.ts", @@ -813,9 +867,21 @@ ], "signature": [ "(references: ", - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[], newTagIds: string[]) => ", - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]" ], "path": "src/plugins/saved_objects_tagging_oss/public/api.ts", @@ -830,7 +896,13 @@ "label": "references", "description": [], "signature": [ - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]" ], "path": "src/plugins/saved_objects_tagging_oss/public/api.ts", @@ -1086,7 +1158,13 @@ ], "signature": [ "{ references: ", - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]; }" ], "path": "src/plugins/saved_objects_tagging_oss/public/api.ts", @@ -1230,7 +1308,13 @@ "text": "SavedObject" }, "<", - "SavedObjectAttributes", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectAttributes", + "text": "SavedObjectAttributes" + }, ">) => object is ", { "pluginId": "savedObjectsTaggingOss", @@ -1261,7 +1345,13 @@ "text": "SavedObject" }, "<", - "SavedObjectAttributes", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectAttributes", + "text": "SavedObjectAttributes" + }, ">" ], "path": "src/plugins/saved_objects_tagging_oss/public/api.ts", @@ -1287,7 +1377,13 @@ "text": "SavedObject" }, "<", - "SavedObjectAttributes", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectAttributes", + "text": "SavedObjectAttributes" + }, "> & { getTags(): string[]; setTags(tags: string[]): void; }" ], "path": "src/plugins/saved_objects_tagging_oss/public/decorator/types.ts", diff --git a/api_docs/saved_objects_tagging_oss.mdx b/api_docs/saved_objects_tagging_oss.mdx index ba7defc95efaf..51b21d34e2d96 100644 --- a/api_docs/saved_objects_tagging_oss.mdx +++ b/api_docs/saved_objects_tagging_oss.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/savedObjectsTaggingOss title: "savedObjectsTaggingOss" image: https://source.unsplash.com/400x175/?github description: API docs for the savedObjectsTaggingOss plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'savedObjectsTaggingOss'] --- import savedObjectsTaggingOssObj from './saved_objects_tagging_oss.devdocs.json'; diff --git a/api_docs/saved_search.devdocs.json b/api_docs/saved_search.devdocs.json index 8e6b2e5503d3c..d2e4074736003 100644 --- a/api_docs/saved_search.devdocs.json +++ b/api_docs/saved_search.devdocs.json @@ -141,7 +141,7 @@ "section": "def-public.SavedSearch", "text": "SavedSearch" }, - ") => Promise" + ") => Promise" ], "path": "src/plugins/saved_search/public/services/saved_searches/saved_searches_utils.ts", "deprecated": false, @@ -517,7 +517,13 @@ "text": "SerializedSearchSourceFields" }, "; serialize: () => { searchSourceJSON: string; references: ", - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]; }; toExpressionAst: ({ asDatatable }?: ExpressionAstOptions) => ", { "pluginId": "expressions", diff --git a/api_docs/saved_search.mdx b/api_docs/saved_search.mdx index 0b4c8aa4aaf7d..f7385a5088340 100644 --- a/api_docs/saved_search.mdx +++ b/api_docs/saved_search.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/savedSearch title: "savedSearch" image: https://source.unsplash.com/400x175/?github description: API docs for the savedSearch plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'savedSearch'] --- import savedSearchObj from './saved_search.devdocs.json'; diff --git a/api_docs/screenshot_mode.devdocs.json b/api_docs/screenshot_mode.devdocs.json index ab834dfc733bc..db7b35d90a2a6 100644 --- a/api_docs/screenshot_mode.devdocs.json +++ b/api_docs/screenshot_mode.devdocs.json @@ -139,7 +139,13 @@ "label": "ScreenshotModeRequestHandlerContext", "description": [], "signature": [ - "RequestHandlerContext", + { + "pluginId": "@kbn/core-http-request-handler-context-server", + "scope": "server", + "docId": "kibKbnCoreHttpRequestHandlerContextServerPluginApi", + "section": "def-server.RequestHandlerContext", + "text": "RequestHandlerContext" + }, " & { screenshotMode: Promise<{ isScreenshot: boolean; }>; }" ], "path": "src/plugins/screenshot_mode/server/types.ts", @@ -274,7 +280,13 @@ ], "signature": [ "(request: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ") => boolean" ], "path": "src/plugins/screenshot_mode/server/types.ts", @@ -289,7 +301,13 @@ "label": "request", "description": [], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "" ], "path": "src/plugins/screenshot_mode/server/types.ts", diff --git a/api_docs/screenshot_mode.mdx b/api_docs/screenshot_mode.mdx index 2a8e7f6689e6a..ca945c6600735 100644 --- a/api_docs/screenshot_mode.mdx +++ b/api_docs/screenshot_mode.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/screenshotMode title: "screenshotMode" image: https://source.unsplash.com/400x175/?github description: API docs for the screenshotMode plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'screenshotMode'] --- import screenshotModeObj from './screenshot_mode.devdocs.json'; diff --git a/api_docs/screenshotting.devdocs.json b/api_docs/screenshotting.devdocs.json index 86da8b6cb1a3a..4f98923fc0a73 100644 --- a/api_docs/screenshotting.devdocs.json +++ b/api_docs/screenshotting.devdocs.json @@ -19,9 +19,21 @@ "{ id?: Id | undefined; dimensions?: { width: number; height: number; } | undefined; selectors?: Partial<", "LayoutSelectorDictionary", "> | undefined; zoom?: number | undefined; } extends ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " ? ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " & { id?: Id | undefined; dimensions?: { width: number; height: number; } | undefined; selectors?: Partial<", "LayoutSelectorDictionary", "> | undefined; zoom?: number | undefined; } : never" @@ -492,9 +504,21 @@ "{ id?: Id | undefined; dimensions?: { width: number; height: number; } | undefined; selectors?: Partial<", "LayoutSelectorDictionary", "> | undefined; zoom?: number | undefined; } extends ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " ? ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " & { id?: Id | undefined; dimensions?: { width: number; height: number; } | undefined; selectors?: Partial<", "LayoutSelectorDictionary", "> | undefined; zoom?: number | undefined; } : never" diff --git a/api_docs/screenshotting.mdx b/api_docs/screenshotting.mdx index 511a95b5e01fd..e73439178f7a0 100644 --- a/api_docs/screenshotting.mdx +++ b/api_docs/screenshotting.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/screenshotting title: "screenshotting" image: https://source.unsplash.com/400x175/?github description: API docs for the screenshotting plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'screenshotting'] --- import screenshottingObj from './screenshotting.devdocs.json'; diff --git a/api_docs/security.devdocs.json b/api_docs/security.devdocs.json index 331e2d40aeb93..cb96880b175ef 100644 --- a/api_docs/security.devdocs.json +++ b/api_docs/security.devdocs.json @@ -1227,7 +1227,13 @@ "text": "AuditEvent" }, " extends ", - "LogMeta" + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.LogMeta", + "text": "LogMeta" + } ], "path": "x-pack/plugins/security/server/audit/audit_events.ts", "deprecated": false, @@ -1359,7 +1365,13 @@ ], "signature": [ "(request: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ") => ", { "pluginId": "security", @@ -1381,7 +1393,13 @@ "label": "request", "description": [], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "" ], "path": "x-pack/plugins/security/server/audit/audit_service.ts", @@ -1580,7 +1598,13 @@ "description": [], "signature": [ "{ create: (request: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ", createParams: ", { "pluginId": "security", @@ -1598,7 +1622,13 @@ "text": "CreateAPIKeyResult" }, " | null>; areAPIKeysEnabled: () => Promise; invalidate: (request: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ", params: ", { "pluginId": "security", @@ -1616,7 +1646,13 @@ "text": "InvalidateAPIKeyResult" }, " | null>; grantAsInternalUser: (request: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ", createParams: ", { "pluginId": "security", @@ -1664,7 +1700,13 @@ "description": [], "signature": [ "(request: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ") => ", { "pluginId": "security", @@ -1687,7 +1729,13 @@ "label": "request", "description": [], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "" ], "path": "x-pack/plugins/security/server/authentication/authentication_service.ts", @@ -2051,7 +2099,13 @@ "\nUser request instance to get user profile for." ], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "" ], "path": "x-pack/plugins/security/server/user_profile/user_profile_service.ts", @@ -2537,7 +2591,13 @@ "description": [], "signature": [ "{ getCurrentUser: (request: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ") => ", { "pluginId": "security", @@ -3353,7 +3413,13 @@ "label": "context", "description": [], "signature": [ - "GetDeprecationsContext" + { + "pluginId": "@kbn/core-deprecations-server", + "scope": "server", + "docId": "kibKbnCoreDeprecationsServerPluginApi", + "section": "def-server.GetDeprecationsContext", + "text": "GetDeprecationsContext" + } ], "path": "x-pack/plugins/security/common/model/deprecations.ts", "deprecated": false, @@ -3413,7 +3479,13 @@ "label": "errors", "description": [], "signature": [ - "DeprecationsDetails", + { + "pluginId": "@kbn/core-deprecations-common", + "scope": "common", + "docId": "kibKbnCoreDeprecationsCommonPluginApi", + "section": "def-common.DeprecationsDetails", + "text": "DeprecationsDetails" + }, "[] | undefined" ], "path": "x-pack/plugins/security/common/model/deprecations.ts", diff --git a/api_docs/security.mdx b/api_docs/security.mdx index adf63ba9ded9c..6a0069c908476 100644 --- a/api_docs/security.mdx +++ b/api_docs/security.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/security title: "security" image: https://source.unsplash.com/400x175/?github description: API docs for the security plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'security'] --- import securityObj from './security.devdocs.json'; diff --git a/api_docs/security_solution.devdocs.json b/api_docs/security_solution.devdocs.json index 9f44bef3f59d5..d9495a9805ecb 100644 --- a/api_docs/security_solution.devdocs.json +++ b/api_docs/security_solution.devdocs.json @@ -18,7 +18,13 @@ "text": "Plugin" }, " implements ", - "Plugin", + { + "pluginId": "@kbn/core-plugins-browser", + "scope": "common", + "docId": "kibKbnCorePluginsBrowserPluginApi", + "section": "def-common.Plugin", + "text": "Plugin" + }, "<", { "pluginId": "securitySolution", @@ -58,7 +64,7 @@ "label": "experimentalFeatures", "description": [], "signature": [ - "{ readonly tGridEnabled: boolean; readonly tGridEventRenderedViewEnabled: boolean; readonly excludePoliciesInFilterEnabled: boolean; readonly kubernetesEnabled: boolean; readonly disableIsolationUIPendingStatuses: boolean; readonly pendingActionResponsesWithAck: boolean; readonly policyListEnabled: boolean; readonly policyResponseInFleetEnabled: boolean; readonly previewTelemetryUrlEnabled: boolean; readonly responseActionsConsoleEnabled: boolean; readonly insightsRelatedAlertsByProcessAncestry: boolean; readonly extendedRuleExecutionLoggingEnabled: boolean; readonly socTrendsEnabled: boolean; readonly responseActionsEnabled: boolean; readonly endpointRbacEnabled: boolean; readonly guidedOnboarding: boolean; }" + "{ readonly tGridEnabled: boolean; readonly tGridEventRenderedViewEnabled: boolean; readonly excludePoliciesInFilterEnabled: boolean; readonly kubernetesEnabled: boolean; readonly disableIsolationUIPendingStatuses: boolean; readonly pendingActionResponsesWithAck: boolean; readonly policyListEnabled: boolean; readonly policyResponseInFleetEnabled: boolean; readonly previewTelemetryUrlEnabled: boolean; readonly responseActionsConsoleEnabled: boolean; readonly insightsRelatedAlertsByProcessAncestry: boolean; readonly extendedRuleExecutionLoggingEnabled: boolean; readonly socTrendsEnabled: boolean; readonly responseActionsEnabled: boolean; readonly endpointRbacEnabled: boolean; readonly endpointRbacV1Enabled: boolean; readonly guidedOnboarding: boolean; }" ], "path": "x-pack/plugins/security_solution/public/plugin.tsx", "deprecated": false, @@ -86,7 +92,13 @@ "label": "initializerContext", "description": [], "signature": [ - "PluginInitializerContext", + { + "pluginId": "@kbn/core-plugins-browser", + "scope": "common", + "docId": "kibKbnCorePluginsBrowserPluginApi", + "section": "def-common.PluginInitializerContext", + "text": "PluginInitializerContext" + }, "" ], "path": "x-pack/plugins/security_solution/public/plugin.tsx", @@ -106,7 +118,13 @@ "description": [], "signature": [ "(core: ", - "CoreSetup", + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreSetup", + "text": "CoreSetup" + }, "<", "StartPluginsDependencies", ", ", @@ -134,7 +152,13 @@ "label": "core", "description": [], "signature": [ - "CoreSetup", + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreSetup", + "text": "CoreSetup" + }, "<", "StartPluginsDependencies", ", ", @@ -173,7 +197,13 @@ "description": [], "signature": [ "(core: ", - "CoreStart", + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreStart", + "text": "CoreStart" + }, ", plugins: ", "StartPlugins", ") => {}" @@ -190,7 +220,13 @@ "label": "core", "description": [], "signature": [ - "CoreStart" + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreStart", + "text": "CoreStart" + } ], "path": "x-pack/plugins/security_solution/public/plugin.tsx", "deprecated": false, @@ -242,7 +278,13 @@ ], "signature": [ "(core: ", - "CoreStart", + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreStart", + "text": "CoreStart" + }, ", plugins: ", "StartPlugins", ") => Promise" @@ -259,7 +301,13 @@ "label": "core", "description": [], "signature": [ - "CoreStart" + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreStart", + "text": "CoreStart" + } ], "path": "x-pack/plugins/security_solution/public/plugin.tsx", "deprecated": false, @@ -1147,7 +1195,13 @@ "label": "filters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[] | undefined" ], "path": "x-pack/plugins/security_solution/public/timelines/store/timeline/model.ts", @@ -1390,7 +1444,13 @@ "text": "Plugin" }, " implements ", - "Plugin", + { + "pluginId": "@kbn/core-plugins-server", + "scope": "server", + "docId": "kibKbnCorePluginsServerPluginApi", + "section": "def-server.Plugin", + "text": "Plugin" + }, "<", { "pluginId": "securitySolution", @@ -1439,7 +1499,13 @@ "label": "context", "description": [], "signature": [ - "PluginInitializerContext", + { + "pluginId": "@kbn/core-plugins-server", + "scope": "server", + "docId": "kibKbnCorePluginsServerPluginApi", + "section": "def-server.PluginInitializerContext", + "text": "PluginInitializerContext" + }, "" ], "path": "x-pack/plugins/security_solution/server/plugin.ts", @@ -1517,7 +1583,13 @@ "description": [], "signature": [ "(core: ", - "CoreStart", + { + "pluginId": "@kbn/core-lifecycle-server", + "scope": "server", + "docId": "kibKbnCoreLifecycleServerPluginApi", + "section": "def-server.CoreStart", + "text": "CoreStart" + }, ", plugins: ", "SecuritySolutionPluginStartDependencies", ") => ", @@ -1541,7 +1613,13 @@ "label": "core", "description": [], "signature": [ - "CoreStart" + { + "pluginId": "@kbn/core-lifecycle-server", + "scope": "server", + "docId": "kibKbnCoreLifecycleServerPluginApi", + "section": "def-server.CoreStart", + "text": "CoreStart" + } ], "path": "x-pack/plugins/security_solution/server/plugin.ts", "deprecated": false, @@ -1607,7 +1685,13 @@ "label": "core", "description": [], "signature": [ - "CoreRequestHandlerContext" + { + "pluginId": "@kbn/core-http-request-handler-context-server", + "scope": "server", + "docId": "kibKbnCoreHttpRequestHandlerContextServerPluginApi", + "section": "def-server.CoreRequestHandlerContext", + "text": "CoreRequestHandlerContext" + } ], "path": "x-pack/plugins/security_solution/server/types.ts", "deprecated": false, @@ -1755,7 +1839,13 @@ "description": [], "signature": [ "(req: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ") => Promise<", { "pluginId": "ruleRegistry", @@ -1778,7 +1868,13 @@ "label": "req", "description": [], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "" ], "path": "x-pack/plugins/security_solution/server/types.ts", @@ -1839,7 +1935,13 @@ "description": [], "signature": [ "(req: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ") => ", "EndpointScopedFleetServicesInterface" ], @@ -1855,7 +1957,13 @@ "label": "req", "description": [], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "" ], "path": "x-pack/plugins/security_solution/server/types.ts", @@ -1894,7 +2002,7 @@ "label": "ConfigType", "description": [], "signature": [ - "Readonly<{} & { signalsIndex: string; maxRuleImportExportSize: number; maxRuleImportPayloadBytes: number; maxTimelineImportExportSize: number; maxTimelineImportPayloadBytes: number; alertMergeStrategy: \"allFields\" | \"missingFields\" | \"noFields\"; alertIgnoreFields: string[]; enableExperimental: string[]; packagerTaskInterval: string; prebuiltRulesFromFileSystem: boolean; prebuiltRulesFromSavedObjects: boolean; }> & { experimentalFeatures: Readonly<{ tGridEnabled: boolean; tGridEventRenderedViewEnabled: boolean; excludePoliciesInFilterEnabled: boolean; kubernetesEnabled: boolean; disableIsolationUIPendingStatuses: boolean; pendingActionResponsesWithAck: boolean; policyListEnabled: boolean; policyResponseInFleetEnabled: boolean; previewTelemetryUrlEnabled: boolean; responseActionsConsoleEnabled: boolean; insightsRelatedAlertsByProcessAncestry: boolean; extendedRuleExecutionLoggingEnabled: boolean; socTrendsEnabled: boolean; responseActionsEnabled: boolean; endpointRbacEnabled: boolean; guidedOnboarding: boolean; }>; }" + "Readonly<{} & { signalsIndex: string; maxRuleImportExportSize: number; maxRuleImportPayloadBytes: number; maxTimelineImportExportSize: number; maxTimelineImportPayloadBytes: number; alertMergeStrategy: \"allFields\" | \"missingFields\" | \"noFields\"; alertIgnoreFields: string[]; enableExperimental: string[]; packagerTaskInterval: string; prebuiltRulesFromFileSystem: boolean; prebuiltRulesFromSavedObjects: boolean; }> & { experimentalFeatures: Readonly<{ tGridEnabled: boolean; tGridEventRenderedViewEnabled: boolean; excludePoliciesInFilterEnabled: boolean; kubernetesEnabled: boolean; disableIsolationUIPendingStatuses: boolean; pendingActionResponsesWithAck: boolean; policyListEnabled: boolean; policyResponseInFleetEnabled: boolean; previewTelemetryUrlEnabled: boolean; responseActionsConsoleEnabled: boolean; insightsRelatedAlertsByProcessAncestry: boolean; extendedRuleExecutionLoggingEnabled: boolean; socTrendsEnabled: boolean; responseActionsEnabled: boolean; endpointRbacEnabled: boolean; endpointRbacV1Enabled: boolean; guidedOnboarding: boolean; }>; }" ], "path": "x-pack/plugins/security_solution/server/config.ts", "deprecated": false, diff --git a/api_docs/security_solution.mdx b/api_docs/security_solution.mdx index ee12bfeb03485..3f2f2351fa78d 100644 --- a/api_docs/security_solution.mdx +++ b/api_docs/security_solution.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/securitySolution title: "securitySolution" image: https://source.unsplash.com/400x175/?github description: API docs for the securitySolution plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'securitySolution'] --- import securitySolutionObj from './security_solution.devdocs.json'; diff --git a/api_docs/session_view.mdx b/api_docs/session_view.mdx index 11b132dbd1e16..66f07e47f3592 100644 --- a/api_docs/session_view.mdx +++ b/api_docs/session_view.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/sessionView title: "sessionView" image: https://source.unsplash.com/400x175/?github description: API docs for the sessionView plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'sessionView'] --- import sessionViewObj from './session_view.devdocs.json'; diff --git a/api_docs/share.devdocs.json b/api_docs/share.devdocs.json index 67996465a603c..457aabea0bb79 100644 --- a/api_docs/share.devdocs.json +++ b/api_docs/share.devdocs.json @@ -137,7 +137,13 @@ "description": [], "signature": [ "

(locator: ", { "pluginId": "share", @@ -908,7 +914,13 @@ "description": [], "signature": [ "((anonymousUserCapabilities: ", - "Capabilities", + { + "pluginId": "@kbn/core-capabilities-common", + "scope": "common", + "docId": "kibKbnCoreCapabilitiesCommonPluginApi", + "section": "def-common.Capabilities", + "text": "Capabilities" + }, ") => boolean) | undefined" ], "path": "src/plugins/share/public/types.ts", @@ -923,7 +935,13 @@ "label": "anonymousUserCapabilities", "description": [], "signature": [ - "Capabilities" + { + "pluginId": "@kbn/core-capabilities-common", + "scope": "common", + "docId": "kibKbnCoreCapabilitiesCommonPluginApi", + "section": "def-common.Capabilities", + "text": "Capabilities" + } ], "path": "src/plugins/share/public/types.ts", "deprecated": false, @@ -1322,7 +1340,13 @@ "; navigate(options: ", "RedirectOptions", "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">): void; setAnonymousAccessServiceProvider: (provider: () => ", { "pluginId": "share", @@ -1366,7 +1390,13 @@ "; navigate(options: ", "RedirectOptions", "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">): void; }" ], "path": "src/plugins/share/public/plugin.ts", @@ -1495,7 +1525,13 @@ "description": [], "signature": [ "

(locator: ", { "pluginId": "share", @@ -1636,7 +1672,13 @@ ], "signature": [ "() => Promise<", - "Capabilities", + { + "pluginId": "@kbn/core-capabilities-common", + "scope": "common", + "docId": "kibKbnCoreCapabilitiesCommonPluginApi", + "section": "def-common.Capabilities", + "text": "Capabilities" + }, ">" ], "path": "src/plugins/share/common/anonymous_access/types.ts", diff --git a/api_docs/share.mdx b/api_docs/share.mdx index ffce6b41eadab..efa80f1d25278 100644 --- a/api_docs/share.mdx +++ b/api_docs/share.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/share title: "share" image: https://source.unsplash.com/400x175/?github description: API docs for the share plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'share'] --- import shareObj from './share.devdocs.json'; diff --git a/api_docs/snapshot_restore.mdx b/api_docs/snapshot_restore.mdx index 87cb6047f87ec..8d9d738de9043 100644 --- a/api_docs/snapshot_restore.mdx +++ b/api_docs/snapshot_restore.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/snapshotRestore title: "snapshotRestore" image: https://source.unsplash.com/400x175/?github description: API docs for the snapshotRestore plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'snapshotRestore'] --- import snapshotRestoreObj from './snapshot_restore.devdocs.json'; diff --git a/api_docs/spaces.devdocs.json b/api_docs/spaces.devdocs.json index bc49c06d1cd7f..a3bdd9ae6a2d1 100644 --- a/api_docs/spaces.devdocs.json +++ b/api_docs/spaces.devdocs.json @@ -35,7 +35,13 @@ "label": "http", "description": [], "signature": [ - "HttpSetup" + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpSetup", + "text": "HttpSetup" + } ], "path": "x-pack/plugins/spaces/public/spaces_manager/spaces_manager.ts", "deprecated": false, @@ -613,7 +619,13 @@ "description": [], "signature": [ "(objects: SavedObjectTarget[]) => Promise<", - "SavedObjectsCollectMultiNamespaceReferencesResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsCollectMultiNamespaceReferencesResponse", + "text": "SavedObjectsCollectMultiNamespaceReferencesResponse" + }, ">" ], "path": "x-pack/plugins/spaces/public/spaces_manager/spaces_manager.ts", @@ -902,7 +914,13 @@ "description": [], "signature": [ "[spaceId: string]: ", - "SavedObjectsImportResponse" + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectsImportResponse", + "text": "SavedObjectsImportResponse" + } ], "path": "x-pack/plugins/spaces/public/copy_saved_objects_to_space/types.ts", "deprecated": false, @@ -2140,7 +2158,13 @@ ], "signature": [ ">() => ", { "pluginId": "spaces", @@ -3364,7 +3388,13 @@ ], "signature": [ "(id: string) => ", - "ISavedObjectsPointInTimeFinder", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.ISavedObjectsPointInTimeFinder", + "text": "ISavedObjectsPointInTimeFinder" + }, "" ], "path": "x-pack/plugins/spaces/server/spaces_client/spaces_client.ts", @@ -3700,7 +3730,13 @@ ], "signature": [ "(request: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ") => string" ], "path": "x-pack/plugins/spaces/server/spaces_service/spaces_service.ts", @@ -3717,7 +3753,13 @@ "the request." ], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "" ], "path": "x-pack/plugins/spaces/server/spaces_service/spaces_service.ts", @@ -3827,7 +3869,13 @@ ], "signature": [ "(request: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ") => ", { "pluginId": "spaces", @@ -3851,7 +3899,13 @@ "the request." ], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "" ], "path": "x-pack/plugins/spaces/server/spaces_service/spaces_service.ts", @@ -3873,7 +3927,13 @@ ], "signature": [ "(request: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ") => string" ], "path": "x-pack/plugins/spaces/server/spaces_service/spaces_service.ts", @@ -3890,7 +3950,13 @@ "the request." ], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "" ], "path": "x-pack/plugins/spaces/server/spaces_service/spaces_service.ts", @@ -3912,7 +3978,13 @@ ], "signature": [ "(request: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ") => boolean" ], "path": "x-pack/plugins/spaces/server/spaces_service/spaces_service.ts", @@ -3929,7 +4001,13 @@ "the request." ], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "" ], "path": "x-pack/plugins/spaces/server/spaces_service/spaces_service.ts", @@ -3951,7 +4029,13 @@ ], "signature": [ "(request: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ") => Promise<", { "pluginId": "spaces", @@ -3976,7 +4060,13 @@ "the request." ], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "" ], "path": "x-pack/plugins/spaces/server/spaces_service/spaces_service.ts", @@ -4095,11 +4185,29 @@ ], "signature": [ "(request: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ", savedObjectsStart: ", - "SavedObjectsServiceStart", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsServiceStart", + "text": "SavedObjectsServiceStart" + }, ") => ", - "ISavedObjectsRepository" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.ISavedObjectsRepository", + "text": "ISavedObjectsRepository" + } ], "path": "x-pack/plugins/spaces/server/spaces_client/spaces_client_service.ts", "deprecated": false, @@ -4114,7 +4222,13 @@ "label": "request", "description": [], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "" ], "path": "x-pack/plugins/spaces/server/spaces_client/spaces_client_service.ts", @@ -4129,7 +4243,13 @@ "label": "savedObjectsStart", "description": [], "signature": [ - "SavedObjectsServiceStart" + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-server.SavedObjectsServiceStart", + "text": "SavedObjectsServiceStart" + } ], "path": "x-pack/plugins/spaces/server/spaces_client/spaces_client_service.ts", "deprecated": false, @@ -4151,7 +4271,13 @@ ], "signature": [ "(request: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ", baseClient: ", { "pluginId": "spaces", @@ -4182,7 +4308,13 @@ "label": "request", "description": [], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "" ], "path": "x-pack/plugins/spaces/server/spaces_client/spaces_client_service.ts", diff --git a/api_docs/spaces.mdx b/api_docs/spaces.mdx index 7c800692b7e33..072bcf8caef44 100644 --- a/api_docs/spaces.mdx +++ b/api_docs/spaces.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/spaces title: "spaces" image: https://source.unsplash.com/400x175/?github description: API docs for the spaces plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'spaces'] --- import spacesObj from './spaces.devdocs.json'; diff --git a/api_docs/stack_alerts.devdocs.json b/api_docs/stack_alerts.devdocs.json index 9614f1ebea57d..f5cac92fc8c2a 100644 --- a/api_docs/stack_alerts.devdocs.json +++ b/api_docs/stack_alerts.devdocs.json @@ -78,7 +78,13 @@ "label": "configSchema", "description": [], "signature": [ - "ObjectType", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ObjectType", + "text": "ObjectType" + }, "<{}>" ], "path": "x-pack/plugins/stack_alerts/common/config.ts", diff --git a/api_docs/stack_alerts.mdx b/api_docs/stack_alerts.mdx index 667ae2c35eb62..2812eea783482 100644 --- a/api_docs/stack_alerts.mdx +++ b/api_docs/stack_alerts.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/stackAlerts title: "stackAlerts" image: https://source.unsplash.com/400x175/?github description: API docs for the stackAlerts plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'stackAlerts'] --- import stackAlertsObj from './stack_alerts.devdocs.json'; diff --git a/api_docs/stack_connectors.mdx b/api_docs/stack_connectors.mdx index f83b426be1846..30d2c4ea209b8 100644 --- a/api_docs/stack_connectors.mdx +++ b/api_docs/stack_connectors.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/stackConnectors title: "stackConnectors" image: https://source.unsplash.com/400x175/?github description: API docs for the stackConnectors plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'stackConnectors'] --- import stackConnectorsObj from './stack_connectors.devdocs.json'; diff --git a/api_docs/task_manager.devdocs.json b/api_docs/task_manager.devdocs.json index cdc661b92a91b..03856c04b4d82 100644 --- a/api_docs/task_manager.devdocs.json +++ b/api_docs/task_manager.devdocs.json @@ -26,7 +26,13 @@ "text": "TaskManagerPlugin" }, " implements ", - "Plugin", + { + "pluginId": "@kbn/core-plugins-server", + "scope": "server", + "docId": "kibKbnCorePluginsServerPluginApi", + "section": "def-server.Plugin", + "text": "Plugin" + }, "<", { "pluginId": "taskManager", @@ -71,7 +77,13 @@ "label": "initContext", "description": [], "signature": [ - "PluginInitializerContext", + { + "pluginId": "@kbn/core-plugins-server", + "scope": "server", + "docId": "kibKbnCorePluginsServerPluginApi", + "section": "def-server.PluginInitializerContext", + "text": "PluginInitializerContext" + }, "" ], "path": "x-pack/plugins/task_manager/server/plugin.ts", @@ -91,7 +103,13 @@ "description": [], "signature": [ "(core: ", - "CoreSetup", + { + "pluginId": "@kbn/core-lifecycle-server", + "scope": "server", + "docId": "kibKbnCoreLifecycleServerPluginApi", + "section": "def-server.CoreSetup", + "text": "CoreSetup" + }, ", plugins: { usageCollection?: ", { "pluginId": "usageCollection", @@ -121,7 +139,13 @@ "label": "core", "description": [], "signature": [ - "CoreSetup", + { + "pluginId": "@kbn/core-lifecycle-server", + "scope": "server", + "docId": "kibKbnCoreLifecycleServerPluginApi", + "section": "def-server.CoreSetup", + "text": "CoreSetup" + }, "" ], "path": "x-pack/plugins/task_manager/server/plugin.ts", @@ -175,7 +199,13 @@ "description": [], "signature": [ "({ savedObjects, elasticsearch, executionContext, }: ", - "CoreStart", + { + "pluginId": "@kbn/core-lifecycle-server", + "scope": "server", + "docId": "kibKbnCoreLifecycleServerPluginApi", + "section": "def-server.CoreStart", + "text": "CoreStart" + }, ") => ", { "pluginId": "taskManager", @@ -197,7 +227,13 @@ "label": "{\n savedObjects,\n elasticsearch,\n executionContext,\n }", "description": [], "signature": [ - "CoreStart" + { + "pluginId": "@kbn/core-lifecycle-server", + "scope": "server", + "docId": "kibKbnCoreLifecycleServerPluginApi", + "section": "def-server.CoreStart", + "text": "CoreStart" + } ], "path": "x-pack/plugins/task_manager/server/plugin.ts", "deprecated": false, @@ -1499,7 +1535,13 @@ ", \"schedule\" | \"runSoon\" | \"ephemeralRunNow\" | \"ensureScheduled\" | \"bulkUpdateSchedules\" | \"bulkEnable\" | \"bulkDisable\" | \"bulkSchedule\"> & Pick<", "TaskStore", ", \"get\" | \"aggregate\" | \"fetch\" | \"remove\"> & { removeIfExists: (id: string) => Promise; } & { bulkRemoveIfExist: (ids: string[]) => Promise<", - "SavedObjectsBulkDeleteResponse", + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsBulkDeleteResponse", + "text": "SavedObjectsBulkDeleteResponse" + }, " | undefined>; } & { supportsEphemeralTasks: () => boolean; }" ], "path": "x-pack/plugins/task_manager/server/plugin.ts", diff --git a/api_docs/task_manager.mdx b/api_docs/task_manager.mdx index 01f2f05b1ff25..fe89099f39058 100644 --- a/api_docs/task_manager.mdx +++ b/api_docs/task_manager.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/taskManager title: "taskManager" image: https://source.unsplash.com/400x175/?github description: API docs for the taskManager plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'taskManager'] --- import taskManagerObj from './task_manager.devdocs.json'; diff --git a/api_docs/telemetry.mdx b/api_docs/telemetry.mdx index 15e22bc2e0d1e..be7c82fabaea5 100644 --- a/api_docs/telemetry.mdx +++ b/api_docs/telemetry.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/telemetry title: "telemetry" image: https://source.unsplash.com/400x175/?github description: API docs for the telemetry plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'telemetry'] --- import telemetryObj from './telemetry.devdocs.json'; diff --git a/api_docs/telemetry_collection_manager.devdocs.json b/api_docs/telemetry_collection_manager.devdocs.json index b54d4ad1f0e44..3767cd1d23e4f 100644 --- a/api_docs/telemetry_collection_manager.devdocs.json +++ b/api_docs/telemetry_collection_manager.devdocs.json @@ -1276,7 +1276,13 @@ "label": "soClient", "description": [], "signature": [ - "SavedObjectsClientContract" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + } ], "path": "src/plugins/telemetry_collection_manager/server/types.ts", "deprecated": false, @@ -1315,7 +1321,13 @@ "label": "logger", "description": [], "signature": [ - "Logger", + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + }, " | Console" ], "path": "src/plugins/telemetry_collection_manager/server/types.ts", diff --git a/api_docs/telemetry_collection_manager.mdx b/api_docs/telemetry_collection_manager.mdx index 0e4a5a88b22eb..2964f833c07ff 100644 --- a/api_docs/telemetry_collection_manager.mdx +++ b/api_docs/telemetry_collection_manager.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/telemetryCollectionManager title: "telemetryCollectionManager" image: https://source.unsplash.com/400x175/?github description: API docs for the telemetryCollectionManager plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'telemetryCollectionManager'] --- import telemetryCollectionManagerObj from './telemetry_collection_manager.devdocs.json'; diff --git a/api_docs/telemetry_collection_xpack.mdx b/api_docs/telemetry_collection_xpack.mdx index 31e322963bb99..44d7c04c68d09 100644 --- a/api_docs/telemetry_collection_xpack.mdx +++ b/api_docs/telemetry_collection_xpack.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/telemetryCollectionXpack title: "telemetryCollectionXpack" image: https://source.unsplash.com/400x175/?github description: API docs for the telemetryCollectionXpack plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'telemetryCollectionXpack'] --- import telemetryCollectionXpackObj from './telemetry_collection_xpack.devdocs.json'; diff --git a/api_docs/telemetry_management_section.mdx b/api_docs/telemetry_management_section.mdx index 6f1fb7c0bc3ae..f62747c1db850 100644 --- a/api_docs/telemetry_management_section.mdx +++ b/api_docs/telemetry_management_section.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/telemetryManagementSection title: "telemetryManagementSection" image: https://source.unsplash.com/400x175/?github description: API docs for the telemetryManagementSection plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'telemetryManagementSection'] --- import telemetryManagementSectionObj from './telemetry_management_section.devdocs.json'; diff --git a/api_docs/threat_intelligence.devdocs.json b/api_docs/threat_intelligence.devdocs.json index d5d35c60068c4..537c8c1268807 100644 --- a/api_docs/threat_intelligence.devdocs.json +++ b/api_docs/threat_intelligence.devdocs.json @@ -284,7 +284,13 @@ "description": [], "signature": [ "() => ", - "Query" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + } ], "path": "x-pack/plugins/threat_intelligence/public/types.ts", "deprecated": false, @@ -301,7 +307,13 @@ "description": [], "signature": [ "() => ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "x-pack/plugins/threat_intelligence/public/types.ts", @@ -319,7 +331,13 @@ "description": [], "signature": [ "() => ", - "TimeRange" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + } ], "path": "x-pack/plugins/threat_intelligence/public/types.ts", "deprecated": false, diff --git a/api_docs/threat_intelligence.mdx b/api_docs/threat_intelligence.mdx index 149dd66af1d95..c60c976f82d50 100644 --- a/api_docs/threat_intelligence.mdx +++ b/api_docs/threat_intelligence.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/threatIntelligence title: "threatIntelligence" image: https://source.unsplash.com/400x175/?github description: API docs for the threatIntelligence plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'threatIntelligence'] --- import threatIntelligenceObj from './threat_intelligence.devdocs.json'; diff --git a/api_docs/timelines.devdocs.json b/api_docs/timelines.devdocs.json index 5d590998cb26b..52b1527b4a539 100644 --- a/api_docs/timelines.devdocs.json +++ b/api_docs/timelines.devdocs.json @@ -305,7 +305,13 @@ "description": [], "signature": [ "(kueryExpression: string, indexPattern: ", - "DataViewBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, ") => ", "QueryDslQueryContainer" ], @@ -336,7 +342,13 @@ "label": "indexPattern", "description": [], "signature": [ - "DataViewBase" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + } ], "path": "x-pack/plugins/timelines/public/components/utils/keury/index.ts", "deprecated": false, @@ -356,7 +368,13 @@ "description": [], "signature": [ "(kueryExpression: string, indexPattern?: ", - "DataViewBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, " | undefined) => string" ], "path": "x-pack/plugins/timelines/public/components/utils/keury/index.ts", @@ -386,7 +404,13 @@ "label": "indexPattern", "description": [], "signature": [ - "DataViewBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, " | undefined" ], "path": "x-pack/plugins/timelines/public/components/utils/keury/index.ts", @@ -407,13 +431,37 @@ "description": [], "signature": [ "({ config, indexPattern, queries, filters, }: { config: ", - "EsQueryConfig", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.EsQueryConfig", + "text": "EsQueryConfig" + }, "; indexPattern: ", - "DataViewBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, " | undefined; queries: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, "[]; filters: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]; }) => [string, undefined] | [undefined, Error]" ], "path": "x-pack/plugins/timelines/public/components/utils/keury/index.ts", @@ -439,11 +487,29 @@ "label": "config", "description": [], "signature": [ - "KueryQueryOptions", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryQueryOptions", + "text": "KueryQueryOptions" + }, " & ", - "EsQueryFiltersConfig", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.EsQueryFiltersConfig", + "text": "EsQueryFiltersConfig" + }, " & { allowLeadingWildcards?: boolean | undefined; queryStringOptions?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }" ], "path": "x-pack/plugins/timelines/public/components/utils/keury/index.ts", @@ -458,7 +524,13 @@ "label": "indexPattern", "description": [], "signature": [ - "DataViewBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, " | undefined" ], "path": "x-pack/plugins/timelines/public/components/utils/keury/index.ts", @@ -473,7 +545,13 @@ "label": "queries", "description": [], "signature": [ - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, "[]" ], "path": "x-pack/plugins/timelines/public/components/utils/keury/index.ts", @@ -488,7 +566,13 @@ "label": "filters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "x-pack/plugins/timelines/public/components/utils/keury/index.ts", @@ -2763,7 +2847,13 @@ "text": "ColumnHeaderType" }, "; description?: string | null | undefined; esTypes?: string[] | undefined; example?: string | number | null | undefined; format?: string | undefined; linkField?: string | undefined; placeholder?: string | undefined; subType?: ", - "IFieldSubType", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.IFieldSubType", + "text": "IFieldSubType" + }, " | undefined; type?: string | undefined; })[]" ], "path": "x-pack/plugins/timelines/public/store/t_grid/model.ts", @@ -2828,7 +2918,13 @@ "label": "filters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[] | undefined" ], "path": "x-pack/plugins/timelines/public/store/t_grid/model.ts", @@ -3221,9 +3317,21 @@ "text": "ColumnHeaderType" }, "; description?: string | null | undefined; esTypes?: string[] | undefined; example?: string | number | null | undefined; format?: string | undefined; linkField?: string | undefined; placeholder?: string | undefined; subType?: ", - "IFieldSubType", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.IFieldSubType", + "text": "IFieldSubType" + }, " | undefined; type?: string | undefined; })[]; readonly title?: string | undefined; readonly filters?: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[] | undefined; readonly dataViewId: string | null; readonly sort: ", "SortColumnTable", "[]; readonly defaultColumns: (Pick<", @@ -3241,7 +3349,13 @@ "text": "ColumnHeaderType" }, "; description?: string | null | undefined; esTypes?: string[] | undefined; example?: string | number | null | undefined; format?: string | undefined; linkField?: string | undefined; placeholder?: string | undefined; subType?: ", - "IFieldSubType", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.IFieldSubType", + "text": "IFieldSubType" + }, " | undefined; type?: string | undefined; })[]; readonly isLoading: boolean; readonly queryFields: string[]; readonly showCheckboxes: boolean; readonly deletedEventIds: string[]; readonly expandedDetail: Partial>; readonly graphEventId?: string | undefined; readonly indexNames: string[]; readonly isSelectAllChecked: boolean; readonly itemsPerPage: number; readonly itemsPerPageOptions: number[]; readonly loadingEventIds: string[]; readonly selectedEventIds: Record" ], "path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts", @@ -97,7 +109,13 @@ "description": [], "signature": [ "(core: ", - "CoreSetup", + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreSetup", + "text": "CoreSetup" + }, ", plugins: PluginsSetup) => ", { "pluginId": "triggersActionsUi", @@ -119,7 +137,13 @@ "label": "core", "description": [], "signature": [ - "CoreSetup", + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreSetup", + "text": "CoreSetup" + }, "" ], "path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts", @@ -378,7 +402,13 @@ "description": [], "signature": [ "({\n ids,\n http,\n}: { ids: string[]; http: ", - "HttpSetup", + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpSetup", + "text": "HttpSetup" + }, "; }) => Promise<{ successes: string[]; errors: string[]; }>" ], "path": "x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/delete.ts", @@ -418,7 +448,13 @@ "label": "http", "description": [], "signature": [ - "HttpSetup" + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpSetup", + "text": "HttpSetup" + } ], "path": "x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/delete.ts", "deprecated": false, @@ -439,7 +475,13 @@ "description": [], "signature": [ "({ id, http }: { id: string; http: ", - "HttpSetup", + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpSetup", + "text": "HttpSetup" + }, "; }) => Promise" ], "path": "x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/disable.ts", @@ -476,7 +518,13 @@ "label": "http", "description": [], "signature": [ - "HttpSetup" + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpSetup", + "text": "HttpSetup" + } ], "path": "x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/disable.ts", "deprecated": false, @@ -531,7 +579,13 @@ "description": [], "signature": [ "({ id, http }: { id: string; http: ", - "HttpSetup", + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpSetup", + "text": "HttpSetup" + }, "; }) => Promise" ], "path": "x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/enable.ts", @@ -568,7 +622,13 @@ "label": "http", "description": [], "signature": [ - "HttpSetup" + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpSetup", + "text": "HttpSetup" + } ], "path": "x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/enable.ts", "deprecated": false, @@ -623,7 +683,13 @@ "description": [], "signature": [ "(http: ", - "HttpSetup", + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpSetup", + "text": "HttpSetup" + }, ", indexes: string[]) => Promise<{ name: string; type: string; normalizedType: string; searchable: boolean; aggregatable: boolean; }[]>" ], "path": "x-pack/plugins/triggers_actions_ui/public/common/index_controls/index.ts", @@ -638,7 +704,13 @@ "label": "http", "description": [], "signature": [ - "HttpSetup" + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpSetup", + "text": "HttpSetup" + } ], "path": "x-pack/plugins/triggers_actions_ui/public/common/index_controls/index.ts", "deprecated": false, @@ -673,7 +745,13 @@ "description": [], "signature": [ "(http: ", - "HttpSetup", + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpSetup", + "text": "HttpSetup" + }, ", pattern: string) => Promise<", "IOption", "[]>" @@ -690,7 +768,13 @@ "label": "http", "description": [], "signature": [ - "HttpSetup" + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpSetup", + "text": "HttpSetup" + } ], "path": "x-pack/plugins/triggers_actions_ui/public/common/index_controls/index.ts", "deprecated": false, @@ -784,7 +868,7 @@ "section": "def-public.TIME_UNITS", "text": "TIME_UNITS" }, - ", timeValue: string) => string" + ", timeValue: string) => any" ], "path": "x-pack/plugins/triggers_actions_ui/public/common/lib/get_time_unit_label.ts", "deprecated": false, @@ -1014,7 +1098,13 @@ "({ id, http, dateStart, dateEnd, runId, message, perPage, page, sort, }: ", "LoadActionErrorLogProps", " & { http: ", - "HttpSetup", + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpSetup", + "text": "HttpSetup" + }, "; }) => Promise<", { "pluginId": "alerting", @@ -1039,7 +1129,13 @@ "signature": [ "LoadActionErrorLogProps", " & { http: ", - "HttpSetup", + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpSetup", + "text": "HttpSetup" + }, "; }" ], "path": "x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/load_action_error_log.ts", @@ -1060,7 +1156,13 @@ "description": [], "signature": [ "({\n http,\n featureId,\n}: { http: ", - "HttpSetup", + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpSetup", + "text": "HttpSetup" + }, "; featureId?: string | undefined; }) => Promise<", { "pluginId": "actions", @@ -1094,7 +1196,13 @@ "label": "http", "description": [], "signature": [ - "HttpSetup" + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpSetup", + "text": "HttpSetup" + } ], "path": "x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/connector_types.ts", "deprecated": false, @@ -1129,7 +1237,13 @@ "description": [], "signature": [ "({ http }: { http: ", - "HttpSetup", + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpSetup", + "text": "HttpSetup" + }, "; }) => Promise<", { "pluginId": "triggersActionsUi", @@ -1163,7 +1277,13 @@ "label": "http", "description": [], "signature": [ - "HttpSetup" + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpSetup", + "text": "HttpSetup" + } ], "path": "x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/connectors.ts", "deprecated": false, @@ -1186,7 +1306,13 @@ "({ id, http, dateStart, dateEnd, outcomeFilter, message, perPage, page, sort, }: ", "LoadExecutionLogAggregationsProps", " & { http: ", - "HttpSetup", + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpSetup", + "text": "HttpSetup" + }, "; }) => Promise<", { "pluginId": "alerting", @@ -1211,7 +1337,13 @@ "signature": [ "LoadExecutionLogAggregationsProps", " & { http: ", - "HttpSetup", + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpSetup", + "text": "HttpSetup" + }, "; }" ], "path": "x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/load_execution_log_aggregations.ts", @@ -1232,7 +1364,13 @@ "description": [], "signature": [ "({\n http,\n ruleId,\n}: { http: ", - "HttpSetup", + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpSetup", + "text": "HttpSetup" + }, "; ruleId: string; }) => Promise<", { "pluginId": "triggersActionsUi", @@ -1274,7 +1412,13 @@ "label": "http", "description": [], "signature": [ - "HttpSetup" + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpSetup", + "text": "HttpSetup" + } ], "path": "x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/get_rule.ts", "deprecated": false, @@ -1394,7 +1538,13 @@ "description": [], "signature": [ "({\n http,\n ruleId,\n numberOfExecutions,\n}: { http: ", - "HttpSetup", + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpSetup", + "text": "HttpSetup" + }, "; ruleId: string; numberOfExecutions?: number | undefined; }) => Promise<", { "pluginId": "alerting", @@ -1428,7 +1578,13 @@ "label": "http", "description": [], "signature": [ - "HttpSetup" + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpSetup", + "text": "HttpSetup" + } ], "path": "x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/rule_summary.ts", "deprecated": false, @@ -1474,7 +1630,13 @@ "description": [], "signature": [ "({ http }: { http: ", - "HttpSetup", + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpSetup", + "text": "HttpSetup" + }, "; }) => Promise<", "RuleTagsAggregations", ">" @@ -1502,7 +1664,13 @@ "label": "http", "description": [], "signature": [ - "HttpSetup" + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpSetup", + "text": "HttpSetup" + } ], "path": "x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/aggregate.ts", "deprecated": false, @@ -1523,7 +1691,13 @@ "description": [], "signature": [ "({ http }: { http: ", - "HttpSetup", + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpSetup", + "text": "HttpSetup" + }, "; }) => Promise<", { "pluginId": "triggersActionsUi", @@ -1557,7 +1731,13 @@ "label": "http", "description": [], "signature": [ - "HttpSetup" + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpSetup", + "text": "HttpSetup" + } ], "path": "x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/rule_types.ts", "deprecated": false, @@ -1611,7 +1791,13 @@ "description": [], "signature": [ "({ id, http }: { id: string; http: ", - "HttpSetup", + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpSetup", + "text": "HttpSetup" + }, "; }) => Promise" ], "path": "x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/mute.ts", @@ -1648,7 +1834,13 @@ "label": "http", "description": [], "signature": [ - "HttpSetup" + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpSetup", + "text": "HttpSetup" + } ], "path": "x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/mute.ts", "deprecated": false, @@ -1769,7 +1961,13 @@ "({\n id,\n snoozeSchedule,\n http,\n}: { id: string; snoozeSchedule: ", "SnoozeSchedule", "; http: ", - "HttpSetup", + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpSetup", + "text": "HttpSetup" + }, "; }) => Promise" ], "path": "x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/snooze.ts", @@ -1820,7 +2018,13 @@ "label": "http", "description": [], "signature": [ - "HttpSetup" + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpSetup", + "text": "HttpSetup" + } ], "path": "x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/snooze.ts", "deprecated": false, @@ -2036,7 +2240,13 @@ "description": [], "signature": [ "({ id, http }: { id: string; http: ", - "HttpSetup", + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpSetup", + "text": "HttpSetup" + }, "; }) => Promise" ], "path": "x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/unmute.ts", @@ -2073,7 +2283,13 @@ "label": "http", "description": [], "signature": [ - "HttpSetup" + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpSetup", + "text": "HttpSetup" + } ], "path": "x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/unmute.ts", "deprecated": false, @@ -2094,7 +2310,13 @@ "description": [], "signature": [ "({\n id,\n http,\n scheduleIds,\n}: { id: string; http: ", - "HttpSetup", + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpSetup", + "text": "HttpSetup" + }, "; scheduleIds?: string[] | undefined; }) => Promise" ], "path": "x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/unsnooze.ts", @@ -2131,7 +2353,13 @@ "label": "http", "description": [], "signature": [ - "HttpSetup" + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpSetup", + "text": "HttpSetup" + } ], "path": "x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/unsnooze.ts", "deprecated": false, @@ -2166,7 +2394,13 @@ "description": [], "signature": [ "({\n http,\n connector,\n id,\n}: { http: ", - "HttpSetup", + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpSetup", + "text": "HttpSetup" + }, "; connector: Pick<", "ActionConnectorWithoutId", ", Record>, \"name\" | \"config\" | \"secrets\">; id: string; }) => Promise<", @@ -2202,7 +2436,13 @@ "label": "http", "description": [], "signature": [ - "HttpSetup" + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpSetup", + "text": "HttpSetup" + } ], "path": "x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/update.ts", "deprecated": false, @@ -2317,7 +2557,13 @@ "text": "KibanaReactContextValue" }, " & ", { "pluginId": "triggersActionsUi", @@ -2530,7 +2776,13 @@ "description": [], "signature": [ "(key: string, value: ", - "SavedObjectAttribute", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectAttribute", + "text": "SavedObjectAttribute" + }, ", index: number) => void" ], "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", @@ -2560,7 +2812,13 @@ "label": "value", "description": [], "signature": [ - "SavedObjectAttribute" + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectAttribute", + "text": "SavedObjectAttribute" + } ], "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", "deprecated": false, @@ -3141,7 +3399,7 @@ "description": [], "signature": [ "BasicFields", - " & { tags?: string[] | undefined; kibana?: string[] | undefined; \"@timestamp\"?: string[] | undefined; \"kibana.alert.rule.rule_type_id\"?: string[] | undefined; \"kibana.alert.rule.consumer\"?: string[] | undefined; \"event.action\"?: string[] | undefined; \"kibana.alert.rule.execution.uuid\"?: string[] | undefined; \"kibana.alert.rule.parameters\"?: string[] | undefined; \"kibana.alert.rule.producer\"?: string[] | undefined; \"kibana.space_ids\"?: string[] | undefined; \"kibana.alert.uuid\"?: string[] | undefined; \"kibana.alert.instance.id\"?: string[] | undefined; \"kibana.alert.start\"?: string[] | undefined; \"kibana.alert.time_range\"?: string[] | undefined; \"kibana.alert.end\"?: string[] | undefined; \"kibana.alert.duration.us\"?: string[] | undefined; \"kibana.alert.severity\"?: string[] | undefined; \"kibana.alert.status\"?: string[] | undefined; \"kibana.version\"?: string[] | undefined; \"ecs.version\"?: string[] | undefined; \"kibana.alert.risk_score\"?: string[] | undefined; \"kibana.alert.workflow_status\"?: string[] | undefined; \"kibana.alert.workflow_user\"?: string[] | undefined; \"kibana.alert.workflow_reason\"?: string[] | undefined; \"kibana.alert.system_status\"?: string[] | undefined; \"kibana.alert.action_group\"?: string[] | undefined; \"kibana.alert.reason\"?: string[] | undefined; \"kibana.alert.rule.author\"?: string[] | undefined; \"kibana.alert.rule.category\"?: string[] | undefined; \"kibana.alert.rule.uuid\"?: string[] | undefined; \"kibana.alert.rule.created_at\"?: string[] | undefined; \"kibana.alert.rule.created_by\"?: string[] | undefined; \"kibana.alert.rule.description\"?: string[] | undefined; \"kibana.alert.rule.enabled\"?: string[] | undefined; \"kibana.alert.rule.from\"?: string[] | undefined; \"kibana.alert.rule.interval\"?: string[] | undefined; \"kibana.alert.rule.license\"?: string[] | undefined; \"kibana.alert.rule.name\"?: string[] | undefined; \"kibana.alert.rule.note\"?: string[] | undefined; \"kibana.alert.rule.references\"?: string[] | undefined; \"kibana.alert.rule.rule_id\"?: string[] | undefined; \"kibana.alert.rule.rule_name_override\"?: string[] | undefined; \"kibana.alert.rule.tags\"?: string[] | undefined; \"kibana.alert.rule.to\"?: string[] | undefined; \"kibana.alert.rule.type\"?: string[] | undefined; \"kibana.alert.rule.updated_at\"?: string[] | undefined; \"kibana.alert.rule.updated_by\"?: string[] | undefined; \"kibana.alert.rule.version\"?: string[] | undefined; \"event.kind\"?: string[] | undefined; \"event.module\"?: string[] | undefined; \"kibana.alert.evaluation.threshold\"?: string[] | undefined; \"kibana.alert.evaluation.value\"?: string[] | undefined; \"kibana.alert.building_block_type\"?: string[] | undefined; \"kibana.alert.rule.exceptions_list\"?: string[] | undefined; \"kibana.alert.rule.namespace\"?: string[] | undefined; \"kibana.alert\"?: string[] | undefined; \"kibana.alert.rule\"?: string[] | undefined; } & { [x: string]: unknown[]; }" + " & { tags?: string[] | undefined; kibana?: string[] | undefined; \"@timestamp\"?: string[] | undefined; \"kibana.alert.rule.rule_type_id\"?: string[] | undefined; \"kibana.alert.rule.consumer\"?: string[] | undefined; \"event.action\"?: string[] | undefined; \"kibana.alert.rule.execution.uuid\"?: string[] | undefined; \"kibana.alert\"?: string[] | undefined; \"kibana.alert.rule\"?: string[] | undefined; \"kibana.alert.rule.parameters\"?: string[] | undefined; \"kibana.alert.rule.producer\"?: string[] | undefined; \"kibana.space_ids\"?: string[] | undefined; \"kibana.alert.uuid\"?: string[] | undefined; \"kibana.alert.instance.id\"?: string[] | undefined; \"kibana.alert.start\"?: string[] | undefined; \"kibana.alert.time_range\"?: string[] | undefined; \"kibana.alert.end\"?: string[] | undefined; \"kibana.alert.duration.us\"?: string[] | undefined; \"kibana.alert.severity\"?: string[] | undefined; \"kibana.alert.status\"?: string[] | undefined; \"kibana.version\"?: string[] | undefined; \"ecs.version\"?: string[] | undefined; \"kibana.alert.risk_score\"?: string[] | undefined; \"kibana.alert.workflow_status\"?: string[] | undefined; \"kibana.alert.workflow_user\"?: string[] | undefined; \"kibana.alert.workflow_reason\"?: string[] | undefined; \"kibana.alert.system_status\"?: string[] | undefined; \"kibana.alert.action_group\"?: string[] | undefined; \"kibana.alert.reason\"?: string[] | undefined; \"kibana.alert.rule.author\"?: string[] | undefined; \"kibana.alert.rule.category\"?: string[] | undefined; \"kibana.alert.rule.uuid\"?: string[] | undefined; \"kibana.alert.rule.created_at\"?: string[] | undefined; \"kibana.alert.rule.created_by\"?: string[] | undefined; \"kibana.alert.rule.description\"?: string[] | undefined; \"kibana.alert.rule.enabled\"?: string[] | undefined; \"kibana.alert.rule.from\"?: string[] | undefined; \"kibana.alert.rule.interval\"?: string[] | undefined; \"kibana.alert.rule.license\"?: string[] | undefined; \"kibana.alert.rule.name\"?: string[] | undefined; \"kibana.alert.rule.note\"?: string[] | undefined; \"kibana.alert.rule.references\"?: string[] | undefined; \"kibana.alert.rule.rule_id\"?: string[] | undefined; \"kibana.alert.rule.rule_name_override\"?: string[] | undefined; \"kibana.alert.rule.tags\"?: string[] | undefined; \"kibana.alert.rule.to\"?: string[] | undefined; \"kibana.alert.rule.type\"?: string[] | undefined; \"kibana.alert.rule.updated_at\"?: string[] | undefined; \"kibana.alert.rule.updated_by\"?: string[] | undefined; \"kibana.alert.rule.version\"?: string[] | undefined; \"event.kind\"?: string[] | undefined; \"event.module\"?: string[] | undefined; \"kibana.alert.evaluation.threshold\"?: string[] | undefined; \"kibana.alert.evaluation.value\"?: string[] | undefined; \"kibana.alert.building_block_type\"?: string[] | undefined; \"kibana.alert.rule.exceptions_list\"?: string[] | undefined; \"kibana.alert.rule.namespace\"?: string[] | undefined; } & { [x: string]: unknown[]; }" ], "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", "deprecated": false, @@ -4250,7 +4508,13 @@ "label": "params", "description": [], "signature": [ - "SavedObjectAttributes" + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectAttributes", + "text": "SavedObjectAttributes" + } ], "path": "x-pack/plugins/alerting/common/rule.ts", "deprecated": false, @@ -4874,7 +5138,13 @@ "description": [], "signature": [ "string | ((docLinks: ", - "DocLinksStart", + { + "pluginId": "@kbn/core-doc-links-browser", + "scope": "common", + "docId": "kibKbnCoreDocLinksBrowserPluginApi", + "section": "def-common.DocLinksStart", + "text": "DocLinksStart" + }, ") => string) | null" ], "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", @@ -5373,7 +5643,13 @@ "text": "TriggersAndActionsUiServices" }, " extends ", - "CoreStart" + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreStart", + "text": "CoreStart" + } ], "path": "x-pack/plugins/triggers_actions_ui/public/application/app.tsx", "deprecated": false, @@ -5719,7 +5995,13 @@ "label": "history", "description": [], "signature": [ - "ScopedHistory", + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.ScopedHistory", + "text": "ScopedHistory" + }, "" ], "path": "x-pack/plugins/triggers_actions_ui/public/application/app.tsx", @@ -5771,7 +6053,13 @@ "signature": [ "Observable", "<", - "CoreTheme", + { + "pluginId": "@kbn/core-theme-browser", + "scope": "common", + "docId": "kibKbnCoreThemeBrowserPluginApi", + "section": "def-common.CoreTheme", + "text": "CoreTheme" + }, ">" ], "path": "x-pack/plugins/triggers_actions_ui/public/application/app.tsx", @@ -6102,10 +6390,13 @@ { "parentPluginId": "triggersActionsUi", "id": "def-public.connectorDeprecatedMessage", - "type": "string", + "type": "Any", "tags": [], "label": "connectorDeprecatedMessage", "description": [], + "signature": [ + "any" + ], "path": "x-pack/plugins/triggers_actions_ui/public/common/connectors_selection.tsx", "deprecated": false, "trackAdoption": false, @@ -6135,10 +6426,13 @@ { "parentPluginId": "triggersActionsUi", "id": "def-public.deprecatedMessage", - "type": "string", + "type": "Any", "tags": [], "label": "deprecatedMessage", "description": [], + "signature": [ + "any" + ], "path": "x-pack/plugins/triggers_actions_ui/public/common/connectors_selection.tsx", "deprecated": false, "trackAdoption": false, @@ -6699,10 +6993,13 @@ { "parentPluginId": "triggersActionsUi", "id": "def-public.builtInComparators.COMPARATORS.GREATER_THAN.text", - "type": "string", + "type": "Any", "tags": [], "label": "text", "description": [], + "signature": [ + "any" + ], "path": "x-pack/plugins/triggers_actions_ui/public/common/constants/comparators.ts", "deprecated": false, "trackAdoption": false @@ -6754,10 +7051,13 @@ { "parentPluginId": "triggersActionsUi", "id": "def-public.builtInComparators.COMPARATORS.GREATER_THAN_OR_EQUALS.text", - "type": "string", + "type": "Any", "tags": [], "label": "text", "description": [], + "signature": [ + "any" + ], "path": "x-pack/plugins/triggers_actions_ui/public/common/constants/comparators.ts", "deprecated": false, "trackAdoption": false @@ -6809,10 +7109,13 @@ { "parentPluginId": "triggersActionsUi", "id": "def-public.builtInComparators.COMPARATORS.LESS_THAN.text", - "type": "string", + "type": "Any", "tags": [], "label": "text", "description": [], + "signature": [ + "any" + ], "path": "x-pack/plugins/triggers_actions_ui/public/common/constants/comparators.ts", "deprecated": false, "trackAdoption": false @@ -6864,10 +7167,13 @@ { "parentPluginId": "triggersActionsUi", "id": "def-public.builtInComparators.COMPARATORS.LESS_THAN_OR_EQUALS.text", - "type": "string", + "type": "Any", "tags": [], "label": "text", "description": [], + "signature": [ + "any" + ], "path": "x-pack/plugins/triggers_actions_ui/public/common/constants/comparators.ts", "deprecated": false, "trackAdoption": false @@ -6919,10 +7225,13 @@ { "parentPluginId": "triggersActionsUi", "id": "def-public.builtInComparators.COMPARATORS.BETWEEN.text", - "type": "string", + "type": "Any", "tags": [], "label": "text", "description": [], + "signature": [ + "any" + ], "path": "x-pack/plugins/triggers_actions_ui/public/common/constants/comparators.ts", "deprecated": false, "trackAdoption": false @@ -6988,10 +7297,13 @@ { "parentPluginId": "triggersActionsUi", "id": "def-public.builtInGroupByTypes.all.text", - "type": "string", + "type": "Any", "tags": [], "label": "text", "description": [], + "signature": [ + "any" + ], "path": "x-pack/plugins/triggers_actions_ui/public/common/constants/group_by_types.ts", "deprecated": false, "trackAdoption": false @@ -7051,10 +7363,13 @@ { "parentPluginId": "triggersActionsUi", "id": "def-public.builtInGroupByTypes.top.text", - "type": "string", + "type": "Any", "tags": [], "label": "text", "description": [], + "signature": [ + "any" + ], "path": "x-pack/plugins/triggers_actions_ui/public/common/constants/group_by_types.ts", "deprecated": false, "trackAdoption": false @@ -7117,10 +7432,13 @@ { "parentPluginId": "triggersActionsUi", "id": "def-public.firstFieldOption.text", - "type": "string", + "type": "Any", "tags": [], "label": "text", "description": [], + "signature": [ + "any" + ], "path": "x-pack/plugins/triggers_actions_ui/public/common/index_controls/index.ts", "deprecated": false, "trackAdoption": false @@ -8268,7 +8586,13 @@ "// name of the indices to search" ], "signature": [ - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "" ], "path": "x-pack/plugins/triggers_actions_ui/server/data/lib/core_query_types.ts", @@ -8285,7 +8609,13 @@ "// field in index used for date/time" ], "signature": [ - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "" ], "path": "x-pack/plugins/triggers_actions_ui/server/data/lib/core_query_types.ts", @@ -8302,7 +8632,13 @@ "// aggregation type" ], "signature": [ - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "" ], "path": "x-pack/plugins/triggers_actions_ui/server/data/lib/core_query_types.ts", @@ -8319,7 +8655,13 @@ "// aggregation field" ], "signature": [ - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "" ], "path": "x-pack/plugins/triggers_actions_ui/server/data/lib/core_query_types.ts", @@ -8336,7 +8678,13 @@ "// how to group" ], "signature": [ - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "" ], "path": "x-pack/plugins/triggers_actions_ui/server/data/lib/core_query_types.ts", @@ -8353,7 +8701,13 @@ "// field to group on (for groupBy: top)" ], "signature": [ - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "" ], "path": "x-pack/plugins/triggers_actions_ui/server/data/lib/core_query_types.ts", @@ -8370,7 +8724,13 @@ "// filter field" ], "signature": [ - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "" ], "path": "x-pack/plugins/triggers_actions_ui/server/data/lib/core_query_types.ts", @@ -8387,7 +8747,13 @@ "// limit on number of groups returned" ], "signature": [ - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "" ], "path": "x-pack/plugins/triggers_actions_ui/server/data/lib/core_query_types.ts", @@ -8404,7 +8770,13 @@ "// size of time window for date range aggregations" ], "signature": [ - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "" ], "path": "x-pack/plugins/triggers_actions_ui/server/data/lib/core_query_types.ts", @@ -8421,7 +8793,13 @@ "// units of time window for date range aggregations" ], "signature": [ - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "" ], "path": "x-pack/plugins/triggers_actions_ui/server/data/lib/core_query_types.ts", diff --git a/api_docs/triggers_actions_ui.mdx b/api_docs/triggers_actions_ui.mdx index 614696fed1bf9..fcfb4580843aa 100644 --- a/api_docs/triggers_actions_ui.mdx +++ b/api_docs/triggers_actions_ui.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/triggersActionsUi title: "triggersActionsUi" image: https://source.unsplash.com/400x175/?github description: API docs for the triggersActionsUi plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'triggersActionsUi'] --- import triggersActionsUiObj from './triggers_actions_ui.devdocs.json'; @@ -21,7 +21,7 @@ Contact [Response Ops](https://github.com/orgs/elastic/teams/response-ops) for q | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 518 | 1 | 489 | 49 | +| 518 | 11 | 489 | 49 | ## Client diff --git a/api_docs/ui_actions.devdocs.json b/api_docs/ui_actions.devdocs.json index d224e96cb9e8a..6b4184d529883 100644 --- a/api_docs/ui_actions.devdocs.json +++ b/api_docs/ui_actions.devdocs.json @@ -2141,7 +2141,13 @@ "text": "SerializedFieldFormat" }, "<{}, ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">> | undefined; runtimeFieldMap?: Record ", { "pluginId": "uiActionsEnhanced", @@ -1051,7 +1063,13 @@ "label": "references", "description": [], "signature": [ - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]" ], "path": "src/plugins/ui_actions_enhanced/public/dynamic_actions/action_factory.ts", @@ -1081,7 +1099,13 @@ "text": "AdvancedUiActionsPublicPlugin" }, " implements ", - "Plugin", + { + "pluginId": "@kbn/core-plugins-browser", + "scope": "common", + "docId": "kibKbnCorePluginsBrowserPluginApi", + "section": "def-common.Plugin", + "text": "Plugin" + }, "<", { "pluginId": "uiActionsEnhanced", @@ -1145,7 +1169,13 @@ "label": "initializerContext", "description": [], "signature": [ - "PluginInitializerContext", + { + "pluginId": "@kbn/core-plugins-browser", + "scope": "common", + "docId": "kibKbnCorePluginsBrowserPluginApi", + "section": "def-common.PluginInitializerContext", + "text": "PluginInitializerContext" + }, "" ], "path": "src/plugins/ui_actions_enhanced/public/plugin.ts", @@ -1165,7 +1195,13 @@ "description": [], "signature": [ "(core: ", - "CoreSetup", + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreSetup", + "text": "CoreSetup" + }, "<", "StartDependencies", ", unknown>, { embeddable, uiActions, licensing }: SetupDependencies) => ", @@ -1189,7 +1225,13 @@ "label": "core", "description": [], "signature": [ - "CoreSetup", + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreSetup", + "text": "CoreSetup" + }, "<", "StartDependencies", ", unknown>" @@ -1226,7 +1268,13 @@ "description": [], "signature": [ "(core: ", - "CoreStart", + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreStart", + "text": "CoreStart" + }, ", { uiActions, licensing }: ", "StartDependencies", ") => ", @@ -1250,7 +1298,13 @@ "label": "core", "description": [], "signature": [ - "CoreStart" + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreStart", + "text": "CoreStart" + } ], "path": "src/plugins/ui_actions_enhanced/public/plugin.ts", "deprecated": false, @@ -1628,7 +1682,13 @@ "text": "SerializedAction" }, "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">, triggers: string[]) => Promise" ], "path": "src/plugins/ui_actions_enhanced/public/dynamic_actions/dynamic_action_manager.ts", @@ -1653,7 +1713,13 @@ "text": "SerializedAction" }, "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">" ], "path": "src/plugins/ui_actions_enhanced/public/dynamic_actions/dynamic_action_manager.ts", @@ -1700,7 +1766,13 @@ "text": "SerializedAction" }, "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">, triggers: string[]) => Promise" ], "path": "src/plugins/ui_actions_enhanced/public/dynamic_actions/dynamic_action_manager.ts", @@ -1742,7 +1814,13 @@ "text": "SerializedAction" }, "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">" ], "path": "src/plugins/ui_actions_enhanced/public/dynamic_actions/dynamic_action_manager.ts", @@ -1932,7 +2010,13 @@ "text": "SerializedAction" }, "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">; }[]>" ], "path": "src/plugins/ui_actions_enhanced/public/dynamic_actions/dynamic_action_storage.ts", @@ -3264,7 +3348,13 @@ "text": "ActionFactory" }, "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ", object, ", { "pluginId": "uiActionsEnhanced", @@ -3417,7 +3507,13 @@ "label": "BaseActionConfig", "description": [], "signature": [ - "SerializableRecord" + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + } ], "path": "src/plugins/ui_actions_enhanced/common/types.ts", "deprecated": false, @@ -3496,7 +3592,13 @@ "text": "SerializedAction" }, "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">; }" ], "path": "src/plugins/ui_actions_enhanced/common/types.ts", @@ -3656,7 +3758,13 @@ "text": "AdvancedUiActionsServerPlugin" }, " implements ", - "Plugin", + { + "pluginId": "@kbn/core-plugins-server", + "scope": "server", + "docId": "kibKbnCorePluginsServerPluginApi", + "section": "def-server.Plugin", + "text": "Plugin" + }, "<", { "pluginId": "uiActionsEnhanced", @@ -3726,7 +3834,13 @@ "description": [], "signature": [ "(core: ", - "CoreSetup", + { + "pluginId": "@kbn/core-lifecycle-server", + "scope": "server", + "docId": "kibKbnCoreLifecycleServerPluginApi", + "section": "def-server.CoreSetup", + "text": "CoreSetup" + }, ", { embeddable }: SetupDependencies) => { registerActionFactory: (definition: ", { "pluginId": "uiActionsEnhanced", @@ -3757,7 +3871,13 @@ "label": "core", "description": [], "signature": [ - "CoreSetup", + { + "pluginId": "@kbn/core-lifecycle-server", + "scope": "server", + "docId": "kibKbnCoreLifecycleServerPluginApi", + "section": "def-server.CoreSetup", + "text": "CoreSetup" + }, "" ], "path": "src/plugins/ui_actions_enhanced/server/plugin.ts", @@ -3983,7 +4103,13 @@ "label": "BaseActionConfig", "description": [], "signature": [ - "SerializableRecord" + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + } ], "path": "src/plugins/ui_actions_enhanced/common/types.ts", "deprecated": false, @@ -4047,7 +4173,13 @@ "text": "SerializedAction" }, "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">; }" ], "path": "src/plugins/ui_actions_enhanced/common/types.ts", @@ -4166,7 +4298,13 @@ "label": "BaseActionConfig", "description": [], "signature": [ - "SerializableRecord" + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + } ], "path": "src/plugins/ui_actions_enhanced/common/types.ts", "deprecated": false, @@ -4230,7 +4368,13 @@ "text": "SerializedAction" }, "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">; }" ], "path": "src/plugins/ui_actions_enhanced/common/types.ts", diff --git a/api_docs/ui_actions_enhanced.mdx b/api_docs/ui_actions_enhanced.mdx index 0864d1185946a..14642b43886d9 100644 --- a/api_docs/ui_actions_enhanced.mdx +++ b/api_docs/ui_actions_enhanced.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/uiActionsEnhanced title: "uiActionsEnhanced" image: https://source.unsplash.com/400x175/?github description: API docs for the uiActionsEnhanced plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'uiActionsEnhanced'] --- import uiActionsEnhancedObj from './ui_actions_enhanced.devdocs.json'; diff --git a/api_docs/unified_field_list.devdocs.json b/api_docs/unified_field_list.devdocs.json index a847042c5b382..59cba2f7f458a 100644 --- a/api_docs/unified_field_list.devdocs.json +++ b/api_docs/unified_field_list.devdocs.json @@ -648,7 +648,13 @@ "text": "DataView" }, " | undefined, query: ", - "AggregateQuery", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.AggregateQuery", + "text": "AggregateQuery" + }, " | undefined) => void" ], "path": "src/plugins/unified_field_list/public/components/field_visualize_button/visualize_trigger_utils.ts", @@ -736,7 +742,13 @@ "label": "query", "description": [], "signature": [ - "AggregateQuery", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.AggregateQuery", + "text": "AggregateQuery" + }, " | undefined" ], "path": "src/plugins/unified_field_list/public/components/field_visualize_button/visualize_trigger_utils.ts", @@ -1123,9 +1135,21 @@ "label": "query", "description": [], "signature": [ - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | ", - "AggregateQuery" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.AggregateQuery", + "text": "AggregateQuery" + } ], "path": "src/plugins/unified_field_list/public/components/field_stats/field_stats.tsx", "deprecated": false, @@ -1139,7 +1163,13 @@ "label": "filters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "src/plugins/unified_field_list/public/components/field_stats/field_stats.tsx", @@ -1500,7 +1530,13 @@ "label": "uiSettings", "description": [], "signature": [ - "IUiSettingsClient" + { + "pluginId": "@kbn/core-ui-settings-browser", + "scope": "common", + "docId": "kibKbnCoreUiSettingsBrowserPluginApi", + "section": "def-common.IUiSettingsClient", + "text": "IUiSettingsClient" + } ], "path": "src/plugins/unified_field_list/public/components/field_stats/field_stats.tsx", "deprecated": false, diff --git a/api_docs/unified_field_list.mdx b/api_docs/unified_field_list.mdx index ef971e7091045..8129a0399b782 100644 --- a/api_docs/unified_field_list.mdx +++ b/api_docs/unified_field_list.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/unifiedFieldList title: "unifiedFieldList" image: https://source.unsplash.com/400x175/?github description: API docs for the unifiedFieldList plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'unifiedFieldList'] --- import unifiedFieldListObj from './unified_field_list.devdocs.json'; diff --git a/api_docs/unified_histogram.devdocs.json b/api_docs/unified_histogram.devdocs.json index ae17302e9ef1e..5ea1d379e5aea 100644 --- a/api_docs/unified_histogram.devdocs.json +++ b/api_docs/unified_histogram.devdocs.json @@ -1004,7 +1004,13 @@ "label": "uiSettings", "description": [], "signature": [ - "IUiSettingsClient" + { + "pluginId": "@kbn/core-ui-settings-browser", + "scope": "common", + "docId": "kibKbnCoreUiSettingsBrowserPluginApi", + "section": "def-common.IUiSettingsClient", + "text": "IUiSettingsClient" + } ], "path": "src/plugins/unified_histogram/public/types.ts", "deprecated": false, diff --git a/api_docs/unified_histogram.mdx b/api_docs/unified_histogram.mdx index 17f6303ebae06..7fa20d801431c 100644 --- a/api_docs/unified_histogram.mdx +++ b/api_docs/unified_histogram.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/unifiedHistogram title: "unifiedHistogram" image: https://source.unsplash.com/400x175/?github description: API docs for the unifiedHistogram plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'unifiedHistogram'] --- import unifiedHistogramObj from './unified_histogram.devdocs.json'; diff --git a/api_docs/unified_search.devdocs.json b/api_docs/unified_search.devdocs.json index 4ee81970fe4c7..95caead9e4701 100644 --- a/api_docs/unified_search.devdocs.json +++ b/api_docs/unified_search.devdocs.json @@ -270,11 +270,29 @@ "description": [], "signature": [ "(props: Omit<", { "pluginId": "unifiedSearch", @@ -299,9 +317,21 @@ "description": [], "signature": [ "{ query?: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | QT | undefined; dataTestSubj?: string | undefined; filters?: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[] | undefined; savedQuery?: ", { "pluginId": "data", @@ -331,13 +361,37 @@ " | undefined; customSubmitButton?: React.ReactNode; screenTitle?: string | undefined; showQueryInput?: boolean | undefined; showFilterBar?: boolean | undefined; showDatePicker?: boolean | undefined; showAutoRefreshOnly?: boolean | undefined; hiddenFilterPanelOptions?: ", "FilterPanelOption", "[] | undefined; isRefreshPaused?: boolean | undefined; dateRangeFrom?: string | undefined; dateRangeTo?: string | undefined; showSaveQuery?: boolean | undefined; onQueryChange?: ((payload: { dateRange: ", - "TimeRange", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, "; query?: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | QT | undefined; }) => void) | undefined; onQuerySubmit?: ((payload: { dateRange: ", - "TimeRange", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, "; query?: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | QT | undefined; }, isUpdate?: boolean | undefined) => void) | undefined; onSaved?: ((savedQuery: ", { "pluginId": "data", @@ -355,7 +409,13 @@ "text": "SavedQuery" }, ") => void) | undefined; onClearSavedQuery?: (() => void) | undefined; onRefresh?: ((payload: { dateRange: ", - "TimeRange", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, "; }) => void) | undefined; indicateNoData?: boolean | undefined; isClearable?: boolean | undefined; nonKqlMode?: \"text\" | \"lucene\" | undefined; displayStyle?: \"inPage\" | \"detached\" | undefined; fillSubmitButton?: boolean | undefined; dataViewPickerComponentProps?: ", { "pluginId": "unifiedSearch", @@ -369,7 +429,13 @@ ") => void) | undefined; showSubmitButton?: boolean | undefined; submitButtonStyle?: \"auto\" | \"full\" | \"iconOnly\" | undefined; suggestionsSize?: ", "SuggestionsListSize", " | undefined; isScreenshotMode?: boolean | undefined; onFiltersUpdated?: ((filters: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]) => void) | undefined; onRefreshChange?: ((options: { isPaused: boolean; refreshInterval: number; }) => void) | undefined; }" ], "path": "src/plugins/unified_search/public/search_bar/index.tsx", @@ -400,7 +466,13 @@ "label": "filters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "src/plugins/unified_search/public/actions/apply_filter_action.ts", @@ -820,7 +892,13 @@ "Array of filters that will be rendered as filter pills" ], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "src/plugins/unified_search/public/filter_bar/filter_item/filter_items.tsx", @@ -854,7 +932,13 @@ ], "signature": [ "((filters: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]) => void) | undefined" ], "path": "src/plugins/unified_search/public/filter_bar/filter_item/filter_items.tsx", @@ -869,7 +953,13 @@ "label": "filters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "src/plugins/unified_search/public/filter_bar/filter_item/filter_items.tsx", @@ -971,7 +1061,13 @@ "text": "IUnifiedSearchPluginServices" }, " extends Partial<", - "CoreStart", + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreStart", + "text": "CoreStart" + }, ">" ], "path": "src/plugins/unified_search/public/types.ts", @@ -1021,7 +1117,13 @@ "label": "uiSettings", "description": [], "signature": [ - "IUiSettingsClient" + { + "pluginId": "@kbn/core-ui-settings-browser", + "scope": "common", + "docId": "kibKbnCoreUiSettingsBrowserPluginApi", + "section": "def-common.IUiSettingsClient", + "text": "IUiSettingsClient" + } ], "path": "src/plugins/unified_search/public/types.ts", "deprecated": false, @@ -1035,7 +1137,13 @@ "label": "savedObjects", "description": [], "signature": [ - "SavedObjectsStart" + { + "pluginId": "@kbn/core-saved-objects-browser", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsBrowserPluginApi", + "section": "def-common.SavedObjectsStart", + "text": "SavedObjectsStart" + } ], "path": "src/plugins/unified_search/public/types.ts", "deprecated": false, @@ -1049,7 +1157,13 @@ "label": "notifications", "description": [], "signature": [ - "NotificationsStart" + { + "pluginId": "@kbn/core-notifications-browser", + "scope": "common", + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.NotificationsStart", + "text": "NotificationsStart" + } ], "path": "src/plugins/unified_search/public/types.ts", "deprecated": false, @@ -1063,7 +1177,13 @@ "label": "application", "description": [], "signature": [ - "ApplicationStart" + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.ApplicationStart", + "text": "ApplicationStart" + } ], "path": "src/plugins/unified_search/public/types.ts", "deprecated": false, @@ -1077,7 +1197,13 @@ "label": "http", "description": [], "signature": [ - "HttpSetup" + { + "pluginId": "@kbn/core-http-browser", + "scope": "common", + "docId": "kibKbnCoreHttpBrowserPluginApi", + "section": "def-common.HttpSetup", + "text": "HttpSetup" + } ], "path": "src/plugins/unified_search/public/types.ts", "deprecated": false, @@ -1112,7 +1238,13 @@ "label": "docLinks", "description": [], "signature": [ - "DocLinksStart" + { + "pluginId": "@kbn/core-doc-links-browser", + "scope": "common", + "docId": "kibKbnCoreDocLinksBrowserPluginApi", + "section": "def-common.DocLinksStart", + "text": "DocLinksStart" + } ], "path": "src/plugins/unified_search/public/types.ts", "deprecated": false, @@ -1395,7 +1527,13 @@ "description": [], "signature": [ "((query: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, ") => void) | undefined" ], "path": "src/plugins/unified_search/public/query_string_input/query_string_input.tsx", @@ -1410,7 +1548,13 @@ "label": "query", "description": [], "signature": [ - "Query" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + } ], "path": "src/plugins/unified_search/public/query_string_input/query_string_input.tsx", "deprecated": false, @@ -1461,7 +1605,13 @@ "description": [], "signature": [ "((query: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, ") => void) | undefined" ], "path": "src/plugins/unified_search/public/query_string_input/query_string_input.tsx", @@ -1476,7 +1626,13 @@ "label": "query", "description": [], "signature": [ - "Query" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + } ], "path": "src/plugins/unified_search/public/query_string_input/query_string_input.tsx", "deprecated": false, @@ -1904,7 +2060,13 @@ "text": "UnifiedSearchServerPlugin" }, " implements ", - "Plugin", + { + "pluginId": "@kbn/core-plugins-server", + "scope": "server", + "docId": "kibKbnCorePluginsServerPluginApi", + "section": "def-server.Plugin", + "text": "Plugin" + }, "<", { "pluginId": "unifiedSearch", @@ -1941,7 +2103,13 @@ "label": "initializerContext", "description": [], "signature": [ - "PluginInitializerContext", + { + "pluginId": "@kbn/core-plugins-server", + "scope": "server", + "docId": "kibKbnCorePluginsServerPluginApi", + "section": "def-server.PluginInitializerContext", + "text": "PluginInitializerContext" + }, "; valueSuggestions: Readonly<{} & { timeout: moment.Duration; enabled: boolean; tiers: string[]; terminateAfter: moment.Duration; }>; }>; }>>" ], "path": "src/plugins/unified_search/server/plugin.ts", @@ -1961,7 +2129,13 @@ "description": [], "signature": [ "(core: ", - "CoreSetup", + { + "pluginId": "@kbn/core-lifecycle-server", + "scope": "server", + "docId": "kibKbnCoreLifecycleServerPluginApi", + "section": "def-server.CoreSetup", + "text": "CoreSetup" + }, "<", "UnifiedSearchServerPluginStartDependencies", ", ", @@ -1988,7 +2162,13 @@ "label": "core", "description": [], "signature": [ - "CoreSetup", + { + "pluginId": "@kbn/core-lifecycle-server", + "scope": "server", + "docId": "kibKbnCoreLifecycleServerPluginApi", + "section": "def-server.CoreSetup", + "text": "CoreSetup" + }, "<", "UnifiedSearchServerPluginStartDependencies", ", ", @@ -2033,7 +2213,13 @@ "description": [], "signature": [ "(core: ", - "CoreStart", + { + "pluginId": "@kbn/core-lifecycle-server", + "scope": "server", + "docId": "kibKbnCoreLifecycleServerPluginApi", + "section": "def-server.CoreStart", + "text": "CoreStart" + }, ", {}: ", "UnifiedSearchServerPluginStartDependencies", ") => {}" @@ -2050,7 +2236,13 @@ "label": "core", "description": [], "signature": [ - "CoreStart" + { + "pluginId": "@kbn/core-lifecycle-server", + "scope": "server", + "docId": "kibKbnCoreLifecycleServerPluginApi", + "section": "def-server.CoreStart", + "text": "CoreStart" + } ], "path": "src/plugins/unified_search/server/plugin.ts", "deprecated": false, diff --git a/api_docs/unified_search.mdx b/api_docs/unified_search.mdx index f2633b4ab1ac9..8ee0f76a6ed21 100644 --- a/api_docs/unified_search.mdx +++ b/api_docs/unified_search.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/unifiedSearch title: "unifiedSearch" image: https://source.unsplash.com/400x175/?github description: API docs for the unifiedSearch plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'unifiedSearch'] --- import unifiedSearchObj from './unified_search.devdocs.json'; diff --git a/api_docs/unified_search_autocomplete.mdx b/api_docs/unified_search_autocomplete.mdx index 38f21b0188f51..29fa3e826d313 100644 --- a/api_docs/unified_search_autocomplete.mdx +++ b/api_docs/unified_search_autocomplete.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/unifiedSearch-autocomplete title: "unifiedSearch.autocomplete" image: https://source.unsplash.com/400x175/?github description: API docs for the unifiedSearch.autocomplete plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'unifiedSearch.autocomplete'] --- import unifiedSearchAutocompleteObj from './unified_search_autocomplete.devdocs.json'; diff --git a/api_docs/url_forwarding.devdocs.json b/api_docs/url_forwarding.devdocs.json index 803087f7baf66..e5214ed502a2f 100644 --- a/api_docs/url_forwarding.devdocs.json +++ b/api_docs/url_forwarding.devdocs.json @@ -22,7 +22,13 @@ "description": [], "signature": [ "(core: ", - "CoreSetup", + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreSetup", + "text": "CoreSetup" + }, "<{}, { navigateToLegacyKibanaUrl: (hash: string) => { navigated: boolean; }; getForwards: () => ", { "pluginId": "urlForwarding", @@ -45,7 +51,13 @@ "label": "core", "description": [], "signature": [ - "CoreSetup", + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreSetup", + "text": "CoreSetup" + }, "<{}, { navigateToLegacyKibanaUrl: (hash: string) => { navigated: boolean; }; getForwards: () => ", { "pluginId": "urlForwarding", @@ -73,7 +85,13 @@ "description": [], "signature": [ "({ application, http: { basePath } }: ", - "CoreStart", + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreStart", + "text": "CoreStart" + }, ") => { navigateToLegacyKibanaUrl: (hash: string) => { navigated: boolean; }; getForwards: () => ", { "pluginId": "urlForwarding", @@ -96,7 +114,13 @@ "label": "{ application, http: { basePath } }", "description": [], "signature": [ - "CoreStart" + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreStart", + "text": "CoreStart" + } ], "path": "src/plugins/url_forwarding/public/plugin.ts", "deprecated": false, diff --git a/api_docs/url_forwarding.mdx b/api_docs/url_forwarding.mdx index 598fff3cd82c0..58e11f9f5f540 100644 --- a/api_docs/url_forwarding.mdx +++ b/api_docs/url_forwarding.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/urlForwarding title: "urlForwarding" image: https://source.unsplash.com/400x175/?github description: API docs for the urlForwarding plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'urlForwarding'] --- import urlForwardingObj from './url_forwarding.devdocs.json'; diff --git a/api_docs/usage_collection.devdocs.json b/api_docs/usage_collection.devdocs.json index c7453333a13fd..873b092e9cdb5 100644 --- a/api_docs/usage_collection.devdocs.json +++ b/api_docs/usage_collection.devdocs.json @@ -1547,7 +1547,13 @@ "\nRequest-scoped Saved Objects client" ], "signature": [ - "SavedObjectsClientContract" + { + "pluginId": "@kbn/core-saved-objects-api-server", + "scope": "server", + "docId": "kibKbnCoreSavedObjectsApiServerPluginApi", + "section": "def-server.SavedObjectsClientContract", + "text": "SavedObjectsClientContract" + } ], "path": "src/plugins/usage_collection/server/collector/types.ts", "deprecated": false, @@ -1589,7 +1595,13 @@ "Logger" ], "signature": [ - "Logger" + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + } ], "path": "src/plugins/usage_collection/server/collector/types.ts", "deprecated": false, @@ -1894,7 +1906,7 @@ "signature": [ "\"boolean\" | \"date\" | \"keyword\" | \"text\" | \"long\" | \"double\" | \"short\" | \"byte\" | \"float\" | \"integer\"" ], - "path": "node_modules/@types/kbn__analytics-client/index.d.ts", + "path": "packages/analytics/client/src/schema/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2085,7 +2097,13 @@ "\nThe structure of the SavedObjects of type \"usage-counters\"" ], "signature": [ - "SavedObject", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObject", + "text": "SavedObject" + }, "<", { "pluginId": "usageCollection", diff --git a/api_docs/usage_collection.mdx b/api_docs/usage_collection.mdx index dc61d5549b393..93fdbdcd3a829 100644 --- a/api_docs/usage_collection.mdx +++ b/api_docs/usage_collection.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/usageCollection title: "usageCollection" image: https://source.unsplash.com/400x175/?github description: API docs for the usageCollection plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'usageCollection'] --- import usageCollectionObj from './usage_collection.devdocs.json'; diff --git a/api_docs/ux.mdx b/api_docs/ux.mdx index dc685d01bb033..0874b57dc7d00 100644 --- a/api_docs/ux.mdx +++ b/api_docs/ux.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/ux title: "ux" image: https://source.unsplash.com/400x175/?github description: API docs for the ux plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'ux'] --- import uxObj from './ux.devdocs.json'; diff --git a/api_docs/vis_default_editor.mdx b/api_docs/vis_default_editor.mdx index e7106b095188f..c09fe4aa08046 100644 --- a/api_docs/vis_default_editor.mdx +++ b/api_docs/vis_default_editor.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visDefaultEditor title: "visDefaultEditor" image: https://source.unsplash.com/400x175/?github description: API docs for the visDefaultEditor plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visDefaultEditor'] --- import visDefaultEditorObj from './vis_default_editor.devdocs.json'; diff --git a/api_docs/vis_type_gauge.mdx b/api_docs/vis_type_gauge.mdx index b757e6af5ee8a..4c2dfa649b958 100644 --- a/api_docs/vis_type_gauge.mdx +++ b/api_docs/vis_type_gauge.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeGauge title: "visTypeGauge" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeGauge plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeGauge'] --- import visTypeGaugeObj from './vis_type_gauge.devdocs.json'; diff --git a/api_docs/vis_type_heatmap.mdx b/api_docs/vis_type_heatmap.mdx index 0320ed984add9..8f15cb3613771 100644 --- a/api_docs/vis_type_heatmap.mdx +++ b/api_docs/vis_type_heatmap.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeHeatmap title: "visTypeHeatmap" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeHeatmap plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeHeatmap'] --- import visTypeHeatmapObj from './vis_type_heatmap.devdocs.json'; diff --git a/api_docs/vis_type_pie.devdocs.json b/api_docs/vis_type_pie.devdocs.json index b2bd3921dcfcb..dbc657689af05 100644 --- a/api_docs/vis_type_pie.devdocs.json +++ b/api_docs/vis_type_pie.devdocs.json @@ -95,7 +95,13 @@ "text": "SerializedFieldFormat" }, "<{}, ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, "> | undefined; }" ], "path": "src/plugins/vis_types/pie/public/types/types.ts", diff --git a/api_docs/vis_type_pie.mdx b/api_docs/vis_type_pie.mdx index a5a432a9d69fa..aaee057bba747 100644 --- a/api_docs/vis_type_pie.mdx +++ b/api_docs/vis_type_pie.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypePie title: "visTypePie" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypePie plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypePie'] --- import visTypePieObj from './vis_type_pie.devdocs.json'; diff --git a/api_docs/vis_type_table.mdx b/api_docs/vis_type_table.mdx index 5c7d0f8d33b97..c22796c6f45b8 100644 --- a/api_docs/vis_type_table.mdx +++ b/api_docs/vis_type_table.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeTable title: "visTypeTable" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeTable plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeTable'] --- import visTypeTableObj from './vis_type_table.devdocs.json'; diff --git a/api_docs/vis_type_timelion.mdx b/api_docs/vis_type_timelion.mdx index 633d089e77556..be16ff744d42b 100644 --- a/api_docs/vis_type_timelion.mdx +++ b/api_docs/vis_type_timelion.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeTimelion title: "visTypeTimelion" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeTimelion plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeTimelion'] --- import visTypeTimelionObj from './vis_type_timelion.devdocs.json'; diff --git a/api_docs/vis_type_timeseries.devdocs.json b/api_docs/vis_type_timeseries.devdocs.json index eb681813a0ef0..e6e809524ee15 100644 --- a/api_docs/vis_type_timeseries.devdocs.json +++ b/api_docs/vis_type_timeseries.devdocs.json @@ -134,7 +134,13 @@ "text": "DataRequestHandlerContext" }, ", fakeRequest: ", - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, ", options: any) => Promise<", "TimeseriesVisData", ">" @@ -172,7 +178,13 @@ "label": "fakeRequest", "description": [], "signature": [ - "KibanaRequest", + { + "pluginId": "@kbn/core-http-server", + "scope": "server", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-server.KibanaRequest", + "text": "KibanaRequest" + }, "" ], "path": "src/plugins/vis_types/timeseries/server/plugin.ts", diff --git a/api_docs/vis_type_timeseries.mdx b/api_docs/vis_type_timeseries.mdx index bbc71083ff569..bf20a56a709e3 100644 --- a/api_docs/vis_type_timeseries.mdx +++ b/api_docs/vis_type_timeseries.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeTimeseries title: "visTypeTimeseries" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeTimeseries plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeTimeseries'] --- import visTypeTimeseriesObj from './vis_type_timeseries.devdocs.json'; diff --git a/api_docs/vis_type_vega.mdx b/api_docs/vis_type_vega.mdx index d208205062699..386483097162a 100644 --- a/api_docs/vis_type_vega.mdx +++ b/api_docs/vis_type_vega.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeVega title: "visTypeVega" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeVega plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeVega'] --- import visTypeVegaObj from './vis_type_vega.devdocs.json'; diff --git a/api_docs/vis_type_vislib.mdx b/api_docs/vis_type_vislib.mdx index 4690ab7cd998d..c9b7e2a32e2f2 100644 --- a/api_docs/vis_type_vislib.mdx +++ b/api_docs/vis_type_vislib.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeVislib title: "visTypeVislib" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeVislib plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeVislib'] --- import visTypeVislibObj from './vis_type_vislib.devdocs.json'; diff --git a/api_docs/vis_type_xy.devdocs.json b/api_docs/vis_type_xy.devdocs.json index e9d569dcbde48..a5f6c00f3d34a 100644 --- a/api_docs/vis_type_xy.devdocs.json +++ b/api_docs/vis_type_xy.devdocs.json @@ -11,7 +11,7 @@ "label": "getPositions", "description": [], "signature": [ - "() => ({ text: string; value: \"top\"; } | { text: string; value: \"left\"; } | { text: string; value: \"right\"; } | { text: string; value: \"bottom\"; })[]" + "() => ({ text: any; value: \"top\"; } | { text: any; value: \"left\"; } | { text: any; value: \"right\"; } | { text: any; value: \"bottom\"; })[]" ], "path": "src/plugins/vis_types/xy/public/editor/positions.ts", "deprecated": false, @@ -28,7 +28,7 @@ "label": "getScaleTypes", "description": [], "signature": [ - "() => { text: string; value: ", + "() => { text: any; value: ", { "pluginId": "visTypeXy", "scope": "public", diff --git a/api_docs/vis_type_xy.mdx b/api_docs/vis_type_xy.mdx index 71c0d8272f038..0598d71d5b8d9 100644 --- a/api_docs/vis_type_xy.mdx +++ b/api_docs/vis_type_xy.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeXy title: "visTypeXy" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeXy plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeXy'] --- import visTypeXyObj from './vis_type_xy.devdocs.json'; diff --git a/api_docs/visualizations.devdocs.json b/api_docs/visualizations.devdocs.json index bc78961c27cea..b00231a68a28d 100644 --- a/api_docs/visualizations.devdocs.json +++ b/api_docs/visualizations.devdocs.json @@ -1574,7 +1574,13 @@ ], "signature": [ "() => Promise<", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]>" ], "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.tsx", @@ -1596,9 +1602,21 @@ ], "signature": [ "() => Promise<", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | ", - "AggregateQuery", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.AggregateQuery", + "text": "AggregateQuery" + }, " | undefined>" ], "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.tsx", @@ -1642,7 +1660,13 @@ "description": [], "signature": [ "() => ", - "OverlayRef", + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.OverlayRef", + "text": "OverlayRef" + }, " | undefined" ], "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.tsx", @@ -2218,9 +2242,21 @@ "text": "SerializedFieldFormat" }, "<{}, ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, "> | undefined; source?: string | undefined; sourceParams?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }; id: string; name: string; }[]; type: \"datatable\"; meta?: ", "DatatableMeta", " | undefined; rows: ", @@ -2316,7 +2352,13 @@ "text": "SavedVisState" }, "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">" ], "path": "src/plugins/visualizations/public/legacy/vis_update_state.d.ts", @@ -2514,7 +2556,13 @@ "label": "core", "description": [], "signature": [ - "CoreStart" + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreStart", + "text": "CoreStart" + } ], "path": "src/plugins/visualizations/public/visualize_app/types.ts", "deprecated": false, @@ -2548,7 +2596,13 @@ "label": "filters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "src/plugins/visualizations/public/visualize_app/types.ts", @@ -2577,7 +2631,13 @@ "label": "query", "description": [], "signature": [ - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | undefined" ], "path": "src/plugins/visualizations/public/visualize_app/types.ts", @@ -2733,7 +2793,13 @@ "label": "migrationVersion", "description": [], "signature": [ - "SavedObjectsMigrationVersion", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectsMigrationVersion", + "text": "SavedObjectsMigrationVersion" + }, " | undefined" ], "path": "src/plugins/visualizations/public/types.ts", @@ -3460,7 +3526,13 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; }[]" ], "path": "src/plugins/visualizations/common/types.ts", @@ -3476,11 +3548,29 @@ "description": [], "signature": [ "{ type?: string | undefined; query?: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | ", - "AggregateQuery", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.AggregateQuery", + "text": "AggregateQuery" + }, " | undefined; filter?: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[] | undefined; sort?: ", { "pluginId": "data", @@ -3490,9 +3580,21 @@ "text": "EsQuerySortValue" }, "[] | undefined; highlight?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; highlightAll?: boolean | undefined; trackTotalHits?: number | boolean | undefined; aggs?: { type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; }[] | undefined; from?: number | undefined; size?: number | undefined; source?: boolean | ", "Fields", " | undefined; version?: boolean | undefined; fields?: ", @@ -4015,7 +4117,13 @@ "label": "migrationVersion", "description": [], "signature": [ - "SavedObjectsMigrationVersion", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectsMigrationVersion", + "text": "SavedObjectsMigrationVersion" + }, " | undefined" ], "path": "src/plugins/visualizations/public/types.ts", @@ -4112,9 +4220,21 @@ ">; getFetch$: () => ", "Observable", "; getTime: () => ", - "TimeRange", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, "; getAbsoluteTime: () => ", - "TimeRange", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, "; setTime: (time: ", "InputTimeRange", ") => void; getRefreshInterval: () => ", @@ -4142,11 +4262,29 @@ "text": "DataView" }, ", timeRange?: ", - "TimeRange", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, " | undefined) => ", - "RangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilter", + "text": "RangeFilter" + }, " | ", - "ScriptedRangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.ScriptedRangeFilter", + "text": "ScriptedRangeFilter" + }, " | ", "MatchAllRangeFilter", " | undefined; createRelativeFilter: (indexPattern: ", @@ -4158,11 +4296,29 @@ "text": "DataView" }, ", timeRange?: ", - "TimeRange", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, " | undefined) => ", - "RangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilter", + "text": "RangeFilter" + }, " | ", - "ScriptedRangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.ScriptedRangeFilter", + "text": "ScriptedRangeFilter" + }, " | ", "MatchAllRangeFilter", " | undefined; getBounds: () => ", @@ -4174,7 +4330,13 @@ "text": "TimeRangeBounds" }, "; calculateBounds: (timeRange: ", - "TimeRange", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, ") => ", { "pluginId": "data", @@ -4192,7 +4354,13 @@ "text": "TimeRangeBounds" }, " | undefined; enableTimeRangeSelector: () => void; disableTimeRangeSelector: () => void; enableAutoRefreshSelector: () => void; disableAutoRefreshSelector: () => void; getTimeDefaults: () => ", - "TimeRange", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, "; getRefreshIntervalDefaults: () => ", { "pluginId": "data", @@ -5642,7 +5810,13 @@ "label": "query", "description": [], "signature": [ - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | undefined" ], "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.tsx", @@ -5657,7 +5831,13 @@ "label": "filters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[] | undefined" ], "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.tsx", @@ -5672,7 +5852,13 @@ "label": "timeRange", "description": [], "signature": [ - "TimeRange", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, " | undefined" ], "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.tsx", @@ -5866,7 +6052,13 @@ "text": "SerializedFieldFormat" }, "<{}, ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">; }" ], "path": "src/plugins/visualizations/common/expression_functions/xy_dimension.ts", @@ -5913,7 +6105,13 @@ "description": [], "signature": [ "{ title: string; type: string; params: TVisParams; aggs: { type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; }[]; }" ], "path": "src/plugins/visualizations/common/types.ts", @@ -6136,9 +6334,21 @@ "text": "ContainerOutput" }, "> | undefined; getQuery: () => Promise<", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | ", - "AggregateQuery", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.AggregateQuery", + "text": "AggregateQuery" + }, " | undefined>; updateInput: (changes: Partial<", { "pluginId": "visualizations", @@ -6164,7 +6374,13 @@ "text": "VisParams" }, ">; getFilters: () => Promise<", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]>; getInspectorAdapters: () => ", { "pluginId": "inspector", @@ -6174,7 +6390,13 @@ "text": "Adapters" }, " | undefined; openInspector: () => ", - "OverlayRef", + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.OverlayRef", + "text": "OverlayRef" + }, " | undefined; transferCustomizationsToUiState: () => void; hasInspector: () => boolean; onContainerLoading: () => void; onContainerData: () => void; onContainerRender: () => void; onContainerError: (error: ", { "pluginId": "expressions", @@ -6355,7 +6577,13 @@ "text": "EmbeddableStateWithType" }, ", references: ", - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]) => ", { "pluginId": "embeddable", @@ -6381,7 +6609,13 @@ "text": "EmbeddableStateWithType" }, "; references: ", - "SavedObjectReference", + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectReference", + "text": "SavedObjectReference" + }, "[]; }; create: (input: ", { "pluginId": "visualizations", @@ -6448,7 +6682,7 @@ }, " | ", "DisabledLabEmbeddable", - " | undefined>; isEditable: () => Promise; getDisplayName: () => string; createFromSavedObject: (savedObjectId: string, input: Partial<", + " | undefined>; isEditable: () => Promise; getDisplayName: () => any; createFromSavedObject: (savedObjectId: string, input: Partial<", { "pluginId": "visualizations", "scope": "public", @@ -7221,7 +7455,13 @@ "text": "SerializedFieldFormat" }, "<{}, ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, "> | undefined) => { id?: string | undefined; params?: Record | undefined; } | undefined" ], "path": "src/plugins/visualizations/common/utils/accessors.ts", @@ -7288,7 +7528,13 @@ "text": "SerializedFieldFormat" }, "<{}, ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, "> | undefined" ], "path": "src/plugins/visualizations/common/utils/accessors.ts", @@ -7713,9 +7959,21 @@ "text": "SerializedFieldFormat" }, "<{}, ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, "> | undefined; source?: string | undefined; sourceParams?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }; id: string; name: string; }[]; type: \"datatable\"; meta?: ", "DatatableMeta", " | undefined; rows: ", @@ -7843,7 +8101,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/visualizations/common/expression_functions/range.ts", @@ -7989,7 +8253,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/visualizations/common/expression_functions/vis_dimension.ts", @@ -8496,9 +8766,21 @@ "label": "palette", "description": [], "signature": [ - "PaletteOutput", + { + "pluginId": "@kbn/coloring", + "scope": "common", + "docId": "kibKbnColoringPluginApi", + "section": "def-common.PaletteOutput", + "text": "PaletteOutput" + }, "<", - "CustomPaletteParams", + { + "pluginId": "@kbn/coloring", + "scope": "common", + "docId": "kibKbnColoringPluginApi", + "section": "def-common.CustomPaletteParams", + "text": "CustomPaletteParams" + }, "> | undefined" ], "path": "src/plugins/visualizations/common/convert_to_lens/types/configurations.ts", @@ -8695,7 +8977,13 @@ "description": [], "signature": [ "{ type: \"kibana_query\"; } & ", - "Query" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + } ], "path": "src/plugins/visualizations/common/convert_to_lens/types/configurations.ts", "deprecated": false, @@ -9081,7 +9369,13 @@ "description": [], "signature": [ "{ id?: string | undefined; params?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }" ], "path": "src/plugins/visualizations/common/types.ts", @@ -9229,9 +9523,21 @@ "label": "palette", "description": [], "signature": [ - "PaletteOutput", + { + "pluginId": "@kbn/coloring", + "scope": "common", + "docId": "kibKbnColoringPluginApi", + "section": "def-common.PaletteOutput", + "text": "PaletteOutput" + }, "<", - "CustomPaletteParams", + { + "pluginId": "@kbn/coloring", + "scope": "common", + "docId": "kibKbnColoringPluginApi", + "section": "def-common.CustomPaletteParams", + "text": "CustomPaletteParams" + }, "> | undefined" ], "path": "src/plugins/visualizations/common/convert_to_lens/types/configurations.ts", @@ -10163,9 +10469,21 @@ "label": "palette", "description": [], "signature": [ - "PaletteOutput", + { + "pluginId": "@kbn/coloring", + "scope": "common", + "docId": "kibKbnColoringPluginApi", + "section": "def-common.PaletteOutput", + "text": "PaletteOutput" + }, "<", - "CustomPaletteParams", + { + "pluginId": "@kbn/coloring", + "scope": "common", + "docId": "kibKbnColoringPluginApi", + "section": "def-common.CustomPaletteParams", + "text": "CustomPaletteParams" + }, "> | undefined" ], "path": "src/plugins/visualizations/common/convert_to_lens/types/configurations.ts", @@ -10762,7 +11080,13 @@ "label": "palette", "description": [], "signature": [ - "PaletteOutput", + { + "pluginId": "@kbn/coloring", + "scope": "common", + "docId": "kibKbnColoringPluginApi", + "section": "def-common.PaletteOutput", + "text": "PaletteOutput" + }, "<{ [key: string]: unknown; }> | undefined" ], "path": "src/plugins/visualizations/common/convert_to_lens/types/configurations.ts", @@ -11166,7 +11490,13 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; }[]" ], "path": "src/plugins/visualizations/common/types.ts", @@ -11182,11 +11512,29 @@ "description": [], "signature": [ "{ type?: string | undefined; query?: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | ", - "AggregateQuery", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.AggregateQuery", + "text": "AggregateQuery" + }, " | undefined; filter?: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[] | undefined; sort?: ", { "pluginId": "data", @@ -11196,9 +11544,21 @@ "text": "EsQuerySortValue" }, "[] | undefined; highlight?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; highlightAll?: boolean | undefined; trackTotalHits?: number | boolean | undefined; aggs?: { type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; }[] | undefined; from?: number | undefined; size?: number | undefined; source?: boolean | ", "Fields", " | undefined; version?: boolean | undefined; fields?: ", @@ -11778,7 +12138,13 @@ "text": "VisualizationSavedObjectAttributes" }, " extends ", - "SavedObjectAttributes" + { + "pluginId": "@kbn/core-saved-objects-common", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectAttributes", + "text": "SavedObjectAttributes" + } ], "path": "src/plugins/visualizations/common/types.ts", "deprecated": false, @@ -12500,7 +12866,13 @@ "label": "palette", "description": [], "signature": [ - "PaletteOutput", + { + "pluginId": "@kbn/coloring", + "scope": "common", + "docId": "kibKbnColoringPluginApi", + "section": "def-common.PaletteOutput", + "text": "PaletteOutput" + }, "<{ [key: string]: unknown; }> | undefined" ], "path": "src/plugins/visualizations/common/convert_to_lens/types/configurations.ts", @@ -14176,9 +14548,21 @@ "label": "Palette", "description": [], "signature": [ - "PaletteOutput", + { + "pluginId": "@kbn/coloring", + "scope": "common", + "docId": "kibKbnColoringPluginApi", + "section": "def-common.PaletteOutput", + "text": "PaletteOutput" + }, "<", - "CustomPaletteParams", + { + "pluginId": "@kbn/coloring", + "scope": "common", + "docId": "kibKbnColoringPluginApi", + "section": "def-common.CustomPaletteParams", + "text": "CustomPaletteParams" + }, "> & { accessor: string; }" ], "path": "src/plugins/visualizations/common/convert_to_lens/types/configurations.ts", @@ -14373,7 +14757,13 @@ "description": [], "signature": [ "{ title: string; type: string; params: TVisParams; aggs: { type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; }[]; }" ], "path": "src/plugins/visualizations/common/types.ts", diff --git a/api_docs/visualizations.mdx b/api_docs/visualizations.mdx index 8dc507d720682..c99d65800c2e1 100644 --- a/api_docs/visualizations.mdx +++ b/api_docs/visualizations.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visualizations title: "visualizations" image: https://source.unsplash.com/400x175/?github description: API docs for the visualizations plugin -date: 2022-10-28 +date: 2022-10-29 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visualizations'] --- import visualizationsObj from './visualizations.devdocs.json'; From 796751e2d3f36499cb8eb61b436c03006632f1ef Mon Sep 17 00:00:00 2001 From: Oliver Gupte Date: Sat, 29 Oct 2022 01:40:47 -0400 Subject: [PATCH 021/111] [APM] Support specific fields when creating service groups (#142201) (#143881) * [APM] Support specific fields when creating service groups (#142201) * add support to anomaly rule type to store supported service group fields in alert * address PR feedback and fixes checks * [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix' * [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix' * add API tests for field validation * fixes linting * [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix' * fixes multi_terms sort order paths, for each rule type query * adds unit tests and moves some source files * fixed back import path * PR feedback * improvements to kuery validation * fixes selecting 'All' in service.name, transaction.type fields when creating/editing APM Rules (#143861) Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> --- .../plugins/apm/common/service_groups.test.ts | 67 ++++++++++ x-pack/plugins/apm/common/service_groups.ts | 60 +++++++++ .../apm/common/utils/environment_query.ts | 2 +- .../utils}/get_kuery_fields.test.ts | 0 .../utils}/get_kuery_fields.ts | 0 .../components/alerting/utils/fields.tsx | 6 +- .../service_group_save/select_services.tsx | 32 +++-- .../collect_data_telemetry/tasks.ts | 2 +- .../get_service_group_fields_for_anomaly.ts | 91 +++++++++++++ .../anomaly/register_anomaly_rule_type.ts | 46 ++++++- .../register_error_count_rule_type.ts | 23 +++- .../get_service_group_fields.test.ts | 121 ++++++++++++++++++ .../rule_types/get_service_group_fields.ts | 59 +++++++++ .../average_or_percentile_agg.ts | 14 +- .../get_transaction_duration_chart_preview.ts | 2 +- ...ter_transaction_duration_rule_type.test.ts | 4 +- ...register_transaction_duration_rule_type.ts | 104 +++++++++------ ...gister_transaction_error_rate_rule_type.ts | 35 +++-- .../apm/server/routes/service_groups/route.ts | 12 +- .../service_map/get_service_anomalies.ts | 6 +- .../observability/server/utils/queries.ts | 9 +- .../service_groups/save_service_group.spec.ts | 88 +++++++++++++ 22 files changed, 700 insertions(+), 83 deletions(-) create mode 100644 x-pack/plugins/apm/common/service_groups.test.ts rename x-pack/plugins/apm/{server/lib/helpers => common/utils}/get_kuery_fields.test.ts (100%) rename x-pack/plugins/apm/{server/lib/helpers => common/utils}/get_kuery_fields.ts (100%) create mode 100644 x-pack/plugins/apm/server/routes/alerts/rule_types/anomaly/get_service_group_fields_for_anomaly.ts create mode 100644 x-pack/plugins/apm/server/routes/alerts/rule_types/get_service_group_fields.test.ts create mode 100644 x-pack/plugins/apm/server/routes/alerts/rule_types/get_service_group_fields.ts rename x-pack/plugins/apm/server/routes/alerts/{ => rule_types/transaction_duration}/average_or_percentile_agg.ts (70%) create mode 100644 x-pack/test/apm_api_integration/tests/service_groups/save_service_group.spec.ts diff --git a/x-pack/plugins/apm/common/service_groups.test.ts b/x-pack/plugins/apm/common/service_groups.test.ts new file mode 100644 index 0000000000000..856eec4ef2e3f --- /dev/null +++ b/x-pack/plugins/apm/common/service_groups.test.ts @@ -0,0 +1,67 @@ +/* + * 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 { + isSupportedField, + validateServiceGroupKuery, + SERVICE_GROUP_SUPPORTED_FIELDS, +} from './service_groups'; +import { + TRANSACTION_TYPE, + TRANSACTION_DURATION, + SERVICE_FRAMEWORK_VERSION, +} from './elasticsearch_fieldnames'; + +describe('service_groups common utils', () => { + describe('isSupportedField', () => { + it('should allow supported fields', () => { + SERVICE_GROUP_SUPPORTED_FIELDS.map((field) => { + expect(isSupportedField(field)).toBe(true); + }); + }); + it('should reject unsupported fields', () => { + const unsupportedFields = [ + TRANSACTION_TYPE, + TRANSACTION_DURATION, + SERVICE_FRAMEWORK_VERSION, + ]; + unsupportedFields.map((field) => { + expect(isSupportedField(field)).toBe(false); + }); + }); + }); + describe('validateServiceGroupKuery', () => { + it('should validate supported KQL filter for a service group', () => { + const result = validateServiceGroupKuery( + `service.name: testbeans* or agent.name: "nodejs"` + ); + expect(result).toHaveProperty('isValidFields', true); + expect(result).toHaveProperty('isValidSyntax', true); + expect(result).not.toHaveProperty('message'); + }); + it('should return validation error when unsupported fields are used', () => { + const result = validateServiceGroupKuery( + `service.name: testbeans* or agent.name: "nodejs" or transaction.type: request` + ); + expect(result).toHaveProperty('isValidFields', false); + expect(result).toHaveProperty('isValidSyntax', true); + expect(result).toHaveProperty( + 'message', + 'Query filter for service group does not support fields [transaction.type]' + ); + }); + it('should return parsing error when KQL is incomplete', () => { + const result = validateServiceGroupKuery( + `service.name: testbeans* or agent.name: "nod` + ); + expect(result).toHaveProperty('isValidFields', false); + expect(result).toHaveProperty('isValidSyntax', false); + expect(result).toHaveProperty('message'); + expect(result).not.toBe(''); + }); + }); +}); diff --git a/x-pack/plugins/apm/common/service_groups.ts b/x-pack/plugins/apm/common/service_groups.ts index e3a82e7e56b6c..4b2ba1288ecae 100644 --- a/x-pack/plugins/apm/common/service_groups.ts +++ b/x-pack/plugins/apm/common/service_groups.ts @@ -5,6 +5,18 @@ * 2.0. */ +import { fromKueryExpression } from '@kbn/es-query'; +import { i18n } from '@kbn/i18n'; +import { getKueryFields } from './utils/get_kuery_fields'; +import { + AGENT_NAME, + SERVICE_NAME, + SERVICE_ENVIRONMENT, + SERVICE_LANGUAGE_NAME, +} from './elasticsearch_fieldnames'; + +const LABELS = 'labels'; // implies labels.* wildcard + export const APM_SERVICE_GROUP_SAVED_OBJECT_TYPE = 'apm-service-group'; export const SERVICE_GROUP_COLOR_DEFAULT = '#D1DAE7'; export const MAX_NUMBER_OF_SERVICE_GROUPS = 500; @@ -20,3 +32,51 @@ export interface SavedServiceGroup extends ServiceGroup { id: string; updatedAt: number; } + +export const SERVICE_GROUP_SUPPORTED_FIELDS = [ + AGENT_NAME, + SERVICE_NAME, + SERVICE_ENVIRONMENT, + SERVICE_LANGUAGE_NAME, + LABELS, +]; + +export function isSupportedField(fieldName: string) { + return ( + fieldName.startsWith(LABELS) || + SERVICE_GROUP_SUPPORTED_FIELDS.includes(fieldName) + ); +} + +export function validateServiceGroupKuery(kuery: string): { + isValidFields: boolean; + isValidSyntax: boolean; + message?: string; +} { + try { + const kueryFields = getKueryFields([fromKueryExpression(kuery)]); + const unsupportedKueryFields = kueryFields.filter( + (fieldName) => !isSupportedField(fieldName) + ); + if (unsupportedKueryFields.length === 0) { + return { isValidFields: true, isValidSyntax: true }; + } + return { + isValidFields: false, + isValidSyntax: true, + message: i18n.translate('xpack.apm.serviceGroups.invalidFields.message', { + defaultMessage: + 'Query filter for service group does not support fields [{unsupportedFieldNames}]', + values: { + unsupportedFieldNames: unsupportedKueryFields.join(', '), + }, + }), + }; + } catch (error) { + return { + isValidFields: false, + isValidSyntax: false, + message: error.message, + }; + } +} diff --git a/x-pack/plugins/apm/common/utils/environment_query.ts b/x-pack/plugins/apm/common/utils/environment_query.ts index bc02e4cd2518b..42744778b861b 100644 --- a/x-pack/plugins/apm/common/utils/environment_query.ts +++ b/x-pack/plugins/apm/common/utils/environment_query.ts @@ -17,7 +17,7 @@ import { import { SERVICE_NODE_NAME_MISSING } from '../service_nodes'; export function environmentQuery( - environment: string + environment: string | undefined ): QueryDslQueryContainer[] { if (!environment || environment === ENVIRONMENT_ALL.value) { return []; diff --git a/x-pack/plugins/apm/server/lib/helpers/get_kuery_fields.test.ts b/x-pack/plugins/apm/common/utils/get_kuery_fields.test.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/helpers/get_kuery_fields.test.ts rename to x-pack/plugins/apm/common/utils/get_kuery_fields.test.ts diff --git a/x-pack/plugins/apm/server/lib/helpers/get_kuery_fields.ts b/x-pack/plugins/apm/common/utils/get_kuery_fields.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/helpers/get_kuery_fields.ts rename to x-pack/plugins/apm/common/utils/get_kuery_fields.ts diff --git a/x-pack/plugins/apm/public/components/alerting/utils/fields.tsx b/x-pack/plugins/apm/public/components/alerting/utils/fields.tsx index 129c36e14102c..3f028c2ead002 100644 --- a/x-pack/plugins/apm/public/components/alerting/utils/fields.tsx +++ b/x-pack/plugins/apm/public/components/alerting/utils/fields.tsx @@ -38,7 +38,9 @@ export function ServiceField({ })} > (); useEffect(() => { if (isEdit) { @@ -78,6 +78,14 @@ export function SelectServices({ } }, [isEdit, serviceGroup.kuery]); + useEffect(() => { + if (!stagedKuery) { + return; + } + const { message } = validateServiceGroupKuery(stagedKuery); + setKueryValidationMessage(message); + }, [stagedKuery]); + const { start, end } = useMemo( () => getDateRange({ @@ -122,6 +130,11 @@ export function SelectServices({ } )} + {kueryValidationMessage && ( + + {kueryValidationMessage} + + )} anomaly ? anomaly.score >= threshold : false ) ?? []; - compact(anomalies).forEach((anomaly) => { - const { serviceName, environment, transactionType, score } = anomaly; + for (const anomaly of compact(anomalies)) { + const { + serviceName, + environment, + transactionType, + score, + timestamp, + bucketSpan, + } = anomaly; + + const eventSourceFields = await getServiceGroupFieldsForAnomaly({ + config$, + scopedClusterClient: services.scopedClusterClient, + savedObjectsClient: services.savedObjectsClient, + serviceName, + environment, + transactionType, + timestamp, + bucketSpan, + }); + const severityLevel = getSeverity(score); const reasonMessage = formatAnomalyReason({ measured: score, @@ -270,6 +303,7 @@ export function registerAnomalyRuleType({ [ALERT_EVALUATION_VALUE]: score, [ALERT_EVALUATION_THRESHOLD]: threshold, [ALERT_REASON]: reasonMessage, + ...eventSourceFields, }, }) .scheduleActions(ruleTypeConfig.defaultActionGroupId, { @@ -281,7 +315,7 @@ export function registerAnomalyRuleType({ reason: reasonMessage, viewInAppUrl, }); - }); + } return {}; }, diff --git a/x-pack/plugins/apm/server/routes/alerts/rule_types/error_count/register_error_count_rule_type.ts b/x-pack/plugins/apm/server/routes/alerts/rule_types/error_count/register_error_count_rule_type.ts index 58e475ced07fb..d9826aae392c8 100644 --- a/x-pack/plugins/apm/server/routes/alerts/rule_types/error_count/register_error_count_rule_type.ts +++ b/x-pack/plugins/apm/server/routes/alerts/rule_types/error_count/register_error_count_rule_type.ts @@ -37,6 +37,10 @@ import { getApmIndices } from '../../../settings/apm_indices/get_apm_indices'; import { apmActionVariables } from '../../action_variables'; import { alertingEsClient } from '../../alerting_es_client'; import { RegisterRuleDependencies } from '../../register_apm_rule_types'; +import { + getServiceGroupFieldsAgg, + getServiceGroupFields, +} from '../get_service_group_fields'; const paramsSchema = schema.object({ windowSize: schema.number(), @@ -107,7 +111,9 @@ export function registerErrorCountRuleType({ }, }, { term: { [PROCESSOR_EVENT]: ProcessorEvent.error } }, - ...termQuery(SERVICE_NAME, ruleParams.serviceName), + ...termQuery(SERVICE_NAME, ruleParams.serviceName, { + queryEmptyString: false, + }), ...environmentQuery(ruleParams.environment), ], }, @@ -122,8 +128,10 @@ export function registerErrorCountRuleType({ missing: ENVIRONMENT_NOT_DEFINED.value, }, ], - size: 10000, + size: 1000, + order: { _count: 'desc' as const }, }, + aggs: getServiceGroupFieldsAgg(), }, }, }, @@ -137,13 +145,19 @@ export function registerErrorCountRuleType({ const errorCountResults = response.aggregations?.error_counts.buckets.map((bucket) => { const [serviceName, environment] = bucket.key; - return { serviceName, environment, errorCount: bucket.doc_count }; + return { + serviceName, + environment, + errorCount: bucket.doc_count, + sourceFields: getServiceGroupFields(bucket), + }; }) ?? []; errorCountResults .filter((result) => result.errorCount >= ruleParams.threshold) .forEach((result) => { - const { serviceName, environment, errorCount } = result; + const { serviceName, environment, errorCount, sourceFields } = + result; const alertReason = formatErrorCountReason({ serviceName, threshold: ruleParams.threshold, @@ -176,6 +190,7 @@ export function registerErrorCountRuleType({ [ALERT_EVALUATION_VALUE]: errorCount, [ALERT_EVALUATION_THRESHOLD]: ruleParams.threshold, [ALERT_REASON]: alertReason, + ...sourceFields, }, }) .scheduleActions(ruleTypeConfig.defaultActionGroupId, { diff --git a/x-pack/plugins/apm/server/routes/alerts/rule_types/get_service_group_fields.test.ts b/x-pack/plugins/apm/server/routes/alerts/rule_types/get_service_group_fields.test.ts new file mode 100644 index 0000000000000..0df590d524f91 --- /dev/null +++ b/x-pack/plugins/apm/server/routes/alerts/rule_types/get_service_group_fields.test.ts @@ -0,0 +1,121 @@ +/* + * 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 { + getServiceGroupFields, + getServiceGroupFieldsAgg, + flattenSourceDoc, +} from './get_service_group_fields'; + +const mockSourceObj = { + service: { + name: 'testbeans', + environment: 'testing', + language: { + name: 'typescript', + }, + }, + labels: { + team: 'test', + }, + agent: { + name: 'nodejs', + }, +}; + +const mockBucket = { + source_fields: { + hits: { + hits: [{ _source: mockSourceObj }], + }, + }, +}; + +describe('getSourceFields', () => { + it('should return a flattened record of fields and values for a given bucket', () => { + const result = getServiceGroupFields(mockBucket); + expect(result).toMatchInlineSnapshot(` + Object { + "agent.name": "nodejs", + "labels.team": "test", + "service.environment": "testing", + "service.language.name": "typescript", + "service.name": "testbeans", + } + `); + }); +}); + +describe('getSourceFieldsAgg', () => { + it('should create a agg for specific source fields', () => { + const agg = getServiceGroupFieldsAgg(); + expect(agg).toMatchInlineSnapshot(` + Object { + "source_fields": Object { + "top_hits": Object { + "_source": Object { + "includes": Array [ + "agent.name", + "service.name", + "service.environment", + "service.language.name", + "labels", + ], + }, + "size": 1, + }, + }, + } + `); + }); + + it('should accept options for top_hits options', () => { + const agg = getServiceGroupFieldsAgg({ + sort: [{ 'transaction.duration.us': { order: 'desc' } }], + }); + expect(agg).toMatchInlineSnapshot(` + Object { + "source_fields": Object { + "top_hits": Object { + "_source": Object { + "includes": Array [ + "agent.name", + "service.name", + "service.environment", + "service.language.name", + "labels", + ], + }, + "size": 1, + "sort": Array [ + Object { + "transaction.duration.us": Object { + "order": "desc", + }, + }, + ], + }, + }, + } + `); + }); +}); + +describe('flattenSourceDoc', () => { + it('should flatten a given nested object with dot delim paths as keys', () => { + const result = flattenSourceDoc(mockSourceObj); + expect(result).toMatchInlineSnapshot(` + Object { + "agent.name": "nodejs", + "labels.team": "test", + "service.environment": "testing", + "service.language.name": "typescript", + "service.name": "testbeans", + } + `); + }); +}); diff --git a/x-pack/plugins/apm/server/routes/alerts/rule_types/get_service_group_fields.ts b/x-pack/plugins/apm/server/routes/alerts/rule_types/get_service_group_fields.ts new file mode 100644 index 0000000000000..2a50b8ba2f31e --- /dev/null +++ b/x-pack/plugins/apm/server/routes/alerts/rule_types/get_service_group_fields.ts @@ -0,0 +1,59 @@ +/* + * 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 { AggregationsTopHitsAggregation } from '@elastic/elasticsearch/lib/api/types'; +import { SERVICE_GROUP_SUPPORTED_FIELDS } from '../../../../common/service_groups'; + +export interface SourceDoc { + [key: string]: string | SourceDoc; +} + +export function getServiceGroupFieldsAgg( + topHitsOpts: AggregationsTopHitsAggregation = {} +) { + return { + source_fields: { + top_hits: { + size: 1, + _source: { + includes: SERVICE_GROUP_SUPPORTED_FIELDS, + }, + ...topHitsOpts, + }, + }, + }; +} + +interface AggResultBucket { + source_fields: { + hits: { + hits: Array<{ _source: any }>; + }; + }; +} + +export function getServiceGroupFields(bucket?: AggResultBucket) { + if (!bucket) { + return {}; + } + const sourceDoc: SourceDoc = + bucket?.source_fields?.hits.hits[0]?._source ?? {}; + return flattenSourceDoc(sourceDoc); +} + +export function flattenSourceDoc( + val: SourceDoc | string, + path: string[] = [] +): Record { + if (typeof val !== 'object') { + return { [path.join('.')]: val }; + } + return Object.keys(val).reduce((acc, key) => { + const fieldMap = flattenSourceDoc(val[key], [...path, key]); + return { ...acc, ...fieldMap }; + }, {}); +} diff --git a/x-pack/plugins/apm/server/routes/alerts/average_or_percentile_agg.ts b/x-pack/plugins/apm/server/routes/alerts/rule_types/transaction_duration/average_or_percentile_agg.ts similarity index 70% rename from x-pack/plugins/apm/server/routes/alerts/average_or_percentile_agg.ts rename to x-pack/plugins/apm/server/routes/alerts/rule_types/transaction_duration/average_or_percentile_agg.ts index 0a7b9e29229bb..2e61108b8a9a0 100644 --- a/x-pack/plugins/apm/server/routes/alerts/average_or_percentile_agg.ts +++ b/x-pack/plugins/apm/server/routes/alerts/rule_types/transaction_duration/average_or_percentile_agg.ts @@ -4,8 +4,8 @@ * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ -import { AggregationType } from '../../../common/rules/apm_rule_types'; -import { getDurationFieldForTransactions } from '../../lib/helpers/transactions'; +import { AggregationType } from '../../../../../common/rules/apm_rule_types'; +import { getDurationFieldForTransactions } from '../../../../lib/helpers/transactions'; type TransactionDurationField = ReturnType< typeof getDurationFieldForTransactions @@ -45,3 +45,13 @@ export function averageOrPercentileAgg({ }, }; } + +export function getMultiTermsSortOrder(aggregationType: AggregationType): { + order: { [path: string]: 'desc' }; +} { + if (aggregationType === AggregationType.Avg) { + return { order: { avgLatency: 'desc' } }; + } + const percentsKey = aggregationType === AggregationType.P95 ? 95 : 99; + return { order: { [`pctLatency.${percentsKey}`]: 'desc' } }; +} diff --git a/x-pack/plugins/apm/server/routes/alerts/rule_types/transaction_duration/get_transaction_duration_chart_preview.ts b/x-pack/plugins/apm/server/routes/alerts/rule_types/transaction_duration/get_transaction_duration_chart_preview.ts index 292748f3af16c..781e9739fdba9 100644 --- a/x-pack/plugins/apm/server/routes/alerts/rule_types/transaction_duration/get_transaction_duration_chart_preview.ts +++ b/x-pack/plugins/apm/server/routes/alerts/rule_types/transaction_duration/get_transaction_duration_chart_preview.ts @@ -25,7 +25,7 @@ import { ENVIRONMENT_NOT_DEFINED, getEnvironmentLabel, } from '../../../../../common/environment_filter_values'; -import { averageOrPercentileAgg } from '../../average_or_percentile_agg'; +import { averageOrPercentileAgg } from './average_or_percentile_agg'; import { APMConfig } from '../../../..'; import { APMEventClient } from '../../../../lib/helpers/create_es_client/create_apm_event_client'; diff --git a/x-pack/plugins/apm/server/routes/alerts/rule_types/transaction_duration/register_transaction_duration_rule_type.test.ts b/x-pack/plugins/apm/server/routes/alerts/rule_types/transaction_duration/register_transaction_duration_rule_type.test.ts index 4d8b91636fb6c..2b159e7acc0d2 100644 --- a/x-pack/plugins/apm/server/routes/alerts/rule_types/transaction_duration/register_transaction_duration_rule_type.test.ts +++ b/x-pack/plugins/apm/server/routes/alerts/rule_types/transaction_duration/register_transaction_duration_rule_type.test.ts @@ -24,10 +24,10 @@ describe('registerTransactionDurationRuleType', () => { }, }, aggregations: { - environments: { + series: { buckets: [ { - key: 'ENVIRONMENT_NOT_DEFINED', + key: ['opbeans-java', 'ENVIRONMENT_NOT_DEFINED', 'request'], avgLatency: { value: 5500000, }, diff --git a/x-pack/plugins/apm/server/routes/alerts/rule_types/transaction_duration/register_transaction_duration_rule_type.ts b/x-pack/plugins/apm/server/routes/alerts/rule_types/transaction_duration/register_transaction_duration_rule_type.ts index 0ea099c8d4bc2..b4c7a6212b62d 100644 --- a/x-pack/plugins/apm/server/routes/alerts/rule_types/transaction_duration/register_transaction_duration_rule_type.ts +++ b/x-pack/plugins/apm/server/routes/alerts/rule_types/transaction_duration/register_transaction_duration_rule_type.ts @@ -14,6 +14,7 @@ import { } from '@kbn/rule-data-utils'; import { firstValueFrom } from 'rxjs'; import { asDuration } from '@kbn/observability-plugin/common/utils/formatters'; +import { termQuery } from '@kbn/observability-plugin/server'; import { createLifecycleRuleTypeFactory } from '@kbn/rule-registry-plugin/server'; import { ProcessorEvent } from '@kbn/observability-plugin/common'; import { getAlertUrlTransaction } from '../../../../../common/utils/formatters'; @@ -46,7 +47,14 @@ import { getApmIndices } from '../../../settings/apm_indices/get_apm_indices'; import { apmActionVariables } from '../../action_variables'; import { alertingEsClient } from '../../alerting_es_client'; import { RegisterRuleDependencies } from '../../register_apm_rule_types'; -import { averageOrPercentileAgg } from '../../average_or_percentile_agg'; +import { + averageOrPercentileAgg, + getMultiTermsSortOrder, +} from './average_or_percentile_agg'; +import { + getServiceGroupFields, + getServiceGroupFieldsAgg, +} from '../get_service_group_fields'; const paramsSchema = schema.object({ serviceName: schema.string(), @@ -140,26 +148,37 @@ export function registerTransactionDurationRuleType({ ...getDocumentTypeFilterForTransactions( searchAggregatedTransactions ), - { term: { [SERVICE_NAME]: ruleParams.serviceName } }, - { - term: { - [TRANSACTION_TYPE]: ruleParams.transactionType, - }, - }, + ...termQuery(SERVICE_NAME, ruleParams.serviceName, { + queryEmptyString: false, + }), + ...termQuery(TRANSACTION_TYPE, ruleParams.transactionType, { + queryEmptyString: false, + }), ...environmentQuery(ruleParams.environment), ] as QueryDslQueryContainer[], }, }, aggs: { - environments: { - terms: { - field: SERVICE_ENVIRONMENT, - missing: ENVIRONMENT_NOT_DEFINED.value, + series: { + multi_terms: { + terms: [ + { field: SERVICE_NAME }, + { + field: SERVICE_ENVIRONMENT, + missing: ENVIRONMENT_NOT_DEFINED.value, + }, + { field: TRANSACTION_TYPE }, + ], + size: 1000, + ...getMultiTermsSortOrder(ruleParams.aggregationType), + }, + aggs: { + ...averageOrPercentileAgg({ + aggregationType: ruleParams.aggregationType, + transactionDurationField: field, + }), + ...getServiceGroupFieldsAgg(), }, - aggs: averageOrPercentileAgg({ - aggregationType: ruleParams.aggregationType, - transactionDurationField: field, - }), }, }, }, @@ -177,32 +196,40 @@ export function registerTransactionDurationRuleType({ // Converts threshold to microseconds because this is the unit used on transactionDuration const thresholdMicroseconds = ruleParams.threshold * 1000; - const triggeredEnvironmentDurations = - response.aggregations.environments.buckets - .map((bucket) => { - const { key: environment } = bucket; - const transactionDuration = - 'avgLatency' in bucket // only true if ruleParams.aggregationType === 'avg' - ? bucket.avgLatency.value - : bucket.pctLatency.values[0].value; - return { transactionDuration, environment }; - }) - .filter( - ({ transactionDuration }) => - transactionDuration !== null && - transactionDuration > thresholdMicroseconds - ) as Array<{ transactionDuration: number; environment: string }>; + const triggeredBuckets = []; + for (const bucket of response.aggregations.series.buckets) { + const [serviceName, environment, transactionType] = bucket.key; + const transactionDuration = + 'avgLatency' in bucket // only true if ruleParams.aggregationType === 'avg' + ? bucket.avgLatency.value + : bucket.pctLatency.values[0].value; + if ( + transactionDuration !== null && + transactionDuration > thresholdMicroseconds + ) { + triggeredBuckets.push({ + serviceName, + environment, + transactionType, + transactionDuration, + sourceFields: getServiceGroupFields(bucket), + }); + } + } for (const { + serviceName, environment, + transactionType, transactionDuration, - } of triggeredEnvironmentDurations) { + sourceFields, + } of triggeredBuckets) { const durationFormatter = getDurationFormatter(transactionDuration); const transactionDurationFormatted = durationFormatter(transactionDuration).formatted; const reasonMessage = formatTransactionDurationReason({ measured: transactionDuration, - serviceName: ruleParams.serviceName, + serviceName, threshold: thresholdMicroseconds, asDuration, aggregationType: String(ruleParams.aggregationType), @@ -211,9 +238,9 @@ export function registerTransactionDurationRuleType({ }); const relativeViewInAppUrl = getAlertUrlTransaction( - ruleParams.serviceName, + serviceName, getEnvironmentEsField(environment)?.[SERVICE_ENVIRONMENT], - ruleParams.transactionType + transactionType ); const viewInAppUrl = basePath.publicBaseUrl @@ -228,18 +255,19 @@ export function registerTransactionDurationRuleType({ environment )}`, fields: { - [SERVICE_NAME]: ruleParams.serviceName, + [SERVICE_NAME]: serviceName, ...getEnvironmentEsField(environment), - [TRANSACTION_TYPE]: ruleParams.transactionType, + [TRANSACTION_TYPE]: transactionType, [PROCESSOR_EVENT]: ProcessorEvent.transaction, [ALERT_EVALUATION_VALUE]: transactionDuration, [ALERT_EVALUATION_THRESHOLD]: thresholdMicroseconds, [ALERT_REASON]: reasonMessage, + ...sourceFields, }, }) .scheduleActions(ruleTypeConfig.defaultActionGroupId, { - transactionType: ruleParams.transactionType, - serviceName: ruleParams.serviceName, + transactionType, + serviceName, environment: getEnvironmentLabel(environment), threshold: thresholdMicroseconds, triggerValue: transactionDurationFormatted, diff --git a/x-pack/plugins/apm/server/routes/alerts/rule_types/transaction_error_rate/register_transaction_error_rate_rule_type.ts b/x-pack/plugins/apm/server/routes/alerts/rule_types/transaction_error_rate/register_transaction_error_rate_rule_type.ts index 15a5880345ffd..73f7ccda26401 100644 --- a/x-pack/plugins/apm/server/routes/alerts/rule_types/transaction_error_rate/register_transaction_error_rate_rule_type.ts +++ b/x-pack/plugins/apm/server/routes/alerts/rule_types/transaction_error_rate/register_transaction_error_rate_rule_type.ts @@ -44,6 +44,10 @@ import { alertingEsClient } from '../../alerting_es_client'; import { RegisterRuleDependencies } from '../../register_apm_rule_types'; import { SearchAggregatedTransactionSetting } from '../../../../../common/aggregated_transactions'; import { getDocumentTypeFilterForTransactions } from '../../../../lib/helpers/transactions'; +import { + getServiceGroupFields, + getServiceGroupFieldsAgg, +} from '../get_service_group_fields'; const paramsSchema = schema.object({ windowSize: schema.number(), @@ -136,8 +140,12 @@ export function registerTransactionErrorRateRuleType({ ], }, }, - ...termQuery(SERVICE_NAME, ruleParams.serviceName), - ...termQuery(TRANSACTION_TYPE, ruleParams.transactionType), + ...termQuery(SERVICE_NAME, ruleParams.serviceName, { + queryEmptyString: false, + }), + ...termQuery(TRANSACTION_TYPE, ruleParams.transactionType, { + queryEmptyString: false, + }), ...environmentQuery(ruleParams.environment), ], }, @@ -153,13 +161,15 @@ export function registerTransactionErrorRateRuleType({ }, { field: TRANSACTION_TYPE }, ], - size: 10000, + size: 1000, + order: { _count: 'desc' as const }, }, aggs: { outcomes: { terms: { field: EVENT_OUTCOME, }, + aggs: getServiceGroupFieldsAgg(), }, }, }, @@ -180,10 +190,10 @@ export function registerTransactionErrorRateRuleType({ for (const bucket of response.aggregations.series.buckets) { const [serviceName, environment, transactionType] = bucket.key; - const failed = - bucket.outcomes.buckets.find( - (outcomeBucket) => outcomeBucket.key === EventOutcome.failure - )?.doc_count ?? 0; + const failedOutcomeBucket = bucket.outcomes.buckets.find( + (outcomeBucket) => outcomeBucket.key === EventOutcome.failure + ); + const failed = failedOutcomeBucket?.doc_count ?? 0; const succesful = bucket.outcomes.buckets.find( (outcomeBucket) => outcomeBucket.key === EventOutcome.success @@ -196,13 +206,19 @@ export function registerTransactionErrorRateRuleType({ environment, transactionType, errorRate, + sourceFields: getServiceGroupFields(failedOutcomeBucket), }); } } results.forEach((result) => { - const { serviceName, environment, transactionType, errorRate } = - result; + const { + serviceName, + environment, + transactionType, + errorRate, + sourceFields, + } = result; const reasonMessage = formatTransactionErrorRateReason({ threshold: ruleParams.threshold, measured: errorRate, @@ -241,6 +257,7 @@ export function registerTransactionErrorRateRuleType({ [ALERT_EVALUATION_VALUE]: errorRate, [ALERT_EVALUATION_THRESHOLD]: ruleParams.threshold, [ALERT_REASON]: reasonMessage, + ...sourceFields, }, }) .scheduleActions(ruleTypeConfig.defaultActionGroupId, { diff --git a/x-pack/plugins/apm/server/routes/service_groups/route.ts b/x-pack/plugins/apm/server/routes/service_groups/route.ts index 4da84e6848696..dde307efa7c4b 100644 --- a/x-pack/plugins/apm/server/routes/service_groups/route.ts +++ b/x-pack/plugins/apm/server/routes/service_groups/route.ts @@ -6,6 +6,7 @@ */ import * as t from 'io-ts'; +import Boom from '@hapi/boom'; import { apmServiceGroupMaxNumberOfServices } from '@kbn/observability-plugin/common'; import { createApmServerRoute } from '../apm_routes/create_apm_server_route'; import { kueryRt, rangeRt } from '../default_api_types'; @@ -14,7 +15,10 @@ import { getServiceGroup } from './get_service_group'; import { saveServiceGroup } from './save_service_group'; import { deleteServiceGroup } from './delete_service_group'; import { lookupServices } from './lookup_services'; -import { SavedServiceGroup } from '../../../common/service_groups'; +import { + validateServiceGroupKuery, + SavedServiceGroup, +} from '../../../common/service_groups'; import { getServicesCounts } from './get_services_counts'; import { getApmEventClient } from '../../lib/helpers/get_apm_event_client'; @@ -120,6 +124,12 @@ const serviceGroupSaveRoute = createApmServerRoute({ const { savedObjects: { client: savedObjectsClient }, } = await context.core; + const { isValidFields, isValidSyntax, message } = validateServiceGroupKuery( + params.body.kuery + ); + if (!(isValidFields && isValidSyntax)) { + throw Boom.badRequest(message); + } await saveServiceGroup({ savedObjectsClient, diff --git a/x-pack/plugins/apm/server/routes/service_map/get_service_anomalies.ts b/x-pack/plugins/apm/server/routes/service_map/get_service_anomalies.ts index 3c5211528cc91..e67b2b554df05 100644 --- a/x-pack/plugins/apm/server/routes/service_map/get_service_anomalies.ts +++ b/x-pack/plugins/apm/server/routes/service_map/get_service_anomalies.ts @@ -157,14 +157,14 @@ export async function getServiceAnomalies({ export async function getMLJobs( anomalyDetectors: ReturnType, - environment: string + environment?: string ) { const jobs = await getMlJobsWithAPMGroup(anomalyDetectors); // to filter out legacy jobs we are filtering by the existence of `apm_ml_version` in `custom_settings` // and checking that it is compatable. const mlJobs = jobs.filter((job) => job.version >= 2); - if (environment !== ENVIRONMENT_ALL.value) { + if (environment && environment !== ENVIRONMENT_ALL.value) { const matchingMLJob = mlJobs.find((job) => job.environment === environment); if (!matchingMLJob) { return []; @@ -176,7 +176,7 @@ export async function getMLJobs( export async function getMLJobIds( anomalyDetectors: ReturnType, - environment: string + environment?: string ) { const mlJobs = await getMLJobs(anomalyDetectors, environment); return mlJobs.map((job) => job.jobId); diff --git a/x-pack/plugins/observability/server/utils/queries.ts b/x-pack/plugins/observability/server/utils/queries.ts index 008b8720de7cd..f6a5a02d8e415 100644 --- a/x-pack/plugins/observability/server/utils/queries.ts +++ b/x-pack/plugins/observability/server/utils/queries.ts @@ -13,11 +13,16 @@ function isUndefinedOrNull(value: any): value is undefined | null { return value === undefined || value === null; } +interface TermQueryOpts { + queryEmptyString: boolean; +} + export function termQuery( field: T, - value: string | boolean | number | undefined | null + value: string | boolean | number | undefined | null, + opts: TermQueryOpts = { queryEmptyString: true } ): QueryDslQueryContainer[] { - if (isUndefinedOrNull(value)) { + if (isUndefinedOrNull(value) || (!opts.queryEmptyString && value === '')) { return []; } diff --git a/x-pack/test/apm_api_integration/tests/service_groups/save_service_group.spec.ts b/x-pack/test/apm_api_integration/tests/service_groups/save_service_group.spec.ts new file mode 100644 index 0000000000000..533d6079c1a6d --- /dev/null +++ b/x-pack/test/apm_api_integration/tests/service_groups/save_service_group.spec.ts @@ -0,0 +1,88 @@ +/* + * 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 expect from '@kbn/expect'; +import { ApmApiError } from '../../common/apm_api_supertest'; +import { FtrProviderContext } from '../../common/ftr_provider_context'; +import { expectToReject } from '../../common/utils/expect_to_reject'; + +export default function ApiTest({ getService }: FtrProviderContext) { + const registry = getService('registry'); + const apmApiClient = getService('apmApiClient'); + const supertest = getService('supertest'); + + async function callApi({ + serviceGroupId, + groupName, + kuery, + description, + color, + }: { + serviceGroupId?: string; + groupName: string; + kuery: string; + description?: string; + color?: string; + }) { + const response = await apmApiClient.writeUser({ + endpoint: 'POST /internal/apm/service-group', + params: { + query: { + serviceGroupId, + }, + body: { + groupName, + kuery, + description, + color, + }, + }, + }); + return response; + } + + type SavedObjectsFindResults = Array<{ + id: string; + type: string; + }>; + + async function deleteServiceGroups() { + const response = await supertest + .get('/api/saved_objects/_find?type=apm-service-group') + .set('kbn-xsrf', 'true'); + const savedObjects: SavedObjectsFindResults = response.body.saved_objects; + const bulkDeleteBody = savedObjects.map(({ id, type }) => ({ id, type })); + return supertest + .post(`/api/saved_objects/_bulk_delete?force=true`) + .set('kbn-xsrf', 'foo') + .send(bulkDeleteBody); + } + + registry.when('Service group create', { config: 'basic', archives: [] }, () => { + afterEach(deleteServiceGroups); + + it('creates a new service group', async () => { + const response = await callApi({ + groupName: 'synthbeans', + kuery: 'service.name: synth*', + }); + expect(response.status).to.be(200); + expect(Object.keys(response.body).length).to.be(0); + }); + + it('handles invalid fields with error response', async () => { + const err = await expectToReject(() => + callApi({ + groupName: 'synthbeans', + kuery: 'service.name: synth* or transaction.type: request', + }) + ); + + expect(err.res.status).to.be(400); + expect(err.res.body.message).to.contain('transaction.type'); + }); + }); +} From 0344e895ddcf1dbf1301bdb4e70f20a7af31cf23 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 29 Oct 2022 11:25:30 -0700 Subject: [PATCH 022/111] Update react-query to ^4.12.0 (main) (#139986) * Update react-query to ^4.12.0 Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Patryk Kopycinski --- package.json | 6 +++--- yarn.lock | 57 ++++++++++++++++++++++++++++++++-------------------- 2 files changed, 38 insertions(+), 25 deletions(-) diff --git a/package.json b/package.json index f7f6ee1a09485..10d91828024d9 100644 --- a/package.json +++ b/package.json @@ -72,6 +72,7 @@ "yarn": "^1.22.19" }, "resolutions": { + "**/@tanstack/match-sorter-utils": "8.1.1", "**/@types/node": "16.11.41", "**/chokidar": "^3.5.3", "**/deepmerge": "^4.2.2", @@ -92,7 +93,6 @@ "**/typescript": "4.6.3", "**/use-composed-ref": "^1.3.0", "**/use-latest": "^1.2.1", - "@tanstack/query-core": "^4.2.1", "globby/fast-glob": "^3.2.11", "puppeteer/node-fetch": "^2.6.7" }, @@ -436,8 +436,8 @@ "@opentelemetry/semantic-conventions": "^1.4.0", "@reduxjs/toolkit": "1.7.2", "@slack/webhook": "^5.0.4", - "@tanstack/react-query": "^4.2.1", - "@tanstack/react-query-devtools": "^4.2.1", + "@tanstack/react-query": "^4.13.4", + "@tanstack/react-query-devtools": "^4.13.4", "@turf/along": "6.0.1", "@turf/area": "6.0.1", "@turf/bbox": "6.0.1", diff --git a/yarn.lock b/yarn.lock index ff7d89706d48f..d75fc26e8af5d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5815,34 +5815,33 @@ dependencies: defer-to-connect "^2.0.0" -"@tanstack/match-sorter-utils@^8.0.0-alpha.82": +"@tanstack/match-sorter-utils@8.1.1", "@tanstack/match-sorter-utils@^8.1.1": version "8.1.1" resolved "https://registry.yarnpkg.com/@tanstack/match-sorter-utils/-/match-sorter-utils-8.1.1.tgz#895f407813254a46082a6bbafad9b39b943dc834" integrity sha512-IdmEekEYxQsoLOR0XQyw3jD1GujBpRRYaGJYQUw1eOT1eUugWxdc7jomh1VQ1EKHcdwDLpLaCz/8y4KraU4T9A== dependencies: remove-accents "0.4.2" -"@tanstack/query-core@^4.0.0-beta.1", "@tanstack/query-core@^4.2.1": - version "4.2.1" - resolved "https://registry.yarnpkg.com/@tanstack/query-core/-/query-core-4.2.1.tgz#21ff3a33f27bf038c990ea53af89cf7c7e8078fc" - integrity sha512-UOyOhHKLS/5i9qG2iUnZNVV3R9riJJmG9eG+hnMFIPT/oRh5UzAfjxCtBneNgPQZLDuP8y6YtRYs/n4qVAD5Ng== +"@tanstack/query-core@4.13.4": + version "4.13.4" + resolved "https://registry.yarnpkg.com/@tanstack/query-core/-/query-core-4.13.4.tgz#77043e066586359eca40859803acc4a44e2a2dc8" + integrity sha512-DMIy6tgGehYoRUFyoR186+pQspOicyZNSGvBWxPc2CinHjWOQ7DPnGr9zmn/kE9xK4Zd3GXd25Nj3X20+TF6Lw== -"@tanstack/react-query-devtools@^4.2.1": - version "4.2.1" - resolved "https://registry.yarnpkg.com/@tanstack/react-query-devtools/-/react-query-devtools-4.2.1.tgz#decee3d1d174b253fa303d5baaa478fb0e2c0e63" - integrity sha512-k7Ch3qvs8U74aRMMRvNisxcxZFTzk8FDdvpQKXxSZ8fsD4ZwpM0MoUSqKsCXbfTvUI7MJiGxavy1YlvImPNO+Q== +"@tanstack/react-query-devtools@^4.13.4": + version "4.13.4" + resolved "https://registry.yarnpkg.com/@tanstack/react-query-devtools/-/react-query-devtools-4.13.4.tgz#d631961fbb0803d2246cdf39dd2e35f443a88b6e" + integrity sha512-G0ZG+ZUk8ktJoi6Mzn4U7LnSOVbVFPyBJGB3dX4+SukkcKhWmErsYv2H1plRCL+V01Cg+dOg9RDfGYqsNbJszQ== dependencies: - "@tanstack/match-sorter-utils" "^8.0.0-alpha.82" - "@types/use-sync-external-store" "^0.0.3" + "@tanstack/match-sorter-utils" "^8.1.1" + superjson "^1.10.0" use-sync-external-store "^1.2.0" -"@tanstack/react-query@^4.2.1": - version "4.2.1" - resolved "https://registry.yarnpkg.com/@tanstack/react-query/-/react-query-4.2.1.tgz#1f00f03573b35a353e62fa64f904bbb0286a1808" - integrity sha512-w02oTOYpoxoBzD/onAGRQNeLAvggLn7WZjS811cT05WAE/4Q3br0PTp388M7tnmyYGbgOOhFq0MkhH0wIfAKqA== +"@tanstack/react-query@^4.13.4": + version "4.13.4" + resolved "https://registry.yarnpkg.com/@tanstack/react-query/-/react-query-4.13.4.tgz#6264e5513245a8cbec1195ba6ed9647d9230a520" + integrity sha512-OHkUulPorHDiWNcUrcSUNxedeZ28z9kCKRG3JY+aJ8dFH/o4fixtac4ys0lwCP/n/VL1XMPnu+/CXEhbXHyJZA== dependencies: - "@tanstack/query-core" "^4.0.0-beta.1" - "@types/use-sync-external-store" "^0.0.3" + "@tanstack/query-core" "4.13.4" use-sync-external-store "^1.2.0" "@testim/chrome-version@^1.1.3": @@ -7620,11 +7619,6 @@ dependencies: "@types/react" "*" -"@types/use-sync-external-store@^0.0.3": - version "0.0.3" - resolved "https://registry.yarnpkg.com/@types/use-sync-external-store/-/use-sync-external-store-0.0.3.tgz#b6725d5f4af24ace33b36fafd295136e75509f43" - integrity sha512-EwmlvuaxPNej9+T4v5AuBPJa2x2UOJVdjCtDHgcDqitUeOtjnJKJ+apYjVcAoBEMjKW1VVFGZLUb5+qqa09XFA== - "@types/uuid@^3.4.4": version "3.4.4" resolved "https://registry.yarnpkg.com/@types/uuid/-/uuid-3.4.4.tgz#7af69360fa65ef0decb41fd150bf4ca5c0cefdf5" @@ -10874,6 +10868,13 @@ cookiejar@^2.1.0: resolved "https://registry.yarnpkg.com/cookiejar/-/cookiejar-2.1.1.tgz#41ad57b1b555951ec171412a81942b1e8200d34a" integrity sha1-Qa1XsbVVlR7BcUEqgZQrHoIA00o= +copy-anything@^3.0.2: + version "3.0.2" + resolved "https://registry.yarnpkg.com/copy-anything/-/copy-anything-3.0.2.tgz#7189171ff5e1893b2287e8bf574b8cd448ed50b1" + integrity sha512-CzATjGXzUQ0EvuvgOCI6A4BGOo2bcVx8B+eC2nF862iv9fopnPQwlrbACakNCHRIJbCSBj+J/9JeDf60k64MkA== + dependencies: + is-what "^4.1.6" + copy-concurrently@^1.0.0: version "1.0.5" resolved "https://registry.yarnpkg.com/copy-concurrently/-/copy-concurrently-1.0.5.tgz#92297398cae34937fcafd6ec8139c18051f0b5e0" @@ -16596,6 +16597,11 @@ is-weakset@^2.0.1: resolved "https://registry.yarnpkg.com/is-weakset/-/is-weakset-2.0.1.tgz#e9a0af88dbd751589f5e50d80f4c98b780884f83" integrity sha512-pi4vhbhVHGLxohUw7PhGsueT4vRGFoXhP7+RGN0jKIv9+8PWYCQTqtADngrxOm2g46hoH0+g8uZZBzMrvVGDmw== +is-what@^4.1.6: + version "4.1.7" + resolved "https://registry.yarnpkg.com/is-what/-/is-what-4.1.7.tgz#c41dc1d2d2d6a9285c624c2505f61849c8b1f9cc" + integrity sha512-DBVOQNiPKnGMxRMLIYSwERAS5MVY1B7xYiGnpgctsOFvVDz9f9PFXXxMcTOHuoqYp4NK9qFYQaIC1NRRxLMpBQ== + is-whitespace-character@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/is-whitespace-character/-/is-whitespace-character-1.0.1.tgz#9ae0176f3282b65457a1992cdb084f8a5f833e3b" @@ -25152,6 +25158,13 @@ supercluster@^7.1.4: dependencies: kdbush "^3.0.0" +superjson@^1.10.0: + version "1.10.1" + resolved "https://registry.yarnpkg.com/superjson/-/superjson-1.10.1.tgz#9c73e9393489dddab89d638694eadcbf4bda2f36" + integrity sha512-7fvPVDHmkTKg6641B9c6vr6Zz5CwPtF9j0XFExeLxJxrMaeLU2sqebY3/yrI3l0K5zJ+H9QA3H+lIYj5ooCOkg== + dependencies: + copy-anything "^3.0.2" + supertest@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/supertest/-/supertest-3.1.0.tgz#f9ebaf488e60f2176021ec580bdd23ad269e7bc6" From 18e37cf639c3542df58659679eb99e9d6d95ba5d Mon Sep 17 00:00:00 2001 From: Oliver Gupte Date: Sat, 29 Oct 2022 23:09:27 -0400 Subject: [PATCH 023/111] [APM] Adds button group to navigate to "All services" (#142911) * [APM] Adds button group to navigate to "All services" (#142084) * [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix' * Adds button group legend, fixes spacing and translation IDs * makes the button group part of the page template * addresses feedback * addressed feedback: - Use 'All services' as the default landing page - swap order of button group -> All services, Service groups - move tour from the create button to service group half of the button group - have service groups always enabled but marked Beta - removed some branching logic in routes / page templates - add 'Send feedback' link - fixed service count in cards * fixes tests and deep links * change button group to single type Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> --- .../e2e/read_only_user/deep_links.cy.ts | 6 + .../header_filters/header_filters.cy.ts | 1 + .../apm/ftr_e2e/cypress/support/commands.ts | 10 ++ .../apm/ftr_e2e/cypress/support/types.d.ts | 1 + .../service_group_save/create_button.tsx | 58 +++---- .../service_groups_button_group.tsx | 78 +++++++++ .../service_groups_list/index.tsx | 148 ++++++++++++------ .../service_group_card.tsx | 43 +---- .../service_groups_list.tsx | 26 --- .../service_groups/service_groups_tour.tsx | 18 ++- .../use_service_groups_tour.tsx | 1 - .../components/routing/apm_route_config.tsx | 9 +- .../public/components/routing/home/index.tsx | 9 +- .../routing/service_groups_redirect.tsx | 37 ----- .../routing/templates/apm_main_template.tsx | 18 ++- .../templates/service_group_template.tsx | 68 ++++---- x-pack/plugins/apm/public/plugin.ts | 69 +++----- x-pack/plugins/observability/common/index.ts | 1 - .../observability/common/ui_settings_keys.ts | 1 - x-pack/plugins/observability/public/index.ts | 1 - .../observability/server/ui_settings.ts | 19 --- .../translations/translations/fr-FR.json | 14 +- .../translations/translations/ja-JP.json | 14 +- .../translations/translations/zh-CN.json | 14 +- 24 files changed, 319 insertions(+), 345 deletions(-) create mode 100644 x-pack/plugins/apm/public/components/app/service_groups/service_groups_button_group.tsx delete mode 100644 x-pack/plugins/apm/public/components/routing/service_groups_redirect.tsx diff --git a/x-pack/plugins/apm/ftr_e2e/cypress/e2e/read_only_user/deep_links.cy.ts b/x-pack/plugins/apm/ftr_e2e/cypress/e2e/read_only_user/deep_links.cy.ts index 00b842f3265c7..513d9afeccf9d 100644 --- a/x-pack/plugins/apm/ftr_e2e/cypress/e2e/read_only_user/deep_links.cy.ts +++ b/x-pack/plugins/apm/ftr_e2e/cypress/e2e/read_only_user/deep_links.cy.ts @@ -14,6 +14,7 @@ describe('APM deep links', () => { cy.getByTestSubj('nav-search-input').type('APM'); cy.contains('APM'); cy.contains('APM / Services'); + cy.contains('APM / Service groups'); cy.contains('APM / Traces'); cy.contains('APM / Service Map'); @@ -28,6 +29,11 @@ describe('APM deep links', () => { cy.contains('APM / Services').click({ force: true }); cy.url().should('include', '/apm/services'); + cy.getByTestSubj('nav-search-input').type('APM'); + // navigates to service groups page + cy.contains('APM / Service groups').click({ force: true }); + cy.url().should('include', '/apm/service-groups'); + cy.getByTestSubj('nav-search-input').type('APM'); // navigates to traces page cy.contains('APM / Traces').click({ force: true }); diff --git a/x-pack/plugins/apm/ftr_e2e/cypress/e2e/read_only_user/service_inventory/header_filters/header_filters.cy.ts b/x-pack/plugins/apm/ftr_e2e/cypress/e2e/read_only_user/service_inventory/header_filters/header_filters.cy.ts index 4f72e968d81f8..e689e126d4bfd 100644 --- a/x-pack/plugins/apm/ftr_e2e/cypress/e2e/read_only_user/service_inventory/header_filters/header_filters.cy.ts +++ b/x-pack/plugins/apm/ftr_e2e/cypress/e2e/read_only_user/service_inventory/header_filters/header_filters.cy.ts @@ -28,6 +28,7 @@ describe('Service inventory - header filters', () => { specialServiceName, }) ); + cy.dismissServiceGroupsTour(); }); after(() => { diff --git a/x-pack/plugins/apm/ftr_e2e/cypress/support/commands.ts b/x-pack/plugins/apm/ftr_e2e/cypress/support/commands.ts index 013296d815a58..e0af1e1a84729 100644 --- a/x-pack/plugins/apm/ftr_e2e/cypress/support/commands.ts +++ b/x-pack/plugins/apm/ftr_e2e/cypress/support/commands.ts @@ -125,6 +125,16 @@ Cypress.Commands.add( } ); +Cypress.Commands.add('dismissServiceGroupsTour', () => { + window.localStorage.setItem( + 'apm.serviceGroupsTour', + JSON.stringify({ + createGroup: false, + editGroup: false, + }) + ); +}); + // A11y configuration const axeConfig = { diff --git a/x-pack/plugins/apm/ftr_e2e/cypress/support/types.d.ts b/x-pack/plugins/apm/ftr_e2e/cypress/support/types.d.ts index 5d59d4691820a..d9675f2536315 100644 --- a/x-pack/plugins/apm/ftr_e2e/cypress/support/types.d.ts +++ b/x-pack/plugins/apm/ftr_e2e/cypress/support/types.d.ts @@ -23,5 +23,6 @@ declare namespace Cypress { }): void; updateAdvancedSettings(settings: Record): void; getByTestSubj(selector: string): Chainable>; + dismissServiceGroupsTour(): void; } } diff --git a/x-pack/plugins/apm/public/components/app/service_groups/service_group_save/create_button.tsx b/x-pack/plugins/apm/public/components/app/service_groups/service_group_save/create_button.tsx index cd1b819ce114e..6c872423d577a 100644 --- a/x-pack/plugins/apm/public/components/app/service_groups/service_group_save/create_button.tsx +++ b/x-pack/plugins/apm/public/components/app/service_groups/service_group_save/create_button.tsx @@ -7,42 +7,42 @@ import { EuiButton } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; import React from 'react'; -import { ServiceGroupsTour } from '../service_groups_tour'; -import { useServiceGroupsTour } from '../use_service_groups_tour'; +// import { ServiceGroupsTour } from '../service_groups_tour'; +// import { useServiceGroupsTour } from '../use_service_groups_tour'; interface Props { onClick: () => void; } export function CreateButton({ onClick }: Props) { - const { tourEnabled, dismissTour } = useServiceGroupsTour('createGroup'); + // const { tourEnabled, dismissTour } = useServiceGroupsTour('createGroup'); return ( - + { + // dismissTour(); + onClick(); + }} > - { - dismissTour(); - onClick(); - }} - > - {i18n.translate('xpack.apm.serviceGroups.createGroupLabel', { - defaultMessage: 'Create group', - })} - - + {i18n.translate('xpack.apm.serviceGroups.createGroupLabel', { + defaultMessage: 'Create group', + })} + + // ); } diff --git a/x-pack/plugins/apm/public/components/app/service_groups/service_groups_button_group.tsx b/x-pack/plugins/apm/public/components/app/service_groups/service_groups_button_group.tsx new file mode 100644 index 0000000000000..09a26dd150116 --- /dev/null +++ b/x-pack/plugins/apm/public/components/app/service_groups/service_groups_button_group.tsx @@ -0,0 +1,78 @@ +/* + * 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 { EuiButtonGroup } from '@elastic/eui'; +import { i18n } from '@kbn/i18n'; +import React from 'react'; +import { useHistory } from 'react-router-dom'; +import { ServiceGroupsTour } from './service_groups_tour'; +import { useServiceGroupsTour } from './use_service_groups_tour'; + +const buttonGroupOptions = { + allServices: { + option: { + id: 'allServices', + label: i18n.translate('xpack.apm.serviceGroups.buttonGroup.allServices', { + defaultMessage: 'All services', + }), + }, + pathname: '/services', + }, + serviceGroups: { + option: { + id: 'serviceGroups', + label: i18n.translate( + 'xpack.apm.serviceGroups.buttonGroup.serviceGroups', + { defaultMessage: 'Service groups' } + ), + }, + pathname: '/service-groups', + }, +}; + +type SelectedNavButton = keyof typeof buttonGroupOptions; + +export function ServiceGroupsButtonGroup({ + selectedNavButton, +}: { + selectedNavButton: SelectedNavButton; +}) { + const history = useHistory(); + const { tourEnabled, dismissTour } = useServiceGroupsTour('createGroup'); + return ( + + { + const { pathname } = buttonGroupOptions[id as SelectedNavButton]; + history.push({ pathname }); + }} + legend={i18n.translate('xpack.apm.servicesGroups.buttonGroup.legend', { + defaultMessage: 'View all services or service groups', + })} + /> + + ); +} diff --git a/x-pack/plugins/apm/public/components/app/service_groups/service_groups_list/index.tsx b/x-pack/plugins/apm/public/components/app/service_groups/service_groups_list/index.tsx index 734298dabe9eb..2ee0224acda13 100644 --- a/x-pack/plugins/apm/public/components/app/service_groups/service_groups_list/index.tsx +++ b/x-pack/plugins/apm/public/components/app/service_groups/service_groups_list/index.tsx @@ -12,6 +12,7 @@ import { EuiFlexItem, EuiFormControlLayout, EuiText, + EuiLink, } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; import { isEmpty, sortBy } from 'lodash'; @@ -21,6 +22,8 @@ import { ServiceGroupsListItems } from './service_groups_list'; import { Sort } from './sort'; import { RefreshServiceGroupsSubscriber } from '../refresh_service_groups_subscriber'; import { getDateRange } from '../../../../context/url_params_context/helpers'; +import { ServiceGroupSaveButton } from '../service_group_save'; +import { BetaBadge } from '../../../shared/beta_badge'; export type ServiceGroupsSortType = 'recently_added' | 'alphabetical'; @@ -39,33 +42,24 @@ export function ServiceGroupsList() { [] ); + const { serviceGroups } = data; + const { start, end } = useMemo( - () => - getDateRange({ - rangeFrom: 'now-24h', - rangeTo: 'now', - }), + () => getDateRange({ rangeFrom: 'now-24h', rangeTo: 'now' }), [] ); const { data: servicesCountData = { servicesCounts: {} } } = useFetcher( (callApmApi) => { - if (start && end) { + if (start && end && serviceGroups.length) { return callApmApi('GET /internal/apm/service_groups/services_count', { - params: { - query: { - start, - end, - }, - }, + params: { query: { start, end } }, }); } }, - [start, end] + [start, end, serviceGroups.length] ); - const { serviceGroups } = data; - const isLoading = status === FETCH_STATUS.NOT_INITIATED || status === FETCH_STATUS.LOADING; @@ -91,7 +85,6 @@ export function ServiceGroupsList() { }, []); if (isLoading) { - // return null; return ( } @@ -127,9 +120,7 @@ export function ServiceGroupsList() { onChange={(e) => setFilter(e.target.value)} placeholder={i18n.translate( 'xpack.apm.servicesGroups.filter', - { - defaultMessage: 'Filter groups', - } + { defaultMessage: 'Filter groups' } )} /> @@ -145,51 +136,118 @@ export function ServiceGroupsList() { - + + {serviceGroups.length ? ( + <> + + + + + {i18n.translate( + 'xpack.apm.serviceGroups.groupsCount', + { + defaultMessage: + '{servicesCount} {servicesCount, plural, =0 {groups} one {group} other {groups}}', + values: { servicesCount: filteredItems.length }, + } + )} + + + + + {i18n.translate( + 'xpack.apm.serviceGroups.listDescription', + { + defaultMessage: + 'Displayed service counts reflect the last 24 hours.', + } + )} + + + + + + + ) : null} + + + + + +
+ +
+
- - {i18n.translate('xpack.apm.serviceGroups.groupsCount', { - defaultMessage: - '{servicesCount} {servicesCount, plural, =0 {group} one {group} other {groups}}', - values: { servicesCount: filteredItems.length + 1 }, - })} - + + {i18n.translate( + 'xpack.apm.serviceGroups.beta.feedback.link', + { defaultMessage: 'Send feedback' } + )} +
- - {i18n.translate('xpack.apm.serviceGroups.listDescription', { - defaultMessage: - 'Displayed service counts reflect the last 24 hours.', - })} -
- {items.length ? ( - + {serviceGroups.length ? ( + items.length ? ( + + ) : ( + + {i18n.translate( + 'xpack.apm.serviceGroups.filtered.emptyPrompt.serviceGroups', + { defaultMessage: 'Service groups' } + )} + + } + body={ +

+ {i18n.translate( + 'xpack.apm.serviceGroups.filtered.emptyPrompt.message', + { defaultMessage: 'No groups found for this filter' } + )} +

+ } + /> + ) ) : ( {i18n.translate( - 'xpack.apm.serviceGroups.emptyPrompt.serviceGroups', - { defaultMessage: 'Service groups' } + 'xpack.apm.serviceGroups.data.emptyPrompt.noServiceGroups', + { defaultMessage: 'No service groups' } )} } body={

{i18n.translate( - 'xpack.apm.serviceGroups.emptyPrompt.message', - { defaultMessage: 'No groups found for this filter' } + 'xpack.apm.serviceGroups.data.emptyPrompt.message', + { + defaultMessage: + 'Start grouping and organising your services and your application. Learn more about Service groups or create a group.', + } )}

} + actions={} /> )}
diff --git a/x-pack/plugins/apm/public/components/app/service_groups/service_groups_list/service_group_card.tsx b/x-pack/plugins/apm/public/components/app/service_groups/service_groups_list/service_group_card.tsx index 96d6f381ebe14..bc8a424c922b9 100644 --- a/x-pack/plugins/apm/public/components/app/service_groups/service_groups_list/service_group_card.tsx +++ b/x-pack/plugins/apm/public/components/app/service_groups/service_groups_list/service_group_card.tsx @@ -18,15 +18,12 @@ import { ServiceGroup, SERVICE_GROUP_COLOR_DEFAULT, } from '../../../../../common/service_groups'; -import { ServiceGroupsTour } from '../service_groups_tour'; -import { useServiceGroupsTour } from '../use_service_groups_tour'; interface Props { serviceGroup: ServiceGroup; hideServiceCount?: boolean; onClick?: () => void; href?: string; - withTour?: boolean; servicesCount?: number; } @@ -35,11 +32,8 @@ export function ServiceGroupsCard({ hideServiceCount = false, onClick, href, - withTour, servicesCount, }: Props) { - const { tourEnabled, dismissTour } = useServiceGroupsTour('serviceGroupCard'); - const cardProps: EuiCardProps = { style: { width: 286 }, icon: ( @@ -81,45 +75,10 @@ export function ServiceGroupsCard({ )}
), - onClick: () => { - dismissTour(); - if (onClick) { - onClick(); - } - }, + onClick, href, }; - if (withTour) { - return ( - - - <>{cardProps.description} - - } - /> - - ); - } - return ( diff --git a/x-pack/plugins/apm/public/components/app/service_groups/service_groups_list/service_groups_list.tsx b/x-pack/plugins/apm/public/components/app/service_groups/service_groups_list/service_groups_list.tsx index 000759cc92021..64935927b9363 100644 --- a/x-pack/plugins/apm/public/components/app/service_groups/service_groups_list/service_groups_list.tsx +++ b/x-pack/plugins/apm/public/components/app/service_groups/service_groups_list/service_groups_list.tsx @@ -5,11 +5,9 @@ * 2.0. */ import { EuiFlexGrid } from '@elastic/eui'; -import { i18n } from '@kbn/i18n'; import React from 'react'; import { SavedServiceGroup } from '../../../../../common/service_groups'; import { ServiceGroupsCard } from './service_group_card'; -import { SERVICE_GROUP_COLOR_DEFAULT } from '../../../../../common/service_groups'; import { useApmRouter } from '../../../../hooks/use_apm_router'; import { useApmParams } from '../../../../hooks/use_apm_params'; import { useDefaultEnvironment } from '../../../../hooks/use_default_environment'; @@ -42,30 +40,6 @@ export function ServiceGroupsListItems({ items, servicesCounts }: Props) { })} /> ))} - ); } diff --git a/x-pack/plugins/apm/public/components/app/service_groups/service_groups_tour.tsx b/x-pack/plugins/apm/public/components/app/service_groups/service_groups_tour.tsx index 0d4f825caefe3..4f7a457be49b4 100644 --- a/x-pack/plugins/apm/public/components/app/service_groups/service_groups_tour.tsx +++ b/x-pack/plugins/apm/public/components/app/service_groups/service_groups_tour.tsx @@ -5,19 +5,26 @@ * 2.0. */ -import { EuiButtonEmpty, EuiSpacer, EuiText, EuiTourStep } from '@elastic/eui'; +import { + EuiButtonEmpty, + EuiSpacer, + EuiText, + EuiTourStep, + PopoverAnchorPosition, +} from '@elastic/eui'; import { i18n } from '@kbn/i18n'; import { FormattedMessage } from '@kbn/i18n-react'; import React from 'react'; import { ElasticDocsLink } from '../../shared/links/elastic_docs_link'; -export type TourType = 'createGroup' | 'editGroup' | 'serviceGroupCard'; +export type TourType = 'createGroup' | 'editGroup'; interface Props { title: string; content: string; tourEnabled: boolean; dismissTour: () => void; + anchorPosition?: PopoverAnchorPosition; children: React.ReactElement; } @@ -26,6 +33,7 @@ export function ServiceGroupsTour({ dismissTour, title, content, + anchorPosition, children, }: Props) { return ( @@ -46,9 +54,7 @@ export function ServiceGroupsTour({ > {i18n.translate( 'xpack.apm.serviceGroups.tour.content.link.docs', - { - defaultMessage: 'docs', - } + { defaultMessage: 'docs' } )} ), @@ -63,7 +69,7 @@ export function ServiceGroupsTour({ step={1} stepsTotal={1} title={title} - anchorPosition="leftUp" + anchorPosition={anchorPosition} footerAction={ {i18n.translate('xpack.apm.serviceGroups.tour.dismiss', { diff --git a/x-pack/plugins/apm/public/components/app/service_groups/use_service_groups_tour.tsx b/x-pack/plugins/apm/public/components/app/service_groups/use_service_groups_tour.tsx index ba27b0e2640e8..400a88a026e01 100644 --- a/x-pack/plugins/apm/public/components/app/service_groups/use_service_groups_tour.tsx +++ b/x-pack/plugins/apm/public/components/app/service_groups/use_service_groups_tour.tsx @@ -11,7 +11,6 @@ import { TourType } from './service_groups_tour'; const INITIAL_STATE: Record = { createGroup: true, editGroup: true, - serviceGroupCard: true, }; export function useServiceGroupsTour(type: TourType) { diff --git a/x-pack/plugins/apm/public/components/routing/apm_route_config.tsx b/x-pack/plugins/apm/public/components/routing/apm_route_config.tsx index 53fab0ed5694c..4624c29376fa5 100644 --- a/x-pack/plugins/apm/public/components/routing/apm_route_config.tsx +++ b/x-pack/plugins/apm/public/components/routing/apm_route_config.tsx @@ -18,7 +18,6 @@ import { serviceDetail } from './service_detail'; import { settings } from './settings'; import { ApmMainTemplate } from './templates/apm_main_template'; import { ServiceGroupsList } from '../app/service_groups'; -import { ServiceGroupsRedirect } from './service_groups_redirect'; import { offsetRt } from '../../../common/comparison_rt'; const ServiceGroupsTitle = i18n.translate( @@ -78,11 +77,11 @@ const apmRoutes = { - - - + ), diff --git a/x-pack/plugins/apm/public/components/routing/home/index.tsx b/x-pack/plugins/apm/public/components/routing/home/index.tsx index 36ead4f7b36c7..555d42ddb6f98 100644 --- a/x-pack/plugins/apm/public/components/routing/home/index.tsx +++ b/x-pack/plugins/apm/public/components/routing/home/index.tsx @@ -22,7 +22,6 @@ import { TraceExplorer } from '../../app/trace_explorer'; import { TraceOverview } from '../../app/trace_overview'; import { TransactionTab } from '../../app/transaction_details/waterfall_with_summary/transaction_tabs'; import { RedirectTo } from '../redirect_to'; -import { ServiceGroupsRedirect } from '../service_groups_redirect'; import { ApmMainTemplate } from '../templates/apm_main_template'; import { ServiceGroupTemplate } from '../templates/service_group_template'; import { dependencies } from './dependencies'; @@ -236,13 +235,7 @@ export const home = { ...dependencies, ...legacyBackends, ...storageExplorer, - '/': { - element: ( - - - - ), - }, + '/': { element: }, }, }, }; diff --git a/x-pack/plugins/apm/public/components/routing/service_groups_redirect.tsx b/x-pack/plugins/apm/public/components/routing/service_groups_redirect.tsx deleted file mode 100644 index f309c69932903..0000000000000 --- a/x-pack/plugins/apm/public/components/routing/service_groups_redirect.tsx +++ /dev/null @@ -1,37 +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; you may not use this file except in compliance with the Elastic License - * 2.0. - */ -import React from 'react'; -import { useKibana } from '@kbn/kibana-react-plugin/public'; -import { enableServiceGroups } from '@kbn/observability-plugin/public'; -import { RedirectTo } from './redirect_to'; -import { useFetcher, FETCH_STATUS } from '../../hooks/use_fetcher'; - -export function ServiceGroupsRedirect({ - children, -}: { - children?: React.ReactNode; -}) { - const { data = { serviceGroups: [] }, status } = useFetcher( - (callApmApi) => callApmApi('GET /internal/apm/service-groups'), - [] - ); - const { serviceGroups } = data; - const isLoading = - status === FETCH_STATUS.NOT_INITIATED || status === FETCH_STATUS.LOADING; - const { - services: { uiSettings }, - } = useKibana(); - const isServiceGroupsEnabled = uiSettings?.get(enableServiceGroups); - - if (isLoading) { - return null; - } - if (!isServiceGroupsEnabled || serviceGroups.length === 0) { - return ; - } - return <>{children}; -} diff --git a/x-pack/plugins/apm/public/components/routing/templates/apm_main_template.tsx b/x-pack/plugins/apm/public/components/routing/templates/apm_main_template.tsx index 4eb7d8140fdf3..60f06ddaef8fc 100644 --- a/x-pack/plugins/apm/public/components/routing/templates/apm_main_template.tsx +++ b/x-pack/plugins/apm/public/components/routing/templates/apm_main_template.tsx @@ -10,13 +10,13 @@ import React from 'react'; import { useLocation } from 'react-router-dom'; import { useKibana } from '@kbn/kibana-react-plugin/public'; import type { KibanaPageTemplateProps } from '@kbn/shared-ux-page-kibana-template'; -import { enableServiceGroups } from '@kbn/observability-plugin/public'; import { EnvironmentsContextProvider } from '../../../context/environments_context/environments_context'; import { useFetcher, FETCH_STATUS } from '../../../hooks/use_fetcher'; import { ApmPluginStartDeps } from '../../../plugin'; import { ApmEnvironmentFilter } from '../../shared/environment_filter'; import { getNoDataConfig } from './no_data_config'; import { ServiceGroupSaveButton } from '../../app/service_groups'; +import { ServiceGroupsButtonGroup } from '../../app/service_groups/service_groups_button_group'; // Paths that must skip the no data screen const bypassNoDataScreenPaths = ['/settings']; @@ -37,6 +37,8 @@ export function ApmMainTemplate({ children, environmentFilter = true, showServiceGroupSaveButton = false, + showServiceGroupsNav = false, + selectedNavButton, ...pageTemplateProps }: { pageTitle?: React.ReactNode; @@ -44,6 +46,8 @@ export function ApmMainTemplate({ children: React.ReactNode; environmentFilter?: boolean; showServiceGroupSaveButton?: boolean; + showServiceGroupsNav?: boolean; + selectedNavButton?: 'serviceGroups' | 'allServices'; } & KibanaPageTemplateProps) { const location = useLocation(); @@ -97,14 +101,8 @@ export function ApmMainTemplate({ loading: isLoading, }); - const { - services: { uiSettings }, - } = useKibana(); - const isServiceGroupsEnabled = uiSettings?.get(enableServiceGroups); - const renderServiceGroupSaveButton = - showServiceGroupSaveButton && isServiceGroupsEnabled; const rightSideItems = [ - ...(renderServiceGroupSaveButton ? [] : []), + ...(showServiceGroupSaveButton ? [] : []), ...(environmentFilter ? [] : []), ]; @@ -116,6 +114,10 @@ export function ApmMainTemplate({ pageTitle, rightSideItems, ...pageHeader, + children: + showServiceGroupsNav && selectedNavButton ? ( + + ) : null, }} {...pageTemplateProps} > diff --git a/x-pack/plugins/apm/public/components/routing/templates/service_group_template.tsx b/x-pack/plugins/apm/public/components/routing/templates/service_group_template.tsx index 1eece05eb8843..149188243ea35 100644 --- a/x-pack/plugins/apm/public/components/routing/templates/service_group_template.tsx +++ b/x-pack/plugins/apm/public/components/routing/templates/service_group_template.tsx @@ -9,17 +9,13 @@ import { EuiPageHeaderProps, EuiFlexGroup, EuiFlexItem, - EuiButtonIcon, EuiLoadingContent, - EuiLoadingSpinner, + EuiIcon, } from '@elastic/eui'; import React from 'react'; import { i18n } from '@kbn/i18n'; -import { useKibana } from '@kbn/kibana-react-plugin/public'; import type { KibanaPageTemplateProps } from '@kbn/shared-ux-page-kibana-template'; -import { enableServiceGroups } from '@kbn/observability-plugin/public'; -import { useFetcher, FETCH_STATUS } from '../../../hooks/use_fetcher'; -import { ApmPluginStartDeps } from '../../../plugin'; +import { useFetcher } from '../../../hooks/use_fetcher'; import { useApmRouter } from '../../../hooks/use_apm_router'; import { useAnyOfApmParams } from '../../../hooks/use_apm_params'; import { ApmMainTemplate } from './apm_main_template'; @@ -39,11 +35,6 @@ export function ServiceGroupTemplate({ environmentFilter?: boolean; serviceGroupContextTab: ServiceGroupContextTab['key']; } & KibanaPageTemplateProps) { - const { - services: { uiSettings }, - } = useKibana(); - const isServiceGroupsEnabled = uiSettings?.get(enableServiceGroups); - const router = useApmRouter(); const { query, @@ -61,18 +52,9 @@ export function ServiceGroupTemplate({ [serviceGroupId] ); - const { data: serviceGroupsData, status: serviceGroupsStatus } = useFetcher( - (callApmApi) => { - if (!serviceGroupId && isServiceGroupsEnabled) { - return callApmApi('GET /internal/apm/service-groups'); - } - }, - [serviceGroupId, isServiceGroupsEnabled] - ); - const serviceGroupName = data?.serviceGroup.groupName; const loadingServiceGroupName = !!serviceGroupId && !serviceGroupName; - const hasServiceGroups = !!serviceGroupsData?.serviceGroups.length; + const isAllServices = !serviceGroupId; const serviceGroupsLink = router.link('/service-groups', { query: { ...query, serviceGroup: '' }, }); @@ -85,29 +67,13 @@ export function ServiceGroupTemplate({ justifyContent="flexStart" responsive={false} > - {serviceGroupsStatus === FETCH_STATUS.LOADING && ( - - - - )} - {(serviceGroupId || hasServiceGroups) && ( - - - - )} {loadingServiceGroupName ? ( ) : ( serviceGroupName || i18n.translate('xpack.apm.serviceGroup.allServices.title', { - defaultMessage: 'All services', + defaultMessage: 'Services', }) )} @@ -145,13 +111,33 @@ export function ServiceGroupTemplate({ ); return ( + {' '} + {i18n.translate( + 'xpack.apm.serviceGroups.breadcrumb.return', + { defaultMessage: 'Return' } + )} + + ), + color: 'primary', + 'aria-current': false, + href: serviceGroupsLink, + }, + ] + : undefined, ...pageHeader, }} environmentFilter={environmentFilter} - showServiceGroupSaveButton={true} + showServiceGroupSaveButton={!isAllServices} + showServiceGroupsNav={isAllServices} + selectedNavButton={isAllServices ? 'allServices' : 'serviceGroups'} {...pageTemplateProps} > {children} diff --git a/x-pack/plugins/apm/public/plugin.ts b/x-pack/plugins/apm/public/plugin.ts index 18dcba1468780..0b3137ee6ad99 100644 --- a/x-pack/plugins/apm/public/plugin.ts +++ b/x-pack/plugins/apm/public/plugin.ts @@ -48,7 +48,6 @@ import type { } from '@kbn/triggers-actions-ui-plugin/public'; import type { SecurityPluginStart } from '@kbn/security-plugin/public'; import { SpacesPluginStart } from '@kbn/spaces-plugin/public'; -import { enableServiceGroups } from '@kbn/observability-plugin/public'; import { InfraClientStartExports } from '@kbn/infra-plugin/public'; import { DataViewsPublicPluginStart } from '@kbn/data-views-plugin/public'; import { registerApmRuleTypes } from './components/alerting/rule_types/register_apm_rule_types'; @@ -104,10 +103,10 @@ const servicesTitle = i18n.translate('xpack.apm.navigation.servicesTitle', { defaultMessage: 'Services', }); -const allServicesTitle = i18n.translate( - 'xpack.apm.navigation.allServicesTitle', +const serviceGroupsTitle = i18n.translate( + 'xpack.apm.navigation.serviceGroupsTitle', { - defaultMessage: 'All services', + defaultMessage: 'Service groups', } ); @@ -154,11 +153,6 @@ export class ApmPlugin implements Plugin { pluginSetupDeps.home.featureCatalogue.register(featureCatalogueEntry); } - const serviceGroupsEnabled = core.uiSettings.get( - enableServiceGroups, - false - ); - // register observability nav if user has access to plugin plugins.observability.navigation.registerSections( from(core.getStartServices()).pipe( @@ -170,26 +164,18 @@ export class ApmPlugin implements Plugin { label: 'APM', sortKey: 400, entries: [ - serviceGroupsEnabled - ? { - label: servicesTitle, - app: 'apm', - path: '/service-groups', - matchPath(currentPath: string) { - return [ - '/service-groups', - '/services', - '/service-map', - ].some((testPath) => - currentPath.startsWith(testPath) - ); - }, - } - : { - label: servicesTitle, - app: 'apm', - path: '/services', - }, + { + label: servicesTitle, + app: 'apm', + path: '/services', + matchPath(currentPath: string) { + return [ + '/service-groups', + '/services', + '/service-map', + ].some((testPath) => currentPath.startsWith(testPath)); + }, + }, { label: tracesTitle, app: 'apm', path: '/traces' }, { label: dependenciesTitle, @@ -209,15 +195,6 @@ export class ApmPlugin implements Plugin { } }, }, - ...(serviceGroupsEnabled - ? [] - : [ - { - label: serviceMapTitle, - app: 'apm', - path: '/service-map', - }, - ]), ], }, ]; @@ -298,18 +275,14 @@ export class ApmPlugin implements Plugin { icon: 'plugins/apm/public/icon.svg', category: DEFAULT_APP_CATEGORIES.observability, deepLinks: [ - ...(serviceGroupsEnabled - ? [ - { - id: 'service-groups-list', - title: servicesTitle, - path: '/service-groups', - }, - ] - : []), + { + id: 'service-groups-list', + title: serviceGroupsTitle, + path: '/service-groups', + }, { id: 'services', - title: serviceGroupsEnabled ? allServicesTitle : servicesTitle, + title: servicesTitle, path: '/services', }, { id: 'traces', title: tracesTitle, path: '/traces' }, diff --git a/x-pack/plugins/observability/common/index.ts b/x-pack/plugins/observability/common/index.ts index 123c0639f2d49..7a2100e15225a 100644 --- a/x-pack/plugins/observability/common/index.ts +++ b/x-pack/plugins/observability/common/index.ts @@ -18,7 +18,6 @@ export { enableComparisonByDefault, defaultApmServiceEnvironment, apmProgressiveLoading, - enableServiceGroups, apmServiceInventoryOptimizedSorting, apmServiceGroupMaxNumberOfServices, apmTraceExplorerTab, diff --git a/x-pack/plugins/observability/common/ui_settings_keys.ts b/x-pack/plugins/observability/common/ui_settings_keys.ts index ab1684c2e5bfe..7de867608bfcb 100644 --- a/x-pack/plugins/observability/common/ui_settings_keys.ts +++ b/x-pack/plugins/observability/common/ui_settings_keys.ts @@ -11,7 +11,6 @@ export const maxSuggestions = 'observability:maxSuggestions'; export const enableComparisonByDefault = 'observability:enableComparisonByDefault'; export const defaultApmServiceEnvironment = 'observability:apmDefaultServiceEnvironment'; export const apmProgressiveLoading = 'observability:apmProgressiveLoading'; -export const enableServiceGroups = 'observability:enableServiceGroups'; export const apmServiceInventoryOptimizedSorting = 'observability:apmServiceInventoryOptimizedSorting'; export const apmServiceGroupMaxNumberOfServices = diff --git a/x-pack/plugins/observability/public/index.ts b/x-pack/plugins/observability/public/index.ts index 9bc1eb7f2a172..8c083012448e6 100644 --- a/x-pack/plugins/observability/public/index.ts +++ b/x-pack/plugins/observability/public/index.ts @@ -27,7 +27,6 @@ export type { export { enableInspectEsQueries, enableComparisonByDefault, - enableServiceGroups, enableNewSyntheticsView, apmServiceGroupMaxNumberOfServices, enableInfrastructureHostsView, diff --git a/x-pack/plugins/observability/server/ui_settings.ts b/x-pack/plugins/observability/server/ui_settings.ts index e979bd6a7fb11..a2bc38727e53e 100644 --- a/x-pack/plugins/observability/server/ui_settings.ts +++ b/x-pack/plugins/observability/server/ui_settings.ts @@ -15,7 +15,6 @@ import { maxSuggestions, defaultApmServiceEnvironment, apmProgressiveLoading, - enableServiceGroups, apmServiceInventoryOptimizedSorting, enableNewSyntheticsView, apmServiceGroupMaxNumberOfServices, @@ -162,24 +161,6 @@ export const uiSettings: Record = { }, showInLabs: true, }, - [enableServiceGroups]: { - category: [observabilityFeatureId], - name: i18n.translate('xpack.observability.enableServiceGroups', { - defaultMessage: 'Service groups feature', - }), - value: false, - description: i18n.translate('xpack.observability.enableServiceGroupsDescription', { - defaultMessage: - '{technicalPreviewLabel} Enable the Service groups feature on APM UI. {feedbackLink}.', - values: { - technicalPreviewLabel: `[${technicalPreviewLabel}]`, - feedbackLink: feedbackLink({ href: 'https://ela.st/feedback-service-groups' }), - }, - }), - schema: schema.boolean(), - requiresPageReload: true, - showInLabs: true, - }, [enableServiceMetrics]: { category: [observabilityFeatureId], name: i18n.translate('xpack.observability.apmEnableServiceMetrics', { diff --git a/x-pack/plugins/translations/translations/fr-FR.json b/x-pack/plugins/translations/translations/fr-FR.json index 7d1b626c1c7e8..087c56fab47b9 100644 --- a/x-pack/plugins/translations/translations/fr-FR.json +++ b/x-pack/plugins/translations/translations/fr-FR.json @@ -7431,7 +7431,6 @@ "xpack.apm.mlCallout.updateAvailableCalloutButtonText": "Mettre à jour les tâches", "xpack.apm.mlCallout.updateAvailableCalloutText": "Nous avons mis à jour les tâches de détection des anomalies qui fournissent des indications sur la dégradation des performances et ajouté des détecteurs de débit et de taux de transactions ayant échoué. Si vous choisissez de mettre à jour, nous créerons les nouvelles tâches et fermerons les tâches héritées. Les données affichées dans l'application APM passeront automatiquement aux nouvelles. Veuillez noter que l'option de migration de toutes les tâches existantes ne sera pas disponible si vous choisissez de créer une nouvelle tâche.", "xpack.apm.mlCallout.updateAvailableCalloutTitle": "Mises à jour disponibles", - "xpack.apm.navigation.allServicesTitle": "Tous les services", "xpack.apm.navigation.apmSettingsTitle": "Paramètres", "xpack.apm.navigation.dependenciesTitle": "Dépendances", "xpack.apm.navigation.serviceMapTitle": "Carte des services", @@ -7466,14 +7465,16 @@ "xpack.apm.serviceGroup.serviceInventory": "Inventory", "xpack.apm.serviceGroup.serviceMap": "Carte des services", "xpack.apm.serviceGroups.breadcrumb.title": "Services", + "xpack.apm.serviceGroups.buttonGroup.allServices": "Tous les services", + "xpack.apm.serviceGroups.buttonGroup.serviceGroups": "Groupes de services", "xpack.apm.serviceGroups.cardsList.emptyDescription": "Aucune description disponible", "xpack.apm.serviceGroups.createGroupLabel": "Créer un groupe", "xpack.apm.serviceGroups.createSuccess.toast.text": "Votre groupe est maintenant visible dans la nouvelle vue Services pour les groupes.", "xpack.apm.serviceGroups.deleteFailure.unknownId.toast.text": "Impossible de supprimer le groupe : id du groupe de service inconnu.", "xpack.apm.serviceGroups.editGroupLabel": "Modifier un groupe", "xpack.apm.serviceGroups.editSuccess.toast.text": "Nouveaux changements dans le groupe de services enregistrés.", - "xpack.apm.serviceGroups.emptyPrompt.message": "Aucun groupe trouvé pour ce filtre", - "xpack.apm.serviceGroups.emptyPrompt.serviceGroups": "Groupes de services", + "xpack.apm.serviceGroups.filtered.emptyPrompt.message": "Aucun groupe trouvé pour ce filtre", + "xpack.apm.serviceGroups.filtered.emptyPrompt.serviceGroups": "Groupes de services", "xpack.apm.serviceGroups.groupDetailsForm.cancel": "Annuler", "xpack.apm.serviceGroups.groupDetailsForm.color": "Couleur", "xpack.apm.serviceGroups.groupDetailsForm.create.title": "Créer un groupe", @@ -7484,8 +7485,6 @@ "xpack.apm.serviceGroups.groupDetailsForm.invalidColorError": "Veuillez fournir une valeur de couleur valide", "xpack.apm.serviceGroups.groupDetailsForm.name": "Nom", "xpack.apm.serviceGroups.groupDetailsForm.selectServices": "Sélectionner des services", - "xpack.apm.serviceGroups.list.allServices.description": "Afficher tous les services", - "xpack.apm.serviceGroups.list.allServices.name": "Tous les services", "xpack.apm.serviceGroups.list.sort.alphabetical": "Alphabétique", "xpack.apm.serviceGroups.list.sort.recentlyAdded": "Récemment ajouté", "xpack.apm.serviceGroups.selectServicesForm.cancel": "Annuler", @@ -7506,8 +7505,6 @@ "xpack.apm.serviceGroups.tour.dismiss": "Rejeter", "xpack.apm.serviceGroups.tour.editGroups.content": "Utilisez l'option de modification pour changer le nom, la requête ou les détails de ce groupe de services.", "xpack.apm.serviceGroups.tour.editGroups.title": "Modifier ce groupe de services", - "xpack.apm.serviceGroups.tour.serviceGroups.content": "Maintenant que vous avez créé un groupe de services, votre inventaire Tous les services a été déplacé ici. Ce groupe ne peut être ni modifié ni retiré.", - "xpack.apm.serviceGroups.tour.serviceGroups.title": "Groupe Tous les services", "xpack.apm.serviceHealthStatus.critical": "Critique", "xpack.apm.serviceHealthStatus.healthy": "Intègre", "xpack.apm.serviceHealthStatus.unknown": "Inconnu", @@ -23390,7 +23387,6 @@ "xpack.observability.enableInspectEsQueriesExperimentName": "Inspecter les recherches ES", "xpack.observability.enableNewSyntheticsViewExperimentDescription": "Activez la nouvelle application de monitoring synthétique dans Observability. Actualisez la page pour appliquer le paramètre.", "xpack.observability.enableNewSyntheticsViewExperimentName": "Activer la nouvelle application de monitoring synthétique", - "xpack.observability.enableServiceGroups": "Fonctionnalité de groupes de services", "xpack.observability.exp.breakDownFilter.noBreakdown": "Pas de répartition", "xpack.observability.exp.breakDownFilter.unavailable": "La répartition par nom d'étape n'est pas disponible pour l'indicateur de durée de monitoring. Utilisez l'indicateur de durée d'étape pour répartir par nom d'étape.", "xpack.observability.exp.breakDownFilter.warning": "Les répartitions ne peuvent être appliquées qu’à une seule série à la fois.", @@ -33678,4 +33674,4 @@ "xpack.painlessLab.title": "Painless Lab", "xpack.painlessLab.walkthroughButtonLabel": "Présentation" } -} \ No newline at end of file +} diff --git a/x-pack/plugins/translations/translations/ja-JP.json b/x-pack/plugins/translations/translations/ja-JP.json index d3f6cb84354ae..f4c281167d8b6 100644 --- a/x-pack/plugins/translations/translations/ja-JP.json +++ b/x-pack/plugins/translations/translations/ja-JP.json @@ -7419,7 +7419,6 @@ "xpack.apm.mlCallout.updateAvailableCalloutButtonText": "ジョブの更新", "xpack.apm.mlCallout.updateAvailableCalloutText": "劣化したパフォーマンスに関する詳細な分析を提供する異常検知ジョブを更新し、スループットと失敗したトランザクションレートの検知機能を追加しました。アップグレードを選択する場合は、新しいジョブが作成され、既存のレガシージョブが終了します。APMアプリに表示されるデータは自動的に新しいジョブに切り替わります。新しいジョブの作成を選択した場合は、すべての既存のジョブを移行するオプションを使用できません。", "xpack.apm.mlCallout.updateAvailableCalloutTitle": "更新が可能です", - "xpack.apm.navigation.allServicesTitle": "すべてのサービス", "xpack.apm.navigation.apmSettingsTitle": "設定", "xpack.apm.navigation.dependenciesTitle": "依存関係", "xpack.apm.navigation.serviceMapTitle": "サービスマップ", @@ -7453,14 +7452,16 @@ "xpack.apm.serviceGroup.serviceInventory": "インベントリ", "xpack.apm.serviceGroup.serviceMap": "サービスマップ", "xpack.apm.serviceGroups.breadcrumb.title": "サービス", + "xpack.apm.serviceGroups.buttonGroup.allServices": "すべてのサービス", + "xpack.apm.serviceGroups.buttonGroup.serviceGroups": "サービスグループ", "xpack.apm.serviceGroups.cardsList.emptyDescription": "説明がありません", "xpack.apm.serviceGroups.createGroupLabel": "グループを作成", "xpack.apm.serviceGroups.createSuccess.toast.text": "グループは、グループの新しいサービスビューに表示されます。", "xpack.apm.serviceGroups.deleteFailure.unknownId.toast.text": "グループを削除できません。不明なサービスグループIDです。", "xpack.apm.serviceGroups.editGroupLabel": "グループを編集", "xpack.apm.serviceGroups.editSuccess.toast.text": "サービスグループの新しいグループが保存されました。", - "xpack.apm.serviceGroups.emptyPrompt.message": "このフィルターのグループが見つかりません", - "xpack.apm.serviceGroups.emptyPrompt.serviceGroups": "サービスグループ", + "xpack.apm.serviceGroups.filtered.emptyPrompt.message": "このフィルターのグループが見つかりません", + "xpack.apm.serviceGroups.filtered.emptyPrompt.serviceGroups": "サービスグループ", "xpack.apm.serviceGroups.groupDetailsForm.cancel": "キャンセル", "xpack.apm.serviceGroups.groupDetailsForm.color": "色", "xpack.apm.serviceGroups.groupDetailsForm.create.title": "グループを作成", @@ -7471,8 +7472,6 @@ "xpack.apm.serviceGroups.groupDetailsForm.invalidColorError": "有効な色値を指定してください", "xpack.apm.serviceGroups.groupDetailsForm.name": "名前", "xpack.apm.serviceGroups.groupDetailsForm.selectServices": "サービスを選択", - "xpack.apm.serviceGroups.list.allServices.description": "すべてのサービスを表示", - "xpack.apm.serviceGroups.list.allServices.name": "すべてのサービス", "xpack.apm.serviceGroups.list.sort.alphabetical": "アルファベット順", "xpack.apm.serviceGroups.list.sort.recentlyAdded": "最近追加された項目", "xpack.apm.serviceGroups.selectServicesForm.cancel": "キャンセル", @@ -7493,8 +7492,6 @@ "xpack.apm.serviceGroups.tour.dismiss": "閉じる", "xpack.apm.serviceGroups.tour.editGroups.content": "編集オプションを使用して、名前、クエリ、このサービスグループの詳細を変更します。", "xpack.apm.serviceGroups.tour.editGroups.title": "このサービスグループを編集", - "xpack.apm.serviceGroups.tour.serviceGroups.content": "サービスグループが作成されたため、すべてのサービスインベントリがここに移動されました。このグループは編集または削除できません。", - "xpack.apm.serviceGroups.tour.serviceGroups.title": "すべてのサービスグループ", "xpack.apm.serviceHealthStatus.critical": "重大", "xpack.apm.serviceHealthStatus.healthy": "正常", "xpack.apm.serviceHealthStatus.unknown": "不明", @@ -23369,7 +23366,6 @@ "xpack.observability.enableInspectEsQueriesExperimentName": "ESクエリを調査", "xpack.observability.enableNewSyntheticsViewExperimentDescription": "オブザーバビリティで新しい合成監視アプリケーションを有効にします。設定を適用するにはページを更新してください。", "xpack.observability.enableNewSyntheticsViewExperimentName": "新しい合成監視アプリケーションを有効にする", - "xpack.observability.enableServiceGroups": "サービスグループ機能", "xpack.observability.exp.breakDownFilter.noBreakdown": "内訳なし", "xpack.observability.exp.breakDownFilter.unavailable": "モニター期間メトリックでは、ステップ名内訳を使用できません。ステップ期間メトリックを使用して、ステップ名で分解します。", "xpack.observability.exp.breakDownFilter.warning": "内訳は一度に1つの系列にのみ適用できます。", @@ -33652,4 +33648,4 @@ "xpack.painlessLab.title": "Painless Lab", "xpack.painlessLab.walkthroughButtonLabel": "実地検証" } -} \ No newline at end of file +} diff --git a/x-pack/plugins/translations/translations/zh-CN.json b/x-pack/plugins/translations/translations/zh-CN.json index 1239010846ed6..ce903ab668bef 100644 --- a/x-pack/plugins/translations/translations/zh-CN.json +++ b/x-pack/plugins/translations/translations/zh-CN.json @@ -7435,7 +7435,6 @@ "xpack.apm.mlCallout.updateAvailableCalloutButtonText": "更新作业", "xpack.apm.mlCallout.updateAvailableCalloutText": "我们已更新有助于深入了解性能降级的异常检测作业,并添加了检测工具以获取吞吐量和失败事务率。如果您选择进行升级,我们将创建新作业,并关闭现有的旧版作业。APM 应用中显示的数据将自动切换到新数据。请注意,如果您选择创建新作业,用于迁移所有现有作业的选项将不可用。", "xpack.apm.mlCallout.updateAvailableCalloutTitle": "可用更新", - "xpack.apm.navigation.allServicesTitle": "所有服务", "xpack.apm.navigation.apmSettingsTitle": "设置", "xpack.apm.navigation.dependenciesTitle": "依赖项", "xpack.apm.navigation.serviceMapTitle": "服务地图", @@ -7470,14 +7469,16 @@ "xpack.apm.serviceGroup.serviceInventory": "库存", "xpack.apm.serviceGroup.serviceMap": "服务地图", "xpack.apm.serviceGroups.breadcrumb.title": "服务", + "xpack.apm.serviceGroups.buttonGroup.allServices": "所有服务", + "xpack.apm.serviceGroups.buttonGroup.serviceGroups": "服务组", "xpack.apm.serviceGroups.cardsList.emptyDescription": "描述不可用", "xpack.apm.serviceGroups.createGroupLabel": "创建组", "xpack.apm.serviceGroups.createSuccess.toast.text": "您的组当前在组的新服务视图中可见。", "xpack.apm.serviceGroups.deleteFailure.unknownId.toast.text": "无法删除组:服务组 ID 未知。", "xpack.apm.serviceGroups.editGroupLabel": "编辑组", "xpack.apm.serviceGroups.editSuccess.toast.text": "已将新更改保存到服务组。", - "xpack.apm.serviceGroups.emptyPrompt.message": "找不到此筛选的组", - "xpack.apm.serviceGroups.emptyPrompt.serviceGroups": "服务组", + "xpack.apm.serviceGroups.filtered.emptyPrompt.message": "找不到此筛选的组", + "xpack.apm.serviceGroups.filtered.emptyPrompt.serviceGroups": "服务组", "xpack.apm.serviceGroups.groupDetailsForm.cancel": "取消", "xpack.apm.serviceGroups.groupDetailsForm.color": "颜色", "xpack.apm.serviceGroups.groupDetailsForm.create.title": "创建组", @@ -7488,8 +7489,6 @@ "xpack.apm.serviceGroups.groupDetailsForm.invalidColorError": "请提供有效的颜色值", "xpack.apm.serviceGroups.groupDetailsForm.name": "名称", "xpack.apm.serviceGroups.groupDetailsForm.selectServices": "选择服务", - "xpack.apm.serviceGroups.list.allServices.description": "查看所有服务", - "xpack.apm.serviceGroups.list.allServices.name": "所有服务", "xpack.apm.serviceGroups.list.sort.alphabetical": "按字母顺序", "xpack.apm.serviceGroups.list.sort.recentlyAdded": "最近添加", "xpack.apm.serviceGroups.selectServicesForm.cancel": "取消", @@ -7510,8 +7509,6 @@ "xpack.apm.serviceGroups.tour.dismiss": "关闭", "xpack.apm.serviceGroups.tour.editGroups.content": "使用编辑选项更改此服务组的名称、查询或详情。", "xpack.apm.serviceGroups.tour.editGroups.title": "编辑此服务组", - "xpack.apm.serviceGroups.tour.serviceGroups.content": "既然您已创建服务组,您的所有服务库存已移到此处。无法编辑或移除该组。", - "xpack.apm.serviceGroups.tour.serviceGroups.title": "所有服务组", "xpack.apm.serviceHealthStatus.critical": "紧急", "xpack.apm.serviceHealthStatus.healthy": "运行正常", "xpack.apm.serviceHealthStatus.unknown": "未知", @@ -23400,7 +23397,6 @@ "xpack.observability.enableInspectEsQueriesExperimentName": "检查 ES 查询", "xpack.observability.enableNewSyntheticsViewExperimentDescription": "在 Observability 中启用新的组合监测应用程序。刷新页面可应用该设置。", "xpack.observability.enableNewSyntheticsViewExperimentName": "启用新的组合监测应用程序", - "xpack.observability.enableServiceGroups": "服务组功能", "xpack.observability.exp.breakDownFilter.noBreakdown": "无细目", "xpack.observability.exp.breakDownFilter.unavailable": "步骤名称细目不可用于监测持续时间指标。使用步骤持续时间指标以按步骤名称细分。", "xpack.observability.exp.breakDownFilter.warning": "一次只能将细目应用于一个序列。", @@ -33689,4 +33685,4 @@ "xpack.painlessLab.title": "Painless 实验室", "xpack.painlessLab.walkthroughButtonLabel": "指导" } -} \ No newline at end of file +} From c8ea11c59d60e8681a1b77195785eecfc805c36c Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Sun, 30 Oct 2022 00:46:08 -0400 Subject: [PATCH 024/111] [api-docs] Daily api_docs build (#144208) --- 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_chat.mdx | 2 +- api_docs/cloud_experiments.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/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/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/files.mdx | 2 +- api_docs/fleet.mdx | 2 +- api_docs/global_search.mdx | 2 +- api_docs/guided_onboarding.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 +- ..._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_analytics_shippers_gainsight.mdx | 2 +- api_docs/kbn_apm_config_loader.mdx | 2 +- api_docs/kbn_apm_synthtrace.mdx | 2 +- api_docs/kbn_apm_utils.mdx | 2 +- api_docs/kbn_axe_config.mdx | 2 +- api_docs/kbn_cases_components.mdx | 2 +- api_docs/kbn_chart_icons.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 +- .../kbn_content_management_table_list.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_application_browser.mdx | 2 +- .../kbn_core_application_browser_internal.mdx | 2 +- .../kbn_core_application_browser_mocks.mdx | 2 +- api_docs/kbn_core_application_common.mdx | 2 +- api_docs/kbn_core_apps_browser_internal.mdx | 2 +- api_docs/kbn_core_apps_browser_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 +- .../kbn_core_capabilities_browser_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_chrome_browser.mdx | 2 +- api_docs/kbn_core_chrome_browser_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_deprecations_server.mdx | 2 +- .../kbn_core_deprecations_server_internal.mdx | 2 +- .../kbn_core_deprecations_server_mocks.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 +- ...re_http_request_handler_context_server.mdx | 2 +- api_docs/kbn_core_http_resources_server.mdx | 2 +- ...bn_core_http_resources_server_internal.mdx | 2 +- .../kbn_core_http_resources_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 +- api_docs/kbn_core_i18n_server.mdx | 2 +- api_docs/kbn_core_i18n_server_internal.mdx | 2 +- api_docs/kbn_core_i18n_server_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_lifecycle_browser.mdx | 2 +- api_docs/kbn_core_lifecycle_browser_mocks.mdx | 2 +- api_docs/kbn_core_lifecycle_server.mdx | 2 +- api_docs/kbn_core_lifecycle_server_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 +- api_docs/kbn_core_mount_utils_browser.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_notifications_browser.mdx | 2 +- ...bn_core_notifications_browser_internal.mdx | 2 +- .../kbn_core_notifications_browser_mocks.mdx | 2 +- api_docs/kbn_core_overlays_browser.mdx | 2 +- .../kbn_core_overlays_browser_internal.mdx | 2 +- api_docs/kbn_core_overlays_browser_mocks.mdx | 2 +- api_docs/kbn_core_plugins_browser.mdx | 2 +- api_docs/kbn_core_plugins_browser_mocks.mdx | 2 +- api_docs/kbn_core_plugins_server.mdx | 2 +- api_docs/kbn_core_plugins_server_mocks.mdx | 2 +- api_docs/kbn_core_preboot_server.mdx | 2 +- api_docs/kbn_core_preboot_server_mocks.mdx | 2 +- api_docs/kbn_core_rendering_browser_mocks.mdx | 2 +- .../kbn_core_rendering_server_internal.mdx | 2 +- api_docs/kbn_core_rendering_server_mocks.mdx | 2 +- .../kbn_core_saved_objects_api_browser.mdx | 2 +- .../kbn_core_saved_objects_api_server.mdx | 2 +- ...core_saved_objects_api_server_internal.mdx | 2 +- ...bn_core_saved_objects_api_server_mocks.mdx | 2 +- ...ore_saved_objects_base_server_internal.mdx | 2 +- ...n_core_saved_objects_base_server_mocks.mdx | 2 +- api_docs/kbn_core_saved_objects_browser.mdx | 2 +- ...bn_core_saved_objects_browser_internal.mdx | 2 +- .../kbn_core_saved_objects_browser_mocks.mdx | 2 +- api_docs/kbn_core_saved_objects_common.mdx | 2 +- ..._objects_import_export_server_internal.mdx | 2 +- ...ved_objects_import_export_server_mocks.mdx | 2 +- ...aved_objects_migration_server_internal.mdx | 2 +- ...e_saved_objects_migration_server_mocks.mdx | 2 +- api_docs/kbn_core_saved_objects_server.mdx | 2 +- ...kbn_core_saved_objects_server_internal.mdx | 2 +- .../kbn_core_saved_objects_server_mocks.mdx | 2 +- .../kbn_core_saved_objects_utils_server.mdx | 2 +- api_docs/kbn_core_status_common.mdx | 2 +- api_docs/kbn_core_status_common_internal.mdx | 2 +- api_docs/kbn_core_status_server.mdx | 2 +- api_docs/kbn_core_status_server_internal.mdx | 2 +- api_docs/kbn_core_status_server_mocks.mdx | 2 +- ...core_test_helpers_deprecations_getters.mdx | 2 +- ...n_core_test_helpers_http_setup_browser.mdx | 2 +- ...n_core_test_helpers_so_type_serializer.mdx | 2 +- api_docs/kbn_core_test_helpers_test_utils.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_core_ui_settings_server.mdx | 2 +- .../kbn_core_ui_settings_server_internal.mdx | 2 +- .../kbn_core_ui_settings_server_mocks.mdx | 2 +- api_docs/kbn_core_usage_data_server.mdx | 2 +- .../kbn_core_usage_data_server_internal.mdx | 2 +- api_docs/kbn_core_usage_data_server_mocks.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_ebt_tools.mdx | 2 +- api_docs/kbn_es.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_es_types.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 +- .../kbn_ftr_common_functional_services.mdx | 2 +- api_docs/kbn_generate.mdx | 2 +- api_docs/kbn_get_repo_files.mdx | 2 +- api_docs/kbn_guided_onboarding.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_i18n_react.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_journeys.mdx | 2 +- api_docs/kbn_kibana_manifest_schema.mdx | 2 +- .../kbn_language_documentation_popover.mdx | 2 +- api_docs/kbn_logging.mdx | 2 +- api_docs/kbn_logging_mocks.mdx | 2 +- api_docs/kbn_managed_vscode_config.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_osquery_io_ts_types.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_securitysolution_autocomplete.mdx | 2 +- api_docs/kbn_securitysolution_es_utils.mdx | 2 +- ...ritysolution_exception_list_components.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 +- api_docs/kbn_shared_svg.mdx | 2 +- api_docs/kbn_shared_ux_avatar_solution.mdx | 2 +- ...ared_ux_avatar_user_profile_components.mdx | 2 +- .../kbn_shared_ux_button_exit_full_screen.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_link_redirect_app.mdx | 2 +- .../kbn_shared_ux_link_redirect_app_mocks.mdx | 2 +- api_docs/kbn_shared_ux_markdown.mdx | 2 +- api_docs/kbn_shared_ux_markdown_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 +- .../kbn_shared_ux_page_kibana_template.mdx | 2 +- ...n_shared_ux_page_kibana_template_mocks.mdx | 2 +- api_docs/kbn_shared_ux_page_no_data.mdx | 2 +- .../kbn_shared_ux_page_no_data_config.mdx | 2 +- ...bn_shared_ux_page_no_data_config_mocks.mdx | 2 +- api_docs/kbn_shared_ux_page_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_router.mdx | 2 +- api_docs/kbn_shared_ux_router_mocks.mdx | 2 +- api_docs/kbn_shared_ux_storybook_config.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_test_subj_selector.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_shared_deps_src.mdx | 2 +- api_docs/kbn_ui_theme.mdx | 2 +- api_docs/kbn_user_profile_components.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.devdocs.json | 165 ++---------------- api_docs/observability.mdx | 4 +- api_docs/osquery.mdx | 2 +- api_docs/plugin_directory.mdx | 6 +- api_docs/presentation_util.mdx | 2 +- api_docs/profiling.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_finder.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/saved_search.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/snapshot_restore.mdx | 2 +- api_docs/spaces.mdx | 2 +- api_docs/stack_alerts.mdx | 2 +- api_docs/stack_connectors.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_field_list.mdx | 2 +- api_docs/unified_histogram.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 +- 430 files changed, 448 insertions(+), 581 deletions(-) diff --git a/api_docs/actions.mdx b/api_docs/actions.mdx index e5bab795ef4be..d2cc1eedd57f2 100644 --- a/api_docs/actions.mdx +++ b/api_docs/actions.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/actions title: "actions" image: https://source.unsplash.com/400x175/?github description: API docs for the actions plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'actions'] --- import actionsObj from './actions.devdocs.json'; diff --git a/api_docs/advanced_settings.mdx b/api_docs/advanced_settings.mdx index 68bfea1c6d47e..d81f4a2d0bbce 100644 --- a/api_docs/advanced_settings.mdx +++ b/api_docs/advanced_settings.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/advancedSettings title: "advancedSettings" image: https://source.unsplash.com/400x175/?github description: API docs for the advancedSettings plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'advancedSettings'] --- import advancedSettingsObj from './advanced_settings.devdocs.json'; diff --git a/api_docs/aiops.mdx b/api_docs/aiops.mdx index 0e82fea5d7f35..800e5a6f69e8a 100644 --- a/api_docs/aiops.mdx +++ b/api_docs/aiops.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/aiops title: "aiops" image: https://source.unsplash.com/400x175/?github description: API docs for the aiops plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'aiops'] --- import aiopsObj from './aiops.devdocs.json'; diff --git a/api_docs/alerting.mdx b/api_docs/alerting.mdx index 99d89e0c5a853..8e105811c289f 100644 --- a/api_docs/alerting.mdx +++ b/api_docs/alerting.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/alerting title: "alerting" image: https://source.unsplash.com/400x175/?github description: API docs for the alerting plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'alerting'] --- import alertingObj from './alerting.devdocs.json'; diff --git a/api_docs/apm.mdx b/api_docs/apm.mdx index 1684d18a52c59..e9e5e15afe3d0 100644 --- a/api_docs/apm.mdx +++ b/api_docs/apm.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/apm title: "apm" image: https://source.unsplash.com/400x175/?github description: API docs for the apm plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'apm'] --- import apmObj from './apm.devdocs.json'; diff --git a/api_docs/banners.mdx b/api_docs/banners.mdx index 21b19feec1b7b..59206b3c4b9ea 100644 --- a/api_docs/banners.mdx +++ b/api_docs/banners.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/banners title: "banners" image: https://source.unsplash.com/400x175/?github description: API docs for the banners plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'banners'] --- import bannersObj from './banners.devdocs.json'; diff --git a/api_docs/bfetch.mdx b/api_docs/bfetch.mdx index 3e691e19928c9..646e373ee8b36 100644 --- a/api_docs/bfetch.mdx +++ b/api_docs/bfetch.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/bfetch title: "bfetch" image: https://source.unsplash.com/400x175/?github description: API docs for the bfetch plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'bfetch'] --- import bfetchObj from './bfetch.devdocs.json'; diff --git a/api_docs/canvas.mdx b/api_docs/canvas.mdx index 49af2a2fff5a5..d917632628495 100644 --- a/api_docs/canvas.mdx +++ b/api_docs/canvas.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/canvas title: "canvas" image: https://source.unsplash.com/400x175/?github description: API docs for the canvas plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'canvas'] --- import canvasObj from './canvas.devdocs.json'; diff --git a/api_docs/cases.mdx b/api_docs/cases.mdx index 847c7bf57d79f..30cdb2f3f25dc 100644 --- a/api_docs/cases.mdx +++ b/api_docs/cases.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/cases title: "cases" image: https://source.unsplash.com/400x175/?github description: API docs for the cases plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cases'] --- import casesObj from './cases.devdocs.json'; diff --git a/api_docs/charts.mdx b/api_docs/charts.mdx index f6e6c8af2da13..b9f59bdcc4e96 100644 --- a/api_docs/charts.mdx +++ b/api_docs/charts.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/charts title: "charts" image: https://source.unsplash.com/400x175/?github description: API docs for the charts plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'charts'] --- import chartsObj from './charts.devdocs.json'; diff --git a/api_docs/cloud.mdx b/api_docs/cloud.mdx index 3891242f47177..4eaa3f6e8c989 100644 --- a/api_docs/cloud.mdx +++ b/api_docs/cloud.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/cloud title: "cloud" image: https://source.unsplash.com/400x175/?github description: API docs for the cloud plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cloud'] --- import cloudObj from './cloud.devdocs.json'; diff --git a/api_docs/cloud_chat.mdx b/api_docs/cloud_chat.mdx index 1090ebcb3319d..7ba45c13aaef4 100644 --- a/api_docs/cloud_chat.mdx +++ b/api_docs/cloud_chat.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/cloudChat title: "cloudChat" image: https://source.unsplash.com/400x175/?github description: API docs for the cloudChat plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cloudChat'] --- import cloudChatObj from './cloud_chat.devdocs.json'; diff --git a/api_docs/cloud_experiments.mdx b/api_docs/cloud_experiments.mdx index 5e24661ece516..5602ead490690 100644 --- a/api_docs/cloud_experiments.mdx +++ b/api_docs/cloud_experiments.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/cloudExperiments title: "cloudExperiments" image: https://source.unsplash.com/400x175/?github description: API docs for the cloudExperiments plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cloudExperiments'] --- import cloudExperimentsObj from './cloud_experiments.devdocs.json'; diff --git a/api_docs/cloud_security_posture.mdx b/api_docs/cloud_security_posture.mdx index e3299ae412f4d..43edd34cf5f1b 100644 --- a/api_docs/cloud_security_posture.mdx +++ b/api_docs/cloud_security_posture.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/cloudSecurityPosture title: "cloudSecurityPosture" image: https://source.unsplash.com/400x175/?github description: API docs for the cloudSecurityPosture plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cloudSecurityPosture'] --- import cloudSecurityPostureObj from './cloud_security_posture.devdocs.json'; diff --git a/api_docs/console.mdx b/api_docs/console.mdx index 061e96255e60b..dc6745ad62ce8 100644 --- a/api_docs/console.mdx +++ b/api_docs/console.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/console title: "console" image: https://source.unsplash.com/400x175/?github description: API docs for the console plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'console'] --- import consoleObj from './console.devdocs.json'; diff --git a/api_docs/controls.mdx b/api_docs/controls.mdx index 70ced12740a72..2d0f541effb8b 100644 --- a/api_docs/controls.mdx +++ b/api_docs/controls.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/controls title: "controls" image: https://source.unsplash.com/400x175/?github description: API docs for the controls plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'controls'] --- import controlsObj from './controls.devdocs.json'; diff --git a/api_docs/core.mdx b/api_docs/core.mdx index 3c25fa30dfdce..275e21b764f4f 100644 --- a/api_docs/core.mdx +++ b/api_docs/core.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/core title: "core" image: https://source.unsplash.com/400x175/?github description: API docs for the core plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'core'] --- import coreObj from './core.devdocs.json'; diff --git a/api_docs/custom_integrations.mdx b/api_docs/custom_integrations.mdx index 2837331022ab8..d56646820e3fa 100644 --- a/api_docs/custom_integrations.mdx +++ b/api_docs/custom_integrations.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/customIntegrations title: "customIntegrations" image: https://source.unsplash.com/400x175/?github description: API docs for the customIntegrations plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'customIntegrations'] --- import customIntegrationsObj from './custom_integrations.devdocs.json'; diff --git a/api_docs/dashboard.mdx b/api_docs/dashboard.mdx index a0e11bcecae79..a9c4a62cbd80b 100644 --- a/api_docs/dashboard.mdx +++ b/api_docs/dashboard.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/dashboard title: "dashboard" image: https://source.unsplash.com/400x175/?github description: API docs for the dashboard plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dashboard'] --- import dashboardObj from './dashboard.devdocs.json'; diff --git a/api_docs/dashboard_enhanced.mdx b/api_docs/dashboard_enhanced.mdx index ef194c87616ad..126656a522f1b 100644 --- a/api_docs/dashboard_enhanced.mdx +++ b/api_docs/dashboard_enhanced.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/dashboardEnhanced title: "dashboardEnhanced" image: https://source.unsplash.com/400x175/?github description: API docs for the dashboardEnhanced plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dashboardEnhanced'] --- import dashboardEnhancedObj from './dashboard_enhanced.devdocs.json'; diff --git a/api_docs/data.mdx b/api_docs/data.mdx index 8215aa1762f8c..6b5d91ac51090 100644 --- a/api_docs/data.mdx +++ b/api_docs/data.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/data title: "data" image: https://source.unsplash.com/400x175/?github description: API docs for the data plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'data'] --- import dataObj from './data.devdocs.json'; diff --git a/api_docs/data_query.mdx b/api_docs/data_query.mdx index 7d25048515026..b6bfef39f36b3 100644 --- a/api_docs/data_query.mdx +++ b/api_docs/data_query.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/data-query title: "data.query" image: https://source.unsplash.com/400x175/?github description: API docs for the data.query plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'data.query'] --- import dataQueryObj from './data_query.devdocs.json'; diff --git a/api_docs/data_search.mdx b/api_docs/data_search.mdx index 02fc52da4a81d..748e77e9daaab 100644 --- a/api_docs/data_search.mdx +++ b/api_docs/data_search.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/data-search title: "data.search" image: https://source.unsplash.com/400x175/?github description: API docs for the data.search plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'data.search'] --- import dataSearchObj from './data_search.devdocs.json'; diff --git a/api_docs/data_view_editor.mdx b/api_docs/data_view_editor.mdx index 71f4d4d24bb2a..7f8af69253542 100644 --- a/api_docs/data_view_editor.mdx +++ b/api_docs/data_view_editor.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/dataViewEditor title: "dataViewEditor" image: https://source.unsplash.com/400x175/?github description: API docs for the dataViewEditor plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dataViewEditor'] --- import dataViewEditorObj from './data_view_editor.devdocs.json'; diff --git a/api_docs/data_view_field_editor.mdx b/api_docs/data_view_field_editor.mdx index 514e16ac44b40..61e346a9c6cbf 100644 --- a/api_docs/data_view_field_editor.mdx +++ b/api_docs/data_view_field_editor.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/dataViewFieldEditor title: "dataViewFieldEditor" image: https://source.unsplash.com/400x175/?github description: API docs for the dataViewFieldEditor plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dataViewFieldEditor'] --- import dataViewFieldEditorObj from './data_view_field_editor.devdocs.json'; diff --git a/api_docs/data_view_management.mdx b/api_docs/data_view_management.mdx index 0823cb1c36d81..f9d5ffbc364c4 100644 --- a/api_docs/data_view_management.mdx +++ b/api_docs/data_view_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/dataViewManagement title: "dataViewManagement" image: https://source.unsplash.com/400x175/?github description: API docs for the dataViewManagement plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dataViewManagement'] --- import dataViewManagementObj from './data_view_management.devdocs.json'; diff --git a/api_docs/data_views.mdx b/api_docs/data_views.mdx index 1b642fbb9a7d8..8d76d8595a0aa 100644 --- a/api_docs/data_views.mdx +++ b/api_docs/data_views.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/dataViews title: "dataViews" image: https://source.unsplash.com/400x175/?github description: API docs for the dataViews plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dataViews'] --- import dataViewsObj from './data_views.devdocs.json'; diff --git a/api_docs/data_visualizer.mdx b/api_docs/data_visualizer.mdx index f1fa20b6f57ef..aa5cbb0a56ccc 100644 --- a/api_docs/data_visualizer.mdx +++ b/api_docs/data_visualizer.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/dataVisualizer title: "dataVisualizer" image: https://source.unsplash.com/400x175/?github description: API docs for the dataVisualizer plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dataVisualizer'] --- import dataVisualizerObj from './data_visualizer.devdocs.json'; diff --git a/api_docs/deprecations_by_api.mdx b/api_docs/deprecations_by_api.mdx index 4231091deda2b..692356525090f 100644 --- a/api_docs/deprecations_by_api.mdx +++ b/api_docs/deprecations_by_api.mdx @@ -7,7 +7,7 @@ id: kibDevDocsDeprecationsByApi slug: /kibana-dev-docs/api-meta/deprecated-api-list-by-api title: Deprecated API usage by API description: A list of deprecated APIs, which plugins are still referencing them, and when they need to be removed by. -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana'] --- diff --git a/api_docs/deprecations_by_plugin.mdx b/api_docs/deprecations_by_plugin.mdx index 3564d33b5f92a..808207d620d62 100644 --- a/api_docs/deprecations_by_plugin.mdx +++ b/api_docs/deprecations_by_plugin.mdx @@ -7,7 +7,7 @@ id: kibDevDocsDeprecationsByPlugin slug: /kibana-dev-docs/api-meta/deprecated-api-list-by-plugin title: Deprecated API usage by plugin description: A list of deprecated APIs, which plugins are still referencing them, and when they need to be removed by. -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana'] --- diff --git a/api_docs/deprecations_by_team.mdx b/api_docs/deprecations_by_team.mdx index 9ee3760c28141..f3956ef1d4546 100644 --- a/api_docs/deprecations_by_team.mdx +++ b/api_docs/deprecations_by_team.mdx @@ -7,7 +7,7 @@ id: kibDevDocsDeprecationsDueByTeam slug: /kibana-dev-docs/api-meta/deprecations-due-by-team title: Deprecated APIs due to be removed, by team description: Lists the teams that are referencing deprecated APIs with a remove by date. -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana'] --- diff --git a/api_docs/dev_tools.mdx b/api_docs/dev_tools.mdx index 857c624baa907..472a108cd679d 100644 --- a/api_docs/dev_tools.mdx +++ b/api_docs/dev_tools.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/devTools title: "devTools" image: https://source.unsplash.com/400x175/?github description: API docs for the devTools plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'devTools'] --- import devToolsObj from './dev_tools.devdocs.json'; diff --git a/api_docs/discover.mdx b/api_docs/discover.mdx index e28305bdf2686..0b6872c71b634 100644 --- a/api_docs/discover.mdx +++ b/api_docs/discover.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/discover title: "discover" image: https://source.unsplash.com/400x175/?github description: API docs for the discover plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'discover'] --- import discoverObj from './discover.devdocs.json'; diff --git a/api_docs/discover_enhanced.mdx b/api_docs/discover_enhanced.mdx index 632109fd67f1f..b600859dee2eb 100644 --- a/api_docs/discover_enhanced.mdx +++ b/api_docs/discover_enhanced.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/discoverEnhanced title: "discoverEnhanced" image: https://source.unsplash.com/400x175/?github description: API docs for the discoverEnhanced plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'discoverEnhanced'] --- import discoverEnhancedObj from './discover_enhanced.devdocs.json'; diff --git a/api_docs/embeddable.mdx b/api_docs/embeddable.mdx index 4a502f7ae842e..de7ba5e536c48 100644 --- a/api_docs/embeddable.mdx +++ b/api_docs/embeddable.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/embeddable title: "embeddable" image: https://source.unsplash.com/400x175/?github description: API docs for the embeddable plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'embeddable'] --- import embeddableObj from './embeddable.devdocs.json'; diff --git a/api_docs/embeddable_enhanced.mdx b/api_docs/embeddable_enhanced.mdx index fe7ecdc75b8c5..46fc137e4b9b2 100644 --- a/api_docs/embeddable_enhanced.mdx +++ b/api_docs/embeddable_enhanced.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/embeddableEnhanced title: "embeddableEnhanced" image: https://source.unsplash.com/400x175/?github description: API docs for the embeddableEnhanced plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'embeddableEnhanced'] --- import embeddableEnhancedObj from './embeddable_enhanced.devdocs.json'; diff --git a/api_docs/encrypted_saved_objects.mdx b/api_docs/encrypted_saved_objects.mdx index 0324cb50b3d0d..fcc9794251ade 100644 --- a/api_docs/encrypted_saved_objects.mdx +++ b/api_docs/encrypted_saved_objects.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/encryptedSavedObjects title: "encryptedSavedObjects" image: https://source.unsplash.com/400x175/?github description: API docs for the encryptedSavedObjects plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'encryptedSavedObjects'] --- import encryptedSavedObjectsObj from './encrypted_saved_objects.devdocs.json'; diff --git a/api_docs/enterprise_search.mdx b/api_docs/enterprise_search.mdx index 277c1468d6320..aa139eb532ddf 100644 --- a/api_docs/enterprise_search.mdx +++ b/api_docs/enterprise_search.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/enterpriseSearch title: "enterpriseSearch" image: https://source.unsplash.com/400x175/?github description: API docs for the enterpriseSearch plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'enterpriseSearch'] --- import enterpriseSearchObj from './enterprise_search.devdocs.json'; diff --git a/api_docs/es_ui_shared.mdx b/api_docs/es_ui_shared.mdx index f51232e35fc7a..988fc4980b178 100644 --- a/api_docs/es_ui_shared.mdx +++ b/api_docs/es_ui_shared.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/esUiShared title: "esUiShared" image: https://source.unsplash.com/400x175/?github description: API docs for the esUiShared plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'esUiShared'] --- import esUiSharedObj from './es_ui_shared.devdocs.json'; diff --git a/api_docs/event_annotation.mdx b/api_docs/event_annotation.mdx index 5f24d493feb2e..a398445a0902e 100644 --- a/api_docs/event_annotation.mdx +++ b/api_docs/event_annotation.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/eventAnnotation title: "eventAnnotation" image: https://source.unsplash.com/400x175/?github description: API docs for the eventAnnotation plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'eventAnnotation'] --- import eventAnnotationObj from './event_annotation.devdocs.json'; diff --git a/api_docs/event_log.mdx b/api_docs/event_log.mdx index 3cb72270da855..a4a822d0fdf55 100644 --- a/api_docs/event_log.mdx +++ b/api_docs/event_log.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/eventLog title: "eventLog" image: https://source.unsplash.com/400x175/?github description: API docs for the eventLog plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'eventLog'] --- import eventLogObj from './event_log.devdocs.json'; diff --git a/api_docs/expression_error.mdx b/api_docs/expression_error.mdx index 25b039cbf9231..e280b6071dbc3 100644 --- a/api_docs/expression_error.mdx +++ b/api_docs/expression_error.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionError title: "expressionError" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionError plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionError'] --- import expressionErrorObj from './expression_error.devdocs.json'; diff --git a/api_docs/expression_gauge.mdx b/api_docs/expression_gauge.mdx index d5624f7424f55..001113efbd7dc 100644 --- a/api_docs/expression_gauge.mdx +++ b/api_docs/expression_gauge.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionGauge title: "expressionGauge" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionGauge plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionGauge'] --- import expressionGaugeObj from './expression_gauge.devdocs.json'; diff --git a/api_docs/expression_heatmap.mdx b/api_docs/expression_heatmap.mdx index 350203305fc10..5024193ecfb11 100644 --- a/api_docs/expression_heatmap.mdx +++ b/api_docs/expression_heatmap.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionHeatmap title: "expressionHeatmap" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionHeatmap plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionHeatmap'] --- import expressionHeatmapObj from './expression_heatmap.devdocs.json'; diff --git a/api_docs/expression_image.mdx b/api_docs/expression_image.mdx index d82326b1fe860..c96a0c5ae0cfc 100644 --- a/api_docs/expression_image.mdx +++ b/api_docs/expression_image.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionImage title: "expressionImage" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionImage plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionImage'] --- import expressionImageObj from './expression_image.devdocs.json'; diff --git a/api_docs/expression_legacy_metric_vis.mdx b/api_docs/expression_legacy_metric_vis.mdx index 7f4aaaed07260..71fef91c5b42b 100644 --- a/api_docs/expression_legacy_metric_vis.mdx +++ b/api_docs/expression_legacy_metric_vis.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionLegacyMetricVis title: "expressionLegacyMetricVis" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionLegacyMetricVis plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionLegacyMetricVis'] --- import expressionLegacyMetricVisObj from './expression_legacy_metric_vis.devdocs.json'; diff --git a/api_docs/expression_metric.mdx b/api_docs/expression_metric.mdx index 92b623d104857..6ff0624a679ab 100644 --- a/api_docs/expression_metric.mdx +++ b/api_docs/expression_metric.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionMetric title: "expressionMetric" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionMetric plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionMetric'] --- import expressionMetricObj from './expression_metric.devdocs.json'; diff --git a/api_docs/expression_metric_vis.mdx b/api_docs/expression_metric_vis.mdx index 3e9682dd01c7d..b169b68cb0d47 100644 --- a/api_docs/expression_metric_vis.mdx +++ b/api_docs/expression_metric_vis.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionMetricVis title: "expressionMetricVis" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionMetricVis plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionMetricVis'] --- import expressionMetricVisObj from './expression_metric_vis.devdocs.json'; diff --git a/api_docs/expression_partition_vis.mdx b/api_docs/expression_partition_vis.mdx index 234ee0679d90e..a48a4f0a30204 100644 --- a/api_docs/expression_partition_vis.mdx +++ b/api_docs/expression_partition_vis.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionPartitionVis title: "expressionPartitionVis" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionPartitionVis plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionPartitionVis'] --- import expressionPartitionVisObj from './expression_partition_vis.devdocs.json'; diff --git a/api_docs/expression_repeat_image.mdx b/api_docs/expression_repeat_image.mdx index bd48894c6bafd..afb1ce65b3a08 100644 --- a/api_docs/expression_repeat_image.mdx +++ b/api_docs/expression_repeat_image.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionRepeatImage title: "expressionRepeatImage" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionRepeatImage plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionRepeatImage'] --- import expressionRepeatImageObj from './expression_repeat_image.devdocs.json'; diff --git a/api_docs/expression_reveal_image.mdx b/api_docs/expression_reveal_image.mdx index 98d936fd03563..b891374c2c200 100644 --- a/api_docs/expression_reveal_image.mdx +++ b/api_docs/expression_reveal_image.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionRevealImage title: "expressionRevealImage" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionRevealImage plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionRevealImage'] --- import expressionRevealImageObj from './expression_reveal_image.devdocs.json'; diff --git a/api_docs/expression_shape.mdx b/api_docs/expression_shape.mdx index c7b583a336ce1..f90876a3b951a 100644 --- a/api_docs/expression_shape.mdx +++ b/api_docs/expression_shape.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionShape title: "expressionShape" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionShape plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionShape'] --- import expressionShapeObj from './expression_shape.devdocs.json'; diff --git a/api_docs/expression_tagcloud.mdx b/api_docs/expression_tagcloud.mdx index 7f3ed53063902..fb99f15c5cf0e 100644 --- a/api_docs/expression_tagcloud.mdx +++ b/api_docs/expression_tagcloud.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionTagcloud title: "expressionTagcloud" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionTagcloud plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionTagcloud'] --- import expressionTagcloudObj from './expression_tagcloud.devdocs.json'; diff --git a/api_docs/expression_x_y.mdx b/api_docs/expression_x_y.mdx index 711d7c308ea77..af67ee29b8d3f 100644 --- a/api_docs/expression_x_y.mdx +++ b/api_docs/expression_x_y.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionXY title: "expressionXY" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionXY plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionXY'] --- import expressionXYObj from './expression_x_y.devdocs.json'; diff --git a/api_docs/expressions.mdx b/api_docs/expressions.mdx index cefd4e2f8cbdd..18e6bed0b71e4 100644 --- a/api_docs/expressions.mdx +++ b/api_docs/expressions.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressions title: "expressions" image: https://source.unsplash.com/400x175/?github description: API docs for the expressions plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressions'] --- import expressionsObj from './expressions.devdocs.json'; diff --git a/api_docs/features.mdx b/api_docs/features.mdx index 2e177c06b95be..9b90178319fcd 100644 --- a/api_docs/features.mdx +++ b/api_docs/features.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/features title: "features" image: https://source.unsplash.com/400x175/?github description: API docs for the features plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'features'] --- import featuresObj from './features.devdocs.json'; diff --git a/api_docs/field_formats.mdx b/api_docs/field_formats.mdx index 30e199a53539d..cf5b2dd2ba242 100644 --- a/api_docs/field_formats.mdx +++ b/api_docs/field_formats.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/fieldFormats title: "fieldFormats" image: https://source.unsplash.com/400x175/?github description: API docs for the fieldFormats plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'fieldFormats'] --- import fieldFormatsObj from './field_formats.devdocs.json'; diff --git a/api_docs/file_upload.mdx b/api_docs/file_upload.mdx index 7ddde8f855f12..ffacebc305bac 100644 --- a/api_docs/file_upload.mdx +++ b/api_docs/file_upload.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/fileUpload title: "fileUpload" image: https://source.unsplash.com/400x175/?github description: API docs for the fileUpload plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'fileUpload'] --- import fileUploadObj from './file_upload.devdocs.json'; diff --git a/api_docs/files.mdx b/api_docs/files.mdx index 0ed87da11ac9f..35112a013fc74 100644 --- a/api_docs/files.mdx +++ b/api_docs/files.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/files title: "files" image: https://source.unsplash.com/400x175/?github description: API docs for the files plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'files'] --- import filesObj from './files.devdocs.json'; diff --git a/api_docs/fleet.mdx b/api_docs/fleet.mdx index 1e0c328efcc78..8c770c9194337 100644 --- a/api_docs/fleet.mdx +++ b/api_docs/fleet.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/fleet title: "fleet" image: https://source.unsplash.com/400x175/?github description: API docs for the fleet plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'fleet'] --- import fleetObj from './fleet.devdocs.json'; diff --git a/api_docs/global_search.mdx b/api_docs/global_search.mdx index 10170787f782a..707c8b371bc9c 100644 --- a/api_docs/global_search.mdx +++ b/api_docs/global_search.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/globalSearch title: "globalSearch" image: https://source.unsplash.com/400x175/?github description: API docs for the globalSearch plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'globalSearch'] --- import globalSearchObj from './global_search.devdocs.json'; diff --git a/api_docs/guided_onboarding.mdx b/api_docs/guided_onboarding.mdx index 37de1b7f2df48..a4dc3baddbebf 100644 --- a/api_docs/guided_onboarding.mdx +++ b/api_docs/guided_onboarding.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/guidedOnboarding title: "guidedOnboarding" image: https://source.unsplash.com/400x175/?github description: API docs for the guidedOnboarding plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'guidedOnboarding'] --- import guidedOnboardingObj from './guided_onboarding.devdocs.json'; diff --git a/api_docs/home.mdx b/api_docs/home.mdx index 9d738371a43fa..4ee7afa7bce74 100644 --- a/api_docs/home.mdx +++ b/api_docs/home.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/home title: "home" image: https://source.unsplash.com/400x175/?github description: API docs for the home plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'home'] --- import homeObj from './home.devdocs.json'; diff --git a/api_docs/index_lifecycle_management.mdx b/api_docs/index_lifecycle_management.mdx index 5dd05766d3f93..37bd7bd5788b5 100644 --- a/api_docs/index_lifecycle_management.mdx +++ b/api_docs/index_lifecycle_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/indexLifecycleManagement title: "indexLifecycleManagement" image: https://source.unsplash.com/400x175/?github description: API docs for the indexLifecycleManagement plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'indexLifecycleManagement'] --- import indexLifecycleManagementObj from './index_lifecycle_management.devdocs.json'; diff --git a/api_docs/index_management.mdx b/api_docs/index_management.mdx index dd6aa028fcd7f..3354c12081952 100644 --- a/api_docs/index_management.mdx +++ b/api_docs/index_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/indexManagement title: "indexManagement" image: https://source.unsplash.com/400x175/?github description: API docs for the indexManagement plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'indexManagement'] --- import indexManagementObj from './index_management.devdocs.json'; diff --git a/api_docs/infra.mdx b/api_docs/infra.mdx index 03fe3db4665fe..de2f912988972 100644 --- a/api_docs/infra.mdx +++ b/api_docs/infra.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/infra title: "infra" image: https://source.unsplash.com/400x175/?github description: API docs for the infra plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'infra'] --- import infraObj from './infra.devdocs.json'; diff --git a/api_docs/inspector.mdx b/api_docs/inspector.mdx index 849745adb6cab..98d8937a6debd 100644 --- a/api_docs/inspector.mdx +++ b/api_docs/inspector.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/inspector title: "inspector" image: https://source.unsplash.com/400x175/?github description: API docs for the inspector plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'inspector'] --- import inspectorObj from './inspector.devdocs.json'; diff --git a/api_docs/interactive_setup.mdx b/api_docs/interactive_setup.mdx index cb79c74905fca..0432377dc00ad 100644 --- a/api_docs/interactive_setup.mdx +++ b/api_docs/interactive_setup.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/interactiveSetup title: "interactiveSetup" image: https://source.unsplash.com/400x175/?github description: API docs for the interactiveSetup plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'interactiveSetup'] --- import interactiveSetupObj from './interactive_setup.devdocs.json'; diff --git a/api_docs/kbn_ace.mdx b/api_docs/kbn_ace.mdx index 203bd49bdd328..520074958bc88 100644 --- a/api_docs/kbn_ace.mdx +++ b/api_docs/kbn_ace.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ace title: "@kbn/ace" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ace plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ace'] --- import kbnAceObj from './kbn_ace.devdocs.json'; diff --git a/api_docs/kbn_aiops_components.mdx b/api_docs/kbn_aiops_components.mdx index ddd4a30b47e8d..512462408b861 100644 --- a/api_docs/kbn_aiops_components.mdx +++ b/api_docs/kbn_aiops_components.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-aiops-components title: "@kbn/aiops-components" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/aiops-components plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/aiops-components'] --- import kbnAiopsComponentsObj from './kbn_aiops_components.devdocs.json'; diff --git a/api_docs/kbn_aiops_utils.mdx b/api_docs/kbn_aiops_utils.mdx index 4e1677e8b8467..fa30e0393a485 100644 --- a/api_docs/kbn_aiops_utils.mdx +++ b/api_docs/kbn_aiops_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-aiops-utils title: "@kbn/aiops-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/aiops-utils plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/aiops-utils'] --- import kbnAiopsUtilsObj from './kbn_aiops_utils.devdocs.json'; diff --git a/api_docs/kbn_alerts.mdx b/api_docs/kbn_alerts.mdx index b8bb0a7f42535..8ce5b851a782e 100644 --- a/api_docs/kbn_alerts.mdx +++ b/api_docs/kbn_alerts.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-alerts title: "@kbn/alerts" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/alerts plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/alerts'] --- import kbnAlertsObj from './kbn_alerts.devdocs.json'; diff --git a/api_docs/kbn_analytics.mdx b/api_docs/kbn_analytics.mdx index 4fad42ec8307c..c4fa777b8789e 100644 --- a/api_docs/kbn_analytics.mdx +++ b/api_docs/kbn_analytics.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-analytics title: "@kbn/analytics" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/analytics plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics'] --- import kbnAnalyticsObj from './kbn_analytics.devdocs.json'; diff --git a/api_docs/kbn_analytics_client.mdx b/api_docs/kbn_analytics_client.mdx index ba6605802a62b..973f51ad9e67a 100644 --- a/api_docs/kbn_analytics_client.mdx +++ b/api_docs/kbn_analytics_client.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-analytics-client title: "@kbn/analytics-client" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/analytics-client plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics-client'] --- import kbnAnalyticsClientObj from './kbn_analytics_client.devdocs.json'; diff --git a/api_docs/kbn_analytics_shippers_elastic_v3_browser.mdx b/api_docs/kbn_analytics_shippers_elastic_v3_browser.mdx index 607d95df8418c..808fd94de9a77 100644 --- a/api_docs/kbn_analytics_shippers_elastic_v3_browser.mdx +++ b/api_docs/kbn_analytics_shippers_elastic_v3_browser.mdx @@ -8,7 +8,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 description: API docs for the @kbn/analytics-shippers-elastic-v3-browser plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics-shippers-elastic-v3-browser'] --- import kbnAnalyticsShippersElasticV3BrowserObj from './kbn_analytics_shippers_elastic_v3_browser.devdocs.json'; diff --git a/api_docs/kbn_analytics_shippers_elastic_v3_common.mdx b/api_docs/kbn_analytics_shippers_elastic_v3_common.mdx index 3c9187f8e24c8..6bc0ffe9efcc9 100644 --- a/api_docs/kbn_analytics_shippers_elastic_v3_common.mdx +++ b/api_docs/kbn_analytics_shippers_elastic_v3_common.mdx @@ -8,7 +8,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 description: API docs for the @kbn/analytics-shippers-elastic-v3-common plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics-shippers-elastic-v3-common'] --- import kbnAnalyticsShippersElasticV3CommonObj from './kbn_analytics_shippers_elastic_v3_common.devdocs.json'; diff --git a/api_docs/kbn_analytics_shippers_elastic_v3_server.mdx b/api_docs/kbn_analytics_shippers_elastic_v3_server.mdx index 8d7dfdad57371..91c979f0d8c93 100644 --- a/api_docs/kbn_analytics_shippers_elastic_v3_server.mdx +++ b/api_docs/kbn_analytics_shippers_elastic_v3_server.mdx @@ -8,7 +8,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 description: API docs for the @kbn/analytics-shippers-elastic-v3-server plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics-shippers-elastic-v3-server'] --- import kbnAnalyticsShippersElasticV3ServerObj from './kbn_analytics_shippers_elastic_v3_server.devdocs.json'; diff --git a/api_docs/kbn_analytics_shippers_fullstory.mdx b/api_docs/kbn_analytics_shippers_fullstory.mdx index d3b12d2990a08..496e3c050f601 100644 --- a/api_docs/kbn_analytics_shippers_fullstory.mdx +++ b/api_docs/kbn_analytics_shippers_fullstory.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-analytics-shippers-fullstory title: "@kbn/analytics-shippers-fullstory" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/analytics-shippers-fullstory plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics-shippers-fullstory'] --- import kbnAnalyticsShippersFullstoryObj from './kbn_analytics_shippers_fullstory.devdocs.json'; diff --git a/api_docs/kbn_analytics_shippers_gainsight.mdx b/api_docs/kbn_analytics_shippers_gainsight.mdx index 26721849e3dd4..248722ef72146 100644 --- a/api_docs/kbn_analytics_shippers_gainsight.mdx +++ b/api_docs/kbn_analytics_shippers_gainsight.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-analytics-shippers-gainsight title: "@kbn/analytics-shippers-gainsight" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/analytics-shippers-gainsight plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics-shippers-gainsight'] --- import kbnAnalyticsShippersGainsightObj from './kbn_analytics_shippers_gainsight.devdocs.json'; diff --git a/api_docs/kbn_apm_config_loader.mdx b/api_docs/kbn_apm_config_loader.mdx index 191fa468b0a22..9ebe91c135e34 100644 --- a/api_docs/kbn_apm_config_loader.mdx +++ b/api_docs/kbn_apm_config_loader.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-apm-config-loader title: "@kbn/apm-config-loader" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/apm-config-loader plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/apm-config-loader'] --- import kbnApmConfigLoaderObj from './kbn_apm_config_loader.devdocs.json'; diff --git a/api_docs/kbn_apm_synthtrace.mdx b/api_docs/kbn_apm_synthtrace.mdx index a91e301cd149d..ce115ac753e41 100644 --- a/api_docs/kbn_apm_synthtrace.mdx +++ b/api_docs/kbn_apm_synthtrace.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-apm-synthtrace title: "@kbn/apm-synthtrace" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/apm-synthtrace plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/apm-synthtrace'] --- import kbnApmSynthtraceObj from './kbn_apm_synthtrace.devdocs.json'; diff --git a/api_docs/kbn_apm_utils.mdx b/api_docs/kbn_apm_utils.mdx index 2fc91a0852d73..331f135166fe2 100644 --- a/api_docs/kbn_apm_utils.mdx +++ b/api_docs/kbn_apm_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-apm-utils title: "@kbn/apm-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/apm-utils plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/apm-utils'] --- import kbnApmUtilsObj from './kbn_apm_utils.devdocs.json'; diff --git a/api_docs/kbn_axe_config.mdx b/api_docs/kbn_axe_config.mdx index 4c24e19544768..809b44a08663f 100644 --- a/api_docs/kbn_axe_config.mdx +++ b/api_docs/kbn_axe_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-axe-config title: "@kbn/axe-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/axe-config plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/axe-config'] --- import kbnAxeConfigObj from './kbn_axe_config.devdocs.json'; diff --git a/api_docs/kbn_cases_components.mdx b/api_docs/kbn_cases_components.mdx index 5be1a833084c8..b5cc6f0e15e52 100644 --- a/api_docs/kbn_cases_components.mdx +++ b/api_docs/kbn_cases_components.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-cases-components title: "@kbn/cases-components" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/cases-components plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/cases-components'] --- import kbnCasesComponentsObj from './kbn_cases_components.devdocs.json'; diff --git a/api_docs/kbn_chart_icons.mdx b/api_docs/kbn_chart_icons.mdx index 260c8abee1d33..5567040cef352 100644 --- a/api_docs/kbn_chart_icons.mdx +++ b/api_docs/kbn_chart_icons.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-chart-icons title: "@kbn/chart-icons" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/chart-icons plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/chart-icons'] --- import kbnChartIconsObj from './kbn_chart_icons.devdocs.json'; diff --git a/api_docs/kbn_ci_stats_core.mdx b/api_docs/kbn_ci_stats_core.mdx index 5e373b70f0885..d1e331a9d4e52 100644 --- a/api_docs/kbn_ci_stats_core.mdx +++ b/api_docs/kbn_ci_stats_core.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ci-stats-core title: "@kbn/ci-stats-core" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ci-stats-core plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ci-stats-core'] --- import kbnCiStatsCoreObj from './kbn_ci_stats_core.devdocs.json'; diff --git a/api_docs/kbn_ci_stats_performance_metrics.mdx b/api_docs/kbn_ci_stats_performance_metrics.mdx index e17d7708eff22..06d3520534405 100644 --- a/api_docs/kbn_ci_stats_performance_metrics.mdx +++ b/api_docs/kbn_ci_stats_performance_metrics.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ci-stats-performance-metrics title: "@kbn/ci-stats-performance-metrics" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ci-stats-performance-metrics plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ci-stats-performance-metrics'] --- import kbnCiStatsPerformanceMetricsObj from './kbn_ci_stats_performance_metrics.devdocs.json'; diff --git a/api_docs/kbn_ci_stats_reporter.mdx b/api_docs/kbn_ci_stats_reporter.mdx index a03adffb03161..2601c5d43343f 100644 --- a/api_docs/kbn_ci_stats_reporter.mdx +++ b/api_docs/kbn_ci_stats_reporter.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ci-stats-reporter title: "@kbn/ci-stats-reporter" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ci-stats-reporter plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ci-stats-reporter'] --- import kbnCiStatsReporterObj from './kbn_ci_stats_reporter.devdocs.json'; diff --git a/api_docs/kbn_cli_dev_mode.mdx b/api_docs/kbn_cli_dev_mode.mdx index 4fc6281bb8993..f00b16594479d 100644 --- a/api_docs/kbn_cli_dev_mode.mdx +++ b/api_docs/kbn_cli_dev_mode.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-cli-dev-mode title: "@kbn/cli-dev-mode" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/cli-dev-mode plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/cli-dev-mode'] --- import kbnCliDevModeObj from './kbn_cli_dev_mode.devdocs.json'; diff --git a/api_docs/kbn_coloring.mdx b/api_docs/kbn_coloring.mdx index c91688a017065..7968426b99862 100644 --- a/api_docs/kbn_coloring.mdx +++ b/api_docs/kbn_coloring.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-coloring title: "@kbn/coloring" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/coloring plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/coloring'] --- import kbnColoringObj from './kbn_coloring.devdocs.json'; diff --git a/api_docs/kbn_config.mdx b/api_docs/kbn_config.mdx index c27c3c7b3b7e2..1999071436cb5 100644 --- a/api_docs/kbn_config.mdx +++ b/api_docs/kbn_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-config title: "@kbn/config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/config plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/config'] --- import kbnConfigObj from './kbn_config.devdocs.json'; diff --git a/api_docs/kbn_config_mocks.mdx b/api_docs/kbn_config_mocks.mdx index a87061bb44ddd..289936eb9ea8b 100644 --- a/api_docs/kbn_config_mocks.mdx +++ b/api_docs/kbn_config_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-config-mocks title: "@kbn/config-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/config-mocks plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/config-mocks'] --- import kbnConfigMocksObj from './kbn_config_mocks.devdocs.json'; diff --git a/api_docs/kbn_config_schema.mdx b/api_docs/kbn_config_schema.mdx index 239f81e6669a1..3d6f3cce4fff2 100644 --- a/api_docs/kbn_config_schema.mdx +++ b/api_docs/kbn_config_schema.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-config-schema title: "@kbn/config-schema" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/config-schema plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/config-schema'] --- import kbnConfigSchemaObj from './kbn_config_schema.devdocs.json'; diff --git a/api_docs/kbn_content_management_table_list.mdx b/api_docs/kbn_content_management_table_list.mdx index 505b51ec263dc..2542eeae19e05 100644 --- a/api_docs/kbn_content_management_table_list.mdx +++ b/api_docs/kbn_content_management_table_list.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-content-management-table-list title: "@kbn/content-management-table-list" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/content-management-table-list plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/content-management-table-list'] --- import kbnContentManagementTableListObj from './kbn_content_management_table_list.devdocs.json'; diff --git a/api_docs/kbn_core_analytics_browser.mdx b/api_docs/kbn_core_analytics_browser.mdx index 3256e0903d580..a37928708f125 100644 --- a/api_docs/kbn_core_analytics_browser.mdx +++ b/api_docs/kbn_core_analytics_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-browser title: "@kbn/core-analytics-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-analytics-browser plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-analytics-browser'] --- import kbnCoreAnalyticsBrowserObj from './kbn_core_analytics_browser.devdocs.json'; diff --git a/api_docs/kbn_core_analytics_browser_internal.mdx b/api_docs/kbn_core_analytics_browser_internal.mdx index bdd6d9162c5a1..57b5715b4f72c 100644 --- a/api_docs/kbn_core_analytics_browser_internal.mdx +++ b/api_docs/kbn_core_analytics_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-browser-internal title: "@kbn/core-analytics-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-analytics-browser-internal plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-analytics-browser-internal'] --- import kbnCoreAnalyticsBrowserInternalObj from './kbn_core_analytics_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_analytics_browser_mocks.mdx b/api_docs/kbn_core_analytics_browser_mocks.mdx index 606eb0f8a1cf7..38a3c4dfe80bd 100644 --- a/api_docs/kbn_core_analytics_browser_mocks.mdx +++ b/api_docs/kbn_core_analytics_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-browser-mocks title: "@kbn/core-analytics-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-analytics-browser-mocks plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-analytics-browser-mocks'] --- import kbnCoreAnalyticsBrowserMocksObj from './kbn_core_analytics_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_analytics_server.mdx b/api_docs/kbn_core_analytics_server.mdx index ed25640ecde42..8d51159fac5e1 100644 --- a/api_docs/kbn_core_analytics_server.mdx +++ b/api_docs/kbn_core_analytics_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-server title: "@kbn/core-analytics-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-analytics-server plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-analytics-server'] --- import kbnCoreAnalyticsServerObj from './kbn_core_analytics_server.devdocs.json'; diff --git a/api_docs/kbn_core_analytics_server_internal.mdx b/api_docs/kbn_core_analytics_server_internal.mdx index 053b69d5611b1..527380e34886f 100644 --- a/api_docs/kbn_core_analytics_server_internal.mdx +++ b/api_docs/kbn_core_analytics_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-server-internal title: "@kbn/core-analytics-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-analytics-server-internal plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-analytics-server-internal'] --- import kbnCoreAnalyticsServerInternalObj from './kbn_core_analytics_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_analytics_server_mocks.mdx b/api_docs/kbn_core_analytics_server_mocks.mdx index d16b07a27e336..ae753014e511e 100644 --- a/api_docs/kbn_core_analytics_server_mocks.mdx +++ b/api_docs/kbn_core_analytics_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-server-mocks title: "@kbn/core-analytics-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-analytics-server-mocks plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-analytics-server-mocks'] --- import kbnCoreAnalyticsServerMocksObj from './kbn_core_analytics_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_application_browser.mdx b/api_docs/kbn_core_application_browser.mdx index 6ad99d6f952ea..890017a3f33f9 100644 --- a/api_docs/kbn_core_application_browser.mdx +++ b/api_docs/kbn_core_application_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-application-browser title: "@kbn/core-application-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-application-browser plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-application-browser'] --- import kbnCoreApplicationBrowserObj from './kbn_core_application_browser.devdocs.json'; diff --git a/api_docs/kbn_core_application_browser_internal.mdx b/api_docs/kbn_core_application_browser_internal.mdx index 09439ceeea8b6..189af1a205d44 100644 --- a/api_docs/kbn_core_application_browser_internal.mdx +++ b/api_docs/kbn_core_application_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-application-browser-internal title: "@kbn/core-application-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-application-browser-internal plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-application-browser-internal'] --- import kbnCoreApplicationBrowserInternalObj from './kbn_core_application_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_application_browser_mocks.mdx b/api_docs/kbn_core_application_browser_mocks.mdx index 18ae3c13bec68..56cbf39327384 100644 --- a/api_docs/kbn_core_application_browser_mocks.mdx +++ b/api_docs/kbn_core_application_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-application-browser-mocks title: "@kbn/core-application-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-application-browser-mocks plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-application-browser-mocks'] --- import kbnCoreApplicationBrowserMocksObj from './kbn_core_application_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_application_common.mdx b/api_docs/kbn_core_application_common.mdx index 1604f07a06db8..79ca91db6c3d7 100644 --- a/api_docs/kbn_core_application_common.mdx +++ b/api_docs/kbn_core_application_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-application-common title: "@kbn/core-application-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-application-common plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-application-common'] --- import kbnCoreApplicationCommonObj from './kbn_core_application_common.devdocs.json'; diff --git a/api_docs/kbn_core_apps_browser_internal.mdx b/api_docs/kbn_core_apps_browser_internal.mdx index dc391dc0ad21a..52d4837e3da85 100644 --- a/api_docs/kbn_core_apps_browser_internal.mdx +++ b/api_docs/kbn_core_apps_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-apps-browser-internal title: "@kbn/core-apps-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-apps-browser-internal plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-apps-browser-internal'] --- import kbnCoreAppsBrowserInternalObj from './kbn_core_apps_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_apps_browser_mocks.mdx b/api_docs/kbn_core_apps_browser_mocks.mdx index 10e5163227453..d862f805bd56d 100644 --- a/api_docs/kbn_core_apps_browser_mocks.mdx +++ b/api_docs/kbn_core_apps_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-apps-browser-mocks title: "@kbn/core-apps-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-apps-browser-mocks plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-apps-browser-mocks'] --- import kbnCoreAppsBrowserMocksObj from './kbn_core_apps_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_base_browser_mocks.mdx b/api_docs/kbn_core_base_browser_mocks.mdx index baa190cd43ab2..cd67237c13936 100644 --- a/api_docs/kbn_core_base_browser_mocks.mdx +++ b/api_docs/kbn_core_base_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-base-browser-mocks title: "@kbn/core-base-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-base-browser-mocks plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-base-browser-mocks'] --- import kbnCoreBaseBrowserMocksObj from './kbn_core_base_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_base_common.mdx b/api_docs/kbn_core_base_common.mdx index 52c623a6003fb..a8c36e1f5805c 100644 --- a/api_docs/kbn_core_base_common.mdx +++ b/api_docs/kbn_core_base_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-base-common title: "@kbn/core-base-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-base-common plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-base-common'] --- import kbnCoreBaseCommonObj from './kbn_core_base_common.devdocs.json'; diff --git a/api_docs/kbn_core_base_server_internal.mdx b/api_docs/kbn_core_base_server_internal.mdx index 8f9d8b3760a92..e54292a2dcf44 100644 --- a/api_docs/kbn_core_base_server_internal.mdx +++ b/api_docs/kbn_core_base_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-base-server-internal title: "@kbn/core-base-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-base-server-internal plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-base-server-internal'] --- import kbnCoreBaseServerInternalObj from './kbn_core_base_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_base_server_mocks.mdx b/api_docs/kbn_core_base_server_mocks.mdx index 28e0a50ae3f87..b5cfc89eb2b22 100644 --- a/api_docs/kbn_core_base_server_mocks.mdx +++ b/api_docs/kbn_core_base_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-base-server-mocks title: "@kbn/core-base-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-base-server-mocks plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-base-server-mocks'] --- import kbnCoreBaseServerMocksObj from './kbn_core_base_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_capabilities_browser_mocks.mdx b/api_docs/kbn_core_capabilities_browser_mocks.mdx index c6bb1ea9dd3dd..a1f436bbc2c95 100644 --- a/api_docs/kbn_core_capabilities_browser_mocks.mdx +++ b/api_docs/kbn_core_capabilities_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-capabilities-browser-mocks title: "@kbn/core-capabilities-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-capabilities-browser-mocks plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-capabilities-browser-mocks'] --- import kbnCoreCapabilitiesBrowserMocksObj from './kbn_core_capabilities_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_capabilities_common.mdx b/api_docs/kbn_core_capabilities_common.mdx index 1fc889ba908df..e61648c77a646 100644 --- a/api_docs/kbn_core_capabilities_common.mdx +++ b/api_docs/kbn_core_capabilities_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-capabilities-common title: "@kbn/core-capabilities-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-capabilities-common plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-capabilities-common'] --- import kbnCoreCapabilitiesCommonObj from './kbn_core_capabilities_common.devdocs.json'; diff --git a/api_docs/kbn_core_capabilities_server.mdx b/api_docs/kbn_core_capabilities_server.mdx index 7356cfbadc273..322ff906d5944 100644 --- a/api_docs/kbn_core_capabilities_server.mdx +++ b/api_docs/kbn_core_capabilities_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-capabilities-server title: "@kbn/core-capabilities-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-capabilities-server plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-capabilities-server'] --- import kbnCoreCapabilitiesServerObj from './kbn_core_capabilities_server.devdocs.json'; diff --git a/api_docs/kbn_core_capabilities_server_mocks.mdx b/api_docs/kbn_core_capabilities_server_mocks.mdx index 1bbbcb8aada6f..182cc000f2b6f 100644 --- a/api_docs/kbn_core_capabilities_server_mocks.mdx +++ b/api_docs/kbn_core_capabilities_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-capabilities-server-mocks title: "@kbn/core-capabilities-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-capabilities-server-mocks plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-capabilities-server-mocks'] --- import kbnCoreCapabilitiesServerMocksObj from './kbn_core_capabilities_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_chrome_browser.mdx b/api_docs/kbn_core_chrome_browser.mdx index 79d24c024072d..4b16453fe269b 100644 --- a/api_docs/kbn_core_chrome_browser.mdx +++ b/api_docs/kbn_core_chrome_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-chrome-browser title: "@kbn/core-chrome-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-chrome-browser plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-chrome-browser'] --- import kbnCoreChromeBrowserObj from './kbn_core_chrome_browser.devdocs.json'; diff --git a/api_docs/kbn_core_chrome_browser_mocks.mdx b/api_docs/kbn_core_chrome_browser_mocks.mdx index 6455ee3244d4a..3f929871b5737 100644 --- a/api_docs/kbn_core_chrome_browser_mocks.mdx +++ b/api_docs/kbn_core_chrome_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-chrome-browser-mocks title: "@kbn/core-chrome-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-chrome-browser-mocks plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-chrome-browser-mocks'] --- import kbnCoreChromeBrowserMocksObj from './kbn_core_chrome_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_config_server_internal.mdx b/api_docs/kbn_core_config_server_internal.mdx index 7edeb39818a08..d8fbe6065b2cd 100644 --- a/api_docs/kbn_core_config_server_internal.mdx +++ b/api_docs/kbn_core_config_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-config-server-internal title: "@kbn/core-config-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-config-server-internal plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-config-server-internal'] --- import kbnCoreConfigServerInternalObj from './kbn_core_config_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_deprecations_browser.mdx b/api_docs/kbn_core_deprecations_browser.mdx index c84ad7a2379d8..e38be3110de51 100644 --- a/api_docs/kbn_core_deprecations_browser.mdx +++ b/api_docs/kbn_core_deprecations_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-browser title: "@kbn/core-deprecations-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-browser plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-deprecations-browser'] --- import kbnCoreDeprecationsBrowserObj from './kbn_core_deprecations_browser.devdocs.json'; diff --git a/api_docs/kbn_core_deprecations_browser_internal.mdx b/api_docs/kbn_core_deprecations_browser_internal.mdx index 414e7df7c64f7..27b0d85accff1 100644 --- a/api_docs/kbn_core_deprecations_browser_internal.mdx +++ b/api_docs/kbn_core_deprecations_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-browser-internal title: "@kbn/core-deprecations-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-browser-internal plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-deprecations-browser-internal'] --- import kbnCoreDeprecationsBrowserInternalObj from './kbn_core_deprecations_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_deprecations_browser_mocks.mdx b/api_docs/kbn_core_deprecations_browser_mocks.mdx index 2a5176e2951db..3735709d2eb12 100644 --- a/api_docs/kbn_core_deprecations_browser_mocks.mdx +++ b/api_docs/kbn_core_deprecations_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-browser-mocks title: "@kbn/core-deprecations-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-browser-mocks plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-deprecations-browser-mocks'] --- import kbnCoreDeprecationsBrowserMocksObj from './kbn_core_deprecations_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_deprecations_common.mdx b/api_docs/kbn_core_deprecations_common.mdx index 54f8741c974eb..01168b388c1b3 100644 --- a/api_docs/kbn_core_deprecations_common.mdx +++ b/api_docs/kbn_core_deprecations_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-common title: "@kbn/core-deprecations-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-common plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-deprecations-common'] --- import kbnCoreDeprecationsCommonObj from './kbn_core_deprecations_common.devdocs.json'; diff --git a/api_docs/kbn_core_deprecations_server.mdx b/api_docs/kbn_core_deprecations_server.mdx index 56a76e8117682..ee8597fc879a2 100644 --- a/api_docs/kbn_core_deprecations_server.mdx +++ b/api_docs/kbn_core_deprecations_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-server title: "@kbn/core-deprecations-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-server plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-deprecations-server'] --- import kbnCoreDeprecationsServerObj from './kbn_core_deprecations_server.devdocs.json'; diff --git a/api_docs/kbn_core_deprecations_server_internal.mdx b/api_docs/kbn_core_deprecations_server_internal.mdx index a65170c8366c3..2c5888babe922 100644 --- a/api_docs/kbn_core_deprecations_server_internal.mdx +++ b/api_docs/kbn_core_deprecations_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-server-internal title: "@kbn/core-deprecations-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-server-internal plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-deprecations-server-internal'] --- import kbnCoreDeprecationsServerInternalObj from './kbn_core_deprecations_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_deprecations_server_mocks.mdx b/api_docs/kbn_core_deprecations_server_mocks.mdx index da85b6b5a10d6..4528f35176c44 100644 --- a/api_docs/kbn_core_deprecations_server_mocks.mdx +++ b/api_docs/kbn_core_deprecations_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-server-mocks title: "@kbn/core-deprecations-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-server-mocks plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-deprecations-server-mocks'] --- import kbnCoreDeprecationsServerMocksObj from './kbn_core_deprecations_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_doc_links_browser.mdx b/api_docs/kbn_core_doc_links_browser.mdx index 893d3bd32bc21..98b9f2268b08d 100644 --- a/api_docs/kbn_core_doc_links_browser.mdx +++ b/api_docs/kbn_core_doc_links_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-doc-links-browser title: "@kbn/core-doc-links-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-doc-links-browser plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-doc-links-browser'] --- import kbnCoreDocLinksBrowserObj from './kbn_core_doc_links_browser.devdocs.json'; diff --git a/api_docs/kbn_core_doc_links_browser_mocks.mdx b/api_docs/kbn_core_doc_links_browser_mocks.mdx index 172d3fce20749..9895cefac90a9 100644 --- a/api_docs/kbn_core_doc_links_browser_mocks.mdx +++ b/api_docs/kbn_core_doc_links_browser_mocks.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-doc-links-browser-mocks plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-doc-links-browser-mocks'] --- import kbnCoreDocLinksBrowserMocksObj from './kbn_core_doc_links_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_doc_links_server.mdx b/api_docs/kbn_core_doc_links_server.mdx index dde317df7f866..7f31e1677ea71 100644 --- a/api_docs/kbn_core_doc_links_server.mdx +++ b/api_docs/kbn_core_doc_links_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-doc-links-server title: "@kbn/core-doc-links-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-doc-links-server plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-doc-links-server'] --- import kbnCoreDocLinksServerObj from './kbn_core_doc_links_server.devdocs.json'; diff --git a/api_docs/kbn_core_doc_links_server_mocks.mdx b/api_docs/kbn_core_doc_links_server_mocks.mdx index c6fd74e6fb44d..64b6cd2e21198 100644 --- a/api_docs/kbn_core_doc_links_server_mocks.mdx +++ b/api_docs/kbn_core_doc_links_server_mocks.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-doc-links-server-mocks plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-doc-links-server-mocks'] --- import kbnCoreDocLinksServerMocksObj from './kbn_core_doc_links_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_elasticsearch_client_server_internal.mdx b/api_docs/kbn_core_elasticsearch_client_server_internal.mdx index 9ca17bcee1635..4dd00076fad22 100644 --- a/api_docs/kbn_core_elasticsearch_client_server_internal.mdx +++ b/api_docs/kbn_core_elasticsearch_client_server_internal.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-elasticsearch-client-server-internal plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-elasticsearch-client-server-internal'] --- import kbnCoreElasticsearchClientServerInternalObj from './kbn_core_elasticsearch_client_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_elasticsearch_client_server_mocks.mdx b/api_docs/kbn_core_elasticsearch_client_server_mocks.mdx index ca0b26489c6ee..2c5aca0e66247 100644 --- a/api_docs/kbn_core_elasticsearch_client_server_mocks.mdx +++ b/api_docs/kbn_core_elasticsearch_client_server_mocks.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-elasticsearch-client-server-mocks plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-elasticsearch-client-server-mocks'] --- import kbnCoreElasticsearchClientServerMocksObj from './kbn_core_elasticsearch_client_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_elasticsearch_server.mdx b/api_docs/kbn_core_elasticsearch_server.mdx index 745e960f79664..1c1b85f9d1c3d 100644 --- a/api_docs/kbn_core_elasticsearch_server.mdx +++ b/api_docs/kbn_core_elasticsearch_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-elasticsearch-server title: "@kbn/core-elasticsearch-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-elasticsearch-server plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-elasticsearch-server'] --- import kbnCoreElasticsearchServerObj from './kbn_core_elasticsearch_server.devdocs.json'; diff --git a/api_docs/kbn_core_elasticsearch_server_internal.mdx b/api_docs/kbn_core_elasticsearch_server_internal.mdx index e0e4ac8e7ea0a..7c240044c3ebb 100644 --- a/api_docs/kbn_core_elasticsearch_server_internal.mdx +++ b/api_docs/kbn_core_elasticsearch_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-elasticsearch-server-internal title: "@kbn/core-elasticsearch-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-elasticsearch-server-internal plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-elasticsearch-server-internal'] --- import kbnCoreElasticsearchServerInternalObj from './kbn_core_elasticsearch_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_elasticsearch_server_mocks.mdx b/api_docs/kbn_core_elasticsearch_server_mocks.mdx index e6d1c184127a0..2e14f88fb6f84 100644 --- a/api_docs/kbn_core_elasticsearch_server_mocks.mdx +++ b/api_docs/kbn_core_elasticsearch_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-elasticsearch-server-mocks title: "@kbn/core-elasticsearch-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-elasticsearch-server-mocks plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-elasticsearch-server-mocks'] --- import kbnCoreElasticsearchServerMocksObj from './kbn_core_elasticsearch_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_environment_server_internal.mdx b/api_docs/kbn_core_environment_server_internal.mdx index e49ecc8787a38..562a0cd4d1a90 100644 --- a/api_docs/kbn_core_environment_server_internal.mdx +++ b/api_docs/kbn_core_environment_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-environment-server-internal title: "@kbn/core-environment-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-environment-server-internal plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-environment-server-internal'] --- import kbnCoreEnvironmentServerInternalObj from './kbn_core_environment_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_environment_server_mocks.mdx b/api_docs/kbn_core_environment_server_mocks.mdx index eb62270cbbaa2..1127dbb783a0e 100644 --- a/api_docs/kbn_core_environment_server_mocks.mdx +++ b/api_docs/kbn_core_environment_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-environment-server-mocks title: "@kbn/core-environment-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-environment-server-mocks plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-environment-server-mocks'] --- import kbnCoreEnvironmentServerMocksObj from './kbn_core_environment_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_execution_context_browser.mdx b/api_docs/kbn_core_execution_context_browser.mdx index 6d0ee929b982f..a98592932b48a 100644 --- a/api_docs/kbn_core_execution_context_browser.mdx +++ b/api_docs/kbn_core_execution_context_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-browser title: "@kbn/core-execution-context-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-execution-context-browser plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-browser'] --- import kbnCoreExecutionContextBrowserObj from './kbn_core_execution_context_browser.devdocs.json'; diff --git a/api_docs/kbn_core_execution_context_browser_internal.mdx b/api_docs/kbn_core_execution_context_browser_internal.mdx index ac734072d5412..e00342368b25e 100644 --- a/api_docs/kbn_core_execution_context_browser_internal.mdx +++ b/api_docs/kbn_core_execution_context_browser_internal.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-execution-context-browser-internal plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-browser-internal'] --- import kbnCoreExecutionContextBrowserInternalObj from './kbn_core_execution_context_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_execution_context_browser_mocks.mdx b/api_docs/kbn_core_execution_context_browser_mocks.mdx index b250c32ad1eb5..4c701ab8c9a9f 100644 --- a/api_docs/kbn_core_execution_context_browser_mocks.mdx +++ b/api_docs/kbn_core_execution_context_browser_mocks.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-execution-context-browser-mocks plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-browser-mocks'] --- import kbnCoreExecutionContextBrowserMocksObj from './kbn_core_execution_context_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_execution_context_common.mdx b/api_docs/kbn_core_execution_context_common.mdx index dfe5aae1a93b9..5331b155e6c36 100644 --- a/api_docs/kbn_core_execution_context_common.mdx +++ b/api_docs/kbn_core_execution_context_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-common title: "@kbn/core-execution-context-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-execution-context-common plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-common'] --- import kbnCoreExecutionContextCommonObj from './kbn_core_execution_context_common.devdocs.json'; diff --git a/api_docs/kbn_core_execution_context_server.mdx b/api_docs/kbn_core_execution_context_server.mdx index a81b66482b16b..03cddc07e1d18 100644 --- a/api_docs/kbn_core_execution_context_server.mdx +++ b/api_docs/kbn_core_execution_context_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-server title: "@kbn/core-execution-context-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-execution-context-server plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-server'] --- import kbnCoreExecutionContextServerObj from './kbn_core_execution_context_server.devdocs.json'; diff --git a/api_docs/kbn_core_execution_context_server_internal.mdx b/api_docs/kbn_core_execution_context_server_internal.mdx index 1673ec0269685..7ba0b64dd42f3 100644 --- a/api_docs/kbn_core_execution_context_server_internal.mdx +++ b/api_docs/kbn_core_execution_context_server_internal.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-execution-context-server-internal plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-server-internal'] --- import kbnCoreExecutionContextServerInternalObj from './kbn_core_execution_context_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_execution_context_server_mocks.mdx b/api_docs/kbn_core_execution_context_server_mocks.mdx index 5bb6efd54966c..81ab4113c4df5 100644 --- a/api_docs/kbn_core_execution_context_server_mocks.mdx +++ b/api_docs/kbn_core_execution_context_server_mocks.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-execution-context-server-mocks plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-server-mocks'] --- import kbnCoreExecutionContextServerMocksObj from './kbn_core_execution_context_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_fatal_errors_browser.mdx b/api_docs/kbn_core_fatal_errors_browser.mdx index 55187173e2b34..292fe14b10712 100644 --- a/api_docs/kbn_core_fatal_errors_browser.mdx +++ b/api_docs/kbn_core_fatal_errors_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-fatal-errors-browser title: "@kbn/core-fatal-errors-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-fatal-errors-browser plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-fatal-errors-browser'] --- import kbnCoreFatalErrorsBrowserObj from './kbn_core_fatal_errors_browser.devdocs.json'; diff --git a/api_docs/kbn_core_fatal_errors_browser_mocks.mdx b/api_docs/kbn_core_fatal_errors_browser_mocks.mdx index a546baa5cdb34..9c6bbc7ed3a5c 100644 --- a/api_docs/kbn_core_fatal_errors_browser_mocks.mdx +++ b/api_docs/kbn_core_fatal_errors_browser_mocks.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-fatal-errors-browser-mocks plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-fatal-errors-browser-mocks'] --- import kbnCoreFatalErrorsBrowserMocksObj from './kbn_core_fatal_errors_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_http_browser.mdx b/api_docs/kbn_core_http_browser.mdx index a9ec6bef339b2..73e94790f403f 100644 --- a/api_docs/kbn_core_http_browser.mdx +++ b/api_docs/kbn_core_http_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-browser title: "@kbn/core-http-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-browser plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-browser'] --- import kbnCoreHttpBrowserObj from './kbn_core_http_browser.devdocs.json'; diff --git a/api_docs/kbn_core_http_browser_internal.mdx b/api_docs/kbn_core_http_browser_internal.mdx index fbecc415a0882..78f267f2fee80 100644 --- a/api_docs/kbn_core_http_browser_internal.mdx +++ b/api_docs/kbn_core_http_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-browser-internal title: "@kbn/core-http-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-browser-internal plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-browser-internal'] --- import kbnCoreHttpBrowserInternalObj from './kbn_core_http_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_http_browser_mocks.mdx b/api_docs/kbn_core_http_browser_mocks.mdx index c68f30baaf23d..6ab805e798a2c 100644 --- a/api_docs/kbn_core_http_browser_mocks.mdx +++ b/api_docs/kbn_core_http_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-browser-mocks title: "@kbn/core-http-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-browser-mocks plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-browser-mocks'] --- import kbnCoreHttpBrowserMocksObj from './kbn_core_http_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_http_common.mdx b/api_docs/kbn_core_http_common.mdx index 9731f5466a03d..044f4138e7822 100644 --- a/api_docs/kbn_core_http_common.mdx +++ b/api_docs/kbn_core_http_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-common title: "@kbn/core-http-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-common plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-common'] --- import kbnCoreHttpCommonObj from './kbn_core_http_common.devdocs.json'; diff --git a/api_docs/kbn_core_http_context_server_mocks.mdx b/api_docs/kbn_core_http_context_server_mocks.mdx index f00f8012cfe98..4e045ec48ccc2 100644 --- a/api_docs/kbn_core_http_context_server_mocks.mdx +++ b/api_docs/kbn_core_http_context_server_mocks.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-http-context-server-mocks plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-context-server-mocks'] --- import kbnCoreHttpContextServerMocksObj from './kbn_core_http_context_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_http_request_handler_context_server.mdx b/api_docs/kbn_core_http_request_handler_context_server.mdx index c055462d60edf..d17b7ef26fc19 100644 --- a/api_docs/kbn_core_http_request_handler_context_server.mdx +++ b/api_docs/kbn_core_http_request_handler_context_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-request-handler-context-server title: "@kbn/core-http-request-handler-context-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-request-handler-context-server plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-request-handler-context-server'] --- import kbnCoreHttpRequestHandlerContextServerObj from './kbn_core_http_request_handler_context_server.devdocs.json'; diff --git a/api_docs/kbn_core_http_resources_server.mdx b/api_docs/kbn_core_http_resources_server.mdx index 2abb55fff10ab..b21bfe9296856 100644 --- a/api_docs/kbn_core_http_resources_server.mdx +++ b/api_docs/kbn_core_http_resources_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-resources-server title: "@kbn/core-http-resources-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-resources-server plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-resources-server'] --- import kbnCoreHttpResourcesServerObj from './kbn_core_http_resources_server.devdocs.json'; diff --git a/api_docs/kbn_core_http_resources_server_internal.mdx b/api_docs/kbn_core_http_resources_server_internal.mdx index 4ef4feaf099f6..f08561abba7f9 100644 --- a/api_docs/kbn_core_http_resources_server_internal.mdx +++ b/api_docs/kbn_core_http_resources_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-resources-server-internal title: "@kbn/core-http-resources-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-resources-server-internal plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-resources-server-internal'] --- import kbnCoreHttpResourcesServerInternalObj from './kbn_core_http_resources_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_http_resources_server_mocks.mdx b/api_docs/kbn_core_http_resources_server_mocks.mdx index 190ded14602e4..63969a2215043 100644 --- a/api_docs/kbn_core_http_resources_server_mocks.mdx +++ b/api_docs/kbn_core_http_resources_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-resources-server-mocks title: "@kbn/core-http-resources-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-resources-server-mocks plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-resources-server-mocks'] --- import kbnCoreHttpResourcesServerMocksObj from './kbn_core_http_resources_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_http_router_server_internal.mdx b/api_docs/kbn_core_http_router_server_internal.mdx index 17f7a524ba439..5d78fc3150c3b 100644 --- a/api_docs/kbn_core_http_router_server_internal.mdx +++ b/api_docs/kbn_core_http_router_server_internal.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-http-router-server-internal plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-router-server-internal'] --- import kbnCoreHttpRouterServerInternalObj from './kbn_core_http_router_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_http_router_server_mocks.mdx b/api_docs/kbn_core_http_router_server_mocks.mdx index 687b1999b4464..b944f6bdb619f 100644 --- a/api_docs/kbn_core_http_router_server_mocks.mdx +++ b/api_docs/kbn_core_http_router_server_mocks.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-http-router-server-mocks plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-router-server-mocks'] --- import kbnCoreHttpRouterServerMocksObj from './kbn_core_http_router_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_http_server.mdx b/api_docs/kbn_core_http_server.mdx index 71ddfe595c300..c8d5cc1f6a3e9 100644 --- a/api_docs/kbn_core_http_server.mdx +++ b/api_docs/kbn_core_http_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-server title: "@kbn/core-http-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-server plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-server'] --- import kbnCoreHttpServerObj from './kbn_core_http_server.devdocs.json'; diff --git a/api_docs/kbn_core_http_server_internal.mdx b/api_docs/kbn_core_http_server_internal.mdx index f20b25894e8fd..05fb3fb6dc108 100644 --- a/api_docs/kbn_core_http_server_internal.mdx +++ b/api_docs/kbn_core_http_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-server-internal title: "@kbn/core-http-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-server-internal plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-server-internal'] --- import kbnCoreHttpServerInternalObj from './kbn_core_http_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_http_server_mocks.mdx b/api_docs/kbn_core_http_server_mocks.mdx index 8def61b6f7cff..2df420540ca4c 100644 --- a/api_docs/kbn_core_http_server_mocks.mdx +++ b/api_docs/kbn_core_http_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-server-mocks title: "@kbn/core-http-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-server-mocks plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-server-mocks'] --- import kbnCoreHttpServerMocksObj from './kbn_core_http_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_i18n_browser.mdx b/api_docs/kbn_core_i18n_browser.mdx index 9b8e881b251fc..d3b1f06a8c3f6 100644 --- a/api_docs/kbn_core_i18n_browser.mdx +++ b/api_docs/kbn_core_i18n_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-i18n-browser title: "@kbn/core-i18n-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-i18n-browser plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-i18n-browser'] --- import kbnCoreI18nBrowserObj from './kbn_core_i18n_browser.devdocs.json'; diff --git a/api_docs/kbn_core_i18n_browser_mocks.mdx b/api_docs/kbn_core_i18n_browser_mocks.mdx index 5c7635fa0a040..2bb30e2a504dc 100644 --- a/api_docs/kbn_core_i18n_browser_mocks.mdx +++ b/api_docs/kbn_core_i18n_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-i18n-browser-mocks title: "@kbn/core-i18n-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-i18n-browser-mocks plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-i18n-browser-mocks'] --- import kbnCoreI18nBrowserMocksObj from './kbn_core_i18n_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_i18n_server.mdx b/api_docs/kbn_core_i18n_server.mdx index 52ffa62dd8700..9fc823512a37a 100644 --- a/api_docs/kbn_core_i18n_server.mdx +++ b/api_docs/kbn_core_i18n_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-i18n-server title: "@kbn/core-i18n-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-i18n-server plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-i18n-server'] --- import kbnCoreI18nServerObj from './kbn_core_i18n_server.devdocs.json'; diff --git a/api_docs/kbn_core_i18n_server_internal.mdx b/api_docs/kbn_core_i18n_server_internal.mdx index a5bafa1fe72e5..057bb5bd8d038 100644 --- a/api_docs/kbn_core_i18n_server_internal.mdx +++ b/api_docs/kbn_core_i18n_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-i18n-server-internal title: "@kbn/core-i18n-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-i18n-server-internal plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-i18n-server-internal'] --- import kbnCoreI18nServerInternalObj from './kbn_core_i18n_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_i18n_server_mocks.mdx b/api_docs/kbn_core_i18n_server_mocks.mdx index 715a7fc53ce53..20f8dc35df1e4 100644 --- a/api_docs/kbn_core_i18n_server_mocks.mdx +++ b/api_docs/kbn_core_i18n_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-i18n-server-mocks title: "@kbn/core-i18n-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-i18n-server-mocks plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-i18n-server-mocks'] --- import kbnCoreI18nServerMocksObj from './kbn_core_i18n_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_injected_metadata_browser.mdx b/api_docs/kbn_core_injected_metadata_browser.mdx index 68360fcfa8c9c..639a6936e4b0f 100644 --- a/api_docs/kbn_core_injected_metadata_browser.mdx +++ b/api_docs/kbn_core_injected_metadata_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-injected-metadata-browser title: "@kbn/core-injected-metadata-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-injected-metadata-browser plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-injected-metadata-browser'] --- import kbnCoreInjectedMetadataBrowserObj from './kbn_core_injected_metadata_browser.devdocs.json'; diff --git a/api_docs/kbn_core_injected_metadata_browser_mocks.mdx b/api_docs/kbn_core_injected_metadata_browser_mocks.mdx index e7fb276e15d96..2462d97408f67 100644 --- a/api_docs/kbn_core_injected_metadata_browser_mocks.mdx +++ b/api_docs/kbn_core_injected_metadata_browser_mocks.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-injected-metadata-browser-mocks plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-injected-metadata-browser-mocks'] --- import kbnCoreInjectedMetadataBrowserMocksObj from './kbn_core_injected_metadata_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_integrations_browser_internal.mdx b/api_docs/kbn_core_integrations_browser_internal.mdx index 4bb9ac82a6e5e..af069a149d94e 100644 --- a/api_docs/kbn_core_integrations_browser_internal.mdx +++ b/api_docs/kbn_core_integrations_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-integrations-browser-internal title: "@kbn/core-integrations-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-integrations-browser-internal plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-integrations-browser-internal'] --- import kbnCoreIntegrationsBrowserInternalObj from './kbn_core_integrations_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_integrations_browser_mocks.mdx b/api_docs/kbn_core_integrations_browser_mocks.mdx index 0422b7045f40d..1339ebf1eaf59 100644 --- a/api_docs/kbn_core_integrations_browser_mocks.mdx +++ b/api_docs/kbn_core_integrations_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-integrations-browser-mocks title: "@kbn/core-integrations-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-integrations-browser-mocks plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-integrations-browser-mocks'] --- import kbnCoreIntegrationsBrowserMocksObj from './kbn_core_integrations_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_lifecycle_browser.mdx b/api_docs/kbn_core_lifecycle_browser.mdx index c07b0f2ff3e2c..4090382d4f0e6 100644 --- a/api_docs/kbn_core_lifecycle_browser.mdx +++ b/api_docs/kbn_core_lifecycle_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-lifecycle-browser title: "@kbn/core-lifecycle-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-lifecycle-browser plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-lifecycle-browser'] --- import kbnCoreLifecycleBrowserObj from './kbn_core_lifecycle_browser.devdocs.json'; diff --git a/api_docs/kbn_core_lifecycle_browser_mocks.mdx b/api_docs/kbn_core_lifecycle_browser_mocks.mdx index da19b0f1524e0..713488b634ba5 100644 --- a/api_docs/kbn_core_lifecycle_browser_mocks.mdx +++ b/api_docs/kbn_core_lifecycle_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-lifecycle-browser-mocks title: "@kbn/core-lifecycle-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-lifecycle-browser-mocks plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-lifecycle-browser-mocks'] --- import kbnCoreLifecycleBrowserMocksObj from './kbn_core_lifecycle_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_lifecycle_server.mdx b/api_docs/kbn_core_lifecycle_server.mdx index b69f51e93cd36..68796cf802dea 100644 --- a/api_docs/kbn_core_lifecycle_server.mdx +++ b/api_docs/kbn_core_lifecycle_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-lifecycle-server title: "@kbn/core-lifecycle-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-lifecycle-server plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-lifecycle-server'] --- import kbnCoreLifecycleServerObj from './kbn_core_lifecycle_server.devdocs.json'; diff --git a/api_docs/kbn_core_lifecycle_server_mocks.mdx b/api_docs/kbn_core_lifecycle_server_mocks.mdx index d424f722ad0a6..4c4a5f8898866 100644 --- a/api_docs/kbn_core_lifecycle_server_mocks.mdx +++ b/api_docs/kbn_core_lifecycle_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-lifecycle-server-mocks title: "@kbn/core-lifecycle-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-lifecycle-server-mocks plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-lifecycle-server-mocks'] --- import kbnCoreLifecycleServerMocksObj from './kbn_core_lifecycle_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_logging_server.mdx b/api_docs/kbn_core_logging_server.mdx index 8fb3822f8e8d6..0c5924a7a96e0 100644 --- a/api_docs/kbn_core_logging_server.mdx +++ b/api_docs/kbn_core_logging_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-logging-server title: "@kbn/core-logging-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-logging-server plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-logging-server'] --- import kbnCoreLoggingServerObj from './kbn_core_logging_server.devdocs.json'; diff --git a/api_docs/kbn_core_logging_server_internal.mdx b/api_docs/kbn_core_logging_server_internal.mdx index 6e44abbba05f8..8ffd2ab577033 100644 --- a/api_docs/kbn_core_logging_server_internal.mdx +++ b/api_docs/kbn_core_logging_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-logging-server-internal title: "@kbn/core-logging-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-logging-server-internal plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-logging-server-internal'] --- import kbnCoreLoggingServerInternalObj from './kbn_core_logging_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_logging_server_mocks.mdx b/api_docs/kbn_core_logging_server_mocks.mdx index ae42321ed0010..f0e83933ff235 100644 --- a/api_docs/kbn_core_logging_server_mocks.mdx +++ b/api_docs/kbn_core_logging_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-logging-server-mocks title: "@kbn/core-logging-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-logging-server-mocks plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-logging-server-mocks'] --- import kbnCoreLoggingServerMocksObj from './kbn_core_logging_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_metrics_collectors_server_internal.mdx b/api_docs/kbn_core_metrics_collectors_server_internal.mdx index 40ff397630ade..f5731a856c32f 100644 --- a/api_docs/kbn_core_metrics_collectors_server_internal.mdx +++ b/api_docs/kbn_core_metrics_collectors_server_internal.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-metrics-collectors-server-internal plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-metrics-collectors-server-internal'] --- import kbnCoreMetricsCollectorsServerInternalObj from './kbn_core_metrics_collectors_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_metrics_collectors_server_mocks.mdx b/api_docs/kbn_core_metrics_collectors_server_mocks.mdx index 780353749ecc7..6576b9ca7f239 100644 --- a/api_docs/kbn_core_metrics_collectors_server_mocks.mdx +++ b/api_docs/kbn_core_metrics_collectors_server_mocks.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-metrics-collectors-server-mocks plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-metrics-collectors-server-mocks'] --- import kbnCoreMetricsCollectorsServerMocksObj from './kbn_core_metrics_collectors_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_metrics_server.mdx b/api_docs/kbn_core_metrics_server.mdx index 7718cce55915b..31ba9fb23b87a 100644 --- a/api_docs/kbn_core_metrics_server.mdx +++ b/api_docs/kbn_core_metrics_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-metrics-server title: "@kbn/core-metrics-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-metrics-server plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-metrics-server'] --- import kbnCoreMetricsServerObj from './kbn_core_metrics_server.devdocs.json'; diff --git a/api_docs/kbn_core_metrics_server_internal.mdx b/api_docs/kbn_core_metrics_server_internal.mdx index a34ab20aa29c2..38e077cf3f82c 100644 --- a/api_docs/kbn_core_metrics_server_internal.mdx +++ b/api_docs/kbn_core_metrics_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-metrics-server-internal title: "@kbn/core-metrics-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-metrics-server-internal plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-metrics-server-internal'] --- import kbnCoreMetricsServerInternalObj from './kbn_core_metrics_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_metrics_server_mocks.mdx b/api_docs/kbn_core_metrics_server_mocks.mdx index 7c6e8b98cb979..5f1c7127ee519 100644 --- a/api_docs/kbn_core_metrics_server_mocks.mdx +++ b/api_docs/kbn_core_metrics_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-metrics-server-mocks title: "@kbn/core-metrics-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-metrics-server-mocks plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-metrics-server-mocks'] --- import kbnCoreMetricsServerMocksObj from './kbn_core_metrics_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_mount_utils_browser.mdx b/api_docs/kbn_core_mount_utils_browser.mdx index ab502388b71ac..82f1db96d5dfe 100644 --- a/api_docs/kbn_core_mount_utils_browser.mdx +++ b/api_docs/kbn_core_mount_utils_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-mount-utils-browser title: "@kbn/core-mount-utils-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-mount-utils-browser plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-mount-utils-browser'] --- import kbnCoreMountUtilsBrowserObj from './kbn_core_mount_utils_browser.devdocs.json'; diff --git a/api_docs/kbn_core_node_server.mdx b/api_docs/kbn_core_node_server.mdx index 50c301dee8012..2c2cd817cfca0 100644 --- a/api_docs/kbn_core_node_server.mdx +++ b/api_docs/kbn_core_node_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-node-server title: "@kbn/core-node-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-node-server plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-node-server'] --- import kbnCoreNodeServerObj from './kbn_core_node_server.devdocs.json'; diff --git a/api_docs/kbn_core_node_server_internal.mdx b/api_docs/kbn_core_node_server_internal.mdx index 845b849450517..2ebab02aa0b8f 100644 --- a/api_docs/kbn_core_node_server_internal.mdx +++ b/api_docs/kbn_core_node_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-node-server-internal title: "@kbn/core-node-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-node-server-internal plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-node-server-internal'] --- import kbnCoreNodeServerInternalObj from './kbn_core_node_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_node_server_mocks.mdx b/api_docs/kbn_core_node_server_mocks.mdx index 3ce9165b5f54d..d7ea071f7758b 100644 --- a/api_docs/kbn_core_node_server_mocks.mdx +++ b/api_docs/kbn_core_node_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-node-server-mocks title: "@kbn/core-node-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-node-server-mocks plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-node-server-mocks'] --- import kbnCoreNodeServerMocksObj from './kbn_core_node_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_notifications_browser.mdx b/api_docs/kbn_core_notifications_browser.mdx index a996b1d591385..2c69588cab4ad 100644 --- a/api_docs/kbn_core_notifications_browser.mdx +++ b/api_docs/kbn_core_notifications_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-notifications-browser title: "@kbn/core-notifications-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-notifications-browser plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-notifications-browser'] --- import kbnCoreNotificationsBrowserObj from './kbn_core_notifications_browser.devdocs.json'; diff --git a/api_docs/kbn_core_notifications_browser_internal.mdx b/api_docs/kbn_core_notifications_browser_internal.mdx index f1eb1d4cb0526..a53e822b45c73 100644 --- a/api_docs/kbn_core_notifications_browser_internal.mdx +++ b/api_docs/kbn_core_notifications_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-notifications-browser-internal title: "@kbn/core-notifications-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-notifications-browser-internal plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-notifications-browser-internal'] --- import kbnCoreNotificationsBrowserInternalObj from './kbn_core_notifications_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_notifications_browser_mocks.mdx b/api_docs/kbn_core_notifications_browser_mocks.mdx index 45eef6570f49c..dad2afc821ed0 100644 --- a/api_docs/kbn_core_notifications_browser_mocks.mdx +++ b/api_docs/kbn_core_notifications_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-notifications-browser-mocks title: "@kbn/core-notifications-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-notifications-browser-mocks plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-notifications-browser-mocks'] --- import kbnCoreNotificationsBrowserMocksObj from './kbn_core_notifications_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_overlays_browser.mdx b/api_docs/kbn_core_overlays_browser.mdx index 1c246d1b96588..6a4b3e568add3 100644 --- a/api_docs/kbn_core_overlays_browser.mdx +++ b/api_docs/kbn_core_overlays_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-overlays-browser title: "@kbn/core-overlays-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-overlays-browser plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-overlays-browser'] --- import kbnCoreOverlaysBrowserObj from './kbn_core_overlays_browser.devdocs.json'; diff --git a/api_docs/kbn_core_overlays_browser_internal.mdx b/api_docs/kbn_core_overlays_browser_internal.mdx index ac2768e80144b..c98f171d7fce8 100644 --- a/api_docs/kbn_core_overlays_browser_internal.mdx +++ b/api_docs/kbn_core_overlays_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-overlays-browser-internal title: "@kbn/core-overlays-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-overlays-browser-internal plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-overlays-browser-internal'] --- import kbnCoreOverlaysBrowserInternalObj from './kbn_core_overlays_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_overlays_browser_mocks.mdx b/api_docs/kbn_core_overlays_browser_mocks.mdx index 77915857f4d8d..9a310cfcc02a2 100644 --- a/api_docs/kbn_core_overlays_browser_mocks.mdx +++ b/api_docs/kbn_core_overlays_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-overlays-browser-mocks title: "@kbn/core-overlays-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-overlays-browser-mocks plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-overlays-browser-mocks'] --- import kbnCoreOverlaysBrowserMocksObj from './kbn_core_overlays_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_plugins_browser.mdx b/api_docs/kbn_core_plugins_browser.mdx index 52a7974fa786d..bc444497a6670 100644 --- a/api_docs/kbn_core_plugins_browser.mdx +++ b/api_docs/kbn_core_plugins_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-plugins-browser title: "@kbn/core-plugins-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-plugins-browser plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-plugins-browser'] --- import kbnCorePluginsBrowserObj from './kbn_core_plugins_browser.devdocs.json'; diff --git a/api_docs/kbn_core_plugins_browser_mocks.mdx b/api_docs/kbn_core_plugins_browser_mocks.mdx index 56c1d97b85d5f..960eeb37152b9 100644 --- a/api_docs/kbn_core_plugins_browser_mocks.mdx +++ b/api_docs/kbn_core_plugins_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-plugins-browser-mocks title: "@kbn/core-plugins-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-plugins-browser-mocks plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-plugins-browser-mocks'] --- import kbnCorePluginsBrowserMocksObj from './kbn_core_plugins_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_plugins_server.mdx b/api_docs/kbn_core_plugins_server.mdx index 9f153b446bb4c..d295380cb0dac 100644 --- a/api_docs/kbn_core_plugins_server.mdx +++ b/api_docs/kbn_core_plugins_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-plugins-server title: "@kbn/core-plugins-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-plugins-server plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-plugins-server'] --- import kbnCorePluginsServerObj from './kbn_core_plugins_server.devdocs.json'; diff --git a/api_docs/kbn_core_plugins_server_mocks.mdx b/api_docs/kbn_core_plugins_server_mocks.mdx index 7db17045e0dbe..dd7f2f4a189fa 100644 --- a/api_docs/kbn_core_plugins_server_mocks.mdx +++ b/api_docs/kbn_core_plugins_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-plugins-server-mocks title: "@kbn/core-plugins-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-plugins-server-mocks plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-plugins-server-mocks'] --- import kbnCorePluginsServerMocksObj from './kbn_core_plugins_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_preboot_server.mdx b/api_docs/kbn_core_preboot_server.mdx index ba48f508e9efc..5c3f96ba1bdfb 100644 --- a/api_docs/kbn_core_preboot_server.mdx +++ b/api_docs/kbn_core_preboot_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-preboot-server title: "@kbn/core-preboot-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-preboot-server plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-preboot-server'] --- import kbnCorePrebootServerObj from './kbn_core_preboot_server.devdocs.json'; diff --git a/api_docs/kbn_core_preboot_server_mocks.mdx b/api_docs/kbn_core_preboot_server_mocks.mdx index d8685f6493124..da3e059d7f104 100644 --- a/api_docs/kbn_core_preboot_server_mocks.mdx +++ b/api_docs/kbn_core_preboot_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-preboot-server-mocks title: "@kbn/core-preboot-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-preboot-server-mocks plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-preboot-server-mocks'] --- import kbnCorePrebootServerMocksObj from './kbn_core_preboot_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_rendering_browser_mocks.mdx b/api_docs/kbn_core_rendering_browser_mocks.mdx index 7f377b6ddfc6a..58cb46f0ab2ce 100644 --- a/api_docs/kbn_core_rendering_browser_mocks.mdx +++ b/api_docs/kbn_core_rendering_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-rendering-browser-mocks title: "@kbn/core-rendering-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-rendering-browser-mocks plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-rendering-browser-mocks'] --- import kbnCoreRenderingBrowserMocksObj from './kbn_core_rendering_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_rendering_server_internal.mdx b/api_docs/kbn_core_rendering_server_internal.mdx index 5b6a016f9cb4b..9832a3d148c83 100644 --- a/api_docs/kbn_core_rendering_server_internal.mdx +++ b/api_docs/kbn_core_rendering_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-rendering-server-internal title: "@kbn/core-rendering-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-rendering-server-internal plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-rendering-server-internal'] --- import kbnCoreRenderingServerInternalObj from './kbn_core_rendering_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_rendering_server_mocks.mdx b/api_docs/kbn_core_rendering_server_mocks.mdx index 69d261c0ee436..0b327b04ee724 100644 --- a/api_docs/kbn_core_rendering_server_mocks.mdx +++ b/api_docs/kbn_core_rendering_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-rendering-server-mocks title: "@kbn/core-rendering-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-rendering-server-mocks plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-rendering-server-mocks'] --- import kbnCoreRenderingServerMocksObj from './kbn_core_rendering_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_api_browser.mdx b/api_docs/kbn_core_saved_objects_api_browser.mdx index c7f9ea44c43dd..dcbad77eed840 100644 --- a/api_docs/kbn_core_saved_objects_api_browser.mdx +++ b/api_docs/kbn_core_saved_objects_api_browser.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-saved-objects-api-browser plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-api-browser'] --- import kbnCoreSavedObjectsApiBrowserObj from './kbn_core_saved_objects_api_browser.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_api_server.mdx b/api_docs/kbn_core_saved_objects_api_server.mdx index 0fceb8d7b769b..15ad5a9d2fc78 100644 --- a/api_docs/kbn_core_saved_objects_api_server.mdx +++ b/api_docs/kbn_core_saved_objects_api_server.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-saved-objects-api-server plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-api-server'] --- import kbnCoreSavedObjectsApiServerObj from './kbn_core_saved_objects_api_server.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_api_server_internal.mdx b/api_docs/kbn_core_saved_objects_api_server_internal.mdx index fc13e5bff77b3..c729e6161b30d 100644 --- a/api_docs/kbn_core_saved_objects_api_server_internal.mdx +++ b/api_docs/kbn_core_saved_objects_api_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-api-server-internal title: "@kbn/core-saved-objects-api-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-api-server-internal plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-api-server-internal'] --- import kbnCoreSavedObjectsApiServerInternalObj from './kbn_core_saved_objects_api_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_api_server_mocks.mdx b/api_docs/kbn_core_saved_objects_api_server_mocks.mdx index ca7c80de813dc..1c55736aff6ce 100644 --- a/api_docs/kbn_core_saved_objects_api_server_mocks.mdx +++ b/api_docs/kbn_core_saved_objects_api_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-api-server-mocks title: "@kbn/core-saved-objects-api-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-api-server-mocks plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-api-server-mocks'] --- import kbnCoreSavedObjectsApiServerMocksObj from './kbn_core_saved_objects_api_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_base_server_internal.mdx b/api_docs/kbn_core_saved_objects_base_server_internal.mdx index d87dbc308f97a..7e8aaf615278a 100644 --- a/api_docs/kbn_core_saved_objects_base_server_internal.mdx +++ b/api_docs/kbn_core_saved_objects_base_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-base-server-internal title: "@kbn/core-saved-objects-base-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-base-server-internal plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-base-server-internal'] --- import kbnCoreSavedObjectsBaseServerInternalObj from './kbn_core_saved_objects_base_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_base_server_mocks.mdx b/api_docs/kbn_core_saved_objects_base_server_mocks.mdx index 8991dca404cfa..65c76c147498e 100644 --- a/api_docs/kbn_core_saved_objects_base_server_mocks.mdx +++ b/api_docs/kbn_core_saved_objects_base_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-base-server-mocks title: "@kbn/core-saved-objects-base-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-base-server-mocks plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-base-server-mocks'] --- import kbnCoreSavedObjectsBaseServerMocksObj from './kbn_core_saved_objects_base_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_browser.mdx b/api_docs/kbn_core_saved_objects_browser.mdx index a7ccde5f26f89..34004e818a1f1 100644 --- a/api_docs/kbn_core_saved_objects_browser.mdx +++ b/api_docs/kbn_core_saved_objects_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-browser title: "@kbn/core-saved-objects-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-browser plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-browser'] --- import kbnCoreSavedObjectsBrowserObj from './kbn_core_saved_objects_browser.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_browser_internal.mdx b/api_docs/kbn_core_saved_objects_browser_internal.mdx index b5c900f42d3cf..bd22a404f989d 100644 --- a/api_docs/kbn_core_saved_objects_browser_internal.mdx +++ b/api_docs/kbn_core_saved_objects_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-browser-internal title: "@kbn/core-saved-objects-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-browser-internal plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-browser-internal'] --- import kbnCoreSavedObjectsBrowserInternalObj from './kbn_core_saved_objects_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_browser_mocks.mdx b/api_docs/kbn_core_saved_objects_browser_mocks.mdx index 64058c1ff6cb3..5d9b0f5f9478d 100644 --- a/api_docs/kbn_core_saved_objects_browser_mocks.mdx +++ b/api_docs/kbn_core_saved_objects_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-browser-mocks title: "@kbn/core-saved-objects-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-browser-mocks plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-browser-mocks'] --- import kbnCoreSavedObjectsBrowserMocksObj from './kbn_core_saved_objects_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_common.mdx b/api_docs/kbn_core_saved_objects_common.mdx index 747ad6997f43c..7943b74718b8e 100644 --- a/api_docs/kbn_core_saved_objects_common.mdx +++ b/api_docs/kbn_core_saved_objects_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-common title: "@kbn/core-saved-objects-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-common plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-common'] --- import kbnCoreSavedObjectsCommonObj from './kbn_core_saved_objects_common.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_import_export_server_internal.mdx b/api_docs/kbn_core_saved_objects_import_export_server_internal.mdx index ff24c4ed0e414..88c7980354a44 100644 --- a/api_docs/kbn_core_saved_objects_import_export_server_internal.mdx +++ b/api_docs/kbn_core_saved_objects_import_export_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-import-export-server-internal title: "@kbn/core-saved-objects-import-export-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-import-export-server-internal plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-import-export-server-internal'] --- import kbnCoreSavedObjectsImportExportServerInternalObj from './kbn_core_saved_objects_import_export_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_import_export_server_mocks.mdx b/api_docs/kbn_core_saved_objects_import_export_server_mocks.mdx index 240ce9a8a2921..3e04d4d0e0ed2 100644 --- a/api_docs/kbn_core_saved_objects_import_export_server_mocks.mdx +++ b/api_docs/kbn_core_saved_objects_import_export_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-import-export-server-mocks title: "@kbn/core-saved-objects-import-export-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-import-export-server-mocks plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-import-export-server-mocks'] --- import kbnCoreSavedObjectsImportExportServerMocksObj from './kbn_core_saved_objects_import_export_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_migration_server_internal.mdx b/api_docs/kbn_core_saved_objects_migration_server_internal.mdx index f2c726433b815..8c0027b0624b8 100644 --- a/api_docs/kbn_core_saved_objects_migration_server_internal.mdx +++ b/api_docs/kbn_core_saved_objects_migration_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-migration-server-internal title: "@kbn/core-saved-objects-migration-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-migration-server-internal plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-migration-server-internal'] --- import kbnCoreSavedObjectsMigrationServerInternalObj from './kbn_core_saved_objects_migration_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_migration_server_mocks.mdx b/api_docs/kbn_core_saved_objects_migration_server_mocks.mdx index f2e7ea5b6d4b6..43af9a7802ad8 100644 --- a/api_docs/kbn_core_saved_objects_migration_server_mocks.mdx +++ b/api_docs/kbn_core_saved_objects_migration_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-migration-server-mocks title: "@kbn/core-saved-objects-migration-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-migration-server-mocks plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-migration-server-mocks'] --- import kbnCoreSavedObjectsMigrationServerMocksObj from './kbn_core_saved_objects_migration_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_server.mdx b/api_docs/kbn_core_saved_objects_server.mdx index 54193d0e7a1c1..15d1b1bffb692 100644 --- a/api_docs/kbn_core_saved_objects_server.mdx +++ b/api_docs/kbn_core_saved_objects_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-server title: "@kbn/core-saved-objects-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-server plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-server'] --- import kbnCoreSavedObjectsServerObj from './kbn_core_saved_objects_server.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_server_internal.mdx b/api_docs/kbn_core_saved_objects_server_internal.mdx index 9597645c5396e..b37c084de9d15 100644 --- a/api_docs/kbn_core_saved_objects_server_internal.mdx +++ b/api_docs/kbn_core_saved_objects_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-server-internal title: "@kbn/core-saved-objects-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-server-internal plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-server-internal'] --- import kbnCoreSavedObjectsServerInternalObj from './kbn_core_saved_objects_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_server_mocks.mdx b/api_docs/kbn_core_saved_objects_server_mocks.mdx index 453556cdc0b08..11ddc84b5f051 100644 --- a/api_docs/kbn_core_saved_objects_server_mocks.mdx +++ b/api_docs/kbn_core_saved_objects_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-server-mocks title: "@kbn/core-saved-objects-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-server-mocks plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-server-mocks'] --- import kbnCoreSavedObjectsServerMocksObj from './kbn_core_saved_objects_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_utils_server.mdx b/api_docs/kbn_core_saved_objects_utils_server.mdx index 138da81a3ea8a..d782be982c233 100644 --- a/api_docs/kbn_core_saved_objects_utils_server.mdx +++ b/api_docs/kbn_core_saved_objects_utils_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-utils-server title: "@kbn/core-saved-objects-utils-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-utils-server plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-utils-server'] --- import kbnCoreSavedObjectsUtilsServerObj from './kbn_core_saved_objects_utils_server.devdocs.json'; diff --git a/api_docs/kbn_core_status_common.mdx b/api_docs/kbn_core_status_common.mdx index eb941453b3e27..9dadd3bf34fe7 100644 --- a/api_docs/kbn_core_status_common.mdx +++ b/api_docs/kbn_core_status_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-status-common title: "@kbn/core-status-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-status-common plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-status-common'] --- import kbnCoreStatusCommonObj from './kbn_core_status_common.devdocs.json'; diff --git a/api_docs/kbn_core_status_common_internal.mdx b/api_docs/kbn_core_status_common_internal.mdx index 90ddc8524384b..2b3b484a8b7d2 100644 --- a/api_docs/kbn_core_status_common_internal.mdx +++ b/api_docs/kbn_core_status_common_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-status-common-internal title: "@kbn/core-status-common-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-status-common-internal plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-status-common-internal'] --- import kbnCoreStatusCommonInternalObj from './kbn_core_status_common_internal.devdocs.json'; diff --git a/api_docs/kbn_core_status_server.mdx b/api_docs/kbn_core_status_server.mdx index 1f5e305a93c32..e16f13f57b9d4 100644 --- a/api_docs/kbn_core_status_server.mdx +++ b/api_docs/kbn_core_status_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-status-server title: "@kbn/core-status-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-status-server plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-status-server'] --- import kbnCoreStatusServerObj from './kbn_core_status_server.devdocs.json'; diff --git a/api_docs/kbn_core_status_server_internal.mdx b/api_docs/kbn_core_status_server_internal.mdx index 30f59674c2d4e..cecd5ffd6443a 100644 --- a/api_docs/kbn_core_status_server_internal.mdx +++ b/api_docs/kbn_core_status_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-status-server-internal title: "@kbn/core-status-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-status-server-internal plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-status-server-internal'] --- import kbnCoreStatusServerInternalObj from './kbn_core_status_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_status_server_mocks.mdx b/api_docs/kbn_core_status_server_mocks.mdx index 752a9eb722e04..1804d2c2db5f3 100644 --- a/api_docs/kbn_core_status_server_mocks.mdx +++ b/api_docs/kbn_core_status_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-status-server-mocks title: "@kbn/core-status-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-status-server-mocks plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-status-server-mocks'] --- import kbnCoreStatusServerMocksObj from './kbn_core_status_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_test_helpers_deprecations_getters.mdx b/api_docs/kbn_core_test_helpers_deprecations_getters.mdx index 8f26134925875..c1d05b0679328 100644 --- a/api_docs/kbn_core_test_helpers_deprecations_getters.mdx +++ b/api_docs/kbn_core_test_helpers_deprecations_getters.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-test-helpers-deprecations-getters title: "@kbn/core-test-helpers-deprecations-getters" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-test-helpers-deprecations-getters plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-test-helpers-deprecations-getters'] --- import kbnCoreTestHelpersDeprecationsGettersObj from './kbn_core_test_helpers_deprecations_getters.devdocs.json'; 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 8130d538b170f..6b19111e63836 100644 --- a/api_docs/kbn_core_test_helpers_http_setup_browser.mdx +++ b/api_docs/kbn_core_test_helpers_http_setup_browser.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-test-helpers-http-setup-browser plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-test-helpers-http-setup-browser'] --- import kbnCoreTestHelpersHttpSetupBrowserObj from './kbn_core_test_helpers_http_setup_browser.devdocs.json'; diff --git a/api_docs/kbn_core_test_helpers_so_type_serializer.mdx b/api_docs/kbn_core_test_helpers_so_type_serializer.mdx index 42a99f22ecb81..1b61b642fe379 100644 --- a/api_docs/kbn_core_test_helpers_so_type_serializer.mdx +++ b/api_docs/kbn_core_test_helpers_so_type_serializer.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-test-helpers-so-type-serializer title: "@kbn/core-test-helpers-so-type-serializer" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-test-helpers-so-type-serializer plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-test-helpers-so-type-serializer'] --- import kbnCoreTestHelpersSoTypeSerializerObj from './kbn_core_test_helpers_so_type_serializer.devdocs.json'; diff --git a/api_docs/kbn_core_test_helpers_test_utils.mdx b/api_docs/kbn_core_test_helpers_test_utils.mdx index de3e6484e592e..71be94eaed54c 100644 --- a/api_docs/kbn_core_test_helpers_test_utils.mdx +++ b/api_docs/kbn_core_test_helpers_test_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-test-helpers-test-utils title: "@kbn/core-test-helpers-test-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-test-helpers-test-utils plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-test-helpers-test-utils'] --- import kbnCoreTestHelpersTestUtilsObj from './kbn_core_test_helpers_test_utils.devdocs.json'; diff --git a/api_docs/kbn_core_theme_browser.mdx b/api_docs/kbn_core_theme_browser.mdx index 07c304363bf4a..c71c27dd16cb7 100644 --- a/api_docs/kbn_core_theme_browser.mdx +++ b/api_docs/kbn_core_theme_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-theme-browser title: "@kbn/core-theme-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-theme-browser plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-theme-browser'] --- import kbnCoreThemeBrowserObj from './kbn_core_theme_browser.devdocs.json'; diff --git a/api_docs/kbn_core_theme_browser_internal.mdx b/api_docs/kbn_core_theme_browser_internal.mdx index 5014a3189457d..7636eaa0c15bd 100644 --- a/api_docs/kbn_core_theme_browser_internal.mdx +++ b/api_docs/kbn_core_theme_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-theme-browser-internal title: "@kbn/core-theme-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-theme-browser-internal plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-theme-browser-internal'] --- import kbnCoreThemeBrowserInternalObj from './kbn_core_theme_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_theme_browser_mocks.mdx b/api_docs/kbn_core_theme_browser_mocks.mdx index 63538b15956cd..505d24a360ec7 100644 --- a/api_docs/kbn_core_theme_browser_mocks.mdx +++ b/api_docs/kbn_core_theme_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-theme-browser-mocks title: "@kbn/core-theme-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-theme-browser-mocks plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-theme-browser-mocks'] --- import kbnCoreThemeBrowserMocksObj from './kbn_core_theme_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_ui_settings_browser.mdx b/api_docs/kbn_core_ui_settings_browser.mdx index ebbaf17cca3b3..dcf2192d516b3 100644 --- a/api_docs/kbn_core_ui_settings_browser.mdx +++ b/api_docs/kbn_core_ui_settings_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-browser title: "@kbn/core-ui-settings-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-ui-settings-browser plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-ui-settings-browser'] --- import kbnCoreUiSettingsBrowserObj from './kbn_core_ui_settings_browser.devdocs.json'; diff --git a/api_docs/kbn_core_ui_settings_browser_internal.mdx b/api_docs/kbn_core_ui_settings_browser_internal.mdx index a41ffc05a6aa6..bd08ab4d55c5e 100644 --- a/api_docs/kbn_core_ui_settings_browser_internal.mdx +++ b/api_docs/kbn_core_ui_settings_browser_internal.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-ui-settings-browser-internal plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-ui-settings-browser-internal'] --- import kbnCoreUiSettingsBrowserInternalObj from './kbn_core_ui_settings_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_ui_settings_browser_mocks.mdx b/api_docs/kbn_core_ui_settings_browser_mocks.mdx index 91ef221394eb5..39d526aec8efd 100644 --- a/api_docs/kbn_core_ui_settings_browser_mocks.mdx +++ b/api_docs/kbn_core_ui_settings_browser_mocks.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-ui-settings-browser-mocks plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-ui-settings-browser-mocks'] --- import kbnCoreUiSettingsBrowserMocksObj from './kbn_core_ui_settings_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_ui_settings_common.mdx b/api_docs/kbn_core_ui_settings_common.mdx index 0c94871cf9714..24b118e89715d 100644 --- a/api_docs/kbn_core_ui_settings_common.mdx +++ b/api_docs/kbn_core_ui_settings_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-common title: "@kbn/core-ui-settings-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-ui-settings-common plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-ui-settings-common'] --- import kbnCoreUiSettingsCommonObj from './kbn_core_ui_settings_common.devdocs.json'; diff --git a/api_docs/kbn_core_ui_settings_server.mdx b/api_docs/kbn_core_ui_settings_server.mdx index 7789104bf8901..3d3208b8b186e 100644 --- a/api_docs/kbn_core_ui_settings_server.mdx +++ b/api_docs/kbn_core_ui_settings_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-server title: "@kbn/core-ui-settings-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-ui-settings-server plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-ui-settings-server'] --- import kbnCoreUiSettingsServerObj from './kbn_core_ui_settings_server.devdocs.json'; diff --git a/api_docs/kbn_core_ui_settings_server_internal.mdx b/api_docs/kbn_core_ui_settings_server_internal.mdx index 3cd31d3913d75..3898b4e1bcad1 100644 --- a/api_docs/kbn_core_ui_settings_server_internal.mdx +++ b/api_docs/kbn_core_ui_settings_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-server-internal title: "@kbn/core-ui-settings-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-ui-settings-server-internal plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-ui-settings-server-internal'] --- import kbnCoreUiSettingsServerInternalObj from './kbn_core_ui_settings_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_ui_settings_server_mocks.mdx b/api_docs/kbn_core_ui_settings_server_mocks.mdx index 166dc7afd32c5..7d21b5ee5825d 100644 --- a/api_docs/kbn_core_ui_settings_server_mocks.mdx +++ b/api_docs/kbn_core_ui_settings_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-server-mocks title: "@kbn/core-ui-settings-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-ui-settings-server-mocks plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-ui-settings-server-mocks'] --- import kbnCoreUiSettingsServerMocksObj from './kbn_core_ui_settings_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_usage_data_server.mdx b/api_docs/kbn_core_usage_data_server.mdx index 7f86d85118f63..fb508f103dbb9 100644 --- a/api_docs/kbn_core_usage_data_server.mdx +++ b/api_docs/kbn_core_usage_data_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-usage-data-server title: "@kbn/core-usage-data-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-usage-data-server plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-usage-data-server'] --- import kbnCoreUsageDataServerObj from './kbn_core_usage_data_server.devdocs.json'; diff --git a/api_docs/kbn_core_usage_data_server_internal.mdx b/api_docs/kbn_core_usage_data_server_internal.mdx index 2c1293f89904f..55613cda4282e 100644 --- a/api_docs/kbn_core_usage_data_server_internal.mdx +++ b/api_docs/kbn_core_usage_data_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-usage-data-server-internal title: "@kbn/core-usage-data-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-usage-data-server-internal plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-usage-data-server-internal'] --- import kbnCoreUsageDataServerInternalObj from './kbn_core_usage_data_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_usage_data_server_mocks.mdx b/api_docs/kbn_core_usage_data_server_mocks.mdx index 14855501567ef..581eeafa786df 100644 --- a/api_docs/kbn_core_usage_data_server_mocks.mdx +++ b/api_docs/kbn_core_usage_data_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-usage-data-server-mocks title: "@kbn/core-usage-data-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-usage-data-server-mocks plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-usage-data-server-mocks'] --- import kbnCoreUsageDataServerMocksObj from './kbn_core_usage_data_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_crypto.mdx b/api_docs/kbn_crypto.mdx index 74ed745fb1786..2a24782a409a9 100644 --- a/api_docs/kbn_crypto.mdx +++ b/api_docs/kbn_crypto.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-crypto title: "@kbn/crypto" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/crypto plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/crypto'] --- import kbnCryptoObj from './kbn_crypto.devdocs.json'; diff --git a/api_docs/kbn_crypto_browser.mdx b/api_docs/kbn_crypto_browser.mdx index 7326017b86641..6f2fa809f289a 100644 --- a/api_docs/kbn_crypto_browser.mdx +++ b/api_docs/kbn_crypto_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-crypto-browser title: "@kbn/crypto-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/crypto-browser plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/crypto-browser'] --- import kbnCryptoBrowserObj from './kbn_crypto_browser.devdocs.json'; diff --git a/api_docs/kbn_datemath.mdx b/api_docs/kbn_datemath.mdx index 1ebef891c7412..7d7a202ed9ee7 100644 --- a/api_docs/kbn_datemath.mdx +++ b/api_docs/kbn_datemath.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-datemath title: "@kbn/datemath" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/datemath plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/datemath'] --- import kbnDatemathObj from './kbn_datemath.devdocs.json'; diff --git a/api_docs/kbn_dev_cli_errors.mdx b/api_docs/kbn_dev_cli_errors.mdx index d294818d63da2..054d0cd1893e5 100644 --- a/api_docs/kbn_dev_cli_errors.mdx +++ b/api_docs/kbn_dev_cli_errors.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-dev-cli-errors title: "@kbn/dev-cli-errors" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/dev-cli-errors plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/dev-cli-errors'] --- import kbnDevCliErrorsObj from './kbn_dev_cli_errors.devdocs.json'; diff --git a/api_docs/kbn_dev_cli_runner.mdx b/api_docs/kbn_dev_cli_runner.mdx index 96f757e016528..87e66b7670250 100644 --- a/api_docs/kbn_dev_cli_runner.mdx +++ b/api_docs/kbn_dev_cli_runner.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-dev-cli-runner title: "@kbn/dev-cli-runner" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/dev-cli-runner plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/dev-cli-runner'] --- import kbnDevCliRunnerObj from './kbn_dev_cli_runner.devdocs.json'; diff --git a/api_docs/kbn_dev_proc_runner.mdx b/api_docs/kbn_dev_proc_runner.mdx index edf7cf62fbd9c..d44b4a523ac27 100644 --- a/api_docs/kbn_dev_proc_runner.mdx +++ b/api_docs/kbn_dev_proc_runner.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-dev-proc-runner title: "@kbn/dev-proc-runner" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/dev-proc-runner plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/dev-proc-runner'] --- import kbnDevProcRunnerObj from './kbn_dev_proc_runner.devdocs.json'; diff --git a/api_docs/kbn_dev_utils.mdx b/api_docs/kbn_dev_utils.mdx index 015c0300396c5..72a3da971debc 100644 --- a/api_docs/kbn_dev_utils.mdx +++ b/api_docs/kbn_dev_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-dev-utils title: "@kbn/dev-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/dev-utils plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/dev-utils'] --- import kbnDevUtilsObj from './kbn_dev_utils.devdocs.json'; diff --git a/api_docs/kbn_doc_links.mdx b/api_docs/kbn_doc_links.mdx index 3e8b812f6d1c2..c8a70540904ca 100644 --- a/api_docs/kbn_doc_links.mdx +++ b/api_docs/kbn_doc_links.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-doc-links title: "@kbn/doc-links" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/doc-links plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/doc-links'] --- import kbnDocLinksObj from './kbn_doc_links.devdocs.json'; diff --git a/api_docs/kbn_docs_utils.mdx b/api_docs/kbn_docs_utils.mdx index 92d52351507d5..df81aac36cbf2 100644 --- a/api_docs/kbn_docs_utils.mdx +++ b/api_docs/kbn_docs_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-docs-utils title: "@kbn/docs-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/docs-utils plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/docs-utils'] --- import kbnDocsUtilsObj from './kbn_docs_utils.devdocs.json'; diff --git a/api_docs/kbn_ebt_tools.mdx b/api_docs/kbn_ebt_tools.mdx index 9dac3a235d214..aa835a454c588 100644 --- a/api_docs/kbn_ebt_tools.mdx +++ b/api_docs/kbn_ebt_tools.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ebt-tools title: "@kbn/ebt-tools" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ebt-tools plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ebt-tools'] --- import kbnEbtToolsObj from './kbn_ebt_tools.devdocs.json'; diff --git a/api_docs/kbn_es.mdx b/api_docs/kbn_es.mdx index 6b832f3cad144..b9be0c772957a 100644 --- a/api_docs/kbn_es.mdx +++ b/api_docs/kbn_es.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-es title: "@kbn/es" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/es plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/es'] --- import kbnEsObj from './kbn_es.devdocs.json'; diff --git a/api_docs/kbn_es_archiver.mdx b/api_docs/kbn_es_archiver.mdx index 35069638a467b..2ca3d71c1522b 100644 --- a/api_docs/kbn_es_archiver.mdx +++ b/api_docs/kbn_es_archiver.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-es-archiver title: "@kbn/es-archiver" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/es-archiver plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/es-archiver'] --- import kbnEsArchiverObj from './kbn_es_archiver.devdocs.json'; diff --git a/api_docs/kbn_es_errors.mdx b/api_docs/kbn_es_errors.mdx index b129784d2a228..225851d1a685f 100644 --- a/api_docs/kbn_es_errors.mdx +++ b/api_docs/kbn_es_errors.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-es-errors title: "@kbn/es-errors" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/es-errors plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/es-errors'] --- import kbnEsErrorsObj from './kbn_es_errors.devdocs.json'; diff --git a/api_docs/kbn_es_query.mdx b/api_docs/kbn_es_query.mdx index 602c2a3da10cb..8aca076c7cc71 100644 --- a/api_docs/kbn_es_query.mdx +++ b/api_docs/kbn_es_query.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-es-query title: "@kbn/es-query" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/es-query plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/es-query'] --- import kbnEsQueryObj from './kbn_es_query.devdocs.json'; diff --git a/api_docs/kbn_es_types.mdx b/api_docs/kbn_es_types.mdx index b7a77577a59c5..57f491b1e262b 100644 --- a/api_docs/kbn_es_types.mdx +++ b/api_docs/kbn_es_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-es-types title: "@kbn/es-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/es-types plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/es-types'] --- import kbnEsTypesObj from './kbn_es_types.devdocs.json'; diff --git a/api_docs/kbn_eslint_plugin_imports.mdx b/api_docs/kbn_eslint_plugin_imports.mdx index dfc2824c77895..9ca474744b19e 100644 --- a/api_docs/kbn_eslint_plugin_imports.mdx +++ b/api_docs/kbn_eslint_plugin_imports.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-eslint-plugin-imports title: "@kbn/eslint-plugin-imports" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/eslint-plugin-imports plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/eslint-plugin-imports'] --- import kbnEslintPluginImportsObj from './kbn_eslint_plugin_imports.devdocs.json'; diff --git a/api_docs/kbn_field_types.mdx b/api_docs/kbn_field_types.mdx index c1fa40daa51db..c4aa3995ee9c5 100644 --- a/api_docs/kbn_field_types.mdx +++ b/api_docs/kbn_field_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-field-types title: "@kbn/field-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/field-types plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/field-types'] --- import kbnFieldTypesObj from './kbn_field_types.devdocs.json'; diff --git a/api_docs/kbn_find_used_node_modules.mdx b/api_docs/kbn_find_used_node_modules.mdx index d931263ebeda0..4c5a3add24a73 100644 --- a/api_docs/kbn_find_used_node_modules.mdx +++ b/api_docs/kbn_find_used_node_modules.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-find-used-node-modules title: "@kbn/find-used-node-modules" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/find-used-node-modules plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/find-used-node-modules'] --- import kbnFindUsedNodeModulesObj from './kbn_find_used_node_modules.devdocs.json'; diff --git a/api_docs/kbn_ftr_common_functional_services.mdx b/api_docs/kbn_ftr_common_functional_services.mdx index ab1f62baef810..59b0eef391229 100644 --- a/api_docs/kbn_ftr_common_functional_services.mdx +++ b/api_docs/kbn_ftr_common_functional_services.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ftr-common-functional-services title: "@kbn/ftr-common-functional-services" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ftr-common-functional-services plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ftr-common-functional-services'] --- import kbnFtrCommonFunctionalServicesObj from './kbn_ftr_common_functional_services.devdocs.json'; diff --git a/api_docs/kbn_generate.mdx b/api_docs/kbn_generate.mdx index d75da0f360379..4855bf64038c0 100644 --- a/api_docs/kbn_generate.mdx +++ b/api_docs/kbn_generate.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-generate title: "@kbn/generate" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/generate plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/generate'] --- import kbnGenerateObj from './kbn_generate.devdocs.json'; diff --git a/api_docs/kbn_get_repo_files.mdx b/api_docs/kbn_get_repo_files.mdx index f93e19ddb1cd4..0189e35b00c98 100644 --- a/api_docs/kbn_get_repo_files.mdx +++ b/api_docs/kbn_get_repo_files.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-get-repo-files title: "@kbn/get-repo-files" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/get-repo-files plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/get-repo-files'] --- import kbnGetRepoFilesObj from './kbn_get_repo_files.devdocs.json'; diff --git a/api_docs/kbn_guided_onboarding.mdx b/api_docs/kbn_guided_onboarding.mdx index 01c2575ed0ca5..20bf6cce487ed 100644 --- a/api_docs/kbn_guided_onboarding.mdx +++ b/api_docs/kbn_guided_onboarding.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-guided-onboarding title: "@kbn/guided-onboarding" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/guided-onboarding plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/guided-onboarding'] --- import kbnGuidedOnboardingObj from './kbn_guided_onboarding.devdocs.json'; diff --git a/api_docs/kbn_handlebars.mdx b/api_docs/kbn_handlebars.mdx index 522ebca810ccd..af2af449c5ca3 100644 --- a/api_docs/kbn_handlebars.mdx +++ b/api_docs/kbn_handlebars.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-handlebars title: "@kbn/handlebars" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/handlebars plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/handlebars'] --- import kbnHandlebarsObj from './kbn_handlebars.devdocs.json'; diff --git a/api_docs/kbn_hapi_mocks.mdx b/api_docs/kbn_hapi_mocks.mdx index c0d07b895cdd7..c292116c8980c 100644 --- a/api_docs/kbn_hapi_mocks.mdx +++ b/api_docs/kbn_hapi_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-hapi-mocks title: "@kbn/hapi-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/hapi-mocks plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/hapi-mocks'] --- import kbnHapiMocksObj from './kbn_hapi_mocks.devdocs.json'; diff --git a/api_docs/kbn_home_sample_data_card.mdx b/api_docs/kbn_home_sample_data_card.mdx index d813a6a61534d..3079cc4d1b02f 100644 --- a/api_docs/kbn_home_sample_data_card.mdx +++ b/api_docs/kbn_home_sample_data_card.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-home-sample-data-card title: "@kbn/home-sample-data-card" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/home-sample-data-card plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/home-sample-data-card'] --- import kbnHomeSampleDataCardObj from './kbn_home_sample_data_card.devdocs.json'; diff --git a/api_docs/kbn_home_sample_data_tab.mdx b/api_docs/kbn_home_sample_data_tab.mdx index 3e4aaee15f2ab..556f7faae1bfc 100644 --- a/api_docs/kbn_home_sample_data_tab.mdx +++ b/api_docs/kbn_home_sample_data_tab.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-home-sample-data-tab title: "@kbn/home-sample-data-tab" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/home-sample-data-tab plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/home-sample-data-tab'] --- import kbnHomeSampleDataTabObj from './kbn_home_sample_data_tab.devdocs.json'; diff --git a/api_docs/kbn_i18n.mdx b/api_docs/kbn_i18n.mdx index fed1416764cc2..5efc0b9f49dfb 100644 --- a/api_docs/kbn_i18n.mdx +++ b/api_docs/kbn_i18n.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-i18n title: "@kbn/i18n" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/i18n plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/i18n'] --- import kbnI18nObj from './kbn_i18n.devdocs.json'; diff --git a/api_docs/kbn_i18n_react.mdx b/api_docs/kbn_i18n_react.mdx index b8a0df8be2846..df3d91108ea47 100644 --- a/api_docs/kbn_i18n_react.mdx +++ b/api_docs/kbn_i18n_react.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-i18n-react title: "@kbn/i18n-react" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/i18n-react plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/i18n-react'] --- import kbnI18nReactObj from './kbn_i18n_react.devdocs.json'; diff --git a/api_docs/kbn_import_resolver.mdx b/api_docs/kbn_import_resolver.mdx index 395b61f295054..9fa5f9e96f3ec 100644 --- a/api_docs/kbn_import_resolver.mdx +++ b/api_docs/kbn_import_resolver.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-import-resolver title: "@kbn/import-resolver" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/import-resolver plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/import-resolver'] --- import kbnImportResolverObj from './kbn_import_resolver.devdocs.json'; diff --git a/api_docs/kbn_interpreter.mdx b/api_docs/kbn_interpreter.mdx index 528eb24395b7e..6e1b4d9e21d27 100644 --- a/api_docs/kbn_interpreter.mdx +++ b/api_docs/kbn_interpreter.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-interpreter title: "@kbn/interpreter" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/interpreter plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/interpreter'] --- import kbnInterpreterObj from './kbn_interpreter.devdocs.json'; diff --git a/api_docs/kbn_io_ts_utils.mdx b/api_docs/kbn_io_ts_utils.mdx index bbe330bf67023..e7c1baa7a6778 100644 --- a/api_docs/kbn_io_ts_utils.mdx +++ b/api_docs/kbn_io_ts_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-io-ts-utils title: "@kbn/io-ts-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/io-ts-utils plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/io-ts-utils'] --- import kbnIoTsUtilsObj from './kbn_io_ts_utils.devdocs.json'; diff --git a/api_docs/kbn_jest_serializers.mdx b/api_docs/kbn_jest_serializers.mdx index ecbbd4b511168..c2202124b4ec8 100644 --- a/api_docs/kbn_jest_serializers.mdx +++ b/api_docs/kbn_jest_serializers.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-jest-serializers title: "@kbn/jest-serializers" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/jest-serializers plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/jest-serializers'] --- import kbnJestSerializersObj from './kbn_jest_serializers.devdocs.json'; diff --git a/api_docs/kbn_journeys.mdx b/api_docs/kbn_journeys.mdx index 90680958f0d76..5742233a5c2f7 100644 --- a/api_docs/kbn_journeys.mdx +++ b/api_docs/kbn_journeys.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-journeys title: "@kbn/journeys" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/journeys plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/journeys'] --- import kbnJourneysObj from './kbn_journeys.devdocs.json'; diff --git a/api_docs/kbn_kibana_manifest_schema.mdx b/api_docs/kbn_kibana_manifest_schema.mdx index 52d63fedc432e..dd3281066737b 100644 --- a/api_docs/kbn_kibana_manifest_schema.mdx +++ b/api_docs/kbn_kibana_manifest_schema.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-kibana-manifest-schema title: "@kbn/kibana-manifest-schema" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/kibana-manifest-schema plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/kibana-manifest-schema'] --- import kbnKibanaManifestSchemaObj from './kbn_kibana_manifest_schema.devdocs.json'; diff --git a/api_docs/kbn_language_documentation_popover.mdx b/api_docs/kbn_language_documentation_popover.mdx index 1b1f80830491c..8ad6f5d13a5d7 100644 --- a/api_docs/kbn_language_documentation_popover.mdx +++ b/api_docs/kbn_language_documentation_popover.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-language-documentation-popover title: "@kbn/language-documentation-popover" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/language-documentation-popover plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/language-documentation-popover'] --- import kbnLanguageDocumentationPopoverObj from './kbn_language_documentation_popover.devdocs.json'; diff --git a/api_docs/kbn_logging.mdx b/api_docs/kbn_logging.mdx index 305a01bf3fb96..d365849331ce6 100644 --- a/api_docs/kbn_logging.mdx +++ b/api_docs/kbn_logging.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-logging title: "@kbn/logging" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/logging plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/logging'] --- import kbnLoggingObj from './kbn_logging.devdocs.json'; diff --git a/api_docs/kbn_logging_mocks.mdx b/api_docs/kbn_logging_mocks.mdx index 2e15a1dc06015..c1a1b42b3ca93 100644 --- a/api_docs/kbn_logging_mocks.mdx +++ b/api_docs/kbn_logging_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-logging-mocks title: "@kbn/logging-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/logging-mocks plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/logging-mocks'] --- import kbnLoggingMocksObj from './kbn_logging_mocks.devdocs.json'; diff --git a/api_docs/kbn_managed_vscode_config.mdx b/api_docs/kbn_managed_vscode_config.mdx index c4cd60d5f24d2..79a22811c965b 100644 --- a/api_docs/kbn_managed_vscode_config.mdx +++ b/api_docs/kbn_managed_vscode_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-managed-vscode-config title: "@kbn/managed-vscode-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/managed-vscode-config plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/managed-vscode-config'] --- import kbnManagedVscodeConfigObj from './kbn_managed_vscode_config.devdocs.json'; diff --git a/api_docs/kbn_mapbox_gl.mdx b/api_docs/kbn_mapbox_gl.mdx index 1d646cbc2d084..f11560b700495 100644 --- a/api_docs/kbn_mapbox_gl.mdx +++ b/api_docs/kbn_mapbox_gl.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-mapbox-gl title: "@kbn/mapbox-gl" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/mapbox-gl plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/mapbox-gl'] --- import kbnMapboxGlObj from './kbn_mapbox_gl.devdocs.json'; diff --git a/api_docs/kbn_ml_agg_utils.mdx b/api_docs/kbn_ml_agg_utils.mdx index 6c1af00693955..85472fd2d6ff3 100644 --- a/api_docs/kbn_ml_agg_utils.mdx +++ b/api_docs/kbn_ml_agg_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-agg-utils title: "@kbn/ml-agg-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-agg-utils plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-agg-utils'] --- import kbnMlAggUtilsObj from './kbn_ml_agg_utils.devdocs.json'; diff --git a/api_docs/kbn_ml_is_populated_object.mdx b/api_docs/kbn_ml_is_populated_object.mdx index 8f57502e65602..08bfcb78be9a2 100644 --- a/api_docs/kbn_ml_is_populated_object.mdx +++ b/api_docs/kbn_ml_is_populated_object.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-is-populated-object title: "@kbn/ml-is-populated-object" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-is-populated-object plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-is-populated-object'] --- import kbnMlIsPopulatedObjectObj from './kbn_ml_is_populated_object.devdocs.json'; diff --git a/api_docs/kbn_ml_string_hash.mdx b/api_docs/kbn_ml_string_hash.mdx index a8af28531723b..e632c7a8d14e9 100644 --- a/api_docs/kbn_ml_string_hash.mdx +++ b/api_docs/kbn_ml_string_hash.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-string-hash title: "@kbn/ml-string-hash" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-string-hash plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-string-hash'] --- import kbnMlStringHashObj from './kbn_ml_string_hash.devdocs.json'; diff --git a/api_docs/kbn_monaco.mdx b/api_docs/kbn_monaco.mdx index 284f0417d5def..b04220cda88d0 100644 --- a/api_docs/kbn_monaco.mdx +++ b/api_docs/kbn_monaco.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-monaco title: "@kbn/monaco" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/monaco plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/monaco'] --- import kbnMonacoObj from './kbn_monaco.devdocs.json'; diff --git a/api_docs/kbn_optimizer.mdx b/api_docs/kbn_optimizer.mdx index f4404587e8fde..807d320b4c31a 100644 --- a/api_docs/kbn_optimizer.mdx +++ b/api_docs/kbn_optimizer.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-optimizer title: "@kbn/optimizer" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/optimizer plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/optimizer'] --- import kbnOptimizerObj from './kbn_optimizer.devdocs.json'; diff --git a/api_docs/kbn_optimizer_webpack_helpers.mdx b/api_docs/kbn_optimizer_webpack_helpers.mdx index a1c4fc00729d0..c6e3c1fd3c458 100644 --- a/api_docs/kbn_optimizer_webpack_helpers.mdx +++ b/api_docs/kbn_optimizer_webpack_helpers.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-optimizer-webpack-helpers title: "@kbn/optimizer-webpack-helpers" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/optimizer-webpack-helpers plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/optimizer-webpack-helpers'] --- import kbnOptimizerWebpackHelpersObj from './kbn_optimizer_webpack_helpers.devdocs.json'; diff --git a/api_docs/kbn_osquery_io_ts_types.mdx b/api_docs/kbn_osquery_io_ts_types.mdx index 98135a5e36ac7..80d1b848cd62b 100644 --- a/api_docs/kbn_osquery_io_ts_types.mdx +++ b/api_docs/kbn_osquery_io_ts_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-osquery-io-ts-types title: "@kbn/osquery-io-ts-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/osquery-io-ts-types plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/osquery-io-ts-types'] --- import kbnOsqueryIoTsTypesObj from './kbn_osquery_io_ts_types.devdocs.json'; diff --git a/api_docs/kbn_performance_testing_dataset_extractor.mdx b/api_docs/kbn_performance_testing_dataset_extractor.mdx index d4d3e23de7bb4..c93e5b78126d1 100644 --- a/api_docs/kbn_performance_testing_dataset_extractor.mdx +++ b/api_docs/kbn_performance_testing_dataset_extractor.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-performance-testing-dataset-extractor title: "@kbn/performance-testing-dataset-extractor" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/performance-testing-dataset-extractor plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/performance-testing-dataset-extractor'] --- import kbnPerformanceTestingDatasetExtractorObj from './kbn_performance_testing_dataset_extractor.devdocs.json'; diff --git a/api_docs/kbn_plugin_generator.mdx b/api_docs/kbn_plugin_generator.mdx index 0273c767cc649..abd5c8a342ad0 100644 --- a/api_docs/kbn_plugin_generator.mdx +++ b/api_docs/kbn_plugin_generator.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-plugin-generator title: "@kbn/plugin-generator" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/plugin-generator plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/plugin-generator'] --- import kbnPluginGeneratorObj from './kbn_plugin_generator.devdocs.json'; diff --git a/api_docs/kbn_plugin_helpers.mdx b/api_docs/kbn_plugin_helpers.mdx index 8245837d279de..1ce77550f57b5 100644 --- a/api_docs/kbn_plugin_helpers.mdx +++ b/api_docs/kbn_plugin_helpers.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-plugin-helpers title: "@kbn/plugin-helpers" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/plugin-helpers plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/plugin-helpers'] --- import kbnPluginHelpersObj from './kbn_plugin_helpers.devdocs.json'; diff --git a/api_docs/kbn_react_field.mdx b/api_docs/kbn_react_field.mdx index fb170a72d59f8..fbf0edd59f642 100644 --- a/api_docs/kbn_react_field.mdx +++ b/api_docs/kbn_react_field.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-react-field title: "@kbn/react-field" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/react-field plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/react-field'] --- import kbnReactFieldObj from './kbn_react_field.devdocs.json'; diff --git a/api_docs/kbn_repo_source_classifier.mdx b/api_docs/kbn_repo_source_classifier.mdx index 3a6588281565c..0887ca2b3941f 100644 --- a/api_docs/kbn_repo_source_classifier.mdx +++ b/api_docs/kbn_repo_source_classifier.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-repo-source-classifier title: "@kbn/repo-source-classifier" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/repo-source-classifier plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/repo-source-classifier'] --- import kbnRepoSourceClassifierObj from './kbn_repo_source_classifier.devdocs.json'; diff --git a/api_docs/kbn_rule_data_utils.mdx b/api_docs/kbn_rule_data_utils.mdx index 9e8ab87b36a94..19dc4f0e2e58b 100644 --- a/api_docs/kbn_rule_data_utils.mdx +++ b/api_docs/kbn_rule_data_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-rule-data-utils title: "@kbn/rule-data-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/rule-data-utils plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/rule-data-utils'] --- import kbnRuleDataUtilsObj from './kbn_rule_data_utils.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_autocomplete.mdx b/api_docs/kbn_securitysolution_autocomplete.mdx index 7fbe9f3d25f7b..abb8f62862f8a 100644 --- a/api_docs/kbn_securitysolution_autocomplete.mdx +++ b/api_docs/kbn_securitysolution_autocomplete.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-autocomplete title: "@kbn/securitysolution-autocomplete" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-autocomplete plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-autocomplete'] --- import kbnSecuritysolutionAutocompleteObj from './kbn_securitysolution_autocomplete.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_es_utils.mdx b/api_docs/kbn_securitysolution_es_utils.mdx index aa74b6983ff60..0011d1a398322 100644 --- a/api_docs/kbn_securitysolution_es_utils.mdx +++ b/api_docs/kbn_securitysolution_es_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-es-utils title: "@kbn/securitysolution-es-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-es-utils plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-es-utils'] --- import kbnSecuritysolutionEsUtilsObj from './kbn_securitysolution_es_utils.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_exception_list_components.mdx b/api_docs/kbn_securitysolution_exception_list_components.mdx index beb707b8ca796..e7db645b054db 100644 --- a/api_docs/kbn_securitysolution_exception_list_components.mdx +++ b/api_docs/kbn_securitysolution_exception_list_components.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-exception-list-components title: "@kbn/securitysolution-exception-list-components" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-exception-list-components plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-exception-list-components'] --- import kbnSecuritysolutionExceptionListComponentsObj from './kbn_securitysolution_exception_list_components.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_hook_utils.mdx b/api_docs/kbn_securitysolution_hook_utils.mdx index 4fe2c8b587cdc..6f37616cb12f8 100644 --- a/api_docs/kbn_securitysolution_hook_utils.mdx +++ b/api_docs/kbn_securitysolution_hook_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-hook-utils title: "@kbn/securitysolution-hook-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-hook-utils plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-hook-utils'] --- import kbnSecuritysolutionHookUtilsObj from './kbn_securitysolution_hook_utils.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_io_ts_alerting_types.mdx b/api_docs/kbn_securitysolution_io_ts_alerting_types.mdx index 5f6cabb35890e..c6454135296ab 100644 --- a/api_docs/kbn_securitysolution_io_ts_alerting_types.mdx +++ b/api_docs/kbn_securitysolution_io_ts_alerting_types.mdx @@ -8,7 +8,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 description: API docs for the @kbn/securitysolution-io-ts-alerting-types plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-io-ts-alerting-types'] --- import kbnSecuritysolutionIoTsAlertingTypesObj from './kbn_securitysolution_io_ts_alerting_types.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_io_ts_list_types.mdx b/api_docs/kbn_securitysolution_io_ts_list_types.mdx index 73f6e6232c301..eb40f771a402a 100644 --- a/api_docs/kbn_securitysolution_io_ts_list_types.mdx +++ b/api_docs/kbn_securitysolution_io_ts_list_types.mdx @@ -8,7 +8,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 description: API docs for the @kbn/securitysolution-io-ts-list-types plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-io-ts-list-types'] --- import kbnSecuritysolutionIoTsListTypesObj from './kbn_securitysolution_io_ts_list_types.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_io_ts_types.mdx b/api_docs/kbn_securitysolution_io_ts_types.mdx index 8957d0967be75..41f352ecc019b 100644 --- a/api_docs/kbn_securitysolution_io_ts_types.mdx +++ b/api_docs/kbn_securitysolution_io_ts_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-io-ts-types title: "@kbn/securitysolution-io-ts-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-io-ts-types plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-io-ts-types'] --- import kbnSecuritysolutionIoTsTypesObj from './kbn_securitysolution_io_ts_types.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_io_ts_utils.mdx b/api_docs/kbn_securitysolution_io_ts_utils.mdx index 45b6db3f0a4c1..b4e8841d6229a 100644 --- a/api_docs/kbn_securitysolution_io_ts_utils.mdx +++ b/api_docs/kbn_securitysolution_io_ts_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-io-ts-utils title: "@kbn/securitysolution-io-ts-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-io-ts-utils plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-io-ts-utils'] --- import kbnSecuritysolutionIoTsUtilsObj from './kbn_securitysolution_io_ts_utils.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_list_api.mdx b/api_docs/kbn_securitysolution_list_api.mdx index 15b88ca6fa5b1..c8ac08a5312b6 100644 --- a/api_docs/kbn_securitysolution_list_api.mdx +++ b/api_docs/kbn_securitysolution_list_api.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-list-api title: "@kbn/securitysolution-list-api" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-list-api plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-list-api'] --- import kbnSecuritysolutionListApiObj from './kbn_securitysolution_list_api.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_list_constants.mdx b/api_docs/kbn_securitysolution_list_constants.mdx index 313adb7c3e6a3..78f4d223e52ed 100644 --- a/api_docs/kbn_securitysolution_list_constants.mdx +++ b/api_docs/kbn_securitysolution_list_constants.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-list-constants title: "@kbn/securitysolution-list-constants" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-list-constants plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-list-constants'] --- import kbnSecuritysolutionListConstantsObj from './kbn_securitysolution_list_constants.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_list_hooks.mdx b/api_docs/kbn_securitysolution_list_hooks.mdx index 71239f13a8ae0..398018ca2c2a9 100644 --- a/api_docs/kbn_securitysolution_list_hooks.mdx +++ b/api_docs/kbn_securitysolution_list_hooks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-list-hooks title: "@kbn/securitysolution-list-hooks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-list-hooks plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-list-hooks'] --- import kbnSecuritysolutionListHooksObj from './kbn_securitysolution_list_hooks.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_list_utils.mdx b/api_docs/kbn_securitysolution_list_utils.mdx index 89fc516832f84..704701263bcbd 100644 --- a/api_docs/kbn_securitysolution_list_utils.mdx +++ b/api_docs/kbn_securitysolution_list_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-list-utils title: "@kbn/securitysolution-list-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-list-utils plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-list-utils'] --- import kbnSecuritysolutionListUtilsObj from './kbn_securitysolution_list_utils.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_rules.mdx b/api_docs/kbn_securitysolution_rules.mdx index c0541f1118f30..4031a72be4108 100644 --- a/api_docs/kbn_securitysolution_rules.mdx +++ b/api_docs/kbn_securitysolution_rules.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-rules title: "@kbn/securitysolution-rules" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-rules plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-rules'] --- import kbnSecuritysolutionRulesObj from './kbn_securitysolution_rules.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_t_grid.mdx b/api_docs/kbn_securitysolution_t_grid.mdx index 70d337fda4065..3577eddc680af 100644 --- a/api_docs/kbn_securitysolution_t_grid.mdx +++ b/api_docs/kbn_securitysolution_t_grid.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-t-grid title: "@kbn/securitysolution-t-grid" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-t-grid plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-t-grid'] --- import kbnSecuritysolutionTGridObj from './kbn_securitysolution_t_grid.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_utils.mdx b/api_docs/kbn_securitysolution_utils.mdx index 81a359efc3a8e..9439f599cad58 100644 --- a/api_docs/kbn_securitysolution_utils.mdx +++ b/api_docs/kbn_securitysolution_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-utils title: "@kbn/securitysolution-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-utils plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-utils'] --- import kbnSecuritysolutionUtilsObj from './kbn_securitysolution_utils.devdocs.json'; diff --git a/api_docs/kbn_server_http_tools.mdx b/api_docs/kbn_server_http_tools.mdx index ecd84760d1ea3..72a3c4189624c 100644 --- a/api_docs/kbn_server_http_tools.mdx +++ b/api_docs/kbn_server_http_tools.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-server-http-tools title: "@kbn/server-http-tools" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/server-http-tools plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/server-http-tools'] --- import kbnServerHttpToolsObj from './kbn_server_http_tools.devdocs.json'; diff --git a/api_docs/kbn_server_route_repository.mdx b/api_docs/kbn_server_route_repository.mdx index 6311bfa5e3683..b47c63e0ec126 100644 --- a/api_docs/kbn_server_route_repository.mdx +++ b/api_docs/kbn_server_route_repository.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-server-route-repository title: "@kbn/server-route-repository" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/server-route-repository plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/server-route-repository'] --- import kbnServerRouteRepositoryObj from './kbn_server_route_repository.devdocs.json'; diff --git a/api_docs/kbn_shared_svg.mdx b/api_docs/kbn_shared_svg.mdx index cf4dcd191e969..d334815787de5 100644 --- a/api_docs/kbn_shared_svg.mdx +++ b/api_docs/kbn_shared_svg.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-svg title: "@kbn/shared-svg" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-svg plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-svg'] --- import kbnSharedSvgObj from './kbn_shared_svg.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_avatar_solution.mdx b/api_docs/kbn_shared_ux_avatar_solution.mdx index af2a080c31cdd..7d17d7c9ceedf 100644 --- a/api_docs/kbn_shared_ux_avatar_solution.mdx +++ b/api_docs/kbn_shared_ux_avatar_solution.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-avatar-solution title: "@kbn/shared-ux-avatar-solution" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-avatar-solution plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-avatar-solution'] --- import kbnSharedUxAvatarSolutionObj from './kbn_shared_ux_avatar_solution.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_avatar_user_profile_components.mdx b/api_docs/kbn_shared_ux_avatar_user_profile_components.mdx index f57e78d04639a..9eaa321fac318 100644 --- a/api_docs/kbn_shared_ux_avatar_user_profile_components.mdx +++ b/api_docs/kbn_shared_ux_avatar_user_profile_components.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-avatar-user-profile-components title: "@kbn/shared-ux-avatar-user-profile-components" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-avatar-user-profile-components plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-avatar-user-profile-components'] --- import kbnSharedUxAvatarUserProfileComponentsObj from './kbn_shared_ux_avatar_user_profile_components.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_button_exit_full_screen.mdx b/api_docs/kbn_shared_ux_button_exit_full_screen.mdx index 22425c28b36f7..ca3c2eaa6447b 100644 --- a/api_docs/kbn_shared_ux_button_exit_full_screen.mdx +++ b/api_docs/kbn_shared_ux_button_exit_full_screen.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-button-exit-full-screen title: "@kbn/shared-ux-button-exit-full-screen" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-button-exit-full-screen plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-button-exit-full-screen'] --- import kbnSharedUxButtonExitFullScreenObj from './kbn_shared_ux_button_exit_full_screen.devdocs.json'; 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 de920ca7c7f0f..eae3ed3635efd 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 @@ -8,7 +8,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 description: API docs for the @kbn/shared-ux-button-exit-full-screen-mocks plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-button-exit-full-screen-mocks'] --- import kbnSharedUxButtonExitFullScreenMocksObj from './kbn_shared_ux_button_exit_full_screen_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_button_toolbar.mdx b/api_docs/kbn_shared_ux_button_toolbar.mdx index e006f29419e9c..0ae3e45e01a88 100644 --- a/api_docs/kbn_shared_ux_button_toolbar.mdx +++ b/api_docs/kbn_shared_ux_button_toolbar.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-button-toolbar title: "@kbn/shared-ux-button-toolbar" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-button-toolbar plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-button-toolbar'] --- import kbnSharedUxButtonToolbarObj from './kbn_shared_ux_button_toolbar.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_card_no_data.mdx b/api_docs/kbn_shared_ux_card_no_data.mdx index 8f535aa117bc5..1ef6e1b29137e 100644 --- a/api_docs/kbn_shared_ux_card_no_data.mdx +++ b/api_docs/kbn_shared_ux_card_no_data.mdx @@ -8,7 +8,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 description: API docs for the @kbn/shared-ux-card-no-data plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-card-no-data'] --- import kbnSharedUxCardNoDataObj from './kbn_shared_ux_card_no_data.devdocs.json'; 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 6344bbc15c6a8..cb739be5f0640 100644 --- a/api_docs/kbn_shared_ux_card_no_data_mocks.mdx +++ b/api_docs/kbn_shared_ux_card_no_data_mocks.mdx @@ -8,7 +8,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 description: API docs for the @kbn/shared-ux-card-no-data-mocks plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-card-no-data-mocks'] --- import kbnSharedUxCardNoDataMocksObj from './kbn_shared_ux_card_no_data_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_link_redirect_app.mdx b/api_docs/kbn_shared_ux_link_redirect_app.mdx index 99dfc4fa6c55e..53ff275ac3096 100644 --- a/api_docs/kbn_shared_ux_link_redirect_app.mdx +++ b/api_docs/kbn_shared_ux_link_redirect_app.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-link-redirect-app title: "@kbn/shared-ux-link-redirect-app" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-link-redirect-app plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-link-redirect-app'] --- import kbnSharedUxLinkRedirectAppObj from './kbn_shared_ux_link_redirect_app.devdocs.json'; 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 6020f2ecfd8dd..2d52f945a040c 100644 --- a/api_docs/kbn_shared_ux_link_redirect_app_mocks.mdx +++ b/api_docs/kbn_shared_ux_link_redirect_app_mocks.mdx @@ -8,7 +8,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 description: API docs for the @kbn/shared-ux-link-redirect-app-mocks plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-link-redirect-app-mocks'] --- import kbnSharedUxLinkRedirectAppMocksObj from './kbn_shared_ux_link_redirect_app_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_markdown.mdx b/api_docs/kbn_shared_ux_markdown.mdx index 35323a06e2c28..a3fae2640ae54 100644 --- a/api_docs/kbn_shared_ux_markdown.mdx +++ b/api_docs/kbn_shared_ux_markdown.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-markdown title: "@kbn/shared-ux-markdown" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-markdown plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-markdown'] --- import kbnSharedUxMarkdownObj from './kbn_shared_ux_markdown.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_markdown_mocks.mdx b/api_docs/kbn_shared_ux_markdown_mocks.mdx index 196b716668888..acf01a1ab1d49 100644 --- a/api_docs/kbn_shared_ux_markdown_mocks.mdx +++ b/api_docs/kbn_shared_ux_markdown_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-markdown-mocks title: "@kbn/shared-ux-markdown-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-markdown-mocks plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-markdown-mocks'] --- import kbnSharedUxMarkdownMocksObj from './kbn_shared_ux_markdown_mocks.devdocs.json'; 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 a8c6190346a9a..5fdbb41ce2c01 100644 --- a/api_docs/kbn_shared_ux_page_analytics_no_data.mdx +++ b/api_docs/kbn_shared_ux_page_analytics_no_data.mdx @@ -8,7 +8,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 description: API docs for the @kbn/shared-ux-page-analytics-no-data plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-analytics-no-data'] --- import kbnSharedUxPageAnalyticsNoDataObj from './kbn_shared_ux_page_analytics_no_data.devdocs.json'; 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 19fc529d662d1..53e9d865fac0f 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 @@ -8,7 +8,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 description: API docs for the @kbn/shared-ux-page-analytics-no-data-mocks plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-analytics-no-data-mocks'] --- import kbnSharedUxPageAnalyticsNoDataMocksObj from './kbn_shared_ux_page_analytics_no_data_mocks.devdocs.json'; 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 dc1fa9128dd3c..d9d98b425a7a6 100644 --- a/api_docs/kbn_shared_ux_page_kibana_no_data.mdx +++ b/api_docs/kbn_shared_ux_page_kibana_no_data.mdx @@ -8,7 +8,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 description: API docs for the @kbn/shared-ux-page-kibana-no-data plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-kibana-no-data'] --- import kbnSharedUxPageKibanaNoDataObj from './kbn_shared_ux_page_kibana_no_data.devdocs.json'; 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 d79277fbe4006..39d7ef5311298 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 @@ -8,7 +8,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 description: API docs for the @kbn/shared-ux-page-kibana-no-data-mocks plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-kibana-no-data-mocks'] --- import kbnSharedUxPageKibanaNoDataMocksObj from './kbn_shared_ux_page_kibana_no_data_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_kibana_template.mdx b/api_docs/kbn_shared_ux_page_kibana_template.mdx index 1807078d317d5..9f4c8f915dc94 100644 --- a/api_docs/kbn_shared_ux_page_kibana_template.mdx +++ b/api_docs/kbn_shared_ux_page_kibana_template.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-kibana-template title: "@kbn/shared-ux-page-kibana-template" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-kibana-template plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-kibana-template'] --- import kbnSharedUxPageKibanaTemplateObj from './kbn_shared_ux_page_kibana_template.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_kibana_template_mocks.mdx b/api_docs/kbn_shared_ux_page_kibana_template_mocks.mdx index 7dd1404024347..880eaaadbf320 100644 --- a/api_docs/kbn_shared_ux_page_kibana_template_mocks.mdx +++ b/api_docs/kbn_shared_ux_page_kibana_template_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-kibana-template-mocks title: "@kbn/shared-ux-page-kibana-template-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-kibana-template-mocks plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-kibana-template-mocks'] --- import kbnSharedUxPageKibanaTemplateMocksObj from './kbn_shared_ux_page_kibana_template_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_no_data.mdx b/api_docs/kbn_shared_ux_page_no_data.mdx index 6e6daf57b3090..3458dffe0a97c 100644 --- a/api_docs/kbn_shared_ux_page_no_data.mdx +++ b/api_docs/kbn_shared_ux_page_no_data.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-no-data title: "@kbn/shared-ux-page-no-data" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-no-data plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-no-data'] --- import kbnSharedUxPageNoDataObj from './kbn_shared_ux_page_no_data.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_no_data_config.mdx b/api_docs/kbn_shared_ux_page_no_data_config.mdx index c8725a3e284cd..169788e67f182 100644 --- a/api_docs/kbn_shared_ux_page_no_data_config.mdx +++ b/api_docs/kbn_shared_ux_page_no_data_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-no-data-config title: "@kbn/shared-ux-page-no-data-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-no-data-config plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-no-data-config'] --- import kbnSharedUxPageNoDataConfigObj from './kbn_shared_ux_page_no_data_config.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_no_data_config_mocks.mdx b/api_docs/kbn_shared_ux_page_no_data_config_mocks.mdx index 9f6666977044b..a415fac3c752e 100644 --- a/api_docs/kbn_shared_ux_page_no_data_config_mocks.mdx +++ b/api_docs/kbn_shared_ux_page_no_data_config_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-no-data-config-mocks title: "@kbn/shared-ux-page-no-data-config-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-no-data-config-mocks plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-no-data-config-mocks'] --- import kbnSharedUxPageNoDataConfigMocksObj from './kbn_shared_ux_page_no_data_config_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_no_data_mocks.mdx b/api_docs/kbn_shared_ux_page_no_data_mocks.mdx index b8a3bad7d3b4d..1c8f0839a04a2 100644 --- a/api_docs/kbn_shared_ux_page_no_data_mocks.mdx +++ b/api_docs/kbn_shared_ux_page_no_data_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-no-data-mocks title: "@kbn/shared-ux-page-no-data-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-no-data-mocks plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-no-data-mocks'] --- import kbnSharedUxPageNoDataMocksObj from './kbn_shared_ux_page_no_data_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_solution_nav.mdx b/api_docs/kbn_shared_ux_page_solution_nav.mdx index 5cdeae5e8a614..12f426747beb8 100644 --- a/api_docs/kbn_shared_ux_page_solution_nav.mdx +++ b/api_docs/kbn_shared_ux_page_solution_nav.mdx @@ -8,7 +8,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 description: API docs for the @kbn/shared-ux-page-solution-nav plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-solution-nav'] --- import kbnSharedUxPageSolutionNavObj from './kbn_shared_ux_page_solution_nav.devdocs.json'; 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 4c4b0b646e11e..d5f4a1215dbae 100644 --- a/api_docs/kbn_shared_ux_prompt_no_data_views.mdx +++ b/api_docs/kbn_shared_ux_prompt_no_data_views.mdx @@ -8,7 +8,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 description: API docs for the @kbn/shared-ux-prompt-no-data-views plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-prompt-no-data-views'] --- import kbnSharedUxPromptNoDataViewsObj from './kbn_shared_ux_prompt_no_data_views.devdocs.json'; 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 4f26769d29a17..cdd5873b82801 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 @@ -8,7 +8,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 description: API docs for the @kbn/shared-ux-prompt-no-data-views-mocks plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-prompt-no-data-views-mocks'] --- import kbnSharedUxPromptNoDataViewsMocksObj from './kbn_shared_ux_prompt_no_data_views_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_router.mdx b/api_docs/kbn_shared_ux_router.mdx index c49a0793e14da..a849bbcfedd77 100644 --- a/api_docs/kbn_shared_ux_router.mdx +++ b/api_docs/kbn_shared_ux_router.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-router title: "@kbn/shared-ux-router" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-router plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-router'] --- import kbnSharedUxRouterObj from './kbn_shared_ux_router.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_router_mocks.mdx b/api_docs/kbn_shared_ux_router_mocks.mdx index dc54091268d8c..0afb723437e4d 100644 --- a/api_docs/kbn_shared_ux_router_mocks.mdx +++ b/api_docs/kbn_shared_ux_router_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-router-mocks title: "@kbn/shared-ux-router-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-router-mocks plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-router-mocks'] --- import kbnSharedUxRouterMocksObj from './kbn_shared_ux_router_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_storybook_config.mdx b/api_docs/kbn_shared_ux_storybook_config.mdx index 2c0579bdb7cc5..578e441f0ad47 100644 --- a/api_docs/kbn_shared_ux_storybook_config.mdx +++ b/api_docs/kbn_shared_ux_storybook_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-storybook-config title: "@kbn/shared-ux-storybook-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-storybook-config plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-storybook-config'] --- import kbnSharedUxStorybookConfigObj from './kbn_shared_ux_storybook_config.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_storybook_mock.mdx b/api_docs/kbn_shared_ux_storybook_mock.mdx index c1e0fbc70cbf3..0f24cfce2a569 100644 --- a/api_docs/kbn_shared_ux_storybook_mock.mdx +++ b/api_docs/kbn_shared_ux_storybook_mock.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-storybook-mock title: "@kbn/shared-ux-storybook-mock" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-storybook-mock plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-storybook-mock'] --- import kbnSharedUxStorybookMockObj from './kbn_shared_ux_storybook_mock.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_utility.mdx b/api_docs/kbn_shared_ux_utility.mdx index e6a3edc228f03..bdba7d98bbe96 100644 --- a/api_docs/kbn_shared_ux_utility.mdx +++ b/api_docs/kbn_shared_ux_utility.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-utility title: "@kbn/shared-ux-utility" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-utility plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-utility'] --- import kbnSharedUxUtilityObj from './kbn_shared_ux_utility.devdocs.json'; diff --git a/api_docs/kbn_some_dev_log.mdx b/api_docs/kbn_some_dev_log.mdx index a9bb775c87041..1c1723722ac4e 100644 --- a/api_docs/kbn_some_dev_log.mdx +++ b/api_docs/kbn_some_dev_log.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-some-dev-log title: "@kbn/some-dev-log" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/some-dev-log plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/some-dev-log'] --- import kbnSomeDevLogObj from './kbn_some_dev_log.devdocs.json'; diff --git a/api_docs/kbn_sort_package_json.mdx b/api_docs/kbn_sort_package_json.mdx index 86a2fee373a70..fe004ea0d2cb2 100644 --- a/api_docs/kbn_sort_package_json.mdx +++ b/api_docs/kbn_sort_package_json.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-sort-package-json title: "@kbn/sort-package-json" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/sort-package-json plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/sort-package-json'] --- import kbnSortPackageJsonObj from './kbn_sort_package_json.devdocs.json'; diff --git a/api_docs/kbn_std.mdx b/api_docs/kbn_std.mdx index 4402615c5d8d3..598a2d4a1f349 100644 --- a/api_docs/kbn_std.mdx +++ b/api_docs/kbn_std.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-std title: "@kbn/std" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/std plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/std'] --- import kbnStdObj from './kbn_std.devdocs.json'; diff --git a/api_docs/kbn_stdio_dev_helpers.mdx b/api_docs/kbn_stdio_dev_helpers.mdx index d1880646d260c..552f59464f367 100644 --- a/api_docs/kbn_stdio_dev_helpers.mdx +++ b/api_docs/kbn_stdio_dev_helpers.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-stdio-dev-helpers title: "@kbn/stdio-dev-helpers" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/stdio-dev-helpers plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/stdio-dev-helpers'] --- import kbnStdioDevHelpersObj from './kbn_stdio_dev_helpers.devdocs.json'; diff --git a/api_docs/kbn_storybook.mdx b/api_docs/kbn_storybook.mdx index 666b6f7d6e69e..daf8b2fd014b2 100644 --- a/api_docs/kbn_storybook.mdx +++ b/api_docs/kbn_storybook.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-storybook title: "@kbn/storybook" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/storybook plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/storybook'] --- import kbnStorybookObj from './kbn_storybook.devdocs.json'; diff --git a/api_docs/kbn_telemetry_tools.mdx b/api_docs/kbn_telemetry_tools.mdx index 21c614f8c2929..2bc601a2c0b5e 100644 --- a/api_docs/kbn_telemetry_tools.mdx +++ b/api_docs/kbn_telemetry_tools.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-telemetry-tools title: "@kbn/telemetry-tools" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/telemetry-tools plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/telemetry-tools'] --- import kbnTelemetryToolsObj from './kbn_telemetry_tools.devdocs.json'; diff --git a/api_docs/kbn_test.mdx b/api_docs/kbn_test.mdx index 2758141a7afe6..e5b9e96e39001 100644 --- a/api_docs/kbn_test.mdx +++ b/api_docs/kbn_test.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-test title: "@kbn/test" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/test plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/test'] --- import kbnTestObj from './kbn_test.devdocs.json'; diff --git a/api_docs/kbn_test_jest_helpers.mdx b/api_docs/kbn_test_jest_helpers.mdx index fc2d1d2e4f782..b3c0c1ba348c8 100644 --- a/api_docs/kbn_test_jest_helpers.mdx +++ b/api_docs/kbn_test_jest_helpers.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-test-jest-helpers title: "@kbn/test-jest-helpers" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/test-jest-helpers plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/test-jest-helpers'] --- import kbnTestJestHelpersObj from './kbn_test_jest_helpers.devdocs.json'; diff --git a/api_docs/kbn_test_subj_selector.mdx b/api_docs/kbn_test_subj_selector.mdx index 85fd93bbb99b2..1d0443b5b17f2 100644 --- a/api_docs/kbn_test_subj_selector.mdx +++ b/api_docs/kbn_test_subj_selector.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-test-subj-selector title: "@kbn/test-subj-selector" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/test-subj-selector plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/test-subj-selector'] --- import kbnTestSubjSelectorObj from './kbn_test_subj_selector.devdocs.json'; diff --git a/api_docs/kbn_tooling_log.mdx b/api_docs/kbn_tooling_log.mdx index ecfb74381a38b..7e4864e5bd9da 100644 --- a/api_docs/kbn_tooling_log.mdx +++ b/api_docs/kbn_tooling_log.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-tooling-log title: "@kbn/tooling-log" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/tooling-log plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/tooling-log'] --- import kbnToolingLogObj from './kbn_tooling_log.devdocs.json'; diff --git a/api_docs/kbn_type_summarizer.mdx b/api_docs/kbn_type_summarizer.mdx index ec160787636e2..e78672d39c73c 100644 --- a/api_docs/kbn_type_summarizer.mdx +++ b/api_docs/kbn_type_summarizer.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-type-summarizer title: "@kbn/type-summarizer" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/type-summarizer plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/type-summarizer'] --- import kbnTypeSummarizerObj from './kbn_type_summarizer.devdocs.json'; diff --git a/api_docs/kbn_type_summarizer_core.mdx b/api_docs/kbn_type_summarizer_core.mdx index 4205149aef6dd..956d442a96262 100644 --- a/api_docs/kbn_type_summarizer_core.mdx +++ b/api_docs/kbn_type_summarizer_core.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-type-summarizer-core title: "@kbn/type-summarizer-core" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/type-summarizer-core plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/type-summarizer-core'] --- import kbnTypeSummarizerCoreObj from './kbn_type_summarizer_core.devdocs.json'; diff --git a/api_docs/kbn_typed_react_router_config.mdx b/api_docs/kbn_typed_react_router_config.mdx index 06e7463a49368..01a27b35e6483 100644 --- a/api_docs/kbn_typed_react_router_config.mdx +++ b/api_docs/kbn_typed_react_router_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-typed-react-router-config title: "@kbn/typed-react-router-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/typed-react-router-config plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/typed-react-router-config'] --- import kbnTypedReactRouterConfigObj from './kbn_typed_react_router_config.devdocs.json'; diff --git a/api_docs/kbn_ui_shared_deps_src.mdx b/api_docs/kbn_ui_shared_deps_src.mdx index 9e3d81bc3cad3..915346c3862a0 100644 --- a/api_docs/kbn_ui_shared_deps_src.mdx +++ b/api_docs/kbn_ui_shared_deps_src.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ui-shared-deps-src title: "@kbn/ui-shared-deps-src" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ui-shared-deps-src plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ui-shared-deps-src'] --- import kbnUiSharedDepsSrcObj from './kbn_ui_shared_deps_src.devdocs.json'; diff --git a/api_docs/kbn_ui_theme.mdx b/api_docs/kbn_ui_theme.mdx index ba19f0b90487e..2b8548f099c17 100644 --- a/api_docs/kbn_ui_theme.mdx +++ b/api_docs/kbn_ui_theme.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ui-theme title: "@kbn/ui-theme" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ui-theme plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ui-theme'] --- import kbnUiThemeObj from './kbn_ui_theme.devdocs.json'; diff --git a/api_docs/kbn_user_profile_components.mdx b/api_docs/kbn_user_profile_components.mdx index a726130544d3d..eefb2bb0f79f5 100644 --- a/api_docs/kbn_user_profile_components.mdx +++ b/api_docs/kbn_user_profile_components.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-user-profile-components title: "@kbn/user-profile-components" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/user-profile-components plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/user-profile-components'] --- import kbnUserProfileComponentsObj from './kbn_user_profile_components.devdocs.json'; diff --git a/api_docs/kbn_utility_types.mdx b/api_docs/kbn_utility_types.mdx index 226406c97ef84..9ad1d2947d5a9 100644 --- a/api_docs/kbn_utility_types.mdx +++ b/api_docs/kbn_utility_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-utility-types title: "@kbn/utility-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/utility-types plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/utility-types'] --- import kbnUtilityTypesObj from './kbn_utility_types.devdocs.json'; diff --git a/api_docs/kbn_utility_types_jest.mdx b/api_docs/kbn_utility_types_jest.mdx index 908cc90fd6e41..a7cac65fd99fe 100644 --- a/api_docs/kbn_utility_types_jest.mdx +++ b/api_docs/kbn_utility_types_jest.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-utility-types-jest title: "@kbn/utility-types-jest" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/utility-types-jest plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/utility-types-jest'] --- import kbnUtilityTypesJestObj from './kbn_utility_types_jest.devdocs.json'; diff --git a/api_docs/kbn_utils.mdx b/api_docs/kbn_utils.mdx index ee7bf0b4c432c..dee2e590cfcd3 100644 --- a/api_docs/kbn_utils.mdx +++ b/api_docs/kbn_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-utils title: "@kbn/utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/utils plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/utils'] --- import kbnUtilsObj from './kbn_utils.devdocs.json'; diff --git a/api_docs/kbn_yarn_lock_validator.mdx b/api_docs/kbn_yarn_lock_validator.mdx index 402d589c8b51c..02d32f883f22e 100644 --- a/api_docs/kbn_yarn_lock_validator.mdx +++ b/api_docs/kbn_yarn_lock_validator.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-yarn-lock-validator title: "@kbn/yarn-lock-validator" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/yarn-lock-validator plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/yarn-lock-validator'] --- import kbnYarnLockValidatorObj from './kbn_yarn_lock_validator.devdocs.json'; diff --git a/api_docs/kibana_overview.mdx b/api_docs/kibana_overview.mdx index 3a4f93e97d91f..193858171ecd7 100644 --- a/api_docs/kibana_overview.mdx +++ b/api_docs/kibana_overview.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kibanaOverview title: "kibanaOverview" image: https://source.unsplash.com/400x175/?github description: API docs for the kibanaOverview plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'kibanaOverview'] --- import kibanaOverviewObj from './kibana_overview.devdocs.json'; diff --git a/api_docs/kibana_react.mdx b/api_docs/kibana_react.mdx index b06ec5c7bad49..c2e3c5b4b1ff2 100644 --- a/api_docs/kibana_react.mdx +++ b/api_docs/kibana_react.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kibanaReact title: "kibanaReact" image: https://source.unsplash.com/400x175/?github description: API docs for the kibanaReact plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'kibanaReact'] --- import kibanaReactObj from './kibana_react.devdocs.json'; diff --git a/api_docs/kibana_utils.mdx b/api_docs/kibana_utils.mdx index 2336a5bc8fc14..37b4bc9cf3347 100644 --- a/api_docs/kibana_utils.mdx +++ b/api_docs/kibana_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kibanaUtils title: "kibanaUtils" image: https://source.unsplash.com/400x175/?github description: API docs for the kibanaUtils plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'kibanaUtils'] --- import kibanaUtilsObj from './kibana_utils.devdocs.json'; diff --git a/api_docs/kubernetes_security.mdx b/api_docs/kubernetes_security.mdx index 0af325c9571ca..329c06d9397a9 100644 --- a/api_docs/kubernetes_security.mdx +++ b/api_docs/kubernetes_security.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kubernetesSecurity title: "kubernetesSecurity" image: https://source.unsplash.com/400x175/?github description: API docs for the kubernetesSecurity plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'kubernetesSecurity'] --- import kubernetesSecurityObj from './kubernetes_security.devdocs.json'; diff --git a/api_docs/lens.mdx b/api_docs/lens.mdx index a3ccad313d3d2..96f13b39d3706 100644 --- a/api_docs/lens.mdx +++ b/api_docs/lens.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/lens title: "lens" image: https://source.unsplash.com/400x175/?github description: API docs for the lens plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'lens'] --- import lensObj from './lens.devdocs.json'; diff --git a/api_docs/license_api_guard.mdx b/api_docs/license_api_guard.mdx index 8a4f7e37f3775..a41ddd2c5f23c 100644 --- a/api_docs/license_api_guard.mdx +++ b/api_docs/license_api_guard.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/licenseApiGuard title: "licenseApiGuard" image: https://source.unsplash.com/400x175/?github description: API docs for the licenseApiGuard plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'licenseApiGuard'] --- import licenseApiGuardObj from './license_api_guard.devdocs.json'; diff --git a/api_docs/license_management.mdx b/api_docs/license_management.mdx index 36a2131cc5b9d..7755be4c13321 100644 --- a/api_docs/license_management.mdx +++ b/api_docs/license_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/licenseManagement title: "licenseManagement" image: https://source.unsplash.com/400x175/?github description: API docs for the licenseManagement plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'licenseManagement'] --- import licenseManagementObj from './license_management.devdocs.json'; diff --git a/api_docs/licensing.mdx b/api_docs/licensing.mdx index ad9c24bea2fed..3b9e62be7c4a2 100644 --- a/api_docs/licensing.mdx +++ b/api_docs/licensing.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/licensing title: "licensing" image: https://source.unsplash.com/400x175/?github description: API docs for the licensing plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'licensing'] --- import licensingObj from './licensing.devdocs.json'; diff --git a/api_docs/lists.mdx b/api_docs/lists.mdx index 73c0641c6de94..cf928e21a87fb 100644 --- a/api_docs/lists.mdx +++ b/api_docs/lists.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/lists title: "lists" image: https://source.unsplash.com/400x175/?github description: API docs for the lists plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'lists'] --- import listsObj from './lists.devdocs.json'; diff --git a/api_docs/management.mdx b/api_docs/management.mdx index f0a8674d16876..81c2721c14a87 100644 --- a/api_docs/management.mdx +++ b/api_docs/management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/management title: "management" image: https://source.unsplash.com/400x175/?github description: API docs for the management plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'management'] --- import managementObj from './management.devdocs.json'; diff --git a/api_docs/maps.mdx b/api_docs/maps.mdx index 1e526083a2b8d..1b352333a05f1 100644 --- a/api_docs/maps.mdx +++ b/api_docs/maps.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/maps title: "maps" image: https://source.unsplash.com/400x175/?github description: API docs for the maps plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'maps'] --- import mapsObj from './maps.devdocs.json'; diff --git a/api_docs/maps_ems.mdx b/api_docs/maps_ems.mdx index ed41f9bdc2fc1..d418194a2df1a 100644 --- a/api_docs/maps_ems.mdx +++ b/api_docs/maps_ems.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/mapsEms title: "mapsEms" image: https://source.unsplash.com/400x175/?github description: API docs for the mapsEms plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'mapsEms'] --- import mapsEmsObj from './maps_ems.devdocs.json'; diff --git a/api_docs/ml.mdx b/api_docs/ml.mdx index cdd53d0452db3..5b9f5dad17d36 100644 --- a/api_docs/ml.mdx +++ b/api_docs/ml.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/ml title: "ml" image: https://source.unsplash.com/400x175/?github description: API docs for the ml plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'ml'] --- import mlObj from './ml.devdocs.json'; diff --git a/api_docs/monitoring.mdx b/api_docs/monitoring.mdx index 0fa09769d2e2a..57ed64c54d027 100644 --- a/api_docs/monitoring.mdx +++ b/api_docs/monitoring.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/monitoring title: "monitoring" image: https://source.unsplash.com/400x175/?github description: API docs for the monitoring plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'monitoring'] --- import monitoringObj from './monitoring.devdocs.json'; diff --git a/api_docs/monitoring_collection.mdx b/api_docs/monitoring_collection.mdx index 826aa51c4e51f..2f21dfc75ca65 100644 --- a/api_docs/monitoring_collection.mdx +++ b/api_docs/monitoring_collection.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/monitoringCollection title: "monitoringCollection" image: https://source.unsplash.com/400x175/?github description: API docs for the monitoringCollection plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'monitoringCollection'] --- import monitoringCollectionObj from './monitoring_collection.devdocs.json'; diff --git a/api_docs/navigation.mdx b/api_docs/navigation.mdx index 2bfc12c035a88..5ea58f548fed2 100644 --- a/api_docs/navigation.mdx +++ b/api_docs/navigation.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/navigation title: "navigation" image: https://source.unsplash.com/400x175/?github description: API docs for the navigation plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'navigation'] --- import navigationObj from './navigation.devdocs.json'; diff --git a/api_docs/newsfeed.mdx b/api_docs/newsfeed.mdx index 2b6775ee1ba51..484c9e4cf9fa2 100644 --- a/api_docs/newsfeed.mdx +++ b/api_docs/newsfeed.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/newsfeed title: "newsfeed" image: https://source.unsplash.com/400x175/?github description: API docs for the newsfeed plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'newsfeed'] --- import newsfeedObj from './newsfeed.devdocs.json'; diff --git a/api_docs/observability.devdocs.json b/api_docs/observability.devdocs.json index 9367f4ea23e9a..6a02699554b10 100644 --- a/api_docs/observability.devdocs.json +++ b/api_docs/observability.devdocs.json @@ -5171,21 +5171,6 @@ "trackAdoption": false, "initialIsOpen": false }, - { - "parentPluginId": "observability", - "id": "def-public.enableServiceGroups", - "type": "string", - "tags": [], - "label": "enableServiceGroups", - "description": [], - "signature": [ - "\"observability:enableServiceGroups\"" - ], - "path": "x-pack/plugins/observability/common/ui_settings_keys.ts", - "deprecated": false, - "trackAdoption": false, - "initialIsOpen": false - }, { "parentPluginId": "observability", "id": "def-public.ENVIRONMENT_ALL", @@ -7438,7 +7423,7 @@ "label": "termQuery", "description": [], "signature": [ - "(field: T, value: string | number | boolean | null | undefined) => ", + "(field: T, value: string | number | boolean | null | undefined, opts: TermQueryOpts) => ", "QueryDslQueryContainer", "[]" ], @@ -7475,6 +7460,21 @@ "deprecated": false, "trackAdoption": false, "isRequired": false + }, + { + "parentPluginId": "observability", + "id": "def-server.termQuery.$3", + "type": "Object", + "tags": [], + "label": "opts", + "description": [], + "signature": [ + "TermQueryOpts" + ], + "path": "x-pack/plugins/observability/server/utils/queries.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true } ], "returnComment": [], @@ -9504,124 +9504,6 @@ } ] }, - { - "parentPluginId": "observability", - "id": "def-server.uiSettings.enableServiceGroups", - "type": "Object", - "tags": [], - "label": "[enableServiceGroups]", - "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", - "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "observability", - "id": "def-server.uiSettings.enableServiceGroups.category", - "type": "Array", - "tags": [], - "label": "category", - "description": [], - "signature": [ - "string[]" - ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "observability", - "id": "def-server.uiSettings.enableServiceGroups.name", - "type": "Any", - "tags": [], - "label": "name", - "description": [], - "signature": [ - "any" - ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "observability", - "id": "def-server.uiSettings.enableServiceGroups.value", - "type": "boolean", - "tags": [], - "label": "value", - "description": [], - "signature": [ - "false" - ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "observability", - "id": "def-server.uiSettings.enableServiceGroups.description", - "type": "Any", - "tags": [], - "label": "description", - "description": [], - "signature": [ - "any" - ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "observability", - "id": "def-server.uiSettings.enableServiceGroups.schema", - "type": "Object", - "tags": [], - "label": "schema", - "description": [], - "signature": [ - { - "pluginId": "@kbn/config-schema", - "scope": "server", - "docId": "kibKbnConfigSchemaPluginApi", - "section": "def-server.Type", - "text": "Type" - }, - "" - ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "observability", - "id": "def-server.uiSettings.enableServiceGroups.requiresPageReload", - "type": "boolean", - "tags": [], - "label": "requiresPageReload", - "description": [], - "signature": [ - "true" - ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "observability", - "id": "def-server.uiSettings.enableServiceGroups.showInLabs", - "type": "boolean", - "tags": [], - "label": "showInLabs", - "description": [], - "signature": [ - "true" - ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", - "deprecated": false, - "trackAdoption": false - } - ] - }, { "parentPluginId": "observability", "id": "def-server.uiSettings.enableServiceMetrics", @@ -11222,21 +11104,6 @@ "trackAdoption": false, "initialIsOpen": false }, - { - "parentPluginId": "observability", - "id": "def-common.enableServiceGroups", - "type": "string", - "tags": [], - "label": "enableServiceGroups", - "description": [], - "signature": [ - "\"observability:enableServiceGroups\"" - ], - "path": "x-pack/plugins/observability/common/ui_settings_keys.ts", - "deprecated": false, - "trackAdoption": false, - "initialIsOpen": false - }, { "parentPluginId": "observability", "id": "def-common.enableServiceMetrics", diff --git a/api_docs/observability.mdx b/api_docs/observability.mdx index e27f693b0f101..e446fbb500cd7 100644 --- a/api_docs/observability.mdx +++ b/api_docs/observability.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/observability title: "observability" image: https://source.unsplash.com/400x175/?github description: API docs for the observability plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'observability'] --- import observabilityObj from './observability.devdocs.json'; @@ -21,7 +21,7 @@ Contact [Observability UI](https://github.com/orgs/elastic/teams/observability-u | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 550 | 39 | 547 | 31 | +| 541 | 37 | 538 | 31 | ## Client diff --git a/api_docs/osquery.mdx b/api_docs/osquery.mdx index 191f4ceb89a49..83ac64a38bfdb 100644 --- a/api_docs/osquery.mdx +++ b/api_docs/osquery.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/osquery title: "osquery" image: https://source.unsplash.com/400x175/?github description: API docs for the osquery plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'osquery'] --- import osqueryObj from './osquery.devdocs.json'; diff --git a/api_docs/plugin_directory.mdx b/api_docs/plugin_directory.mdx index ef2c875e30e57..017f6aecdc9ec 100644 --- a/api_docs/plugin_directory.mdx +++ b/api_docs/plugin_directory.mdx @@ -7,7 +7,7 @@ id: kibDevDocsPluginDirectory slug: /kibana-dev-docs/api-meta/plugin-api-directory title: Directory description: Directory of public APIs available through plugins or packages. -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana'] --- @@ -21,7 +21,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | API Count | Any Count | Missing comments | Missing exports | |--------------|----------|-----------------|--------| -| 33062 | 513 | 23408 | 1091 | +| 33053 | 511 | 23399 | 1091 | ## Plugin Directory @@ -119,7 +119,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [Stack Monitoring](https://github.com/orgs/elastic/teams/stack-monitoring-ui) | - | 9 | 0 | 9 | 0 | | | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | - | 34 | 0 | 34 | 2 | | | [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) | - | 17 | 0 | 17 | 0 | -| | [Observability UI](https://github.com/orgs/elastic/teams/observability-ui) | - | 550 | 39 | 547 | 31 | +| | [Observability UI](https://github.com/orgs/elastic/teams/observability-ui) | - | 541 | 37 | 538 | 31 | | | [Security asset management](https://github.com/orgs/elastic/teams/security-asset-management) | - | 21 | 0 | 21 | 3 | | 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). | 243 | 8 | 187 | 12 | diff --git a/api_docs/presentation_util.mdx b/api_docs/presentation_util.mdx index dbac75b3246d0..b76c03d2ef206 100644 --- a/api_docs/presentation_util.mdx +++ b/api_docs/presentation_util.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/presentationUtil title: "presentationUtil" image: https://source.unsplash.com/400x175/?github description: API docs for the presentationUtil plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'presentationUtil'] --- import presentationUtilObj from './presentation_util.devdocs.json'; diff --git a/api_docs/profiling.mdx b/api_docs/profiling.mdx index 16e38b322a801..81579d9cafe9c 100644 --- a/api_docs/profiling.mdx +++ b/api_docs/profiling.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/profiling title: "profiling" image: https://source.unsplash.com/400x175/?github description: API docs for the profiling plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'profiling'] --- import profilingObj from './profiling.devdocs.json'; diff --git a/api_docs/remote_clusters.mdx b/api_docs/remote_clusters.mdx index 40a807ab295e1..2c2192231946f 100644 --- a/api_docs/remote_clusters.mdx +++ b/api_docs/remote_clusters.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/remoteClusters title: "remoteClusters" image: https://source.unsplash.com/400x175/?github description: API docs for the remoteClusters plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'remoteClusters'] --- import remoteClustersObj from './remote_clusters.devdocs.json'; diff --git a/api_docs/reporting.mdx b/api_docs/reporting.mdx index dc45dc940ae06..b63af095dd3cf 100644 --- a/api_docs/reporting.mdx +++ b/api_docs/reporting.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/reporting title: "reporting" image: https://source.unsplash.com/400x175/?github description: API docs for the reporting plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'reporting'] --- import reportingObj from './reporting.devdocs.json'; diff --git a/api_docs/rollup.mdx b/api_docs/rollup.mdx index 4d8fe853ccb26..b11bfdbc793cc 100644 --- a/api_docs/rollup.mdx +++ b/api_docs/rollup.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/rollup title: "rollup" image: https://source.unsplash.com/400x175/?github description: API docs for the rollup plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'rollup'] --- import rollupObj from './rollup.devdocs.json'; diff --git a/api_docs/rule_registry.mdx b/api_docs/rule_registry.mdx index 25ffc023199cb..e1ffebafa33c6 100644 --- a/api_docs/rule_registry.mdx +++ b/api_docs/rule_registry.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/ruleRegistry title: "ruleRegistry" image: https://source.unsplash.com/400x175/?github description: API docs for the ruleRegistry plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'ruleRegistry'] --- import ruleRegistryObj from './rule_registry.devdocs.json'; diff --git a/api_docs/runtime_fields.mdx b/api_docs/runtime_fields.mdx index 3d0a1f6a40be1..72e0e56a875b3 100644 --- a/api_docs/runtime_fields.mdx +++ b/api_docs/runtime_fields.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/runtimeFields title: "runtimeFields" image: https://source.unsplash.com/400x175/?github description: API docs for the runtimeFields plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'runtimeFields'] --- import runtimeFieldsObj from './runtime_fields.devdocs.json'; diff --git a/api_docs/saved_objects.mdx b/api_docs/saved_objects.mdx index 727d2b8f0d338..620544795c83f 100644 --- a/api_docs/saved_objects.mdx +++ b/api_docs/saved_objects.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/savedObjects title: "savedObjects" image: https://source.unsplash.com/400x175/?github description: API docs for the savedObjects plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'savedObjects'] --- import savedObjectsObj from './saved_objects.devdocs.json'; diff --git a/api_docs/saved_objects_finder.mdx b/api_docs/saved_objects_finder.mdx index 574def6841415..1a7233148e0a2 100644 --- a/api_docs/saved_objects_finder.mdx +++ b/api_docs/saved_objects_finder.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/savedObjectsFinder title: "savedObjectsFinder" image: https://source.unsplash.com/400x175/?github description: API docs for the savedObjectsFinder plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'savedObjectsFinder'] --- import savedObjectsFinderObj from './saved_objects_finder.devdocs.json'; diff --git a/api_docs/saved_objects_management.mdx b/api_docs/saved_objects_management.mdx index 6f50f617a35c5..bcd11392fa1f3 100644 --- a/api_docs/saved_objects_management.mdx +++ b/api_docs/saved_objects_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/savedObjectsManagement title: "savedObjectsManagement" image: https://source.unsplash.com/400x175/?github description: API docs for the savedObjectsManagement plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'savedObjectsManagement'] --- import savedObjectsManagementObj from './saved_objects_management.devdocs.json'; diff --git a/api_docs/saved_objects_tagging.mdx b/api_docs/saved_objects_tagging.mdx index 3a0121ff4cdf6..d69f6534cd5ab 100644 --- a/api_docs/saved_objects_tagging.mdx +++ b/api_docs/saved_objects_tagging.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/savedObjectsTagging title: "savedObjectsTagging" image: https://source.unsplash.com/400x175/?github description: API docs for the savedObjectsTagging plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'savedObjectsTagging'] --- import savedObjectsTaggingObj from './saved_objects_tagging.devdocs.json'; diff --git a/api_docs/saved_objects_tagging_oss.mdx b/api_docs/saved_objects_tagging_oss.mdx index 51b21d34e2d96..f354ed52700b6 100644 --- a/api_docs/saved_objects_tagging_oss.mdx +++ b/api_docs/saved_objects_tagging_oss.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/savedObjectsTaggingOss title: "savedObjectsTaggingOss" image: https://source.unsplash.com/400x175/?github description: API docs for the savedObjectsTaggingOss plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'savedObjectsTaggingOss'] --- import savedObjectsTaggingOssObj from './saved_objects_tagging_oss.devdocs.json'; diff --git a/api_docs/saved_search.mdx b/api_docs/saved_search.mdx index f7385a5088340..281959caa4371 100644 --- a/api_docs/saved_search.mdx +++ b/api_docs/saved_search.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/savedSearch title: "savedSearch" image: https://source.unsplash.com/400x175/?github description: API docs for the savedSearch plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'savedSearch'] --- import savedSearchObj from './saved_search.devdocs.json'; diff --git a/api_docs/screenshot_mode.mdx b/api_docs/screenshot_mode.mdx index ca945c6600735..775870fe318a6 100644 --- a/api_docs/screenshot_mode.mdx +++ b/api_docs/screenshot_mode.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/screenshotMode title: "screenshotMode" image: https://source.unsplash.com/400x175/?github description: API docs for the screenshotMode plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'screenshotMode'] --- import screenshotModeObj from './screenshot_mode.devdocs.json'; diff --git a/api_docs/screenshotting.mdx b/api_docs/screenshotting.mdx index e73439178f7a0..55897fc4399fb 100644 --- a/api_docs/screenshotting.mdx +++ b/api_docs/screenshotting.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/screenshotting title: "screenshotting" image: https://source.unsplash.com/400x175/?github description: API docs for the screenshotting plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'screenshotting'] --- import screenshottingObj from './screenshotting.devdocs.json'; diff --git a/api_docs/security.mdx b/api_docs/security.mdx index 6a0069c908476..23b6300d2cf71 100644 --- a/api_docs/security.mdx +++ b/api_docs/security.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/security title: "security" image: https://source.unsplash.com/400x175/?github description: API docs for the security plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'security'] --- import securityObj from './security.devdocs.json'; diff --git a/api_docs/security_solution.mdx b/api_docs/security_solution.mdx index 3f2f2351fa78d..7d483d7416684 100644 --- a/api_docs/security_solution.mdx +++ b/api_docs/security_solution.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/securitySolution title: "securitySolution" image: https://source.unsplash.com/400x175/?github description: API docs for the securitySolution plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'securitySolution'] --- import securitySolutionObj from './security_solution.devdocs.json'; diff --git a/api_docs/session_view.mdx b/api_docs/session_view.mdx index 66f07e47f3592..558acdf7d3eb9 100644 --- a/api_docs/session_view.mdx +++ b/api_docs/session_view.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/sessionView title: "sessionView" image: https://source.unsplash.com/400x175/?github description: API docs for the sessionView plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'sessionView'] --- import sessionViewObj from './session_view.devdocs.json'; diff --git a/api_docs/share.mdx b/api_docs/share.mdx index efa80f1d25278..d1143b8e3de3f 100644 --- a/api_docs/share.mdx +++ b/api_docs/share.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/share title: "share" image: https://source.unsplash.com/400x175/?github description: API docs for the share plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'share'] --- import shareObj from './share.devdocs.json'; diff --git a/api_docs/snapshot_restore.mdx b/api_docs/snapshot_restore.mdx index 8d9d738de9043..1ef8df1460f73 100644 --- a/api_docs/snapshot_restore.mdx +++ b/api_docs/snapshot_restore.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/snapshotRestore title: "snapshotRestore" image: https://source.unsplash.com/400x175/?github description: API docs for the snapshotRestore plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'snapshotRestore'] --- import snapshotRestoreObj from './snapshot_restore.devdocs.json'; diff --git a/api_docs/spaces.mdx b/api_docs/spaces.mdx index 072bcf8caef44..fe37a1334ab89 100644 --- a/api_docs/spaces.mdx +++ b/api_docs/spaces.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/spaces title: "spaces" image: https://source.unsplash.com/400x175/?github description: API docs for the spaces plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'spaces'] --- import spacesObj from './spaces.devdocs.json'; diff --git a/api_docs/stack_alerts.mdx b/api_docs/stack_alerts.mdx index 2812eea783482..26e85e9b428b3 100644 --- a/api_docs/stack_alerts.mdx +++ b/api_docs/stack_alerts.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/stackAlerts title: "stackAlerts" image: https://source.unsplash.com/400x175/?github description: API docs for the stackAlerts plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'stackAlerts'] --- import stackAlertsObj from './stack_alerts.devdocs.json'; diff --git a/api_docs/stack_connectors.mdx b/api_docs/stack_connectors.mdx index 30d2c4ea209b8..49ca32f569c68 100644 --- a/api_docs/stack_connectors.mdx +++ b/api_docs/stack_connectors.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/stackConnectors title: "stackConnectors" image: https://source.unsplash.com/400x175/?github description: API docs for the stackConnectors plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'stackConnectors'] --- import stackConnectorsObj from './stack_connectors.devdocs.json'; diff --git a/api_docs/task_manager.mdx b/api_docs/task_manager.mdx index fe89099f39058..e56ae697a1962 100644 --- a/api_docs/task_manager.mdx +++ b/api_docs/task_manager.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/taskManager title: "taskManager" image: https://source.unsplash.com/400x175/?github description: API docs for the taskManager plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'taskManager'] --- import taskManagerObj from './task_manager.devdocs.json'; diff --git a/api_docs/telemetry.mdx b/api_docs/telemetry.mdx index be7c82fabaea5..509dd097c797a 100644 --- a/api_docs/telemetry.mdx +++ b/api_docs/telemetry.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/telemetry title: "telemetry" image: https://source.unsplash.com/400x175/?github description: API docs for the telemetry plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'telemetry'] --- import telemetryObj from './telemetry.devdocs.json'; diff --git a/api_docs/telemetry_collection_manager.mdx b/api_docs/telemetry_collection_manager.mdx index 2964f833c07ff..a5b6aff07ea16 100644 --- a/api_docs/telemetry_collection_manager.mdx +++ b/api_docs/telemetry_collection_manager.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/telemetryCollectionManager title: "telemetryCollectionManager" image: https://source.unsplash.com/400x175/?github description: API docs for the telemetryCollectionManager plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'telemetryCollectionManager'] --- import telemetryCollectionManagerObj from './telemetry_collection_manager.devdocs.json'; diff --git a/api_docs/telemetry_collection_xpack.mdx b/api_docs/telemetry_collection_xpack.mdx index 44d7c04c68d09..976c5405b3610 100644 --- a/api_docs/telemetry_collection_xpack.mdx +++ b/api_docs/telemetry_collection_xpack.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/telemetryCollectionXpack title: "telemetryCollectionXpack" image: https://source.unsplash.com/400x175/?github description: API docs for the telemetryCollectionXpack plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'telemetryCollectionXpack'] --- import telemetryCollectionXpackObj from './telemetry_collection_xpack.devdocs.json'; diff --git a/api_docs/telemetry_management_section.mdx b/api_docs/telemetry_management_section.mdx index f62747c1db850..da58b4bce10d3 100644 --- a/api_docs/telemetry_management_section.mdx +++ b/api_docs/telemetry_management_section.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/telemetryManagementSection title: "telemetryManagementSection" image: https://source.unsplash.com/400x175/?github description: API docs for the telemetryManagementSection plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'telemetryManagementSection'] --- import telemetryManagementSectionObj from './telemetry_management_section.devdocs.json'; diff --git a/api_docs/threat_intelligence.mdx b/api_docs/threat_intelligence.mdx index c60c976f82d50..2982302a0a3ae 100644 --- a/api_docs/threat_intelligence.mdx +++ b/api_docs/threat_intelligence.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/threatIntelligence title: "threatIntelligence" image: https://source.unsplash.com/400x175/?github description: API docs for the threatIntelligence plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'threatIntelligence'] --- import threatIntelligenceObj from './threat_intelligence.devdocs.json'; diff --git a/api_docs/timelines.mdx b/api_docs/timelines.mdx index a382c118e1c12..bc6489d7f5881 100644 --- a/api_docs/timelines.mdx +++ b/api_docs/timelines.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/timelines title: "timelines" image: https://source.unsplash.com/400x175/?github description: API docs for the timelines plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'timelines'] --- import timelinesObj from './timelines.devdocs.json'; diff --git a/api_docs/transform.mdx b/api_docs/transform.mdx index 06f392faf7ce9..fbe10a1d60de6 100644 --- a/api_docs/transform.mdx +++ b/api_docs/transform.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/transform title: "transform" image: https://source.unsplash.com/400x175/?github description: API docs for the transform plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'transform'] --- import transformObj from './transform.devdocs.json'; diff --git a/api_docs/triggers_actions_ui.mdx b/api_docs/triggers_actions_ui.mdx index fcfb4580843aa..08e7a0719af8b 100644 --- a/api_docs/triggers_actions_ui.mdx +++ b/api_docs/triggers_actions_ui.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/triggersActionsUi title: "triggersActionsUi" image: https://source.unsplash.com/400x175/?github description: API docs for the triggersActionsUi plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'triggersActionsUi'] --- import triggersActionsUiObj from './triggers_actions_ui.devdocs.json'; diff --git a/api_docs/ui_actions.mdx b/api_docs/ui_actions.mdx index 0a4274d6fba1f..472cbad650339 100644 --- a/api_docs/ui_actions.mdx +++ b/api_docs/ui_actions.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/uiActions title: "uiActions" image: https://source.unsplash.com/400x175/?github description: API docs for the uiActions plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'uiActions'] --- import uiActionsObj from './ui_actions.devdocs.json'; diff --git a/api_docs/ui_actions_enhanced.mdx b/api_docs/ui_actions_enhanced.mdx index 14642b43886d9..9f9f9c6de425d 100644 --- a/api_docs/ui_actions_enhanced.mdx +++ b/api_docs/ui_actions_enhanced.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/uiActionsEnhanced title: "uiActionsEnhanced" image: https://source.unsplash.com/400x175/?github description: API docs for the uiActionsEnhanced plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'uiActionsEnhanced'] --- import uiActionsEnhancedObj from './ui_actions_enhanced.devdocs.json'; diff --git a/api_docs/unified_field_list.mdx b/api_docs/unified_field_list.mdx index 8129a0399b782..242607c24491f 100644 --- a/api_docs/unified_field_list.mdx +++ b/api_docs/unified_field_list.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/unifiedFieldList title: "unifiedFieldList" image: https://source.unsplash.com/400x175/?github description: API docs for the unifiedFieldList plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'unifiedFieldList'] --- import unifiedFieldListObj from './unified_field_list.devdocs.json'; diff --git a/api_docs/unified_histogram.mdx b/api_docs/unified_histogram.mdx index 7fa20d801431c..967b6c4db14a2 100644 --- a/api_docs/unified_histogram.mdx +++ b/api_docs/unified_histogram.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/unifiedHistogram title: "unifiedHistogram" image: https://source.unsplash.com/400x175/?github description: API docs for the unifiedHistogram plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'unifiedHistogram'] --- import unifiedHistogramObj from './unified_histogram.devdocs.json'; diff --git a/api_docs/unified_search.mdx b/api_docs/unified_search.mdx index 8ee0f76a6ed21..4702d379d9fea 100644 --- a/api_docs/unified_search.mdx +++ b/api_docs/unified_search.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/unifiedSearch title: "unifiedSearch" image: https://source.unsplash.com/400x175/?github description: API docs for the unifiedSearch plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'unifiedSearch'] --- import unifiedSearchObj from './unified_search.devdocs.json'; diff --git a/api_docs/unified_search_autocomplete.mdx b/api_docs/unified_search_autocomplete.mdx index 29fa3e826d313..012c4027774a6 100644 --- a/api_docs/unified_search_autocomplete.mdx +++ b/api_docs/unified_search_autocomplete.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/unifiedSearch-autocomplete title: "unifiedSearch.autocomplete" image: https://source.unsplash.com/400x175/?github description: API docs for the unifiedSearch.autocomplete plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'unifiedSearch.autocomplete'] --- import unifiedSearchAutocompleteObj from './unified_search_autocomplete.devdocs.json'; diff --git a/api_docs/url_forwarding.mdx b/api_docs/url_forwarding.mdx index 58e11f9f5f540..fffc4f568fbc1 100644 --- a/api_docs/url_forwarding.mdx +++ b/api_docs/url_forwarding.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/urlForwarding title: "urlForwarding" image: https://source.unsplash.com/400x175/?github description: API docs for the urlForwarding plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'urlForwarding'] --- import urlForwardingObj from './url_forwarding.devdocs.json'; diff --git a/api_docs/usage_collection.mdx b/api_docs/usage_collection.mdx index 93fdbdcd3a829..6d7b8a9db2e7b 100644 --- a/api_docs/usage_collection.mdx +++ b/api_docs/usage_collection.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/usageCollection title: "usageCollection" image: https://source.unsplash.com/400x175/?github description: API docs for the usageCollection plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'usageCollection'] --- import usageCollectionObj from './usage_collection.devdocs.json'; diff --git a/api_docs/ux.mdx b/api_docs/ux.mdx index 0874b57dc7d00..3cce3b32439e9 100644 --- a/api_docs/ux.mdx +++ b/api_docs/ux.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/ux title: "ux" image: https://source.unsplash.com/400x175/?github description: API docs for the ux plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'ux'] --- import uxObj from './ux.devdocs.json'; diff --git a/api_docs/vis_default_editor.mdx b/api_docs/vis_default_editor.mdx index c09fe4aa08046..66a671b8f1d67 100644 --- a/api_docs/vis_default_editor.mdx +++ b/api_docs/vis_default_editor.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visDefaultEditor title: "visDefaultEditor" image: https://source.unsplash.com/400x175/?github description: API docs for the visDefaultEditor plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visDefaultEditor'] --- import visDefaultEditorObj from './vis_default_editor.devdocs.json'; diff --git a/api_docs/vis_type_gauge.mdx b/api_docs/vis_type_gauge.mdx index 4c2dfa649b958..6bde504fc21c9 100644 --- a/api_docs/vis_type_gauge.mdx +++ b/api_docs/vis_type_gauge.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeGauge title: "visTypeGauge" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeGauge plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeGauge'] --- import visTypeGaugeObj from './vis_type_gauge.devdocs.json'; diff --git a/api_docs/vis_type_heatmap.mdx b/api_docs/vis_type_heatmap.mdx index 8f15cb3613771..d34ebaeccf2d8 100644 --- a/api_docs/vis_type_heatmap.mdx +++ b/api_docs/vis_type_heatmap.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeHeatmap title: "visTypeHeatmap" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeHeatmap plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeHeatmap'] --- import visTypeHeatmapObj from './vis_type_heatmap.devdocs.json'; diff --git a/api_docs/vis_type_pie.mdx b/api_docs/vis_type_pie.mdx index aaee057bba747..ccc477f2d9408 100644 --- a/api_docs/vis_type_pie.mdx +++ b/api_docs/vis_type_pie.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypePie title: "visTypePie" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypePie plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypePie'] --- import visTypePieObj from './vis_type_pie.devdocs.json'; diff --git a/api_docs/vis_type_table.mdx b/api_docs/vis_type_table.mdx index c22796c6f45b8..68b2fb6cb3545 100644 --- a/api_docs/vis_type_table.mdx +++ b/api_docs/vis_type_table.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeTable title: "visTypeTable" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeTable plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeTable'] --- import visTypeTableObj from './vis_type_table.devdocs.json'; diff --git a/api_docs/vis_type_timelion.mdx b/api_docs/vis_type_timelion.mdx index be16ff744d42b..e6d01e140322b 100644 --- a/api_docs/vis_type_timelion.mdx +++ b/api_docs/vis_type_timelion.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeTimelion title: "visTypeTimelion" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeTimelion plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeTimelion'] --- import visTypeTimelionObj from './vis_type_timelion.devdocs.json'; diff --git a/api_docs/vis_type_timeseries.mdx b/api_docs/vis_type_timeseries.mdx index bf20a56a709e3..ae91cf9cb909d 100644 --- a/api_docs/vis_type_timeseries.mdx +++ b/api_docs/vis_type_timeseries.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeTimeseries title: "visTypeTimeseries" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeTimeseries plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeTimeseries'] --- import visTypeTimeseriesObj from './vis_type_timeseries.devdocs.json'; diff --git a/api_docs/vis_type_vega.mdx b/api_docs/vis_type_vega.mdx index 386483097162a..01b1743dec039 100644 --- a/api_docs/vis_type_vega.mdx +++ b/api_docs/vis_type_vega.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeVega title: "visTypeVega" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeVega plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeVega'] --- import visTypeVegaObj from './vis_type_vega.devdocs.json'; diff --git a/api_docs/vis_type_vislib.mdx b/api_docs/vis_type_vislib.mdx index c9b7e2a32e2f2..0a188618d4d9c 100644 --- a/api_docs/vis_type_vislib.mdx +++ b/api_docs/vis_type_vislib.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeVislib title: "visTypeVislib" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeVislib plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeVislib'] --- import visTypeVislibObj from './vis_type_vislib.devdocs.json'; diff --git a/api_docs/vis_type_xy.mdx b/api_docs/vis_type_xy.mdx index 0598d71d5b8d9..3d79aab94cf73 100644 --- a/api_docs/vis_type_xy.mdx +++ b/api_docs/vis_type_xy.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeXy title: "visTypeXy" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeXy plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeXy'] --- import visTypeXyObj from './vis_type_xy.devdocs.json'; diff --git a/api_docs/visualizations.mdx b/api_docs/visualizations.mdx index c99d65800c2e1..f52ac0a49e1b2 100644 --- a/api_docs/visualizations.mdx +++ b/api_docs/visualizations.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visualizations title: "visualizations" image: https://source.unsplash.com/400x175/?github description: API docs for the visualizations plugin -date: 2022-10-29 +date: 2022-10-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visualizations'] --- import visualizationsObj from './visualizations.devdocs.json'; From 8833fe739d333223ac2dc61a25ca5ceac8fe4814 Mon Sep 17 00:00:00 2001 From: Thom Heymann <190132+thomheymann@users.noreply.github.com> Date: Sun, 30 Oct 2022 22:40:25 +0000 Subject: [PATCH 025/111] Add readonly view to role management (#143893) --- .../roles/edit_role/edit_role_page.test.tsx | 260 +++++++++++++----- .../roles/edit_role/edit_role_page.tsx | 26 +- .../elasticsearch_privileges.test.tsx.snap | 2 + .../privileges/es/cluster_privileges.test.tsx | 22 ++ .../privileges/es/cluster_privileges.tsx | 9 +- .../es/elasticsearch_privileges.test.tsx | 7 + .../es/elasticsearch_privileges.tsx | 41 +-- .../privileges/es/index_privileges.test.tsx | 46 ++++ .../privileges/es/index_privileges.tsx | 7 +- .../space_aware_privilege_section.test.tsx | 7 + .../space_aware_privilege_section.tsx | 31 ++- .../roles/roles_grid/roles_grid_page.test.tsx | 18 ++ .../roles/roles_grid/roles_grid_page.tsx | 65 +++-- .../roles/roles_management_app.test.tsx | 14 +- .../management/roles/roles_management_app.tsx | 8 + .../users/users_grid/users_grid_page.tsx | 1 + .../server/features/security_features.ts | 4 + 17 files changed, 421 insertions(+), 147 deletions(-) diff --git a/x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.test.tsx b/x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.test.tsx index 429d4f1c925d2..e6d6403460e50 100644 --- a/x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.test.tsx +++ b/x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.test.tsx @@ -13,6 +13,7 @@ import type { Capabilities } from '@kbn/core/public'; import { coreMock, scopedHistoryMock } from '@kbn/core/public/mocks'; import { dataViewPluginMocks } from '@kbn/data-views-plugin/public/mocks'; import { KibanaFeature } from '@kbn/features-plugin/public'; +import { KibanaContextProvider } from '@kbn/kibana-react-plugin/public'; import type { Space } from '@kbn/spaces-plugin/public'; import { mountWithIntl, nextTick } from '@kbn/test-jest-helpers'; @@ -186,20 +187,63 @@ function getProps({ } describe('', () => { + const coreStart = coreMock.createStart(); + + beforeEach(() => { + coreStart.application.capabilities = { + ...coreStart.application.capabilities, + roles: { + save: true, + }, + }; + }); + describe('with spaces enabled', () => { + it('can render readonly view when not enough privileges', async () => { + coreStart.application.capabilities = { + ...coreStart.application.capabilities, + roles: { + save: false, + }, + }; + + const wrapper = mountWithIntl( + + + + ); + + await waitForRender(wrapper); + + expect(wrapper.find('input[data-test-subj="roleFormNameInput"]').prop('disabled')).toBe(true); + expectReadOnlyFormButtons(wrapper); + }); + it('can render a reserved role', async () => { const wrapper = mountWithIntl( - + + + ); await waitForRender(wrapper); @@ -207,22 +251,25 @@ describe('', () => { expect(wrapper.find('[data-test-subj="reservedRoleBadgeTooltip"]')).toHaveLength(1); expect(wrapper.find(SpaceAwarePrivilegeSection)).toHaveLength(1); expect(wrapper.find('[data-test-subj="userCannotManageSpacesCallout"]')).toHaveLength(0); + expect(wrapper.find('input[data-test-subj="roleFormNameInput"]').prop('disabled')).toBe(true); expectReadOnlyFormButtons(wrapper); }); it('can render a user defined role', async () => { const wrapper = mountWithIntl( - + + + ); await waitForRender(wrapper); @@ -230,65 +277,100 @@ describe('', () => { expect(wrapper.find('[data-test-subj="reservedRoleBadgeTooltip"]')).toHaveLength(0); expect(wrapper.find(SpaceAwarePrivilegeSection)).toHaveLength(1); expect(wrapper.find('[data-test-subj="userCannotManageSpacesCallout"]')).toHaveLength(0); + expect(wrapper.find('input[data-test-subj="roleFormNameInput"]').prop('disabled')).toBe(true); expectSaveFormButtons(wrapper); }); it('can render when creating a new role', async () => { - const wrapper = mountWithIntl(); + const wrapper = mountWithIntl( + + + + ); await waitForRender(wrapper); expect(wrapper.find(SpaceAwarePrivilegeSection)).toHaveLength(1); expect(wrapper.find('[data-test-subj="userCannotManageSpacesCallout"]')).toHaveLength(0); + expect(wrapper.find('input[data-test-subj="roleFormNameInput"]').prop('disabled')).toBe( + false + ); expectSaveFormButtons(wrapper); }); + it('redirects back to roles when creating a new role without privileges', async () => { + coreStart.application.capabilities = { + ...coreStart.application.capabilities, + roles: { + save: false, + }, + }; + + const props = getProps({ action: 'edit' }); + const wrapper = mountWithIntl( + + + + ); + + await waitForRender(wrapper); + + expect(props.history.push).toHaveBeenCalledWith('/'); + }); + it('can render when cloning an existing role', async () => { const wrapper = mountWithIntl( - + + })} + /> + ); await waitForRender(wrapper); expect(wrapper.find(SpaceAwarePrivilegeSection)).toHaveLength(1); expect(wrapper.find('[data-test-subj="userCannotManageSpacesCallout"]')).toHaveLength(0); + expect(wrapper.find('input[data-test-subj="roleFormNameInput"]').prop('disabled')).toBe( + false + ); expectSaveFormButtons(wrapper); }); it('renders an auth error when not authorized to manage spaces', async () => { const wrapper = mountWithIntl( - + + + ); await waitForRender(wrapper); @@ -305,19 +387,21 @@ describe('', () => { it('renders a partial read-only view when there is a transform error', async () => { const wrapper = mountWithIntl( - + + + ); await waitForRender(wrapper); @@ -331,7 +415,11 @@ describe('', () => { const error = { response: { status: 500 } }; const getFeatures = jest.fn().mockRejectedValue(error); const props = getProps({ action: 'edit' }); - const wrapper = mountWithIntl(); + const wrapper = mountWithIntl( + + + + ); await waitForRender(wrapper); expect(props.fatalErrors.add).toHaveBeenLastCalledWith(error); @@ -342,7 +430,11 @@ describe('', () => { const error = { response: { status: 403 } }; const getFeatures = jest.fn().mockRejectedValue(error); const props = getProps({ action: 'edit' }); - const wrapper = mountWithIntl(); + const wrapper = mountWithIntl( + + + + ); await waitForRender(wrapper); expect(props.fatalErrors.add).not.toHaveBeenCalled(); @@ -356,7 +448,9 @@ describe('', () => { dataViews.getTitles = jest.fn().mockRejectedValue({ response: { status: 403 } }); const wrapper = mountWithIntl( - + + + ); await waitForRender(wrapper); @@ -369,7 +463,11 @@ describe('', () => { describe('in create mode', () => { it('renders an error for existing role name', async () => { const props = getProps({ action: 'edit' }); - const wrapper = mountWithIntl(); + const wrapper = mountWithIntl( + + + + ); await waitForRender(wrapper); @@ -389,7 +487,11 @@ describe('', () => { it('renders an error on save of existing role name', async () => { const props = getProps({ action: 'edit' }); - const wrapper = mountWithIntl(); + const wrapper = mountWithIntl( + + + + ); props.rolesAPIClient.saveRole.mockRejectedValue({ body: { @@ -420,7 +522,11 @@ describe('', () => { it('does not render an error for new role name', async () => { const props = getProps({ action: 'edit' }); - const wrapper = mountWithIntl(); + const wrapper = mountWithIntl( + + + + ); props.rolesAPIClient.getRole.mockRejectedValue(new Error('not found')); @@ -440,7 +546,11 @@ describe('', () => { it('does not render a notification on save of new role name', async () => { const props = getProps({ action: 'edit' }); - const wrapper = mountWithIntl(); + const wrapper = mountWithIntl( + + + + ); props.rolesAPIClient.getRole.mockRejectedValue(new Error('not found')); diff --git a/x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx b/x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx index 9b35c7b1558f8..36d6815493c98 100644 --- a/x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx +++ b/x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx @@ -55,6 +55,7 @@ import { getExtendedRoleDeprecationNotice, prepareRoleClone, } from '../../../../common/model'; +import { useCapabilities } from '../../../components/use_capabilities'; import type { UserAPIClient } from '../../users'; import type { IndicesAPIClient } from '../indices_api_client'; import { KibanaPrivileges } from '../model'; @@ -124,7 +125,6 @@ function useIndexPatternsTitles( } fatalErrors.add(err); - throw err; }) .then((titles) => setIndexPatternsTitles(titles.filter(Boolean))); }, [fatalErrors, dataViews, notifications]); @@ -297,6 +297,7 @@ export const EditRolePage: FunctionComponent = ({ throw new Error('The dataViews plugin is required for this page, but it is not available'); } const backToRoleList = useCallback(() => history.push('/'), [history]); + const hasReadOnlyPrivileges = !useCapabilities('roles').save; // We should keep the same mutable instance of Validator for every re-render since we'll // eventually enable validation after the first time user tries to save a role. @@ -319,12 +320,19 @@ export const EditRolePage: FunctionComponent = ({ roleName ); + const isEditingExistingRole = !!roleName && action === 'edit'; + + useEffect(() => { + if (hasReadOnlyPrivileges && !isEditingExistingRole) { + backToRoleList(); + } + }, [hasReadOnlyPrivileges, isEditingExistingRole]); // eslint-disable-line react-hooks/exhaustive-deps + if (!role || !runAsUsers || !indexPatternsTitles || !privileges || !spaces || !features) { return null; } - const isEditingExistingRole = !!roleName && action === 'edit'; - const isRoleReadOnly = checkIfRoleReadOnly(role); + const isRoleReadOnly = hasReadOnlyPrivileges || checkIfRoleReadOnly(role); const isRoleReserved = checkIfRoleReserved(role); const isDeprecatedRole = checkIfRoleDeprecated(role); @@ -335,7 +343,7 @@ export const EditRolePage: FunctionComponent = ({ const props: HTMLProps = { tabIndex: 0, }; - if (isRoleReserved) { + if (isRoleReserved || isRoleReadOnly) { titleText = ( = ({ onChange={onNameChange} onBlur={onNameBlur} data-test-subj={'roleFormNameInput'} - readOnly={isRoleReserved || isEditingExistingRole} + disabled={isRoleReserved || isEditingExistingRole || isRoleReadOnly} isInvalid={creatingRoleAlreadyExists} /> @@ -491,10 +499,14 @@ export const EditRolePage: FunctionComponent = ({ const getReturnToRoleListButton = () => { return ( - + ); diff --git a/x-pack/plugins/security/public/management/roles/edit_role/privileges/es/__snapshots__/elasticsearch_privileges.test.tsx.snap b/x-pack/plugins/security/public/management/roles/edit_role/privileges/es/__snapshots__/elasticsearch_privileges.test.tsx.snap index 2c47d70b94100..e7cfef55274c0 100644 --- a/x-pack/plugins/security/public/management/roles/edit_role/privileges/es/__snapshots__/elasticsearch_privileges.test.tsx.snap +++ b/x-pack/plugins/security/public/management/roles/edit_role/privileges/es/__snapshots__/elasticsearch_privileges.test.tsx.snap @@ -52,6 +52,7 @@ exports[`it renders without crashing 1`] = ` "monitor", ] } + editable={true} onChange={[Function]} role={ Object { @@ -170,6 +171,7 @@ exports[`it renders without crashing 1`] = ` "index", ] } + editable={true} indexPatterns={Array []} indicesAPIClient={ Object { diff --git a/x-pack/plugins/security/public/management/roles/edit_role/privileges/es/cluster_privileges.test.tsx b/x-pack/plugins/security/public/management/roles/edit_role/privileges/es/cluster_privileges.test.tsx index 816e3f43c9ddc..b9b653e108738 100644 --- a/x-pack/plugins/security/public/management/roles/edit_role/privileges/es/cluster_privileges.test.tsx +++ b/x-pack/plugins/security/public/management/roles/edit_role/privileges/es/cluster_privileges.test.tsx @@ -34,6 +34,28 @@ test('it renders without crashing', () => { expect(wrapper).toMatchSnapshot(); }); +test('it renders fields as disabled when not editable', () => { + const role: Role = { + name: '', + elasticsearch: { + cluster: [], + indices: [], + run_as: [], + }, + kibana: [], + }; + + const wrapper = shallow( + + ); + expect(wrapper.find('EuiComboBox').prop('isDisabled')).toBe(true); +}); + test('it allows for custom cluster privileges', () => { const role: Role = { name: '', diff --git a/x-pack/plugins/security/public/management/roles/edit_role/privileges/es/cluster_privileges.tsx b/x-pack/plugins/security/public/management/roles/edit_role/privileges/es/cluster_privileges.tsx index 6d2643c4b6998..0e44970d8ef7a 100644 --- a/x-pack/plugins/security/public/management/roles/edit_role/privileges/es/cluster_privileges.tsx +++ b/x-pack/plugins/security/public/management/roles/edit_role/privileges/es/cluster_privileges.tsx @@ -16,16 +16,21 @@ interface Props { role: Role; builtinClusterPrivileges: string[]; onChange: (privs: string[]) => void; + editable?: boolean; } export class ClusterPrivileges extends Component { + static defaultProps: Partial = { + editable: true, + }; + public render() { const availableClusterPrivileges = this.getAvailableClusterPrivileges(); return {this.buildComboBox(availableClusterPrivileges)}; } public buildComboBox = (items: string[]) => { - const role = this.props.role; + const { role, editable } = this.props; const options = items.map((i) => ({ label: i, @@ -41,7 +46,7 @@ export class ClusterPrivileges extends Component { selectedOptions={selectedOptions} onChange={this.onClusterPrivilegesChange} onCreateOption={this.onCreateCustomPrivilege} - isDisabled={isRoleReadOnly(role)} + isDisabled={isRoleReadOnly(role) || !editable} /> ); diff --git a/x-pack/plugins/security/public/management/roles/edit_role/privileges/es/elasticsearch_privileges.test.tsx b/x-pack/plugins/security/public/management/roles/edit_role/privileges/es/elasticsearch_privileges.test.tsx index 717700cc82278..52feba5ae83ad 100644 --- a/x-pack/plugins/security/public/management/roles/edit_role/privileges/es/elasticsearch_privileges.test.tsx +++ b/x-pack/plugins/security/public/management/roles/edit_role/privileges/es/elasticsearch_privileges.test.tsx @@ -66,3 +66,10 @@ test('it renders IndexPrivileges', () => { mountWithIntl().find(IndexPrivileges) ).toHaveLength(1); }); + +test('it renders fields as disabled when not editable', () => { + const wrapper = shallowWithIntl(); + expect(wrapper.find('EuiComboBox').prop('isDisabled')).toBe(true); + expect(wrapper.find('ClusterPrivileges').prop('editable')).toBe(false); + expect(wrapper.find('IndexPrivileges').prop('editable')).toBe(false); +}); diff --git a/x-pack/plugins/security/public/management/roles/edit_role/privileges/es/elasticsearch_privileges.tsx b/x-pack/plugins/security/public/management/roles/edit_role/privileges/es/elasticsearch_privileges.tsx index 55b89d8832c75..045c4d924c426 100644 --- a/x-pack/plugins/security/public/management/roles/edit_role/privileges/es/elasticsearch_privileges.tsx +++ b/x-pack/plugins/security/public/management/roles/edit_role/privileges/es/elasticsearch_privileges.tsx @@ -66,16 +66,6 @@ export class ElasticsearchPrivileges extends Component { builtinESPrivileges, } = this.props; - const indexProps = { - role, - indicesAPIClient, - validator, - indexPatterns, - license, - onChange, - availableIndexPrivileges: builtinESPrivileges.index, - }; - return ( { role={this.props.role} onChange={this.onClusterPrivilegesChange} builtinClusterPrivileges={builtinESPrivileges.cluster} + editable={editable} /> @@ -171,17 +162,27 @@ export class ElasticsearchPrivileges extends Component {

- - - + - {this.props.editable && ( - - - + {editable && ( + <> + + + + + )}
); diff --git a/x-pack/plugins/security/public/management/roles/edit_role/privileges/es/index_privileges.test.tsx b/x-pack/plugins/security/public/management/roles/edit_role/privileges/es/index_privileges.test.tsx index cdc8ac71fd38d..91f761d1157fa 100644 --- a/x-pack/plugins/security/public/management/roles/edit_role/privileges/es/index_privileges.test.tsx +++ b/x-pack/plugins/security/public/management/roles/edit_role/privileges/es/index_privileges.test.tsx @@ -100,3 +100,49 @@ test('it renders a IndexPrivilegeForm for each privilege on the role', async () await flushPromises(); expect(wrapper.find(IndexPrivilegeForm)).toHaveLength(1); }); + +test('it renders fields as disabled when not editable', async () => { + const license = licenseMock.create(); + license.getFeatures.mockReturnValue({ + allowRoleFieldLevelSecurity: true, + allowRoleDocumentLevelSecurity: true, + } as any); + + const indicesAPIClient = indicesAPIClientMock.create(); + indicesAPIClient.getFields.mockResolvedValue(['foo']); + + const props = { + role: { + name: '', + kibana: [], + elasticsearch: { + cluster: [], + indices: [ + { + names: ['foo*'], + privileges: ['all'], + query: '*', + field_security: { + grant: ['some_field'], + }, + }, + ], + run_as: [], + }, + }, + onChange: jest.fn(), + indexPatterns: [], + editable: false, + validator: new RoleValidator(), + availableIndexPrivileges: ['all', 'read', 'write', 'index'], + indicesAPIClient, + license, + }; + const wrapper = mountWithIntl( + + + + ); + await flushPromises(); + expect(wrapper.find('IndexPrivilegeForm').prop('isRoleReadOnly')).toBe(true); +}); diff --git a/x-pack/plugins/security/public/management/roles/edit_role/privileges/es/index_privileges.tsx b/x-pack/plugins/security/public/management/roles/edit_role/privileges/es/index_privileges.tsx index d761992c275c9..8c8eafa6d6a2b 100644 --- a/x-pack/plugins/security/public/management/roles/edit_role/privileges/es/index_privileges.tsx +++ b/x-pack/plugins/security/public/management/roles/edit_role/privileges/es/index_privileges.tsx @@ -24,6 +24,7 @@ interface Props { license: SecurityLicense; onChange: (role: Role) => void; validator: RoleValidator; + editable?: boolean; } interface State { @@ -33,6 +34,10 @@ interface State { } export class IndexPrivileges extends Component { + static defaultProps: Partial = { + editable: true, + }; + constructor(props: Props) { super(props); this.state = { @@ -54,7 +59,7 @@ export class IndexPrivileges extends Component { // doesn't permit FLS/DLS). allowDocumentLevelSecurity: allowRoleDocumentLevelSecurity || !isRoleEnabled(this.props.role), allowFieldLevelSecurity: allowRoleFieldLevelSecurity || !isRoleEnabled(this.props.role), - isRoleReadOnly: isRoleReadOnly(this.props.role), + isRoleReadOnly: !this.props.editable || isRoleReadOnly(this.props.role), }; const forms = indices.map((indexPrivilege: RoleIndexPrivilege, idx) => ( diff --git a/x-pack/plugins/security/public/management/roles/edit_role/privileges/kibana/space_aware_privilege_section/space_aware_privilege_section.test.tsx b/x-pack/plugins/security/public/management/roles/edit_role/privileges/kibana/space_aware_privilege_section/space_aware_privilege_section.test.tsx index beaaf783f2f4d..8152a21bd931c 100644 --- a/x-pack/plugins/security/public/management/roles/edit_role/privileges/kibana/space_aware_privilege_section/space_aware_privilege_section.test.tsx +++ b/x-pack/plugins/security/public/management/roles/edit_role/privileges/kibana/space_aware_privilege_section/space_aware_privilege_section.test.tsx @@ -87,6 +87,13 @@ describe('', () => { expect(table).toHaveLength(0); }); + it('hides "Add space privilege" button if not editable', () => { + const props = buildProps(); + + const wrapper = mountWithIntl(); + expect(wrapper.find('button[data-test-subj="addSpacePrivilegeButton"]')).toHaveLength(0); + }); + it('Renders flyout after clicking "Add space privilege" button', () => { const props = buildProps({ role: { diff --git a/x-pack/plugins/security/public/management/roles/edit_role/privileges/kibana/space_aware_privilege_section/space_aware_privilege_section.tsx b/x-pack/plugins/security/public/management/roles/edit_role/privileges/kibana/space_aware_privilege_section/space_aware_privilege_section.tsx index 84ba0c7020efb..b01f71e9aa4de 100644 --- a/x-pack/plugins/security/public/management/roles/edit_role/privileges/kibana/space_aware_privilege_section/space_aware_privilege_section.tsx +++ b/x-pack/plugins/security/public/management/roles/edit_role/privileges/kibana/space_aware_privilege_section/space_aware_privilege_section.tsx @@ -180,7 +180,7 @@ export class SpaceAwarePrivilegeSection extends Component { /> } - titleSize={'s'} + titleSize="xs" actions={this.getAvailablePrivilegeButtons(false)} /> ); @@ -194,20 +194,21 @@ export class SpaceAwarePrivilegeSection extends Component { return null; } - const addPrivilegeButton = ( - - - - ); + const addPrivilegeButton = + !hasAvailableSpaces || !this.props.editable ? null : ( + + + + ); if (!hasPrivilegesAssigned) { return addPrivilegeButton; diff --git a/x-pack/plugins/security/public/management/roles/roles_grid/roles_grid_page.test.tsx b/x-pack/plugins/security/public/management/roles/roles_grid/roles_grid_page.test.tsx index ac0ce12aac3d9..57a3a5aa8ad03 100644 --- a/x-pack/plugins/security/public/management/roles/roles_grid/roles_grid_page.test.tsx +++ b/x-pack/plugins/security/public/management/roles/roles_grid/roles_grid_page.test.tsx @@ -234,4 +234,22 @@ describe('', () => { }, ]); }); + + it('hides controls when `readOnly` is enabled', async () => { + const wrapper = mountWithIntl( + + ); + const initialIconCount = wrapper.find(EuiIcon).length; + + await waitForRender(wrapper, (updatedWrapper) => { + return updatedWrapper.find(EuiIcon).length > initialIconCount; + }); + + expect(findTestSubject(wrapper, 'createRoleButton')).toHaveLength(0); + }); }); diff --git a/x-pack/plugins/security/public/management/roles/roles_grid/roles_grid_page.tsx b/x-pack/plugins/security/public/management/roles/roles_grid/roles_grid_page.tsx index 89b7dea7cad1e..8b5631328f6f7 100644 --- a/x-pack/plugins/security/public/management/roles/roles_grid/roles_grid_page.tsx +++ b/x-pack/plugins/security/public/management/roles/roles_grid/roles_grid_page.tsx @@ -46,6 +46,7 @@ interface Props { notifications: NotificationsStart; rolesAPIClient: PublicMethodsOf; history: ScopedHistory; + readOnly?: boolean; } interface State { @@ -63,6 +64,10 @@ const getRoleManagementHref = (action: 'edit' | 'clone', roleName?: string) => { }; export class RolesGridPage extends Component { + static defaultProps: Partial = { + readOnly: false, + }; + private tableRef: React.RefObject>; constructor(props: Props) { super(props); @@ -106,19 +111,23 @@ export class RolesGridPage extends Component { defaultMessage="Apply roles to groups of users and manage permissions across the stack." /> } - rightSideItems={[ - - - , - ]} + rightSideItems={ + this.props.readOnly + ? undefined + : [ + + + , + ] + } /> @@ -139,11 +148,16 @@ export class RolesGridPage extends Component { responsive={false} columns={this.getColumnConfig()} hasActions={true} - selection={{ - selectable: (role: Role) => !role.metadata || !role.metadata._reserved, - selectableMessage: (selectable: boolean) => (!selectable ? 'Role is reserved' : ''), - onSelectionChange: (selection: Role[]) => this.setState({ selection }), - }} + selection={ + this.props.readOnly + ? undefined + : { + selectable: (role: Role) => !role.metadata || !role.metadata._reserved, + selectableMessage: (selectable: boolean) => + !selectable ? 'Role is reserved' : '', + onSelectionChange: (selection: Role[]) => this.setState({ selection }), + } + } pagination={{ initialPageSize: 20, pageSizeOptions: [10, 20, 30, 50, 100], @@ -188,7 +202,7 @@ export class RolesGridPage extends Component { }; private getColumnConfig = () => { - return [ + const config: Array> = [ { field: 'name', name: i18n.translate('xpack.security.management.roles.nameColumnName', { @@ -218,7 +232,10 @@ export class RolesGridPage extends Component { return this.getRoleStatusBadges(record); }, }, - { + ]; + + if (!this.props.readOnly) { + config.push({ name: i18n.translate('xpack.security.management.roles.actionsColumnName', { defaultMessage: 'Actions', }), @@ -289,7 +306,7 @@ export class RolesGridPage extends Component { }, { available: (role: Role) => !isRoleReadOnly(role), - enable: () => this.state.selection.length === 0, + enabled: () => this.state.selection.length === 0, isPrimary: true, render: (role: Role) => { const title = i18n.translate('xpack.security.management.roles.editRoleActionName', { @@ -321,8 +338,10 @@ export class RolesGridPage extends Component { }, }, ], - }, - ] as Array>; + }); + } + + return config; }; private getVisibleRoles = (roles: Role[], filter: string, includeReservedRoles: boolean) => { diff --git a/x-pack/plugins/security/public/management/roles/roles_management_app.test.tsx b/x-pack/plugins/security/public/management/roles/roles_management_app.test.tsx index a6e06351f38c9..f1536631a66e7 100644 --- a/x-pack/plugins/security/public/management/roles/roles_management_app.test.tsx +++ b/x-pack/plugins/security/public/management/roles/roles_management_app.test.tsx @@ -32,6 +32,12 @@ async function mountApp(basePath: string, pathname: string) { const featuresStart = featuresPluginMock.createStart(); const coreStart = coreMock.createStart(); + coreStart.application.capabilities = { + ...coreStart.application.capabilities, + roles: { + save: true, + }, + }; let unmount: Unmount = noop; await act(async () => { @@ -84,7 +90,7 @@ describe('rolesManagementApp', () => { expect(docTitle.reset).not.toHaveBeenCalled(); expect(container).toMatchInlineSnapshot(`
- Roles Page: {"notifications":{"toasts":{}},"rolesAPIClient":{"http":{"basePath":{"basePath":"","serverBasePath":""},"anonymousPaths":{},"externalUrl":{}}},"history":{"action":"PUSH","length":1,"location":{"pathname":"/","search":"","hash":""}}} + Roles Page: {"notifications":{"toasts":{}},"rolesAPIClient":{"http":{"basePath":{"basePath":"","serverBasePath":""},"anonymousPaths":{},"externalUrl":{}}},"history":{"action":"PUSH","length":1,"location":{"pathname":"/","search":"","hash":""}},"readOnly":false}
`); @@ -106,7 +112,7 @@ describe('rolesManagementApp', () => { expect(docTitle.reset).not.toHaveBeenCalled(); expect(container).toMatchInlineSnapshot(`
- Role Edit Page: {"action":"edit","rolesAPIClient":{"http":{"basePath":{"basePath":"","serverBasePath":""},"anonymousPaths":{},"externalUrl":{}}},"userAPIClient":{"http":{"basePath":{"basePath":"","serverBasePath":""},"anonymousPaths":{},"externalUrl":{}}},"indicesAPIClient":{"fieldCache":{},"http":{"basePath":{"basePath":"","serverBasePath":""},"anonymousPaths":{},"externalUrl":{}}},"privilegesAPIClient":{"http":{"basePath":{"basePath":"","serverBasePath":""},"anonymousPaths":{},"externalUrl":{}}},"http":{"basePath":{"basePath":"","serverBasePath":""},"anonymousPaths":{},"externalUrl":{}},"notifications":{"toasts":{}},"fatalErrors":{},"license":{"features$":{}},"docLinks":{},"uiCapabilities":{"catalogue":{},"management":{},"navLinks":{}},"history":{"action":"PUSH","length":1,"location":{"pathname":"/edit","search":"","hash":""}}} + Role Edit Page: {"action":"edit","rolesAPIClient":{"http":{"basePath":{"basePath":"","serverBasePath":""},"anonymousPaths":{},"externalUrl":{}}},"userAPIClient":{"http":{"basePath":{"basePath":"","serverBasePath":""},"anonymousPaths":{},"externalUrl":{}}},"indicesAPIClient":{"fieldCache":{},"http":{"basePath":{"basePath":"","serverBasePath":""},"anonymousPaths":{},"externalUrl":{}}},"privilegesAPIClient":{"http":{"basePath":{"basePath":"","serverBasePath":""},"anonymousPaths":{},"externalUrl":{}}},"http":{"basePath":{"basePath":"","serverBasePath":""},"anonymousPaths":{},"externalUrl":{}},"notifications":{"toasts":{}},"fatalErrors":{},"license":{"features$":{}},"docLinks":{},"uiCapabilities":{"catalogue":{},"management":{},"navLinks":{},"roles":{"save":true}},"history":{"action":"PUSH","length":1,"location":{"pathname":"/edit","search":"","hash":""}}}
`); @@ -133,7 +139,7 @@ describe('rolesManagementApp', () => { expect(docTitle.reset).not.toHaveBeenCalled(); expect(container).toMatchInlineSnapshot(`
- Role Edit Page: {"action":"edit","roleName":"role@name","rolesAPIClient":{"http":{"basePath":{"basePath":"","serverBasePath":""},"anonymousPaths":{},"externalUrl":{}}},"userAPIClient":{"http":{"basePath":{"basePath":"","serverBasePath":""},"anonymousPaths":{},"externalUrl":{}}},"indicesAPIClient":{"fieldCache":{},"http":{"basePath":{"basePath":"","serverBasePath":""},"anonymousPaths":{},"externalUrl":{}}},"privilegesAPIClient":{"http":{"basePath":{"basePath":"","serverBasePath":""},"anonymousPaths":{},"externalUrl":{}}},"http":{"basePath":{"basePath":"","serverBasePath":""},"anonymousPaths":{},"externalUrl":{}},"notifications":{"toasts":{}},"fatalErrors":{},"license":{"features$":{}},"docLinks":{},"uiCapabilities":{"catalogue":{},"management":{},"navLinks":{}},"history":{"action":"PUSH","length":1,"location":{"pathname":"/edit/role@name","search":"","hash":""}}} + Role Edit Page: {"action":"edit","roleName":"role@name","rolesAPIClient":{"http":{"basePath":{"basePath":"","serverBasePath":""},"anonymousPaths":{},"externalUrl":{}}},"userAPIClient":{"http":{"basePath":{"basePath":"","serverBasePath":""},"anonymousPaths":{},"externalUrl":{}}},"indicesAPIClient":{"fieldCache":{},"http":{"basePath":{"basePath":"","serverBasePath":""},"anonymousPaths":{},"externalUrl":{}}},"privilegesAPIClient":{"http":{"basePath":{"basePath":"","serverBasePath":""},"anonymousPaths":{},"externalUrl":{}}},"http":{"basePath":{"basePath":"","serverBasePath":""},"anonymousPaths":{},"externalUrl":{}},"notifications":{"toasts":{}},"fatalErrors":{},"license":{"features$":{}},"docLinks":{},"uiCapabilities":{"catalogue":{},"management":{},"navLinks":{},"roles":{"save":true}},"history":{"action":"PUSH","length":1,"location":{"pathname":"/edit/role@name","search":"","hash":""}}}
`); @@ -160,7 +166,7 @@ describe('rolesManagementApp', () => { expect(docTitle.reset).not.toHaveBeenCalled(); expect(container).toMatchInlineSnapshot(`
- Role Edit Page: {"action":"clone","roleName":"someRoleName","rolesAPIClient":{"http":{"basePath":{"basePath":"","serverBasePath":""},"anonymousPaths":{},"externalUrl":{}}},"userAPIClient":{"http":{"basePath":{"basePath":"","serverBasePath":""},"anonymousPaths":{},"externalUrl":{}}},"indicesAPIClient":{"fieldCache":{},"http":{"basePath":{"basePath":"","serverBasePath":""},"anonymousPaths":{},"externalUrl":{}}},"privilegesAPIClient":{"http":{"basePath":{"basePath":"","serverBasePath":""},"anonymousPaths":{},"externalUrl":{}}},"http":{"basePath":{"basePath":"","serverBasePath":""},"anonymousPaths":{},"externalUrl":{}},"notifications":{"toasts":{}},"fatalErrors":{},"license":{"features$":{}},"docLinks":{},"uiCapabilities":{"catalogue":{},"management":{},"navLinks":{}},"history":{"action":"PUSH","length":1,"location":{"pathname":"/clone/someRoleName","search":"","hash":""}}} + Role Edit Page: {"action":"clone","roleName":"someRoleName","rolesAPIClient":{"http":{"basePath":{"basePath":"","serverBasePath":""},"anonymousPaths":{},"externalUrl":{}}},"userAPIClient":{"http":{"basePath":{"basePath":"","serverBasePath":""},"anonymousPaths":{},"externalUrl":{}}},"indicesAPIClient":{"fieldCache":{},"http":{"basePath":{"basePath":"","serverBasePath":""},"anonymousPaths":{},"externalUrl":{}}},"privilegesAPIClient":{"http":{"basePath":{"basePath":"","serverBasePath":""},"anonymousPaths":{},"externalUrl":{}}},"http":{"basePath":{"basePath":"","serverBasePath":""},"anonymousPaths":{},"externalUrl":{}},"notifications":{"toasts":{}},"fatalErrors":{},"license":{"features$":{}},"docLinks":{},"uiCapabilities":{"catalogue":{},"management":{},"navLinks":{},"roles":{"save":true}},"history":{"action":"PUSH","length":1,"location":{"pathname":"/clone/someRoleName","search":"","hash":""}}}
`); diff --git a/x-pack/plugins/security/public/management/roles/roles_management_app.tsx b/x-pack/plugins/security/public/management/roles/roles_management_app.tsx index e0939d5cbf48b..30ddeb590042a 100644 --- a/x-pack/plugins/security/public/management/roles/roles_management_app.tsx +++ b/x-pack/plugins/security/public/management/roles/roles_management_app.tsx @@ -21,6 +21,7 @@ import { createBreadcrumbsChangeHandler, } from '../../components/breadcrumb'; import type { PluginStartDependencies } from '../../plugin'; +import { ReadonlyBadge } from '../badges/readonly_badge'; import { tryDecodeURIComponent } from '../url_utils'; interface CreateParams { @@ -118,6 +119,12 @@ export const rolesManagementApp = Object.freeze({ + @@ -127,6 +134,7 @@ export const rolesManagementApp = Object.freeze({ notifications={notifications} rolesAPIClient={rolesAPIClient} history={history} + readOnly={!startServices.application.capabilities.roles.save} /> diff --git a/x-pack/plugins/security/public/management/users/users_grid/users_grid_page.tsx b/x-pack/plugins/security/public/management/users/users_grid/users_grid_page.tsx index 0649de83749cd..fa4fb04099b72 100644 --- a/x-pack/plugins/security/public/management/users/users_grid/users_grid_page.tsx +++ b/x-pack/plugins/security/public/management/users/users_grid/users_grid_page.tsx @@ -74,6 +74,7 @@ export class UsersGridPage extends Component { isTableLoading: false, }; } + public componentDidMount() { this.loadUsersAndRoles(); } diff --git a/x-pack/plugins/security/server/features/security_features.ts b/x-pack/plugins/security/server/features/security_features.ts index 396f2d1640e1f..46184a845b66c 100644 --- a/x-pack/plugins/security/server/features/security_features.ts +++ b/x-pack/plugins/security/server/features/security_features.ts @@ -34,6 +34,10 @@ const rolesManagementFeature: ElasticsearchFeatureConfig = { privileges: [ { requiredClusterPrivileges: ['manage_security'], + ui: ['save'], + }, + { + requiredClusterPrivileges: ['read_security'], ui: [], }, ], From bae2fb5544f045b0220146f3f86b017b7295031b Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Mon, 31 Oct 2022 00:57:13 -0400 Subject: [PATCH 026/111] [api-docs] Daily api_docs build (#144212) --- 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_chat.mdx | 2 +- api_docs/cloud_experiments.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/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/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/files.mdx | 2 +- api_docs/fleet.mdx | 2 +- api_docs/global_search.mdx | 2 +- api_docs/guided_onboarding.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_analytics_shippers_gainsight.mdx | 2 +- api_docs/kbn_apm_config_loader.mdx | 2 +- api_docs/kbn_apm_synthtrace.mdx | 2 +- api_docs/kbn_apm_utils.mdx | 2 +- api_docs/kbn_axe_config.mdx | 2 +- api_docs/kbn_cases_components.mdx | 2 +- api_docs/kbn_chart_icons.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_content_management_table_list.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_application_browser.mdx | 2 +- api_docs/kbn_core_application_browser_internal.mdx | 2 +- api_docs/kbn_core_application_browser_mocks.mdx | 2 +- api_docs/kbn_core_application_common.mdx | 2 +- api_docs/kbn_core_apps_browser_internal.mdx | 2 +- api_docs/kbn_core_apps_browser_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_browser_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_chrome_browser.mdx | 2 +- api_docs/kbn_core_chrome_browser_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_deprecations_server.mdx | 2 +- api_docs/kbn_core_deprecations_server_internal.mdx | 2 +- api_docs/kbn_core_deprecations_server_mocks.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_request_handler_context_server.mdx | 2 +- api_docs/kbn_core_http_resources_server.mdx | 2 +- api_docs/kbn_core_http_resources_server_internal.mdx | 2 +- api_docs/kbn_core_http_resources_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_i18n_server.mdx | 2 +- api_docs/kbn_core_i18n_server_internal.mdx | 2 +- api_docs/kbn_core_i18n_server_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_lifecycle_browser.mdx | 2 +- api_docs/kbn_core_lifecycle_browser_mocks.mdx | 2 +- api_docs/kbn_core_lifecycle_server.mdx | 2 +- api_docs/kbn_core_lifecycle_server_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_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_notifications_browser.mdx | 2 +- api_docs/kbn_core_notifications_browser_internal.mdx | 2 +- api_docs/kbn_core_notifications_browser_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_plugins_browser.mdx | 2 +- api_docs/kbn_core_plugins_browser_mocks.mdx | 2 +- api_docs/kbn_core_plugins_server.mdx | 2 +- api_docs/kbn_core_plugins_server_mocks.mdx | 2 +- api_docs/kbn_core_preboot_server.mdx | 2 +- api_docs/kbn_core_preboot_server_mocks.mdx | 2 +- api_docs/kbn_core_rendering_browser_mocks.mdx | 2 +- api_docs/kbn_core_rendering_server_internal.mdx | 2 +- api_docs/kbn_core_rendering_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_api_server_internal.mdx | 2 +- api_docs/kbn_core_saved_objects_api_server_mocks.mdx | 2 +- api_docs/kbn_core_saved_objects_base_server_internal.mdx | 2 +- api_docs/kbn_core_saved_objects_base_server_mocks.mdx | 2 +- api_docs/kbn_core_saved_objects_browser.mdx | 2 +- api_docs/kbn_core_saved_objects_browser_internal.mdx | 2 +- api_docs/kbn_core_saved_objects_browser_mocks.mdx | 2 +- api_docs/kbn_core_saved_objects_common.mdx | 2 +- .../kbn_core_saved_objects_import_export_server_internal.mdx | 2 +- api_docs/kbn_core_saved_objects_import_export_server_mocks.mdx | 2 +- api_docs/kbn_core_saved_objects_migration_server_internal.mdx | 2 +- api_docs/kbn_core_saved_objects_migration_server_mocks.mdx | 2 +- api_docs/kbn_core_saved_objects_server.mdx | 2 +- api_docs/kbn_core_saved_objects_server_internal.mdx | 2 +- api_docs/kbn_core_saved_objects_server_mocks.mdx | 2 +- api_docs/kbn_core_saved_objects_utils_server.mdx | 2 +- api_docs/kbn_core_status_common.mdx | 2 +- api_docs/kbn_core_status_common_internal.mdx | 2 +- api_docs/kbn_core_status_server.mdx | 2 +- api_docs/kbn_core_status_server_internal.mdx | 2 +- api_docs/kbn_core_status_server_mocks.mdx | 2 +- api_docs/kbn_core_test_helpers_deprecations_getters.mdx | 2 +- api_docs/kbn_core_test_helpers_http_setup_browser.mdx | 2 +- api_docs/kbn_core_test_helpers_so_type_serializer.mdx | 2 +- api_docs/kbn_core_test_helpers_test_utils.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_core_ui_settings_server.mdx | 2 +- api_docs/kbn_core_ui_settings_server_internal.mdx | 2 +- api_docs/kbn_core_ui_settings_server_mocks.mdx | 2 +- api_docs/kbn_core_usage_data_server.mdx | 2 +- api_docs/kbn_core_usage_data_server_internal.mdx | 2 +- api_docs/kbn_core_usage_data_server_mocks.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_ebt_tools.mdx | 2 +- api_docs/kbn_es.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_es_types.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_ftr_common_functional_services.mdx | 2 +- api_docs/kbn_generate.mdx | 2 +- api_docs/kbn_get_repo_files.mdx | 2 +- api_docs/kbn_guided_onboarding.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_i18n_react.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_journeys.mdx | 2 +- api_docs/kbn_kibana_manifest_schema.mdx | 2 +- api_docs/kbn_language_documentation_popover.mdx | 2 +- api_docs/kbn_logging.mdx | 2 +- api_docs/kbn_logging_mocks.mdx | 2 +- api_docs/kbn_managed_vscode_config.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_osquery_io_ts_types.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_securitysolution_autocomplete.mdx | 2 +- api_docs/kbn_securitysolution_es_utils.mdx | 2 +- api_docs/kbn_securitysolution_exception_list_components.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_svg.mdx | 2 +- api_docs/kbn_shared_ux_avatar_solution.mdx | 2 +- api_docs/kbn_shared_ux_avatar_user_profile_components.mdx | 2 +- api_docs/kbn_shared_ux_button_exit_full_screen.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_link_redirect_app.mdx | 2 +- api_docs/kbn_shared_ux_link_redirect_app_mocks.mdx | 2 +- api_docs/kbn_shared_ux_markdown.mdx | 2 +- api_docs/kbn_shared_ux_markdown_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_kibana_template.mdx | 2 +- api_docs/kbn_shared_ux_page_kibana_template_mocks.mdx | 2 +- api_docs/kbn_shared_ux_page_no_data.mdx | 2 +- api_docs/kbn_shared_ux_page_no_data_config.mdx | 2 +- api_docs/kbn_shared_ux_page_no_data_config_mocks.mdx | 2 +- api_docs/kbn_shared_ux_page_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_router.mdx | 2 +- api_docs/kbn_shared_ux_router_mocks.mdx | 2 +- api_docs/kbn_shared_ux_storybook_config.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_test_subj_selector.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_shared_deps_src.mdx | 2 +- api_docs/kbn_ui_theme.mdx | 2 +- api_docs/kbn_user_profile_components.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/profiling.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_finder.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/saved_search.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/snapshot_restore.mdx | 2 +- api_docs/spaces.mdx | 2 +- api_docs/stack_alerts.mdx | 2 +- api_docs/stack_connectors.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_field_list.mdx | 2 +- api_docs/unified_histogram.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 +- 429 files changed, 429 insertions(+), 429 deletions(-) diff --git a/api_docs/actions.mdx b/api_docs/actions.mdx index d2cc1eedd57f2..6d980d46cb6a8 100644 --- a/api_docs/actions.mdx +++ b/api_docs/actions.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/actions title: "actions" image: https://source.unsplash.com/400x175/?github description: API docs for the actions plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'actions'] --- import actionsObj from './actions.devdocs.json'; diff --git a/api_docs/advanced_settings.mdx b/api_docs/advanced_settings.mdx index d81f4a2d0bbce..82dd64815f77e 100644 --- a/api_docs/advanced_settings.mdx +++ b/api_docs/advanced_settings.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/advancedSettings title: "advancedSettings" image: https://source.unsplash.com/400x175/?github description: API docs for the advancedSettings plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'advancedSettings'] --- import advancedSettingsObj from './advanced_settings.devdocs.json'; diff --git a/api_docs/aiops.mdx b/api_docs/aiops.mdx index 800e5a6f69e8a..ae94b9721b6d6 100644 --- a/api_docs/aiops.mdx +++ b/api_docs/aiops.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/aiops title: "aiops" image: https://source.unsplash.com/400x175/?github description: API docs for the aiops plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'aiops'] --- import aiopsObj from './aiops.devdocs.json'; diff --git a/api_docs/alerting.mdx b/api_docs/alerting.mdx index 8e105811c289f..f324f610ed303 100644 --- a/api_docs/alerting.mdx +++ b/api_docs/alerting.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/alerting title: "alerting" image: https://source.unsplash.com/400x175/?github description: API docs for the alerting plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'alerting'] --- import alertingObj from './alerting.devdocs.json'; diff --git a/api_docs/apm.mdx b/api_docs/apm.mdx index e9e5e15afe3d0..d54bfacf9cf1c 100644 --- a/api_docs/apm.mdx +++ b/api_docs/apm.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/apm title: "apm" image: https://source.unsplash.com/400x175/?github description: API docs for the apm plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'apm'] --- import apmObj from './apm.devdocs.json'; diff --git a/api_docs/banners.mdx b/api_docs/banners.mdx index 59206b3c4b9ea..0e9e7ca09f0a0 100644 --- a/api_docs/banners.mdx +++ b/api_docs/banners.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/banners title: "banners" image: https://source.unsplash.com/400x175/?github description: API docs for the banners plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'banners'] --- import bannersObj from './banners.devdocs.json'; diff --git a/api_docs/bfetch.mdx b/api_docs/bfetch.mdx index 646e373ee8b36..eaa3583012578 100644 --- a/api_docs/bfetch.mdx +++ b/api_docs/bfetch.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/bfetch title: "bfetch" image: https://source.unsplash.com/400x175/?github description: API docs for the bfetch plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'bfetch'] --- import bfetchObj from './bfetch.devdocs.json'; diff --git a/api_docs/canvas.mdx b/api_docs/canvas.mdx index d917632628495..7f02db839b29b 100644 --- a/api_docs/canvas.mdx +++ b/api_docs/canvas.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/canvas title: "canvas" image: https://source.unsplash.com/400x175/?github description: API docs for the canvas plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'canvas'] --- import canvasObj from './canvas.devdocs.json'; diff --git a/api_docs/cases.mdx b/api_docs/cases.mdx index 30cdb2f3f25dc..39a4327903d7d 100644 --- a/api_docs/cases.mdx +++ b/api_docs/cases.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/cases title: "cases" image: https://source.unsplash.com/400x175/?github description: API docs for the cases plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cases'] --- import casesObj from './cases.devdocs.json'; diff --git a/api_docs/charts.mdx b/api_docs/charts.mdx index b9f59bdcc4e96..a65d7741ef834 100644 --- a/api_docs/charts.mdx +++ b/api_docs/charts.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/charts title: "charts" image: https://source.unsplash.com/400x175/?github description: API docs for the charts plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'charts'] --- import chartsObj from './charts.devdocs.json'; diff --git a/api_docs/cloud.mdx b/api_docs/cloud.mdx index 4eaa3f6e8c989..ab54eb06c927a 100644 --- a/api_docs/cloud.mdx +++ b/api_docs/cloud.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/cloud title: "cloud" image: https://source.unsplash.com/400x175/?github description: API docs for the cloud plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cloud'] --- import cloudObj from './cloud.devdocs.json'; diff --git a/api_docs/cloud_chat.mdx b/api_docs/cloud_chat.mdx index 7ba45c13aaef4..135ed7f006759 100644 --- a/api_docs/cloud_chat.mdx +++ b/api_docs/cloud_chat.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/cloudChat title: "cloudChat" image: https://source.unsplash.com/400x175/?github description: API docs for the cloudChat plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cloudChat'] --- import cloudChatObj from './cloud_chat.devdocs.json'; diff --git a/api_docs/cloud_experiments.mdx b/api_docs/cloud_experiments.mdx index 5602ead490690..c89b7b0df3087 100644 --- a/api_docs/cloud_experiments.mdx +++ b/api_docs/cloud_experiments.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/cloudExperiments title: "cloudExperiments" image: https://source.unsplash.com/400x175/?github description: API docs for the cloudExperiments plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cloudExperiments'] --- import cloudExperimentsObj from './cloud_experiments.devdocs.json'; diff --git a/api_docs/cloud_security_posture.mdx b/api_docs/cloud_security_posture.mdx index 43edd34cf5f1b..84f77ad414f67 100644 --- a/api_docs/cloud_security_posture.mdx +++ b/api_docs/cloud_security_posture.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/cloudSecurityPosture title: "cloudSecurityPosture" image: https://source.unsplash.com/400x175/?github description: API docs for the cloudSecurityPosture plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cloudSecurityPosture'] --- import cloudSecurityPostureObj from './cloud_security_posture.devdocs.json'; diff --git a/api_docs/console.mdx b/api_docs/console.mdx index dc6745ad62ce8..134e69c608d10 100644 --- a/api_docs/console.mdx +++ b/api_docs/console.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/console title: "console" image: https://source.unsplash.com/400x175/?github description: API docs for the console plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'console'] --- import consoleObj from './console.devdocs.json'; diff --git a/api_docs/controls.mdx b/api_docs/controls.mdx index 2d0f541effb8b..c9a449df68e3f 100644 --- a/api_docs/controls.mdx +++ b/api_docs/controls.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/controls title: "controls" image: https://source.unsplash.com/400x175/?github description: API docs for the controls plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'controls'] --- import controlsObj from './controls.devdocs.json'; diff --git a/api_docs/core.mdx b/api_docs/core.mdx index 275e21b764f4f..8bb82b47604b9 100644 --- a/api_docs/core.mdx +++ b/api_docs/core.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/core title: "core" image: https://source.unsplash.com/400x175/?github description: API docs for the core plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'core'] --- import coreObj from './core.devdocs.json'; diff --git a/api_docs/custom_integrations.mdx b/api_docs/custom_integrations.mdx index d56646820e3fa..b7b69b2059960 100644 --- a/api_docs/custom_integrations.mdx +++ b/api_docs/custom_integrations.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/customIntegrations title: "customIntegrations" image: https://source.unsplash.com/400x175/?github description: API docs for the customIntegrations plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'customIntegrations'] --- import customIntegrationsObj from './custom_integrations.devdocs.json'; diff --git a/api_docs/dashboard.mdx b/api_docs/dashboard.mdx index a9c4a62cbd80b..4bd40bd07f3f5 100644 --- a/api_docs/dashboard.mdx +++ b/api_docs/dashboard.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/dashboard title: "dashboard" image: https://source.unsplash.com/400x175/?github description: API docs for the dashboard plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dashboard'] --- import dashboardObj from './dashboard.devdocs.json'; diff --git a/api_docs/dashboard_enhanced.mdx b/api_docs/dashboard_enhanced.mdx index 126656a522f1b..e84e5a6ba3f95 100644 --- a/api_docs/dashboard_enhanced.mdx +++ b/api_docs/dashboard_enhanced.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/dashboardEnhanced title: "dashboardEnhanced" image: https://source.unsplash.com/400x175/?github description: API docs for the dashboardEnhanced plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dashboardEnhanced'] --- import dashboardEnhancedObj from './dashboard_enhanced.devdocs.json'; diff --git a/api_docs/data.mdx b/api_docs/data.mdx index 6b5d91ac51090..e2ab37d8422b8 100644 --- a/api_docs/data.mdx +++ b/api_docs/data.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/data title: "data" image: https://source.unsplash.com/400x175/?github description: API docs for the data plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'data'] --- import dataObj from './data.devdocs.json'; diff --git a/api_docs/data_query.mdx b/api_docs/data_query.mdx index b6bfef39f36b3..090fe6cc27485 100644 --- a/api_docs/data_query.mdx +++ b/api_docs/data_query.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/data-query title: "data.query" image: https://source.unsplash.com/400x175/?github description: API docs for the data.query plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'data.query'] --- import dataQueryObj from './data_query.devdocs.json'; diff --git a/api_docs/data_search.mdx b/api_docs/data_search.mdx index 748e77e9daaab..b475f41bcc942 100644 --- a/api_docs/data_search.mdx +++ b/api_docs/data_search.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/data-search title: "data.search" image: https://source.unsplash.com/400x175/?github description: API docs for the data.search plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'data.search'] --- import dataSearchObj from './data_search.devdocs.json'; diff --git a/api_docs/data_view_editor.mdx b/api_docs/data_view_editor.mdx index 7f8af69253542..f4cf53189f9e5 100644 --- a/api_docs/data_view_editor.mdx +++ b/api_docs/data_view_editor.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/dataViewEditor title: "dataViewEditor" image: https://source.unsplash.com/400x175/?github description: API docs for the dataViewEditor plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dataViewEditor'] --- import dataViewEditorObj from './data_view_editor.devdocs.json'; diff --git a/api_docs/data_view_field_editor.mdx b/api_docs/data_view_field_editor.mdx index 61e346a9c6cbf..e399e0ff45f71 100644 --- a/api_docs/data_view_field_editor.mdx +++ b/api_docs/data_view_field_editor.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/dataViewFieldEditor title: "dataViewFieldEditor" image: https://source.unsplash.com/400x175/?github description: API docs for the dataViewFieldEditor plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dataViewFieldEditor'] --- import dataViewFieldEditorObj from './data_view_field_editor.devdocs.json'; diff --git a/api_docs/data_view_management.mdx b/api_docs/data_view_management.mdx index f9d5ffbc364c4..eb3ca6b3778d4 100644 --- a/api_docs/data_view_management.mdx +++ b/api_docs/data_view_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/dataViewManagement title: "dataViewManagement" image: https://source.unsplash.com/400x175/?github description: API docs for the dataViewManagement plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dataViewManagement'] --- import dataViewManagementObj from './data_view_management.devdocs.json'; diff --git a/api_docs/data_views.mdx b/api_docs/data_views.mdx index 8d76d8595a0aa..d7b22eb8a47ae 100644 --- a/api_docs/data_views.mdx +++ b/api_docs/data_views.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/dataViews title: "dataViews" image: https://source.unsplash.com/400x175/?github description: API docs for the dataViews plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dataViews'] --- import dataViewsObj from './data_views.devdocs.json'; diff --git a/api_docs/data_visualizer.mdx b/api_docs/data_visualizer.mdx index aa5cbb0a56ccc..ee4c916ab8b06 100644 --- a/api_docs/data_visualizer.mdx +++ b/api_docs/data_visualizer.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/dataVisualizer title: "dataVisualizer" image: https://source.unsplash.com/400x175/?github description: API docs for the dataVisualizer plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dataVisualizer'] --- import dataVisualizerObj from './data_visualizer.devdocs.json'; diff --git a/api_docs/deprecations_by_api.mdx b/api_docs/deprecations_by_api.mdx index 692356525090f..89f5fe34bede2 100644 --- a/api_docs/deprecations_by_api.mdx +++ b/api_docs/deprecations_by_api.mdx @@ -7,7 +7,7 @@ id: kibDevDocsDeprecationsByApi slug: /kibana-dev-docs/api-meta/deprecated-api-list-by-api title: Deprecated API usage by API description: A list of deprecated APIs, which plugins are still referencing them, and when they need to be removed by. -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana'] --- diff --git a/api_docs/deprecations_by_plugin.mdx b/api_docs/deprecations_by_plugin.mdx index 808207d620d62..5524feaaed972 100644 --- a/api_docs/deprecations_by_plugin.mdx +++ b/api_docs/deprecations_by_plugin.mdx @@ -7,7 +7,7 @@ id: kibDevDocsDeprecationsByPlugin slug: /kibana-dev-docs/api-meta/deprecated-api-list-by-plugin title: Deprecated API usage by plugin description: A list of deprecated APIs, which plugins are still referencing them, and when they need to be removed by. -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana'] --- diff --git a/api_docs/deprecations_by_team.mdx b/api_docs/deprecations_by_team.mdx index f3956ef1d4546..10072b15d3d51 100644 --- a/api_docs/deprecations_by_team.mdx +++ b/api_docs/deprecations_by_team.mdx @@ -7,7 +7,7 @@ id: kibDevDocsDeprecationsDueByTeam slug: /kibana-dev-docs/api-meta/deprecations-due-by-team title: Deprecated APIs due to be removed, by team description: Lists the teams that are referencing deprecated APIs with a remove by date. -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana'] --- diff --git a/api_docs/dev_tools.mdx b/api_docs/dev_tools.mdx index 472a108cd679d..67a253a4f1268 100644 --- a/api_docs/dev_tools.mdx +++ b/api_docs/dev_tools.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/devTools title: "devTools" image: https://source.unsplash.com/400x175/?github description: API docs for the devTools plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'devTools'] --- import devToolsObj from './dev_tools.devdocs.json'; diff --git a/api_docs/discover.mdx b/api_docs/discover.mdx index 0b6872c71b634..89e7e7c5780db 100644 --- a/api_docs/discover.mdx +++ b/api_docs/discover.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/discover title: "discover" image: https://source.unsplash.com/400x175/?github description: API docs for the discover plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'discover'] --- import discoverObj from './discover.devdocs.json'; diff --git a/api_docs/discover_enhanced.mdx b/api_docs/discover_enhanced.mdx index b600859dee2eb..1325d99ba7662 100644 --- a/api_docs/discover_enhanced.mdx +++ b/api_docs/discover_enhanced.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/discoverEnhanced title: "discoverEnhanced" image: https://source.unsplash.com/400x175/?github description: API docs for the discoverEnhanced plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'discoverEnhanced'] --- import discoverEnhancedObj from './discover_enhanced.devdocs.json'; diff --git a/api_docs/embeddable.mdx b/api_docs/embeddable.mdx index de7ba5e536c48..fb1138f02e3da 100644 --- a/api_docs/embeddable.mdx +++ b/api_docs/embeddable.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/embeddable title: "embeddable" image: https://source.unsplash.com/400x175/?github description: API docs for the embeddable plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'embeddable'] --- import embeddableObj from './embeddable.devdocs.json'; diff --git a/api_docs/embeddable_enhanced.mdx b/api_docs/embeddable_enhanced.mdx index 46fc137e4b9b2..9108e6ee0888d 100644 --- a/api_docs/embeddable_enhanced.mdx +++ b/api_docs/embeddable_enhanced.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/embeddableEnhanced title: "embeddableEnhanced" image: https://source.unsplash.com/400x175/?github description: API docs for the embeddableEnhanced plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'embeddableEnhanced'] --- import embeddableEnhancedObj from './embeddable_enhanced.devdocs.json'; diff --git a/api_docs/encrypted_saved_objects.mdx b/api_docs/encrypted_saved_objects.mdx index fcc9794251ade..d0d2042fee1a4 100644 --- a/api_docs/encrypted_saved_objects.mdx +++ b/api_docs/encrypted_saved_objects.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/encryptedSavedObjects title: "encryptedSavedObjects" image: https://source.unsplash.com/400x175/?github description: API docs for the encryptedSavedObjects plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'encryptedSavedObjects'] --- import encryptedSavedObjectsObj from './encrypted_saved_objects.devdocs.json'; diff --git a/api_docs/enterprise_search.mdx b/api_docs/enterprise_search.mdx index aa139eb532ddf..db0e364bcd224 100644 --- a/api_docs/enterprise_search.mdx +++ b/api_docs/enterprise_search.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/enterpriseSearch title: "enterpriseSearch" image: https://source.unsplash.com/400x175/?github description: API docs for the enterpriseSearch plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'enterpriseSearch'] --- import enterpriseSearchObj from './enterprise_search.devdocs.json'; diff --git a/api_docs/es_ui_shared.mdx b/api_docs/es_ui_shared.mdx index 988fc4980b178..6ea1f3c83b9b5 100644 --- a/api_docs/es_ui_shared.mdx +++ b/api_docs/es_ui_shared.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/esUiShared title: "esUiShared" image: https://source.unsplash.com/400x175/?github description: API docs for the esUiShared plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'esUiShared'] --- import esUiSharedObj from './es_ui_shared.devdocs.json'; diff --git a/api_docs/event_annotation.mdx b/api_docs/event_annotation.mdx index a398445a0902e..b6e1be1ef26df 100644 --- a/api_docs/event_annotation.mdx +++ b/api_docs/event_annotation.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/eventAnnotation title: "eventAnnotation" image: https://source.unsplash.com/400x175/?github description: API docs for the eventAnnotation plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'eventAnnotation'] --- import eventAnnotationObj from './event_annotation.devdocs.json'; diff --git a/api_docs/event_log.mdx b/api_docs/event_log.mdx index a4a822d0fdf55..052566f8bcc07 100644 --- a/api_docs/event_log.mdx +++ b/api_docs/event_log.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/eventLog title: "eventLog" image: https://source.unsplash.com/400x175/?github description: API docs for the eventLog plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'eventLog'] --- import eventLogObj from './event_log.devdocs.json'; diff --git a/api_docs/expression_error.mdx b/api_docs/expression_error.mdx index e280b6071dbc3..659b9da3cf4bc 100644 --- a/api_docs/expression_error.mdx +++ b/api_docs/expression_error.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionError title: "expressionError" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionError plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionError'] --- import expressionErrorObj from './expression_error.devdocs.json'; diff --git a/api_docs/expression_gauge.mdx b/api_docs/expression_gauge.mdx index 001113efbd7dc..9f2979cabcb1d 100644 --- a/api_docs/expression_gauge.mdx +++ b/api_docs/expression_gauge.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionGauge title: "expressionGauge" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionGauge plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionGauge'] --- import expressionGaugeObj from './expression_gauge.devdocs.json'; diff --git a/api_docs/expression_heatmap.mdx b/api_docs/expression_heatmap.mdx index 5024193ecfb11..6f2af127202cf 100644 --- a/api_docs/expression_heatmap.mdx +++ b/api_docs/expression_heatmap.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionHeatmap title: "expressionHeatmap" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionHeatmap plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionHeatmap'] --- import expressionHeatmapObj from './expression_heatmap.devdocs.json'; diff --git a/api_docs/expression_image.mdx b/api_docs/expression_image.mdx index c96a0c5ae0cfc..535afee99a0b6 100644 --- a/api_docs/expression_image.mdx +++ b/api_docs/expression_image.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionImage title: "expressionImage" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionImage plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionImage'] --- import expressionImageObj from './expression_image.devdocs.json'; diff --git a/api_docs/expression_legacy_metric_vis.mdx b/api_docs/expression_legacy_metric_vis.mdx index 71fef91c5b42b..2d8ec17e17628 100644 --- a/api_docs/expression_legacy_metric_vis.mdx +++ b/api_docs/expression_legacy_metric_vis.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionLegacyMetricVis title: "expressionLegacyMetricVis" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionLegacyMetricVis plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionLegacyMetricVis'] --- import expressionLegacyMetricVisObj from './expression_legacy_metric_vis.devdocs.json'; diff --git a/api_docs/expression_metric.mdx b/api_docs/expression_metric.mdx index 6ff0624a679ab..c63b849c181cb 100644 --- a/api_docs/expression_metric.mdx +++ b/api_docs/expression_metric.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionMetric title: "expressionMetric" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionMetric plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionMetric'] --- import expressionMetricObj from './expression_metric.devdocs.json'; diff --git a/api_docs/expression_metric_vis.mdx b/api_docs/expression_metric_vis.mdx index b169b68cb0d47..63fb6b4271b03 100644 --- a/api_docs/expression_metric_vis.mdx +++ b/api_docs/expression_metric_vis.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionMetricVis title: "expressionMetricVis" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionMetricVis plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionMetricVis'] --- import expressionMetricVisObj from './expression_metric_vis.devdocs.json'; diff --git a/api_docs/expression_partition_vis.mdx b/api_docs/expression_partition_vis.mdx index a48a4f0a30204..95ec1e7803fa8 100644 --- a/api_docs/expression_partition_vis.mdx +++ b/api_docs/expression_partition_vis.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionPartitionVis title: "expressionPartitionVis" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionPartitionVis plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionPartitionVis'] --- import expressionPartitionVisObj from './expression_partition_vis.devdocs.json'; diff --git a/api_docs/expression_repeat_image.mdx b/api_docs/expression_repeat_image.mdx index afb1ce65b3a08..2fbe52f3dfcca 100644 --- a/api_docs/expression_repeat_image.mdx +++ b/api_docs/expression_repeat_image.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionRepeatImage title: "expressionRepeatImage" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionRepeatImage plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionRepeatImage'] --- import expressionRepeatImageObj from './expression_repeat_image.devdocs.json'; diff --git a/api_docs/expression_reveal_image.mdx b/api_docs/expression_reveal_image.mdx index b891374c2c200..e2d79b171cdaf 100644 --- a/api_docs/expression_reveal_image.mdx +++ b/api_docs/expression_reveal_image.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionRevealImage title: "expressionRevealImage" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionRevealImage plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionRevealImage'] --- import expressionRevealImageObj from './expression_reveal_image.devdocs.json'; diff --git a/api_docs/expression_shape.mdx b/api_docs/expression_shape.mdx index f90876a3b951a..2e181d154107a 100644 --- a/api_docs/expression_shape.mdx +++ b/api_docs/expression_shape.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionShape title: "expressionShape" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionShape plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionShape'] --- import expressionShapeObj from './expression_shape.devdocs.json'; diff --git a/api_docs/expression_tagcloud.mdx b/api_docs/expression_tagcloud.mdx index fb99f15c5cf0e..4822d7635fbd0 100644 --- a/api_docs/expression_tagcloud.mdx +++ b/api_docs/expression_tagcloud.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionTagcloud title: "expressionTagcloud" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionTagcloud plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionTagcloud'] --- import expressionTagcloudObj from './expression_tagcloud.devdocs.json'; diff --git a/api_docs/expression_x_y.mdx b/api_docs/expression_x_y.mdx index af67ee29b8d3f..868177b746dd0 100644 --- a/api_docs/expression_x_y.mdx +++ b/api_docs/expression_x_y.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionXY title: "expressionXY" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionXY plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionXY'] --- import expressionXYObj from './expression_x_y.devdocs.json'; diff --git a/api_docs/expressions.mdx b/api_docs/expressions.mdx index 18e6bed0b71e4..198334ba4cda2 100644 --- a/api_docs/expressions.mdx +++ b/api_docs/expressions.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressions title: "expressions" image: https://source.unsplash.com/400x175/?github description: API docs for the expressions plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressions'] --- import expressionsObj from './expressions.devdocs.json'; diff --git a/api_docs/features.mdx b/api_docs/features.mdx index 9b90178319fcd..e34c71768340d 100644 --- a/api_docs/features.mdx +++ b/api_docs/features.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/features title: "features" image: https://source.unsplash.com/400x175/?github description: API docs for the features plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'features'] --- import featuresObj from './features.devdocs.json'; diff --git a/api_docs/field_formats.mdx b/api_docs/field_formats.mdx index cf5b2dd2ba242..4f6c8b8474fbc 100644 --- a/api_docs/field_formats.mdx +++ b/api_docs/field_formats.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/fieldFormats title: "fieldFormats" image: https://source.unsplash.com/400x175/?github description: API docs for the fieldFormats plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'fieldFormats'] --- import fieldFormatsObj from './field_formats.devdocs.json'; diff --git a/api_docs/file_upload.mdx b/api_docs/file_upload.mdx index ffacebc305bac..9b4c07a74c490 100644 --- a/api_docs/file_upload.mdx +++ b/api_docs/file_upload.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/fileUpload title: "fileUpload" image: https://source.unsplash.com/400x175/?github description: API docs for the fileUpload plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'fileUpload'] --- import fileUploadObj from './file_upload.devdocs.json'; diff --git a/api_docs/files.mdx b/api_docs/files.mdx index 35112a013fc74..881ab6389c456 100644 --- a/api_docs/files.mdx +++ b/api_docs/files.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/files title: "files" image: https://source.unsplash.com/400x175/?github description: API docs for the files plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'files'] --- import filesObj from './files.devdocs.json'; diff --git a/api_docs/fleet.mdx b/api_docs/fleet.mdx index 8c770c9194337..cb42acfa5f94e 100644 --- a/api_docs/fleet.mdx +++ b/api_docs/fleet.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/fleet title: "fleet" image: https://source.unsplash.com/400x175/?github description: API docs for the fleet plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'fleet'] --- import fleetObj from './fleet.devdocs.json'; diff --git a/api_docs/global_search.mdx b/api_docs/global_search.mdx index 707c8b371bc9c..582ac8e70514a 100644 --- a/api_docs/global_search.mdx +++ b/api_docs/global_search.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/globalSearch title: "globalSearch" image: https://source.unsplash.com/400x175/?github description: API docs for the globalSearch plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'globalSearch'] --- import globalSearchObj from './global_search.devdocs.json'; diff --git a/api_docs/guided_onboarding.mdx b/api_docs/guided_onboarding.mdx index a4dc3baddbebf..fcb9432148235 100644 --- a/api_docs/guided_onboarding.mdx +++ b/api_docs/guided_onboarding.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/guidedOnboarding title: "guidedOnboarding" image: https://source.unsplash.com/400x175/?github description: API docs for the guidedOnboarding plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'guidedOnboarding'] --- import guidedOnboardingObj from './guided_onboarding.devdocs.json'; diff --git a/api_docs/home.mdx b/api_docs/home.mdx index 4ee7afa7bce74..ef70e64058105 100644 --- a/api_docs/home.mdx +++ b/api_docs/home.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/home title: "home" image: https://source.unsplash.com/400x175/?github description: API docs for the home plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'home'] --- import homeObj from './home.devdocs.json'; diff --git a/api_docs/index_lifecycle_management.mdx b/api_docs/index_lifecycle_management.mdx index 37bd7bd5788b5..dbebd786a98c1 100644 --- a/api_docs/index_lifecycle_management.mdx +++ b/api_docs/index_lifecycle_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/indexLifecycleManagement title: "indexLifecycleManagement" image: https://source.unsplash.com/400x175/?github description: API docs for the indexLifecycleManagement plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'indexLifecycleManagement'] --- import indexLifecycleManagementObj from './index_lifecycle_management.devdocs.json'; diff --git a/api_docs/index_management.mdx b/api_docs/index_management.mdx index 3354c12081952..409c88b5aa69f 100644 --- a/api_docs/index_management.mdx +++ b/api_docs/index_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/indexManagement title: "indexManagement" image: https://source.unsplash.com/400x175/?github description: API docs for the indexManagement plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'indexManagement'] --- import indexManagementObj from './index_management.devdocs.json'; diff --git a/api_docs/infra.mdx b/api_docs/infra.mdx index de2f912988972..47b3a408e4970 100644 --- a/api_docs/infra.mdx +++ b/api_docs/infra.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/infra title: "infra" image: https://source.unsplash.com/400x175/?github description: API docs for the infra plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'infra'] --- import infraObj from './infra.devdocs.json'; diff --git a/api_docs/inspector.mdx b/api_docs/inspector.mdx index 98d8937a6debd..68cc882c211db 100644 --- a/api_docs/inspector.mdx +++ b/api_docs/inspector.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/inspector title: "inspector" image: https://source.unsplash.com/400x175/?github description: API docs for the inspector plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'inspector'] --- import inspectorObj from './inspector.devdocs.json'; diff --git a/api_docs/interactive_setup.mdx b/api_docs/interactive_setup.mdx index 0432377dc00ad..0a75b7b3fcdbd 100644 --- a/api_docs/interactive_setup.mdx +++ b/api_docs/interactive_setup.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/interactiveSetup title: "interactiveSetup" image: https://source.unsplash.com/400x175/?github description: API docs for the interactiveSetup plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'interactiveSetup'] --- import interactiveSetupObj from './interactive_setup.devdocs.json'; diff --git a/api_docs/kbn_ace.mdx b/api_docs/kbn_ace.mdx index 520074958bc88..6e8eaac719d76 100644 --- a/api_docs/kbn_ace.mdx +++ b/api_docs/kbn_ace.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ace title: "@kbn/ace" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ace plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ace'] --- import kbnAceObj from './kbn_ace.devdocs.json'; diff --git a/api_docs/kbn_aiops_components.mdx b/api_docs/kbn_aiops_components.mdx index 512462408b861..aeed11bdb22d1 100644 --- a/api_docs/kbn_aiops_components.mdx +++ b/api_docs/kbn_aiops_components.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-aiops-components title: "@kbn/aiops-components" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/aiops-components plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/aiops-components'] --- import kbnAiopsComponentsObj from './kbn_aiops_components.devdocs.json'; diff --git a/api_docs/kbn_aiops_utils.mdx b/api_docs/kbn_aiops_utils.mdx index fa30e0393a485..418329f9bd105 100644 --- a/api_docs/kbn_aiops_utils.mdx +++ b/api_docs/kbn_aiops_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-aiops-utils title: "@kbn/aiops-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/aiops-utils plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/aiops-utils'] --- import kbnAiopsUtilsObj from './kbn_aiops_utils.devdocs.json'; diff --git a/api_docs/kbn_alerts.mdx b/api_docs/kbn_alerts.mdx index 8ce5b851a782e..3bd82d9fdf731 100644 --- a/api_docs/kbn_alerts.mdx +++ b/api_docs/kbn_alerts.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-alerts title: "@kbn/alerts" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/alerts plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/alerts'] --- import kbnAlertsObj from './kbn_alerts.devdocs.json'; diff --git a/api_docs/kbn_analytics.mdx b/api_docs/kbn_analytics.mdx index c4fa777b8789e..308cbd75b1b13 100644 --- a/api_docs/kbn_analytics.mdx +++ b/api_docs/kbn_analytics.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-analytics title: "@kbn/analytics" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/analytics plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics'] --- import kbnAnalyticsObj from './kbn_analytics.devdocs.json'; diff --git a/api_docs/kbn_analytics_client.mdx b/api_docs/kbn_analytics_client.mdx index 973f51ad9e67a..c0d900d2839be 100644 --- a/api_docs/kbn_analytics_client.mdx +++ b/api_docs/kbn_analytics_client.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-analytics-client title: "@kbn/analytics-client" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/analytics-client plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics-client'] --- import kbnAnalyticsClientObj from './kbn_analytics_client.devdocs.json'; diff --git a/api_docs/kbn_analytics_shippers_elastic_v3_browser.mdx b/api_docs/kbn_analytics_shippers_elastic_v3_browser.mdx index 808fd94de9a77..46192c3340528 100644 --- a/api_docs/kbn_analytics_shippers_elastic_v3_browser.mdx +++ b/api_docs/kbn_analytics_shippers_elastic_v3_browser.mdx @@ -8,7 +8,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 description: API docs for the @kbn/analytics-shippers-elastic-v3-browser plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics-shippers-elastic-v3-browser'] --- import kbnAnalyticsShippersElasticV3BrowserObj from './kbn_analytics_shippers_elastic_v3_browser.devdocs.json'; diff --git a/api_docs/kbn_analytics_shippers_elastic_v3_common.mdx b/api_docs/kbn_analytics_shippers_elastic_v3_common.mdx index 6bc0ffe9efcc9..8e3823904fd0b 100644 --- a/api_docs/kbn_analytics_shippers_elastic_v3_common.mdx +++ b/api_docs/kbn_analytics_shippers_elastic_v3_common.mdx @@ -8,7 +8,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 description: API docs for the @kbn/analytics-shippers-elastic-v3-common plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics-shippers-elastic-v3-common'] --- import kbnAnalyticsShippersElasticV3CommonObj from './kbn_analytics_shippers_elastic_v3_common.devdocs.json'; diff --git a/api_docs/kbn_analytics_shippers_elastic_v3_server.mdx b/api_docs/kbn_analytics_shippers_elastic_v3_server.mdx index 91c979f0d8c93..436193f458dc3 100644 --- a/api_docs/kbn_analytics_shippers_elastic_v3_server.mdx +++ b/api_docs/kbn_analytics_shippers_elastic_v3_server.mdx @@ -8,7 +8,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 description: API docs for the @kbn/analytics-shippers-elastic-v3-server plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics-shippers-elastic-v3-server'] --- import kbnAnalyticsShippersElasticV3ServerObj from './kbn_analytics_shippers_elastic_v3_server.devdocs.json'; diff --git a/api_docs/kbn_analytics_shippers_fullstory.mdx b/api_docs/kbn_analytics_shippers_fullstory.mdx index 496e3c050f601..e20e500f4764c 100644 --- a/api_docs/kbn_analytics_shippers_fullstory.mdx +++ b/api_docs/kbn_analytics_shippers_fullstory.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-analytics-shippers-fullstory title: "@kbn/analytics-shippers-fullstory" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/analytics-shippers-fullstory plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics-shippers-fullstory'] --- import kbnAnalyticsShippersFullstoryObj from './kbn_analytics_shippers_fullstory.devdocs.json'; diff --git a/api_docs/kbn_analytics_shippers_gainsight.mdx b/api_docs/kbn_analytics_shippers_gainsight.mdx index 248722ef72146..92ce0d5f39428 100644 --- a/api_docs/kbn_analytics_shippers_gainsight.mdx +++ b/api_docs/kbn_analytics_shippers_gainsight.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-analytics-shippers-gainsight title: "@kbn/analytics-shippers-gainsight" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/analytics-shippers-gainsight plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics-shippers-gainsight'] --- import kbnAnalyticsShippersGainsightObj from './kbn_analytics_shippers_gainsight.devdocs.json'; diff --git a/api_docs/kbn_apm_config_loader.mdx b/api_docs/kbn_apm_config_loader.mdx index 9ebe91c135e34..a8b49e333a999 100644 --- a/api_docs/kbn_apm_config_loader.mdx +++ b/api_docs/kbn_apm_config_loader.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-apm-config-loader title: "@kbn/apm-config-loader" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/apm-config-loader plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/apm-config-loader'] --- import kbnApmConfigLoaderObj from './kbn_apm_config_loader.devdocs.json'; diff --git a/api_docs/kbn_apm_synthtrace.mdx b/api_docs/kbn_apm_synthtrace.mdx index ce115ac753e41..afddc7954e30b 100644 --- a/api_docs/kbn_apm_synthtrace.mdx +++ b/api_docs/kbn_apm_synthtrace.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-apm-synthtrace title: "@kbn/apm-synthtrace" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/apm-synthtrace plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/apm-synthtrace'] --- import kbnApmSynthtraceObj from './kbn_apm_synthtrace.devdocs.json'; diff --git a/api_docs/kbn_apm_utils.mdx b/api_docs/kbn_apm_utils.mdx index 331f135166fe2..ae6deb1f49b67 100644 --- a/api_docs/kbn_apm_utils.mdx +++ b/api_docs/kbn_apm_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-apm-utils title: "@kbn/apm-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/apm-utils plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/apm-utils'] --- import kbnApmUtilsObj from './kbn_apm_utils.devdocs.json'; diff --git a/api_docs/kbn_axe_config.mdx b/api_docs/kbn_axe_config.mdx index 809b44a08663f..b09be2edee670 100644 --- a/api_docs/kbn_axe_config.mdx +++ b/api_docs/kbn_axe_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-axe-config title: "@kbn/axe-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/axe-config plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/axe-config'] --- import kbnAxeConfigObj from './kbn_axe_config.devdocs.json'; diff --git a/api_docs/kbn_cases_components.mdx b/api_docs/kbn_cases_components.mdx index b5cc6f0e15e52..e5a0470ef7582 100644 --- a/api_docs/kbn_cases_components.mdx +++ b/api_docs/kbn_cases_components.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-cases-components title: "@kbn/cases-components" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/cases-components plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/cases-components'] --- import kbnCasesComponentsObj from './kbn_cases_components.devdocs.json'; diff --git a/api_docs/kbn_chart_icons.mdx b/api_docs/kbn_chart_icons.mdx index 5567040cef352..0a5b161ad4424 100644 --- a/api_docs/kbn_chart_icons.mdx +++ b/api_docs/kbn_chart_icons.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-chart-icons title: "@kbn/chart-icons" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/chart-icons plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/chart-icons'] --- import kbnChartIconsObj from './kbn_chart_icons.devdocs.json'; diff --git a/api_docs/kbn_ci_stats_core.mdx b/api_docs/kbn_ci_stats_core.mdx index d1e331a9d4e52..e139ed9c99b31 100644 --- a/api_docs/kbn_ci_stats_core.mdx +++ b/api_docs/kbn_ci_stats_core.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ci-stats-core title: "@kbn/ci-stats-core" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ci-stats-core plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ci-stats-core'] --- import kbnCiStatsCoreObj from './kbn_ci_stats_core.devdocs.json'; diff --git a/api_docs/kbn_ci_stats_performance_metrics.mdx b/api_docs/kbn_ci_stats_performance_metrics.mdx index 06d3520534405..2b9855163732d 100644 --- a/api_docs/kbn_ci_stats_performance_metrics.mdx +++ b/api_docs/kbn_ci_stats_performance_metrics.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ci-stats-performance-metrics title: "@kbn/ci-stats-performance-metrics" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ci-stats-performance-metrics plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ci-stats-performance-metrics'] --- import kbnCiStatsPerformanceMetricsObj from './kbn_ci_stats_performance_metrics.devdocs.json'; diff --git a/api_docs/kbn_ci_stats_reporter.mdx b/api_docs/kbn_ci_stats_reporter.mdx index 2601c5d43343f..c54baf30f4506 100644 --- a/api_docs/kbn_ci_stats_reporter.mdx +++ b/api_docs/kbn_ci_stats_reporter.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ci-stats-reporter title: "@kbn/ci-stats-reporter" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ci-stats-reporter plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ci-stats-reporter'] --- import kbnCiStatsReporterObj from './kbn_ci_stats_reporter.devdocs.json'; diff --git a/api_docs/kbn_cli_dev_mode.mdx b/api_docs/kbn_cli_dev_mode.mdx index f00b16594479d..a50be181142eb 100644 --- a/api_docs/kbn_cli_dev_mode.mdx +++ b/api_docs/kbn_cli_dev_mode.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-cli-dev-mode title: "@kbn/cli-dev-mode" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/cli-dev-mode plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/cli-dev-mode'] --- import kbnCliDevModeObj from './kbn_cli_dev_mode.devdocs.json'; diff --git a/api_docs/kbn_coloring.mdx b/api_docs/kbn_coloring.mdx index 7968426b99862..bdcc09f8b7053 100644 --- a/api_docs/kbn_coloring.mdx +++ b/api_docs/kbn_coloring.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-coloring title: "@kbn/coloring" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/coloring plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/coloring'] --- import kbnColoringObj from './kbn_coloring.devdocs.json'; diff --git a/api_docs/kbn_config.mdx b/api_docs/kbn_config.mdx index 1999071436cb5..4bce0f0416f31 100644 --- a/api_docs/kbn_config.mdx +++ b/api_docs/kbn_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-config title: "@kbn/config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/config plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/config'] --- import kbnConfigObj from './kbn_config.devdocs.json'; diff --git a/api_docs/kbn_config_mocks.mdx b/api_docs/kbn_config_mocks.mdx index 289936eb9ea8b..56eee75c44753 100644 --- a/api_docs/kbn_config_mocks.mdx +++ b/api_docs/kbn_config_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-config-mocks title: "@kbn/config-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/config-mocks plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/config-mocks'] --- import kbnConfigMocksObj from './kbn_config_mocks.devdocs.json'; diff --git a/api_docs/kbn_config_schema.mdx b/api_docs/kbn_config_schema.mdx index 3d6f3cce4fff2..f1e2c75a96bee 100644 --- a/api_docs/kbn_config_schema.mdx +++ b/api_docs/kbn_config_schema.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-config-schema title: "@kbn/config-schema" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/config-schema plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/config-schema'] --- import kbnConfigSchemaObj from './kbn_config_schema.devdocs.json'; diff --git a/api_docs/kbn_content_management_table_list.mdx b/api_docs/kbn_content_management_table_list.mdx index 2542eeae19e05..ae422092f6112 100644 --- a/api_docs/kbn_content_management_table_list.mdx +++ b/api_docs/kbn_content_management_table_list.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-content-management-table-list title: "@kbn/content-management-table-list" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/content-management-table-list plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/content-management-table-list'] --- import kbnContentManagementTableListObj from './kbn_content_management_table_list.devdocs.json'; diff --git a/api_docs/kbn_core_analytics_browser.mdx b/api_docs/kbn_core_analytics_browser.mdx index a37928708f125..ec862415cecef 100644 --- a/api_docs/kbn_core_analytics_browser.mdx +++ b/api_docs/kbn_core_analytics_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-browser title: "@kbn/core-analytics-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-analytics-browser plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-analytics-browser'] --- import kbnCoreAnalyticsBrowserObj from './kbn_core_analytics_browser.devdocs.json'; diff --git a/api_docs/kbn_core_analytics_browser_internal.mdx b/api_docs/kbn_core_analytics_browser_internal.mdx index 57b5715b4f72c..71b5b81e0f9d4 100644 --- a/api_docs/kbn_core_analytics_browser_internal.mdx +++ b/api_docs/kbn_core_analytics_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-browser-internal title: "@kbn/core-analytics-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-analytics-browser-internal plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-analytics-browser-internal'] --- import kbnCoreAnalyticsBrowserInternalObj from './kbn_core_analytics_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_analytics_browser_mocks.mdx b/api_docs/kbn_core_analytics_browser_mocks.mdx index 38a3c4dfe80bd..6f6061b8f5ec8 100644 --- a/api_docs/kbn_core_analytics_browser_mocks.mdx +++ b/api_docs/kbn_core_analytics_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-browser-mocks title: "@kbn/core-analytics-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-analytics-browser-mocks plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-analytics-browser-mocks'] --- import kbnCoreAnalyticsBrowserMocksObj from './kbn_core_analytics_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_analytics_server.mdx b/api_docs/kbn_core_analytics_server.mdx index 8d51159fac5e1..d4574a12b9b87 100644 --- a/api_docs/kbn_core_analytics_server.mdx +++ b/api_docs/kbn_core_analytics_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-server title: "@kbn/core-analytics-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-analytics-server plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-analytics-server'] --- import kbnCoreAnalyticsServerObj from './kbn_core_analytics_server.devdocs.json'; diff --git a/api_docs/kbn_core_analytics_server_internal.mdx b/api_docs/kbn_core_analytics_server_internal.mdx index 527380e34886f..7c25b89678fb8 100644 --- a/api_docs/kbn_core_analytics_server_internal.mdx +++ b/api_docs/kbn_core_analytics_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-server-internal title: "@kbn/core-analytics-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-analytics-server-internal plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-analytics-server-internal'] --- import kbnCoreAnalyticsServerInternalObj from './kbn_core_analytics_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_analytics_server_mocks.mdx b/api_docs/kbn_core_analytics_server_mocks.mdx index ae753014e511e..36a470d0f8a98 100644 --- a/api_docs/kbn_core_analytics_server_mocks.mdx +++ b/api_docs/kbn_core_analytics_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-server-mocks title: "@kbn/core-analytics-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-analytics-server-mocks plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-analytics-server-mocks'] --- import kbnCoreAnalyticsServerMocksObj from './kbn_core_analytics_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_application_browser.mdx b/api_docs/kbn_core_application_browser.mdx index 890017a3f33f9..291966f86854c 100644 --- a/api_docs/kbn_core_application_browser.mdx +++ b/api_docs/kbn_core_application_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-application-browser title: "@kbn/core-application-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-application-browser plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-application-browser'] --- import kbnCoreApplicationBrowserObj from './kbn_core_application_browser.devdocs.json'; diff --git a/api_docs/kbn_core_application_browser_internal.mdx b/api_docs/kbn_core_application_browser_internal.mdx index 189af1a205d44..fd45bd7218528 100644 --- a/api_docs/kbn_core_application_browser_internal.mdx +++ b/api_docs/kbn_core_application_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-application-browser-internal title: "@kbn/core-application-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-application-browser-internal plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-application-browser-internal'] --- import kbnCoreApplicationBrowserInternalObj from './kbn_core_application_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_application_browser_mocks.mdx b/api_docs/kbn_core_application_browser_mocks.mdx index 56cbf39327384..cc2f5068ddad0 100644 --- a/api_docs/kbn_core_application_browser_mocks.mdx +++ b/api_docs/kbn_core_application_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-application-browser-mocks title: "@kbn/core-application-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-application-browser-mocks plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-application-browser-mocks'] --- import kbnCoreApplicationBrowserMocksObj from './kbn_core_application_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_application_common.mdx b/api_docs/kbn_core_application_common.mdx index 79ca91db6c3d7..7957456aedfcd 100644 --- a/api_docs/kbn_core_application_common.mdx +++ b/api_docs/kbn_core_application_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-application-common title: "@kbn/core-application-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-application-common plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-application-common'] --- import kbnCoreApplicationCommonObj from './kbn_core_application_common.devdocs.json'; diff --git a/api_docs/kbn_core_apps_browser_internal.mdx b/api_docs/kbn_core_apps_browser_internal.mdx index 52d4837e3da85..42bd1cad00adc 100644 --- a/api_docs/kbn_core_apps_browser_internal.mdx +++ b/api_docs/kbn_core_apps_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-apps-browser-internal title: "@kbn/core-apps-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-apps-browser-internal plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-apps-browser-internal'] --- import kbnCoreAppsBrowserInternalObj from './kbn_core_apps_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_apps_browser_mocks.mdx b/api_docs/kbn_core_apps_browser_mocks.mdx index d862f805bd56d..e9bb20a318e18 100644 --- a/api_docs/kbn_core_apps_browser_mocks.mdx +++ b/api_docs/kbn_core_apps_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-apps-browser-mocks title: "@kbn/core-apps-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-apps-browser-mocks plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-apps-browser-mocks'] --- import kbnCoreAppsBrowserMocksObj from './kbn_core_apps_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_base_browser_mocks.mdx b/api_docs/kbn_core_base_browser_mocks.mdx index cd67237c13936..c82c6fd86bf9e 100644 --- a/api_docs/kbn_core_base_browser_mocks.mdx +++ b/api_docs/kbn_core_base_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-base-browser-mocks title: "@kbn/core-base-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-base-browser-mocks plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-base-browser-mocks'] --- import kbnCoreBaseBrowserMocksObj from './kbn_core_base_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_base_common.mdx b/api_docs/kbn_core_base_common.mdx index a8c36e1f5805c..78ba7ed4f33e3 100644 --- a/api_docs/kbn_core_base_common.mdx +++ b/api_docs/kbn_core_base_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-base-common title: "@kbn/core-base-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-base-common plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-base-common'] --- import kbnCoreBaseCommonObj from './kbn_core_base_common.devdocs.json'; diff --git a/api_docs/kbn_core_base_server_internal.mdx b/api_docs/kbn_core_base_server_internal.mdx index e54292a2dcf44..c743626f13c86 100644 --- a/api_docs/kbn_core_base_server_internal.mdx +++ b/api_docs/kbn_core_base_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-base-server-internal title: "@kbn/core-base-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-base-server-internal plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-base-server-internal'] --- import kbnCoreBaseServerInternalObj from './kbn_core_base_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_base_server_mocks.mdx b/api_docs/kbn_core_base_server_mocks.mdx index b5cfc89eb2b22..bc5d3e79f3747 100644 --- a/api_docs/kbn_core_base_server_mocks.mdx +++ b/api_docs/kbn_core_base_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-base-server-mocks title: "@kbn/core-base-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-base-server-mocks plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-base-server-mocks'] --- import kbnCoreBaseServerMocksObj from './kbn_core_base_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_capabilities_browser_mocks.mdx b/api_docs/kbn_core_capabilities_browser_mocks.mdx index a1f436bbc2c95..f6bc04072b0ef 100644 --- a/api_docs/kbn_core_capabilities_browser_mocks.mdx +++ b/api_docs/kbn_core_capabilities_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-capabilities-browser-mocks title: "@kbn/core-capabilities-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-capabilities-browser-mocks plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-capabilities-browser-mocks'] --- import kbnCoreCapabilitiesBrowserMocksObj from './kbn_core_capabilities_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_capabilities_common.mdx b/api_docs/kbn_core_capabilities_common.mdx index e61648c77a646..cb301811a9b0b 100644 --- a/api_docs/kbn_core_capabilities_common.mdx +++ b/api_docs/kbn_core_capabilities_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-capabilities-common title: "@kbn/core-capabilities-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-capabilities-common plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-capabilities-common'] --- import kbnCoreCapabilitiesCommonObj from './kbn_core_capabilities_common.devdocs.json'; diff --git a/api_docs/kbn_core_capabilities_server.mdx b/api_docs/kbn_core_capabilities_server.mdx index 322ff906d5944..5272d57b6307a 100644 --- a/api_docs/kbn_core_capabilities_server.mdx +++ b/api_docs/kbn_core_capabilities_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-capabilities-server title: "@kbn/core-capabilities-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-capabilities-server plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-capabilities-server'] --- import kbnCoreCapabilitiesServerObj from './kbn_core_capabilities_server.devdocs.json'; diff --git a/api_docs/kbn_core_capabilities_server_mocks.mdx b/api_docs/kbn_core_capabilities_server_mocks.mdx index 182cc000f2b6f..c1590c3486bf7 100644 --- a/api_docs/kbn_core_capabilities_server_mocks.mdx +++ b/api_docs/kbn_core_capabilities_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-capabilities-server-mocks title: "@kbn/core-capabilities-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-capabilities-server-mocks plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-capabilities-server-mocks'] --- import kbnCoreCapabilitiesServerMocksObj from './kbn_core_capabilities_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_chrome_browser.mdx b/api_docs/kbn_core_chrome_browser.mdx index 4b16453fe269b..cd424cab8ea83 100644 --- a/api_docs/kbn_core_chrome_browser.mdx +++ b/api_docs/kbn_core_chrome_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-chrome-browser title: "@kbn/core-chrome-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-chrome-browser plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-chrome-browser'] --- import kbnCoreChromeBrowserObj from './kbn_core_chrome_browser.devdocs.json'; diff --git a/api_docs/kbn_core_chrome_browser_mocks.mdx b/api_docs/kbn_core_chrome_browser_mocks.mdx index 3f929871b5737..63ccbd8c5e749 100644 --- a/api_docs/kbn_core_chrome_browser_mocks.mdx +++ b/api_docs/kbn_core_chrome_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-chrome-browser-mocks title: "@kbn/core-chrome-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-chrome-browser-mocks plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-chrome-browser-mocks'] --- import kbnCoreChromeBrowserMocksObj from './kbn_core_chrome_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_config_server_internal.mdx b/api_docs/kbn_core_config_server_internal.mdx index d8fbe6065b2cd..8df48552bac43 100644 --- a/api_docs/kbn_core_config_server_internal.mdx +++ b/api_docs/kbn_core_config_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-config-server-internal title: "@kbn/core-config-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-config-server-internal plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-config-server-internal'] --- import kbnCoreConfigServerInternalObj from './kbn_core_config_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_deprecations_browser.mdx b/api_docs/kbn_core_deprecations_browser.mdx index e38be3110de51..8b78100d0303f 100644 --- a/api_docs/kbn_core_deprecations_browser.mdx +++ b/api_docs/kbn_core_deprecations_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-browser title: "@kbn/core-deprecations-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-browser plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-deprecations-browser'] --- import kbnCoreDeprecationsBrowserObj from './kbn_core_deprecations_browser.devdocs.json'; diff --git a/api_docs/kbn_core_deprecations_browser_internal.mdx b/api_docs/kbn_core_deprecations_browser_internal.mdx index 27b0d85accff1..6e0bb12b1a5ec 100644 --- a/api_docs/kbn_core_deprecations_browser_internal.mdx +++ b/api_docs/kbn_core_deprecations_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-browser-internal title: "@kbn/core-deprecations-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-browser-internal plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-deprecations-browser-internal'] --- import kbnCoreDeprecationsBrowserInternalObj from './kbn_core_deprecations_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_deprecations_browser_mocks.mdx b/api_docs/kbn_core_deprecations_browser_mocks.mdx index 3735709d2eb12..080737870b48a 100644 --- a/api_docs/kbn_core_deprecations_browser_mocks.mdx +++ b/api_docs/kbn_core_deprecations_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-browser-mocks title: "@kbn/core-deprecations-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-browser-mocks plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-deprecations-browser-mocks'] --- import kbnCoreDeprecationsBrowserMocksObj from './kbn_core_deprecations_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_deprecations_common.mdx b/api_docs/kbn_core_deprecations_common.mdx index 01168b388c1b3..0e645904c4e16 100644 --- a/api_docs/kbn_core_deprecations_common.mdx +++ b/api_docs/kbn_core_deprecations_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-common title: "@kbn/core-deprecations-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-common plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-deprecations-common'] --- import kbnCoreDeprecationsCommonObj from './kbn_core_deprecations_common.devdocs.json'; diff --git a/api_docs/kbn_core_deprecations_server.mdx b/api_docs/kbn_core_deprecations_server.mdx index ee8597fc879a2..3830075439805 100644 --- a/api_docs/kbn_core_deprecations_server.mdx +++ b/api_docs/kbn_core_deprecations_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-server title: "@kbn/core-deprecations-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-server plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-deprecations-server'] --- import kbnCoreDeprecationsServerObj from './kbn_core_deprecations_server.devdocs.json'; diff --git a/api_docs/kbn_core_deprecations_server_internal.mdx b/api_docs/kbn_core_deprecations_server_internal.mdx index 2c5888babe922..628dd25c7f3d8 100644 --- a/api_docs/kbn_core_deprecations_server_internal.mdx +++ b/api_docs/kbn_core_deprecations_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-server-internal title: "@kbn/core-deprecations-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-server-internal plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-deprecations-server-internal'] --- import kbnCoreDeprecationsServerInternalObj from './kbn_core_deprecations_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_deprecations_server_mocks.mdx b/api_docs/kbn_core_deprecations_server_mocks.mdx index 4528f35176c44..cec24f8afb81d 100644 --- a/api_docs/kbn_core_deprecations_server_mocks.mdx +++ b/api_docs/kbn_core_deprecations_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-server-mocks title: "@kbn/core-deprecations-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-server-mocks plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-deprecations-server-mocks'] --- import kbnCoreDeprecationsServerMocksObj from './kbn_core_deprecations_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_doc_links_browser.mdx b/api_docs/kbn_core_doc_links_browser.mdx index 98b9f2268b08d..301817f389f33 100644 --- a/api_docs/kbn_core_doc_links_browser.mdx +++ b/api_docs/kbn_core_doc_links_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-doc-links-browser title: "@kbn/core-doc-links-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-doc-links-browser plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-doc-links-browser'] --- import kbnCoreDocLinksBrowserObj from './kbn_core_doc_links_browser.devdocs.json'; diff --git a/api_docs/kbn_core_doc_links_browser_mocks.mdx b/api_docs/kbn_core_doc_links_browser_mocks.mdx index 9895cefac90a9..8d97cbcf1c2cd 100644 --- a/api_docs/kbn_core_doc_links_browser_mocks.mdx +++ b/api_docs/kbn_core_doc_links_browser_mocks.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-doc-links-browser-mocks plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-doc-links-browser-mocks'] --- import kbnCoreDocLinksBrowserMocksObj from './kbn_core_doc_links_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_doc_links_server.mdx b/api_docs/kbn_core_doc_links_server.mdx index 7f31e1677ea71..b0d261f46fd9e 100644 --- a/api_docs/kbn_core_doc_links_server.mdx +++ b/api_docs/kbn_core_doc_links_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-doc-links-server title: "@kbn/core-doc-links-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-doc-links-server plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-doc-links-server'] --- import kbnCoreDocLinksServerObj from './kbn_core_doc_links_server.devdocs.json'; diff --git a/api_docs/kbn_core_doc_links_server_mocks.mdx b/api_docs/kbn_core_doc_links_server_mocks.mdx index 64b6cd2e21198..d9a615b6c4942 100644 --- a/api_docs/kbn_core_doc_links_server_mocks.mdx +++ b/api_docs/kbn_core_doc_links_server_mocks.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-doc-links-server-mocks plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-doc-links-server-mocks'] --- import kbnCoreDocLinksServerMocksObj from './kbn_core_doc_links_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_elasticsearch_client_server_internal.mdx b/api_docs/kbn_core_elasticsearch_client_server_internal.mdx index 4dd00076fad22..ed0db4e5b6730 100644 --- a/api_docs/kbn_core_elasticsearch_client_server_internal.mdx +++ b/api_docs/kbn_core_elasticsearch_client_server_internal.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-elasticsearch-client-server-internal plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-elasticsearch-client-server-internal'] --- import kbnCoreElasticsearchClientServerInternalObj from './kbn_core_elasticsearch_client_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_elasticsearch_client_server_mocks.mdx b/api_docs/kbn_core_elasticsearch_client_server_mocks.mdx index 2c5aca0e66247..fa3e8d51eade3 100644 --- a/api_docs/kbn_core_elasticsearch_client_server_mocks.mdx +++ b/api_docs/kbn_core_elasticsearch_client_server_mocks.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-elasticsearch-client-server-mocks plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-elasticsearch-client-server-mocks'] --- import kbnCoreElasticsearchClientServerMocksObj from './kbn_core_elasticsearch_client_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_elasticsearch_server.mdx b/api_docs/kbn_core_elasticsearch_server.mdx index 1c1b85f9d1c3d..ecab13942a3d5 100644 --- a/api_docs/kbn_core_elasticsearch_server.mdx +++ b/api_docs/kbn_core_elasticsearch_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-elasticsearch-server title: "@kbn/core-elasticsearch-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-elasticsearch-server plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-elasticsearch-server'] --- import kbnCoreElasticsearchServerObj from './kbn_core_elasticsearch_server.devdocs.json'; diff --git a/api_docs/kbn_core_elasticsearch_server_internal.mdx b/api_docs/kbn_core_elasticsearch_server_internal.mdx index 7c240044c3ebb..edac91c50c504 100644 --- a/api_docs/kbn_core_elasticsearch_server_internal.mdx +++ b/api_docs/kbn_core_elasticsearch_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-elasticsearch-server-internal title: "@kbn/core-elasticsearch-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-elasticsearch-server-internal plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-elasticsearch-server-internal'] --- import kbnCoreElasticsearchServerInternalObj from './kbn_core_elasticsearch_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_elasticsearch_server_mocks.mdx b/api_docs/kbn_core_elasticsearch_server_mocks.mdx index 2e14f88fb6f84..e140e3d6c7a26 100644 --- a/api_docs/kbn_core_elasticsearch_server_mocks.mdx +++ b/api_docs/kbn_core_elasticsearch_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-elasticsearch-server-mocks title: "@kbn/core-elasticsearch-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-elasticsearch-server-mocks plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-elasticsearch-server-mocks'] --- import kbnCoreElasticsearchServerMocksObj from './kbn_core_elasticsearch_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_environment_server_internal.mdx b/api_docs/kbn_core_environment_server_internal.mdx index 562a0cd4d1a90..052635bd30647 100644 --- a/api_docs/kbn_core_environment_server_internal.mdx +++ b/api_docs/kbn_core_environment_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-environment-server-internal title: "@kbn/core-environment-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-environment-server-internal plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-environment-server-internal'] --- import kbnCoreEnvironmentServerInternalObj from './kbn_core_environment_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_environment_server_mocks.mdx b/api_docs/kbn_core_environment_server_mocks.mdx index 1127dbb783a0e..b6f2597e09966 100644 --- a/api_docs/kbn_core_environment_server_mocks.mdx +++ b/api_docs/kbn_core_environment_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-environment-server-mocks title: "@kbn/core-environment-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-environment-server-mocks plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-environment-server-mocks'] --- import kbnCoreEnvironmentServerMocksObj from './kbn_core_environment_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_execution_context_browser.mdx b/api_docs/kbn_core_execution_context_browser.mdx index a98592932b48a..519f8fb45f2ec 100644 --- a/api_docs/kbn_core_execution_context_browser.mdx +++ b/api_docs/kbn_core_execution_context_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-browser title: "@kbn/core-execution-context-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-execution-context-browser plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-browser'] --- import kbnCoreExecutionContextBrowserObj from './kbn_core_execution_context_browser.devdocs.json'; diff --git a/api_docs/kbn_core_execution_context_browser_internal.mdx b/api_docs/kbn_core_execution_context_browser_internal.mdx index e00342368b25e..70c558f5cdef6 100644 --- a/api_docs/kbn_core_execution_context_browser_internal.mdx +++ b/api_docs/kbn_core_execution_context_browser_internal.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-execution-context-browser-internal plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-browser-internal'] --- import kbnCoreExecutionContextBrowserInternalObj from './kbn_core_execution_context_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_execution_context_browser_mocks.mdx b/api_docs/kbn_core_execution_context_browser_mocks.mdx index 4c701ab8c9a9f..026e69d9c5e92 100644 --- a/api_docs/kbn_core_execution_context_browser_mocks.mdx +++ b/api_docs/kbn_core_execution_context_browser_mocks.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-execution-context-browser-mocks plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-browser-mocks'] --- import kbnCoreExecutionContextBrowserMocksObj from './kbn_core_execution_context_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_execution_context_common.mdx b/api_docs/kbn_core_execution_context_common.mdx index 5331b155e6c36..798e68b95a5b2 100644 --- a/api_docs/kbn_core_execution_context_common.mdx +++ b/api_docs/kbn_core_execution_context_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-common title: "@kbn/core-execution-context-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-execution-context-common plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-common'] --- import kbnCoreExecutionContextCommonObj from './kbn_core_execution_context_common.devdocs.json'; diff --git a/api_docs/kbn_core_execution_context_server.mdx b/api_docs/kbn_core_execution_context_server.mdx index 03cddc07e1d18..fcfebaa93f548 100644 --- a/api_docs/kbn_core_execution_context_server.mdx +++ b/api_docs/kbn_core_execution_context_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-server title: "@kbn/core-execution-context-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-execution-context-server plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-server'] --- import kbnCoreExecutionContextServerObj from './kbn_core_execution_context_server.devdocs.json'; diff --git a/api_docs/kbn_core_execution_context_server_internal.mdx b/api_docs/kbn_core_execution_context_server_internal.mdx index 7ba0b64dd42f3..2095dbf49bd16 100644 --- a/api_docs/kbn_core_execution_context_server_internal.mdx +++ b/api_docs/kbn_core_execution_context_server_internal.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-execution-context-server-internal plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-server-internal'] --- import kbnCoreExecutionContextServerInternalObj from './kbn_core_execution_context_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_execution_context_server_mocks.mdx b/api_docs/kbn_core_execution_context_server_mocks.mdx index 81ab4113c4df5..40ff3c8277b5a 100644 --- a/api_docs/kbn_core_execution_context_server_mocks.mdx +++ b/api_docs/kbn_core_execution_context_server_mocks.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-execution-context-server-mocks plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-server-mocks'] --- import kbnCoreExecutionContextServerMocksObj from './kbn_core_execution_context_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_fatal_errors_browser.mdx b/api_docs/kbn_core_fatal_errors_browser.mdx index 292fe14b10712..0696ab01328a1 100644 --- a/api_docs/kbn_core_fatal_errors_browser.mdx +++ b/api_docs/kbn_core_fatal_errors_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-fatal-errors-browser title: "@kbn/core-fatal-errors-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-fatal-errors-browser plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-fatal-errors-browser'] --- import kbnCoreFatalErrorsBrowserObj from './kbn_core_fatal_errors_browser.devdocs.json'; diff --git a/api_docs/kbn_core_fatal_errors_browser_mocks.mdx b/api_docs/kbn_core_fatal_errors_browser_mocks.mdx index 9c6bbc7ed3a5c..423f0bfae35a8 100644 --- a/api_docs/kbn_core_fatal_errors_browser_mocks.mdx +++ b/api_docs/kbn_core_fatal_errors_browser_mocks.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-fatal-errors-browser-mocks plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-fatal-errors-browser-mocks'] --- import kbnCoreFatalErrorsBrowserMocksObj from './kbn_core_fatal_errors_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_http_browser.mdx b/api_docs/kbn_core_http_browser.mdx index 73e94790f403f..43f84f4490031 100644 --- a/api_docs/kbn_core_http_browser.mdx +++ b/api_docs/kbn_core_http_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-browser title: "@kbn/core-http-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-browser plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-browser'] --- import kbnCoreHttpBrowserObj from './kbn_core_http_browser.devdocs.json'; diff --git a/api_docs/kbn_core_http_browser_internal.mdx b/api_docs/kbn_core_http_browser_internal.mdx index 78f267f2fee80..02137896f1bf9 100644 --- a/api_docs/kbn_core_http_browser_internal.mdx +++ b/api_docs/kbn_core_http_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-browser-internal title: "@kbn/core-http-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-browser-internal plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-browser-internal'] --- import kbnCoreHttpBrowserInternalObj from './kbn_core_http_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_http_browser_mocks.mdx b/api_docs/kbn_core_http_browser_mocks.mdx index 6ab805e798a2c..fd8c23ebb90a7 100644 --- a/api_docs/kbn_core_http_browser_mocks.mdx +++ b/api_docs/kbn_core_http_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-browser-mocks title: "@kbn/core-http-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-browser-mocks plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-browser-mocks'] --- import kbnCoreHttpBrowserMocksObj from './kbn_core_http_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_http_common.mdx b/api_docs/kbn_core_http_common.mdx index 044f4138e7822..df1a8b53c5610 100644 --- a/api_docs/kbn_core_http_common.mdx +++ b/api_docs/kbn_core_http_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-common title: "@kbn/core-http-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-common plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-common'] --- import kbnCoreHttpCommonObj from './kbn_core_http_common.devdocs.json'; diff --git a/api_docs/kbn_core_http_context_server_mocks.mdx b/api_docs/kbn_core_http_context_server_mocks.mdx index 4e045ec48ccc2..02cd4f0492d30 100644 --- a/api_docs/kbn_core_http_context_server_mocks.mdx +++ b/api_docs/kbn_core_http_context_server_mocks.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-http-context-server-mocks plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-context-server-mocks'] --- import kbnCoreHttpContextServerMocksObj from './kbn_core_http_context_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_http_request_handler_context_server.mdx b/api_docs/kbn_core_http_request_handler_context_server.mdx index d17b7ef26fc19..798b9ec1d244e 100644 --- a/api_docs/kbn_core_http_request_handler_context_server.mdx +++ b/api_docs/kbn_core_http_request_handler_context_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-request-handler-context-server title: "@kbn/core-http-request-handler-context-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-request-handler-context-server plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-request-handler-context-server'] --- import kbnCoreHttpRequestHandlerContextServerObj from './kbn_core_http_request_handler_context_server.devdocs.json'; diff --git a/api_docs/kbn_core_http_resources_server.mdx b/api_docs/kbn_core_http_resources_server.mdx index b21bfe9296856..5c3424e8f3c8e 100644 --- a/api_docs/kbn_core_http_resources_server.mdx +++ b/api_docs/kbn_core_http_resources_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-resources-server title: "@kbn/core-http-resources-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-resources-server plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-resources-server'] --- import kbnCoreHttpResourcesServerObj from './kbn_core_http_resources_server.devdocs.json'; diff --git a/api_docs/kbn_core_http_resources_server_internal.mdx b/api_docs/kbn_core_http_resources_server_internal.mdx index f08561abba7f9..7d6246cd6529f 100644 --- a/api_docs/kbn_core_http_resources_server_internal.mdx +++ b/api_docs/kbn_core_http_resources_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-resources-server-internal title: "@kbn/core-http-resources-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-resources-server-internal plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-resources-server-internal'] --- import kbnCoreHttpResourcesServerInternalObj from './kbn_core_http_resources_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_http_resources_server_mocks.mdx b/api_docs/kbn_core_http_resources_server_mocks.mdx index 63969a2215043..3641fcaac0082 100644 --- a/api_docs/kbn_core_http_resources_server_mocks.mdx +++ b/api_docs/kbn_core_http_resources_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-resources-server-mocks title: "@kbn/core-http-resources-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-resources-server-mocks plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-resources-server-mocks'] --- import kbnCoreHttpResourcesServerMocksObj from './kbn_core_http_resources_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_http_router_server_internal.mdx b/api_docs/kbn_core_http_router_server_internal.mdx index 5d78fc3150c3b..f7a72dceadd57 100644 --- a/api_docs/kbn_core_http_router_server_internal.mdx +++ b/api_docs/kbn_core_http_router_server_internal.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-http-router-server-internal plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-router-server-internal'] --- import kbnCoreHttpRouterServerInternalObj from './kbn_core_http_router_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_http_router_server_mocks.mdx b/api_docs/kbn_core_http_router_server_mocks.mdx index b944f6bdb619f..4a7d4169c6b95 100644 --- a/api_docs/kbn_core_http_router_server_mocks.mdx +++ b/api_docs/kbn_core_http_router_server_mocks.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-http-router-server-mocks plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-router-server-mocks'] --- import kbnCoreHttpRouterServerMocksObj from './kbn_core_http_router_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_http_server.mdx b/api_docs/kbn_core_http_server.mdx index c8d5cc1f6a3e9..892f9fa003742 100644 --- a/api_docs/kbn_core_http_server.mdx +++ b/api_docs/kbn_core_http_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-server title: "@kbn/core-http-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-server plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-server'] --- import kbnCoreHttpServerObj from './kbn_core_http_server.devdocs.json'; diff --git a/api_docs/kbn_core_http_server_internal.mdx b/api_docs/kbn_core_http_server_internal.mdx index 05fb3fb6dc108..eea1b267b7660 100644 --- a/api_docs/kbn_core_http_server_internal.mdx +++ b/api_docs/kbn_core_http_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-server-internal title: "@kbn/core-http-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-server-internal plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-server-internal'] --- import kbnCoreHttpServerInternalObj from './kbn_core_http_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_http_server_mocks.mdx b/api_docs/kbn_core_http_server_mocks.mdx index 2df420540ca4c..00794d9d93bf1 100644 --- a/api_docs/kbn_core_http_server_mocks.mdx +++ b/api_docs/kbn_core_http_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-server-mocks title: "@kbn/core-http-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-server-mocks plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-server-mocks'] --- import kbnCoreHttpServerMocksObj from './kbn_core_http_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_i18n_browser.mdx b/api_docs/kbn_core_i18n_browser.mdx index d3b1f06a8c3f6..475a6a53e90c4 100644 --- a/api_docs/kbn_core_i18n_browser.mdx +++ b/api_docs/kbn_core_i18n_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-i18n-browser title: "@kbn/core-i18n-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-i18n-browser plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-i18n-browser'] --- import kbnCoreI18nBrowserObj from './kbn_core_i18n_browser.devdocs.json'; diff --git a/api_docs/kbn_core_i18n_browser_mocks.mdx b/api_docs/kbn_core_i18n_browser_mocks.mdx index 2bb30e2a504dc..ec65ddb482a4d 100644 --- a/api_docs/kbn_core_i18n_browser_mocks.mdx +++ b/api_docs/kbn_core_i18n_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-i18n-browser-mocks title: "@kbn/core-i18n-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-i18n-browser-mocks plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-i18n-browser-mocks'] --- import kbnCoreI18nBrowserMocksObj from './kbn_core_i18n_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_i18n_server.mdx b/api_docs/kbn_core_i18n_server.mdx index 9fc823512a37a..db293785c71c7 100644 --- a/api_docs/kbn_core_i18n_server.mdx +++ b/api_docs/kbn_core_i18n_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-i18n-server title: "@kbn/core-i18n-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-i18n-server plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-i18n-server'] --- import kbnCoreI18nServerObj from './kbn_core_i18n_server.devdocs.json'; diff --git a/api_docs/kbn_core_i18n_server_internal.mdx b/api_docs/kbn_core_i18n_server_internal.mdx index 057bb5bd8d038..b93b02cee5644 100644 --- a/api_docs/kbn_core_i18n_server_internal.mdx +++ b/api_docs/kbn_core_i18n_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-i18n-server-internal title: "@kbn/core-i18n-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-i18n-server-internal plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-i18n-server-internal'] --- import kbnCoreI18nServerInternalObj from './kbn_core_i18n_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_i18n_server_mocks.mdx b/api_docs/kbn_core_i18n_server_mocks.mdx index 20f8dc35df1e4..b1a8273113332 100644 --- a/api_docs/kbn_core_i18n_server_mocks.mdx +++ b/api_docs/kbn_core_i18n_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-i18n-server-mocks title: "@kbn/core-i18n-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-i18n-server-mocks plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-i18n-server-mocks'] --- import kbnCoreI18nServerMocksObj from './kbn_core_i18n_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_injected_metadata_browser.mdx b/api_docs/kbn_core_injected_metadata_browser.mdx index 639a6936e4b0f..6f3d26a4344d0 100644 --- a/api_docs/kbn_core_injected_metadata_browser.mdx +++ b/api_docs/kbn_core_injected_metadata_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-injected-metadata-browser title: "@kbn/core-injected-metadata-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-injected-metadata-browser plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-injected-metadata-browser'] --- import kbnCoreInjectedMetadataBrowserObj from './kbn_core_injected_metadata_browser.devdocs.json'; diff --git a/api_docs/kbn_core_injected_metadata_browser_mocks.mdx b/api_docs/kbn_core_injected_metadata_browser_mocks.mdx index 2462d97408f67..357e5b3969a08 100644 --- a/api_docs/kbn_core_injected_metadata_browser_mocks.mdx +++ b/api_docs/kbn_core_injected_metadata_browser_mocks.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-injected-metadata-browser-mocks plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-injected-metadata-browser-mocks'] --- import kbnCoreInjectedMetadataBrowserMocksObj from './kbn_core_injected_metadata_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_integrations_browser_internal.mdx b/api_docs/kbn_core_integrations_browser_internal.mdx index af069a149d94e..2677c4fdf61bd 100644 --- a/api_docs/kbn_core_integrations_browser_internal.mdx +++ b/api_docs/kbn_core_integrations_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-integrations-browser-internal title: "@kbn/core-integrations-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-integrations-browser-internal plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-integrations-browser-internal'] --- import kbnCoreIntegrationsBrowserInternalObj from './kbn_core_integrations_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_integrations_browser_mocks.mdx b/api_docs/kbn_core_integrations_browser_mocks.mdx index 1339ebf1eaf59..b0783728f0d8a 100644 --- a/api_docs/kbn_core_integrations_browser_mocks.mdx +++ b/api_docs/kbn_core_integrations_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-integrations-browser-mocks title: "@kbn/core-integrations-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-integrations-browser-mocks plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-integrations-browser-mocks'] --- import kbnCoreIntegrationsBrowserMocksObj from './kbn_core_integrations_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_lifecycle_browser.mdx b/api_docs/kbn_core_lifecycle_browser.mdx index 4090382d4f0e6..ca8a21fa5d2fe 100644 --- a/api_docs/kbn_core_lifecycle_browser.mdx +++ b/api_docs/kbn_core_lifecycle_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-lifecycle-browser title: "@kbn/core-lifecycle-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-lifecycle-browser plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-lifecycle-browser'] --- import kbnCoreLifecycleBrowserObj from './kbn_core_lifecycle_browser.devdocs.json'; diff --git a/api_docs/kbn_core_lifecycle_browser_mocks.mdx b/api_docs/kbn_core_lifecycle_browser_mocks.mdx index 713488b634ba5..e6a4557d94a00 100644 --- a/api_docs/kbn_core_lifecycle_browser_mocks.mdx +++ b/api_docs/kbn_core_lifecycle_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-lifecycle-browser-mocks title: "@kbn/core-lifecycle-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-lifecycle-browser-mocks plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-lifecycle-browser-mocks'] --- import kbnCoreLifecycleBrowserMocksObj from './kbn_core_lifecycle_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_lifecycle_server.mdx b/api_docs/kbn_core_lifecycle_server.mdx index 68796cf802dea..957a5d4d55948 100644 --- a/api_docs/kbn_core_lifecycle_server.mdx +++ b/api_docs/kbn_core_lifecycle_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-lifecycle-server title: "@kbn/core-lifecycle-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-lifecycle-server plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-lifecycle-server'] --- import kbnCoreLifecycleServerObj from './kbn_core_lifecycle_server.devdocs.json'; diff --git a/api_docs/kbn_core_lifecycle_server_mocks.mdx b/api_docs/kbn_core_lifecycle_server_mocks.mdx index 4c4a5f8898866..7e5036446c150 100644 --- a/api_docs/kbn_core_lifecycle_server_mocks.mdx +++ b/api_docs/kbn_core_lifecycle_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-lifecycle-server-mocks title: "@kbn/core-lifecycle-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-lifecycle-server-mocks plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-lifecycle-server-mocks'] --- import kbnCoreLifecycleServerMocksObj from './kbn_core_lifecycle_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_logging_server.mdx b/api_docs/kbn_core_logging_server.mdx index 0c5924a7a96e0..375cf172ff979 100644 --- a/api_docs/kbn_core_logging_server.mdx +++ b/api_docs/kbn_core_logging_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-logging-server title: "@kbn/core-logging-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-logging-server plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-logging-server'] --- import kbnCoreLoggingServerObj from './kbn_core_logging_server.devdocs.json'; diff --git a/api_docs/kbn_core_logging_server_internal.mdx b/api_docs/kbn_core_logging_server_internal.mdx index 8ffd2ab577033..4485a119a411d 100644 --- a/api_docs/kbn_core_logging_server_internal.mdx +++ b/api_docs/kbn_core_logging_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-logging-server-internal title: "@kbn/core-logging-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-logging-server-internal plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-logging-server-internal'] --- import kbnCoreLoggingServerInternalObj from './kbn_core_logging_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_logging_server_mocks.mdx b/api_docs/kbn_core_logging_server_mocks.mdx index f0e83933ff235..5d068030dac14 100644 --- a/api_docs/kbn_core_logging_server_mocks.mdx +++ b/api_docs/kbn_core_logging_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-logging-server-mocks title: "@kbn/core-logging-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-logging-server-mocks plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-logging-server-mocks'] --- import kbnCoreLoggingServerMocksObj from './kbn_core_logging_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_metrics_collectors_server_internal.mdx b/api_docs/kbn_core_metrics_collectors_server_internal.mdx index f5731a856c32f..accaec79c3a25 100644 --- a/api_docs/kbn_core_metrics_collectors_server_internal.mdx +++ b/api_docs/kbn_core_metrics_collectors_server_internal.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-metrics-collectors-server-internal plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-metrics-collectors-server-internal'] --- import kbnCoreMetricsCollectorsServerInternalObj from './kbn_core_metrics_collectors_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_metrics_collectors_server_mocks.mdx b/api_docs/kbn_core_metrics_collectors_server_mocks.mdx index 6576b9ca7f239..a8dc80d9c911d 100644 --- a/api_docs/kbn_core_metrics_collectors_server_mocks.mdx +++ b/api_docs/kbn_core_metrics_collectors_server_mocks.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-metrics-collectors-server-mocks plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-metrics-collectors-server-mocks'] --- import kbnCoreMetricsCollectorsServerMocksObj from './kbn_core_metrics_collectors_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_metrics_server.mdx b/api_docs/kbn_core_metrics_server.mdx index 31ba9fb23b87a..c07de4acd5c9a 100644 --- a/api_docs/kbn_core_metrics_server.mdx +++ b/api_docs/kbn_core_metrics_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-metrics-server title: "@kbn/core-metrics-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-metrics-server plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-metrics-server'] --- import kbnCoreMetricsServerObj from './kbn_core_metrics_server.devdocs.json'; diff --git a/api_docs/kbn_core_metrics_server_internal.mdx b/api_docs/kbn_core_metrics_server_internal.mdx index 38e077cf3f82c..d86f712dbc649 100644 --- a/api_docs/kbn_core_metrics_server_internal.mdx +++ b/api_docs/kbn_core_metrics_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-metrics-server-internal title: "@kbn/core-metrics-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-metrics-server-internal plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-metrics-server-internal'] --- import kbnCoreMetricsServerInternalObj from './kbn_core_metrics_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_metrics_server_mocks.mdx b/api_docs/kbn_core_metrics_server_mocks.mdx index 5f1c7127ee519..c40c644701134 100644 --- a/api_docs/kbn_core_metrics_server_mocks.mdx +++ b/api_docs/kbn_core_metrics_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-metrics-server-mocks title: "@kbn/core-metrics-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-metrics-server-mocks plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-metrics-server-mocks'] --- import kbnCoreMetricsServerMocksObj from './kbn_core_metrics_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_mount_utils_browser.mdx b/api_docs/kbn_core_mount_utils_browser.mdx index 82f1db96d5dfe..2781ea30cb43d 100644 --- a/api_docs/kbn_core_mount_utils_browser.mdx +++ b/api_docs/kbn_core_mount_utils_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-mount-utils-browser title: "@kbn/core-mount-utils-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-mount-utils-browser plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-mount-utils-browser'] --- import kbnCoreMountUtilsBrowserObj from './kbn_core_mount_utils_browser.devdocs.json'; diff --git a/api_docs/kbn_core_node_server.mdx b/api_docs/kbn_core_node_server.mdx index 2c2cd817cfca0..4b8a188596386 100644 --- a/api_docs/kbn_core_node_server.mdx +++ b/api_docs/kbn_core_node_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-node-server title: "@kbn/core-node-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-node-server plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-node-server'] --- import kbnCoreNodeServerObj from './kbn_core_node_server.devdocs.json'; diff --git a/api_docs/kbn_core_node_server_internal.mdx b/api_docs/kbn_core_node_server_internal.mdx index 2ebab02aa0b8f..3ece7e82ef6a9 100644 --- a/api_docs/kbn_core_node_server_internal.mdx +++ b/api_docs/kbn_core_node_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-node-server-internal title: "@kbn/core-node-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-node-server-internal plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-node-server-internal'] --- import kbnCoreNodeServerInternalObj from './kbn_core_node_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_node_server_mocks.mdx b/api_docs/kbn_core_node_server_mocks.mdx index d7ea071f7758b..592fc0e14faad 100644 --- a/api_docs/kbn_core_node_server_mocks.mdx +++ b/api_docs/kbn_core_node_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-node-server-mocks title: "@kbn/core-node-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-node-server-mocks plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-node-server-mocks'] --- import kbnCoreNodeServerMocksObj from './kbn_core_node_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_notifications_browser.mdx b/api_docs/kbn_core_notifications_browser.mdx index 2c69588cab4ad..555da48d472be 100644 --- a/api_docs/kbn_core_notifications_browser.mdx +++ b/api_docs/kbn_core_notifications_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-notifications-browser title: "@kbn/core-notifications-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-notifications-browser plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-notifications-browser'] --- import kbnCoreNotificationsBrowserObj from './kbn_core_notifications_browser.devdocs.json'; diff --git a/api_docs/kbn_core_notifications_browser_internal.mdx b/api_docs/kbn_core_notifications_browser_internal.mdx index a53e822b45c73..031889b1f1e40 100644 --- a/api_docs/kbn_core_notifications_browser_internal.mdx +++ b/api_docs/kbn_core_notifications_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-notifications-browser-internal title: "@kbn/core-notifications-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-notifications-browser-internal plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-notifications-browser-internal'] --- import kbnCoreNotificationsBrowserInternalObj from './kbn_core_notifications_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_notifications_browser_mocks.mdx b/api_docs/kbn_core_notifications_browser_mocks.mdx index dad2afc821ed0..2e9fb397ffaf7 100644 --- a/api_docs/kbn_core_notifications_browser_mocks.mdx +++ b/api_docs/kbn_core_notifications_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-notifications-browser-mocks title: "@kbn/core-notifications-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-notifications-browser-mocks plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-notifications-browser-mocks'] --- import kbnCoreNotificationsBrowserMocksObj from './kbn_core_notifications_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_overlays_browser.mdx b/api_docs/kbn_core_overlays_browser.mdx index 6a4b3e568add3..acbd74942691f 100644 --- a/api_docs/kbn_core_overlays_browser.mdx +++ b/api_docs/kbn_core_overlays_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-overlays-browser title: "@kbn/core-overlays-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-overlays-browser plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-overlays-browser'] --- import kbnCoreOverlaysBrowserObj from './kbn_core_overlays_browser.devdocs.json'; diff --git a/api_docs/kbn_core_overlays_browser_internal.mdx b/api_docs/kbn_core_overlays_browser_internal.mdx index c98f171d7fce8..522afca0ab99e 100644 --- a/api_docs/kbn_core_overlays_browser_internal.mdx +++ b/api_docs/kbn_core_overlays_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-overlays-browser-internal title: "@kbn/core-overlays-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-overlays-browser-internal plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-overlays-browser-internal'] --- import kbnCoreOverlaysBrowserInternalObj from './kbn_core_overlays_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_overlays_browser_mocks.mdx b/api_docs/kbn_core_overlays_browser_mocks.mdx index 9a310cfcc02a2..043940754590c 100644 --- a/api_docs/kbn_core_overlays_browser_mocks.mdx +++ b/api_docs/kbn_core_overlays_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-overlays-browser-mocks title: "@kbn/core-overlays-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-overlays-browser-mocks plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-overlays-browser-mocks'] --- import kbnCoreOverlaysBrowserMocksObj from './kbn_core_overlays_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_plugins_browser.mdx b/api_docs/kbn_core_plugins_browser.mdx index bc444497a6670..2ce7e6dfc4ede 100644 --- a/api_docs/kbn_core_plugins_browser.mdx +++ b/api_docs/kbn_core_plugins_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-plugins-browser title: "@kbn/core-plugins-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-plugins-browser plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-plugins-browser'] --- import kbnCorePluginsBrowserObj from './kbn_core_plugins_browser.devdocs.json'; diff --git a/api_docs/kbn_core_plugins_browser_mocks.mdx b/api_docs/kbn_core_plugins_browser_mocks.mdx index 960eeb37152b9..ea4210324bf3e 100644 --- a/api_docs/kbn_core_plugins_browser_mocks.mdx +++ b/api_docs/kbn_core_plugins_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-plugins-browser-mocks title: "@kbn/core-plugins-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-plugins-browser-mocks plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-plugins-browser-mocks'] --- import kbnCorePluginsBrowserMocksObj from './kbn_core_plugins_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_plugins_server.mdx b/api_docs/kbn_core_plugins_server.mdx index d295380cb0dac..d9462aa9c8ace 100644 --- a/api_docs/kbn_core_plugins_server.mdx +++ b/api_docs/kbn_core_plugins_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-plugins-server title: "@kbn/core-plugins-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-plugins-server plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-plugins-server'] --- import kbnCorePluginsServerObj from './kbn_core_plugins_server.devdocs.json'; diff --git a/api_docs/kbn_core_plugins_server_mocks.mdx b/api_docs/kbn_core_plugins_server_mocks.mdx index dd7f2f4a189fa..2b78e429b5396 100644 --- a/api_docs/kbn_core_plugins_server_mocks.mdx +++ b/api_docs/kbn_core_plugins_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-plugins-server-mocks title: "@kbn/core-plugins-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-plugins-server-mocks plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-plugins-server-mocks'] --- import kbnCorePluginsServerMocksObj from './kbn_core_plugins_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_preboot_server.mdx b/api_docs/kbn_core_preboot_server.mdx index 5c3f96ba1bdfb..547a1a89ce999 100644 --- a/api_docs/kbn_core_preboot_server.mdx +++ b/api_docs/kbn_core_preboot_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-preboot-server title: "@kbn/core-preboot-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-preboot-server plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-preboot-server'] --- import kbnCorePrebootServerObj from './kbn_core_preboot_server.devdocs.json'; diff --git a/api_docs/kbn_core_preboot_server_mocks.mdx b/api_docs/kbn_core_preboot_server_mocks.mdx index da3e059d7f104..3dd0471b43475 100644 --- a/api_docs/kbn_core_preboot_server_mocks.mdx +++ b/api_docs/kbn_core_preboot_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-preboot-server-mocks title: "@kbn/core-preboot-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-preboot-server-mocks plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-preboot-server-mocks'] --- import kbnCorePrebootServerMocksObj from './kbn_core_preboot_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_rendering_browser_mocks.mdx b/api_docs/kbn_core_rendering_browser_mocks.mdx index 58cb46f0ab2ce..e8a9f01db6622 100644 --- a/api_docs/kbn_core_rendering_browser_mocks.mdx +++ b/api_docs/kbn_core_rendering_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-rendering-browser-mocks title: "@kbn/core-rendering-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-rendering-browser-mocks plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-rendering-browser-mocks'] --- import kbnCoreRenderingBrowserMocksObj from './kbn_core_rendering_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_rendering_server_internal.mdx b/api_docs/kbn_core_rendering_server_internal.mdx index 9832a3d148c83..73ab834805820 100644 --- a/api_docs/kbn_core_rendering_server_internal.mdx +++ b/api_docs/kbn_core_rendering_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-rendering-server-internal title: "@kbn/core-rendering-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-rendering-server-internal plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-rendering-server-internal'] --- import kbnCoreRenderingServerInternalObj from './kbn_core_rendering_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_rendering_server_mocks.mdx b/api_docs/kbn_core_rendering_server_mocks.mdx index 0b327b04ee724..4819f95008dc6 100644 --- a/api_docs/kbn_core_rendering_server_mocks.mdx +++ b/api_docs/kbn_core_rendering_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-rendering-server-mocks title: "@kbn/core-rendering-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-rendering-server-mocks plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-rendering-server-mocks'] --- import kbnCoreRenderingServerMocksObj from './kbn_core_rendering_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_api_browser.mdx b/api_docs/kbn_core_saved_objects_api_browser.mdx index dcbad77eed840..347e94226dfa1 100644 --- a/api_docs/kbn_core_saved_objects_api_browser.mdx +++ b/api_docs/kbn_core_saved_objects_api_browser.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-saved-objects-api-browser plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-api-browser'] --- import kbnCoreSavedObjectsApiBrowserObj from './kbn_core_saved_objects_api_browser.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_api_server.mdx b/api_docs/kbn_core_saved_objects_api_server.mdx index 15ad5a9d2fc78..5876ed17f7319 100644 --- a/api_docs/kbn_core_saved_objects_api_server.mdx +++ b/api_docs/kbn_core_saved_objects_api_server.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-saved-objects-api-server plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-api-server'] --- import kbnCoreSavedObjectsApiServerObj from './kbn_core_saved_objects_api_server.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_api_server_internal.mdx b/api_docs/kbn_core_saved_objects_api_server_internal.mdx index c729e6161b30d..4aeb889147704 100644 --- a/api_docs/kbn_core_saved_objects_api_server_internal.mdx +++ b/api_docs/kbn_core_saved_objects_api_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-api-server-internal title: "@kbn/core-saved-objects-api-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-api-server-internal plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-api-server-internal'] --- import kbnCoreSavedObjectsApiServerInternalObj from './kbn_core_saved_objects_api_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_api_server_mocks.mdx b/api_docs/kbn_core_saved_objects_api_server_mocks.mdx index 1c55736aff6ce..7d8420b80d9dd 100644 --- a/api_docs/kbn_core_saved_objects_api_server_mocks.mdx +++ b/api_docs/kbn_core_saved_objects_api_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-api-server-mocks title: "@kbn/core-saved-objects-api-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-api-server-mocks plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-api-server-mocks'] --- import kbnCoreSavedObjectsApiServerMocksObj from './kbn_core_saved_objects_api_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_base_server_internal.mdx b/api_docs/kbn_core_saved_objects_base_server_internal.mdx index 7e8aaf615278a..9a7619b1b054a 100644 --- a/api_docs/kbn_core_saved_objects_base_server_internal.mdx +++ b/api_docs/kbn_core_saved_objects_base_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-base-server-internal title: "@kbn/core-saved-objects-base-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-base-server-internal plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-base-server-internal'] --- import kbnCoreSavedObjectsBaseServerInternalObj from './kbn_core_saved_objects_base_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_base_server_mocks.mdx b/api_docs/kbn_core_saved_objects_base_server_mocks.mdx index 65c76c147498e..1cf307cbe7a87 100644 --- a/api_docs/kbn_core_saved_objects_base_server_mocks.mdx +++ b/api_docs/kbn_core_saved_objects_base_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-base-server-mocks title: "@kbn/core-saved-objects-base-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-base-server-mocks plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-base-server-mocks'] --- import kbnCoreSavedObjectsBaseServerMocksObj from './kbn_core_saved_objects_base_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_browser.mdx b/api_docs/kbn_core_saved_objects_browser.mdx index 34004e818a1f1..531f642e937c7 100644 --- a/api_docs/kbn_core_saved_objects_browser.mdx +++ b/api_docs/kbn_core_saved_objects_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-browser title: "@kbn/core-saved-objects-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-browser plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-browser'] --- import kbnCoreSavedObjectsBrowserObj from './kbn_core_saved_objects_browser.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_browser_internal.mdx b/api_docs/kbn_core_saved_objects_browser_internal.mdx index bd22a404f989d..c0b38c07f8d5d 100644 --- a/api_docs/kbn_core_saved_objects_browser_internal.mdx +++ b/api_docs/kbn_core_saved_objects_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-browser-internal title: "@kbn/core-saved-objects-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-browser-internal plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-browser-internal'] --- import kbnCoreSavedObjectsBrowserInternalObj from './kbn_core_saved_objects_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_browser_mocks.mdx b/api_docs/kbn_core_saved_objects_browser_mocks.mdx index 5d9b0f5f9478d..cbaa6ff9a52e4 100644 --- a/api_docs/kbn_core_saved_objects_browser_mocks.mdx +++ b/api_docs/kbn_core_saved_objects_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-browser-mocks title: "@kbn/core-saved-objects-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-browser-mocks plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-browser-mocks'] --- import kbnCoreSavedObjectsBrowserMocksObj from './kbn_core_saved_objects_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_common.mdx b/api_docs/kbn_core_saved_objects_common.mdx index 7943b74718b8e..73c27d89f89dc 100644 --- a/api_docs/kbn_core_saved_objects_common.mdx +++ b/api_docs/kbn_core_saved_objects_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-common title: "@kbn/core-saved-objects-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-common plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-common'] --- import kbnCoreSavedObjectsCommonObj from './kbn_core_saved_objects_common.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_import_export_server_internal.mdx b/api_docs/kbn_core_saved_objects_import_export_server_internal.mdx index 88c7980354a44..1d6257cee7c7d 100644 --- a/api_docs/kbn_core_saved_objects_import_export_server_internal.mdx +++ b/api_docs/kbn_core_saved_objects_import_export_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-import-export-server-internal title: "@kbn/core-saved-objects-import-export-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-import-export-server-internal plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-import-export-server-internal'] --- import kbnCoreSavedObjectsImportExportServerInternalObj from './kbn_core_saved_objects_import_export_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_import_export_server_mocks.mdx b/api_docs/kbn_core_saved_objects_import_export_server_mocks.mdx index 3e04d4d0e0ed2..9a5af295c0e01 100644 --- a/api_docs/kbn_core_saved_objects_import_export_server_mocks.mdx +++ b/api_docs/kbn_core_saved_objects_import_export_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-import-export-server-mocks title: "@kbn/core-saved-objects-import-export-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-import-export-server-mocks plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-import-export-server-mocks'] --- import kbnCoreSavedObjectsImportExportServerMocksObj from './kbn_core_saved_objects_import_export_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_migration_server_internal.mdx b/api_docs/kbn_core_saved_objects_migration_server_internal.mdx index 8c0027b0624b8..2a1deda3567e4 100644 --- a/api_docs/kbn_core_saved_objects_migration_server_internal.mdx +++ b/api_docs/kbn_core_saved_objects_migration_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-migration-server-internal title: "@kbn/core-saved-objects-migration-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-migration-server-internal plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-migration-server-internal'] --- import kbnCoreSavedObjectsMigrationServerInternalObj from './kbn_core_saved_objects_migration_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_migration_server_mocks.mdx b/api_docs/kbn_core_saved_objects_migration_server_mocks.mdx index 43af9a7802ad8..dd4a7a0ebd9f8 100644 --- a/api_docs/kbn_core_saved_objects_migration_server_mocks.mdx +++ b/api_docs/kbn_core_saved_objects_migration_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-migration-server-mocks title: "@kbn/core-saved-objects-migration-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-migration-server-mocks plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-migration-server-mocks'] --- import kbnCoreSavedObjectsMigrationServerMocksObj from './kbn_core_saved_objects_migration_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_server.mdx b/api_docs/kbn_core_saved_objects_server.mdx index 15d1b1bffb692..65f70ae0b1594 100644 --- a/api_docs/kbn_core_saved_objects_server.mdx +++ b/api_docs/kbn_core_saved_objects_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-server title: "@kbn/core-saved-objects-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-server plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-server'] --- import kbnCoreSavedObjectsServerObj from './kbn_core_saved_objects_server.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_server_internal.mdx b/api_docs/kbn_core_saved_objects_server_internal.mdx index b37c084de9d15..31db71779d30c 100644 --- a/api_docs/kbn_core_saved_objects_server_internal.mdx +++ b/api_docs/kbn_core_saved_objects_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-server-internal title: "@kbn/core-saved-objects-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-server-internal plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-server-internal'] --- import kbnCoreSavedObjectsServerInternalObj from './kbn_core_saved_objects_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_server_mocks.mdx b/api_docs/kbn_core_saved_objects_server_mocks.mdx index 11ddc84b5f051..8f4682f99620e 100644 --- a/api_docs/kbn_core_saved_objects_server_mocks.mdx +++ b/api_docs/kbn_core_saved_objects_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-server-mocks title: "@kbn/core-saved-objects-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-server-mocks plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-server-mocks'] --- import kbnCoreSavedObjectsServerMocksObj from './kbn_core_saved_objects_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_utils_server.mdx b/api_docs/kbn_core_saved_objects_utils_server.mdx index d782be982c233..eb333f0d10ca1 100644 --- a/api_docs/kbn_core_saved_objects_utils_server.mdx +++ b/api_docs/kbn_core_saved_objects_utils_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-utils-server title: "@kbn/core-saved-objects-utils-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-utils-server plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-utils-server'] --- import kbnCoreSavedObjectsUtilsServerObj from './kbn_core_saved_objects_utils_server.devdocs.json'; diff --git a/api_docs/kbn_core_status_common.mdx b/api_docs/kbn_core_status_common.mdx index 9dadd3bf34fe7..737673d2460f0 100644 --- a/api_docs/kbn_core_status_common.mdx +++ b/api_docs/kbn_core_status_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-status-common title: "@kbn/core-status-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-status-common plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-status-common'] --- import kbnCoreStatusCommonObj from './kbn_core_status_common.devdocs.json'; diff --git a/api_docs/kbn_core_status_common_internal.mdx b/api_docs/kbn_core_status_common_internal.mdx index 2b3b484a8b7d2..389126e420ffb 100644 --- a/api_docs/kbn_core_status_common_internal.mdx +++ b/api_docs/kbn_core_status_common_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-status-common-internal title: "@kbn/core-status-common-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-status-common-internal plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-status-common-internal'] --- import kbnCoreStatusCommonInternalObj from './kbn_core_status_common_internal.devdocs.json'; diff --git a/api_docs/kbn_core_status_server.mdx b/api_docs/kbn_core_status_server.mdx index e16f13f57b9d4..451eeb33abdf6 100644 --- a/api_docs/kbn_core_status_server.mdx +++ b/api_docs/kbn_core_status_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-status-server title: "@kbn/core-status-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-status-server plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-status-server'] --- import kbnCoreStatusServerObj from './kbn_core_status_server.devdocs.json'; diff --git a/api_docs/kbn_core_status_server_internal.mdx b/api_docs/kbn_core_status_server_internal.mdx index cecd5ffd6443a..535a89e5c0023 100644 --- a/api_docs/kbn_core_status_server_internal.mdx +++ b/api_docs/kbn_core_status_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-status-server-internal title: "@kbn/core-status-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-status-server-internal plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-status-server-internal'] --- import kbnCoreStatusServerInternalObj from './kbn_core_status_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_status_server_mocks.mdx b/api_docs/kbn_core_status_server_mocks.mdx index 1804d2c2db5f3..cdcc0e1e54c90 100644 --- a/api_docs/kbn_core_status_server_mocks.mdx +++ b/api_docs/kbn_core_status_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-status-server-mocks title: "@kbn/core-status-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-status-server-mocks plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-status-server-mocks'] --- import kbnCoreStatusServerMocksObj from './kbn_core_status_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_test_helpers_deprecations_getters.mdx b/api_docs/kbn_core_test_helpers_deprecations_getters.mdx index c1d05b0679328..c827d97b9e836 100644 --- a/api_docs/kbn_core_test_helpers_deprecations_getters.mdx +++ b/api_docs/kbn_core_test_helpers_deprecations_getters.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-test-helpers-deprecations-getters title: "@kbn/core-test-helpers-deprecations-getters" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-test-helpers-deprecations-getters plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-test-helpers-deprecations-getters'] --- import kbnCoreTestHelpersDeprecationsGettersObj from './kbn_core_test_helpers_deprecations_getters.devdocs.json'; 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 6b19111e63836..b545d60fbfc25 100644 --- a/api_docs/kbn_core_test_helpers_http_setup_browser.mdx +++ b/api_docs/kbn_core_test_helpers_http_setup_browser.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-test-helpers-http-setup-browser plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-test-helpers-http-setup-browser'] --- import kbnCoreTestHelpersHttpSetupBrowserObj from './kbn_core_test_helpers_http_setup_browser.devdocs.json'; diff --git a/api_docs/kbn_core_test_helpers_so_type_serializer.mdx b/api_docs/kbn_core_test_helpers_so_type_serializer.mdx index 1b61b642fe379..4c54d79187412 100644 --- a/api_docs/kbn_core_test_helpers_so_type_serializer.mdx +++ b/api_docs/kbn_core_test_helpers_so_type_serializer.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-test-helpers-so-type-serializer title: "@kbn/core-test-helpers-so-type-serializer" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-test-helpers-so-type-serializer plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-test-helpers-so-type-serializer'] --- import kbnCoreTestHelpersSoTypeSerializerObj from './kbn_core_test_helpers_so_type_serializer.devdocs.json'; diff --git a/api_docs/kbn_core_test_helpers_test_utils.mdx b/api_docs/kbn_core_test_helpers_test_utils.mdx index 71be94eaed54c..126bf496a75e0 100644 --- a/api_docs/kbn_core_test_helpers_test_utils.mdx +++ b/api_docs/kbn_core_test_helpers_test_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-test-helpers-test-utils title: "@kbn/core-test-helpers-test-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-test-helpers-test-utils plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-test-helpers-test-utils'] --- import kbnCoreTestHelpersTestUtilsObj from './kbn_core_test_helpers_test_utils.devdocs.json'; diff --git a/api_docs/kbn_core_theme_browser.mdx b/api_docs/kbn_core_theme_browser.mdx index c71c27dd16cb7..b57e9f0252ae7 100644 --- a/api_docs/kbn_core_theme_browser.mdx +++ b/api_docs/kbn_core_theme_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-theme-browser title: "@kbn/core-theme-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-theme-browser plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-theme-browser'] --- import kbnCoreThemeBrowserObj from './kbn_core_theme_browser.devdocs.json'; diff --git a/api_docs/kbn_core_theme_browser_internal.mdx b/api_docs/kbn_core_theme_browser_internal.mdx index 7636eaa0c15bd..8d21465ab0dff 100644 --- a/api_docs/kbn_core_theme_browser_internal.mdx +++ b/api_docs/kbn_core_theme_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-theme-browser-internal title: "@kbn/core-theme-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-theme-browser-internal plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-theme-browser-internal'] --- import kbnCoreThemeBrowserInternalObj from './kbn_core_theme_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_theme_browser_mocks.mdx b/api_docs/kbn_core_theme_browser_mocks.mdx index 505d24a360ec7..a9b20456a77c5 100644 --- a/api_docs/kbn_core_theme_browser_mocks.mdx +++ b/api_docs/kbn_core_theme_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-theme-browser-mocks title: "@kbn/core-theme-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-theme-browser-mocks plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-theme-browser-mocks'] --- import kbnCoreThemeBrowserMocksObj from './kbn_core_theme_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_ui_settings_browser.mdx b/api_docs/kbn_core_ui_settings_browser.mdx index dcf2192d516b3..7236d98e1346e 100644 --- a/api_docs/kbn_core_ui_settings_browser.mdx +++ b/api_docs/kbn_core_ui_settings_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-browser title: "@kbn/core-ui-settings-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-ui-settings-browser plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-ui-settings-browser'] --- import kbnCoreUiSettingsBrowserObj from './kbn_core_ui_settings_browser.devdocs.json'; diff --git a/api_docs/kbn_core_ui_settings_browser_internal.mdx b/api_docs/kbn_core_ui_settings_browser_internal.mdx index bd08ab4d55c5e..f69dc5c1ae84c 100644 --- a/api_docs/kbn_core_ui_settings_browser_internal.mdx +++ b/api_docs/kbn_core_ui_settings_browser_internal.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-ui-settings-browser-internal plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-ui-settings-browser-internal'] --- import kbnCoreUiSettingsBrowserInternalObj from './kbn_core_ui_settings_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_ui_settings_browser_mocks.mdx b/api_docs/kbn_core_ui_settings_browser_mocks.mdx index 39d526aec8efd..bd9dc0f3dd102 100644 --- a/api_docs/kbn_core_ui_settings_browser_mocks.mdx +++ b/api_docs/kbn_core_ui_settings_browser_mocks.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-ui-settings-browser-mocks plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-ui-settings-browser-mocks'] --- import kbnCoreUiSettingsBrowserMocksObj from './kbn_core_ui_settings_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_ui_settings_common.mdx b/api_docs/kbn_core_ui_settings_common.mdx index 24b118e89715d..b91f31539ce1e 100644 --- a/api_docs/kbn_core_ui_settings_common.mdx +++ b/api_docs/kbn_core_ui_settings_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-common title: "@kbn/core-ui-settings-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-ui-settings-common plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-ui-settings-common'] --- import kbnCoreUiSettingsCommonObj from './kbn_core_ui_settings_common.devdocs.json'; diff --git a/api_docs/kbn_core_ui_settings_server.mdx b/api_docs/kbn_core_ui_settings_server.mdx index 3d3208b8b186e..06f3a34815834 100644 --- a/api_docs/kbn_core_ui_settings_server.mdx +++ b/api_docs/kbn_core_ui_settings_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-server title: "@kbn/core-ui-settings-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-ui-settings-server plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-ui-settings-server'] --- import kbnCoreUiSettingsServerObj from './kbn_core_ui_settings_server.devdocs.json'; diff --git a/api_docs/kbn_core_ui_settings_server_internal.mdx b/api_docs/kbn_core_ui_settings_server_internal.mdx index 3898b4e1bcad1..9ba3cb0960f0f 100644 --- a/api_docs/kbn_core_ui_settings_server_internal.mdx +++ b/api_docs/kbn_core_ui_settings_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-server-internal title: "@kbn/core-ui-settings-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-ui-settings-server-internal plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-ui-settings-server-internal'] --- import kbnCoreUiSettingsServerInternalObj from './kbn_core_ui_settings_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_ui_settings_server_mocks.mdx b/api_docs/kbn_core_ui_settings_server_mocks.mdx index 7d21b5ee5825d..6962f3345bb43 100644 --- a/api_docs/kbn_core_ui_settings_server_mocks.mdx +++ b/api_docs/kbn_core_ui_settings_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-server-mocks title: "@kbn/core-ui-settings-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-ui-settings-server-mocks plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-ui-settings-server-mocks'] --- import kbnCoreUiSettingsServerMocksObj from './kbn_core_ui_settings_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_usage_data_server.mdx b/api_docs/kbn_core_usage_data_server.mdx index fb508f103dbb9..0c03e61a1ba05 100644 --- a/api_docs/kbn_core_usage_data_server.mdx +++ b/api_docs/kbn_core_usage_data_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-usage-data-server title: "@kbn/core-usage-data-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-usage-data-server plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-usage-data-server'] --- import kbnCoreUsageDataServerObj from './kbn_core_usage_data_server.devdocs.json'; diff --git a/api_docs/kbn_core_usage_data_server_internal.mdx b/api_docs/kbn_core_usage_data_server_internal.mdx index 55613cda4282e..cb0c573ee2af7 100644 --- a/api_docs/kbn_core_usage_data_server_internal.mdx +++ b/api_docs/kbn_core_usage_data_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-usage-data-server-internal title: "@kbn/core-usage-data-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-usage-data-server-internal plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-usage-data-server-internal'] --- import kbnCoreUsageDataServerInternalObj from './kbn_core_usage_data_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_usage_data_server_mocks.mdx b/api_docs/kbn_core_usage_data_server_mocks.mdx index 581eeafa786df..9741f2aada8d5 100644 --- a/api_docs/kbn_core_usage_data_server_mocks.mdx +++ b/api_docs/kbn_core_usage_data_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-usage-data-server-mocks title: "@kbn/core-usage-data-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-usage-data-server-mocks plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-usage-data-server-mocks'] --- import kbnCoreUsageDataServerMocksObj from './kbn_core_usage_data_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_crypto.mdx b/api_docs/kbn_crypto.mdx index 2a24782a409a9..7380d4a9e6ec2 100644 --- a/api_docs/kbn_crypto.mdx +++ b/api_docs/kbn_crypto.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-crypto title: "@kbn/crypto" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/crypto plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/crypto'] --- import kbnCryptoObj from './kbn_crypto.devdocs.json'; diff --git a/api_docs/kbn_crypto_browser.mdx b/api_docs/kbn_crypto_browser.mdx index 6f2fa809f289a..b6ad79e313b59 100644 --- a/api_docs/kbn_crypto_browser.mdx +++ b/api_docs/kbn_crypto_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-crypto-browser title: "@kbn/crypto-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/crypto-browser plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/crypto-browser'] --- import kbnCryptoBrowserObj from './kbn_crypto_browser.devdocs.json'; diff --git a/api_docs/kbn_datemath.mdx b/api_docs/kbn_datemath.mdx index 7d7a202ed9ee7..fe67304aa5a65 100644 --- a/api_docs/kbn_datemath.mdx +++ b/api_docs/kbn_datemath.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-datemath title: "@kbn/datemath" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/datemath plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/datemath'] --- import kbnDatemathObj from './kbn_datemath.devdocs.json'; diff --git a/api_docs/kbn_dev_cli_errors.mdx b/api_docs/kbn_dev_cli_errors.mdx index 054d0cd1893e5..8fefa05379d4a 100644 --- a/api_docs/kbn_dev_cli_errors.mdx +++ b/api_docs/kbn_dev_cli_errors.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-dev-cli-errors title: "@kbn/dev-cli-errors" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/dev-cli-errors plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/dev-cli-errors'] --- import kbnDevCliErrorsObj from './kbn_dev_cli_errors.devdocs.json'; diff --git a/api_docs/kbn_dev_cli_runner.mdx b/api_docs/kbn_dev_cli_runner.mdx index 87e66b7670250..5eb33c2430402 100644 --- a/api_docs/kbn_dev_cli_runner.mdx +++ b/api_docs/kbn_dev_cli_runner.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-dev-cli-runner title: "@kbn/dev-cli-runner" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/dev-cli-runner plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/dev-cli-runner'] --- import kbnDevCliRunnerObj from './kbn_dev_cli_runner.devdocs.json'; diff --git a/api_docs/kbn_dev_proc_runner.mdx b/api_docs/kbn_dev_proc_runner.mdx index d44b4a523ac27..06e95d715676a 100644 --- a/api_docs/kbn_dev_proc_runner.mdx +++ b/api_docs/kbn_dev_proc_runner.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-dev-proc-runner title: "@kbn/dev-proc-runner" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/dev-proc-runner plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/dev-proc-runner'] --- import kbnDevProcRunnerObj from './kbn_dev_proc_runner.devdocs.json'; diff --git a/api_docs/kbn_dev_utils.mdx b/api_docs/kbn_dev_utils.mdx index 72a3da971debc..72a2a72396ba8 100644 --- a/api_docs/kbn_dev_utils.mdx +++ b/api_docs/kbn_dev_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-dev-utils title: "@kbn/dev-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/dev-utils plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/dev-utils'] --- import kbnDevUtilsObj from './kbn_dev_utils.devdocs.json'; diff --git a/api_docs/kbn_doc_links.mdx b/api_docs/kbn_doc_links.mdx index c8a70540904ca..0b03273d3098e 100644 --- a/api_docs/kbn_doc_links.mdx +++ b/api_docs/kbn_doc_links.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-doc-links title: "@kbn/doc-links" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/doc-links plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/doc-links'] --- import kbnDocLinksObj from './kbn_doc_links.devdocs.json'; diff --git a/api_docs/kbn_docs_utils.mdx b/api_docs/kbn_docs_utils.mdx index df81aac36cbf2..ababa7a6280cf 100644 --- a/api_docs/kbn_docs_utils.mdx +++ b/api_docs/kbn_docs_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-docs-utils title: "@kbn/docs-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/docs-utils plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/docs-utils'] --- import kbnDocsUtilsObj from './kbn_docs_utils.devdocs.json'; diff --git a/api_docs/kbn_ebt_tools.mdx b/api_docs/kbn_ebt_tools.mdx index aa835a454c588..8d084e73b0b50 100644 --- a/api_docs/kbn_ebt_tools.mdx +++ b/api_docs/kbn_ebt_tools.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ebt-tools title: "@kbn/ebt-tools" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ebt-tools plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ebt-tools'] --- import kbnEbtToolsObj from './kbn_ebt_tools.devdocs.json'; diff --git a/api_docs/kbn_es.mdx b/api_docs/kbn_es.mdx index b9be0c772957a..6620e79134f95 100644 --- a/api_docs/kbn_es.mdx +++ b/api_docs/kbn_es.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-es title: "@kbn/es" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/es plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/es'] --- import kbnEsObj from './kbn_es.devdocs.json'; diff --git a/api_docs/kbn_es_archiver.mdx b/api_docs/kbn_es_archiver.mdx index 2ca3d71c1522b..16918d3ea4ae6 100644 --- a/api_docs/kbn_es_archiver.mdx +++ b/api_docs/kbn_es_archiver.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-es-archiver title: "@kbn/es-archiver" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/es-archiver plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/es-archiver'] --- import kbnEsArchiverObj from './kbn_es_archiver.devdocs.json'; diff --git a/api_docs/kbn_es_errors.mdx b/api_docs/kbn_es_errors.mdx index 225851d1a685f..b4ec1adcb9ff9 100644 --- a/api_docs/kbn_es_errors.mdx +++ b/api_docs/kbn_es_errors.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-es-errors title: "@kbn/es-errors" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/es-errors plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/es-errors'] --- import kbnEsErrorsObj from './kbn_es_errors.devdocs.json'; diff --git a/api_docs/kbn_es_query.mdx b/api_docs/kbn_es_query.mdx index 8aca076c7cc71..a219f9d35662f 100644 --- a/api_docs/kbn_es_query.mdx +++ b/api_docs/kbn_es_query.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-es-query title: "@kbn/es-query" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/es-query plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/es-query'] --- import kbnEsQueryObj from './kbn_es_query.devdocs.json'; diff --git a/api_docs/kbn_es_types.mdx b/api_docs/kbn_es_types.mdx index 57f491b1e262b..fa75d5b3d8525 100644 --- a/api_docs/kbn_es_types.mdx +++ b/api_docs/kbn_es_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-es-types title: "@kbn/es-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/es-types plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/es-types'] --- import kbnEsTypesObj from './kbn_es_types.devdocs.json'; diff --git a/api_docs/kbn_eslint_plugin_imports.mdx b/api_docs/kbn_eslint_plugin_imports.mdx index 9ca474744b19e..2fe4763b31a4a 100644 --- a/api_docs/kbn_eslint_plugin_imports.mdx +++ b/api_docs/kbn_eslint_plugin_imports.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-eslint-plugin-imports title: "@kbn/eslint-plugin-imports" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/eslint-plugin-imports plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/eslint-plugin-imports'] --- import kbnEslintPluginImportsObj from './kbn_eslint_plugin_imports.devdocs.json'; diff --git a/api_docs/kbn_field_types.mdx b/api_docs/kbn_field_types.mdx index c4aa3995ee9c5..72adbb9cfd67e 100644 --- a/api_docs/kbn_field_types.mdx +++ b/api_docs/kbn_field_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-field-types title: "@kbn/field-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/field-types plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/field-types'] --- import kbnFieldTypesObj from './kbn_field_types.devdocs.json'; diff --git a/api_docs/kbn_find_used_node_modules.mdx b/api_docs/kbn_find_used_node_modules.mdx index 4c5a3add24a73..97ee0cdaec201 100644 --- a/api_docs/kbn_find_used_node_modules.mdx +++ b/api_docs/kbn_find_used_node_modules.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-find-used-node-modules title: "@kbn/find-used-node-modules" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/find-used-node-modules plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/find-used-node-modules'] --- import kbnFindUsedNodeModulesObj from './kbn_find_used_node_modules.devdocs.json'; diff --git a/api_docs/kbn_ftr_common_functional_services.mdx b/api_docs/kbn_ftr_common_functional_services.mdx index 59b0eef391229..4b8ea51be5b80 100644 --- a/api_docs/kbn_ftr_common_functional_services.mdx +++ b/api_docs/kbn_ftr_common_functional_services.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ftr-common-functional-services title: "@kbn/ftr-common-functional-services" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ftr-common-functional-services plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ftr-common-functional-services'] --- import kbnFtrCommonFunctionalServicesObj from './kbn_ftr_common_functional_services.devdocs.json'; diff --git a/api_docs/kbn_generate.mdx b/api_docs/kbn_generate.mdx index 4855bf64038c0..e4461fa9efe4f 100644 --- a/api_docs/kbn_generate.mdx +++ b/api_docs/kbn_generate.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-generate title: "@kbn/generate" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/generate plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/generate'] --- import kbnGenerateObj from './kbn_generate.devdocs.json'; diff --git a/api_docs/kbn_get_repo_files.mdx b/api_docs/kbn_get_repo_files.mdx index 0189e35b00c98..bf4fe3ccc932b 100644 --- a/api_docs/kbn_get_repo_files.mdx +++ b/api_docs/kbn_get_repo_files.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-get-repo-files title: "@kbn/get-repo-files" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/get-repo-files plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/get-repo-files'] --- import kbnGetRepoFilesObj from './kbn_get_repo_files.devdocs.json'; diff --git a/api_docs/kbn_guided_onboarding.mdx b/api_docs/kbn_guided_onboarding.mdx index 20bf6cce487ed..584fab770b326 100644 --- a/api_docs/kbn_guided_onboarding.mdx +++ b/api_docs/kbn_guided_onboarding.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-guided-onboarding title: "@kbn/guided-onboarding" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/guided-onboarding plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/guided-onboarding'] --- import kbnGuidedOnboardingObj from './kbn_guided_onboarding.devdocs.json'; diff --git a/api_docs/kbn_handlebars.mdx b/api_docs/kbn_handlebars.mdx index af2af449c5ca3..b8549dfcd91d4 100644 --- a/api_docs/kbn_handlebars.mdx +++ b/api_docs/kbn_handlebars.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-handlebars title: "@kbn/handlebars" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/handlebars plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/handlebars'] --- import kbnHandlebarsObj from './kbn_handlebars.devdocs.json'; diff --git a/api_docs/kbn_hapi_mocks.mdx b/api_docs/kbn_hapi_mocks.mdx index c292116c8980c..247ed782b8caf 100644 --- a/api_docs/kbn_hapi_mocks.mdx +++ b/api_docs/kbn_hapi_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-hapi-mocks title: "@kbn/hapi-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/hapi-mocks plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/hapi-mocks'] --- import kbnHapiMocksObj from './kbn_hapi_mocks.devdocs.json'; diff --git a/api_docs/kbn_home_sample_data_card.mdx b/api_docs/kbn_home_sample_data_card.mdx index 3079cc4d1b02f..f5b648d0269ca 100644 --- a/api_docs/kbn_home_sample_data_card.mdx +++ b/api_docs/kbn_home_sample_data_card.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-home-sample-data-card title: "@kbn/home-sample-data-card" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/home-sample-data-card plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/home-sample-data-card'] --- import kbnHomeSampleDataCardObj from './kbn_home_sample_data_card.devdocs.json'; diff --git a/api_docs/kbn_home_sample_data_tab.mdx b/api_docs/kbn_home_sample_data_tab.mdx index 556f7faae1bfc..134e6eaa7a205 100644 --- a/api_docs/kbn_home_sample_data_tab.mdx +++ b/api_docs/kbn_home_sample_data_tab.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-home-sample-data-tab title: "@kbn/home-sample-data-tab" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/home-sample-data-tab plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/home-sample-data-tab'] --- import kbnHomeSampleDataTabObj from './kbn_home_sample_data_tab.devdocs.json'; diff --git a/api_docs/kbn_i18n.mdx b/api_docs/kbn_i18n.mdx index 5efc0b9f49dfb..14798a9b4b527 100644 --- a/api_docs/kbn_i18n.mdx +++ b/api_docs/kbn_i18n.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-i18n title: "@kbn/i18n" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/i18n plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/i18n'] --- import kbnI18nObj from './kbn_i18n.devdocs.json'; diff --git a/api_docs/kbn_i18n_react.mdx b/api_docs/kbn_i18n_react.mdx index df3d91108ea47..99eb15d86085c 100644 --- a/api_docs/kbn_i18n_react.mdx +++ b/api_docs/kbn_i18n_react.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-i18n-react title: "@kbn/i18n-react" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/i18n-react plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/i18n-react'] --- import kbnI18nReactObj from './kbn_i18n_react.devdocs.json'; diff --git a/api_docs/kbn_import_resolver.mdx b/api_docs/kbn_import_resolver.mdx index 9fa5f9e96f3ec..653ecbf47a225 100644 --- a/api_docs/kbn_import_resolver.mdx +++ b/api_docs/kbn_import_resolver.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-import-resolver title: "@kbn/import-resolver" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/import-resolver plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/import-resolver'] --- import kbnImportResolverObj from './kbn_import_resolver.devdocs.json'; diff --git a/api_docs/kbn_interpreter.mdx b/api_docs/kbn_interpreter.mdx index 6e1b4d9e21d27..a547d5a8bc47e 100644 --- a/api_docs/kbn_interpreter.mdx +++ b/api_docs/kbn_interpreter.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-interpreter title: "@kbn/interpreter" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/interpreter plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/interpreter'] --- import kbnInterpreterObj from './kbn_interpreter.devdocs.json'; diff --git a/api_docs/kbn_io_ts_utils.mdx b/api_docs/kbn_io_ts_utils.mdx index e7c1baa7a6778..4f5b0c1facf96 100644 --- a/api_docs/kbn_io_ts_utils.mdx +++ b/api_docs/kbn_io_ts_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-io-ts-utils title: "@kbn/io-ts-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/io-ts-utils plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/io-ts-utils'] --- import kbnIoTsUtilsObj from './kbn_io_ts_utils.devdocs.json'; diff --git a/api_docs/kbn_jest_serializers.mdx b/api_docs/kbn_jest_serializers.mdx index c2202124b4ec8..576dca06dd4f1 100644 --- a/api_docs/kbn_jest_serializers.mdx +++ b/api_docs/kbn_jest_serializers.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-jest-serializers title: "@kbn/jest-serializers" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/jest-serializers plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/jest-serializers'] --- import kbnJestSerializersObj from './kbn_jest_serializers.devdocs.json'; diff --git a/api_docs/kbn_journeys.mdx b/api_docs/kbn_journeys.mdx index 5742233a5c2f7..1c2c71b6f3ab5 100644 --- a/api_docs/kbn_journeys.mdx +++ b/api_docs/kbn_journeys.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-journeys title: "@kbn/journeys" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/journeys plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/journeys'] --- import kbnJourneysObj from './kbn_journeys.devdocs.json'; diff --git a/api_docs/kbn_kibana_manifest_schema.mdx b/api_docs/kbn_kibana_manifest_schema.mdx index dd3281066737b..eea0f3fed66e6 100644 --- a/api_docs/kbn_kibana_manifest_schema.mdx +++ b/api_docs/kbn_kibana_manifest_schema.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-kibana-manifest-schema title: "@kbn/kibana-manifest-schema" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/kibana-manifest-schema plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/kibana-manifest-schema'] --- import kbnKibanaManifestSchemaObj from './kbn_kibana_manifest_schema.devdocs.json'; diff --git a/api_docs/kbn_language_documentation_popover.mdx b/api_docs/kbn_language_documentation_popover.mdx index 8ad6f5d13a5d7..04f64b4a51983 100644 --- a/api_docs/kbn_language_documentation_popover.mdx +++ b/api_docs/kbn_language_documentation_popover.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-language-documentation-popover title: "@kbn/language-documentation-popover" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/language-documentation-popover plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/language-documentation-popover'] --- import kbnLanguageDocumentationPopoverObj from './kbn_language_documentation_popover.devdocs.json'; diff --git a/api_docs/kbn_logging.mdx b/api_docs/kbn_logging.mdx index d365849331ce6..64fa6c32eda57 100644 --- a/api_docs/kbn_logging.mdx +++ b/api_docs/kbn_logging.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-logging title: "@kbn/logging" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/logging plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/logging'] --- import kbnLoggingObj from './kbn_logging.devdocs.json'; diff --git a/api_docs/kbn_logging_mocks.mdx b/api_docs/kbn_logging_mocks.mdx index c1a1b42b3ca93..27197f3c32833 100644 --- a/api_docs/kbn_logging_mocks.mdx +++ b/api_docs/kbn_logging_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-logging-mocks title: "@kbn/logging-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/logging-mocks plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/logging-mocks'] --- import kbnLoggingMocksObj from './kbn_logging_mocks.devdocs.json'; diff --git a/api_docs/kbn_managed_vscode_config.mdx b/api_docs/kbn_managed_vscode_config.mdx index 79a22811c965b..a35a01132a87d 100644 --- a/api_docs/kbn_managed_vscode_config.mdx +++ b/api_docs/kbn_managed_vscode_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-managed-vscode-config title: "@kbn/managed-vscode-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/managed-vscode-config plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/managed-vscode-config'] --- import kbnManagedVscodeConfigObj from './kbn_managed_vscode_config.devdocs.json'; diff --git a/api_docs/kbn_mapbox_gl.mdx b/api_docs/kbn_mapbox_gl.mdx index f11560b700495..d28d926551a1c 100644 --- a/api_docs/kbn_mapbox_gl.mdx +++ b/api_docs/kbn_mapbox_gl.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-mapbox-gl title: "@kbn/mapbox-gl" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/mapbox-gl plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/mapbox-gl'] --- import kbnMapboxGlObj from './kbn_mapbox_gl.devdocs.json'; diff --git a/api_docs/kbn_ml_agg_utils.mdx b/api_docs/kbn_ml_agg_utils.mdx index 85472fd2d6ff3..a81c96e16e926 100644 --- a/api_docs/kbn_ml_agg_utils.mdx +++ b/api_docs/kbn_ml_agg_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-agg-utils title: "@kbn/ml-agg-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-agg-utils plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-agg-utils'] --- import kbnMlAggUtilsObj from './kbn_ml_agg_utils.devdocs.json'; diff --git a/api_docs/kbn_ml_is_populated_object.mdx b/api_docs/kbn_ml_is_populated_object.mdx index 08bfcb78be9a2..c75766d7852b0 100644 --- a/api_docs/kbn_ml_is_populated_object.mdx +++ b/api_docs/kbn_ml_is_populated_object.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-is-populated-object title: "@kbn/ml-is-populated-object" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-is-populated-object plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-is-populated-object'] --- import kbnMlIsPopulatedObjectObj from './kbn_ml_is_populated_object.devdocs.json'; diff --git a/api_docs/kbn_ml_string_hash.mdx b/api_docs/kbn_ml_string_hash.mdx index e632c7a8d14e9..6e81fd81ffd0f 100644 --- a/api_docs/kbn_ml_string_hash.mdx +++ b/api_docs/kbn_ml_string_hash.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-string-hash title: "@kbn/ml-string-hash" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-string-hash plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-string-hash'] --- import kbnMlStringHashObj from './kbn_ml_string_hash.devdocs.json'; diff --git a/api_docs/kbn_monaco.mdx b/api_docs/kbn_monaco.mdx index b04220cda88d0..ca79e9e07e9fe 100644 --- a/api_docs/kbn_monaco.mdx +++ b/api_docs/kbn_monaco.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-monaco title: "@kbn/monaco" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/monaco plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/monaco'] --- import kbnMonacoObj from './kbn_monaco.devdocs.json'; diff --git a/api_docs/kbn_optimizer.mdx b/api_docs/kbn_optimizer.mdx index 807d320b4c31a..7d0063114a5a4 100644 --- a/api_docs/kbn_optimizer.mdx +++ b/api_docs/kbn_optimizer.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-optimizer title: "@kbn/optimizer" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/optimizer plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/optimizer'] --- import kbnOptimizerObj from './kbn_optimizer.devdocs.json'; diff --git a/api_docs/kbn_optimizer_webpack_helpers.mdx b/api_docs/kbn_optimizer_webpack_helpers.mdx index c6e3c1fd3c458..9fe2148dea28f 100644 --- a/api_docs/kbn_optimizer_webpack_helpers.mdx +++ b/api_docs/kbn_optimizer_webpack_helpers.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-optimizer-webpack-helpers title: "@kbn/optimizer-webpack-helpers" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/optimizer-webpack-helpers plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/optimizer-webpack-helpers'] --- import kbnOptimizerWebpackHelpersObj from './kbn_optimizer_webpack_helpers.devdocs.json'; diff --git a/api_docs/kbn_osquery_io_ts_types.mdx b/api_docs/kbn_osquery_io_ts_types.mdx index 80d1b848cd62b..c8322ae9b2f26 100644 --- a/api_docs/kbn_osquery_io_ts_types.mdx +++ b/api_docs/kbn_osquery_io_ts_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-osquery-io-ts-types title: "@kbn/osquery-io-ts-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/osquery-io-ts-types plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/osquery-io-ts-types'] --- import kbnOsqueryIoTsTypesObj from './kbn_osquery_io_ts_types.devdocs.json'; diff --git a/api_docs/kbn_performance_testing_dataset_extractor.mdx b/api_docs/kbn_performance_testing_dataset_extractor.mdx index c93e5b78126d1..3f89f8bf99f1d 100644 --- a/api_docs/kbn_performance_testing_dataset_extractor.mdx +++ b/api_docs/kbn_performance_testing_dataset_extractor.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-performance-testing-dataset-extractor title: "@kbn/performance-testing-dataset-extractor" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/performance-testing-dataset-extractor plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/performance-testing-dataset-extractor'] --- import kbnPerformanceTestingDatasetExtractorObj from './kbn_performance_testing_dataset_extractor.devdocs.json'; diff --git a/api_docs/kbn_plugin_generator.mdx b/api_docs/kbn_plugin_generator.mdx index abd5c8a342ad0..8cfbd60145f5d 100644 --- a/api_docs/kbn_plugin_generator.mdx +++ b/api_docs/kbn_plugin_generator.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-plugin-generator title: "@kbn/plugin-generator" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/plugin-generator plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/plugin-generator'] --- import kbnPluginGeneratorObj from './kbn_plugin_generator.devdocs.json'; diff --git a/api_docs/kbn_plugin_helpers.mdx b/api_docs/kbn_plugin_helpers.mdx index 1ce77550f57b5..fc92e2282c501 100644 --- a/api_docs/kbn_plugin_helpers.mdx +++ b/api_docs/kbn_plugin_helpers.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-plugin-helpers title: "@kbn/plugin-helpers" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/plugin-helpers plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/plugin-helpers'] --- import kbnPluginHelpersObj from './kbn_plugin_helpers.devdocs.json'; diff --git a/api_docs/kbn_react_field.mdx b/api_docs/kbn_react_field.mdx index fbf0edd59f642..809387d5177f5 100644 --- a/api_docs/kbn_react_field.mdx +++ b/api_docs/kbn_react_field.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-react-field title: "@kbn/react-field" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/react-field plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/react-field'] --- import kbnReactFieldObj from './kbn_react_field.devdocs.json'; diff --git a/api_docs/kbn_repo_source_classifier.mdx b/api_docs/kbn_repo_source_classifier.mdx index 0887ca2b3941f..0e9b38aeb5608 100644 --- a/api_docs/kbn_repo_source_classifier.mdx +++ b/api_docs/kbn_repo_source_classifier.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-repo-source-classifier title: "@kbn/repo-source-classifier" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/repo-source-classifier plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/repo-source-classifier'] --- import kbnRepoSourceClassifierObj from './kbn_repo_source_classifier.devdocs.json'; diff --git a/api_docs/kbn_rule_data_utils.mdx b/api_docs/kbn_rule_data_utils.mdx index 19dc4f0e2e58b..e6eaa452df4cc 100644 --- a/api_docs/kbn_rule_data_utils.mdx +++ b/api_docs/kbn_rule_data_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-rule-data-utils title: "@kbn/rule-data-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/rule-data-utils plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/rule-data-utils'] --- import kbnRuleDataUtilsObj from './kbn_rule_data_utils.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_autocomplete.mdx b/api_docs/kbn_securitysolution_autocomplete.mdx index abb8f62862f8a..0b6691362335b 100644 --- a/api_docs/kbn_securitysolution_autocomplete.mdx +++ b/api_docs/kbn_securitysolution_autocomplete.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-autocomplete title: "@kbn/securitysolution-autocomplete" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-autocomplete plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-autocomplete'] --- import kbnSecuritysolutionAutocompleteObj from './kbn_securitysolution_autocomplete.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_es_utils.mdx b/api_docs/kbn_securitysolution_es_utils.mdx index 0011d1a398322..be0fd7d5f410b 100644 --- a/api_docs/kbn_securitysolution_es_utils.mdx +++ b/api_docs/kbn_securitysolution_es_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-es-utils title: "@kbn/securitysolution-es-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-es-utils plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-es-utils'] --- import kbnSecuritysolutionEsUtilsObj from './kbn_securitysolution_es_utils.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_exception_list_components.mdx b/api_docs/kbn_securitysolution_exception_list_components.mdx index e7db645b054db..0196ccc25cd2b 100644 --- a/api_docs/kbn_securitysolution_exception_list_components.mdx +++ b/api_docs/kbn_securitysolution_exception_list_components.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-exception-list-components title: "@kbn/securitysolution-exception-list-components" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-exception-list-components plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-exception-list-components'] --- import kbnSecuritysolutionExceptionListComponentsObj from './kbn_securitysolution_exception_list_components.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_hook_utils.mdx b/api_docs/kbn_securitysolution_hook_utils.mdx index 6f37616cb12f8..6d0cfec2dc06e 100644 --- a/api_docs/kbn_securitysolution_hook_utils.mdx +++ b/api_docs/kbn_securitysolution_hook_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-hook-utils title: "@kbn/securitysolution-hook-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-hook-utils plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-hook-utils'] --- import kbnSecuritysolutionHookUtilsObj from './kbn_securitysolution_hook_utils.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_io_ts_alerting_types.mdx b/api_docs/kbn_securitysolution_io_ts_alerting_types.mdx index c6454135296ab..5bc823eae72af 100644 --- a/api_docs/kbn_securitysolution_io_ts_alerting_types.mdx +++ b/api_docs/kbn_securitysolution_io_ts_alerting_types.mdx @@ -8,7 +8,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 description: API docs for the @kbn/securitysolution-io-ts-alerting-types plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-io-ts-alerting-types'] --- import kbnSecuritysolutionIoTsAlertingTypesObj from './kbn_securitysolution_io_ts_alerting_types.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_io_ts_list_types.mdx b/api_docs/kbn_securitysolution_io_ts_list_types.mdx index eb40f771a402a..fa6d34d4f0d3f 100644 --- a/api_docs/kbn_securitysolution_io_ts_list_types.mdx +++ b/api_docs/kbn_securitysolution_io_ts_list_types.mdx @@ -8,7 +8,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 description: API docs for the @kbn/securitysolution-io-ts-list-types plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-io-ts-list-types'] --- import kbnSecuritysolutionIoTsListTypesObj from './kbn_securitysolution_io_ts_list_types.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_io_ts_types.mdx b/api_docs/kbn_securitysolution_io_ts_types.mdx index 41f352ecc019b..80473929963de 100644 --- a/api_docs/kbn_securitysolution_io_ts_types.mdx +++ b/api_docs/kbn_securitysolution_io_ts_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-io-ts-types title: "@kbn/securitysolution-io-ts-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-io-ts-types plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-io-ts-types'] --- import kbnSecuritysolutionIoTsTypesObj from './kbn_securitysolution_io_ts_types.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_io_ts_utils.mdx b/api_docs/kbn_securitysolution_io_ts_utils.mdx index b4e8841d6229a..22f2af2e4d005 100644 --- a/api_docs/kbn_securitysolution_io_ts_utils.mdx +++ b/api_docs/kbn_securitysolution_io_ts_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-io-ts-utils title: "@kbn/securitysolution-io-ts-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-io-ts-utils plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-io-ts-utils'] --- import kbnSecuritysolutionIoTsUtilsObj from './kbn_securitysolution_io_ts_utils.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_list_api.mdx b/api_docs/kbn_securitysolution_list_api.mdx index c8ac08a5312b6..c74d45e4c0082 100644 --- a/api_docs/kbn_securitysolution_list_api.mdx +++ b/api_docs/kbn_securitysolution_list_api.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-list-api title: "@kbn/securitysolution-list-api" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-list-api plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-list-api'] --- import kbnSecuritysolutionListApiObj from './kbn_securitysolution_list_api.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_list_constants.mdx b/api_docs/kbn_securitysolution_list_constants.mdx index 78f4d223e52ed..a55e1a1cc4a01 100644 --- a/api_docs/kbn_securitysolution_list_constants.mdx +++ b/api_docs/kbn_securitysolution_list_constants.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-list-constants title: "@kbn/securitysolution-list-constants" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-list-constants plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-list-constants'] --- import kbnSecuritysolutionListConstantsObj from './kbn_securitysolution_list_constants.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_list_hooks.mdx b/api_docs/kbn_securitysolution_list_hooks.mdx index 398018ca2c2a9..39ccbaa532371 100644 --- a/api_docs/kbn_securitysolution_list_hooks.mdx +++ b/api_docs/kbn_securitysolution_list_hooks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-list-hooks title: "@kbn/securitysolution-list-hooks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-list-hooks plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-list-hooks'] --- import kbnSecuritysolutionListHooksObj from './kbn_securitysolution_list_hooks.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_list_utils.mdx b/api_docs/kbn_securitysolution_list_utils.mdx index 704701263bcbd..dbf0eb18e5792 100644 --- a/api_docs/kbn_securitysolution_list_utils.mdx +++ b/api_docs/kbn_securitysolution_list_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-list-utils title: "@kbn/securitysolution-list-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-list-utils plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-list-utils'] --- import kbnSecuritysolutionListUtilsObj from './kbn_securitysolution_list_utils.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_rules.mdx b/api_docs/kbn_securitysolution_rules.mdx index 4031a72be4108..9a7295c8b55d2 100644 --- a/api_docs/kbn_securitysolution_rules.mdx +++ b/api_docs/kbn_securitysolution_rules.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-rules title: "@kbn/securitysolution-rules" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-rules plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-rules'] --- import kbnSecuritysolutionRulesObj from './kbn_securitysolution_rules.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_t_grid.mdx b/api_docs/kbn_securitysolution_t_grid.mdx index 3577eddc680af..a7cee61434f2b 100644 --- a/api_docs/kbn_securitysolution_t_grid.mdx +++ b/api_docs/kbn_securitysolution_t_grid.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-t-grid title: "@kbn/securitysolution-t-grid" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-t-grid plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-t-grid'] --- import kbnSecuritysolutionTGridObj from './kbn_securitysolution_t_grid.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_utils.mdx b/api_docs/kbn_securitysolution_utils.mdx index 9439f599cad58..3bdcd920c750a 100644 --- a/api_docs/kbn_securitysolution_utils.mdx +++ b/api_docs/kbn_securitysolution_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-utils title: "@kbn/securitysolution-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-utils plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-utils'] --- import kbnSecuritysolutionUtilsObj from './kbn_securitysolution_utils.devdocs.json'; diff --git a/api_docs/kbn_server_http_tools.mdx b/api_docs/kbn_server_http_tools.mdx index 72a3c4189624c..854e05cbe6191 100644 --- a/api_docs/kbn_server_http_tools.mdx +++ b/api_docs/kbn_server_http_tools.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-server-http-tools title: "@kbn/server-http-tools" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/server-http-tools plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/server-http-tools'] --- import kbnServerHttpToolsObj from './kbn_server_http_tools.devdocs.json'; diff --git a/api_docs/kbn_server_route_repository.mdx b/api_docs/kbn_server_route_repository.mdx index b47c63e0ec126..0522be0ba26dd 100644 --- a/api_docs/kbn_server_route_repository.mdx +++ b/api_docs/kbn_server_route_repository.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-server-route-repository title: "@kbn/server-route-repository" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/server-route-repository plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/server-route-repository'] --- import kbnServerRouteRepositoryObj from './kbn_server_route_repository.devdocs.json'; diff --git a/api_docs/kbn_shared_svg.mdx b/api_docs/kbn_shared_svg.mdx index d334815787de5..55430e120e885 100644 --- a/api_docs/kbn_shared_svg.mdx +++ b/api_docs/kbn_shared_svg.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-svg title: "@kbn/shared-svg" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-svg plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-svg'] --- import kbnSharedSvgObj from './kbn_shared_svg.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_avatar_solution.mdx b/api_docs/kbn_shared_ux_avatar_solution.mdx index 7d17d7c9ceedf..8e904a07ea053 100644 --- a/api_docs/kbn_shared_ux_avatar_solution.mdx +++ b/api_docs/kbn_shared_ux_avatar_solution.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-avatar-solution title: "@kbn/shared-ux-avatar-solution" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-avatar-solution plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-avatar-solution'] --- import kbnSharedUxAvatarSolutionObj from './kbn_shared_ux_avatar_solution.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_avatar_user_profile_components.mdx b/api_docs/kbn_shared_ux_avatar_user_profile_components.mdx index 9eaa321fac318..67d87a900715f 100644 --- a/api_docs/kbn_shared_ux_avatar_user_profile_components.mdx +++ b/api_docs/kbn_shared_ux_avatar_user_profile_components.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-avatar-user-profile-components title: "@kbn/shared-ux-avatar-user-profile-components" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-avatar-user-profile-components plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-avatar-user-profile-components'] --- import kbnSharedUxAvatarUserProfileComponentsObj from './kbn_shared_ux_avatar_user_profile_components.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_button_exit_full_screen.mdx b/api_docs/kbn_shared_ux_button_exit_full_screen.mdx index ca3c2eaa6447b..9e943182eede1 100644 --- a/api_docs/kbn_shared_ux_button_exit_full_screen.mdx +++ b/api_docs/kbn_shared_ux_button_exit_full_screen.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-button-exit-full-screen title: "@kbn/shared-ux-button-exit-full-screen" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-button-exit-full-screen plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-button-exit-full-screen'] --- import kbnSharedUxButtonExitFullScreenObj from './kbn_shared_ux_button_exit_full_screen.devdocs.json'; 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 eae3ed3635efd..e6d1e66ceef88 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 @@ -8,7 +8,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 description: API docs for the @kbn/shared-ux-button-exit-full-screen-mocks plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-button-exit-full-screen-mocks'] --- import kbnSharedUxButtonExitFullScreenMocksObj from './kbn_shared_ux_button_exit_full_screen_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_button_toolbar.mdx b/api_docs/kbn_shared_ux_button_toolbar.mdx index 0ae3e45e01a88..689e099b2d18e 100644 --- a/api_docs/kbn_shared_ux_button_toolbar.mdx +++ b/api_docs/kbn_shared_ux_button_toolbar.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-button-toolbar title: "@kbn/shared-ux-button-toolbar" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-button-toolbar plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-button-toolbar'] --- import kbnSharedUxButtonToolbarObj from './kbn_shared_ux_button_toolbar.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_card_no_data.mdx b/api_docs/kbn_shared_ux_card_no_data.mdx index 1ef6e1b29137e..aecc10d4feda4 100644 --- a/api_docs/kbn_shared_ux_card_no_data.mdx +++ b/api_docs/kbn_shared_ux_card_no_data.mdx @@ -8,7 +8,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 description: API docs for the @kbn/shared-ux-card-no-data plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-card-no-data'] --- import kbnSharedUxCardNoDataObj from './kbn_shared_ux_card_no_data.devdocs.json'; 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 cb739be5f0640..997af87756829 100644 --- a/api_docs/kbn_shared_ux_card_no_data_mocks.mdx +++ b/api_docs/kbn_shared_ux_card_no_data_mocks.mdx @@ -8,7 +8,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 description: API docs for the @kbn/shared-ux-card-no-data-mocks plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-card-no-data-mocks'] --- import kbnSharedUxCardNoDataMocksObj from './kbn_shared_ux_card_no_data_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_link_redirect_app.mdx b/api_docs/kbn_shared_ux_link_redirect_app.mdx index 53ff275ac3096..da9dee483a617 100644 --- a/api_docs/kbn_shared_ux_link_redirect_app.mdx +++ b/api_docs/kbn_shared_ux_link_redirect_app.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-link-redirect-app title: "@kbn/shared-ux-link-redirect-app" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-link-redirect-app plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-link-redirect-app'] --- import kbnSharedUxLinkRedirectAppObj from './kbn_shared_ux_link_redirect_app.devdocs.json'; 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 2d52f945a040c..320dae6a826e7 100644 --- a/api_docs/kbn_shared_ux_link_redirect_app_mocks.mdx +++ b/api_docs/kbn_shared_ux_link_redirect_app_mocks.mdx @@ -8,7 +8,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 description: API docs for the @kbn/shared-ux-link-redirect-app-mocks plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-link-redirect-app-mocks'] --- import kbnSharedUxLinkRedirectAppMocksObj from './kbn_shared_ux_link_redirect_app_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_markdown.mdx b/api_docs/kbn_shared_ux_markdown.mdx index a3fae2640ae54..e62b67714e39f 100644 --- a/api_docs/kbn_shared_ux_markdown.mdx +++ b/api_docs/kbn_shared_ux_markdown.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-markdown title: "@kbn/shared-ux-markdown" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-markdown plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-markdown'] --- import kbnSharedUxMarkdownObj from './kbn_shared_ux_markdown.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_markdown_mocks.mdx b/api_docs/kbn_shared_ux_markdown_mocks.mdx index acf01a1ab1d49..9daa127d53f9d 100644 --- a/api_docs/kbn_shared_ux_markdown_mocks.mdx +++ b/api_docs/kbn_shared_ux_markdown_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-markdown-mocks title: "@kbn/shared-ux-markdown-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-markdown-mocks plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-markdown-mocks'] --- import kbnSharedUxMarkdownMocksObj from './kbn_shared_ux_markdown_mocks.devdocs.json'; 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 5fdbb41ce2c01..f5237dc261afe 100644 --- a/api_docs/kbn_shared_ux_page_analytics_no_data.mdx +++ b/api_docs/kbn_shared_ux_page_analytics_no_data.mdx @@ -8,7 +8,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 description: API docs for the @kbn/shared-ux-page-analytics-no-data plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-analytics-no-data'] --- import kbnSharedUxPageAnalyticsNoDataObj from './kbn_shared_ux_page_analytics_no_data.devdocs.json'; 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 53e9d865fac0f..23be712fcd39d 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 @@ -8,7 +8,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 description: API docs for the @kbn/shared-ux-page-analytics-no-data-mocks plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-analytics-no-data-mocks'] --- import kbnSharedUxPageAnalyticsNoDataMocksObj from './kbn_shared_ux_page_analytics_no_data_mocks.devdocs.json'; 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 d9d98b425a7a6..dee877d9f6515 100644 --- a/api_docs/kbn_shared_ux_page_kibana_no_data.mdx +++ b/api_docs/kbn_shared_ux_page_kibana_no_data.mdx @@ -8,7 +8,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 description: API docs for the @kbn/shared-ux-page-kibana-no-data plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-kibana-no-data'] --- import kbnSharedUxPageKibanaNoDataObj from './kbn_shared_ux_page_kibana_no_data.devdocs.json'; 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 39d7ef5311298..d3550ea396b9d 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 @@ -8,7 +8,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 description: API docs for the @kbn/shared-ux-page-kibana-no-data-mocks plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-kibana-no-data-mocks'] --- import kbnSharedUxPageKibanaNoDataMocksObj from './kbn_shared_ux_page_kibana_no_data_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_kibana_template.mdx b/api_docs/kbn_shared_ux_page_kibana_template.mdx index 9f4c8f915dc94..1ab5b5f56ec4a 100644 --- a/api_docs/kbn_shared_ux_page_kibana_template.mdx +++ b/api_docs/kbn_shared_ux_page_kibana_template.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-kibana-template title: "@kbn/shared-ux-page-kibana-template" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-kibana-template plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-kibana-template'] --- import kbnSharedUxPageKibanaTemplateObj from './kbn_shared_ux_page_kibana_template.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_kibana_template_mocks.mdx b/api_docs/kbn_shared_ux_page_kibana_template_mocks.mdx index 880eaaadbf320..5ccda0f877581 100644 --- a/api_docs/kbn_shared_ux_page_kibana_template_mocks.mdx +++ b/api_docs/kbn_shared_ux_page_kibana_template_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-kibana-template-mocks title: "@kbn/shared-ux-page-kibana-template-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-kibana-template-mocks plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-kibana-template-mocks'] --- import kbnSharedUxPageKibanaTemplateMocksObj from './kbn_shared_ux_page_kibana_template_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_no_data.mdx b/api_docs/kbn_shared_ux_page_no_data.mdx index 3458dffe0a97c..9890014bd3bbe 100644 --- a/api_docs/kbn_shared_ux_page_no_data.mdx +++ b/api_docs/kbn_shared_ux_page_no_data.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-no-data title: "@kbn/shared-ux-page-no-data" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-no-data plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-no-data'] --- import kbnSharedUxPageNoDataObj from './kbn_shared_ux_page_no_data.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_no_data_config.mdx b/api_docs/kbn_shared_ux_page_no_data_config.mdx index 169788e67f182..bd7f51f711c12 100644 --- a/api_docs/kbn_shared_ux_page_no_data_config.mdx +++ b/api_docs/kbn_shared_ux_page_no_data_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-no-data-config title: "@kbn/shared-ux-page-no-data-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-no-data-config plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-no-data-config'] --- import kbnSharedUxPageNoDataConfigObj from './kbn_shared_ux_page_no_data_config.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_no_data_config_mocks.mdx b/api_docs/kbn_shared_ux_page_no_data_config_mocks.mdx index a415fac3c752e..7c88df72aa869 100644 --- a/api_docs/kbn_shared_ux_page_no_data_config_mocks.mdx +++ b/api_docs/kbn_shared_ux_page_no_data_config_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-no-data-config-mocks title: "@kbn/shared-ux-page-no-data-config-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-no-data-config-mocks plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-no-data-config-mocks'] --- import kbnSharedUxPageNoDataConfigMocksObj from './kbn_shared_ux_page_no_data_config_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_no_data_mocks.mdx b/api_docs/kbn_shared_ux_page_no_data_mocks.mdx index 1c8f0839a04a2..bc8a81678ce95 100644 --- a/api_docs/kbn_shared_ux_page_no_data_mocks.mdx +++ b/api_docs/kbn_shared_ux_page_no_data_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-no-data-mocks title: "@kbn/shared-ux-page-no-data-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-no-data-mocks plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-no-data-mocks'] --- import kbnSharedUxPageNoDataMocksObj from './kbn_shared_ux_page_no_data_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_solution_nav.mdx b/api_docs/kbn_shared_ux_page_solution_nav.mdx index 12f426747beb8..4ffb150b915e4 100644 --- a/api_docs/kbn_shared_ux_page_solution_nav.mdx +++ b/api_docs/kbn_shared_ux_page_solution_nav.mdx @@ -8,7 +8,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 description: API docs for the @kbn/shared-ux-page-solution-nav plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-solution-nav'] --- import kbnSharedUxPageSolutionNavObj from './kbn_shared_ux_page_solution_nav.devdocs.json'; 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 d5f4a1215dbae..e7515afc34d6a 100644 --- a/api_docs/kbn_shared_ux_prompt_no_data_views.mdx +++ b/api_docs/kbn_shared_ux_prompt_no_data_views.mdx @@ -8,7 +8,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 description: API docs for the @kbn/shared-ux-prompt-no-data-views plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-prompt-no-data-views'] --- import kbnSharedUxPromptNoDataViewsObj from './kbn_shared_ux_prompt_no_data_views.devdocs.json'; 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 cdd5873b82801..d41235e875edf 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 @@ -8,7 +8,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 description: API docs for the @kbn/shared-ux-prompt-no-data-views-mocks plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-prompt-no-data-views-mocks'] --- import kbnSharedUxPromptNoDataViewsMocksObj from './kbn_shared_ux_prompt_no_data_views_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_router.mdx b/api_docs/kbn_shared_ux_router.mdx index a849bbcfedd77..3691a2238d309 100644 --- a/api_docs/kbn_shared_ux_router.mdx +++ b/api_docs/kbn_shared_ux_router.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-router title: "@kbn/shared-ux-router" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-router plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-router'] --- import kbnSharedUxRouterObj from './kbn_shared_ux_router.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_router_mocks.mdx b/api_docs/kbn_shared_ux_router_mocks.mdx index 0afb723437e4d..62d267c82fac8 100644 --- a/api_docs/kbn_shared_ux_router_mocks.mdx +++ b/api_docs/kbn_shared_ux_router_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-router-mocks title: "@kbn/shared-ux-router-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-router-mocks plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-router-mocks'] --- import kbnSharedUxRouterMocksObj from './kbn_shared_ux_router_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_storybook_config.mdx b/api_docs/kbn_shared_ux_storybook_config.mdx index 578e441f0ad47..3eb2f5f415aba 100644 --- a/api_docs/kbn_shared_ux_storybook_config.mdx +++ b/api_docs/kbn_shared_ux_storybook_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-storybook-config title: "@kbn/shared-ux-storybook-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-storybook-config plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-storybook-config'] --- import kbnSharedUxStorybookConfigObj from './kbn_shared_ux_storybook_config.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_storybook_mock.mdx b/api_docs/kbn_shared_ux_storybook_mock.mdx index 0f24cfce2a569..fe50ab8c5bf4e 100644 --- a/api_docs/kbn_shared_ux_storybook_mock.mdx +++ b/api_docs/kbn_shared_ux_storybook_mock.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-storybook-mock title: "@kbn/shared-ux-storybook-mock" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-storybook-mock plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-storybook-mock'] --- import kbnSharedUxStorybookMockObj from './kbn_shared_ux_storybook_mock.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_utility.mdx b/api_docs/kbn_shared_ux_utility.mdx index bdba7d98bbe96..d8181b1eb2c1d 100644 --- a/api_docs/kbn_shared_ux_utility.mdx +++ b/api_docs/kbn_shared_ux_utility.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-utility title: "@kbn/shared-ux-utility" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-utility plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-utility'] --- import kbnSharedUxUtilityObj from './kbn_shared_ux_utility.devdocs.json'; diff --git a/api_docs/kbn_some_dev_log.mdx b/api_docs/kbn_some_dev_log.mdx index 1c1723722ac4e..c14544eca4ede 100644 --- a/api_docs/kbn_some_dev_log.mdx +++ b/api_docs/kbn_some_dev_log.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-some-dev-log title: "@kbn/some-dev-log" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/some-dev-log plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/some-dev-log'] --- import kbnSomeDevLogObj from './kbn_some_dev_log.devdocs.json'; diff --git a/api_docs/kbn_sort_package_json.mdx b/api_docs/kbn_sort_package_json.mdx index fe004ea0d2cb2..32333c883c08c 100644 --- a/api_docs/kbn_sort_package_json.mdx +++ b/api_docs/kbn_sort_package_json.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-sort-package-json title: "@kbn/sort-package-json" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/sort-package-json plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/sort-package-json'] --- import kbnSortPackageJsonObj from './kbn_sort_package_json.devdocs.json'; diff --git a/api_docs/kbn_std.mdx b/api_docs/kbn_std.mdx index 598a2d4a1f349..f49b4a24f9fa5 100644 --- a/api_docs/kbn_std.mdx +++ b/api_docs/kbn_std.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-std title: "@kbn/std" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/std plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/std'] --- import kbnStdObj from './kbn_std.devdocs.json'; diff --git a/api_docs/kbn_stdio_dev_helpers.mdx b/api_docs/kbn_stdio_dev_helpers.mdx index 552f59464f367..5ec7f7ac133b4 100644 --- a/api_docs/kbn_stdio_dev_helpers.mdx +++ b/api_docs/kbn_stdio_dev_helpers.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-stdio-dev-helpers title: "@kbn/stdio-dev-helpers" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/stdio-dev-helpers plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/stdio-dev-helpers'] --- import kbnStdioDevHelpersObj from './kbn_stdio_dev_helpers.devdocs.json'; diff --git a/api_docs/kbn_storybook.mdx b/api_docs/kbn_storybook.mdx index daf8b2fd014b2..8738ec7de8b38 100644 --- a/api_docs/kbn_storybook.mdx +++ b/api_docs/kbn_storybook.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-storybook title: "@kbn/storybook" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/storybook plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/storybook'] --- import kbnStorybookObj from './kbn_storybook.devdocs.json'; diff --git a/api_docs/kbn_telemetry_tools.mdx b/api_docs/kbn_telemetry_tools.mdx index 2bc601a2c0b5e..13bf8bb0155d3 100644 --- a/api_docs/kbn_telemetry_tools.mdx +++ b/api_docs/kbn_telemetry_tools.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-telemetry-tools title: "@kbn/telemetry-tools" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/telemetry-tools plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/telemetry-tools'] --- import kbnTelemetryToolsObj from './kbn_telemetry_tools.devdocs.json'; diff --git a/api_docs/kbn_test.mdx b/api_docs/kbn_test.mdx index e5b9e96e39001..61f3c487d1ee1 100644 --- a/api_docs/kbn_test.mdx +++ b/api_docs/kbn_test.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-test title: "@kbn/test" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/test plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/test'] --- import kbnTestObj from './kbn_test.devdocs.json'; diff --git a/api_docs/kbn_test_jest_helpers.mdx b/api_docs/kbn_test_jest_helpers.mdx index b3c0c1ba348c8..76db67df71413 100644 --- a/api_docs/kbn_test_jest_helpers.mdx +++ b/api_docs/kbn_test_jest_helpers.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-test-jest-helpers title: "@kbn/test-jest-helpers" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/test-jest-helpers plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/test-jest-helpers'] --- import kbnTestJestHelpersObj from './kbn_test_jest_helpers.devdocs.json'; diff --git a/api_docs/kbn_test_subj_selector.mdx b/api_docs/kbn_test_subj_selector.mdx index 1d0443b5b17f2..aa5e32557694b 100644 --- a/api_docs/kbn_test_subj_selector.mdx +++ b/api_docs/kbn_test_subj_selector.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-test-subj-selector title: "@kbn/test-subj-selector" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/test-subj-selector plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/test-subj-selector'] --- import kbnTestSubjSelectorObj from './kbn_test_subj_selector.devdocs.json'; diff --git a/api_docs/kbn_tooling_log.mdx b/api_docs/kbn_tooling_log.mdx index 7e4864e5bd9da..7fe10cbd6c496 100644 --- a/api_docs/kbn_tooling_log.mdx +++ b/api_docs/kbn_tooling_log.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-tooling-log title: "@kbn/tooling-log" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/tooling-log plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/tooling-log'] --- import kbnToolingLogObj from './kbn_tooling_log.devdocs.json'; diff --git a/api_docs/kbn_type_summarizer.mdx b/api_docs/kbn_type_summarizer.mdx index e78672d39c73c..a42212019b220 100644 --- a/api_docs/kbn_type_summarizer.mdx +++ b/api_docs/kbn_type_summarizer.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-type-summarizer title: "@kbn/type-summarizer" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/type-summarizer plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/type-summarizer'] --- import kbnTypeSummarizerObj from './kbn_type_summarizer.devdocs.json'; diff --git a/api_docs/kbn_type_summarizer_core.mdx b/api_docs/kbn_type_summarizer_core.mdx index 956d442a96262..3c99f5f6eb229 100644 --- a/api_docs/kbn_type_summarizer_core.mdx +++ b/api_docs/kbn_type_summarizer_core.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-type-summarizer-core title: "@kbn/type-summarizer-core" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/type-summarizer-core plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/type-summarizer-core'] --- import kbnTypeSummarizerCoreObj from './kbn_type_summarizer_core.devdocs.json'; diff --git a/api_docs/kbn_typed_react_router_config.mdx b/api_docs/kbn_typed_react_router_config.mdx index 01a27b35e6483..429296ee2ba4e 100644 --- a/api_docs/kbn_typed_react_router_config.mdx +++ b/api_docs/kbn_typed_react_router_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-typed-react-router-config title: "@kbn/typed-react-router-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/typed-react-router-config plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/typed-react-router-config'] --- import kbnTypedReactRouterConfigObj from './kbn_typed_react_router_config.devdocs.json'; diff --git a/api_docs/kbn_ui_shared_deps_src.mdx b/api_docs/kbn_ui_shared_deps_src.mdx index 915346c3862a0..51fc7bc1290f4 100644 --- a/api_docs/kbn_ui_shared_deps_src.mdx +++ b/api_docs/kbn_ui_shared_deps_src.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ui-shared-deps-src title: "@kbn/ui-shared-deps-src" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ui-shared-deps-src plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ui-shared-deps-src'] --- import kbnUiSharedDepsSrcObj from './kbn_ui_shared_deps_src.devdocs.json'; diff --git a/api_docs/kbn_ui_theme.mdx b/api_docs/kbn_ui_theme.mdx index 2b8548f099c17..a7c73d99f8096 100644 --- a/api_docs/kbn_ui_theme.mdx +++ b/api_docs/kbn_ui_theme.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ui-theme title: "@kbn/ui-theme" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ui-theme plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ui-theme'] --- import kbnUiThemeObj from './kbn_ui_theme.devdocs.json'; diff --git a/api_docs/kbn_user_profile_components.mdx b/api_docs/kbn_user_profile_components.mdx index eefb2bb0f79f5..6e676aaf1aeaf 100644 --- a/api_docs/kbn_user_profile_components.mdx +++ b/api_docs/kbn_user_profile_components.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-user-profile-components title: "@kbn/user-profile-components" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/user-profile-components plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/user-profile-components'] --- import kbnUserProfileComponentsObj from './kbn_user_profile_components.devdocs.json'; diff --git a/api_docs/kbn_utility_types.mdx b/api_docs/kbn_utility_types.mdx index 9ad1d2947d5a9..038c7f5827634 100644 --- a/api_docs/kbn_utility_types.mdx +++ b/api_docs/kbn_utility_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-utility-types title: "@kbn/utility-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/utility-types plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/utility-types'] --- import kbnUtilityTypesObj from './kbn_utility_types.devdocs.json'; diff --git a/api_docs/kbn_utility_types_jest.mdx b/api_docs/kbn_utility_types_jest.mdx index a7cac65fd99fe..a26db5a0d25c0 100644 --- a/api_docs/kbn_utility_types_jest.mdx +++ b/api_docs/kbn_utility_types_jest.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-utility-types-jest title: "@kbn/utility-types-jest" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/utility-types-jest plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/utility-types-jest'] --- import kbnUtilityTypesJestObj from './kbn_utility_types_jest.devdocs.json'; diff --git a/api_docs/kbn_utils.mdx b/api_docs/kbn_utils.mdx index dee2e590cfcd3..80b00b1af3c82 100644 --- a/api_docs/kbn_utils.mdx +++ b/api_docs/kbn_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-utils title: "@kbn/utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/utils plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/utils'] --- import kbnUtilsObj from './kbn_utils.devdocs.json'; diff --git a/api_docs/kbn_yarn_lock_validator.mdx b/api_docs/kbn_yarn_lock_validator.mdx index 02d32f883f22e..b06ce1c0c6738 100644 --- a/api_docs/kbn_yarn_lock_validator.mdx +++ b/api_docs/kbn_yarn_lock_validator.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-yarn-lock-validator title: "@kbn/yarn-lock-validator" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/yarn-lock-validator plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/yarn-lock-validator'] --- import kbnYarnLockValidatorObj from './kbn_yarn_lock_validator.devdocs.json'; diff --git a/api_docs/kibana_overview.mdx b/api_docs/kibana_overview.mdx index 193858171ecd7..f39c64c5b0059 100644 --- a/api_docs/kibana_overview.mdx +++ b/api_docs/kibana_overview.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kibanaOverview title: "kibanaOverview" image: https://source.unsplash.com/400x175/?github description: API docs for the kibanaOverview plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'kibanaOverview'] --- import kibanaOverviewObj from './kibana_overview.devdocs.json'; diff --git a/api_docs/kibana_react.mdx b/api_docs/kibana_react.mdx index c2e3c5b4b1ff2..b0fffca6f6b93 100644 --- a/api_docs/kibana_react.mdx +++ b/api_docs/kibana_react.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kibanaReact title: "kibanaReact" image: https://source.unsplash.com/400x175/?github description: API docs for the kibanaReact plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'kibanaReact'] --- import kibanaReactObj from './kibana_react.devdocs.json'; diff --git a/api_docs/kibana_utils.mdx b/api_docs/kibana_utils.mdx index 37b4bc9cf3347..e959e755b3251 100644 --- a/api_docs/kibana_utils.mdx +++ b/api_docs/kibana_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kibanaUtils title: "kibanaUtils" image: https://source.unsplash.com/400x175/?github description: API docs for the kibanaUtils plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'kibanaUtils'] --- import kibanaUtilsObj from './kibana_utils.devdocs.json'; diff --git a/api_docs/kubernetes_security.mdx b/api_docs/kubernetes_security.mdx index 329c06d9397a9..fc42bf43de6fe 100644 --- a/api_docs/kubernetes_security.mdx +++ b/api_docs/kubernetes_security.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kubernetesSecurity title: "kubernetesSecurity" image: https://source.unsplash.com/400x175/?github description: API docs for the kubernetesSecurity plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'kubernetesSecurity'] --- import kubernetesSecurityObj from './kubernetes_security.devdocs.json'; diff --git a/api_docs/lens.mdx b/api_docs/lens.mdx index 96f13b39d3706..81f477bc6ff8e 100644 --- a/api_docs/lens.mdx +++ b/api_docs/lens.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/lens title: "lens" image: https://source.unsplash.com/400x175/?github description: API docs for the lens plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'lens'] --- import lensObj from './lens.devdocs.json'; diff --git a/api_docs/license_api_guard.mdx b/api_docs/license_api_guard.mdx index a41ddd2c5f23c..711cb567e74d2 100644 --- a/api_docs/license_api_guard.mdx +++ b/api_docs/license_api_guard.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/licenseApiGuard title: "licenseApiGuard" image: https://source.unsplash.com/400x175/?github description: API docs for the licenseApiGuard plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'licenseApiGuard'] --- import licenseApiGuardObj from './license_api_guard.devdocs.json'; diff --git a/api_docs/license_management.mdx b/api_docs/license_management.mdx index 7755be4c13321..11da12226c78d 100644 --- a/api_docs/license_management.mdx +++ b/api_docs/license_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/licenseManagement title: "licenseManagement" image: https://source.unsplash.com/400x175/?github description: API docs for the licenseManagement plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'licenseManagement'] --- import licenseManagementObj from './license_management.devdocs.json'; diff --git a/api_docs/licensing.mdx b/api_docs/licensing.mdx index 3b9e62be7c4a2..2f97638609a4a 100644 --- a/api_docs/licensing.mdx +++ b/api_docs/licensing.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/licensing title: "licensing" image: https://source.unsplash.com/400x175/?github description: API docs for the licensing plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'licensing'] --- import licensingObj from './licensing.devdocs.json'; diff --git a/api_docs/lists.mdx b/api_docs/lists.mdx index cf928e21a87fb..d24c5cd968223 100644 --- a/api_docs/lists.mdx +++ b/api_docs/lists.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/lists title: "lists" image: https://source.unsplash.com/400x175/?github description: API docs for the lists plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'lists'] --- import listsObj from './lists.devdocs.json'; diff --git a/api_docs/management.mdx b/api_docs/management.mdx index 81c2721c14a87..e26a5c1e909ca 100644 --- a/api_docs/management.mdx +++ b/api_docs/management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/management title: "management" image: https://source.unsplash.com/400x175/?github description: API docs for the management plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'management'] --- import managementObj from './management.devdocs.json'; diff --git a/api_docs/maps.mdx b/api_docs/maps.mdx index 1b352333a05f1..50db26fd73270 100644 --- a/api_docs/maps.mdx +++ b/api_docs/maps.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/maps title: "maps" image: https://source.unsplash.com/400x175/?github description: API docs for the maps plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'maps'] --- import mapsObj from './maps.devdocs.json'; diff --git a/api_docs/maps_ems.mdx b/api_docs/maps_ems.mdx index d418194a2df1a..37c3ecaf9e324 100644 --- a/api_docs/maps_ems.mdx +++ b/api_docs/maps_ems.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/mapsEms title: "mapsEms" image: https://source.unsplash.com/400x175/?github description: API docs for the mapsEms plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'mapsEms'] --- import mapsEmsObj from './maps_ems.devdocs.json'; diff --git a/api_docs/ml.mdx b/api_docs/ml.mdx index 5b9f5dad17d36..785cad8b7849d 100644 --- a/api_docs/ml.mdx +++ b/api_docs/ml.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/ml title: "ml" image: https://source.unsplash.com/400x175/?github description: API docs for the ml plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'ml'] --- import mlObj from './ml.devdocs.json'; diff --git a/api_docs/monitoring.mdx b/api_docs/monitoring.mdx index 57ed64c54d027..38686f06a4cdc 100644 --- a/api_docs/monitoring.mdx +++ b/api_docs/monitoring.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/monitoring title: "monitoring" image: https://source.unsplash.com/400x175/?github description: API docs for the monitoring plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'monitoring'] --- import monitoringObj from './monitoring.devdocs.json'; diff --git a/api_docs/monitoring_collection.mdx b/api_docs/monitoring_collection.mdx index 2f21dfc75ca65..ff32f29fe5944 100644 --- a/api_docs/monitoring_collection.mdx +++ b/api_docs/monitoring_collection.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/monitoringCollection title: "monitoringCollection" image: https://source.unsplash.com/400x175/?github description: API docs for the monitoringCollection plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'monitoringCollection'] --- import monitoringCollectionObj from './monitoring_collection.devdocs.json'; diff --git a/api_docs/navigation.mdx b/api_docs/navigation.mdx index 5ea58f548fed2..5073c35a400a9 100644 --- a/api_docs/navigation.mdx +++ b/api_docs/navigation.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/navigation title: "navigation" image: https://source.unsplash.com/400x175/?github description: API docs for the navigation plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'navigation'] --- import navigationObj from './navigation.devdocs.json'; diff --git a/api_docs/newsfeed.mdx b/api_docs/newsfeed.mdx index 484c9e4cf9fa2..37ecaa8a9d283 100644 --- a/api_docs/newsfeed.mdx +++ b/api_docs/newsfeed.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/newsfeed title: "newsfeed" image: https://source.unsplash.com/400x175/?github description: API docs for the newsfeed plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'newsfeed'] --- import newsfeedObj from './newsfeed.devdocs.json'; diff --git a/api_docs/observability.mdx b/api_docs/observability.mdx index e446fbb500cd7..5cb9a100ab160 100644 --- a/api_docs/observability.mdx +++ b/api_docs/observability.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/observability title: "observability" image: https://source.unsplash.com/400x175/?github description: API docs for the observability plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'observability'] --- import observabilityObj from './observability.devdocs.json'; diff --git a/api_docs/osquery.mdx b/api_docs/osquery.mdx index 83ac64a38bfdb..65917c0bb9dea 100644 --- a/api_docs/osquery.mdx +++ b/api_docs/osquery.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/osquery title: "osquery" image: https://source.unsplash.com/400x175/?github description: API docs for the osquery plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'osquery'] --- import osqueryObj from './osquery.devdocs.json'; diff --git a/api_docs/plugin_directory.mdx b/api_docs/plugin_directory.mdx index 017f6aecdc9ec..b050f5c6c380d 100644 --- a/api_docs/plugin_directory.mdx +++ b/api_docs/plugin_directory.mdx @@ -7,7 +7,7 @@ id: kibDevDocsPluginDirectory slug: /kibana-dev-docs/api-meta/plugin-api-directory title: Directory description: Directory of public APIs available through plugins or packages. -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana'] --- diff --git a/api_docs/presentation_util.mdx b/api_docs/presentation_util.mdx index b76c03d2ef206..1fb911c09c834 100644 --- a/api_docs/presentation_util.mdx +++ b/api_docs/presentation_util.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/presentationUtil title: "presentationUtil" image: https://source.unsplash.com/400x175/?github description: API docs for the presentationUtil plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'presentationUtil'] --- import presentationUtilObj from './presentation_util.devdocs.json'; diff --git a/api_docs/profiling.mdx b/api_docs/profiling.mdx index 81579d9cafe9c..0b1d4fa6bbda1 100644 --- a/api_docs/profiling.mdx +++ b/api_docs/profiling.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/profiling title: "profiling" image: https://source.unsplash.com/400x175/?github description: API docs for the profiling plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'profiling'] --- import profilingObj from './profiling.devdocs.json'; diff --git a/api_docs/remote_clusters.mdx b/api_docs/remote_clusters.mdx index 2c2192231946f..aa8485f17127e 100644 --- a/api_docs/remote_clusters.mdx +++ b/api_docs/remote_clusters.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/remoteClusters title: "remoteClusters" image: https://source.unsplash.com/400x175/?github description: API docs for the remoteClusters plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'remoteClusters'] --- import remoteClustersObj from './remote_clusters.devdocs.json'; diff --git a/api_docs/reporting.mdx b/api_docs/reporting.mdx index b63af095dd3cf..a195cda653022 100644 --- a/api_docs/reporting.mdx +++ b/api_docs/reporting.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/reporting title: "reporting" image: https://source.unsplash.com/400x175/?github description: API docs for the reporting plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'reporting'] --- import reportingObj from './reporting.devdocs.json'; diff --git a/api_docs/rollup.mdx b/api_docs/rollup.mdx index b11bfdbc793cc..d28120921daab 100644 --- a/api_docs/rollup.mdx +++ b/api_docs/rollup.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/rollup title: "rollup" image: https://source.unsplash.com/400x175/?github description: API docs for the rollup plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'rollup'] --- import rollupObj from './rollup.devdocs.json'; diff --git a/api_docs/rule_registry.mdx b/api_docs/rule_registry.mdx index e1ffebafa33c6..1fb56c4ac93dc 100644 --- a/api_docs/rule_registry.mdx +++ b/api_docs/rule_registry.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/ruleRegistry title: "ruleRegistry" image: https://source.unsplash.com/400x175/?github description: API docs for the ruleRegistry plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'ruleRegistry'] --- import ruleRegistryObj from './rule_registry.devdocs.json'; diff --git a/api_docs/runtime_fields.mdx b/api_docs/runtime_fields.mdx index 72e0e56a875b3..794acdc6eb7d0 100644 --- a/api_docs/runtime_fields.mdx +++ b/api_docs/runtime_fields.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/runtimeFields title: "runtimeFields" image: https://source.unsplash.com/400x175/?github description: API docs for the runtimeFields plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'runtimeFields'] --- import runtimeFieldsObj from './runtime_fields.devdocs.json'; diff --git a/api_docs/saved_objects.mdx b/api_docs/saved_objects.mdx index 620544795c83f..bc5a24028432e 100644 --- a/api_docs/saved_objects.mdx +++ b/api_docs/saved_objects.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/savedObjects title: "savedObjects" image: https://source.unsplash.com/400x175/?github description: API docs for the savedObjects plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'savedObjects'] --- import savedObjectsObj from './saved_objects.devdocs.json'; diff --git a/api_docs/saved_objects_finder.mdx b/api_docs/saved_objects_finder.mdx index 1a7233148e0a2..463626508323f 100644 --- a/api_docs/saved_objects_finder.mdx +++ b/api_docs/saved_objects_finder.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/savedObjectsFinder title: "savedObjectsFinder" image: https://source.unsplash.com/400x175/?github description: API docs for the savedObjectsFinder plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'savedObjectsFinder'] --- import savedObjectsFinderObj from './saved_objects_finder.devdocs.json'; diff --git a/api_docs/saved_objects_management.mdx b/api_docs/saved_objects_management.mdx index bcd11392fa1f3..f80f550314738 100644 --- a/api_docs/saved_objects_management.mdx +++ b/api_docs/saved_objects_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/savedObjectsManagement title: "savedObjectsManagement" image: https://source.unsplash.com/400x175/?github description: API docs for the savedObjectsManagement plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'savedObjectsManagement'] --- import savedObjectsManagementObj from './saved_objects_management.devdocs.json'; diff --git a/api_docs/saved_objects_tagging.mdx b/api_docs/saved_objects_tagging.mdx index d69f6534cd5ab..244aced5f4046 100644 --- a/api_docs/saved_objects_tagging.mdx +++ b/api_docs/saved_objects_tagging.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/savedObjectsTagging title: "savedObjectsTagging" image: https://source.unsplash.com/400x175/?github description: API docs for the savedObjectsTagging plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'savedObjectsTagging'] --- import savedObjectsTaggingObj from './saved_objects_tagging.devdocs.json'; diff --git a/api_docs/saved_objects_tagging_oss.mdx b/api_docs/saved_objects_tagging_oss.mdx index f354ed52700b6..d878d16734aac 100644 --- a/api_docs/saved_objects_tagging_oss.mdx +++ b/api_docs/saved_objects_tagging_oss.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/savedObjectsTaggingOss title: "savedObjectsTaggingOss" image: https://source.unsplash.com/400x175/?github description: API docs for the savedObjectsTaggingOss plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'savedObjectsTaggingOss'] --- import savedObjectsTaggingOssObj from './saved_objects_tagging_oss.devdocs.json'; diff --git a/api_docs/saved_search.mdx b/api_docs/saved_search.mdx index 281959caa4371..109985ae02a74 100644 --- a/api_docs/saved_search.mdx +++ b/api_docs/saved_search.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/savedSearch title: "savedSearch" image: https://source.unsplash.com/400x175/?github description: API docs for the savedSearch plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'savedSearch'] --- import savedSearchObj from './saved_search.devdocs.json'; diff --git a/api_docs/screenshot_mode.mdx b/api_docs/screenshot_mode.mdx index 775870fe318a6..18dfcdb88f716 100644 --- a/api_docs/screenshot_mode.mdx +++ b/api_docs/screenshot_mode.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/screenshotMode title: "screenshotMode" image: https://source.unsplash.com/400x175/?github description: API docs for the screenshotMode plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'screenshotMode'] --- import screenshotModeObj from './screenshot_mode.devdocs.json'; diff --git a/api_docs/screenshotting.mdx b/api_docs/screenshotting.mdx index 55897fc4399fb..e6007a1d7e1d3 100644 --- a/api_docs/screenshotting.mdx +++ b/api_docs/screenshotting.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/screenshotting title: "screenshotting" image: https://source.unsplash.com/400x175/?github description: API docs for the screenshotting plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'screenshotting'] --- import screenshottingObj from './screenshotting.devdocs.json'; diff --git a/api_docs/security.mdx b/api_docs/security.mdx index 23b6300d2cf71..21cf94dc27211 100644 --- a/api_docs/security.mdx +++ b/api_docs/security.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/security title: "security" image: https://source.unsplash.com/400x175/?github description: API docs for the security plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'security'] --- import securityObj from './security.devdocs.json'; diff --git a/api_docs/security_solution.mdx b/api_docs/security_solution.mdx index 7d483d7416684..078713ae9573b 100644 --- a/api_docs/security_solution.mdx +++ b/api_docs/security_solution.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/securitySolution title: "securitySolution" image: https://source.unsplash.com/400x175/?github description: API docs for the securitySolution plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'securitySolution'] --- import securitySolutionObj from './security_solution.devdocs.json'; diff --git a/api_docs/session_view.mdx b/api_docs/session_view.mdx index 558acdf7d3eb9..53df7d487e680 100644 --- a/api_docs/session_view.mdx +++ b/api_docs/session_view.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/sessionView title: "sessionView" image: https://source.unsplash.com/400x175/?github description: API docs for the sessionView plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'sessionView'] --- import sessionViewObj from './session_view.devdocs.json'; diff --git a/api_docs/share.mdx b/api_docs/share.mdx index d1143b8e3de3f..cf815db50a110 100644 --- a/api_docs/share.mdx +++ b/api_docs/share.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/share title: "share" image: https://source.unsplash.com/400x175/?github description: API docs for the share plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'share'] --- import shareObj from './share.devdocs.json'; diff --git a/api_docs/snapshot_restore.mdx b/api_docs/snapshot_restore.mdx index 1ef8df1460f73..c43aa484d38eb 100644 --- a/api_docs/snapshot_restore.mdx +++ b/api_docs/snapshot_restore.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/snapshotRestore title: "snapshotRestore" image: https://source.unsplash.com/400x175/?github description: API docs for the snapshotRestore plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'snapshotRestore'] --- import snapshotRestoreObj from './snapshot_restore.devdocs.json'; diff --git a/api_docs/spaces.mdx b/api_docs/spaces.mdx index fe37a1334ab89..8a752d5aa4aa1 100644 --- a/api_docs/spaces.mdx +++ b/api_docs/spaces.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/spaces title: "spaces" image: https://source.unsplash.com/400x175/?github description: API docs for the spaces plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'spaces'] --- import spacesObj from './spaces.devdocs.json'; diff --git a/api_docs/stack_alerts.mdx b/api_docs/stack_alerts.mdx index 26e85e9b428b3..c421363975805 100644 --- a/api_docs/stack_alerts.mdx +++ b/api_docs/stack_alerts.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/stackAlerts title: "stackAlerts" image: https://source.unsplash.com/400x175/?github description: API docs for the stackAlerts plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'stackAlerts'] --- import stackAlertsObj from './stack_alerts.devdocs.json'; diff --git a/api_docs/stack_connectors.mdx b/api_docs/stack_connectors.mdx index 49ca32f569c68..127672e5722c1 100644 --- a/api_docs/stack_connectors.mdx +++ b/api_docs/stack_connectors.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/stackConnectors title: "stackConnectors" image: https://source.unsplash.com/400x175/?github description: API docs for the stackConnectors plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'stackConnectors'] --- import stackConnectorsObj from './stack_connectors.devdocs.json'; diff --git a/api_docs/task_manager.mdx b/api_docs/task_manager.mdx index e56ae697a1962..54bf2456dc550 100644 --- a/api_docs/task_manager.mdx +++ b/api_docs/task_manager.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/taskManager title: "taskManager" image: https://source.unsplash.com/400x175/?github description: API docs for the taskManager plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'taskManager'] --- import taskManagerObj from './task_manager.devdocs.json'; diff --git a/api_docs/telemetry.mdx b/api_docs/telemetry.mdx index 509dd097c797a..960741ec019d9 100644 --- a/api_docs/telemetry.mdx +++ b/api_docs/telemetry.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/telemetry title: "telemetry" image: https://source.unsplash.com/400x175/?github description: API docs for the telemetry plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'telemetry'] --- import telemetryObj from './telemetry.devdocs.json'; diff --git a/api_docs/telemetry_collection_manager.mdx b/api_docs/telemetry_collection_manager.mdx index a5b6aff07ea16..afa4101d77eae 100644 --- a/api_docs/telemetry_collection_manager.mdx +++ b/api_docs/telemetry_collection_manager.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/telemetryCollectionManager title: "telemetryCollectionManager" image: https://source.unsplash.com/400x175/?github description: API docs for the telemetryCollectionManager plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'telemetryCollectionManager'] --- import telemetryCollectionManagerObj from './telemetry_collection_manager.devdocs.json'; diff --git a/api_docs/telemetry_collection_xpack.mdx b/api_docs/telemetry_collection_xpack.mdx index 976c5405b3610..4f9334d4cd268 100644 --- a/api_docs/telemetry_collection_xpack.mdx +++ b/api_docs/telemetry_collection_xpack.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/telemetryCollectionXpack title: "telemetryCollectionXpack" image: https://source.unsplash.com/400x175/?github description: API docs for the telemetryCollectionXpack plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'telemetryCollectionXpack'] --- import telemetryCollectionXpackObj from './telemetry_collection_xpack.devdocs.json'; diff --git a/api_docs/telemetry_management_section.mdx b/api_docs/telemetry_management_section.mdx index da58b4bce10d3..a2bdc6c2645e6 100644 --- a/api_docs/telemetry_management_section.mdx +++ b/api_docs/telemetry_management_section.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/telemetryManagementSection title: "telemetryManagementSection" image: https://source.unsplash.com/400x175/?github description: API docs for the telemetryManagementSection plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'telemetryManagementSection'] --- import telemetryManagementSectionObj from './telemetry_management_section.devdocs.json'; diff --git a/api_docs/threat_intelligence.mdx b/api_docs/threat_intelligence.mdx index 2982302a0a3ae..f3b71a66b37d1 100644 --- a/api_docs/threat_intelligence.mdx +++ b/api_docs/threat_intelligence.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/threatIntelligence title: "threatIntelligence" image: https://source.unsplash.com/400x175/?github description: API docs for the threatIntelligence plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'threatIntelligence'] --- import threatIntelligenceObj from './threat_intelligence.devdocs.json'; diff --git a/api_docs/timelines.mdx b/api_docs/timelines.mdx index bc6489d7f5881..8b7b83f0b005b 100644 --- a/api_docs/timelines.mdx +++ b/api_docs/timelines.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/timelines title: "timelines" image: https://source.unsplash.com/400x175/?github description: API docs for the timelines plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'timelines'] --- import timelinesObj from './timelines.devdocs.json'; diff --git a/api_docs/transform.mdx b/api_docs/transform.mdx index fbe10a1d60de6..4ebcd6c410e8b 100644 --- a/api_docs/transform.mdx +++ b/api_docs/transform.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/transform title: "transform" image: https://source.unsplash.com/400x175/?github description: API docs for the transform plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'transform'] --- import transformObj from './transform.devdocs.json'; diff --git a/api_docs/triggers_actions_ui.mdx b/api_docs/triggers_actions_ui.mdx index 08e7a0719af8b..7e50384f3ca7f 100644 --- a/api_docs/triggers_actions_ui.mdx +++ b/api_docs/triggers_actions_ui.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/triggersActionsUi title: "triggersActionsUi" image: https://source.unsplash.com/400x175/?github description: API docs for the triggersActionsUi plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'triggersActionsUi'] --- import triggersActionsUiObj from './triggers_actions_ui.devdocs.json'; diff --git a/api_docs/ui_actions.mdx b/api_docs/ui_actions.mdx index 472cbad650339..0990c05001d01 100644 --- a/api_docs/ui_actions.mdx +++ b/api_docs/ui_actions.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/uiActions title: "uiActions" image: https://source.unsplash.com/400x175/?github description: API docs for the uiActions plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'uiActions'] --- import uiActionsObj from './ui_actions.devdocs.json'; diff --git a/api_docs/ui_actions_enhanced.mdx b/api_docs/ui_actions_enhanced.mdx index 9f9f9c6de425d..4d9965a921087 100644 --- a/api_docs/ui_actions_enhanced.mdx +++ b/api_docs/ui_actions_enhanced.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/uiActionsEnhanced title: "uiActionsEnhanced" image: https://source.unsplash.com/400x175/?github description: API docs for the uiActionsEnhanced plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'uiActionsEnhanced'] --- import uiActionsEnhancedObj from './ui_actions_enhanced.devdocs.json'; diff --git a/api_docs/unified_field_list.mdx b/api_docs/unified_field_list.mdx index 242607c24491f..0fd2f7b77814a 100644 --- a/api_docs/unified_field_list.mdx +++ b/api_docs/unified_field_list.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/unifiedFieldList title: "unifiedFieldList" image: https://source.unsplash.com/400x175/?github description: API docs for the unifiedFieldList plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'unifiedFieldList'] --- import unifiedFieldListObj from './unified_field_list.devdocs.json'; diff --git a/api_docs/unified_histogram.mdx b/api_docs/unified_histogram.mdx index 967b6c4db14a2..6d1182c4e79fc 100644 --- a/api_docs/unified_histogram.mdx +++ b/api_docs/unified_histogram.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/unifiedHistogram title: "unifiedHistogram" image: https://source.unsplash.com/400x175/?github description: API docs for the unifiedHistogram plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'unifiedHistogram'] --- import unifiedHistogramObj from './unified_histogram.devdocs.json'; diff --git a/api_docs/unified_search.mdx b/api_docs/unified_search.mdx index 4702d379d9fea..3fd368c4511a3 100644 --- a/api_docs/unified_search.mdx +++ b/api_docs/unified_search.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/unifiedSearch title: "unifiedSearch" image: https://source.unsplash.com/400x175/?github description: API docs for the unifiedSearch plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'unifiedSearch'] --- import unifiedSearchObj from './unified_search.devdocs.json'; diff --git a/api_docs/unified_search_autocomplete.mdx b/api_docs/unified_search_autocomplete.mdx index 012c4027774a6..1f92259c7acb1 100644 --- a/api_docs/unified_search_autocomplete.mdx +++ b/api_docs/unified_search_autocomplete.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/unifiedSearch-autocomplete title: "unifiedSearch.autocomplete" image: https://source.unsplash.com/400x175/?github description: API docs for the unifiedSearch.autocomplete plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'unifiedSearch.autocomplete'] --- import unifiedSearchAutocompleteObj from './unified_search_autocomplete.devdocs.json'; diff --git a/api_docs/url_forwarding.mdx b/api_docs/url_forwarding.mdx index fffc4f568fbc1..7e6b24221d81f 100644 --- a/api_docs/url_forwarding.mdx +++ b/api_docs/url_forwarding.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/urlForwarding title: "urlForwarding" image: https://source.unsplash.com/400x175/?github description: API docs for the urlForwarding plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'urlForwarding'] --- import urlForwardingObj from './url_forwarding.devdocs.json'; diff --git a/api_docs/usage_collection.mdx b/api_docs/usage_collection.mdx index 6d7b8a9db2e7b..e427c39dab56e 100644 --- a/api_docs/usage_collection.mdx +++ b/api_docs/usage_collection.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/usageCollection title: "usageCollection" image: https://source.unsplash.com/400x175/?github description: API docs for the usageCollection plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'usageCollection'] --- import usageCollectionObj from './usage_collection.devdocs.json'; diff --git a/api_docs/ux.mdx b/api_docs/ux.mdx index 3cce3b32439e9..fcccdee65836d 100644 --- a/api_docs/ux.mdx +++ b/api_docs/ux.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/ux title: "ux" image: https://source.unsplash.com/400x175/?github description: API docs for the ux plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'ux'] --- import uxObj from './ux.devdocs.json'; diff --git a/api_docs/vis_default_editor.mdx b/api_docs/vis_default_editor.mdx index 66a671b8f1d67..803140abcb812 100644 --- a/api_docs/vis_default_editor.mdx +++ b/api_docs/vis_default_editor.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visDefaultEditor title: "visDefaultEditor" image: https://source.unsplash.com/400x175/?github description: API docs for the visDefaultEditor plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visDefaultEditor'] --- import visDefaultEditorObj from './vis_default_editor.devdocs.json'; diff --git a/api_docs/vis_type_gauge.mdx b/api_docs/vis_type_gauge.mdx index 6bde504fc21c9..569bab78f6479 100644 --- a/api_docs/vis_type_gauge.mdx +++ b/api_docs/vis_type_gauge.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeGauge title: "visTypeGauge" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeGauge plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeGauge'] --- import visTypeGaugeObj from './vis_type_gauge.devdocs.json'; diff --git a/api_docs/vis_type_heatmap.mdx b/api_docs/vis_type_heatmap.mdx index d34ebaeccf2d8..62ea35efa43d4 100644 --- a/api_docs/vis_type_heatmap.mdx +++ b/api_docs/vis_type_heatmap.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeHeatmap title: "visTypeHeatmap" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeHeatmap plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeHeatmap'] --- import visTypeHeatmapObj from './vis_type_heatmap.devdocs.json'; diff --git a/api_docs/vis_type_pie.mdx b/api_docs/vis_type_pie.mdx index ccc477f2d9408..a528eb0aeb823 100644 --- a/api_docs/vis_type_pie.mdx +++ b/api_docs/vis_type_pie.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypePie title: "visTypePie" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypePie plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypePie'] --- import visTypePieObj from './vis_type_pie.devdocs.json'; diff --git a/api_docs/vis_type_table.mdx b/api_docs/vis_type_table.mdx index 68b2fb6cb3545..0b581b56644ac 100644 --- a/api_docs/vis_type_table.mdx +++ b/api_docs/vis_type_table.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeTable title: "visTypeTable" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeTable plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeTable'] --- import visTypeTableObj from './vis_type_table.devdocs.json'; diff --git a/api_docs/vis_type_timelion.mdx b/api_docs/vis_type_timelion.mdx index e6d01e140322b..d4330ef7d0332 100644 --- a/api_docs/vis_type_timelion.mdx +++ b/api_docs/vis_type_timelion.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeTimelion title: "visTypeTimelion" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeTimelion plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeTimelion'] --- import visTypeTimelionObj from './vis_type_timelion.devdocs.json'; diff --git a/api_docs/vis_type_timeseries.mdx b/api_docs/vis_type_timeseries.mdx index ae91cf9cb909d..c657aefeebbc1 100644 --- a/api_docs/vis_type_timeseries.mdx +++ b/api_docs/vis_type_timeseries.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeTimeseries title: "visTypeTimeseries" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeTimeseries plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeTimeseries'] --- import visTypeTimeseriesObj from './vis_type_timeseries.devdocs.json'; diff --git a/api_docs/vis_type_vega.mdx b/api_docs/vis_type_vega.mdx index 01b1743dec039..4e066474dbb94 100644 --- a/api_docs/vis_type_vega.mdx +++ b/api_docs/vis_type_vega.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeVega title: "visTypeVega" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeVega plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeVega'] --- import visTypeVegaObj from './vis_type_vega.devdocs.json'; diff --git a/api_docs/vis_type_vislib.mdx b/api_docs/vis_type_vislib.mdx index 0a188618d4d9c..f5a7cf0c227f4 100644 --- a/api_docs/vis_type_vislib.mdx +++ b/api_docs/vis_type_vislib.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeVislib title: "visTypeVislib" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeVislib plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeVislib'] --- import visTypeVislibObj from './vis_type_vislib.devdocs.json'; diff --git a/api_docs/vis_type_xy.mdx b/api_docs/vis_type_xy.mdx index 3d79aab94cf73..d3d3b380862cf 100644 --- a/api_docs/vis_type_xy.mdx +++ b/api_docs/vis_type_xy.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeXy title: "visTypeXy" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeXy plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeXy'] --- import visTypeXyObj from './vis_type_xy.devdocs.json'; diff --git a/api_docs/visualizations.mdx b/api_docs/visualizations.mdx index f52ac0a49e1b2..d4147111f1bd7 100644 --- a/api_docs/visualizations.mdx +++ b/api_docs/visualizations.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visualizations title: "visualizations" image: https://source.unsplash.com/400x175/?github description: API docs for the visualizations plugin -date: 2022-10-30 +date: 2022-10-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visualizations'] --- import visualizationsObj from './visualizations.devdocs.json'; From 43ffa96831323eff62cc1a88928e1a76c4b97719 Mon Sep 17 00:00:00 2001 From: Ashokaditya <1849116+ashokaditya@users.noreply.github.com> Date: Mon, 31 Oct 2022 11:05:07 +0100 Subject: [PATCH 027/111] [Security Solution][Endpoint][Response Actions] Show download link for `get-file` action on response actions history (#144094) * Show download link for get-file success Show download link for successful get-file actions on action history fixes elastic/security-team/issues/5076 * add missing help prefix * add tests fixes elastic/security-team/issues/5076 * update tests review changes (@paul-tavares) * use test ids instead review change (@paul-tavares) * Update use_response_actions_log_table.tsx review change (@dasansol92) * reorder if statements review suggestion (@gergoabraham) --- ...point_response_actions_console_commands.ts | 2 +- .../endpoint_response_actions_list/mocks.tsx | 6 +- .../response_actions_log.test.tsx | 140 +++++++++++++----- .../use_response_actions_log_table.tsx | 41 ++++- .../response_action_file_download_link.tsx | 71 +++++---- 5 files changed, 181 insertions(+), 79 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 5269306424a84..1b4768c13d143 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 @@ -379,7 +379,7 @@ export const getEndpointResponseActionsConsoleCommands = ({ capabilities: endpointCapabilities, privileges: endpointPrivileges, }, - exampleUsage: 'get-file path "/full/path/to/file.txt" --comment "Possible malware"', + exampleUsage: 'get-file --path "/full/path/to/file.txt" --comment "Possible malware"', exampleInstruction: ENTER_OR_ADD_COMMENT_ARG_INSTRUCTION, validate: capabilitiesAndPrivilegesValidator, mustHaveArgs: true, diff --git a/x-pack/plugins/security_solution/public/management/components/endpoint_response_actions_list/mocks.tsx b/x-pack/plugins/security_solution/public/management/components/endpoint_response_actions_list/mocks.tsx index 65b40d9a924ea..05b3fec8cd967 100644 --- a/x-pack/plugins/security_solution/public/management/components/endpoint_response_actions_list/mocks.tsx +++ b/x-pack/plugins/security_solution/public/management/components/endpoint_response_actions_list/mocks.tsx @@ -7,7 +7,10 @@ import uuid from 'uuid'; import type { ActionListApiResponse } from '../../../../common/endpoint/types'; -import type { ResponseActionStatus } from '../../../../common/endpoint/service/response_actions/constants'; +import type { + ResponseActionsApiCommandNames, + ResponseActionStatus, +} from '../../../../common/endpoint/service/response_actions/constants'; import { EndpointActionGenerator } from '../../../../common/endpoint/data_generators/endpoint_action_generator'; export const getActionListMock = async ({ @@ -49,6 +52,7 @@ export const getActionListMock = async ({ const actionDetails: ActionListApiResponse['data'] = actionIds.map((actionId) => { return endpointActionGenerator.generateActionDetails({ agents: [id], + command: (commands?.[0] ?? 'isolate') as ResponseActionsApiCommandNames, id: actionId, isCompleted, isExpired, diff --git a/x-pack/plugins/security_solution/public/management/components/endpoint_response_actions_list/response_actions_log.test.tsx b/x-pack/plugins/security_solution/public/management/components/endpoint_response_actions_list/response_actions_log.test.tsx index 09d201c171e9e..01d19867d4212 100644 --- a/x-pack/plugins/security_solution/public/management/components/endpoint_response_actions_list/response_actions_log.test.tsx +++ b/x-pack/plugins/security_solution/public/management/components/endpoint_response_actions_list/response_actions_log.test.tsx @@ -21,6 +21,7 @@ import { getActionListMock } from './mocks'; import { useGetEndpointsList } from '../../hooks/endpoint/use_get_endpoints_list'; import uuid from 'uuid'; import { RESPONSE_ACTION_API_COMMANDS_NAMES } from '../../../../common/endpoint/service/response_actions/constants'; +import { useUserPrivileges as _useUserPrivileges } from '../../../common/components/user_privileges'; let mockUseGetEndpointActionList: { isFetched?: boolean; @@ -113,9 +114,15 @@ jest.mock('@kbn/kibana-react-plugin/public', () => { jest.mock('../../hooks/endpoint/use_get_endpoints_list'); +jest.mock('../../../common/components/user_privileges'); + const mockUseGetEndpointsList = useGetEndpointsList as jest.Mock; describe('Response actions history', () => { + const useUserPrivilegesMock = _useUserPrivileges as jest.Mock< + ReturnType + >; + const testPrefix = 'response-actions-list'; let render: ( @@ -409,6 +416,53 @@ describe('Response actions history', () => { ); }); + it('should contain download link in expanded row for `get-file` action WITH file operation permission', async () => { + mockUseGetEndpointActionList = { + ...baseMockedActionList, + data: await getActionListMock({ actionCount: 1, commands: ['get-file'] }), + }; + + render(); + const { getByTestId } = renderResult; + + const expandButton = getByTestId(`${testPrefix}-expand-button`); + userEvent.click(expandButton); + const downloadLink = getByTestId(`${testPrefix}-getFileDownloadLink`); + expect(downloadLink).toBeTruthy(); + expect(downloadLink.textContent).toEqual( + 'Click here to download(ZIP file passcode: elastic)' + ); + }); + + it('should not contain download link in expanded row for `get-file` action when NO file operation permission', async () => { + const privileges = useUserPrivilegesMock(); + + useUserPrivilegesMock.mockImplementationOnce(() => { + return { + ...privileges, + endpointPrivileges: { + ...privileges.endpointPrivileges, + canWriteFileOperations: false, + }, + }; + }); + + mockUseGetEndpointActionList = { + ...baseMockedActionList, + data: await getActionListMock({ actionCount: 1, commands: ['get-file'] }), + }; + + render(); + const { getByTestId, queryByTestId } = renderResult; + + const expandButton = getByTestId(`${testPrefix}-expand-button`); + userEvent.click(expandButton); + const output = getByTestId(`${testPrefix}-details-tray-output`); + expect(output).toBeTruthy(); + expect(output.textContent).toEqual('get-file completed successfully'); + expect(queryByTestId(`${testPrefix}-getFileDownloadLink`)).toBeNull(); + }); + it('should refresh data when autoRefresh is toggled on', async () => { render(); const { getByTestId } = renderResult; @@ -552,17 +606,22 @@ describe('Response actions history', () => { it('should show a list of actions when opened', () => { render(); - const { getByTestId } = renderResult; + const { getByTestId, getAllByTestId } = renderResult; userEvent.click(getByTestId(`${testPrefix}-${filterPrefix}-popoverButton`)); const filterList = getByTestId(`${testPrefix}-${filterPrefix}-popoverList`); expect(filterList).toBeTruthy(); - expect(filterList.querySelectorAll('ul>li').length).toEqual( + expect(getAllByTestId(`${filterPrefix}-option`).length).toEqual( RESPONSE_ACTION_API_COMMANDS_NAMES.length ); - expect( - Array.from(filterList.querySelectorAll('ul>li')).map((option) => option.textContent) - ).toEqual(['isolate', 'release', 'kill-process', 'suspend-process', 'processes', 'get-file']); + expect(getAllByTestId(`${filterPrefix}-option`).map((option) => option.textContent)).toEqual([ + 'isolate', + 'release', + 'kill-process', + 'suspend-process', + 'processes', + 'get-file', + ]); }); it('should have `clear all` button `disabled` when no selected values', () => { @@ -580,15 +639,17 @@ describe('Response actions history', () => { it('should show a list of statuses when opened', () => { render(); - const { getByTestId } = renderResult; + const { getByTestId, getAllByTestId } = renderResult; userEvent.click(getByTestId(`${testPrefix}-${filterPrefix}-popoverButton`)); const filterList = getByTestId(`${testPrefix}-${filterPrefix}-popoverList`); expect(filterList).toBeTruthy(); - expect(filterList.querySelectorAll('ul>li').length).toEqual(3); - expect( - Array.from(filterList.querySelectorAll('ul>li')).map((option) => option.textContent) - ).toEqual(['Failed', 'Pending', 'Successful']); + expect(getAllByTestId(`${filterPrefix}-option`).length).toEqual(3); + expect(getAllByTestId(`${filterPrefix}-option`).map((option) => option.textContent)).toEqual([ + 'Failed', + 'Pending', + 'Successful', + ]); }); it('should have `clear all` button `disabled` when no selected values', () => { @@ -623,13 +684,13 @@ describe('Response actions history', () => { it('should show a list of host names when opened', () => { render({ showHostNames: true }); - const { getByTestId } = renderResult; + const { getByTestId, getAllByTestId } = renderResult; const popoverButton = getByTestId(`${testPrefix}-${filterPrefix}-popoverButton`); userEvent.click(popoverButton); const filterList = getByTestId(`${testPrefix}-${filterPrefix}-popoverList`); expect(filterList).toBeTruthy(); - expect(filterList.querySelectorAll('ul>li').length).toEqual(9); + expect(getAllByTestId(`${filterPrefix}-option`).length).toEqual(9); expect( getByTestId(`${testPrefix}-${filterPrefix}-popoverButton`).querySelector( '.euiNotificationBadge' @@ -652,16 +713,15 @@ describe('Response actions history', () => { } }); - const filterList = renderResult.getByTestId(`${testPrefix}-${filterPrefix}-popoverList`); - - const selectedFilterOptions = Array.from(filterList.querySelectorAll('ul>li')).reduce< - number[] - >((acc, curr, i) => { - if (curr.getAttribute('aria-checked') === 'true') { - acc.push(i); - } - return acc; - }, []); + const selectedFilterOptions = getAllByTestId(`${filterPrefix}-option`).reduce( + (acc, curr, i) => { + if (curr.getAttribute('aria-checked') === 'true') { + acc.push(i); + } + return acc; + }, + [] + ); expect(selectedFilterOptions).toEqual([1, 3, 5]); }); @@ -686,16 +746,16 @@ describe('Response actions history', () => { // re-open userEvent.click(popoverButton); - const filterList = renderResult.getByTestId(`${testPrefix}-${filterPrefix}-popoverList`); - const selectedFilterOptions = Array.from(filterList.querySelectorAll('ul>li')).reduce< - number[] - >((acc, curr, i) => { - if (curr.getAttribute('aria-checked') === 'true') { - acc.push(i); - } - return acc; - }, []); + const selectedFilterOptions = getAllByTestId(`${filterPrefix}-option`).reduce( + (acc, curr, i) => { + if (curr.getAttribute('aria-checked') === 'true') { + acc.push(i); + } + return acc; + }, + [] + ); expect(selectedFilterOptions).toEqual([0, 1, 2]); }); @@ -730,15 +790,15 @@ describe('Response actions history', () => { } }); - const filterList = renderResult.getByTestId(`${testPrefix}-${filterPrefix}-popoverList`); - const selectedFilterOptions = Array.from(filterList.querySelectorAll('ul>li')).reduce< - number[] - >((acc, curr, i) => { - if (curr.getAttribute('aria-checked') === 'true') { - acc.push(i); - } - return acc; - }, []); + const selectedFilterOptions = getAllByTestId(`${filterPrefix}-option`).reduce( + (acc, curr, i) => { + if (curr.getAttribute('aria-checked') === 'true') { + acc.push(i); + } + return acc; + }, + [] + ); expect(selectedFilterOptions).toEqual([0, 1, 2, 4, 6, 8]); }); diff --git a/x-pack/plugins/security_solution/public/management/components/endpoint_response_actions_list/use_response_actions_log_table.tsx b/x-pack/plugins/security_solution/public/management/components/endpoint_response_actions_list/use_response_actions_log_table.tsx index 443eac84c6b18..8d38b22508be2 100644 --- a/x-pack/plugins/security_solution/public/management/components/endpoint_response_actions_list/use_response_actions_log_table.tsx +++ b/x-pack/plugins/security_solution/public/management/components/endpoint_response_actions_list/use_response_actions_log_table.tsx @@ -5,7 +5,6 @@ * 2.0. */ import React, { useCallback, useMemo, useState } from 'react'; -import type { HorizontalAlignment } from '@elastic/eui'; import { EuiI18nNumber, @@ -20,6 +19,7 @@ import { EuiScreenReaderOnly, EuiText, EuiToolTip, + type HorizontalAlignment, } from '@elastic/eui'; import { css, euiStyled } from '@kbn/kibana-react-plugin/common'; import { FormattedMessage } from '@kbn/i18n-react'; @@ -33,6 +33,7 @@ import { getEmptyValue } from '../../../common/components/empty_value'; import { StatusBadge } from './components/status_badge'; import { useTestIdGenerator } from '../../hooks/use_test_id_generator'; import { MANAGEMENT_PAGE_SIZE_OPTIONS } from '../../common/constants'; +import { ResponseActionFileDownloadLink } from '../response_action_file_download_link'; const emptyValue = getEmptyValue(); @@ -137,6 +138,7 @@ export const useResponseActionsLogTable = ({ : undefined; const command = getUiCommand(_command); + const isGetFileCommand = command === 'get-file'; const dataList = [ { title: OUTPUT_MESSAGES.expandSection.placedAt, @@ -169,6 +171,35 @@ export const useResponseActionsLogTable = ({ }; }); + const getOutputContent = () => { + if (isExpired) { + return OUTPUT_MESSAGES.hasExpired(command); + } + + if (!isCompleted) { + return OUTPUT_MESSAGES.isPending(command); + } + + if (!wasSuccessful) { + return OUTPUT_MESSAGES.hasFailed(command); + } + + if (isGetFileCommand) { + return ( + <> + {OUTPUT_MESSAGES.wasSuccessful(command)} + + + ); + } + + return OUTPUT_MESSAGES.wasSuccessful(command); + }; + const outputList = [ { title: ( @@ -177,13 +208,7 @@ export const useResponseActionsLogTable = ({ description: ( // codeblock for output - {isExpired - ? OUTPUT_MESSAGES.hasExpired(command) - : isCompleted - ? wasSuccessful - ? OUTPUT_MESSAGES.wasSuccessful(command) - : OUTPUT_MESSAGES.hasFailed(command) - : OUTPUT_MESSAGES.isPending(command)} + {getOutputContent()} ), }, diff --git a/x-pack/plugins/security_solution/public/management/components/response_action_file_download_link/response_action_file_download_link.tsx b/x-pack/plugins/security_solution/public/management/components/response_action_file_download_link/response_action_file_download_link.tsx index e873a4ce253f7..20701ff555593 100644 --- a/x-pack/plugins/security_solution/public/management/components/response_action_file_download_link/response_action_file_download_link.tsx +++ b/x-pack/plugins/security_solution/public/management/components/response_action_file_download_link/response_action_file_download_link.tsx @@ -5,9 +5,14 @@ * 2.0. */ -import type { CSSProperties } from 'react'; -import React, { memo, useMemo } from 'react'; -import { EuiButtonEmpty, EuiLoadingContent, EuiText } from '@elastic/eui'; +import React, { memo, useMemo, type CSSProperties } from 'react'; +import { + EuiFlexGroup, + EuiFlexItem, + EuiButtonEmpty, + EuiLoadingContent, + EuiText, +} from '@elastic/eui'; import { FormattedMessage } from '@kbn/i18n-react'; import { i18n } from '@kbn/i18n'; import moment from 'moment'; @@ -40,6 +45,7 @@ export interface ResponseActionFileDownloadLinkProps { agentId?: string; buttonTitle?: string; 'data-test-subj'?: string; + textSize?: 's' | 'xs'; } /** @@ -49,7 +55,13 @@ export interface ResponseActionFileDownloadLinkProps { * NOTE: Currently displays only the link for the first host in the Action */ export const ResponseActionFileDownloadLink = memo( - ({ action, agentId, buttonTitle = DEFAULT_BUTTON_TITLE, 'data-test-subj': dataTestSubj }) => { + ({ + action, + agentId, + buttonTitle = DEFAULT_BUTTON_TITLE, + 'data-test-subj': dataTestSubj, + textSize = 's', + }) => { const getTestId = useTestIdGenerator(dataTestSubj); const { canWriteFileOperations } = useUserPrivileges().endpointPrivileges; @@ -97,31 +109,32 @@ export const ResponseActionFileDownloadLink = memo - - {buttonTitle} - - - - - + + + + {buttonTitle} + + + + + + + + ); } ); From 7a3243b79fbc309875490e1477a3d97b80854676 Mon Sep 17 00:00:00 2001 From: Dmitrii Shevchenko Date: Mon, 31 Oct 2022 11:44:31 +0100 Subject: [PATCH 028/111] [Security Solution] Added guided onboarding for the rules area (#144016) --- .../api/hooks/use_bulk_action_mutation.ts | 4 + .../api/hooks/use_bulk_export_mutation.ts | 8 +- .../use_create_prebuilt_rules_mutation.ts | 4 + .../api/hooks/use_create_rule_mutation.ts | 4 + .../use_fetch_prebuilt_rules_status_query.ts | 9 +- .../api/hooks/use_fetch_rule_by_id_query.ts | 9 +- .../api/hooks/use_fetch_tags_query.ts | 8 +- .../api/hooks/use_find_rules_query.ts | 11 +- .../api/hooks/use_update_rule_mutation.ts | 4 + .../rules_management_tour.tsx | 118 ++++++++++++++++++ .../guided_onboarding/translations.ts | 36 ++++++ .../use_is_element_mounted.ts | 35 ++++++ .../rules_table_filters.tsx | 2 + .../pages/rule_management/index.tsx | 2 + .../load_prepackaged_rules_button.tsx | 59 +++++---- 15 files changed, 272 insertions(+), 41 deletions(-) create mode 100644 x-pack/plugins/security_solution/public/detection_engine/rule_management_ui/components/guided_onboarding/rules_management_tour.tsx create mode 100644 x-pack/plugins/security_solution/public/detection_engine/rule_management_ui/components/guided_onboarding/translations.ts create mode 100644 x-pack/plugins/security_solution/public/detection_engine/rule_management_ui/components/guided_onboarding/use_is_element_mounted.ts diff --git a/x-pack/plugins/security_solution/public/detection_engine/rule_management/api/hooks/use_bulk_action_mutation.ts b/x-pack/plugins/security_solution/public/detection_engine/rule_management/api/hooks/use_bulk_action_mutation.ts index e52a5cd8e0618..647230982c834 100644 --- a/x-pack/plugins/security_solution/public/detection_engine/rule_management/api/hooks/use_bulk_action_mutation.ts +++ b/x-pack/plugins/security_solution/public/detection_engine/rule_management/api/hooks/use_bulk_action_mutation.ts @@ -13,6 +13,9 @@ import { useInvalidateFetchPrebuiltRulesStatusQuery } from './use_fetch_prebuilt import { useInvalidateFindRulesQuery, useUpdateRulesCache } from './use_find_rules_query'; import { useInvalidateFetchTagsQuery } from './use_fetch_tags_query'; import { useInvalidateFetchRuleByIdQuery } from './use_fetch_rule_by_id_query'; +import { DETECTION_ENGINE_RULES_BULK_ACTION } from '../../../../../common/constants'; + +export const BULK_ACTION_MUTATION_KEY = ['POST', DETECTION_ENGINE_RULES_BULK_ACTION]; export const useBulkActionMutation = ( options?: UseMutationOptions @@ -27,6 +30,7 @@ export const useBulkActionMutation = ( (action: BulkActionProps) => performBulkAction(action), { ...options, + mutationKey: BULK_ACTION_MUTATION_KEY, onSuccess: (...args) => { const [res, { action }] = args; switch (action) { diff --git a/x-pack/plugins/security_solution/public/detection_engine/rule_management/api/hooks/use_bulk_export_mutation.ts b/x-pack/plugins/security_solution/public/detection_engine/rule_management/api/hooks/use_bulk_export_mutation.ts index bcc5fbcdbb18e..623db44af6098 100644 --- a/x-pack/plugins/security_solution/public/detection_engine/rule_management/api/hooks/use_bulk_export_mutation.ts +++ b/x-pack/plugins/security_solution/public/detection_engine/rule_management/api/hooks/use_bulk_export_mutation.ts @@ -6,14 +6,20 @@ */ import type { UseMutationOptions } from '@tanstack/react-query'; import { useMutation } from '@tanstack/react-query'; +import { DETECTION_ENGINE_RULES_BULK_ACTION } from '../../../../../common/constants'; import type { BulkExportProps, BulkExportResponse } from '../api'; import { bulkExportRules } from '../api'; +export const BULK_ACTION_MUTATION_KEY = ['POST', DETECTION_ENGINE_RULES_BULK_ACTION]; + export const useBulkExportMutation = ( options?: UseMutationOptions ) => { return useMutation( (action: BulkExportProps) => bulkExportRules(action), - options + { + ...options, + mutationKey: BULK_ACTION_MUTATION_KEY, + } ); }; diff --git a/x-pack/plugins/security_solution/public/detection_engine/rule_management/api/hooks/use_create_prebuilt_rules_mutation.ts b/x-pack/plugins/security_solution/public/detection_engine/rule_management/api/hooks/use_create_prebuilt_rules_mutation.ts index 2559be0609d08..86c6efbd50f85 100644 --- a/x-pack/plugins/security_solution/public/detection_engine/rule_management/api/hooks/use_create_prebuilt_rules_mutation.ts +++ b/x-pack/plugins/security_solution/public/detection_engine/rule_management/api/hooks/use_create_prebuilt_rules_mutation.ts @@ -11,6 +11,9 @@ import { createPrepackagedRules } from '../api'; import { useInvalidateFetchPrebuiltRulesStatusQuery } from './use_fetch_prebuilt_rules_status_query'; import { useInvalidateFindRulesQuery } from './use_find_rules_query'; import { useInvalidateFetchTagsQuery } from './use_fetch_tags_query'; +import { PREBUILT_RULES_URL } from '../../../../../common/detection_engine/prebuilt_rules/api/urls'; + +export const CREATE_PREBUILT_RULES_MUTATION_KEY = ['PUT', PREBUILT_RULES_URL]; export const useCreatePrebuiltRulesMutation = ( options?: UseMutationOptions @@ -21,6 +24,7 @@ export const useCreatePrebuiltRulesMutation = ( return useMutation(() => createPrepackagedRules(), { ...options, + mutationKey: CREATE_PREBUILT_RULES_MUTATION_KEY, onSuccess: (...args) => { // Always invalidate all rules and the prepackaged rules status cache as // the number of rules might change after the installation diff --git a/x-pack/plugins/security_solution/public/detection_engine/rule_management/api/hooks/use_create_rule_mutation.ts b/x-pack/plugins/security_solution/public/detection_engine/rule_management/api/hooks/use_create_rule_mutation.ts index 8d62927a6261f..56a3d67492713 100644 --- a/x-pack/plugins/security_solution/public/detection_engine/rule_management/api/hooks/use_create_rule_mutation.ts +++ b/x-pack/plugins/security_solution/public/detection_engine/rule_management/api/hooks/use_create_rule_mutation.ts @@ -6,6 +6,7 @@ */ import type { UseMutationOptions } from '@tanstack/react-query'; import { useMutation } from '@tanstack/react-query'; +import { DETECTION_ENGINE_RULES_URL } from '../../../../../common/constants'; import type { RuleCreateProps, RuleResponse, @@ -16,6 +17,8 @@ import { useInvalidateFetchPrebuiltRulesStatusQuery } from './use_fetch_prebuilt import { useInvalidateFetchTagsQuery } from './use_fetch_tags_query'; import { useInvalidateFindRulesQuery } from './use_find_rules_query'; +export const CREATE_RULE_MUTATION_KEY = ['POST', DETECTION_ENGINE_RULES_URL]; + export const useCreateRuleMutation = ( options?: UseMutationOptions ) => { @@ -27,6 +30,7 @@ export const useCreateRuleMutation = ( (rule: RuleCreateProps) => createRule({ rule: transformOutput(rule) }), { ...options, + mutationKey: CREATE_RULE_MUTATION_KEY, onSuccess: (...args) => { invalidateFetchPrePackagedRulesStatusQuery(); invalidateFindRulesQuery(); diff --git a/x-pack/plugins/security_solution/public/detection_engine/rule_management/api/hooks/use_fetch_prebuilt_rules_status_query.ts b/x-pack/plugins/security_solution/public/detection_engine/rule_management/api/hooks/use_fetch_prebuilt_rules_status_query.ts index a0344386ffe04..5fd22fae143cb 100644 --- a/x-pack/plugins/security_solution/public/detection_engine/rule_management/api/hooks/use_fetch_prebuilt_rules_status_query.ts +++ b/x-pack/plugins/security_solution/public/detection_engine/rule_management/api/hooks/use_fetch_prebuilt_rules_status_query.ts @@ -10,14 +10,15 @@ import { useQuery, useQueryClient } from '@tanstack/react-query'; import { getPrePackagedRulesStatus } from '../api'; import { DEFAULT_QUERY_OPTIONS } from './constants'; import type { PrePackagedRulesStatusResponse } from '../../logic'; +import { PREBUILT_RULES_STATUS_URL } from '../../../../../common/detection_engine/prebuilt_rules/api/urls'; -export const PREBUILT_RULES_STATUS_QUERY_KEY = 'prePackagedRulesStatus'; +export const PREBUILT_RULES_STATUS_QUERY_KEY = ['GET', PREBUILT_RULES_STATUS_URL]; export const useFetchPrebuiltRulesStatusQuery = ( - options: UseQueryOptions + options?: UseQueryOptions ) => { return useQuery( - [PREBUILT_RULES_STATUS_QUERY_KEY], + PREBUILT_RULES_STATUS_QUERY_KEY, async ({ signal }) => { const response = await getPrePackagedRulesStatus({ signal }); return response; @@ -40,7 +41,7 @@ export const useInvalidateFetchPrebuiltRulesStatusQuery = () => { const queryClient = useQueryClient(); return useCallback(() => { - queryClient.invalidateQueries([PREBUILT_RULES_STATUS_QUERY_KEY], { + queryClient.invalidateQueries(PREBUILT_RULES_STATUS_QUERY_KEY, { refetchType: 'active', }); }, [queryClient]); diff --git a/x-pack/plugins/security_solution/public/detection_engine/rule_management/api/hooks/use_fetch_rule_by_id_query.ts b/x-pack/plugins/security_solution/public/detection_engine/rule_management/api/hooks/use_fetch_rule_by_id_query.ts index 03fe7c6e2df17..66539807787ff 100644 --- a/x-pack/plugins/security_solution/public/detection_engine/rule_management/api/hooks/use_fetch_rule_by_id_query.ts +++ b/x-pack/plugins/security_solution/public/detection_engine/rule_management/api/hooks/use_fetch_rule_by_id_query.ts @@ -8,12 +8,13 @@ import type { UseQueryOptions } from '@tanstack/react-query'; import { useQuery, useQueryClient } from '@tanstack/react-query'; import { useCallback } from 'react'; +import { DETECTION_ENGINE_RULES_URL } from '../../../../../common/constants'; import { transformInput } from '../../../../detections/containers/detection_engine/rules/transforms'; import type { Rule } from '../../logic'; import { fetchRuleById } from '../api'; import { DEFAULT_QUERY_OPTIONS } from './constants'; -const FIND_ONE_RULE_QUERY_KEY = 'findOneRule'; +const FIND_ONE_RULE_QUERY_KEY = ['GET', DETECTION_ENGINE_RULES_URL]; /** * A wrapper around useQuery provides default values to the underlying query, @@ -23,9 +24,9 @@ const FIND_ONE_RULE_QUERY_KEY = 'findOneRule'; * @param options - react-query options * @returns useQuery result */ -export const useFetchRuleByIdQuery = (id: string, options: UseQueryOptions) => { +export const useFetchRuleByIdQuery = (id: string, options?: UseQueryOptions) => { return useQuery( - [FIND_ONE_RULE_QUERY_KEY, id], + [...FIND_ONE_RULE_QUERY_KEY, id], async ({ signal }) => { const response = await fetchRuleById({ signal, id }); @@ -49,7 +50,7 @@ export const useInvalidateFetchRuleByIdQuery = () => { const queryClient = useQueryClient(); return useCallback(() => { - queryClient.invalidateQueries([FIND_ONE_RULE_QUERY_KEY], { + queryClient.invalidateQueries(FIND_ONE_RULE_QUERY_KEY, { refetchType: 'active', }); }, [queryClient]); diff --git a/x-pack/plugins/security_solution/public/detection_engine/rule_management/api/hooks/use_fetch_tags_query.ts b/x-pack/plugins/security_solution/public/detection_engine/rule_management/api/hooks/use_fetch_tags_query.ts index 1be43f992f07f..c09ae5d6cb56d 100644 --- a/x-pack/plugins/security_solution/public/detection_engine/rule_management/api/hooks/use_fetch_tags_query.ts +++ b/x-pack/plugins/security_solution/public/detection_engine/rule_management/api/hooks/use_fetch_tags_query.ts @@ -8,12 +8,12 @@ import type { UseQueryOptions } from '@tanstack/react-query'; import { useQuery, useQueryClient } from '@tanstack/react-query'; import { useCallback } from 'react'; +import { DETECTION_ENGINE_TAGS_URL } from '../../../../../common/constants'; import type { FetchTagsResponse } from '../api'; import { fetchTags } from '../api'; import { DEFAULT_QUERY_OPTIONS } from './constants'; -// TODO: https://github.com/elastic/kibana/pull/142950 Let's use more detailed cache keys, e.g. ['GET', DETECTION_ENGINE_TAGS_URL] -const TAGS_QUERY_KEY = 'tags'; +const TAGS_QUERY_KEY = ['GET', DETECTION_ENGINE_TAGS_URL]; /** * Hook for using the list of Tags from the Detection Engine API @@ -21,7 +21,7 @@ const TAGS_QUERY_KEY = 'tags'; */ export const useFetchTagsQuery = (options?: UseQueryOptions) => { return useQuery( - [TAGS_QUERY_KEY], + TAGS_QUERY_KEY, async ({ signal }) => { return fetchTags({ signal }); }, @@ -36,7 +36,7 @@ export const useInvalidateFetchTagsQuery = () => { const queryClient = useQueryClient(); return useCallback(() => { - queryClient.invalidateQueries([TAGS_QUERY_KEY], { + queryClient.invalidateQueries(TAGS_QUERY_KEY, { refetchType: 'active', }); }, [queryClient]); diff --git a/x-pack/plugins/security_solution/public/detection_engine/rule_management/api/hooks/use_find_rules_query.ts b/x-pack/plugins/security_solution/public/detection_engine/rule_management/api/hooks/use_find_rules_query.ts index ad50ab471a7fd..35b6430a51172 100644 --- a/x-pack/plugins/security_solution/public/detection_engine/rule_management/api/hooks/use_find_rules_query.ts +++ b/x-pack/plugins/security_solution/public/detection_engine/rule_management/api/hooks/use_find_rules_query.ts @@ -8,6 +8,7 @@ import type { UseQueryOptions } from '@tanstack/react-query'; import { useQuery, useQueryClient } from '@tanstack/react-query'; import { useCallback } from 'react'; +import { DETECTION_ENGINE_RULES_URL_FIND } from '../../../../../common/constants'; import type { FilterOptions, PaginationOptions, Rule, SortingOptions } from '../../logic'; import { fetchRules } from '../api'; import { DEFAULT_QUERY_OPTIONS } from './constants'; @@ -18,7 +19,7 @@ export interface FindRulesQueryArgs { pagination?: Pick; } -const FIND_RULES_QUERY_KEY = 'findRules'; +const FIND_RULES_QUERY_KEY = ['GET', DETECTION_ENGINE_RULES_URL_FIND]; export interface RulesQueryResponse { rules: Rule[]; @@ -37,7 +38,7 @@ export interface RulesQueryResponse { */ export const useFindRulesQuery = ( queryArgs: FindRulesQueryArgs, - queryOptions: UseQueryOptions< + queryOptions?: UseQueryOptions< RulesQueryResponse, Error, RulesQueryResponse, @@ -45,7 +46,7 @@ export const useFindRulesQuery = ( > ) => { return useQuery( - [FIND_RULES_QUERY_KEY, queryArgs], + [...FIND_RULES_QUERY_KEY, queryArgs], async ({ signal }) => { const response = await fetchRules({ signal, ...queryArgs }); @@ -73,7 +74,7 @@ export const useInvalidateFindRulesQuery = () => { * Invalidate all queries that start with FIND_RULES_QUERY_KEY. This * includes the in-memory query cache and paged query cache. */ - queryClient.invalidateQueries([FIND_RULES_QUERY_KEY], { + queryClient.invalidateQueries(FIND_RULES_QUERY_KEY, { refetchType: 'active', }); }, [queryClient]); @@ -98,7 +99,7 @@ export const useUpdateRulesCache = () => { return useCallback( (newRules: Rule[]) => { queryClient.setQueriesData['data']>( - [FIND_RULES_QUERY_KEY], + FIND_RULES_QUERY_KEY, (currentData) => currentData ? { diff --git a/x-pack/plugins/security_solution/public/detection_engine/rule_management/api/hooks/use_update_rule_mutation.ts b/x-pack/plugins/security_solution/public/detection_engine/rule_management/api/hooks/use_update_rule_mutation.ts index 6f15fb4fdd8ce..d0b60ccb9b89a 100644 --- a/x-pack/plugins/security_solution/public/detection_engine/rule_management/api/hooks/use_update_rule_mutation.ts +++ b/x-pack/plugins/security_solution/public/detection_engine/rule_management/api/hooks/use_update_rule_mutation.ts @@ -15,6 +15,9 @@ import { updateRule } from '../api'; import { useInvalidateFindRulesQuery } from './use_find_rules_query'; import { useInvalidateFetchTagsQuery } from './use_fetch_tags_query'; import { useInvalidateFetchRuleByIdQuery } from './use_fetch_rule_by_id_query'; +import { DETECTION_ENGINE_RULES_URL } from '../../../../../common/constants'; + +export const UPDATE_RULE_MUTATION_KEY = ['PUT', DETECTION_ENGINE_RULES_URL]; export const useUpdateRuleMutation = ( options?: UseMutationOptions @@ -27,6 +30,7 @@ export const useUpdateRuleMutation = ( (rule: RuleUpdateProps) => updateRule({ rule: transformOutput(rule) }), { ...options, + mutationKey: UPDATE_RULE_MUTATION_KEY, onSuccess: (...args) => { invalidateFindRulesQuery(); invalidateFetchRuleByIdQuery(); diff --git a/x-pack/plugins/security_solution/public/detection_engine/rule_management_ui/components/guided_onboarding/rules_management_tour.tsx b/x-pack/plugins/security_solution/public/detection_engine/rule_management_ui/components/guided_onboarding/rules_management_tour.tsx new file mode 100644 index 0000000000000..1fcb56a009edb --- /dev/null +++ b/x-pack/plugins/security_solution/public/detection_engine/rule_management_ui/components/guided_onboarding/rules_management_tour.tsx @@ -0,0 +1,118 @@ +/* + * 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 type { EuiTourActions, EuiTourStepProps } from '@elastic/eui'; +import { EuiTourStep } from '@elastic/eui'; +import { noop } from 'lodash'; +import React, { useEffect, useMemo } from 'react'; +import useObservable from 'react-use/lib/useObservable'; +import { of } from 'rxjs'; +import { useKibana } from '../../../../common/lib/kibana'; +import { useFindRulesQuery } from '../../../rule_management/api/hooks/use_find_rules_query'; +import * as i18n from './translations'; +import { useIsElementMounted } from './use_is_element_mounted'; + +export const INSTALL_PREBUILT_RULES_ANCHOR = 'install-prebuilt-rules-anchor'; +export const SEARCH_FIRST_RULE_ANCHOR = 'search-first-rule-anchor'; + +export interface RulesFeatureTourContextType { + steps: EuiTourStepProps[]; + actions: EuiTourActions; +} + +const GUIDED_ONBOARDING_RULES_FILTER = { + filter: '', + showCustomRules: false, + showElasticRules: true, + tags: ['Guided Onboarding'], +}; + +export enum GuidedOnboardingRulesStatus { + 'inactive' = 'inactive', + 'installRules' = 'installRules', + 'activateRules' = 'activateRules', + 'completed' = 'completed', +} + +export const RulesManagementTour = () => { + const { guidedOnboardingApi } = useKibana().services.guidedOnboarding; + + const isRulesStepActive = useObservable( + guidedOnboardingApi?.isGuideStepActive$('security', 'rules') ?? of(false), + false + ); + + const { data: onboardingRules } = useFindRulesQuery( + { filterOptions: GUIDED_ONBOARDING_RULES_FILTER }, + { enabled: isRulesStepActive } + ); + + const tourStatus = useMemo(() => { + if (!isRulesStepActive || !onboardingRules) { + return GuidedOnboardingRulesStatus.inactive; + } + + if (onboardingRules.total === 0) { + // Onboarding rules are not installed - show the install/update rules step + return GuidedOnboardingRulesStatus.installRules; + } + + if (!onboardingRules.rules.some((rule) => rule.enabled)) { + // None of the onboarding rules is active - show the activate step + return GuidedOnboardingRulesStatus.activateRules; + } + + // Rules are installed and enabled - the tour is completed + return GuidedOnboardingRulesStatus.completed; + }, [isRulesStepActive, onboardingRules]); + + // Synchronize the current "internal" tour step with the global one + useEffect(() => { + if (isRulesStepActive && tourStatus === GuidedOnboardingRulesStatus.completed) { + guidedOnboardingApi?.completeGuideStep('security', 'rules'); + } + }, [guidedOnboardingApi, isRulesStepActive, tourStatus]); + + /** + * Wait until the tour target elements are visible on the page and mount + * EuiTourStep components only after that. Otherwise, the tours would never + * show up on the page. + */ + const isInstallRulesAnchorMounted = useIsElementMounted(INSTALL_PREBUILT_RULES_ANCHOR); + const isSearchFirstRuleAnchorMounted = useIsElementMounted(SEARCH_FIRST_RULE_ANCHOR); + + return ( + <> + {isInstallRulesAnchorMounted && ( + } // Replace "Skip tour" with an empty element + /> + )} + {isSearchFirstRuleAnchorMounted && ( + } // Replace "Skip tour" with an empty element + /> + )} + + ); +}; diff --git a/x-pack/plugins/security_solution/public/detection_engine/rule_management_ui/components/guided_onboarding/translations.ts b/x-pack/plugins/security_solution/public/detection_engine/rule_management_ui/components/guided_onboarding/translations.ts new file mode 100644 index 0000000000000..6c8a2880801a6 --- /dev/null +++ b/x-pack/plugins/security_solution/public/detection_engine/rule_management_ui/components/guided_onboarding/translations.ts @@ -0,0 +1,36 @@ +/* + * 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 { i18n } from '@kbn/i18n'; + +export const INSTALL_PREBUILT_RULES_TITLE = i18n.translate( + 'xpack.securitySolution.detectionEngine.rules.guidedOnboarding.installPrebuiltRules.title', + { + defaultMessage: 'Load the Elastic prebuilt rules', + } +); + +export const INSTALL_PREBUILT_RULES_CONTENT = i18n.translate( + 'xpack.securitySolution.detectionEngine.rules.guidedOnboarding.installPrebuiltRules.content', + { + defaultMessage: 'To get started you need to load the Elastic prebuilt rules.', + } +); + +export const SEARCH_FIRST_RULE_TITLE = i18n.translate( + 'xpack.securitySolution.detectionEngine.rules.guidedOnboarding.searchFirstRule.title', + { + defaultMessage: 'Search for Elastic Defend rules', + } +); + +export const SEARCH_FIRST_RULE_CONTENT = i18n.translate( + 'xpack.securitySolution.detectionEngine.rules.guidedOnboarding.searchFirstRule.content', + { + defaultMessage: 'Find the My First Alert rule and enable it.', + } +); diff --git a/x-pack/plugins/security_solution/public/detection_engine/rule_management_ui/components/guided_onboarding/use_is_element_mounted.ts b/x-pack/plugins/security_solution/public/detection_engine/rule_management_ui/components/guided_onboarding/use_is_element_mounted.ts new file mode 100644 index 0000000000000..b3be0184e1a3e --- /dev/null +++ b/x-pack/plugins/security_solution/public/detection_engine/rule_management_ui/components/guided_onboarding/use_is_element_mounted.ts @@ -0,0 +1,35 @@ +/* + * 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 { useEffect, useState } from 'react'; + +export const useIsElementMounted = (elementId: string) => { + const [isElementMounted, setIsElementMounted] = useState(false); + + useEffect(() => { + const observer = new MutationObserver(() => { + const isElementFound = !!document.getElementById(elementId); + + if (isElementFound && !isElementMounted) { + setIsElementMounted(true); + } + + if (!isElementFound && isElementMounted) { + setIsElementMounted(false); + } + }); + + observer.observe(document.body, { + childList: true, + subtree: true, + }); + + return () => observer.disconnect(); + }, [isElementMounted, elementId]); + + return isElementMounted; +}; diff --git a/x-pack/plugins/security_solution/public/detection_engine/rule_management_ui/components/rules_table/rules_table_filters/rules_table_filters.tsx b/x-pack/plugins/security_solution/public/detection_engine/rule_management_ui/components/rules_table/rules_table_filters/rules_table_filters.tsx index 784d3dfc62427..143ae37a694d1 100644 --- a/x-pack/plugins/security_solution/public/detection_engine/rule_management_ui/components/rules_table/rules_table_filters/rules_table_filters.tsx +++ b/x-pack/plugins/security_solution/public/detection_engine/rule_management_ui/components/rules_table/rules_table_filters/rules_table_filters.tsx @@ -22,6 +22,7 @@ import * as i18n from '../../../../../detections/pages/detection_engine/rules/tr import { useRulesTableContext } from '../rules_table/rules_table_context'; import { TagsFilterPopover } from './tags_filter_popover'; import { useTags } from '../../../../rule_management/logic/use_tags'; +import { SEARCH_FIRST_RULE_ANCHOR } from '../../guided_onboarding/rules_management_tour'; const FilterWrapper = styled(EuiFlexGroup)` margin-bottom: ${({ theme }) => theme.eui.euiSizeXS}; @@ -85,6 +86,7 @@ const RulesTableFiltersComponent = () => { { const [isImportModalVisible, showImportModal, hideImportModal] = useBoolState(); @@ -85,6 +86,7 @@ const RulesPageComponent: React.FC = () => { + - {getLoadRulesOrTimelinesButtonTitle(prePackagedAssetsStatus, prePackagedTimelineStatus)} - +
+ + {getLoadRulesOrTimelinesButtonTitle(prePackagedAssetsStatus, prePackagedTimelineStatus)} + +
); } @@ -81,20 +88,26 @@ export const LoadPrePackagedRulesButton = ({ prePackagedTimelineStatus === 'someTimelineUninstall'; if (showUpdateButton) { + // Without the outer div EuiStepTour crashes with Uncaught DOMException: + // Failed to execute 'removeChild' on 'Node': The node to be removed is not + // a child of this node. return ( - - {getMissingRulesOrTimelinesButtonTitle( - prePackagedRulesStatus?.rules_not_installed ?? 0, - prePackagedRulesStatus?.timelines_not_installed ?? 0 - )} - +
+ + {getMissingRulesOrTimelinesButtonTitle( + prePackagedRulesStatus?.rules_not_installed ?? 0, + prePackagedRulesStatus?.timelines_not_installed ?? 0 + )} + +
); } From 7f8e78f84429839186f3ab6170bd247ce6209d3a Mon Sep 17 00:00:00 2001 From: Pablo Machado Date: Mon, 31 Oct 2022 12:56:07 +0100 Subject: [PATCH 029/111] Update time range when opening timeline from Entity Analytics page (#144024) * Update timerange when opening timeline from Entity Analytics page * Add useCallback to useNavigateToTimeline functions * Refactor 'useNavigateToTimeline' to only export one function --- .../security_solution/risk_score/all/index.ts | 2 + .../e2e/dashboards/entity_analytics.cy.ts | 73 ++++++++++++- .../e2e/dashboards/upgrade_risk_score.cy.ts | 10 +- .../cypress/screens/entity_analytics.ts | 8 +- .../cypress/tasks/risk_scores/index.ts | 10 ++ .../hooks/use_navigate_to_timeline.tsx | 102 +++++++----------- .../host_alerts_table/host_alerts_table.tsx | 19 +++- .../rule_alerts_table/rule_alerts_table.tsx | 9 +- .../user_alerts_table/user_alerts_table.tsx | 18 +++- .../entity_analytics/risk_score/columns.tsx | 9 +- .../entity_analytics/risk_score/index.tsx | 27 +++-- .../properties/use_create_timeline.tsx | 41 ++++--- .../factory/risk_score/all/index.test.ts | 38 ++++++- .../factory/risk_score/all/index.ts | 26 +++-- .../es_archives/risk_users/data.json | 2 +- 15 files changed, 286 insertions(+), 108 deletions(-) diff --git a/x-pack/plugins/security_solution/common/search_strategy/security_solution/risk_score/all/index.ts b/x-pack/plugins/security_solution/common/search_strategy/security_solution/risk_score/all/index.ts index 2c1743e262ead..b35a6aa154999 100644 --- a/x-pack/plugins/security_solution/common/search_strategy/security_solution/risk_score/all/index.ts +++ b/x-pack/plugins/security_solution/common/search_strategy/security_solution/risk_score/all/index.ts @@ -51,6 +51,7 @@ export interface HostRiskScore { risk: RiskStats; }; alertsCount?: number; + oldestAlertTimestamp?: string; } export interface UserRiskScore { @@ -60,6 +61,7 @@ export interface UserRiskScore { risk: RiskStats; }; alertsCount?: number; + oldestAlertTimestamp?: string; } export interface RuleRisk { diff --git a/x-pack/plugins/security_solution/cypress/e2e/dashboards/entity_analytics.cy.ts b/x-pack/plugins/security_solution/cypress/e2e/dashboards/entity_analytics.cy.ts index 93b3a4594f166..b5c2b07dc72b6 100644 --- a/x-pack/plugins/security_solution/cypress/e2e/dashboards/entity_analytics.cy.ts +++ b/x-pack/plugins/security_solution/cypress/e2e/dashboards/entity_analytics.cy.ts @@ -7,10 +7,10 @@ import { login, visit } from '../../tasks/login'; -import { ENTITY_ANALYTICS_URL } from '../../urls/navigation'; +import { ALERTS_URL, ENTITY_ANALYTICS_URL } from '../../urls/navigation'; import { esArchiverLoad, esArchiverUnload } from '../../tasks/es_archiver'; -import { cleanKibana } from '../../tasks/common'; +import { cleanKibana, deleteAlertsAndRules } from '../../tasks/common'; import { ANOMALIES_TABLE, ANOMALIES_TABLE_ROWS, @@ -26,8 +26,19 @@ import { USERS_TABLE, USERS_TABLE_ROWS, USER_RISK_SCORE_NO_DATA_DETECTED, + USERS_TABLE_ALERT_CELL, + HOSTS_TABLE_ALERT_CELL, } from '../../screens/entity_analytics'; import { openRiskTableFilterAndSelectTheLowOption } from '../../tasks/host_risk'; +import { createCustomRuleEnabled } from '../../tasks/api_calls/rules'; +import { waitForAlertsToPopulate } from '../../tasks/create_new_rule'; +import { getNewRule } from '../../objects/rule'; +import { QUERY_TAB_BUTTON } from '../../screens/timeline'; +import { closeTimeline } from '../../tasks/timeline'; +import { clickOnFirstHostsAlerts, clickOnFirstUsersAlerts } from '../../tasks/risk_scores'; + +const TEST_USER_ALERTS = 2; +const SIEM_KIBANA_HOST_ALERTS = 2; describe('Entity Analytics Dashboard', () => { before(() => { @@ -62,11 +73,11 @@ describe('Entity Analytics Dashboard', () => { esArchiverUnload('risk_users_no_data'); }); - it('shows no data detected propmpt for host risk score module', () => { + it('shows no data detected prompt for host risk score module', () => { cy.get(HOST_RISK_SCORE_NO_DATA_DETECTED).should('be.visible'); }); - it('shows no data detected propmpt for user risk score module', () => { + it('shows no data detected prompt for user risk score module', () => { cy.get(USER_RISK_SCORE_NO_DATA_DETECTED).should('be.visible'); }); }); @@ -112,12 +123,39 @@ describe('Entity Analytics Dashboard', () => { cy.get(HOSTS_TABLE_ROWS).should('have.length', 5); }); + it('renders alerts column', () => { + cy.get(HOSTS_TABLE_ALERT_CELL).should('have.length', 5); + }); + it('filters by risk classification', () => { openRiskTableFilterAndSelectTheLowOption(); cy.get(HOSTS_DONUT_CHART).should('include.text', '1Total'); cy.get(HOSTS_TABLE_ROWS).should('have.length', 1); }); + + describe('With alerts data', () => { + before(() => { + createCustomRuleEnabled(getNewRule()); + visit(ALERTS_URL); + waitForAlertsToPopulate(); + visit(ENTITY_ANALYTICS_URL); + }); + + after(() => { + deleteAlertsAndRules(); + }); + + it('populates alerts column', () => { + cy.get(HOSTS_TABLE_ALERT_CELL).first().should('include.text', SIEM_KIBANA_HOST_ALERTS); + }); + + it('opens timeline when alerts count is clicked', () => { + clickOnFirstHostsAlerts(); + cy.get(QUERY_TAB_BUTTON).should('contain.text', SIEM_KIBANA_HOST_ALERTS); + closeTimeline(); + }); + }); }); describe('With user risk data', () => { @@ -139,12 +177,39 @@ describe('Entity Analytics Dashboard', () => { cy.get(USERS_TABLE_ROWS).should('have.length', 5); }); + it('renders alerts column', () => { + cy.get(USERS_TABLE_ALERT_CELL).should('have.length', 5); + }); + it('filters by risk classification', () => { openRiskTableFilterAndSelectTheLowOption(); cy.get(USERS_DONUT_CHART).should('include.text', '2Total'); cy.get(USERS_TABLE_ROWS).should('have.length', 2); }); + + describe('With alerts data', () => { + before(() => { + createCustomRuleEnabled(getNewRule()); + visit(ALERTS_URL); + waitForAlertsToPopulate(); + visit(ENTITY_ANALYTICS_URL); + }); + + after(() => { + deleteAlertsAndRules(); + }); + + it('populates alerts column', () => { + cy.get(USERS_TABLE_ALERT_CELL).first().should('include.text', TEST_USER_ALERTS); + }); + + it('opens timeline when alerts count is clicked', () => { + clickOnFirstUsersAlerts(); + cy.get(QUERY_TAB_BUTTON).should('contain.text', TEST_USER_ALERTS); + closeTimeline(); + }); + }); }); describe('With anomalies data', () => { diff --git a/x-pack/plugins/security_solution/cypress/e2e/dashboards/upgrade_risk_score.cy.ts b/x-pack/plugins/security_solution/cypress/e2e/dashboards/upgrade_risk_score.cy.ts index 5fcaca256656c..bcbc85849c166 100644 --- a/x-pack/plugins/security_solution/cypress/e2e/dashboards/upgrade_risk_score.cy.ts +++ b/x-pack/plugins/security_solution/cypress/e2e/dashboards/upgrade_risk_score.cy.ts @@ -11,7 +11,7 @@ import { UPGRADE_HOST_RISK_SCORE_BUTTON, UPGRADE_USER_RISK_SCORE_BUTTON, UPGRADE_CANCELLATION_BUTTON, - UPGRADE_CONFIRMARION_MODAL, + UPGRADE_CONFIRMATION_MODAL, RISK_SCORE_DASHBOARDS_INSTALLATION_SUCCESS_TOAST, } from '../../screens/entity_analytics'; import { deleteRiskScore, installLegacyRiskScoreModule } from '../../tasks/api_calls/risk_scores'; @@ -61,14 +61,14 @@ describe('Upgrade risk scores', () => { it('should show a confirmation modal for upgrading host risk score', () => { clickUpgradeRiskScore(RiskScoreEntity.host); - cy.get(UPGRADE_CONFIRMARION_MODAL(RiskScoreEntity.host)).should('exist'); + cy.get(UPGRADE_CONFIRMATION_MODAL(RiskScoreEntity.host)).should('exist'); }); it('display a link to host risk score Elastic doc', () => { clickUpgradeRiskScore(RiskScoreEntity.host); cy.get(UPGRADE_CANCELLATION_BUTTON) - .get(`${UPGRADE_CONFIRMARION_MODAL(RiskScoreEntity.host)} a`) + .get(`${UPGRADE_CONFIRMATION_MODAL(RiskScoreEntity.host)} a`) .then((link) => { expect(link.prop('href')).to.eql( `https://www.elastic.co/guide/en/security/current/${RiskScoreEntity.host}-risk-score.html` @@ -116,14 +116,14 @@ describe('Upgrade risk scores', () => { it('should show a confirmation modal for upgrading user risk score', () => { clickUpgradeRiskScore(RiskScoreEntity.user); - cy.get(UPGRADE_CONFIRMARION_MODAL(RiskScoreEntity.user)).should('exist'); + cy.get(UPGRADE_CONFIRMATION_MODAL(RiskScoreEntity.user)).should('exist'); }); it('display a link to user risk score Elastic doc', () => { clickUpgradeRiskScore(RiskScoreEntity.user); cy.get(UPGRADE_CANCELLATION_BUTTON) - .get(`${UPGRADE_CONFIRMARION_MODAL(RiskScoreEntity.user)} a`) + .get(`${UPGRADE_CONFIRMATION_MODAL(RiskScoreEntity.user)} a`) .then((link) => { expect(link.prop('href')).to.eql( `https://www.elastic.co/guide/en/security/current/${RiskScoreEntity.user}-risk-score.html` diff --git a/x-pack/plugins/security_solution/cypress/screens/entity_analytics.ts b/x-pack/plugins/security_solution/cypress/screens/entity_analytics.ts index 4d60556173fd9..6095151fee57b 100644 --- a/x-pack/plugins/security_solution/cypress/screens/entity_analytics.ts +++ b/x-pack/plugins/security_solution/cypress/screens/entity_analytics.ts @@ -47,9 +47,15 @@ export const ANOMALIES_TABLE = export const ANOMALIES_TABLE_ROWS = '[data-test-subj="entity_analytics_anomalies"] .euiTableRow'; -export const UPGRADE_CONFIRMARION_MODAL = (riskScoreEntity: RiskScoreEntity) => +export const UPGRADE_CONFIRMATION_MODAL = (riskScoreEntity: RiskScoreEntity) => `[data-test-subj="${riskScoreEntity}-risk-score-upgrade-confirmation-modal"]`; export const UPGRADE_CONFIRMATION_BUTTON = '[data-test-subj="confirmModalConfirmButton"]'; export const UPGRADE_CANCELLATION_BUTTON = '[data-test-subj="confirmModalCancelButton"]'; + +export const USERS_TABLE_ALERT_CELL = + '[data-test-subj="entity_analytics_users"] [data-test-subj="risk-score-alerts"]'; + +export const HOSTS_TABLE_ALERT_CELL = + '[data-test-subj="entity_analytics_hosts"] [data-test-subj="risk-score-alerts"]'; diff --git a/x-pack/plugins/security_solution/cypress/tasks/risk_scores/index.ts b/x-pack/plugins/security_solution/cypress/tasks/risk_scores/index.ts index ab80122de1dd0..4b81e4d728990 100644 --- a/x-pack/plugins/security_solution/cypress/tasks/risk_scores/index.ts +++ b/x-pack/plugins/security_solution/cypress/tasks/risk_scores/index.ts @@ -8,9 +8,11 @@ import { ENABLE_HOST_RISK_SCORE_BUTTON, ENABLE_USER_RISK_SCORE_BUTTON, + HOSTS_TABLE_ALERT_CELL, UPGRADE_CONFIRMATION_BUTTON, UPGRADE_HOST_RISK_SCORE_BUTTON, UPGRADE_USER_RISK_SCORE_BUTTON, + USERS_TABLE_ALERT_CELL, } from '../../screens/entity_analytics'; import { INGEST_PIPELINES_URL, @@ -73,3 +75,11 @@ export const clickUpgradeRiskScore = (riskScoreEntity: RiskScoreEntity) => { export const clickUpgradeRiskScoreConfirmed = () => { cy.get(UPGRADE_CONFIRMATION_BUTTON).click(); }; + +export const clickOnFirstUsersAlerts = () => { + cy.get(USERS_TABLE_ALERT_CELL).first().click(); +}; + +export const clickOnFirstHostsAlerts = () => { + cy.get(HOSTS_TABLE_ALERT_CELL).first().click(); +}; diff --git a/x-pack/plugins/security_solution/public/overview/components/detection_response/hooks/use_navigate_to_timeline.tsx b/x-pack/plugins/security_solution/public/overview/components/detection_response/hooks/use_navigate_to_timeline.tsx index d3fcb33ef9ef8..705375d48ec3e 100644 --- a/x-pack/plugins/security_solution/public/overview/components/detection_response/hooks/use_navigate_to_timeline.tsx +++ b/x-pack/plugins/security_solution/public/overview/components/detection_response/hooks/use_navigate_to_timeline.tsx @@ -5,7 +5,7 @@ * 2.0. */ -import { useMemo } from 'react'; +import { useCallback, useMemo } from 'react'; import { useDispatch } from 'react-redux'; import { useDeepEqualSelector } from '../../../../common/hooks/use_selector'; @@ -17,6 +17,7 @@ import { TimelineId, TimelineType } from '../../../../../common/types/timeline'; import { useCreateTimeline } from '../../../../timelines/components/timeline/properties/use_create_timeline'; import { updateProviders } from '../../../../timelines/store/timeline/actions'; import { sourcererSelectors } from '../../../../common/store'; +import type { TimeRange } from '../../../../common/store/inputs/model'; export interface Filter { field: string; @@ -39,25 +40,28 @@ export const useNavigateToTimeline = () => { timelineType: TimelineType.default, }); - const navigateToTimeline = (dataProviders: DataProvider[]) => { - // Reset the current timeline - clearTimeline(); - // Update the timeline's providers to match the current prevalence field query - dispatch( - updateProviders({ - id: TimelineId.active, - providers: dataProviders, - }) - ); - - dispatch( - sourcererActions.setSelectedDataView({ - id: SourcererScopeName.timeline, - selectedDataViewId: defaultDataView.id, - selectedPatterns: [signalIndexName || ''], - }) - ); - }; + const navigateToTimeline = useCallback( + (dataProviders: DataProvider[], timeRange?: TimeRange) => { + // Reset the current timeline + clearTimeline({ timeRange }); + // Update the timeline's providers to match the current prevalence field query + dispatch( + updateProviders({ + id: TimelineId.active, + providers: dataProviders, + }) + ); + + dispatch( + sourcererActions.setSelectedDataView({ + id: SourcererScopeName.timeline, + selectedDataViewId: defaultDataView.id, + selectedPatterns: [signalIndexName || ''], + }) + ); + }, + [clearTimeline, defaultDataView.id, dispatch, signalIndexName] + ); /** * * Open a timeline with the given filters prepopulated. @@ -65,56 +69,30 @@ export const useNavigateToTimeline = () => { * * [[filter1 & filter2] OR [filter3 & filter4]] * + * @param timeRange Defines the timeline time range field and removes the time range lock */ - const openTimelineWithFilters = (filters: Array<[...Filter[]]>) => { - const dataProviders = []; + const openTimelineWithFilters = useCallback( + (filters: Array<[...Filter[]]>, timeRange?: TimeRange) => { + const dataProviders = []; - for (const orFilterGroup of filters) { - const mainFilter = orFilterGroup[0]; + for (const orFilterGroup of filters) { + const mainFilter = orFilterGroup[0]; - if (mainFilter) { - const dataProvider = getDataProvider(mainFilter.field, '', mainFilter.value); + if (mainFilter) { + const dataProvider = getDataProvider(mainFilter.field, '', mainFilter.value); - for (const filter of orFilterGroup.slice(1)) { - dataProvider.and.push(getDataProvider(filter.field, '', filter.value)); + for (const filter of orFilterGroup.slice(1)) { + dataProvider.and.push(getDataProvider(filter.field, '', filter.value)); + } + dataProviders.push(dataProvider); } - dataProviders.push(dataProvider); } - } - navigateToTimeline(dataProviders); - }; - - // TODO: Replace the usage of functions with openTimelineWithFilters - - const openHostInTimeline = ({ hostName, severity }: { hostName: string; severity?: string }) => { - const dataProvider = getDataProvider('host.name', '', hostName); - - if (severity) { - dataProvider.and.push(getDataProvider('kibana.alert.severity', '', severity)); - } - - navigateToTimeline([dataProvider]); - }; - - const openUserInTimeline = ({ userName, severity }: { userName: string; severity?: string }) => { - const dataProvider = getDataProvider('user.name', '', userName); - - if (severity) { - dataProvider.and.push(getDataProvider('kibana.alert.severity', '', severity)); - } - navigateToTimeline([dataProvider]); - }; - - const openRuleInTimeline = (ruleName: string) => { - const dataProvider = getDataProvider('kibana.alert.rule.name', '', ruleName); - - navigateToTimeline([dataProvider]); - }; + navigateToTimeline(dataProviders, timeRange); + }, + [navigateToTimeline] + ); return { openTimelineWithFilters, - openHostInTimeline, - openRuleInTimeline, - openUserInTimeline, }; }; diff --git a/x-pack/plugins/security_solution/public/overview/components/detection_response/host_alerts_table/host_alerts_table.tsx b/x-pack/plugins/security_solution/public/overview/components/detection_response/host_alerts_table/host_alerts_table.tsx index b5ec1de73fa39..555a2d7be5b4d 100644 --- a/x-pack/plugins/security_solution/public/overview/components/detection_response/host_alerts_table/host_alerts_table.tsx +++ b/x-pack/plugins/security_solution/public/overview/components/detection_response/host_alerts_table/host_alerts_table.tsx @@ -5,7 +5,7 @@ * 2.0. */ -import React, { useMemo } from 'react'; +import React, { useCallback, useMemo } from 'react'; import type { EuiBasicTableColumn } from '@elastic/eui'; import { @@ -43,7 +43,22 @@ type GetTableColumns = ( const DETECTION_RESPONSE_HOST_SEVERITY_QUERY_ID = 'vulnerableHostsBySeverityQuery'; export const HostAlertsTable = React.memo(({ signalIndexName }: HostAlertsTableProps) => { - const { openHostInTimeline } = useNavigateToTimeline(); + const { openTimelineWithFilters } = useNavigateToTimeline(); + + const openHostInTimeline = useCallback( + ({ hostName, severity }: { hostName: string; severity?: string }) => { + const hostNameFilter = { field: 'host.name', value: hostName }; + const severityFilter = severity + ? { field: 'kibana.alert.severity', value: severity } + : undefined; + + openTimelineWithFilters( + severityFilter ? [[hostNameFilter, severityFilter]] : [[hostNameFilter]] + ); + }, + [openTimelineWithFilters] + ); + const { toggleStatus, setToggleStatus } = useQueryToggle( DETECTION_RESPONSE_HOST_SEVERITY_QUERY_ID ); diff --git a/x-pack/plugins/security_solution/public/overview/components/detection_response/rule_alerts_table/rule_alerts_table.tsx b/x-pack/plugins/security_solution/public/overview/components/detection_response/rule_alerts_table/rule_alerts_table.tsx index 59a92896ddb85..e9ec906070f74 100644 --- a/x-pack/plugins/security_solution/public/overview/components/detection_response/rule_alerts_table/rule_alerts_table.tsx +++ b/x-pack/plugins/security_solution/public/overview/components/detection_response/rule_alerts_table/rule_alerts_table.tsx @@ -114,7 +114,14 @@ export const RuleAlertsTable = React.memo(({ signalIndexNa skip: !toggleStatus, }); - const { openRuleInTimeline } = useNavigateToTimeline(); + const { openTimelineWithFilters } = useNavigateToTimeline(); + + const openRuleInTimeline = useCallback( + (ruleName: string) => { + openTimelineWithFilters([[{ field: 'kibana.alert.rule.name', value: ruleName }]]); + }, + [openTimelineWithFilters] + ); const navigateToAlerts = useCallback(() => { navigateTo({ deepLinkId: SecurityPageName.alerts }); diff --git a/x-pack/plugins/security_solution/public/overview/components/detection_response/user_alerts_table/user_alerts_table.tsx b/x-pack/plugins/security_solution/public/overview/components/detection_response/user_alerts_table/user_alerts_table.tsx index c50f5976360ed..c1a7ad0791221 100644 --- a/x-pack/plugins/security_solution/public/overview/components/detection_response/user_alerts_table/user_alerts_table.tsx +++ b/x-pack/plugins/security_solution/public/overview/components/detection_response/user_alerts_table/user_alerts_table.tsx @@ -5,7 +5,7 @@ * 2.0. */ -import React, { useMemo } from 'react'; +import React, { useCallback, useMemo } from 'react'; import type { EuiBasicTableColumn } from '@elastic/eui'; import { @@ -43,7 +43,21 @@ type GetTableColumns = ( const DETECTION_RESPONSE_USER_SEVERITY_QUERY_ID = 'vulnerableUsersBySeverityQuery'; export const UserAlertsTable = React.memo(({ signalIndexName }: UserAlertsTableProps) => { - const { openUserInTimeline } = useNavigateToTimeline(); + const { openTimelineWithFilters } = useNavigateToTimeline(); + + const openUserInTimeline = useCallback( + ({ userName, severity }: { userName: string; severity?: string }) => { + const userNameFilter = { field: 'user.name', value: userName }; + const severityFilter = severity + ? { field: 'kibana.alert.severity', value: severity } + : undefined; + + openTimelineWithFilters( + severityFilter ? [[userNameFilter, severityFilter]] : [[userNameFilter]] + ); + }, + [openTimelineWithFilters] + ); const { toggleStatus, setToggleStatus } = useQueryToggle( DETECTION_RESPONSE_USER_SEVERITY_QUERY_ID ); diff --git a/x-pack/plugins/security_solution/public/overview/components/entity_analytics/risk_score/columns.tsx b/x-pack/plugins/security_solution/public/overview/components/entity_analytics/risk_score/columns.tsx index a19168b5e864b..e9fd68dabd4d2 100644 --- a/x-pack/plugins/security_solution/public/overview/components/entity_analytics/risk_score/columns.tsx +++ b/x-pack/plugins/security_solution/public/overview/components/entity_analytics/risk_score/columns.tsx @@ -27,7 +27,7 @@ type HostRiskScoreColumns = Array void + openEntityInTimeline: (entityName: string, oldestAlertTimestamp?: string) => void ): HostRiskScoreColumns => [ { field: riskEntity === RiskScoreEntity.host ? 'host.name' : 'user.name', @@ -94,7 +94,12 @@ export const getRiskScoreColumns = ( openEntityInTimeline(get('host.name', risk) ?? get('user.name', risk))} + onClick={() => + openEntityInTimeline( + get('host.name', risk) ?? get('user.name', risk), + risk.oldestAlertTimestamp + ) + } > diff --git a/x-pack/plugins/security_solution/public/overview/components/entity_analytics/risk_score/index.tsx b/x-pack/plugins/security_solution/public/overview/components/entity_analytics/risk_score/index.tsx index 13899e88f38f9..40306e24fb423 100644 --- a/x-pack/plugins/security_solution/public/overview/components/entity_analytics/risk_score/index.tsx +++ b/x-pack/plugins/security_solution/public/overview/components/entity_analytics/risk_score/index.tsx @@ -41,6 +41,7 @@ import { Panel } from '../../../../common/components/panel'; import * as commonI18n from '../common/translations'; import { usersActions } from '../../../../users/store'; import { useNavigateToTimeline } from '../../detection_response/hooks/use_navigate_to_timeline'; +import type { TimeRange } from '../../../../common/store/inputs/model'; const HOST_RISK_TABLE_QUERY_ID = 'hostRiskDashboardTable'; const HOST_RISK_KPI_QUERY_ID = 'headerHostRiskScoreKpiQuery'; @@ -91,17 +92,27 @@ const EntityAnalyticsRiskScoresComponent = ({ riskEntity }: { riskEntity: RiskSc [dispatch, riskEntity] ); - const { openHostInTimeline, openUserInTimeline } = useNavigateToTimeline(); + const { openTimelineWithFilters } = useNavigateToTimeline(); const openEntityInTimeline = useCallback( - (entityName: string) => { - if (riskEntity === RiskScoreEntity.host) { - openHostInTimeline({ hostName: entityName }); - } else if (riskEntity === RiskScoreEntity.user) { - openUserInTimeline({ userName: entityName }); - } + (entityName: string, oldestAlertTimestamp?: string) => { + const timeRange: TimeRange | undefined = oldestAlertTimestamp + ? { + kind: 'relative', + from: oldestAlertTimestamp ?? '', + fromStr: oldestAlertTimestamp ?? '', + to: new Date().toISOString(), + toStr: 'now', + } + : undefined; + + const filter = { + field: riskEntity === RiskScoreEntity.host ? 'host.name' : 'user.name', + value: entityName, + }; + openTimelineWithFilters([[filter]], timeRange); }, - [riskEntity, openHostInTimeline, openUserInTimeline] + [riskEntity, openTimelineWithFilters] ); const { toggleStatus, setToggleStatus } = useQueryToggle(entity.tableQueryId); diff --git a/x-pack/plugins/security_solution/public/timelines/components/timeline/properties/use_create_timeline.tsx b/x-pack/plugins/security_solution/public/timelines/components/timeline/properties/use_create_timeline.tsx index 7c83007858ae0..f3d5b61e91292 100644 --- a/x-pack/plugins/security_solution/public/timelines/components/timeline/properties/use_create_timeline.tsx +++ b/x-pack/plugins/security_solution/public/timelines/components/timeline/properties/use_create_timeline.tsx @@ -20,11 +20,13 @@ import { inputsActions, inputsSelectors } from '../../../../common/store/inputs' import { sourcererActions, sourcererSelectors } from '../../../../common/store/sourcerer'; import { SourcererScopeName } from '../../../../common/store/sourcerer/model'; import { appActions } from '../../../../common/store/app'; +import type { TimeRange } from '../../../../common/store/inputs/model'; interface Props { timelineId?: string; timelineType: TimelineTypeLiteral; closeGearMenu?: () => void; + timeRange?: TimeRange; } export const useCreateTimeline = ({ timelineId, timelineType, closeGearMenu }: Props) => { @@ -35,8 +37,11 @@ export const useCreateTimeline = ({ timelineId, timelineType, closeGearMenu }: P const { timelineFullScreen, setTimelineFullScreen } = useTimelineFullScreen(); const globalTimeRange = useDeepEqualSelector(inputsSelectors.globalTimeRangeSelector); + const createTimeline = useCallback( - ({ id, show }) => { + ({ id, show, timeRange: timeRangeParam }) => { + const timerange = timeRangeParam ?? globalTimeRange; + if (id === TimelineId.active && timelineFullScreen) { setTimelineFullScreen(false); } @@ -66,17 +71,22 @@ export const useCreateTimeline = ({ timelineId, timelineType, closeGearMenu }: P ); dispatch(inputsActions.addLinkTo([InputsModelId.global, InputsModelId.timeline])); dispatch(appActions.addNotes({ notes: [] })); - if (globalTimeRange.kind === 'absolute') { + + if (timeRangeParam) { + dispatch(inputsActions.removeLinkTo([InputsModelId.timeline, InputsModelId.global])); + } + + if (timerange.kind === 'absolute') { dispatch( inputsActions.setAbsoluteRangeDatePicker({ - ...globalTimeRange, + ...timerange, id: InputsModelId.timeline, }) ); - } else if (globalTimeRange.kind === 'relative') { + } else if (timerange.kind === 'relative') { dispatch( inputsActions.setRelativeRangeDatePicker({ - ...globalTimeRange, + ...timerange, id: InputsModelId.timeline, }) ); @@ -93,16 +103,23 @@ export const useCreateTimeline = ({ timelineId, timelineType, closeGearMenu }: P ] ); - const handleCreateNewTimeline = useCallback(() => { - createTimeline({ id: timelineId, show: true, timelineType }); - if (typeof closeGearMenu === 'function') { - closeGearMenu(); - } - }, [createTimeline, timelineId, timelineType, closeGearMenu]); + const handleCreateNewTimeline = useCallback( + (options?: CreateNewTimelineOptions) => { + createTimeline({ id: timelineId, show: true, timelineType, timeRange: options?.timeRange }); + if (typeof closeGearMenu === 'function') { + closeGearMenu(); + } + }, + [createTimeline, timelineId, timelineType, closeGearMenu] + ); return handleCreateNewTimeline; }; +interface CreateNewTimelineOptions { + timeRange?: TimeRange; +} + export const useCreateTimelineButton = ({ timelineId, timelineType, closeGearMenu }: Props) => { const handleCreateNewTimeline = useCreateTimeline({ timelineId, @@ -126,7 +143,7 @@ export const useCreateTimelineButton = ({ timelineId, timelineType, closeGearMen }) => { const buttonProps = { iconType, - onClick: handleCreateNewTimeline, + onClick: () => handleCreateNewTimeline(), fill, }; const dataTestSubjPrefix = diff --git a/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/risk_score/all/index.test.ts b/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/risk_score/all/index.test.ts index 58b2a55bc1594..b114b283d624a 100644 --- a/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/risk_score/all/index.test.ts +++ b/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/risk_score/all/index.test.ts @@ -42,7 +42,7 @@ export const mockSearchStrategyResponse: IEsSearchResponse = { _source: { '@timestamp': '1234567899', host: { - name: 'testUsermame', + name: 'testUsername', risk: { rule_risks: [], calculated_level: RiskSeverity.high, @@ -121,8 +121,11 @@ describe('buildRiskScoreQuery search strategy', () => { alertsByEntity: { buckets: [ { - key: 'testUsermame', + key: 'testUsername', doc_count: alertsCunt, + oldestAlertTimestamp: { + value_as_string: '12345566', + }, }, ], }, @@ -133,4 +136,35 @@ describe('buildRiskScoreQuery search strategy', () => { expect(get('data[0].alertsCount', result)).toBe(alertsCunt); }); + + test('should enhance data with alerts oldest timestamp', async () => { + const oldestAlertTimestamp = 'oldestTimestamp_test'; + searchMock.mockReturnValue({ + aggregations: { + oldestAlertTimestamp: { + value_as_string: oldestAlertTimestamp, + }, + }, + }); + + searchMock.mockReturnValue({ + aggregations: { + alertsByEntity: { + buckets: [ + { + key: 'testUsername', + doc_count: 1, + oldestAlertTimestamp: { + value_as_string: oldestAlertTimestamp, + }, + }, + ], + }, + }, + }); + + const result = await riskScore.parse(mockOptions, mockSearchStrategyResponse, mockDeps); + + expect(get('data[0].oldestAlertTimestamp', result)).toBe(oldestAlertTimestamp); + }); }); diff --git a/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/risk_score/all/index.ts b/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/risk_score/all/index.ts index 5e46ac2b4f440..96bcb5c426d1a 100644 --- a/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/risk_score/all/index.ts +++ b/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/risk_score/all/index.ts @@ -9,6 +9,7 @@ import type { IEsSearchResponse, SearchRequest } from '@kbn/data-plugin/common'; import { get, getOr } from 'lodash/fp'; import type { IRuleDataClient } from '@kbn/rule-registry-plugin/server'; +import type { AggregationsMinAggregate } from '@elastic/elasticsearch/lib/api/types'; import type { SecuritySolutionFactory } from '../../types'; import type { RiskScoreRequestOptions, @@ -65,6 +66,10 @@ export const riskScore: SecuritySolutionFactory< }, }; +export type EnhancedDataBucket = { + oldestAlertTimestamp: AggregationsMinAggregate; +} & BucketItem; + async function enhanceData( data: Array, names: string[], @@ -74,21 +79,25 @@ async function enhanceData( ): Promise> { const ruleDataReader = ruleDataClient?.getReader({ namespace: spaceId }); const query = getAlertsQueryForEntity(names, nameField); - const response = await ruleDataReader?.search(query); - const buckets: BucketItem[] = getOr([], 'aggregations.alertsByEntity.buckets', response); + const buckets: EnhancedDataBucket[] = getOr([], 'aggregations.alertsByEntity.buckets', response); - const alertsCountByEntityName: Record = buckets.reduce( - (acc, { key, doc_count: count }) => ({ + const enhancedAlertsDataByEntityName: Record< + string, + { count: number; oldestAlertTimestamp: string } + > = buckets.reduce( + (acc, { key, doc_count: count, oldestAlertTimestamp }) => ({ ...acc, - [key]: count, + [key]: { count, oldestAlertTimestamp: oldestAlertTimestamp.value_as_string }, }), {} ); return data.map((risk) => ({ ...risk, - alertsCount: alertsCountByEntityName[get(nameField, risk)] ?? 0, + alertsCount: enhancedAlertsDataByEntityName[get(nameField, risk)]?.count ?? 0, + oldestAlertTimestamp: + enhancedAlertsDataByEntityName[get(nameField, risk)]?.oldestAlertTimestamp ?? 0, })); } @@ -107,6 +116,11 @@ const getAlertsQueryForEntity = (names: string[], nameField: string): SearchRequ terms: { field: nameField, }, + aggs: { + oldestAlertTimestamp: { + min: { field: '@timestamp' }, + }, + }, }, }, }); diff --git a/x-pack/test/security_solution_cypress/es_archives/risk_users/data.json b/x-pack/test/security_solution_cypress/es_archives/risk_users/data.json index dc182e631df99..b513f934aac6b 100644 --- a/x-pack/test/security_solution_cypress/es_archives/risk_users/data.json +++ b/x-pack/test/security_solution_cypress/es_archives/risk_users/data.json @@ -179,7 +179,7 @@ "id": "a4cf452c1e0375c3d4412cb550bd1783358468b3123314829d72c7df6fb74", "index": "ml_user_risk_score_latest_default", "source": { - "@timestamp": "2021-03-10T14:51:05.766Z", + "@timestamp": "2021-03-10T14:52:05.766Z", "user": { "name": "test", "risk": { From fdce0662f85a18643deaa5f3fa361e5c34f947bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20G=C3=B3mez?= Date: Mon, 31 Oct 2022 13:33:32 +0100 Subject: [PATCH 030/111] [Synthetics UI] Add pagination and date filtering to test runs table (#144029) Co-authored-by: Shahzad --- .../common/runtime_types/ping/ping.ts | 1 + .../hooks/use_monitor_pings.tsx | 61 ++++ .../monitor_summary/monitor_summary.tsx | 4 +- ..._ten_test_runs.tsx => test_runs_table.tsx} | 42 ++- .../state/monitor_details/actions.ts | 9 +- .../synthetics/state/monitor_details/api.ts | 21 +- .../synthetics/state/monitor_details/index.ts | 23 +- .../state/monitor_details/selectors.ts | 6 +- .../__mocks__/synthetics_store.mock.ts | 321 +++++++++--------- .../server/common/pings/query_pings.ts | 2 + .../server/routes/pings/get_pings.ts | 16 +- 11 files changed, 320 insertions(+), 186 deletions(-) create mode 100644 x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_details/hooks/use_monitor_pings.tsx rename x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_details/monitor_summary/{last_ten_test_runs.tsx => test_runs_table.tsx} (88%) diff --git a/x-pack/plugins/synthetics/common/runtime_types/ping/ping.ts b/x-pack/plugins/synthetics/common/runtime_types/ping/ping.ts index ebfe80c3a57e2..dc8ab97c5f187 100644 --- a/x-pack/plugins/synthetics/common/runtime_types/ping/ping.ts +++ b/x-pack/plugins/synthetics/common/runtime_types/ping/ping.ts @@ -289,6 +289,7 @@ export const GetPingsParamsType = t.intersection([ excludedLocations: t.string, index: t.number, size: t.number, + pageIndex: t.number, locations: t.string, monitorId: t.string, sort: t.string, diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_details/hooks/use_monitor_pings.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_details/hooks/use_monitor_pings.tsx new file mode 100644 index 0000000000000..f4095892b5ad2 --- /dev/null +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_details/hooks/use_monitor_pings.tsx @@ -0,0 +1,61 @@ +/* + * 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 { useEffect } from 'react'; +import { useDispatch, useSelector } from 'react-redux'; + +import { useSelectedMonitor } from './use_selected_monitor'; +import { useSelectedLocation } from './use_selected_location'; +import { getMonitorRecentPingsAction, selectMonitorPingsMetadata } from '../../../state'; + +interface UseMonitorPingsProps { + pageSize?: number; + pageIndex?: number; + from?: string; + to?: string; +} + +export const useMonitorPings = (props?: UseMonitorPingsProps) => { + const dispatch = useDispatch(); + + const { monitor } = useSelectedMonitor(); + const location = useSelectedLocation(); + + const monitorId = monitor?.id; + const locationLabel = location?.label; + + useEffect(() => { + if (monitorId && locationLabel) { + dispatch( + getMonitorRecentPingsAction.get({ + monitorId, + locationId: locationLabel, + size: props?.pageSize, + pageIndex: props?.pageIndex, + from: props?.from, + to: props?.to, + }) + ); + } + }, [ + dispatch, + monitorId, + locationLabel, + props?.pageSize, + props?.pageIndex, + props?.from, + props?.to, + ]); + + const { total, data: pings, loading } = useSelector(selectMonitorPingsMetadata); + + return { + loading, + total, + pings, + }; +}; diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_details/monitor_summary/monitor_summary.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_details/monitor_summary/monitor_summary.tsx index 4cdaa6bd49570..1b19d3ca5fdf7 100644 --- a/x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_details/monitor_summary/monitor_summary.tsx +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_details/monitor_summary/monitor_summary.tsx @@ -26,7 +26,7 @@ import { DurationPanel } from './duration_panel'; import { MonitorDetailsPanel } from './monitor_details_panel'; import { AvailabilitySparklines } from './availability_sparklines'; import { LastTestRun } from './last_test_run'; -import { LastTenTestRuns } from './last_ten_test_runs'; +import { TestRunsTable } from './test_runs_table'; import { MonitorErrorsCount } from './monitor_errors_count'; export const MonitorSummary = () => { @@ -107,7 +107,7 @@ export const MonitorSummary = () => {
- + ); }; diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_details/monitor_summary/last_ten_test_runs.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_details/monitor_summary/test_runs_table.tsx similarity index 88% rename from x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_details/monitor_summary/last_ten_test_runs.tsx rename to x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_details/monitor_summary/test_runs_table.tsx index eddf40739e55d..00ef508ed0d2c 100644 --- a/x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_details/monitor_summary/last_ten_test_runs.tsx +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_details/monitor_summary/test_runs_table.tsx @@ -31,27 +31,44 @@ import { import { useSyntheticsSettingsContext } from '../../../contexts/synthetics_settings_context'; import { sortPings } from '../../../utils/monitor_test_result/sort_pings'; -import { selectPingsLoading, selectMonitorRecentPings, selectPingsError } from '../../../state'; +import { selectPingsError } from '../../../state'; import { parseBadgeStatus, StatusBadge } from '../../common/monitor_test_result/status_badge'; import { isStepEnd } from '../../common/monitor_test_result/browser_steps_list'; import { JourneyStepScreenshotContainer } from '../../common/monitor_test_result/journey_step_screenshot_container'; import { useKibanaDateFormat } from '../../../../../hooks/use_kibana_date_format'; import { useSelectedMonitor } from '../hooks/use_selected_monitor'; +import { useMonitorPings } from '../hooks/use_monitor_pings'; import { useJourneySteps } from '../hooks/use_journey_steps'; type SortableField = 'timestamp' | 'monitor.status' | 'monitor.duration.us'; -export const LastTenTestRuns = () => { +interface TestRunsTableProps { + from: string; + to: string; + paginable?: boolean; +} + +export const TestRunsTable = ({ paginable = true, from, to }: TestRunsTableProps) => { const { basePath } = useSyntheticsSettingsContext(); + const [page, setPage] = useState({ index: 0, size: 10 }); const [sortField, setSortField] = useState('timestamp'); const [sortDirection, setSortDirection] = useState<'asc' | 'desc'>('desc'); - const pings = useSelector(selectMonitorRecentPings); + const { + pings, + total, + loading: pingsLoading, + } = useMonitorPings({ + from, + to, + pageSize: page.size, + pageIndex: page.index, + }); const sortedPings = useMemo(() => { return sortPings(pings, sortField, sortDirection); }, [pings, sortField, sortDirection]); - const pingsLoading = useSelector(selectPingsLoading); + const pingsError = useSelector(selectPingsError); const { monitor } = useSelectedMonitor(); @@ -64,7 +81,10 @@ export const LastTenTestRuns = () => { }, }; - const handleTableChange = ({ page, sort }: Criteria) => { + const handleTableChange = ({ page: newPage, sort }: Criteria) => { + if (newPage !== undefined) { + setPage(newPage); + } if (sort !== undefined) { setSortField(sort.field as SortableField); setSortDirection(sort.direction); @@ -125,7 +145,7 @@ export const LastTenTestRuns = () => { -

{pings?.length >= 10 ? LAST_10_TEST_RUNS : TEST_RUNS}

+

{paginable || pings?.length < 10 ? TEST_RUNS : LAST_10_TEST_RUNS}

@@ -162,6 +182,16 @@ export const LastTenTestRuns = () => { tableLayout={'auto'} sorting={sorting} onChange={handleTableChange} + pagination={ + paginable + ? { + pageIndex: page.index, + pageSize: page.size, + totalItemCount: total, + pageSizeOptions: [10, 20, 50], // TODO Confirm with Henry, + } + : undefined + } /> ); diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/state/monitor_details/actions.ts b/x-pack/plugins/synthetics/public/apps/synthetics/state/monitor_details/actions.ts index a80196275a759..31c5bdd2cbc9b 100644 --- a/x-pack/plugins/synthetics/public/apps/synthetics/state/monitor_details/actions.ts +++ b/x-pack/plugins/synthetics/public/apps/synthetics/state/monitor_details/actions.ts @@ -26,6 +26,13 @@ export const getMonitorAction = createAsyncAction< >('[MONITOR DETAILS] GET MONITOR'); export const getMonitorRecentPingsAction = createAsyncAction< - { monitorId: string; locationId: string }, + { + monitorId: string; + locationId: string; + size?: number; + pageIndex?: number; + from?: string; + to?: string; + }, PingsResponse >('[MONITOR DETAILS] GET RECENT PINGS'); diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/state/monitor_details/api.ts b/x-pack/plugins/synthetics/public/apps/synthetics/state/monitor_details/api.ts index 80713e587cefa..5c70db4b8f0a3 100644 --- a/x-pack/plugins/synthetics/public/apps/synthetics/state/monitor_details/api.ts +++ b/x-pack/plugins/synthetics/public/apps/synthetics/state/monitor_details/api.ts @@ -24,19 +24,32 @@ export interface QueryParams { export const fetchMonitorRecentPings = async ({ monitorId, locationId, + from, + to, + size = 10, + pageIndex = 0, }: { monitorId: string; locationId: string; + from?: string; + to?: string; + size?: number; + pageIndex?: number; }): Promise => { - const from = new Date(0).toISOString(); - const to = new Date().toISOString(); const locations = JSON.stringify([locationId]); const sort = 'desc'; - const size = 10; return await apiService.get( SYNTHETICS_API_URLS.PINGS, - { monitorId, from, to, locations, sort, size }, + { + monitorId, + from: from ?? new Date(0).toISOString(), + to: to ?? new Date().toISOString(), + locations, + sort, + size, + pageIndex, + }, PingsResponseType ); }; diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/state/monitor_details/index.ts b/x-pack/plugins/synthetics/public/apps/synthetics/state/monitor_details/index.ts index 1c9df0c866ad2..d068c7a2a421b 100644 --- a/x-pack/plugins/synthetics/public/apps/synthetics/state/monitor_details/index.ts +++ b/x-pack/plugins/synthetics/public/apps/synthetics/state/monitor_details/index.ts @@ -18,8 +18,11 @@ import { } from './actions'; export interface MonitorDetailsState { - pings: Ping[]; - loading: boolean; + pings: { + total: number; + data: Ping[]; + loading: boolean; + }; syntheticsMonitorLoading: boolean; syntheticsMonitor: EncryptedSyntheticsSavedMonitor | null; error: IHttpSerializedFetchError | null; @@ -27,8 +30,7 @@ export interface MonitorDetailsState { } const initialState: MonitorDetailsState = { - pings: [], - loading: false, + pings: { total: 0, data: [], loading: false }, syntheticsMonitor: null, syntheticsMonitorLoading: false, error: null, @@ -42,16 +44,19 @@ export const monitorDetailsReducer = createReducer(initialState, (builder) => { }) .addCase(getMonitorRecentPingsAction.get, (state, action) => { - state.loading = true; - state.pings = state.pings.filter((ping) => !checkIsStalePing(action.payload.monitorId, ping)); + state.pings.loading = true; + state.pings.data = state.pings.data.filter( + (ping) => !checkIsStalePing(action.payload.monitorId, ping) + ); }) .addCase(getMonitorRecentPingsAction.success, (state, action) => { - state.pings = action.payload.pings; - state.loading = false; + state.pings.total = action.payload.total; + state.pings.data = action.payload.pings; + state.pings.loading = false; }) .addCase(getMonitorRecentPingsAction.fail, (state, action) => { state.error = action.payload; - state.loading = false; + state.pings.loading = false; }) .addCase(getMonitorAction.get, (state) => { diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/state/monitor_details/selectors.ts b/x-pack/plugins/synthetics/public/apps/synthetics/state/monitor_details/selectors.ts index 5c6ba75e8cd6d..d54bcaba95123 100644 --- a/x-pack/plugins/synthetics/public/apps/synthetics/state/monitor_details/selectors.ts +++ b/x-pack/plugins/synthetics/public/apps/synthetics/state/monitor_details/selectors.ts @@ -17,10 +17,10 @@ export const selectSelectedLocationId = createSelector( (state) => state.selectedLocationId ); -export const selectLatestPing = createSelector(getState, (state) => state.pings?.[0] ?? null); +export const selectLatestPing = createSelector(getState, (state) => state.pings.data[0] ?? null); -export const selectPingsLoading = createSelector(getState, (state) => state.loading); +export const selectPingsLoading = createSelector(getState, (state) => state.pings.loading); -export const selectMonitorRecentPings = createSelector(getState, (state) => state.pings); +export const selectMonitorPingsMetadata = createSelector(getState, (state) => state.pings); export const selectPingsError = createSelector(getState, (state) => state.error); diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/utils/testing/__mocks__/synthetics_store.mock.ts b/x-pack/plugins/synthetics/public/apps/synthetics/utils/testing/__mocks__/synthetics_store.mock.ts index 6031707c1fd19..5c23f46dfe894 100644 --- a/x-pack/plugins/synthetics/public/apps/synthetics/utils/testing/__mocks__/synthetics_store.mock.ts +++ b/x-pack/plugins/synthetics/public/apps/synthetics/utils/testing/__mocks__/synthetics_store.mock.ts @@ -132,171 +132,174 @@ function getBrowserJourneyMockSlice() { function getMonitorDetailsMockSlice() { return { - pings: [ - { - summary: { up: 1, down: 0 }, - agent: { - name: 'cron-b010e1cc9518984e-27644714-4pd4h', - id: 'f8721d90-5aec-4815-a6f1-f4d4a6fb7482', - type: 'heartbeat', - ephemeral_id: 'd6a60494-5e52-418f-922b-8e90f0b4013c', - version: '8.3.0', - }, - synthetics: { - journey: { name: 'inline', id: 'inline', tags: null }, - type: 'heartbeat/summary', - }, - monitor: { - duration: { us: 269722 }, - origin: SourceType.UI, - name: 'One pixel monitor', - check_group: '051aba1c-0b74-11ed-9f0e-ba4e6fa109d5', - id: '4afd3980-0b72-11ed-9c10-b57918ea89d6', - timespan: { lt: '2022-07-24T17:24:06.094Z', gte: '2022-07-24T17:14:06.094Z' }, - type: DataStream.BROWSER, - status: 'up', - }, - url: { - scheme: 'data', - domain: '', - full: 'data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==', - }, - observer: { - geo: { - continent_name: 'North America', - city_name: 'Iowa', - country_iso_code: 'US', - name: 'North America - US Central', - location: '41.8780, 93.0977', + pings: { + total: 3, + data: [ + { + summary: { up: 1, down: 0 }, + agent: { + name: 'cron-b010e1cc9518984e-27644714-4pd4h', + id: 'f8721d90-5aec-4815-a6f1-f4d4a6fb7482', + type: 'heartbeat', + ephemeral_id: 'd6a60494-5e52-418f-922b-8e90f0b4013c', + version: '8.3.0', }, - hostname: 'cron-b010e1cc9518984e-27644714-4pd4h', - ip: ['10.1.11.162'], - mac: ['ba:4e:6f:a1:09:d5'], - }, - '@timestamp': '2022-07-24T17:14:05.079Z', - ecs: { version: '8.0.0' }, - config_id: '4afd3980-0b72-11ed-9c10-b57918ea89d6', - data_stream: { namespace: 'default', type: 'synthetics', dataset: 'browser' }, - 'event.type': 'journey/end', - event: { - agent_id_status: 'auth_metadata_missing', - ingested: '2022-07-24T17:14:07Z', - type: 'heartbeat/summary', - dataset: 'browser', - }, - timestamp: '2022-07-24T17:14:05.079Z', - docId: 'AkYzMYIBqL6WCtugsFck', - }, - { - summary: { up: 1, down: 0 }, - agent: { - name: 'cron-b010e1cc9518984e-27644704-zs98t', - id: 'a9620214-591d-48e7-9e5d-10b7a9fb1a03', - type: 'heartbeat', - ephemeral_id: 'c5110885-81b4-4e9a-8747-690d19fbd225', - version: '8.3.0', - }, - synthetics: { - journey: { name: 'inline', id: 'inline', tags: null }, - type: 'heartbeat/summary', - }, - monitor: { - duration: { us: 227326 }, - origin: SourceType.UI, - name: 'One pixel monitor', - id: '4afd3980-0b72-11ed-9c10-b57918ea89d6', - check_group: '9eb87e53-0b72-11ed-b34f-aa618b4334ae', - timespan: { lt: '2022-07-24T17:14:05.020Z', gte: '2022-07-24T17:04:05.020Z' }, - type: DataStream.BROWSER, - status: 'up', - }, - url: { - scheme: 'data', - domain: '', - full: 'data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==', - }, - observer: { - geo: { - continent_name: 'North America', - city_name: 'Iowa', - country_iso_code: 'US', - name: 'North America - US Central', - location: '41.8780, 93.0977', + synthetics: { + journey: { name: 'inline', id: 'inline', tags: null }, + type: 'heartbeat/summary', }, - hostname: 'cron-b010e1cc9518984e-27644704-zs98t', - ip: ['10.1.9.133'], - mac: ['aa:61:8b:43:34:ae'], - }, - '@timestamp': '2022-07-24T17:04:03.769Z', - ecs: { version: '8.0.0' }, - config_id: '4afd3980-0b72-11ed-9c10-b57918ea89d6', - data_stream: { namespace: 'default', type: 'synthetics', dataset: 'browser' }, - 'event.type': 'journey/end', - event: { - agent_id_status: 'auth_metadata_missing', - ingested: '2022-07-24T17:04:06Z', - type: 'heartbeat/summary', - dataset: 'browser', - }, - timestamp: '2022-07-24T17:04:03.769Z', - docId: 'mkYqMYIBqL6WCtughFUq', - }, - { - summary: { up: 1, down: 0 }, - agent: { - name: 'job-b010e1cc9518984e-dkw5k', - id: 'e3a4e3a8-bdd1-44fe-86f5-e451b80f80c5', - type: 'heartbeat', - ephemeral_id: 'f41a13ab-a85d-4614-89c0-8dbad6a32868', - version: '8.3.0', - }, - synthetics: { - journey: { name: 'inline', id: 'inline', tags: null }, - type: 'heartbeat/summary', - }, - monitor: { - duration: { us: 207700 }, - origin: SourceType.UI, - name: 'One pixel monitor', - timespan: { lt: '2022-07-24T17:11:49.702Z', gte: '2022-07-24T17:01:49.702Z' }, - check_group: '4e00ac5a-0b72-11ed-a97e-5203642c687d', - id: '4afd3980-0b72-11ed-9c10-b57918ea89d6', - type: DataStream.BROWSER, - status: 'up', - }, - url: { - scheme: 'data', - domain: '', - full: 'data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==', + monitor: { + duration: { us: 269722 }, + origin: SourceType.UI, + name: 'One pixel monitor', + check_group: '051aba1c-0b74-11ed-9f0e-ba4e6fa109d5', + id: '4afd3980-0b72-11ed-9c10-b57918ea89d6', + timespan: { lt: '2022-07-24T17:24:06.094Z', gte: '2022-07-24T17:14:06.094Z' }, + type: DataStream.BROWSER, + status: 'up', + }, + url: { + scheme: 'data', + domain: '', + full: 'data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==', + }, + observer: { + geo: { + continent_name: 'North America', + city_name: 'Iowa', + country_iso_code: 'US', + name: 'North America - US Central', + location: '41.8780, 93.0977', + }, + hostname: 'cron-b010e1cc9518984e-27644714-4pd4h', + ip: ['10.1.11.162'], + mac: ['ba:4e:6f:a1:09:d5'], + }, + '@timestamp': '2022-07-24T17:14:05.079Z', + ecs: { version: '8.0.0' }, + config_id: '4afd3980-0b72-11ed-9c10-b57918ea89d6', + data_stream: { namespace: 'default', type: 'synthetics', dataset: 'browser' }, + 'event.type': 'journey/end', + event: { + agent_id_status: 'auth_metadata_missing', + ingested: '2022-07-24T17:14:07Z', + type: 'heartbeat/summary', + dataset: 'browser', + }, + timestamp: '2022-07-24T17:14:05.079Z', + docId: 'AkYzMYIBqL6WCtugsFck', }, - observer: { - geo: { - continent_name: 'North America', - city_name: 'Iowa', - country_iso_code: 'US', - name: 'North America - US Central', - location: '41.8780, 93.0977', + { + summary: { up: 1, down: 0 }, + agent: { + name: 'cron-b010e1cc9518984e-27644704-zs98t', + id: 'a9620214-591d-48e7-9e5d-10b7a9fb1a03', + type: 'heartbeat', + ephemeral_id: 'c5110885-81b4-4e9a-8747-690d19fbd225', + version: '8.3.0', + }, + synthetics: { + journey: { name: 'inline', id: 'inline', tags: null }, + type: 'heartbeat/summary', + }, + monitor: { + duration: { us: 227326 }, + origin: SourceType.UI, + name: 'One pixel monitor', + id: '4afd3980-0b72-11ed-9c10-b57918ea89d6', + check_group: '9eb87e53-0b72-11ed-b34f-aa618b4334ae', + timespan: { lt: '2022-07-24T17:14:05.020Z', gte: '2022-07-24T17:04:05.020Z' }, + type: DataStream.BROWSER, + status: 'up', + }, + url: { + scheme: 'data', + domain: '', + full: 'data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==', + }, + observer: { + geo: { + continent_name: 'North America', + city_name: 'Iowa', + country_iso_code: 'US', + name: 'North America - US Central', + location: '41.8780, 93.0977', + }, + hostname: 'cron-b010e1cc9518984e-27644704-zs98t', + ip: ['10.1.9.133'], + mac: ['aa:61:8b:43:34:ae'], + }, + '@timestamp': '2022-07-24T17:04:03.769Z', + ecs: { version: '8.0.0' }, + config_id: '4afd3980-0b72-11ed-9c10-b57918ea89d6', + data_stream: { namespace: 'default', type: 'synthetics', dataset: 'browser' }, + 'event.type': 'journey/end', + event: { + agent_id_status: 'auth_metadata_missing', + ingested: '2022-07-24T17:04:06Z', + type: 'heartbeat/summary', + dataset: 'browser', }, - hostname: 'job-b010e1cc9518984e-dkw5k', - ip: ['10.1.9.132'], - mac: ['52:03:64:2c:68:7d'], + timestamp: '2022-07-24T17:04:03.769Z', + docId: 'mkYqMYIBqL6WCtughFUq', }, - '@timestamp': '2022-07-24T17:01:48.326Z', - ecs: { version: '8.0.0' }, - config_id: '4afd3980-0b72-11ed-9c10-b57918ea89d6', - data_stream: { namespace: 'default', type: 'synthetics', dataset: 'browser' }, - 'event.type': 'journey/end', - event: { - agent_id_status: 'auth_metadata_missing', - ingested: '2022-07-24T17:01:50Z', - type: 'heartbeat/summary', - dataset: 'browser', + { + summary: { up: 1, down: 0 }, + agent: { + name: 'job-b010e1cc9518984e-dkw5k', + id: 'e3a4e3a8-bdd1-44fe-86f5-e451b80f80c5', + type: 'heartbeat', + ephemeral_id: 'f41a13ab-a85d-4614-89c0-8dbad6a32868', + version: '8.3.0', + }, + synthetics: { + journey: { name: 'inline', id: 'inline', tags: null }, + type: 'heartbeat/summary', + }, + monitor: { + duration: { us: 207700 }, + origin: SourceType.UI, + name: 'One pixel monitor', + timespan: { lt: '2022-07-24T17:11:49.702Z', gte: '2022-07-24T17:01:49.702Z' }, + check_group: '4e00ac5a-0b72-11ed-a97e-5203642c687d', + id: '4afd3980-0b72-11ed-9c10-b57918ea89d6', + type: DataStream.BROWSER, + status: 'up', + }, + url: { + scheme: 'data', + domain: '', + full: 'data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==', + }, + observer: { + geo: { + continent_name: 'North America', + city_name: 'Iowa', + country_iso_code: 'US', + name: 'North America - US Central', + location: '41.8780, 93.0977', + }, + hostname: 'job-b010e1cc9518984e-dkw5k', + ip: ['10.1.9.132'], + mac: ['52:03:64:2c:68:7d'], + }, + '@timestamp': '2022-07-24T17:01:48.326Z', + ecs: { version: '8.0.0' }, + config_id: '4afd3980-0b72-11ed-9c10-b57918ea89d6', + data_stream: { namespace: 'default', type: 'synthetics', dataset: 'browser' }, + 'event.type': 'journey/end', + event: { + agent_id_status: 'auth_metadata_missing', + ingested: '2022-07-24T17:01:50Z', + type: 'heartbeat/summary', + dataset: 'browser', + }, + timestamp: '2022-07-24T17:01:48.326Z', + docId: 'kUYoMYIBqL6WCtugc1We', }, - timestamp: '2022-07-24T17:01:48.326Z', - docId: 'kUYoMYIBqL6WCtugc1We', - }, - ], - loading: false, + ], + loading: false, + }, syntheticsMonitor: { id: '4afd3980-0b72-11ed-9c10-b57918ea89d6', type: DataStream.BROWSER, diff --git a/x-pack/plugins/synthetics/server/common/pings/query_pings.ts b/x-pack/plugins/synthetics/server/common/pings/query_pings.ts index b6d1b42923928..872336767aec8 100644 --- a/x-pack/plugins/synthetics/server/common/pings/query_pings.ts +++ b/x-pack/plugins/synthetics/server/common/pings/query_pings.ts @@ -68,6 +68,7 @@ export const queryPings: UMElasticsearchQueryFn = status, sort, size: sizeParam, + pageIndex, locations, excludedLocations, }) => { @@ -75,6 +76,7 @@ export const queryPings: UMElasticsearchQueryFn = const searchBody = { size, + from: pageIndex !== undefined ? pageIndex * size : 0, ...(index ? { from: index * size } : {}), query: { bool: { diff --git a/x-pack/plugins/synthetics/server/routes/pings/get_pings.ts b/x-pack/plugins/synthetics/server/routes/pings/get_pings.ts index e94c928caed53..def868e404db5 100644 --- a/x-pack/plugins/synthetics/server/routes/pings/get_pings.ts +++ b/x-pack/plugins/synthetics/server/routes/pings/get_pings.ts @@ -23,13 +23,24 @@ export const syntheticsGetPingsRoute: UMRestApiRouteFactory = (libs: UMServerLib monitorId: schema.maybe(schema.string()), index: schema.maybe(schema.number()), size: schema.maybe(schema.number()), + pageIndex: schema.maybe(schema.number()), sort: schema.maybe(schema.string()), status: schema.maybe(schema.string()), }), }, handler: async ({ uptimeEsClient, request, response }): Promise => { - const { from, to, index, monitorId, status, sort, size, locations, excludedLocations } = - request.query; + const { + from, + to, + index, + monitorId, + status, + sort, + size, + pageIndex, + locations, + excludedLocations, + } = request.query; return await queryPings({ uptimeEsClient, @@ -39,6 +50,7 @@ export const syntheticsGetPingsRoute: UMRestApiRouteFactory = (libs: UMServerLib status, sort, size, + pageIndex, locations: locations ? JSON.parse(locations) : [], excludedLocations, }); From 1ed2ec8e57ab5da100988b00c697e2d6d6d615e9 Mon Sep 17 00:00:00 2001 From: Jean-Louis Leysens Date: Mon, 31 Oct 2022 14:46:52 +0100 Subject: [PATCH 031/111] [Files] move to src (#144044) --- .github/CODEOWNERS | 4 +- .i18nrc.json | 6 +- docs/developer/plugin-list.asciidoc | 8 +- .../files_example/.i18nrc.json | 0 .../files_example/README.md | 0 .../files_example/common/index.ts | 5 +- .../files_example/kibana.json | 0 .../files_example/public/application.tsx | 5 +- .../files_example/public/components/app.tsx | 5 +- .../public/components/confirm_button.tsx | 5 +- .../public/components/details_flyout.tsx | 6 +- .../public/components/file_picker.tsx | 5 +- .../files_example/public/components/modal.tsx | 5 +- .../files_example/public/imports.ts | 5 +- .../files_example/public/index.ts | 5 +- .../files_example/public/plugin.ts | 5 +- .../files_example/public/types.ts | 5 +- .../files_example/server/index.ts | 5 +- .../files_example/server/plugin.ts | 5 +- .../files_example/server/types.ts | 5 +- examples/files_example/tsconfig.json | 20 +++++ src/dev/storybook/aliases.ts | 2 +- {x-pack => src}/plugins/files/.i18nrc.json | 0 .../plugins/files/.storybook/main.ts | 5 +- .../plugins/files/.storybook/manager.ts | 7 +- {x-pack => src}/plugins/files/README.md | 0 .../plugins/files/common/api_routes.ts | 5 +- .../plugins/files/common/constants.ts | 5 +- .../files/common/file_kinds_registry/index.ts | 6 +- {x-pack => src}/plugins/files/common/index.ts | 5 +- {x-pack => src}/plugins/files/common/types.ts | 6 +- .../plugins/files/docs/tutorial.mdx | 2 +- src/plugins/files/jest.config.js | 16 ++++ .../plugins/files/jest.integration.config.js | 7 +- {x-pack => src}/plugins/files/kibana.json | 0 .../files/public/components/context.tsx | 5 +- .../components/clear_filter_button.tsx | 6 +- .../file_picker/components/error_content.tsx | 5 +- .../file_picker/components/file_card.scss | 0 .../file_picker/components/file_card.tsx | 5 +- .../file_picker/components/file_grid.tsx | 5 +- .../file_picker/components/modal_footer.tsx | 5 +- .../file_picker/components/pagination.tsx | 5 +- .../file_picker/components/search_field.tsx | 5 +- .../file_picker/components/select_button.tsx | 5 +- .../file_picker/components/title.tsx | 6 +- .../file_picker/components/upload_files.tsx | 5 +- .../public/components/file_picker/context.tsx | 5 +- .../components/file_picker/file_picker.scss | 0 .../file_picker/file_picker.stories.tsx | 6 +- .../file_picker/file_picker.test.tsx | 6 +- .../components/file_picker/file_picker.tsx | 5 +- .../file_picker/file_picker_state.test.ts | 5 +- .../file_picker/file_picker_state.ts | 6 +- .../components/file_picker/i18n_texts.ts | 50 ++++++++++++ .../public/components/file_picker/index.tsx | 5 +- .../components/image/components/blurhash.tsx | 6 +- .../components/image/components/img.tsx | 6 +- .../components/image/components/index.ts | 5 +- .../image/image.constants.stories.tsx | 5 +- .../public/components/image/image.stories.tsx | 6 +- .../files/public/components/image/image.tsx | 6 +- .../files/public/components/image/index.ts | 5 +- .../files/public/components/image/styles.ts | 5 +- .../components/image/use_viewport_observer.ts | 5 +- .../image/viewport_observer.test.ts | 6 +- .../components/image/viewport_observer.ts | 6 +- .../plugins/files/public/components/index.ts | 5 +- .../files/public/components/stories_shared.ts | 5 +- .../upload_file/components/cancel_button.tsx | 5 +- .../upload_file/components/clear_button.tsx | 5 +- .../upload_file/components/control_button.tsx | 5 +- .../upload_file/components/index.ts | 5 +- .../upload_file/components/retry_button.tsx | 6 +- .../upload_file/components/upload_button.tsx | 5 +- .../public/components/upload_file/context.ts | 6 +- .../components/upload_file/i18n_texts.ts | 42 ++++++++++ .../public/components/upload_file/index.tsx | 5 +- .../upload_file/upload_file.component.tsx | 5 +- .../upload_file/upload_file.stories.tsx | 6 +- .../upload_file/upload_file.test.tsx | 5 +- .../components/upload_file/upload_file.tsx | 5 +- .../upload_file/upload_state.test.ts | 5 +- .../components/upload_file/upload_state.ts | 5 +- .../components/upload_file/util/index.ts | 5 +- .../upload_file/util/parse_file_name.test.ts | 5 +- .../upload_file/util/parse_file_name.ts | 5 +- .../upload_file/util/simple_state_subject.ts | 5 +- .../public/components/use_behavior_subject.ts | 5 +- .../components/util/image_metadata.test.ts | 6 +- .../public/components/util/image_metadata.ts | 5 +- .../files/public/components/util/index.ts | 5 +- .../public/files_client/files_client.test.ts | 5 +- .../files/public/files_client/files_client.ts | 5 +- .../files/public/files_client/index.ts | 5 +- {x-pack => src}/plugins/files/public/index.ts | 5 +- {x-pack => src}/plugins/files/public/mocks.ts | 5 +- .../plugins/files/public/plugin.ts | 5 +- {x-pack => src}/plugins/files/public/types.ts | 5 +- .../plugins/files/server/audit_events.ts | 5 +- .../blob_storage_service/adapters/README.md | 0 .../es/content_stream/content_stream.test.ts | 5 +- .../es/content_stream/content_stream.ts | 5 +- .../adapters/es/content_stream/index.ts | 5 +- .../adapters/es/es.test.ts | 6 +- .../blob_storage_service/adapters/es/es.ts | 5 +- .../blob_storage_service/adapters/es/index.ts | 5 +- .../adapters/es/integration_tests/es.test.ts | 5 +- .../adapters/es/mappings.ts | 5 +- .../blob_storage_service/adapters/index.ts | 5 +- .../blob_storage_service.ts | 6 +- .../server/blob_storage_service/index.ts | 5 +- .../server/blob_storage_service/types.ts | 5 +- .../plugins/files/server/feature.ts | 9 ++- .../plugins/files/server/file/errors.ts | 5 +- .../plugins/files/server/file/file.test.ts | 6 +- .../plugins/files/server/file/file.ts | 5 +- .../server/file/file_attributes_reducer.ts | 6 +- .../plugins/files/server/file/index.ts | 5 +- .../plugins/files/server/file/to_json.ts | 5 +- .../file_client/create_es_file_client.ts | 5 +- .../files/server/file_client/file_client.ts | 6 +- .../file_metadata_client/adapters/es_index.ts | 5 +- .../file_metadata_client/adapters/index.ts | 5 +- .../adapters/query_filters.ts | 6 +- .../adapters/saved_objects.ts | 5 +- .../file_metadata_client.ts | 5 +- .../file_client/file_metadata_client/index.ts | 5 +- .../plugins/files/server/file_client/index.ts | 5 +- .../integration_tests/es_file_client.test.ts | 6 +- .../file_client/stream_transforms/index.ts | 5 +- .../max_byte_size_transform/errors.ts | 5 +- .../max_byte_size_transform/index.ts | 5 +- .../max_byte_size_transform.test.ts | 5 +- .../max_byte_size_transform.ts | 5 +- .../plugins/files/server/file_client/types.ts | 5 +- .../plugins/files/server/file_client/utils.ts | 5 +- .../files/server/file_service/errors.ts | 5 +- .../server/file_service/file_action_types.ts | 5 +- .../files/server/file_service/file_service.ts | 5 +- .../file_service/file_service_factory.ts | 5 +- .../files/server/file_service/index.ts | 5 +- .../file_service/internal_file_service.ts | 5 +- .../files/server/file_share_service/errors.ts | 5 +- .../generate_share_token.test.ts | 5 +- .../generate_share_token.ts | 5 +- .../files/server/file_share_service/index.ts | 5 +- .../internal_file_share_service.ts | 6 +- .../files/server/file_share_service/types.ts | 5 +- {x-pack => src}/plugins/files/server/index.ts | 5 +- .../files/server/integration_tests/README.md | 0 .../integration_tests/file_service.test.ts | 9 +-- {x-pack => src}/plugins/files/server/mocks.ts | 6 +- .../plugins/files/server/plugin.ts | 5 +- .../plugins/files/server/routes/api_routes.ts | 5 +- .../files/server/routes/common.test.ts | 5 +- .../plugins/files/server/routes/common.ts | 6 +- .../files/server/routes/common_schemas.ts | 5 +- .../files/server/routes/file_kind/create.ts | 5 +- .../files/server/routes/file_kind/delete.ts | 5 +- .../files/server/routes/file_kind/download.ts | 5 +- .../server/routes/file_kind/enhance_router.ts | 5 +- .../server/routes/file_kind/get_by_id.ts | 5 +- .../files/server/routes/file_kind/helpers.ts | 5 +- .../files/server/routes/file_kind/index.ts | 6 +- .../integration_tests/file_kind_http.test.ts | 5 +- .../files/server/routes/file_kind/list.ts | 6 +- .../server/routes/file_kind/share/get.ts | 6 +- .../server/routes/file_kind/share/list.ts | 6 +- .../server/routes/file_kind/share/share.ts | 6 +- .../server/routes/file_kind/share/unshare.ts | 6 +- .../files/server/routes/file_kind/types.ts | 5 +- .../files/server/routes/file_kind/update.ts | 5 +- .../server/routes/file_kind/upload.test.ts | 5 +- .../files/server/routes/file_kind/upload.ts | 5 +- .../plugins/files/server/routes/find.ts | 6 +- .../plugins/files/server/routes/index.ts | 5 +- .../routes/integration_tests/routes.test.ts | 5 +- .../plugins/files/server/routes/metrics.ts | 6 +- .../server/routes/public_facing/download.ts | 6 +- .../plugins/files/server/routes/test_utils.ts | 5 +- .../plugins/files/server/routes/types.ts | 5 +- .../files/server/saved_objects/file.ts | 5 +- .../files/server/saved_objects/file_share.ts | 5 +- .../files/server/saved_objects/index.ts | 5 +- .../plugins/files/server/test_utils/index.ts | 5 +- .../setup_integration_environment.ts | 12 +-- {x-pack => src}/plugins/files/server/types.ts | 6 +- .../plugins/files/server/usage/counters.ts | 5 +- .../plugins/files/server/usage/index.ts | 5 +- .../usage/integration_tests/usage.test.ts | 5 +- .../server/usage/register_usage_collector.ts | 6 +- .../plugins/files/server/usage/schema.ts | 5 +- {x-pack => src}/plugins/files/tsconfig.json | 6 +- src/plugins/telemetry/schema/oss_plugins.json | 77 +++++++++++++++++++ tsconfig.base.json | 8 +- x-pack/.i18nrc.json | 1 - x-pack/examples/files_example/tsconfig.json | 22 ------ x-pack/plugins/files/jest.config.js | 15 ---- .../components/file_picker/i18n_texts.ts | 49 ------------ .../components/upload_file/i18n_texts.ts | 41 ---------- .../services/endpoint_response_actions.ts | 2 +- .../plugins/security_solution/tsconfig.json | 4 +- .../schema/xpack_plugins.json | 77 ------------------- 204 files changed, 792 insertions(+), 588 deletions(-) rename {x-pack/examples => examples}/files_example/.i18nrc.json (100%) rename {x-pack/examples => examples}/files_example/README.md (100%) rename {x-pack/examples => examples}/files_example/common/index.ts (78%) rename {x-pack/examples => examples}/files_example/kibana.json (100%) rename {x-pack/examples => examples}/files_example/public/application.tsx (84%) rename {x-pack/examples => examples}/files_example/public/components/app.tsx (96%) rename {x-pack/examples => examples}/files_example/public/components/confirm_button.tsx (85%) rename {x-pack/examples => examples}/files_example/public/components/details_flyout.tsx (94%) rename {x-pack/examples => examples}/files_example/public/components/file_picker.tsx (79%) rename {x-pack/examples => examples}/files_example/public/components/modal.tsx (84%) rename {x-pack/examples => examples}/files_example/public/imports.ts (69%) rename {x-pack/examples => examples}/files_example/public/index.ts (66%) rename {x-pack/examples => examples}/files_example/public/plugin.ts (90%) rename {x-pack/examples => examples}/files_example/public/types.ts (79%) rename {x-pack/examples => examples}/files_example/server/index.ts (72%) rename {x-pack/examples => examples}/files_example/server/plugin.ts (83%) rename {x-pack/examples => examples}/files_example/server/types.ts (66%) create mode 100644 examples/files_example/tsconfig.json rename {x-pack => src}/plugins/files/.i18nrc.json (100%) rename {x-pack => src}/plugins/files/.storybook/main.ts (64%) rename {x-pack => src}/plugins/files/.storybook/manager.ts (63%) rename {x-pack => src}/plugins/files/README.md (100%) rename {x-pack => src}/plugins/files/common/api_routes.ts (93%) rename {x-pack => src}/plugins/files/common/constants.ts (79%) rename {x-pack => src}/plugins/files/common/file_kinds_registry/index.ts (89%) rename {x-pack => src}/plugins/files/common/index.ts (77%) rename {x-pack => src}/plugins/files/common/types.ts (98%) rename {x-pack => src}/plugins/files/docs/tutorial.mdx (99%) create mode 100644 src/plugins/files/jest.config.js rename {x-pack => src}/plugins/files/jest.integration.config.js (52%) rename {x-pack => src}/plugins/files/kibana.json (100%) rename {x-pack => src}/plugins/files/public/components/context.tsx (86%) rename {x-pack => src}/plugins/files/public/components/file_picker/components/clear_filter_button.tsx (85%) rename {x-pack => src}/plugins/files/public/components/file_picker/components/error_content.tsx (84%) rename {x-pack => src}/plugins/files/public/components/file_picker/components/file_card.scss (100%) rename {x-pack => src}/plugins/files/public/components/file_picker/components/file_card.tsx (94%) rename {x-pack => src}/plugins/files/public/components/file_picker/components/file_grid.tsx (86%) rename {x-pack => src}/plugins/files/public/components/file_picker/components/modal_footer.tsx (91%) rename {x-pack => src}/plugins/files/public/components/file_picker/components/pagination.tsx (84%) rename {x-pack => src}/plugins/files/public/components/file_picker/components/search_field.tsx (85%) rename {x-pack => src}/plugins/files/public/components/file_picker/components/select_button.tsx (85%) rename {x-pack => src}/plugins/files/public/components/file_picker/components/title.tsx (69%) rename {x-pack => src}/plugins/files/public/components/file_picker/components/upload_files.tsx (86%) rename {x-pack => src}/plugins/files/public/components/file_picker/context.tsx (88%) rename {x-pack => src}/plugins/files/public/components/file_picker/file_picker.scss (100%) rename {x-pack => src}/plugins/files/public/components/file_picker/file_picker.stories.tsx (96%) rename {x-pack => src}/plugins/files/public/components/file_picker/file_picker.test.tsx (95%) rename {x-pack => src}/plugins/files/public/components/file_picker/file_picker.tsx (94%) rename {x-pack => src}/plugins/files/public/components/file_picker/file_picker_state.test.ts (97%) rename {x-pack => src}/plugins/files/public/components/file_picker/file_picker_state.ts (97%) create mode 100644 src/plugins/files/public/components/file_picker/i18n_texts.ts rename {x-pack => src}/plugins/files/public/components/file_picker/index.tsx (75%) rename {x-pack => src}/plugins/files/public/components/image/components/blurhash.tsx (89%) rename {x-pack => src}/plugins/files/public/components/image/components/img.tsx (89%) rename {x-pack => src}/plugins/files/public/components/image/components/index.ts (59%) rename {x-pack => src}/plugins/files/public/components/image/image.constants.stories.tsx (97%) rename {x-pack => src}/plugins/files/public/components/image/image.stories.tsx (92%) rename {x-pack => src}/plugins/files/public/components/image/image.tsx (93%) rename {x-pack => src}/plugins/files/public/components/image/index.ts (57%) rename {x-pack => src}/plugins/files/public/components/image/styles.ts (72%) rename {x-pack => src}/plugins/files/public/components/image/use_viewport_observer.ts (85%) rename {x-pack => src}/plugins/files/public/components/image/viewport_observer.test.ts (92%) rename {x-pack => src}/plugins/files/public/components/image/viewport_observer.ts (89%) rename {x-pack => src}/plugins/files/public/components/index.ts (67%) rename {x-pack => src}/plugins/files/public/components/stories_shared.ts (77%) rename {x-pack => src}/plugins/files/public/components/upload_file/components/cancel_button.tsx (86%) rename {x-pack => src}/plugins/files/public/components/upload_file/components/clear_button.tsx (76%) rename {x-pack => src}/plugins/files/public/components/upload_file/components/control_button.tsx (86%) rename {x-pack => src}/plugins/files/public/components/upload_file/components/index.ts (58%) rename {x-pack => src}/plugins/files/public/components/upload_file/components/retry_button.tsx (81%) rename {x-pack => src}/plugins/files/public/components/upload_file/components/upload_button.tsx (87%) rename {x-pack => src}/plugins/files/public/components/upload_file/context.ts (66%) create mode 100644 src/plugins/files/public/components/upload_file/i18n_texts.ts rename {x-pack => src}/plugins/files/public/components/upload_file/index.tsx (76%) rename {x-pack => src}/plugins/files/public/components/upload_file/upload_file.component.tsx (95%) rename {x-pack => src}/plugins/files/public/components/upload_file/upload_file.stories.tsx (95%) rename {x-pack => src}/plugins/files/public/components/upload_file/upload_file.test.tsx (97%) rename {x-pack => src}/plugins/files/public/components/upload_file/upload_file.tsx (95%) rename {x-pack => src}/plugins/files/public/components/upload_file/upload_state.test.ts (97%) rename {x-pack => src}/plugins/files/public/components/upload_file/upload_state.ts (97%) rename {x-pack => src}/plugins/files/public/components/upload_file/util/index.ts (61%) rename {x-pack => src}/plugins/files/public/components/upload_file/util/parse_file_name.test.ts (82%) rename {x-pack => src}/plugins/files/public/components/upload_file/util/parse_file_name.ts (71%) rename {x-pack => src}/plugins/files/public/components/upload_file/util/simple_state_subject.ts (78%) rename {x-pack => src}/plugins/files/public/components/use_behavior_subject.ts (66%) rename {x-pack => src}/plugins/files/public/components/util/image_metadata.test.ts (86%) rename {x-pack => src}/plugins/files/public/components/util/image_metadata.ts (92%) rename {x-pack => src}/plugins/files/public/components/util/index.ts (61%) rename {x-pack => src}/plugins/files/public/files_client/files_client.test.ts (89%) rename {x-pack => src}/plugins/files/public/files_client/files_client.ts (96%) rename {x-pack => src}/plugins/files/public/files_client/index.ts (53%) rename {x-pack => src}/plugins/files/public/index.ts (75%) rename {x-pack => src}/plugins/files/public/mocks.ts (80%) rename {x-pack => src}/plugins/files/public/plugin.ts (91%) rename {x-pack => src}/plugins/files/public/types.ts (96%) rename {x-pack => src}/plugins/files/server/audit_events.ts (79%) rename {x-pack => src}/plugins/files/server/blob_storage_service/adapters/README.md (100%) rename {x-pack => src}/plugins/files/server/blob_storage_service/adapters/es/content_stream/content_stream.test.ts (98%) rename {x-pack => src}/plugins/files/server/blob_storage_service/adapters/es/content_stream/content_stream.ts (98%) rename {x-pack => src}/plugins/files/server/blob_storage_service/adapters/es/content_stream/index.ts (69%) rename {x-pack => src}/plugins/files/server/blob_storage_service/adapters/es/es.test.ts (91%) rename {x-pack => src}/plugins/files/server/blob_storage_service/adapters/es/es.ts (96%) rename {x-pack => src}/plugins/files/server/blob_storage_service/adapters/es/index.ts (56%) rename {x-pack => src}/plugins/files/server/blob_storage_service/adapters/es/integration_tests/es.test.ts (96%) rename {x-pack => src}/plugins/files/server/blob_storage_service/adapters/es/mappings.ts (86%) rename {x-pack => src}/plugins/files/server/blob_storage_service/adapters/index.ts (56%) rename {x-pack => src}/plugins/files/server/blob_storage_service/blob_storage_service.ts (88%) rename {x-pack => src}/plugins/files/server/blob_storage_service/index.ts (65%) rename {x-pack => src}/plugins/files/server/blob_storage_service/types.ts (90%) rename {x-pack => src}/plugins/files/server/feature.ts (77%) rename {x-pack => src}/plugins/files/server/file/errors.ts (76%) rename {x-pack => src}/plugins/files/server/file/file.test.ts (95%) rename {x-pack => src}/plugins/files/server/file/file.ts (96%) rename {x-pack => src}/plugins/files/server/file/file_attributes_reducer.ts (86%) rename {x-pack => src}/plugins/files/server/file/index.ts (69%) rename {x-pack => src}/plugins/files/server/file/to_json.ts (86%) rename {x-pack => src}/plugins/files/server/file_client/create_es_file_client.ts (90%) rename {x-pack => src}/plugins/files/server/file_client/file_client.ts (97%) rename {x-pack => src}/plugins/files/server/file_client/file_metadata_client/adapters/es_index.ts (95%) rename {x-pack => src}/plugins/files/server/file_client/file_metadata_client/adapters/index.ts (60%) rename {x-pack => src}/plugins/files/server/file_client/file_metadata_client/adapters/query_filters.ts (91%) rename {x-pack => src}/plugins/files/server/file_client/file_metadata_client/adapters/saved_objects.ts (95%) rename {x-pack => src}/plugins/files/server/file_client/file_metadata_client/file_metadata_client.ts (93%) rename {x-pack => src}/plugins/files/server/file_client/file_metadata_client/index.ts (72%) rename {x-pack => src}/plugins/files/server/file_client/index.ts (81%) rename {x-pack => src}/plugins/files/server/file_client/integration_tests/es_file_client.test.ts (96%) rename {x-pack => src}/plugins/files/server/file_client/stream_transforms/index.ts (55%) rename {x-pack => src}/plugins/files/server/file_client/stream_transforms/max_byte_size_transform/errors.ts (65%) rename {x-pack => src}/plugins/files/server/file_client/stream_transforms/max_byte_size_transform/index.ts (55%) rename {x-pack => src}/plugins/files/server/file_client/stream_transforms/max_byte_size_transform/max_byte_size_transform.test.ts (87%) rename {x-pack => src}/plugins/files/server/file_client/stream_transforms/max_byte_size_transform/max_byte_size_transform.ts (79%) rename {x-pack => src}/plugins/files/server/file_client/types.ts (94%) rename {x-pack => src}/plugins/files/server/file_client/utils.ts (71%) rename {x-pack => src}/plugins/files/server/file_service/errors.ts (61%) rename {x-pack => src}/plugins/files/server/file_service/file_action_types.ts (91%) rename {x-pack => src}/plugins/files/server/file_service/file_service.ts (92%) rename {x-pack => src}/plugins/files/server/file_service/file_service_factory.ts (96%) rename {x-pack => src}/plugins/files/server/file_service/index.ts (71%) rename {x-pack => src}/plugins/files/server/file_service/internal_file_service.ts (95%) rename {x-pack => src}/plugins/files/server/file_share_service/errors.ts (74%) rename {x-pack => src}/plugins/files/server/file_share_service/generate_share_token.test.ts (70%) rename {x-pack => src}/plugins/files/server/file_share_service/generate_share_token.ts (82%) rename {x-pack => src}/plugins/files/server/file_share_service/index.ts (74%) rename {x-pack => src}/plugins/files/server/file_share_service/internal_file_share_service.ts (97%) rename {x-pack => src}/plugins/files/server/file_share_service/types.ts (85%) rename {x-pack => src}/plugins/files/server/index.ts (85%) rename {x-pack => src}/plugins/files/server/integration_tests/README.md (100%) rename {x-pack => src}/plugins/files/server/integration_tests/file_service.test.ts (98%) rename {x-pack => src}/plugins/files/server/mocks.ts (92%) rename {x-pack => src}/plugins/files/server/plugin.ts (94%) rename {x-pack => src}/plugins/files/server/routes/api_routes.ts (89%) rename {x-pack => src}/plugins/files/server/routes/common.test.ts (91%) rename {x-pack => src}/plugins/files/server/routes/common.ts (87%) rename {x-pack => src}/plugins/files/server/routes/common_schemas.ts (87%) rename {x-pack => src}/plugins/files/server/routes/file_kind/create.ts (89%) rename {x-pack => src}/plugins/files/server/routes/file_kind/delete.ts (89%) rename {x-pack => src}/plugins/files/server/routes/file_kind/download.ts (90%) rename {x-pack => src}/plugins/files/server/routes/file_kind/enhance_router.ts (89%) rename {x-pack => src}/plugins/files/server/routes/file_kind/get_by_id.ts (88%) rename {x-pack => src}/plugins/files/server/routes/file_kind/helpers.ts (85%) rename {x-pack => src}/plugins/files/server/routes/file_kind/index.ts (86%) rename {x-pack => src}/plugins/files/server/routes/file_kind/integration_tests/file_kind_http.test.ts (97%) rename {x-pack => src}/plugins/files/server/routes/file_kind/list.ts (91%) rename {x-pack => src}/plugins/files/server/routes/file_kind/share/get.ts (89%) rename {x-pack => src}/plugins/files/server/routes/file_kind/share/list.ts (88%) rename {x-pack => src}/plugins/files/server/routes/file_kind/share/share.ts (92%) rename {x-pack => src}/plugins/files/server/routes/file_kind/share/unshare.ts (88%) rename {x-pack => src}/plugins/files/server/routes/file_kind/types.ts (81%) rename {x-pack => src}/plugins/files/server/routes/file_kind/update.ts (89%) rename {x-pack => src}/plugins/files/server/routes/file_kind/upload.test.ts (93%) rename {x-pack => src}/plugins/files/server/routes/file_kind/upload.ts (94%) rename {x-pack => src}/plugins/files/server/routes/find.ts (92%) rename {x-pack => src}/plugins/files/server/routes/index.ts (74%) rename {x-pack => src}/plugins/files/server/routes/integration_tests/routes.test.ts (97%) rename {x-pack => src}/plugins/files/server/routes/metrics.ts (84%) rename {x-pack => src}/plugins/files/server/routes/public_facing/download.ts (91%) rename {x-pack => src}/plugins/files/server/routes/test_utils.ts (82%) rename {x-pack => src}/plugins/files/server/routes/types.ts (86%) rename {x-pack => src}/plugins/files/server/saved_objects/file.ts (85%) rename {x-pack => src}/plugins/files/server/saved_objects/file_share.ts (84%) rename {x-pack => src}/plugins/files/server/saved_objects/index.ts (67%) rename {x-pack => src}/plugins/files/server/test_utils/index.ts (63%) rename {x-pack => src}/plugins/files/server/test_utils/setup_integration_environment.ts (92%) rename {x-pack => src}/plugins/files/server/types.ts (85%) rename {x-pack => src}/plugins/files/server/usage/counters.ts (84%) rename {x-pack => src}/plugins/files/server/usage/index.ts (62%) rename {x-pack => src}/plugins/files/server/usage/integration_tests/usage.test.ts (91%) rename {x-pack => src}/plugins/files/server/usage/register_usage_collector.ts (85%) rename {x-pack => src}/plugins/files/server/usage/schema.ts (89%) rename {x-pack => src}/plugins/files/tsconfig.json (62%) delete mode 100644 x-pack/examples/files_example/tsconfig.json delete mode 100644 x-pack/plugins/files/jest.config.js delete mode 100644 x-pack/plugins/files/public/components/file_picker/i18n_texts.ts delete mode 100644 x-pack/plugins/files/public/components/upload_file/i18n_texts.ts diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 4dc48e657542b..f536168edb6e8 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -84,8 +84,8 @@ /x-pack/plugins/embeddable_enhanced/ @elastic/kibana-app-services /x-pack/plugins/runtime_fields @elastic/kibana-app-services /src/plugins/dashboard/public/application/embeddable/viewport/print_media @elastic/kibana-app-services -x-pack/plugins/files @elastic/kibana-app-services -x-pack/examples/files_example @elastic/kibana-app-services +/src/plugins/files @elastic/kibana-app-services +/examples/files_example @elastic/kibana-app-services /x-pack/test/search_sessions_integration/ @elastic/kibana-app-services /test/plugin_functional/test_suites/panel_actions @elastic/kibana-app-services /test/plugin_functional/test_suites/data_plugin @elastic/kibana-app-services diff --git a/.i18nrc.json b/.i18nrc.json index 874c4ecbcc1ba..2894905ae8f88 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -9,10 +9,7 @@ "charts": "src/plugins/charts", "console": "src/plugins/console", "contentManagement": "packages/content-management", - "core": [ - "src/core", - "packages/core" - ], + "core": ["src/core", "packages/core"], "customIntegrations": "src/plugins/custom_integrations", "dashboard": "src/plugins/dashboard", "controls": "src/plugins/controls", @@ -41,6 +38,7 @@ "expressionTagcloud": "src/plugins/chart_expressions/expression_tagcloud", "eventAnnotation": "src/plugins/event_annotation", "fieldFormats": "src/plugins/field_formats", + "files": "src/plugins/files", "flot": "packages/kbn-flot-charts/lib", "guidedOnboarding": "src/plugins/guided_onboarding", "guidedOnboardingPackage": "packages/kbn-guided-onboarding", diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index feb87de90c2e6..32d807e016ebb 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -176,6 +176,10 @@ for use in their own application. |Index pattern fields formatters +|{kib-repo}blob/{branch}/src/plugins/files/README.md[files] +|File upload, download, sharing, and serving over HTTP implementation in Kibana. + + |{kib-repo}blob/{branch}/src/plugins/guided_onboarding/README.md[guidedOnboarding] |This plugin contains the code for the Guided Onboarding project. Guided onboarding consists of guides for Solutions (Enterprise Search, Observability, Security) that can be completed as a checklist of steps. The guides help users to ingest their data and to navigate to the correct Solutions pages. @@ -491,10 +495,6 @@ activities. |The features plugin enhance Kibana with a per-feature privilege system. -|{kib-repo}blob/{branch}/x-pack/plugins/files/README.md[files] -|File upload, download, sharing, and serving over HTTP implementation in Kibana. - - |{kib-repo}blob/{branch}/x-pack/plugins/file_upload[fileUpload] |WARNING: Missing README. diff --git a/x-pack/examples/files_example/.i18nrc.json b/examples/files_example/.i18nrc.json similarity index 100% rename from x-pack/examples/files_example/.i18nrc.json rename to examples/files_example/.i18nrc.json diff --git a/x-pack/examples/files_example/README.md b/examples/files_example/README.md similarity index 100% rename from x-pack/examples/files_example/README.md rename to examples/files_example/README.md diff --git a/x-pack/examples/files_example/common/index.ts b/examples/files_example/common/index.ts similarity index 78% rename from x-pack/examples/files_example/common/index.ts rename to examples/files_example/common/index.ts index aeb807e30aadf..566edb64b4240 100644 --- a/x-pack/examples/files_example/common/index.ts +++ b/examples/files_example/common/index.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { FileKind, FileImageMetadata } from '@kbn/files-plugin/common'; diff --git a/x-pack/examples/files_example/kibana.json b/examples/files_example/kibana.json similarity index 100% rename from x-pack/examples/files_example/kibana.json rename to examples/files_example/kibana.json diff --git a/x-pack/examples/files_example/public/application.tsx b/examples/files_example/public/application.tsx similarity index 84% rename from x-pack/examples/files_example/public/application.tsx rename to examples/files_example/public/application.tsx index 0bad6975c6da0..0795ec3a77420 100644 --- a/x-pack/examples/files_example/public/application.tsx +++ b/examples/files_example/public/application.tsx @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 React from 'react'; diff --git a/x-pack/examples/files_example/public/components/app.tsx b/examples/files_example/public/components/app.tsx similarity index 96% rename from x-pack/examples/files_example/public/components/app.tsx rename to examples/files_example/public/components/app.tsx index 9d10e33a8b23d..1f77ca9566cbc 100644 --- a/x-pack/examples/files_example/public/components/app.tsx +++ b/examples/files_example/public/components/app.tsx @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 React, { useState } from 'react'; diff --git a/x-pack/examples/files_example/public/components/confirm_button.tsx b/examples/files_example/public/components/confirm_button.tsx similarity index 85% rename from x-pack/examples/files_example/public/components/confirm_button.tsx rename to examples/files_example/public/components/confirm_button.tsx index 05e64243bb374..b60f84b3369d0 100644 --- a/x-pack/examples/files_example/public/components/confirm_button.tsx +++ b/examples/files_example/public/components/confirm_button.tsx @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 React, { useState, FunctionComponent } from 'react'; diff --git a/x-pack/examples/files_example/public/components/details_flyout.tsx b/examples/files_example/public/components/details_flyout.tsx similarity index 94% rename from x-pack/examples/files_example/public/components/details_flyout.tsx rename to examples/files_example/public/components/details_flyout.tsx index a417752d1a666..0303095a11a09 100644 --- a/x-pack/examples/files_example/public/components/details_flyout.tsx +++ b/examples/files_example/public/components/details_flyout.tsx @@ -1,9 +1,11 @@ /* * 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. + * 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 moment from 'moment'; import type { FunctionComponent } from 'react'; import React from 'react'; diff --git a/x-pack/examples/files_example/public/components/file_picker.tsx b/examples/files_example/public/components/file_picker.tsx similarity index 79% rename from x-pack/examples/files_example/public/components/file_picker.tsx rename to examples/files_example/public/components/file_picker.tsx index bc30ab92654d8..72a2057755742 100644 --- a/x-pack/examples/files_example/public/components/file_picker.tsx +++ b/examples/files_example/public/components/file_picker.tsx @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 React from 'react'; diff --git a/x-pack/examples/files_example/public/components/modal.tsx b/examples/files_example/public/components/modal.tsx similarity index 84% rename from x-pack/examples/files_example/public/components/modal.tsx rename to examples/files_example/public/components/modal.tsx index d8289257617cf..a314e5bd8ea4e 100644 --- a/x-pack/examples/files_example/public/components/modal.tsx +++ b/examples/files_example/public/components/modal.tsx @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { FunctionComponent } from 'react'; diff --git a/x-pack/examples/files_example/public/imports.ts b/examples/files_example/public/imports.ts similarity index 69% rename from x-pack/examples/files_example/public/imports.ts rename to examples/files_example/public/imports.ts index 82835ba213615..f21a30a390e60 100644 --- a/x-pack/examples/files_example/public/imports.ts +++ b/examples/files_example/public/imports.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { diff --git a/x-pack/examples/files_example/public/index.ts b/examples/files_example/public/index.ts similarity index 66% rename from x-pack/examples/files_example/public/index.ts rename to examples/files_example/public/index.ts index 15e472c4f4cc6..e3128e6064517 100644 --- a/x-pack/examples/files_example/public/index.ts +++ b/examples/files_example/public/index.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { FilesExamplePlugin } from './plugin'; diff --git a/x-pack/examples/files_example/public/plugin.ts b/examples/files_example/public/plugin.ts similarity index 90% rename from x-pack/examples/files_example/public/plugin.ts rename to examples/files_example/public/plugin.ts index 4906b59d4d6fc..ba0b1dfd54378 100644 --- a/x-pack/examples/files_example/public/plugin.ts +++ b/examples/files_example/public/plugin.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { AppNavLinkStatus } from '@kbn/core-application-browser'; diff --git a/x-pack/examples/files_example/public/types.ts b/examples/files_example/public/types.ts similarity index 79% rename from x-pack/examples/files_example/public/types.ts rename to examples/files_example/public/types.ts index 0ac384055aaf3..4ca9eb148872f 100644 --- a/x-pack/examples/files_example/public/types.ts +++ b/examples/files_example/public/types.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { MyImageMetadata } from '../common'; diff --git a/x-pack/examples/files_example/server/index.ts b/examples/files_example/server/index.ts similarity index 72% rename from x-pack/examples/files_example/server/index.ts rename to examples/files_example/server/index.ts index 5b6de87308e5e..d7edefbe1876d 100644 --- a/x-pack/examples/files_example/server/index.ts +++ b/examples/files_example/server/index.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { PluginInitializerContext } from '@kbn/core/server'; diff --git a/x-pack/examples/files_example/server/plugin.ts b/examples/files_example/server/plugin.ts similarity index 83% rename from x-pack/examples/files_example/server/plugin.ts rename to examples/files_example/server/plugin.ts index 2b077d6f3e88a..5ab9571a64207 100644 --- a/x-pack/examples/files_example/server/plugin.ts +++ b/examples/files_example/server/plugin.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { PluginInitializerContext, CoreSetup, CoreStart, Plugin, Logger } from '@kbn/core/server'; diff --git a/x-pack/examples/files_example/server/types.ts b/examples/files_example/server/types.ts similarity index 66% rename from x-pack/examples/files_example/server/types.ts rename to examples/files_example/server/types.ts index b1cef58620ca5..7f12e7fd94a1c 100644 --- a/x-pack/examples/files_example/server/types.ts +++ b/examples/files_example/server/types.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { FilesSetup, FilesStart } from '@kbn/files-plugin/server'; diff --git a/examples/files_example/tsconfig.json b/examples/files_example/tsconfig.json new file mode 100644 index 0000000000000..2ce0ddb8f7d66 --- /dev/null +++ b/examples/files_example/tsconfig.json @@ -0,0 +1,20 @@ +{ + "extends": "../../tsconfig.json", + "compilerOptions": { + "outDir": "./target/types" + }, + "include": [ + "index.ts", + "common/**/*", + "public/**/*.ts", + "public/**/*.tsx", + "server/**/*.ts", + "../../typings/**/*" + ], + "exclude": [], + "kbn_references": [ + { "path": "../../src/core/tsconfig.json" }, + { "path": "../developer_examples/tsconfig.json" }, + { "path": "../../src/plugins/files/tsconfig.json" }, + ] +} diff --git a/src/dev/storybook/aliases.ts b/src/dev/storybook/aliases.ts index 85999d75b8997..7ad2c16224d62 100644 --- a/src/dev/storybook/aliases.ts +++ b/src/dev/storybook/aliases.ts @@ -33,7 +33,7 @@ export const storybookAliases = { expression_reveal_image: 'src/plugins/expression_reveal_image/.storybook', expression_shape: 'src/plugins/expression_shape/.storybook', expression_tagcloud: 'src/plugins/chart_expressions/expression_tagcloud/.storybook', - files: 'x-pack/plugins/files/.storybook', + files: 'src/plugins/files/.storybook', fleet: 'x-pack/plugins/fleet/.storybook', home: 'src/plugins/home/.storybook', infra: 'x-pack/plugins/infra/.storybook', diff --git a/x-pack/plugins/files/.i18nrc.json b/src/plugins/files/.i18nrc.json similarity index 100% rename from x-pack/plugins/files/.i18nrc.json rename to src/plugins/files/.i18nrc.json diff --git a/x-pack/plugins/files/.storybook/main.ts b/src/plugins/files/.storybook/main.ts similarity index 64% rename from x-pack/plugins/files/.storybook/main.ts rename to src/plugins/files/.storybook/main.ts index e82ec6c47bbec..f9d5b3ea3eddc 100644 --- a/x-pack/plugins/files/.storybook/main.ts +++ b/src/plugins/files/.storybook/main.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { defaultConfig } from '@kbn/storybook'; diff --git a/x-pack/plugins/files/.storybook/manager.ts b/src/plugins/files/.storybook/manager.ts similarity index 63% rename from x-pack/plugins/files/.storybook/manager.ts rename to src/plugins/files/.storybook/manager.ts index 167046920a796..d49eea1784792 100644 --- a/x-pack/plugins/files/.storybook/manager.ts +++ b/src/plugins/files/.storybook/manager.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { addons } from '@storybook/addons'; @@ -13,7 +14,7 @@ addons.setConfig({ theme: create({ base: 'light', brandTitle: 'Kibana React Storybook', - brandUrl: 'https://github.com/elastic/kibana/tree/main/x-pack/plugins/files', + brandUrl: 'https://github.com/elastic/kibana/tree/main/src/plugins/files', }), showPanel: true.valueOf, selectedPanel: PANEL_ID, diff --git a/x-pack/plugins/files/README.md b/src/plugins/files/README.md similarity index 100% rename from x-pack/plugins/files/README.md rename to src/plugins/files/README.md diff --git a/x-pack/plugins/files/common/api_routes.ts b/src/plugins/files/common/api_routes.ts similarity index 93% rename from x-pack/plugins/files/common/api_routes.ts rename to src/plugins/files/common/api_routes.ts index 2f522e7c77150..7d95d24be9ec0 100644 --- a/x-pack/plugins/files/common/api_routes.ts +++ b/src/plugins/files/common/api_routes.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { TypeOf, Type } from '@kbn/config-schema'; diff --git a/x-pack/plugins/files/common/constants.ts b/src/plugins/files/common/constants.ts similarity index 79% rename from x-pack/plugins/files/common/constants.ts rename to src/plugins/files/common/constants.ts index 665945c1c65c1..19f0736eeaf47 100644 --- a/x-pack/plugins/files/common/constants.ts +++ b/src/plugins/files/common/constants.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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. */ /** diff --git a/x-pack/plugins/files/common/file_kinds_registry/index.ts b/src/plugins/files/common/file_kinds_registry/index.ts similarity index 89% rename from x-pack/plugins/files/common/file_kinds_registry/index.ts rename to src/plugins/files/common/file_kinds_registry/index.ts index 5df6744546c03..afed906bd0aa3 100644 --- a/x-pack/plugins/files/common/file_kinds_registry/index.ts +++ b/src/plugins/files/common/file_kinds_registry/index.ts @@ -1,9 +1,11 @@ /* * 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. + * 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 { createGetterSetter } from '@kbn/kibana-utils-plugin/common'; import assert from 'assert'; import { FileKind } from '..'; diff --git a/x-pack/plugins/files/common/index.ts b/src/plugins/files/common/index.ts similarity index 77% rename from x-pack/plugins/files/common/index.ts rename to src/plugins/files/common/index.ts index be06c5708ce06..ece05d00a8bd3 100755 --- a/x-pack/plugins/files/common/index.ts +++ b/src/plugins/files/common/index.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { FILE_SO_TYPE, PLUGIN_ID, PLUGIN_NAME, ES_FIXED_SIZE_INDEX_BLOB_STORE } from './constants'; diff --git a/x-pack/plugins/files/common/types.ts b/src/plugins/files/common/types.ts similarity index 98% rename from x-pack/plugins/files/common/types.ts rename to src/plugins/files/common/types.ts index 53f97962597a8..48b05076fe02d 100644 --- a/x-pack/plugins/files/common/types.ts +++ b/src/plugins/files/common/types.ts @@ -1,9 +1,11 @@ /* * 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. + * 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 { SavedObject } from '@kbn/core/server'; import type { Observable } from 'rxjs'; import type { Readable } from 'stream'; diff --git a/x-pack/plugins/files/docs/tutorial.mdx b/src/plugins/files/docs/tutorial.mdx similarity index 99% rename from x-pack/plugins/files/docs/tutorial.mdx rename to src/plugins/files/docs/tutorial.mdx index b3bfed56dd865..deef2de26045d 100644 --- a/x-pack/plugins/files/docs/tutorial.mdx +++ b/src/plugins/files/docs/tutorial.mdx @@ -53,7 +53,7 @@ Consumers of the file service are able to decide what metadata they want to asso ### How to set up files for your plugin -All setup examples are based on the [`filesExample` plugin](https://github.com/elastic/kibana/blob/d431e87f7ff43833bff085e5bb5b2ab603bfa05d/x-pack/examples/files_example/README.md). +All setup examples are based on the [`filesExample` plugin](https://github.com/elastic/kibana/blob/d431e87f7ff43833bff085e5bb5b2ab603bfa05d/examples/files_example/README.md). First add the `files` plugin as a required dependency in your `kibana.json`: diff --git a/src/plugins/files/jest.config.js b/src/plugins/files/jest.config.js new file mode 100644 index 0000000000000..96e2f529c9ace --- /dev/null +++ b/src/plugins/files/jest.config.js @@ -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 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: ['/src/plugins/files'], + coverageDirectory: '/target/kibana-coverage/jest/src/plugins/files', + coverageReporters: ['text', 'html'], + collectCoverageFrom: ['/src/plugins/files/{common,public,server}/**/*.{js,ts,tsx}'], +}; diff --git a/x-pack/plugins/files/jest.integration.config.js b/src/plugins/files/jest.integration.config.js similarity index 52% rename from x-pack/plugins/files/jest.integration.config.js rename to src/plugins/files/jest.integration.config.js index fbcfd8ed04b67..f0fa0a8ccef45 100644 --- a/x-pack/plugins/files/jest.integration.config.js +++ b/src/plugins/files/jest.integration.config.js @@ -1,12 +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. + * 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_integration', rootDir: '../../..', - roots: ['/x-pack/plugins/files'], + roots: ['/src/plugins/files'], }; diff --git a/x-pack/plugins/files/kibana.json b/src/plugins/files/kibana.json similarity index 100% rename from x-pack/plugins/files/kibana.json rename to src/plugins/files/kibana.json diff --git a/x-pack/plugins/files/public/components/context.tsx b/src/plugins/files/public/components/context.tsx similarity index 86% rename from x-pack/plugins/files/public/components/context.tsx rename to src/plugins/files/public/components/context.tsx index a18ea212beffe..fbf73999b625f 100644 --- a/x-pack/plugins/files/public/components/context.tsx +++ b/src/plugins/files/public/components/context.tsx @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 React, { createContext, useContext, type FunctionComponent } from 'react'; diff --git a/x-pack/plugins/files/public/components/file_picker/components/clear_filter_button.tsx b/src/plugins/files/public/components/file_picker/components/clear_filter_button.tsx similarity index 85% rename from x-pack/plugins/files/public/components/file_picker/components/clear_filter_button.tsx rename to src/plugins/files/public/components/file_picker/components/clear_filter_button.tsx index 8ce3383c7e852..c8a373f70cd55 100644 --- a/x-pack/plugins/files/public/components/file_picker/components/clear_filter_button.tsx +++ b/src/plugins/files/public/components/file_picker/components/clear_filter_button.tsx @@ -1,9 +1,11 @@ /* * 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. + * 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 React from 'react'; import type { FunctionComponent } from 'react'; import useObservable from 'react-use/lib/useObservable'; diff --git a/x-pack/plugins/files/public/components/file_picker/components/error_content.tsx b/src/plugins/files/public/components/file_picker/components/error_content.tsx similarity index 84% rename from x-pack/plugins/files/public/components/file_picker/components/error_content.tsx rename to src/plugins/files/public/components/file_picker/components/error_content.tsx index c2925c793fe63..d37b2ffdc2f46 100644 --- a/x-pack/plugins/files/public/components/file_picker/components/error_content.tsx +++ b/src/plugins/files/public/components/file_picker/components/error_content.tsx @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 React from 'react'; diff --git a/x-pack/plugins/files/public/components/file_picker/components/file_card.scss b/src/plugins/files/public/components/file_picker/components/file_card.scss similarity index 100% rename from x-pack/plugins/files/public/components/file_picker/components/file_card.scss rename to src/plugins/files/public/components/file_picker/components/file_card.scss diff --git a/x-pack/plugins/files/public/components/file_picker/components/file_card.tsx b/src/plugins/files/public/components/file_picker/components/file_card.tsx similarity index 94% rename from x-pack/plugins/files/public/components/file_picker/components/file_card.tsx rename to src/plugins/files/public/components/file_picker/components/file_card.tsx index 89d8e84c0397c..398634bc352d6 100644 --- a/x-pack/plugins/files/public/components/file_picker/components/file_card.tsx +++ b/src/plugins/files/public/components/file_picker/components/file_card.tsx @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 React, { useMemo } from 'react'; diff --git a/x-pack/plugins/files/public/components/file_picker/components/file_grid.tsx b/src/plugins/files/public/components/file_picker/components/file_grid.tsx similarity index 86% rename from x-pack/plugins/files/public/components/file_picker/components/file_grid.tsx rename to src/plugins/files/public/components/file_picker/components/file_grid.tsx index 2f2a9722d55b7..b2d9658e0a07f 100644 --- a/x-pack/plugins/files/public/components/file_picker/components/file_grid.tsx +++ b/src/plugins/files/public/components/file_picker/components/file_grid.tsx @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 React from 'react'; diff --git a/x-pack/plugins/files/public/components/file_picker/components/modal_footer.tsx b/src/plugins/files/public/components/file_picker/components/modal_footer.tsx similarity index 91% rename from x-pack/plugins/files/public/components/file_picker/components/modal_footer.tsx rename to src/plugins/files/public/components/file_picker/components/modal_footer.tsx index 643efec8abebd..0a9ad3b3dcafa 100644 --- a/x-pack/plugins/files/public/components/file_picker/components/modal_footer.tsx +++ b/src/plugins/files/public/components/file_picker/components/modal_footer.tsx @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { EuiModalFooter } from '@elastic/eui'; diff --git a/x-pack/plugins/files/public/components/file_picker/components/pagination.tsx b/src/plugins/files/public/components/file_picker/components/pagination.tsx similarity index 84% rename from x-pack/plugins/files/public/components/file_picker/components/pagination.tsx rename to src/plugins/files/public/components/file_picker/components/pagination.tsx index 397a1cda06e48..3384edcab16c2 100644 --- a/x-pack/plugins/files/public/components/file_picker/components/pagination.tsx +++ b/src/plugins/files/public/components/file_picker/components/pagination.tsx @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 React from 'react'; diff --git a/x-pack/plugins/files/public/components/file_picker/components/search_field.tsx b/src/plugins/files/public/components/file_picker/components/search_field.tsx similarity index 85% rename from x-pack/plugins/files/public/components/file_picker/components/search_field.tsx rename to src/plugins/files/public/components/file_picker/components/search_field.tsx index bb1fe3580d2bb..e1feb83800abc 100644 --- a/x-pack/plugins/files/public/components/file_picker/components/search_field.tsx +++ b/src/plugins/files/public/components/file_picker/components/search_field.tsx @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { FunctionComponent } from 'react'; diff --git a/x-pack/plugins/files/public/components/file_picker/components/select_button.tsx b/src/plugins/files/public/components/file_picker/components/select_button.tsx similarity index 85% rename from x-pack/plugins/files/public/components/file_picker/components/select_button.tsx rename to src/plugins/files/public/components/file_picker/components/select_button.tsx index b6f1fa846fa48..c1a1fbdef3b5b 100644 --- a/x-pack/plugins/files/public/components/file_picker/components/select_button.tsx +++ b/src/plugins/files/public/components/file_picker/components/select_button.tsx @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { EuiButton } from '@elastic/eui'; diff --git a/x-pack/plugins/files/public/components/file_picker/components/title.tsx b/src/plugins/files/public/components/file_picker/components/title.tsx similarity index 69% rename from x-pack/plugins/files/public/components/file_picker/components/title.tsx rename to src/plugins/files/public/components/file_picker/components/title.tsx index de1015241f656..2d4de8881fa76 100644 --- a/x-pack/plugins/files/public/components/file_picker/components/title.tsx +++ b/src/plugins/files/public/components/file_picker/components/title.tsx @@ -1,9 +1,11 @@ /* * 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. + * 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 React from 'react'; import type { FunctionComponent } from 'react'; import { EuiTitle } from '@elastic/eui'; diff --git a/x-pack/plugins/files/public/components/file_picker/components/upload_files.tsx b/src/plugins/files/public/components/file_picker/components/upload_files.tsx similarity index 86% rename from x-pack/plugins/files/public/components/file_picker/components/upload_files.tsx rename to src/plugins/files/public/components/file_picker/components/upload_files.tsx index 143d20fd63ec0..a33f458bdf9d2 100644 --- a/x-pack/plugins/files/public/components/file_picker/components/upload_files.tsx +++ b/src/plugins/files/public/components/file_picker/components/upload_files.tsx @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 React from 'react'; diff --git a/x-pack/plugins/files/public/components/file_picker/context.tsx b/src/plugins/files/public/components/file_picker/context.tsx similarity index 88% rename from x-pack/plugins/files/public/components/file_picker/context.tsx rename to src/plugins/files/public/components/file_picker/context.tsx index 67e745b745829..48d0ea3986253 100644 --- a/x-pack/plugins/files/public/components/file_picker/context.tsx +++ b/src/plugins/files/public/components/file_picker/context.tsx @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 React, { createContext, useContext, useMemo, useEffect } from 'react'; diff --git a/x-pack/plugins/files/public/components/file_picker/file_picker.scss b/src/plugins/files/public/components/file_picker/file_picker.scss similarity index 100% rename from x-pack/plugins/files/public/components/file_picker/file_picker.scss rename to src/plugins/files/public/components/file_picker/file_picker.scss diff --git a/x-pack/plugins/files/public/components/file_picker/file_picker.stories.tsx b/src/plugins/files/public/components/file_picker/file_picker.stories.tsx similarity index 96% rename from x-pack/plugins/files/public/components/file_picker/file_picker.stories.tsx rename to src/plugins/files/public/components/file_picker/file_picker.stories.tsx index 9d40b112b4060..517663ebbbbbe 100644 --- a/x-pack/plugins/files/public/components/file_picker/file_picker.stories.tsx +++ b/src/plugins/files/public/components/file_picker/file_picker.stories.tsx @@ -1,9 +1,11 @@ /* * 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. + * 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 React from 'react'; import { ComponentMeta, ComponentStory } from '@storybook/react'; import { action } from '@storybook/addon-actions'; diff --git a/x-pack/plugins/files/public/components/file_picker/file_picker.test.tsx b/src/plugins/files/public/components/file_picker/file_picker.test.tsx similarity index 95% rename from x-pack/plugins/files/public/components/file_picker/file_picker.test.tsx rename to src/plugins/files/public/components/file_picker/file_picker.test.tsx index b9005c89503f3..58c86739755a8 100644 --- a/x-pack/plugins/files/public/components/file_picker/file_picker.test.tsx +++ b/src/plugins/files/public/components/file_picker/file_picker.test.tsx @@ -1,9 +1,11 @@ /* * 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. + * 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 React from 'react'; import { EuiButtonEmpty } from '@elastic/eui'; import { act } from 'react-dom/test-utils'; diff --git a/x-pack/plugins/files/public/components/file_picker/file_picker.tsx b/src/plugins/files/public/components/file_picker/file_picker.tsx similarity index 94% rename from x-pack/plugins/files/public/components/file_picker/file_picker.tsx rename to src/plugins/files/public/components/file_picker/file_picker.tsx index 6c95cd225ae27..9472f87f7b912 100644 --- a/x-pack/plugins/files/public/components/file_picker/file_picker.tsx +++ b/src/plugins/files/public/components/file_picker/file_picker.tsx @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 React from 'react'; diff --git a/x-pack/plugins/files/public/components/file_picker/file_picker_state.test.ts b/src/plugins/files/public/components/file_picker/file_picker_state.test.ts similarity index 97% rename from x-pack/plugins/files/public/components/file_picker/file_picker_state.test.ts rename to src/plugins/files/public/components/file_picker/file_picker_state.test.ts index 3a5adb08a7af2..0e7971e60bdcc 100644 --- a/x-pack/plugins/files/public/components/file_picker/file_picker_state.test.ts +++ b/src/plugins/files/public/components/file_picker/file_picker_state.test.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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. */ jest.mock('rxjs', () => { diff --git a/x-pack/plugins/files/public/components/file_picker/file_picker_state.ts b/src/plugins/files/public/components/file_picker/file_picker_state.ts similarity index 97% rename from x-pack/plugins/files/public/components/file_picker/file_picker_state.ts rename to src/plugins/files/public/components/file_picker/file_picker_state.ts index 708288f9cb4df..42214f77c9cf2 100644 --- a/x-pack/plugins/files/public/components/file_picker/file_picker_state.ts +++ b/src/plugins/files/public/components/file_picker/file_picker_state.ts @@ -1,9 +1,11 @@ /* * 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. + * 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 { map, tap, diff --git a/src/plugins/files/public/components/file_picker/i18n_texts.ts b/src/plugins/files/public/components/file_picker/i18n_texts.ts new file mode 100644 index 0000000000000..0958e99cdffe1 --- /dev/null +++ b/src/plugins/files/public/components/file_picker/i18n_texts.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 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 { i18n } from '@kbn/i18n'; + +export const i18nTexts = { + title: i18n.translate('files.filePicker.title', { + defaultMessage: 'Select a file', + }), + loadingFilesErrorTitle: i18n.translate('files.filePicker.error.loadingTitle', { + defaultMessage: 'Could not load files', + }), + retryButtonLabel: i18n.translate('files.filePicker.error.retryButtonLabel', { + defaultMessage: 'Retry', + }), + emptyStatePrompt: i18n.translate('files.filePicker.emptyStatePrompt', { + defaultMessage: 'No files found', + }), + emptyStatePromptSubtitle: i18n.translate('files.filePicker.emptyStatePromptSubtitle', { + defaultMessage: 'Upload your first file.', + }), + selectFileLabel: i18n.translate('files.filePicker.selectFileButtonLable', { + defaultMessage: 'Select file', + }), + selectFilesLabel: (nrOfFiles: number) => + i18n.translate('files.filePicker.selectFilesButtonLable', { + defaultMessage: 'Select {nrOfFiles} files', + values: { nrOfFiles }, + }), + searchFieldPlaceholder: i18n.translate('files.filePicker.searchFieldPlaceholder', { + defaultMessage: 'my-file-*', + }), + emptyFileGridPrompt: i18n.translate('files.filePicker.emptyGridPrompt', { + defaultMessage: 'No files matched filter', + }), + loadMoreButtonLabel: i18n.translate('files.filePicker.loadMoreButtonLabel', { + defaultMessage: 'Load more', + }), + clearFilterButton: i18n.translate('files.filePicker.clearFilterButtonLabel', { + defaultMessage: 'Clear filter', + }), + uploadFilePlaceholderText: i18n.translate('files.filePicker.uploadFilePlaceholderText', { + defaultMessage: 'Drag and drop to upload new files', + }), +}; diff --git a/x-pack/plugins/files/public/components/file_picker/index.tsx b/src/plugins/files/public/components/file_picker/index.tsx similarity index 75% rename from x-pack/plugins/files/public/components/file_picker/index.tsx rename to src/plugins/files/public/components/file_picker/index.tsx index 47c892ef1cadd..9ec6b9f778035 100644 --- a/x-pack/plugins/files/public/components/file_picker/index.tsx +++ b/src/plugins/files/public/components/file_picker/index.tsx @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 React, { lazy, Suspense } from 'react'; diff --git a/x-pack/plugins/files/public/components/image/components/blurhash.tsx b/src/plugins/files/public/components/image/components/blurhash.tsx similarity index 89% rename from x-pack/plugins/files/public/components/image/components/blurhash.tsx rename to src/plugins/files/public/components/image/components/blurhash.tsx index 62dfb8b1f075d..7a931e91ddaea 100644 --- a/x-pack/plugins/files/public/components/image/components/blurhash.tsx +++ b/src/plugins/files/public/components/image/components/blurhash.tsx @@ -1,9 +1,11 @@ /* * 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. + * 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 { decode } from 'blurhash'; import React, { useRef, useEffect } from 'react'; import type { FunctionComponent } from 'react'; diff --git a/x-pack/plugins/files/public/components/image/components/img.tsx b/src/plugins/files/public/components/image/components/img.tsx similarity index 89% rename from x-pack/plugins/files/public/components/image/components/img.tsx rename to src/plugins/files/public/components/image/components/img.tsx index 25f45eec22f6e..855d4547058a5 100644 --- a/x-pack/plugins/files/public/components/image/components/img.tsx +++ b/src/plugins/files/public/components/image/components/img.tsx @@ -1,9 +1,11 @@ /* * 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. + * 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 React from 'react'; import type { ImgHTMLAttributes, MutableRefObject } from 'react'; import type { EuiImageSize } from '@elastic/eui/src/components/image/image_types'; diff --git a/x-pack/plugins/files/public/components/image/components/index.ts b/src/plugins/files/public/components/image/components/index.ts similarity index 59% rename from x-pack/plugins/files/public/components/image/components/index.ts rename to src/plugins/files/public/components/image/components/index.ts index 7fee8f7fd63fb..bae3c92eab517 100644 --- a/x-pack/plugins/files/public/components/image/components/index.ts +++ b/src/plugins/files/public/components/image/components/index.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { Img } from './img'; diff --git a/x-pack/plugins/files/public/components/image/image.constants.stories.tsx b/src/plugins/files/public/components/image/image.constants.stories.tsx similarity index 97% rename from x-pack/plugins/files/public/components/image/image.constants.stories.tsx rename to src/plugins/files/public/components/image/image.constants.stories.tsx index cc5ff23cd2810..b9b3a5c3831cb 100644 --- a/x-pack/plugins/files/public/components/image/image.constants.stories.tsx +++ b/src/plugins/files/public/components/image/image.constants.stories.tsx @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 function getImageData(): Blob { diff --git a/x-pack/plugins/files/public/components/image/image.stories.tsx b/src/plugins/files/public/components/image/image.stories.tsx similarity index 92% rename from x-pack/plugins/files/public/components/image/image.stories.tsx rename to src/plugins/files/public/components/image/image.stories.tsx index ff8825485f9cb..d26a74470bdca 100644 --- a/x-pack/plugins/files/public/components/image/image.stories.tsx +++ b/src/plugins/files/public/components/image/image.stories.tsx @@ -1,9 +1,11 @@ /* * 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. + * 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 React from 'react'; import { ComponentStory, ComponentMeta } from '@storybook/react'; import { action } from '@storybook/addon-actions'; diff --git a/x-pack/plugins/files/public/components/image/image.tsx b/src/plugins/files/public/components/image/image.tsx similarity index 93% rename from x-pack/plugins/files/public/components/image/image.tsx rename to src/plugins/files/public/components/image/image.tsx index 0b6c9d48fa81d..e2cb78d910e3d 100644 --- a/x-pack/plugins/files/public/components/image/image.tsx +++ b/src/plugins/files/public/components/image/image.tsx @@ -1,9 +1,11 @@ /* * 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. + * 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 React, { HTMLAttributes } from 'react'; import { type ImgHTMLAttributes, useState, useEffect } from 'react'; import { css } from '@emotion/react'; diff --git a/x-pack/plugins/files/public/components/image/index.ts b/src/plugins/files/public/components/image/index.ts similarity index 57% rename from x-pack/plugins/files/public/components/image/index.ts rename to src/plugins/files/public/components/image/index.ts index 05ffe3dd1c4e7..2e7825acc1260 100644 --- a/x-pack/plugins/files/public/components/image/index.ts +++ b/src/plugins/files/public/components/image/index.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { Image } from './image'; diff --git a/x-pack/plugins/files/public/components/image/styles.ts b/src/plugins/files/public/components/image/styles.ts similarity index 72% rename from x-pack/plugins/files/public/components/image/styles.ts rename to src/plugins/files/public/components/image/styles.ts index b14121c667a50..d69580bcb51a5 100644 --- a/x-pack/plugins/files/public/components/image/styles.ts +++ b/src/plugins/files/public/components/image/styles.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { css } from '@emotion/react'; diff --git a/x-pack/plugins/files/public/components/image/use_viewport_observer.ts b/src/plugins/files/public/components/image/use_viewport_observer.ts similarity index 85% rename from x-pack/plugins/files/public/components/image/use_viewport_observer.ts rename to src/plugins/files/public/components/image/use_viewport_observer.ts index c1951b4448de8..6e43cc9d124f6 100644 --- a/x-pack/plugins/files/public/components/image/use_viewport_observer.ts +++ b/src/plugins/files/public/components/image/use_viewport_observer.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { useCallback, useEffect, useRef, useState } from 'react'; diff --git a/x-pack/plugins/files/public/components/image/viewport_observer.test.ts b/src/plugins/files/public/components/image/viewport_observer.test.ts similarity index 92% rename from x-pack/plugins/files/public/components/image/viewport_observer.test.ts rename to src/plugins/files/public/components/image/viewport_observer.test.ts index 5e5ebd3d42029..f5dafb25fc724 100644 --- a/x-pack/plugins/files/public/components/image/viewport_observer.test.ts +++ b/src/plugins/files/public/components/image/viewport_observer.test.ts @@ -1,9 +1,11 @@ /* * 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. + * 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 { TestScheduler } from 'rxjs/testing'; import { ViewportObserver } from './viewport_observer'; diff --git a/x-pack/plugins/files/public/components/image/viewport_observer.ts b/src/plugins/files/public/components/image/viewport_observer.ts similarity index 89% rename from x-pack/plugins/files/public/components/image/viewport_observer.ts rename to src/plugins/files/public/components/image/viewport_observer.ts index c0efe3d095594..165af5aecb98c 100644 --- a/x-pack/plugins/files/public/components/image/viewport_observer.ts +++ b/src/plugins/files/public/components/image/viewport_observer.ts @@ -1,9 +1,11 @@ /* * 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. + * 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 { once } from 'lodash'; import { Observable, ReplaySubject } from 'rxjs'; import { take } from 'rxjs/operators'; diff --git a/x-pack/plugins/files/public/components/index.ts b/src/plugins/files/public/components/index.ts similarity index 67% rename from x-pack/plugins/files/public/components/index.ts rename to src/plugins/files/public/components/index.ts index c5ab1382b4dfa..e4470d4a58be7 100644 --- a/x-pack/plugins/files/public/components/index.ts +++ b/src/plugins/files/public/components/index.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { Image, type ImageProps } from './image'; diff --git a/x-pack/plugins/files/public/components/stories_shared.ts b/src/plugins/files/public/components/stories_shared.ts similarity index 77% rename from x-pack/plugins/files/public/components/stories_shared.ts rename to src/plugins/files/public/components/stories_shared.ts index a82ec3295b1d0..f20058ea0f58e 100644 --- a/x-pack/plugins/files/public/components/stories_shared.ts +++ b/src/plugins/files/public/components/stories_shared.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { FileKind } from '../../common'; diff --git a/x-pack/plugins/files/public/components/upload_file/components/cancel_button.tsx b/src/plugins/files/public/components/upload_file/components/cancel_button.tsx similarity index 86% rename from x-pack/plugins/files/public/components/upload_file/components/cancel_button.tsx rename to src/plugins/files/public/components/upload_file/components/cancel_button.tsx index b71a6221f3b2d..4bf6aead09120 100644 --- a/x-pack/plugins/files/public/components/upload_file/components/cancel_button.tsx +++ b/src/plugins/files/public/components/upload_file/components/cancel_button.tsx @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { EuiButton, EuiButtonIcon } from '@elastic/eui'; diff --git a/x-pack/plugins/files/public/components/upload_file/components/clear_button.tsx b/src/plugins/files/public/components/upload_file/components/clear_button.tsx similarity index 76% rename from x-pack/plugins/files/public/components/upload_file/components/clear_button.tsx rename to src/plugins/files/public/components/upload_file/components/clear_button.tsx index 929fe0dcc65b0..09733a9c58769 100644 --- a/x-pack/plugins/files/public/components/upload_file/components/clear_button.tsx +++ b/src/plugins/files/public/components/upload_file/components/clear_button.tsx @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { EuiButtonEmpty } from '@elastic/eui'; diff --git a/x-pack/plugins/files/public/components/upload_file/components/control_button.tsx b/src/plugins/files/public/components/upload_file/components/control_button.tsx similarity index 86% rename from x-pack/plugins/files/public/components/upload_file/components/control_button.tsx rename to src/plugins/files/public/components/upload_file/components/control_button.tsx index 351cf2c39edd1..c52d72545e04e 100644 --- a/x-pack/plugins/files/public/components/upload_file/components/control_button.tsx +++ b/src/plugins/files/public/components/upload_file/components/control_button.tsx @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { FunctionComponent } from 'react'; diff --git a/x-pack/plugins/files/public/components/upload_file/components/index.ts b/src/plugins/files/public/components/upload_file/components/index.ts similarity index 58% rename from x-pack/plugins/files/public/components/upload_file/components/index.ts rename to src/plugins/files/public/components/upload_file/components/index.ts index fbc7ffd8eda79..427af9af2cc48 100644 --- a/x-pack/plugins/files/public/components/upload_file/components/index.ts +++ b/src/plugins/files/public/components/upload_file/components/index.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { ControlButton } from './control_button'; diff --git a/x-pack/plugins/files/public/components/upload_file/components/retry_button.tsx b/src/plugins/files/public/components/upload_file/components/retry_button.tsx similarity index 81% rename from x-pack/plugins/files/public/components/upload_file/components/retry_button.tsx rename to src/plugins/files/public/components/upload_file/components/retry_button.tsx index 355495aa25c17..273515331b3c9 100644 --- a/x-pack/plugins/files/public/components/upload_file/components/retry_button.tsx +++ b/src/plugins/files/public/components/upload_file/components/retry_button.tsx @@ -1,9 +1,11 @@ /* * 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. + * 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 { EuiButton } from '@elastic/eui'; import type { FunctionComponent } from 'react'; import React from 'react'; diff --git a/x-pack/plugins/files/public/components/upload_file/components/upload_button.tsx b/src/plugins/files/public/components/upload_file/components/upload_button.tsx similarity index 87% rename from x-pack/plugins/files/public/components/upload_file/components/upload_button.tsx rename to src/plugins/files/public/components/upload_file/components/upload_button.tsx index ff6320ab0b95a..2bd024ad2e1ad 100644 --- a/x-pack/plugins/files/public/components/upload_file/components/upload_button.tsx +++ b/src/plugins/files/public/components/upload_file/components/upload_button.tsx @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { EuiButton } from '@elastic/eui'; diff --git a/x-pack/plugins/files/public/components/upload_file/context.ts b/src/plugins/files/public/components/upload_file/context.ts similarity index 66% rename from x-pack/plugins/files/public/components/upload_file/context.ts rename to src/plugins/files/public/components/upload_file/context.ts index e88f5d2441489..187639cb3dda0 100644 --- a/x-pack/plugins/files/public/components/upload_file/context.ts +++ b/src/plugins/files/public/components/upload_file/context.ts @@ -1,9 +1,11 @@ /* * 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. + * 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 React from 'react'; import type { UploadState } from './upload_state'; diff --git a/src/plugins/files/public/components/upload_file/i18n_texts.ts b/src/plugins/files/public/components/upload_file/i18n_texts.ts new file mode 100644 index 0000000000000..19ac5b3e0a67d --- /dev/null +++ b/src/plugins/files/public/components/upload_file/i18n_texts.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 { i18n } from '@kbn/i18n'; + +export const i18nTexts = { + defaultPickerLabel: i18n.translate('files.uploadFile.defaultFilePickerLabel', { + defaultMessage: 'Upload a file', + }), + upload: i18n.translate('files.uploadFile.uploadButtonLabel', { + defaultMessage: 'Upload', + }), + uploading: i18n.translate('files.uploadFile.uploadingButtonLabel', { + defaultMessage: 'Uploading', + }), + uploadComplete: i18n.translate('files.uploadFile.uploadCompleteButtonLabel', { + defaultMessage: 'Upload complete', + }), + retry: i18n.translate('files.uploadFile.retryButtonLabel', { + defaultMessage: 'Retry', + }), + clear: i18n.translate('files.uploadFile.clearButtonLabel', { + defaultMessage: 'Clear', + }), + cancel: i18n.translate('files.uploadFile.cancelButtonLabel', { + defaultMessage: 'Cancel', + }), + uploadDone: i18n.translate('files.uploadFile.uploadDoneToolTipContent', { + defaultMessage: 'Your file was successfully uploaded!', + }), + fileTooLarge: (expectedSize: string) => + i18n.translate('files.uploadFile.fileTooLargeErrorMessage', { + defaultMessage: + 'File is too large. Maximum size is {expectedSize, plural, one {# byte} other {# bytes} }.', + values: { expectedSize }, + }), +}; diff --git a/x-pack/plugins/files/public/components/upload_file/index.tsx b/src/plugins/files/public/components/upload_file/index.tsx similarity index 76% rename from x-pack/plugins/files/public/components/upload_file/index.tsx rename to src/plugins/files/public/components/upload_file/index.tsx index 8e9e89c33c799..83aae0a111b43 100644 --- a/x-pack/plugins/files/public/components/upload_file/index.tsx +++ b/src/plugins/files/public/components/upload_file/index.tsx @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 React, { lazy, Suspense } from 'react'; diff --git a/x-pack/plugins/files/public/components/upload_file/upload_file.component.tsx b/src/plugins/files/public/components/upload_file/upload_file.component.tsx similarity index 95% rename from x-pack/plugins/files/public/components/upload_file/upload_file.component.tsx rename to src/plugins/files/public/components/upload_file/upload_file.component.tsx index 8c81ae3fdcb21..92e3cb85cb398 100644 --- a/x-pack/plugins/files/public/components/upload_file/upload_file.component.tsx +++ b/src/plugins/files/public/components/upload_file/upload_file.component.tsx @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 React from 'react'; diff --git a/x-pack/plugins/files/public/components/upload_file/upload_file.stories.tsx b/src/plugins/files/public/components/upload_file/upload_file.stories.tsx similarity index 95% rename from x-pack/plugins/files/public/components/upload_file/upload_file.stories.tsx rename to src/plugins/files/public/components/upload_file/upload_file.stories.tsx index 635400223fc17..2a07b8b8f5db5 100644 --- a/x-pack/plugins/files/public/components/upload_file/upload_file.stories.tsx +++ b/src/plugins/files/public/components/upload_file/upload_file.stories.tsx @@ -1,9 +1,11 @@ /* * 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. + * 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 React from 'react'; import { ComponentMeta, ComponentStory } from '@storybook/react'; import { action } from '@storybook/addon-actions'; diff --git a/x-pack/plugins/files/public/components/upload_file/upload_file.test.tsx b/src/plugins/files/public/components/upload_file/upload_file.test.tsx similarity index 97% rename from x-pack/plugins/files/public/components/upload_file/upload_file.test.tsx rename to src/plugins/files/public/components/upload_file/upload_file.test.tsx index 7682b085eb060..a8230094ccd78 100644 --- a/x-pack/plugins/files/public/components/upload_file/upload_file.test.tsx +++ b/src/plugins/files/public/components/upload_file/upload_file.test.tsx @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 React from 'react'; diff --git a/x-pack/plugins/files/public/components/upload_file/upload_file.tsx b/src/plugins/files/public/components/upload_file/upload_file.tsx similarity index 95% rename from x-pack/plugins/files/public/components/upload_file/upload_file.tsx rename to src/plugins/files/public/components/upload_file/upload_file.tsx index ae23739afbf2e..0d468c2991150 100644 --- a/x-pack/plugins/files/public/components/upload_file/upload_file.tsx +++ b/src/plugins/files/public/components/upload_file/upload_file.tsx @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { EuiFilePicker } from '@elastic/eui'; diff --git a/x-pack/plugins/files/public/components/upload_file/upload_state.test.ts b/src/plugins/files/public/components/upload_file/upload_state.test.ts similarity index 97% rename from x-pack/plugins/files/public/components/upload_file/upload_state.test.ts rename to src/plugins/files/public/components/upload_file/upload_state.test.ts index a834103a2c9cb..7a73009c35c49 100644 --- a/x-pack/plugins/files/public/components/upload_file/upload_state.test.ts +++ b/src/plugins/files/public/components/upload_file/upload_state.test.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { DeeplyMockedKeys } from '@kbn/utility-types-jest'; diff --git a/x-pack/plugins/files/public/components/upload_file/upload_state.ts b/src/plugins/files/public/components/upload_file/upload_state.ts similarity index 97% rename from x-pack/plugins/files/public/components/upload_file/upload_state.ts rename to src/plugins/files/public/components/upload_file/upload_state.ts index 061f65115c799..d9331c18868ac 100644 --- a/x-pack/plugins/files/public/components/upload_file/upload_state.ts +++ b/src/plugins/files/public/components/upload_file/upload_state.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { diff --git a/x-pack/plugins/files/public/components/upload_file/util/index.ts b/src/plugins/files/public/components/upload_file/util/index.ts similarity index 61% rename from x-pack/plugins/files/public/components/upload_file/util/index.ts rename to src/plugins/files/public/components/upload_file/util/index.ts index e8fbb4e1ecedc..18bdee6fcffe0 100644 --- a/x-pack/plugins/files/public/components/upload_file/util/index.ts +++ b/src/plugins/files/public/components/upload_file/util/index.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { SimpleStateSubject, createStateSubject } from './simple_state_subject'; diff --git a/x-pack/plugins/files/public/components/upload_file/util/parse_file_name.test.ts b/src/plugins/files/public/components/upload_file/util/parse_file_name.test.ts similarity index 82% rename from x-pack/plugins/files/public/components/upload_file/util/parse_file_name.test.ts rename to src/plugins/files/public/components/upload_file/util/parse_file_name.test.ts index bfe27b50a9f43..76d342a70cf7e 100644 --- a/x-pack/plugins/files/public/components/upload_file/util/parse_file_name.test.ts +++ b/src/plugins/files/public/components/upload_file/util/parse_file_name.test.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { parseFileName } from './parse_file_name'; diff --git a/x-pack/plugins/files/public/components/upload_file/util/parse_file_name.ts b/src/plugins/files/public/components/upload_file/util/parse_file_name.ts similarity index 71% rename from x-pack/plugins/files/public/components/upload_file/util/parse_file_name.ts rename to src/plugins/files/public/components/upload_file/util/parse_file_name.ts index 485b3013631dd..aaa7b9a759f7b 100644 --- a/x-pack/plugins/files/public/components/upload_file/util/parse_file_name.ts +++ b/src/plugins/files/public/components/upload_file/util/parse_file_name.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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. */ interface Result { diff --git a/x-pack/plugins/files/public/components/upload_file/util/simple_state_subject.ts b/src/plugins/files/public/components/upload_file/util/simple_state_subject.ts similarity index 78% rename from x-pack/plugins/files/public/components/upload_file/util/simple_state_subject.ts rename to src/plugins/files/public/components/upload_file/util/simple_state_subject.ts index a55259b4962ed..b5cc19a9ea3ee 100644 --- a/x-pack/plugins/files/public/components/upload_file/util/simple_state_subject.ts +++ b/src/plugins/files/public/components/upload_file/util/simple_state_subject.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { merge } from 'lodash'; diff --git a/x-pack/plugins/files/public/components/use_behavior_subject.ts b/src/plugins/files/public/components/use_behavior_subject.ts similarity index 66% rename from x-pack/plugins/files/public/components/use_behavior_subject.ts rename to src/plugins/files/public/components/use_behavior_subject.ts index f68ae6faef28c..441a14667df18 100644 --- a/x-pack/plugins/files/public/components/use_behavior_subject.ts +++ b/src/plugins/files/public/components/use_behavior_subject.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { BehaviorSubject } from 'rxjs'; diff --git a/x-pack/plugins/files/public/components/util/image_metadata.test.ts b/src/plugins/files/public/components/util/image_metadata.test.ts similarity index 86% rename from x-pack/plugins/files/public/components/util/image_metadata.test.ts rename to src/plugins/files/public/components/util/image_metadata.test.ts index 16980aee00296..de4cba5c82dc9 100644 --- a/x-pack/plugins/files/public/components/util/image_metadata.test.ts +++ b/src/plugins/files/public/components/util/image_metadata.test.ts @@ -1,9 +1,11 @@ /* * 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. + * 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 { fitToBox } from './image_metadata'; describe('util', () => { describe('fitToBox', () => { diff --git a/x-pack/plugins/files/public/components/util/image_metadata.ts b/src/plugins/files/public/components/util/image_metadata.ts similarity index 92% rename from x-pack/plugins/files/public/components/util/image_metadata.ts rename to src/plugins/files/public/components/util/image_metadata.ts index 9c6e74f4c0101..75a42efed585c 100644 --- a/x-pack/plugins/files/public/components/util/image_metadata.ts +++ b/src/plugins/files/public/components/util/image_metadata.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 * as bh from 'blurhash'; diff --git a/x-pack/plugins/files/public/components/util/index.ts b/src/plugins/files/public/components/util/index.ts similarity index 61% rename from x-pack/plugins/files/public/components/util/index.ts rename to src/plugins/files/public/components/util/index.ts index e3e30fdb17bb3..5c25ffd636a5c 100644 --- a/x-pack/plugins/files/public/components/util/index.ts +++ b/src/plugins/files/public/components/util/index.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { getImageMetadata, isImage, fitToBox } from './image_metadata'; diff --git a/x-pack/plugins/files/public/files_client/files_client.test.ts b/src/plugins/files/public/files_client/files_client.test.ts similarity index 89% rename from x-pack/plugins/files/public/files_client/files_client.test.ts rename to src/plugins/files/public/files_client/files_client.test.ts index 63bed16c07ead..caef61d231110 100644 --- a/x-pack/plugins/files/public/files_client/files_client.test.ts +++ b/src/plugins/files/public/files_client/files_client.test.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { apiRoutes } from './files_client'; diff --git a/x-pack/plugins/files/public/files_client/files_client.ts b/src/plugins/files/public/files_client/files_client.ts similarity index 96% rename from x-pack/plugins/files/public/files_client/files_client.ts rename to src/plugins/files/public/files_client/files_client.ts index f92b2c91d2796..86a2c1c92957c 100644 --- a/x-pack/plugins/files/public/files_client/files_client.ts +++ b/src/plugins/files/public/files_client/files_client.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { HttpStart } from '@kbn/core/public'; diff --git a/x-pack/plugins/files/public/files_client/index.ts b/src/plugins/files/public/files_client/index.ts similarity index 53% rename from x-pack/plugins/files/public/files_client/index.ts rename to src/plugins/files/public/files_client/index.ts index 60f3022e825df..cc493c053e61d 100644 --- a/x-pack/plugins/files/public/files_client/index.ts +++ b/src/plugins/files/public/files_client/index.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { createFilesClient } from './files_client'; diff --git a/x-pack/plugins/files/public/index.ts b/src/plugins/files/public/index.ts similarity index 75% rename from x-pack/plugins/files/public/index.ts rename to src/plugins/files/public/index.ts index a9bd88615ff12..5822efb655735 100644 --- a/x-pack/plugins/files/public/index.ts +++ b/src/plugins/files/public/index.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { FilesPlugin } from './plugin'; diff --git a/x-pack/plugins/files/public/mocks.ts b/src/plugins/files/public/mocks.ts similarity index 80% rename from x-pack/plugins/files/public/mocks.ts rename to src/plugins/files/public/mocks.ts index c34438d096a2b..c19843f3f098d 100644 --- a/x-pack/plugins/files/public/mocks.ts +++ b/src/plugins/files/public/mocks.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { DeeplyMockedKeys } from '@kbn/utility-types-jest'; diff --git a/x-pack/plugins/files/public/plugin.ts b/src/plugins/files/public/plugin.ts similarity index 91% rename from x-pack/plugins/files/public/plugin.ts rename to src/plugins/files/public/plugin.ts index 2f5481f8f2511..a91b565d2a540 100644 --- a/x-pack/plugins/files/public/plugin.ts +++ b/src/plugins/files/public/plugin.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { CoreSetup, CoreStart, Plugin } from '@kbn/core/public'; diff --git a/x-pack/plugins/files/public/types.ts b/src/plugins/files/public/types.ts similarity index 96% rename from x-pack/plugins/files/public/types.ts rename to src/plugins/files/public/types.ts index fcc5c11b1ae45..eb5d28a02f6d4 100644 --- a/x-pack/plugins/files/public/types.ts +++ b/src/plugins/files/public/types.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { FileJSON } from '../common'; diff --git a/x-pack/plugins/files/server/audit_events.ts b/src/plugins/files/server/audit_events.ts similarity index 79% rename from x-pack/plugins/files/server/audit_events.ts rename to src/plugins/files/server/audit_events.ts index ab5d33a65b764..aea5b6b199fd9 100644 --- a/x-pack/plugins/files/server/audit_events.ts +++ b/src/plugins/files/server/audit_events.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { EcsEventOutcome } from '@kbn/logging'; diff --git a/x-pack/plugins/files/server/blob_storage_service/adapters/README.md b/src/plugins/files/server/blob_storage_service/adapters/README.md similarity index 100% rename from x-pack/plugins/files/server/blob_storage_service/adapters/README.md rename to src/plugins/files/server/blob_storage_service/adapters/README.md diff --git a/x-pack/plugins/files/server/blob_storage_service/adapters/es/content_stream/content_stream.test.ts b/src/plugins/files/server/blob_storage_service/adapters/es/content_stream/content_stream.test.ts similarity index 98% rename from x-pack/plugins/files/server/blob_storage_service/adapters/es/content_stream/content_stream.test.ts rename to src/plugins/files/server/blob_storage_service/adapters/es/content_stream/content_stream.test.ts index 56f61e83e47f9..48410081da3ff 100644 --- a/x-pack/plugins/files/server/blob_storage_service/adapters/es/content_stream/content_stream.test.ts +++ b/src/plugins/files/server/blob_storage_service/adapters/es/content_stream/content_stream.test.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { Logger } from '@kbn/core/server'; diff --git a/x-pack/plugins/files/server/blob_storage_service/adapters/es/content_stream/content_stream.ts b/src/plugins/files/server/blob_storage_service/adapters/es/content_stream/content_stream.ts similarity index 98% rename from x-pack/plugins/files/server/blob_storage_service/adapters/es/content_stream/content_stream.ts rename to src/plugins/files/server/blob_storage_service/adapters/es/content_stream/content_stream.ts index 746c66798b5e8..b4b34b5cca83f 100644 --- a/x-pack/plugins/files/server/blob_storage_service/adapters/es/content_stream/content_stream.ts +++ b/src/plugins/files/server/blob_storage_service/adapters/es/content_stream/content_stream.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 cuid from 'cuid'; diff --git a/x-pack/plugins/files/server/blob_storage_service/adapters/es/content_stream/index.ts b/src/plugins/files/server/blob_storage_service/adapters/es/content_stream/index.ts similarity index 69% rename from x-pack/plugins/files/server/blob_storage_service/adapters/es/content_stream/index.ts rename to src/plugins/files/server/blob_storage_service/adapters/es/content_stream/index.ts index a31e0c8b672dc..e3a21c52f3f07 100644 --- a/x-pack/plugins/files/server/blob_storage_service/adapters/es/content_stream/index.ts +++ b/src/plugins/files/server/blob_storage_service/adapters/es/content_stream/index.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { diff --git a/x-pack/plugins/files/server/blob_storage_service/adapters/es/es.test.ts b/src/plugins/files/server/blob_storage_service/adapters/es/es.test.ts similarity index 91% rename from x-pack/plugins/files/server/blob_storage_service/adapters/es/es.test.ts rename to src/plugins/files/server/blob_storage_service/adapters/es/es.test.ts index 9d1ddda739717..bc2cbe0870d59 100644 --- a/x-pack/plugins/files/server/blob_storage_service/adapters/es/es.test.ts +++ b/src/plugins/files/server/blob_storage_service/adapters/es/es.test.ts @@ -1,9 +1,11 @@ /* * 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. + * 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 { Readable } from 'stream'; import { promisify } from 'util'; import { ElasticsearchClient } from '@kbn/core-elasticsearch-server'; diff --git a/x-pack/plugins/files/server/blob_storage_service/adapters/es/es.ts b/src/plugins/files/server/blob_storage_service/adapters/es/es.ts similarity index 96% rename from x-pack/plugins/files/server/blob_storage_service/adapters/es/es.ts rename to src/plugins/files/server/blob_storage_service/adapters/es/es.ts index 96421a06e95c5..2bf582e18d321 100644 --- a/x-pack/plugins/files/server/blob_storage_service/adapters/es/es.ts +++ b/src/plugins/files/server/blob_storage_service/adapters/es/es.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 assert from 'assert'; diff --git a/x-pack/plugins/files/server/blob_storage_service/adapters/es/index.ts b/src/plugins/files/server/blob_storage_service/adapters/es/index.ts similarity index 56% rename from x-pack/plugins/files/server/blob_storage_service/adapters/es/index.ts rename to src/plugins/files/server/blob_storage_service/adapters/es/index.ts index 75ac82acb66df..c0c37cd4c2878 100644 --- a/x-pack/plugins/files/server/blob_storage_service/adapters/es/index.ts +++ b/src/plugins/files/server/blob_storage_service/adapters/es/index.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { ElasticsearchBlobStorageClient, MAX_BLOB_STORE_SIZE_BYTES } from './es'; diff --git a/x-pack/plugins/files/server/blob_storage_service/adapters/es/integration_tests/es.test.ts b/src/plugins/files/server/blob_storage_service/adapters/es/integration_tests/es.test.ts similarity index 96% rename from x-pack/plugins/files/server/blob_storage_service/adapters/es/integration_tests/es.test.ts rename to src/plugins/files/server/blob_storage_service/adapters/es/integration_tests/es.test.ts index 8bcc8c503bb49..8e5b7d63218e6 100644 --- a/x-pack/plugins/files/server/blob_storage_service/adapters/es/integration_tests/es.test.ts +++ b/src/plugins/files/server/blob_storage_service/adapters/es/integration_tests/es.test.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 sinon from 'sinon'; diff --git a/x-pack/plugins/files/server/blob_storage_service/adapters/es/mappings.ts b/src/plugins/files/server/blob_storage_service/adapters/es/mappings.ts similarity index 86% rename from x-pack/plugins/files/server/blob_storage_service/adapters/es/mappings.ts rename to src/plugins/files/server/blob_storage_service/adapters/es/mappings.ts index dbcd57a06ba18..6f7f99d818193 100644 --- a/x-pack/plugins/files/server/blob_storage_service/adapters/es/mappings.ts +++ b/src/plugins/files/server/blob_storage_service/adapters/es/mappings.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { diff --git a/x-pack/plugins/files/server/blob_storage_service/adapters/index.ts b/src/plugins/files/server/blob_storage_service/adapters/index.ts similarity index 56% rename from x-pack/plugins/files/server/blob_storage_service/adapters/index.ts rename to src/plugins/files/server/blob_storage_service/adapters/index.ts index 75ac82acb66df..c0c37cd4c2878 100644 --- a/x-pack/plugins/files/server/blob_storage_service/adapters/index.ts +++ b/src/plugins/files/server/blob_storage_service/adapters/index.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { ElasticsearchBlobStorageClient, MAX_BLOB_STORE_SIZE_BYTES } from './es'; diff --git a/x-pack/plugins/files/server/blob_storage_service/blob_storage_service.ts b/src/plugins/files/server/blob_storage_service/blob_storage_service.ts similarity index 88% rename from x-pack/plugins/files/server/blob_storage_service/blob_storage_service.ts rename to src/plugins/files/server/blob_storage_service/blob_storage_service.ts index ecd2c6e3d3dad..0cc4ba81997b8 100644 --- a/x-pack/plugins/files/server/blob_storage_service/blob_storage_service.ts +++ b/src/plugins/files/server/blob_storage_service/blob_storage_service.ts @@ -1,9 +1,11 @@ /* * 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. + * 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 { ElasticsearchClient, Logger } from '@kbn/core/server'; import { BlobStorageSettings, ES_FIXED_SIZE_INDEX_BLOB_STORE } from '../../common'; import { BlobStorageClient } from './types'; diff --git a/x-pack/plugins/files/server/blob_storage_service/index.ts b/src/plugins/files/server/blob_storage_service/index.ts similarity index 65% rename from x-pack/plugins/files/server/blob_storage_service/index.ts rename to src/plugins/files/server/blob_storage_service/index.ts index fd8d4e190c092..4b1d0ec29a2dc 100644 --- a/x-pack/plugins/files/server/blob_storage_service/index.ts +++ b/src/plugins/files/server/blob_storage_service/index.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { BlobStorageService } from './blob_storage_service'; diff --git a/x-pack/plugins/files/server/blob_storage_service/types.ts b/src/plugins/files/server/blob_storage_service/types.ts similarity index 90% rename from x-pack/plugins/files/server/blob_storage_service/types.ts rename to src/plugins/files/server/blob_storage_service/types.ts index 6a5c40708a973..7ced9ec9df708 100644 --- a/x-pack/plugins/files/server/blob_storage_service/types.ts +++ b/src/plugins/files/server/blob_storage_service/types.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { JsonValue } from '@kbn/utility-types'; diff --git a/x-pack/plugins/files/server/feature.ts b/src/plugins/files/server/feature.ts similarity index 77% rename from x-pack/plugins/files/server/feature.ts rename to src/plugins/files/server/feature.ts index 1685e95cc9fa6..81ba7978e49f6 100644 --- a/x-pack/plugins/files/server/feature.ts +++ b/src/plugins/files/server/feature.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { DEFAULT_APP_CATEGORIES } from '@kbn/core-application-common'; @@ -15,14 +16,14 @@ import { hiddenTypes } from './saved_objects'; // TODO: This should be registered once we have a management section for files content export const filesFeature: KibanaFeatureConfig = { id: PLUGIN_ID, - name: i18n.translate('xpack.files.featureRegistry.filesFeatureName', { + name: i18n.translate('files.featureRegistry.filesFeatureName', { defaultMessage: 'Files', }), minimumLicense: 'basic', order: 10000, category: DEFAULT_APP_CATEGORIES.management, app: [PLUGIN_ID], - privilegesTooltip: i18n.translate('xpack.files.featureRegistry.filesPrivilegesTooltip', { + privilegesTooltip: i18n.translate('files.featureRegistry.filesPrivilegesTooltip', { defaultMessage: 'Provide access to files across all apps', }), privileges: { diff --git a/x-pack/plugins/files/server/file/errors.ts b/src/plugins/files/server/file/errors.ts similarity index 76% rename from x-pack/plugins/files/server/file/errors.ts rename to src/plugins/files/server/file/errors.ts index 34ce179555ff0..db504adf79d27 100644 --- a/x-pack/plugins/files/server/file/errors.ts +++ b/src/plugins/files/server/file/errors.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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. */ /* eslint-disable max-classes-per-file */ diff --git a/x-pack/plugins/files/server/file/file.test.ts b/src/plugins/files/server/file/file.test.ts similarity index 95% rename from x-pack/plugins/files/server/file/file.test.ts rename to src/plugins/files/server/file/file.test.ts index b2e9167c685b3..b42a360682cf9 100644 --- a/x-pack/plugins/files/server/file/file.test.ts +++ b/src/plugins/files/server/file/file.test.ts @@ -1,9 +1,11 @@ /* * 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. + * 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 { of } from 'rxjs'; import type { ElasticsearchClient, ISavedObjectsRepository } from '@kbn/core/server'; import { createSandbox } from 'sinon'; diff --git a/x-pack/plugins/files/server/file/file.ts b/src/plugins/files/server/file/file.ts similarity index 96% rename from x-pack/plugins/files/server/file/file.ts rename to src/plugins/files/server/file/file.ts index c1b9d8ad12fde..d8f246d864882 100644 --- a/x-pack/plugins/files/server/file/file.ts +++ b/src/plugins/files/server/file/file.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { Logger } from '@kbn/core/server'; diff --git a/x-pack/plugins/files/server/file/file_attributes_reducer.ts b/src/plugins/files/server/file/file_attributes_reducer.ts similarity index 86% rename from x-pack/plugins/files/server/file/file_attributes_reducer.ts rename to src/plugins/files/server/file/file_attributes_reducer.ts index fdb2768408af5..1a035c32e1243 100644 --- a/x-pack/plugins/files/server/file/file_attributes_reducer.ts +++ b/src/plugins/files/server/file/file_attributes_reducer.ts @@ -1,9 +1,11 @@ /* * 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. + * 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 { FileJSON, UpdatableFileMetadata } from '../../common'; export type Action = diff --git a/x-pack/plugins/files/server/file/index.ts b/src/plugins/files/server/file/index.ts similarity index 69% rename from x-pack/plugins/files/server/file/index.ts rename to src/plugins/files/server/file/index.ts index 2b584945cb71f..3aa6709356642 100644 --- a/x-pack/plugins/files/server/file/index.ts +++ b/src/plugins/files/server/file/index.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 * as fileErrors from './errors'; diff --git a/x-pack/plugins/files/server/file/to_json.ts b/src/plugins/files/server/file/to_json.ts similarity index 86% rename from x-pack/plugins/files/server/file/to_json.ts rename to src/plugins/files/server/file/to_json.ts index 98096940fe75f..d1cb00277549a 100644 --- a/x-pack/plugins/files/server/file/to_json.ts +++ b/src/plugins/files/server/file/to_json.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { pickBy } from 'lodash'; diff --git a/x-pack/plugins/files/server/file_client/create_es_file_client.ts b/src/plugins/files/server/file_client/create_es_file_client.ts similarity index 90% rename from x-pack/plugins/files/server/file_client/create_es_file_client.ts rename to src/plugins/files/server/file_client/create_es_file_client.ts index 9f453a6a25bfc..1fb14b1fdfbba 100644 --- a/x-pack/plugins/files/server/file_client/create_es_file_client.ts +++ b/src/plugins/files/server/file_client/create_es_file_client.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { Logger, ElasticsearchClient } from '@kbn/core/server'; diff --git a/x-pack/plugins/files/server/file_client/file_client.ts b/src/plugins/files/server/file_client/file_client.ts similarity index 97% rename from x-pack/plugins/files/server/file_client/file_client.ts rename to src/plugins/files/server/file_client/file_client.ts index 6954ac9c635d7..4e49bc1e1d69c 100644 --- a/x-pack/plugins/files/server/file_client/file_client.ts +++ b/src/plugins/files/server/file_client/file_client.ts @@ -1,9 +1,11 @@ /* * 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. + * 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 moment from 'moment'; import { Readable } from 'stream'; import mimeType from 'mime'; diff --git a/x-pack/plugins/files/server/file_client/file_metadata_client/adapters/es_index.ts b/src/plugins/files/server/file_client/file_metadata_client/adapters/es_index.ts similarity index 95% rename from x-pack/plugins/files/server/file_client/file_metadata_client/adapters/es_index.ts rename to src/plugins/files/server/file_client/file_metadata_client/adapters/es_index.ts index dcfe39e112075..8e78c471dde2b 100644 --- a/x-pack/plugins/files/server/file_client/file_metadata_client/adapters/es_index.ts +++ b/src/plugins/files/server/file_client/file_metadata_client/adapters/es_index.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { once } from 'lodash'; diff --git a/x-pack/plugins/files/server/file_client/file_metadata_client/adapters/index.ts b/src/plugins/files/server/file_client/file_metadata_client/adapters/index.ts similarity index 60% rename from x-pack/plugins/files/server/file_client/file_metadata_client/adapters/index.ts rename to src/plugins/files/server/file_client/file_metadata_client/adapters/index.ts index 9e7273b685f89..965cbe0fa1907 100644 --- a/x-pack/plugins/files/server/file_client/file_metadata_client/adapters/index.ts +++ b/src/plugins/files/server/file_client/file_metadata_client/adapters/index.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { SavedObjectsFileMetadataClient } from './saved_objects'; diff --git a/x-pack/plugins/files/server/file_client/file_metadata_client/adapters/query_filters.ts b/src/plugins/files/server/file_client/file_metadata_client/adapters/query_filters.ts similarity index 91% rename from x-pack/plugins/files/server/file_client/file_metadata_client/adapters/query_filters.ts rename to src/plugins/files/server/file_client/file_metadata_client/adapters/query_filters.ts index e5c49b8f12b9d..14e757fae691a 100644 --- a/x-pack/plugins/files/server/file_client/file_metadata_client/adapters/query_filters.ts +++ b/src/plugins/files/server/file_client/file_metadata_client/adapters/query_filters.ts @@ -1,9 +1,11 @@ /* * 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. + * 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 { pipe, forEach } from 'lodash/fp'; import { escapeKuery, KueryNode, nodeBuilder, nodeTypes } from '@kbn/es-query'; diff --git a/x-pack/plugins/files/server/file_client/file_metadata_client/adapters/saved_objects.ts b/src/plugins/files/server/file_client/file_metadata_client/adapters/saved_objects.ts similarity index 95% rename from x-pack/plugins/files/server/file_client/file_metadata_client/adapters/saved_objects.ts rename to src/plugins/files/server/file_client/file_metadata_client/adapters/saved_objects.ts index b1a43a05bfb7b..f0f547bb4704f 100644 --- a/x-pack/plugins/files/server/file_client/file_metadata_client/adapters/saved_objects.ts +++ b/src/plugins/files/server/file_client/file_metadata_client/adapters/saved_objects.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { reduce } from 'lodash'; diff --git a/x-pack/plugins/files/server/file_client/file_metadata_client/file_metadata_client.ts b/src/plugins/files/server/file_client/file_metadata_client/file_metadata_client.ts similarity index 93% rename from x-pack/plugins/files/server/file_client/file_metadata_client/file_metadata_client.ts rename to src/plugins/files/server/file_client/file_metadata_client/file_metadata_client.ts index 5136fc9744d51..2738d75d8222c 100644 --- a/x-pack/plugins/files/server/file_client/file_metadata_client/file_metadata_client.ts +++ b/src/plugins/files/server/file_client/file_metadata_client/file_metadata_client.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { ES_FIXED_SIZE_INDEX_BLOB_STORE } from '../../../common/constants'; diff --git a/x-pack/plugins/files/server/file_client/file_metadata_client/index.ts b/src/plugins/files/server/file_client/file_metadata_client/index.ts similarity index 72% rename from x-pack/plugins/files/server/file_client/file_metadata_client/index.ts rename to src/plugins/files/server/file_client/file_metadata_client/index.ts index 690a6b472b00f..97948a5ebee35 100644 --- a/x-pack/plugins/files/server/file_client/file_metadata_client/index.ts +++ b/src/plugins/files/server/file_client/file_metadata_client/index.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { diff --git a/x-pack/plugins/files/server/file_client/index.ts b/src/plugins/files/server/file_client/index.ts similarity index 81% rename from x-pack/plugins/files/server/file_client/index.ts rename to src/plugins/files/server/file_client/index.ts index 46eec400b77bc..f034f67ec9c68 100644 --- a/x-pack/plugins/files/server/file_client/index.ts +++ b/src/plugins/files/server/file_client/index.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { EsIndexFilesMetadataClient, SavedObjectsFileMetadataClient } from './file_metadata_client'; diff --git a/x-pack/plugins/files/server/file_client/integration_tests/es_file_client.test.ts b/src/plugins/files/server/file_client/integration_tests/es_file_client.test.ts similarity index 96% rename from x-pack/plugins/files/server/file_client/integration_tests/es_file_client.test.ts rename to src/plugins/files/server/file_client/integration_tests/es_file_client.test.ts index 0ae1b9c7d29f8..c9d78cb33ac17 100644 --- a/x-pack/plugins/files/server/file_client/integration_tests/es_file_client.test.ts +++ b/src/plugins/files/server/file_client/integration_tests/es_file_client.test.ts @@ -1,9 +1,11 @@ /* * 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. + * 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 { Readable } from 'stream'; import { loggingSystemMock } from '@kbn/core/server/mocks'; import { TestEnvironmentUtils, setupIntegrationEnvironment } from '../../test_utils'; diff --git a/x-pack/plugins/files/server/file_client/stream_transforms/index.ts b/src/plugins/files/server/file_client/stream_transforms/index.ts similarity index 55% rename from x-pack/plugins/files/server/file_client/stream_transforms/index.ts rename to src/plugins/files/server/file_client/stream_transforms/index.ts index b3a82e897a02c..a89ef117795a9 100644 --- a/x-pack/plugins/files/server/file_client/stream_transforms/index.ts +++ b/src/plugins/files/server/file_client/stream_transforms/index.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { enforceMaxByteSizeTransform } from './max_byte_size_transform'; diff --git a/x-pack/plugins/files/server/file_client/stream_transforms/max_byte_size_transform/errors.ts b/src/plugins/files/server/file_client/stream_transforms/max_byte_size_transform/errors.ts similarity index 65% rename from x-pack/plugins/files/server/file_client/stream_transforms/max_byte_size_transform/errors.ts rename to src/plugins/files/server/file_client/stream_transforms/max_byte_size_transform/errors.ts index 3b2c236e8a287..8c846f9bde101 100644 --- a/x-pack/plugins/files/server/file_client/stream_transforms/max_byte_size_transform/errors.ts +++ b/src/plugins/files/server/file_client/stream_transforms/max_byte_size_transform/errors.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 class MaxByteSizeExceededError extends Error { diff --git a/x-pack/plugins/files/server/file_client/stream_transforms/max_byte_size_transform/index.ts b/src/plugins/files/server/file_client/stream_transforms/max_byte_size_transform/index.ts similarity index 55% rename from x-pack/plugins/files/server/file_client/stream_transforms/max_byte_size_transform/index.ts rename to src/plugins/files/server/file_client/stream_transforms/max_byte_size_transform/index.ts index b3a82e897a02c..a89ef117795a9 100644 --- a/x-pack/plugins/files/server/file_client/stream_transforms/max_byte_size_transform/index.ts +++ b/src/plugins/files/server/file_client/stream_transforms/max_byte_size_transform/index.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { enforceMaxByteSizeTransform } from './max_byte_size_transform'; diff --git a/x-pack/plugins/files/server/file_client/stream_transforms/max_byte_size_transform/max_byte_size_transform.test.ts b/src/plugins/files/server/file_client/stream_transforms/max_byte_size_transform/max_byte_size_transform.test.ts similarity index 87% rename from x-pack/plugins/files/server/file_client/stream_transforms/max_byte_size_transform/max_byte_size_transform.test.ts rename to src/plugins/files/server/file_client/stream_transforms/max_byte_size_transform/max_byte_size_transform.test.ts index 9697624edb471..0b9ca5fe8a455 100644 --- a/x-pack/plugins/files/server/file_client/stream_transforms/max_byte_size_transform/max_byte_size_transform.test.ts +++ b/src/plugins/files/server/file_client/stream_transforms/max_byte_size_transform/max_byte_size_transform.test.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { Readable, Writable, pipeline } from 'stream'; diff --git a/x-pack/plugins/files/server/file_client/stream_transforms/max_byte_size_transform/max_byte_size_transform.ts b/src/plugins/files/server/file_client/stream_transforms/max_byte_size_transform/max_byte_size_transform.ts similarity index 79% rename from x-pack/plugins/files/server/file_client/stream_transforms/max_byte_size_transform/max_byte_size_transform.ts rename to src/plugins/files/server/file_client/stream_transforms/max_byte_size_transform/max_byte_size_transform.ts index c2634bcbf8fe2..a94f9858a996c 100644 --- a/x-pack/plugins/files/server/file_client/stream_transforms/max_byte_size_transform/max_byte_size_transform.ts +++ b/src/plugins/files/server/file_client/stream_transforms/max_byte_size_transform/max_byte_size_transform.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { Transform } from 'stream'; diff --git a/x-pack/plugins/files/server/file_client/types.ts b/src/plugins/files/server/file_client/types.ts similarity index 94% rename from x-pack/plugins/files/server/file_client/types.ts rename to src/plugins/files/server/file_client/types.ts index 19a50f7249fa2..5f991f0bbceb1 100644 --- a/x-pack/plugins/files/server/file_client/types.ts +++ b/src/plugins/files/server/file_client/types.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { File, FileShareJSONWithToken, UpdatableFileMetadata } from '../../common/types'; diff --git a/x-pack/plugins/files/server/file_client/utils.ts b/src/plugins/files/server/file_client/utils.ts similarity index 71% rename from x-pack/plugins/files/server/file_client/utils.ts rename to src/plugins/files/server/file_client/utils.ts index b8b51117e8ac1..88e0901680f0c 100644 --- a/x-pack/plugins/files/server/file_client/utils.ts +++ b/src/plugins/files/server/file_client/utils.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { FileMetadata } from '../../common'; diff --git a/x-pack/plugins/files/server/file_service/errors.ts b/src/plugins/files/server/file_service/errors.ts similarity index 61% rename from x-pack/plugins/files/server/file_service/errors.ts rename to src/plugins/files/server/file_service/errors.ts index 905f26cf8fe14..67bd93e0c782d 100644 --- a/x-pack/plugins/files/server/file_service/errors.ts +++ b/src/plugins/files/server/file_service/errors.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 class FileNotFoundError extends Error { diff --git a/x-pack/plugins/files/server/file_service/file_action_types.ts b/src/plugins/files/server/file_service/file_action_types.ts similarity index 91% rename from x-pack/plugins/files/server/file_service/file_action_types.ts rename to src/plugins/files/server/file_service/file_action_types.ts index f0242cb523d40..dfe5ed2f0ba9b 100644 --- a/x-pack/plugins/files/server/file_service/file_action_types.ts +++ b/src/plugins/files/server/file_service/file_action_types.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { Pagination, UpdatableFileMetadata } from '../../common/types'; diff --git a/x-pack/plugins/files/server/file_service/file_service.ts b/src/plugins/files/server/file_service/file_service.ts similarity index 92% rename from x-pack/plugins/files/server/file_service/file_service.ts rename to src/plugins/files/server/file_service/file_service.ts index e48b0a6ea38ca..9dc1b0769cedf 100644 --- a/x-pack/plugins/files/server/file_service/file_service.ts +++ b/src/plugins/files/server/file_service/file_service.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { FilesMetrics, File, FileJSON } from '../../common'; diff --git a/x-pack/plugins/files/server/file_service/file_service_factory.ts b/src/plugins/files/server/file_service/file_service_factory.ts similarity index 96% rename from x-pack/plugins/files/server/file_service/file_service_factory.ts rename to src/plugins/files/server/file_service/file_service_factory.ts index 393777c9a9abf..50ceafb6fc249 100644 --- a/x-pack/plugins/files/server/file_service/file_service_factory.ts +++ b/src/plugins/files/server/file_service/file_service_factory.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { diff --git a/x-pack/plugins/files/server/file_service/index.ts b/src/plugins/files/server/file_service/index.ts similarity index 71% rename from x-pack/plugins/files/server/file_service/index.ts rename to src/plugins/files/server/file_service/index.ts index 457e5f3d4dfb8..5d332a51d3a52 100644 --- a/x-pack/plugins/files/server/file_service/index.ts +++ b/src/plugins/files/server/file_service/index.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { FileServiceFactoryImpl as FileServiceFactory } from './file_service_factory'; diff --git a/x-pack/plugins/files/server/file_service/internal_file_service.ts b/src/plugins/files/server/file_service/internal_file_service.ts similarity index 95% rename from x-pack/plugins/files/server/file_service/internal_file_service.ts rename to src/plugins/files/server/file_service/internal_file_service.ts index 7768237e9fd50..7f6922a3842db 100644 --- a/x-pack/plugins/files/server/file_service/internal_file_service.ts +++ b/src/plugins/files/server/file_service/internal_file_service.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { Logger, SavedObjectsErrorHelpers } from '@kbn/core/server'; diff --git a/x-pack/plugins/files/server/file_share_service/errors.ts b/src/plugins/files/server/file_share_service/errors.ts similarity index 74% rename from x-pack/plugins/files/server/file_share_service/errors.ts rename to src/plugins/files/server/file_share_service/errors.ts index 89979f0689979..193b30e6e1881 100644 --- a/x-pack/plugins/files/server/file_share_service/errors.ts +++ b/src/plugins/files/server/file_share_service/errors.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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. */ /* eslint-disable max-classes-per-file */ diff --git a/x-pack/plugins/files/server/file_share_service/generate_share_token.test.ts b/src/plugins/files/server/file_share_service/generate_share_token.test.ts similarity index 70% rename from x-pack/plugins/files/server/file_share_service/generate_share_token.test.ts rename to src/plugins/files/server/file_share_service/generate_share_token.test.ts index 93767c7484986..53122395f6685 100644 --- a/x-pack/plugins/files/server/file_share_service/generate_share_token.test.ts +++ b/src/plugins/files/server/file_share_service/generate_share_token.test.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { generateShareToken } from './generate_share_token'; diff --git a/x-pack/plugins/files/server/file_share_service/generate_share_token.ts b/src/plugins/files/server/file_share_service/generate_share_token.ts similarity index 82% rename from x-pack/plugins/files/server/file_share_service/generate_share_token.ts rename to src/plugins/files/server/file_share_service/generate_share_token.ts index ef779db49223a..d20bf8bd97391 100644 --- a/x-pack/plugins/files/server/file_share_service/generate_share_token.ts +++ b/src/plugins/files/server/file_share_service/generate_share_token.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 crypto from 'crypto'; diff --git a/x-pack/plugins/files/server/file_share_service/index.ts b/src/plugins/files/server/file_share_service/index.ts similarity index 74% rename from x-pack/plugins/files/server/file_share_service/index.ts rename to src/plugins/files/server/file_share_service/index.ts index dd52ec05777c1..d4f2f1eba9df6 100644 --- a/x-pack/plugins/files/server/file_share_service/index.ts +++ b/src/plugins/files/server/file_share_service/index.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { InternalFileShareService } from './internal_file_share_service'; diff --git a/x-pack/plugins/files/server/file_share_service/internal_file_share_service.ts b/src/plugins/files/server/file_share_service/internal_file_share_service.ts similarity index 97% rename from x-pack/plugins/files/server/file_share_service/internal_file_share_service.ts rename to src/plugins/files/server/file_share_service/internal_file_share_service.ts index 4d5bd95bf4b28..beef345cc8510 100644 --- a/x-pack/plugins/files/server/file_share_service/internal_file_share_service.ts +++ b/src/plugins/files/server/file_share_service/internal_file_share_service.ts @@ -1,9 +1,11 @@ /* * 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. + * 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 moment from 'moment'; import { SavedObjectsClientContract, diff --git a/x-pack/plugins/files/server/file_share_service/types.ts b/src/plugins/files/server/file_share_service/types.ts similarity index 85% rename from x-pack/plugins/files/server/file_share_service/types.ts rename to src/plugins/files/server/file_share_service/types.ts index bf3147d933083..9e353172eb7aa 100644 --- a/x-pack/plugins/files/server/file_share_service/types.ts +++ b/src/plugins/files/server/file_share_service/types.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { FileShareJSON, FileShare } from '../../common/types'; diff --git a/x-pack/plugins/files/server/index.ts b/src/plugins/files/server/index.ts similarity index 85% rename from x-pack/plugins/files/server/index.ts rename to src/plugins/files/server/index.ts index fe2bd3e69eec0..5fb3a1e7f6c8e 100755 --- a/x-pack/plugins/files/server/index.ts +++ b/src/plugins/files/server/index.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { PluginInitializerContext } from '@kbn/core/server'; diff --git a/x-pack/plugins/files/server/integration_tests/README.md b/src/plugins/files/server/integration_tests/README.md similarity index 100% rename from x-pack/plugins/files/server/integration_tests/README.md rename to src/plugins/files/server/integration_tests/README.md diff --git a/x-pack/plugins/files/server/integration_tests/file_service.test.ts b/src/plugins/files/server/integration_tests/file_service.test.ts similarity index 98% rename from x-pack/plugins/files/server/integration_tests/file_service.test.ts rename to src/plugins/files/server/integration_tests/file_service.test.ts index 9ea208ca29855..30c3ecd5d9e4d 100644 --- a/x-pack/plugins/files/server/integration_tests/file_service.test.ts +++ b/src/plugins/files/server/integration_tests/file_service.test.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { CoreStart, ElasticsearchClient } from '@kbn/core/server'; @@ -37,7 +38,6 @@ describe('FileService', () => { let fileService: FileServiceStart; let blobStorageService: BlobStorageService; let esClient: ElasticsearchClient; - let coreSetup: Awaited>; let coreStart: CoreStart; let fileServiceFactory: FileServiceFactory; let security: ReturnType; @@ -48,8 +48,7 @@ describe('FileService', () => { manageES = await startES(); kbnRoot = createRootWithCorePlugins(); await kbnRoot.preboot(); - coreSetup = await kbnRoot.setup(); - FileServiceFactory.setup(coreSetup.savedObjects); + await kbnRoot.setup(); coreStart = await kbnRoot.start(); setFileKindsRegistry(new FileKindsRegistryImpl()); const fileKindsRegistry = getFileKindsRegistry(); diff --git a/x-pack/plugins/files/server/mocks.ts b/src/plugins/files/server/mocks.ts similarity index 92% rename from x-pack/plugins/files/server/mocks.ts rename to src/plugins/files/server/mocks.ts index de9a495818ff2..60f0b5c38ee8d 100644 --- a/x-pack/plugins/files/server/mocks.ts +++ b/src/plugins/files/server/mocks.ts @@ -1,9 +1,11 @@ /* * 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. + * 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 { KibanaRequest } from '@kbn/core/server'; import { DeeplyMockedKeys } from '@kbn/utility-types-jest'; import * as stream from 'stream'; diff --git a/x-pack/plugins/files/server/plugin.ts b/src/plugins/files/server/plugin.ts similarity index 94% rename from x-pack/plugins/files/server/plugin.ts rename to src/plugins/files/server/plugin.ts index 08357e28bd3d0..95408f1fc18c5 100755 --- a/x-pack/plugins/files/server/plugin.ts +++ b/src/plugins/files/server/plugin.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { diff --git a/x-pack/plugins/files/server/routes/api_routes.ts b/src/plugins/files/server/routes/api_routes.ts similarity index 89% rename from x-pack/plugins/files/server/routes/api_routes.ts rename to src/plugins/files/server/routes/api_routes.ts index b40696bfe61e7..1c0df1808f22b 100644 --- a/x-pack/plugins/files/server/routes/api_routes.ts +++ b/src/plugins/files/server/routes/api_routes.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { diff --git a/x-pack/plugins/files/server/routes/common.test.ts b/src/plugins/files/server/routes/common.test.ts similarity index 91% rename from x-pack/plugins/files/server/routes/common.test.ts rename to src/plugins/files/server/routes/common.test.ts index 1f9292e3ff07a..3b10adb5226f9 100644 --- a/x-pack/plugins/files/server/routes/common.test.ts +++ b/src/plugins/files/server/routes/common.test.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { File } from '../file'; diff --git a/x-pack/plugins/files/server/routes/common.ts b/src/plugins/files/server/routes/common.ts similarity index 87% rename from x-pack/plugins/files/server/routes/common.ts rename to src/plugins/files/server/routes/common.ts index 8e17a39511b53..aba84ee6487ec 100644 --- a/x-pack/plugins/files/server/routes/common.ts +++ b/src/plugins/files/server/routes/common.ts @@ -1,9 +1,11 @@ /* * 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. + * 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 mime from 'mime'; import type { ResponseHeaders } from '@kbn/core/server'; import type { File } from '../../common/types'; diff --git a/x-pack/plugins/files/server/routes/common_schemas.ts b/src/plugins/files/server/routes/common_schemas.ts similarity index 87% rename from x-pack/plugins/files/server/routes/common_schemas.ts rename to src/plugins/files/server/routes/common_schemas.ts index 449e4995ac5dd..3f99f1cca8059 100644 --- a/x-pack/plugins/files/server/routes/common_schemas.ts +++ b/src/plugins/files/server/routes/common_schemas.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { schema } from '@kbn/config-schema'; diff --git a/x-pack/plugins/files/server/routes/file_kind/create.ts b/src/plugins/files/server/routes/file_kind/create.ts similarity index 89% rename from x-pack/plugins/files/server/routes/file_kind/create.ts rename to src/plugins/files/server/routes/file_kind/create.ts index 78a7260771a16..7609265313bd4 100644 --- a/x-pack/plugins/files/server/routes/file_kind/create.ts +++ b/src/plugins/files/server/routes/file_kind/create.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { schema } from '@kbn/config-schema'; diff --git a/x-pack/plugins/files/server/routes/file_kind/delete.ts b/src/plugins/files/server/routes/file_kind/delete.ts similarity index 89% rename from x-pack/plugins/files/server/routes/file_kind/delete.ts rename to src/plugins/files/server/routes/file_kind/delete.ts index ec23525f2686a..da7bb7bade214 100644 --- a/x-pack/plugins/files/server/routes/file_kind/delete.ts +++ b/src/plugins/files/server/routes/file_kind/delete.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { schema } from '@kbn/config-schema'; diff --git a/x-pack/plugins/files/server/routes/file_kind/download.ts b/src/plugins/files/server/routes/file_kind/download.ts similarity index 90% rename from x-pack/plugins/files/server/routes/file_kind/download.ts rename to src/plugins/files/server/routes/file_kind/download.ts index d4ae37ddb6623..4776d37485c93 100644 --- a/x-pack/plugins/files/server/routes/file_kind/download.ts +++ b/src/plugins/files/server/routes/file_kind/download.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { schema } from '@kbn/config-schema'; diff --git a/x-pack/plugins/files/server/routes/file_kind/enhance_router.ts b/src/plugins/files/server/routes/file_kind/enhance_router.ts similarity index 89% rename from x-pack/plugins/files/server/routes/file_kind/enhance_router.ts rename to src/plugins/files/server/routes/file_kind/enhance_router.ts index b2a4f58fb8fd1..87be1c4e08ea0 100644 --- a/x-pack/plugins/files/server/routes/file_kind/enhance_router.ts +++ b/src/plugins/files/server/routes/file_kind/enhance_router.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { RequestHandler, RouteMethod, RouteRegistrar } from '@kbn/core/server'; diff --git a/x-pack/plugins/files/server/routes/file_kind/get_by_id.ts b/src/plugins/files/server/routes/file_kind/get_by_id.ts similarity index 88% rename from x-pack/plugins/files/server/routes/file_kind/get_by_id.ts rename to src/plugins/files/server/routes/file_kind/get_by_id.ts index 4d86e05564fdf..914d1e70b77d4 100644 --- a/x-pack/plugins/files/server/routes/file_kind/get_by_id.ts +++ b/src/plugins/files/server/routes/file_kind/get_by_id.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { schema } from '@kbn/config-schema'; diff --git a/x-pack/plugins/files/server/routes/file_kind/helpers.ts b/src/plugins/files/server/routes/file_kind/helpers.ts similarity index 85% rename from x-pack/plugins/files/server/routes/file_kind/helpers.ts rename to src/plugins/files/server/routes/file_kind/helpers.ts index 12006fb87837b..4ec6afccebd75 100644 --- a/x-pack/plugins/files/server/routes/file_kind/helpers.ts +++ b/src/plugins/files/server/routes/file_kind/helpers.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { IKibanaResponse, kibanaResponseFactory } from '@kbn/core/server'; diff --git a/x-pack/plugins/files/server/routes/file_kind/index.ts b/src/plugins/files/server/routes/file_kind/index.ts similarity index 86% rename from x-pack/plugins/files/server/routes/file_kind/index.ts rename to src/plugins/files/server/routes/file_kind/index.ts index 1bd61b8fb2f2e..40649656790c3 100644 --- a/x-pack/plugins/files/server/routes/file_kind/index.ts +++ b/src/plugins/files/server/routes/file_kind/index.ts @@ -1,9 +1,11 @@ /* * 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. + * 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 { FileKind } from '../../../common/types'; import { FilesRouter } from '../types'; diff --git a/x-pack/plugins/files/server/routes/file_kind/integration_tests/file_kind_http.test.ts b/src/plugins/files/server/routes/file_kind/integration_tests/file_kind_http.test.ts similarity index 97% rename from x-pack/plugins/files/server/routes/file_kind/integration_tests/file_kind_http.test.ts rename to src/plugins/files/server/routes/file_kind/integration_tests/file_kind_http.test.ts index 6acd1e3317344..58a6d195a0bdb 100644 --- a/x-pack/plugins/files/server/routes/file_kind/integration_tests/file_kind_http.test.ts +++ b/src/plugins/files/server/routes/file_kind/integration_tests/file_kind_http.test.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { UpdatableFileMetadata } from '../../../../common/types'; diff --git a/x-pack/plugins/files/server/routes/file_kind/list.ts b/src/plugins/files/server/routes/file_kind/list.ts similarity index 91% rename from x-pack/plugins/files/server/routes/file_kind/list.ts rename to src/plugins/files/server/routes/file_kind/list.ts index 96d1d8cc27273..54d8e98fc24f6 100644 --- a/x-pack/plugins/files/server/routes/file_kind/list.ts +++ b/src/plugins/files/server/routes/file_kind/list.ts @@ -1,9 +1,11 @@ /* * 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. + * 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 { schema } from '@kbn/config-schema'; import type { FileJSON, FileKind } from '../../../common/types'; import { CreateRouteDefinition, FILES_API_ROUTES } from '../api_routes'; diff --git a/x-pack/plugins/files/server/routes/file_kind/share/get.ts b/src/plugins/files/server/routes/file_kind/share/get.ts similarity index 89% rename from x-pack/plugins/files/server/routes/file_kind/share/get.ts rename to src/plugins/files/server/routes/file_kind/share/get.ts index b39e7c2ccbc92..07e00d4ad800b 100644 --- a/x-pack/plugins/files/server/routes/file_kind/share/get.ts +++ b/src/plugins/files/server/routes/file_kind/share/get.ts @@ -1,9 +1,11 @@ /* * 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. + * 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 { schema } from '@kbn/config-schema'; import { FileShareNotFoundError } from '../../../file_share_service/errors'; diff --git a/x-pack/plugins/files/server/routes/file_kind/share/list.ts b/src/plugins/files/server/routes/file_kind/share/list.ts similarity index 88% rename from x-pack/plugins/files/server/routes/file_kind/share/list.ts rename to src/plugins/files/server/routes/file_kind/share/list.ts index 91a893d2dd31a..470102cb815f0 100644 --- a/x-pack/plugins/files/server/routes/file_kind/share/list.ts +++ b/src/plugins/files/server/routes/file_kind/share/list.ts @@ -1,9 +1,11 @@ /* * 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. + * 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 { schema } from '@kbn/config-schema'; import { CreateRouteDefinition, FILES_API_ROUTES } from '../../api_routes'; diff --git a/x-pack/plugins/files/server/routes/file_kind/share/share.ts b/src/plugins/files/server/routes/file_kind/share/share.ts similarity index 92% rename from x-pack/plugins/files/server/routes/file_kind/share/share.ts rename to src/plugins/files/server/routes/file_kind/share/share.ts index f4c8f660e080b..3d3c5adb53e70 100644 --- a/x-pack/plugins/files/server/routes/file_kind/share/share.ts +++ b/src/plugins/files/server/routes/file_kind/share/share.ts @@ -1,9 +1,11 @@ /* * 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. + * 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 { schema } from '@kbn/config-schema'; import { ExpiryDateInThePastError } from '../../../file_share_service/errors'; import { CreateHandler, FileKindRouter } from '../types'; diff --git a/x-pack/plugins/files/server/routes/file_kind/share/unshare.ts b/src/plugins/files/server/routes/file_kind/share/unshare.ts similarity index 88% rename from x-pack/plugins/files/server/routes/file_kind/share/unshare.ts rename to src/plugins/files/server/routes/file_kind/share/unshare.ts index 49e59898433b1..a41f5db8a5970 100644 --- a/x-pack/plugins/files/server/routes/file_kind/share/unshare.ts +++ b/src/plugins/files/server/routes/file_kind/share/unshare.ts @@ -1,9 +1,11 @@ /* * 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. + * 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 { schema } from '@kbn/config-schema'; import { CreateRouteDefinition, FILES_API_ROUTES } from '../../api_routes'; diff --git a/x-pack/plugins/files/server/routes/file_kind/types.ts b/src/plugins/files/server/routes/file_kind/types.ts similarity index 81% rename from x-pack/plugins/files/server/routes/file_kind/types.ts rename to src/plugins/files/server/routes/file_kind/types.ts index 148767f27a285..c82b097d7472c 100644 --- a/x-pack/plugins/files/server/routes/file_kind/types.ts +++ b/src/plugins/files/server/routes/file_kind/types.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { IRouter, RequestHandler } from '@kbn/core/server'; diff --git a/x-pack/plugins/files/server/routes/file_kind/update.ts b/src/plugins/files/server/routes/file_kind/update.ts similarity index 89% rename from x-pack/plugins/files/server/routes/file_kind/update.ts rename to src/plugins/files/server/routes/file_kind/update.ts index 9621fc56c311c..048e846322c5b 100644 --- a/x-pack/plugins/files/server/routes/file_kind/update.ts +++ b/src/plugins/files/server/routes/file_kind/update.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { schema } from '@kbn/config-schema'; diff --git a/x-pack/plugins/files/server/routes/file_kind/upload.test.ts b/src/plugins/files/server/routes/file_kind/upload.test.ts similarity index 93% rename from x-pack/plugins/files/server/routes/file_kind/upload.test.ts rename to src/plugins/files/server/routes/file_kind/upload.test.ts index 59a906f5ea988..49a207ea80345 100644 --- a/x-pack/plugins/files/server/routes/file_kind/upload.test.ts +++ b/src/plugins/files/server/routes/file_kind/upload.test.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { Readable } from 'stream'; diff --git a/x-pack/plugins/files/server/routes/file_kind/upload.ts b/src/plugins/files/server/routes/file_kind/upload.ts similarity index 94% rename from x-pack/plugins/files/server/routes/file_kind/upload.ts rename to src/plugins/files/server/routes/file_kind/upload.ts index 10c230de469b9..88ef492ba11fb 100644 --- a/x-pack/plugins/files/server/routes/file_kind/upload.ts +++ b/src/plugins/files/server/routes/file_kind/upload.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { schema } from '@kbn/config-schema'; diff --git a/x-pack/plugins/files/server/routes/find.ts b/src/plugins/files/server/routes/find.ts similarity index 92% rename from x-pack/plugins/files/server/routes/find.ts rename to src/plugins/files/server/routes/find.ts index 80a398189dae3..4ad1deaceb076 100644 --- a/x-pack/plugins/files/server/routes/find.ts +++ b/src/plugins/files/server/routes/find.ts @@ -1,9 +1,11 @@ /* * 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. + * 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 { schema } from '@kbn/config-schema'; import type { CreateHandler, FilesRouter } from './types'; import { FileJSON } from '../../common'; diff --git a/x-pack/plugins/files/server/routes/index.ts b/src/plugins/files/server/routes/index.ts similarity index 74% rename from x-pack/plugins/files/server/routes/index.ts rename to src/plugins/files/server/routes/index.ts index 0a71599ac773e..69565ebc8492e 100644 --- a/x-pack/plugins/files/server/routes/index.ts +++ b/src/plugins/files/server/routes/index.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { FilesRouter } from './types'; diff --git a/x-pack/plugins/files/server/routes/integration_tests/routes.test.ts b/src/plugins/files/server/routes/integration_tests/routes.test.ts similarity index 97% rename from x-pack/plugins/files/server/routes/integration_tests/routes.test.ts rename to src/plugins/files/server/routes/integration_tests/routes.test.ts index a01f377a0364b..b7cfb34e0638d 100644 --- a/x-pack/plugins/files/server/routes/integration_tests/routes.test.ts +++ b/src/plugins/files/server/routes/integration_tests/routes.test.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { CreateFileKindHttpEndpoint } from '../../../common/api_routes'; diff --git a/x-pack/plugins/files/server/routes/metrics.ts b/src/plugins/files/server/routes/metrics.ts similarity index 84% rename from x-pack/plugins/files/server/routes/metrics.ts rename to src/plugins/files/server/routes/metrics.ts index 9ae898e17bb87..6e3a63b7b67c6 100644 --- a/x-pack/plugins/files/server/routes/metrics.ts +++ b/src/plugins/files/server/routes/metrics.ts @@ -1,9 +1,11 @@ /* * 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. + * 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 { FILES_MANAGE_PRIVILEGE } from '../../common/constants'; import type { FilesRouter } from './types'; diff --git a/x-pack/plugins/files/server/routes/public_facing/download.ts b/src/plugins/files/server/routes/public_facing/download.ts similarity index 91% rename from x-pack/plugins/files/server/routes/public_facing/download.ts rename to src/plugins/files/server/routes/public_facing/download.ts index bd77cabaf7e4d..1635f9a7d39fd 100644 --- a/x-pack/plugins/files/server/routes/public_facing/download.ts +++ b/src/plugins/files/server/routes/public_facing/download.ts @@ -1,9 +1,11 @@ /* * 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. + * 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 { schema } from '@kbn/config-schema'; import { Readable } from 'stream'; import { NoDownloadAvailableError } from '../../file/errors'; diff --git a/x-pack/plugins/files/server/routes/test_utils.ts b/src/plugins/files/server/routes/test_utils.ts similarity index 82% rename from x-pack/plugins/files/server/routes/test_utils.ts rename to src/plugins/files/server/routes/test_utils.ts index 3ec4233fbcbf4..58f00ddbab0fc 100644 --- a/x-pack/plugins/files/server/routes/test_utils.ts +++ b/src/plugins/files/server/routes/test_utils.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { loggingSystemMock } from '@kbn/core/server/mocks'; diff --git a/x-pack/plugins/files/server/routes/types.ts b/src/plugins/files/server/routes/types.ts similarity index 86% rename from x-pack/plugins/files/server/routes/types.ts rename to src/plugins/files/server/routes/types.ts index f47808a85c3bf..cfe47a7652359 100644 --- a/x-pack/plugins/files/server/routes/types.ts +++ b/src/plugins/files/server/routes/types.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { diff --git a/x-pack/plugins/files/server/saved_objects/file.ts b/src/plugins/files/server/saved_objects/file.ts similarity index 85% rename from x-pack/plugins/files/server/saved_objects/file.ts rename to src/plugins/files/server/saved_objects/file.ts index 352a00016f86d..af8f7ef9ef089 100644 --- a/x-pack/plugins/files/server/saved_objects/file.ts +++ b/src/plugins/files/server/saved_objects/file.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { SavedObjectsType, SavedObjectsFieldMapping } from '@kbn/core/server'; diff --git a/x-pack/plugins/files/server/saved_objects/file_share.ts b/src/plugins/files/server/saved_objects/file_share.ts similarity index 84% rename from x-pack/plugins/files/server/saved_objects/file_share.ts rename to src/plugins/files/server/saved_objects/file_share.ts index e71253582b381..244a027e7f73c 100644 --- a/x-pack/plugins/files/server/saved_objects/file_share.ts +++ b/src/plugins/files/server/saved_objects/file_share.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { SavedObjectsFieldMapping, SavedObjectsType } from '@kbn/core/server'; diff --git a/x-pack/plugins/files/server/saved_objects/index.ts b/src/plugins/files/server/saved_objects/index.ts similarity index 67% rename from x-pack/plugins/files/server/saved_objects/index.ts rename to src/plugins/files/server/saved_objects/index.ts index 2871e4f52f272..c8c03781db99d 100644 --- a/x-pack/plugins/files/server/saved_objects/index.ts +++ b/src/plugins/files/server/saved_objects/index.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { fileObjectType } from './file'; diff --git a/x-pack/plugins/files/server/test_utils/index.ts b/src/plugins/files/server/test_utils/index.ts similarity index 63% rename from x-pack/plugins/files/server/test_utils/index.ts rename to src/plugins/files/server/test_utils/index.ts index 98215f70649db..5e5b871cece12 100644 --- a/x-pack/plugins/files/server/test_utils/index.ts +++ b/src/plugins/files/server/test_utils/index.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { setupIntegrationEnvironment } from './setup_integration_environment'; diff --git a/x-pack/plugins/files/server/test_utils/setup_integration_environment.ts b/src/plugins/files/server/test_utils/setup_integration_environment.ts similarity index 92% rename from x-pack/plugins/files/server/test_utils/setup_integration_environment.ts rename to src/plugins/files/server/test_utils/setup_integration_environment.ts index 1c31649d1e8f2..e0c01ca8f0a6d 100644 --- a/x-pack/plugins/files/server/test_utils/setup_integration_environment.ts +++ b/src/plugins/files/server/test_utils/setup_integration_environment.ts @@ -1,8 +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; you may not use this file except in compliance with the Elastic License - * 2.0. + * 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 { defaults } from 'lodash'; @@ -20,11 +21,6 @@ export type TestEnvironmentUtils = Awaited/x-pack/plugins/files'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/files', - coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/x-pack/plugins/files/{common,public,server}/**/*.{js,ts,tsx}'], -}; diff --git a/x-pack/plugins/files/public/components/file_picker/i18n_texts.ts b/x-pack/plugins/files/public/components/file_picker/i18n_texts.ts deleted file mode 100644 index 59ea5457ec6c4..0000000000000 --- a/x-pack/plugins/files/public/components/file_picker/i18n_texts.ts +++ /dev/null @@ -1,49 +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; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { i18n } from '@kbn/i18n'; - -export const i18nTexts = { - title: i18n.translate('xpack.files.filePicker.title', { - defaultMessage: 'Select a file', - }), - loadingFilesErrorTitle: i18n.translate('xpack.files.filePicker.error.loadingTitle', { - defaultMessage: 'Could not load files', - }), - retryButtonLabel: i18n.translate('xpack.files.filePicker.error.retryButtonLabel', { - defaultMessage: 'Retry', - }), - emptyStatePrompt: i18n.translate('xpack.files.filePicker.emptyStatePrompt', { - defaultMessage: 'No files found', - }), - emptyStatePromptSubtitle: i18n.translate('xpack.files.filePicker.emptyStatePromptSubtitle', { - defaultMessage: 'Upload your first file.', - }), - selectFileLabel: i18n.translate('xpack.files.filePicker.selectFileButtonLable', { - defaultMessage: 'Select file', - }), - selectFilesLabel: (nrOfFiles: number) => - i18n.translate('xpack.files.filePicker.selectFilesButtonLable', { - defaultMessage: 'Select {nrOfFiles} files', - values: { nrOfFiles }, - }), - searchFieldPlaceholder: i18n.translate('xpack.files.filePicker.searchFieldPlaceholder', { - defaultMessage: 'my-file-*', - }), - emptyFileGridPrompt: i18n.translate('xpack.files.filePicker.emptyGridPrompt', { - defaultMessage: 'No files matched filter', - }), - loadMoreButtonLabel: i18n.translate('xpack.files.filePicker.loadMoreButtonLabel', { - defaultMessage: 'Load more', - }), - clearFilterButton: i18n.translate('xpack.files.filePicker.clearFilterButtonLabel', { - defaultMessage: 'Clear filter', - }), - uploadFilePlaceholderText: i18n.translate('xpack.files.filePicker.uploadFilePlaceholderText', { - defaultMessage: 'Drag and drop to upload new files', - }), -}; diff --git a/x-pack/plugins/files/public/components/upload_file/i18n_texts.ts b/x-pack/plugins/files/public/components/upload_file/i18n_texts.ts deleted file mode 100644 index b58616e3d86b0..0000000000000 --- a/x-pack/plugins/files/public/components/upload_file/i18n_texts.ts +++ /dev/null @@ -1,41 +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; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { i18n } from '@kbn/i18n'; - -export const i18nTexts = { - defaultPickerLabel: i18n.translate('xpack.files.uploadFile.defaultFilePickerLabel', { - defaultMessage: 'Upload a file', - }), - upload: i18n.translate('xpack.files.uploadFile.uploadButtonLabel', { - defaultMessage: 'Upload', - }), - uploading: i18n.translate('xpack.files.uploadFile.uploadingButtonLabel', { - defaultMessage: 'Uploading', - }), - uploadComplete: i18n.translate('xpack.files.uploadFile.uploadCompleteButtonLabel', { - defaultMessage: 'Upload complete', - }), - retry: i18n.translate('xpack.files.uploadFile.retryButtonLabel', { - defaultMessage: 'Retry', - }), - clear: i18n.translate('xpack.files.uploadFile.clearButtonLabel', { - defaultMessage: 'Clear', - }), - cancel: i18n.translate('xpack.files.uploadFile.cancelButtonLabel', { - defaultMessage: 'Cancel', - }), - uploadDone: i18n.translate('xpack.files.uploadFile.uploadDoneToolTipContent', { - defaultMessage: 'Your file was successfully uploaded!', - }), - fileTooLarge: (expectedSize: string) => - i18n.translate('xpack.files.uploadFile.fileTooLargeErrorMessage', { - defaultMessage: - 'File is too large. Maximum size is {expectedSize, plural, one {# byte} other {# bytes} }.', - values: { expectedSize }, - }), -}; diff --git a/x-pack/plugins/security_solution/scripts/endpoint/agent_emulator/services/endpoint_response_actions.ts b/x-pack/plugins/security_solution/scripts/endpoint/agent_emulator/services/endpoint_response_actions.ts index e778a94e90ac9..ddbdd660efb52 100644 --- a/x-pack/plugins/security_solution/scripts/endpoint/agent_emulator/services/endpoint_response_actions.ts +++ b/x-pack/plugins/security_solution/scripts/endpoint/agent_emulator/services/endpoint_response_actions.ts @@ -226,7 +226,7 @@ export const sendEndpointActionResponse = async ( // Index the file content (just one chunk) // call to `.index()` copied from File plugin here: - // https://github.com/elastic/kibana/blob/main/x-pack/plugins/files/server/blob_storage_service/adapters/es/content_stream/content_stream.ts#L195 + // https://github.com/elastic/kibana/blob/main/src/plugins/files/server/blob_storage_service/adapters/es/content_stream/content_stream.ts#L195 await esClient.index( { index: FILE_STORAGE_DATA_INDEX, diff --git a/x-pack/plugins/security_solution/tsconfig.json b/x-pack/plugins/security_solution/tsconfig.json index 51a166cccd5e5..9dd16bd332c13 100644 --- a/x-pack/plugins/security_solution/tsconfig.json +++ b/x-pack/plugins/security_solution/tsconfig.json @@ -19,6 +19,7 @@ { "path": "../../../src/core/tsconfig.json" }, { "path": "../../../src/plugins/data/tsconfig.json" }, { "path": "../../../src/plugins/embeddable/tsconfig.json" }, + { "path": "../../../src/plugins/files/tsconfig.json"}, { "path": "../../../src/plugins/home/tsconfig.json" }, { "path": "../../../src/plugins/inspector/tsconfig.json" }, { "path": "../../../src/plugins/ui_actions/tsconfig.json" }, @@ -46,7 +47,6 @@ { "path": "../security/tsconfig.json" }, { "path": "../spaces/tsconfig.json" }, { "path": "../threat_intelligence/tsconfig.json" }, - { "path": "../timelines/tsconfig.json" }, - { "path": "../files/tsconfig.json"} + { "path": "../timelines/tsconfig.json" } ] } diff --git a/x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json b/x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json index 5eb2c8d5a5869..aa1ad20363166 100644 --- a/x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json +++ b/x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json @@ -5116,83 +5116,6 @@ } } }, - "files": { - "properties": { - "countByExtension": { - "type": "array", - "items": { - "properties": { - "extension": { - "type": "keyword" - }, - "count": { - "type": "long" - } - } - } - }, - "countByStatus": { - "properties": { - "AWAITING_UPLOAD": { - "type": "long", - "_meta": { - "description": "Number of files awaiting upload" - } - }, - "DELETED": { - "type": "long", - "_meta": { - "description": "Number of files that are marked as deleted" - } - }, - "READY": { - "type": "long", - "_meta": { - "description": "Number of files that are ready for download" - } - }, - "UPLOADING": { - "type": "long", - "_meta": { - "description": "Number of files that are currently uploading" - } - }, - "UPLOAD_ERROR": { - "type": "long", - "_meta": { - "description": "Number of files that failed to upload" - } - } - } - }, - "storage": { - "properties": { - "esFixedSizeIndex": { - "properties": { - "capacity": { - "type": "long", - "_meta": { - "description": "Capacity of the fixed size index" - } - }, - "available": { - "type": "long", - "_meta": { - "description": "Available storage in bytes" - } - }, - "used": { - "type": "long", - "_meta": { - "description": "Used storage in bytes" - } - } - } - } - } - } - } - }, "fleet": { "properties": { "agents_enabled": { From 91f545384332d98e004438b95722210ef393876a Mon Sep 17 00:00:00 2001 From: Thomas Watson Date: Mon, 31 Oct 2022 14:47:52 +0100 Subject: [PATCH 032/111] Upgrade @elastic/makelogs from v6.0.0 to v6.1.1 (#144231) --- package.json | 2 +- yarn.lock | 175 ++++----------------------------------------------- 2 files changed, 12 insertions(+), 165 deletions(-) diff --git a/package.json b/package.json index 10d91828024d9..54dd5abbe12c4 100644 --- a/package.json +++ b/package.json @@ -703,7 +703,7 @@ "@cypress/snapshot": "^2.1.7", "@cypress/webpack-preprocessor": "^5.12.2", "@elastic/eslint-plugin-eui": "0.0.2", - "@elastic/makelogs": "^6.0.0", + "@elastic/makelogs": "^6.1.1", "@elastic/synthetics": "^1.0.0-beta.22", "@emotion/babel-preset-css-prop": "^11.10.0", "@emotion/jest": "^11.10.0", diff --git a/yarn.lock b/yarn.lock index d75fc26e8af5d..26a0a9e6b52dd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1585,10 +1585,10 @@ resolved "https://registry.yarnpkg.com/@elastic/filesaver/-/filesaver-1.1.2.tgz#1998ffb3cd89c9da4ec12a7793bfcae10e30c77a" integrity sha512-YZbSufYFBhAj+S2cJgiKALoxIJevqXN2MSr6Yqr42rJdaPuM31cj6pUDwflkql1oDjupqD9la+MfxPFjXI1JFQ== -"@elastic/makelogs@^6.0.0": - version "6.0.0" - resolved "https://registry.yarnpkg.com/@elastic/makelogs/-/makelogs-6.0.0.tgz#d6d74d5d0f020123c54160370d49ca5e0aab1fe1" - integrity sha512-i+BMxM3pKy9CAqcvMvdHLxvM0Dlnx+4JeScWHM9fFn4+2rAHGCqWflm/UGhTgQh3xn+yXKMLoEbfMIi5Aw1ysw== +"@elastic/makelogs@^6.1.1": + version "6.1.1" + resolved "https://registry.yarnpkg.com/@elastic/makelogs/-/makelogs-6.1.1.tgz#5bc173b16acdfd7844fd85c97824ddcffd67cfb3" + integrity sha512-cmfXFQITwyT4SV+Ryerg/vVbGQ9E2BhYKQ9flG85Ba3blGVmOjkgv7TYQam6xAIvGXFGBBrcyqEwmuw7xZ5ZNQ== dependencies: async "^1.4.2" commander "^5.0.0" @@ -1597,7 +1597,6 @@ moment "^2.10.6" progress "^1.1.8" through2 "^2.0.0" - update-notifier "^0.5.0" "@elastic/node-crypto@1.1.1": version "1.1.1" @@ -10759,20 +10758,6 @@ config-chain@^1.1.12: ini "^1.3.4" proto-list "~1.2.1" -configstore@^1.0.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/configstore/-/configstore-1.4.0.tgz#c35781d0501d268c25c54b8b17f6240e8a4fb021" - integrity sha1-w1eB0FAdJowlxUuLF/YkDopPsCE= - dependencies: - graceful-fs "^4.1.2" - mkdirp "^0.5.0" - object-assign "^4.0.1" - os-tmpdir "^1.0.0" - osenv "^0.1.0" - uuid "^2.0.1" - write-file-atomic "^1.1.2" - xdg-basedir "^2.0.0" - configstore@^5.0.1: version "5.0.1" resolved "https://registry.yarnpkg.com/configstore/-/configstore-5.0.1.tgz#d365021b5df4b98cdd187d6a3b0e3f6a7cc5ed96" @@ -12580,7 +12565,7 @@ duplexer@^0.1.2: resolved "https://registry.yarnpkg.com/duplexer/-/duplexer-0.1.2.tgz#3abe43aef3835f8ae077d136ddce0f276b0400e6" integrity sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg== -duplexify@^3.2.0, duplexify@^3.4.2, duplexify@^3.5.3: +duplexify@^3.4.2, duplexify@^3.5.3: version "3.7.1" resolved "https://registry.yarnpkg.com/duplexify/-/duplexify-3.7.1.tgz#2a4df5317f6ccfd91f86d6fd25d8d8a103b88309" integrity sha512-07z8uv2wMyS51kKhD1KsdXJg5WQ6t93RneqRxUHnskXVtlYYkLqM0gqStQZ3pj073g687jPCHrqNfCzawLYh5g== @@ -14957,22 +14942,6 @@ got@11.8.5, got@^11.8.2: p-cancelable "^2.0.0" responselike "^2.0.0" -got@^3.2.0: - version "3.3.1" - resolved "https://registry.yarnpkg.com/got/-/got-3.3.1.tgz#e5d0ed4af55fc3eef4d56007769d98192bcb2eca" - integrity sha1-5dDtSvVfw+701WAHdp2YGSvLLso= - dependencies: - duplexify "^3.2.0" - infinity-agent "^2.0.0" - is-redirect "^1.0.0" - is-stream "^1.0.0" - lowercase-keys "^1.0.0" - nested-error-stacks "^1.0.0" - object-assign "^3.0.0" - prepend-http "^1.0.0" - read-all-stream "^3.0.0" - timed-out "^2.0.0" - got@^9.6.0: version "9.6.0" resolved "https://registry.yarnpkg.com/got/-/got-9.6.0.tgz#edf45e7d67f99545705de1f7bbeeeb121765ed85" @@ -15846,11 +15815,6 @@ infer-owner@^1.0.3, infer-owner@^1.0.4: resolved "https://registry.yarnpkg.com/infer-owner/-/infer-owner-1.0.4.tgz#c4cefcaa8e51051c2a40ba2ce8a3d27295af9467" integrity sha512-IClj+Xz94+d7irH5qRyfJonOdfTzuDaifE6ZPWfx0N0+/ATZCbuTPq2prFl526urkQd90WyUKIh1DfBQ2hMz9A== -infinity-agent@^2.0.0: - version "2.0.3" - resolved "https://registry.yarnpkg.com/infinity-agent/-/infinity-agent-2.0.3.tgz#45e0e2ff7a9eb030b27d62b74b3744b7a7ac4216" - integrity sha1-ReDi/3qesDCyfWK3SzdEt6esQhY= - inflight@^1.0.4: version "1.0.6" resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" @@ -16345,11 +16309,6 @@ is-nil@^1.0.0: resolved "https://registry.yarnpkg.com/is-nil/-/is-nil-1.0.1.tgz#2daba29e0b585063875e7b539d071f5b15937969" integrity sha1-LauingtYUGOHXntTnQcfWxWTeWk= -is-npm@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-npm/-/is-npm-1.0.0.tgz#f2fb63a65e4905b406c86072765a1a4dc793b9f4" - integrity sha1-8vtjpl5JBbQGyGBydloaTceTufQ= - is-npm@^5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/is-npm/-/is-npm-5.0.0.tgz#43e8d65cc56e1b67f8d47262cf667099193f45a8" @@ -16474,11 +16433,6 @@ is-promise@^2.1, is-promise@^2.1.0: resolved "https://registry.yarnpkg.com/is-promise/-/is-promise-2.1.0.tgz#79a2a9ece7f096e80f36d2b2f3bc16c1ff4bf3fa" integrity sha1-eaKp7OfwlugPNtKy87wWwf9L8/o= -is-redirect@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-redirect/-/is-redirect-1.0.0.tgz#1d03dded53bd8db0f30c26e4f95d36fc7c87dc24" - integrity sha1-HQPd7VO9jbDzDCbk+V02/HyH3CQ= - is-regex@^1.0.4, is-regex@^1.0.5, is-regex@^1.1.2, is-regex@^1.1.4: version "1.1.4" resolved "https://registry.yarnpkg.com/is-regex/-/is-regex-1.1.4.tgz#eef5663cd59fa4c0ae339505323df6854bb15958" @@ -16509,7 +16463,7 @@ is-shared-array-buffer@^1.0.1: resolved "https://registry.yarnpkg.com/is-shared-array-buffer/-/is-shared-array-buffer-1.0.1.tgz#97b0c85fbdacb59c9c446fe653b82cf2b5b7cfe6" integrity sha512-IU0NmyknYZN0rChcKhRO1X8LYz5Isj/Fsqh8NJOSf+N/hCOTwy29F32Ik7a+QszE63IdvmwdTPDd6cZ5pg4cwA== -is-stream@^1.0.0, is-stream@^1.1.0: +is-stream@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-1.1.0.tgz#12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44" integrity sha1-EtSj3U5o4Lec6428hBc66A2RykQ= @@ -17921,13 +17875,6 @@ language-tags@^1.0.5: dependencies: language-subtag-registry "~0.3.2" -latest-version@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/latest-version/-/latest-version-1.0.1.tgz#72cfc46e3e8d1be651e1ebb54ea9f6ea96f374bb" - integrity sha1-cs/Ebj6NG+ZR4eu1Tqn26pbzdLs= - dependencies: - package-json "^1.0.0" - latest-version@^5.1.0: version "5.1.0" resolved "https://registry.yarnpkg.com/latest-version/-/latest-version-5.1.0.tgz#119dfe908fe38d15dfa43ecd13fa12ec8832face" @@ -19299,7 +19246,7 @@ mkdirp-classic@^0.5.2, mkdirp-classic@^0.5.3: resolved "https://registry.yarnpkg.com/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz#fa10c9115cc6d8865be221ba47ee9bed78601113" integrity sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A== -mkdirp@^0.5.0, mkdirp@^0.5.1, mkdirp@^0.5.3, mkdirp@~0.5.1: +mkdirp@^0.5.1, mkdirp@^0.5.3, mkdirp@~0.5.1: version "0.5.4" resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.4.tgz#fd01504a6797ec5c9be81ff43d204961ed64a512" integrity sha512-iG9AK/dJLtJ0XNgTuDbSyNS3zECqDlAhnQW4CsNxBG3LQJBbHmRX1egw39DmtOdCAqY+dKXV+sgPgilNWUKMVw== @@ -19645,13 +19592,6 @@ neo-async@^2.5.0, neo-async@^2.6.0, neo-async@^2.6.1, neo-async@^2.6.2: resolved "https://registry.yarnpkg.com/neo-async/-/neo-async-2.6.2.tgz#b4aafb93e3aeb2d8174ca53cf163ab7d7308305f" integrity sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw== -nested-error-stacks@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/nested-error-stacks/-/nested-error-stacks-1.0.2.tgz#19f619591519f096769a5ba9a86e6eeec823c3cf" - integrity sha1-GfYZWRUZ8JZ2mlupqG5u7sgjw88= - dependencies: - inherits "~2.0.1" - nested-error-stacks@^2.0.0, nested-error-stacks@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/nested-error-stacks/-/nested-error-stacks-2.1.0.tgz#0fbdcf3e13fe4994781280524f8b96b0cdff9c61" @@ -20093,11 +20033,6 @@ object-assign@4.X, object-assign@^4.0.1, object-assign@^4.1.0, object-assign@^4. resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" integrity sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg== -object-assign@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-3.0.0.tgz#9bedd5ca0897949bca47e7ff408062d549f587f2" - integrity sha1-m+3VygiXlJvKR+f/QIBi1Un1h/I= - object-copy@^0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/object-copy/-/object-copy-0.1.0.tgz#7e7d858b781bd7c991a41ba975ed3812754e998c" @@ -20442,7 +20377,7 @@ os-tmpdir@^1.0.0, os-tmpdir@~1.0.2: resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274" integrity sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ= -osenv@^0.1.0, osenv@^0.1.4: +osenv@^0.1.4: version "0.1.5" resolved "https://registry.yarnpkg.com/osenv/-/osenv-0.1.5.tgz#85cdfafaeb28e8677f416e287592b5f3f49ea410" integrity sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g== @@ -20594,14 +20529,6 @@ package-hash@^4.0.0: lodash.flattendeep "^4.4.0" release-zalgo "^1.0.0" -package-json@^1.0.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/package-json/-/package-json-1.2.0.tgz#c8ecac094227cdf76a316874ed05e27cc939a0e0" - integrity sha1-yOysCUInzfdqMWh07QXifMk5oOA= - dependencies: - got "^3.2.0" - registry-url "^3.0.0" - package-json@^6.3.0: version "6.5.0" resolved "https://registry.yarnpkg.com/package-json/-/package-json-6.5.0.tgz#6feedaca35e75725876d0b0e64974697fed145b0" @@ -21509,11 +21436,6 @@ prelude-ls@~1.1.2: resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54" integrity sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ= -prepend-http@^1.0.0: - version "1.0.4" - resolved "https://registry.yarnpkg.com/prepend-http/-/prepend-http-1.0.4.tgz#d4f4562b0ce3696e41ac52d0e002e57a635dc6dc" - integrity sha1-1PRWKwzjaW5BrFLQ4ALlemNdxtw= - prepend-http@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/prepend-http/-/prepend-http-2.0.0.tgz#e92434bfa5ea8c19f41cdfd401d741a3c819d897" @@ -22083,7 +22005,7 @@ rc-pagination@^1.20.1: prop-types "^15.5.7" react-lifecycles-compat "^3.0.4" -rc@^1.0.1, rc@^1.2.7, rc@^1.2.8: +rc@^1.2.7, rc@^1.2.8: version "1.2.8" resolved "https://registry.yarnpkg.com/rc/-/rc-1.2.8.tgz#cd924bf5200a075b83c188cd6b9e211b7fc0d3ed" integrity sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw== @@ -22689,14 +22611,6 @@ reactcss@^1.2.0: dependencies: lodash "^4.0.1" -read-all-stream@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/read-all-stream/-/read-all-stream-3.1.0.tgz#35c3e177f2078ef789ee4bfafa4373074eaef4fa" - integrity sha1-NcPhd/IHjveJ7kv6+kNzB06u9Po= - dependencies: - pinkie-promise "^2.0.0" - readable-stream "^2.0.0" - read-installed@~4.0.3: version "4.0.3" resolved "https://registry.yarnpkg.com/read-installed/-/read-installed-4.0.3.tgz#ff9b8b67f187d1e4c29b9feb31f6b223acd19067" @@ -23035,13 +22949,6 @@ registry-auth-token@^4.0.0: dependencies: rc "^1.2.8" -registry-url@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/registry-url/-/registry-url-3.1.0.tgz#3d4ef870f73dde1d77f0cf9a381432444e174942" - integrity sha1-PU74cPc93h138M+aOBQyRE4XSUI= - dependencies: - rc "^1.0.1" - registry-url@^5.0.0: version "5.1.0" resolved "https://registry.yarnpkg.com/registry-url/-/registry-url-5.1.0.tgz#e98334b50d5434b81136b44ec638d9c2009c5009" @@ -23281,13 +23188,6 @@ repeat-string@^1.0.0, repeat-string@^1.5.4, repeat-string@^1.6.1: resolved "https://registry.yarnpkg.com/repeat-string/-/repeat-string-1.6.1.tgz#8dcae470e1c88abc2d600fff4a776286da75e637" integrity sha1-jcrkcOHIirwtYA//Sndihtp15jc= -repeating@^1.1.2: - version "1.1.3" - resolved "https://registry.yarnpkg.com/repeating/-/repeating-1.1.3.tgz#3d4114218877537494f97f77f9785fab810fa4ac" - integrity sha1-PUEUIYh3U3SU+X93+Xhfq4EPpKw= - dependencies: - is-finite "^1.0.0" - repeating@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/repeating/-/repeating-2.0.1.tgz#5214c53a926d3552707527fbab415dbc08d06dda" @@ -23874,13 +23774,6 @@ selfsigned@^2.0.1: dependencies: node-forge "^1" -semver-diff@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/semver-diff/-/semver-diff-2.1.0.tgz#4bbb8437c8d37e4b0cf1a68fd726ec6d645d6d36" - integrity sha1-S7uEN8jTfksM8aaP1ybsbWRdbTY= - dependencies: - semver "^5.0.3" - semver-diff@^3.1.1: version "3.1.1" resolved "https://registry.yarnpkg.com/semver-diff/-/semver-diff-3.1.1.tgz#05f77ce59f325e00e2706afd67bb506ddb1ca32b" @@ -23888,7 +23781,7 @@ semver-diff@^3.1.1: dependencies: semver "^6.3.0" -"semver@2 || 3 || 4 || 5", semver@^5.0.3, semver@^5.4.1, semver@^5.5.0, semver@^5.6.0, semver@^5.7.1: +"semver@2 || 3 || 4 || 5", semver@^5.4.1, semver@^5.5.0, semver@^5.6.0, semver@^5.7.1: version "5.7.1" resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7" integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ== @@ -24223,7 +24116,7 @@ slice-ansi@^4.0.0: astral-regex "^2.0.0" is-fullwidth-code-point "^3.0.0" -slide@^1.1.5, slide@~1.1.3: +slide@~1.1.3: version "1.1.6" resolved "https://registry.yarnpkg.com/slide/-/slide-1.1.6.tgz#56eb027d65b4d2dce6cb2e2d32c4d4afc9e1d707" integrity sha1-VusCfWW00tzmyy4tMsTUr8nh1wc= @@ -24776,13 +24669,6 @@ strict-uri-encode@^2.0.0: resolved "https://registry.yarnpkg.com/strict-uri-encode/-/strict-uri-encode-2.0.0.tgz#b9c7330c7042862f6b142dc274bbcc5866ce3546" integrity sha1-ucczDHBChi9rFC3CdLvMWGbONUY= -string-length@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/string-length/-/string-length-1.0.1.tgz#56970fb1c38558e9e70b728bf3de269ac45adfac" - integrity sha1-VpcPscOFWOnnC3KL894mmsRa36w= - dependencies: - strip-ansi "^3.0.0" - string-length@^4.0.1: version "4.0.1" resolved "https://registry.yarnpkg.com/string-length/-/string-length-4.0.1.tgz#4a973bf31ef77c4edbceadd6af2611996985f8a1" @@ -25567,11 +25453,6 @@ time-stamp@^1.0.0: resolved "https://registry.yarnpkg.com/time-stamp/-/time-stamp-1.1.0.tgz#764a5a11af50561921b133f3b44e618687e0f5c3" integrity sha1-dkpaEa9QVhkhsTPztE5hhofg9cM= -timed-out@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/timed-out/-/timed-out-2.0.0.tgz#f38b0ae81d3747d628001f41dafc652ace671c0a" - integrity sha1-84sK6B03R9YoAB9B2vxlKs5nHAo= - timers-browserify@^2.0.4: version "2.0.6" resolved "https://registry.yarnpkg.com/timers-browserify/-/timers-browserify-2.0.6.tgz#241e76927d9ca05f4d959819022f5b3664b64bae" @@ -26404,19 +26285,6 @@ update-browserslist-db@^1.0.9: escalade "^3.1.1" picocolors "^1.0.0" -update-notifier@^0.5.0: - version "0.5.0" - resolved "https://registry.yarnpkg.com/update-notifier/-/update-notifier-0.5.0.tgz#07b5dc2066b3627ab3b4f530130f7eddda07a4cc" - integrity sha1-B7XcIGazYnqztPUwEw9+3doHpMw= - dependencies: - chalk "^1.0.0" - configstore "^1.0.0" - is-npm "^1.0.0" - latest-version "^1.0.0" - repeating "^1.1.2" - semver-diff "^2.0.0" - string-length "^1.0.0" - update-notifier@^5.1.0: version "5.1.0" resolved "https://registry.yarnpkg.com/update-notifier/-/update-notifier-5.1.0.tgz#4ab0d7c7f36a231dd7316cf7729313f0214d9ad9" @@ -26620,11 +26488,6 @@ uuid@3.3.2: resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.3.2.tgz#1b4af4955eb3077c501c23872fc6513811587131" integrity sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA== -uuid@^2.0.1: - version "2.0.3" - resolved "https://registry.yarnpkg.com/uuid/-/uuid-2.0.3.tgz#67e2e863797215530dff318e5bf9dcebfd47b21a" - integrity sha1-Z+LoY3lyFVMN/zGOW/nc6/1Hsho= - uuid@^3.3.2, uuid@^3.3.3: version "3.4.0" resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.4.0.tgz#b23e4358afa8a202fe7a100af1f5f883f02007ee" @@ -27729,15 +27592,6 @@ wrappy@1: resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" integrity sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8= -write-file-atomic@^1.1.2: - version "1.3.4" - resolved "https://registry.yarnpkg.com/write-file-atomic/-/write-file-atomic-1.3.4.tgz#f807a4f0b1d9e913ae7a48112e6cc3af1991b45f" - integrity sha1-+Aek8LHZ6ROuekgRLmzDrxmRtF8= - dependencies: - graceful-fs "^4.1.11" - imurmurhash "^0.1.4" - slide "^1.1.5" - write-file-atomic@^3.0.0: version "3.0.3" resolved "https://registry.yarnpkg.com/write-file-atomic/-/write-file-atomic-3.0.3.tgz#56bd5c5a5c70481cd19c571bd39ab965a5de56e8" @@ -27773,13 +27627,6 @@ x-default-browser@^0.4.0: optionalDependencies: default-browser-id "^1.0.4" -xdg-basedir@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/xdg-basedir/-/xdg-basedir-2.0.0.tgz#edbc903cc385fc04523d966a335504b5504d1bd2" - integrity sha1-7byQPMOF/ARSPZZqM1UEtVBNG9I= - dependencies: - os-homedir "^1.0.0" - xdg-basedir@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/xdg-basedir/-/xdg-basedir-4.0.0.tgz#4bc8d9984403696225ef83a1573cbbcb4e79db13" From 499e80034691ddbc84bff2716e363ef3ec1d2786 Mon Sep 17 00:00:00 2001 From: Nicolas Chaulet Date: Mon, 31 Oct 2022 09:56:22 -0400 Subject: [PATCH 033/111] [Fleet] Add the @custom pipeline only to the main datastream ingest pipelines (#144150) --- .../ingest_pipeline/install.test.ts | 16 ++++++++++++++++ .../epm/elasticsearch/ingest_pipeline/install.ts | 8 ++++---- 2 files changed, 20 insertions(+), 4 deletions(-) diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/ingest_pipeline/install.test.ts b/x-pack/plugins/fleet/server/services/epm/elasticsearch/ingest_pipeline/install.test.ts index d69fd167ee117..7ea61bde7a0e8 100644 --- a/x-pack/plugins/fleet/server/services/epm/elasticsearch/ingest_pipeline/install.test.ts +++ b/x-pack/plugins/fleet/server/services/epm/elasticsearch/ingest_pipeline/install.test.ts @@ -39,6 +39,14 @@ describe('Install pipeline tests', () => { await res.install(esClient, logger); expect(esClient.ingest.putPipeline).toBeCalled(); + + // It should add the @custom pipeline for the main pipeline + const pipelinesWithCustomProcessor = esClient.ingest.putPipeline.mock.calls.filter((call) => + // @ts-ignore-error + call[0]?.body.includes('@custom') + ); + + expect(pipelinesWithCustomProcessor).toHaveLength(1); }); it('should work with datastream with ingest pipelines define in the package', async () => { @@ -73,6 +81,14 @@ describe('Install pipeline tests', () => { await res.install(esClient, logger); expect(esClient.ingest.putPipeline).toBeCalledTimes(2); + + // It should add the @custom pipeline only for the main pipeline + const pipelinesWithCustomProcessor = esClient.ingest.putPipeline.mock.calls.filter((call) => + // @ts-ignore-error + call[0]?.body.includes('@custom') + ); + + expect(pipelinesWithCustomProcessor).toHaveLength(1); }); }); }); diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/ingest_pipeline/install.ts b/x-pack/plugins/fleet/server/services/epm/elasticsearch/ingest_pipeline/install.ts index 2d9fdb31036e7..7ada81c26c926 100644 --- a/x-pack/plugins/fleet/server/services/epm/elasticsearch/ingest_pipeline/install.ts +++ b/x-pack/plugins/fleet/server/services/epm/elasticsearch/ingest_pipeline/install.ts @@ -157,7 +157,8 @@ export async function installAllPipelines({ let datastreamPipelineCreated = false; pipelinePaths.forEach((path) => { const { name, extension } = getNameAndExtension(path); - if (name === dataStream?.ingest_pipeline) { + const isMainPipeline = name === dataStream?.ingest_pipeline; + if (isMainPipeline) { datastreamPipelineCreated = true; } const nameForInstallation = getPipelineNameForInstallation({ @@ -168,9 +169,8 @@ export async function installAllPipelines({ const content = getAsset(path).toString('utf-8'); pipelinesInfos.push({ nameForInstallation, - customIngestPipelineNameForInstallation: dataStream - ? getCustomPipelineNameForDatastream(dataStream) - : undefined, + customIngestPipelineNameForInstallation: + dataStream && isMainPipeline ? getCustomPipelineNameForDatastream(dataStream) : undefined, content, extension, }); From 060768955e1ffd9a5b51d7796558d5af2991b598 Mon Sep 17 00:00:00 2001 From: Rodney Norris Date: Mon, 31 Oct 2022 09:26:56 -0500 Subject: [PATCH 034/111] [Enterprise Search][Tech Debt] Tests for pipelines / ml inference (#144148) * test inference history logic * test IndexPipelinesConfigurationsLogic * test AddMLInferencePipelineModal Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> --- .../pipelines/inference_history_logic.test.ts | 99 +++++ .../pipelines/inference_history_logic.ts | 4 +- .../add_ml_inference_pipeline_modal.test.tsx | 409 ++++++++++++++++++ .../add_ml_inference_pipeline_modal.tsx | 11 +- ...ipelines_json_configurations_logic.test.ts | 121 ++++++ .../pipelines_json_configurations_logic.ts | 4 +- 6 files changed, 638 insertions(+), 10 deletions(-) create mode 100644 x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/inference_history_logic.test.ts create mode 100644 x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/ml_inference/add_ml_inference_pipeline_modal.test.tsx create mode 100644 x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/pipelines_json_configurations_logic.test.ts diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/inference_history_logic.test.ts b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/inference_history_logic.test.ts new file mode 100644 index 0000000000000..16722f7add9e9 --- /dev/null +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/inference_history_logic.test.ts @@ -0,0 +1,99 @@ +/* + * 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 { LogicMounter, mockFlashMessageHelpers } from '../../../../__mocks__/kea_logic'; + +import { nextTick } from '@kbn/test-jest-helpers'; + +import { HttpError } from '../../../../../../common/types/api'; +import { MlInferenceHistoryResponse } from '../../../../../../common/types/pipelines'; +import { FetchMlInferencePipelineHistoryApiLogic } from '../../../api/pipelines/fetch_ml_inference_pipeline_history'; + +import { InferenceHistoryValues, InferenceHistoryLogic } from './inference_history_logic'; + +const DEFAULT_VALUES: InferenceHistoryValues = { + fetchIndexInferenceHistoryStatus: 0, + indexName: '', + inferenceHistory: undefined, + inferenceHistoryData: undefined, + isLoading: true, +}; + +describe('InferenceHistoryLogic', () => { + const { mount } = new LogicMounter(InferenceHistoryLogic); + const { mount: mountFetchMlInferencePipelineHistoryApiLogic } = new LogicMounter( + FetchMlInferencePipelineHistoryApiLogic + ); + + beforeEach(() => { + jest.clearAllMocks(); + mountFetchMlInferencePipelineHistoryApiLogic(); + mount(); + }); + + it('has expected default values', () => { + expect(InferenceHistoryLogic.values).toEqual(DEFAULT_VALUES); + }); + + describe('listeners', () => { + it('flashes errors on history fetch error', async () => { + const error = { + body: { + error: '', + message: 'this is an error', + statusCode: 500, + }, + } as HttpError; + FetchMlInferencePipelineHistoryApiLogic.actions.apiError(error); + await nextTick(); + + expect(mockFlashMessageHelpers.flashAPIErrors).toHaveBeenCalledWith(error); + }); + it('clears flash messages on history fetch', async () => { + FetchMlInferencePipelineHistoryApiLogic.actions.makeRequest({ indexName: 'test' }); + await nextTick(); + expect(mockFlashMessageHelpers.clearFlashMessages).toHaveBeenCalledTimes(1); + }); + }); + + describe('selectors', () => { + describe('inferenceHistory', () => { + it('returns history from api response', () => { + const historyResponse: MlInferenceHistoryResponse = { + history: [ + { + doc_count: 10, + pipeline: 'unit-test', + }, + { + doc_count: 12, + pipeline: 'unit-test-002', + }, + ], + }; + FetchMlInferencePipelineHistoryApiLogic.actions.apiSuccess(historyResponse); + + expect(InferenceHistoryLogic.values.inferenceHistory).toEqual(historyResponse.history); + }); + }); + describe('isLoading', () => { + it('returns false for success', () => { + FetchMlInferencePipelineHistoryApiLogic.actions.apiSuccess({ history: [] }); + expect(InferenceHistoryLogic.values.isLoading).toBe(false); + }); + it('returns false for error', () => { + FetchMlInferencePipelineHistoryApiLogic.actions.apiError({ + body: { + error: '', + message: 'this is an error', + statusCode: 500, + }, + } as HttpError); + expect(InferenceHistoryLogic.values.isLoading).toBe(false); + }); + }); + }); +}); diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/inference_history_logic.ts b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/inference_history_logic.ts index 1a27f5dfd8346..e1ec8feb77f09 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/inference_history_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/inference_history_logic.ts @@ -18,14 +18,14 @@ import { } from '../../../api/pipelines/fetch_ml_inference_pipeline_history'; import { IndexNameLogic } from '../index_name_logic'; -interface InferenceHistoryActions { +export interface InferenceHistoryActions { fetchIndexInferenceHistory: Actions< FetchMlInferencePipelineHistoryApiLogicArgs, FetchMlInferencePipelineHistoryApiLogicResponse >['makeRequest']; } -interface InferenceHistoryValues { +export interface InferenceHistoryValues { fetchIndexInferenceHistoryStatus: Status; indexName: string; inferenceHistory: MlInferenceHistoryItem[] | undefined; diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/ml_inference/add_ml_inference_pipeline_modal.test.tsx b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/ml_inference/add_ml_inference_pipeline_modal.test.tsx new file mode 100644 index 0000000000000..4948257a18aff --- /dev/null +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/ml_inference/add_ml_inference_pipeline_modal.test.tsx @@ -0,0 +1,409 @@ +/* + * 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 { setMockValues, setMockActions } from '../../../../../__mocks__/kea_logic'; + +import React from 'react'; + +import { shallow } from 'enzyme'; + +import { + EuiButton, + EuiButtonEmpty, + EuiCallOut, + EuiStepsHorizontal, + EuiLoadingSpinner, +} from '@elastic/eui'; +import { TrainedModelConfigResponse } from '@kbn/ml-plugin/common/types/trained_models'; + +import { + AddMLInferencePipelineModal, + AddProcessorContent, + ModalFooter, + ModalSteps, +} from './add_ml_inference_pipeline_modal'; +import { ConfigurePipeline } from './configure_pipeline'; +import { AddInferencePipelineSteps, EMPTY_PIPELINE_CONFIGURATION } from './ml_inference_logic'; +import { NoModelsPanel } from './no_models'; +import { ReviewPipeline } from './review_pipeline'; +import { TestPipeline } from './test_pipeline'; + +const supportedMLModels: TrainedModelConfigResponse[] = [ + { + inference_config: { + ner: {}, + }, + input: { + field_names: [], + }, + model_id: 'test_model_id', + model_type: 'pytorch', + tags: ['test_tag'], + version: '1', + }, +]; +const DEFAULT_VALUES = { + addInferencePipelineModal: { + configuration: { ...EMPTY_PIPELINE_CONFIGURATION }, + indexName: 'unit-test-index', + simulateBody: '', + step: AddInferencePipelineSteps.Configuration, + }, + createErrors: [], + indexName: 'unit-test-index', + isLoading: false, + isPipelineDataValid: true, + supportedMLModels, +}; +const onClose = jest.fn(); + +describe('AddMLInferencePipelineModal', () => { + beforeEach(() => { + jest.clearAllMocks(); + setMockValues({ ...DEFAULT_VALUES }); + setMockActions({ + setIndexName: jest.fn(), + }); + }); + it('renders AddProcessorContent', () => { + const wrapper = shallow(); + expect(wrapper.find(AddProcessorContent)).toHaveLength(1); + }); + describe('AddProcessorContent', () => { + it('renders spinner when loading', () => { + setMockValues({ ...DEFAULT_VALUES, isLoading: true }); + const wrapper = shallow(); + expect(wrapper.find(EuiLoadingSpinner)).toHaveLength(1); + }); + it('renders no models panel when there are no models', () => { + setMockValues({ ...DEFAULT_VALUES, supportedMLModels: [] }); + const wrapper = shallow(); + expect(wrapper.find(NoModelsPanel)).toHaveLength(1); + }); + it('renders ModalSteps', () => { + const wrapper = shallow(); + expect(wrapper.find(ModalSteps)).toHaveLength(1); + }); + it('renders ModalFooter', () => { + const wrapper = shallow(); + expect(wrapper.find(ModalFooter)).toHaveLength(1); + }); + it('renders errors', () => { + const errorMsg = 'oh no!'; + setMockValues({ ...DEFAULT_VALUES, createErrors: [errorMsg] }); + const wrapper = shallow(); + + expect(wrapper.find(EuiCallOut)).toHaveLength(1); + const errorCallout = wrapper.find(EuiCallOut); + expect(errorCallout.prop('color')).toBe('danger'); + expect(errorCallout.prop('iconType')).toBe('alert'); + expect(errorCallout.find('p')).toHaveLength(1); + expect(errorCallout.find('p').text()).toBe(errorMsg); + }); + it('renders configure step', () => { + const wrapper = shallow(); + expect(wrapper.find(ConfigurePipeline)).toHaveLength(1); + }); + it('renders test step', () => { + setMockValues({ + ...DEFAULT_VALUES, + addInferencePipelineModal: { + step: AddInferencePipelineSteps.Test, + }, + }); + const wrapper = shallow(); + expect(wrapper.find(TestPipeline)).toHaveLength(1); + }); + it('renders review step', () => { + setMockValues({ + ...DEFAULT_VALUES, + addInferencePipelineModal: { + step: AddInferencePipelineSteps.Review, + }, + }); + const wrapper = shallow(); + expect(wrapper.find(ReviewPipeline)).toHaveLength(1); + }); + }); + describe('ModalSteps', () => { + const CONFIGURE_STEP_INDEX = 0; + const TEST_STEP_INDEX = 1; + const REVIEW_STEP_INDEX = 2; + const setAddInferencePipelineStep = jest.fn(); + beforeEach(() => { + setMockActions({ + setAddInferencePipelineStep, + }); + }); + it('renders EuiStepsHorizontal', () => { + const wrapper = shallow(); + expect(wrapper.find(EuiStepsHorizontal)).toHaveLength(1); + }); + it('configure step is complete with valid data', () => { + const wrapper = shallow(); + const steps = wrapper.find(EuiStepsHorizontal); + const configureStep = steps.prop('steps')[CONFIGURE_STEP_INDEX]; + expect(configureStep.title).toBe('Configure'); + expect(configureStep.status).toBe('complete'); + }); + it('configure step is current with invalid data', () => { + setMockValues({ + ...DEFAULT_VALUES, + isPipelineDataValid: false, + }); + const wrapper = shallow(); + const steps = wrapper.find(EuiStepsHorizontal); + const configureStep = steps.prop('steps')[CONFIGURE_STEP_INDEX]; + expect(configureStep.title).toBe('Configure'); + expect(configureStep.status).toBe('current'); + }); + it('test step is current when on step', () => { + setMockValues({ + ...DEFAULT_VALUES, + addInferencePipelineModal: { + step: AddInferencePipelineSteps.Test, + }, + }); + const wrapper = shallow(); + const steps = wrapper.find(EuiStepsHorizontal); + const testStep = steps.prop('steps')[TEST_STEP_INDEX]; + expect(testStep.title).toBe('Test'); + expect(testStep.status).toBe('current'); + }); + it('review step is current when on step', () => { + setMockValues({ + ...DEFAULT_VALUES, + addInferencePipelineModal: { + step: AddInferencePipelineSteps.Review, + }, + }); + const wrapper = shallow(); + const steps = wrapper.find(EuiStepsHorizontal); + const reviewStep = steps.prop('steps')[REVIEW_STEP_INDEX]; + expect(reviewStep.title).toBe('Review'); + expect(reviewStep.status).toBe('current'); + }); + it('clicking configure step updates step', () => { + setMockValues({ + ...DEFAULT_VALUES, + addInferencePipelineModal: { + step: AddInferencePipelineSteps.Review, + }, + }); + const wrapper = shallow(); + const steps = wrapper.find(EuiStepsHorizontal); + const configStep = steps.prop('steps')[CONFIGURE_STEP_INDEX]; + configStep.onClick({} as any); + expect(setAddInferencePipelineStep).toHaveBeenCalledWith( + AddInferencePipelineSteps.Configuration + ); + }); + it('clicking test step updates step', () => { + const wrapper = shallow(); + const steps = wrapper.find(EuiStepsHorizontal); + const testStep = steps.prop('steps')[TEST_STEP_INDEX]; + testStep.onClick({} as any); + expect(setAddInferencePipelineStep).toHaveBeenCalledWith(AddInferencePipelineSteps.Test); + }); + it('clicking review step updates step', () => { + const wrapper = shallow(); + const steps = wrapper.find(EuiStepsHorizontal); + const reviewStep = steps.prop('steps')[REVIEW_STEP_INDEX]; + reviewStep.onClick({} as any); + expect(setAddInferencePipelineStep).toHaveBeenCalledWith(AddInferencePipelineSteps.Review); + }); + it('cannot click test step when data is invalid', () => { + setMockValues({ + ...DEFAULT_VALUES, + isPipelineDataValid: false, + }); + const wrapper = shallow(); + const steps = wrapper.find(EuiStepsHorizontal); + const testStep = steps.prop('steps')[TEST_STEP_INDEX]; + testStep.onClick({} as any); + expect(setAddInferencePipelineStep).not.toHaveBeenCalled(); + }); + it('cannot click review step when data is invalid', () => { + setMockValues({ + ...DEFAULT_VALUES, + isPipelineDataValid: false, + }); + const wrapper = shallow(); + const steps = wrapper.find(EuiStepsHorizontal); + const reviewStep = steps.prop('steps')[REVIEW_STEP_INDEX]; + reviewStep.onClick({} as any); + expect(setAddInferencePipelineStep).not.toHaveBeenCalled(); + }); + }); + describe('ModalFooter', () => { + const ingestionMethod = 'crawler'; + const actions = { + attachPipeline: jest.fn(), + createPipeline: jest.fn(), + setAddInferencePipelineStep: jest.fn(), + }; + beforeEach(() => { + setMockActions(actions); + }); + it('renders cancel button on config step', () => { + const wrapper = shallow(); + const cancelBtn = wrapper.find(EuiButtonEmpty); + expect(cancelBtn).toHaveLength(1); + expect(cancelBtn.prop('children')).toBe('Cancel'); + cancelBtn.prop('onClick')!({} as any); + expect(onClose).toHaveBeenCalledTimes(1); + }); + it('renders cancel button on test step', () => { + setMockValues({ + ...DEFAULT_VALUES, + addInferencePipelineModal: { + ...DEFAULT_VALUES.addInferencePipelineModal, + step: AddInferencePipelineSteps.Test, + }, + }); + const wrapper = shallow(); + expect(wrapper.find(EuiButtonEmpty)).toHaveLength(2); + const cancelBtn = wrapper.find(EuiButtonEmpty).at(1); + expect(cancelBtn.prop('children')).toBe('Cancel'); + cancelBtn.prop('onClick')!({} as any); + expect(onClose).toHaveBeenCalledTimes(1); + }); + it('renders cancel button on review step', () => { + setMockValues({ + ...DEFAULT_VALUES, + addInferencePipelineModal: { + ...DEFAULT_VALUES.addInferencePipelineModal, + step: AddInferencePipelineSteps.Review, + }, + }); + const wrapper = shallow(); + expect(wrapper.find(EuiButtonEmpty)).toHaveLength(2); + const cancelBtn = wrapper.find(EuiButtonEmpty).at(1); + expect(cancelBtn.prop('children')).toBe('Cancel'); + cancelBtn.prop('onClick')!({} as any); + expect(onClose).toHaveBeenCalledTimes(1); + }); + it('renders back button on test step', () => { + setMockValues({ + ...DEFAULT_VALUES, + addInferencePipelineModal: { + ...DEFAULT_VALUES.addInferencePipelineModal, + step: AddInferencePipelineSteps.Test, + }, + }); + const wrapper = shallow(); + expect(wrapper.find(EuiButtonEmpty)).toHaveLength(2); + const backBtn = wrapper.find(EuiButtonEmpty).at(0); + expect(backBtn.prop('children')).toBe('Back'); + backBtn.prop('onClick')!({} as any); + expect(actions.setAddInferencePipelineStep).toHaveBeenCalledWith( + AddInferencePipelineSteps.Configuration + ); + }); + it('renders back button on review step', () => { + setMockValues({ + ...DEFAULT_VALUES, + addInferencePipelineModal: { + ...DEFAULT_VALUES.addInferencePipelineModal, + step: AddInferencePipelineSteps.Review, + }, + }); + const wrapper = shallow(); + expect(wrapper.find(EuiButtonEmpty)).toHaveLength(2); + const backBtn = wrapper.find(EuiButtonEmpty).at(0); + expect(backBtn.prop('children')).toBe('Back'); + backBtn.prop('onClick')!({} as any); + expect(actions.setAddInferencePipelineStep).toHaveBeenCalledWith( + AddInferencePipelineSteps.Test + ); + }); + it('renders enabled Continue with valid data', () => { + const wrapper = shallow(); + const contBtn = wrapper.find(EuiButton); + expect(contBtn).toHaveLength(1); + expect(contBtn.prop('children')).toBe('Continue'); + expect(contBtn.prop('disabled')).toBe(false); + contBtn.prop('onClick')!({} as any); + expect(actions.setAddInferencePipelineStep).toHaveBeenCalledWith( + AddInferencePipelineSteps.Test + ); + }); + it('renders disabled Continue with invalid data', () => { + setMockValues({ ...DEFAULT_VALUES, isPipelineDataValid: false }); + const wrapper = shallow(); + expect(wrapper.find(EuiButton)).toHaveLength(1); + expect(wrapper.find(EuiButton).prop('children')).toBe('Continue'); + expect(wrapper.find(EuiButton).prop('disabled')).toBe(true); + }); + it('renders Continue button on test step', () => { + setMockValues({ + ...DEFAULT_VALUES, + addInferencePipelineModal: { + ...DEFAULT_VALUES.addInferencePipelineModal, + step: AddInferencePipelineSteps.Test, + }, + }); + const wrapper = shallow(); + const contBtn = wrapper.find(EuiButton); + expect(contBtn).toHaveLength(1); + expect(contBtn.prop('children')).toBe('Continue'); + expect(contBtn.prop('disabled')).toBe(false); + contBtn.prop('onClick')!({} as any); + expect(actions.setAddInferencePipelineStep).toHaveBeenCalledWith( + AddInferencePipelineSteps.Review + ); + }); + it('renders create button on review step', () => { + setMockValues({ + ...DEFAULT_VALUES, + addInferencePipelineModal: { + ...DEFAULT_VALUES.addInferencePipelineModal, + step: AddInferencePipelineSteps.Review, + configuration: { + destinationField: 'test', + existingPipeline: false, + modelID: 'test-model', + pipelineName: 'my-test-pipeline', + sourceField: 'body', + }, + }, + }); + + const wrapper = shallow(); + const actionButton = wrapper.find(EuiButton); + expect(actionButton).toHaveLength(1); + expect(actionButton.prop('children')).toBe('Create'); + expect(actionButton.prop('color')).toBe('success'); + actionButton.prop('onClick')!({} as any); + expect(actions.createPipeline).toHaveBeenCalledTimes(1); + }); + it('renders attach button on review step', () => { + setMockValues({ + ...DEFAULT_VALUES, + addInferencePipelineModal: { + ...DEFAULT_VALUES.addInferencePipelineModal, + step: AddInferencePipelineSteps.Review, + configuration: { + destinationField: 'test', + existingPipeline: true, + modelID: 'test-model', + pipelineName: 'my-test-pipeline', + sourceField: 'body', + }, + }, + }); + + const wrapper = shallow(); + const actionButton = wrapper.find(EuiButton); + expect(actionButton).toHaveLength(1); + expect(actionButton.prop('children')).toBe('Attach'); + expect(actionButton.prop('color')).toBe('primary'); + actionButton.prop('onClick')!({} as any); + expect(actions.attachPipeline).toHaveBeenCalledTimes(1); + }); + }); +}); diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/ml_inference/add_ml_inference_pipeline_modal.tsx b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/ml_inference/add_ml_inference_pipeline_modal.tsx index cc0cc3eb8f954..f2d24260a4b06 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/ml_inference/add_ml_inference_pipeline_modal.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/ml_inference/add_ml_inference_pipeline_modal.tsx @@ -77,7 +77,7 @@ export const AddMLInferencePipelineModal: React.FC = ({ onClose }) => { +export const AddProcessorContent: React.FC = ({ onClose }) => { const { ingestionMethod } = useValues(IndexViewLogic); const { createErrors, @@ -125,7 +125,7 @@ const AddProcessorContent: React.FC = ({ onClo ); }; -const ModalSteps: React.FC = () => { +export const ModalSteps: React.FC = () => { const { addInferencePipelineModal: { step }, isPipelineDataValid, @@ -183,10 +183,9 @@ const ModalSteps: React.FC = () => { return ; }; -const ModalFooter: React.FC = ({ - ingestionMethod, - onClose, -}) => { +export const ModalFooter: React.FC< + AddMLInferencePipelineModalProps & { ingestionMethod: string } +> = ({ ingestionMethod, onClose }) => { const { addInferencePipelineModal: modal, isPipelineDataValid } = useValues(MLInferenceLogic); const { attachPipeline, createPipeline, setAddInferencePipelineStep } = useActions(MLInferenceLogic); diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/pipelines_json_configurations_logic.test.ts b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/pipelines_json_configurations_logic.test.ts new file mode 100644 index 0000000000000..2359cf6e67390 --- /dev/null +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/pipelines_json_configurations_logic.test.ts @@ -0,0 +1,121 @@ +/* + * 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 { LogicMounter } from '../../../../__mocks__/kea_logic'; + +import { nextTick } from '@kbn/test-jest-helpers'; + +import { FetchCustomPipelineApiLogic } from '../../../api/index/fetch_custom_pipeline_api_logic'; + +import { + IndexPipelinesConfigurationsLogic, + IndexPipelinesConfigurationsValues, +} from './pipelines_json_configurations_logic'; + +const indexName = 'unit-test-index'; +const DEFAULT_VALUES: IndexPipelinesConfigurationsValues = { + indexName, + indexPipelinesData: undefined, + pipelineNames: [], + pipelines: {}, + selectedPipeline: undefined, + selectedPipelineId: '', + selectedPipelineJSON: '', +}; + +describe('IndexPipelinesConfigurationsLogic', () => { + const { mount } = new LogicMounter(IndexPipelinesConfigurationsLogic); + const { mount: mountFetchCustomPipelineApiLogic } = new LogicMounter(FetchCustomPipelineApiLogic); + + beforeEach(async () => { + jest.clearAllMocks(); + const indexNameProps = { indexName }; + mountFetchCustomPipelineApiLogic(); + mount(undefined, indexNameProps); + }); + + it('has expected default values', () => { + expect(IndexPipelinesConfigurationsLogic.values).toEqual(DEFAULT_VALUES); + }); + + describe('actions', () => { + it('selectPipeline updates selectedPipelineId', () => { + IndexPipelinesConfigurationsLogic.actions.selectPipeline('unit-test'); + + expect(IndexPipelinesConfigurationsLogic.values.selectedPipelineId).toEqual('unit-test'); + }); + it('fetchIndexPipelinesDataSuccess selects index ingest pipeline if found', async () => { + const pipelines = { + 'ent-search-generic-ingest': { + version: 1, + }, + [indexName]: { + processors: [], + version: 1, + }, + }; + FetchCustomPipelineApiLogic.actions.apiSuccess(pipelines); + await nextTick(); + + expect(IndexPipelinesConfigurationsLogic.values.selectedPipelineId).toEqual(indexName); + }); + it('fetchIndexPipelinesDataSuccess selects first pipeline as default pipeline', async () => { + const pipelines = { + 'ent-search-generic-ingest': { + version: 1, + }, + }; + FetchCustomPipelineApiLogic.actions.apiSuccess(pipelines); + await nextTick(); + + expect(IndexPipelinesConfigurationsLogic.values.selectedPipelineId).toEqual( + 'ent-search-generic-ingest' + ); + }); + }); + + describe('selectors', () => { + it('pipelineNames returns names of pipelines', async () => { + const pipelines = { + 'ent-search-generic-ingest': { + version: 1, + }, + [indexName]: { + processors: [], + version: 1, + }, + }; + FetchCustomPipelineApiLogic.actions.apiSuccess(pipelines); + await nextTick(); + + expect(IndexPipelinesConfigurationsLogic.values.pipelineNames).toEqual([ + 'ent-search-generic-ingest', + indexName, + ]); + }); + it('selectedPipeline returns full pipeline', async () => { + const pipelines = { + 'ent-search-generic-ingest': { + version: 1, + }, + foo: { + version: 2, + }, + bar: { + version: 3, + }, + }; + FetchCustomPipelineApiLogic.actions.apiSuccess(pipelines); + IndexPipelinesConfigurationsLogic.actions.selectPipeline('foo'); + await nextTick(); + + expect(IndexPipelinesConfigurationsLogic.values.selectedPipeline).toEqual(pipelines.foo); + expect(IndexPipelinesConfigurationsLogic.values.selectedPipelineJSON.length).toBeGreaterThan( + 0 + ); + }); + }); +}); diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/pipelines_json_configurations_logic.ts b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/pipelines_json_configurations_logic.ts index 4bdf541cc7c73..d450dff591f6c 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/pipelines_json_configurations_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/pipelines_json_configurations_logic.ts @@ -25,9 +25,9 @@ interface IndexPipelinesConfigurationsActions { selectPipeline: (pipeline: string) => { pipeline: string }; } -interface IndexPipelinesConfigurationsValues { +export interface IndexPipelinesConfigurationsValues { indexName: string; - indexPipelinesData: FetchCustomPipelineApiLogicResponse; + indexPipelinesData: FetchCustomPipelineApiLogicResponse | undefined; pipelineNames: string[]; pipelines: Record; selectedPipeline: IngestPipeline | undefined; From 2654c307d522e96d7f882628f53ba014a3b058fa Mon Sep 17 00:00:00 2001 From: Antonio Date: Mon, 31 Oct 2022 15:31:11 +0100 Subject: [PATCH 035/111] * Defined a smaller min-width for the cases modal. (#144230) --- .../all_cases/selector_modal/all_cases_selector_modal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/plugins/cases/public/components/all_cases/selector_modal/all_cases_selector_modal.tsx b/x-pack/plugins/cases/public/components/all_cases/selector_modal/all_cases_selector_modal.tsx index 89bd623307f1f..0ba5a65bf3207 100644 --- a/x-pack/plugins/cases/public/components/all_cases/selector_modal/all_cases_selector_modal.tsx +++ b/x-pack/plugins/cases/public/components/all_cases/selector_modal/all_cases_selector_modal.tsx @@ -29,7 +29,7 @@ export interface AllCasesSelectorModalProps { const Modal = styled(EuiModal)` ${({ theme }) => ` - width: ${theme.eui.euiBreakpoints.xl}; + min-width: ${theme.eui.euiBreakpoints.l}; max-width: ${theme.eui.euiBreakpoints.xl}; `} `; From ebb9dbdc1a787d3dcb5b2d990cf87e390d5c1a6f Mon Sep 17 00:00:00 2001 From: Tim Sullivan Date: Mon, 31 Oct 2022 07:40:21 -0700 Subject: [PATCH 036/111] Reports: Set content-disposition to `attachment` for report download (#144136) * remove content-disposition * Fix content-disposition and content-type * fix tests Co-authored-by: Jean-Louis Leysens --- package.json | 1 - .../routes/lib/get_document_payload.test.ts | 10 +++++----- .../server/routes/lib/get_document_payload.ts | 16 ++++++++-------- .../server/routes/lib/job_response_handler.ts | 2 +- .../management/integration_tests/jobs.test.ts | 4 ++-- yarn.lock | 2 +- 6 files changed, 17 insertions(+), 18 deletions(-) diff --git a/package.json b/package.json index 54dd5abbe12c4..a7f855e7cd158 100644 --- a/package.json +++ b/package.json @@ -472,7 +472,6 @@ "commander": "^4.1.1", "compare-versions": "3.5.1", "constate": "^3.3.2", - "content-disposition": "^0.5.4", "copy-to-clipboard": "^3.0.8", "core-js": "^3.25.5", "cronstrue": "^1.51.0", diff --git a/x-pack/plugins/reporting/server/routes/lib/get_document_payload.test.ts b/x-pack/plugins/reporting/server/routes/lib/get_document_payload.test.ts index d2ed0b86e2cce..b342b52cdb9bb 100644 --- a/x-pack/plugins/reporting/server/routes/lib/get_document_payload.test.ts +++ b/x-pack/plugins/reporting/server/routes/lib/get_document_payload.test.ts @@ -58,8 +58,8 @@ describe('getDocumentPayload', () => { contentType: 'application/pdf', content: expect.any(Readable), headers: expect.objectContaining({ - 'Content-Disposition': 'inline; filename="Some PDF report.pdf"', - 'Content-Length': 1024, + 'Content-Disposition': 'attachment; filename="Some PDF report.pdf"', + 'Content-Length': '1024', }), statusCode: 200, }) @@ -86,8 +86,8 @@ describe('getDocumentPayload', () => { contentType: 'text/csv', content: expect.any(Readable), headers: expect.objectContaining({ - 'Content-Disposition': 'inline; filename="Some CSV report.csv"', - 'Content-Length': 1024, + 'Content-Disposition': 'attachment; filename="Some CSV report.csv"', + 'Content-Length': '1024', 'kbn-csv-contains-formulas': true, 'kbn-max-size-reached': true, }), @@ -137,7 +137,7 @@ describe('getDocumentPayload', () => { contentType: 'text/plain', content: 'pending', headers: { - 'retry-after': 30, + 'retry-after': '30', }, statusCode: 503, }) diff --git a/x-pack/plugins/reporting/server/routes/lib/get_document_payload.ts b/x-pack/plugins/reporting/server/routes/lib/get_document_payload.ts index 02f1eb5dee12e..3840905f73c8b 100644 --- a/x-pack/plugins/reporting/server/routes/lib/get_document_payload.ts +++ b/x-pack/plugins/reporting/server/routes/lib/get_document_payload.ts @@ -5,12 +5,11 @@ * 2.0. */ +import { ResponseHeaders } from '@kbn/core-http-server'; import { Stream } from 'stream'; -// @ts-ignore -import contentDisposition from 'content-disposition'; +import { ReportingCore } from '../..'; import { CSV_JOB_TYPE, CSV_JOB_TYPE_DEPRECATED } from '../../../common/constants'; import { ReportApiJSON } from '../../../common/types'; -import { ReportingCore } from '../..'; import { getContentStream, statuses } from '../../lib'; import { ExportTypeDefinition } from '../../types'; import { jobsQueryFactory } from './jobs_query'; @@ -24,7 +23,7 @@ interface Payload { statusCode: number; content: string | Stream | ErrorFromPayload; contentType: string | null; - headers: Record; + headers: ResponseHeaders; } type TaskRunResult = Required['output']; @@ -65,15 +64,16 @@ export function getDocumentPayloadFactory(reporting: ReportingCore) { const content = await getContentStream(reporting, { id, index }, { encoding }); const filename = getTitle(exportType, title); const headers = getReportingHeaders(output, exportType); + const contentType = output.content_type ?? 'text/plain'; return { content, statusCode: 200, - contentType: output.content_type, + contentType, headers: { ...headers, - 'Content-Disposition': contentDisposition(filename, { type: 'inline' }), - 'Content-Length': output.size, + 'Content-Disposition': `attachment; filename="${filename}"`, + 'Content-Length': `${output.size ?? ''}`, }, }; } @@ -99,7 +99,7 @@ export function getDocumentPayloadFactory(reporting: ReportingCore) { statusCode: 503, content: status, contentType: 'text/plain', - headers: { 'retry-after': 30 }, + headers: { 'retry-after': '30' }, }; } diff --git a/x-pack/plugins/reporting/server/routes/lib/job_response_handler.ts b/x-pack/plugins/reporting/server/routes/lib/job_response_handler.ts index 379454de7a0a8..fb5edc6b25f71 100644 --- a/x-pack/plugins/reporting/server/routes/lib/job_response_handler.ts +++ b/x-pack/plugins/reporting/server/routes/lib/job_response_handler.ts @@ -54,7 +54,7 @@ export async function downloadJobResponseHandler( statusCode: payload.statusCode, headers: { ...payload.headers, - 'content-type': payload.contentType || '', + 'content-type': payload.contentType, }, }); } catch (err) { diff --git a/x-pack/plugins/reporting/server/routes/management/integration_tests/jobs.test.ts b/x-pack/plugins/reporting/server/routes/management/integration_tests/jobs.test.ts index f46ce228fa826..dce551209c05f 100644 --- a/x-pack/plugins/reporting/server/routes/management/integration_tests/jobs.test.ts +++ b/x-pack/plugins/reporting/server/routes/management/integration_tests/jobs.test.ts @@ -268,7 +268,7 @@ describe('GET /api/reporting/jobs/download', () => { .get('/api/reporting/jobs/download/dank') .expect(200) .expect('Content-Type', 'text/plain; charset=utf-8') - .expect('content-disposition', 'inline; filename="report.csv"'); + .expect('content-disposition', 'attachment; filename="report.csv"'); }); it('succeeds when security is not there or disabled', async () => { @@ -285,7 +285,7 @@ describe('GET /api/reporting/jobs/download', () => { .get('/api/reporting/jobs/download/dope') .expect(200) .expect('Content-Type', 'text/plain; charset=utf-8') - .expect('content-disposition', 'inline; filename="report.csv"'); + .expect('content-disposition', 'attachment; filename="report.csv"'); }); it('forwards job content stream', async () => { diff --git a/yarn.lock b/yarn.lock index 26a0a9e6b52dd..63bb314bd359a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -10807,7 +10807,7 @@ container-info@^1.0.1: resolved "https://registry.yarnpkg.com/container-info/-/container-info-1.0.1.tgz#6b383cb5e197c8d921e88983388facb04124b56b" integrity sha512-wk/+uJvPHOFG+JSwQS+fw6H6yw3Oyc8Kw9L4O2MN817uA90OqJ59nlZbbLPqDudsjJ7Tetee3pwExdKpd2ahjQ== -content-disposition@0.5.4, content-disposition@^0.5.4: +content-disposition@0.5.4: version "0.5.4" resolved "https://registry.yarnpkg.com/content-disposition/-/content-disposition-0.5.4.tgz#8b82b4efac82512a02bb0b1dcec9d2c5e8eb5bfe" integrity sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ== From 6f1df849cb36e65a1917e8046abb902c87815abf Mon Sep 17 00:00:00 2001 From: doakalexi <109488926+doakalexi@users.noreply.github.com> Date: Mon, 31 Oct 2022 10:43:29 -0400 Subject: [PATCH 037/111] =?UTF-8?q?[ResponseOps][Actions]=20Improve=20Task?= =?UTF-8?q?=20Manager=E2=80=99s=20retry=20logic=20for=20ad-hoc=20tasks=20(?= =?UTF-8?q?#143860)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Improving task manager retry logic * Fixing functional tests * Fixing logic --- .../server/task_running/task_runner.test.ts | 13 +++++++------ .../server/task_running/task_runner.ts | 14 +++++++++++--- .../test_suites/task_manager/task_management.ts | 4 ++-- 3 files changed, 20 insertions(+), 11 deletions(-) diff --git a/x-pack/plugins/task_manager/server/task_running/task_runner.test.ts b/x-pack/plugins/task_manager/server/task_running/task_runner.test.ts index a9c58b1302f56..b66f4bc418640 100644 --- a/x-pack/plugins/task_manager/server/task_running/task_runner.test.ts +++ b/x-pack/plugins/task_manager/server/task_running/task_runner.test.ts @@ -28,6 +28,7 @@ import apm from 'elastic-apm-node'; import { executionContextServiceMock } from '@kbn/core/server/mocks'; import { usageCountersServiceMock } from '@kbn/usage-collection-plugin/server/usage_counters/usage_counters_service.mock'; import { + calculateDelay, TASK_MANAGER_RUN_TRANSACTION_TYPE, TASK_MANAGER_TRANSACTION_TYPE, TASK_MANAGER_TRANSACTION_TYPE_MARK_AS_RUNNING, @@ -300,9 +301,8 @@ describe('TaskManagerRunner', () => { expect(instance.attempts).toEqual(initialAttempts + 1); expect(instance.status).toBe('running'); expect(instance.startedAt!.getTime()).toEqual(Date.now()); - expect(instance.retryAt!.getTime()).toEqual( - minutesFromNow((initialAttempts + 1) * 5).getTime() + timeoutMinutes * 60 * 1000 - ); + const expectedRunAt = Date.now() + calculateDelay(initialAttempts + 1); + expect(instance.retryAt!.getTime()).toEqual(expectedRunAt + timeoutMinutes * 60 * 1000); expect(instance.enabled).not.toBeDefined(); }); @@ -569,7 +569,7 @@ describe('TaskManagerRunner', () => { sinon.assert.calledWith(getRetryStub, initialAttempts + 1); const instance = store.update.mock.calls[0][0]; - const attemptDelay = (initialAttempts + 1) * 5 * 60 * 1000; + const attemptDelay = calculateDelay(initialAttempts + 1); const timeoutDelay = timeoutMinutes * 60 * 1000; expect(instance.retryAt!.getTime()).toEqual( new Date(Date.now() + attemptDelay + timeoutDelay).getTime() @@ -817,7 +817,8 @@ describe('TaskManagerRunner', () => { const instance = store.update.mock.calls[0][0]; expect(instance.id).toEqual(id); - expect(instance.runAt.getTime()).toEqual(minutesFromNow(initialAttempts * 5).getTime()); + const expectedRunAt = new Date(Date.now() + calculateDelay(initialAttempts)); + expect(instance.runAt.getTime()).toEqual(expectedRunAt.getTime()); expect(instance.params).toEqual({ a: 'b' }); expect(instance.state).toEqual({ hey: 'there' }); expect(instance.enabled).not.toBeDefined(); @@ -1169,7 +1170,7 @@ describe('TaskManagerRunner', () => { sinon.assert.calledWith(getRetryStub, initialAttempts, error); const instance = store.update.mock.calls[0][0]; - const expectedRunAt = new Date(Date.now() + initialAttempts * 5 * 60 * 1000); + const expectedRunAt = new Date(Date.now() + calculateDelay(initialAttempts)); expect(instance.runAt.getTime()).toEqual(expectedRunAt.getTime()); expect(instance.enabled).not.toBeDefined(); }); diff --git a/x-pack/plugins/task_manager/server/task_running/task_runner.ts b/x-pack/plugins/task_manager/server/task_running/task_runner.ts index a5865abc46bbe..d2038621d6dbe 100644 --- a/x-pack/plugins/task_manager/server/task_running/task_runner.ts +++ b/x-pack/plugins/task_manager/server/task_running/task_runner.ts @@ -53,8 +53,6 @@ import { import { TaskTypeDictionary } from '../task_type_dictionary'; import { isUnrecoverableError } from './errors'; import type { EventLoopDelayConfig } from '../config'; - -const defaultBackoffPerFailure = 5 * 60 * 1000; export const EMPTY_RUN_RESULT: SuccessfulRunResult = { state: {} }; export const TASK_MANAGER_RUN_TRANSACTION_TYPE = 'task-run'; @@ -654,7 +652,7 @@ export class TaskManagerRunner implements TaskRunner { if (retry instanceof Date) { result = retry; } else if (retry === true) { - result = new Date(Date.now() + attempts * defaultBackoffPerFailure); + result = new Date(Date.now() + calculateDelay(attempts)); } // Add a duration to the result @@ -717,3 +715,13 @@ export function asRan(task: InstanceOf): RanTask task, }; } + +export function calculateDelay(attempts: number) { + if (attempts === 1) { + return 30 * 1000; // 30s + } else { + // get multiples of 5 min + const defaultBackoffPerFailure = 5 * 60 * 1000; + return defaultBackoffPerFailure * Math.pow(2, attempts - 2); + } +} diff --git a/x-pack/test/plugin_api_integration/test_suites/task_manager/task_management.ts b/x-pack/test/plugin_api_integration/test_suites/task_manager/task_management.ts index c4b5a2831183c..dadc32bca7214 100644 --- a/x-pack/test/plugin_api_integration/test_suites/task_manager/task_management.ts +++ b/x-pack/test/plugin_api_integration/test_suites/task_manager/task_management.ts @@ -338,9 +338,9 @@ export default function ({ getService }: FtrProviderContext) { await retry.try(async () => { const scheduledTask = await currentTask(task.id); - expect(scheduledTask.attempts).to.be.greaterThan(0); + expect(scheduledTask.attempts).to.be.greaterThan(1); expect(Date.parse(scheduledTask.runAt)).to.be.greaterThan( - Date.parse(task.runAt) + 5 * 60 * 1000 + Date.parse(task.runAt) + 30 * 1000 ); }); }); From fc73de3cf213dc61e5090eff0bc477dda64fb37b Mon Sep 17 00:00:00 2001 From: Saarika <55930906+saarikabhasi@users.noreply.github.com> Date: Mon, 31 Oct 2022 10:46:52 -0400 Subject: [PATCH 038/111] show '.ent-search-engine-documents' indices in create engine (#143914) * show '.ent-search-engine-documents' indices in create engine * Filter indices and aliases correctly * Fix expandWildcards on alwaysShowPattern * Fix Types error * Fix add deleted index in not Containing block and some i18n_check --fix Co-authored-by: Brian McGue Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> --- .../enterprise_search/common/types/indices.ts | 4 +++ .../server/__mocks__/fetch_indices.mock.ts | 34 +++++++++++++++++- .../server/lib/indices/fetch_indices.test.ts | 35 +++++++++++++++---- .../server/lib/indices/fetch_indices.ts | 27 +++++++++----- .../utils/extract_always_show_indices.test.ts | 4 +-- .../utils/extract_always_show_indices.ts | 8 ++--- .../lib/indices/utils/get_index_data.test.ts | 32 ++++++++++++++--- .../lib/indices/utils/get_index_data.ts | 16 ++++++--- .../routes/enterprise_search/indices.ts | 7 +++- 9 files changed, 137 insertions(+), 30 deletions(-) diff --git a/x-pack/plugins/enterprise_search/common/types/indices.ts b/x-pack/plugins/enterprise_search/common/types/indices.ts index 3fbd9dccb3efd..571a62cdd88f6 100644 --- a/x-pack/plugins/enterprise_search/common/types/indices.ts +++ b/x-pack/plugins/enterprise_search/common/types/indices.ts @@ -15,6 +15,10 @@ import { import { Connector } from './connectors'; import { Crawler } from './crawler'; +export interface AlwaysShowPattern { + alias_pattern: string; + index_pattern: string; +} export interface ElasticsearchIndex { count: number; // Elasticsearch _count health?: HealthStatus; diff --git a/x-pack/plugins/enterprise_search/server/__mocks__/fetch_indices.mock.ts b/x-pack/plugins/enterprise_search/server/__mocks__/fetch_indices.mock.ts index bcdf0404e9ecf..dc8d2b0b255eb 100644 --- a/x-pack/plugins/enterprise_search/server/__mocks__/fetch_indices.mock.ts +++ b/x-pack/plugins/enterprise_search/server/__mocks__/fetch_indices.mock.ts @@ -67,6 +67,20 @@ export const mockMultiIndexResponse = { 'search-alias-search-prefixed-regular-index': {}, }, }, + '.ent-search-engine-documents-12345': { + aliases: { + 'alias-.ent-search-engine-documents-12345': {}, + 'search-alias-.ent-search-engine-documents-12345': {}, + }, + settings: { index: { hidden: 'true' } }, + }, + 'search-prefixed-.ent-search-engine-documents-12345': { + aliases: { + 'alias-search-prefixed-.ent-search-engine-documents-12345': {}, + 'search-alias-search-prefixed-.ent-search-engine-documents-12345': {}, + }, + settings: { index: { hidden: 'true' } }, + }, }; export const mockMultiStatsResponse: { @@ -109,6 +123,24 @@ export const mockMultiStatsResponse: { 'search-prefixed-regular-index': { ...mockSingleIndexStatsResponse.indices['search-regular-index'], }, + '.ent-search-engine-documents-12345': { + ...mockSingleIndexStatsResponse.indices['search-regular-index'], + }, + 'alias-.ent-search-engine-documents-12345': { + ...mockSingleIndexStatsResponse.indices['search-regular-index'], + }, + 'search-alias-.ent-search-engine-documents-12345': { + ...mockSingleIndexStatsResponse.indices['search-regular-index'], + }, + 'search-prefixed-.ent-search-engine-documents-12345': { + ...mockSingleIndexStatsResponse.indices['search-regular-index'], + }, + 'alias-search-prefixed-.ent-search-engine-documents-12345': { + ...mockSingleIndexStatsResponse.indices['search-regular-index'], + }, + 'search-alias-search-prefixed-.ent-search-engine-documents-12345': { + ...mockSingleIndexStatsResponse.indices['search-regular-index'], + }, }, }; @@ -124,8 +156,8 @@ export const getIndexReturnValue = (indexName: string) => { ...mockMultiStatsResponse.indices[indexName], alias: indexName.startsWith('alias') || indexName.startsWith('search-alias'), count: 100, + hidden: indexName.includes('hidden') || indexName.includes('.ent-search-engine-documents'), name: indexName, - hidden: indexName.includes('hidden'), privileges: { manage: true, read: true }, total: { ...mockMultiStatsResponse.indices[indexName].total, diff --git a/x-pack/plugins/enterprise_search/server/lib/indices/fetch_indices.test.ts b/x-pack/plugins/enterprise_search/server/lib/indices/fetch_indices.test.ts index 4a01295fbeaa8..767587a26cf77 100644 --- a/x-pack/plugins/enterprise_search/server/lib/indices/fetch_indices.test.ts +++ b/x-pack/plugins/enterprise_search/server/lib/indices/fetch_indices.test.ts @@ -385,7 +385,13 @@ describe('fetchIndices lib function', () => { expect(mockClient.asCurrentUser.indices.stats).not.toHaveBeenCalled(); }); - describe('alwaysShowSearchPattern', () => { + describe('alwaysShowPattern', () => { + const sortIndices = (index1: any, index2: any) => { + if (index1.name < index2.name) return -1; + if (index1.name > index2.name) return 1; + return 0; + }; + beforeEach(() => { mockClient.asCurrentUser.indices.get.mockImplementation(() => mockMultiIndexResponse); mockClient.asCurrentUser.indices.stats.mockImplementation(() => mockMultiStatsResponse); @@ -401,13 +407,14 @@ describe('fetchIndices lib function', () => { '*', false, true, - 'search-' + { alias_pattern: 'search-', index_pattern: '.ent-search-engine-documents' } ); // This is the list of mock indices and aliases that are: // - Non-hidden indices and aliases + // - hidden indices that starts with ".ent-search-engine-documents" // - search- prefixed aliases that point to hidden indices - expect(returnValue).toEqual( + expect(returnValue.sort(sortIndices)).toEqual( [ 'regular-index', 'alias-regular-index', @@ -415,9 +422,14 @@ describe('fetchIndices lib function', () => { 'search-prefixed-regular-index', 'alias-search-prefixed-regular-index', 'search-alias-search-prefixed-regular-index', + '.ent-search-engine-documents-12345', + 'search-alias-.ent-search-engine-documents-12345', + 'search-alias-search-prefixed-.ent-search-engine-documents-12345', 'search-alias-hidden-index', 'search-alias-search-prefixed-hidden-index', - ].map(getIndexReturnValue) + ] + .map(getIndexReturnValue) + .sort(sortIndices) ); // This is the list of mock indices and aliases that are: @@ -430,6 +442,9 @@ describe('fetchIndices lib function', () => { 'search-prefixed-hidden-index', 'alias-hidden-index', 'alias-search-prefixed-hidden-index', + 'alias-.ent-search-engine-documents-12345', + 'search-prefixed-.ent-search-engine-documents-12345', + 'alias-search-prefixed-.ent-search-engine-documents-12345', ].map(getIndexReturnValue) ) ); @@ -463,11 +478,19 @@ describe('fetchIndices lib function', () => { '*', true, true, - 'search-' + { alias_pattern: 'search-', index_pattern: '.ent-search-engine-documents' } ); expect(returnValue).toEqual( - expect.arrayContaining(Object.keys(mockMultiStatsResponse.indices).map(getIndexReturnValue)) + expect.not.arrayContaining(['alias-.ent-search-engine-documents-12345']) + ); + + // this specific alias should not be returned because... + const expectedIndices = Object.keys(mockMultiStatsResponse.indices).filter( + (indexName) => indexName !== 'alias-.ent-search-engine-documents-12345' + ); + expect(returnValue.sort(sortIndices)).toEqual( + expectedIndices.map(getIndexReturnValue).sort(sortIndices) ); expect(mockClient.asCurrentUser.indices.get).toHaveBeenCalledWith({ diff --git a/x-pack/plugins/enterprise_search/server/lib/indices/fetch_indices.ts b/x-pack/plugins/enterprise_search/server/lib/indices/fetch_indices.ts index fd9180ba71130..e0a1750d2a8e4 100644 --- a/x-pack/plugins/enterprise_search/server/lib/indices/fetch_indices.ts +++ b/x-pack/plugins/enterprise_search/server/lib/indices/fetch_indices.ts @@ -13,7 +13,7 @@ import { } from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; import { IScopedClusterClient } from '@kbn/core/server'; -import { ElasticsearchIndexWithPrivileges } from '../../../common/types/indices'; +import { AlwaysShowPattern, ElasticsearchIndexWithPrivileges } from '../../../common/types/indices'; import { fetchIndexCounts } from './fetch_index_counts'; import { fetchIndexPrivileges } from './fetch_index_privileges'; @@ -34,12 +34,14 @@ export const fetchIndices = async ( indexPattern: string, returnHiddenIndices: boolean, includeAliases: boolean, - alwaysShowSearchPattern?: 'search-' + alwaysShowPattern?: AlwaysShowPattern ): Promise => { // This call retrieves alias and settings information about indices - // If we provide an override pattern with alwaysShowSearchPattern we get everything and filter out hiddens. + // If we provide an override pattern with alwaysShowPattern we get everything and filter out hiddens. const expandWildcards: ExpandWildcard[] = - returnHiddenIndices || alwaysShowSearchPattern ? ['hidden', 'all'] : ['open']; + returnHiddenIndices || alwaysShowPattern?.alias_pattern || alwaysShowPattern?.index_pattern + ? ['hidden', 'all'] + : ['open']; const { allIndexMatches, indexAndAliasNames, indicesNames, alwaysShowMatchNames } = await getIndexData( @@ -48,7 +50,7 @@ export const fetchIndices = async ( expandWildcards, returnHiddenIndices, includeAliases, - alwaysShowSearchPattern + alwaysShowPattern ); if (indicesNames.length === 0) { @@ -80,19 +82,28 @@ export const fetchIndices = async ( privileges: { manage: false, read: false, ...indexPrivileges[name] }, }; return includeAliases - ? [indexEntry, ...expandAliases(name, aliases, indexData, totalIndexData)] + ? [ + indexEntry, + ...expandAliases( + name, + aliases, + indexData, + totalIndexData, + ...(name.startsWith('.ent-search-engine-documents') ? [alwaysShowPattern] : []) + ), + ] : [indexEntry]; }); let indicesData = regularIndexData; - if (alwaysShowSearchPattern && includeAliases) { + if (alwaysShowPattern?.alias_pattern && includeAliases) { const indexNamesAlreadyIncluded = regularIndexData.map(({ name }) => name); const itemsToInclude = getAlwaysShowAliases(indexNamesAlreadyIncluded, alwaysShowMatchNames) .map(getIndexDataMapper(totalIndexData)) .flatMap(({ name, aliases, ...indexData }) => { - return expandAliases(name, aliases, indexData, totalIndexData, alwaysShowSearchPattern); + return expandAliases(name, aliases, indexData, totalIndexData, alwaysShowPattern); }); indicesData = [...indicesData, ...itemsToInclude]; diff --git a/x-pack/plugins/enterprise_search/server/lib/indices/utils/extract_always_show_indices.test.ts b/x-pack/plugins/enterprise_search/server/lib/indices/utils/extract_always_show_indices.test.ts index 927109359c31e..720cbb9e0484d 100644 --- a/x-pack/plugins/enterprise_search/server/lib/indices/utils/extract_always_show_indices.test.ts +++ b/x-pack/plugins/enterprise_search/server/lib/indices/utils/extract_always_show_indices.test.ts @@ -87,13 +87,13 @@ describe('expandAliases util function', () => { ]); }); - it('expands only aliases that starts with alwaysShowSearchPattern', () => { + it('expands only aliases that starts with alwaysShowPattern', () => { const expandedAliasList = expandAliases( mockIndexName, mockAliases, mockIndex, mockIndicesData, - 'search-' + { alias_pattern: 'search-', index_pattern: '.ent-search-engine-documents' } ); expect(expandedAliasList).toEqual([ diff --git a/x-pack/plugins/enterprise_search/server/lib/indices/utils/extract_always_show_indices.ts b/x-pack/plugins/enterprise_search/server/lib/indices/utils/extract_always_show_indices.ts index 47103639b7866..55a17bf7ba0fa 100644 --- a/x-pack/plugins/enterprise_search/server/lib/indices/utils/extract_always_show_indices.ts +++ b/x-pack/plugins/enterprise_search/server/lib/indices/utils/extract_always_show_indices.ts @@ -7,7 +7,7 @@ import { SecurityHasPrivilegesPrivileges } from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; -import { ElasticsearchIndex } from '../../../../common/types/indices'; +import { AlwaysShowPattern, ElasticsearchIndex } from '../../../../common/types/indices'; export const getAlwaysShowAliases = (indexAndAliasNames: string[], alwaysShowNames: string[]) => { if (alwaysShowNames.length === 0) return []; @@ -23,10 +23,10 @@ export const expandAliases = ( indexCounts: Record; indexPrivileges: Record; }, - alwaysShowSearchPattern?: 'search-' + alwaysShowPattern?: AlwaysShowPattern ) => { - const filteredAliases = alwaysShowSearchPattern - ? aliases.filter((alias) => alias.startsWith(alwaysShowSearchPattern)) + const filteredAliases = alwaysShowPattern + ? aliases.filter((alias) => alias.startsWith(alwaysShowPattern.alias_pattern)) : aliases; return filteredAliases.map((alias) => ({ alias: true, diff --git a/x-pack/plugins/enterprise_search/server/lib/indices/utils/get_index_data.test.ts b/x-pack/plugins/enterprise_search/server/lib/indices/utils/get_index_data.test.ts index 7e9859a4e8076..cfbec2012bb72 100644 --- a/x-pack/plugins/enterprise_search/server/lib/indices/utils/get_index_data.test.ts +++ b/x-pack/plugins/enterprise_search/server/lib/indices/utils/get_index_data.test.ts @@ -116,12 +116,16 @@ describe('getIndexData util function', () => { 'regular-index', 'search-prefixed-hidden-index', 'search-prefixed-regular-index', + '.ent-search-engine-documents-12345', + 'search-prefixed-.ent-search-engine-documents-12345', ], indicesNames: [ 'hidden-index', 'regular-index', 'search-prefixed-hidden-index', 'search-prefixed-regular-index', + '.ent-search-engine-documents-12345', + 'search-prefixed-.ent-search-engine-documents-12345', ], }); }); @@ -164,21 +168,29 @@ describe('getIndexData util function', () => { 'search-prefixed-regular-index', 'alias-search-prefixed-regular-index', 'search-alias-search-prefixed-regular-index', + '.ent-search-engine-documents-12345', + 'alias-.ent-search-engine-documents-12345', + 'search-alias-.ent-search-engine-documents-12345', + 'search-prefixed-.ent-search-engine-documents-12345', + 'alias-search-prefixed-.ent-search-engine-documents-12345', + 'search-alias-search-prefixed-.ent-search-engine-documents-12345', ], indicesNames: [ 'hidden-index', 'regular-index', 'search-prefixed-hidden-index', 'search-prefixed-regular-index', + '.ent-search-engine-documents-12345', + 'search-prefixed-.ent-search-engine-documents-12345', ], }); }); // This is a happy path tests for a case where we set all parameter on route // There are other possible cases where if you set includeAliases to false and still - // pass a search- pattern. you will get some weird results back. It won't be false but + // pass a 'search-' pattern and '.ent-search-engine-documents'. you will get some weird results back. It won't be false but // useless. These will go away on the next iterations we have. - it('returns non-hidden and alwaysShowSearchPattern matching indices', async () => { + it('returns non-hidden and alwaysShowPattern matching indices ', async () => { mockClient.asCurrentUser.indices.get.mockImplementationOnce(() => { return mockMultiIndexResponse; }); @@ -189,7 +201,7 @@ describe('getIndexData util function', () => { ['hidden', 'all'], false, true, - 'search-' + { alias_pattern: 'search-', index_pattern: '.ent-search-engine-documents' } ); expect(mockClient.asCurrentUser.indices.get).toHaveBeenCalledWith({ @@ -206,6 +218,8 @@ describe('getIndexData util function', () => { 'regular-index', 'search-prefixed-hidden-index', 'search-prefixed-regular-index', + '.ent-search-engine-documents-12345', + 'search-prefixed-.ent-search-engine-documents-12345', ], expandWildcards: ['hidden', 'all'], indexAndAliasNames: [ @@ -221,8 +235,18 @@ describe('getIndexData util function', () => { 'search-prefixed-regular-index', 'alias-search-prefixed-regular-index', 'search-alias-search-prefixed-regular-index', + '.ent-search-engine-documents-12345', + 'alias-.ent-search-engine-documents-12345', + 'search-alias-.ent-search-engine-documents-12345', + 'search-prefixed-.ent-search-engine-documents-12345', + 'alias-search-prefixed-.ent-search-engine-documents-12345', + 'search-alias-search-prefixed-.ent-search-engine-documents-12345', + ], + indicesNames: [ + 'regular-index', + 'search-prefixed-regular-index', + '.ent-search-engine-documents-12345', ], - indicesNames: ['regular-index', 'search-prefixed-regular-index'], }); }); }); diff --git a/x-pack/plugins/enterprise_search/server/lib/indices/utils/get_index_data.ts b/x-pack/plugins/enterprise_search/server/lib/indices/utils/get_index_data.ts index e3c667141e95d..7ac4b8d2d858b 100644 --- a/x-pack/plugins/enterprise_search/server/lib/indices/utils/get_index_data.ts +++ b/x-pack/plugins/enterprise_search/server/lib/indices/utils/get_index_data.ts @@ -9,6 +9,8 @@ import { ExpandWildcard } from '@elastic/elasticsearch/lib/api/types'; import { IScopedClusterClient } from '@kbn/core/server'; +import { AlwaysShowPattern } from '../../../../common/types/indices'; + import { TotalIndexData } from '../fetch_indices'; import { mapIndexStats } from './map_index_stats'; @@ -19,7 +21,7 @@ export const getIndexData = async ( expandWildcards: ExpandWildcard[], returnHiddenIndices: boolean, includeAliases: boolean, - alwaysShowSearchPattern?: 'search-' + alwaysShowPattern?: AlwaysShowPattern ) => { const totalIndices = await client.asCurrentUser.indices.get({ expand_wildcards: expandWildcards, @@ -31,7 +33,7 @@ export const getIndexData = async ( index: indexPattern, }); - // Index names that with one of their aliases match with the alwaysShowSearchPattern + // Index names that with one of their aliases match with the alwaysShowPattern const alwaysShowPatternMatches = new Set(); const indexAndAliasNames: string[] = Object.keys(totalIndices).reduce( @@ -44,7 +46,10 @@ export const getIndexData = async ( accum.push(alias); // Add indexName to the set if an alias matches the pattern - if (alwaysShowSearchPattern && alias.startsWith(alwaysShowSearchPattern)) { + if ( + alwaysShowPattern?.alias_pattern && + alias.startsWith(alwaysShowPattern?.alias_pattern) + ) { alwaysShowPatternMatches.add(indexName); } }); @@ -57,7 +62,10 @@ export const getIndexData = async ( const indicesNames = returnHiddenIndices ? Object.keys(totalIndices) : Object.keys(totalIndices).filter( - (indexName) => !(totalIndices[indexName]?.settings?.index?.hidden === 'true') + (indexName) => + !(totalIndices[indexName]?.settings?.index?.hidden === 'true') || + (alwaysShowPattern?.index_pattern && + indexName.startsWith(alwaysShowPattern.index_pattern)) ); return { allIndexMatches: totalIndices, diff --git a/x-pack/plugins/enterprise_search/server/routes/enterprise_search/indices.ts b/x-pack/plugins/enterprise_search/server/routes/enterprise_search/indices.ts index aa6c4f5c3db78..25fbac7328f73 100644 --- a/x-pack/plugins/enterprise_search/server/routes/enterprise_search/indices.ts +++ b/x-pack/plugins/enterprise_search/server/routes/enterprise_search/indices.ts @@ -16,6 +16,7 @@ import { i18n } from '@kbn/i18n'; import { DEFAULT_PIPELINE_NAME } from '../../../common/constants'; import { ErrorCode } from '../../../common/types/error_codes'; +import { AlwaysShowPattern } from '../../../common/types/indices'; import type { CreateMlInferencePipelineResponse, @@ -63,7 +64,11 @@ export function registerIndexRoutes({ { path: '/internal/enterprise_search/search_indices', validate: false }, elasticsearchErrorHandler(log, async (context, _, response) => { const { client } = (await context.core).elasticsearch; - const indices = await fetchIndices(client, '*', false, true, 'search-'); + const patterns: AlwaysShowPattern = { + alias_pattern: 'search-', + index_pattern: '.ent-search-engine-documents', + }; + const indices = await fetchIndices(client, '*', false, true, patterns); return response.ok({ body: indices, From 86d33de9b2e673b454ecb90c783a1f2d917b154a Mon Sep 17 00:00:00 2001 From: Kevin Logan <56395104+kevinlog@users.noreply.github.com> Date: Mon, 31 Oct 2022 10:54:53 -0400 Subject: [PATCH 039/111] [Security Solution] Add Respond button to launch Response Console from Host Details (#143988) --- .../security_solution/hosts/common/index.ts | 1 + .../components/header_page/index.test.tsx | 13 ++++ .../common/components/header_page/index.tsx | 4 +- .../responder_action_button.tsx | 49 ++++++++++++ .../responder_context_menu_item.tsx | 77 +++---------------- .../endpoint_responder/translations.ts | 27 +++++++ .../use_responder_action_data.ts | 72 +++++++++++++++++ .../take_action_dropdown/index.test.tsx | 2 +- .../public/hosts/pages/details/index.tsx | 6 ++ .../factory/hosts/details/helpers.ts | 1 + 10 files changed, 182 insertions(+), 70 deletions(-) create mode 100644 x-pack/plugins/security_solution/public/detections/components/endpoint_responder/responder_action_button.tsx create mode 100644 x-pack/plugins/security_solution/public/detections/components/endpoint_responder/translations.ts create mode 100644 x-pack/plugins/security_solution/public/detections/components/endpoint_responder/use_responder_action_data.ts diff --git a/x-pack/plugins/security_solution/common/search_strategy/security_solution/hosts/common/index.ts b/x-pack/plugins/security_solution/common/search_strategy/security_solution/hosts/common/index.ts index ab2c2d4d7c948..15e2d99772af8 100644 --- a/x-pack/plugins/security_solution/common/search_strategy/security_solution/hosts/common/index.ts +++ b/x-pack/plugins/security_solution/common/search_strategy/security_solution/hosts/common/index.ts @@ -32,6 +32,7 @@ export interface EndpointFields { /** A count of pending endpoint actions against the host */ pendingActions?: Maybe; elasticAgentStatus?: Maybe; + fleetAgentId?: Maybe; id?: Maybe; } diff --git a/x-pack/plugins/security_solution/public/common/components/header_page/index.test.tsx b/x-pack/plugins/security_solution/public/common/components/header_page/index.test.tsx index eef91978bba2d..762ce80c7c6a5 100644 --- a/x-pack/plugins/security_solution/public/common/components/header_page/index.test.tsx +++ b/x-pack/plugins/security_solution/public/common/components/header_page/index.test.tsx @@ -138,4 +138,17 @@ describe('HeaderPage', () => { ); expect(securitySolutionHeaderPage).not.toHaveStyleRule('padding-bottom', euiDarkVars.euiSizeL); }); + + test('it renders the right side items', () => { + const wrapper = mount( + + {'Right side item'}]} + /> + + ); + + expect(wrapper.find('[data-test-subj="right-side-item"]').exists()).toBe(true); + }); }); diff --git a/x-pack/plugins/security_solution/public/common/components/header_page/index.tsx b/x-pack/plugins/security_solution/public/common/components/header_page/index.tsx index 0e6a51fdb268e..39988e5666000 100644 --- a/x-pack/plugins/security_solution/public/common/components/header_page/index.tsx +++ b/x-pack/plugins/security_solution/public/common/components/header_page/index.tsx @@ -69,6 +69,7 @@ export interface HeaderPageProps extends HeaderProps { subtitle2?: SubtitleProps['items']; title: TitleProp; titleNode?: React.ReactElement; + rightSideItems?: React.ReactNode[]; } export const HeaderLinkBack: React.FC<{ backOptions: BackOptions }> = React.memo( @@ -108,9 +109,10 @@ const HeaderPageComponent: React.FC = ({ subtitle2, title, titleNode, + rightSideItems, }) => ( <> - + {backOptions && } {!backOptions && backComponent && <>{backComponent}} diff --git a/x-pack/plugins/security_solution/public/detections/components/endpoint_responder/responder_action_button.tsx b/x-pack/plugins/security_solution/public/detections/components/endpoint_responder/responder_action_button.tsx new file mode 100644 index 0000000000000..6701d6e5cb36a --- /dev/null +++ b/x-pack/plugins/security_solution/public/detections/components/endpoint_responder/responder_action_button.tsx @@ -0,0 +1,49 @@ +/* + * 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 { EuiButton, EuiToolTip } from '@elastic/eui'; +import React, { memo } from 'react'; +import { FormattedMessage } from '@kbn/i18n-react'; +import { + type ResponderContextMenuItemProps, + useResponderActionData, +} from './use_responder_action_data'; +import { useUserPrivileges } from '../../../common/components/user_privileges'; + +export const ResponderActionButton = memo( + ({ endpointId, onClick }) => { + const { handleResponseActionsClick, isDisabled, tooltip } = useResponderActionData({ + endpointId, + onClick, + }); + const endpointPrivileges = useUserPrivileges().endpointPrivileges; + + if (!endpointPrivileges.canAccessResponseConsole) { + return null; + } + + const actionButtonKey = 'endpointResponseActions-action-button'; + + return ( + + + + + + ); + } +); +ResponderActionButton.displayName = 'ResponderActionButton'; 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 9a6428b183d6e..9d50884b68643 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 @@ -6,78 +6,19 @@ */ import { EuiContextMenuItem } from '@elastic/eui'; -import type { ReactNode } from 'react'; -import React, { memo, useCallback, useMemo } from 'react'; +import React, { memo } from 'react'; import { FormattedMessage } from '@kbn/i18n-react'; -import { i18n } from '@kbn/i18n'; -import { useGetEndpointDetails, useWithShowEndpointResponder } from '../../../management/hooks'; -import { HostStatus } from '../../../../common/endpoint/types'; - -export const NOT_FROM_ENDPOINT_HOST_TOOLTIP = i18n.translate( - 'xpack.securitySolution.endpoint.detections.takeAction.responseActionConsole.notSupportedTooltip', - { - defaultMessage: 'Add the Elastic Defend integration via Elastic Agent to enable this feature', - } -); -export const HOST_ENDPOINT_UNENROLLED_TOOLTIP = i18n.translate( - 'xpack.securitySolution.endpoint.detections.takeAction.responseActionConsole.unenrolledTooltip', - { defaultMessage: 'Host is no longer enrolled with the Elastic Defend integration' } -); -export const LOADING_ENDPOINT_DATA_TOOLTIP = i18n.translate( - 'xpack.securitySolution.endpoint.detections.takeAction.responseActionConsole.loadingTooltip', - { defaultMessage: 'Loading' } -); -export const METADATA_API_ERROR_TOOLTIP = i18n.translate( - 'xpack.securitySolution.endpoint.detections.takeAction.responseActionConsole.generalMetadataErrorTooltip', - { defaultMessage: 'Failed to retrieve Endpoint metadata' } -); - -export interface ResponderContextMenuItemProps { - endpointId: string; - onClick?: () => void; -} +import { + type ResponderContextMenuItemProps, + useResponderActionData, +} from './use_responder_action_data'; export const ResponderContextMenuItem = memo( ({ endpointId, onClick }) => { - const showEndpointResponseActionsConsole = useWithShowEndpointResponder(); - const { - data: endpointHostInfo, - isFetching, - error, - } = useGetEndpointDetails(endpointId, { enabled: Boolean(endpointId) }); - - const [isDisabled, tooltip]: [disabled: boolean, tooltip: ReactNode] = useMemo(() => { - if (!endpointId) { - return [true, NOT_FROM_ENDPOINT_HOST_TOOLTIP]; - } - - // Still loading Endpoint host info - if (isFetching) { - return [true, LOADING_ENDPOINT_DATA_TOOLTIP]; - } - - // if we got an error and it's a 400 with unenrolled in the error message (alerts can exist for endpoint that are no longer around) - // or, - // the Host status is `unenrolled` - if ( - (error && error.body?.statusCode === 400 && error.body?.message.includes('unenrolled')) || - endpointHostInfo?.host_status === HostStatus.UNENROLLED - ) { - return [true, HOST_ENDPOINT_UNENROLLED_TOOLTIP]; - } - - // return general error tooltip - if (error) { - return [true, METADATA_API_ERROR_TOOLTIP]; - } - - return [false, undefined]; - }, [endpointHostInfo, endpointId, error, isFetching]); - - const handleResponseActionsClick = useCallback(() => { - if (endpointHostInfo) showEndpointResponseActionsConsole(endpointHostInfo.metadata); - if (onClick) onClick(); - }, [endpointHostInfo, onClick, showEndpointResponseActionsConsole]); + const { handleResponseActionsClick, isDisabled, tooltip } = useResponderActionData({ + endpointId, + onClick, + }); return ( void; +} + +export const useResponderActionData = ({ + endpointId, + onClick, +}: ResponderContextMenuItemProps): { + handleResponseActionsClick: () => void; + isDisabled: boolean; + tooltip: ReactNode; +} => { + const showEndpointResponseActionsConsole = useWithShowEndpointResponder(); + const { + data: endpointHostInfo, + isFetching, + error, + } = useGetEndpointDetails(endpointId, { enabled: Boolean(endpointId) }); + + const [isDisabled, tooltip]: [disabled: boolean, tooltip: ReactNode] = useMemo(() => { + if (!endpointId) { + return [true, NOT_FROM_ENDPOINT_HOST_TOOLTIP]; + } + + // Still loading Endpoint host info + if (isFetching) { + return [true, LOADING_ENDPOINT_DATA_TOOLTIP]; + } + + // if we got an error and it's a 400 with unenrolled in the error message (alerts can exist for endpoint that are no longer around) + // or, + // the Host status is `unenrolled` + if ( + (error && error.body?.statusCode === 400 && error.body?.message.includes('unenrolled')) || + endpointHostInfo?.host_status === HostStatus.UNENROLLED + ) { + return [true, HOST_ENDPOINT_UNENROLLED_TOOLTIP]; + } + + // return general error tooltip + if (error) { + return [true, METADATA_API_ERROR_TOOLTIP]; + } + + return [false, undefined]; + }, [endpointHostInfo, endpointId, error, isFetching]); + + const handleResponseActionsClick = useCallback(() => { + if (endpointHostInfo) showEndpointResponseActionsConsole(endpointHostInfo.metadata); + if (onClick) onClick(); + }, [endpointHostInfo, onClick, showEndpointResponseActionsConsole]); + + return { handleResponseActionsClick, isDisabled, tooltip }; +}; diff --git a/x-pack/plugins/security_solution/public/detections/components/take_action_dropdown/index.test.tsx b/x-pack/plugins/security_solution/public/detections/components/take_action_dropdown/index.test.tsx index e6aa1b8efd1b6..6d93f5645b6e5 100644 --- a/x-pack/plugins/security_solution/public/detections/components/take_action_dropdown/index.test.tsx +++ b/x-pack/plugins/security_solution/public/detections/components/take_action_dropdown/index.test.tsx @@ -26,7 +26,7 @@ import { useIsExperimentalFeatureEnabled } from '../../../common/hooks/use_exper import { NOT_FROM_ENDPOINT_HOST_TOOLTIP, HOST_ENDPOINT_UNENROLLED_TOOLTIP, -} from '../endpoint_responder/responder_context_menu_item'; +} from '../endpoint_responder/translations'; import { endpointMetadataHttpMocks } from '../../../management/pages/endpoint_hosts/mocks'; import type { HttpSetup } from '@kbn/core/public'; import { diff --git a/x-pack/plugins/security_solution/public/hosts/pages/details/index.tsx b/x-pack/plugins/security_solution/public/hosts/pages/details/index.tsx index 9d430654c7748..7f09845c51084 100644 --- a/x-pack/plugins/security_solution/public/hosts/pages/details/index.tsx +++ b/x-pack/plugins/security_solution/public/hosts/pages/details/index.tsx @@ -64,6 +64,7 @@ import { useSourcererDataView } from '../../../common/containers/sourcerer'; import { LandingPageComponent } from '../../../common/components/landing_page'; import { AlertCountByRuleByStatus } from '../../../common/components/alert_count_by_status'; import { useLicense } from '../../../common/hooks/use_license'; +import { ResponderActionButton } from '../../../detections/components/endpoint_responder/responder_action_button'; const ES_HOST_FIELD = 'host.hostname'; const HostOverviewManage = manageQuery(HostOverview); @@ -187,6 +188,11 @@ const HostDetailsComponent: React.FC = ({ detailName, hostDeta /> } title={detailName} + rightSideItems={[ + hostOverview.endpoint?.fleetAgentId && ( + + ), + ]} /> Date: Mon, 31 Oct 2022 11:14:13 -0400 Subject: [PATCH 040/111] [ResponseOps][Actions] support mustache context variables with periods in the name (#143703) * Converting names with periods to objects * Adding tests * Fixing bug * Fixing comment * Adding new test --- .../server/lib/mustache_renderer.test.ts | 71 +++++++++++++++++++ .../actions/server/lib/mustache_renderer.ts | 28 +++++++- 2 files changed, 98 insertions(+), 1 deletion(-) 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 4fa76f5a133ca..964a793d8f81c 100644 --- a/x-pack/plugins/actions/server/lib/mustache_renderer.test.ts +++ b/x-pack/plugins/actions/server/lib/mustache_renderer.test.ts @@ -340,4 +340,75 @@ describe('mustache_renderer', () => { const expected = '1 - {"c":2,"d":[3,4]} -- 5,{"f":6,"g":7}'; expect(renderMustacheString('{{a}} - {{b}} -- {{e}}', deepVariables, 'none')).toEqual(expected); }); + + describe('converting dot variables', () => { + it('handles multiple dots', () => { + const dotVariables = { + context: [ + { + _index: '.internal.alerts-observability.metrics.alerts-default-000001', + _id: 'a8616ced-c22b-466c-a964-8db53af930ef', + '_score.test': 1, + _source: { + 'kibana.alert.rule.category': 'Metric threshold', + 'kibana.alert.rule.consumer': 'infrastructure', + 'kibana.alert.rule.execution.uuid': 'c42da290-30be-4e90-a7fb-75e160bac758', + 'kibana.alert.rule.name': 'test rule', + 'kibana.alert.rule.producer': 'infrastructure', + 'kibana.alert.rule.rule_type_id': 'metrics.alert.threshold', + 'kibana.alert.rule.uuid': '534c0f20-5533-11ed-b0da-c1155191eec9', + 'kibana.space_ids': ['default'], + 'kibana.alert.rule.tags': [], + '@timestamp': '2022-10-26T13:50:06.516Z', + 'kibana.alert.reason': + 'event.duration is 235,545,454.54545 in the last 1 min for execute. Alert when > 0.', + 'kibana.alert.duration.us': 759925000, + 'kibana.alert.time_range': { + gte: '2022-10-26T13:37:26.591Z', + }, + 'kibana.alert.instance.id': 'execute', + 'kibana.alert.start': '2022-10-26T13:37:26.591Z', + 'kibana.alert.uuid': 'a8616ced-c22b-466c-a964-8db53af930ef', + 'kibana.alert.status': 'active', + 'kibana.alert.workflow_status': 'open', + 'event.kind': 'signal', + 'event.action': 'active', + 'kibana.version': '8.6.0', + tags: [], + }, + }, + ], + }; + + expect( + renderMustacheObject( + { + x: '{{context.0._source.kibana.alert.rule.category}} - {{context.0._score.test}} - {{context.0._source.kibana.alert.time_range.gte}}', + }, + dotVariables + ) + ).toMatchInlineSnapshot(` + Object { + "x": "Metric threshold - 1 - 2022-10-26T13:37:26.591Z", + } + `); + + expect( + renderMustacheString( + '{{context.0._source.kibana.alert.rule.category}} - {{context.0._score.test}} - {{context.0._source.kibana.alert.time_range.gte}}', + dotVariables, + 'none' + ) + ).toEqual('Metric threshold - 1 - 2022-10-26T13:37:26.591Z'); + }); + + it('should replace single value with the object', () => { + expect(renderMustacheObject({ x: '{{a}}' }, { a: 1, 'a.b': 2 })).toMatchInlineSnapshot(` + Object { + "x": "{\\"b\\":2}", + } + `); + expect(renderMustacheString('{{a}}', { a: 1, 'a.b': 2 }, 'none')).toEqual('{"b":2}'); + }); + }); }); diff --git a/x-pack/plugins/actions/server/lib/mustache_renderer.ts b/x-pack/plugins/actions/server/lib/mustache_renderer.ts index 3602cebaa7bf1..fc4381fa0c9c3 100644 --- a/x-pack/plugins/actions/server/lib/mustache_renderer.ts +++ b/x-pack/plugins/actions/server/lib/mustache_renderer.ts @@ -6,7 +6,7 @@ */ import Mustache from 'mustache'; -import { isString, isPlainObject, cloneDeepWith } from 'lodash'; +import { isString, isPlainObject, cloneDeepWith, merge } from 'lodash'; export type Escape = 'markdown' | 'slack' | 'json' | 'none'; type Variables = Record; @@ -57,10 +57,36 @@ export function renderMustacheObject(params: Params, variables: Variable // return variables cloned, with a toString() added to objects function augmentObjectVariables(variables: Variables): Variables { const result = JSON.parse(JSON.stringify(variables)); + // convert variables with '.' in the name to objects + convertDotVariables(result); addToStringDeep(result); return result; } +function convertDotVariables(variables: Variables) { + Object.keys(variables).forEach((key) => { + if (key.includes('.')) { + const obj = buildObject(key, variables[key]); + variables = merge(variables, obj); + } + if (typeof variables[key] === 'object' && variables[key] != null) { + convertDotVariables(variables[key] as Variables); + } + }); +} + +function buildObject(key: string, value: unknown) { + const newObject: Variables = {}; + let tempObject = newObject; + const splits = key.split('.'); + const length = splits.length - 1; + splits.forEach((k, index) => { + tempObject[k] = index === length ? value : ({} as unknown); + tempObject = tempObject[k] as Variables; + }); + return newObject; +} + function addToStringDeep(object: unknown): void { // for objects, add a toString method, and then walk if (isNonNullObject(object)) { From 8eeba8b22baf6312e66b7ce730e7a43e079ff11e Mon Sep 17 00:00:00 2001 From: Nathan Reese Date: Mon, 31 Oct 2022 09:17:50 -0600 Subject: [PATCH 041/111] [Maps] capture metrics for layer_groups in telemetry (#144068) * [Maps] capture metrics for layer_groups in telemetry * [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix' * tslint fixes * telemetry_check fixes * fix jest test Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> --- .../telemetry/layer_stats_collector.test.ts | 10 +++++-- .../common/telemetry/layer_stats_collector.ts | 12 +++++--- .../sample_map_saved_objects.json | 2 +- x-pack/plugins/maps/common/telemetry/types.ts | 1 + .../maps_telemetry/collectors/register.ts | 12 ++++++++ .../map_stats/map_stats_collector.test.ts | 15 ++++++++-- .../schema/xpack_plugins.json | 28 +++++++++++++++++++ 7 files changed, 70 insertions(+), 10 deletions(-) diff --git a/x-pack/plugins/maps/common/telemetry/layer_stats_collector.test.ts b/x-pack/plugins/maps/common/telemetry/layer_stats_collector.test.ts index fbdfad705a0d4..1b9c6adfa2eb5 100644 --- a/x-pack/plugins/maps/common/telemetry/layer_stats_collector.test.ts +++ b/x-pack/plugins/maps/common/telemetry/layer_stats_collector.test.ts @@ -12,14 +12,14 @@ import { MapSavedObjectAttributes } from '../map_saved_object_type'; const expecteds = [ { - layerCount: 3, + layerCount: 4, basemapCounts: { roadmap: 1 }, joinCounts: {}, - layerCounts: { ems_basemap: 1, ems_region: 1, es_agg_clusters: 1 }, + layerCounts: { ems_basemap: 1, ems_region: 1, es_agg_clusters: 1, layer_group: 1 }, resolutionCounts: { coarse: 1 }, scalingCounts: {}, emsFileCounts: { italy_provinces: 1 }, - layerTypeCounts: { TILE: 1, GEOJSON_VECTOR: 2 }, + layerTypeCounts: { GEOJSON_VECTOR: 2, LAYER_GROUP: 1, TILE: 1 }, sourceCount: 3, }, { @@ -93,6 +93,10 @@ describe.each(testsToRun)('LayerStatsCollector %#', (attributes, expected) => { expect(statsCollector.getLayerCounts()).toEqual(expected.layerCounts); }); + test('getLayerTypeCounts', () => { + expect(statsCollector.getLayerTypeCounts()).toEqual(expected.layerTypeCounts); + }); + test('getResolutionCounts', () => { expect(statsCollector.getResolutionCounts()).toEqual(expected.resolutionCounts); }); diff --git a/x-pack/plugins/maps/common/telemetry/layer_stats_collector.ts b/x-pack/plugins/maps/common/telemetry/layer_stats_collector.ts index 0978b3ace87ec..e31f4120194f6 100644 --- a/x-pack/plugins/maps/common/telemetry/layer_stats_collector.ts +++ b/x-pack/plugins/maps/common/telemetry/layer_stats_collector.ts @@ -155,14 +155,18 @@ function getJoinKey(layerDescriptor: LayerDescriptor): JOIN_KEYS | null { } function getLayerKey(layerDescriptor: LayerDescriptor): LAYER_KEYS | null { - if (!layerDescriptor.sourceDescriptor) { - return null; - } - if (layerDescriptor.type === LAYER_TYPE.HEATMAP) { return LAYER_KEYS.ES_AGG_HEATMAP; } + if (layerDescriptor.type === LAYER_TYPE.LAYER_GROUP) { + return LAYER_KEYS.LAYER_GROUP; + } + + if (!layerDescriptor.sourceDescriptor) { + return null; + } + if (layerDescriptor.sourceDescriptor.type === SOURCE_TYPES.EMS_FILE) { return LAYER_KEYS.EMS_REGION; } diff --git a/x-pack/plugins/maps/common/telemetry/test_resources/sample_map_saved_objects.json b/x-pack/plugins/maps/common/telemetry/test_resources/sample_map_saved_objects.json index 908bacb091aea..a8efb534de5c4 100644 --- a/x-pack/plugins/maps/common/telemetry/test_resources/sample_map_saved_objects.json +++ b/x-pack/plugins/maps/common/telemetry/test_resources/sample_map_saved_objects.json @@ -6,7 +6,7 @@ "title": "Italy Map", "description": "", "mapStateJSON": "{\"zoom\":4.82,\"center\":{\"lon\":11.41545,\"lat\":42.0865},\"timeFilters\":{\"from\":\"now-15w\",\"to\":\"now\"},\"refreshConfig\":{\"isPaused\":false,\"interval\":0},\"query\":{\"language\":\"lucene\",\"query\":\"\"}}", - "layerListJSON": "[{\"sourceDescriptor\":{\"type\":\"EMS_TMS\",\"id\":\"road_map\"},\"id\":\"csq5v\",\"label\":null,\"minZoom\":0,\"maxZoom\":24,\"alpha\":0.65,\"visible\":true,\"style\":{\"type\":\"TILE\",\"properties\":{}},\"type\":\"TILE\"},{\"sourceDescriptor\":{\"type\":\"EMS_FILE\",\"id\":\"italy_provinces\"},\"id\":\"0oye8\",\"label\":null,\"minZoom\":0,\"maxZoom\":24,\"alpha\":0.75,\"visible\":true,\"style\":{\"type\":\"VECTOR\",\"properties\":{\"fillColor\":{\"type\":\"STATIC\",\"options\":{\"color\":\"#0c1f70\"}},\"lineColor\":{\"type\":\"STATIC\",\"options\":{\"color\":\"#FFFFFF\"}},\"lineWidth\":{\"type\":\"STATIC\",\"options\":{\"size\":1}},\"iconSize\":{\"type\":\"STATIC\",\"options\":{\"size\":10}}}},\"type\":\"GEOJSON_VECTOR\"},{\"sourceDescriptor\":{\"type\":\"ES_GEO_GRID\",\"id\":\"053fe296-f5ae-4cb0-9e73-a5752cb9ba74\",\"indexPatternId\":\"d3d7af60-4c81-11e8-b3d7-01146121b73d\",\"geoField\":\"DestLocation\",\"requestType\":\"point\",\"resolution\":\"COARSE\"},\"id\":\"1gx22\",\"label\":null,\"minZoom\":0,\"maxZoom\":24,\"alpha\":0.75,\"visible\":true,\"style\":{\"type\":\"VECTOR\",\"properties\":{\"fillColor\":{\"type\":\"DYNAMIC\",\"options\":{\"field\":{\"label\":\"Count\",\"name\":\"doc_count\",\"origin\":\"source\"},\"color\":\"Greens\"}},\"lineColor\":{\"type\":\"STATIC\",\"options\":{\"color\":\"#FFFFFF\"}},\"lineWidth\":{\"type\":\"STATIC\",\"options\":{\"size\":1}},\"iconSize\":{\"type\":\"DYNAMIC\",\"options\":{\"field\":{\"label\":\"Count\",\"name\":\"doc_count\",\"origin\":\"source\"},\"minSize\":4,\"maxSize\":32}}}},\"type\":\"GEOJSON_VECTOR\"}]", + "layerListJSON": "[{\"id\":\"123\",\"label\":\"Layer Group\",\"sourceDescriptor\":null,\"type\":\"LAYER_GROUP\"},{\"sourceDescriptor\":{\"type\":\"EMS_TMS\",\"id\":\"road_map\"},\"id\":\"csq5v\",\"label\":null,\"minZoom\":0,\"maxZoom\":24,\"alpha\":0.65,\"visible\":true,\"style\":{\"type\":\"TILE\",\"properties\":{}},\"type\":\"TILE\"},{\"sourceDescriptor\":{\"type\":\"EMS_FILE\",\"id\":\"italy_provinces\"},\"id\":\"0oye8\",\"label\":null,\"minZoom\":0,\"maxZoom\":24,\"alpha\":0.75,\"visible\":true,\"style\":{\"type\":\"VECTOR\",\"properties\":{\"fillColor\":{\"type\":\"STATIC\",\"options\":{\"color\":\"#0c1f70\"}},\"lineColor\":{\"type\":\"STATIC\",\"options\":{\"color\":\"#FFFFFF\"}},\"lineWidth\":{\"type\":\"STATIC\",\"options\":{\"size\":1}},\"iconSize\":{\"type\":\"STATIC\",\"options\":{\"size\":10}}}},\"type\":\"GEOJSON_VECTOR\"},{\"sourceDescriptor\":{\"type\":\"ES_GEO_GRID\",\"id\":\"053fe296-f5ae-4cb0-9e73-a5752cb9ba74\",\"indexPatternId\":\"d3d7af60-4c81-11e8-b3d7-01146121b73d\",\"geoField\":\"DestLocation\",\"requestType\":\"point\",\"resolution\":\"COARSE\"},\"id\":\"1gx22\",\"label\":null,\"minZoom\":0,\"maxZoom\":24,\"alpha\":0.75,\"visible\":true,\"style\":{\"type\":\"VECTOR\",\"properties\":{\"fillColor\":{\"type\":\"DYNAMIC\",\"options\":{\"field\":{\"label\":\"Count\",\"name\":\"doc_count\",\"origin\":\"source\"},\"color\":\"Greens\"}},\"lineColor\":{\"type\":\"STATIC\",\"options\":{\"color\":\"#FFFFFF\"}},\"lineWidth\":{\"type\":\"STATIC\",\"options\":{\"size\":1}},\"iconSize\":{\"type\":\"DYNAMIC\",\"options\":{\"field\":{\"label\":\"Count\",\"name\":\"doc_count\",\"origin\":\"source\"},\"minSize\":4,\"maxSize\":32}}}},\"type\":\"GEOJSON_VECTOR\"}]", "uiStateJSON": "{}" }, "references": [ diff --git a/x-pack/plugins/maps/common/telemetry/types.ts b/x-pack/plugins/maps/common/telemetry/types.ts index 7b0dfc4eae3bb..b0d740bf4f239 100644 --- a/x-pack/plugins/maps/common/telemetry/types.ts +++ b/x-pack/plugins/maps/common/telemetry/types.ts @@ -29,6 +29,7 @@ export enum LAYER_KEYS { EMS_REGION = 'ems_region', EMS_BASEMAP = 'ems_basemap', KBN_TMS_RASTER = 'kbn_tms_raster', + LAYER_GROUP = 'layer_group', UX_TMS_RASTER = 'ux_tms_raster', // configured in the UX layer wizard of Maps UX_TMS_MVT = 'ux_tms_mvt', // configured in the UX layer wizard of Maps UX_WMS = 'ux_wms', // configured in the UX layer wizard of Maps diff --git a/x-pack/plugins/maps/server/maps_telemetry/collectors/register.ts b/x-pack/plugins/maps/server/maps_telemetry/collectors/register.ts index 24b2707064c32..9f2e520c428a2 100644 --- a/x-pack/plugins/maps/server/maps_telemetry/collectors/register.ts +++ b/x-pack/plugins/maps/server/maps_telemetry/collectors/register.ts @@ -166,6 +166,18 @@ export function registerMapsUsageCollector(usageCollection?: UsageCollectionSetu _meta: { description: 'total number of kbn tms layers in cluster' }, }, }, + layer_group: { + min: { type: 'long', _meta: { description: 'min number of layer groups per map' } }, + max: { type: 'long', _meta: { description: 'max number of layer groups per map' } }, + avg: { + type: 'float', + _meta: { description: 'avg number of layer groups per map' }, + }, + total: { + type: 'long', + _meta: { description: 'total number of layer groups in cluster' }, + }, + }, ux_tms_mvt: { min: { type: 'long', _meta: { description: 'min number of ux tms-mvt layers per map' } }, max: { type: 'long', _meta: { description: 'max number of ux tms-mvt layers per map' } }, diff --git a/x-pack/plugins/maps/server/maps_telemetry/map_stats/map_stats_collector.test.ts b/x-pack/plugins/maps/server/maps_telemetry/map_stats/map_stats_collector.test.ts index 48860338ae11f..a4dd0df8e2712 100644 --- a/x-pack/plugins/maps/server/maps_telemetry/map_stats/map_stats_collector.test.ts +++ b/x-pack/plugins/maps/server/maps_telemetry/map_stats/map_stats_collector.test.ts @@ -84,6 +84,12 @@ test('returns expected telemetry data from saved objects', () => { min: 1, total: 1, }, + layer_group: { + avg: 0.2, + max: 1, + min: 1, + total: 1, + }, }, scalingOptions: { limit: { @@ -151,6 +157,11 @@ test('returns expected telemetry data from saved objects', () => { max: 1, min: 1, }, + LAYER_GROUP: { + avg: 0.2, + max: 1, + min: 1, + }, TILE: { avg: 0.6, max: 1, @@ -163,8 +174,8 @@ test('returns expected telemetry data from saved objects', () => { }, }, layersCount: { - avg: 2, - max: 3, + avg: 2.2, + max: 4, min: 1, }, }, diff --git a/x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json b/x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json index aa1ad20363166..af39095245086 100644 --- a/x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json +++ b/x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json @@ -5618,6 +5618,34 @@ } } }, + "layer_group": { + "properties": { + "min": { + "type": "long", + "_meta": { + "description": "min number of layer groups per map" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "max number of layer groups per map" + } + }, + "avg": { + "type": "float", + "_meta": { + "description": "avg number of layer groups per map" + } + }, + "total": { + "type": "long", + "_meta": { + "description": "total number of layer groups in cluster" + } + } + } + }, "ux_tms_mvt": { "properties": { "min": { From 026de51644cc38dd35488fae8765e191abd091be Mon Sep 17 00:00:00 2001 From: Lisa Cawley Date: Mon, 31 Oct 2022 08:18:35 -0700 Subject: [PATCH 042/111] Update CODEOWNERS (#143554) --- .github/CODEOWNERS | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index f536168edb6e8..974afddddef6a 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -205,6 +205,7 @@ /x-pack/test/alerting_api_integration/spaces_only/tests/alerting/transform_rule_types/ @elastic/ml-ui /x-pack/test/screenshot_creation/apps/ml_docs @elastic/ml-ui /x-pack/test/screenshot_creation/services/ml_screenshots.ts @elastic/ml-ui +/docs/api/machine-learning/ @elastic/mlr-docs # Additional plugins and packages maintained by the ML team. /x-pack/plugins/aiops/ @elastic/ml-ui @@ -352,6 +353,8 @@ /x-pack/test/functional/services/cases/ @elastic/response-ops /x-pack/test/functional_with_es_ssl/apps/cases/ @elastic/response-ops /x-pack/test/api_integration/apis/cases/ @elastic/response-ops +/docs/api/cases @elastic/mlr-docs +/x-pack/plugins/cases/docs/openapi @elastic/mlr-docs # Enterprise Search /x-pack/plugins/enterprise_search @elastic/enterprise-search-frontend From aa9614d792f24937b63ece85b153b16177fd619e Mon Sep 17 00:00:00 2001 From: Lukas Olson Date: Mon, 31 Oct 2022 08:47:33 -0700 Subject: [PATCH 043/111] Fix autocomplete value suggestion time range (#144134) * fix: autocomplete time range rounding * Use absolute date so tests will actually pass for longer than a day Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> --- .../value_suggestion_provider.test.ts | 39 +++++++++++++------ .../providers/value_suggestion_provider.ts | 2 +- 2 files changed, 29 insertions(+), 12 deletions(-) diff --git a/src/plugins/unified_search/public/autocomplete/providers/value_suggestion_provider.test.ts b/src/plugins/unified_search/public/autocomplete/providers/value_suggestion_provider.test.ts index 310e3d402df34..07dbf4eacec28 100644 --- a/src/plugins/unified_search/public/autocomplete/providers/value_suggestion_provider.test.ts +++ b/src/plugins/unified_search/public/autocomplete/providers/value_suggestion_provider.test.ts @@ -21,24 +21,19 @@ describe('FieldSuggestions', () => { const uiSettings = { get: (key: string) => uiConfig[key], } as IUiSettingsClient; + let getTimeMock: jest.Mock; + let createFilterMock: jest.Mock; beforeEach(() => { + getTimeMock = jest.fn().mockReturnValue({ to: 'now', from: 'now-15m' }); + createFilterMock = jest.fn().mockReturnValue({ time: 'fake' }); http = { fetch: jest.fn().mockResolvedValue([]) }; getValueSuggestions = setupValueSuggestionProvider({ http, uiSettings } as CoreSetup, { timefilter: { timefilter: { - createFilter: () => { - return { - time: 'fake', - }; - }, - getTime: () => { - return { - to: 'now', - from: 'now-15m', - }; - }, + createFilter: createFilterMock, + getTime: getTimeMock, }, } as unknown as TimefilterSetup, }); @@ -234,6 +229,28 @@ describe('FieldSuggestions', () => { expect(http.fetch).toHaveBeenCalled(); }); + it('should round timefilter `to` value', async () => { + getTimeMock.mockReturnValue({ from: '2022-10-27||/d', to: '2022-10-27||/d' }); + + const [field] = stubFields.filter( + ({ type, aggregatable }) => type === 'string' && aggregatable + ); + + await getValueSuggestions({ + indexPattern: stubIndexPattern, + field, + query: '', + useTimeRange: true, + }); + + expect(createFilterMock.mock.calls[0][1]).toMatchInlineSnapshot(` + Object { + "from": "2022-10-27T04:00:00.000Z", + "to": "2022-10-28T03:59:59.999Z", + } + `); + }); + it('should use terms_enum', async () => { uiConfig = { [UI_SETTINGS.FILTERS_EDITOR_SUGGEST_VALUES]: true, diff --git a/src/plugins/unified_search/public/autocomplete/providers/value_suggestion_provider.ts b/src/plugins/unified_search/public/autocomplete/providers/value_suggestion_provider.ts index f935cd9362b56..127754583d448 100644 --- a/src/plugins/unified_search/public/autocomplete/providers/value_suggestion_provider.ts +++ b/src/plugins/unified_search/public/autocomplete/providers/value_suggestion_provider.ts @@ -32,7 +32,7 @@ const getAutocompleteTimefilter = ({ timefilter }: TimefilterSetup, indexPattern // Use a rounded timerange so that memoizing works properly const roundedTimerange = { from: dateMath.parse(timeRange.from)!.startOf('minute').toISOString(), - to: dateMath.parse(timeRange.to)!.endOf('minute').toISOString(), + to: dateMath.parse(timeRange.to, { roundUp: true })!.endOf('minute').toISOString(), }; return timefilter.createFilter(indexPattern, roundedTimerange); }; From 49598dd77c2c836ca550466adcff2b82de572202 Mon Sep 17 00:00:00 2001 From: Jonathan Budzenski Date: Mon, 31 Oct 2022 11:19:27 -0500 Subject: [PATCH 044/111] [optimizer] Use default memory limit when thread count <=3 (#144195) We're seeing OOM errors with the `--profile` flag and a memory cap of 2gb. This removes the limit, using the node.js default and allowing overrides with NODE_OPTIONS --- packages/kbn-optimizer/src/optimizer/observe_worker.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/kbn-optimizer/src/optimizer/observe_worker.ts b/packages/kbn-optimizer/src/optimizer/observe_worker.ts index 338f64a63b3d7..b73e441671eaf 100644 --- a/packages/kbn-optimizer/src/optimizer/observe_worker.ts +++ b/packages/kbn-optimizer/src/optimizer/observe_worker.ts @@ -74,7 +74,6 @@ function usingWorkerProc( ...(inspectFlag && config.inspectWorkers ? [`${inspectFlag}=${inspectPortCounter++}`] : []), - ...(config.maxWorkerCount <= 3 ? ['--max-old-space-size=2048'] : []), ], buffer: false, stderr: 'pipe', From df1a662e355078cdf7575a31434be20babe7bc3d Mon Sep 17 00:00:00 2001 From: Lisa Cawley Date: Mon, 31 Oct 2022 09:48:22 -0700 Subject: [PATCH 045/111] [DOCS] Add redirect for alerts and actions (#144251) --- docs/redirects.asciidoc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/redirects.asciidoc b/docs/redirects.asciidoc index fe1f3b9521cf2..a0193baaa0ab0 100644 --- a/docs/redirects.asciidoc +++ b/docs/redirects.asciidoc @@ -419,4 +419,9 @@ This page has been deleted. Refer to <>. [role="exclude",id="ml-sync"] == Sync machine learning objects API -This page has been deleted. Refer to <>. \ No newline at end of file +This page has been deleted. Refer to <>. + +[role="exclude",id="managing-alerts-and-actions"] +== Alerts and Actions + +This page has been deleted. Refer to <>. \ No newline at end of file From 399a1189a9a1733cbbc19b3d3a25d57d16377923 Mon Sep 17 00:00:00 2001 From: Baturalp Gurdin <9674241+suchcodemuchwow@users.noreply.github.com> Date: Mon, 31 Oct 2022 17:56:59 +0100 Subject: [PATCH 046/111] remove unnecessary import aliases (#144250) * remove unnecessary import aliases * update doc link to PerformanceMetricEvent --- .../kbn-ebt-tools/src/performance_metric_events/helpers.ts | 2 +- .../kbn-ebt-tools/src/performance_metric_events/index.ts | 7 ++----- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/packages/kbn-ebt-tools/src/performance_metric_events/helpers.ts b/packages/kbn-ebt-tools/src/performance_metric_events/helpers.ts index ed971118687c3..f9aecd2bd7ec9 100644 --- a/packages/kbn-ebt-tools/src/performance_metric_events/helpers.ts +++ b/packages/kbn-ebt-tools/src/performance_metric_events/helpers.ts @@ -28,7 +28,7 @@ export function registerPerformanceMetricEventType( /** * Report a `performance_metric` event type. * @param analytics The {@link AnalyticsClient} to report the events. - * @param eventData The data to send, conforming the structure of a {@link MetricEvent}. + * @param eventData The data to send, conforming the structure of a {@link PerformanceMetricEvent}. */ export function reportPerformanceMetricEvent( analytics: Pick, diff --git a/packages/kbn-ebt-tools/src/performance_metric_events/index.ts b/packages/kbn-ebt-tools/src/performance_metric_events/index.ts index 0002b082754dd..d081f6f331d98 100644 --- a/packages/kbn-ebt-tools/src/performance_metric_events/index.ts +++ b/packages/kbn-ebt-tools/src/performance_metric_events/index.ts @@ -5,8 +5,5 @@ * in compliance with, at your election, the Elastic License 2.0 or the Server * Side Public License, v 1. */ -export type { PerformanceMetricEvent as MetricEvent } from './schema'; -export { - registerPerformanceMetricEventType as registerPerformanceMetricEventType, - reportPerformanceMetricEvent, -} from './helpers'; +export type { PerformanceMetricEvent } from './schema'; +export { registerPerformanceMetricEventType, reportPerformanceMetricEvent } from './helpers'; From 1fa1e47046081ba22d557b2dc87b6e8e018dfd2c Mon Sep 17 00:00:00 2001 From: Nicolas Chaulet Date: Mon, 31 Oct 2022 13:07:44 -0400 Subject: [PATCH 047/111] [Fleet] Log agent usage every n minutes (#144037) --- .../scripts/create_agents/create_agents.ts | 2 - .../fleet/server/collectors/register.ts | 10 +++ x-pack/plugins/fleet/server/plugin.ts | 5 +- .../server/services/fleet_usage_logger.ts | 70 +++++++++++++++++++ 4 files changed, 84 insertions(+), 3 deletions(-) create mode 100644 x-pack/plugins/fleet/server/services/fleet_usage_logger.ts diff --git a/x-pack/plugins/fleet/scripts/create_agents/create_agents.ts b/x-pack/plugins/fleet/scripts/create_agents/create_agents.ts index 31df24c70a5d4..0a9d14339729a 100644 --- a/x-pack/plugins/fleet/scripts/create_agents/create_agents.ts +++ b/x-pack/plugins/fleet/scripts/create_agents/create_agents.ts @@ -99,8 +99,6 @@ async function createAgentPolicy(id: string) { namespace: 'default', description: '', monitoring_enabled: ['logs'], - data_output_id: 'fleet-default-output', - monitoring_output_id: 'fleet-default-output', }), headers: { Authorization: auth, diff --git a/x-pack/plugins/fleet/server/collectors/register.ts b/x-pack/plugins/fleet/server/collectors/register.ts index f19682a5a243a..a194ff9b560e5 100644 --- a/x-pack/plugins/fleet/server/collectors/register.ts +++ b/x-pack/plugins/fleet/server/collectors/register.ts @@ -37,6 +37,16 @@ export const fetchUsage = async (core: CoreSetup, config: FleetConfigType) => { return usage; }; +export const fetchAgentsUsage = async (core: CoreSetup, config: FleetConfigType) => { + const [soClient, esClient] = await getInternalClients(core); + const usage = { + agents_enabled: getIsAgentsEnabled(config), + agents: await getAgentUsage(config, soClient, esClient), + fleet_server: await getFleetServerUsage(soClient, esClient), + }; + return usage; +}; + export function registerFleetUsageCollector( core: CoreSetup, config: FleetConfigType, diff --git a/x-pack/plugins/fleet/server/plugin.ts b/x-pack/plugins/fleet/server/plugin.ts index 7d00f944fbf81..5d177641daee5 100644 --- a/x-pack/plugins/fleet/server/plugin.ts +++ b/x-pack/plugins/fleet/server/plugin.ts @@ -101,7 +101,7 @@ import { AgentServiceImpl, PackageServiceImpl, } from './services'; -import { registerFleetUsageCollector, fetchUsage } from './collectors/register'; +import { registerFleetUsageCollector, fetchUsage, fetchAgentsUsage } from './collectors/register'; import { getAuthzFromRequest, makeRouterWithFleetAuthz } from './routes/security'; import { FleetArtifactsClient } from './services/artifacts'; import type { FleetRouter } from './types/request_context'; @@ -110,6 +110,7 @@ import { setupFleet } from './services/setup'; import { BulkActionsResolver } from './services/agents'; import type { PackagePolicyService } from './services/package_policy_service'; import { PackagePolicyServiceImpl } from './services/package_policy'; +import { registerFleetUsageLogger, startFleetUsageLogger } from './services/fleet_usage_logger'; export interface FleetSetupDeps { security: SecurityPluginSetup; @@ -388,6 +389,7 @@ export class FleetPlugin this.kibanaVersion, this.isProductionMode ); + registerFleetUsageLogger(deps.taskManager, async () => fetchAgentsUsage(core, config)); const router: FleetRouter = core.http.createRouter(); // Allow read-only users access to endpoints necessary for Integrations UI @@ -455,6 +457,7 @@ export class FleetPlugin this.telemetryEventsSender.start(plugins.telemetry, core); this.bulkActionsResolver?.start(plugins.taskManager); this.fleetUsageSender?.start(plugins.taskManager); + startFleetUsageLogger(plugins.taskManager); const logger = appContextService.getLogger(); diff --git a/x-pack/plugins/fleet/server/services/fleet_usage_logger.ts b/x-pack/plugins/fleet/server/services/fleet_usage_logger.ts new file mode 100644 index 0000000000000..6aa84262dc541 --- /dev/null +++ b/x-pack/plugins/fleet/server/services/fleet_usage_logger.ts @@ -0,0 +1,70 @@ +/* + * 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 type { + ConcreteTaskInstance, + TaskManagerStartContract, + TaskManagerSetupContract, +} from '@kbn/task-manager-plugin/server'; + +import type { fetchAgentsUsage } from '../collectors/register'; + +import { appContextService } from './app_context'; + +const TASK_ID = 'Fleet-Usage-Logger-Task'; +const TASK_TYPE = 'Fleet-Usage-Logger'; + +export async function registerFleetUsageLogger( + taskManager: TaskManagerSetupContract, + fetchUsage: () => ReturnType +) { + taskManager.registerTaskDefinitions({ + [TASK_TYPE]: { + title: 'Fleet Usage Logger', + timeout: '1m', + maxAttempts: 1, + createTaskRunner: ({ taskInstance }: { taskInstance: ConcreteTaskInstance }) => { + return { + async run() { + try { + const usageData = await fetchUsage(); + if (appContextService.getLogger().isLevelEnabled('debug')) { + appContextService.getLogger().debug(`Fleet Usage: ${JSON.stringify(usageData)}`); + } else { + appContextService.getLogger().info(`Fleet Usage: ${JSON.stringify(usageData)}`); + } + } catch (error) { + appContextService + .getLogger() + .error('Error occurred while fetching fleet usage: ' + error); + } + }, + + async cancel() {}, + }; + }, + }, + }); +} + +export async function startFleetUsageLogger(taskManager: TaskManagerStartContract) { + const isDebugLogLevelEnabled = appContextService.getLogger().isLevelEnabled('debug'); + const isInfoLogLevelEnabled = appContextService.getLogger().isLevelEnabled('info'); + if (!isInfoLogLevelEnabled) { + return; + } + appContextService.getLogger().info(`Task ${TASK_ID} scheduled with interval 5m`); + await taskManager?.ensureScheduled({ + id: TASK_ID, + taskType: TASK_TYPE, + schedule: { + interval: isDebugLogLevelEnabled ? '5m' : '15m', + }, + scope: ['fleet'], + state: {}, + params: {}, + }); +} From afd7a719ba1df732ba7cf0130f362c9f973095c2 Mon Sep 17 00:00:00 2001 From: Luke Gmys Date: Mon, 31 Oct 2022 18:12:19 +0100 Subject: [PATCH 048/111] [TIP] Add TLP Badges support (#143431) [TIP] Add TLP Badges support --- .../__snapshots__/field.test.tsx.snap | 215 +++--------------- .../components/field_value/field.test.tsx | 28 ++- .../components/field_value/field_value.tsx | 7 +- .../components/flyout/flyout.stories.tsx | 41 ++-- .../__snapshots__/tlp_badge.test.tsx.snap | 47 ++++ .../indicators/components/tlp_badge/index.tsx | 8 + .../tlp_badge/tlp_badge.stories.tsx | 57 +++++ .../components/tlp_badge/tlp_badge.test.tsx | 31 +++ .../components/tlp_badge/tlp_badge.tsx | 40 ++++ .../modules/indicators/types/indicator.ts | 14 ++ 10 files changed, 266 insertions(+), 222 deletions(-) create mode 100644 x-pack/plugins/threat_intelligence/public/modules/indicators/components/tlp_badge/__snapshots__/tlp_badge.test.tsx.snap create mode 100644 x-pack/plugins/threat_intelligence/public/modules/indicators/components/tlp_badge/index.tsx create mode 100644 x-pack/plugins/threat_intelligence/public/modules/indicators/components/tlp_badge/tlp_badge.stories.tsx create mode 100644 x-pack/plugins/threat_intelligence/public/modules/indicators/components/tlp_badge/tlp_badge.test.tsx create mode 100644 x-pack/plugins/threat_intelligence/public/modules/indicators/components/tlp_badge/tlp_badge.tsx diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/field_value/__snapshots__/field.test.tsx.snap b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/field_value/__snapshots__/field.test.tsx.snap index f90ff68de3b14..8dd105a299838 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/field_value/__snapshots__/field.test.tsx.snap +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/field_value/__snapshots__/field.test.tsx.snap @@ -1,196 +1,39 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP +exports[` should render tlp marking badge 1`] = ` + + + + + Red + + + + +`; + exports[` should return - 1`] = ` -Object { - "asFragment": [Function], - "baseElement": -
- - -
- , - "container":
- - -
, - "debug": [Function], - "findAllByAltText": [Function], - "findAllByDisplayValue": [Function], - "findAllByLabelText": [Function], - "findAllByPlaceholderText": [Function], - "findAllByRole": [Function], - "findAllByTestId": [Function], - "findAllByText": [Function], - "findAllByTitle": [Function], - "findByAltText": [Function], - "findByDisplayValue": [Function], - "findByLabelText": [Function], - "findByPlaceholderText": [Function], - "findByRole": [Function], - "findByTestId": [Function], - "findByText": [Function], - "findByTitle": [Function], - "getAllByAltText": [Function], - "getAllByDisplayValue": [Function], - "getAllByLabelText": [Function], - "getAllByPlaceholderText": [Function], - "getAllByRole": [Function], - "getAllByTestId": [Function], - "getAllByText": [Function], - "getAllByTitle": [Function], - "getByAltText": [Function], - "getByDisplayValue": [Function], - "getByLabelText": [Function], - "getByPlaceholderText": [Function], - "getByRole": [Function], - "getByTestId": [Function], - "getByText": [Function], - "getByTitle": [Function], - "queryAllByAltText": [Function], - "queryAllByDisplayValue": [Function], - "queryAllByLabelText": [Function], - "queryAllByPlaceholderText": [Function], - "queryAllByRole": [Function], - "queryAllByTestId": [Function], - "queryAllByText": [Function], - "queryAllByTitle": [Function], - "queryByAltText": [Function], - "queryByDisplayValue": [Function], - "queryByLabelText": [Function], - "queryByPlaceholderText": [Function], - "queryByRole": [Function], - "queryByTestId": [Function], - "queryByText": [Function], - "queryByTitle": [Function], - "rerender": [Function], - "unmount": [Function], -} + + - + `; exports[` should return date-formatted value 1`] = ` -Object { - "asFragment": [Function], - "baseElement": -
- Dec 31, 2021 @ 20:01:01.000 -
- , - "container":
- Dec 31, 2021 @ 20:01:01.000 -
, - "debug": [Function], - "findAllByAltText": [Function], - "findAllByDisplayValue": [Function], - "findAllByLabelText": [Function], - "findAllByPlaceholderText": [Function], - "findAllByRole": [Function], - "findAllByTestId": [Function], - "findAllByText": [Function], - "findAllByTitle": [Function], - "findByAltText": [Function], - "findByDisplayValue": [Function], - "findByLabelText": [Function], - "findByPlaceholderText": [Function], - "findByRole": [Function], - "findByTestId": [Function], - "findByText": [Function], - "findByTitle": [Function], - "getAllByAltText": [Function], - "getAllByDisplayValue": [Function], - "getAllByLabelText": [Function], - "getAllByPlaceholderText": [Function], - "getAllByRole": [Function], - "getAllByTestId": [Function], - "getAllByText": [Function], - "getAllByTitle": [Function], - "getByAltText": [Function], - "getByDisplayValue": [Function], - "getByLabelText": [Function], - "getByPlaceholderText": [Function], - "getByRole": [Function], - "getByTestId": [Function], - "getByText": [Function], - "getByTitle": [Function], - "queryAllByAltText": [Function], - "queryAllByDisplayValue": [Function], - "queryAllByLabelText": [Function], - "queryAllByPlaceholderText": [Function], - "queryAllByRole": [Function], - "queryAllByTestId": [Function], - "queryAllByText": [Function], - "queryAllByTitle": [Function], - "queryByAltText": [Function], - "queryByDisplayValue": [Function], - "queryByLabelText": [Function], - "queryByPlaceholderText": [Function], - "queryByRole": [Function], - "queryByTestId": [Function], - "queryByText": [Function], - "queryByTitle": [Function], - "rerender": [Function], - "unmount": [Function], -} + + Dec 31, 2021 @ 20:01:01.000 + `; exports[` should return non formatted value 1`] = ` -Object { - "asFragment": [Function], - "baseElement": -
- 0.0.0.0 -
- , - "container":
- 0.0.0.0 -
, - "debug": [Function], - "findAllByAltText": [Function], - "findAllByDisplayValue": [Function], - "findAllByLabelText": [Function], - "findAllByPlaceholderText": [Function], - "findAllByRole": [Function], - "findAllByTestId": [Function], - "findAllByText": [Function], - "findAllByTitle": [Function], - "findByAltText": [Function], - "findByDisplayValue": [Function], - "findByLabelText": [Function], - "findByPlaceholderText": [Function], - "findByRole": [Function], - "findByTestId": [Function], - "findByText": [Function], - "findByTitle": [Function], - "getAllByAltText": [Function], - "getAllByDisplayValue": [Function], - "getAllByLabelText": [Function], - "getAllByPlaceholderText": [Function], - "getAllByRole": [Function], - "getAllByTestId": [Function], - "getAllByText": [Function], - "getAllByTitle": [Function], - "getByAltText": [Function], - "getByDisplayValue": [Function], - "getByLabelText": [Function], - "getByPlaceholderText": [Function], - "getByRole": [Function], - "getByTestId": [Function], - "getByText": [Function], - "getByTitle": [Function], - "queryAllByAltText": [Function], - "queryAllByDisplayValue": [Function], - "queryAllByLabelText": [Function], - "queryAllByPlaceholderText": [Function], - "queryAllByRole": [Function], - "queryAllByTestId": [Function], - "queryAllByText": [Function], - "queryAllByTitle": [Function], - "queryByAltText": [Function], - "queryByDisplayValue": [Function], - "queryByLabelText": [Function], - "queryByPlaceholderText": [Function], - "queryByRole": [Function], - "queryByTestId": [Function], - "queryByText": [Function], - "queryByTitle": [Function], - "rerender": [Function], - "unmount": [Function], -} + + 0.0.0.0 + `; diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/field_value/field.test.tsx b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/field_value/field.test.tsx index da78e8db55bc0..c18d0caa5a6e5 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/field_value/field.test.tsx +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/field_value/field.test.tsx @@ -8,7 +8,7 @@ import React from 'react'; import { render } from '@testing-library/react'; import { IndicatorFieldValue } from '.'; -import { generateMockIndicator } from '../../types'; +import { generateMockIndicator, generateMockIndicatorWithTlp } from '../../types'; import { EMPTY_VALUE } from '../../../../common/constants'; import { TestProvidersComponent } from '../../../../common/mocks/test_providers'; @@ -19,23 +19,37 @@ describe('', () => { it('should return non formatted value', () => { const mockField = 'threat.indicator.ip'; - const component = render(); - expect(component).toMatchSnapshot(); + const { asFragment } = render( + + ); + expect(asFragment()).toMatchSnapshot(); }); it(`should return ${EMPTY_VALUE}`, () => { const mockField = 'abc'; - const component = render(); - expect(component).toMatchSnapshot(); + const { asFragment } = render( + + ); + expect(asFragment()).toMatchSnapshot(); }); it('should return date-formatted value', () => { const mockField = 'threat.indicator.first_seen'; - const component = render( + const { asFragment } = render( ); - expect(component).toMatchSnapshot(); + expect(asFragment()).toMatchSnapshot(); + }); + + it('should render tlp marking badge', () => { + const mockField = 'threat.indicator.marking.tlp'; + const { asFragment } = render( + + + + ); + expect(asFragment()).toMatchSnapshot(); }); }); diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/field_value/field_value.tsx b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/field_value/field_value.tsx index c46e08eac302f..00e52cd68bafd 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/field_value/field_value.tsx +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/field_value/field_value.tsx @@ -11,6 +11,7 @@ import { EMPTY_VALUE } from '../../../../common/constants'; import { Indicator, RawIndicatorFieldId } from '../../types'; import { DateFormatter } from '../../../../components/date_formatter'; import { unwrapValue } from '../../utils'; +import { TLPBadge } from '../tlp_badge'; export interface IndicatorFieldValueProps { /** @@ -29,8 +30,12 @@ export interface IndicatorFieldValueProps { */ export const IndicatorFieldValue: VFC = ({ indicator, field }) => { const fieldType = useFieldTypes()[field]; - const value = unwrapValue(indicator, field as RawIndicatorFieldId); + + if (field === RawIndicatorFieldId.MarkingTLP) { + return ; + } + return fieldType === 'date' ? ( ) : value ? ( diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/flyout.stories.tsx b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/flyout.stories.tsx index d697338d70bad..80b75a605cccf 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/flyout.stories.tsx +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/flyout.stories.tsx @@ -7,50 +7,35 @@ import React from 'react'; import { Story } from '@storybook/react'; -import { CoreStart } from '@kbn/core/public'; -import { createKibanaReactContext } from '@kbn/kibana-react-plugin/public'; -import { mockIndicatorsFiltersContext } from '../../../../common/mocks/mock_indicators_filters_context'; -import { mockUiSettingsService } from '../../../../common/mocks/mock_kibana_ui_settings_service'; -import { mockKibanaTimelinesService } from '../../../../common/mocks/mock_kibana_timelines_service'; +import { StoryProvidersComponent } from '../../../../common/mocks/story_providers'; import { generateMockIndicator, Indicator } from '../../types'; import { IndicatorsFlyout } from '.'; -import { IndicatorsFiltersContext } from '../../containers/filters'; export default { component: IndicatorsFlyout, title: 'IndicatorsFlyout', }; -const coreMock = { - uiSettings: mockUiSettingsService(), - timelines: mockKibanaTimelinesService, -} as unknown as CoreStart; -const KibanaReactContext = createKibanaReactContext(coreMock); - export const Default: Story = () => { const mockIndicator: Indicator = generateMockIndicator(); return ( - - - window.alert('Closing flyout')} - /> - - + + window.alert('Closing flyout')} + /> + ); }; export const EmptyIndicator: Story = () => { return ( - - - window.alert('Closing flyout')} - /> - - + + window.alert('Closing flyout')} + /> + ); }; diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/tlp_badge/__snapshots__/tlp_badge.test.tsx.snap b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/tlp_badge/__snapshots__/tlp_badge.test.tsx.snap new file mode 100644 index 0000000000000..22522c97624ae --- /dev/null +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/tlp_badge/__snapshots__/tlp_badge.test.tsx.snap @@ -0,0 +1,47 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`TLPBadge should handle proper value 1`] = ` + + + + + Green + + + + +`; + +exports[`TLPBadge should handle value in various casing with extra spaces 1`] = ` + + + + + Red + + + + +`; + +exports[`TLPBadge should return - if color doesn't exist 1`] = ` + + - + +`; diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/tlp_badge/index.tsx b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/tlp_badge/index.tsx new file mode 100644 index 0000000000000..1fbe78837f77a --- /dev/null +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/tlp_badge/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 './tlp_badge'; diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/tlp_badge/tlp_badge.stories.tsx b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/tlp_badge/tlp_badge.stories.tsx new file mode 100644 index 0000000000000..dd70fd29ee861 --- /dev/null +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/tlp_badge/tlp_badge.stories.tsx @@ -0,0 +1,57 @@ +/* + * 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 { ComponentStory } from '@storybook/react'; +import React from 'react'; +import { TLPBadge, TLPBadgeProps } from './tlp_badge'; + +export default { + component: TLPBadge, + title: 'TLPBadge', +}; + +const Template: ComponentStory = (args: TLPBadgeProps) => ; + +export const Red = Template.bind({}); +Red.args = { + value: 'RED', +}; + +export const Amber = Template.bind({}); +Amber.args = { + value: 'AMBER', +}; + +export const AmberStrict = Template.bind({}); +AmberStrict.args = { + value: 'AMBER+STRICT', +}; + +export const Green = Template.bind({}); +Green.args = { + value: 'GREEN', +}; + +export const White = Template.bind({}); +White.args = { + value: 'WHITE', +}; + +export const Clear = Template.bind({}); +Clear.args = { + value: 'CLEAR', +}; + +export const Empty = Template.bind({}); +Empty.args = { + value: undefined, +}; + +export const Other = Template.bind({}); +Other.args = { + value: 'other', +}; diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/tlp_badge/tlp_badge.test.tsx b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/tlp_badge/tlp_badge.test.tsx new file mode 100644 index 0000000000000..6f18c84640b78 --- /dev/null +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/tlp_badge/tlp_badge.test.tsx @@ -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; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React from 'react'; +import { render } from '@testing-library/react'; +import { EMPTY_VALUE } from '../../../../common/constants'; +import { TLPBadge } from './tlp_badge'; + +describe('TLPBadge', () => { + it(`should return ${EMPTY_VALUE} if color doesn't exist`, () => { + const invalidValue = 'abc'; + const { asFragment } = render(); + expect(asFragment()).toMatchSnapshot(); + }); + + it('should handle value in various casing with extra spaces', () => { + const value = ' RED '; + const { asFragment } = render(); + expect(asFragment()).toMatchSnapshot(); + }); + + it('should handle proper value', () => { + const value = 'green'; + const { asFragment } = render(); + expect(asFragment()).toMatchSnapshot(); + }); +}); diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/tlp_badge/tlp_badge.tsx b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/tlp_badge/tlp_badge.tsx new file mode 100644 index 0000000000000..d8d4d6ca6dc50 --- /dev/null +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/tlp_badge/tlp_badge.tsx @@ -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; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { EuiBadge } from '@elastic/eui'; +import capitalize from 'lodash/capitalize'; +import React, { useMemo, VFC } from 'react'; +import { EMPTY_VALUE } from '../../../../common/constants'; + +export interface TLPBadgeProps { + value: string | undefined | null; +} + +const LEVEL_TO_COLOR: Record = { + red: 'danger', + amber: 'warning', + 'amber+strict': 'warning', + green: 'success', + white: 'hollow', + clear: 'hollow', +} as const; + +export const TLPBadge: VFC = ({ value }) => { + const normalizedValue = value?.toLowerCase().trim(); + const color = LEVEL_TO_COLOR[normalizedValue || '']; + + const displayValue = useMemo( + () => normalizedValue?.replaceAll(/\W/g, ' ').split(' ').map(capitalize).join(' '), + [normalizedValue] + ); + + if (!color) { + return <>{EMPTY_VALUE}; + } + + return {displayValue}; +}; diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/types/indicator.ts b/x-pack/plugins/threat_intelligence/public/modules/indicators/types/indicator.ts index 823809a7750a0..c742096639990 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/indicators/types/indicator.ts +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/types/indicator.ts @@ -100,6 +100,20 @@ export const generateMockIndicator = (): Indicator => { return indicator; }; +/** + * Used to create an Indicator with tlp marking + */ +export const generateMockIndicatorWithTlp = (): Indicator => { + const indicator = generateMockBaseIndicator(); + + indicator.fields['threat.indicator.type'] = ['type']; + indicator.fields['threat.indicator.ip'] = ['0.0.0.0']; + indicator.fields['threat.indicator.name'] = ['0.0.0.0']; + indicator.fields['threat.indicator.marking.tlp'] = ['RED']; + + return indicator; +}; + /** * Used to create a Url Indicator. */ From c1b30cc93b72974a3abdc8e84d125bb0190a2a50 Mon Sep 17 00:00:00 2001 From: christineweng <18648970+christineweng@users.noreply.github.com> Date: Mon, 31 Oct 2022 12:41:13 -0500 Subject: [PATCH 049/111] [Security Solution] Fixes drop down disabled in Top N (#144077) * removed disable dropdown in top_n and reverse order of dropdown to have detection alerts at the top * removed check disabled related tests, added check alerts tests, clean ups * removed disable dropdown in top_n and reverse order of dropdown to have detection alerts at the top * removed check disabled related tests, added check alerts tests, clean ups * clean up * add back option length check and update eui margin --- .../common/components/top_n/helpers.test.tsx | 5 +- .../public/common/components/top_n/helpers.ts | 11 +++- .../common/components/top_n/index.test.tsx | 34 +++++++------ .../common/components/top_n/top_n.test.tsx | 51 ------------------- .../public/common/components/top_n/top_n.tsx | 13 ++--- .../common/components/top_n/translations.ts | 4 +- 6 files changed, 36 insertions(+), 82 deletions(-) diff --git a/x-pack/plugins/security_solution/public/common/components/top_n/helpers.test.tsx b/x-pack/plugins/security_solution/public/common/components/top_n/helpers.test.tsx index 209c0a5ace404..b40130c0a3433 100644 --- a/x-pack/plugins/security_solution/public/common/components/top_n/helpers.test.tsx +++ b/x-pack/plugins/security_solution/public/common/components/top_n/helpers.test.tsx @@ -18,19 +18,16 @@ import { rawEvents, removeIgnoredAlertFilters, shouldIgnoreAlertFilters, + detectionAlertsTables, } from './helpers'; import { SourcererScopeName } from '../../store/sourcerer/model'; -/** the following scopes are detection alert tables */ -const detectionAlertsTables = [TableId.alertsOnAlertsPage, TableId.alertsOnRuleDetailsPage]; - /** the following scopes are NOT detection alert tables */ const otherScopes = [ TableId.hostsPageEvents, TableId.hostsPageSessions, TableId.networkPageEvents, TimelineId.active, - TimelineId.casePage, TimelineId.test, TableId.alternateTest, TableId.kubernetesPageSessions, diff --git a/x-pack/plugins/security_solution/public/common/components/top_n/helpers.ts b/x-pack/plugins/security_solution/public/common/components/top_n/helpers.ts index 75d22f475b68a..170714df654ec 100644 --- a/x-pack/plugins/security_solution/public/common/components/top_n/helpers.ts +++ b/x-pack/plugins/security_solution/public/common/components/top_n/helpers.ts @@ -65,6 +65,13 @@ export interface TopNOption { 'data-test-subj': string; } +/** the following scopes are detection alert tables */ +export const detectionAlertsTables: string[] = [ + TableId.alertsOnAlertsPage, + TableId.alertsOnRuleDetailsPage, + TimelineId.casePage, +]; + /** A (stable) array containing only the 'All events' option */ export const allEvents: TopNOption[] = [ { @@ -117,8 +124,8 @@ export const getOptions = (activeTimelineEventsType?: TimelineEventsType): TopNO }; /** returns true if the specified timelineId is a detections alert table */ -export const isDetectionsAlertsTable = (tableId: string | undefined): boolean => - tableId === TableId.alertsOnAlertsPage || tableId === TableId.alertsOnRuleDetailsPage; +export const isDetectionsAlertsTable = (scopeId: string | undefined): boolean => + scopeId ? detectionAlertsTables.includes(scopeId) : false; /** * The following fields are used to filter alerts tables, (i.e. tables in the diff --git a/x-pack/plugins/security_solution/public/common/components/top_n/index.test.tsx b/x-pack/plugins/security_solution/public/common/components/top_n/index.test.tsx index 7a5b4a351a988..f493cbc64f537 100644 --- a/x-pack/plugins/security_solution/public/common/components/top_n/index.test.tsx +++ b/x-pack/plugins/security_solution/public/common/components/top_n/index.test.tsx @@ -26,6 +26,7 @@ import type { Props } from './top_n'; import { StatefulTopN } from '.'; import { TableId, TimelineId } from '../../../../common/types/timeline'; import { tGridReducer } from '@kbn/timelines-plugin/public'; +import { detectionAlertsTables } from './helpers'; jest.mock('react-router-dom', () => { const original = jest.requireActual('react-router-dom'); @@ -158,7 +159,7 @@ const store = createStore( storage ); -let testProps = { +const testProps = { browserFields: mockBrowserFields, field, indexPattern: mockIndexPattern, @@ -361,21 +362,24 @@ describe('StatefulTopN', () => { expect(props.to).toEqual('2020-04-15T03:46:09.047Z'); }); }); - describe('rendering in a NON-active timeline context', () => { - test(`defaults to the 'Alert events' option when rendering in a NON-active timeline context (e.g. the Alerts table on the Detections page) when 'documentType' from 'useTimelineTypeContext()' is 'alerts'`, async () => { - testProps = { - ...testProps, - scopeId: TableId.alertsOnAlertsPage, - }; - const wrapper = mount( - - - - ); - await waitFor(() => { - const props = wrapper.find('[data-test-subj="top-n"]').first().props() as Props; - expect(props.defaultView).toEqual('alert'); + describe('rendering in alerts context', () => { + detectionAlertsTables.forEach((tableId) => { + test(`defaults to the 'Alert events' option when rendering in Alerts`, async () => { + const wrapper = mount( + + + + ); + await waitFor(() => { + const props = wrapper.find('[data-test-subj="top-n"]').first().props() as Props; + expect(props.defaultView).toEqual('alert'); + }); }); }); }); diff --git a/x-pack/plugins/security_solution/public/common/components/top_n/top_n.test.tsx b/x-pack/plugins/security_solution/public/common/components/top_n/top_n.test.tsx index 155ff517119b6..1e43949cd26c3 100644 --- a/x-pack/plugins/security_solution/public/common/components/top_n/top_n.test.tsx +++ b/x-pack/plugins/security_solution/public/common/components/top_n/top_n.test.tsx @@ -10,7 +10,6 @@ import { mount } from 'enzyme'; import React from 'react'; import { waitFor } from '@testing-library/react'; -import { TableId, TimelineId } from '../../../../common/types'; import '../../mock/match_media'; import { TestProviders, mockIndexPattern } from '../../mock'; @@ -136,56 +135,6 @@ describe('TopN', () => { }); }); - describe('view selection', () => { - const detectionAlertsTimelines = [TableId.alertsOnAlertsPage, TableId.alertsOnRuleDetailsPage]; - - const nonDetectionAlertTables = [ - TableId.hostsPageEvents, - TableId.networkPageEvents, - TimelineId.casePage, - ]; - - test('it disables view selection when scopeId is undefined', () => { - const wrapper = mount( - - - - ); - expect(wrapper.find('[data-test-subj="view-select"]').first().props().disabled).toBe(true); - }); - - test('it disables view selection when timelineId is `active`', () => { - const wrapper = mount( - - - - ); - expect(wrapper.find('[data-test-subj="view-select"]').first().props().disabled).toBe(true); - }); - - detectionAlertsTimelines.forEach((tableId) => { - test(`it enables view selection for detection alert table '${tableId}'`, () => { - const wrapper = mount( - - - - ); - expect(wrapper.find('[data-test-subj="view-select"]').first().props().disabled).toBe(false); - }); - }); - - nonDetectionAlertTables.forEach((tableId) => { - test(`it disables view selection for NON detection alert table '${tableId}'`, () => { - const wrapper = mount( - - - - ); - expect(wrapper.find('[data-test-subj="view-select"]').first().props().disabled).toBe(true); - }); - }); - }); - describe('events view', () => { let wrapper: ReactWrapper; diff --git a/x-pack/plugins/security_solution/public/common/components/top_n/top_n.tsx b/x-pack/plugins/security_solution/public/common/components/top_n/top_n.tsx index 75e4901facb4a..365435ff24d28 100644 --- a/x-pack/plugins/security_solution/public/common/components/top_n/top_n.tsx +++ b/x-pack/plugins/security_solution/public/common/components/top_n/top_n.tsx @@ -17,11 +17,7 @@ import type { InputsModelId } from '../../store/inputs/constants'; import type { TimelineEventsType } from '../../../../common/types/timeline'; import { useSourcererDataView } from '../../containers/sourcerer'; import type { TopNOption } from './helpers'; -import { - isDetectionsAlertsTable, - getSourcererScopeName, - removeIgnoredAlertFilters, -} from './helpers'; +import { getSourcererScopeName, removeIgnoredAlertFilters } from './helpers'; import * as i18n from './translations'; import type { AlertsStackByField } from '../../../detections/components/alerts_kpis/common/types'; @@ -38,11 +34,12 @@ const CloseButton = styled(EuiButtonIcon)` const ViewSelect = styled(EuiSuperSelect)` z-index: 999999; - width: 155px; + width: 170px; `; const TopNContent = styled.div` margin-top: 4px; + margin-right: ${({ theme }) => theme.eui.euiSizeXS}; .euiPanel { border: none; @@ -101,13 +98,13 @@ const TopNComponent: React.FC = ({ () => ( ), - [onViewSelected, options, scopeId, view] + [onViewSelected, options, view] ); // alert workflow statuses (e.g. open | closed) and other alert-specific diff --git a/x-pack/plugins/security_solution/public/common/components/top_n/translations.ts b/x-pack/plugins/security_solution/public/common/components/top_n/translations.ts index e482f4cd7b16d..058e0a8cf2c63 100644 --- a/x-pack/plugins/security_solution/public/common/components/top_n/translations.ts +++ b/x-pack/plugins/security_solution/public/common/components/top_n/translations.ts @@ -12,7 +12,7 @@ export const CLOSE = i18n.translate('xpack.securitySolution.topN.closeButtonLabe }); export const ALL_EVENTS = i18n.translate('xpack.securitySolution.topN.allEventsSelectLabel', { - defaultMessage: 'All events', + defaultMessage: 'Alerts and events', }); export const RAW_EVENTS = i18n.translate('xpack.securitySolution.topN.rawEventsSelectLabel', { @@ -20,5 +20,5 @@ export const RAW_EVENTS = i18n.translate('xpack.securitySolution.topN.rawEventsS }); export const ALERT_EVENTS = i18n.translate('xpack.securitySolution.topN.alertEventsSelectLabel', { - defaultMessage: 'Detection Alerts', + defaultMessage: 'Detection alerts', }); From 59d6cfc7c0b07815ca4ee1b1ddfaad8d62e657b3 Mon Sep 17 00:00:00 2001 From: spalger Date: Mon, 31 Oct 2022 11:41:44 -0600 Subject: [PATCH 050/111] bust invalid cache after files plugin merge --- packages/kbn-optimizer/src/node/node_auto_tranpilation.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/kbn-optimizer/src/node/node_auto_tranpilation.ts b/packages/kbn-optimizer/src/node/node_auto_tranpilation.ts index 2710ba8a54210..b8ca3de021f28 100644 --- a/packages/kbn-optimizer/src/node/node_auto_tranpilation.ts +++ b/packages/kbn-optimizer/src/node/node_auto_tranpilation.ts @@ -135,7 +135,7 @@ export function registerNodeAutoTranspilation() { const cache = new Cache({ pathRoot: REPO_ROOT, - dir: Path.resolve(REPO_ROOT, 'data/node_auto_transpilation_cache_v3', UPSTREAM_BRANCH), + dir: Path.resolve(REPO_ROOT, 'data/node_auto_transpilation_cache_v4', UPSTREAM_BRANCH), prefix: determineCachePrefix(), log: process.env.DEBUG_NODE_TRANSPILER_CACHE ? Fs.createWriteStream(Path.resolve(REPO_ROOT, 'node_auto_transpilation_cache.log'), { From a6e9536c76be5bfd325eb0308edb6d8a38ca71a5 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 31 Oct 2022 10:46:49 -0700 Subject: [PATCH 051/111] Update dependency core-js to ^3.26.0 (main) (#144211) * Update dependency core-js to ^3.26.0 * dedupe * update core-js version Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Jonathan Budzenski --- package.json | 2 +- packages/kbn-babel-preset/node_preset.js | 2 +- packages/kbn-babel-preset/webpack_preset.js | 2 +- yarn.lock | 8 ++++---- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index a7f855e7cd158..1bb692e36df8d 100644 --- a/package.json +++ b/package.json @@ -473,7 +473,7 @@ "compare-versions": "3.5.1", "constate": "^3.3.2", "copy-to-clipboard": "^3.0.8", - "core-js": "^3.25.5", + "core-js": "^3.26.0", "cronstrue": "^1.51.0", "cuid": "^2.1.8", "cytoscape": "^3.10.0", diff --git a/packages/kbn-babel-preset/node_preset.js b/packages/kbn-babel-preset/node_preset.js index 31cebf7e1715a..dfbca5a364f59 100644 --- a/packages/kbn-babel-preset/node_preset.js +++ b/packages/kbn-babel-preset/node_preset.js @@ -31,7 +31,7 @@ module.exports = (_, options = {}) => { // Because of that we should use for that value the same version we install // in the package.json in order to have the same polyfills between the environment // and the tests - corejs: '3.25.5', + corejs: '3.26.0', bugfixes: true, ...(options['@babel/preset-env'] || {}), diff --git a/packages/kbn-babel-preset/webpack_preset.js b/packages/kbn-babel-preset/webpack_preset.js index 171b00911db17..d7359345bf22e 100644 --- a/packages/kbn-babel-preset/webpack_preset.js +++ b/packages/kbn-babel-preset/webpack_preset.js @@ -18,7 +18,7 @@ module.exports = (_, options = {}) => { modules: false, // Please read the explanation for this // in node_preset.js - corejs: '3.25.5', + corejs: '3.26.0', bugfixes: true, }, ], diff --git a/yarn.lock b/yarn.lock index 63bb314bd359a..2b750cbf1980e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -10923,10 +10923,10 @@ core-js@^2.4.0, core-js@^2.5.0, core-js@^2.6.9: resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.6.9.tgz#6b4b214620c834152e179323727fc19741b084f2" integrity sha512-HOpZf6eXmnl7la+cUdMnLvUxKNqLUzJvgIziQ0DiF3JwSImNphIqdGqzj6hIKyX04MmV0poclQ7+wjWvxQyR2A== -core-js@^3.0.4, core-js@^3.25.5, core-js@^3.6.5, core-js@^3.8.2, core-js@^3.8.3: - version "3.25.5" - resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.25.5.tgz#e86f651a2ca8a0237a5f064c2fe56cef89646e27" - integrity sha512-nbm6eZSjm+ZuBQxCUPQKQCoUEfFOXjUZ8dTTyikyKaWrTYmAVbykQfwsKE5dBK88u3QCkCrzsx/PPlKfhsvgpw== +core-js@^3.0.4, core-js@^3.26.0, core-js@^3.6.5, core-js@^3.8.2, core-js@^3.8.3: + version "3.26.0" + resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.26.0.tgz#a516db0ed0811be10eac5d94f3b8463d03faccfe" + integrity sha512-+DkDrhoR4Y0PxDz6rurahuB+I45OsEUv8E1maPTB6OuHRohMMcznBq9TMpdpDMm/hUPob/mJJS3PqgbHpMTQgw== core-util-is@1.0.2, core-util-is@^1.0.2, core-util-is@~1.0.0: version "1.0.2" From 205d5c4e16d8870c0b1f8b7c04d9b16ee98359bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cau=C3=AA=20Marcondes?= <55978943+cauemarcondes@users.noreply.github.com> Date: Mon, 31 Oct 2022 13:57:36 -0400 Subject: [PATCH 052/111] [APM] Mobile APM - Filter (#144172) * [APM] Mobile APM - Filter * adding transaction type filter * adding transaction type * removing transaction type fitler * addressing pr comments * Update elasticsearch_fieldnames.ts * Update get_mobile_filters.ts --- .../apm/common/elasticsearch_fieldnames.ts | 5 + .../service_overview_charts/filters/index.tsx | 87 +++++++++++ .../service_oveview_mobile_charts.tsx | 26 +++- .../routing/service_detail/index.tsx | 4 + .../get_global_apm_server_route_repository.ts | 2 + .../routes/mobile/get_mobile_filters.ts | 147 ++++++++++++++++++ .../plugins/apm/server/routes/mobile/route.ts | 59 +++++++ 7 files changed, 329 insertions(+), 1 deletion(-) create mode 100644 x-pack/plugins/apm/public/components/app/service_overview/service_overview_charts/filters/index.tsx create mode 100644 x-pack/plugins/apm/server/routes/mobile/get_mobile_filters.ts create mode 100644 x-pack/plugins/apm/server/routes/mobile/route.ts diff --git a/x-pack/plugins/apm/common/elasticsearch_fieldnames.ts b/x-pack/plugins/apm/common/elasticsearch_fieldnames.ts index bbd5755e3afb9..6fa3625c7ff78 100644 --- a/x-pack/plugins/apm/common/elasticsearch_fieldnames.ts +++ b/x-pack/plugins/apm/common/elasticsearch_fieldnames.ts @@ -123,6 +123,7 @@ export const HOST = 'host'; export const HOST_HOSTNAME = 'host.hostname'; // Do not use. Please use `HOST_NAME` instead. export const HOST_NAME = 'host.name'; export const HOST_OS_PLATFORM = 'host.os.platform'; +export const HOST_OS_VERSION = 'host.os.version'; export const CONTAINER_ID = 'container.id'; export const CONTAINER = 'container'; export const CONTAINER_IMAGE = 'container.image.name'; @@ -157,3 +158,7 @@ export const FAAS_BILLED_DURATION = 'faas.billed_duration'; // Metadata export const TIER = '_tier'; export const INDEX = '_index'; + +// Mobile +export const DEVICE_MODEL_IDENTIFIER = 'device.model.identifier'; +export const NETWORK_CONNECTION_TYPE = 'network.connection.type'; diff --git a/x-pack/plugins/apm/public/components/app/service_overview/service_overview_charts/filters/index.tsx b/x-pack/plugins/apm/public/components/app/service_overview/service_overview_charts/filters/index.tsx new file mode 100644 index 0000000000000..8cad711759aa1 --- /dev/null +++ b/x-pack/plugins/apm/public/components/app/service_overview/service_overview_charts/filters/index.tsx @@ -0,0 +1,87 @@ +/* + * 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 { EuiFlexGroup, EuiFlexItem, EuiSelect } from '@elastic/eui'; +import React from 'react'; +import { useHistory } from 'react-router-dom'; +import { Environment } from '../../../../../../common/environment_rt'; +import { useApmServiceContext } from '../../../../../context/apm_service/use_apm_service_context'; +import { useFetcher } from '../../../../../hooks/use_fetcher'; +import type { APIReturnType } from '../../../../../services/rest/create_call_apm_api'; +import { push } from '../../../../shared/links/url_helpers'; + +type MobileFilter = + APIReturnType<'GET /internal/apm/services/{serviceName}/mobile/filters'>['mobileFilters'][0]; + +interface Props { + end: string; + environment: Environment; + kuery: string; + start: string; + filters: Record; +} + +const ALL_OPTION = { + value: 'all', + text: 'All', +}; + +export function MobileFilters({ + end, + environment, + kuery, + start, + filters, +}: Props) { + const history = useHistory(); + const { serviceName } = useApmServiceContext(); + const { data = { mobileFilters: [] } } = useFetcher( + (callApmApi) => { + return callApmApi( + 'GET /internal/apm/services/{serviceName}/mobile/filters', + { + params: { + path: { serviceName }, + query: { end, environment, kuery, start }, + }, + } + ); + }, + [end, environment, kuery, serviceName, start] + ); + + function toSelectOptions(items?: string[]) { + return [ + ALL_OPTION, + ...(items?.map((item) => ({ value: item, text: item })) || []), + ]; + } + + function onChangeFilter(key: MobileFilter['key'], value: string) { + push(history, { + query: { [key]: value === ALL_OPTION.value ? '' : value }, + }); + } + + return ( + + {data.mobileFilters.map((filter) => { + return ( + + { + onChangeFilter(filter.key, e.target.value); + }} + /> + + ); + })} + + ); +} diff --git a/x-pack/plugins/apm/public/components/app/service_overview/service_overview_charts/service_oveview_mobile_charts.tsx b/x-pack/plugins/apm/public/components/app/service_overview/service_overview_charts/service_oveview_mobile_charts.tsx index 4dd20ca8a0d94..60871e58dd88a 100644 --- a/x-pack/plugins/apm/public/components/app/service_overview/service_overview_charts/service_oveview_mobile_charts.tsx +++ b/x-pack/plugins/apm/public/components/app/service_overview/service_overview_charts/service_oveview_mobile_charts.tsx @@ -18,6 +18,7 @@ import { TransactionsTable } from '../../../shared/transactions_table'; import { AggregatedTransactionsBadge } from '../../../shared/aggregated_transactions_badge'; import { useApmParams } from '../../../../hooks/use_apm_params'; import { useTimeRange } from '../../../../hooks/use_time_range'; +import { MobileFilters } from './filters'; interface Props { latencyChartHeight: number; @@ -37,7 +38,16 @@ export function ServiceOverviewMobileCharts({ const { query, - query: { environment, kuery, rangeFrom, rangeTo }, + query: { + environment, + kuery, + rangeFrom, + rangeTo, + device, + osVersion, + appVersion, + netConnectionType, + }, } = useApmParams('/services/{serviceName}/overview'); const { start, end } = useTimeRange({ rangeFrom, rangeTo }); @@ -51,6 +61,20 @@ export function ServiceOverviewMobileCharts({ return ( + + + {fallbackToTransactions && ( diff --git a/x-pack/plugins/apm/public/components/routing/service_detail/index.tsx b/x-pack/plugins/apm/public/components/routing/service_detail/index.tsx index 7cc2f7b113fe9..96600d8b85b5c 100644 --- a/x-pack/plugins/apm/public/components/routing/service_detail/index.tsx +++ b/x-pack/plugins/apm/public/components/routing/service_detail/index.tsx @@ -149,6 +149,10 @@ export const serviceDetail = { pageSize: toNumberRt, sortField: t.string, sortDirection: t.union([t.literal('asc'), t.literal('desc')]), + device: t.string, + osVersion: t.string, + appVersion: t.string, + netConnectionType: t.string, }), }), }, diff --git a/x-pack/plugins/apm/server/routes/apm_routes/get_global_apm_server_route_repository.ts b/x-pack/plugins/apm/server/routes/apm_routes/get_global_apm_server_route_repository.ts index 03971c6d115bf..84ef941462b39 100644 --- a/x-pack/plugins/apm/server/routes/apm_routes/get_global_apm_server_route_repository.ts +++ b/x-pack/plugins/apm/server/routes/apm_routes/get_global_apm_server_route_repository.ts @@ -41,6 +41,7 @@ import { traceRouteRepository } from '../traces/route'; import { transactionRouteRepository } from '../transactions/route'; import { storageExplorerRouteRepository } from '../storage_explorer/route'; import { labsRouteRepository } from '../settings/labs/route'; +import { mobileRouteRepository } from '../mobile/route'; function getTypedGlobalApmServerRouteRepository() { const repository = { @@ -75,6 +76,7 @@ function getTypedGlobalApmServerRouteRepository() { ...debugTelemetryRoute, ...timeRangeMetadataRoute, ...labsRouteRepository, + ...mobileRouteRepository, }; return repository; diff --git a/x-pack/plugins/apm/server/routes/mobile/get_mobile_filters.ts b/x-pack/plugins/apm/server/routes/mobile/get_mobile_filters.ts new file mode 100644 index 0000000000000..3bbd43e8ca9ec --- /dev/null +++ b/x-pack/plugins/apm/server/routes/mobile/get_mobile_filters.ts @@ -0,0 +1,147 @@ +/* + * 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 { i18n } from '@kbn/i18n'; +import { + termQuery, + kqlQuery, + rangeQuery, +} from '@kbn/observability-plugin/server'; +import { + DEVICE_MODEL_IDENTIFIER, + HOST_OS_VERSION, + NETWORK_CONNECTION_TYPE, + SERVICE_NAME, + SERVICE_VERSION, +} from '../../../common/elasticsearch_fieldnames'; +import { environmentQuery } from '../../../common/utils/environment_query'; +import { APMEventClient } from '../../lib/helpers/create_es_client/create_apm_event_client'; +import { + getDocumentTypeFilterForTransactions, + getProcessorEventForTransactions, +} from '../../lib/helpers/transactions'; + +type MobileFiltersTypes = + | 'device' + | 'appVersion' + | 'osVersion' + | 'netConnectionType'; +type MobileFilters = Array<{ + key: MobileFiltersTypes; + options: string[]; + label: string; +}>; + +export async function getMobileFilters({ + kuery, + apmEventClient, + serviceName, + environment, + start, + end, + searchAggregatedTransactions, +}: { + kuery: string; + apmEventClient: APMEventClient; + serviceName: string; + environment: string; + start: number; + end: number; + searchAggregatedTransactions: boolean; +}): Promise { + const response = await apmEventClient.search('get_mobile_filters', { + apm: { + events: [getProcessorEventForTransactions(searchAggregatedTransactions)], + }, + body: { + track_total_hits: false, + size: 0, + query: { + bool: { + filter: [ + ...termQuery(SERVICE_NAME, serviceName), + ...rangeQuery(start, end), + ...environmentQuery(environment), + ...kqlQuery(kuery), + ...getDocumentTypeFilterForTransactions( + searchAggregatedTransactions + ), + ], + }, + }, + aggs: { + devices: { + terms: { + field: DEVICE_MODEL_IDENTIFIER, + size: 10, + }, + }, + osVersions: { + terms: { + field: HOST_OS_VERSION, + size: 10, + }, + }, + appVersions: { + terms: { + field: SERVICE_VERSION, + size: 10, + }, + }, + netConnectionTypes: { + terms: { + field: NETWORK_CONNECTION_TYPE, + size: 10, + }, + }, + }, + }, + }); + + return [ + { + key: 'device', + label: i18n.translate('xpack.apm.mobile.filters.device', { + defaultMessage: 'Device', + }), + options: + response.aggregations?.devices?.buckets?.map( + ({ key }) => key as string + ) || [], + }, + { + key: 'osVersion', + label: i18n.translate('xpack.apm.mobile.filters.osVersion', { + defaultMessage: 'OS version', + }), + options: + response.aggregations?.osVersions?.buckets?.map( + ({ key }) => key as string + ) || [], + }, + { + key: 'appVersion', + label: i18n.translate('xpack.apm.mobile.filters.appVersion', { + defaultMessage: 'App version', + }), + options: + response.aggregations?.appVersions?.buckets?.map( + ({ key }) => key as string + ) || [], + }, + { + key: 'netConnectionType', + label: i18n.translate('xpack.apm.mobile.filters.nct', { + defaultMessage: 'NCT', + }), + options: + response.aggregations?.netConnectionTypes?.buckets?.map( + ({ key }) => key as string + ) || [], + }, + ]; +} diff --git a/x-pack/plugins/apm/server/routes/mobile/route.ts b/x-pack/plugins/apm/server/routes/mobile/route.ts new file mode 100644 index 0000000000000..584d6d85f362f --- /dev/null +++ b/x-pack/plugins/apm/server/routes/mobile/route.ts @@ -0,0 +1,59 @@ +/* + * 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 * as t from 'io-ts'; +import { getApmEventClient } from '../../lib/helpers/get_apm_event_client'; +import { setupRequest } from '../../lib/helpers/setup_request'; +import { getSearchTransactionsEvents } from '../../lib/helpers/transactions'; +import { createApmServerRoute } from '../apm_routes/create_apm_server_route'; +import { environmentRt, kueryRt, rangeRt } from '../default_api_types'; +import { getMobileFilters } from './get_mobile_filters'; + +const mobileFilters = createApmServerRoute({ + endpoint: 'GET /internal/apm/services/{serviceName}/mobile/filters', + params: t.type({ + path: t.type({ + serviceName: t.string, + }), + query: t.intersection([kueryRt, rangeRt, environmentRt]), + }), + options: { tags: ['access:apm'] }, + handler: async ( + resources + ): Promise<{ + mobileFilters: Awaited>; + }> => { + const [setup, apmEventClient] = await Promise.all([ + setupRequest(resources), + getApmEventClient(resources), + ]); + const { params } = resources; + const { serviceName } = params.path; + const { kuery, environment, start, end } = params.query; + const searchAggregatedTransactions = await getSearchTransactionsEvents({ + apmEventClient, + config: setup.config, + kuery, + start, + end, + }); + const filters = await getMobileFilters({ + kuery, + environment, + start, + end, + serviceName, + apmEventClient, + searchAggregatedTransactions, + }); + return { mobileFilters: filters }; + }, +}); + +export const mobileRouteRepository = { + ...mobileFilters, +}; From 4695c9a6eb92945c44b26051ab39bcc38e20d1b9 Mon Sep 17 00:00:00 2001 From: Rodney Norris Date: Mon, 31 Oct 2022 13:14:45 -0500 Subject: [PATCH 053/111] fix: scroll to errors in add inference modal (#144198) Updated the AddMLInferencePipelineModal to scroll to the top of the modal if we have create errors to render. --- .../ml_inference/add_ml_inference_pipeline_modal.tsx | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/ml_inference/add_ml_inference_pipeline_modal.tsx b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/ml_inference/add_ml_inference_pipeline_modal.tsx index f2d24260a4b06..bc8d8d7962ca3 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/ml_inference/add_ml_inference_pipeline_modal.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/ml_inference/add_ml_inference_pipeline_modal.tsx @@ -85,6 +85,15 @@ export const AddProcessorContent: React.FC = ( isLoading, addInferencePipelineModal: { step }, } = useValues(MLInferenceLogic); + // Using the value of create errors to reduce unnecessary hook calls + const createErrorsHookDep = createErrors.join('|'); + useEffect(() => { + if (createErrors.length === 0) return; + const modalOverflow = document.getElementsByClassName('euiModalBody__overflow'); + if (modalOverflow.length === 0) return; + modalOverflow[0].scrollTop = 0; + }, [createErrorsHookDep]); + if (isLoading) { return ( From e92b38415d1d1b8720cf3931fb88260ca70cc8a8 Mon Sep 17 00:00:00 2001 From: Rashmi Kulkarni Date: Mon, 31 Oct 2022 11:25:02 -0700 Subject: [PATCH 054/111] checking for flakiness of index pattern filter test (#144180) * checking for flakiness of index pattern filter test * added a small code change to check if the popover is open --- .../apps/management/_index_pattern_filter.ts | 7 +++---- test/functional/page_objects/settings_page.ts | 14 ++++++++++---- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/test/functional/apps/management/_index_pattern_filter.ts b/test/functional/apps/management/_index_pattern_filter.ts index e1e39e93cc6c5..0503ac2e4bf61 100644 --- a/test/functional/apps/management/_index_pattern_filter.ts +++ b/test/functional/apps/management/_index_pattern_filter.ts @@ -13,12 +13,10 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { const kibanaServer = getService('kibanaServer'); const retry = getService('retry'); const PageObjects = getPageObjects(['settings']); - const esArchiver = getService('esArchiver'); - // Failing: See https://github.com/elastic/kibana/issues/143109 - describe.skip('index pattern filter', function describeIndexTests() { + describe('index pattern filter', function describeIndexTests() { before(async function () { - await esArchiver.emptyKibanaIndex(); + await kibanaServer.savedObjects.cleanStandardList(); await kibanaServer.uiSettings.replace({}); await PageObjects.settings.navigateTo(); await PageObjects.settings.clickKibanaIndexPatterns(); @@ -30,6 +28,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { afterEach(async function () { await PageObjects.settings.removeIndexPattern(); + await kibanaServer.savedObjects.cleanStandardList(); }); it('should filter indexed fields', async function () { diff --git a/test/functional/page_objects/settings_page.ts b/test/functional/page_objects/settings_page.ts index 7f48d5acc4ec3..bfa038e5014ec 100644 --- a/test/functional/page_objects/settings_page.ts +++ b/test/functional/page_objects/settings_page.ts @@ -306,9 +306,11 @@ export class SettingsPageObject extends FtrService { } async clearFieldTypeFilter(type: string) { - await this.testSubjects.clickWhenNotDisabledWithoutRetry('indexedFieldTypeFilterDropdown'); await this.retry.try(async () => { - await this.testSubjects.existOrFail('indexedFieldTypeFilterDropdown-popover'); + await this.testSubjects.clickWhenNotDisabledWithoutRetry('indexedFieldTypeFilterDropdown'); + await this.find.byCssSelector( + '.euiPopover-isOpen[data-test-subj="indexedFieldTypeFilterDropdown-popover"]' + ); }); await this.retry.try(async () => { await this.testSubjects.existOrFail(`indexedFieldTypeFilterDropdown-option-${type}-checked`); @@ -319,8 +321,12 @@ export class SettingsPageObject extends FtrService { } async setFieldTypeFilter(type: string) { - await this.testSubjects.clickWhenNotDisabledWithoutRetry('indexedFieldTypeFilterDropdown'); - await this.testSubjects.existOrFail('indexedFieldTypeFilterDropdown-popover'); + await this.retry.try(async () => { + await this.testSubjects.clickWhenNotDisabledWithoutRetry('indexedFieldTypeFilterDropdown'); + await this.find.byCssSelector( + '.euiPopover-isOpen[data-test-subj="indexedFieldTypeFilterDropdown-popover"]' + ); + }); await this.testSubjects.existOrFail(`indexedFieldTypeFilterDropdown-option-${type}`); await this.testSubjects.click(`indexedFieldTypeFilterDropdown-option-${type}`); await this.testSubjects.existOrFail(`indexedFieldTypeFilterDropdown-option-${type}-checked`); From 01d76ebd13669d8b0d90ea91b1094f4acde3f1b3 Mon Sep 17 00:00:00 2001 From: Michael Olorunnisola Date: Mon, 31 Oct 2022 15:16:37 -0400 Subject: [PATCH 055/111] [Security Solution][Investigations] - Alert Details Summary Page (#141709) * initialize alert details page * fix checks * fix types * remove unused import * update details page * fix cases tests * update based on PR feedback: * disable filter in and filter out in alerts details page * fix types * PR feedback * sync with main --- .../src/technical_field_names.ts | 38 + .../common/experimental_features.ts | 5 + .../common/types/timeline/index.ts | 1 + .../e2e/cases/attach_alert_to_case.cy.ts | 15 +- .../detection_alert_details/navigation.cy.ts | 59 + .../cypress/e2e/urls/not_found.cy.ts | 3 +- .../cypress/screens/alerts.ts | 5 + .../cypress/screens/alerts_details.ts | 2 + .../common/components/header_page/index.tsx | 4 +- .../common/components/hover_actions/index.tsx | 24 +- .../hover_actions/use_hover_action_items.tsx | 20 +- .../components/link_to/__mocks__/index.ts | 1 + .../public/common/components/link_to/index.ts | 1 + .../components/link_to/redirect_to_alerts.tsx | 19 + .../navigation/breadcrumbs/index.ts | 8 + .../cases/use_get_related_cases_by_event.ts | 54 + .../common/hooks/use_get_fields_data.ts | 135 ++ .../public/common/utils/route/types.ts | 6 + .../alert_context_menu.test.tsx | 353 +-- .../timeline_actions/alert_context_menu.tsx | 14 +- .../use_open_alert_details.tsx | 54 + .../__mocks__/alert_details_response.ts | 2020 +++++++++++++++++ .../pages/alert_details/__mocks__/index.ts | 8 + .../alert_details/components/error_page.tsx | 33 + .../pages/alert_details/components/header.tsx | 32 + .../alert_details/components/loading_page.tsx | 21 + .../pages/alert_details/index.test.tsx | 144 ++ .../detections/pages/alert_details/index.tsx | 93 + .../alert_render_panel.test.tsx | 57 + .../summary/alert_renderer_panel/index.tsx | 55 + .../summary/cases_panel/cases_panel.test.tsx | 164 ++ .../cases_panel/cases_panel_actions.tsx | 102 + .../tabs/summary/cases_panel/index.tsx | 179 ++ .../summary/get_mitre_threat_component.ts | 123 + .../summary/host_panel/host_panel.test.tsx | 133 ++ .../summary/host_panel/host_panel_actions.tsx | 99 + .../tabs/summary/host_panel/index.tsx | 195 ++ .../alert_details/tabs/summary/index.tsx | 84 + .../tabs/summary/rule_panel/index.tsx | 156 ++ .../summary/rule_panel/rule_panel.test.tsx | 55 + .../summary/rule_panel/rule_panel_actions.tsx | 78 + .../alert_details/tabs/summary/translation.ts | 226 ++ .../tabs/summary/user_panel/index.tsx | 160 ++ .../summary/user_panel/user_panel.test.tsx | 112 + .../summary/user_panel/user_panel_actions.tsx | 99 + .../alert_details/tabs/summary/wrappers.tsx | 60 + .../pages/alert_details/translations.ts | 44 + .../detections/pages/alert_details/types.ts | 14 + .../pages/alert_details/utils/breadcrumbs.ts | 48 + .../utils/get_timeline_event_data.ts | 13 + .../pages/alert_details/utils/navigation.ts | 23 + .../public/detections/pages/alerts/index.tsx | 36 +- .../security_solution/public/helpers.tsx | 8 + .../event_details/expandable_event.tsx | 73 +- .../event_details/flyout/header.tsx | 5 + .../side_panel/event_details/flyout/index.tsx | 2 + .../side_panel/event_details/index.tsx | 3 + .../side_panel/event_details/translations.ts | 7 + .../hooks/use_detail_panel.test.tsx | 237 +- .../side_panel/hooks/use_detail_panel.tsx | 73 +- .../timeline/body/actions/index.test.tsx | 3 + .../timeline/body/actions/index.tsx | 3 - .../body/events/event_column_view.test.tsx | 3 + .../body/renderers/alert_renderer/index.tsx | 15 + .../use_session_view.test.tsx | 8 +- .../session_tab_content/use_session_view.tsx | 8 +- .../timelines/containers/details/index.tsx | 5 +- .../timelines/public/store/t_grid/types.ts | 1 + .../test/security_solution_cypress/config.ts | 4 +- 69 files changed, 5687 insertions(+), 258 deletions(-) create mode 100644 x-pack/plugins/security_solution/cypress/e2e/detection_alert_details/navigation.cy.ts create mode 100644 x-pack/plugins/security_solution/public/common/components/link_to/redirect_to_alerts.tsx create mode 100644 x-pack/plugins/security_solution/public/common/containers/cases/use_get_related_cases_by_event.ts create mode 100644 x-pack/plugins/security_solution/public/common/hooks/use_get_fields_data.ts create mode 100644 x-pack/plugins/security_solution/public/detections/components/alerts_table/timeline_actions/use_open_alert_details.tsx create mode 100644 x-pack/plugins/security_solution/public/detections/pages/alert_details/__mocks__/alert_details_response.ts create mode 100644 x-pack/plugins/security_solution/public/detections/pages/alert_details/__mocks__/index.ts create mode 100644 x-pack/plugins/security_solution/public/detections/pages/alert_details/components/error_page.tsx create mode 100644 x-pack/plugins/security_solution/public/detections/pages/alert_details/components/header.tsx create mode 100644 x-pack/plugins/security_solution/public/detections/pages/alert_details/components/loading_page.tsx create mode 100644 x-pack/plugins/security_solution/public/detections/pages/alert_details/index.test.tsx create mode 100644 x-pack/plugins/security_solution/public/detections/pages/alert_details/index.tsx create mode 100644 x-pack/plugins/security_solution/public/detections/pages/alert_details/tabs/summary/alert_renderer_panel/alert_render_panel.test.tsx create mode 100644 x-pack/plugins/security_solution/public/detections/pages/alert_details/tabs/summary/alert_renderer_panel/index.tsx create mode 100644 x-pack/plugins/security_solution/public/detections/pages/alert_details/tabs/summary/cases_panel/cases_panel.test.tsx create mode 100644 x-pack/plugins/security_solution/public/detections/pages/alert_details/tabs/summary/cases_panel/cases_panel_actions.tsx create mode 100644 x-pack/plugins/security_solution/public/detections/pages/alert_details/tabs/summary/cases_panel/index.tsx create mode 100644 x-pack/plugins/security_solution/public/detections/pages/alert_details/tabs/summary/get_mitre_threat_component.ts create mode 100644 x-pack/plugins/security_solution/public/detections/pages/alert_details/tabs/summary/host_panel/host_panel.test.tsx create mode 100644 x-pack/plugins/security_solution/public/detections/pages/alert_details/tabs/summary/host_panel/host_panel_actions.tsx create mode 100644 x-pack/plugins/security_solution/public/detections/pages/alert_details/tabs/summary/host_panel/index.tsx create mode 100644 x-pack/plugins/security_solution/public/detections/pages/alert_details/tabs/summary/index.tsx create mode 100644 x-pack/plugins/security_solution/public/detections/pages/alert_details/tabs/summary/rule_panel/index.tsx create mode 100644 x-pack/plugins/security_solution/public/detections/pages/alert_details/tabs/summary/rule_panel/rule_panel.test.tsx create mode 100644 x-pack/plugins/security_solution/public/detections/pages/alert_details/tabs/summary/rule_panel/rule_panel_actions.tsx create mode 100644 x-pack/plugins/security_solution/public/detections/pages/alert_details/tabs/summary/translation.ts create mode 100644 x-pack/plugins/security_solution/public/detections/pages/alert_details/tabs/summary/user_panel/index.tsx create mode 100644 x-pack/plugins/security_solution/public/detections/pages/alert_details/tabs/summary/user_panel/user_panel.test.tsx create mode 100644 x-pack/plugins/security_solution/public/detections/pages/alert_details/tabs/summary/user_panel/user_panel_actions.tsx create mode 100644 x-pack/plugins/security_solution/public/detections/pages/alert_details/tabs/summary/wrappers.tsx create mode 100644 x-pack/plugins/security_solution/public/detections/pages/alert_details/translations.ts create mode 100644 x-pack/plugins/security_solution/public/detections/pages/alert_details/types.ts create mode 100644 x-pack/plugins/security_solution/public/detections/pages/alert_details/utils/breadcrumbs.ts create mode 100644 x-pack/plugins/security_solution/public/detections/pages/alert_details/utils/get_timeline_event_data.ts create mode 100644 x-pack/plugins/security_solution/public/detections/pages/alert_details/utils/navigation.ts diff --git a/packages/kbn-rule-data-utils/src/technical_field_names.ts b/packages/kbn-rule-data-utils/src/technical_field_names.ts index 672c25d4e8fab..0e61cba7511ac 100644 --- a/packages/kbn-rule-data-utils/src/technical_field_names.ts +++ b/packages/kbn-rule-data-utils/src/technical_field_names.ts @@ -12,6 +12,7 @@ const KIBANA_NAMESPACE = 'kibana' as const; const ALERT_NAMESPACE = `${KIBANA_NAMESPACE}.alert` as const; const ALERT_RULE_NAMESPACE = `${ALERT_NAMESPACE}.rule` as const; +const ALERT_RULE_THREAT_NAMESPACE = `${ALERT_RULE_NAMESPACE}.threat` as const; const ECS_VERSION = 'ecs.version' as const; const EVENT_ACTION = 'event.action' as const; @@ -68,6 +69,23 @@ const ALERT_RULE_TYPE_ID = `${ALERT_RULE_NAMESPACE}.rule_type_id` as const; const ALERT_RULE_UPDATED_AT = `${ALERT_RULE_NAMESPACE}.updated_at` as const; const ALERT_RULE_UPDATED_BY = `${ALERT_RULE_NAMESPACE}.updated_by` as const; const ALERT_RULE_VERSION = `${ALERT_RULE_NAMESPACE}.version` as const; + +// Fields pertaining to the threat tactic associated with the rule +const ALERT_THREAT_FRAMEWORK = `${ALERT_RULE_THREAT_NAMESPACE}.framework` as const; +const ALERT_THREAT_TACTIC_ID = `${ALERT_RULE_THREAT_NAMESPACE}.tactic.id` as const; +const ALERT_THREAT_TACTIC_NAME = `${ALERT_RULE_THREAT_NAMESPACE}.tactic.name` as const; +const ALERT_THREAT_TACTIC_REFERENCE = `${ALERT_RULE_THREAT_NAMESPACE}.tactic.reference` as const; +const ALERT_THREAT_TECHNIQUE_ID = `${ALERT_RULE_THREAT_NAMESPACE}.technique.id` as const; +const ALERT_THREAT_TECHNIQUE_NAME = `${ALERT_RULE_THREAT_NAMESPACE}.technique.name` as const; +const ALERT_THREAT_TECHNIQUE_REFERENCE = + `${ALERT_RULE_THREAT_NAMESPACE}.technique.reference` as const; +const ALERT_THREAT_TECHNIQUE_SUBTECHNIQUE_ID = + `${ALERT_RULE_THREAT_NAMESPACE}.technique.subtechnique.id` as const; +const ALERT_THREAT_TECHNIQUE_SUBTECHNIQUE_NAME = + `${ALERT_RULE_THREAT_NAMESPACE}.technique.subtechnique.name` as const; +const ALERT_THREAT_TECHNIQUE_SUBTECHNIQUE_REFERENCE = + `${ALERT_RULE_THREAT_NAMESPACE}.technique.subtechnique.reference` as const; + // the feature instantiating a rule type. // Rule created in stack --> alerts // Rule created in siem --> siem @@ -137,6 +155,16 @@ const fields = { ALERT_WORKFLOW_USER, ALERT_RULE_UUID, ALERT_RULE_CATEGORY, + ALERT_THREAT_FRAMEWORK, + ALERT_THREAT_TACTIC_ID, + ALERT_THREAT_TACTIC_NAME, + ALERT_THREAT_TACTIC_REFERENCE, + ALERT_THREAT_TECHNIQUE_ID, + ALERT_THREAT_TECHNIQUE_NAME, + ALERT_THREAT_TECHNIQUE_REFERENCE, + ALERT_THREAT_TECHNIQUE_SUBTECHNIQUE_ID, + ALERT_THREAT_TECHNIQUE_SUBTECHNIQUE_NAME, + ALERT_THREAT_TECHNIQUE_SUBTECHNIQUE_REFERENCE, SPACE_IDS, VERSION, }; @@ -195,6 +223,16 @@ export { KIBANA_NAMESPACE, ALERT_RULE_UUID, ALERT_RULE_CATEGORY, + ALERT_THREAT_FRAMEWORK, + ALERT_THREAT_TACTIC_ID, + ALERT_THREAT_TACTIC_NAME, + ALERT_THREAT_TACTIC_REFERENCE, + ALERT_THREAT_TECHNIQUE_ID, + ALERT_THREAT_TECHNIQUE_NAME, + ALERT_THREAT_TECHNIQUE_REFERENCE, + ALERT_THREAT_TECHNIQUE_SUBTECHNIQUE_ID, + ALERT_THREAT_TECHNIQUE_SUBTECHNIQUE_NAME, + ALERT_THREAT_TECHNIQUE_SUBTECHNIQUE_REFERENCE, TAGS, TIMESTAMP, SPACE_IDS, diff --git a/x-pack/plugins/security_solution/common/experimental_features.ts b/x-pack/plugins/security_solution/common/experimental_features.ts index 1c4c8c6bfb67c..ab5a9bdf9638a 100644 --- a/x-pack/plugins/security_solution/common/experimental_features.ts +++ b/x-pack/plugins/security_solution/common/experimental_features.ts @@ -75,6 +75,11 @@ export const allowedExperimentalValues = Object.freeze({ * Enables the Guided Onboarding tour in security */ guidedOnboarding: false, + + /** + * Enables the alert details page currently only accessible via the alert details flyout and alert table context menu + */ + alertDetailsPageEnabled: false, }); type ExperimentalConfigKeys = Array; diff --git a/x-pack/plugins/security_solution/common/types/timeline/index.ts b/x-pack/plugins/security_solution/common/types/timeline/index.ts index 64621f0a0598d..706283288f58c 100644 --- a/x-pack/plugins/security_solution/common/types/timeline/index.ts +++ b/x-pack/plugins/security_solution/common/types/timeline/index.ts @@ -319,6 +319,7 @@ export enum TimelineId { active = 'timeline-1', casePage = 'timeline-case', test = 'timeline-test', // Reserved for testing purposes + detectionsAlertDetailsPage = 'detections-alert-details-page', } export enum TableId { diff --git a/x-pack/plugins/security_solution/cypress/e2e/cases/attach_alert_to_case.cy.ts b/x-pack/plugins/security_solution/cypress/e2e/cases/attach_alert_to_case.cy.ts index 8a6d3d9a5fed1..bc6d279e979eb 100644 --- a/x-pack/plugins/security_solution/cypress/e2e/cases/attach_alert_to_case.cy.ts +++ b/x-pack/plugins/security_solution/cypress/e2e/cases/attach_alert_to_case.cy.ts @@ -15,7 +15,7 @@ import { waitForAlertsToPopulate } from '../../tasks/create_new_rule'; import { login, visit, waitForPageWithoutDateRange } from '../../tasks/login'; import { ALERTS_URL } from '../../urls/navigation'; -import { ATTACH_ALERT_TO_CASE_BUTTON, TIMELINE_CONTEXT_MENU_BTN } from '../../screens/alerts'; +import { ATTACH_ALERT_TO_CASE_BUTTON, ATTACH_TO_NEW_CASE_BUTTON } from '../../screens/alerts'; import { LOADING_INDICATOR } from '../../screens/security_header'; const loadDetectionsPage = (role: ROLES) => { @@ -40,9 +40,16 @@ describe('Alerts timeline', () => { waitForPageToBeLoaded(); }); - it('should not allow user with read only privileges to attach alerts to cases', () => { - // Disabled actions for read only users are hidden, so actions button should not show - cy.get(TIMELINE_CONTEXT_MENU_BTN).should('not.exist'); + it('should not allow user with read only privileges to attach alerts to existing cases', () => { + // Disabled actions for read only users are hidden, so only open alert details button should show + expandFirstAlertActions(); + cy.get(ATTACH_ALERT_TO_CASE_BUTTON).should('not.exist'); + }); + + it('should not allow user with read only privileges to attach alerts to a new case', () => { + // Disabled actions for read only users are hidden, so only open alert details button should show + expandFirstAlertActions(); + cy.get(ATTACH_TO_NEW_CASE_BUTTON).should('not.exist'); }); }); diff --git a/x-pack/plugins/security_solution/cypress/e2e/detection_alert_details/navigation.cy.ts b/x-pack/plugins/security_solution/cypress/e2e/detection_alert_details/navigation.cy.ts new file mode 100644 index 0000000000000..4e9953b88e495 --- /dev/null +++ b/x-pack/plugins/security_solution/cypress/e2e/detection_alert_details/navigation.cy.ts @@ -0,0 +1,59 @@ +/* + * 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 { expandFirstAlert, waitForAlertsPanelToBeLoaded } from '../../tasks/alerts'; +import { createCustomRuleEnabled } from '../../tasks/api_calls/rules'; +import { cleanKibana } from '../../tasks/common'; +import { login, visit } from '../../tasks/login'; + +import { getNewRule } from '../../objects/rule'; +import type { CustomRule } from '../../objects/rule'; + +import { ALERTS_URL } from '../../urls/navigation'; +import { + OPEN_ALERT_DETAILS_PAGE_CONTEXT_MENU_BTN, + TIMELINE_CONTEXT_MENU_BTN, +} from '../../screens/alerts'; +import { PAGE_TITLE } from '../../screens/common/page'; +import { OPEN_ALERT_DETAILS_PAGE } from '../../screens/alerts_details'; + +describe('Alert Details Page Navigation', () => { + describe('navigating to alert details page', () => { + let rule: CustomRule; + before(() => { + rule = getNewRule(); + cleanKibana(); + login(); + createCustomRuleEnabled(rule, 'rule1'); + visit(ALERTS_URL); + waitForAlertsPanelToBeLoaded(); + }); + + describe('context menu', () => { + it('should navigate to the details page from the alert context menu', () => { + cy.get(TIMELINE_CONTEXT_MENU_BTN).first().click({ force: true }); + cy.get(OPEN_ALERT_DETAILS_PAGE_CONTEXT_MENU_BTN).click({ force: true }); + cy.get(PAGE_TITLE).should('contain.text', rule.name); + cy.url().should('include', '/summary'); + }); + }); + + describe('flyout', () => { + beforeEach(() => { + visit(ALERTS_URL); + waitForAlertsPanelToBeLoaded(); + }); + + it('should navigate to the details page from the alert flyout', () => { + expandFirstAlert(); + cy.get(OPEN_ALERT_DETAILS_PAGE).click({ force: true }); + cy.get(PAGE_TITLE).should('contain.text', rule.name); + cy.url().should('include', '/summary'); + }); + }); + }); +}); diff --git a/x-pack/plugins/security_solution/cypress/e2e/urls/not_found.cy.ts b/x-pack/plugins/security_solution/cypress/e2e/urls/not_found.cy.ts index 8bd3e6a9ed93b..4dc7d5231dcdd 100644 --- a/x-pack/plugins/security_solution/cypress/e2e/urls/not_found.cy.ts +++ b/x-pack/plugins/security_solution/cypress/e2e/urls/not_found.cy.ts @@ -30,7 +30,8 @@ describe('Display not found page', () => { visit(TIMELINES_URL); }); - it('navigates to the alerts page with incorrect link', () => { + // TODO: We need to determine what we want the behavior to be here + it.skip('navigates to the alerts page with incorrect link', () => { visit(`${ALERTS_URL}/randomUrl`); cy.get(NOT_FOUND).should('exist'); }); diff --git a/x-pack/plugins/security_solution/cypress/screens/alerts.ts b/x-pack/plugins/security_solution/cypress/screens/alerts.ts index 2434b713a6452..acb2f47bcf27c 100644 --- a/x-pack/plugins/security_solution/cypress/screens/alerts.ts +++ b/x-pack/plugins/security_solution/cypress/screens/alerts.ts @@ -71,6 +71,9 @@ export const OPEN_ALERT_BTN = '[data-test-subj="open-alert-status"]'; export const OPENED_ALERTS_FILTER_BTN = '[data-test-subj="openAlerts"]'; +export const OPEN_ALERT_DETAILS_PAGE_CONTEXT_MENU_BTN = + '[data-test-subj="open-alert-details-page-menu-item"]'; + export const PROCESS_NAME_COLUMN = '[data-test-subj="dataGridHeaderCell-process.name"]'; export const PROCESS_NAME = '[data-test-subj="formatted-field-process.name"]'; @@ -103,6 +106,8 @@ export const USER_NAME = '[data-test-subj^=formatted-field][data-test-subj$=user export const ATTACH_ALERT_TO_CASE_BUTTON = '[data-test-subj="add-to-existing-case-action"]'; +export const ATTACH_TO_NEW_CASE_BUTTON = '[data-test-subj="add-to-new-case-action"]'; + export const USER_COLUMN = '[data-gridcell-column-id="user.name"]'; export const HOST_RISK_HEADER_COLIMN = diff --git a/x-pack/plugins/security_solution/cypress/screens/alerts_details.ts b/x-pack/plugins/security_solution/cypress/screens/alerts_details.ts index 5963307075113..9a1ac0b8d08f1 100644 --- a/x-pack/plugins/security_solution/cypress/screens/alerts_details.ts +++ b/x-pack/plugins/security_solution/cypress/screens/alerts_details.ts @@ -81,3 +81,5 @@ export const INSIGHTS_RELATED_ALERTS_BY_ANCESTRY = `[data-test-subj='related-ale export const INSIGHTS_INVESTIGATE_ANCESTRY_ALERTS_IN_TIMELINE_BUTTON = `[data-test-subj='investigate-ancestry-in-timeline']`; export const ENRICHED_DATA_ROW = `[data-test-subj='EnrichedDataRow']`; + +export const OPEN_ALERT_DETAILS_PAGE = `[data-test-subj="open-alert-details-page"]`; diff --git a/x-pack/plugins/security_solution/public/common/components/header_page/index.tsx b/x-pack/plugins/security_solution/public/common/components/header_page/index.tsx index 39988e5666000..4b79d36dfef80 100644 --- a/x-pack/plugins/security_solution/public/common/components/header_page/index.tsx +++ b/x-pack/plugins/security_solution/public/common/components/header_page/index.tsx @@ -65,11 +65,11 @@ export interface HeaderPageProps extends HeaderProps { badgeOptions?: BadgeOptions; children?: React.ReactNode; draggableArguments?: DraggableArguments; + rightSideItems?: React.ReactNode[]; subtitle?: SubtitleProps['items']; subtitle2?: SubtitleProps['items']; title: TitleProp; titleNode?: React.ReactElement; - rightSideItems?: React.ReactNode[]; } export const HeaderLinkBack: React.FC<{ backOptions: BackOptions }> = React.memo( @@ -105,11 +105,11 @@ const HeaderPageComponent: React.FC = ({ children, draggableArguments, isLoading, + rightSideItems, subtitle, subtitle2, title, titleNode, - rightSideItems, }) => ( <> diff --git a/x-pack/plugins/security_solution/public/common/components/hover_actions/index.tsx b/x-pack/plugins/security_solution/public/common/components/hover_actions/index.tsx index af9d206a35dbc..4e31d2b64f837 100644 --- a/x-pack/plugins/security_solution/public/common/components/hover_actions/index.tsx +++ b/x-pack/plugins/security_solution/public/common/components/hover_actions/index.tsx @@ -6,7 +6,7 @@ */ import { EuiFocusTrap, EuiScreenReaderOnly } from '@elastic/eui'; -import React, { useCallback, useEffect, useRef, useState } from 'react'; +import React, { useCallback, useEffect, useMemo, useRef, useState } from 'react'; import type { DraggableId } from 'react-beautiful-dnd'; import styled from 'styled-components'; import { i18n } from '@kbn/i18n'; @@ -35,7 +35,7 @@ AdditionalContent.displayName = 'AdditionalContent'; const StyledHoverActionsContainer = styled.div<{ $showTopN: boolean; $showOwnFocus: boolean; - $hideTopN: boolean; + $hiddenActionsCount: number; $isActive: boolean; }>` display: flex; @@ -82,7 +82,7 @@ const StyledHoverActionsContainer = styled.div<{ `; const StyledHoverActionsContainerWithPaddingsAndMinWidth = styled(StyledHoverActionsContainer)` - min-width: ${({ $hideTopN }) => `${$hideTopN ? '112px' : '138px'}`}; + min-width: ${({ $hiddenActionsCount }) => `${138 - $hiddenActionsCount * 26}px`}; padding: ${(props) => `0 ${props.theme.eui.euiSizeS}`}; position: relative; `; @@ -161,7 +161,6 @@ export const HoverActions: React.FC = React.memo( setIsActive((prev) => !prev); setIsOverflowPopoverOpen(!isOverflowPopoverOpen); }, [isOverflowPopoverOpen, setIsOverflowPopoverOpen]); - const handleHoverActionClicked = useCallback(() => { if (closeTopN) { closeTopN(); @@ -216,6 +215,20 @@ export const HoverActions: React.FC = React.memo( ); const isCaseView = scopeId === TimelineId.casePage; + const isTimelineView = scopeId === TimelineId.active; + const isAlertDetailsView = scopeId === TimelineId.detectionsAlertDetailsPage; + + const hideFilters = useMemo( + () => isAlertDetailsView && !isTimelineView, + [isTimelineView, isAlertDetailsView] + ); + + const hiddenActionsCount = useMemo(() => { + const hiddenTopNActions = hideTopN ? 1 : 0; // hides the `Top N` button + const hiddenFilterActions = hideFilters ? 2 : 0; // hides both the `Filter In` and `Filter out` buttons + + return hiddenTopNActions + hiddenFilterActions; + }, [hideFilters, hideTopN]); const { overflowActionItems, allActionItems } = useHoverActionItems({ dataProvider, @@ -225,6 +238,7 @@ export const HoverActions: React.FC = React.memo( enableOverflowButton: enableOverflowButton && !isCaseView, field, fieldType, + hideFilters, isAggregatable, handleHoverActionClicked, hideAddToTimeline, @@ -258,7 +272,7 @@ export const HoverActions: React.FC = React.memo( onKeyDown={onKeyDown} $showTopN={showTopN} $showOwnFocus={showOwnFocus} - $hideTopN={hideTopN} + $hiddenActionsCount={hiddenActionsCount} $isActive={isActive} className={isActive ? 'hoverActions-active' : ''} > diff --git a/x-pack/plugins/security_solution/public/common/components/hover_actions/use_hover_action_items.tsx b/x-pack/plugins/security_solution/public/common/components/hover_actions/use_hover_action_items.tsx index 97c096329a944..9aa2e27d0716a 100644 --- a/x-pack/plugins/security_solution/public/common/components/hover_actions/use_hover_action_items.tsx +++ b/x-pack/plugins/security_solution/public/common/components/hover_actions/use_hover_action_items.tsx @@ -33,6 +33,7 @@ export interface UseHoverActionItemsProps { isAggregatable: boolean; handleHoverActionClicked: () => void; hideAddToTimeline: boolean; + hideFilters?: boolean; hideTopN: boolean; isCaseView: boolean; isObjectArray: boolean; @@ -64,6 +65,7 @@ export const useHoverActionItems = ({ fieldType, isAggregatable, handleHoverActionClicked, + hideFilters, hideTopN, hideAddToTimeline, isCaseView, @@ -132,12 +134,18 @@ export const useHoverActionItems = ({ OnAddToTimeline(); }, [handleHoverActionClicked, OnAddToTimeline]); - /* - * In the case of `DisableOverflowButton`, we show filters only when topN is NOT opened. As after topN button is clicked, the chart panel replace current hover actions in the hover actions' popover, so we have to hide all the actions. - * in the case of `EnableOverflowButton`, we only need to hide all the items in the overflow popover as the chart's panel opens in the overflow popover, so non-overflowed actions are not affected. - */ - const showFilters = - values != null && (enableOverflowButton || (!showTopN && !enableOverflowButton)) && !isCaseView; + const showFilters = useMemo(() => { + if (hideFilters) return false; + /* + * In the case of `DisableOverflowButton`, we show filters only when topN is NOT opened. As after topN button is clicked, the chart panel replace current hover actions in the hover actions' popover, so we have to hide all the actions. + * in the case of `EnableOverflowButton`, we only need to hide all the items in the overflow popover as the chart's panel opens in the overflow popover, so non-overflowed actions are not affected. + */ + return ( + values != null && + (enableOverflowButton || (!showTopN && !enableOverflowButton)) && + !isCaseView + ); + }, [enableOverflowButton, hideFilters, isCaseView, showTopN, values]); const shouldDisableColumnToggle = (isObjectArray && field !== 'geo_point') || isCaseView; const showTopNBtn = useMemo( diff --git a/x-pack/plugins/security_solution/public/common/components/link_to/__mocks__/index.ts b/x-pack/plugins/security_solution/public/common/components/link_to/__mocks__/index.ts index 52ed72dc1a2bd..b7bfb751e4fa8 100644 --- a/x-pack/plugins/security_solution/public/common/components/link_to/__mocks__/index.ts +++ b/x-pack/plugins/security_solution/public/common/components/link_to/__mocks__/index.ts @@ -12,6 +12,7 @@ export { getAppLandingUrl } from '../redirect_to_landing'; export { getHostDetailsUrl, getHostsUrl } from '../redirect_to_hosts'; export { getNetworkUrl, getNetworkDetailsUrl } from '../redirect_to_network'; export { getTimelineTabsUrl, getTimelineUrl } from '../redirect_to_timelines'; +export { getAlertDetailsUrl, getAlertDetailsTabUrl } from '../redirect_to_alerts'; export { getCaseDetailsUrl, getCaseUrl, diff --git a/x-pack/plugins/security_solution/public/common/components/link_to/index.ts b/x-pack/plugins/security_solution/public/common/components/link_to/index.ts index 1d03747116211..4630ae0f6f71e 100644 --- a/x-pack/plugins/security_solution/public/common/components/link_to/index.ts +++ b/x-pack/plugins/security_solution/public/common/components/link_to/index.ts @@ -12,6 +12,7 @@ import { useAppUrl } from '../../lib/kibana/hooks'; import type { SecurityPageName } from '../../../app/types'; import { needsUrlState } from '../../links'; +export { getAlertDetailsUrl, getAlertDetailsTabUrl } from './redirect_to_alerts'; export { getDetectionEngineUrl, getRuleDetailsUrl } from './redirect_to_detection_engine'; export { getHostDetailsUrl, getTabsOnHostDetailsUrl, getHostsUrl } from './redirect_to_hosts'; export { getKubernetesUrl, getKubernetesDetailsUrl } from './redirect_to_kubernetes'; diff --git a/x-pack/plugins/security_solution/public/common/components/link_to/redirect_to_alerts.tsx b/x-pack/plugins/security_solution/public/common/components/link_to/redirect_to_alerts.tsx new file mode 100644 index 0000000000000..d29530f2cdfca --- /dev/null +++ b/x-pack/plugins/security_solution/public/common/components/link_to/redirect_to_alerts.tsx @@ -0,0 +1,19 @@ +/* + * 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 { ALERTS_PATH } from '../../../../common/constants'; +import type { AlertDetailRouteType } from '../../../detections/pages/alert_details/types'; +import { appendSearch } from './helpers'; + +export const getAlertDetailsUrl = (alertId: string, search?: string) => + `/${alertId}/summary${appendSearch(search)}`; + +export const getAlertDetailsTabUrl = ( + detailName: string, + tabName: AlertDetailRouteType, + search?: string +) => `${ALERTS_PATH}/${detailName}/${tabName}${appendSearch(search)}`; diff --git a/x-pack/plugins/security_solution/public/common/components/navigation/breadcrumbs/index.ts b/x-pack/plugins/security_solution/public/common/components/navigation/breadcrumbs/index.ts index fa2178c52d94c..afcaff3f3d065 100644 --- a/x-pack/plugins/security_solution/public/common/components/navigation/breadcrumbs/index.ts +++ b/x-pack/plugins/security_solution/public/common/components/navigation/breadcrumbs/index.ts @@ -15,6 +15,7 @@ import { getTrailingBreadcrumbs as getIPDetailsBreadcrumbs } from '../../../../n import { getTrailingBreadcrumbs as getDetectionRulesBreadcrumbs } from '../../../../detections/pages/detection_engine/rules/utils'; import { getTrailingBreadcrumbs as getUsersBreadcrumbs } from '../../../../users/pages/details/utils'; import { getTrailingBreadcrumbs as getKubernetesBreadcrumbs } from '../../../../kubernetes/pages/utils/breadcrumbs'; +import { getTrailingBreadcrumbs as getAlertDetailBreadcrumbs } from '../../../../detections/pages/alert_details/utils/breadcrumbs'; import { SecurityPageName } from '../../../../app/types'; import type { RouteSpyState, @@ -22,6 +23,7 @@ import type { NetworkRouteSpyState, AdministrationRouteSpyState, UsersRouteSpyState, + AlertDetailRouteSpyState, } from '../../../utils/route/types'; import { timelineActions } from '../../../../timelines/store/timeline'; import { TimelineId } from '../../../../../common/types/timeline'; @@ -132,6 +134,9 @@ const getTrailingBreadcrumbsForRoutes = ( if (isKubernetesRoutes(spyState)) { return getKubernetesBreadcrumbs(spyState, getSecuritySolutionUrl); } + if (isAlertRoutes(spyState)) { + return getAlertDetailBreadcrumbs(spyState, getSecuritySolutionUrl); + } return []; }; @@ -150,6 +155,9 @@ const isCaseRoutes = (spyState: RouteSpyState) => spyState.pageName === Security const isKubernetesRoutes = (spyState: RouteSpyState) => spyState.pageName === SecurityPageName.kubernetes; +const isAlertRoutes = (spyState: RouteSpyState): spyState is AlertDetailRouteSpyState => + spyState.pageName === SecurityPageName.alerts; + const isRulesRoutes = (spyState: RouteSpyState): spyState is AdministrationRouteSpyState => spyState.pageName === SecurityPageName.rules || spyState.pageName === SecurityPageName.rulesCreate; diff --git a/x-pack/plugins/security_solution/public/common/containers/cases/use_get_related_cases_by_event.ts b/x-pack/plugins/security_solution/public/common/containers/cases/use_get_related_cases_by_event.ts new file mode 100644 index 0000000000000..e032c2d63c403 --- /dev/null +++ b/x-pack/plugins/security_solution/public/common/containers/cases/use_get_related_cases_by_event.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 { useCallback, useState, useEffect } from 'react'; +import { useKibana, useToasts } from '../../lib/kibana'; +import { CASES_ERROR_TOAST } from '../../components/event_details/insights/translations'; +import { APP_ID } from '../../../../common/constants'; + +type RelatedCases = Array<{ id: string; title: string }>; + +export const useGetRelatedCasesByEvent = (eventId: string) => { + const { + services: { cases }, + } = useKibana(); + const toasts = useToasts(); + + const [relatedCases, setRelatedCases] = useState(undefined); + const [loading, setLoading] = useState(false); + const [error, setError] = useState(null); + + const getRelatedCases = useCallback(async () => { + setLoading(true); + let relatedCasesResponse: RelatedCases = []; + try { + if (eventId) { + relatedCasesResponse = + (await cases.api.getRelatedCases(eventId, { + owner: APP_ID, + })) ?? []; + } + } catch (err) { + setError(err); + toasts.addWarning(CASES_ERROR_TOAST(err)); + } finally { + setRelatedCases(relatedCasesResponse); + setLoading(false); + } + }, [eventId, cases.api, toasts]); + + useEffect(() => { + getRelatedCases(); + }, [eventId, getRelatedCases]); + + return { + loading, + error, + relatedCases, + refetchRelatedCases: getRelatedCases, + }; +}; diff --git a/x-pack/plugins/security_solution/public/common/hooks/use_get_fields_data.ts b/x-pack/plugins/security_solution/public/common/hooks/use_get_fields_data.ts new file mode 100644 index 0000000000000..4190010301a4e --- /dev/null +++ b/x-pack/plugins/security_solution/public/common/hooks/use_get_fields_data.ts @@ -0,0 +1,135 @@ +/* + * 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 { useCallback, useMemo } from 'react'; +import { getOr } from 'lodash/fp'; +import type { SearchHit } from '../../../common/search_strategy'; + +/** + * Since the fields api may return a string array as well as an object array + * Getting the nestedPath of an object array would require first getting the top level `fields` key + * The field api keys do not provide an index value for the original order of each object + * for example, we might expect fields to reference kibana.alert.parameters.0.index, but the index information is represented by the array position. + * This should be generally fine, but given the flattened nature of the top level key, utilities like `get` or `getOr` won't work since the path isn't actually nested + * This utility allows users to not only get simple fields, but if they provide a path like `kibana.alert.parameters.index`, it will return an array of all index values + * for each object in the parameters array. As an added note, this work stemmed from a hope to be able to purely use the fields api in place of the data produced by + * `getDataFromFieldsHits` found in `x-pack/plugins/timelines/common/utils/field_formatters.ts` + */ +const getAllDotIndicesInReverse = (dotField: string): number[] => { + const dotRegx = RegExp('[.]', 'g'); + const indicesOfAllDotsInString = []; + let result = dotRegx.exec(dotField); + while (result) { + indicesOfAllDotsInString.push(result.index); + result = dotRegx.exec(dotField); + } + /** + * Put in reverse so we start look up from the most likely to be found; + * [[kibana.alert.parameters, index], ['kibana.alert', 'parameters.index'], ['kibana', 'alert.parameters.index']] + */ + return indicesOfAllDotsInString.reverse(); +}; + +/** + * We get the dot paths so we can look up each path to see if any of the nested fields exist + * */ + +const getAllPotentialDotPaths = (dotField: string): string[][] => { + const reverseDotIndices = getAllDotIndicesInReverse(dotField); + + // The nested array paths seem to be at most a tuple (i.e.: `kibana.alert.parameters`, `some.nested.parameters.field`) + const pathTuples = reverseDotIndices.map((dotIndex: number) => { + return [dotField.slice(0, dotIndex), dotField.slice(dotIndex + 1)]; + }); + + return pathTuples; +}; + +const getNestedValue = (startPath: string, endPath: string, data: Record) => { + const foundPrimaryPath = data[startPath]; + if (Array.isArray(foundPrimaryPath)) { + // If the nested path points to an array of objects return the nested value of every object in the array + return foundPrimaryPath + .map((nestedObj) => getOr(null, endPath, nestedObj)) // TODO:QUESTION: does it make sense to leave undefined or null values as array position could be important? + .filter((val) => val !== null); + } else { + // The nested path is just a nested object, so use getOr + return getOr(undefined, endPath, foundPrimaryPath); + } +}; + +/** + * we get the field value from a fields response and by breaking down to look at each individual path, + * we're able to get both top level fields as well as nested fields that don't provide index information. + * In the case where a user enters kibana.alert.parameters.someField, a mapped array of the subfield value will be returned + */ +const getFieldsValue = ( + dotField: string, + data: SearchHit['fields'] | undefined, + cacheNestedField: (fullPath: string, value: unknown) => void +) => { + if (!dotField || !data) return undefined; + + // If the dotField exists and is not a nested object return it + if (Object.hasOwn(data, dotField)) return data[dotField]; + else { + const pathTuples = getAllPotentialDotPaths(dotField); + for (const [startPath, endPath] of pathTuples) { + const foundPrimaryPath = Object.hasOwn(data, startPath) ? data[startPath] : null; + if (foundPrimaryPath) { + const nestedValue = getNestedValue(startPath, endPath, data); + // We cache only the values that need extra work to find. This can be an array of values or a single value + cacheNestedField(dotField, nestedValue); + return nestedValue; + } + } + } + + // Return undefined if nothing is found + return undefined; +}; + +export type GetFieldsDataValue = string | string[] | null | undefined; +export type GetFieldsData = (field: string) => GetFieldsDataValue; + +export const useGetFieldsData = (fieldsData: SearchHit['fields'] | undefined): GetFieldsData => { + // TODO: Move cache to top level container such as redux or context. Make it store type agnostic if possible + // TODO: Handle updates where data is re-requested and the cache is reset. + const cachedOriginalData = useMemo(() => fieldsData, [fieldsData]); + const cachedExpensiveNestedValues: Record = useMemo(() => ({}), []); + + // Speed up any lookups elsewhere by caching the field. + const cacheNestedValues = useCallback( + (fullPath: string, value: unknown) => { + cachedExpensiveNestedValues[fullPath] = value; + }, + [cachedExpensiveNestedValues] + ); + + return useCallback( + (field: string) => { + let fieldsValue; + // Get an expensive value from the cache if it exists, otherwise search for the value + if (Object.hasOwn(cachedExpensiveNestedValues, field)) { + fieldsValue = cachedExpensiveNestedValues[field]; + } else { + fieldsValue = cachedOriginalData + ? getFieldsValue(field, cachedOriginalData, cacheNestedValues) + : undefined; + } + + if (Array.isArray(fieldsValue)) { + // Return the value if it's singular, otherwise return an expected array of values + if (fieldsValue.length === 0) return undefined; + else return fieldsValue; + } + // Otherwise return the given fieldsValue if it isn't an array + return fieldsValue; + }, + [cacheNestedValues, cachedExpensiveNestedValues, cachedOriginalData] + ); +}; diff --git a/x-pack/plugins/security_solution/public/common/utils/route/types.ts b/x-pack/plugins/security_solution/public/common/utils/route/types.ts index 71d58f487da66..168c918545844 100644 --- a/x-pack/plugins/security_solution/public/common/utils/route/types.ts +++ b/x-pack/plugins/security_solution/public/common/utils/route/types.ts @@ -13,6 +13,7 @@ import type { TimelineType } from '../../../../common/types/timeline'; import type { HostsTableType } from '../../../hosts/store/model'; import type { NetworkRouteType } from '../../../network/pages/navigation/types'; +import type { AlertDetailRouteType } from '../../../detections/pages/alert_details/types'; import type { AdministrationSubTab as AdministrationType } from '../../../management/types'; import type { FlowTarget } from '../../../../common/search_strategy'; import type { UsersTableType } from '../../../users/store/model'; @@ -21,6 +22,7 @@ import type { SecurityPageName } from '../../../app/types'; export type SiemRouteType = | HostsTableType | NetworkRouteType + | AlertDetailRouteType | TimelineType | AdministrationType | UsersTableType; @@ -47,6 +49,10 @@ export interface NetworkRouteSpyState extends RouteSpyState { tabName: NetworkRouteType | undefined; } +export interface AlertDetailRouteSpyState extends RouteSpyState { + tabName: AlertDetailRouteType | undefined; +} + export interface AdministrationRouteSpyState extends RouteSpyState { tabName: AdministrationType | undefined; } diff --git a/x-pack/plugins/security_solution/public/detections/components/alerts_table/timeline_actions/alert_context_menu.test.tsx b/x-pack/plugins/security_solution/public/detections/components/alerts_table/timeline_actions/alert_context_menu.test.tsx index 76d3c979ffb03..a0fa1f6683964 100644 --- a/x-pack/plugins/security_solution/public/detections/components/alerts_table/timeline_actions/alert_context_menu.test.tsx +++ b/x-pack/plugins/security_solution/public/detections/components/alerts_table/timeline_actions/alert_context_menu.test.tsx @@ -18,6 +18,15 @@ import { useUserPrivileges } from '../../../../common/components/user_privileges jest.mock('../../../../common/components/user_privileges'); +const testSecuritySolutionLinkHref = 'test-url'; +jest.mock('../../../../common/components/links', () => ({ + useGetSecuritySolutionLinkProps: () => () => ({ href: testSecuritySolutionLinkHref }), +})); + +jest.mock('../../../../common/hooks/use_experimental_features', () => ({ + useIsExperimentalFeatureEnabled: jest.fn().mockReturnValue(true), +})); + const ecsRowData: Ecs = { _id: '1', agent: { type: ['blah'] }, @@ -83,182 +92,232 @@ const markAsOpenButton = '[data-test-subj="open-alert-status"]'; const markAsAcknowledgedButton = '[data-test-subj="acknowledged-alert-status"]'; const markAsClosedButton = '[data-test-subj="close-alert-status"]'; const addEndpointEventFilterButton = '[data-test-subj="add-event-filter-menu-item"]'; +const openAlertDetailsPageButton = '[data-test-subj="open-alert-details-page-menu-item"]'; -describe('InvestigateInResolverAction', () => { - test('it render AddToCase context menu item if timelineId === TableId.alertsOnAlertsPage', () => { - const wrapper = mount(, { - wrappingComponent: TestProviders, +describe('Alert table context menu', () => { + describe('Case actions', () => { + test('it render AddToCase context menu item if timelineId === TimelineId.detectionsPage', () => { + const wrapper = mount(, { + wrappingComponent: TestProviders, + }); + + wrapper.find(actionMenuButton).simulate('click'); + expect(wrapper.find(addToExistingCaseButton).first().exists()).toEqual(true); + expect(wrapper.find(addToNewCaseButton).first().exists()).toEqual(true); }); - wrapper.find(actionMenuButton).simulate('click'); - expect(wrapper.find(addToExistingCaseButton).first().exists()).toEqual(true); - expect(wrapper.find(addToNewCaseButton).first().exists()).toEqual(true); - }); + test('it render AddToCase context menu item if timelineId === TimelineId.detectionsRulesDetailsPage', () => { + const wrapper = mount( + , + { + wrappingComponent: TestProviders, + } + ); + + wrapper.find(actionMenuButton).simulate('click'); + expect(wrapper.find(addToExistingCaseButton).first().exists()).toEqual(true); + expect(wrapper.find(addToNewCaseButton).first().exists()).toEqual(true); + }); - test('it render AddToCase context menu item if timelineId === TableId.alertsOnRuleDetailsPage', () => { - const wrapper = mount( - , - { + test('it render AddToCase context menu item if timelineId === TimelineId.active', () => { + const wrapper = mount(, { wrappingComponent: TestProviders, - } - ); - - wrapper.find(actionMenuButton).simulate('click'); - expect(wrapper.find(addToExistingCaseButton).first().exists()).toEqual(true); - expect(wrapper.find(addToNewCaseButton).first().exists()).toEqual(true); - }); + }); - test('it render AddToCase context menu item if timelineId === TimelineId.active', () => { - const wrapper = mount(, { - wrappingComponent: TestProviders, + wrapper.find(actionMenuButton).simulate('click'); + expect(wrapper.find(addToExistingCaseButton).first().exists()).toEqual(true); + expect(wrapper.find(addToNewCaseButton).first().exists()).toEqual(true); }); - wrapper.find(actionMenuButton).simulate('click'); - expect(wrapper.find(addToExistingCaseButton).first().exists()).toEqual(true); - expect(wrapper.find(addToNewCaseButton).first().exists()).toEqual(true); + test('it does NOT render AddToCase context menu item when timelineId is not in the allowed list', () => { + const wrapper = mount(, { + wrappingComponent: TestProviders, + }); + wrapper.find(actionMenuButton).simulate('click'); + expect(wrapper.find(addToExistingCaseButton).first().exists()).toEqual(false); + expect(wrapper.find(addToNewCaseButton).first().exists()).toEqual(false); + }); }); - test('it does NOT render AddToCase context menu item when timelineId is not in the allowed list', () => { - const wrapper = mount(, { - wrappingComponent: TestProviders, + describe('Alert status actions', () => { + test('it renders the correct status action buttons', () => { + const wrapper = mount(, { + wrappingComponent: TestProviders, + }); + + wrapper.find(actionMenuButton).simulate('click'); + + expect(wrapper.find(markAsOpenButton).first().exists()).toEqual(false); + expect(wrapper.find(markAsAcknowledgedButton).first().exists()).toEqual(true); + expect(wrapper.find(markAsClosedButton).first().exists()).toEqual(true); }); - wrapper.find(actionMenuButton).simulate('click'); - expect(wrapper.find(addToExistingCaseButton).first().exists()).toEqual(false); - expect(wrapper.find(addToNewCaseButton).first().exists()).toEqual(false); }); - test('it renders the correct status action buttons', () => { - const wrapper = mount(, { - wrappingComponent: TestProviders, - }); + describe('Endpoint event filter actions', () => { + describe('AddEndpointEventFilter', () => { + const endpointEventProps = { + ...props, + ecsRowData: { ...ecsRowData, agent: { type: ['endpoint'] }, event: { kind: ['event'] } }, + }; + + describe('when users can access endpoint management', () => { + beforeEach(() => { + (useUserPrivileges as jest.Mock).mockReturnValue({ + ...mockInitialUserPrivilegesState(), + endpointPrivileges: { loading: false, canAccessEndpointManagement: true }, + }); + }); - wrapper.find(actionMenuButton).simulate('click'); + test('it disables AddEndpointEventFilter when timeline id is not host events page', () => { + const wrapper = mount( + , + { + wrappingComponent: TestProviders, + } + ); + + wrapper.find(actionMenuButton).simulate('click'); + expect(wrapper.find(addEndpointEventFilterButton).first().exists()).toEqual(true); + expect(wrapper.find(addEndpointEventFilterButton).first().props().disabled).toEqual(true); + }); - expect(wrapper.find(markAsOpenButton).first().exists()).toEqual(false); - expect(wrapper.find(markAsAcknowledgedButton).first().exists()).toEqual(true); - expect(wrapper.find(markAsClosedButton).first().exists()).toEqual(true); - }); + test('it enables AddEndpointEventFilter when timeline id is host events page', () => { + const wrapper = mount( + , + { + wrappingComponent: TestProviders, + } + ); + + wrapper.find(actionMenuButton).simulate('click'); + expect(wrapper.find(addEndpointEventFilterButton).first().exists()).toEqual(true); + expect(wrapper.find(addEndpointEventFilterButton).first().props().disabled).toEqual( + false + ); + }); - describe('AddEndpointEventFilter', () => { - const endpointEventProps = { - ...props, - ecsRowData: { ...ecsRowData, agent: { type: ['endpoint'] }, event: { kind: ['event'] } }, - }; - - describe('when users can access endpoint management', () => { - beforeEach(() => { - (useUserPrivileges as jest.Mock).mockReturnValue({ - ...mockInitialUserPrivilegesState(), - endpointPrivileges: { loading: false, canAccessEndpointManagement: true }, + test('it disables AddEndpointEventFilter when timeline id is host events page but is not from endpoint', () => { + const customProps = { + ...props, + ecsRowData: { ...ecsRowData, agent: { type: ['other'] }, event: { kind: ['event'] } }, + }; + const wrapper = mount( + , + { + wrappingComponent: TestProviders, + } + ); + + wrapper.find(actionMenuButton).simulate('click'); + expect(wrapper.find(addEndpointEventFilterButton).first().exists()).toEqual(true); + expect(wrapper.find(addEndpointEventFilterButton).first().props().disabled).toEqual(true); }); - }); - test('it disables AddEndpointEventFilter when timeline id is not host events page', () => { - const wrapper = mount( - , - { - wrappingComponent: TestProviders, - } - ); - - wrapper.find(actionMenuButton).simulate('click'); - expect(wrapper.find(addEndpointEventFilterButton).first().exists()).toEqual(true); - expect(wrapper.find(addEndpointEventFilterButton).first().props().disabled).toEqual(true); - }); + test('it enables AddEndpointEventFilter when timeline id is user events page', () => { + const wrapper = mount( + , + { + wrappingComponent: TestProviders, + } + ); + + wrapper.find(actionMenuButton).simulate('click'); + expect(wrapper.find(addEndpointEventFilterButton).first().exists()).toEqual(true); + expect(wrapper.find(addEndpointEventFilterButton).first().props().disabled).toEqual( + false + ); + }); - test('it enables AddEndpointEventFilter when timeline id is host events page', () => { - const wrapper = mount( - , - { - wrappingComponent: TestProviders, - } - ); - - wrapper.find(actionMenuButton).simulate('click'); - expect(wrapper.find(addEndpointEventFilterButton).first().exists()).toEqual(true); - expect(wrapper.find(addEndpointEventFilterButton).first().props().disabled).toEqual(false); + test('it disables AddEndpointEventFilter when timeline id is user events page but is not from endpoint', () => { + const customProps = { + ...props, + ecsRowData: { ...ecsRowData, agent: { type: ['other'] }, event: { kind: ['event'] } }, + }; + const wrapper = mount( + , + { + wrappingComponent: TestProviders, + } + ); + + wrapper.find(actionMenuButton).simulate('click'); + expect(wrapper.find(addEndpointEventFilterButton).first().exists()).toEqual(true); + expect(wrapper.find(addEndpointEventFilterButton).first().props().disabled).toEqual(true); + }); }); - test('it disables AddEndpointEventFilter when timeline id is host events page but is not from endpoint', () => { - const customProps = { - ...props, - ecsRowData: { ...ecsRowData, agent: { type: ['other'] }, event: { kind: ['event'] } }, - }; - const wrapper = mount( - , - { - wrappingComponent: TestProviders, - } - ); - - wrapper.find(actionMenuButton).simulate('click'); - expect(wrapper.find(addEndpointEventFilterButton).first().exists()).toEqual(true); - expect(wrapper.find(addEndpointEventFilterButton).first().props().disabled).toEqual(true); - }); + describe('when users can NOT access endpoint management', () => { + beforeEach(() => { + (useUserPrivileges as jest.Mock).mockReturnValue({ + ...mockInitialUserPrivilegesState(), + endpointPrivileges: { loading: false, canAccessEndpointManagement: false }, + }); + }); - test('it enables AddEndpointEventFilter when timeline id is user events page', () => { - const wrapper = mount( - , - { - wrappingComponent: TestProviders, - } - ); - - wrapper.find(actionMenuButton).simulate('click'); - expect(wrapper.find(addEndpointEventFilterButton).first().exists()).toEqual(true); - expect(wrapper.find(addEndpointEventFilterButton).first().props().disabled).toEqual(false); - }); + test('it disables AddEndpointEventFilter when timeline id is host events page but cannot acces endpoint management', () => { + const wrapper = mount( + , + { + wrappingComponent: TestProviders, + } + ); + + wrapper.find(actionMenuButton).simulate('click'); + expect(wrapper.find(addEndpointEventFilterButton).first().exists()).toEqual(true); + expect(wrapper.find(addEndpointEventFilterButton).first().props().disabled).toEqual(true); + }); - test('it disables AddEndpointEventFilter when timeline id is user events page but is not from endpoint', () => { - const customProps = { - ...props, - ecsRowData: { ...ecsRowData, agent: { type: ['other'] }, event: { kind: ['event'] } }, - }; - const wrapper = mount( - , - { - wrappingComponent: TestProviders, - } - ); - - wrapper.find(actionMenuButton).simulate('click'); - expect(wrapper.find(addEndpointEventFilterButton).first().exists()).toEqual(true); - expect(wrapper.find(addEndpointEventFilterButton).first().props().disabled).toEqual(true); - }); - }); - describe('when users can NOT access endpoint management', () => { - beforeEach(() => { - (useUserPrivileges as jest.Mock).mockReturnValue({ - ...mockInitialUserPrivilegesState(), - endpointPrivileges: { loading: false, canAccessEndpointManagement: false }, + test('it disables AddEndpointEventFilter when timeline id is user events page but cannot acces endpoint management', () => { + const wrapper = mount( + , + { + wrappingComponent: TestProviders, + } + ); + + wrapper.find(actionMenuButton).simulate('click'); + expect(wrapper.find(addEndpointEventFilterButton).first().exists()).toEqual(true); + expect(wrapper.find(addEndpointEventFilterButton).first().props().disabled).toEqual(true); }); }); + }); + }); - test('it disables AddEndpointEventFilter when timeline id is host events page but cannot acces endpoint management', () => { - const wrapper = mount( - , - { - wrappingComponent: TestProviders, - } - ); - - wrapper.find(actionMenuButton).simulate('click'); - expect(wrapper.find(addEndpointEventFilterButton).first().exists()).toEqual(true); - expect(wrapper.find(addEndpointEventFilterButton).first().props().disabled).toEqual(true); + describe('Open alert details action', () => { + test('it does not render the open alert details page action if kibana.alert.rule.uuid is not set', () => { + const nonAlertProps = { + ...props, + ecsRowData: { + ...ecsRowData, + kibana: { + alert: { + workflow_status: ['open'], + rule: { + parameters: {}, + uuid: [], + }, + }, + }, + }, + }; + + const wrapper = mount(, { + wrappingComponent: TestProviders, }); - test('it disables AddEndpointEventFilter when timeline id is user events page but cannot acces endpoint management', () => { - const wrapper = mount( - , - { - wrappingComponent: TestProviders, - } - ); - - wrapper.find(actionMenuButton).simulate('click'); - expect(wrapper.find(addEndpointEventFilterButton).first().exists()).toEqual(true); - expect(wrapper.find(addEndpointEventFilterButton).first().props().disabled).toEqual(true); + wrapper.find(actionMenuButton).simulate('click'); + + expect(wrapper.find(openAlertDetailsPageButton).first().exists()).toEqual(false); + }); + + test('it renders the open alert details action button', () => { + const wrapper = mount(, { + wrappingComponent: TestProviders, }); + + wrapper.find(actionMenuButton).simulate('click'); + + expect(wrapper.find(openAlertDetailsPageButton).first().exists()).toEqual(true); }); }); }); diff --git a/x-pack/plugins/security_solution/public/detections/components/alerts_table/timeline_actions/alert_context_menu.tsx b/x-pack/plugins/security_solution/public/detections/components/alerts_table/timeline_actions/alert_context_menu.tsx index 842cdfe82fffb..40d6feda3b925 100644 --- a/x-pack/plugins/security_solution/public/detections/components/alerts_table/timeline_actions/alert_context_menu.tsx +++ b/x-pack/plugins/security_solution/public/detections/components/alerts_table/timeline_actions/alert_context_menu.tsx @@ -43,6 +43,7 @@ import { useEventFilterAction } from './use_event_filter_action'; import { useAddToCaseActions } from './use_add_to_case_actions'; import { isAlertFromEndpointAlert } from '../../../../common/utils/endpoint_alert_check'; import type { Rule } from '../../../../detection_engine/rule_management/logic/types'; +import { useOpenAlertDetailsAction } from './use_open_alert_details'; interface AlertContextMenuProps { ariaLabel?: string; @@ -50,7 +51,6 @@ interface AlertContextMenuProps { columnValues: string; disabled: boolean; ecsRowData: Ecs; - refetch: inputsModel.Refetch; onRuleChange?: () => void; scopeId: string; } @@ -61,7 +61,6 @@ const AlertContextMenuComponent: React.FC (ecsRowData?.kibana?.alert ? ecsRowData?._id : null); + const alertId = getAlertId(); const ruleId = get(0, ecsRowData?.kibana?.alert?.rule?.uuid); const ruleName = get(0, ecsRowData?.kibana?.alert?.rule?.name); const isInDetections = [TableId.alertsOnAlertsPage, TableId.alertsOnRuleDetailsPage].includes( @@ -209,6 +209,12 @@ const AlertContextMenuComponent: React.FC !isEvent && ruleId @@ -217,6 +223,7 @@ const AlertContextMenuComponent: React.FC void; + alertId: string | null; +} + +export const ACTION_OPEN_ALERT_DETAILS_PAGE = i18n.translate( + 'xpack.securitySolution.detectionEngine.alerts.actions.openAlertDetails', + { + defaultMessage: 'Open alert details page', + } +); + +export const useOpenAlertDetailsAction = ({ ruleId, closePopover, alertId }: Props) => { + const isAlertDetailsPageEnabled = useIsExperimentalFeatureEnabled('alertDetailsPageEnabled'); + const alertDetailsActionItems = []; + const { onClick } = useGetSecuritySolutionLinkProps()({ + deepLinkId: SecurityPageName.alerts, + path: alertId ? getAlertDetailsUrl(alertId) : '', + }); + + // We check ruleId to confirm this is an alert, as this page does not support events as of 8.6 + if (ruleId && alertId && isAlertDetailsPageEnabled) { + alertDetailsActionItems.push( + + {ACTION_OPEN_ALERT_DETAILS_PAGE} + + ); + } + + return { + alertDetailsActionItems, + }; +}; diff --git a/x-pack/plugins/security_solution/public/detections/pages/alert_details/__mocks__/alert_details_response.ts b/x-pack/plugins/security_solution/public/detections/pages/alert_details/__mocks__/alert_details_response.ts new file mode 100644 index 0000000000000..67c5415fb2b26 --- /dev/null +++ b/x-pack/plugins/security_solution/public/detections/pages/alert_details/__mocks__/alert_details_response.ts @@ -0,0 +1,2020 @@ +/* + * 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 type { Ecs } from '../../../../../common/ecs'; + +// This data was generated using the endpoint test alert generator +export const getMockAlertDetailsFieldsResponse = () => ({ + _index: '.internal.alerts-security.alerts-default-000001', + _id: 'f6aa8643ecee466753c45308ea8dc72aba0a44e1faac5f6183fd2ad6666c1325', + _score: 1, + fields: { + 'kibana.alert.severity': ['medium'], + 'process.hash.md5': ['fake md5'], + 'kibana.alert.rule.updated_by': ['elastic'], + 'signal.ancestors.depth': [0], + 'event.category': ['malware'], + 'kibana.alert.rule.rule_name_override': ['message'], + 'Endpoint.capabilities': ['isolation', 'kill_process', 'suspend_process', 'running_processes'], + 'process.parent.pid': [1], + 'process.hash.sha256': ['fake sha256'], + 'host.hostname': ['Host-4cfuh42w7g'], + 'kibana.alert.rule.tags': ['Elastic', 'Endpoint Security'], + 'host.mac': ['f2-32-1b-dc-ec-80'], + 'elastic.agent.id': ['d08ed3f8-9852-4d0c-a5b1-b48060705369'], + 'dll.hash.sha256': ['8ad40c90a611d36eb8f9eb24fa04f7dbca713db383ff55a03aa0f382e92061a2'], + 'kibana.alert.ancestors.depth': [0], + 'signal.rule.enabled': ['true'], + 'signal.rule.max_signals': [10000], + 'host.os.version': ['10.0'], + 'signal.rule.updated_at': ['2022-09-29T19:39:38.137Z'], + 'kibana.alert.risk_score': [47], + 'Endpoint.policy.applied.id': ['C2A9093E-E289-4C0A-AA44-8C32A414FA7A'], + 'kibana.alert.rule.severity_mapping.severity': ['low', 'medium', 'high', 'critical'], + 'event.agent_id_status': ['auth_metadata_missing'], + 'kibana.alert.original_event.id': ['7799e1d5-5dc1-4173-9d11-562496cd863b'], + 'kibana.alert.rule.risk_score_mapping.value': [''], + 'process.Ext.ancestry': ['kj0le842x0', '1r4s9i1br4'], + 'signal.original_event.code': ['memory_signature'], + 'kibana.alert.original_event.module': ['endpoint'], + 'kibana.alert.rule.interval': ['5m'], + 'kibana.alert.rule.type': ['query'], + 'signal.original_event.sequence': [1232], + 'Endpoint.state.isolation': [true], + 'host.architecture': ['x7n6yt4fol'], + 'kibana.alert.rule.immutable': ['true'], + 'kibana.alert.original_event.type': ['info'], + 'event.code': ['memory_signature'], + 'agent.id': ['d08ed3f8-9852-4d0c-a5b1-b48060705369'], + 'signal.original_event.module': ['endpoint'], + 'kibana.alert.rule.exceptions_list.list_id': ['endpoint_list'], + 'signal.rule.from': ['now-10m'], + 'kibana.alert.rule.exceptions_list.type': ['endpoint'], + 'process.group_leader.entity_id': ['b74mw1jkrm'], + 'dll.Ext.malware_classification.version': ['3.0.0'], + 'kibana.alert.rule.enabled': ['true'], + 'kibana.alert.rule.version': ['100'], + 'kibana.alert.ancestors.type': ['event'], + 'process.entry_leader.name': ['fake entry'], + 'dll.Ext.compile_time': [1534424710], + 'signal.ancestors.index': ['.ds-logs-endpoint.alerts-default-2022.09.29-000001'], + 'dll.Ext.malware_classification.score': [0], + 'process.entity_id': ['d3v4to81q9'], + 'host.ip': ['10.184.3.36', '10.170.218.86'], + 'agent.type': ['endpoint'], + 'signal.original_event.category': ['malware'], + 'signal.original_event.id': ['7799e1d5-5dc1-4173-9d11-562496cd863b'], + 'process.uptime': [0], + 'Endpoint.policy.applied.name': ['With Eventing'], + 'host.id': ['04794e4e-59cb-4c4a-a8ee-3e6c5b65743c'], + 'process.Ext.code_signature.subject_name': ['bad signer'], + 'process.Ext.token.integrity_level_name': ['high'], + 'signal.original_event.type': ['info'], + 'kibana.alert.rule.max_signals': [10000], + 'signal.rule.author': ['Elastic'], + 'kibana.alert.rule.risk_score': [47], + 'dll.Ext.malware_classification.identifier': ['Whitelisted'], + 'dll.Ext.mapped_address': [5362483200], + 'signal.original_event.dataset': ['endpoint'], + 'kibana.alert.rule.consumer': ['siem'], + 'kibana.alert.rule.indices': ['logs-endpoint.alerts-*'], + 'kibana.alert.rule.category': ['Custom Query Rule'], + 'host.os.Ext.variant': ['Windows Server'], + 'event.ingested': ['2022-09-29T19:37:00.000Z'], + 'event.action': ['start'], + 'signal.rule.updated_by': ['elastic'], + '@timestamp': ['2022-09-29T19:40:26.051Z'], + 'kibana.alert.original_event.action': ['start'], + 'host.os.platform': ['Windows'], + 'process.session_leader.entity_id': ['b74mw1jkrm'], + 'kibana.alert.rule.severity': ['medium'], + 'kibana.alert.original_event.agent_id_status': ['auth_metadata_missing'], + 'Endpoint.status': ['enrolled'], + 'data_stream.dataset': ['endpoint.alerts'], + 'signal.rule.timestamp_override': ['event.ingested'], + 'kibana.alert.rule.execution.uuid': ['abf39d36-0f1c-4bf9-ae42-1039285380b5'], + 'kibana.alert.uuid': ['f6aa8643ecee466753c45308ea8dc72aba0a44e1faac5f6183fd2ad6666c1325'], + 'kibana.version': ['8.6.0'], + 'process.hash.sha1': ['fake sha1'], + 'event.id': ['7799e1d5-5dc1-4173-9d11-562496cd863b'], + 'process.entry_leader.pid': [865], + 'signal.rule.license': ['Elastic License v2'], + 'signal.ancestors.type': ['event'], + 'kibana.alert.rule.rule_id': ['9a1a2dae-0b5f-4c3d-8305-a268d404c306'], + 'process.session_leader.pid': [745], + 'signal.rule.type': ['query'], + 'Endpoint.policy.applied.version': [5], + 'dll.hash.md5': ['1f2d082566b0fc5f2c238a5180db7451'], + 'kibana.alert.ancestors.id': ['7L3AioMBWJvcpv7vlX2O'], + 'user.name': ['root'], + 'source.ip': ['10.184.3.46'], + 'signal.rule.rule_name_override': ['message'], + 'process.group_leader.name': ['fake leader'], + 'host.os.full': ['Windows Server 2016'], + 'kibana.alert.original_event.code': ['memory_signature'], + 'kibana.alert.rule.risk_score_mapping.field': ['event.risk_score'], + 'kibana.alert.rule.description': [ + 'Generates a detection alert each time an Elastic Endpoint Security alert is received. Enabling this rule allows you to immediately begin investigating your Endpoint alerts.', + ], + 'process.pid': [2], + 'kibana.alert.rule.producer': ['siem'], + 'kibana.alert.rule.to': ['now'], + 'signal.rule.interval': ['5m'], + 'signal.rule.created_by': ['elastic'], + 'kibana.alert.rule.created_by': ['elastic'], + 'kibana.alert.rule.timestamp_override': ['event.ingested'], + 'kibana.alert.original_event.ingested': ['2022-09-29T19:37:00.000Z'], + 'signal.rule.id': ['738e91f2-402e-11ed-be15-7be3bb26d7b2'], + 'process.parent.entity_id': ['kj0le842x0'], + 'signal.rule.risk_score': [47], + 'signal.reason': [ + 'malware event with process explorer.exe, on Host-4cfuh42w7g created medium alert Endpoint Security.', + ], + 'host.os.name': ['Windows'], + 'kibana.alert.rule.name': ['Endpoint Security'], + 'host.name': ['Host-4cfuh42w7g'], + 'signal.status': ['open'], + 'event.kind': ['signal'], + 'kibana.alert.rule.severity_mapping.value': ['21', '47', '73', '99'], + 'signal.rule.tags': ['Elastic', 'Endpoint Security'], + 'signal.rule.created_at': ['2022-09-29T19:39:38.137Z'], + 'kibana.alert.workflow_status': ['open'], + 'Endpoint.policy.applied.status': ['warning'], + 'kibana.alert.rule.uuid': ['738e91f2-402e-11ed-be15-7be3bb26d7b2'], + 'kibana.alert.original_event.category': ['malware'], + 'dll.Ext.malware_classification.threshold': [0], + 'kibana.alert.reason': [ + 'malware event with process explorer.exe, on Host-4cfuh42w7g created medium alert Endpoint Security.', + ], + 'dll.pe.architecture': ['x64'], + 'data_stream.type': ['logs'], + 'signal.original_time': ['2022-10-09T07:14:42.194Z'], + 'signal.ancestors.id': ['7L3AioMBWJvcpv7vlX2O'], + 'process.name': ['explorer.exe'], + 'ecs.version': ['1.6.0'], + 'signal.rule.severity': ['medium'], + 'kibana.alert.ancestors.index': ['.ds-logs-endpoint.alerts-default-2022.09.29-000001'], + 'Endpoint.configuration.isolation': [true], + 'Memory_protection.feature': ['signature'], + 'dll.code_signature.trusted': [true], + 'process.Ext.code_signature.trusted': [false], + 'kibana.alert.depth': [1], + 'agent.version': ['8.6.0'], + 'kibana.alert.rule.risk_score_mapping.operator': ['equals'], + 'host.os.family': ['windows'], + 'kibana.alert.rule.from': ['now-10m'], + 'Memory_protection.self_injection': [true], + 'process.start': ['2022-10-09T07:14:42.194Z'], + 'kibana.alert.rule.parameters': [ + { + severity_mapping: [ + { + severity: 'low', + field: 'event.severity', + value: '21', + operator: 'equals', + }, + { + severity: 'medium', + field: 'event.severity', + value: '47', + operator: 'equals', + }, + { + severity: 'high', + field: 'event.severity', + value: '73', + operator: 'equals', + }, + { + severity: 'critical', + field: 'event.severity', + value: '99', + operator: 'equals', + }, + ], + references: [], + description: + 'Generates a detection alert each time an Elastic Endpoint Security alert is received. Enabling this rule allows you to immediately begin investigating your Endpoint alerts.', + language: 'kuery', + type: 'query', + rule_name_override: 'message', + exceptions_list: [ + { + list_id: 'endpoint_list', + namespace_type: 'agnostic', + id: 'endpoint_list', + type: 'endpoint', + }, + ], + timestamp_override: 'event.ingested', + from: 'now-10m', + severity: 'medium', + max_signals: 10000, + risk_score: 47, + risk_score_mapping: [ + { + field: 'event.risk_score', + value: '', + operator: 'equals', + }, + ], + author: ['Elastic'], + query: 'event.kind:alert and event.module:(endpoint and not endgame)\n', + index: ['logs-endpoint.alerts-*'], + version: 100, + rule_id: '9a1a2dae-0b5f-4c3d-8305-a268d404c306', + license: 'Elastic License v2', + required_fields: [ + { + ecs: true, + name: 'event.kind', + type: 'keyword', + }, + { + ecs: true, + name: 'event.module', + type: 'keyword', + }, + ], + immutable: true, + related_integrations: [], + setup: '', + false_positives: [], + threat: [], + to: 'now', + }, + ], + 'signal.rule.version': ['100'], + 'signal.original_event.kind': ['alert'], + 'kibana.alert.status': ['active'], + 'kibana.alert.rule.severity_mapping.field': [ + 'event.severity', + 'event.severity', + 'event.severity', + 'event.severity', + ], + 'kibana.alert.original_event.dataset': ['endpoint'], + 'signal.depth': [1], + 'signal.rule.immutable': ['true'], + 'process.group_leader.pid': [116], + 'event.sequence': [1232], + 'kibana.alert.rule.rule_type_id': ['siem.queryRule'], + 'process.session_leader.name': ['fake session'], + 'signal.rule.name': ['Endpoint Security'], + 'signal.rule.rule_id': ['9a1a2dae-0b5f-4c3d-8305-a268d404c306'], + 'event.module': ['endpoint'], + 'dll.hash.sha1': ['ca85243c0af6a6471bdaa560685c51eefd6dbc0d'], + 'kibana.alert.rule.severity_mapping.operator': ['equals', 'equals', 'equals', 'equals'], + 'process.Ext.malware_signature.all_names': ['Windows.Trojan.FakeAgent'], + 'kibana.alert.rule.license': ['Elastic License v2'], + 'kibana.alert.original_event.kind': ['alert'], + 'process.executable': ['C:/fake/explorer.exe'], + 'kibana.alert.rule.updated_at': ['2022-09-29T19:39:38.137Z'], + 'signal.rule.description': [ + 'Generates a detection alert each time an Elastic Endpoint Security alert is received. Enabling this rule allows you to immediately begin investigating your Endpoint alerts.', + ], + 'dll.Ext.mapped_size': [0], + 'data_stream.namespace': ['default'], + 'kibana.alert.rule.author': ['Elastic'], + 'dll.code_signature.subject_name': ['Cybereason Inc'], + 'Endpoint.policy.applied.endpoint_policy_version': [3], + 'kibana.alert.original_event.sequence': [1232], + 'dll.path': ['C:\\Program Files\\Cybereason ActiveProbe\\AmSvc.exe'], + 'process.Ext.user': ['SYSTEM'], + 'signal.original_event.action': ['start'], + 'signal.rule.to': ['now'], + 'kibana.alert.rule.created_at': ['2022-09-29T19:39:38.137Z'], + 'process.Ext.malware_signature.identifier': ['diagnostic-malware-signature-v1-fake'], + 'kibana.alert.rule.exceptions_list.namespace_type': ['agnostic'], + 'event.type': ['info'], + 'kibana.space_ids': ['default'], + 'process.entry_leader.entity_id': ['b74mw1jkrm'], + 'kibana.alert.rule.exceptions_list.id': ['endpoint_list'], + 'event.dataset': ['endpoint'], + 'kibana.alert.original_time': ['2022-10-09T07:14:42.194Z'], + }, +}); + +export const getMockAlertDetailsTimelineResponse = () => [ + { + category: 'kibana', + field: 'kibana.alert.severity', + values: ['medium'], + originalValue: ['medium'], + isObjectArray: false, + }, + { + category: 'process', + field: 'process.hash.md5', + values: ['fake md5'], + originalValue: ['fake md5'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.rule.updated_by', + values: ['elastic'], + originalValue: ['elastic'], + isObjectArray: false, + }, + { + category: 'signal', + field: 'signal.ancestors.depth', + values: ['0'], + originalValue: ['0'], + isObjectArray: false, + }, + { + category: 'event', + field: 'event.category', + values: ['malware'], + originalValue: ['malware'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.rule.rule_name_override', + values: ['message'], + originalValue: ['message'], + isObjectArray: false, + }, + { + category: 'Endpoint', + field: 'Endpoint.capabilities', + values: ['isolation', 'kill_process', 'suspend_process', 'running_processes'], + originalValue: ['isolation', 'kill_process', 'suspend_process', 'running_processes'], + isObjectArray: false, + }, + { + category: 'process', + field: 'process.parent.pid', + values: ['1'], + originalValue: ['1'], + isObjectArray: false, + }, + { + category: 'process', + field: 'process.hash.sha256', + values: ['fake sha256'], + originalValue: ['fake sha256'], + isObjectArray: false, + }, + { + category: 'host', + field: 'host.hostname', + values: ['Host-4cfuh42w7g'], + originalValue: ['Host-4cfuh42w7g'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.rule.tags', + values: ['Elastic', 'Endpoint Security'], + originalValue: ['Elastic', 'Endpoint Security'], + isObjectArray: false, + }, + { + category: 'host', + field: 'host.mac', + values: ['f2-32-1b-dc-ec-80'], + originalValue: ['f2-32-1b-dc-ec-80'], + isObjectArray: false, + }, + { + category: 'elastic', + field: 'elastic.agent.id', + values: ['d08ed3f8-9852-4d0c-a5b1-b48060705369'], + originalValue: ['d08ed3f8-9852-4d0c-a5b1-b48060705369'], + isObjectArray: false, + }, + { + category: 'dll', + field: 'dll.hash.sha256', + values: ['8ad40c90a611d36eb8f9eb24fa04f7dbca713db383ff55a03aa0f382e92061a2'], + originalValue: ['8ad40c90a611d36eb8f9eb24fa04f7dbca713db383ff55a03aa0f382e92061a2'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.ancestors.depth', + values: ['0'], + originalValue: ['0'], + isObjectArray: false, + }, + { + category: 'signal', + field: 'signal.rule.enabled', + values: ['true'], + originalValue: ['true'], + isObjectArray: false, + }, + { + category: 'signal', + field: 'signal.rule.max_signals', + values: ['10000'], + originalValue: ['10000'], + isObjectArray: false, + }, + { + category: 'host', + field: 'host.os.version', + values: ['10.0'], + originalValue: ['10.0'], + isObjectArray: false, + }, + { + category: 'signal', + field: 'signal.rule.updated_at', + values: ['2022-09-29T19:39:38.137Z'], + originalValue: ['2022-09-29T19:39:38.137Z'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.risk_score', + values: ['47'], + originalValue: ['47'], + isObjectArray: false, + }, + { + category: 'Endpoint', + field: 'Endpoint.policy.applied.id', + values: ['C2A9093E-E289-4C0A-AA44-8C32A414FA7A'], + originalValue: ['C2A9093E-E289-4C0A-AA44-8C32A414FA7A'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.rule.severity_mapping.severity', + values: ['low', 'medium', 'high', 'critical'], + originalValue: ['low', 'medium', 'high', 'critical'], + isObjectArray: false, + }, + { + category: 'event', + field: 'event.agent_id_status', + values: ['auth_metadata_missing'], + originalValue: ['auth_metadata_missing'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.original_event.id', + values: ['7799e1d5-5dc1-4173-9d11-562496cd863b'], + originalValue: ['7799e1d5-5dc1-4173-9d11-562496cd863b'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.rule.risk_score_mapping.value', + values: [''], + originalValue: [''], + isObjectArray: false, + }, + { + category: 'process', + field: 'process.Ext.ancestry', + values: ['kj0le842x0', '1r4s9i1br4'], + originalValue: ['kj0le842x0', '1r4s9i1br4'], + isObjectArray: false, + }, + { + category: 'signal', + field: 'signal.original_event.code', + values: ['memory_signature'], + originalValue: ['memory_signature'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.original_event.module', + values: ['endpoint'], + originalValue: ['endpoint'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.rule.interval', + values: ['5m'], + originalValue: ['5m'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.rule.type', + values: ['query'], + originalValue: ['query'], + isObjectArray: false, + }, + { + category: 'signal', + field: 'signal.original_event.sequence', + values: ['1232'], + originalValue: ['1232'], + isObjectArray: false, + }, + { + category: 'Endpoint', + field: 'Endpoint.state.isolation', + values: ['true'], + originalValue: ['true'], + isObjectArray: false, + }, + { + category: 'host', + field: 'host.architecture', + values: ['x7n6yt4fol'], + originalValue: ['x7n6yt4fol'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.rule.immutable', + values: ['true'], + originalValue: ['true'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.original_event.type', + values: ['info'], + originalValue: ['info'], + isObjectArray: false, + }, + { + category: 'event', + field: 'event.code', + values: ['memory_signature'], + originalValue: ['memory_signature'], + isObjectArray: false, + }, + { + category: 'agent', + field: 'agent.id', + values: ['d08ed3f8-9852-4d0c-a5b1-b48060705369'], + originalValue: ['d08ed3f8-9852-4d0c-a5b1-b48060705369'], + isObjectArray: false, + }, + { + category: 'signal', + field: 'signal.original_event.module', + values: ['endpoint'], + originalValue: ['endpoint'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.rule.exceptions_list.list_id', + values: ['endpoint_list'], + originalValue: ['endpoint_list'], + isObjectArray: false, + }, + { + category: 'signal', + field: 'signal.rule.from', + values: ['now-10m'], + originalValue: ['now-10m'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.rule.exceptions_list.type', + values: ['endpoint'], + originalValue: ['endpoint'], + isObjectArray: false, + }, + { + category: 'process', + field: 'process.group_leader.entity_id', + values: ['b74mw1jkrm'], + originalValue: ['b74mw1jkrm'], + isObjectArray: false, + }, + { + category: 'dll', + field: 'dll.Ext.malware_classification.version', + values: ['3.0.0'], + originalValue: ['3.0.0'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.rule.enabled', + values: ['true'], + originalValue: ['true'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.rule.version', + values: ['100'], + originalValue: ['100'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.ancestors.type', + values: ['event'], + originalValue: ['event'], + isObjectArray: false, + }, + { + category: 'process', + field: 'process.entry_leader.name', + values: ['fake entry'], + originalValue: ['fake entry'], + isObjectArray: false, + }, + { + category: 'dll', + field: 'dll.Ext.compile_time', + values: ['1534424710'], + originalValue: ['1534424710'], + isObjectArray: false, + }, + { + category: 'signal', + field: 'signal.ancestors.index', + values: ['.ds-logs-endpoint.alerts-default-2022.09.29-000001'], + originalValue: ['.ds-logs-endpoint.alerts-default-2022.09.29-000001'], + isObjectArray: false, + }, + { + category: 'dll', + field: 'dll.Ext.malware_classification.score', + values: ['0'], + originalValue: ['0'], + isObjectArray: false, + }, + { + category: 'process', + field: 'process.entity_id', + values: ['d3v4to81q9'], + originalValue: ['d3v4to81q9'], + isObjectArray: false, + }, + { + category: 'host', + field: 'host.ip', + values: ['10.184.3.36', '10.170.218.86'], + originalValue: ['10.184.3.36', '10.170.218.86'], + isObjectArray: false, + }, + { + category: 'agent', + field: 'agent.type', + values: ['endpoint'], + originalValue: ['endpoint'], + isObjectArray: false, + }, + { + category: 'signal', + field: 'signal.original_event.category', + values: ['malware'], + originalValue: ['malware'], + isObjectArray: false, + }, + { + category: 'signal', + field: 'signal.original_event.id', + values: ['7799e1d5-5dc1-4173-9d11-562496cd863b'], + originalValue: ['7799e1d5-5dc1-4173-9d11-562496cd863b'], + isObjectArray: false, + }, + { + category: 'process', + field: 'process.uptime', + values: ['0'], + originalValue: ['0'], + isObjectArray: false, + }, + { + category: 'Endpoint', + field: 'Endpoint.policy.applied.name', + values: ['With Eventing'], + originalValue: ['With Eventing'], + isObjectArray: false, + }, + { + category: 'host', + field: 'host.id', + values: ['04794e4e-59cb-4c4a-a8ee-3e6c5b65743c'], + originalValue: ['04794e4e-59cb-4c4a-a8ee-3e6c5b65743c'], + isObjectArray: false, + }, + { + category: 'process', + field: 'process.Ext.code_signature.subject_name', + values: ['bad signer'], + originalValue: ['bad signer'], + isObjectArray: false, + }, + { + category: 'process', + field: 'process.Ext.token.integrity_level_name', + values: ['high'], + originalValue: ['high'], + isObjectArray: false, + }, + { + category: 'signal', + field: 'signal.original_event.type', + values: ['info'], + originalValue: ['info'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.rule.max_signals', + values: ['10000'], + originalValue: ['10000'], + isObjectArray: false, + }, + { + category: 'signal', + field: 'signal.rule.author', + values: ['Elastic'], + originalValue: ['Elastic'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.rule.risk_score', + values: ['47'], + originalValue: ['47'], + isObjectArray: false, + }, + { + category: 'dll', + field: 'dll.Ext.malware_classification.identifier', + values: ['Whitelisted'], + originalValue: ['Whitelisted'], + isObjectArray: false, + }, + { + category: 'dll', + field: 'dll.Ext.mapped_address', + values: ['5362483200'], + originalValue: ['5362483200'], + isObjectArray: false, + }, + { + category: 'signal', + field: 'signal.original_event.dataset', + values: ['endpoint'], + originalValue: ['endpoint'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.rule.consumer', + values: ['siem'], + originalValue: ['siem'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.rule.indices', + values: ['logs-endpoint.alerts-*'], + originalValue: ['logs-endpoint.alerts-*'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.rule.category', + values: ['Custom Query Rule'], + originalValue: ['Custom Query Rule'], + isObjectArray: false, + }, + { + category: 'host', + field: 'host.os.Ext.variant', + values: ['Windows Server'], + originalValue: ['Windows Server'], + isObjectArray: false, + }, + { + category: 'event', + field: 'event.ingested', + values: ['2022-09-29T19:37:00.000Z'], + originalValue: ['2022-09-29T19:37:00.000Z'], + isObjectArray: false, + }, + { + category: 'event', + field: 'event.action', + values: ['start'], + originalValue: ['start'], + isObjectArray: false, + }, + { + category: 'signal', + field: 'signal.rule.updated_by', + values: ['elastic'], + originalValue: ['elastic'], + isObjectArray: false, + }, + { + category: 'base', + field: '@timestamp', + values: ['2022-09-29T19:40:26.051Z'], + originalValue: ['2022-09-29T19:40:26.051Z'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.original_event.action', + values: ['start'], + originalValue: ['start'], + isObjectArray: false, + }, + { + category: 'host', + field: 'host.os.platform', + values: ['Windows'], + originalValue: ['Windows'], + isObjectArray: false, + }, + { + category: 'process', + field: 'process.session_leader.entity_id', + values: ['b74mw1jkrm'], + originalValue: ['b74mw1jkrm'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.rule.severity', + values: ['medium'], + originalValue: ['medium'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.original_event.agent_id_status', + values: ['auth_metadata_missing'], + originalValue: ['auth_metadata_missing'], + isObjectArray: false, + }, + { + category: 'Endpoint', + field: 'Endpoint.status', + values: ['enrolled'], + originalValue: ['enrolled'], + isObjectArray: false, + }, + { + category: 'data_stream', + field: 'data_stream.dataset', + values: ['endpoint.alerts'], + originalValue: ['endpoint.alerts'], + isObjectArray: false, + }, + { + category: 'signal', + field: 'signal.rule.timestamp_override', + values: ['event.ingested'], + originalValue: ['event.ingested'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.rule.execution.uuid', + values: ['abf39d36-0f1c-4bf9-ae42-1039285380b5'], + originalValue: ['abf39d36-0f1c-4bf9-ae42-1039285380b5'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.uuid', + values: ['f6aa8643ecee466753c45308ea8dc72aba0a44e1faac5f6183fd2ad6666c1325'], + originalValue: ['f6aa8643ecee466753c45308ea8dc72aba0a44e1faac5f6183fd2ad6666c1325'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.version', + values: ['8.6.0'], + originalValue: ['8.6.0'], + isObjectArray: false, + }, + { + category: 'process', + field: 'process.hash.sha1', + values: ['fake sha1'], + originalValue: ['fake sha1'], + isObjectArray: false, + }, + { + category: 'event', + field: 'event.id', + values: ['7799e1d5-5dc1-4173-9d11-562496cd863b'], + originalValue: ['7799e1d5-5dc1-4173-9d11-562496cd863b'], + isObjectArray: false, + }, + { + category: 'process', + field: 'process.entry_leader.pid', + values: ['865'], + originalValue: ['865'], + isObjectArray: false, + }, + { + category: 'signal', + field: 'signal.rule.license', + values: ['Elastic License v2'], + originalValue: ['Elastic License v2'], + isObjectArray: false, + }, + { + category: 'signal', + field: 'signal.ancestors.type', + values: ['event'], + originalValue: ['event'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.rule.rule_id', + values: ['9a1a2dae-0b5f-4c3d-8305-a268d404c306'], + originalValue: ['9a1a2dae-0b5f-4c3d-8305-a268d404c306'], + isObjectArray: false, + }, + { + category: 'process', + field: 'process.session_leader.pid', + values: ['745'], + originalValue: ['745'], + isObjectArray: false, + }, + { + category: 'signal', + field: 'signal.rule.type', + values: ['query'], + originalValue: ['query'], + isObjectArray: false, + }, + { + category: 'Endpoint', + field: 'Endpoint.policy.applied.version', + values: ['5'], + originalValue: ['5'], + isObjectArray: false, + }, + { + category: 'dll', + field: 'dll.hash.md5', + values: ['1f2d082566b0fc5f2c238a5180db7451'], + originalValue: ['1f2d082566b0fc5f2c238a5180db7451'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.ancestors.id', + values: ['7L3AioMBWJvcpv7vlX2O'], + originalValue: ['7L3AioMBWJvcpv7vlX2O'], + isObjectArray: false, + }, + { + category: 'signal', + field: 'signal.rule.rule_name_override', + values: ['message'], + originalValue: ['message'], + isObjectArray: false, + }, + { + category: 'process', + field: 'process.group_leader.name', + values: ['fake leader'], + originalValue: ['fake leader'], + isObjectArray: false, + }, + { + category: 'host', + field: 'host.os.full', + values: ['Windows Server 2016'], + originalValue: ['Windows Server 2016'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.original_event.code', + values: ['memory_signature'], + originalValue: ['memory_signature'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.rule.risk_score_mapping.field', + values: ['event.risk_score'], + originalValue: ['event.risk_score'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.rule.description', + values: [ + 'Generates a detection alert each time an Elastic Endpoint Security alert is received. Enabling this rule allows you to immediately begin investigating your Endpoint alerts.', + ], + originalValue: [ + 'Generates a detection alert each time an Elastic Endpoint Security alert is received. Enabling this rule allows you to immediately begin investigating your Endpoint alerts.', + ], + isObjectArray: false, + }, + { + category: 'process', + field: 'process.pid', + values: ['2'], + originalValue: ['2'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.rule.producer', + values: ['siem'], + originalValue: ['siem'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.rule.to', + values: ['now'], + originalValue: ['now'], + isObjectArray: false, + }, + { + category: 'signal', + field: 'signal.rule.interval', + values: ['5m'], + originalValue: ['5m'], + isObjectArray: false, + }, + { + category: 'signal', + field: 'signal.rule.created_by', + values: ['elastic'], + originalValue: ['elastic'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.rule.created_by', + values: ['elastic'], + originalValue: ['elastic'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.rule.timestamp_override', + values: ['event.ingested'], + originalValue: ['event.ingested'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.original_event.ingested', + values: ['2022-09-29T19:37:00.000Z'], + originalValue: ['2022-09-29T19:37:00.000Z'], + isObjectArray: false, + }, + { + category: 'signal', + field: 'signal.rule.id', + values: ['738e91f2-402e-11ed-be15-7be3bb26d7b2'], + originalValue: ['738e91f2-402e-11ed-be15-7be3bb26d7b2'], + isObjectArray: false, + }, + { + category: 'process', + field: 'process.parent.entity_id', + values: ['kj0le842x0'], + originalValue: ['kj0le842x0'], + isObjectArray: false, + }, + { + category: 'signal', + field: 'signal.rule.risk_score', + values: ['47'], + originalValue: ['47'], + isObjectArray: false, + }, + { + category: 'signal', + field: 'signal.reason', + values: [ + 'malware event with process explorer.exe, on Host-4cfuh42w7g created medium alert Endpoint Security.', + ], + originalValue: [ + 'malware event with process explorer.exe, on Host-4cfuh42w7g created medium alert Endpoint Security.', + ], + isObjectArray: false, + }, + { + category: 'host', + field: 'host.os.name', + values: ['Windows'], + originalValue: ['Windows'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.rule.name', + values: ['Endpoint Security'], + originalValue: ['Endpoint Security'], + isObjectArray: false, + }, + { + category: 'host', + field: 'host.name', + values: ['Host-4cfuh42w7g'], + originalValue: ['Host-4cfuh42w7g'], + isObjectArray: false, + }, + { + category: 'signal', + field: 'signal.status', + values: ['open'], + originalValue: ['open'], + isObjectArray: false, + }, + { + category: 'event', + field: 'event.kind', + values: ['signal'], + originalValue: ['signal'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.rule.severity_mapping.value', + values: ['21', '47', '73', '99'], + originalValue: ['21', '47', '73', '99'], + isObjectArray: false, + }, + { + category: 'signal', + field: 'signal.rule.tags', + values: ['Elastic', 'Endpoint Security'], + originalValue: ['Elastic', 'Endpoint Security'], + isObjectArray: false, + }, + { + category: 'signal', + field: 'signal.rule.created_at', + values: ['2022-09-29T19:39:38.137Z'], + originalValue: ['2022-09-29T19:39:38.137Z'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.workflow_status', + values: ['open'], + originalValue: ['open'], + isObjectArray: false, + }, + { + category: 'Endpoint', + field: 'Endpoint.policy.applied.status', + values: ['warning'], + originalValue: ['warning'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.rule.uuid', + values: ['738e91f2-402e-11ed-be15-7be3bb26d7b2'], + originalValue: ['738e91f2-402e-11ed-be15-7be3bb26d7b2'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.original_event.category', + values: ['malware'], + originalValue: ['malware'], + isObjectArray: false, + }, + { + category: 'dll', + field: 'dll.Ext.malware_classification.threshold', + values: ['0'], + originalValue: ['0'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.reason', + values: [ + 'malware event with process explorer.exe, on Host-4cfuh42w7g created medium alert Endpoint Security.', + ], + originalValue: [ + 'malware event with process explorer.exe, on Host-4cfuh42w7g created medium alert Endpoint Security.', + ], + isObjectArray: false, + }, + { + category: 'dll', + field: 'dll.pe.architecture', + values: ['x64'], + originalValue: ['x64'], + isObjectArray: false, + }, + { + category: 'data_stream', + field: 'data_stream.type', + values: ['logs'], + originalValue: ['logs'], + isObjectArray: false, + }, + { + category: 'signal', + field: 'signal.original_time', + values: ['2022-10-09T07:14:42.194Z'], + originalValue: ['2022-10-09T07:14:42.194Z'], + isObjectArray: false, + }, + { + category: 'signal', + field: 'signal.ancestors.id', + values: ['7L3AioMBWJvcpv7vlX2O'], + originalValue: ['7L3AioMBWJvcpv7vlX2O'], + isObjectArray: false, + }, + { + category: 'process', + field: 'process.name', + values: ['explorer.exe'], + originalValue: ['explorer.exe'], + isObjectArray: false, + }, + { + category: 'ecs', + field: 'ecs.version', + values: ['1.6.0'], + originalValue: ['1.6.0'], + isObjectArray: false, + }, + { + category: 'signal', + field: 'signal.rule.severity', + values: ['medium'], + originalValue: ['medium'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.ancestors.index', + values: ['.ds-logs-endpoint.alerts-default-2022.09.29-000001'], + originalValue: ['.ds-logs-endpoint.alerts-default-2022.09.29-000001'], + isObjectArray: false, + }, + { + category: 'Endpoint', + field: 'Endpoint.configuration.isolation', + values: ['true'], + originalValue: ['true'], + isObjectArray: false, + }, + { + category: 'Memory_protection', + field: 'Memory_protection.feature', + values: ['signature'], + originalValue: ['signature'], + isObjectArray: false, + }, + { + category: 'dll', + field: 'dll.code_signature.trusted', + values: ['true'], + originalValue: ['true'], + isObjectArray: false, + }, + { + category: 'process', + field: 'process.Ext.code_signature.trusted', + values: ['false'], + originalValue: ['false'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.depth', + values: ['1'], + originalValue: ['1'], + isObjectArray: false, + }, + { + category: 'agent', + field: 'agent.version', + values: ['8.6.0'], + originalValue: ['8.6.0'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.rule.risk_score_mapping.operator', + values: ['equals'], + originalValue: ['equals'], + isObjectArray: false, + }, + { + category: 'host', + field: 'host.os.family', + values: ['windows'], + originalValue: ['windows'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.rule.from', + values: ['now-10m'], + originalValue: ['now-10m'], + isObjectArray: false, + }, + { + category: 'Memory_protection', + field: 'Memory_protection.self_injection', + values: ['true'], + originalValue: ['true'], + isObjectArray: false, + }, + { + category: 'process', + field: 'process.start', + values: ['2022-10-09T07:14:42.194Z'], + originalValue: ['2022-10-09T07:14:42.194Z'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.rule.parameters.severity_mapping.severity', + values: ['low', 'medium', 'high', 'critical'], + originalValue: ['low', 'medium', 'high', 'critical'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.rule.parameters.severity_mapping.field', + values: ['event.severity'], + originalValue: ['event.severity'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.rule.parameters.severity_mapping.value', + values: ['21', '47', '73', '99'], + originalValue: ['21', '47', '73', '99'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.rule.parameters.severity_mapping.operator', + values: ['equals'], + originalValue: ['equals'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.rule.parameters.references', + values: [], + originalValue: [], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.rule.parameters.description', + values: [ + 'Generates a detection alert each time an Elastic Endpoint Security alert is received. Enabling this rule allows you to immediately begin investigating your Endpoint alerts.', + ], + originalValue: [ + 'Generates a detection alert each time an Elastic Endpoint Security alert is received. Enabling this rule allows you to immediately begin investigating your Endpoint alerts.', + ], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.rule.parameters.language', + values: ['kuery'], + originalValue: ['kuery'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.rule.parameters.type', + values: ['query'], + originalValue: ['query'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.rule.parameters.rule_name_override', + values: ['message'], + originalValue: ['message'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.rule.parameters.exceptions_list.list_id', + values: ['endpoint_list'], + originalValue: ['endpoint_list'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.rule.parameters.exceptions_list.namespace_type', + values: ['agnostic'], + originalValue: ['agnostic'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.rule.parameters.exceptions_list.id', + values: ['endpoint_list'], + originalValue: ['endpoint_list'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.rule.parameters.exceptions_list.type', + values: ['endpoint'], + originalValue: ['endpoint'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.rule.parameters.timestamp_override', + values: ['event.ingested'], + originalValue: ['event.ingested'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.rule.parameters.from', + values: ['now-10m'], + originalValue: ['now-10m'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.rule.parameters.severity', + values: ['medium'], + originalValue: ['medium'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.rule.parameters.max_signals', + values: ['10000'], + originalValue: ['10000'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.rule.parameters.risk_score', + values: ['47'], + originalValue: ['47'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.rule.parameters.risk_score_mapping.field', + values: ['event.risk_score'], + originalValue: ['event.risk_score'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.rule.parameters.risk_score_mapping.value', + values: [''], + originalValue: [''], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.rule.parameters.risk_score_mapping.operator', + values: ['equals'], + originalValue: ['equals'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.rule.parameters.author', + values: ['Elastic'], + originalValue: ['Elastic'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.rule.parameters.query', + values: ['event.kind:alert and event.module:(endpoint and not endgame)\n'], + originalValue: ['event.kind:alert and event.module:(endpoint and not endgame)\n'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.rule.parameters.index', + values: ['logs-endpoint.alerts-*'], + originalValue: ['logs-endpoint.alerts-*'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.rule.parameters.version', + values: ['100'], + originalValue: ['100'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.rule.parameters.rule_id', + values: ['9a1a2dae-0b5f-4c3d-8305-a268d404c306'], + originalValue: ['9a1a2dae-0b5f-4c3d-8305-a268d404c306'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.rule.parameters.license', + values: ['Elastic License v2'], + originalValue: ['Elastic License v2'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.rule.parameters.required_fields.ecs', + values: ['true'], + originalValue: ['true'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.rule.parameters.required_fields.name', + values: ['event.kind', 'event.module'], + originalValue: ['event.kind', 'event.module'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.rule.parameters.required_fields.type', + values: ['keyword'], + originalValue: ['keyword'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.rule.parameters.immutable', + values: ['true'], + originalValue: ['true'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.rule.parameters.related_integrations', + values: [], + originalValue: [], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.rule.parameters.setup', + values: [''], + originalValue: [''], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.rule.parameters.false_positives', + values: [], + originalValue: [], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.rule.parameters.threat', + values: [], + originalValue: [], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.rule.parameters.to', + values: ['now'], + originalValue: ['now'], + isObjectArray: false, + }, + { + category: 'signal', + field: 'signal.rule.version', + values: ['100'], + originalValue: ['100'], + isObjectArray: false, + }, + { + category: 'signal', + field: 'signal.original_event.kind', + values: ['alert'], + originalValue: ['alert'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.status', + values: ['active'], + originalValue: ['active'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.rule.severity_mapping.field', + values: ['event.severity', 'event.severity', 'event.severity', 'event.severity'], + originalValue: ['event.severity', 'event.severity', 'event.severity', 'event.severity'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.original_event.dataset', + values: ['endpoint'], + originalValue: ['endpoint'], + isObjectArray: false, + }, + { + category: 'signal', + field: 'signal.depth', + values: ['1'], + originalValue: ['1'], + isObjectArray: false, + }, + { + category: 'signal', + field: 'signal.rule.immutable', + values: ['true'], + originalValue: ['true'], + isObjectArray: false, + }, + { + category: 'process', + field: 'process.group_leader.pid', + values: ['116'], + originalValue: ['116'], + isObjectArray: false, + }, + { + category: 'event', + field: 'event.sequence', + values: ['1232'], + originalValue: ['1232'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.rule.rule_type_id', + values: ['siem.queryRule'], + originalValue: ['siem.queryRule'], + isObjectArray: false, + }, + { + category: 'process', + field: 'process.session_leader.name', + values: ['fake session'], + originalValue: ['fake session'], + isObjectArray: false, + }, + { + category: 'signal', + field: 'signal.rule.name', + values: ['Endpoint Security'], + originalValue: ['Endpoint Security'], + isObjectArray: false, + }, + { + category: 'signal', + field: 'signal.rule.rule_id', + values: ['9a1a2dae-0b5f-4c3d-8305-a268d404c306'], + originalValue: ['9a1a2dae-0b5f-4c3d-8305-a268d404c306'], + isObjectArray: false, + }, + { + category: 'event', + field: 'event.module', + values: ['endpoint'], + originalValue: ['endpoint'], + isObjectArray: false, + }, + { + category: 'dll', + field: 'dll.hash.sha1', + values: ['ca85243c0af6a6471bdaa560685c51eefd6dbc0d'], + originalValue: ['ca85243c0af6a6471bdaa560685c51eefd6dbc0d'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.rule.severity_mapping.operator', + values: ['equals', 'equals', 'equals', 'equals'], + originalValue: ['equals', 'equals', 'equals', 'equals'], + isObjectArray: false, + }, + { + category: 'process', + field: 'process.Ext.malware_signature.all_names', + values: ['Windows.Trojan.FakeAgent'], + originalValue: ['Windows.Trojan.FakeAgent'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.rule.license', + values: ['Elastic License v2'], + originalValue: ['Elastic License v2'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.original_event.kind', + values: ['alert'], + originalValue: ['alert'], + isObjectArray: false, + }, + { + category: 'process', + field: 'process.executable', + values: ['C:/fake/explorer.exe'], + originalValue: ['C:/fake/explorer.exe'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.rule.updated_at', + values: ['2022-09-29T19:39:38.137Z'], + originalValue: ['2022-09-29T19:39:38.137Z'], + isObjectArray: false, + }, + { + category: 'signal', + field: 'signal.rule.description', + values: [ + 'Generates a detection alert each time an Elastic Endpoint Security alert is received. Enabling this rule allows you to immediately begin investigating your Endpoint alerts.', + ], + originalValue: [ + 'Generates a detection alert each time an Elastic Endpoint Security alert is received. Enabling this rule allows you to immediately begin investigating your Endpoint alerts.', + ], + isObjectArray: false, + }, + { + category: 'dll', + field: 'dll.Ext.mapped_size', + values: ['0'], + originalValue: ['0'], + isObjectArray: false, + }, + { + category: 'data_stream', + field: 'data_stream.namespace', + values: ['default'], + originalValue: ['default'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.rule.author', + values: ['Elastic'], + originalValue: ['Elastic'], + isObjectArray: false, + }, + { + category: 'dll', + field: 'dll.code_signature.subject_name', + values: ['Cybereason Inc'], + originalValue: ['Cybereason Inc'], + isObjectArray: false, + }, + { + category: 'user', + field: 'user.name', + values: ['root'], + originalValue: ['root'], + isObjectArray: false, + }, + { + category: 'source', + field: 'source.ip', + values: ['10.184.3.46'], + originalValue: ['10.184.3.46'], + isObjectArray: false, + }, + { + category: 'Endpoint', + field: 'Endpoint.policy.applied.endpoint_policy_version', + values: ['3'], + originalValue: ['3'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.original_event.sequence', + values: ['1232'], + originalValue: ['1232'], + isObjectArray: false, + }, + { + category: 'dll', + field: 'dll.path', + values: ['C:\\Program Files\\Cybereason ActiveProbe\\AmSvc.exe'], + originalValue: ['C:\\Program Files\\Cybereason ActiveProbe\\AmSvc.exe'], + isObjectArray: false, + }, + { + category: 'process', + field: 'process.Ext.user', + values: ['SYSTEM'], + originalValue: ['SYSTEM'], + isObjectArray: false, + }, + { + category: 'signal', + field: 'signal.original_event.action', + values: ['start'], + originalValue: ['start'], + isObjectArray: false, + }, + { + category: 'signal', + field: 'signal.rule.to', + values: ['now'], + originalValue: ['now'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.rule.created_at', + values: ['2022-09-29T19:39:38.137Z'], + originalValue: ['2022-09-29T19:39:38.137Z'], + isObjectArray: false, + }, + { + category: 'process', + field: 'process.Ext.malware_signature.identifier', + values: ['diagnostic-malware-signature-v1-fake'], + originalValue: ['diagnostic-malware-signature-v1-fake'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.rule.exceptions_list.namespace_type', + values: ['agnostic'], + originalValue: ['agnostic'], + isObjectArray: false, + }, + { + category: 'event', + field: 'event.type', + values: ['info'], + originalValue: ['info'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.space_ids', + values: ['default'], + originalValue: ['default'], + isObjectArray: false, + }, + { + category: 'process', + field: 'process.entry_leader.entity_id', + values: ['b74mw1jkrm'], + originalValue: ['b74mw1jkrm'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.rule.exceptions_list.id', + values: ['endpoint_list'], + originalValue: ['endpoint_list'], + isObjectArray: false, + }, + { + category: 'event', + field: 'event.dataset', + values: ['endpoint'], + originalValue: ['endpoint'], + isObjectArray: false, + }, + { + category: 'kibana', + field: 'kibana.alert.original_time', + values: ['2022-10-09T07:14:42.194Z'], + originalValue: ['2022-10-09T07:14:42.194Z'], + isObjectArray: false, + }, + { + category: '_index', + field: '_index', + values: ['.internal.alerts-security.alerts-default-000001'], + originalValue: ['.internal.alerts-security.alerts-default-000001'], + isObjectArray: false, + }, + { + category: '_id', + field: '_id', + values: ['f6aa8643ecee466753c45308ea8dc72aba0a44e1faac5f6183fd2ad6666c1325'], + originalValue: ['f6aa8643ecee466753c45308ea8dc72aba0a44e1faac5f6183fd2ad6666c1325'], + isObjectArray: false, + }, + { + category: '_score', + field: '_score', + values: ['1'], + originalValue: ['1'], + isObjectArray: false, + }, +]; + +export const getMockAlertNestedDetailsTimelineResponse = (): Ecs => ({ + _id: 'f6aa8643ecee466753c45308ea8dc72aba0a44e1faac5f6183fd2ad6666c1325', + timestamp: '2022-09-29T19:40:26.051Z', + _index: '.internal.alerts-security.alerts-default-000001', + kibana: { + alert: { + rule: { + from: ['now-10m'], + name: ['Endpoint Security'], + to: ['now'], + uuid: ['738e91f2-402e-11ed-be15-7be3bb26d7b2'], + type: ['query'], + version: ['100'], + parameters: {}, + }, + workflow_status: ['open'], + original_time: ['2022-10-09T07:14:42.194Z'], + severity: ['medium'], + }, + }, + event: { + code: ['memory_signature'], + module: ['endpoint'], + action: ['start'], + category: ['malware'], + dataset: ['endpoint'], + id: ['7799e1d5-5dc1-4173-9d11-562496cd863b'], + kind: ['signal'], + type: ['info'], + }, + host: { + name: ['Host-4cfuh42w7g'], + os: { + family: ['windows'], + name: ['Windows'], + }, + id: ['04794e4e-59cb-4c4a-a8ee-3e6c5b65743c'], + ip: ['10.184.3.36', '10.170.218.86'], + }, + source: { + ip: ['10.184.3.46'], + }, + agent: { + type: ['endpoint'], + id: ['d08ed3f8-9852-4d0c-a5b1-b48060705369'], + }, + process: { + hash: { + md5: ['fake md5'], + sha1: ['fake sha1'], + sha256: ['fake sha256'], + }, + parent: { + pid: [1], + }, + pid: [2], + name: ['explorer.exe'], + entity_id: ['d3v4to81q9'], + executable: ['C:/fake/explorer.exe'], + entry_leader: { + entity_id: ['b74mw1jkrm'], + name: ['fake entry'], + pid: ['865'], + }, + session_leader: { + entity_id: ['b74mw1jkrm'], + name: ['fake session'], + pid: ['745'], + }, + group_leader: { + entity_id: ['b74mw1jkrm'], + name: ['fake leader'], + pid: ['116'], + }, + }, + user: { + name: ['root'], + }, +}); + +export const mockAlertDetailsFieldsResponse = getMockAlertDetailsFieldsResponse(); + +export const mockAlertDetailsTimelineResponse = getMockAlertDetailsTimelineResponse(); + +export const mockAlertNestedDetailsTimelineResponse = getMockAlertNestedDetailsTimelineResponse(); diff --git a/x-pack/plugins/security_solution/public/detections/pages/alert_details/__mocks__/index.ts b/x-pack/plugins/security_solution/public/detections/pages/alert_details/__mocks__/index.ts new file mode 100644 index 0000000000000..0771ffa5ccf9f --- /dev/null +++ b/x-pack/plugins/security_solution/public/detections/pages/alert_details/__mocks__/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 './alert_details_response'; diff --git a/x-pack/plugins/security_solution/public/detections/pages/alert_details/components/error_page.tsx b/x-pack/plugins/security_solution/public/detections/pages/alert_details/components/error_page.tsx new file mode 100644 index 0000000000000..c050118a848d3 --- /dev/null +++ b/x-pack/plugins/security_solution/public/detections/pages/alert_details/components/error_page.tsx @@ -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; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React, { memo } from 'react'; +import { EuiCode, EuiEmptyPrompt } from '@elastic/eui'; +import { ERROR_PAGE_TITLE, ERROR_PAGE_BODY } from '../translations'; + +export const AlertDetailsErrorPage = memo(({ eventId }: { eventId: string }) => { + return ( + {ERROR_PAGE_TITLE}} + body={ +
+

{ERROR_PAGE_BODY}

+

+ {`_id: ${eventId}`} +

+
+ } + /> + ); +}); + +AlertDetailsErrorPage.displayName = 'AlertDetailsErrorPage'; diff --git a/x-pack/plugins/security_solution/public/detections/pages/alert_details/components/header.tsx b/x-pack/plugins/security_solution/public/detections/pages/alert_details/components/header.tsx new file mode 100644 index 0000000000000..f87162eba4533 --- /dev/null +++ b/x-pack/plugins/security_solution/public/detections/pages/alert_details/components/header.tsx @@ -0,0 +1,32 @@ +/* + * 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 { PreferenceFormattedDate } from '../../../../common/components/formatted_date'; +import { HeaderPage } from '../../../../common/components/header_page'; + +interface AlertDetailsHeaderProps { + loading: boolean; + ruleName?: string; + timestamp?: string; +} + +export const AlertDetailsHeader = React.memo( + ({ loading, ruleName, timestamp }: AlertDetailsHeaderProps) => { + return ( + : ''} + title={ruleName} + /> + ); + } +); + +AlertDetailsHeader.displayName = 'AlertDetailsHeader'; diff --git a/x-pack/plugins/security_solution/public/detections/pages/alert_details/components/loading_page.tsx b/x-pack/plugins/security_solution/public/detections/pages/alert_details/components/loading_page.tsx new file mode 100644 index 0000000000000..ee24b2e636874 --- /dev/null +++ b/x-pack/plugins/security_solution/public/detections/pages/alert_details/components/loading_page.tsx @@ -0,0 +1,21 @@ +/* + * 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 } from 'react'; +import { EuiEmptyPrompt, EuiLoadingSpinner } from '@elastic/eui'; +import { LOADING_PAGE_MESSAGE } from '../translations'; + +export const AlertDetailsLoadingPage = memo(({ eventId }: { eventId: string }) => ( + } + body={

{LOADING_PAGE_MESSAGE}

} + /> +)); + +AlertDetailsLoadingPage.displayName = 'AlertDetailsLoadingPage'; diff --git a/x-pack/plugins/security_solution/public/detections/pages/alert_details/index.test.tsx b/x-pack/plugins/security_solution/public/detections/pages/alert_details/index.test.tsx new file mode 100644 index 0000000000000..bee3abe3bc156 --- /dev/null +++ b/x-pack/plugins/security_solution/public/detections/pages/alert_details/index.test.tsx @@ -0,0 +1,144 @@ +/* + * 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 { Router, useParams } from 'react-router-dom'; +import { render } from '@testing-library/react'; +import { AlertDetailsPage } from '.'; +import { TestProviders } from '../../../common/mock'; +import { + mockAlertDetailsFieldsResponse, + mockAlertDetailsTimelineResponse, + mockAlertNestedDetailsTimelineResponse, +} from './__mocks__'; +import { ALERT_RULE_NAME } from '@kbn/rule-data-utils'; +import { useTimelineEventsDetails } from '../../../timelines/containers/details'; + +// Node modules mocks +jest.mock('react-router-dom', () => ({ + ...jest.requireActual('react-router-dom'), + useParams: jest.fn(), +})); + +const mockDispatch = jest.fn(); +jest.mock('react-redux', () => ({ + ...jest.requireActual('react-redux'), + useDispatch: () => mockDispatch, +})); + +(useParams as jest.Mock).mockReturnValue(mockAlertDetailsFieldsResponse._id); + +// Internal Mocks +jest.mock('../../../timelines/containers/details'); +jest.mock('../../../timelines/store/timeline', () => ({ + ...jest.requireActual('../../../timelines/store/timeline'), + timelineActions: { + createTimeline: jest.fn().mockReturnValue('new-timeline'), + }, +})); + +jest.mock('../../../common/containers/sourcerer', () => { + const mockSourcererReturn = { + browserFields: {}, + loading: true, + indexPattern: {}, + selectedPatterns: [], + missingPatterns: [], + }; + return { + useSourcererDataView: jest.fn().mockReturnValue(mockSourcererReturn), + }; +}); + +type Action = 'PUSH' | 'POP' | 'REPLACE'; +const pop: Action = 'POP'; +const getMockHistory = () => ({ + length: 1, + location: { + pathname: `/alerts/${mockAlertDetailsFieldsResponse._id}/summary`, + search: '', + state: '', + hash: '', + }, + action: pop, + push: jest.fn(), + replace: jest.fn(), + go: jest.fn(), + goBack: jest.fn(), + goForward: jest.fn(), + block: jest.fn(), + createHref: jest.fn(), + listen: jest.fn(), +}); + +describe('Alert Details Page', () => { + it('should render the loading page', () => { + (useTimelineEventsDetails as jest.Mock).mockReturnValue([true, null, null, null, jest.fn()]); + const { getByTestId } = render( + + + + + + ); + + expect(getByTestId('alert-details-page-loading')).toBeVisible(); + }); + + it('should render the error page', () => { + (useTimelineEventsDetails as jest.Mock).mockReturnValue([false, null, null, null, jest.fn()]); + const { getByTestId } = render( + + + + + + ); + + expect(getByTestId('alert-details-page-error')).toBeVisible(); + }); + + it('should render the header', () => { + (useTimelineEventsDetails as jest.Mock).mockReturnValue([ + false, + mockAlertDetailsTimelineResponse, + mockAlertDetailsFieldsResponse, + mockAlertNestedDetailsTimelineResponse, + jest.fn(), + ]); + const { getByTestId } = render( + + + + + + ); + + expect(getByTestId('header-page-title')).toHaveTextContent( + mockAlertDetailsFieldsResponse.fields[ALERT_RULE_NAME][0] + ); + }); + + it('should create a timeline', () => { + (useTimelineEventsDetails as jest.Mock).mockReturnValue([ + false, + mockAlertDetailsTimelineResponse, + mockAlertDetailsFieldsResponse, + mockAlertNestedDetailsTimelineResponse, + jest.fn(), + ]); + render( + + + + + + ); + + expect(mockDispatch).toHaveBeenCalledWith('new-timeline'); + }); +}); diff --git a/x-pack/plugins/security_solution/public/detections/pages/alert_details/index.tsx b/x-pack/plugins/security_solution/public/detections/pages/alert_details/index.tsx new file mode 100644 index 0000000000000..530c00532bbb5 --- /dev/null +++ b/x-pack/plugins/security_solution/public/detections/pages/alert_details/index.tsx @@ -0,0 +1,93 @@ +/* + * 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, useEffect, useMemo } from 'react'; +import { Switch, useParams } from 'react-router-dom'; +import { Route } from '@kbn/kibana-react-plugin/public'; +import { ALERT_RULE_NAME, TIMESTAMP } from '@kbn/rule-data-utils'; +import { EuiSpacer } from '@elastic/eui'; +import { useDispatch } from 'react-redux'; +import { timelineActions } from '../../../timelines/store/timeline'; +import { TimelineId } from '../../../../common/types'; +import { useGetFieldsData } from '../../../common/hooks/use_get_fields_data'; +import { useSourcererDataView } from '../../../common/containers/sourcerer'; +import { SourcererScopeName } from '../../../common/store/sourcerer/model'; +import { SpyRoute } from '../../../common/utils/route/spy_routes'; +import { getAlertDetailsTabUrl } from '../../../common/components/link_to'; +import { AlertDetailRouteType } from './types'; +import { SecuritySolutionTabNavigation } from '../../../common/components/navigation'; +import { getAlertDetailsNavTabs } from './utils/navigation'; +import { SecurityPageName } from '../../../../common/constants'; +import { eventID } from '../../../../common/endpoint/models/event'; +import { useTimelineEventsDetails } from '../../../timelines/containers/details'; +import { AlertDetailsLoadingPage } from './components/loading_page'; +import { AlertDetailsErrorPage } from './components/error_page'; +import { AlertDetailsHeader } from './components/header'; +import { DetailsSummaryTab } from './tabs/summary'; + +export const AlertDetailsPage = memo(() => { + const { detailName: eventId } = useParams<{ detailName: string }>(); + const dispatch = useDispatch(); + const sourcererDataView = useSourcererDataView(SourcererScopeName.detections); + const indexName = useMemo( + () => sourcererDataView.selectedPatterns.join(','), + [sourcererDataView.selectedPatterns] + ); + + const [loading, detailsData, searchHit, dataAsNestedObject] = useTimelineEventsDetails({ + indexName, + eventId, + runtimeMappings: sourcererDataView.runtimeMappings, + skip: !eventID, + }); + const dataNotFound = !loading && !detailsData; + const hasData = !loading && detailsData; + + // Example of using useGetFieldsData. Only place it is used currently + const getFieldsData = useGetFieldsData(searchHit?.fields); + const timestamp = getFieldsData(TIMESTAMP) as string | undefined; + const ruleName = getFieldsData(ALERT_RULE_NAME) as string | undefined; + + useEffect(() => { + // TODO: move detail panel to it's own redux state + dispatch( + timelineActions.createTimeline({ + id: TimelineId.detectionsAlertDetailsPage, + columns: [], + dataViewId: null, + indexNames: [], + expandedDetail: {}, + show: false, + }) + ); + }, [dispatch]); + + return ( + <> + {loading && } + {dataNotFound && } + {hasData && ( + <> + + + + + + + + + + )} + + + ); +}); diff --git a/x-pack/plugins/security_solution/public/detections/pages/alert_details/tabs/summary/alert_renderer_panel/alert_render_panel.test.tsx b/x-pack/plugins/security_solution/public/detections/pages/alert_details/tabs/summary/alert_renderer_panel/alert_render_panel.test.tsx new file mode 100644 index 0000000000000..c3952801e5ca4 --- /dev/null +++ b/x-pack/plugins/security_solution/public/detections/pages/alert_details/tabs/summary/alert_renderer_panel/alert_render_panel.test.tsx @@ -0,0 +1,57 @@ +/* + * 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 { get } from 'lodash/fp'; +import { render } from '@testing-library/react'; +import { AlertRendererPanel } from '.'; +import { TestProviders } from '../../../../../../common/mock'; +import { mockAlertNestedDetailsTimelineResponse } from '../../../__mocks__'; +import { ALERT_RENDERER_FIELDS } from '../../../../../../timelines/components/timeline/body/renderers/alert_renderer'; + +describe('AlertDetailsPage - SummaryTab - AlertRendererPanel', () => { + it('should render the reason renderer', () => { + const { getByTestId } = render( + + + + ); + + expect(getByTestId('alert-renderer-panel')).toBeVisible(); + }); + + it('should render the render the expected values', () => { + const { getByTestId } = render( + + + + ); + const alertRendererPanelPanel = getByTestId('alert-renderer-panel'); + + ALERT_RENDERER_FIELDS.forEach((rendererField) => { + const fieldValues: string[] | null = get( + rendererField, + mockAlertNestedDetailsTimelineResponse + ); + if (fieldValues && fieldValues.length > 0) { + fieldValues.forEach((value) => { + expect(alertRendererPanelPanel).toHaveTextContent(value); + }); + } + }); + }); + + it('should not render the reason renderer if data is not provided', () => { + const { queryByTestId } = render( + + + + ); + + expect(queryByTestId('alert-renderer-panel')).toBeNull(); + }); +}); diff --git a/x-pack/plugins/security_solution/public/detections/pages/alert_details/tabs/summary/alert_renderer_panel/index.tsx b/x-pack/plugins/security_solution/public/detections/pages/alert_details/tabs/summary/alert_renderer_panel/index.tsx new file mode 100644 index 0000000000000..b5de487aa587b --- /dev/null +++ b/x-pack/plugins/security_solution/public/detections/pages/alert_details/tabs/summary/alert_renderer_panel/index.tsx @@ -0,0 +1,55 @@ +/* + * 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, { useMemo } from 'react'; +import styled from 'styled-components'; +import { defaultRowRenderers } from '../../../../../../timelines/components/timeline/body/renderers'; +import { getRowRenderer } from '../../../../../../timelines/components/timeline/body/renderers/get_row_renderer'; +import { TimelineId } from '../../../../../../../common/types'; +import { SummaryPanel } from '../wrappers'; +import { ALERT_REASON_PANEL_TITLE } from '../translation'; +import type { Ecs } from '../../../../../../../common/ecs'; + +export interface AlertRendererPanelProps { + dataAsNestedObject: Ecs | null; +} + +const RendererContainer = styled.div` + overflow-x: auto; + + & .euiFlexGroup { + justify-content: flex-start; + } +`; + +export const AlertRendererPanel = React.memo(({ dataAsNestedObject }: AlertRendererPanelProps) => { + const renderer = useMemo( + () => + dataAsNestedObject != null + ? getRowRenderer({ data: dataAsNestedObject, rowRenderers: defaultRowRenderers }) + : null, + [dataAsNestedObject] + ); + + return ( + + {renderer != null && dataAsNestedObject != null && ( +
+ + {renderer.renderRow({ + data: dataAsNestedObject, + isDraggable: false, + scopeId: TimelineId.detectionsAlertDetailsPage, + })} + +
+ )} +
+ ); +}); + +AlertRendererPanel.displayName = 'AlertRendererPanel'; diff --git a/x-pack/plugins/security_solution/public/detections/pages/alert_details/tabs/summary/cases_panel/cases_panel.test.tsx b/x-pack/plugins/security_solution/public/detections/pages/alert_details/tabs/summary/cases_panel/cases_panel.test.tsx new file mode 100644 index 0000000000000..51e4f084b02ec --- /dev/null +++ b/x-pack/plugins/security_solution/public/detections/pages/alert_details/tabs/summary/cases_panel/cases_panel.test.tsx @@ -0,0 +1,164 @@ +/* + * 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 } from '@testing-library/react'; +import { CasesPanel } from '.'; +import { TestProviders } from '../../../../../../common/mock'; +import { + mockAlertDetailsTimelineResponse, + mockAlertNestedDetailsTimelineResponse, +} from '../../../__mocks__'; +import { ERROR_LOADING_CASES, LOADING_CASES } from '../translation'; +import { useGetRelatedCasesByEvent } from '../../../../../../common/containers/cases/use_get_related_cases_by_event'; +import { useGetUserCasesPermissions } from '../../../../../../common/lib/kibana'; + +jest.mock('../../../../../../common/containers/cases/use_get_related_cases_by_event'); +jest.mock('../../../../../../common/lib/kibana'); + +const defaultPanelProps = { + eventId: mockAlertNestedDetailsTimelineResponse._id, + dataAsNestedObject: mockAlertNestedDetailsTimelineResponse, + detailsData: mockAlertDetailsTimelineResponse, +}; + +describe('AlertDetailsPage - SummaryTab - CasesPanel', () => { + describe('No data', () => { + beforeEach(() => { + (useGetUserCasesPermissions as jest.Mock).mockReturnValue({ + create: true, + update: true, + }); + }); + it('should render the loading panel', () => { + (useGetRelatedCasesByEvent as jest.Mock).mockReturnValue({ + loading: true, + }); + const { getByText } = render( + + + + ); + expect(getByText(LOADING_CASES)).toBeVisible(); + }); + + it('should render the error panel if an error is returned', () => { + (useGetRelatedCasesByEvent as jest.Mock).mockReturnValue({ + loading: false, + error: true, + }); + const { getByText } = render( + + + + ); + + expect(getByText(ERROR_LOADING_CASES)).toBeVisible(); + }); + + it('should render the error panel if data is undefined', () => { + (useGetRelatedCasesByEvent as jest.Mock).mockReturnValue({ + loading: false, + error: false, + relatedCases: undefined, + }); + const { getByText } = render( + + + + ); + + expect(getByText(ERROR_LOADING_CASES)).toBeVisible(); + }); + + describe('Partial permissions', () => { + it('should only render the add to new case button', () => { + (useGetRelatedCasesByEvent as jest.Mock).mockReturnValue({ + loading: false, + relatedCases: [], + }); + (useGetUserCasesPermissions as jest.Mock).mockReturnValue({ + create: true, + update: false, + }); + const { getByTestId, queryByTestId } = render( + + + + ); + + expect(getByTestId('add-to-new-case-button')).toBeVisible(); + expect(queryByTestId('add-to-existing-case-button')).toBe(null); + }); + + it('should only render the add to existing case button', () => { + (useGetRelatedCasesByEvent as jest.Mock).mockReturnValue({ + loading: false, + relatedCases: [], + }); + (useGetUserCasesPermissions as jest.Mock).mockReturnValue({ + create: false, + update: true, + }); + const { getByTestId, queryByTestId } = render( + + + + ); + + expect(getByTestId('add-to-existing-case-button')).toBeVisible(); + expect(queryByTestId('add-to-new-case-button')).toBe(null); + }); + + it('should render both add to new case and add to existing case buttons', () => { + (useGetRelatedCasesByEvent as jest.Mock).mockReturnValue({ + loading: false, + relatedCases: [], + }); + (useGetUserCasesPermissions as jest.Mock).mockReturnValue({ + create: true, + update: true, + }); + const { getByTestId, queryByTestId } = render( + + + + ); + + expect(getByTestId('add-to-new-case-button')).toBeVisible(); + expect(queryByTestId('add-to-existing-case-button')).toBeVisible(); + }); + }); + }); + describe('has related cases', () => { + const mockRelatedCase = { + title: 'test case', + id: 'test-case-id', + }; + + beforeEach(() => { + (useGetUserCasesPermissions as jest.Mock).mockReturnValue({ + create: true, + update: true, + }); + (useGetRelatedCasesByEvent as jest.Mock).mockReturnValue({ + loading: false, + relatedCases: [mockRelatedCase], + }); + }); + + it('should show the related case', () => { + const { getByTestId } = render( + + + + ); + + expect(getByTestId('case-panel')).toHaveTextContent(mockRelatedCase.title); + }); + }); +}); diff --git a/x-pack/plugins/security_solution/public/detections/pages/alert_details/tabs/summary/cases_panel/cases_panel_actions.tsx b/x-pack/plugins/security_solution/public/detections/pages/alert_details/tabs/summary/cases_panel/cases_panel_actions.tsx new file mode 100644 index 0000000000000..4ffc16603cb0b --- /dev/null +++ b/x-pack/plugins/security_solution/public/detections/pages/alert_details/tabs/summary/cases_panel/cases_panel_actions.tsx @@ -0,0 +1,102 @@ +/* + * 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 { EuiButtonIcon, EuiContextMenuItem, EuiContextMenuPanel, EuiPopover } from '@elastic/eui'; +import type { CasesPermissions } from '@kbn/cases-plugin/common'; +import React, { useCallback, useMemo, useState } from 'react'; +import type { CasesPanelProps } from '.'; +import { + ADD_TO_EXISTING_CASE_BUTTON, + ADD_TO_NEW_CASE_BUTTON, + SUMMARY_PANEL_ACTIONS, +} from '../translation'; + +export const CASES_PANEL_ACTIONS_CLASS = 'cases-panel-actions-trigger'; + +export interface CasesPanelActionsProps extends CasesPanelProps { + addToNewCase: () => void; + addToExistingCase: () => void; + className?: string; + userCasesPermissions: CasesPermissions; +} + +export const CasesPanelActions = React.memo( + ({ + addToNewCase, + addToExistingCase, + className, + userCasesPermissions, + }: CasesPanelActionsProps) => { + const [isPopoverOpen, setPopover] = useState(false); + + const onButtonClick = useCallback(() => { + setPopover(!isPopoverOpen); + }, [isPopoverOpen]); + + const closePopover = () => { + setPopover(false); + }; + + const items = useMemo(() => { + const options = []; + + if (userCasesPermissions.create) { + options.push( + + {ADD_TO_NEW_CASE_BUTTON} + + ); + } + + if (userCasesPermissions.update) { + options.push( + + {ADD_TO_EXISTING_CASE_BUTTON} + + ); + } + return options; + }, [addToExistingCase, addToNewCase, userCasesPermissions.create, userCasesPermissions.update]); + + const button = useMemo( + () => ( + + ), + [onButtonClick] + ); + + return ( +
+ + + +
+ ); + } +); + +CasesPanelActions.displayName = 'CasesPanelActions'; diff --git a/x-pack/plugins/security_solution/public/detections/pages/alert_details/tabs/summary/cases_panel/index.tsx b/x-pack/plugins/security_solution/public/detections/pages/alert_details/tabs/summary/cases_panel/index.tsx new file mode 100644 index 0000000000000..e54d7a6c4d58e --- /dev/null +++ b/x-pack/plugins/security_solution/public/detections/pages/alert_details/tabs/summary/cases_panel/index.tsx @@ -0,0 +1,179 @@ +/* + * 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, { useCallback, useMemo } from 'react'; +import { + EuiButton, + EuiEmptyPrompt, + EuiFlexGroup, + EuiFlexItem, + EuiLoadingSpinner, +} from '@elastic/eui'; +import type { Ecs } from '@kbn/cases-plugin/common'; +import { CommentType } from '@kbn/cases-plugin/common'; +import type { CaseAttachmentsWithoutOwner } from '@kbn/cases-plugin/public'; +import type { TimelineEventsDetailsItem } from '../../../../../../../common/search_strategy'; +import { useGetUserCasesPermissions, useKibana } from '../../../../../../common/lib/kibana'; +import { CaseDetailsLink } from '../../../../../../common/components/links'; +import { useGetRelatedCasesByEvent } from '../../../../../../common/containers/cases/use_get_related_cases_by_event'; +import { + ADD_TO_EXISTING_CASE_BUTTON, + ADD_TO_NEW_CASE_BUTTON, + CASES_PANEL_TITLE, + CASE_NO_READ_PERMISSIONS, + ERROR_LOADING_CASES, + LOADING_CASES, + NO_RELATED_CASES_FOUND, +} from '../translation'; +import { SummaryPanel } from '../wrappers'; +import { CasesPanelActions, CASES_PANEL_ACTIONS_CLASS } from './cases_panel_actions'; + +export interface CasesPanelProps { + eventId: string; + dataAsNestedObject: Ecs | null; + detailsData: TimelineEventsDetailsItem[]; +} + +const CasesPanelLoading = () => ( + } + title={

{LOADING_CASES}

} + titleSize="xxs" + /> +); + +const CasesPanelError = () => <>{ERROR_LOADING_CASES}; + +export const CasesPanelNoReadPermissions = () => ; + +export const CasesPanel = React.memo( + ({ eventId, dataAsNestedObject, detailsData }) => { + const { cases: casesUi } = useKibana().services; + const { loading, error, relatedCases, refetchRelatedCases } = + useGetRelatedCasesByEvent(eventId); + const userCasesPermissions = useGetUserCasesPermissions(); + + const caseAttachments: CaseAttachmentsWithoutOwner = useMemo(() => { + return dataAsNestedObject + ? [ + { + alertId: eventId, + index: dataAsNestedObject._index ?? '', + type: CommentType.alert, + rule: casesUi.helpers.getRuleIdFromEvent({ + ecs: dataAsNestedObject, + data: detailsData, + }), + }, + ] + : []; + }, [casesUi.helpers, dataAsNestedObject, detailsData, eventId]); + + const createCaseFlyout = casesUi.hooks.getUseCasesAddToNewCaseFlyout({ + onSuccess: refetchRelatedCases, + }); + + const selectCaseModal = casesUi.hooks.getUseCasesAddToExistingCaseModal({ + onRowClick: refetchRelatedCases, + }); + + const addToNewCase = useCallback(() => { + if (userCasesPermissions.create) { + createCaseFlyout.open({ attachments: caseAttachments }); + } + }, [userCasesPermissions.create, createCaseFlyout, caseAttachments]); + + const addToExistingCase = useCallback(() => { + if (userCasesPermissions.update) { + selectCaseModal.open({ attachments: caseAttachments }); + } + }, [caseAttachments, selectCaseModal, userCasesPermissions.update]); + + const renderCasesActions = useCallback( + () => ( + + ), + [ + addToExistingCase, + addToNewCase, + dataAsNestedObject, + detailsData, + eventId, + userCasesPermissions, + ] + ); + + if (loading) return ; + + if (error || relatedCases === undefined) return ; + + const hasRelatedCases = relatedCases && relatedCases.length > 0; + + return ( + + {hasRelatedCases ? ( + + {relatedCases?.map(({ id, title }) => ( + + + {title} + + + ))} + + ) : ( + + {userCasesPermissions.update && ( + + + {ADD_TO_EXISTING_CASE_BUTTON} + + + )} + {userCasesPermissions.create && ( + + + {ADD_TO_NEW_CASE_BUTTON} + + + )} +
+ } + /> + )} + + ); + } +); + +CasesPanel.displayName = 'CasesPanel'; diff --git a/x-pack/plugins/security_solution/public/detections/pages/alert_details/tabs/summary/get_mitre_threat_component.ts b/x-pack/plugins/security_solution/public/detections/pages/alert_details/tabs/summary/get_mitre_threat_component.ts new file mode 100644 index 0000000000000..32a6e1b32df1b --- /dev/null +++ b/x-pack/plugins/security_solution/public/detections/pages/alert_details/tabs/summary/get_mitre_threat_component.ts @@ -0,0 +1,123 @@ +/* + * 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 type { + Threat, + Threats, + ThreatSubtechnique, +} from '@kbn/securitysolution-io-ts-alerting-types'; +import { find } from 'lodash/fp'; +import { + ALERT_THREAT_FRAMEWORK, + ALERT_THREAT_TACTIC_ID, + ALERT_THREAT_TACTIC_NAME, + ALERT_THREAT_TACTIC_REFERENCE, + ALERT_THREAT_TECHNIQUE_ID, + ALERT_THREAT_TECHNIQUE_NAME, + ALERT_THREAT_TECHNIQUE_REFERENCE, + ALERT_THREAT_TECHNIQUE_SUBTECHNIQUE_ID, + ALERT_THREAT_TECHNIQUE_SUBTECHNIQUE_NAME, + ALERT_THREAT_TECHNIQUE_SUBTECHNIQUE_REFERENCE, + KIBANA_NAMESPACE, +} from '@kbn/rule-data-utils'; +import type { TimelineEventsDetailsItem } from '@kbn/timelines-plugin/common'; +import { buildThreatDescription } from '../../../../components/rules/description_step/helpers'; + +// TODO - it may make more sense to query source here for this information rather than piecing it together from the fields api +export const getMitreTitleAndDescription = (data: TimelineEventsDetailsItem[] | null) => { + const threatFrameworks = [ + ...(find({ field: ALERT_THREAT_FRAMEWORK, category: KIBANA_NAMESPACE }, data)?.values ?? []), + ]; + + const tacticIdValues = [ + ...(find({ field: ALERT_THREAT_TACTIC_ID, category: KIBANA_NAMESPACE }, data)?.values ?? []), + ]; + const tacticNameValues = [ + ...(find({ field: ALERT_THREAT_TACTIC_NAME, category: KIBANA_NAMESPACE }, data)?.values ?? []), + ]; + const tacticReferenceValues = [ + ...(find({ field: ALERT_THREAT_TACTIC_REFERENCE, category: KIBANA_NAMESPACE }, data)?.values ?? + []), + ]; + + const techniqueIdValues = [ + ...(find({ field: ALERT_THREAT_TECHNIQUE_ID, category: KIBANA_NAMESPACE }, data)?.values ?? []), + ]; + const techniqueNameValues = [ + ...(find({ field: ALERT_THREAT_TECHNIQUE_NAME, category: KIBANA_NAMESPACE }, data)?.values ?? + []), + ]; + const techniqueReferenceValues = [ + ...(find({ field: ALERT_THREAT_TECHNIQUE_REFERENCE, category: KIBANA_NAMESPACE }, data) + ?.values ?? []), + ]; + + const subTechniqueIdValues = [ + ...(find({ field: ALERT_THREAT_TECHNIQUE_SUBTECHNIQUE_ID, category: KIBANA_NAMESPACE }, data) + ?.values ?? []), + ]; + const subTechniqueNameValues = [ + ...(find({ field: ALERT_THREAT_TECHNIQUE_SUBTECHNIQUE_NAME, category: KIBANA_NAMESPACE }, data) + ?.values ?? []), + ]; + const subTechniqueReferenceValues = [ + ...(find( + { field: ALERT_THREAT_TECHNIQUE_SUBTECHNIQUE_REFERENCE, category: KIBANA_NAMESPACE }, + data + )?.values ?? []), + ]; + + const threatData: Threats = + // Use the top level framework as every threat should have a framework + threatFrameworks?.map((framework, index) => { + const threat: Threat = { + framework, + tactic: { + id: tacticIdValues[index], + name: tacticNameValues[index], + reference: tacticReferenceValues[index], + }, + technique: [], + }; + + // TODO: + // Fields api doesn't provide null entries to keep the same length of values for flattend objects + // So for the time being rather than showing incorrect data, we'll only show tactic information when the length of both line up + // We can replace this with a _source request and just pass that. + if (tacticIdValues.length === techniqueIdValues.length) { + const subtechnique: ThreatSubtechnique[] = []; + const techniqueId = techniqueIdValues[index]; + subTechniqueIdValues.forEach((subId, subIndex) => { + // TODO: see above comment. Without this matching, a subtechnique can be incorrectly matched with a higher level technique + if (subId.includes(techniqueId)) { + subtechnique.push({ + id: subTechniqueIdValues[subIndex], + name: subTechniqueNameValues[subIndex], + reference: subTechniqueReferenceValues[subIndex], + }); + } + }); + + threat.technique?.push({ + id: techniqueId, + name: techniqueNameValues[index], + reference: techniqueReferenceValues[index], + subtechnique, + }); + } + + return threat; + }) ?? []; + + // TODO: discuss moving buildThreatDescription to a shared common folder + return threatData && threatData.length > 0 + ? buildThreatDescription({ + label: threatData[0].framework, + threat: threatData, + }) + : null; +}; diff --git a/x-pack/plugins/security_solution/public/detections/pages/alert_details/tabs/summary/host_panel/host_panel.test.tsx b/x-pack/plugins/security_solution/public/detections/pages/alert_details/tabs/summary/host_panel/host_panel.test.tsx new file mode 100644 index 0000000000000..407a604bc9e43 --- /dev/null +++ b/x-pack/plugins/security_solution/public/detections/pages/alert_details/tabs/summary/host_panel/host_panel.test.tsx @@ -0,0 +1,133 @@ +/* + * 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 } from '@testing-library/react'; +import { find } from 'lodash/fp'; +import { TestProviders } from '../../../../../../common/mock'; +import { + mockAlertDetailsTimelineResponse, + mockAlertNestedDetailsTimelineResponse, +} from '../../../__mocks__'; +import type { HostPanelProps } from '.'; +import { HostPanel } from '.'; +import { mockBrowserFields } from '../../../../../../common/containers/source/mock'; +import { getTimelineEventData } from '../../../utils/get_timeline_event_data'; +import { RiskSeverity } from '../../../../../../../common/search_strategy'; +import { useRiskScore } from '../../../../../../risk_score/containers'; + +jest.mock('../../../../../../risk_score/containers'); +const mockUseRiskScore = useRiskScore as jest.Mock; + +jest.mock('../../../../../containers/detection_engine/alerts/use_host_isolation_status', () => { + return { + useHostIsolationStatus: jest.fn().mockReturnValue({ + loading: false, + isIsolated: false, + agentStatus: 'healthy', + }), + }; +}); + +describe('AlertDetailsPage - SummaryTab - HostPanel', () => { + const defaultRiskReturnValues = { + inspect: null, + refetch: () => {}, + isModuleEnabled: true, + isLicenseValid: true, + loading: false, + }; + const HostPanelWithDefaultProps = (propOverrides: Partial) => ( + + + + ); + + beforeEach(() => { + mockUseRiskScore.mockReturnValue({ ...defaultRiskReturnValues }); + }); + + afterEach(() => { + jest.clearAllMocks(); + }); + + it('should render basic host fields', () => { + const { getByTestId } = render(); + const simpleHostFields = ['host.name', 'host.os.name']; + + simpleHostFields.forEach((simpleHostField) => { + expect(getByTestId('host-panel')).toHaveTextContent( + getTimelineEventData(simpleHostField, mockAlertDetailsTimelineResponse) + ); + }); + }); + + describe('Agent status', () => { + it('should show healthy', () => { + const { getByTestId } = render(); + expect(getByTestId('host-panel-agent-status')).toHaveTextContent('Healthy'); + }); + }); + + describe('host risk', () => { + it('should not show risk if the license is not valid', () => { + mockUseRiskScore.mockReturnValue({ + ...defaultRiskReturnValues, + isLicenseValid: false, + data: null, + }); + const { queryByTestId } = render(); + expect(queryByTestId('host-panel-risk')).toBe(null); + }); + + it('should render risk fields', () => { + const calculatedScoreNorm = 98.9; + const calculatedLevel = RiskSeverity.critical; + + mockUseRiskScore.mockReturnValue({ + ...defaultRiskReturnValues, + isLicenseValid: true, + data: [ + { + host: { + name: mockAlertNestedDetailsTimelineResponse.host?.name, + risk: { + calculated_score_norm: calculatedScoreNorm, + calculated_level: calculatedLevel, + }, + }, + }, + ], + }); + const { getByTestId } = render(); + + expect(getByTestId('host-panel-risk')).toHaveTextContent( + `${Math.round(calculatedScoreNorm)}` + ); + expect(getByTestId('host-panel-risk')).toHaveTextContent(calculatedLevel); + }); + }); + + describe('host ip', () => { + it('should render all the ip fields', () => { + const { getByTestId } = render(); + const ipFields = find( + { field: 'host.ip', category: 'host' }, + mockAlertDetailsTimelineResponse + )?.values as string[]; + expect(getByTestId('host-panel-ip')).toHaveTextContent(ipFields[0]); + expect(getByTestId('host-panel-ip')).toHaveTextContent('+1 More'); + }); + }); +}); diff --git a/x-pack/plugins/security_solution/public/detections/pages/alert_details/tabs/summary/host_panel/host_panel_actions.tsx b/x-pack/plugins/security_solution/public/detections/pages/alert_details/tabs/summary/host_panel/host_panel_actions.tsx new file mode 100644 index 0000000000000..d078785bf93f8 --- /dev/null +++ b/x-pack/plugins/security_solution/public/detections/pages/alert_details/tabs/summary/host_panel/host_panel_actions.tsx @@ -0,0 +1,99 @@ +/* + * 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 { EuiButtonIcon, EuiContextMenuItem, EuiContextMenuPanel, EuiPopover } from '@elastic/eui'; +import React, { useCallback, useMemo, useState } from 'react'; +import { SecurityPageName } from '../../../../../../app/types'; +import { useGetSecuritySolutionLinkProps } from '../../../../../../common/components/links'; +import { getHostDetailsUrl } from '../../../../../../common/components/link_to'; + +import { OPEN_HOST_DETAILS_PAGE, SUMMARY_PANEL_ACTIONS, VIEW_HOST_SUMMARY } from '../translation'; + +export const HOST_PANEL_ACTIONS_CLASS = 'host-panel-actions-trigger'; + +export const HostPanelActions = React.memo( + ({ + className, + openHostDetailsPanel, + hostName, + }: { + className?: string; + hostName: string; + openHostDetailsPanel: (hostName: string) => void; + }) => { + const [isPopoverOpen, setPopover] = useState(false); + const { href } = useGetSecuritySolutionLinkProps()({ + deepLinkId: SecurityPageName.hosts, + path: getHostDetailsUrl(hostName), + }); + + const onButtonClick = useCallback(() => { + setPopover(!isPopoverOpen); + }, [isPopoverOpen]); + + const closePopover = () => { + setPopover(false); + }; + + const handleOpenHostDetailsPanel = useCallback(() => { + openHostDetailsPanel(hostName); + closePopover(); + }, [hostName, openHostDetailsPanel]); + + const items = useMemo( + () => [ + + {VIEW_HOST_SUMMARY} + , + + {OPEN_HOST_DETAILS_PAGE} + , + ], + [handleOpenHostDetailsPanel, href] + ); + + const button = useMemo( + () => ( + + ), + [onButtonClick] + ); + + return ( +
+ + + +
+ ); + } +); + +HostPanelActions.displayName = 'HostPanelActions'; diff --git a/x-pack/plugins/security_solution/public/detections/pages/alert_details/tabs/summary/host_panel/index.tsx b/x-pack/plugins/security_solution/public/detections/pages/alert_details/tabs/summary/host_panel/index.tsx new file mode 100644 index 0000000000000..f1df3cf0f97d6 --- /dev/null +++ b/x-pack/plugins/security_solution/public/detections/pages/alert_details/tabs/summary/host_panel/index.tsx @@ -0,0 +1,195 @@ +/* + * 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 { EuiTitle, EuiSpacer, EuiFlexGroup, EuiFlexItem, EuiIcon } from '@elastic/eui'; +import type { TimelineEventsDetailsItem } from '@kbn/timelines-plugin/common'; +import React, { useCallback, useMemo } from 'react'; +import { find } from 'lodash/fp'; +import type { FlexItemGrowSize } from '@elastic/eui/src/components/flex/flex_item'; +import { TimelineId } from '../../../../../../../common/types'; +import { isAlertFromEndpointEvent } from '../../../../../../common/utils/endpoint_alert_check'; +import { SummaryValueCell } from '../../../../../../common/components/event_details/table/summary_value_cell'; +import { useRiskScore } from '../../../../../../risk_score/containers'; +import { RiskScoreEntity } from '../../../../../../../common/search_strategy'; +import { getEmptyTagValue } from '../../../../../../common/components/empty_value'; +import { RiskScore } from '../../../../../../common/components/severity/common'; +import { + FirstLastSeen, + FirstLastSeenType, +} from '../../../../../../common/components/first_last_seen'; +import { DefaultFieldRenderer } from '../../../../../../timelines/components/field_renderers/field_renderers'; +import { HostDetailsLink, NetworkDetailsLink } from '../../../../../../common/components/links'; +import type { SelectedDataView } from '../../../../../../common/store/sourcerer/model'; +import { getEnrichedFieldInfo } from '../../../../../../common/components/event_details/helpers'; +import { getTimelineEventData } from '../../../utils/get_timeline_event_data'; +import { + AGENT_STATUS_TITLE, + HOST_NAME_TITLE, + HOST_PANEL_TITLE, + HOST_RISK_CLASSIFICATION, + HOST_RISK_SCORE, + IP_ADDRESSES_TITLE, + LAST_SEEN_TITLE, + OPERATING_SYSTEM_TITLE, +} from '../translation'; +import { SummaryPanel } from '../wrappers'; +import { HostPanelActions, HOST_PANEL_ACTIONS_CLASS } from './host_panel_actions'; + +export interface HostPanelProps { + data: TimelineEventsDetailsItem[]; + id: string; + openHostDetailsPanel: (hostName: string, onClose?: (() => void) | undefined) => void; + selectedPatterns: SelectedDataView['selectedPatterns']; + browserFields: SelectedDataView['browserFields']; +} + +const HostPanelSection: React.FC<{ + title?: string | React.ReactElement; + grow?: FlexItemGrowSize; +}> = ({ grow, title, children }) => + children ? ( + + {title && ( + <> + +
{title}
+
+ + + )} + {children} +
+ ) : null; + +export const HostPanel = React.memo( + ({ data, id, browserFields, openHostDetailsPanel, selectedPatterns }: HostPanelProps) => { + const hostName = getTimelineEventData('host.name', data); + const hostOs = getTimelineEventData('host.os.name', data); + + const enrichedAgentStatus = useMemo(() => { + const item = find({ field: 'agent.id', category: 'agent' }, data); + if (!data || !isAlertFromEndpointEvent({ data })) return null; + return ( + item && + getEnrichedFieldInfo({ + eventId: id, + contextId: TimelineId.detectionsAlertDetailsPage, + scopeId: TimelineId.detectionsAlertDetailsPage, + browserFields, + item, + field: { id: 'agent.id', overrideField: 'agent.status' }, + linkValueField: undefined, + }) + ); + }, [browserFields, data, id]); + + const { data: hostRisk, isLicenseValid: isRiskLicenseValid } = useRiskScore({ + riskEntity: RiskScoreEntity.host, + skip: hostName == null, + }); + + const [hostRiskScore, hostRiskLevel] = useMemo(() => { + const hostRiskData = hostRisk && hostRisk.length > 0 ? hostRisk[0] : undefined; + const hostRiskValue = hostRiskData + ? Math.round(hostRiskData.host.risk.calculated_score_norm) + : getEmptyTagValue(); + const hostRiskSeverity = hostRiskData ? ( + + ) : ( + getEmptyTagValue() + ); + + return [hostRiskValue, hostRiskSeverity]; + }, [hostRisk]); + + const hostIpFields = useMemo( + () => find({ field: 'host.ip', category: 'host' }, data)?.values ?? [], + [data] + ); + + const renderHostIp = useCallback( + (ip: string) => (ip != null ? : getEmptyTagValue()), + [] + ); + + const renderHostActions = useCallback( + () => , + [hostName, openHostDetailsPanel] + ); + + return ( + + + + + + + + + + + + + + {hostOs} + {enrichedAgentStatus && ( + + + + )} + + + {isRiskLicenseValid && ( + <> + + {hostRiskScore && ( + {hostRiskScore} + )} + {hostRiskLevel && ( + + {hostRiskLevel} + + )} + + + + )} + + + + + + + + + + + + + + + + ); + } +); + +HostPanel.displayName = 'HostPanel'; diff --git a/x-pack/plugins/security_solution/public/detections/pages/alert_details/tabs/summary/index.tsx b/x-pack/plugins/security_solution/public/detections/pages/alert_details/tabs/summary/index.tsx new file mode 100644 index 0000000000000..1b63b778453a8 --- /dev/null +++ b/x-pack/plugins/security_solution/public/detections/pages/alert_details/tabs/summary/index.tsx @@ -0,0 +1,84 @@ +/* + * 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 { EuiFlexGroup } from '@elastic/eui'; +import type { TimelineEventsDetailsItem } from '@kbn/timelines-plugin/common'; +import { TimelineId } from '../../../../../../common/types'; +import { useDetailPanel } from '../../../../../timelines/components/side_panel/hooks/use_detail_panel'; +import { useGetUserCasesPermissions } from '../../../../../common/lib/kibana'; +import type { SelectedDataView } from '../../../../../common/store/sourcerer/model'; +import { SourcererScopeName } from '../../../../../common/store/sourcerer/model'; +import type { Ecs } from '../../../../../../common/ecs'; +import { AlertRendererPanel } from './alert_renderer_panel'; +import { RulePanel } from './rule_panel'; +import { CasesPanel, CasesPanelNoReadPermissions } from './cases_panel'; +import { HostPanel } from './host_panel'; +import { UserPanel } from './user_panel'; +import { SummaryColumn, SummaryRow } from './wrappers'; + +export interface DetailsSummaryTabProps { + eventId: string; + dataAsNestedObject: Ecs | null; + detailsData: TimelineEventsDetailsItem[]; + sourcererDataView: SelectedDataView; +} + +export const DetailsSummaryTab = React.memo( + ({ dataAsNestedObject, detailsData, eventId, sourcererDataView }: DetailsSummaryTabProps) => { + const userCasesPermissions = useGetUserCasesPermissions(); + + const { DetailsPanel, openHostDetailsPanel, openUserDetailsPanel } = useDetailPanel({ + isFlyoutView: true, + sourcererScope: SourcererScopeName.detections, + scopeId: TimelineId.detectionsAlertDetailsPage, + }); + + return ( + <> + + + + + + + + + + + {userCasesPermissions.read ? ( + + ) : ( + + )} + + + {DetailsPanel} + + ); + } +); + +DetailsSummaryTab.displayName = 'DetailsSummaryTab'; diff --git a/x-pack/plugins/security_solution/public/detections/pages/alert_details/tabs/summary/rule_panel/index.tsx b/x-pack/plugins/security_solution/public/detections/pages/alert_details/tabs/summary/rule_panel/index.tsx new file mode 100644 index 0000000000000..362939b89b418 --- /dev/null +++ b/x-pack/plugins/security_solution/public/detections/pages/alert_details/tabs/summary/rule_panel/index.tsx @@ -0,0 +1,156 @@ +/* + * 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 { EuiTitle, EuiSpacer, EuiFlexGroup, EuiFlexItem } from '@elastic/eui'; +import type { Severity } from '@kbn/securitysolution-io-ts-alerting-types'; +import type { TimelineEventsDetailsItem } from '@kbn/timelines-plugin/common'; +import React, { useCallback, useMemo } from 'react'; +import { css } from '@emotion/react'; +import { find } from 'lodash/fp'; +import type { FlexItemGrowSize } from '@elastic/eui/src/components/flex/flex_item'; +import { + ALERT_RISK_SCORE, + ALERT_RULE_DESCRIPTION, + ALERT_RULE_NAME, + ALERT_RULE_UUID, + ALERT_SEVERITY, + KIBANA_NAMESPACE, +} from '@kbn/rule-data-utils'; +import { TimelineId } from '../../../../../../../common/types'; +import { SeverityBadge } from '../../../../../components/rules/severity_badge'; +import { getEnrichedFieldInfo } from '../../../../../../common/components/event_details/helpers'; +import type { SelectedDataView } from '../../../../../../common/store/sourcerer/model'; +import { FormattedFieldValue } from '../../../../../../timelines/components/timeline/body/renderers/formatted_field'; +import { + RISK_SCORE_TITLE, + RULE_DESCRIPTION_TITLE, + RULE_NAME_TITLE, + RULE_PANEL_TITLE, + SEVERITY_TITLE, +} from '../translation'; +import { getMitreTitleAndDescription } from '../get_mitre_threat_component'; +import { getTimelineEventData } from '../../../utils/get_timeline_event_data'; +import { SummaryPanel } from '../wrappers'; +import { RulePanelActions, RULE_PANEL_ACTIONS_CLASS } from './rule_panel_actions'; + +export interface RulePanelProps { + data: TimelineEventsDetailsItem[]; + id: string; + browserFields: SelectedDataView['browserFields']; +} + +const threatTacticContainerStyles = css` + flex-wrap: nowrap; + & .euiFlexGroup { + flex-wrap: nowrap; + } +`; + +interface RuleSectionProps { + ['data-test-subj']?: string; + title: string; + grow?: FlexItemGrowSize; +} +const RuleSection: React.FC = ({ + grow, + title, + children, + 'data-test-subj': dataTestSubj, +}) => ( + + +
{title}
+
+ + {children} +
+); + +export const RulePanel = React.memo(({ data, id, browserFields }: RulePanelProps) => { + const ruleUuid = useMemo(() => getTimelineEventData(ALERT_RULE_UUID, data), [data]); + const threatDetails = useMemo(() => getMitreTitleAndDescription(data), [data]); + const alertRiskScore = useMemo(() => getTimelineEventData(ALERT_RISK_SCORE, data), [data]); + const alertSeverity = useMemo( + () => getTimelineEventData(ALERT_SEVERITY, data) as Severity, + [data] + ); + const alertRuleDescription = useMemo( + () => getTimelineEventData(ALERT_RULE_DESCRIPTION, data), + [data] + ); + const shouldShowThreatDetails = !!threatDetails && threatDetails?.length > 0; + + const renderRuleActions = useCallback(() => , [ruleUuid]); + const ruleNameData = useMemo(() => { + const item = find({ field: ALERT_RULE_NAME, category: KIBANA_NAMESPACE }, data); + const linkValueField = find({ field: ALERT_RULE_UUID, category: KIBANA_NAMESPACE }, data); + return ( + item && + getEnrichedFieldInfo({ + eventId: id, + contextId: TimelineId.detectionsAlertDetailsPage, + scopeId: TimelineId.detectionsAlertDetailsPage, + browserFields, + item, + linkValueField, + }) + ); + }, [browserFields, data, id]); + + return ( + + + + + + + + {alertRiskScore} + + + + + + + + {alertRuleDescription} + + + + + {shouldShowThreatDetails && ( + + {threatDetails[0].description} + + )} + + + + + + ); +}); + +RulePanel.displayName = 'RulePanel'; diff --git a/x-pack/plugins/security_solution/public/detections/pages/alert_details/tabs/summary/rule_panel/rule_panel.test.tsx b/x-pack/plugins/security_solution/public/detections/pages/alert_details/tabs/summary/rule_panel/rule_panel.test.tsx new file mode 100644 index 0000000000000..a41659fd2bcf6 --- /dev/null +++ b/x-pack/plugins/security_solution/public/detections/pages/alert_details/tabs/summary/rule_panel/rule_panel.test.tsx @@ -0,0 +1,55 @@ +/* + * 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 } from '@testing-library/react'; +import { ALERT_RISK_SCORE, ALERT_RULE_DESCRIPTION, ALERT_RULE_NAME } from '@kbn/rule-data-utils'; +import { TestProviders } from '../../../../../../common/mock'; +import { + mockAlertDetailsTimelineResponse, + mockAlertNestedDetailsTimelineResponse, +} from '../../../__mocks__'; +import type { RulePanelProps } from '.'; +import { RulePanel } from '.'; +import { getTimelineEventData } from '../../../utils/get_timeline_event_data'; +import { mockBrowserFields } from '../../../../../../common/containers/source/mock'; + +describe('AlertDetailsPage - SummaryTab - RulePanel', () => { + const RulePanelWithDefaultProps = (propOverrides: Partial) => ( + + + + ); + it('should render basic rule fields', () => { + const { getByTestId } = render(); + const simpleRuleFields = [ALERT_RISK_SCORE, ALERT_RULE_DESCRIPTION]; + + simpleRuleFields.forEach((simpleRuleField) => { + expect(getByTestId('rule-panel')).toHaveTextContent( + getTimelineEventData(simpleRuleField, mockAlertDetailsTimelineResponse) + ); + }); + }); + + it('should render the expected severity', () => { + const { getByTestId } = render(); + expect(getByTestId('rule-panel-severity')).toHaveTextContent('Medium'); + }); + + describe('Rule name link', () => { + it('should render the rule name as a link button', () => { + const { getByTestId } = render(); + const ruleName = getTimelineEventData(ALERT_RULE_NAME, mockAlertDetailsTimelineResponse); + expect(getByTestId('ruleName')).toHaveTextContent(ruleName); + }); + }); +}); diff --git a/x-pack/plugins/security_solution/public/detections/pages/alert_details/tabs/summary/rule_panel/rule_panel_actions.tsx b/x-pack/plugins/security_solution/public/detections/pages/alert_details/tabs/summary/rule_panel/rule_panel_actions.tsx new file mode 100644 index 0000000000000..a2eec20864a2b --- /dev/null +++ b/x-pack/plugins/security_solution/public/detections/pages/alert_details/tabs/summary/rule_panel/rule_panel_actions.tsx @@ -0,0 +1,78 @@ +/* + * 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 { EuiButtonIcon, EuiContextMenuItem, EuiContextMenuPanel, EuiPopover } from '@elastic/eui'; +import React, { useCallback, useMemo, useState } from 'react'; +import { getRuleDetailsUrl } from '../../../../../../common/components/link_to'; +import { SecurityPageName } from '../../../../../../app/types'; +import { useGetSecuritySolutionLinkProps } from '../../../../../../common/components/links'; + +import { SUMMARY_PANEL_ACTIONS, OPEN_RULE_DETAILS_PAGE } from '../translation'; + +export const RULE_PANEL_ACTIONS_CLASS = 'rule-panel-actions-trigger'; + +export const RulePanelActions = React.memo( + ({ className, ruleUuid }: { className?: string; ruleUuid: string }) => { + const [isPopoverOpen, setPopover] = useState(false); + const { href } = useGetSecuritySolutionLinkProps()({ + deepLinkId: SecurityPageName.rules, + path: getRuleDetailsUrl(ruleUuid), + }); + + const onButtonClick = useCallback(() => { + setPopover(!isPopoverOpen); + }, [isPopoverOpen]); + + const closePopover = () => { + setPopover(false); + }; + + const items = useMemo( + () => [ + + {OPEN_RULE_DETAILS_PAGE} + , + ], + [href] + ); + + const button = useMemo( + () => ( + + ), + [onButtonClick] + ); + + return ( +
+ + + +
+ ); + } +); + +RulePanelActions.displayName = 'RulePanelActions'; diff --git a/x-pack/plugins/security_solution/public/detections/pages/alert_details/tabs/summary/translation.ts b/x-pack/plugins/security_solution/public/detections/pages/alert_details/tabs/summary/translation.ts new file mode 100644 index 0000000000000..a0b4246b7c271 --- /dev/null +++ b/x-pack/plugins/security_solution/public/detections/pages/alert_details/tabs/summary/translation.ts @@ -0,0 +1,226 @@ +/* + * 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 { i18n } from '@kbn/i18n'; + +export const CASES_PANEL_TITLE = i18n.translate( + 'xpack.securitySolution.alerts.alertDetails.summary.cases.title', + { + defaultMessage: 'Cases', + } +); + +export const ALERT_REASON_PANEL_TITLE = i18n.translate( + 'xpack.securitySolution.alerts.alertDetails.summary.alertReason.title', + { + defaultMessage: 'Alert reason', + } +); + +export const RULE_PANEL_TITLE = i18n.translate( + 'xpack.securitySolution.alerts.alertDetails.summary.rule.title', + { + defaultMessage: 'Rule', + } +); + +export const HOST_PANEL_TITLE = i18n.translate( + 'xpack.securitySolution.alerts.alertDetails.summary.host.title', + { + defaultMessage: 'Host', + } +); + +export const USER_PANEL_TITLE = i18n.translate( + 'xpack.securitySolution.alerts.alertDetails.summary.user.title', + { + defaultMessage: 'User', + } +); + +export const RULE_NAME_TITLE = i18n.translate( + 'xpack.securitySolution.alerts.alertDetails.summary.rule.name', + { + defaultMessage: 'Rule name', + } +); + +export const RISK_SCORE_TITLE = i18n.translate( + 'xpack.securitySolution.alerts.alertDetails.summary.rule.riskScore', + { + defaultMessage: 'Risk score', + } +); + +export const SEVERITY_TITLE = i18n.translate( + 'xpack.securitySolution.alerts.alertDetails.summary.rule.severity', + { + defaultMessage: 'Severity', + } +); + +export const RULE_DESCRIPTION_TITLE = i18n.translate( + 'xpack.securitySolution.alerts.alertDetails.summary.rule.description', + { + defaultMessage: 'Rule description', + } +); + +export const OPEN_RULE_DETAILS_PAGE = i18n.translate( + 'xpack.securitySolution.alerts.alertDetails.summary.rule.action.openRuleDetailsPage', + { + defaultMessage: 'Open rule details page', + } +); + +export const NO_RELATED_CASES_FOUND = i18n.translate( + 'xpack.securitySolution.alerts.alertDetails.summary.case.noCasesFound', + { + defaultMessage: 'Related cases were not found for this alert', + } +); + +export const LOADING_CASES = i18n.translate( + 'xpack.securitySolution.alerts.alertDetails.summary.case.loading', + { + defaultMessage: 'Loading related cases...', + } +); + +export const ERROR_LOADING_CASES = i18n.translate( + 'xpack.securitySolution.alerts.alertDetails.summary.case.error', + { + defaultMessage: 'Error loading related cases', + } +); + +export const CASE_NO_READ_PERMISSIONS = i18n.translate( + 'xpack.securitySolution.alerts.alertDetails.summary.case.noRead', + { + defaultMessage: + 'You do not have the required permissions to view related cases. If you need to view cases, contact your Kibana administrator', + } +); + +export const ADD_TO_EXISTING_CASE_BUTTON = i18n.translate( + 'xpack.securitySolution.alerts.alertDetails.summary.case.addToExistingCase', + { + defaultMessage: 'Add to existing case', + } +); + +export const ADD_TO_NEW_CASE_BUTTON = i18n.translate( + 'xpack.securitySolution.alerts.alertDetails.summary.case.addToNewCase', + { + defaultMessage: 'Add to new case', + } +); + +export const HOST_NAME_TITLE = i18n.translate( + 'xpack.securitySolution.alerts.alertDetails.summary.host.hostName.title', + { + defaultMessage: 'Host name', + } +); + +export const OPERATING_SYSTEM_TITLE = i18n.translate( + 'xpack.securitySolution.alerts.alertDetails.summary.host.osName.title', + { + defaultMessage: 'Operating system', + } +); + +export const AGENT_STATUS_TITLE = i18n.translate( + 'xpack.securitySolution.alerts.alertDetails.summary.host.agentStatus.title', + { + defaultMessage: 'Agent status', + } +); + +export const IP_ADDRESSES_TITLE = i18n.translate( + 'xpack.securitySolution.alerts.alertDetails.summary.ipAddresses.title', + { + defaultMessage: 'IP addresses', + } +); + +export const LAST_SEEN_TITLE = i18n.translate( + 'xpack.securitySolution.alerts.alertDetails.summary.lastSeen.title', + { + defaultMessage: 'Last seen', + } +); + +export const VIEW_HOST_SUMMARY = i18n.translate( + 'xpack.securitySolution.alerts.alertDetails.summary.host.action.viewHostSummary', + { + defaultMessage: 'View host summary', + } +); + +export const OPEN_HOST_DETAILS_PAGE = i18n.translate( + 'xpack.securitySolution.alerts.alertDetails.summary.host.action.openHostDetailsPage', + { + defaultMessage: 'Open host details page', + } +); + +export const HOST_RISK_SCORE = i18n.translate( + 'xpack.securitySolution.alerts.alertDetails.summary.host.riskScore', + { + defaultMessage: 'Host risk score', + } +); + +export const HOST_RISK_CLASSIFICATION = i18n.translate( + 'xpack.securitySolution.alerts.alertDetails.summary.host.riskClassification', + { + defaultMessage: 'Host risk classification', + } +); + +export const USER_NAME_TITLE = i18n.translate( + 'xpack.securitySolution.alerts.alertDetails.summary.user.userName.title', + { + defaultMessage: 'User name', + } +); + +export const USER_RISK_SCORE = i18n.translate( + 'xpack.securitySolution.alerts.alertDetails.summary.user.riskScore', + { + defaultMessage: 'User risk score', + } +); + +export const USER_RISK_CLASSIFICATION = i18n.translate( + 'xpack.securitySolution.alerts.alertDetails.summary.user.riskClassification', + { + defaultMessage: 'User risk classification', + } +); + +export const VIEW_USER_SUMMARY = i18n.translate( + 'xpack.securitySolution.alerts.alertDetails.summary.user.action.viewUserSummary', + { + defaultMessage: 'View user summary', + } +); + +export const OPEN_USER_DETAILS_PAGE = i18n.translate( + 'xpack.securitySolution.alerts.alertDetails.summary.user.action.openUserDetailsPage', + { + defaultMessage: 'Open user details page', + } +); + +export const SUMMARY_PANEL_ACTIONS = i18n.translate( + 'xpack.securitySolution.alerts.alertDetails.summary.panelMoreActions', + { + defaultMessage: 'More actions', + } +); diff --git a/x-pack/plugins/security_solution/public/detections/pages/alert_details/tabs/summary/user_panel/index.tsx b/x-pack/plugins/security_solution/public/detections/pages/alert_details/tabs/summary/user_panel/index.tsx new file mode 100644 index 0000000000000..ab58623467933 --- /dev/null +++ b/x-pack/plugins/security_solution/public/detections/pages/alert_details/tabs/summary/user_panel/index.tsx @@ -0,0 +1,160 @@ +/* + * 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 { EuiTitle, EuiSpacer, EuiFlexGroup, EuiFlexItem, EuiIcon } from '@elastic/eui'; +import type { TimelineEventsDetailsItem } from '@kbn/timelines-plugin/common'; +import React, { useCallback, useMemo } from 'react'; +import { find } from 'lodash/fp'; +import type { FlexItemGrowSize } from '@elastic/eui/src/components/flex/flex_item'; +import { useRiskScore } from '../../../../../../risk_score/containers'; +import { RiskScoreEntity } from '../../../../../../../common/search_strategy'; +import { getEmptyTagValue } from '../../../../../../common/components/empty_value'; +import { RiskScore } from '../../../../../../common/components/severity/common'; +import { + FirstLastSeen, + FirstLastSeenType, +} from '../../../../../../common/components/first_last_seen'; +import { DefaultFieldRenderer } from '../../../../../../timelines/components/field_renderers/field_renderers'; +import { NetworkDetailsLink, UserDetailsLink } from '../../../../../../common/components/links'; +import type { SelectedDataView } from '../../../../../../common/store/sourcerer/model'; +import { getTimelineEventData } from '../../../utils/get_timeline_event_data'; +import { + IP_ADDRESSES_TITLE, + LAST_SEEN_TITLE, + USER_NAME_TITLE, + USER_PANEL_TITLE, + USER_RISK_CLASSIFICATION, + USER_RISK_SCORE, +} from '../translation'; +import { SummaryPanel } from '../wrappers'; +import { UserPanelActions, USER_PANEL_ACTIONS_CLASS } from './user_panel_actions'; + +export interface UserPanelProps { + data: TimelineEventsDetailsItem[] | null; + selectedPatterns: SelectedDataView['selectedPatterns']; + openUserDetailsPanel: (userName: string, onClose?: (() => void) | undefined) => void; +} + +const UserPanelSection: React.FC<{ + title?: string | React.ReactElement; + grow?: FlexItemGrowSize; +}> = ({ grow, title, children }) => + children ? ( + + {title && ( + <> + +
{title}
+
+ + + )} + {children} +
+ ) : null; + +export const UserPanel = React.memo( + ({ data, selectedPatterns, openUserDetailsPanel }: UserPanelProps) => { + const userName = useMemo(() => getTimelineEventData('user.name', data), [data]); + + const { data: userRisk, isLicenseValid: isRiskLicenseValid } = useRiskScore({ + riskEntity: RiskScoreEntity.user, + skip: userName == null, + }); + + const renderUserActions = useCallback( + () => , + [openUserDetailsPanel, userName] + ); + + const [userRiskScore, userRiskLevel] = useMemo(() => { + const userRiskData = userRisk && userRisk.length > 0 ? userRisk[0] : undefined; + const userRiskValue = userRiskData + ? Math.round(userRiskData.user.risk.calculated_score_norm) + : getEmptyTagValue(); + const userRiskSeverity = userRiskData ? ( + + ) : ( + getEmptyTagValue() + ); + + return [userRiskValue, userRiskSeverity]; + }, [userRisk]); + + const sourceIpFields = useMemo( + () => find({ field: 'source.ip', category: 'source' }, data)?.values ?? [], + [data] + ); + + const renderSourceIp = useCallback( + (ip: string) => (ip != null ? : getEmptyTagValue()), + [] + ); + + return ( + + + + + + + + + {userName ? : getEmptyTagValue()} + + + + {isRiskLicenseValid && ( + <> + + {userRiskScore && ( + {userRiskScore} + )} + {userRiskLevel && ( + + {userRiskLevel} + + )} + + + + )} + + + + + + + + + + + + + + + + ); + } +); + +UserPanel.displayName = 'UserPanel'; diff --git a/x-pack/plugins/security_solution/public/detections/pages/alert_details/tabs/summary/user_panel/user_panel.test.tsx b/x-pack/plugins/security_solution/public/detections/pages/alert_details/tabs/summary/user_panel/user_panel.test.tsx new file mode 100644 index 0000000000000..aa93253993338 --- /dev/null +++ b/x-pack/plugins/security_solution/public/detections/pages/alert_details/tabs/summary/user_panel/user_panel.test.tsx @@ -0,0 +1,112 @@ +/* + * 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 } from '@testing-library/react'; +import { TestProviders } from '../../../../../../common/mock'; +import { + mockAlertDetailsTimelineResponse, + mockAlertNestedDetailsTimelineResponse, +} from '../../../__mocks__'; +import type { UserPanelProps } from '.'; +import { UserPanel } from '.'; +import { getTimelineEventData } from '../../../utils/get_timeline_event_data'; +import { RiskSeverity } from '../../../../../../../common/search_strategy'; +import { useRiskScore } from '../../../../../../risk_score/containers'; +import { find } from 'lodash/fp'; + +jest.mock('../../../../../../risk_score/containers'); +const mockUseRiskScore = useRiskScore as jest.Mock; + +describe('AlertDetailsPage - SummaryTab - UserPanel', () => { + const defaultRiskReturnValues = { + inspect: null, + refetch: () => {}, + isModuleEnabled: true, + isLicenseValid: true, + loading: false, + }; + const UserPanelWithDefaultProps = (propOverrides: Partial) => ( + + + + ); + + beforeEach(() => { + mockUseRiskScore.mockReturnValue({ ...defaultRiskReturnValues }); + }); + + afterEach(() => { + jest.clearAllMocks(); + }); + + it('should render basic user fields', () => { + const { getByTestId } = render(); + const simpleUserFields = ['user.name']; + + simpleUserFields.forEach((simpleUserField) => { + expect(getByTestId('user-panel')).toHaveTextContent( + getTimelineEventData(simpleUserField, mockAlertDetailsTimelineResponse) + ); + }); + }); + + describe('user risk', () => { + it('should not show risk if the license is not valid', () => { + mockUseRiskScore.mockReturnValue({ + ...defaultRiskReturnValues, + isLicenseValid: false, + data: null, + }); + const { queryByTestId } = render(); + expect(queryByTestId('user-panel-risk')).toBe(null); + }); + + it('should render risk fields', () => { + const calculatedScoreNorm = 98.9; + const calculatedLevel = RiskSeverity.critical; + + mockUseRiskScore.mockReturnValue({ + ...defaultRiskReturnValues, + isLicenseValid: true, + data: [ + { + user: { + name: mockAlertNestedDetailsTimelineResponse.user?.name, + risk: { + calculated_score_norm: calculatedScoreNorm, + calculated_level: calculatedLevel, + }, + }, + }, + ], + }); + const { getByTestId } = render(); + + expect(getByTestId('user-panel-risk')).toHaveTextContent( + `${Math.round(calculatedScoreNorm)}` + ); + expect(getByTestId('user-panel-risk')).toHaveTextContent(calculatedLevel); + }); + }); + + describe('source ip', () => { + it('should render all the ip fields', () => { + const { getByTestId } = render(); + const ipFields = find( + { field: 'source.ip', category: 'source' }, + mockAlertDetailsTimelineResponse + )?.values as string[]; + expect(getByTestId('user-panel-ip')).toHaveTextContent(ipFields[0]); + }); + }); +}); diff --git a/x-pack/plugins/security_solution/public/detections/pages/alert_details/tabs/summary/user_panel/user_panel_actions.tsx b/x-pack/plugins/security_solution/public/detections/pages/alert_details/tabs/summary/user_panel/user_panel_actions.tsx new file mode 100644 index 0000000000000..575673a494a2f --- /dev/null +++ b/x-pack/plugins/security_solution/public/detections/pages/alert_details/tabs/summary/user_panel/user_panel_actions.tsx @@ -0,0 +1,99 @@ +/* + * 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 { EuiButtonIcon, EuiContextMenuItem, EuiContextMenuPanel, EuiPopover } from '@elastic/eui'; +import React, { useCallback, useMemo, useState } from 'react'; +import { getUsersDetailsUrl } from '../../../../../../common/components/link_to/redirect_to_users'; +import { SecurityPageName } from '../../../../../../app/types'; +import { useGetSecuritySolutionLinkProps } from '../../../../../../common/components/links'; + +import { OPEN_USER_DETAILS_PAGE, SUMMARY_PANEL_ACTIONS, VIEW_USER_SUMMARY } from '../translation'; + +export const USER_PANEL_ACTIONS_CLASS = 'user-panel-actions-trigger'; + +export const UserPanelActions = React.memo( + ({ + className, + openUserDetailsPanel, + userName, + }: { + className?: string; + userName: string; + openUserDetailsPanel: (userName: string) => void; + }) => { + const [isPopoverOpen, setPopover] = useState(false); + const { href } = useGetSecuritySolutionLinkProps()({ + deepLinkId: SecurityPageName.users, + path: getUsersDetailsUrl(userName), + }); + + const onButtonClick = useCallback(() => { + setPopover(!isPopoverOpen); + }, [isPopoverOpen]); + + const closePopover = () => { + setPopover(false); + }; + + const handleopenUserDetailsPanel = useCallback(() => { + openUserDetailsPanel(userName); + closePopover(); + }, [userName, openUserDetailsPanel]); + + const items = useMemo( + () => [ + + {VIEW_USER_SUMMARY} + , + + {OPEN_USER_DETAILS_PAGE} + , + ], + [handleopenUserDetailsPanel, href] + ); + + const button = useMemo( + () => ( + + ), + [onButtonClick] + ); + + return ( +
+ + + +
+ ); + } +); + +UserPanelActions.displayName = 'UserPanelActions'; diff --git a/x-pack/plugins/security_solution/public/detections/pages/alert_details/tabs/summary/wrappers.tsx b/x-pack/plugins/security_solution/public/detections/pages/alert_details/tabs/summary/wrappers.tsx new file mode 100644 index 0000000000000..af3b33d9b0be0 --- /dev/null +++ b/x-pack/plugins/security_solution/public/detections/pages/alert_details/tabs/summary/wrappers.tsx @@ -0,0 +1,60 @@ +/* + * 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 { EuiFlexGroup, EuiFlexItem, EuiPanel, EuiSpacer, EuiTitle } from '@elastic/eui'; +import { css } from '@emotion/react'; +import type { FlexItemGrowSize } from '@elastic/eui/src/components/flex/flex_item'; +import { HoverVisibilityContainer } from '../../../../../common/components/hover_visibility_container'; + +export const SummaryColumn: React.FC<{ grow?: FlexItemGrowSize }> = ({ children, grow }) => ( + + + {children} + + +); + +export const SummaryRow: React.FC<{ grow?: FlexItemGrowSize }> = ({ children, grow }) => ( + + + {children} + + +); + +export const SummaryPanel: React.FC<{ + grow?: FlexItemGrowSize; + title: string; + actionsClassName?: string; + renderActionsPopover?: () => JSX.Element; +}> = ({ actionsClassName, children, grow = false, renderActionsPopover, title }) => ( + + + + + + +

{title}

+
+
+ {actionsClassName && renderActionsPopover ? ( + {renderActionsPopover()} + ) : null} +
+
+ + {children} +
+
+); diff --git a/x-pack/plugins/security_solution/public/detections/pages/alert_details/translations.ts b/x-pack/plugins/security_solution/public/detections/pages/alert_details/translations.ts new file mode 100644 index 0000000000000..cc95a183cb5ac --- /dev/null +++ b/x-pack/plugins/security_solution/public/detections/pages/alert_details/translations.ts @@ -0,0 +1,44 @@ +/* + * 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 { i18n } from '@kbn/i18n'; + +export const SUMMARY_PAGE_TITLE = i18n.translate( + 'xpack.securitySolution.alerts.alertDetails.navigation.summary', + { + defaultMessage: 'Summary', + } +); + +export const BACK_TO_ALERTS_LINK = i18n.translate( + 'xpack.securitySolution.alerts.alertDetails.header.backToAlerts', + { + defaultMessage: 'Back to alerts', + } +); + +export const LOADING_PAGE_MESSAGE = i18n.translate( + 'xpack.securitySolution.alerts.alertDetails.loadingPage.message', + { + defaultMessage: 'Loading details page...', + } +); + +export const ERROR_PAGE_TITLE = i18n.translate( + 'xpack.securitySolution.alerts.alertDetails.errorPage.title', + { + defaultMessage: 'Unable to load the details page', + } +); + +export const ERROR_PAGE_BODY = i18n.translate( + 'xpack.securitySolution.alerts.alertDetails.errorPage.message', + { + defaultMessage: + 'There was an error loading the details page. Please confirm the following id points to a valid document', + } +); diff --git a/x-pack/plugins/security_solution/public/detections/pages/alert_details/types.ts b/x-pack/plugins/security_solution/public/detections/pages/alert_details/types.ts new file mode 100644 index 0000000000000..3b4138a9d3d7d --- /dev/null +++ b/x-pack/plugins/security_solution/public/detections/pages/alert_details/types.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. + */ + +import type { NavTab } from '../../../common/components/navigation/types'; + +export enum AlertDetailRouteType { + summary = 'summary', +} + +export type AlertDetailNavTabs = Record<`${AlertDetailRouteType}`, NavTab>; diff --git a/x-pack/plugins/security_solution/public/detections/pages/alert_details/utils/breadcrumbs.ts b/x-pack/plugins/security_solution/public/detections/pages/alert_details/utils/breadcrumbs.ts new file mode 100644 index 0000000000000..632c40816476b --- /dev/null +++ b/x-pack/plugins/security_solution/public/detections/pages/alert_details/utils/breadcrumbs.ts @@ -0,0 +1,48 @@ +/* + * 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 type { ChromeBreadcrumb } from '@kbn/core/public'; +import type { GetSecuritySolutionUrl } from '../../../../common/components/link_to'; +import { getAlertDetailsUrl } from '../../../../common/components/link_to'; +import { SecurityPageName } from '../../../../../common/constants'; +import type { AlertDetailRouteSpyState } from '../../../../common/utils/route/types'; +import { AlertDetailRouteType } from '../types'; +import * as i18n from '../translations'; + +const TabNameMappedToI18nKey: Record = { + [AlertDetailRouteType.summary]: i18n.SUMMARY_PAGE_TITLE, +}; + +export const getTrailingBreadcrumbs = ( + params: AlertDetailRouteSpyState, + getSecuritySolutionUrl: GetSecuritySolutionUrl +): ChromeBreadcrumb[] => { + let breadcrumb: ChromeBreadcrumb[] = []; + + if (params.detailName != null) { + breadcrumb = [ + ...breadcrumb, + { + text: params.state?.ruleName ?? params.detailName, + href: getSecuritySolutionUrl({ + path: getAlertDetailsUrl(params.detailName, ''), + deepLinkId: SecurityPageName.alerts, + }), + }, + ]; + } + if (params.tabName != null) { + breadcrumb = [ + ...breadcrumb, + { + text: TabNameMappedToI18nKey[params.tabName], + href: '', + }, + ]; + } + return breadcrumb; +}; diff --git a/x-pack/plugins/security_solution/public/detections/pages/alert_details/utils/get_timeline_event_data.ts b/x-pack/plugins/security_solution/public/detections/pages/alert_details/utils/get_timeline_event_data.ts new file mode 100644 index 0000000000000..7d5dbc5440087 --- /dev/null +++ b/x-pack/plugins/security_solution/public/detections/pages/alert_details/utils/get_timeline_event_data.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; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import type { TimelineEventsDetailsItem } from '../../../../../common/search_strategy'; + +export const getTimelineEventData = (field: string, data: TimelineEventsDetailsItem[] | null) => { + const valueArray = data?.find((datum) => datum.field === field)?.values; + return valueArray && valueArray.length > 0 ? valueArray[0] : ''; +}; diff --git a/x-pack/plugins/security_solution/public/detections/pages/alert_details/utils/navigation.ts b/x-pack/plugins/security_solution/public/detections/pages/alert_details/utils/navigation.ts new file mode 100644 index 0000000000000..540cd99ad9bde --- /dev/null +++ b/x-pack/plugins/security_solution/public/detections/pages/alert_details/utils/navigation.ts @@ -0,0 +1,23 @@ +/* + * 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 type { AlertDetailNavTabs } from '../types'; +import { ALERTS_PATH } from '../../../../../common/constants'; +import { AlertDetailRouteType } from '../types'; +import * as i18n from '../translations'; + +export const getAlertDetailsTabUrl = (alertId: string, tabName: AlertDetailRouteType) => + `${ALERTS_PATH}/${alertId}/${tabName}`; + +export const getAlertDetailsNavTabs = (alertId: string): AlertDetailNavTabs => ({ + [AlertDetailRouteType.summary]: { + id: AlertDetailRouteType.summary, + name: i18n.SUMMARY_PAGE_TITLE, + href: getAlertDetailsTabUrl(alertId, AlertDetailRouteType.summary), + disabled: false, + }, +}); diff --git a/x-pack/plugins/security_solution/public/detections/pages/alerts/index.tsx b/x-pack/plugins/security_solution/public/detections/pages/alerts/index.tsx index 288b389215e48..d9ac9813ec72e 100644 --- a/x-pack/plugins/security_solution/public/detections/pages/alerts/index.tsx +++ b/x-pack/plugins/security_solution/public/detections/pages/alerts/index.tsx @@ -6,16 +6,20 @@ */ import React from 'react'; -import { Switch } from 'react-router-dom'; +import { Redirect, Switch } from 'react-router-dom'; import { Route } from '@kbn/kibana-react-plugin/public'; import { TrackApplicationView } from '@kbn/usage-collection-plugin/public'; +import { useIsExperimentalFeatureEnabled } from '../../../common/hooks/use_experimental_features'; import { ALERTS_PATH, SecurityPageName } from '../../../../common/constants'; import { NotFoundPage } from '../../../app/404'; import * as i18n from './translations'; import { DetectionEnginePage } from '../detection_engine/detection_engine'; import { SpyRoute } from '../../../common/utils/route/spy_routes'; import { useReadonlyHeader } from '../../../use_readonly_header'; +import { AlertDetailsPage } from '../alert_details'; +import { AlertDetailRouteType } from '../alert_details/types'; +import { getAlertDetailsTabUrl } from '../alert_details/utils/navigation'; const AlertsRoute = () => ( @@ -24,12 +28,40 @@ const AlertsRoute = () => ( ); +const AlertDetailsRoute = () => ( + + + +); + const AlertsContainerComponent: React.FC = () => { useReadonlyHeader(i18n.READ_ONLY_BADGE_TOOLTIP); - + const isAlertDetailsPageEnabled = useIsExperimentalFeatureEnabled('alertDetailsPageEnabled'); return ( + {isAlertDetailsPageEnabled && ( + <> + {/* Redirect to the summary page if only the detail name is provided */} + ( + + )} + /> + + + )} ); diff --git a/x-pack/plugins/security_solution/public/helpers.tsx b/x-pack/plugins/security_solution/public/helpers.tsx index 0187e50d195d7..e691155256308 100644 --- a/x-pack/plugins/security_solution/public/helpers.tsx +++ b/x-pack/plugins/security_solution/public/helpers.tsx @@ -168,6 +168,14 @@ export const isDetectionsPath = (pathname: string): boolean => { }); }; +export const isAlertDetailsPage = (pathname: string): boolean => { + return !!matchPath(pathname, { + path: `${ALERTS_PATH}/:detailName/:tabName`, + strict: false, + exact: true, + }); +}; + export const isThreatIntelligencePath = (pathname: string): boolean => { return !!matchPath(pathname, { path: `(${THREAT_INTELLIGENCE_PATH})`, diff --git a/x-pack/plugins/security_solution/public/timelines/components/side_panel/event_details/expandable_event.tsx b/x-pack/plugins/security_solution/public/timelines/components/side_panel/event_details/expandable_event.tsx index acf74257c862a..7270e7a65f9f2 100644 --- a/x-pack/plugins/security_solution/public/timelines/components/side_panel/event_details/expandable_event.tsx +++ b/x-pack/plugins/security_solution/public/timelines/components/side_panel/event_details/expandable_event.tsx @@ -18,6 +18,12 @@ import { import React from 'react'; import styled from 'styled-components'; +import { useIsExperimentalFeatureEnabled } from '../../../../common/hooks/use_experimental_features'; +import { getAlertDetailsUrl } from '../../../../common/components/link_to'; +import { + SecuritySolutionLinkAnchor, + useGetSecuritySolutionLinkProps, +} from '../../../../common/components/links'; import type { Ecs } from '../../../../../common/ecs'; import type { TimelineTabs } from '../../../../../common/types/timeline'; import type { BrowserFields } from '../../../../common/containers/source'; @@ -25,6 +31,7 @@ import { EventDetails } from '../../../../common/components/event_details/event_ import type { TimelineEventsDetailsItem } from '../../../../../common/search_strategy/timeline'; import * as i18n from './translations'; import { PreferenceFormattedDate } from '../../../../common/components/formatted_date'; +import { SecurityPageName } from '../../../../../common/constants'; export type HandleOnEventClosed = () => void; interface Props { @@ -44,6 +51,7 @@ interface Props { } interface ExpandableEventTitleProps { + eventId: string; isAlert: boolean; loading: boolean; ruleName?: string; @@ -68,31 +76,50 @@ const StyledEuiFlexItem = styled(EuiFlexItem)` `; export const ExpandableEventTitle = React.memo( - ({ isAlert, loading, handleOnEventClosed, ruleName, timestamp }) => ( - - - {!loading && ( - <> - -

{isAlert && !isEmpty(ruleName) ? ruleName : i18n.EVENT_DETAILS}

-
- {timestamp && ( - <> - - - - )} - - - )} -
- {handleOnEventClosed && ( + ({ eventId, isAlert, loading, handleOnEventClosed, ruleName, timestamp }) => { + const isAlertDetailsPageEnabled = useIsExperimentalFeatureEnabled('alertDetailsPageEnabled'); + const { onClick } = useGetSecuritySolutionLinkProps()({ + deepLinkId: SecurityPageName.alerts, + path: eventId && isAlert ? getAlertDetailsUrl(eventId) : '', + }); + return ( + - + {!loading && ( + <> + +

{isAlert && !isEmpty(ruleName) ? ruleName : i18n.EVENT_DETAILS}

+
+ {timestamp && ( + <> + + + + )} + {isAlert && eventId && isAlertDetailsPageEnabled && ( + <> + + + {i18n.OPEN_ALERT_DETAILS_PAGE} + + + + )} + + )}
- )} -
- ) + {handleOnEventClosed && ( + + + + )} +
+ ); + } ); ExpandableEventTitle.displayName = 'ExpandableEventTitle'; diff --git a/x-pack/plugins/security_solution/public/timelines/components/side_panel/event_details/flyout/header.tsx b/x-pack/plugins/security_solution/public/timelines/components/side_panel/event_details/flyout/header.tsx index 39a4899dbc33c..bc9af3fa85461 100644 --- a/x-pack/plugins/security_solution/public/timelines/components/side_panel/event_details/flyout/header.tsx +++ b/x-pack/plugins/security_solution/public/timelines/components/side_panel/event_details/flyout/header.tsx @@ -12,6 +12,7 @@ import { ExpandableEventTitle } from '../expandable_event'; import { BackToAlertDetailsLink } from './back_to_alert_details_link'; interface FlyoutHeaderComponentProps { + eventId: string; isAlert: boolean; isHostIsolationPanelOpen: boolean; isolateAction: 'isolateHost' | 'unisolateHost'; @@ -22,6 +23,7 @@ interface FlyoutHeaderComponentProps { } const FlyoutHeaderContentComponent = ({ + eventId, isAlert, isHostIsolationPanelOpen, isolateAction, @@ -36,6 +38,7 @@ const FlyoutHeaderContentComponent = ({ ) : ( { { }, [ isAlert, + alertId, isHostIsolationPanelOpen, isolateAction, loading, diff --git a/x-pack/plugins/security_solution/public/timelines/components/side_panel/event_details/index.tsx b/x-pack/plugins/security_solution/public/timelines/components/side_panel/event_details/index.tsx index 9067443f6dea3..29a1940413dad 100644 --- a/x-pack/plugins/security_solution/public/timelines/components/side_panel/event_details/index.tsx +++ b/x-pack/plugins/security_solution/public/timelines/components/side_panel/event_details/index.tsx @@ -80,6 +80,7 @@ const EventDetailsPanelComponent: React.FC = ({ () => isFlyoutView || isHostIsolationPanelOpen ? ( = ({ /> ) : ( = ({ /> ), [ + expandedEvent.eventId, handleOnEventClosed, isAlert, isFlyoutView, diff --git a/x-pack/plugins/security_solution/public/timelines/components/side_panel/event_details/translations.ts b/x-pack/plugins/security_solution/public/timelines/components/side_panel/event_details/translations.ts index 2910e04747e39..39292052cf8d8 100644 --- a/x-pack/plugins/security_solution/public/timelines/components/side_panel/event_details/translations.ts +++ b/x-pack/plugins/security_solution/public/timelines/components/side_panel/event_details/translations.ts @@ -14,6 +14,13 @@ export const MESSAGE = i18n.translate( } ); +export const OPEN_ALERT_DETAILS_PAGE = i18n.translate( + 'xpack.securitySolution.timeline.expandableEvent.openAlertDetails', + { + defaultMessage: 'Open alert details page', + } +); + export const CLOSE = i18n.translate( 'xpack.securitySolution.timeline.expandableEvent.closeEventDetailsLabel', { diff --git a/x-pack/plugins/security_solution/public/timelines/components/side_panel/hooks/use_detail_panel.test.tsx b/x-pack/plugins/security_solution/public/timelines/components/side_panel/hooks/use_detail_panel.test.tsx index 02013a7af6bff..3c77300cf060a 100644 --- a/x-pack/plugins/security_solution/public/timelines/components/side_panel/hooks/use_detail_panel.test.tsx +++ b/x-pack/plugins/security_solution/public/timelines/components/side_panel/hooks/use_detail_panel.test.tsx @@ -11,6 +11,7 @@ import { timelineActions } from '../../../store/timeline'; import { useDeepEqualSelector } from '../../../../common/hooks/use_selector'; import { SourcererScopeName } from '../../../../common/store/sourcerer/model'; import { TimelineId, TimelineTabs } from '../../../../../common/types'; +import { FlowTargetSourceDest } from '../../../../../common/search_strategy'; const mockDispatch = jest.fn(); jest.mock('../../../../common/lib/kibana'); @@ -51,71 +52,237 @@ describe('useDetailPanel', () => { (useDeepEqualSelector as jest.Mock).mockClear(); }); - test('should return openDetailsPanel fn, handleOnDetailsPanelClosed fn, shouldShowDetailsPanel, and the DetailsPanel component', async () => { + test('should return open fns (event, host, network, user), handleOnDetailsPanelClosed fn, shouldShowDetailsPanel, and the DetailsPanel component', async () => { await act(async () => { const { result, waitForNextUpdate } = renderHook(() => { return useDetailPanel(defaultProps); }); await waitForNextUpdate(); - expect(result.current.openDetailsPanel).toBeDefined(); + expect(result.current.openEventDetailsPanel).toBeDefined(); + expect(result.current.openHostDetailsPanel).toBeDefined(); + expect(result.current.openNetworkDetailsPanel).toBeDefined(); + expect(result.current.openUserDetailsPanel).toBeDefined(); expect(result.current.handleOnDetailsPanelClosed).toBeDefined(); expect(result.current.shouldShowDetailsPanel).toBe(false); expect(result.current.DetailsPanel).toBeNull(); }); }); - test('should fire redux action to open details panel', async () => { + describe('open event details', () => { const testEventId = '123'; - await act(async () => { - const { result, waitForNextUpdate } = renderHook(() => { - return useDetailPanel(defaultProps); + test('should fire redux action to open event details panel', async () => { + await act(async () => { + const { result, waitForNextUpdate } = renderHook(() => { + return useDetailPanel(defaultProps); + }); + await waitForNextUpdate(); + + result.current?.openEventDetailsPanel(testEventId); + + expect(mockDispatch).toHaveBeenCalled(); + expect(timelineActions.toggleDetailPanel).toHaveBeenCalled(); }); - await waitForNextUpdate(); + }); - result.current?.openDetailsPanel(testEventId); + test('should call provided onClose callback provided to openEventDetailsPanel fn', async () => { + await act(async () => { + const { result, waitForNextUpdate } = renderHook(() => { + return useDetailPanel(defaultProps); + }); + await waitForNextUpdate(); - expect(mockDispatch).toHaveBeenCalled(); - expect(timelineActions.toggleDetailPanel).toHaveBeenCalled(); + const mockOnClose = jest.fn(); + result.current?.openEventDetailsPanel(testEventId, mockOnClose); + result.current?.handleOnDetailsPanelClosed(); + + expect(mockOnClose).toHaveBeenCalled(); + }); + }); + + test('should call the last onClose callback provided to openEventDetailsPanel fn', async () => { + // Test that the onClose ref is properly updated + await act(async () => { + const { result, waitForNextUpdate } = renderHook(() => { + return useDetailPanel(defaultProps); + }); + await waitForNextUpdate(); + + const mockOnClose = jest.fn(); + const secondMockOnClose = jest.fn(); + result.current?.openEventDetailsPanel(testEventId, mockOnClose); + result.current?.handleOnDetailsPanelClosed(); + + expect(mockOnClose).toHaveBeenCalled(); + + result.current?.openEventDetailsPanel(testEventId, secondMockOnClose); + result.current?.handleOnDetailsPanelClosed(); + + expect(secondMockOnClose).toHaveBeenCalled(); + }); }); }); - test('should call provided onClose callback provided to openDetailsPanel fn', async () => { - const testEventId = '123'; - await act(async () => { - const { result, waitForNextUpdate } = renderHook(() => { - return useDetailPanel(defaultProps); + describe('open host details', () => { + const hostName = 'my-host'; + test('should fire redux action to open host details panel', async () => { + await act(async () => { + const { result, waitForNextUpdate } = renderHook(() => { + return useDetailPanel(defaultProps); + }); + await waitForNextUpdate(); + + result.current?.openHostDetailsPanel(hostName); + + expect(mockDispatch).toHaveBeenCalled(); + expect(timelineActions.toggleDetailPanel).toHaveBeenCalled(); }); - await waitForNextUpdate(); + }); + + test('should call provided onClose callback provided to openEventDetailsPanel fn', async () => { + await act(async () => { + const { result, waitForNextUpdate } = renderHook(() => { + return useDetailPanel(defaultProps); + }); + await waitForNextUpdate(); + + const mockOnClose = jest.fn(); + result.current?.openHostDetailsPanel(hostName, mockOnClose); + result.current?.handleOnDetailsPanelClosed(); + + expect(mockOnClose).toHaveBeenCalled(); + }); + }); + + test('should call the last onClose callback provided to openEventDetailsPanel fn', async () => { + // Test that the onClose ref is properly updated + await act(async () => { + const { result, waitForNextUpdate } = renderHook(() => { + return useDetailPanel(defaultProps); + }); + await waitForNextUpdate(); + + const mockOnClose = jest.fn(); + const secondMockOnClose = jest.fn(); + result.current?.openHostDetailsPanel(hostName, mockOnClose); + result.current?.handleOnDetailsPanelClosed(); + + expect(mockOnClose).toHaveBeenCalled(); + + result.current?.openEventDetailsPanel(hostName, secondMockOnClose); + result.current?.handleOnDetailsPanelClosed(); - const mockOnClose = jest.fn(); - result.current?.openDetailsPanel(testEventId, mockOnClose); - result.current?.handleOnDetailsPanelClosed(); + expect(secondMockOnClose).toHaveBeenCalled(); + }); + }); + }); + + describe('open network details', () => { + const ip = '1.2.3.4'; + const flowTarget = FlowTargetSourceDest.source; + test('should fire redux action to open host details panel', async () => { + await act(async () => { + const { result, waitForNextUpdate } = renderHook(() => { + return useDetailPanel(defaultProps); + }); + await waitForNextUpdate(); + + result.current?.openNetworkDetailsPanel(ip, flowTarget); - expect(mockOnClose).toHaveBeenCalled(); + expect(mockDispatch).toHaveBeenCalled(); + expect(timelineActions.toggleDetailPanel).toHaveBeenCalled(); + }); + }); + + test('should call provided onClose callback provided to openEventDetailsPanel fn', async () => { + await act(async () => { + const { result, waitForNextUpdate } = renderHook(() => { + return useDetailPanel(defaultProps); + }); + await waitForNextUpdate(); + + const mockOnClose = jest.fn(); + result.current?.openNetworkDetailsPanel(ip, flowTarget, mockOnClose); + result.current?.handleOnDetailsPanelClosed(); + + expect(mockOnClose).toHaveBeenCalled(); + }); + }); + + test('should call the last onClose callback provided to openEventDetailsPanel fn', async () => { + // Test that the onClose ref is properly updated + await act(async () => { + const { result, waitForNextUpdate } = renderHook(() => { + return useDetailPanel(defaultProps); + }); + await waitForNextUpdate(); + + const mockOnClose = jest.fn(); + const secondMockOnClose = jest.fn(); + result.current?.openNetworkDetailsPanel(ip, flowTarget, mockOnClose); + result.current?.handleOnDetailsPanelClosed(); + + expect(mockOnClose).toHaveBeenCalled(); + + result.current?.openNetworkDetailsPanel(ip, flowTarget, secondMockOnClose); + result.current?.handleOnDetailsPanelClosed(); + + expect(secondMockOnClose).toHaveBeenCalled(); + }); }); }); - test('should call the last onClose callback provided to openDetailsPanel fn', async () => { - // Test that the onClose ref is properly updated - const testEventId = '123'; - await act(async () => { - const { result, waitForNextUpdate } = renderHook(() => { - return useDetailPanel(defaultProps); + describe('open user details', () => { + const userName = 'IAmBatman'; + test('should fire redux action to open host details panel', async () => { + await act(async () => { + const { result, waitForNextUpdate } = renderHook(() => { + return useDetailPanel(defaultProps); + }); + await waitForNextUpdate(); + + result.current?.openUserDetailsPanel(userName); + + expect(mockDispatch).toHaveBeenCalled(); + expect(timelineActions.toggleDetailPanel).toHaveBeenCalled(); }); - await waitForNextUpdate(); + }); + + test('should call provided onClose callback provided to openEventDetailsPanel fn', async () => { + await act(async () => { + const { result, waitForNextUpdate } = renderHook(() => { + return useDetailPanel(defaultProps); + }); + await waitForNextUpdate(); + + const mockOnClose = jest.fn(); + result.current?.openUserDetailsPanel(userName, mockOnClose); + result.current?.handleOnDetailsPanelClosed(); + + expect(mockOnClose).toHaveBeenCalled(); + }); + }); - const mockOnClose = jest.fn(); - const secondMockOnClose = jest.fn(); - result.current?.openDetailsPanel(testEventId, mockOnClose); - result.current?.handleOnDetailsPanelClosed(); + test('should call the last onClose callback provided to openEventDetailsPanel fn', async () => { + // Test that the onClose ref is properly updated + await act(async () => { + const { result, waitForNextUpdate } = renderHook(() => { + return useDetailPanel(defaultProps); + }); + await waitForNextUpdate(); - expect(mockOnClose).toHaveBeenCalled(); + const mockOnClose = jest.fn(); + const secondMockOnClose = jest.fn(); + result.current?.openUserDetailsPanel(userName, mockOnClose); + result.current?.handleOnDetailsPanelClosed(); - result.current?.openDetailsPanel(testEventId, secondMockOnClose); - result.current?.handleOnDetailsPanelClosed(); + expect(mockOnClose).toHaveBeenCalled(); - expect(secondMockOnClose).toHaveBeenCalled(); + result.current?.openUserDetailsPanel(userName, secondMockOnClose); + result.current?.handleOnDetailsPanelClosed(); + + expect(secondMockOnClose).toHaveBeenCalled(); + }); }); }); diff --git a/x-pack/plugins/security_solution/public/timelines/components/side_panel/hooks/use_detail_panel.tsx b/x-pack/plugins/security_solution/public/timelines/components/side_panel/hooks/use_detail_panel.tsx index e98bcfdcc37e7..a43036e2d8a14 100644 --- a/x-pack/plugins/security_solution/public/timelines/components/side_panel/hooks/use_detail_panel.tsx +++ b/x-pack/plugins/security_solution/public/timelines/components/side_panel/hooks/use_detail_panel.tsx @@ -9,12 +9,13 @@ import React, { useMemo, useCallback, useRef } from 'react'; import { useDispatch } from 'react-redux'; import type { EntityType } from '@kbn/timelines-plugin/common'; import { getScopedActions, isInTableScope, isTimelineScope } from '../../../../helpers'; +import type { FlowTargetSourceDest } from '../../../../../common/search_strategy'; import { timelineSelectors } from '../../../store/timeline'; import { useSourcererDataView } from '../../../../common/containers/sourcerer'; import type { SourcererScopeName } from '../../../../common/store/sourcerer/model'; import { activeTimeline } from '../../../containers/active_timeline_context'; -import type { TimelineTabs } from '../../../../../common/types/timeline'; -import { TimelineId } from '../../../../../common/types/timeline'; +import type { TimelineExpandedDetailType } from '../../../../../common/types/timeline'; +import { TimelineTabs, TimelineId } from '../../../../../common/types/timeline'; import { timelineDefaults } from '../../../store/timeline/defaults'; import { useDeepEqualSelector } from '../../../../common/hooks/use_selector'; import { DetailsPanel as DetailsPanelComponent } from '..'; @@ -28,7 +29,14 @@ export interface UseDetailPanelConfig { tabType?: TimelineTabs; } export interface UseDetailPanelReturn { - openDetailsPanel: (eventId?: string, onClose?: () => void) => void; + openEventDetailsPanel: (eventId?: string, onClose?: () => void) => void; + openHostDetailsPanel: (hostName: string, onClose?: () => void) => void; + openNetworkDetailsPanel: ( + ip: string, + flowTarget: FlowTargetSourceDest, + onClose?: () => void + ) => void; + openUserDetailsPanel: (userName: string, onClose?: () => void) => void; handleOnDetailsPanelClosed: () => void; DetailsPanel: JSX.Element | null; shouldShowDetailsPanel: boolean; @@ -39,7 +47,7 @@ export const useDetailPanel = ({ isFlyoutView, sourcererScope, scopeId, - tabType, + tabType = TimelineTabs.query, }: UseDetailPanelConfig): UseDetailPanelReturn => { const { browserFields, selectedPatterns, runtimeMappings } = useSourcererDataView(sourcererScope); const dispatch = useDispatch(); @@ -50,11 +58,13 @@ export const useDetailPanel = ({ return dataTableSelectors.getTableByIdSelector(); } }, [scopeId]); + const eventDetailsIndex = useMemo(() => selectedPatterns.join(','), [selectedPatterns]); const expandedDetail = useDeepEqualSelector( (state) => ((getScope && getScope(state, scopeId)) ?? timelineDefaults)?.expandedDetail ); const onPanelClose = useRef(() => {}); + const noopPanelClose = () => {}; const shouldShowDetailsPanel = useMemo(() => { if ( @@ -68,31 +78,59 @@ export const useDetailPanel = ({ return false; }, [expandedDetail, tabType]); const scopedActions = getScopedActions(scopeId); + + // We could just surface load details panel, but rather than have users be concerned + // of the config for a panel, they can just pass the base necessary values to a panel specific function const loadDetailsPanel = useCallback( - (eventId?: string) => { - if (eventId && scopedActions) { + (panelConfig?: TimelineExpandedDetailType) => { + if (panelConfig && scopedActions) { if (isTimelineScope(scopeId)) { dispatch( scopedActions.toggleDetailPanel({ - panelView: 'eventDetail', + ...panelConfig, tabType, id: scopeId, - params: { - eventId, - indexName: selectedPatterns.join(','), - }, }) ); } } }, - [scopedActions, scopeId, dispatch, tabType, selectedPatterns] + [scopedActions, scopeId, dispatch, tabType] ); - const openDetailsPanel = useCallback( + const openEventDetailsPanel = useCallback( (eventId?: string, onClose?: () => void) => { - loadDetailsPanel(eventId); - onPanelClose.current = onClose ?? (() => {}); + if (eventId) { + loadDetailsPanel({ + panelView: 'eventDetail', + params: { eventId, indexName: eventDetailsIndex }, + }); + } + onPanelClose.current = onClose ?? noopPanelClose; + }, + [loadDetailsPanel, eventDetailsIndex] + ); + + const openHostDetailsPanel = useCallback( + (hostName: string, onClose?: () => void) => { + loadDetailsPanel({ panelView: 'hostDetail', params: { hostName } }); + onPanelClose.current = onClose ?? noopPanelClose; + }, + [loadDetailsPanel] + ); + + const openNetworkDetailsPanel = useCallback( + (ip: string, flowTarget: FlowTargetSourceDest, onClose?: () => void) => { + loadDetailsPanel({ panelView: 'networkDetail', params: { ip, flowTarget } }); + onPanelClose.current = onClose ?? noopPanelClose; + }, + [loadDetailsPanel] + ); + + const openUserDetailsPanel = useCallback( + (userName: string, onClose?: () => void) => { + loadDetailsPanel({ panelView: 'userDetail', params: { userName } }); + onPanelClose.current = onClose ?? noopPanelClose; }, [loadDetailsPanel] ); @@ -139,7 +177,10 @@ export const useDetailPanel = ({ ); return { - openDetailsPanel, + openEventDetailsPanel, + openHostDetailsPanel, + openNetworkDetailsPanel, + openUserDetailsPanel, handleOnDetailsPanelClosed, shouldShowDetailsPanel, DetailsPanel, diff --git a/x-pack/plugins/security_solution/public/timelines/components/timeline/body/actions/index.test.tsx b/x-pack/plugins/security_solution/public/timelines/components/timeline/body/actions/index.test.tsx index 5807a9667942f..9e8ea89d9175b 100644 --- a/x-pack/plugins/security_solution/public/timelines/components/timeline/body/actions/index.test.tsx +++ b/x-pack/plugins/security_solution/public/timelines/components/timeline/body/actions/index.test.tsx @@ -60,6 +60,9 @@ jest.mock('../../../../../common/lib/kibana', () => { addSuccess: jest.fn(), addWarning: jest.fn(), }), + useNavigateTo: jest.fn().mockReturnValue({ + navigateTo: jest.fn(), + }), useGetUserCasesPermissions: originalKibanaLib.useGetUserCasesPermissions, }; }); diff --git a/x-pack/plugins/security_solution/public/timelines/components/timeline/body/actions/index.tsx b/x-pack/plugins/security_solution/public/timelines/components/timeline/body/actions/index.tsx index a0384d7707534..5454642ea5892 100644 --- a/x-pack/plugins/security_solution/public/timelines/components/timeline/body/actions/index.tsx +++ b/x-pack/plugins/security_solution/public/timelines/components/timeline/body/actions/index.tsx @@ -8,7 +8,6 @@ import React, { useCallback, useMemo } from 'react'; import { useDispatch } from 'react-redux'; import { EuiButtonIcon, EuiCheckbox, EuiLoadingSpinner, EuiToolTip } from '@elastic/eui'; -import { noop } from 'lodash/fp'; import styled from 'styled-components'; import { DEFAULT_ACTION_BUTTON_WIDTH } from '@kbn/timelines-plugin/public'; @@ -65,7 +64,6 @@ const ActionsComponent: React.FC = ({ onEventDetailsPanelOpened, onRowSelected, onRuleChange, - refetch, showCheckboxes, showNotes, timelineId, @@ -298,7 +296,6 @@ const ActionsComponent: React.FC = ({ ecsRowData={ecsData} scopeId={timelineId} disabled={isContextMenuDisabled} - refetch={refetch ?? noop} onRuleChange={onRuleChange} /> {isDisabled === false ? ( diff --git a/x-pack/plugins/security_solution/public/timelines/components/timeline/body/events/event_column_view.test.tsx b/x-pack/plugins/security_solution/public/timelines/components/timeline/body/events/event_column_view.test.tsx index 6d329034650f3..199c79c3ac583 100644 --- a/x-pack/plugins/security_solution/public/timelines/components/timeline/body/events/event_column_view.test.tsx +++ b/x-pack/plugins/security_solution/public/timelines/components/timeline/body/events/event_column_view.test.tsx @@ -58,6 +58,9 @@ jest.mock('../../../../../common/lib/kibana', () => { cases: mockCasesContract(), }, }), + useNavigateTo: () => ({ + navigateTo: jest.fn(), + }), useToasts: jest.fn().mockReturnValue({ addError: jest.fn(), addSuccess: jest.fn(), diff --git a/x-pack/plugins/security_solution/public/timelines/components/timeline/body/renderers/alert_renderer/index.tsx b/x-pack/plugins/security_solution/public/timelines/components/timeline/body/renderers/alert_renderer/index.tsx index 2ac4f756ffe2c..b8af8c0f09482 100644 --- a/x-pack/plugins/security_solution/public/timelines/components/timeline/body/renderers/alert_renderer/index.tsx +++ b/x-pack/plugins/security_solution/public/timelines/components/timeline/body/renderers/alert_renderer/index.tsx @@ -37,6 +37,21 @@ import * as i18n from './translations'; export const DEFAULT_CONTEXT_ID = 'alert-renderer'; +export const ALERT_RENDERER_FIELDS = [ + DESTINATION_IP, + DESTINATION_PORT, + EVENT_CATEGORY, + FILE_NAME, + HOST_NAME, + KIBANA_ALERT_RULE_NAME, + KIBANA_ALERT_SEVERITY, + PROCESS_NAME, + PROCESS_PARENT_NAME, + SOURCE_IP, + SOURCE_PORT, + USER_NAME, +]; + const AlertRendererFlexGroup = styled(EuiFlexGroup)` gap: ${({ theme }) => theme.eui.euiSizeXS}; `; diff --git a/x-pack/plugins/security_solution/public/timelines/components/timeline/session_tab_content/use_session_view.test.tsx b/x-pack/plugins/security_solution/public/timelines/components/timeline/session_tab_content/use_session_view.test.tsx index 506353a9b7047..b24663b81122b 100644 --- a/x-pack/plugins/security_solution/public/timelines/components/timeline/session_tab_content/use_session_view.test.tsx +++ b/x-pack/plugins/security_solution/public/timelines/components/timeline/session_tab_content/use_session_view.test.tsx @@ -71,12 +71,12 @@ jest.mock('../../../../common/lib/kibana', () => { }), }; }); -const mockDetails = () => {}; +const mockOpenDetailFn = jest.fn(); jest.mock('../../side_panel/hooks/use_detail_panel', () => { return { useDetailPanel: () => ({ - openDetailsPanel: mockDetails, + openEventDetailsPanel: mockOpenDetailFn, handleOnDetailsPanelClosed: () => {}, DetailsPanel: () =>
, shouldShowDetailsPanel: false, @@ -161,7 +161,7 @@ describe('useSessionView with active timeline and a session id and graph event i expect(kibana.services.sessionView.getSessionView).toHaveBeenCalledWith({ height: 1000, sessionEntityId: 'test', - loadAlertDetails: mockDetails, + loadAlertDetails: mockOpenDetailFn, canAccessEndpointManagement: false, }); }); @@ -241,7 +241,7 @@ describe('useSessionView with active timeline and a session id and graph event i ); expect(kibana.services.sessionView.getSessionView).toHaveBeenCalled(); - expect(result.current).toHaveProperty('openDetailsPanel'); + expect(result.current).toHaveProperty('openEventDetailsPanel'); expect(result.current).toHaveProperty('shouldShowDetailsPanel'); expect(result.current).toHaveProperty('SessionView'); expect(result.current).toHaveProperty('DetailsPanel'); diff --git a/x-pack/plugins/security_solution/public/timelines/components/timeline/session_tab_content/use_session_view.tsx b/x-pack/plugins/security_solution/public/timelines/components/timeline/session_tab_content/use_session_view.tsx index 0cb001b6aa3e1..6015477624d82 100644 --- a/x-pack/plugins/security_solution/public/timelines/components/timeline/session_tab_content/use_session_view.tsx +++ b/x-pack/plugins/security_solution/public/timelines/components/timeline/session_tab_content/use_session_view.tsx @@ -295,7 +295,7 @@ export const useSessionView = ({ return SourcererScopeName.default; } }, [scopeId]); - const { openDetailsPanel, shouldShowDetailsPanel, DetailsPanel } = useDetailPanel({ + const { openEventDetailsPanel, shouldShowDetailsPanel, DetailsPanel } = useDetailPanel({ isFlyoutView: !isActiveTimeline(scopeId), entityType, sourcererScope, @@ -309,7 +309,7 @@ export const useSessionView = ({ return sessionViewConfig !== null ? sessionView.getSessionView({ ...sessionViewConfig, - loadAlertDetails: openDetailsPanel, + loadAlertDetails: openEventDetailsPanel, isFullScreen: fullScreen, height: heightMinusSearchBar, canAccessEndpointManagement, @@ -319,13 +319,13 @@ export const useSessionView = ({ height, sessionViewConfig, sessionView, - openDetailsPanel, + openEventDetailsPanel, fullScreen, canAccessEndpointManagement, ]); return { - openDetailsPanel, + openEventDetailsPanel, shouldShowDetailsPanel, SessionView: sessionViewComponent, DetailsPanel, diff --git a/x-pack/plugins/security_solution/public/timelines/containers/details/index.tsx b/x-pack/plugins/security_solution/public/timelines/containers/details/index.tsx index 17aacfae9d2b5..0444510776d67 100644 --- a/x-pack/plugins/security_solution/public/timelines/containers/details/index.tsx +++ b/x-pack/plugins/security_solution/public/timelines/containers/details/index.tsx @@ -16,6 +16,7 @@ import { isCompleteResponse, isErrorResponse } from '@kbn/data-plugin/common'; import { EntityType } from '@kbn/timelines-plugin/common'; import { useKibana } from '../../../common/lib/kibana'; import type { + SearchHit, TimelineEventsDetailsItem, TimelineEventsDetailsRequestOptions, TimelineEventsDetailsStrategyResponse, @@ -47,7 +48,7 @@ export const useTimelineEventsDetails = ({ }: UseTimelineEventsDetailsProps): [ boolean, EventsArgs['detailsData'], - object | undefined, + SearchHit | undefined, EventsArgs['ecs'], () => Promise ] => { @@ -67,7 +68,7 @@ export const useTimelineEventsDetails = ({ useState(null); const [ecsData, setEcsData] = useState(null); - const [rawEventData, setRawEventData] = useState(undefined); + const [rawEventData, setRawEventData] = useState(undefined); const timelineDetailsSearch = useCallback( (request: TimelineEventsDetailsRequestOptions | null) => { if (request == null || skip || isEmpty(request.eventId)) { diff --git a/x-pack/plugins/timelines/public/store/t_grid/types.ts b/x-pack/plugins/timelines/public/store/t_grid/types.ts index 3e8f998003774..b0c82c2abf637 100644 --- a/x-pack/plugins/timelines/public/store/t_grid/types.ts +++ b/x-pack/plugins/timelines/public/store/t_grid/types.ts @@ -46,6 +46,7 @@ export enum TableId { export enum TimelineId { active = 'timeline-1', casePage = 'timeline-case', + detectionsAlertDetailsPage = 'detections-alert-details-page', test = 'timeline-test', // Reserved for testing purposes } diff --git a/x-pack/test/security_solution_cypress/config.ts b/x-pack/test/security_solution_cypress/config.ts index e77ab1fe4d489..18d7577516fd9 100644 --- a/x-pack/test/security_solution_cypress/config.ts +++ b/x-pack/test/security_solution_cypress/config.ts @@ -49,7 +49,9 @@ export default async function ({ readConfigFile }: FtrConfigProviderContext) { // See https://github.com/elastic/kibana/pull/125396 for details '--xpack.alerting.rules.minimumScheduleInterval.value=1s', '--xpack.ruleRegistry.unsafe.legacyMultiTenancy.enabled=true', - `--xpack.securitySolution.enableExperimental=${JSON.stringify([])}`, + `--xpack.securitySolution.enableExperimental=${JSON.stringify([ + 'alertDetailsPageEnabled', + ])}`, `--home.disableWelcomeScreen=true`, ], }, From 55959f3531f2d0a862b30062bca5108c811041c3 Mon Sep 17 00:00:00 2001 From: Nathan Reese Date: Mon, 31 Oct 2022 13:20:20 -0600 Subject: [PATCH 056/111] [Maps] layer group wizard (#144129) * [Maps] layer group wizard * create editor * open parent layer details on adding child * show combining highlight instead of selected layer highlight * do not delete layers added to preview layer group * reuse settingsPanel.layerNameLabel tag so label is consistent in edit panel * [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix' * checks fix * layer group description copy update Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> --- x-pack/plugins/maps/common/constants.ts | 1 + .../maps/public/actions/layer_actions.ts | 39 +++++++++++-- .../classes/layers/layer_group/index.ts | 2 +- .../layers/layer_group/layer_group.tsx | 8 ++- .../wizards/layer_group_wizard/config.tsx | 28 +++++++++ .../wizards/layer_group_wizard/index.ts | 8 +++ .../wizards/layer_group_wizard/wizard.tsx | 57 +++++++++++++++++++ .../layers/wizards/load_layer_wizards.ts | 2 + .../layer_toc/toc_entry/toc_entry.tsx | 18 +++++- 9 files changed, 151 insertions(+), 12 deletions(-) create mode 100644 x-pack/plugins/maps/public/classes/layers/wizards/layer_group_wizard/config.tsx create mode 100644 x-pack/plugins/maps/public/classes/layers/wizards/layer_group_wizard/index.ts create mode 100644 x-pack/plugins/maps/public/classes/layers/wizards/layer_group_wizard/wizard.tsx diff --git a/x-pack/plugins/maps/common/constants.ts b/x-pack/plugins/maps/common/constants.ts index 94ae72a050e21..117bfa0eaaeaf 100644 --- a/x-pack/plugins/maps/common/constants.ts +++ b/x-pack/plugins/maps/common/constants.ts @@ -310,6 +310,7 @@ export const emsWorldLayerId = 'world_countries'; export enum WIZARD_ID { CHOROPLETH = 'choropleth', GEO_FILE = 'uploadGeoFile', + LAYER_GROUP = 'layerGroup', NEW_VECTOR = 'newVectorLayer', OBSERVABILITY = 'observabilityLayer', SECURITY = 'securityLayer', diff --git a/x-pack/plugins/maps/public/actions/layer_actions.ts b/x-pack/plugins/maps/public/actions/layer_actions.ts index 5ba9edaee58d0..38cadc8d1363a 100644 --- a/x-pack/plugins/maps/public/actions/layer_actions.ts +++ b/x-pack/plugins/maps/public/actions/layer_actions.ts @@ -228,6 +228,9 @@ export function removePreviewLayers() { ) => { getLayerList(getState()).forEach((layer) => { if (layer.isPreviewLayer()) { + if (isLayerGroup(layer)) { + dispatch(ungroupLayer(layer.getId())); + } dispatch(removeLayer(layer.getId())); } }); @@ -613,11 +616,21 @@ export function setLayerQuery(id: string, query: Query) { } export function setLayerParent(id: string, parent: string | undefined) { - return { - type: UPDATE_LAYER_PROP, - id, - propName: 'parent', - newValue: parent, + return ( + dispatch: ThunkDispatch, + getState: () => MapStoreState + ) => { + dispatch({ + type: UPDATE_LAYER_PROP, + id, + propName: 'parent', + newValue: parent, + }); + + if (parent) { + // Open parent layer details. Without opening parent details, layer disappears from legend and this confuses users + dispatch(showTOCDetails(parent)); + } }; } @@ -863,6 +876,22 @@ export function createLayerGroup(draggedLayerId: string, combineLayerId: string) }; } +function ungroupLayer(layerId: string) { + return ( + dispatch: ThunkDispatch, + getState: () => MapStoreState + ) => { + const layer = getLayerList(getState()).find((findLayer) => findLayer.getId() === layerId); + if (!layer || !isLayerGroup(layer)) { + return; + } + + (layer as LayerGroup).getChildren().forEach((childLayer) => { + dispatch(setLayerParent(childLayer.getId(), layer.getParent())); + }); + }; +} + export function moveLayerToLeftOfTarget(moveLayerId: string, targetLayerId: string) { return ( dispatch: ThunkDispatch, diff --git a/x-pack/plugins/maps/public/classes/layers/layer_group/index.ts b/x-pack/plugins/maps/public/classes/layers/layer_group/index.ts index 3b2848d03f5ff..085ea4e8afea6 100644 --- a/x-pack/plugins/maps/public/classes/layers/layer_group/index.ts +++ b/x-pack/plugins/maps/public/classes/layers/layer_group/index.ts @@ -5,4 +5,4 @@ * 2.0. */ -export { isLayerGroup, LayerGroup } from './layer_group'; +export { DEFAULT_LAYER_GROUP_LABEL, isLayerGroup, LayerGroup } from './layer_group'; diff --git a/x-pack/plugins/maps/public/classes/layers/layer_group/layer_group.tsx b/x-pack/plugins/maps/public/classes/layers/layer_group/layer_group.tsx index c1a2a2964a315..7fa48628ef0db 100644 --- a/x-pack/plugins/maps/public/classes/layers/layer_group/layer_group.tsx +++ b/x-pack/plugins/maps/public/classes/layers/layer_group/layer_group.tsx @@ -36,6 +36,10 @@ export function isLayerGroup(layer: ILayer) { return layer instanceof LayerGroup; } +export const DEFAULT_LAYER_GROUP_LABEL = i18n.translate('xpack.maps.layerGroup.defaultName', { + defaultMessage: 'Layer group', +}); + export class LayerGroup implements ILayer { protected readonly _descriptor: LayerGroupDescriptor; private _children: ILayer[] = []; @@ -48,9 +52,7 @@ export class LayerGroup implements ILayer { label: typeof options.label === 'string' && options.label.length ? options.label - : i18n.translate('xpack.maps.layerGroup.defaultName', { - defaultMessage: 'Layer group', - }), + : DEFAULT_LAYER_GROUP_LABEL, sourceDescriptor: null, visible: typeof options.visible === 'boolean' ? options.visible : true, }; diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/layer_group_wizard/config.tsx b/x-pack/plugins/maps/public/classes/layers/wizards/layer_group_wizard/config.tsx new file mode 100644 index 0000000000000..4418b20cf6613 --- /dev/null +++ b/x-pack/plugins/maps/public/classes/layers/wizards/layer_group_wizard/config.tsx @@ -0,0 +1,28 @@ +/* + * 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 { i18n } from '@kbn/i18n'; +import React from 'react'; +import { LayerWizard, RenderWizardArguments } from '../layer_wizard_registry'; +import { LayerGroupWizard } from './wizard'; +import { WIZARD_ID } from '../../../../../common/constants'; + +export const layerGroupWizardConfig: LayerWizard = { + id: WIZARD_ID.LAYER_GROUP, + order: 10, + categories: [], + description: i18n.translate('xpack.maps.layerGroupWizard.description', { + defaultMessage: 'Organize related layers in a hierarchy', + }), + icon: 'layers', + renderWizard: (renderWizardArguments: RenderWizardArguments) => { + return ; + }, + title: i18n.translate('xpack.maps.layerGroupWizard.title', { + defaultMessage: 'Layer group', + }), +}; diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/layer_group_wizard/index.ts b/x-pack/plugins/maps/public/classes/layers/wizards/layer_group_wizard/index.ts new file mode 100644 index 0000000000000..06bd343d84a38 --- /dev/null +++ b/x-pack/plugins/maps/public/classes/layers/wizards/layer_group_wizard/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 { layerGroupWizardConfig } from './config'; diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/layer_group_wizard/wizard.tsx b/x-pack/plugins/maps/public/classes/layers/wizards/layer_group_wizard/wizard.tsx new file mode 100644 index 0000000000000..2668730e694c8 --- /dev/null +++ b/x-pack/plugins/maps/public/classes/layers/wizards/layer_group_wizard/wizard.tsx @@ -0,0 +1,57 @@ +/* + * 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 { i18n } from '@kbn/i18n'; +import React, { ChangeEvent, Component } from 'react'; +import { EuiFieldText, EuiFormRow, EuiPanel } from '@elastic/eui'; +import { RenderWizardArguments } from '../layer_wizard_registry'; +import { DEFAULT_LAYER_GROUP_LABEL, LayerGroup } from '../../layer_group'; + +interface State { + label: string; +} + +export class LayerGroupWizard extends Component { + state: State = { + label: DEFAULT_LAYER_GROUP_LABEL, + }; + + componentDidMount() { + this._previewLayer(); + } + + _onLabelChange = (e: ChangeEvent) => { + this.setState( + { + label: e.target.value, + }, + this._previewLayer + ); + }; + + _previewLayer() { + const layerDescriptor = LayerGroup.createDescriptor({ + label: this.state.label, + }); + + this.props.previewLayers([layerDescriptor]); + } + + render() { + return ( + + + + + + ); + } +} diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/load_layer_wizards.ts b/x-pack/plugins/maps/public/classes/layers/wizards/load_layer_wizards.ts index aa772d44341e6..fbaba6325bf26 100644 --- a/x-pack/plugins/maps/public/classes/layers/wizards/load_layer_wizards.ts +++ b/x-pack/plugins/maps/public/classes/layers/wizards/load_layer_wizards.ts @@ -7,6 +7,7 @@ import { registerLayerWizardInternal } from './layer_wizard_registry'; import { uploadLayerWizardConfig } from './file_upload_wizard'; +import { layerGroupWizardConfig } from './layer_group_wizard'; import { esDocumentsLayerWizardConfig, esTopHitsLayerWizardConfig, @@ -36,6 +37,7 @@ export function registerLayerWizards() { } registerLayerWizardInternal(uploadLayerWizardConfig); + registerLayerWizardInternal(layerGroupWizardConfig); registerLayerWizardInternal(esDocumentsLayerWizardConfig); registerLayerWizardInternal(choroplethLayerWizardConfig); registerLayerWizardInternal(clustersLayerWizardConfig); diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry.tsx b/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry.tsx index 012c1e97ad528..ed426011e995a 100644 --- a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry.tsx +++ b/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry.tsx @@ -311,14 +311,26 @@ export class TOCEntry extends Component { ); }; + _hightlightAsSelectedLayer() { + if (this.props.isCombineLayer) { + return false; + } + + if (this.props.layer.isPreviewLayer()) { + return true; + } + + return ( + this.props.selectedLayer && this.props.selectedLayer.getId() === this.props.layer.getId() + ); + } + render() { const classes = classNames('mapTocEntry', { 'mapTocEntry-isDragging': this.props.isDragging, 'mapTocEntry-isDraggingOver': this.props.isDraggingOver, 'mapTocEntry-isCombineLayer': this.props.isCombineLayer, - 'mapTocEntry-isSelected': - this.props.layer.isPreviewLayer() || - (this.props.selectedLayer && this.props.selectedLayer.getId() === this.props.layer.getId()), + 'mapTocEntry-isSelected': this._hightlightAsSelectedLayer(), 'mapTocEntry-isInEditingMode': this.props.isFeatureEditorOpenForLayer, }); From 80b7010f01cd37769b1643fe06b156fba38fb14d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cau=C3=AA=20Marcondes?= <55978943+cauemarcondes@users.noreply.github.com> Date: Mon, 31 Oct 2022 15:27:41 -0400 Subject: [PATCH 057/111] [APM] AWS lambda estimated cost (#143986) * adding estimated cost * fixing * adding architecture to service details * fix ci * fix test * addressing PR comments * addressing PR comments * hide extimated cost when undefined * addressing pr comments * fixing test --- .../src/lib/apm/apm_fields.ts | 1 + .../src/lib/apm/serverless_function.ts | 3 + .../server/collectors/management/schema.ts | 8 ++ .../server/collectors/management/types.ts | 2 + src/plugins/telemetry/schema/oss_plugins.json | 12 +++ .../elasticsearch_fieldnames.test.ts.snap | 6 ++ .../apm/common/elasticsearch_fieldnames.ts | 1 + .../serverless_metrics/serverless_summary.tsx | 14 +++ .../app/settings/general_settings/index.tsx | 4 + .../service_icons/serverless_details.tsx | 12 +++ .../serverless/get_serverless_summary.ts | 89 +++++++++++++++++-- .../routes/metrics/serverless/helper.test.ts | 88 +++++++++++++++++- .../routes/metrics/serverless/helper.ts | 69 ++++++++++++++ .../server/routes/metrics/serverless/route.ts | 32 ++++++- .../services/get_service_metadata_details.ts | 3 + x-pack/plugins/observability/common/index.ts | 2 + .../observability/common/ui_settings_keys.ts | 2 + .../observability/server/ui_settings.ts | 27 +++++- .../serverless/serverless_summary.spec.ts | 2 +- 19 files changed, 366 insertions(+), 11 deletions(-) diff --git a/packages/kbn-apm-synthtrace/src/lib/apm/apm_fields.ts b/packages/kbn-apm-synthtrace/src/lib/apm/apm_fields.ts index 07379b2a3002d..e9b89fa4739d0 100644 --- a/packages/kbn-apm-synthtrace/src/lib/apm/apm_fields.ts +++ b/packages/kbn-apm-synthtrace/src/lib/apm/apm_fields.ts @@ -57,6 +57,7 @@ export type ApmFields = Fields & 'error.grouping_name': string; 'error.grouping_key': string; 'host.name': string; + 'host.architecture': string; 'host.hostname': string; 'http.request.method': string; 'http.response.status_code': number; diff --git a/packages/kbn-apm-synthtrace/src/lib/apm/serverless_function.ts b/packages/kbn-apm-synthtrace/src/lib/apm/serverless_function.ts index c8287066cc273..433acf42ba6ba 100644 --- a/packages/kbn-apm-synthtrace/src/lib/apm/serverless_function.ts +++ b/packages/kbn-apm-synthtrace/src/lib/apm/serverless_function.ts @@ -26,11 +26,13 @@ export function serverlessFunction({ serviceName, environment, agentName, + architecture = 'arm', }: { functionName: string; environment: string; agentName: string; serviceName?: string; + architecture?: string; }) { const faasId = `arn:aws:lambda:us-west-2:001:function:${functionName}`; return new ServerlessFunction({ @@ -40,5 +42,6 @@ export function serverlessFunction({ 'service.environment': environment, 'agent.name': agentName, 'service.runtime.name': 'AWS_lambda', + 'host.architecture': architecture, }); } diff --git a/src/plugins/kibana_usage_collection/server/collectors/management/schema.ts b/src/plugins/kibana_usage_collection/server/collectors/management/schema.ts index 22b2a5de751f5..0aa6830adf867 100644 --- a/src/plugins/kibana_usage_collection/server/collectors/management/schema.ts +++ b/src/plugins/kibana_usage_collection/server/collectors/management/schema.ts @@ -442,6 +442,14 @@ export const stackManagementSchema: MakeSchemaFrom = { type: 'boolean', _meta: { description: 'Non-default value of setting.' }, }, + 'observability:apmAWSLambdaPriceFactor': { + type: 'text', + _meta: { description: 'Non-default value of setting.' }, + }, + 'observability:apmAWSLambdaRequestCostPerMillion': { + type: 'integer', + _meta: { description: 'Non-default value of setting.' }, + }, 'banners:placement': { type: 'keyword', _meta: { description: 'Non-default value of setting.' }, diff --git a/src/plugins/kibana_usage_collection/server/collectors/management/types.ts b/src/plugins/kibana_usage_collection/server/collectors/management/types.ts index 6957323103545..88220ed367886 100644 --- a/src/plugins/kibana_usage_collection/server/collectors/management/types.ts +++ b/src/plugins/kibana_usage_collection/server/collectors/management/types.ts @@ -43,6 +43,8 @@ export interface UsageStats { 'observability:enableComparisonByDefault': boolean; 'observability:enableServiceGroups': boolean; 'observability:apmEnableServiceMetrics': boolean; + 'observability:apmAWSLambdaPriceFactor': string; + 'observability:apmAWSLambdaRequestCostPerMillion': number; 'observability:enableInfrastructureHostsView': boolean; 'visualize:enableLabs': boolean; 'visualization:heatmap:maxBuckets': number; diff --git a/src/plugins/telemetry/schema/oss_plugins.json b/src/plugins/telemetry/schema/oss_plugins.json index 43dc28b3e9e61..7ad52ecb20d25 100644 --- a/src/plugins/telemetry/schema/oss_plugins.json +++ b/src/plugins/telemetry/schema/oss_plugins.json @@ -8785,6 +8785,18 @@ "description": "Non-default value of setting." } }, + "observability:apmAWSLambdaPriceFactor": { + "type": "text", + "_meta": { + "description": "Non-default value of setting." + } + }, + "observability:apmAWSLambdaRequestCostPerMillion": { + "type": "integer", + "_meta": { + "description": "Non-default value of setting." + } + }, "banners:placement": { "type": "keyword", "_meta": { diff --git a/x-pack/plugins/apm/common/__snapshots__/elasticsearch_fieldnames.test.ts.snap b/x-pack/plugins/apm/common/__snapshots__/elasticsearch_fieldnames.test.ts.snap index 8a1ae899ddd3b..10c42bd763da6 100644 --- a/x-pack/plugins/apm/common/__snapshots__/elasticsearch_fieldnames.test.ts.snap +++ b/x-pack/plugins/apm/common/__snapshots__/elasticsearch_fieldnames.test.ts.snap @@ -85,6 +85,8 @@ Object { } `; +exports[`Error HOST_ARCHITECTURE 1`] = `undefined`; + exports[`Error HOST_HOSTNAME 1`] = `"my hostname"`; exports[`Error HOST_NAME 1`] = `undefined`; @@ -338,6 +340,8 @@ exports[`Span FAAS_TRIGGER_TYPE 1`] = `undefined`; exports[`Span HOST 1`] = `undefined`; +exports[`Span HOST_ARCHITECTURE 1`] = `undefined`; + exports[`Span HOST_HOSTNAME 1`] = `undefined`; exports[`Span HOST_NAME 1`] = `undefined`; @@ -595,6 +599,8 @@ Object { } `; +exports[`Transaction HOST_ARCHITECTURE 1`] = `undefined`; + exports[`Transaction HOST_HOSTNAME 1`] = `"my hostname"`; exports[`Transaction HOST_NAME 1`] = `undefined`; diff --git a/x-pack/plugins/apm/common/elasticsearch_fieldnames.ts b/x-pack/plugins/apm/common/elasticsearch_fieldnames.ts index 6fa3625c7ff78..4915dff2da4f3 100644 --- a/x-pack/plugins/apm/common/elasticsearch_fieldnames.ts +++ b/x-pack/plugins/apm/common/elasticsearch_fieldnames.ts @@ -123,6 +123,7 @@ export const HOST = 'host'; export const HOST_HOSTNAME = 'host.hostname'; // Do not use. Please use `HOST_NAME` instead. export const HOST_NAME = 'host.name'; export const HOST_OS_PLATFORM = 'host.os.platform'; +export const HOST_ARCHITECTURE = 'host.architecture'; export const HOST_OS_VERSION = 'host.os.version'; export const CONTAINER_ID = 'container.id'; export const CONTAINER = 'container'; diff --git a/x-pack/plugins/apm/public/components/app/metrics/serverless_metrics/serverless_summary.tsx b/x-pack/plugins/apm/public/components/app/metrics/serverless_metrics/serverless_summary.tsx index f6d93cb9cd809..365937c8c48a2 100644 --- a/x-pack/plugins/apm/public/components/app/metrics/serverless_metrics/serverless_summary.tsx +++ b/x-pack/plugins/apm/public/components/app/metrics/serverless_metrics/serverless_summary.tsx @@ -163,6 +163,20 @@ export function ServerlessSummary({ serverlessId }: Props) { /> {showVerticalRule && } + {data?.estimatedCost && ( + + + + )} ); diff --git a/x-pack/plugins/apm/public/components/app/settings/general_settings/index.tsx b/x-pack/plugins/apm/public/components/app/settings/general_settings/index.tsx index 2faad60fb8b81..564cddd1af89c 100644 --- a/x-pack/plugins/apm/public/components/app/settings/general_settings/index.tsx +++ b/x-pack/plugins/apm/public/components/app/settings/general_settings/index.tsx @@ -16,6 +16,8 @@ import { defaultApmServiceEnvironment, enableComparisonByDefault, enableInspectEsQueries, + apmAWSLambdaPriceFactor, + apmAWSLambdaRequestCostPerMillion, } from '@kbn/observability-plugin/common'; import { isEmpty } from 'lodash'; import React from 'react'; @@ -30,6 +32,8 @@ const apmSettingsKeys = [ apmServiceGroupMaxNumberOfServices, enableInspectEsQueries, apmLabsButton, + apmAWSLambdaPriceFactor, + apmAWSLambdaRequestCostPerMillion, ]; export function GeneralSettings() { diff --git a/x-pack/plugins/apm/public/components/shared/service_icons/serverless_details.tsx b/x-pack/plugins/apm/public/components/shared/service_icons/serverless_details.tsx index 5d6e3f5df0b66..2c6fabc72c037 100644 --- a/x-pack/plugins/apm/public/components/shared/service_icons/serverless_details.tsx +++ b/x-pack/plugins/apm/public/components/shared/service_icons/serverless_details.tsx @@ -72,5 +72,17 @@ export function ServerlessDetails({ serverless }: Props) { }); } + if (serverless.hostArchitecture) { + listItems.push({ + title: i18n.translate( + 'xpack.apm.serviceIcons.serviceDetails.cloud.architecture', + { defaultMessage: 'Architecture' } + ), + description: ( + {serverless.hostArchitecture} + ), + }); + } + return ; } diff --git a/x-pack/plugins/apm/server/routes/metrics/serverless/get_serverless_summary.ts b/x-pack/plugins/apm/server/routes/metrics/serverless/get_serverless_summary.ts index d3f292a11b872..1b35e8fd22ed3 100644 --- a/x-pack/plugins/apm/server/routes/metrics/serverless/get_serverless_summary.ts +++ b/x-pack/plugins/apm/server/routes/metrics/serverless/get_serverless_summary.ts @@ -14,14 +14,65 @@ import { FAAS_BILLED_DURATION, FAAS_DURATION, FAAS_ID, + HOST_ARCHITECTURE, METRICSET_NAME, METRIC_SYSTEM_FREE_MEMORY, METRIC_SYSTEM_TOTAL_MEMORY, SERVICE_NAME, } from '../../../../common/elasticsearch_fieldnames'; import { environmentQuery } from '../../../../common/utils/environment_query'; -import { calcMemoryUsedRate } from './helper'; import { APMEventClient } from '../../../lib/helpers/create_es_client/create_apm_event_client'; +import { calcEstimatedCost, calcMemoryUsedRate } from './helper'; + +export type AwsLambdaArchitecture = 'arm' | 'x86_64'; + +export type AWSLambdaPriceFactor = Record; + +async function getServerlessTransactionThroughput({ + end, + environment, + kuery, + serviceName, + start, + serverlessId, + apmEventClient, +}: { + environment: string; + kuery: string; + serviceName: string; + start: number; + end: number; + serverlessId?: string; + apmEventClient: APMEventClient; +}) { + const params = { + apm: { + events: [ProcessorEvent.transaction], + }, + body: { + track_total_hits: true, + size: 0, + query: { + bool: { + filter: [ + ...termQuery(SERVICE_NAME, serviceName), + ...rangeQuery(start, end), + ...environmentQuery(environment), + ...kqlQuery(kuery), + ...termQuery(FAAS_ID, serverlessId), + ], + }, + }, + }, + }; + + const response = await apmEventClient.search( + 'get_serverless_transaction_throughout', + params + ); + + return response.hits.total.value; +} export async function getServerlessSummary({ end, @@ -31,6 +82,8 @@ export async function getServerlessSummary({ start, serverlessId, apmEventClient, + awsLambdaPriceFactor, + awsLambdaRequestCostPerMillion, }: { environment: string; kuery: string; @@ -39,6 +92,8 @@ export async function getServerlessSummary({ end: number; serverlessId?: string; apmEventClient: APMEventClient; + awsLambdaPriceFactor?: AWSLambdaPriceFactor; + awsLambdaRequestCostPerMillion?: number; }) { const params = { apm: { @@ -65,14 +120,28 @@ export async function getServerlessSummary({ faasBilledDurationAvg: { avg: { field: FAAS_BILLED_DURATION } }, avgTotalMemory: { avg: { field: METRIC_SYSTEM_TOTAL_MEMORY } }, avgFreeMemory: { avg: { field: METRIC_SYSTEM_FREE_MEMORY } }, + sample: { + top_metrics: { + metrics: [{ field: HOST_ARCHITECTURE }], + sort: [{ '@timestamp': { order: 'desc' as const } }], + }, + }, }, }, }; - const response = await apmEventClient.search( - 'ger_serverless_summary', - params - ); + const [response, transactionThroughput] = await Promise.all([ + apmEventClient.search('get_serverless_summary', params), + getServerlessTransactionThroughput({ + end, + environment, + kuery, + serviceName, + apmEventClient, + start, + serverlessId, + }), + ]); return { memoryUsageAvgRate: calcMemoryUsedRate({ @@ -82,5 +151,15 @@ export async function getServerlessSummary({ serverlessFunctionsTotal: response.aggregations?.totalFunctions?.value, serverlessDurationAvg: response.aggregations?.faasDurationAvg?.value, billedDurationAvg: response.aggregations?.faasBilledDurationAvg?.value, + estimatedCost: calcEstimatedCost({ + awsLambdaPriceFactor, + awsLambdaRequestCostPerMillion, + architecture: response.aggregations?.sample?.top?.[0]?.metrics?.[ + HOST_ARCHITECTURE + ] as AwsLambdaArchitecture | undefined, + transactionThroughput, + billedDuration: response.aggregations?.faasBilledDurationAvg.value, + totalMemory: response.aggregations?.avgTotalMemory.value, + }), }; } diff --git a/x-pack/plugins/apm/server/routes/metrics/serverless/helper.test.ts b/x-pack/plugins/apm/server/routes/metrics/serverless/helper.test.ts index c6927f36a8eb9..d92b7edece8dc 100644 --- a/x-pack/plugins/apm/server/routes/metrics/serverless/helper.test.ts +++ b/x-pack/plugins/apm/server/routes/metrics/serverless/helper.test.ts @@ -4,7 +4,11 @@ * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ -import { calcMemoryUsed, calcMemoryUsedRate } from './helper'; +import { + calcMemoryUsed, + calcMemoryUsedRate, + calcEstimatedCost, +} from './helper'; describe('calcMemoryUsed', () => { it('returns undefined when memory values are no a number', () => { [ @@ -38,3 +42,85 @@ describe('calcMemoryUsedRate', () => { expect(calcMemoryUsedRate({ memoryFree: 50, memoryTotal: 100 })).toBe(0.5); }); }); + +const AWS_LAMBDA_PRICE_FACTOR = { + x86_64: 0.0000166667, + arm: 0.0000133334, +}; + +describe('calcEstimatedCost', () => { + it('returns undefined when price factor is not defined', () => { + expect( + calcEstimatedCost({ + totalMemory: 1, + billedDuration: 1, + transactionThroughput: 1, + architecture: 'arm', + }) + ).toBeUndefined(); + }); + + it('returns undefined when architecture is not defined', () => { + expect( + calcEstimatedCost({ + totalMemory: 1, + billedDuration: 1, + transactionThroughput: 1, + awsLambdaPriceFactor: AWS_LAMBDA_PRICE_FACTOR, + }) + ).toBeUndefined(); + }); + + it('returns undefined when compute usage is not defined', () => { + expect( + calcEstimatedCost({ + transactionThroughput: 1, + awsLambdaPriceFactor: AWS_LAMBDA_PRICE_FACTOR, + architecture: 'arm', + }) + ).toBeUndefined(); + }); + + it('returns undefined when request cost per million is not defined', () => { + expect( + calcEstimatedCost({ + totalMemory: 1, + billedDuration: 1, + transactionThroughput: 1, + awsLambdaPriceFactor: AWS_LAMBDA_PRICE_FACTOR, + architecture: 'arm', + }) + ).toBeUndefined(); + }); + + describe('x86_64 architecture', () => { + const architecture = 'x86_64'; + it('returns correct cost', () => { + expect( + calcEstimatedCost({ + awsLambdaPriceFactor: AWS_LAMBDA_PRICE_FACTOR, + architecture, + billedDuration: 4000, + totalMemory: 536870912, // 0.5gb + transactionThroughput: 100000, + awsLambdaRequestCostPerMillion: 0.2, + }) + ).toEqual(0.03); + }); + }); + describe('arm architecture', () => { + const architecture = 'arm'; + it('returns correct cost', () => { + expect( + calcEstimatedCost({ + awsLambdaPriceFactor: AWS_LAMBDA_PRICE_FACTOR, + architecture, + billedDuration: 8000, + totalMemory: 536870912, // 0.5gb + transactionThroughput: 200000, + awsLambdaRequestCostPerMillion: 0.2, + }) + ).toEqual(0.05); + }); + }); +}); diff --git a/x-pack/plugins/apm/server/routes/metrics/serverless/helper.ts b/x-pack/plugins/apm/server/routes/metrics/serverless/helper.ts index 0c16ee101c735..2026cc9990a7b 100644 --- a/x-pack/plugins/apm/server/routes/metrics/serverless/helper.ts +++ b/x-pack/plugins/apm/server/routes/metrics/serverless/helper.ts @@ -5,6 +5,10 @@ * 2.0. */ import { isFiniteNumber } from '../../../../common/utils/is_finite_number'; +import { + AwsLambdaArchitecture, + AWSLambdaPriceFactor, +} from './get_serverless_summary'; export function calcMemoryUsedRate({ memoryFree, @@ -33,3 +37,68 @@ export function calcMemoryUsed({ return memoryTotal - memoryFree; } + +const GB = 1024 ** 3; +/** + * To calculate the compute usage we need to multiply the "system.memory.total" by "faas.billed_duration". + * But the result of this calculation is in Bytes-milliseconds, as the "system.memory.total" is stored in bytes and the "faas.billed_duration" is stored in milliseconds. + * But to calculate the overall cost AWS uses GB-second, so we need to convert the result to this unit. + */ +export function calcComputeUsageGBSeconds({ + billedDuration, + totalMemory, +}: { + billedDuration?: number | null; + totalMemory?: number | null; +}) { + if (!isFiniteNumber(billedDuration) || !isFiniteNumber(totalMemory)) { + return undefined; + } + + const totalMemoryGB = totalMemory / GB; + const billedDurationSec = billedDuration / 1000; + return totalMemoryGB * billedDurationSec; +} + +export function calcEstimatedCost({ + awsLambdaPriceFactor, + architecture, + transactionThroughput, + billedDuration, + totalMemory, + awsLambdaRequestCostPerMillion, +}: { + awsLambdaPriceFactor?: AWSLambdaPriceFactor; + architecture?: AwsLambdaArchitecture; + transactionThroughput: number; + billedDuration?: number | null; + totalMemory?: number | null; + awsLambdaRequestCostPerMillion?: number; +}) { + try { + const computeUsage = calcComputeUsageGBSeconds({ + billedDuration, + totalMemory, + }); + if ( + !awsLambdaPriceFactor || + !architecture || + !isFiniteNumber(awsLambdaRequestCostPerMillion) || + !isFiniteNumber(awsLambdaPriceFactor?.[architecture]) || + !isFiniteNumber(computeUsage) + ) { + return undefined; + } + + const priceFactor = awsLambdaPriceFactor?.[architecture]; + + const estimatedCost = + computeUsage * priceFactor + + transactionThroughput * (awsLambdaRequestCostPerMillion / 1000000); + + // Rounds up the decimals + return Math.ceil(estimatedCost * 100) / 100; + } catch (e) { + return undefined; + } +} diff --git a/x-pack/plugins/apm/server/routes/metrics/serverless/route.ts b/x-pack/plugins/apm/server/routes/metrics/serverless/route.ts index af2a0aa0834f7..7fdf4dca1e2cd 100644 --- a/x-pack/plugins/apm/server/routes/metrics/serverless/route.ts +++ b/x-pack/plugins/apm/server/routes/metrics/serverless/route.ts @@ -6,13 +6,20 @@ */ import * as t from 'io-ts'; +import { + apmAWSLambdaPriceFactor, + apmAWSLambdaRequestCostPerMillion, +} from '@kbn/observability-plugin/common'; import { setupRequest } from '../../../lib/helpers/setup_request'; import { createApmServerRoute } from '../../apm_routes/create_apm_server_route'; import { environmentRt, kueryRt, rangeRt } from '../../default_api_types'; import { getServerlessAgentMetricsCharts } from './get_serverless_agent_metrics_chart'; import { getServerlessActiveInstancesOverview } from './get_active_instances_overview'; import { getServerlessFunctionsOverview } from './get_serverless_functions_overview'; -import { getServerlessSummary } from './get_serverless_summary'; +import { + AWSLambdaPriceFactor, + getServerlessSummary, +} from './get_serverless_summary'; import { getActiveInstancesTimeseries } from './get_active_instances_timeseries'; import { getApmEventClient } from '../../../lib/helpers/get_apm_event_client'; @@ -163,8 +170,25 @@ const serverlessMetricsSummaryRoute = createApmServerRoute({ handler: async ( resources ): Promise>> => { - const { params } = resources; - const apmEventClient = await getApmEventClient(resources); + const { params, context } = resources; + const { + uiSettings: { client: uiSettingsClient }, + } = await context.core; + + const [ + apmEventClient, + awsLambdaPriceFactor, + awsLambdaRequestCostPerMillion, + ] = await Promise.all([ + getApmEventClient(resources), + uiSettingsClient + .get(apmAWSLambdaPriceFactor) + .then( + (value): AWSLambdaPriceFactor => + JSON.parse(value) as AWSLambdaPriceFactor + ), + uiSettingsClient.get(apmAWSLambdaRequestCostPerMillion), + ]); const { serviceName } = params.path; const { environment, kuery, start, end, serverlessId } = params.query; @@ -177,6 +201,8 @@ const serverlessMetricsSummaryRoute = createApmServerRoute({ apmEventClient, serviceName, serverlessId, + awsLambdaPriceFactor, + awsLambdaRequestCostPerMillion, }); }, }); diff --git a/x-pack/plugins/apm/server/routes/services/get_service_metadata_details.ts b/x-pack/plugins/apm/server/routes/services/get_service_metadata_details.ts index 40e48101784c4..dfe482325035b 100644 --- a/x-pack/plugins/apm/server/routes/services/get_service_metadata_details.ts +++ b/x-pack/plugins/apm/server/routes/services/get_service_metadata_details.ts @@ -59,6 +59,7 @@ export interface ServiceMetadataDetails { type?: string; functionNames?: string[]; faasTriggerTypes?: string[]; + hostArchitecture?: string; }; cloud?: { provider?: string; @@ -102,6 +103,7 @@ export async function getServiceMetadataDetails({ ProcessorEvent.metric, ], }, + sort: [{ '@timestamp': { order: 'desc' as const } }], body: { track_total_hits: 1, size: 1, @@ -212,6 +214,7 @@ export async function getServiceMetadataDetails({ faasTriggerTypes: response.aggregations?.faasTriggerTypes.buckets.map( (bucket) => bucket.key as string ), + hostArchitecture: host?.architecture, } : undefined; diff --git a/x-pack/plugins/observability/common/index.ts b/x-pack/plugins/observability/common/index.ts index 7a2100e15225a..a8332262eda94 100644 --- a/x-pack/plugins/observability/common/index.ts +++ b/x-pack/plugins/observability/common/index.ts @@ -26,6 +26,8 @@ export { enableInfrastructureHostsView, enableServiceMetrics, enableAwsLambdaMetrics, + apmAWSLambdaPriceFactor, + apmAWSLambdaRequestCostPerMillion, enableCriticalPath, } from './ui_settings_keys'; diff --git a/x-pack/plugins/observability/common/ui_settings_keys.ts b/x-pack/plugins/observability/common/ui_settings_keys.ts index 7de867608bfcb..52258c5711d1c 100644 --- a/x-pack/plugins/observability/common/ui_settings_keys.ts +++ b/x-pack/plugins/observability/common/ui_settings_keys.ts @@ -21,4 +21,6 @@ export const apmLabsButton = 'observability:apmLabsButton'; export const enableInfrastructureHostsView = 'observability:enableInfrastructureHostsView'; export const enableAwsLambdaMetrics = 'observability:enableAwsLambdaMetrics'; export const enableServiceMetrics = 'observability:apmEnableServiceMetrics'; +export const apmAWSLambdaPriceFactor = 'observability:apmAWSLambdaPriceFactor'; +export const apmAWSLambdaRequestCostPerMillion = 'observability:apmAWSLambdaRequestCostPerMillion'; export const enableCriticalPath = 'observability:apmEnableCriticalPath'; diff --git a/x-pack/plugins/observability/server/ui_settings.ts b/x-pack/plugins/observability/server/ui_settings.ts index a2bc38727e53e..6f2bfb27a1613 100644 --- a/x-pack/plugins/observability/server/ui_settings.ts +++ b/x-pack/plugins/observability/server/ui_settings.ts @@ -24,6 +24,8 @@ import { enableInfrastructureHostsView, enableServiceMetrics, enableAwsLambdaMetrics, + apmAWSLambdaPriceFactor, + apmAWSLambdaRequestCostPerMillion, enableCriticalPath, } from '../common/ui_settings_keys'; @@ -39,7 +41,7 @@ function feedbackLink({ href }: { href: string }) { )}`; } -type UiSettings = UiSettingsParams & { showInLabs?: boolean }; +type UiSettings = UiSettingsParams & { showInLabs?: boolean }; /** * uiSettings definitions for Observability. @@ -291,6 +293,29 @@ export const uiSettings: Record = { type: 'boolean', showInLabs: true, }, + [apmAWSLambdaPriceFactor]: { + category: [observabilityFeatureId], + name: i18n.translate('xpack.observability.apmAWSLambdaPricePerGbSeconds', { + defaultMessage: 'AWS lambda price factor', + }), + type: 'json', + value: JSON.stringify({ x86_64: 0.0000166667, arm: 0.0000133334 }, null, 2), + description: i18n.translate('xpack.observability.apmAWSLambdaPricePerGbSecondsDescription', { + defaultMessage: 'Price per Gb-second.', + }), + schema: schema.object({ + arm: schema.number(), + x86_64: schema.number(), + }), + }, + [apmAWSLambdaRequestCostPerMillion]: { + category: [observabilityFeatureId], + name: i18n.translate('xpack.observability.apmAWSLambdaRequestCostPerMillion', { + defaultMessage: 'AWS lambda price per 1M requests', + }), + value: 0.2, + schema: schema.number({ min: 0 }), + }, [enableCriticalPath]: { category: [observabilityFeatureId], name: i18n.translate('xpack.observability.enableCriticalPath', { diff --git a/x-pack/test/apm_api_integration/tests/metrics/serverless/serverless_summary.spec.ts b/x-pack/test/apm_api_integration/tests/metrics/serverless/serverless_summary.spec.ts index eff5e11278018..223e7a448df4c 100644 --- a/x-pack/test/apm_api_integration/tests/metrics/serverless/serverless_summary.spec.ts +++ b/x-pack/test/apm_api_integration/tests/metrics/serverless/serverless_summary.spec.ts @@ -57,7 +57,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { await generateData({ start, end, synthtraceEsClient }); }); - // after(() => synthtraceEsClient.clean()); + after(() => synthtraceEsClient.clean()); describe('Python service', () => { let serverlessSummary: APIReturnType<'GET /internal/apm/services/{serviceName}/metrics/serverless/summary'>; From efb8fb11df59370a83b77408ea16e5a362f96057 Mon Sep 17 00:00:00 2001 From: Spencer Date: Mon, 31 Oct 2022 12:36:03 -0700 Subject: [PATCH 058/111] [babel/node] invalidate cache when synth pkg map is updated (#144258) --- packages/kbn-optimizer/src/node/node_auto_tranpilation.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/kbn-optimizer/src/node/node_auto_tranpilation.ts b/packages/kbn-optimizer/src/node/node_auto_tranpilation.ts index b8ca3de021f28..6aa11a3f7020f 100644 --- a/packages/kbn-optimizer/src/node/node_auto_tranpilation.ts +++ b/packages/kbn-optimizer/src/node/node_auto_tranpilation.ts @@ -41,6 +41,7 @@ import * as babel from '@babel/core'; import { addHook } from 'pirates'; import { REPO_ROOT, UPSTREAM_BRANCH } from '@kbn/utils'; import sourceMapSupport from 'source-map-support'; +import { readHashOfPackageMap } from '@kbn/synthetic-package-map'; import { Cache } from './cache'; @@ -83,6 +84,7 @@ function getBabelOptions(path: string) { */ function determineCachePrefix() { const json = JSON.stringify({ + synthPkgMapHash: readHashOfPackageMap(), babelVersion: babel.version, // get a config for a fake js, ts, and tsx file to make sure we // capture conditional config portions based on the file extension From fda6b27145088232dd75e7fc90cf3aa8a3c20bc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patryk=20Kopyci=C5=84ski?= Date: Mon, 31 Oct 2022 20:53:42 +0100 Subject: [PATCH 059/111] Optimize react-query dependencies (#144206) * Update react-query to ^4.12.0 * cleanup * bump * WIP * WIP * es-query * revert react-use Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- packages/kbn-ui-shared-deps-npm/BUILD.bazel | 2 ++ packages/kbn-ui-shared-deps-npm/webpack.config.js | 2 ++ packages/kbn-ui-shared-deps-src/BUILD.bazel | 1 + packages/kbn-ui-shared-deps-src/src/definitions.js | 3 +++ packages/kbn-ui-shared-deps-src/src/entry.js | 3 +++ 5 files changed, 11 insertions(+) diff --git a/packages/kbn-ui-shared-deps-npm/BUILD.bazel b/packages/kbn-ui-shared-deps-npm/BUILD.bazel index f6406117ada5f..fe0e97913fa49 100644 --- a/packages/kbn-ui-shared-deps-npm/BUILD.bazel +++ b/packages/kbn-ui-shared-deps-npm/BUILD.bazel @@ -43,6 +43,8 @@ RUNTIME_DEPS = [ "@npm//@elastic/numeral", "@npm//@emotion/cache", "@npm//@emotion/react", + "@npm//@tanstack/react-query", + "@npm//@tanstack/react-query-devtools", "@npm//babel-loader", "@npm//core-js", "@npm//css-loader", diff --git a/packages/kbn-ui-shared-deps-npm/webpack.config.js b/packages/kbn-ui-shared-deps-npm/webpack.config.js index 8f6c2dad5c94f..68396a15e371d 100644 --- a/packages/kbn-ui-shared-deps-npm/webpack.config.js +++ b/packages/kbn-ui-shared-deps-npm/webpack.config.js @@ -82,6 +82,8 @@ module.exports = (_, argv) => { '@elastic/eui/dist/eui_theme_dark.json', '@elastic/numeral', '@emotion/react', + '@tanstack/react-query', + '@tanstack/react-query-devtools', 'classnames', 'fflate', 'history', diff --git a/packages/kbn-ui-shared-deps-src/BUILD.bazel b/packages/kbn-ui-shared-deps-src/BUILD.bazel index 6fecff6dc2d28..97006c36eb285 100644 --- a/packages/kbn-ui-shared-deps-src/BUILD.bazel +++ b/packages/kbn-ui-shared-deps-src/BUILD.bazel @@ -42,6 +42,7 @@ RUNTIME_DEPS = [ "//packages/kbn-analytics", "//packages/kbn-babel-preset", "//packages/kbn-datemath", + "//packages/kbn-es-query", "//packages/kbn-flot-charts", "//packages/kbn-i18n", "//packages/kbn-i18n-react", diff --git a/packages/kbn-ui-shared-deps-src/src/definitions.js b/packages/kbn-ui-shared-deps-src/src/definitions.js index 069b7d82f9078..96826b0616761 100644 --- a/packages/kbn-ui-shared-deps-src/src/definitions.js +++ b/packages/kbn-ui-shared-deps-src/src/definitions.js @@ -74,11 +74,14 @@ const externals = { */ tslib: '__kbnSharedDeps__.TsLib', '@kbn/analytics': '__kbnSharedDeps__.KbnAnalytics', + '@kbn/es-query': '__kbnSharedDeps__.KbnEsQuery', '@kbn/std': '__kbnSharedDeps__.KbnStd', '@kbn/safer-lodash-set': '__kbnSharedDeps__.SaferLodashSet', 'rison-node': '__kbnSharedDeps__.RisonNode', history: '__kbnSharedDeps__.History', classnames: '__kbnSharedDeps__.Classnames', + '@tanstack/react-query': '__kbnSharedDeps__.ReactQuery', + '@tanstack/react-query-devtools': '__kbnSharedDeps__.ReactQueryDevtools', }; module.exports = { distDir, jsFilename, cssDistFilename, externals }; diff --git a/packages/kbn-ui-shared-deps-src/src/entry.js b/packages/kbn-ui-shared-deps-src/src/entry.js index 233872bacff58..c7c8f5e95342e 100644 --- a/packages/kbn-ui-shared-deps-src/src/entry.js +++ b/packages/kbn-ui-shared-deps-src/src/entry.js @@ -54,8 +54,11 @@ export const Fflate = { unzlibSync, strFromU8 }; // runtime deps which don't need to be copied across all bundles export const TsLib = require('tslib'); export const KbnAnalytics = require('@kbn/analytics'); +export const KbnEsQuery = require('@kbn/es-query'); export const KbnStd = require('@kbn/std'); export const SaferLodashSet = require('@kbn/safer-lodash-set'); export const RisonNode = require('rison-node'); export const History = require('history'); export const Classnames = require('classnames'); +export const ReactQuery = require('@tanstack/react-query'); +export const ReactQueryDevtools = require('@tanstack/react-query-devtools'); From f876dc6a2dbff56d648722da253de052c759a175 Mon Sep 17 00:00:00 2001 From: Luke Gmys Date: Mon, 31 Oct 2022 20:55:56 +0100 Subject: [PATCH 060/111] [TIP] Use search strategies in Threat Intelligence (#143267) [TIP] Use search strategies in Threat Intelligence --- .../threat_intelligence/common/constants.ts | 18 +++ .../indicators => common}/types/indicator.ts | 0 .../plugins/threat_intelligence/kibana.json | 2 +- .../public/common/utils/dates.test.ts | 35 +----- .../public/common/utils/dates.tsx | 18 --- .../field_selector/field_selector.stories.tsx | 2 +- .../field_selector/field_selector.tsx | 2 +- .../components/barchart/wrapper.stories.tsx | 5 +- .../components/barchart/wrapper.tsx | 2 +- .../components/field_label/field_label.tsx | 2 +- .../components/field_value/field.stories.tsx | 2 +- .../components/field_value/field.test.tsx | 5 +- .../components/field_value/field_value.tsx | 2 +- .../fields_table/fields_table.stories.tsx | 2 +- .../flyout/fields_table/fields_table.tsx | 2 +- .../components/flyout/flyout.stories.tsx | 2 +- .../components/flyout/flyout.test.tsx | 2 +- .../indicators/components/flyout/flyout.tsx | 2 +- .../indicator_value_actions.tsx | 2 +- .../flyout/json_tab/json_tab.stories.tsx | 2 +- .../flyout/json_tab/json_tab.test.tsx | 2 +- .../components/flyout/json_tab/json_tab.tsx | 2 +- .../overview_tab/block/block.stories.tsx | 2 +- .../flyout/overview_tab/block/block.tsx | 2 +- .../highlighted_values_table.tsx | 2 +- .../overview_tab/overview_tab.stories.tsx | 2 +- .../flyout/overview_tab/overview_tab.test.tsx | 2 +- .../flyout/overview_tab/overview_tab.tsx | 2 +- .../flyout/table_tab/table_tab.stories.tsx | 2 +- .../flyout/table_tab/table_tab.test.tsx | 6 +- .../components/flyout/table_tab/table_tab.tsx | 2 +- .../table/components/actions_row_cell.tsx | 2 +- .../table/components/cell_actions.tsx | 2 +- .../components/cell_popover_renderer.tsx | 2 +- .../table/components/cell_renderer.tsx | 2 +- .../open_flyout_button.stories.tsx | 2 +- .../open_flyout_button.test.tsx | 2 +- .../open_flyout_button/open_flyout_button.tsx | 2 +- .../components/table/contexts/context.ts | 2 +- .../table/hooks/use_column_settings.ts | 2 +- .../components/table/table.stories.tsx | 2 +- .../components/table/table.test.tsx | 2 +- .../indicators/components/table/table.tsx | 2 +- .../hooks/use_aggregated_indicators.ts | 2 +- .../indicators/hooks/use_indicators.ts | 2 +- .../hooks/use_sourcerer_data_view.ts | 2 +- .../public/modules/indicators/index.ts | 1 - .../fetch_aggregated_indicators.test.ts | 36 +----- .../services/fetch_aggregated_indicators.ts | 45 +++---- .../services/fetch_indicators.test.ts | 6 +- .../indicators/services/fetch_indicators.ts | 7 +- .../indicators/utils/field_value.test.ts | 5 +- .../modules/indicators/utils/field_value.ts | 2 +- .../utils/get_indicator_query_params.ts | 19 +-- .../public/modules/indicators/utils/index.ts | 2 - .../public/modules/indicators/utils/search.ts | 6 +- .../indicators/utils/unwrap_value.test.ts | 2 +- .../modules/indicators/utils/unwrap_value.ts | 2 +- .../filter_in/filter_in.stories.tsx | 3 +- .../components/filter_in/filter_in.test.tsx | 3 +- .../components/filter_in/filter_in.tsx | 2 +- .../filter_out/filter_out.stories.tsx | 3 +- .../components/filter_out/filter_out.test.tsx | 3 +- .../components/filter_out/filter_out.tsx | 2 +- .../query_bar/hooks/use_filter_in_out.test.ts | 6 +- .../query_bar/hooks/use_filter_in_out.ts | 2 +- .../add_to_timeline.stories.tsx | 2 +- .../add_to_timeline/add_to_timeline.test.tsx | 2 +- .../add_to_timeline/add_to_timeline.tsx | 3 +- .../investigate_in_timeline.stories.tsx | 2 +- .../investigate_in_timeline.test.tsx | 6 +- .../investigate_in_timeline.tsx | 2 +- .../hooks/use_add_to_timeline.test.tsx | 6 +- .../timeline/hooks/use_add_to_timeline.ts | 3 +- .../use_investigate_in_timeline.test.tsx | 6 +- .../hooks/use_investigate_in_timeline.ts | 6 +- .../indicators/types => server}/index.ts | 7 +- .../threat_intelligence/server/plugin.ts | 54 +++++++++ .../server/search_strategy.ts | 110 ++++++++++++++++++ .../threat_intelligence/server/types.ts | 32 +++++ .../calculate_barchart_time_interval.test.ts | 39 +++++++ .../utils/calculate_barchart_time_interval.ts | 27 +++++ .../utils/get_indicator_query_params.ts | 27 +++++ .../utils/get_runtime_mappings.ts | 2 +- .../utils/indicator_name.test.ts} | 2 +- .../utils/indicator_name.ts} | 2 +- .../plugins/threat_intelligence/tsconfig.json | 3 + 87 files changed, 454 insertions(+), 211 deletions(-) create mode 100644 x-pack/plugins/threat_intelligence/common/constants.ts rename x-pack/plugins/threat_intelligence/{public/modules/indicators => common}/types/indicator.ts (100%) rename x-pack/plugins/threat_intelligence/{public/modules/indicators/types => server}/index.ts (52%) create mode 100644 x-pack/plugins/threat_intelligence/server/plugin.ts create mode 100644 x-pack/plugins/threat_intelligence/server/search_strategy.ts create mode 100644 x-pack/plugins/threat_intelligence/server/types.ts create mode 100644 x-pack/plugins/threat_intelligence/server/utils/calculate_barchart_time_interval.test.ts create mode 100644 x-pack/plugins/threat_intelligence/server/utils/calculate_barchart_time_interval.ts create mode 100644 x-pack/plugins/threat_intelligence/server/utils/get_indicator_query_params.ts rename x-pack/plugins/threat_intelligence/{public/modules/indicators => server}/utils/get_runtime_mappings.ts (95%) rename x-pack/plugins/threat_intelligence/{public/modules/indicators/utils/display_name.test.ts => server/utils/indicator_name.test.ts} (99%) rename x-pack/plugins/threat_intelligence/{public/modules/indicators/utils/display_name.ts => server/utils/indicator_name.ts} (98%) diff --git a/x-pack/plugins/threat_intelligence/common/constants.ts b/x-pack/plugins/threat_intelligence/common/constants.ts new file mode 100644 index 0000000000000..e5aa41d8ad2f4 --- /dev/null +++ b/x-pack/plugins/threat_intelligence/common/constants.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; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export const THREAT_INTELLIGENCE_SEARCH_STRATEGY_NAME = 'threatIntelligenceSearchStrategy'; + +export const BARCHART_AGGREGATION_NAME = 'barchartAggregation'; + +/** + * Used inside custom search strategy + */ +export const enum FactoryQueryType { + IndicatorGrid = 'indicatorGrid', + Barchart = 'barchart', +} diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/types/indicator.ts b/x-pack/plugins/threat_intelligence/common/types/indicator.ts similarity index 100% rename from x-pack/plugins/threat_intelligence/public/modules/indicators/types/indicator.ts rename to x-pack/plugins/threat_intelligence/common/types/indicator.ts diff --git a/x-pack/plugins/threat_intelligence/kibana.json b/x-pack/plugins/threat_intelligence/kibana.json index c640782b90f3c..16fcf4eeb5c4c 100644 --- a/x-pack/plugins/threat_intelligence/kibana.json +++ b/x-pack/plugins/threat_intelligence/kibana.json @@ -3,7 +3,7 @@ "version": "1.0.0", "kibanaVersion": "kibana", "ui": true, - "server": false, + "server": true, "owner": { "name": "Protections Experience Team", "githubTeam": "protections-experience" diff --git a/x-pack/plugins/threat_intelligence/public/common/utils/dates.test.ts b/x-pack/plugins/threat_intelligence/public/common/utils/dates.test.ts index 0fba6d4088de0..3f8882a29c988 100644 --- a/x-pack/plugins/threat_intelligence/public/common/utils/dates.test.ts +++ b/x-pack/plugins/threat_intelligence/public/common/utils/dates.test.ts @@ -7,12 +7,7 @@ import moment from 'moment-timezone'; import { TimeRangeBounds } from '@kbn/data-plugin/common'; -import { - barChartTimeAxisLabelFormatter, - calculateBarchartColumnTimeInterval, - dateFormatter, - getDateDifferenceInDays, -} from './dates'; +import { dateFormatter, getDateDifferenceInDays, barChartTimeAxisLabelFormatter } from './dates'; import { EMPTY_VALUE } from '../constants'; const mockValidStringDate = '1 Jan 2022 00:00:00 GMT'; @@ -88,32 +83,4 @@ describe('dates', () => { expect(typeof barChartTimeAxisLabelFormatter(dateRange)).toBe('function'); }); }); - - describe('calculateBarchartTimeInterval', () => { - it('should handle number dates', () => { - const from = moment(mockValidStringDate).valueOf(); - const to = moment(mockValidStringDate).add(1, 'days').valueOf(); - - const interval = calculateBarchartColumnTimeInterval(from, to); - expect(interval).toContain('ms'); - expect(parseInt(interval, 10) > 0).toBeTruthy(); - }); - - it('should handle moment dates', () => { - const from = moment(mockValidStringDate); - const to = moment(mockValidStringDate).add(1, 'days'); - - const interval = calculateBarchartColumnTimeInterval(from, to); - expect(interval).toContain('ms'); - expect(parseInt(interval, 10) > 0).toBeTruthy(); - }); - - it('should handle dateTo older than dateFrom', () => { - const from = moment(mockValidStringDate).add(1, 'days'); - const to = moment(mockValidStringDate); - - const interval = calculateBarchartColumnTimeInterval(from, to); - expect(parseInt(interval, 10) > 0).toBeFalsy(); - }); - }); }); diff --git a/x-pack/plugins/threat_intelligence/public/common/utils/dates.tsx b/x-pack/plugins/threat_intelligence/public/common/utils/dates.tsx index 8adb49b3e95a7..2f5ab5d4c07e2 100644 --- a/x-pack/plugins/threat_intelligence/public/common/utils/dates.tsx +++ b/x-pack/plugins/threat_intelligence/public/common/utils/dates.tsx @@ -14,7 +14,6 @@ import { EMPTY_VALUE } from '../constants'; moment.suppressDeprecationWarnings = true; export const FULL_DATE = 'MMMM Do YYYY @ HH:mm:ss'; -export const BARCHART_NUMBER_OF_COLUMNS = 16; /** * Converts a string or moment date to the 'MMMM Do YYYY @ HH:mm:ss' format. @@ -62,20 +61,3 @@ export const barChartTimeAxisLabelFormatter = (dateRange: TimeRangeBounds): Tick const format = niceTimeFormatByDay(diff); return timeFormatter(format); }; - -/** - * Calculates the time interval in ms for a specific number of columns - * @param dateFrom Min (older) date for the barchart - * @param dateTo Max (newer) date for the barchart - * @param numberOfColumns Desired number of columns (defaulted to {@link BARCHART_NUMBER_OF_COLUMNS}) - * @returns The interval in ms for a column (for example '100000ms') - */ -export const calculateBarchartColumnTimeInterval = ( - dateFrom: number | moment.Moment, - dateTo: number | moment.Moment, - numberOfColumns = BARCHART_NUMBER_OF_COLUMNS -): string => { - const from: number = moment.isMoment(dateFrom) ? dateFrom.valueOf() : dateFrom; - const to: number = moment.isMoment(dateTo) ? dateTo.valueOf() : dateTo; - return `${Math.floor(moment(to).diff(moment(from)) / numberOfColumns)}ms`; -}; diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/barchart/field_selector/field_selector.stories.tsx b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/barchart/field_selector/field_selector.stories.tsx index 792e31ce109fe..e58dc9a7dcc81 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/barchart/field_selector/field_selector.stories.tsx +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/barchart/field_selector/field_selector.stories.tsx @@ -8,7 +8,7 @@ import React from 'react'; import { Story } from '@storybook/react'; import { DataView, DataViewField } from '@kbn/data-views-plugin/common'; -import { RawIndicatorFieldId } from '../../../types'; +import { RawIndicatorFieldId } from '../../../../../../common/types/indicator'; import { IndicatorsFieldSelector } from '.'; const mockIndexPattern: DataView = { diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/barchart/field_selector/field_selector.tsx b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/barchart/field_selector/field_selector.tsx index 29af51472bd12..2707ba250784f 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/barchart/field_selector/field_selector.tsx +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/barchart/field_selector/field_selector.tsx @@ -11,7 +11,7 @@ import { i18n } from '@kbn/i18n'; import { DataViewField } from '@kbn/data-views-plugin/common'; import { EuiComboBoxOptionOption } from '@elastic/eui/src/components/combo_box/types'; import { SecuritySolutionDataViewBase } from '../../../../../types'; -import { RawIndicatorFieldId } from '../../../types'; +import { RawIndicatorFieldId } from '../../../../../../common/types/indicator'; import { useStyles } from './styles'; export const DROPDOWN_TEST_ID = 'tiIndicatorFieldSelectorDropdown'; diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/barchart/wrapper.stories.tsx b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/barchart/wrapper.stories.tsx index 472bc7934bab2..30170d50ca266 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/barchart/wrapper.stories.tsx +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/barchart/wrapper.stories.tsx @@ -14,10 +14,11 @@ import { DataView, DataViewField } from '@kbn/data-views-plugin/common'; import { TimeRange } from '@kbn/es-query'; import { DataPublicPluginStart } from '@kbn/data-plugin/public'; import { IUiSettingsClient } from '@kbn/core/public'; +import { BARCHART_AGGREGATION_NAME } from '../../../../../common/constants'; import { StoryProvidersComponent } from '../../../../common/mocks/story_providers'; import { mockKibanaTimelinesService } from '../../../../common/mocks/mock_kibana_timelines_service'; import { IndicatorsBarChartWrapper } from '.'; -import { Aggregation, AGGREGATION_NAME, ChartSeries } from '../../services'; +import { Aggregation, ChartSeries } from '../../services'; export default { component: IndicatorsBarChartWrapper, @@ -84,7 +85,7 @@ const dataServiceMock = { of({ rawResponse: { aggregations: { - [AGGREGATION_NAME]: { + [BARCHART_AGGREGATION_NAME]: { buckets: [aggregation1, aggregation2], }, }, diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/barchart/wrapper.tsx b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/barchart/wrapper.tsx index 6df40e3150094..57ec76d17bd41 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/barchart/wrapper.tsx +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/barchart/wrapper.tsx @@ -18,7 +18,7 @@ import { FormattedMessage } from '@kbn/i18n-react'; import { TimeRange } from '@kbn/es-query'; import { TimeRangeBounds } from '@kbn/data-plugin/common'; import { SecuritySolutionDataViewBase } from '../../../../types'; -import { RawIndicatorFieldId } from '../../types'; +import { RawIndicatorFieldId } from '../../../../../common/types/indicator'; import { IndicatorsFieldSelector } from './field_selector'; import { IndicatorsBarChart } from './barchart'; import { ChartSeries } from '../../services'; diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/field_label/field_label.tsx b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/field_label/field_label.tsx index cf55e5ad9c809..64e85bc8c5d7e 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/field_label/field_label.tsx +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/field_label/field_label.tsx @@ -7,7 +7,7 @@ import React, { VFC } from 'react'; import { i18n } from '@kbn/i18n'; -import { RawIndicatorFieldId } from '../../types'; +import { RawIndicatorFieldId } from '../../../../../common/types/indicator'; interface IndicatorFieldLabelProps { field: string; diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/field_value/field.stories.tsx b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/field_value/field.stories.tsx index b652ebe92e9fa..da56583404a15 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/field_value/field.stories.tsx +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/field_value/field.stories.tsx @@ -7,7 +7,7 @@ import React from 'react'; import { StoryProvidersComponent } from '../../../../common/mocks/story_providers'; -import { generateMockIndicator } from '../../types'; +import { generateMockIndicator } from '../../../../../common/types/indicator'; import { IndicatorFieldValue } from '.'; export default { diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/field_value/field.test.tsx b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/field_value/field.test.tsx index c18d0caa5a6e5..94751080fa005 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/field_value/field.test.tsx +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/field_value/field.test.tsx @@ -8,7 +8,10 @@ import React from 'react'; import { render } from '@testing-library/react'; import { IndicatorFieldValue } from '.'; -import { generateMockIndicator, generateMockIndicatorWithTlp } from '../../types'; +import { + generateMockIndicator, + generateMockIndicatorWithTlp, +} from '../../../../../common/types/indicator'; import { EMPTY_VALUE } from '../../../../common/constants'; import { TestProvidersComponent } from '../../../../common/mocks/test_providers'; diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/field_value/field_value.tsx b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/field_value/field_value.tsx index 00e52cd68bafd..ff3d09fe45906 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/field_value/field_value.tsx +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/field_value/field_value.tsx @@ -8,7 +8,7 @@ import React, { VFC } from 'react'; import { useFieldTypes } from '../../../../hooks'; import { EMPTY_VALUE } from '../../../../common/constants'; -import { Indicator, RawIndicatorFieldId } from '../../types'; +import { Indicator, RawIndicatorFieldId } from '../../../../../common/types/indicator'; import { DateFormatter } from '../../../../components/date_formatter'; import { unwrapValue } from '../../utils'; import { TLPBadge } from '../tlp_badge'; diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/fields_table/fields_table.stories.tsx b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/fields_table/fields_table.stories.tsx index 7cb9254351beb..80bd24d59adc9 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/fields_table/fields_table.stories.tsx +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/fields_table/fields_table.stories.tsx @@ -8,7 +8,7 @@ import React from 'react'; import { mockIndicatorsFiltersContext } from '../../../../../common/mocks/mock_indicators_filters_context'; import { IndicatorFieldsTable } from '.'; -import { generateMockIndicator } from '../../../types'; +import { generateMockIndicator } from '../../../../../../common/types/indicator'; import { StoryProvidersComponent } from '../../../../../common/mocks/story_providers'; import { IndicatorsFiltersContext } from '../../../containers/filters'; diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/fields_table/fields_table.tsx b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/fields_table/fields_table.tsx index e5d89910dca3b..3fe1f62599059 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/fields_table/fields_table.tsx +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/fields_table/fields_table.tsx @@ -8,7 +8,7 @@ import { EuiBasicTableColumn, EuiInMemoryTable, EuiInMemoryTableProps } from '@elastic/eui'; import { FormattedMessage } from '@kbn/i18n-react'; import React, { useMemo, VFC } from 'react'; -import { Indicator } from '../../../types'; +import { Indicator } from '../../../../../../common/types/indicator'; import { IndicatorFieldValue } from '../../field_value'; import { IndicatorValueActions } from '../indicator_value_actions'; diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/flyout.stories.tsx b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/flyout.stories.tsx index 80b75a605cccf..b23dfca2e61d6 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/flyout.stories.tsx +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/flyout.stories.tsx @@ -8,7 +8,7 @@ import React from 'react'; import { Story } from '@storybook/react'; import { StoryProvidersComponent } from '../../../../common/mocks/story_providers'; -import { generateMockIndicator, Indicator } from '../../types'; +import { generateMockIndicator, Indicator } from '../../../../../common/types/indicator'; import { IndicatorsFlyout } from '.'; export default { diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/flyout.test.tsx b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/flyout.test.tsx index fab9d2ed6d465..a50cf08b3f2b5 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/flyout.test.tsx +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/flyout.test.tsx @@ -8,7 +8,7 @@ import React from 'react'; import { cleanup, render, screen } from '@testing-library/react'; import { IndicatorsFlyout, SUBTITLE_TEST_ID, TITLE_TEST_ID } from '.'; -import { generateMockIndicator, Indicator } from '../../types'; +import { generateMockIndicator, Indicator } from '../../../../../common/types/indicator'; import { TestProvidersComponent } from '../../../../common/mocks/test_providers'; const mockIndicator = generateMockIndicator(); diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/flyout.tsx b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/flyout.tsx index 97c5592b05e42..485ba92f61932 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/flyout.tsx +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/flyout.tsx @@ -23,7 +23,7 @@ import { import { FormattedMessage } from '@kbn/i18n-react'; import { InvestigateInTimelineButton } from '../../../timeline'; import { DateFormatter } from '../../../../components/date_formatter/date_formatter'; -import { Indicator, RawIndicatorFieldId } from '../../types'; +import { Indicator, RawIndicatorFieldId } from '../../../../../common/types/indicator'; import { IndicatorsFlyoutJson } from './json_tab'; import { IndicatorsFlyoutTable } from './table_tab'; import { unwrapValue } from '../../utils'; diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/indicator_value_actions/indicator_value_actions.tsx b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/indicator_value_actions/indicator_value_actions.tsx index e64592cbea079..4d4f1d94d84e5 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/indicator_value_actions/indicator_value_actions.tsx +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/indicator_value_actions/indicator_value_actions.tsx @@ -14,7 +14,7 @@ import { EuiToolTip, } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; -import { Indicator } from '../../../types'; +import { Indicator } from '../../../../../../common/types/indicator'; import { FilterInButtonIcon, FilterOutButtonIcon } from '../../../../query_bar'; import { AddToTimelineContextMenu } from '../../../../timeline'; import { fieldAndValueValid, getIndicatorFieldAndValue } from '../../../utils'; diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/json_tab/json_tab.stories.tsx b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/json_tab/json_tab.stories.tsx index 9ae8576c8706e..8d2eead239f4e 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/json_tab/json_tab.stories.tsx +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/json_tab/json_tab.stories.tsx @@ -7,7 +7,7 @@ import React from 'react'; import { Story } from '@storybook/react'; -import { generateMockIndicator, Indicator } from '../../../types'; +import { generateMockIndicator, Indicator } from '../../../../../../common/types/indicator'; import { IndicatorsFlyoutJson } from '.'; export default { diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/json_tab/json_tab.test.tsx b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/json_tab/json_tab.test.tsx index 496e362c1a384..d56b328c61597 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/json_tab/json_tab.test.tsx +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/json_tab/json_tab.test.tsx @@ -8,7 +8,7 @@ import React from 'react'; import { render } from '@testing-library/react'; import { TestProvidersComponent } from '../../../../../common/mocks/test_providers'; -import { generateMockIndicator, Indicator } from '../../../types'; +import { generateMockIndicator, Indicator } from '../../../../../../common/types/indicator'; import { CODE_BLOCK_TEST_ID, IndicatorsFlyoutJson } from '.'; import { EMPTY_PROMPT_TEST_ID } from '../empty_prompt'; diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/json_tab/json_tab.tsx b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/json_tab/json_tab.tsx index b3791edc5b9fe..f7dc6ad59de00 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/json_tab/json_tab.tsx +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/json_tab/json_tab.tsx @@ -7,7 +7,7 @@ import React, { VFC } from 'react'; import { EuiCodeBlock } from '@elastic/eui'; -import { Indicator } from '../../../types'; +import { Indicator } from '../../../../../../common/types/indicator'; import { IndicatorEmptyPrompt } from '../empty_prompt'; export const CODE_BLOCK_TEST_ID = 'tiFlyoutJsonCodeBlock'; diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/overview_tab/block/block.stories.tsx b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/overview_tab/block/block.stories.tsx index 0a0db7b114929..0ae9c8b962d9a 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/overview_tab/block/block.stories.tsx +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/overview_tab/block/block.stories.tsx @@ -8,7 +8,7 @@ import React from 'react'; import { IndicatorsFiltersContext } from '../../../../containers/filters'; import { StoryProvidersComponent } from '../../../../../../common/mocks/story_providers'; -import { generateMockIndicator } from '../../../../types'; +import { generateMockIndicator } from '../../../../../../../common/types/indicator'; import { IndicatorBlock } from '.'; export default { diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/overview_tab/block/block.tsx b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/overview_tab/block/block.tsx index 48ac9867181b3..3baa182530b86 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/overview_tab/block/block.tsx +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/overview_tab/block/block.tsx @@ -8,7 +8,7 @@ import { EuiPanel, EuiSpacer, EuiText } from '@elastic/eui'; import React, { VFC } from 'react'; import { css, euiStyled } from '@kbn/kibana-react-plugin/common'; -import { Indicator } from '../../../../types'; +import { Indicator } from '../../../../../../../common/types/indicator'; import { IndicatorFieldValue } from '../../../field_value'; import { IndicatorFieldLabel } from '../../../field_label'; import { IndicatorValueActions } from '../../indicator_value_actions'; diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/overview_tab/highlighted_values_table/highlighted_values_table.tsx b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/overview_tab/highlighted_values_table/highlighted_values_table.tsx index 193e550fc4012..5c60ed4684d9b 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/overview_tab/highlighted_values_table/highlighted_values_table.tsx +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/overview_tab/highlighted_values_table/highlighted_values_table.tsx @@ -6,7 +6,7 @@ */ import React, { useMemo, VFC } from 'react'; -import { Indicator, RawIndicatorFieldId } from '../../../../types'; +import { Indicator, RawIndicatorFieldId } from '../../../../../../../common/types/indicator'; import { unwrapValue } from '../../../../utils'; import { IndicatorFieldsTable } from '../../fields_table'; diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/overview_tab/overview_tab.stories.tsx b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/overview_tab/overview_tab.stories.tsx index 3b1c57b19c73f..4c74ea25330d7 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/overview_tab/overview_tab.stories.tsx +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/overview_tab/overview_tab.stories.tsx @@ -8,7 +8,7 @@ import React from 'react'; import { Story } from '@storybook/react'; import { StoryProvidersComponent } from '../../../../../common/mocks/story_providers'; -import { generateMockIndicator, Indicator } from '../../../types'; +import { generateMockIndicator, Indicator } from '../../../../../../common/types/indicator'; import { IndicatorsFlyoutOverview } from '.'; import { IndicatorsFiltersContext } from '../../../containers/filters'; diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/overview_tab/overview_tab.test.tsx b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/overview_tab/overview_tab.test.tsx index 94bdba9ea06fa..df4201761a98e 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/overview_tab/overview_tab.test.tsx +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/overview_tab/overview_tab.test.tsx @@ -8,7 +8,7 @@ import { TestProvidersComponent } from '../../../../../common/mocks/test_providers'; import { render, screen } from '@testing-library/react'; import React from 'react'; -import { generateMockIndicator, Indicator } from '../../../types'; +import { generateMockIndicator, Indicator } from '../../../../../../common/types/indicator'; import { IndicatorsFlyoutOverview, TI_FLYOUT_OVERVIEW_HIGH_LEVEL_BLOCKS, diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/overview_tab/overview_tab.tsx b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/overview_tab/overview_tab.tsx index def4049aeee5c..2c3e6dee5ffcb 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/overview_tab/overview_tab.tsx +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/overview_tab/overview_tab.tsx @@ -17,7 +17,7 @@ import { import { FormattedMessage } from '@kbn/i18n-react'; import React, { useMemo, VFC } from 'react'; import { EMPTY_VALUE } from '../../../../../common/constants'; -import { Indicator, RawIndicatorFieldId } from '../../../types'; +import { Indicator, RawIndicatorFieldId } from '../../../../../../common/types/indicator'; import { unwrapValue } from '../../../utils'; import { IndicatorEmptyPrompt } from '../empty_prompt'; import { IndicatorBlock } from './block'; diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/table_tab/table_tab.stories.tsx b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/table_tab/table_tab.stories.tsx index a8cea2e06ca2b..1842d52171db3 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/table_tab/table_tab.stories.tsx +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/table_tab/table_tab.stories.tsx @@ -12,7 +12,7 @@ import { createKibanaReactContext } from '@kbn/kibana-react-plugin/public'; import { mockIndicatorsFiltersContext } from '../../../../../common/mocks/mock_indicators_filters_context'; import { mockUiSettingsService } from '../../../../../common/mocks/mock_kibana_ui_settings_service'; import { mockKibanaTimelinesService } from '../../../../../common/mocks/mock_kibana_timelines_service'; -import { generateMockIndicator, Indicator } from '../../../types'; +import { generateMockIndicator, Indicator } from '../../../../../../common/types/indicator'; import { IndicatorsFlyoutTable } from '.'; import { IndicatorsFiltersContext } from '../../../containers/filters'; diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/table_tab/table_tab.test.tsx b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/table_tab/table_tab.test.tsx index c70232da887ff..aae9aa41cbf2f 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/table_tab/table_tab.test.tsx +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/table_tab/table_tab.test.tsx @@ -8,7 +8,11 @@ import React from 'react'; import { render } from '@testing-library/react'; import { TestProvidersComponent } from '../../../../../common/mocks/test_providers'; -import { generateMockIndicator, Indicator, RawIndicatorFieldId } from '../../../types'; +import { + generateMockIndicator, + Indicator, + RawIndicatorFieldId, +} from '../../../../../../common/types/indicator'; import { IndicatorsFlyoutTable, TABLE_TEST_ID } from '.'; import { unwrapValue } from '../../../utils'; import { EMPTY_PROMPT_TEST_ID } from '../empty_prompt'; diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/table_tab/table_tab.tsx b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/table_tab/table_tab.tsx index 5c152684f0fa9..0f0a699733ccb 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/table_tab/table_tab.tsx +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/table_tab/table_tab.tsx @@ -6,7 +6,7 @@ */ import React, { VFC } from 'react'; -import { Indicator } from '../../../types'; +import { Indicator } from '../../../../../../common/types/indicator'; import { IndicatorEmptyPrompt } from '../empty_prompt'; import { IndicatorFieldsTable } from '../fields_table'; diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/table/components/actions_row_cell.tsx b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/table/components/actions_row_cell.tsx index 05b4f5b64c263..e8a58f2797669 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/table/components/actions_row_cell.tsx +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/table/components/actions_row_cell.tsx @@ -8,7 +8,7 @@ import React, { useContext, VFC } from 'react'; import { EuiFlexGroup } from '@elastic/eui'; import { InvestigateInTimelineButtonIcon } from '../../../../timeline'; -import { Indicator } from '../../../types'; +import { Indicator } from '../../../../../../common/types/indicator'; import { OpenIndicatorFlyoutButton } from './open_flyout_button'; import { IndicatorsTableContext } from '../contexts'; diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/table/components/cell_actions.tsx b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/table/components/cell_actions.tsx index 8342a013bb112..2f606df1a8f12 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/table/components/cell_actions.tsx +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/table/components/cell_actions.tsx @@ -7,7 +7,7 @@ import React, { VFC } from 'react'; import { EuiDataGridColumnCellActionProps } from '@elastic/eui/src/components/datagrid/data_grid_types'; -import { Indicator } from '../../../types'; +import { Indicator } from '../../../../../../common/types/indicator'; import { AddToTimelineCellAction } from '../../../../timeline'; import { FilterInCellAction, FilterOutCellAction } from '../../../../query_bar'; import { fieldAndValueValid, getIndicatorFieldAndValue } from '../../../utils'; diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/table/components/cell_popover_renderer.tsx b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/table/components/cell_popover_renderer.tsx index 95067ce87bc19..eba86eb4e8c35 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/table/components/cell_popover_renderer.tsx +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/table/components/cell_popover_renderer.tsx @@ -16,7 +16,7 @@ import { CopyToClipboardButtonEmpty } from '../../copy_to_clipboard/copy_to_clip import { FilterInButtonEmpty, FilterOutButtonEmpty } from '../../../../query_bar'; import { AddToTimelineButtonEmpty } from '../../../../timeline'; import { fieldAndValueValid, getIndicatorFieldAndValue } from '../../../utils/field_value'; -import { Indicator } from '../../../types'; +import { Indicator } from '../../../../../../common/types/indicator'; import { Pagination } from '../../../services/fetch_indicators'; import { useStyles } from './styles'; diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/table/components/cell_renderer.tsx b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/table/components/cell_renderer.tsx index d4aa529f5dfc1..7a33c4d21dde6 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/table/components/cell_renderer.tsx +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/table/components/cell_renderer.tsx @@ -9,7 +9,7 @@ import { EuiDataGridCellValueElementProps } from '@elastic/eui'; import React, { useContext, useEffect } from 'react'; import { euiDarkVars as themeDark, euiLightVars as themeLight } from '@kbn/ui-theme'; import { useKibana } from '../../../../../hooks'; -import { Indicator } from '../../../types'; +import { Indicator } from '../../../../../../common/types/indicator'; import { IndicatorFieldValue } from '../../field_value'; import { IndicatorsTableContext } from '../contexts'; import { ActionsRowCell } from '.'; diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/table/components/open_flyout_button/open_flyout_button.stories.tsx b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/table/components/open_flyout_button/open_flyout_button.stories.tsx index e7f62b73042df..d0bcec7068c21 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/table/components/open_flyout_button/open_flyout_button.stories.tsx +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/table/components/open_flyout_button/open_flyout_button.stories.tsx @@ -9,7 +9,7 @@ import React from 'react'; import { ComponentStory } from '@storybook/react'; import { createKibanaReactContext } from '@kbn/kibana-react-plugin/public'; import { mockUiSettingsService } from '../../../../../../common/mocks/mock_kibana_ui_settings_service'; -import { generateMockIndicator, Indicator } from '../../../../types'; +import { generateMockIndicator, Indicator } from '../../../../../../../common/types/indicator'; import { OpenIndicatorFlyoutButton } from '.'; export default { diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/table/components/open_flyout_button/open_flyout_button.test.tsx b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/table/components/open_flyout_button/open_flyout_button.test.tsx index fe3fcca21129c..f68be6d7ea553 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/table/components/open_flyout_button/open_flyout_button.test.tsx +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/table/components/open_flyout_button/open_flyout_button.test.tsx @@ -8,7 +8,7 @@ import React from 'react'; import { render } from '@testing-library/react'; import { BUTTON_TEST_ID, OpenIndicatorFlyoutButton } from '.'; -import { generateMockIndicator } from '../../../../types'; +import { generateMockIndicator } from '../../../../../../../common/types/indicator'; import { TestProvidersComponent } from '../../../../../../common/mocks/test_providers'; const mockIndicator = generateMockIndicator(); diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/table/components/open_flyout_button/open_flyout_button.tsx b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/table/components/open_flyout_button/open_flyout_button.tsx index dee079463f056..7ae0584447a5b 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/table/components/open_flyout_button/open_flyout_button.tsx +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/table/components/open_flyout_button/open_flyout_button.tsx @@ -8,7 +8,7 @@ import React, { VFC } from 'react'; import { EuiButtonIcon, EuiToolTip } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; -import { Indicator } from '../../../../types'; +import { Indicator } from '../../../../../../../common/types/indicator'; export const BUTTON_TEST_ID = 'tiToggleIndicatorFlyoutButton'; diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/table/contexts/context.ts b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/table/contexts/context.ts index 9bb89968c75ae..e0125544a6453 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/table/contexts/context.ts +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/table/contexts/context.ts @@ -6,7 +6,7 @@ */ import { createContext, Dispatch, SetStateAction } from 'react'; -import { Indicator } from '../../../types'; +import { Indicator } from '../../../../../../common/types/indicator'; export interface IndicatorsTableContextValue { expanded: Indicator | undefined; diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/table/hooks/use_column_settings.ts b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/table/hooks/use_column_settings.ts index 680661f04d411..33f73922a3aa0 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/table/hooks/use_column_settings.ts +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/table/hooks/use_column_settings.ts @@ -8,7 +8,7 @@ import { EuiDataGridColumn, EuiDataGridSorting } from '@elastic/eui'; import { useCallback, useEffect, useMemo, useState } from 'react'; import negate from 'lodash/negate'; -import { RawIndicatorFieldId } from '../../../types'; +import { RawIndicatorFieldId } from '../../../../../../common/types/indicator'; import { useKibana } from '../../../../../hooks'; import { translateFieldLabel } from '../../field_label'; diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/table/table.stories.tsx b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/table/table.stories.tsx index a4eccb880f6c1..4822d403e3f4b 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/table/table.stories.tsx +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/table/table.stories.tsx @@ -9,7 +9,7 @@ import React from 'react'; import { DataView } from '@kbn/data-views-plugin/common'; import { mockIndicatorsFiltersContext } from '../../../../common/mocks/mock_indicators_filters_context'; import { StoryProvidersComponent } from '../../../../common/mocks/story_providers'; -import { generateMockIndicator, Indicator } from '../../types'; +import { generateMockIndicator, Indicator } from '../../../../../common/types/indicator'; import { IndicatorsTable } from '.'; import { IndicatorsFiltersContext } from '../../containers/filters/context'; import { DEFAULT_COLUMNS } from './hooks'; diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/table/table.test.tsx b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/table/table.test.tsx index af28ac88a4d44..2d51a75cd2c83 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/table/table.test.tsx +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/table/table.test.tsx @@ -9,7 +9,7 @@ import { act, render, screen } from '@testing-library/react'; import React from 'react'; import { IndicatorsTable, IndicatorsTableProps, TABLE_UPDATE_PROGRESS_TEST_ID } from '.'; import { TestProvidersComponent } from '../../../../common/mocks/test_providers'; -import { generateMockIndicator, Indicator } from '../../types'; +import { generateMockIndicator, Indicator } from '../../../../../common/types/indicator'; import { BUTTON_TEST_ID } from './components/open_flyout_button'; import { TITLE_TEST_ID } from '../flyout'; import { SecuritySolutionDataViewBase } from '../../../../types'; diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/table/table.tsx b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/table/table.tsx index 62e142075305f..d27aaf0ea233d 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/table/table.tsx +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/table/table.tsx @@ -21,7 +21,7 @@ import { FormattedMessage } from '@kbn/i18n-react'; import { EuiDataGridColumn } from '@elastic/eui/src/components/datagrid/data_grid_types'; import { CellActions, cellPopoverRendererFactory, cellRendererFactory } from './components'; import { BrowserFields, SecuritySolutionDataViewBase } from '../../../../types'; -import { Indicator, RawIndicatorFieldId } from '../../types'; +import { Indicator, RawIndicatorFieldId } from '../../../../../common/types/indicator'; import { EmptyState } from '../../../../components/empty_state'; import { IndicatorsTableContext, IndicatorsTableContextValue } from './contexts'; import { IndicatorsFlyout } from '../flyout'; diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/hooks/use_aggregated_indicators.ts b/x-pack/plugins/threat_intelligence/public/modules/indicators/hooks/use_aggregated_indicators.ts index 52f7c01cac736..bdfd9fafa77e0 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/indicators/hooks/use_aggregated_indicators.ts +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/hooks/use_aggregated_indicators.ts @@ -10,7 +10,7 @@ import { Filter, Query, TimeRange } from '@kbn/es-query'; import { useMemo, useState } from 'react'; import { TimeRangeBounds } from '@kbn/data-plugin/common'; import { useInspector, useKibana } from '../../../hooks'; -import { RawIndicatorFieldId } from '../types'; +import { RawIndicatorFieldId } from '../../../../common/types/indicator'; import { useSourcererDataView } from '.'; import { ChartSeries, 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 399254fe75688..3011d9b5101f6 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 @@ -10,7 +10,7 @@ import { Filter, Query, TimeRange } from '@kbn/es-query'; import { useQuery } from '@tanstack/react-query'; import { EuiDataGridSorting } from '@elastic/eui'; import { useInspector, useKibana } from '../../../hooks'; -import { Indicator } from '../types'; +import { Indicator } from '../../../../common/types/indicator'; import { useSourcererDataView } from './use_sourcerer_data_view'; import { createFetchIndicators, FetchParams, Pagination } from '../services/fetch_indicators'; diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/hooks/use_sourcerer_data_view.ts b/x-pack/plugins/threat_intelligence/public/modules/indicators/hooks/use_sourcerer_data_view.ts index 5128f47ee1a79..94e8c7a489fe9 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/indicators/hooks/use_sourcerer_data_view.ts +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/hooks/use_sourcerer_data_view.ts @@ -7,7 +7,7 @@ import { useMemo } from 'react'; import { i18n } from '@kbn/i18n'; -import { RawIndicatorFieldId } from '../types'; +import { RawIndicatorFieldId } from '../../../../common/types/indicator'; import { SecuritySolutionDataViewBase } from '../../../types'; import { useSecurityContext } from '../../../hooks/use_security_context'; diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/index.ts b/x-pack/plugins/threat_intelligence/public/modules/indicators/index.ts index a88503e53cc7b..73affbb6e8a63 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/indicators/index.ts +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/index.ts @@ -11,4 +11,3 @@ export * from './hooks/use_sourcerer_data_view'; export * from './hooks/use_total_count'; export * from './utils/field_value'; export * from './utils/unwrap_value'; -export * from './types/indicator'; diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/services/fetch_aggregated_indicators.test.ts b/x-pack/plugins/threat_intelligence/public/modules/indicators/services/fetch_aggregated_indicators.test.ts index 007623943c531..45190d813714b 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/indicators/services/fetch_aggregated_indicators.test.ts +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/services/fetch_aggregated_indicators.test.ts @@ -8,15 +8,11 @@ import { mockedQueryService, mockedSearchService } from '../../../common/mocks/test_providers'; import { BehaviorSubject, throwError } from 'rxjs'; import { RequestAdapter } from '@kbn/inspector-plugin/common'; -import { - Aggregation, - AGGREGATION_NAME, - convertAggregationToChartSeries, - createFetchAggregatedIndicators, -} from '.'; +import { Aggregation, convertAggregationToChartSeries, createFetchAggregatedIndicators } from '.'; +import { BARCHART_AGGREGATION_NAME, FactoryQueryType } from '../../../../common/constants'; const aggregationResponse = { - rawResponse: { aggregations: { [AGGREGATION_NAME]: { buckets: [] } } }, + rawResponse: { aggregations: { [BARCHART_AGGREGATION_NAME]: { buckets: [] } } }, }; const aggregation1: Aggregation = { @@ -88,33 +84,13 @@ describe('FetchAggregatedIndicatorsService', () => { expect.objectContaining({ params: expect.objectContaining({ body: expect.objectContaining({ - size: 0, query: expect.objectContaining({ bool: expect.anything() }), - runtime_mappings: { - 'threat.indicator.name': { script: expect.anything(), type: 'keyword' }, - 'threat.indicator.name_origin': { script: expect.anything(), type: 'keyword' }, - }, - aggregations: { - [AGGREGATION_NAME]: { - terms: { - field: 'myField', - }, - aggs: { - events: { - date_histogram: { - field: '@timestamp', - fixed_interval: expect.anything(), - min_doc_count: 0, - extended_bounds: expect.anything(), - }, - }, - }, - }, - }, - fields: ['@timestamp', 'myField'], }), index: [], }), + factoryQueryType: FactoryQueryType.Barchart, + dateRange: expect.anything(), + field: 'myField', }), expect.anything() ); diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/services/fetch_aggregated_indicators.ts b/x-pack/plugins/threat_intelligence/public/modules/indicators/services/fetch_aggregated_indicators.ts index f64b0eb7a6684..88f880122e426 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/indicators/services/fetch_aggregated_indicators.ts +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/services/fetch_aggregated_indicators.ts @@ -9,14 +9,13 @@ import { TimeRangeBounds } from '@kbn/data-plugin/common'; import type { ISearchStart, QueryStart } from '@kbn/data-plugin/public'; import type { Filter, Query, TimeRange } from '@kbn/es-query'; import { RequestAdapter } from '@kbn/inspector-plugin/common'; -import { calculateBarchartColumnTimeInterval } from '../../../common/utils/dates'; -import { RawIndicatorFieldId } from '../types'; -import { getIndicatorQueryParams, search } from '../utils'; +import { BARCHART_AGGREGATION_NAME, FactoryQueryType } from '../../../../common/constants'; +import { RawIndicatorFieldId } from '../../../../common/types/indicator'; +import { search } from '../utils/search'; +import { getIndicatorQueryParams } from '../utils/get_indicator_query_params'; const TIMESTAMP_FIELD = RawIndicatorFieldId.TimeStamp; -export const AGGREGATION_NAME = 'barchartAggregation'; - export interface AggregationValue { doc_count: number; key: number; @@ -33,7 +32,7 @@ export interface Aggregation { export interface RawAggregatedIndicatorsResponse { aggregations: { - [AGGREGATION_NAME]: { + [BARCHART_AGGREGATION_NAME]: { buckets: Aggregation[]; }; }; @@ -90,45 +89,33 @@ export const createFetchAggregatedIndicators = const dateFrom: number = (dateRange.min as moment.Moment).toDate().getTime(); const dateTo: number = (dateRange.max as moment.Moment).toDate().getTime(); - const interval = calculateBarchartColumnTimeInterval(dateFrom, dateTo); const sharedParams = getIndicatorQueryParams({ timeRange, filters, filterQuery }); const searchRequestBody = { - aggregations: { - [AGGREGATION_NAME]: { - terms: { - field, - }, - aggs: { - events: { - date_histogram: { - field: TIMESTAMP_FIELD, - fixed_interval: interval, - min_doc_count: 0, - extended_bounds: { - min: dateFrom, - max: dateTo, - }, - }, - }, - }, - }, - }, fields: [TIMESTAMP_FIELD, field], size: 0, ...sharedParams, }; const { - aggregations: { [AGGREGATION_NAME]: aggregation }, - } = await search( + aggregations: { [BARCHART_AGGREGATION_NAME]: aggregation }, + } = await search< + RawAggregatedIndicatorsResponse, + { dateRange: { from: number; to: number }; field: string } + >( searchService, { params: { index: selectedPatterns, body: searchRequestBody, }, + factoryQueryType: FactoryQueryType.Barchart, + dateRange: { + from: dateFrom, + to: dateTo, + }, + field, }, { signal, inspectorAdapter, requestName: 'Indicators barchart' } ); diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/services/fetch_indicators.test.ts b/x-pack/plugins/threat_intelligence/public/modules/indicators/services/fetch_indicators.test.ts index 388b1c9c9e7c5..73cde89df4c74 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/indicators/services/fetch_indicators.test.ts +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/services/fetch_indicators.test.ts @@ -9,6 +9,7 @@ import { mockedSearchService } from '../../../common/mocks/test_providers'; import { BehaviorSubject, throwError } from 'rxjs'; import { createFetchIndicators } from './fetch_indicators'; import { RequestAdapter } from '@kbn/inspector-plugin/common'; +import { FactoryQueryType } from '../../../../common/constants'; const indicatorsResponse = { rawResponse: { hits: { hits: [], total: 0 } } }; @@ -47,15 +48,12 @@ describe('FetchIndicatorsService', () => { fields: [{ field: '*', include_unmapped: true }], from: 0, query: expect.objectContaining({ bool: expect.anything() }), - runtime_mappings: { - 'threat.indicator.name': { script: expect.anything(), type: 'keyword' }, - 'threat.indicator.name_origin': { script: expect.anything(), type: 'keyword' }, - }, size: 25, sort: [], }, index: [], }, + factoryQueryType: FactoryQueryType.IndicatorGrid, }), expect.anything() ); diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/services/fetch_indicators.ts b/x-pack/plugins/threat_intelligence/public/modules/indicators/services/fetch_indicators.ts index 0bdd5c52f4133..c8dfd374920c5 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/indicators/services/fetch_indicators.ts +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/services/fetch_indicators.ts @@ -8,8 +8,10 @@ import { ISearchStart } from '@kbn/data-plugin/public'; import type { Filter, Query, TimeRange } from '@kbn/es-query'; import { RequestAdapter } from '@kbn/inspector-plugin/common'; -import { Indicator } from '../types'; -import { getIndicatorQueryParams, search } from '../utils'; +import { FactoryQueryType } from '../../../../common/constants'; +import { Indicator } from '../../../../common/types/indicator'; +import { getIndicatorQueryParams } from '../utils/get_indicator_query_params'; +import { search } from '../utils/search'; export interface RawIndicatorsResponse { hits: { @@ -75,6 +77,7 @@ export const createFetchIndicators = index: selectedPatterns, body: searchRequestBody, }, + factoryQueryType: FactoryQueryType.IndicatorGrid, }, { inspectorAdapter, requestName: 'Indicators table', signal } ); diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/utils/field_value.test.ts b/x-pack/plugins/threat_intelligence/public/modules/indicators/utils/field_value.test.ts index 8c38d85955331..6bdbca5b51877 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/indicators/utils/field_value.test.ts +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/utils/field_value.test.ts @@ -6,7 +6,10 @@ */ import { fieldAndValueValid, getIndicatorFieldAndValue } from './field_value'; -import { generateMockFileIndicator, generateMockUrlIndicator } from '../types'; +import { + generateMockFileIndicator, + generateMockUrlIndicator, +} from '../../../../common/types/indicator'; import { EMPTY_VALUE } from '../../../common/constants'; describe('field_value', () => { diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/utils/field_value.ts b/x-pack/plugins/threat_intelligence/public/modules/indicators/utils/field_value.ts index 5756248a61f55..1211ebb48ffba 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/indicators/utils/field_value.ts +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/utils/field_value.ts @@ -7,7 +7,7 @@ import { EMPTY_VALUE } from '../../../common/constants'; import { unwrapValue } from './unwrap_value'; -import { Indicator, RawIndicatorFieldId } from '../types'; +import { Indicator, RawIndicatorFieldId } from '../../../../common/types/indicator'; /** * Retrieves a field/value pair from an Indicator diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/utils/get_indicator_query_params.ts b/x-pack/plugins/threat_intelligence/public/modules/indicators/utils/get_indicator_query_params.ts index cdf4e846c2ca2..4bd091195fd6c 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/indicators/utils/get_indicator_query_params.ts +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/utils/get_indicator_query_params.ts @@ -7,13 +7,12 @@ import { buildEsQuery, Filter, Query, TimeRange } from '@kbn/es-query'; import { THREAT_QUERY_BASE } from '../../../common/constants'; -import { RawIndicatorFieldId } from '..'; -import { threatIndicatorNamesOriginScript, threatIndicatorNamesScript } from './display_name'; +import { RawIndicatorFieldId } from '../../../../common/types/indicator'; const TIMESTAMP_FIELD = RawIndicatorFieldId.TimeStamp; /** - * Prepare shared `runtime_mappings` and `query` fields used within indicator search request + * Prepare shared `query` fields used within indicator search request */ export const getIndicatorQueryParams = ({ filters, @@ -25,20 +24,6 @@ export const getIndicatorQueryParams = ({ timeRange?: TimeRange; }) => { return { - runtime_mappings: { - [RawIndicatorFieldId.Name]: { - type: 'keyword', - script: { - source: threatIndicatorNamesScript(), - }, - }, - [RawIndicatorFieldId.NameOrigin]: { - type: 'keyword', - script: { - source: threatIndicatorNamesOriginScript(), - }, - }, - } as const, query: buildEsQuery( undefined, [ diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/utils/index.ts b/x-pack/plugins/threat_intelligence/public/modules/indicators/utils/index.ts index 9a542d2960bd1..04ca3df2a509e 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/indicators/utils/index.ts +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/utils/index.ts @@ -5,10 +5,8 @@ * 2.0. */ -export * from './display_name'; export * from './field_value'; export * from './get_field_schema'; export * from './get_indicator_query_params'; -export * from './get_runtime_mappings'; export * from './search'; export * from './unwrap_value'; diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/utils/search.ts b/x-pack/plugins/threat_intelligence/public/modules/indicators/utils/search.ts index 49cd371680ce0..92ede2d4f3d92 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/indicators/utils/search.ts +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/utils/search.ts @@ -13,6 +13,7 @@ import { } from '@kbn/data-plugin/common'; import { ISearchStart } from '@kbn/data-plugin/public'; import { RequestAdapter } from '@kbn/inspector-plugin/common'; +import { THREAT_INTELLIGENCE_SEARCH_STRATEGY_NAME } from '../../../../common/constants'; interface SearchOptions { /** @@ -35,9 +36,9 @@ interface SearchOptions { * This is a searchService wrapper that will instrument your query with `inspector` and turn it into a Promise, * resolved when complete result set is returned or rejected on any error, other than Abort. */ -export const search = async ( +export const search = async ( searchService: ISearchStart, - searchRequest: IEsSearchRequest, + searchRequest: IEsSearchRequest & { factoryQueryType: string } & T, { inspectorAdapter, requestName, signal }: SearchOptions ): Promise => { const requestId = `${Date.now()}`; @@ -47,6 +48,7 @@ export const search = async ( searchService .search>(searchRequest, { abortSignal: signal, + strategy: THREAT_INTELLIGENCE_SEARCH_STRATEGY_NAME, }) .subscribe({ next: (response) => { diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/utils/unwrap_value.test.ts b/x-pack/plugins/threat_intelligence/public/modules/indicators/utils/unwrap_value.test.ts index 85d2e9b147871..8edb6b5397209 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/indicators/utils/unwrap_value.test.ts +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/utils/unwrap_value.test.ts @@ -5,7 +5,7 @@ * 2.0. */ -import { RawIndicatorFieldId } from '../types'; +import { RawIndicatorFieldId } from '../../../../common/types/indicator'; import { unwrapValue } from './unwrap_value'; describe('unwrapValue()', () => { diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/utils/unwrap_value.ts b/x-pack/plugins/threat_intelligence/public/modules/indicators/utils/unwrap_value.ts index a79e17c99c498..8d3ef63ec9f0b 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/indicators/utils/unwrap_value.ts +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/utils/unwrap_value.ts @@ -5,7 +5,7 @@ * 2.0. */ -import { Indicator, RawIndicatorFieldId } from '../types'; +import { Indicator, RawIndicatorFieldId } from '../../../../common/types/indicator'; /** * Unpacks field value from raw indicator fields. Will return null if fields are missing entirely diff --git a/x-pack/plugins/threat_intelligence/public/modules/query_bar/components/filter_in/filter_in.stories.tsx b/x-pack/plugins/threat_intelligence/public/modules/query_bar/components/filter_in/filter_in.stories.tsx index 7ce8a72c17516..6c0619492cac1 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/query_bar/components/filter_in/filter_in.stories.tsx +++ b/x-pack/plugins/threat_intelligence/public/modules/query_bar/components/filter_in/filter_in.stories.tsx @@ -10,7 +10,8 @@ import { Story } from '@storybook/react'; import { EuiContextMenuPanel, EuiDataGrid, EuiDataGridColumn } from '@elastic/eui'; import { EuiDataGridColumnVisibility } from '@elastic/eui/src/components/datagrid/data_grid_types'; import { mockIndicatorsFiltersContext } from '../../../../common/mocks/mock_indicators_filters_context'; -import { generateMockIndicator, Indicator, IndicatorsFiltersContext } from '../../../indicators'; +import { IndicatorsFiltersContext } from '../../../indicators'; +import { generateMockIndicator, Indicator } from '../../../../../common/types/indicator'; import { FilterInButtonIcon, FilterInCellAction, FilterInContextMenu } from '.'; export default { diff --git a/x-pack/plugins/threat_intelligence/public/modules/query_bar/components/filter_in/filter_in.test.tsx b/x-pack/plugins/threat_intelligence/public/modules/query_bar/components/filter_in/filter_in.test.tsx index 9273ea007cb43..0bcb4d0a33581 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/query_bar/components/filter_in/filter_in.test.tsx +++ b/x-pack/plugins/threat_intelligence/public/modules/query_bar/components/filter_in/filter_in.test.tsx @@ -8,7 +8,8 @@ import React, { FunctionComponent } from 'react'; import { render } from '@testing-library/react'; import { EuiButtonIcon } from '@elastic/eui'; -import { generateMockIndicator, Indicator, useIndicatorsFiltersContext } from '../../../indicators'; +import { useIndicatorsFiltersContext } from '../../../indicators'; +import { generateMockIndicator, Indicator } from '../../../../../common/types/indicator'; import { mockIndicatorsFiltersContext } from '../../../../common/mocks/mock_indicators_filters_context'; import { FilterInButtonEmpty, diff --git a/x-pack/plugins/threat_intelligence/public/modules/query_bar/components/filter_in/filter_in.tsx b/x-pack/plugins/threat_intelligence/public/modules/query_bar/components/filter_in/filter_in.tsx index 43fb9d06a79da..f87bb0813249d 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/query_bar/components/filter_in/filter_in.tsx +++ b/x-pack/plugins/threat_intelligence/public/modules/query_bar/components/filter_in/filter_in.tsx @@ -10,7 +10,7 @@ import { i18n } from '@kbn/i18n'; import { EuiButtonEmpty, EuiButtonIcon, EuiContextMenuItem, EuiToolTip } from '@elastic/eui'; import { useFilterInOut } from '../../hooks'; import { FilterIn } from '../../utils'; -import { Indicator } from '../../../indicators'; +import { Indicator } from '../../../../../common/types/indicator'; import { useStyles } from './styles'; const ICON_TYPE = 'plusInCircle'; diff --git a/x-pack/plugins/threat_intelligence/public/modules/query_bar/components/filter_out/filter_out.stories.tsx b/x-pack/plugins/threat_intelligence/public/modules/query_bar/components/filter_out/filter_out.stories.tsx index 93cba542f8988..1585741bfbfa7 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/query_bar/components/filter_out/filter_out.stories.tsx +++ b/x-pack/plugins/threat_intelligence/public/modules/query_bar/components/filter_out/filter_out.stories.tsx @@ -10,7 +10,8 @@ import { Story } from '@storybook/react'; import { EuiContextMenuPanel, EuiDataGrid, EuiDataGridColumn } from '@elastic/eui'; import { EuiDataGridColumnVisibility } from '@elastic/eui/src/components/datagrid/data_grid_types'; import { mockIndicatorsFiltersContext } from '../../../../common/mocks/mock_indicators_filters_context'; -import { generateMockIndicator, Indicator, IndicatorsFiltersContext } from '../../../indicators'; +import { IndicatorsFiltersContext } from '../../../indicators'; +import { generateMockIndicator, Indicator } from '../../../../../common/types/indicator'; import { FilterOutButtonIcon, FilterOutCellAction, FilterOutContextMenu } from '.'; export default { diff --git a/x-pack/plugins/threat_intelligence/public/modules/query_bar/components/filter_out/filter_out.test.tsx b/x-pack/plugins/threat_intelligence/public/modules/query_bar/components/filter_out/filter_out.test.tsx index 0f58416a25a82..ff9997960ef8f 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/query_bar/components/filter_out/filter_out.test.tsx +++ b/x-pack/plugins/threat_intelligence/public/modules/query_bar/components/filter_out/filter_out.test.tsx @@ -8,7 +8,8 @@ import React, { FunctionComponent } from 'react'; import { render } from '@testing-library/react'; import { EuiButtonIcon } from '@elastic/eui'; -import { generateMockIndicator, Indicator, useIndicatorsFiltersContext } from '../../../indicators'; +import { useIndicatorsFiltersContext } from '../../../indicators'; +import { generateMockIndicator, Indicator } from '../../../../../common/types/indicator'; import { mockIndicatorsFiltersContext } from '../../../../common/mocks/mock_indicators_filters_context'; import { FilterOutButtonEmpty, diff --git a/x-pack/plugins/threat_intelligence/public/modules/query_bar/components/filter_out/filter_out.tsx b/x-pack/plugins/threat_intelligence/public/modules/query_bar/components/filter_out/filter_out.tsx index b2ed00a6f0f55..590cee62b1e26 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/query_bar/components/filter_out/filter_out.tsx +++ b/x-pack/plugins/threat_intelligence/public/modules/query_bar/components/filter_out/filter_out.tsx @@ -10,7 +10,7 @@ import { i18n } from '@kbn/i18n'; import { EuiButtonEmpty, EuiButtonIcon, EuiContextMenuItem, EuiToolTip } from '@elastic/eui'; import { useFilterInOut } from '../../hooks'; import { FilterOut } from '../../utils'; -import { Indicator } from '../../../indicators'; +import { Indicator } from '../../../../../common/types/indicator'; import { useStyles } from './styles'; const ICON_TYPE = 'minusInCircle'; diff --git a/x-pack/plugins/threat_intelligence/public/modules/query_bar/hooks/use_filter_in_out.test.ts b/x-pack/plugins/threat_intelligence/public/modules/query_bar/hooks/use_filter_in_out.test.ts index bd301c3b8d7c8..369c6758df278 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/query_bar/hooks/use_filter_in_out.test.ts +++ b/x-pack/plugins/threat_intelligence/public/modules/query_bar/hooks/use_filter_in_out.test.ts @@ -6,7 +6,11 @@ */ import { Renderer, renderHook, RenderHookResult } from '@testing-library/react-hooks'; -import { generateMockIndicator, generateMockUrlIndicator, Indicator } from '../../indicators'; +import { + generateMockIndicator, + generateMockUrlIndicator, + Indicator, +} from '../../../../common/types/indicator'; import { TestProvidersComponent } from '../../../common/mocks/test_providers'; import { useFilterInOut, UseFilterInValue } from '.'; import { FilterIn } from '../utils'; diff --git a/x-pack/plugins/threat_intelligence/public/modules/query_bar/hooks/use_filter_in_out.ts b/x-pack/plugins/threat_intelligence/public/modules/query_bar/hooks/use_filter_in_out.ts index d869271025d7d..d45a5e3dd231f 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/query_bar/hooks/use_filter_in_out.ts +++ b/x-pack/plugins/threat_intelligence/public/modules/query_bar/hooks/use_filter_in_out.ts @@ -10,9 +10,9 @@ import { Filter } from '@kbn/es-query'; import { fieldAndValueValid, getIndicatorFieldAndValue, - Indicator, useIndicatorsFiltersContext, } from '../../indicators'; +import { Indicator } from '../../../../common/types/indicator'; import { FilterIn, FilterOut, updateFiltersArray } from '../utils'; export interface UseFilterInParam { diff --git a/x-pack/plugins/threat_intelligence/public/modules/timeline/components/add_to_timeline/add_to_timeline.stories.tsx b/x-pack/plugins/threat_intelligence/public/modules/timeline/components/add_to_timeline/add_to_timeline.stories.tsx index 2f5cb1707388e..eef3b90782f6b 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/timeline/components/add_to_timeline/add_to_timeline.stories.tsx +++ b/x-pack/plugins/threat_intelligence/public/modules/timeline/components/add_to_timeline/add_to_timeline.stories.tsx @@ -11,7 +11,7 @@ import { CoreStart } from '@kbn/core/public'; import { createKibanaReactContext } from '@kbn/kibana-react-plugin/public'; import { EuiContextMenuPanel } from '@elastic/eui'; import { mockKibanaTimelinesService } from '../../../../common/mocks/mock_kibana_timelines_service'; -import { generateMockIndicator, Indicator } from '../../../indicators'; +import { generateMockIndicator, Indicator } from '../../../../../common/types/indicator'; import { AddToTimelineButtonIcon, AddToTimelineContextMenu } from '.'; export default { diff --git a/x-pack/plugins/threat_intelligence/public/modules/timeline/components/add_to_timeline/add_to_timeline.test.tsx b/x-pack/plugins/threat_intelligence/public/modules/timeline/components/add_to_timeline/add_to_timeline.test.tsx index c69336cfa27a6..2147987b9e1c1 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/timeline/components/add_to_timeline/add_to_timeline.test.tsx +++ b/x-pack/plugins/threat_intelligence/public/modules/timeline/components/add_to_timeline/add_to_timeline.test.tsx @@ -7,7 +7,7 @@ import React from 'react'; import { render } from '@testing-library/react'; -import { generateMockIndicator, Indicator } from '../../../indicators'; +import { generateMockIndicator, Indicator } from '../../../../../common/types/indicator'; import { EMPTY_VALUE } from '../../../../common/constants'; import { AddToTimelineButtonIcon } from '.'; import { TestProvidersComponent } from '../../../../common/mocks/test_providers'; diff --git a/x-pack/plugins/threat_intelligence/public/modules/timeline/components/add_to_timeline/add_to_timeline.tsx b/x-pack/plugins/threat_intelligence/public/modules/timeline/components/add_to_timeline/add_to_timeline.tsx index 98b46b8cd9e0d..d15c06426311f 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/timeline/components/add_to_timeline/add_to_timeline.tsx +++ b/x-pack/plugins/threat_intelligence/public/modules/timeline/components/add_to_timeline/add_to_timeline.tsx @@ -17,7 +17,8 @@ import { } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; import { generateDataProvider } from '../../utils'; -import { fieldAndValueValid, getIndicatorFieldAndValue, Indicator } from '../../../indicators'; +import { fieldAndValueValid, getIndicatorFieldAndValue } from '../../../indicators'; +import { Indicator } from '../../../../../common/types/indicator'; import { useKibana } from '../../../../hooks'; import { useStyles } from './styles'; import { useAddToTimeline } from '../../hooks'; diff --git a/x-pack/plugins/threat_intelligence/public/modules/timeline/components/investigate_in_timeline/investigate_in_timeline.stories.tsx b/x-pack/plugins/threat_intelligence/public/modules/timeline/components/investigate_in_timeline/investigate_in_timeline.stories.tsx index 572675e9d2328..08fe4b782c2c0 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/timeline/components/investigate_in_timeline/investigate_in_timeline.stories.tsx +++ b/x-pack/plugins/threat_intelligence/public/modules/timeline/components/investigate_in_timeline/investigate_in_timeline.stories.tsx @@ -8,7 +8,7 @@ import React from 'react'; import { Story } from '@storybook/react'; import { StoryProvidersComponent } from '../../../../common/mocks/story_providers'; -import { generateMockUrlIndicator } from '../../../indicators'; +import { generateMockUrlIndicator } from '../../../../../common/types/indicator'; import { InvestigateInTimelineButton, InvestigateInTimelineButtonIcon } from '.'; export default { diff --git a/x-pack/plugins/threat_intelligence/public/modules/timeline/components/investigate_in_timeline/investigate_in_timeline.test.tsx b/x-pack/plugins/threat_intelligence/public/modules/timeline/components/investigate_in_timeline/investigate_in_timeline.test.tsx index c155fba23a0f0..81850d049d830 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/timeline/components/investigate_in_timeline/investigate_in_timeline.test.tsx +++ b/x-pack/plugins/threat_intelligence/public/modules/timeline/components/investigate_in_timeline/investigate_in_timeline.test.tsx @@ -7,7 +7,11 @@ import React from 'react'; import { render } from '@testing-library/react'; -import { generateMockIndicator, generateMockUrlIndicator, Indicator } from '../../../indicators'; +import { + generateMockIndicator, + generateMockUrlIndicator, + Indicator, +} from '../../../../../common/types/indicator'; import { TestProvidersComponent } from '../../../../common/mocks/test_providers'; import { InvestigateInTimelineButton, InvestigateInTimelineButtonIcon } from '.'; import { EMPTY_VALUE } from '../../../../common/constants'; diff --git a/x-pack/plugins/threat_intelligence/public/modules/timeline/components/investigate_in_timeline/investigate_in_timeline.tsx b/x-pack/plugins/threat_intelligence/public/modules/timeline/components/investigate_in_timeline/investigate_in_timeline.tsx index 2ded440b80c41..c99c02ac8f8a2 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/timeline/components/investigate_in_timeline/investigate_in_timeline.tsx +++ b/x-pack/plugins/threat_intelligence/public/modules/timeline/components/investigate_in_timeline/investigate_in_timeline.tsx @@ -10,7 +10,7 @@ import { EuiButton, EuiButtonIcon, EuiToolTip } from '@elastic/eui'; import { FormattedMessage } from '@kbn/i18n-react'; import { i18n } from '@kbn/i18n'; import { useInvestigateInTimeline } from '../../hooks'; -import { Indicator } from '../../../indicators'; +import { Indicator } from '../../../../../common/types/indicator'; const BUTTON_ICON_LABEL: string = i18n.translate( 'xpack.threatIntelligence.timeline.investigateInTimelineButtonIcon', diff --git a/x-pack/plugins/threat_intelligence/public/modules/timeline/hooks/use_add_to_timeline.test.tsx b/x-pack/plugins/threat_intelligence/public/modules/timeline/hooks/use_add_to_timeline.test.tsx index 94c7914c98698..f77219f7f5c6d 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/timeline/hooks/use_add_to_timeline.test.tsx +++ b/x-pack/plugins/threat_intelligence/public/modules/timeline/hooks/use_add_to_timeline.test.tsx @@ -7,7 +7,11 @@ import { EMPTY_VALUE } from '../../../common/constants'; import { Renderer, renderHook, RenderHookResult } from '@testing-library/react-hooks'; -import { generateMockIndicator, generateMockUrlIndicator, Indicator } from '../../indicators'; +import { + generateMockIndicator, + generateMockUrlIndicator, + Indicator, +} from '../../../../common/types/indicator'; import { TestProvidersComponent } from '../../../common/mocks/test_providers'; import { useAddToTimeline, UseAddToTimelineValue } from '.'; diff --git a/x-pack/plugins/threat_intelligence/public/modules/timeline/hooks/use_add_to_timeline.ts b/x-pack/plugins/threat_intelligence/public/modules/timeline/hooks/use_add_to_timeline.ts index 0cc0daf1a40d8..f23866ac5e3ea 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/timeline/hooks/use_add_to_timeline.ts +++ b/x-pack/plugins/threat_intelligence/public/modules/timeline/hooks/use_add_to_timeline.ts @@ -8,7 +8,8 @@ import { DataProvider } from '@kbn/timelines-plugin/common'; import { AddToTimelineButtonProps } from '@kbn/timelines-plugin/public'; import { generateDataProvider } from '../utils'; -import { fieldAndValueValid, getIndicatorFieldAndValue, Indicator } from '../../indicators'; +import { fieldAndValueValid, getIndicatorFieldAndValue } from '../../indicators'; +import { Indicator } from '../../../../common/types/indicator'; export interface UseAddToTimelineParam { /** diff --git a/x-pack/plugins/threat_intelligence/public/modules/timeline/hooks/use_investigate_in_timeline.test.tsx b/x-pack/plugins/threat_intelligence/public/modules/timeline/hooks/use_investigate_in_timeline.test.tsx index 661d8188eb878..b8c45e2095204 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/timeline/hooks/use_investigate_in_timeline.test.tsx +++ b/x-pack/plugins/threat_intelligence/public/modules/timeline/hooks/use_investigate_in_timeline.test.tsx @@ -7,7 +7,11 @@ import { Renderer, renderHook, RenderHookResult } from '@testing-library/react-hooks'; import { useInvestigateInTimeline, UseInvestigateInTimelineValue } from '.'; -import { generateMockIndicator, generateMockUrlIndicator, Indicator } from '../../indicators'; +import { + generateMockIndicator, + generateMockUrlIndicator, + Indicator, +} from '../../../../common/types/indicator'; import { TestProvidersComponent } from '../../../common/mocks/test_providers'; describe('useInvestigateInTimeline()', () => { diff --git a/x-pack/plugins/threat_intelligence/public/modules/timeline/hooks/use_investigate_in_timeline.ts b/x-pack/plugins/threat_intelligence/public/modules/timeline/hooks/use_investigate_in_timeline.ts index 5717b831d7951..d656976cfa4b2 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/timeline/hooks/use_investigate_in_timeline.ts +++ b/x-pack/plugins/threat_intelligence/public/modules/timeline/hooks/use_investigate_in_timeline.ts @@ -10,14 +10,12 @@ import moment from 'moment'; import { DataProvider } from '@kbn/timelines-plugin/common'; import { generateDataProvider } from '../utils'; import { SecuritySolutionContext } from '../../../containers/security_solution_context'; +import { fieldAndValueValid, getIndicatorFieldAndValue, unwrapValue } from '../../indicators'; import { - fieldAndValueValid, - getIndicatorFieldAndValue, Indicator, IndicatorFieldEventEnrichmentMap, RawIndicatorFieldId, - unwrapValue, -} from '../../indicators'; +} from '../../../../common/types/indicator'; export interface UseInvestigateInTimelineParam { /** diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/types/index.ts b/x-pack/plugins/threat_intelligence/server/index.ts similarity index 52% rename from x-pack/plugins/threat_intelligence/public/modules/indicators/types/index.ts rename to x-pack/plugins/threat_intelligence/server/index.ts index 4ea5306322ded..c658a352a6077 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/indicators/types/index.ts +++ b/x-pack/plugins/threat_intelligence/server/index.ts @@ -5,4 +5,9 @@ * 2.0. */ -export * from './indicator'; +import { PluginInitializerContext } from '@kbn/core/server'; +import { ThreatIntelligencePlugin } from './plugin'; + +export const plugin = (context: PluginInitializerContext) => { + return new ThreatIntelligencePlugin(context); +}; diff --git a/x-pack/plugins/threat_intelligence/server/plugin.ts b/x-pack/plugins/threat_intelligence/server/plugin.ts new file mode 100644 index 0000000000000..731659208dacc --- /dev/null +++ b/x-pack/plugins/threat_intelligence/server/plugin.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 type { PluginInitializerContext, Logger } from '@kbn/core/server'; +import { THREAT_INTELLIGENCE_SEARCH_STRATEGY_NAME } from '../common/constants'; +import { + IThreatIntelligencePlugin, + ThreatIntelligencePluginCoreSetupDependencies, + ThreatIntelligencePluginSetupDependencies, +} from './types'; +import { threatIntelligenceSearchStrategyProvider } from './search_strategy'; + +export class ThreatIntelligencePlugin implements IThreatIntelligencePlugin { + private readonly logger: Logger; + + constructor(context: PluginInitializerContext) { + this.logger = context.logger.get(); + } + + setup( + core: ThreatIntelligencePluginCoreSetupDependencies, + plugins: ThreatIntelligencePluginSetupDependencies + ) { + this.logger.debug('setup'); + + core.getStartServices().then(([_, { data: dataStartService }]) => { + const threatIntelligenceSearchStrategy = + threatIntelligenceSearchStrategyProvider(dataStartService); + + plugins.data.search.registerSearchStrategy( + THREAT_INTELLIGENCE_SEARCH_STRATEGY_NAME, + threatIntelligenceSearchStrategy + ); + + this.logger.debug(`search strategy "${THREAT_INTELLIGENCE_SEARCH_STRATEGY_NAME}" registered`); + }); + + return {}; + } + + start() { + this.logger.debug('start'); + + return {}; + } + + stop() { + this.logger.debug('stop'); + } +} diff --git a/x-pack/plugins/threat_intelligence/server/search_strategy.ts b/x-pack/plugins/threat_intelligence/server/search_strategy.ts new file mode 100644 index 0000000000000..0ea7a7a9458a8 --- /dev/null +++ b/x-pack/plugins/threat_intelligence/server/search_strategy.ts @@ -0,0 +1,110 @@ +/* + * 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 { + ENHANCED_ES_SEARCH_STRATEGY, + IEsSearchRequest, + ISearchRequestParams, +} from '@kbn/data-plugin/common'; +import { ISearchStrategy, PluginStart, shimHitsTotal } from '@kbn/data-plugin/server'; +import { map } from 'rxjs/operators'; +import { BARCHART_AGGREGATION_NAME, FactoryQueryType } from '../common/constants'; +import { RawIndicatorFieldId } from '../common/types/indicator'; +import { calculateBarchartColumnTimeInterval } from './utils/calculate_barchart_time_interval'; +import { createRuntimeMappings } from './utils/get_indicator_query_params'; + +const TIMESTAMP_FIELD = RawIndicatorFieldId.TimeStamp; + +function isObj(req: unknown): req is Record { + return typeof req === 'object' && req !== null; +} + +function assertValidRequestType(req: unknown): asserts req is Record { + if (!isObj(req) || req.factoryQueryType == null) { + throw new Error('factoryQueryType is required'); + } +} + +type BarchartAggregationRequest = IEsSearchRequest & { + dateRange: { + from: number; + to: number; + }; + field: string; +}; + +function isBarchartRequest(req: unknown): req is BarchartAggregationRequest { + return isObj(req) && req.factoryQueryType === FactoryQueryType.Barchart; +} + +const getAggregationsQuery = (request: BarchartAggregationRequest) => { + const { + dateRange: { from: min, to: max }, + field, + } = request; + + const interval = calculateBarchartColumnTimeInterval(min, max); + + return { + aggregations: { + [BARCHART_AGGREGATION_NAME]: { + terms: { + field, + }, + aggs: { + events: { + date_histogram: { + field: TIMESTAMP_FIELD, + fixed_interval: interval, + min_doc_count: 0, + extended_bounds: { + min, + max, + }, + }, + }, + }, + }, + }, + fields: [TIMESTAMP_FIELD, field], + size: 0, + }; +}; + +export const threatIntelligenceSearchStrategyProvider = (data: PluginStart): ISearchStrategy => { + const es = data.search.getSearchStrategy(ENHANCED_ES_SEARCH_STRATEGY); + + return { + search: (request, options, deps) => { + assertValidRequestType(request); + + const runtimeMappings = createRuntimeMappings(); + + const dsl = { + ...request.params, + runtime_mappings: runtimeMappings, + ...(isBarchartRequest(request) ? getAggregationsQuery(request) : {}), + } as unknown as ISearchRequestParams; + + return es.search({ ...request, params: dsl }, options, deps).pipe( + map((response) => { + return { + ...response, + ...{ + rawResponse: shimHitsTotal(response.rawResponse, options), + }, + }; + }) + ); + }, + cancel: async (id, options, deps) => { + if (es.cancel) { + return es.cancel(id, options, deps); + } + }, + }; +}; diff --git a/x-pack/plugins/threat_intelligence/server/types.ts b/x-pack/plugins/threat_intelligence/server/types.ts new file mode 100644 index 0000000000000..a9ad87a3f27c5 --- /dev/null +++ b/x-pack/plugins/threat_intelligence/server/types.ts @@ -0,0 +1,32 @@ +/* + * 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 { CoreSetup, CoreStart, Plugin } from '@kbn/core/server'; + +import { DataPluginSetup, DataPluginStart } from '@kbn/data-plugin/server/plugin'; + +export interface ThreatIntelligencePluginSetupDependencies { + data: DataPluginSetup; +} + +export interface ThreatIntelligencePluginStartDependencies { + data: DataPluginStart; +} + +export type ThreatIntelligencePluginCoreSetupDependencies = CoreSetup< + ThreatIntelligencePluginStartDependencies, + {} +>; + +export type ThreatIntelligencePluginCoreStartDependencies = CoreStart; + +export type IThreatIntelligencePlugin = Plugin< + {}, + {}, + ThreatIntelligencePluginSetupDependencies, + ThreatIntelligencePluginStartDependencies +>; diff --git a/x-pack/plugins/threat_intelligence/server/utils/calculate_barchart_time_interval.test.ts b/x-pack/plugins/threat_intelligence/server/utils/calculate_barchart_time_interval.test.ts new file mode 100644 index 0000000000000..98f705bf9d111 --- /dev/null +++ b/x-pack/plugins/threat_intelligence/server/utils/calculate_barchart_time_interval.test.ts @@ -0,0 +1,39 @@ +/* + * 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 moment from 'moment'; +import { calculateBarchartColumnTimeInterval } from './calculate_barchart_time_interval'; + +const mockValidStringDate = '1 Jan 2022 00:00:00 GMT'; + +describe('calculateBarchartTimeInterval', () => { + it('should handle number dates', () => { + const from = moment(mockValidStringDate).valueOf(); + const to = moment(mockValidStringDate).add(1, 'days').valueOf(); + + const interval = calculateBarchartColumnTimeInterval(from, to); + expect(interval).toContain('ms'); + expect(parseInt(interval, 10) > 0).toBeTruthy(); + }); + + it('should handle moment dates', () => { + const from = moment(mockValidStringDate); + const to = moment(mockValidStringDate).add(1, 'days'); + + const interval = calculateBarchartColumnTimeInterval(from, to); + expect(interval).toContain('ms'); + expect(parseInt(interval, 10) > 0).toBeTruthy(); + }); + + it('should handle dateTo older than dateFrom', () => { + const from = moment(mockValidStringDate).add(1, 'days'); + const to = moment(mockValidStringDate); + + const interval = calculateBarchartColumnTimeInterval(from, to); + expect(parseInt(interval, 10) > 0).toBeFalsy(); + }); +}); diff --git a/x-pack/plugins/threat_intelligence/server/utils/calculate_barchart_time_interval.ts b/x-pack/plugins/threat_intelligence/server/utils/calculate_barchart_time_interval.ts new file mode 100644 index 0000000000000..111e47bb6d193 --- /dev/null +++ b/x-pack/plugins/threat_intelligence/server/utils/calculate_barchart_time_interval.ts @@ -0,0 +1,27 @@ +/* + * 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 moment from 'moment'; + +export const BARCHART_NUMBER_OF_COLUMNS = 16; + +/** + * Calculates the time interval in ms for a specific number of columns + * @param dateFrom Min (older) date for the barchart + * @param dateTo Max (newer) date for the barchart + * @param numberOfColumns Desired number of columns (defaulted to {@link BARCHART_NUMBER_OF_COLUMNS}) + * @returns The interval in ms for a column (for example '100000ms') + */ +export const calculateBarchartColumnTimeInterval = ( + dateFrom: number | moment.Moment, + dateTo: number | moment.Moment, + numberOfColumns = BARCHART_NUMBER_OF_COLUMNS +): string => { + const from: number = moment.isMoment(dateFrom) ? dateFrom.valueOf() : dateFrom; + const to: number = moment.isMoment(dateTo) ? dateTo.valueOf() : dateTo; + return `${Math.floor(moment(to).diff(moment(from)) / numberOfColumns)}ms`; +}; diff --git a/x-pack/plugins/threat_intelligence/server/utils/get_indicator_query_params.ts b/x-pack/plugins/threat_intelligence/server/utils/get_indicator_query_params.ts new file mode 100644 index 0000000000000..5142c543c1871 --- /dev/null +++ b/x-pack/plugins/threat_intelligence/server/utils/get_indicator_query_params.ts @@ -0,0 +1,27 @@ +/* + * 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 { RawIndicatorFieldId } from '../../common/types/indicator'; +import { threatIndicatorNamesOriginScript, threatIndicatorNamesScript } from './indicator_name'; + +/** + * Prepare `runtime_mappings` used within TI search + */ +export const createRuntimeMappings = () => ({ + [RawIndicatorFieldId.Name]: { + type: 'keyword', + script: { + source: threatIndicatorNamesScript(), + }, + }, + [RawIndicatorFieldId.NameOrigin]: { + type: 'keyword', + script: { + source: threatIndicatorNamesOriginScript(), + }, + }, +}); diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/utils/get_runtime_mappings.ts b/x-pack/plugins/threat_intelligence/server/utils/get_runtime_mappings.ts similarity index 95% rename from x-pack/plugins/threat_intelligence/public/modules/indicators/utils/get_runtime_mappings.ts rename to x-pack/plugins/threat_intelligence/server/utils/get_runtime_mappings.ts index ed62b18e7c9b2..36380ffeaf0ab 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/indicators/utils/get_runtime_mappings.ts +++ b/x-pack/plugins/threat_intelligence/server/utils/get_runtime_mappings.ts @@ -5,7 +5,7 @@ * 2.0. */ -import { threatIndicatorNamesOriginScript, threatIndicatorNamesScript } from './display_name'; +import { threatIndicatorNamesOriginScript, threatIndicatorNamesScript } from './indicator_name'; export const getRuntimeMappings = () => ({ diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/utils/display_name.test.ts b/x-pack/plugins/threat_intelligence/server/utils/indicator_name.test.ts similarity index 99% rename from x-pack/plugins/threat_intelligence/public/modules/indicators/utils/display_name.test.ts rename to x-pack/plugins/threat_intelligence/server/utils/indicator_name.test.ts index cfc7f73a8d7f3..a3b11eed667c4 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/indicators/utils/display_name.test.ts +++ b/x-pack/plugins/threat_intelligence/server/utils/indicator_name.test.ts @@ -5,7 +5,7 @@ * 2.0. */ -import { threatIndicatorNamesOriginScript, threatIndicatorNamesScript } from './display_name'; +import { threatIndicatorNamesOriginScript, threatIndicatorNamesScript } from './indicator_name'; describe('display name generation', () => { describe('threatIndicatorNamesScript()', () => { diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/utils/display_name.ts b/x-pack/plugins/threat_intelligence/server/utils/indicator_name.ts similarity index 98% rename from x-pack/plugins/threat_intelligence/public/modules/indicators/utils/display_name.ts rename to x-pack/plugins/threat_intelligence/server/utils/indicator_name.ts index 31a149322efa9..60486ab767a80 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/indicators/utils/display_name.ts +++ b/x-pack/plugins/threat_intelligence/server/utils/indicator_name.ts @@ -6,7 +6,7 @@ */ import dedent from 'dedent'; -import { RawIndicatorFieldId } from '../types'; +import { RawIndicatorFieldId } from '../../common/types/indicator'; /** * Mapping connects one ore more types to field values that should be used to generate threat.indicator.name field. diff --git a/x-pack/plugins/threat_intelligence/tsconfig.json b/x-pack/plugins/threat_intelligence/tsconfig.json index aea4550210c13..ccdf417105b16 100644 --- a/x-pack/plugins/threat_intelligence/tsconfig.json +++ b/x-pack/plugins/threat_intelligence/tsconfig.json @@ -4,12 +4,15 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, + "declarationMap": true }, "include": [ "common/**/*", "public/**/*", + "server/**/*", "scripts/**/*", "public/**/*.json", + "server/**/*.json", "../../../typings/**/*" ], "kbn_references": [ From 5ca5ef3d00571dcc29fbd388f0640de194de6741 Mon Sep 17 00:00:00 2001 From: Dzmitry Lemechko Date: Mon, 31 Oct 2022 21:04:08 +0100 Subject: [PATCH 061/111] [performance/journeys] revert data_stress_test_lens.ts journey step (#144261) * [performance/journeys] open lens dashboard from dashboard list * revert to original test structure * [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix' * revert step name Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> --- x-pack/performance/journeys/data_stress_test_lens.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/x-pack/performance/journeys/data_stress_test_lens.ts b/x-pack/performance/journeys/data_stress_test_lens.ts index 1ea3094b15fcd..bc27506afabb2 100644 --- a/x-pack/performance/journeys/data_stress_test_lens.ts +++ b/x-pack/performance/journeys/data_stress_test_lens.ts @@ -6,7 +6,7 @@ */ import { Journey } from '@kbn/journeys'; -import { waitForChrome, waitForVisualizations } from '../utils'; +import { waitForVisualizations } from '../utils'; export const journey = new Journey({ kbnArchives: ['test/functional/fixtures/kbn_archiver/stress_test'], @@ -14,7 +14,5 @@ export const journey = new Journey({ }).step('Go to dashboard', async ({ page, kbnUrl, kibanaServer }) => { await kibanaServer.uiSettings.update({ 'histogram:maxBars': 100 }); await page.goto(kbnUrl.get(`/app/dashboards#/view/92b143a0-2e9c-11ed-b1b6-a504560b392c`)); - - await waitForChrome(page); await waitForVisualizations(page, 1); }); From e5179d39fb70c9e7b1f636ff693fe7b77d58629f Mon Sep 17 00:00:00 2001 From: Paul Tavares <56442535+paul-tavares@users.noreply.github.com> Date: Mon, 31 Oct 2022 16:15:16 -0400 Subject: [PATCH 062/111] [Security Solution][Endpoint] adds new alert loading utility and un-skip FTR test for endpoint (#144133) * FTR generator for endpoint rule alerts + mappings for the security alerts index * new method to load endpoint alerts directly to the index (bypass the rule) * Modify endpoint FTR test to use new alert loading tool * Fix Bulk Delete body payload format * adjustments from code review feedback --- .../endpoint_solution_integrations.ts | 16 +- .../alerts_security_index_mappings.ts | 5366 +++++++++++++++++ .../endpoint_rule_alert_generator.ts | 274 + .../services/detections/index.ts | 104 +- 4 files changed, 5752 insertions(+), 8 deletions(-) create mode 100644 x-pack/test/security_solution_ftr/services/detections/alerts_security_index_mappings.ts create mode 100644 x-pack/test/security_solution_ftr/services/detections/endpoint_rule_alert_generator.ts diff --git a/x-pack/test/security_solution_endpoint/apps/endpoint/endpoint_solution_integrations.ts b/x-pack/test/security_solution_endpoint/apps/endpoint/endpoint_solution_integrations.ts index 01c20030d2b85..314f8bcebd6dc 100644 --- a/x-pack/test/security_solution_endpoint/apps/endpoint/endpoint_solution_integrations.ts +++ b/x-pack/test/security_solution_endpoint/apps/endpoint/endpoint_solution_integrations.ts @@ -9,6 +9,7 @@ import { IndexedHostsAndAlertsResponse } from '@kbn/security-solution-plugin/com import { TimelineResponse } from '@kbn/security-solution-plugin/common/types'; import { kibanaPackageJson } from '@kbn/utils'; import { FtrProviderContext } from '../../ftr_provider_context'; +import { IndexedEndpointRuleAlerts } from '../../../security_solution_ftr/services/detections'; /** * Test suite is meant to cover usages of endpoint functionality or access to endpoint @@ -22,9 +23,9 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => { const testSubjects = getService('testSubjects'); const pageObjects = getPageObjects(['common', 'timeline']); - // FLAKY: https://github.com/elastic/kibana/issues/140701 - describe.skip('App level Endpoint functionality', () => { + describe('App level Endpoint functionality', () => { let indexedData: IndexedHostsAndAlertsResponse; + let indexedAlerts: IndexedEndpointRuleAlerts; let endpointAgentId: string; before(async () => { @@ -37,14 +38,13 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => { await endpointService.waitForUnitedEndpoints([endpointAgentId]); - // Ensure our Endpoint is for v8.0 (or whatever is running in kibana now) + // Ensure our Endpoint is for current version of kibana await endpointService.sendEndpointMetadataUpdate(endpointAgentId, { agent: { version: kibanaPackageJson.version }, }); - // start/stop the endpoint rule. This should cause the rule to run immediately - // and avoid us having to wait for the interval (of 5 minutes) - await detectionsTestService.stopStartEndpointRule(); + // Load alerts for our endpoint (so that we don't have to wait for the rule to run) + indexedAlerts = await detectionsTestService.loadEndpointRuleAlerts(endpointAgentId); }); after(async () => { @@ -52,6 +52,10 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => { log.info('Cleaning up loaded endpoint data'); await endpointService.unloadEndpointData(indexedData); } + + if (indexedAlerts) { + await indexedAlerts.cleanup(); + } }); describe('from Timeline', () => { diff --git a/x-pack/test/security_solution_ftr/services/detections/alerts_security_index_mappings.ts b/x-pack/test/security_solution_ftr/services/detections/alerts_security_index_mappings.ts new file mode 100644 index 0000000000000..40aefa6093384 --- /dev/null +++ b/x-pack/test/security_solution_ftr/services/detections/alerts_security_index_mappings.ts @@ -0,0 +1,5366 @@ +/* + * 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 { + IndexName, + IndicesAlias, + IndicesIndexSettings, + MappingTypeMapping, + Name, +} from '@elastic/elasticsearch/lib/api/types'; + +interface IndexMappings { + type: string; + value: { + index: IndexName; + aliases: Record; + mappings: MappingTypeMapping; + settings: IndicesIndexSettings; + }; +} + +export const getAlertsIndexMappings = (): IndexMappings => { + // Mapping below was generated by running `esArchiver()`: + // node ./scripts/es_archiver.js save ~/tmp/es_archive_alerts .internal.alerts-security.alerts-default-* + + return { + type: 'index', + value: { + aliases: { + '.alerts-security.alerts-default': { + is_write_index: true, + }, + '.siem-signals-default': { + is_write_index: false, + }, + }, + index: '.internal.alerts-security.alerts-default-000001', + mappings: { + _meta: { + kibana: { + version: '8.6.0', + }, + namespace: 'default', + }, + dynamic: 'false', + properties: { + '@timestamp': { + type: 'date', + }, + agent: { + properties: { + build: { + properties: { + original: { + type: 'keyword', + }, + }, + }, + ephemeral_id: { + type: 'keyword', + }, + id: { + type: 'keyword', + }, + name: { + type: 'keyword', + }, + type: { + type: 'keyword', + }, + version: { + type: 'keyword', + }, + }, + }, + client: { + properties: { + address: { + type: 'keyword', + }, + as: { + properties: { + number: { + type: 'long', + }, + organization: { + properties: { + name: { + type: 'keyword', + }, + }, + }, + }, + }, + bytes: { + type: 'long', + }, + domain: { + type: 'keyword', + }, + geo: { + properties: { + city_name: { + type: 'keyword', + }, + continent_code: { + type: 'keyword', + }, + continent_name: { + type: 'keyword', + }, + country_iso_code: { + type: 'keyword', + }, + country_name: { + type: 'keyword', + }, + location: { + type: 'geo_point', + }, + name: { + type: 'keyword', + }, + postal_code: { + type: 'keyword', + }, + region_iso_code: { + type: 'keyword', + }, + region_name: { + type: 'keyword', + }, + timezone: { + type: 'keyword', + }, + }, + }, + ip: { + type: 'ip', + }, + mac: { + type: 'keyword', + }, + nat: { + properties: { + ip: { + type: 'ip', + }, + port: { + type: 'long', + }, + }, + }, + packets: { + type: 'long', + }, + port: { + type: 'long', + }, + registered_domain: { + type: 'keyword', + }, + subdomain: { + type: 'keyword', + }, + top_level_domain: { + type: 'keyword', + }, + user: { + properties: { + domain: { + type: 'keyword', + }, + email: { + type: 'keyword', + }, + full_name: { + type: 'keyword', + }, + group: { + properties: { + domain: { + type: 'keyword', + }, + id: { + type: 'keyword', + }, + name: { + type: 'keyword', + }, + }, + }, + hash: { + type: 'keyword', + }, + id: { + type: 'keyword', + }, + name: { + type: 'keyword', + }, + roles: { + type: 'keyword', + }, + }, + }, + }, + }, + cloud: { + properties: { + account: { + properties: { + id: { + type: 'keyword', + }, + name: { + type: 'keyword', + }, + }, + }, + availability_zone: { + type: 'keyword', + }, + instance: { + properties: { + id: { + type: 'keyword', + }, + name: { + type: 'keyword', + }, + }, + }, + machine: { + properties: { + type: { + type: 'keyword', + }, + }, + }, + origin: { + properties: { + account: { + properties: { + id: { + type: 'keyword', + }, + name: { + type: 'keyword', + }, + }, + }, + availability_zone: { + type: 'keyword', + }, + instance: { + properties: { + id: { + type: 'keyword', + }, + name: { + type: 'keyword', + }, + }, + }, + machine: { + properties: { + type: { + type: 'keyword', + }, + }, + }, + project: { + properties: { + id: { + type: 'keyword', + }, + name: { + type: 'keyword', + }, + }, + }, + provider: { + type: 'keyword', + }, + region: { + type: 'keyword', + }, + service: { + properties: { + name: { + type: 'keyword', + }, + }, + }, + }, + }, + project: { + properties: { + id: { + type: 'keyword', + }, + name: { + type: 'keyword', + }, + }, + }, + provider: { + type: 'keyword', + }, + region: { + type: 'keyword', + }, + service: { + properties: { + name: { + type: 'keyword', + }, + }, + }, + target: { + properties: { + account: { + properties: { + id: { + type: 'keyword', + }, + name: { + type: 'keyword', + }, + }, + }, + availability_zone: { + type: 'keyword', + }, + instance: { + properties: { + id: { + type: 'keyword', + }, + name: { + type: 'keyword', + }, + }, + }, + machine: { + properties: { + type: { + type: 'keyword', + }, + }, + }, + project: { + properties: { + id: { + type: 'keyword', + }, + name: { + type: 'keyword', + }, + }, + }, + provider: { + type: 'keyword', + }, + region: { + type: 'keyword', + }, + service: { + properties: { + name: { + type: 'keyword', + }, + }, + }, + }, + }, + }, + }, + container: { + properties: { + id: { + type: 'keyword', + }, + image: { + properties: { + name: { + type: 'keyword', + }, + tag: { + type: 'keyword', + }, + }, + }, + labels: { + type: 'object', + }, + name: { + type: 'keyword', + }, + runtime: { + type: 'keyword', + }, + }, + }, + destination: { + properties: { + address: { + type: 'keyword', + }, + as: { + properties: { + number: { + type: 'long', + }, + organization: { + properties: { + name: { + type: 'keyword', + }, + }, + }, + }, + }, + bytes: { + type: 'long', + }, + domain: { + type: 'keyword', + }, + geo: { + properties: { + city_name: { + type: 'keyword', + }, + continent_code: { + type: 'keyword', + }, + continent_name: { + type: 'keyword', + }, + country_iso_code: { + type: 'keyword', + }, + country_name: { + type: 'keyword', + }, + location: { + type: 'geo_point', + }, + name: { + type: 'keyword', + }, + postal_code: { + type: 'keyword', + }, + region_iso_code: { + type: 'keyword', + }, + region_name: { + type: 'keyword', + }, + timezone: { + type: 'keyword', + }, + }, + }, + ip: { + type: 'ip', + }, + mac: { + type: 'keyword', + }, + nat: { + properties: { + ip: { + type: 'ip', + }, + port: { + type: 'long', + }, + }, + }, + packets: { + type: 'long', + }, + port: { + type: 'long', + }, + registered_domain: { + type: 'keyword', + }, + subdomain: { + type: 'keyword', + }, + top_level_domain: { + type: 'keyword', + }, + user: { + properties: { + domain: { + type: 'keyword', + }, + email: { + type: 'keyword', + }, + full_name: { + type: 'keyword', + }, + group: { + properties: { + domain: { + type: 'keyword', + }, + id: { + type: 'keyword', + }, + name: { + type: 'keyword', + }, + }, + }, + hash: { + type: 'keyword', + }, + id: { + type: 'keyword', + }, + name: { + type: 'keyword', + }, + roles: { + type: 'keyword', + }, + }, + }, + }, + }, + dll: { + properties: { + code_signature: { + properties: { + digest_algorithm: { + type: 'keyword', + }, + exists: { + type: 'boolean', + }, + signing_id: { + type: 'keyword', + }, + status: { + type: 'keyword', + }, + subject_name: { + type: 'keyword', + }, + team_id: { + type: 'keyword', + }, + timestamp: { + type: 'date', + }, + trusted: { + type: 'boolean', + }, + valid: { + type: 'boolean', + }, + }, + }, + hash: { + properties: { + md5: { + type: 'keyword', + }, + sha1: { + type: 'keyword', + }, + sha256: { + type: 'keyword', + }, + sha512: { + type: 'keyword', + }, + ssdeep: { + type: 'keyword', + }, + }, + }, + name: { + type: 'keyword', + }, + path: { + type: 'keyword', + }, + pe: { + properties: { + architecture: { + type: 'keyword', + }, + company: { + type: 'keyword', + }, + description: { + type: 'keyword', + }, + file_version: { + type: 'keyword', + }, + imphash: { + type: 'keyword', + }, + original_file_name: { + type: 'keyword', + }, + product: { + type: 'keyword', + }, + }, + }, + }, + }, + dns: { + properties: { + answers: { + properties: { + class: { + type: 'keyword', + }, + data: { + type: 'keyword', + }, + name: { + type: 'keyword', + }, + ttl: { + type: 'long', + }, + type: { + type: 'keyword', + }, + }, + }, + header_flags: { + type: 'keyword', + }, + id: { + type: 'keyword', + }, + op_code: { + type: 'keyword', + }, + question: { + properties: { + class: { + type: 'keyword', + }, + name: { + type: 'keyword', + }, + registered_domain: { + type: 'keyword', + }, + subdomain: { + type: 'keyword', + }, + top_level_domain: { + type: 'keyword', + }, + type: { + type: 'keyword', + }, + }, + }, + resolved_ip: { + type: 'ip', + }, + response_code: { + type: 'keyword', + }, + type: { + type: 'keyword', + }, + }, + }, + ecs: { + properties: { + version: { + type: 'keyword', + }, + }, + }, + error: { + properties: { + code: { + type: 'keyword', + }, + id: { + type: 'keyword', + }, + message: { + type: 'match_only_text', + }, + stack_trace: { + type: 'wildcard', + }, + type: { + type: 'keyword', + }, + }, + }, + event: { + properties: { + action: { + type: 'keyword', + }, + agent_id_status: { + type: 'keyword', + }, + category: { + type: 'keyword', + }, + code: { + type: 'keyword', + }, + created: { + type: 'date', + }, + dataset: { + type: 'keyword', + }, + duration: { + type: 'long', + }, + end: { + type: 'date', + }, + hash: { + type: 'keyword', + }, + id: { + type: 'keyword', + }, + ingested: { + type: 'date', + }, + kind: { + type: 'keyword', + }, + module: { + type: 'keyword', + }, + original: { + type: 'keyword', + }, + outcome: { + type: 'keyword', + }, + provider: { + type: 'keyword', + }, + reason: { + type: 'keyword', + }, + reference: { + type: 'keyword', + }, + risk_score: { + type: 'float', + }, + risk_score_norm: { + type: 'float', + }, + sequence: { + type: 'long', + }, + severity: { + type: 'long', + }, + start: { + type: 'date', + }, + timezone: { + type: 'keyword', + }, + type: { + type: 'keyword', + }, + url: { + type: 'keyword', + }, + }, + }, + faas: { + properties: { + coldstart: { + type: 'boolean', + }, + execution: { + type: 'keyword', + }, + trigger: { + properties: { + request_id: { + type: 'keyword', + }, + type: { + type: 'keyword', + }, + }, + type: 'nested', + }, + }, + }, + file: { + properties: { + accessed: { + type: 'date', + }, + attributes: { + type: 'keyword', + }, + code_signature: { + properties: { + digest_algorithm: { + type: 'keyword', + }, + exists: { + type: 'boolean', + }, + signing_id: { + type: 'keyword', + }, + status: { + type: 'keyword', + }, + subject_name: { + type: 'keyword', + }, + team_id: { + type: 'keyword', + }, + timestamp: { + type: 'date', + }, + trusted: { + type: 'boolean', + }, + valid: { + type: 'boolean', + }, + }, + }, + created: { + type: 'date', + }, + ctime: { + type: 'date', + }, + device: { + type: 'keyword', + }, + directory: { + type: 'keyword', + }, + drive_letter: { + type: 'keyword', + }, + elf: { + properties: { + architecture: { + type: 'keyword', + }, + byte_order: { + type: 'keyword', + }, + cpu_type: { + type: 'keyword', + }, + creation_date: { + type: 'date', + }, + exports: { + type: 'flattened', + }, + header: { + properties: { + abi_version: { + type: 'keyword', + }, + class: { + type: 'keyword', + }, + data: { + type: 'keyword', + }, + entrypoint: { + type: 'long', + }, + object_version: { + type: 'keyword', + }, + os_abi: { + type: 'keyword', + }, + type: { + type: 'keyword', + }, + version: { + type: 'keyword', + }, + }, + }, + imports: { + type: 'flattened', + }, + sections: { + properties: { + chi2: { + type: 'long', + }, + entropy: { + type: 'long', + }, + flags: { + type: 'keyword', + }, + name: { + type: 'keyword', + }, + physical_offset: { + type: 'keyword', + }, + physical_size: { + type: 'long', + }, + type: { + type: 'keyword', + }, + virtual_address: { + type: 'long', + }, + virtual_size: { + type: 'long', + }, + }, + type: 'nested', + }, + segments: { + properties: { + sections: { + type: 'keyword', + }, + type: { + type: 'keyword', + }, + }, + type: 'nested', + }, + shared_libraries: { + type: 'keyword', + }, + telfhash: { + type: 'keyword', + }, + }, + }, + extension: { + type: 'keyword', + }, + fork_name: { + type: 'keyword', + }, + gid: { + type: 'keyword', + }, + group: { + type: 'keyword', + }, + hash: { + properties: { + md5: { + type: 'keyword', + }, + sha1: { + type: 'keyword', + }, + sha256: { + type: 'keyword', + }, + sha512: { + type: 'keyword', + }, + ssdeep: { + type: 'keyword', + }, + }, + }, + inode: { + type: 'keyword', + }, + mime_type: { + type: 'keyword', + }, + mode: { + type: 'keyword', + }, + mtime: { + type: 'date', + }, + name: { + type: 'keyword', + }, + owner: { + type: 'keyword', + }, + path: { + type: 'keyword', + }, + pe: { + properties: { + architecture: { + type: 'keyword', + }, + company: { + type: 'keyword', + }, + description: { + type: 'keyword', + }, + file_version: { + type: 'keyword', + }, + imphash: { + type: 'keyword', + }, + original_file_name: { + type: 'keyword', + }, + product: { + type: 'keyword', + }, + }, + }, + size: { + type: 'long', + }, + target_path: { + type: 'keyword', + }, + type: { + type: 'keyword', + }, + uid: { + type: 'keyword', + }, + x509: { + properties: { + alternative_names: { + type: 'keyword', + }, + issuer: { + properties: { + common_name: { + type: 'keyword', + }, + country: { + type: 'keyword', + }, + distinguished_name: { + type: 'keyword', + }, + locality: { + type: 'keyword', + }, + organization: { + type: 'keyword', + }, + organizational_unit: { + type: 'keyword', + }, + state_or_province: { + type: 'keyword', + }, + }, + }, + not_after: { + type: 'date', + }, + not_before: { + type: 'date', + }, + public_key_algorithm: { + type: 'keyword', + }, + public_key_curve: { + type: 'keyword', + }, + public_key_exponent: { + type: 'long', + }, + public_key_size: { + type: 'long', + }, + serial_number: { + type: 'keyword', + }, + signature_algorithm: { + type: 'keyword', + }, + subject: { + properties: { + common_name: { + type: 'keyword', + }, + country: { + type: 'keyword', + }, + distinguished_name: { + type: 'keyword', + }, + locality: { + type: 'keyword', + }, + organization: { + type: 'keyword', + }, + organizational_unit: { + type: 'keyword', + }, + state_or_province: { + type: 'keyword', + }, + }, + }, + version_number: { + type: 'keyword', + }, + }, + }, + }, + }, + group: { + properties: { + domain: { + type: 'keyword', + }, + id: { + type: 'keyword', + }, + name: { + type: 'keyword', + }, + }, + }, + host: { + properties: { + architecture: { + type: 'keyword', + }, + boot: { + properties: { + id: { + type: 'keyword', + }, + }, + }, + cpu: { + properties: { + usage: { + scaling_factor: 1000, + type: 'scaled_float', + }, + }, + }, + disk: { + properties: { + read: { + properties: { + bytes: { + type: 'long', + }, + }, + }, + write: { + properties: { + bytes: { + type: 'long', + }, + }, + }, + }, + }, + domain: { + type: 'keyword', + }, + geo: { + properties: { + city_name: { + type: 'keyword', + }, + continent_code: { + type: 'keyword', + }, + continent_name: { + type: 'keyword', + }, + country_iso_code: { + type: 'keyword', + }, + country_name: { + type: 'keyword', + }, + location: { + type: 'geo_point', + }, + name: { + type: 'keyword', + }, + postal_code: { + type: 'keyword', + }, + region_iso_code: { + type: 'keyword', + }, + region_name: { + type: 'keyword', + }, + timezone: { + type: 'keyword', + }, + }, + }, + hostname: { + type: 'keyword', + }, + id: { + type: 'keyword', + }, + ip: { + type: 'ip', + }, + mac: { + type: 'keyword', + }, + name: { + type: 'keyword', + }, + network: { + properties: { + egress: { + properties: { + bytes: { + type: 'long', + }, + packets: { + type: 'long', + }, + }, + }, + ingress: { + properties: { + bytes: { + type: 'long', + }, + packets: { + type: 'long', + }, + }, + }, + }, + }, + os: { + properties: { + family: { + type: 'keyword', + }, + full: { + type: 'keyword', + }, + kernel: { + type: 'keyword', + }, + name: { + type: 'keyword', + }, + platform: { + type: 'keyword', + }, + type: { + type: 'keyword', + }, + version: { + type: 'keyword', + }, + }, + }, + pid_ns_ino: { + type: 'keyword', + }, + risk: { + properties: { + calculated_level: { + type: 'keyword', + }, + calculated_score: { + type: 'float', + }, + calculated_score_norm: { + type: 'float', + }, + static_level: { + type: 'keyword', + }, + static_score: { + type: 'float', + }, + static_score_norm: { + type: 'float', + }, + }, + }, + type: { + type: 'keyword', + }, + uptime: { + type: 'long', + }, + }, + }, + http: { + properties: { + request: { + properties: { + body: { + properties: { + bytes: { + type: 'long', + }, + content: { + type: 'wildcard', + }, + }, + }, + bytes: { + type: 'long', + }, + id: { + type: 'keyword', + }, + method: { + type: 'keyword', + }, + mime_type: { + type: 'keyword', + }, + referrer: { + type: 'keyword', + }, + }, + }, + response: { + properties: { + body: { + properties: { + bytes: { + type: 'long', + }, + content: { + type: 'wildcard', + }, + }, + }, + bytes: { + type: 'long', + }, + mime_type: { + type: 'keyword', + }, + status_code: { + type: 'long', + }, + }, + }, + version: { + type: 'keyword', + }, + }, + }, + kibana: { + properties: { + alert: { + properties: { + action_group: { + type: 'keyword', + }, + ancestors: { + properties: { + depth: { + type: 'long', + }, + id: { + type: 'keyword', + }, + index: { + type: 'keyword', + }, + rule: { + type: 'keyword', + }, + type: { + type: 'keyword', + }, + }, + }, + building_block_type: { + type: 'keyword', + }, + depth: { + type: 'long', + }, + duration: { + properties: { + us: { + type: 'long', + }, + }, + }, + end: { + type: 'date', + }, + group: { + properties: { + id: { + type: 'keyword', + }, + index: { + type: 'integer', + }, + }, + }, + instance: { + properties: { + id: { + type: 'keyword', + }, + }, + }, + new_terms: { + type: 'keyword', + }, + original_event: { + properties: { + action: { + type: 'keyword', + }, + agent_id_status: { + type: 'keyword', + }, + category: { + type: 'keyword', + }, + code: { + type: 'keyword', + }, + created: { + type: 'date', + }, + dataset: { + type: 'keyword', + }, + duration: { + type: 'keyword', + }, + end: { + type: 'date', + }, + hash: { + type: 'keyword', + }, + id: { + type: 'keyword', + }, + ingested: { + type: 'date', + }, + kind: { + type: 'keyword', + }, + module: { + type: 'keyword', + }, + original: { + type: 'keyword', + }, + outcome: { + type: 'keyword', + }, + provider: { + type: 'keyword', + }, + reason: { + type: 'keyword', + }, + reference: { + type: 'keyword', + }, + risk_score: { + type: 'float', + }, + risk_score_norm: { + type: 'float', + }, + sequence: { + type: 'long', + }, + severity: { + type: 'long', + }, + start: { + type: 'date', + }, + timezone: { + type: 'keyword', + }, + type: { + type: 'keyword', + }, + url: { + type: 'keyword', + }, + }, + }, + original_time: { + type: 'date', + }, + reason: { + type: 'keyword', + }, + risk_score: { + type: 'float', + }, + rule: { + properties: { + author: { + type: 'keyword', + }, + building_block_type: { + type: 'keyword', + }, + category: { + type: 'keyword', + }, + consumer: { + type: 'keyword', + }, + created_at: { + type: 'date', + }, + created_by: { + type: 'keyword', + }, + description: { + type: 'keyword', + }, + enabled: { + type: 'keyword', + }, + exceptions_list: { + type: 'object', + }, + execution: { + properties: { + uuid: { + type: 'keyword', + }, + }, + }, + false_positives: { + type: 'keyword', + }, + from: { + type: 'keyword', + }, + immutable: { + type: 'keyword', + }, + interval: { + type: 'keyword', + }, + license: { + type: 'keyword', + }, + max_signals: { + type: 'long', + }, + name: { + type: 'keyword', + }, + note: { + type: 'keyword', + }, + parameters: { + ignore_above: 4096, + type: 'flattened', + }, + producer: { + type: 'keyword', + }, + references: { + type: 'keyword', + }, + rule_id: { + type: 'keyword', + }, + rule_name_override: { + type: 'keyword', + }, + rule_type_id: { + type: 'keyword', + }, + tags: { + type: 'keyword', + }, + threat: { + properties: { + framework: { + type: 'keyword', + }, + tactic: { + properties: { + id: { + type: 'keyword', + }, + name: { + type: 'keyword', + }, + reference: { + type: 'keyword', + }, + }, + }, + technique: { + properties: { + id: { + type: 'keyword', + }, + name: { + type: 'keyword', + }, + reference: { + type: 'keyword', + }, + subtechnique: { + properties: { + id: { + type: 'keyword', + }, + name: { + type: 'keyword', + }, + reference: { + type: 'keyword', + }, + }, + }, + }, + }, + }, + }, + timeline_id: { + type: 'keyword', + }, + timeline_title: { + type: 'keyword', + }, + timestamp_override: { + type: 'keyword', + }, + to: { + type: 'keyword', + }, + type: { + type: 'keyword', + }, + updated_at: { + type: 'date', + }, + updated_by: { + type: 'keyword', + }, + uuid: { + type: 'keyword', + }, + version: { + type: 'keyword', + }, + }, + }, + severity: { + type: 'keyword', + }, + start: { + type: 'date', + }, + status: { + type: 'keyword', + }, + system_status: { + type: 'keyword', + }, + threshold_result: { + properties: { + cardinality: { + properties: { + field: { + type: 'keyword', + }, + value: { + type: 'long', + }, + }, + }, + count: { + type: 'long', + }, + from: { + type: 'date', + }, + terms: { + properties: { + field: { + type: 'keyword', + }, + value: { + type: 'keyword', + }, + }, + }, + }, + }, + time_range: { + format: 'epoch_millis||strict_date_optional_time', + type: 'date_range', + }, + uuid: { + type: 'keyword', + }, + workflow_reason: { + type: 'keyword', + }, + workflow_status: { + type: 'keyword', + }, + workflow_user: { + type: 'keyword', + }, + }, + }, + space_ids: { + type: 'keyword', + }, + version: { + type: 'version', + }, + }, + }, + labels: { + type: 'object', + }, + log: { + properties: { + file: { + properties: { + path: { + type: 'keyword', + }, + }, + }, + level: { + type: 'keyword', + }, + logger: { + type: 'keyword', + }, + origin: { + properties: { + file: { + properties: { + line: { + type: 'long', + }, + name: { + type: 'keyword', + }, + }, + }, + function: { + type: 'keyword', + }, + }, + }, + syslog: { + properties: { + facility: { + properties: { + code: { + type: 'long', + }, + name: { + type: 'keyword', + }, + }, + }, + priority: { + type: 'long', + }, + severity: { + properties: { + code: { + type: 'long', + }, + name: { + type: 'keyword', + }, + }, + }, + }, + }, + }, + }, + message: { + type: 'match_only_text', + }, + network: { + properties: { + application: { + type: 'keyword', + }, + bytes: { + type: 'long', + }, + community_id: { + type: 'keyword', + }, + direction: { + type: 'keyword', + }, + forwarded_ip: { + type: 'ip', + }, + iana_number: { + type: 'keyword', + }, + inner: { + properties: { + vlan: { + properties: { + id: { + type: 'keyword', + }, + name: { + type: 'keyword', + }, + }, + }, + }, + }, + name: { + type: 'keyword', + }, + packets: { + type: 'long', + }, + protocol: { + type: 'keyword', + }, + transport: { + type: 'keyword', + }, + type: { + type: 'keyword', + }, + vlan: { + properties: { + id: { + type: 'keyword', + }, + name: { + type: 'keyword', + }, + }, + }, + }, + }, + observer: { + properties: { + egress: { + properties: { + interface: { + properties: { + alias: { + type: 'keyword', + }, + id: { + type: 'keyword', + }, + name: { + type: 'keyword', + }, + }, + }, + vlan: { + properties: { + id: { + type: 'keyword', + }, + name: { + type: 'keyword', + }, + }, + }, + zone: { + type: 'keyword', + }, + }, + }, + geo: { + properties: { + city_name: { + type: 'keyword', + }, + continent_code: { + type: 'keyword', + }, + continent_name: { + type: 'keyword', + }, + country_iso_code: { + type: 'keyword', + }, + country_name: { + type: 'keyword', + }, + location: { + type: 'geo_point', + }, + name: { + type: 'keyword', + }, + postal_code: { + type: 'keyword', + }, + region_iso_code: { + type: 'keyword', + }, + region_name: { + type: 'keyword', + }, + timezone: { + type: 'keyword', + }, + }, + }, + hostname: { + type: 'keyword', + }, + ingress: { + properties: { + interface: { + properties: { + alias: { + type: 'keyword', + }, + id: { + type: 'keyword', + }, + name: { + type: 'keyword', + }, + }, + }, + vlan: { + properties: { + id: { + type: 'keyword', + }, + name: { + type: 'keyword', + }, + }, + }, + zone: { + type: 'keyword', + }, + }, + }, + ip: { + type: 'ip', + }, + mac: { + type: 'keyword', + }, + name: { + type: 'keyword', + }, + os: { + properties: { + family: { + type: 'keyword', + }, + full: { + type: 'keyword', + }, + kernel: { + type: 'keyword', + }, + name: { + type: 'keyword', + }, + platform: { + type: 'keyword', + }, + type: { + type: 'keyword', + }, + version: { + type: 'keyword', + }, + }, + }, + product: { + type: 'keyword', + }, + serial_number: { + type: 'keyword', + }, + type: { + type: 'keyword', + }, + vendor: { + type: 'keyword', + }, + version: { + type: 'keyword', + }, + }, + }, + orchestrator: { + properties: { + api_version: { + type: 'keyword', + }, + cluster: { + properties: { + id: { + type: 'keyword', + }, + name: { + type: 'keyword', + }, + url: { + type: 'keyword', + }, + version: { + type: 'keyword', + }, + }, + }, + namespace: { + type: 'keyword', + }, + organization: { + type: 'keyword', + }, + resource: { + properties: { + id: { + type: 'keyword', + }, + ip: { + type: 'ip', + }, + name: { + type: 'keyword', + }, + parent: { + properties: { + type: { + type: 'keyword', + }, + }, + }, + type: { + type: 'keyword', + }, + }, + }, + type: { + type: 'keyword', + }, + }, + }, + organization: { + properties: { + id: { + type: 'keyword', + }, + name: { + type: 'keyword', + }, + }, + }, + package: { + properties: { + architecture: { + type: 'keyword', + }, + build_version: { + type: 'keyword', + }, + checksum: { + type: 'keyword', + }, + description: { + type: 'keyword', + }, + install_scope: { + type: 'keyword', + }, + installed: { + type: 'date', + }, + license: { + type: 'keyword', + }, + name: { + type: 'keyword', + }, + path: { + type: 'keyword', + }, + reference: { + type: 'keyword', + }, + size: { + type: 'long', + }, + type: { + type: 'keyword', + }, + version: { + type: 'keyword', + }, + }, + }, + process: { + properties: { + args: { + type: 'keyword', + }, + args_count: { + type: 'long', + }, + code_signature: { + properties: { + digest_algorithm: { + type: 'keyword', + }, + exists: { + type: 'boolean', + }, + signing_id: { + type: 'keyword', + }, + status: { + type: 'keyword', + }, + subject_name: { + type: 'keyword', + }, + team_id: { + type: 'keyword', + }, + timestamp: { + type: 'date', + }, + trusted: { + type: 'boolean', + }, + valid: { + type: 'boolean', + }, + }, + }, + command_line: { + type: 'wildcard', + }, + elf: { + properties: { + architecture: { + type: 'keyword', + }, + byte_order: { + type: 'keyword', + }, + cpu_type: { + type: 'keyword', + }, + creation_date: { + type: 'date', + }, + exports: { + type: 'flattened', + }, + header: { + properties: { + abi_version: { + type: 'keyword', + }, + class: { + type: 'keyword', + }, + data: { + type: 'keyword', + }, + entrypoint: { + type: 'long', + }, + object_version: { + type: 'keyword', + }, + os_abi: { + type: 'keyword', + }, + type: { + type: 'keyword', + }, + version: { + type: 'keyword', + }, + }, + }, + imports: { + type: 'flattened', + }, + sections: { + properties: { + chi2: { + type: 'long', + }, + entropy: { + type: 'long', + }, + flags: { + type: 'keyword', + }, + name: { + type: 'keyword', + }, + physical_offset: { + type: 'keyword', + }, + physical_size: { + type: 'long', + }, + type: { + type: 'keyword', + }, + virtual_address: { + type: 'long', + }, + virtual_size: { + type: 'long', + }, + }, + type: 'nested', + }, + segments: { + properties: { + sections: { + type: 'keyword', + }, + type: { + type: 'keyword', + }, + }, + type: 'nested', + }, + shared_libraries: { + type: 'keyword', + }, + telfhash: { + type: 'keyword', + }, + }, + }, + end: { + type: 'date', + }, + entity_id: { + type: 'keyword', + }, + entry_leader: { + properties: { + entity_id: { + type: 'keyword', + }, + }, + }, + executable: { + type: 'keyword', + }, + exit_code: { + type: 'long', + }, + hash: { + properties: { + md5: { + type: 'keyword', + }, + sha1: { + type: 'keyword', + }, + sha256: { + type: 'keyword', + }, + sha512: { + type: 'keyword', + }, + ssdeep: { + type: 'keyword', + }, + }, + }, + name: { + type: 'keyword', + }, + parent: { + properties: { + args: { + type: 'keyword', + }, + args_count: { + type: 'long', + }, + code_signature: { + properties: { + digest_algorithm: { + type: 'keyword', + }, + exists: { + type: 'boolean', + }, + signing_id: { + type: 'keyword', + }, + status: { + type: 'keyword', + }, + subject_name: { + type: 'keyword', + }, + team_id: { + type: 'keyword', + }, + timestamp: { + type: 'date', + }, + trusted: { + type: 'boolean', + }, + valid: { + type: 'boolean', + }, + }, + }, + command_line: { + type: 'wildcard', + }, + elf: { + properties: { + architecture: { + type: 'keyword', + }, + byte_order: { + type: 'keyword', + }, + cpu_type: { + type: 'keyword', + }, + creation_date: { + type: 'date', + }, + exports: { + type: 'flattened', + }, + header: { + properties: { + abi_version: { + type: 'keyword', + }, + class: { + type: 'keyword', + }, + data: { + type: 'keyword', + }, + entrypoint: { + type: 'long', + }, + object_version: { + type: 'keyword', + }, + os_abi: { + type: 'keyword', + }, + type: { + type: 'keyword', + }, + version: { + type: 'keyword', + }, + }, + }, + imports: { + type: 'flattened', + }, + sections: { + properties: { + chi2: { + type: 'long', + }, + entropy: { + type: 'long', + }, + flags: { + type: 'keyword', + }, + name: { + type: 'keyword', + }, + physical_offset: { + type: 'keyword', + }, + physical_size: { + type: 'long', + }, + type: { + type: 'keyword', + }, + virtual_address: { + type: 'long', + }, + virtual_size: { + type: 'long', + }, + }, + type: 'nested', + }, + segments: { + properties: { + sections: { + type: 'keyword', + }, + type: { + type: 'keyword', + }, + }, + type: 'nested', + }, + shared_libraries: { + type: 'keyword', + }, + telfhash: { + type: 'keyword', + }, + }, + }, + end: { + type: 'date', + }, + entity_id: { + type: 'keyword', + }, + executable: { + type: 'keyword', + }, + exit_code: { + type: 'long', + }, + hash: { + properties: { + md5: { + type: 'keyword', + }, + sha1: { + type: 'keyword', + }, + sha256: { + type: 'keyword', + }, + sha512: { + type: 'keyword', + }, + ssdeep: { + type: 'keyword', + }, + }, + }, + name: { + type: 'keyword', + }, + pe: { + properties: { + architecture: { + type: 'keyword', + }, + company: { + type: 'keyword', + }, + description: { + type: 'keyword', + }, + file_version: { + type: 'keyword', + }, + imphash: { + type: 'keyword', + }, + original_file_name: { + type: 'keyword', + }, + product: { + type: 'keyword', + }, + }, + }, + pgid: { + type: 'long', + }, + pid: { + type: 'long', + }, + start: { + type: 'date', + }, + thread: { + properties: { + id: { + type: 'long', + }, + name: { + type: 'keyword', + }, + }, + }, + title: { + type: 'keyword', + }, + uptime: { + type: 'long', + }, + working_directory: { + type: 'keyword', + }, + }, + }, + pe: { + properties: { + architecture: { + type: 'keyword', + }, + company: { + type: 'keyword', + }, + description: { + type: 'keyword', + }, + file_version: { + type: 'keyword', + }, + imphash: { + type: 'keyword', + }, + original_file_name: { + type: 'keyword', + }, + product: { + type: 'keyword', + }, + }, + }, + pgid: { + type: 'long', + }, + pid: { + type: 'long', + }, + session_leader: { + properties: { + entity_id: { + type: 'keyword', + }, + }, + }, + start: { + type: 'date', + }, + thread: { + properties: { + id: { + type: 'long', + }, + name: { + type: 'keyword', + }, + }, + }, + title: { + type: 'keyword', + }, + uptime: { + type: 'long', + }, + working_directory: { + type: 'keyword', + }, + }, + }, + registry: { + properties: { + data: { + properties: { + bytes: { + type: 'keyword', + }, + strings: { + type: 'wildcard', + }, + type: { + type: 'keyword', + }, + }, + }, + hive: { + type: 'keyword', + }, + key: { + type: 'keyword', + }, + path: { + type: 'keyword', + }, + value: { + type: 'keyword', + }, + }, + }, + related: { + properties: { + hash: { + type: 'keyword', + }, + hosts: { + type: 'keyword', + }, + ip: { + type: 'ip', + }, + user: { + type: 'keyword', + }, + }, + }, + rule: { + properties: { + author: { + type: 'keyword', + }, + category: { + type: 'keyword', + }, + description: { + type: 'keyword', + }, + id: { + type: 'keyword', + }, + license: { + type: 'keyword', + }, + name: { + type: 'keyword', + }, + reference: { + type: 'keyword', + }, + ruleset: { + type: 'keyword', + }, + uuid: { + type: 'keyword', + }, + version: { + type: 'keyword', + }, + }, + }, + server: { + properties: { + address: { + type: 'keyword', + }, + as: { + properties: { + number: { + type: 'long', + }, + organization: { + properties: { + name: { + type: 'keyword', + }, + }, + }, + }, + }, + bytes: { + type: 'long', + }, + domain: { + type: 'keyword', + }, + geo: { + properties: { + city_name: { + type: 'keyword', + }, + continent_code: { + type: 'keyword', + }, + continent_name: { + type: 'keyword', + }, + country_iso_code: { + type: 'keyword', + }, + country_name: { + type: 'keyword', + }, + location: { + type: 'geo_point', + }, + name: { + type: 'keyword', + }, + postal_code: { + type: 'keyword', + }, + region_iso_code: { + type: 'keyword', + }, + region_name: { + type: 'keyword', + }, + timezone: { + type: 'keyword', + }, + }, + }, + ip: { + type: 'ip', + }, + mac: { + type: 'keyword', + }, + nat: { + properties: { + ip: { + type: 'ip', + }, + port: { + type: 'long', + }, + }, + }, + packets: { + type: 'long', + }, + port: { + type: 'long', + }, + registered_domain: { + type: 'keyword', + }, + subdomain: { + type: 'keyword', + }, + top_level_domain: { + type: 'keyword', + }, + user: { + properties: { + domain: { + type: 'keyword', + }, + email: { + type: 'keyword', + }, + full_name: { + type: 'keyword', + }, + group: { + properties: { + domain: { + type: 'keyword', + }, + id: { + type: 'keyword', + }, + name: { + type: 'keyword', + }, + }, + }, + hash: { + type: 'keyword', + }, + id: { + type: 'keyword', + }, + name: { + type: 'keyword', + }, + roles: { + type: 'keyword', + }, + }, + }, + }, + }, + service: { + properties: { + address: { + type: 'keyword', + }, + environment: { + type: 'keyword', + }, + ephemeral_id: { + type: 'keyword', + }, + id: { + type: 'keyword', + }, + name: { + type: 'keyword', + }, + node: { + properties: { + name: { + type: 'keyword', + }, + }, + }, + origin: { + properties: { + address: { + type: 'keyword', + }, + environment: { + type: 'keyword', + }, + ephemeral_id: { + type: 'keyword', + }, + id: { + type: 'keyword', + }, + name: { + type: 'keyword', + }, + node: { + properties: { + name: { + type: 'keyword', + }, + }, + }, + state: { + type: 'keyword', + }, + type: { + type: 'keyword', + }, + version: { + type: 'keyword', + }, + }, + }, + state: { + type: 'keyword', + }, + target: { + properties: { + address: { + type: 'keyword', + }, + environment: { + type: 'keyword', + }, + ephemeral_id: { + type: 'keyword', + }, + id: { + type: 'keyword', + }, + name: { + type: 'keyword', + }, + node: { + properties: { + name: { + type: 'keyword', + }, + }, + }, + state: { + type: 'keyword', + }, + type: { + type: 'keyword', + }, + version: { + type: 'keyword', + }, + }, + }, + type: { + type: 'keyword', + }, + version: { + type: 'keyword', + }, + }, + }, + signal: { + properties: { + ancestors: { + properties: { + depth: { + path: 'kibana.alert.ancestors.depth', + type: 'alias', + }, + id: { + path: 'kibana.alert.ancestors.id', + type: 'alias', + }, + index: { + path: 'kibana.alert.ancestors.index', + type: 'alias', + }, + type: { + path: 'kibana.alert.ancestors.type', + type: 'alias', + }, + }, + }, + depth: { + path: 'kibana.alert.depth', + type: 'alias', + }, + group: { + properties: { + id: { + path: 'kibana.alert.group.id', + type: 'alias', + }, + index: { + path: 'kibana.alert.group.index', + type: 'alias', + }, + }, + }, + original_event: { + properties: { + action: { + path: 'kibana.alert.original_event.action', + type: 'alias', + }, + category: { + path: 'kibana.alert.original_event.category', + type: 'alias', + }, + code: { + path: 'kibana.alert.original_event.code', + type: 'alias', + }, + created: { + path: 'kibana.alert.original_event.created', + type: 'alias', + }, + dataset: { + path: 'kibana.alert.original_event.dataset', + type: 'alias', + }, + duration: { + path: 'kibana.alert.original_event.duration', + type: 'alias', + }, + end: { + path: 'kibana.alert.original_event.end', + type: 'alias', + }, + hash: { + path: 'kibana.alert.original_event.hash', + type: 'alias', + }, + id: { + path: 'kibana.alert.original_event.id', + type: 'alias', + }, + kind: { + path: 'kibana.alert.original_event.kind', + type: 'alias', + }, + module: { + path: 'kibana.alert.original_event.module', + type: 'alias', + }, + outcome: { + path: 'kibana.alert.original_event.outcome', + type: 'alias', + }, + provider: { + path: 'kibana.alert.original_event.provider', + type: 'alias', + }, + reason: { + path: 'kibana.alert.original_event.reason', + type: 'alias', + }, + risk_score: { + path: 'kibana.alert.original_event.risk_score', + type: 'alias', + }, + risk_score_norm: { + path: 'kibana.alert.original_event.risk_score_norm', + type: 'alias', + }, + sequence: { + path: 'kibana.alert.original_event.sequence', + type: 'alias', + }, + severity: { + path: 'kibana.alert.original_event.severity', + type: 'alias', + }, + start: { + path: 'kibana.alert.original_event.start', + type: 'alias', + }, + timezone: { + path: 'kibana.alert.original_event.timezone', + type: 'alias', + }, + type: { + path: 'kibana.alert.original_event.type', + type: 'alias', + }, + }, + }, + original_time: { + path: 'kibana.alert.original_time', + type: 'alias', + }, + reason: { + path: 'kibana.alert.reason', + type: 'alias', + }, + rule: { + properties: { + author: { + path: 'kibana.alert.rule.author', + type: 'alias', + }, + building_block_type: { + path: 'kibana.alert.building_block_type', + type: 'alias', + }, + created_at: { + path: 'kibana.alert.rule.created_at', + type: 'alias', + }, + created_by: { + path: 'kibana.alert.rule.created_by', + type: 'alias', + }, + description: { + path: 'kibana.alert.rule.description', + type: 'alias', + }, + enabled: { + path: 'kibana.alert.rule.enabled', + type: 'alias', + }, + false_positives: { + path: 'kibana.alert.rule.false_positives', + type: 'alias', + }, + from: { + path: 'kibana.alert.rule.from', + type: 'alias', + }, + id: { + path: 'kibana.alert.rule.uuid', + type: 'alias', + }, + immutable: { + path: 'kibana.alert.rule.immutable', + type: 'alias', + }, + interval: { + path: 'kibana.alert.rule.interval', + type: 'alias', + }, + license: { + path: 'kibana.alert.rule.license', + type: 'alias', + }, + max_signals: { + path: 'kibana.alert.rule.max_signals', + type: 'alias', + }, + name: { + path: 'kibana.alert.rule.name', + type: 'alias', + }, + note: { + path: 'kibana.alert.rule.note', + type: 'alias', + }, + references: { + path: 'kibana.alert.rule.references', + type: 'alias', + }, + risk_score: { + path: 'kibana.alert.risk_score', + type: 'alias', + }, + rule_id: { + path: 'kibana.alert.rule.rule_id', + type: 'alias', + }, + rule_name_override: { + path: 'kibana.alert.rule.rule_name_override', + type: 'alias', + }, + severity: { + path: 'kibana.alert.severity', + type: 'alias', + }, + tags: { + path: 'kibana.alert.rule.tags', + type: 'alias', + }, + threat: { + properties: { + framework: { + path: 'kibana.alert.rule.threat.framework', + type: 'alias', + }, + tactic: { + properties: { + id: { + path: 'kibana.alert.rule.threat.tactic.id', + type: 'alias', + }, + name: { + path: 'kibana.alert.rule.threat.tactic.name', + type: 'alias', + }, + reference: { + path: 'kibana.alert.rule.threat.tactic.reference', + type: 'alias', + }, + }, + }, + technique: { + properties: { + id: { + path: 'kibana.alert.rule.threat.technique.id', + type: 'alias', + }, + name: { + path: 'kibana.alert.rule.threat.technique.name', + type: 'alias', + }, + reference: { + path: 'kibana.alert.rule.threat.technique.reference', + type: 'alias', + }, + subtechnique: { + properties: { + id: { + path: 'kibana.alert.rule.threat.technique.subtechnique.id', + type: 'alias', + }, + name: { + path: 'kibana.alert.rule.threat.technique.subtechnique.name', + type: 'alias', + }, + reference: { + path: 'kibana.alert.rule.threat.technique.subtechnique.reference', + type: 'alias', + }, + }, + }, + }, + }, + }, + }, + timeline_id: { + path: 'kibana.alert.rule.timeline_id', + type: 'alias', + }, + timeline_title: { + path: 'kibana.alert.rule.timeline_title', + type: 'alias', + }, + timestamp_override: { + path: 'kibana.alert.rule.timestamp_override', + type: 'alias', + }, + to: { + path: 'kibana.alert.rule.to', + type: 'alias', + }, + type: { + path: 'kibana.alert.rule.type', + type: 'alias', + }, + updated_at: { + path: 'kibana.alert.rule.updated_at', + type: 'alias', + }, + updated_by: { + path: 'kibana.alert.rule.updated_by', + type: 'alias', + }, + version: { + path: 'kibana.alert.rule.version', + type: 'alias', + }, + }, + }, + status: { + path: 'kibana.alert.workflow_status', + type: 'alias', + }, + threshold_result: { + properties: { + cardinality: { + properties: { + field: { + path: 'kibana.alert.threshold_result.cardinality.field', + type: 'alias', + }, + value: { + path: 'kibana.alert.threshold_result.cardinality.value', + type: 'alias', + }, + }, + }, + count: { + path: 'kibana.alert.threshold_result.count', + type: 'alias', + }, + from: { + path: 'kibana.alert.threshold_result.from', + type: 'alias', + }, + terms: { + properties: { + field: { + path: 'kibana.alert.threshold_result.terms.field', + type: 'alias', + }, + value: { + path: 'kibana.alert.threshold_result.terms.value', + type: 'alias', + }, + }, + }, + }, + }, + }, + }, + source: { + properties: { + address: { + type: 'keyword', + }, + as: { + properties: { + number: { + type: 'long', + }, + organization: { + properties: { + name: { + type: 'keyword', + }, + }, + }, + }, + }, + bytes: { + type: 'long', + }, + domain: { + type: 'keyword', + }, + geo: { + properties: { + city_name: { + type: 'keyword', + }, + continent_code: { + type: 'keyword', + }, + continent_name: { + type: 'keyword', + }, + country_iso_code: { + type: 'keyword', + }, + country_name: { + type: 'keyword', + }, + location: { + type: 'geo_point', + }, + name: { + type: 'keyword', + }, + postal_code: { + type: 'keyword', + }, + region_iso_code: { + type: 'keyword', + }, + region_name: { + type: 'keyword', + }, + timezone: { + type: 'keyword', + }, + }, + }, + ip: { + type: 'ip', + }, + mac: { + type: 'keyword', + }, + nat: { + properties: { + ip: { + type: 'ip', + }, + port: { + type: 'long', + }, + }, + }, + packets: { + type: 'long', + }, + port: { + type: 'long', + }, + registered_domain: { + type: 'keyword', + }, + subdomain: { + type: 'keyword', + }, + top_level_domain: { + type: 'keyword', + }, + user: { + properties: { + domain: { + type: 'keyword', + }, + email: { + type: 'keyword', + }, + full_name: { + type: 'keyword', + }, + group: { + properties: { + domain: { + type: 'keyword', + }, + id: { + type: 'keyword', + }, + name: { + type: 'keyword', + }, + }, + }, + hash: { + type: 'keyword', + }, + id: { + type: 'keyword', + }, + name: { + type: 'keyword', + }, + roles: { + type: 'keyword', + }, + }, + }, + }, + }, + span: { + properties: { + id: { + type: 'keyword', + }, + }, + }, + tags: { + type: 'keyword', + }, + threat: { + properties: { + enrichments: { + properties: { + indicator: { + properties: { + as: { + properties: { + number: { + type: 'long', + }, + organization: { + properties: { + name: { + type: 'keyword', + }, + }, + }, + }, + }, + confidence: { + type: 'keyword', + }, + description: { + type: 'keyword', + }, + email: { + properties: { + address: { + type: 'keyword', + }, + }, + }, + file: { + properties: { + accessed: { + type: 'date', + }, + attributes: { + type: 'keyword', + }, + code_signature: { + properties: { + digest_algorithm: { + type: 'keyword', + }, + exists: { + type: 'boolean', + }, + signing_id: { + type: 'keyword', + }, + status: { + type: 'keyword', + }, + subject_name: { + type: 'keyword', + }, + team_id: { + type: 'keyword', + }, + timestamp: { + type: 'date', + }, + trusted: { + type: 'boolean', + }, + valid: { + type: 'boolean', + }, + }, + }, + created: { + type: 'date', + }, + ctime: { + type: 'date', + }, + device: { + type: 'keyword', + }, + directory: { + type: 'keyword', + }, + drive_letter: { + type: 'keyword', + }, + elf: { + properties: { + architecture: { + type: 'keyword', + }, + byte_order: { + type: 'keyword', + }, + cpu_type: { + type: 'keyword', + }, + creation_date: { + type: 'date', + }, + exports: { + type: 'flattened', + }, + header: { + properties: { + abi_version: { + type: 'keyword', + }, + class: { + type: 'keyword', + }, + data: { + type: 'keyword', + }, + entrypoint: { + type: 'long', + }, + object_version: { + type: 'keyword', + }, + os_abi: { + type: 'keyword', + }, + type: { + type: 'keyword', + }, + version: { + type: 'keyword', + }, + }, + }, + imports: { + type: 'flattened', + }, + sections: { + properties: { + chi2: { + type: 'long', + }, + entropy: { + type: 'long', + }, + flags: { + type: 'keyword', + }, + name: { + type: 'keyword', + }, + physical_offset: { + type: 'keyword', + }, + physical_size: { + type: 'long', + }, + type: { + type: 'keyword', + }, + virtual_address: { + type: 'long', + }, + virtual_size: { + type: 'long', + }, + }, + type: 'nested', + }, + segments: { + properties: { + sections: { + type: 'keyword', + }, + type: { + type: 'keyword', + }, + }, + type: 'nested', + }, + shared_libraries: { + type: 'keyword', + }, + telfhash: { + type: 'keyword', + }, + }, + }, + extension: { + type: 'keyword', + }, + fork_name: { + type: 'keyword', + }, + gid: { + type: 'keyword', + }, + group: { + type: 'keyword', + }, + hash: { + properties: { + md5: { + type: 'keyword', + }, + sha1: { + type: 'keyword', + }, + sha256: { + type: 'keyword', + }, + sha512: { + type: 'keyword', + }, + ssdeep: { + type: 'keyword', + }, + }, + }, + inode: { + type: 'keyword', + }, + mime_type: { + type: 'keyword', + }, + mode: { + type: 'keyword', + }, + mtime: { + type: 'date', + }, + name: { + type: 'keyword', + }, + owner: { + type: 'keyword', + }, + path: { + type: 'keyword', + }, + pe: { + properties: { + architecture: { + type: 'keyword', + }, + company: { + type: 'keyword', + }, + description: { + type: 'keyword', + }, + file_version: { + type: 'keyword', + }, + imphash: { + type: 'keyword', + }, + original_file_name: { + type: 'keyword', + }, + product: { + type: 'keyword', + }, + }, + }, + size: { + type: 'long', + }, + target_path: { + type: 'keyword', + }, + type: { + type: 'keyword', + }, + uid: { + type: 'keyword', + }, + x509: { + properties: { + alternative_names: { + type: 'keyword', + }, + issuer: { + properties: { + common_name: { + type: 'keyword', + }, + country: { + type: 'keyword', + }, + distinguished_name: { + type: 'keyword', + }, + locality: { + type: 'keyword', + }, + organization: { + type: 'keyword', + }, + organizational_unit: { + type: 'keyword', + }, + state_or_province: { + type: 'keyword', + }, + }, + }, + not_after: { + type: 'date', + }, + not_before: { + type: 'date', + }, + public_key_algorithm: { + type: 'keyword', + }, + public_key_curve: { + type: 'keyword', + }, + public_key_exponent: { + type: 'long', + }, + public_key_size: { + type: 'long', + }, + serial_number: { + type: 'keyword', + }, + signature_algorithm: { + type: 'keyword', + }, + subject: { + properties: { + common_name: { + type: 'keyword', + }, + country: { + type: 'keyword', + }, + distinguished_name: { + type: 'keyword', + }, + locality: { + type: 'keyword', + }, + organization: { + type: 'keyword', + }, + organizational_unit: { + type: 'keyword', + }, + state_or_province: { + type: 'keyword', + }, + }, + }, + version_number: { + type: 'keyword', + }, + }, + }, + }, + }, + first_seen: { + type: 'date', + }, + geo: { + properties: { + city_name: { + type: 'keyword', + }, + continent_code: { + type: 'keyword', + }, + continent_name: { + type: 'keyword', + }, + country_iso_code: { + type: 'keyword', + }, + country_name: { + type: 'keyword', + }, + location: { + type: 'geo_point', + }, + name: { + type: 'keyword', + }, + postal_code: { + type: 'keyword', + }, + region_iso_code: { + type: 'keyword', + }, + region_name: { + type: 'keyword', + }, + timezone: { + type: 'keyword', + }, + }, + }, + ip: { + type: 'ip', + }, + last_seen: { + type: 'date', + }, + marking: { + properties: { + tlp: { + type: 'keyword', + }, + }, + }, + modified_at: { + type: 'date', + }, + port: { + type: 'long', + }, + provider: { + type: 'keyword', + }, + reference: { + type: 'keyword', + }, + registry: { + properties: { + data: { + properties: { + bytes: { + type: 'keyword', + }, + strings: { + type: 'wildcard', + }, + type: { + type: 'keyword', + }, + }, + }, + hive: { + type: 'keyword', + }, + key: { + type: 'keyword', + }, + path: { + type: 'keyword', + }, + value: { + type: 'keyword', + }, + }, + }, + scanner_stats: { + type: 'long', + }, + sightings: { + type: 'long', + }, + type: { + type: 'keyword', + }, + url: { + properties: { + domain: { + type: 'keyword', + }, + extension: { + type: 'keyword', + }, + fragment: { + type: 'keyword', + }, + full: { + type: 'wildcard', + }, + original: { + type: 'wildcard', + }, + password: { + type: 'keyword', + }, + path: { + type: 'wildcard', + }, + port: { + type: 'long', + }, + query: { + type: 'keyword', + }, + registered_domain: { + type: 'keyword', + }, + scheme: { + type: 'keyword', + }, + subdomain: { + type: 'keyword', + }, + top_level_domain: { + type: 'keyword', + }, + username: { + type: 'keyword', + }, + }, + }, + x509: { + properties: { + alternative_names: { + type: 'keyword', + }, + issuer: { + properties: { + common_name: { + type: 'keyword', + }, + country: { + type: 'keyword', + }, + distinguished_name: { + type: 'keyword', + }, + locality: { + type: 'keyword', + }, + organization: { + type: 'keyword', + }, + organizational_unit: { + type: 'keyword', + }, + state_or_province: { + type: 'keyword', + }, + }, + }, + not_after: { + type: 'date', + }, + not_before: { + type: 'date', + }, + public_key_algorithm: { + type: 'keyword', + }, + public_key_curve: { + type: 'keyword', + }, + public_key_exponent: { + type: 'long', + }, + public_key_size: { + type: 'long', + }, + serial_number: { + type: 'keyword', + }, + signature_algorithm: { + type: 'keyword', + }, + subject: { + properties: { + common_name: { + type: 'keyword', + }, + country: { + type: 'keyword', + }, + distinguished_name: { + type: 'keyword', + }, + locality: { + type: 'keyword', + }, + organization: { + type: 'keyword', + }, + organizational_unit: { + type: 'keyword', + }, + state_or_province: { + type: 'keyword', + }, + }, + }, + version_number: { + type: 'keyword', + }, + }, + }, + }, + }, + matched: { + properties: { + atomic: { + type: 'keyword', + }, + field: { + type: 'keyword', + }, + id: { + type: 'keyword', + }, + index: { + type: 'keyword', + }, + type: { + type: 'keyword', + }, + }, + }, + }, + type: 'nested', + }, + framework: { + type: 'keyword', + }, + group: { + properties: { + alias: { + type: 'keyword', + }, + id: { + type: 'keyword', + }, + name: { + type: 'keyword', + }, + reference: { + type: 'keyword', + }, + }, + }, + indicator: { + properties: { + as: { + properties: { + number: { + type: 'long', + }, + organization: { + properties: { + name: { + type: 'keyword', + }, + }, + }, + }, + }, + confidence: { + type: 'keyword', + }, + description: { + type: 'keyword', + }, + email: { + properties: { + address: { + type: 'keyword', + }, + }, + }, + file: { + properties: { + accessed: { + type: 'date', + }, + attributes: { + type: 'keyword', + }, + code_signature: { + properties: { + digest_algorithm: { + type: 'keyword', + }, + exists: { + type: 'boolean', + }, + signing_id: { + type: 'keyword', + }, + status: { + type: 'keyword', + }, + subject_name: { + type: 'keyword', + }, + team_id: { + type: 'keyword', + }, + timestamp: { + type: 'date', + }, + trusted: { + type: 'boolean', + }, + valid: { + type: 'boolean', + }, + }, + }, + created: { + type: 'date', + }, + ctime: { + type: 'date', + }, + device: { + type: 'keyword', + }, + directory: { + type: 'keyword', + }, + drive_letter: { + type: 'keyword', + }, + elf: { + properties: { + architecture: { + type: 'keyword', + }, + byte_order: { + type: 'keyword', + }, + cpu_type: { + type: 'keyword', + }, + creation_date: { + type: 'date', + }, + exports: { + type: 'flattened', + }, + header: { + properties: { + abi_version: { + type: 'keyword', + }, + class: { + type: 'keyword', + }, + data: { + type: 'keyword', + }, + entrypoint: { + type: 'long', + }, + object_version: { + type: 'keyword', + }, + os_abi: { + type: 'keyword', + }, + type: { + type: 'keyword', + }, + version: { + type: 'keyword', + }, + }, + }, + imports: { + type: 'flattened', + }, + sections: { + properties: { + chi2: { + type: 'long', + }, + entropy: { + type: 'long', + }, + flags: { + type: 'keyword', + }, + name: { + type: 'keyword', + }, + physical_offset: { + type: 'keyword', + }, + physical_size: { + type: 'long', + }, + type: { + type: 'keyword', + }, + virtual_address: { + type: 'long', + }, + virtual_size: { + type: 'long', + }, + }, + type: 'nested', + }, + segments: { + properties: { + sections: { + type: 'keyword', + }, + type: { + type: 'keyword', + }, + }, + type: 'nested', + }, + shared_libraries: { + type: 'keyword', + }, + telfhash: { + type: 'keyword', + }, + }, + }, + extension: { + type: 'keyword', + }, + fork_name: { + type: 'keyword', + }, + gid: { + type: 'keyword', + }, + group: { + type: 'keyword', + }, + hash: { + properties: { + md5: { + type: 'keyword', + }, + sha1: { + type: 'keyword', + }, + sha256: { + type: 'keyword', + }, + sha512: { + type: 'keyword', + }, + ssdeep: { + type: 'keyword', + }, + }, + }, + inode: { + type: 'keyword', + }, + mime_type: { + type: 'keyword', + }, + mode: { + type: 'keyword', + }, + mtime: { + type: 'date', + }, + name: { + type: 'keyword', + }, + owner: { + type: 'keyword', + }, + path: { + type: 'keyword', + }, + pe: { + properties: { + architecture: { + type: 'keyword', + }, + company: { + type: 'keyword', + }, + description: { + type: 'keyword', + }, + file_version: { + type: 'keyword', + }, + imphash: { + type: 'keyword', + }, + original_file_name: { + type: 'keyword', + }, + product: { + type: 'keyword', + }, + }, + }, + size: { + type: 'long', + }, + target_path: { + type: 'keyword', + }, + type: { + type: 'keyword', + }, + uid: { + type: 'keyword', + }, + x509: { + properties: { + alternative_names: { + type: 'keyword', + }, + issuer: { + properties: { + common_name: { + type: 'keyword', + }, + country: { + type: 'keyword', + }, + distinguished_name: { + type: 'keyword', + }, + locality: { + type: 'keyword', + }, + organization: { + type: 'keyword', + }, + organizational_unit: { + type: 'keyword', + }, + state_or_province: { + type: 'keyword', + }, + }, + }, + not_after: { + type: 'date', + }, + not_before: { + type: 'date', + }, + public_key_algorithm: { + type: 'keyword', + }, + public_key_curve: { + type: 'keyword', + }, + public_key_exponent: { + type: 'long', + }, + public_key_size: { + type: 'long', + }, + serial_number: { + type: 'keyword', + }, + signature_algorithm: { + type: 'keyword', + }, + subject: { + properties: { + common_name: { + type: 'keyword', + }, + country: { + type: 'keyword', + }, + distinguished_name: { + type: 'keyword', + }, + locality: { + type: 'keyword', + }, + organization: { + type: 'keyword', + }, + organizational_unit: { + type: 'keyword', + }, + state_or_province: { + type: 'keyword', + }, + }, + }, + version_number: { + type: 'keyword', + }, + }, + }, + }, + }, + first_seen: { + type: 'date', + }, + geo: { + properties: { + city_name: { + type: 'keyword', + }, + continent_code: { + type: 'keyword', + }, + continent_name: { + type: 'keyword', + }, + country_iso_code: { + type: 'keyword', + }, + country_name: { + type: 'keyword', + }, + location: { + type: 'geo_point', + }, + name: { + type: 'keyword', + }, + postal_code: { + type: 'keyword', + }, + region_iso_code: { + type: 'keyword', + }, + region_name: { + type: 'keyword', + }, + timezone: { + type: 'keyword', + }, + }, + }, + ip: { + type: 'ip', + }, + last_seen: { + type: 'date', + }, + marking: { + properties: { + tlp: { + type: 'keyword', + }, + }, + }, + modified_at: { + type: 'date', + }, + port: { + type: 'long', + }, + provider: { + type: 'keyword', + }, + reference: { + type: 'keyword', + }, + registry: { + properties: { + data: { + properties: { + bytes: { + type: 'keyword', + }, + strings: { + type: 'wildcard', + }, + type: { + type: 'keyword', + }, + }, + }, + hive: { + type: 'keyword', + }, + key: { + type: 'keyword', + }, + path: { + type: 'keyword', + }, + value: { + type: 'keyword', + }, + }, + }, + scanner_stats: { + type: 'long', + }, + sightings: { + type: 'long', + }, + type: { + type: 'keyword', + }, + url: { + properties: { + domain: { + type: 'keyword', + }, + extension: { + type: 'keyword', + }, + fragment: { + type: 'keyword', + }, + full: { + type: 'wildcard', + }, + original: { + type: 'wildcard', + }, + password: { + type: 'keyword', + }, + path: { + type: 'wildcard', + }, + port: { + type: 'long', + }, + query: { + type: 'keyword', + }, + registered_domain: { + type: 'keyword', + }, + scheme: { + type: 'keyword', + }, + subdomain: { + type: 'keyword', + }, + top_level_domain: { + type: 'keyword', + }, + username: { + type: 'keyword', + }, + }, + }, + x509: { + properties: { + alternative_names: { + type: 'keyword', + }, + issuer: { + properties: { + common_name: { + type: 'keyword', + }, + country: { + type: 'keyword', + }, + distinguished_name: { + type: 'keyword', + }, + locality: { + type: 'keyword', + }, + organization: { + type: 'keyword', + }, + organizational_unit: { + type: 'keyword', + }, + state_or_province: { + type: 'keyword', + }, + }, + }, + not_after: { + type: 'date', + }, + not_before: { + type: 'date', + }, + public_key_algorithm: { + type: 'keyword', + }, + public_key_curve: { + type: 'keyword', + }, + public_key_exponent: { + type: 'long', + }, + public_key_size: { + type: 'long', + }, + serial_number: { + type: 'keyword', + }, + signature_algorithm: { + type: 'keyword', + }, + subject: { + properties: { + common_name: { + type: 'keyword', + }, + country: { + type: 'keyword', + }, + distinguished_name: { + type: 'keyword', + }, + locality: { + type: 'keyword', + }, + organization: { + type: 'keyword', + }, + organizational_unit: { + type: 'keyword', + }, + state_or_province: { + type: 'keyword', + }, + }, + }, + version_number: { + type: 'keyword', + }, + }, + }, + }, + }, + software: { + properties: { + alias: { + type: 'keyword', + }, + id: { + type: 'keyword', + }, + name: { + type: 'keyword', + }, + platforms: { + type: 'keyword', + }, + reference: { + type: 'keyword', + }, + type: { + type: 'keyword', + }, + }, + }, + tactic: { + properties: { + id: { + type: 'keyword', + }, + name: { + type: 'keyword', + }, + reference: { + type: 'keyword', + }, + }, + }, + technique: { + properties: { + id: { + type: 'keyword', + }, + name: { + type: 'keyword', + }, + reference: { + type: 'keyword', + }, + subtechnique: { + properties: { + id: { + type: 'keyword', + }, + name: { + type: 'keyword', + }, + reference: { + type: 'keyword', + }, + }, + }, + }, + }, + }, + }, + tls: { + properties: { + cipher: { + type: 'keyword', + }, + client: { + properties: { + certificate: { + type: 'keyword', + }, + certificate_chain: { + type: 'keyword', + }, + hash: { + properties: { + md5: { + type: 'keyword', + }, + sha1: { + type: 'keyword', + }, + sha256: { + type: 'keyword', + }, + }, + }, + issuer: { + type: 'keyword', + }, + ja3: { + type: 'keyword', + }, + not_after: { + type: 'date', + }, + not_before: { + type: 'date', + }, + server_name: { + type: 'keyword', + }, + subject: { + type: 'keyword', + }, + supported_ciphers: { + type: 'keyword', + }, + x509: { + properties: { + alternative_names: { + type: 'keyword', + }, + issuer: { + properties: { + common_name: { + type: 'keyword', + }, + country: { + type: 'keyword', + }, + distinguished_name: { + type: 'keyword', + }, + locality: { + type: 'keyword', + }, + organization: { + type: 'keyword', + }, + organizational_unit: { + type: 'keyword', + }, + state_or_province: { + type: 'keyword', + }, + }, + }, + not_after: { + type: 'date', + }, + not_before: { + type: 'date', + }, + public_key_algorithm: { + type: 'keyword', + }, + public_key_curve: { + type: 'keyword', + }, + public_key_exponent: { + type: 'long', + }, + public_key_size: { + type: 'long', + }, + serial_number: { + type: 'keyword', + }, + signature_algorithm: { + type: 'keyword', + }, + subject: { + properties: { + common_name: { + type: 'keyword', + }, + country: { + type: 'keyword', + }, + distinguished_name: { + type: 'keyword', + }, + locality: { + type: 'keyword', + }, + organization: { + type: 'keyword', + }, + organizational_unit: { + type: 'keyword', + }, + state_or_province: { + type: 'keyword', + }, + }, + }, + version_number: { + type: 'keyword', + }, + }, + }, + }, + }, + curve: { + type: 'keyword', + }, + established: { + type: 'boolean', + }, + next_protocol: { + type: 'keyword', + }, + resumed: { + type: 'boolean', + }, + server: { + properties: { + certificate: { + type: 'keyword', + }, + certificate_chain: { + type: 'keyword', + }, + hash: { + properties: { + md5: { + type: 'keyword', + }, + sha1: { + type: 'keyword', + }, + sha256: { + type: 'keyword', + }, + }, + }, + issuer: { + type: 'keyword', + }, + ja3s: { + type: 'keyword', + }, + not_after: { + type: 'date', + }, + not_before: { + type: 'date', + }, + subject: { + type: 'keyword', + }, + x509: { + properties: { + alternative_names: { + type: 'keyword', + }, + issuer: { + properties: { + common_name: { + type: 'keyword', + }, + country: { + type: 'keyword', + }, + distinguished_name: { + type: 'keyword', + }, + locality: { + type: 'keyword', + }, + organization: { + type: 'keyword', + }, + organizational_unit: { + type: 'keyword', + }, + state_or_province: { + type: 'keyword', + }, + }, + }, + not_after: { + type: 'date', + }, + not_before: { + type: 'date', + }, + public_key_algorithm: { + type: 'keyword', + }, + public_key_curve: { + type: 'keyword', + }, + public_key_exponent: { + type: 'long', + }, + public_key_size: { + type: 'long', + }, + serial_number: { + type: 'keyword', + }, + signature_algorithm: { + type: 'keyword', + }, + subject: { + properties: { + common_name: { + type: 'keyword', + }, + country: { + type: 'keyword', + }, + distinguished_name: { + type: 'keyword', + }, + locality: { + type: 'keyword', + }, + organization: { + type: 'keyword', + }, + organizational_unit: { + type: 'keyword', + }, + state_or_province: { + type: 'keyword', + }, + }, + }, + version_number: { + type: 'keyword', + }, + }, + }, + }, + }, + version: { + type: 'keyword', + }, + version_protocol: { + type: 'keyword', + }, + }, + }, + trace: { + properties: { + id: { + type: 'keyword', + }, + }, + }, + transaction: { + properties: { + id: { + type: 'keyword', + }, + }, + }, + url: { + properties: { + domain: { + type: 'keyword', + }, + extension: { + type: 'keyword', + }, + fragment: { + type: 'keyword', + }, + full: { + type: 'wildcard', + }, + original: { + type: 'wildcard', + }, + password: { + type: 'keyword', + }, + path: { + type: 'wildcard', + }, + port: { + type: 'long', + }, + query: { + type: 'keyword', + }, + registered_domain: { + type: 'keyword', + }, + scheme: { + type: 'keyword', + }, + subdomain: { + type: 'keyword', + }, + top_level_domain: { + type: 'keyword', + }, + username: { + type: 'keyword', + }, + }, + }, + user: { + properties: { + changes: { + properties: { + domain: { + type: 'keyword', + }, + email: { + type: 'keyword', + }, + full_name: { + type: 'keyword', + }, + group: { + properties: { + domain: { + type: 'keyword', + }, + id: { + type: 'keyword', + }, + name: { + type: 'keyword', + }, + }, + }, + hash: { + type: 'keyword', + }, + id: { + type: 'keyword', + }, + name: { + type: 'keyword', + }, + roles: { + type: 'keyword', + }, + }, + }, + domain: { + type: 'keyword', + }, + effective: { + properties: { + domain: { + type: 'keyword', + }, + email: { + type: 'keyword', + }, + full_name: { + type: 'keyword', + }, + group: { + properties: { + domain: { + type: 'keyword', + }, + id: { + type: 'keyword', + }, + name: { + type: 'keyword', + }, + }, + }, + hash: { + type: 'keyword', + }, + id: { + type: 'keyword', + }, + name: { + type: 'keyword', + }, + roles: { + type: 'keyword', + }, + }, + }, + email: { + type: 'keyword', + }, + full_name: { + type: 'keyword', + }, + group: { + properties: { + domain: { + type: 'keyword', + }, + id: { + type: 'keyword', + }, + name: { + type: 'keyword', + }, + }, + }, + hash: { + type: 'keyword', + }, + id: { + type: 'keyword', + }, + name: { + type: 'keyword', + }, + risk: { + properties: { + calculated_level: { + type: 'keyword', + }, + calculated_score: { + type: 'float', + }, + calculated_score_norm: { + type: 'float', + }, + static_level: { + type: 'keyword', + }, + static_score: { + type: 'float', + }, + static_score_norm: { + type: 'float', + }, + }, + }, + roles: { + type: 'keyword', + }, + target: { + properties: { + domain: { + type: 'keyword', + }, + email: { + type: 'keyword', + }, + full_name: { + type: 'keyword', + }, + group: { + properties: { + domain: { + type: 'keyword', + }, + id: { + type: 'keyword', + }, + name: { + type: 'keyword', + }, + }, + }, + hash: { + type: 'keyword', + }, + id: { + type: 'keyword', + }, + name: { + type: 'keyword', + }, + roles: { + type: 'keyword', + }, + }, + }, + }, + }, + user_agent: { + properties: { + device: { + properties: { + name: { + type: 'keyword', + }, + }, + }, + name: { + type: 'keyword', + }, + original: { + type: 'keyword', + }, + os: { + properties: { + family: { + type: 'keyword', + }, + full: { + type: 'keyword', + }, + kernel: { + type: 'keyword', + }, + name: { + type: 'keyword', + }, + platform: { + type: 'keyword', + }, + type: { + type: 'keyword', + }, + version: { + type: 'keyword', + }, + }, + }, + version: { + type: 'keyword', + }, + }, + }, + vulnerability: { + properties: { + category: { + type: 'keyword', + }, + classification: { + type: 'keyword', + }, + description: { + type: 'keyword', + }, + enumeration: { + type: 'keyword', + }, + id: { + type: 'keyword', + }, + reference: { + type: 'keyword', + }, + report_id: { + type: 'keyword', + }, + scanner: { + properties: { + vendor: { + type: 'keyword', + }, + }, + }, + score: { + properties: { + base: { + type: 'float', + }, + environmental: { + type: 'float', + }, + temporal: { + type: 'float', + }, + version: { + type: 'keyword', + }, + }, + }, + severity: { + type: 'keyword', + }, + }, + }, + }, + }, + settings: { + index: { + auto_expand_replicas: '0-1', + hidden: 'true', + lifecycle: { + name: '.alerts-ilm-policy', + rollover_alias: '.alerts-security.alerts-default', + }, + mapping: { + total_fields: { + limit: 1900, + }, + }, + number_of_replicas: '0', + number_of_shards: '1', + }, + }, + }, + }; +}; diff --git a/x-pack/test/security_solution_ftr/services/detections/endpoint_rule_alert_generator.ts b/x-pack/test/security_solution_ftr/services/detections/endpoint_rule_alert_generator.ts new file mode 100644 index 0000000000000..a02a1a2469578 --- /dev/null +++ b/x-pack/test/security_solution_ftr/services/detections/endpoint_rule_alert_generator.ts @@ -0,0 +1,274 @@ +/* + * 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 { BaseDataGenerator } from '@kbn/security-solution-plugin/common/endpoint/data_generators/base_data_generator'; +import endpointPrePackagedRule from '@kbn/security-solution-plugin/server/lib/detection_engine/prebuilt_rules/content/prepackaged_rules/elastic_endpoint_security.json'; +import { kibanaPackageJson } from '@kbn/utils'; +import { mergeWith } from 'lodash'; +import { EndpointMetadataGenerator } from '@kbn/security-solution-plugin/common/endpoint/data_generators/endpoint_metadata_generator'; +import { HostMetadata } from '@kbn/security-solution-plugin/common/endpoint/types'; +import { DeepPartial } from 'utility-types'; + +const mergeAndReplaceArrays = (destinationObj: T, srcObj: S): T => { + const customizer = (objValue: T[keyof T], srcValue: S[keyof S]) => { + if (Array.isArray(objValue)) { + return srcValue; + } + }; + + return mergeWith(destinationObj, srcObj, customizer); +}; + +type EndpointRuleAlert = Pick< + HostMetadata, + 'Endpoint' | 'agent' | 'elastic' | 'host' | 'data_stream' +> & { + [key: string]: any; +}; + +export class EndpointRuleAlertGenerator extends BaseDataGenerator { + /** Generates an Endpoint Rule Alert document */ + generate(overrides: DeepPartial = {}): EndpointRuleAlert { + const endpointMetadataGenerator = new EndpointMetadataGenerator(); + const endpointMetadata = endpointMetadataGenerator.generate({ + agent: { version: kibanaPackageJson.version }, + }); + const now = overrides['@timestamp'] ?? new Date().toISOString(); + const endpointAgentId = overrides?.agent?.id ?? this.seededUUIDv4(); + + return mergeAndReplaceArrays( + { + '@timestamp': now, + Endpoint: endpointMetadata.Endpoint, + agent: { + id: endpointAgentId, + type: 'endpoint', + version: kibanaPackageJson.version, + }, + elastic: endpointMetadata.elastic, + host: endpointMetadata.host, + data_stream: { + dataset: 'endpoint.alerts', + namespace: 'default', + type: 'logs', + }, + ecs: { + version: '1.4.0', + }, + file: { + Ext: { + code_signature: [ + { + subject_name: 'bad signer', + trusted: false, + }, + ], + malware_classification: { + identifier: 'endpointpe', + score: 1, + threshold: 0.66, + version: '3.0.33', + }, + quarantine_message: 'fake quarantine message', + quarantine_result: true, + temp_file_path: 'C:/temp/fake_malware.exe', + }, + accessed: 1666818167432, + created: 1666818167432, + hash: { + md5: 'fake file md5', + sha1: 'fake file sha1', + sha256: 'fake file sha256', + }, + mtime: 1666818167432, + name: 'fake_malware.exe', + owner: 'SYSTEM', + path: 'C:/fake_malware.exe', + size: 3456, + }, + dll: [ + { + Ext: { + compile_time: 1534424710, + malware_classification: { + identifier: 'Whitelisted', + score: 0, + threshold: 0, + version: '3.0.0', + }, + mapped_address: 5362483200, + mapped_size: 0, + }, + code_signature: { + subject_name: 'Cybereason Inc', + trusted: true, + }, + hash: { + md5: '1f2d082566b0fc5f2c238a5180db7451', + sha1: 'ca85243c0af6a6471bdaa560685c51eefd6dbc0d', + sha256: '8ad40c90a611d36eb8f9eb24fa04f7dbca713db383ff55a03aa0f382e92061a2', + }, + path: 'C:\\Program Files\\Cybereason ActiveProbe\\AmSvc.exe', + pe: { + architecture: 'x64', + }, + }, + ], + process: { + Ext: { + ancestry: ['epyg8z2d21', '26qhqfy8a1'], + code_signature: [ + { + subject_name: 'bad signer', + trusted: false, + }, + ], + token: { + domain: 'NT AUTHORITY', + integrity_level: 16384, + integrity_level_name: 'system', + privileges: [ + { + description: 'Replace a process level token', + enabled: false, + name: 'SeAssignPrimaryTokenPrivilege', + }, + ], + sid: 'S-1-5-18', + type: 'tokenPrimary', + user: 'SYSTEM', + }, + user: 'SYSTEM', + }, + entity_id: '0gwuy9lpud', + entry_leader: { + entity_id: '8kfl83q6vl', + name: 'fake entry', + pid: 945, + }, + executable: 'C:/malware.exe', + group_leader: { + entity_id: '8kfl83q6vl', + name: 'fake leader', + pid: 120, + }, + hash: { + md5: 'fake md5', + sha1: 'fake sha1', + sha256: 'fake sha256', + }, + name: 'malware writer', + parent: { + entity_id: 'epyg8z2d21', + pid: 1, + }, + pid: 2, + session_leader: { + entity_id: '8kfl83q6vl', + name: 'fake session', + pid: 279, + }, + start: 1666818167432, + uptime: 0, + }, + 'event.action': 'creation', + 'event.agent_id_status': 'auth_metadata_missing', + 'event.category': 'malware', + 'event.code': 'malicious_file', + 'event.dataset': 'endpoint', + 'event.id': this.seededUUIDv4(), + 'event.ingested': now, + 'event.kind': 'signal', + 'event.module': 'endpoint', + 'event.sequence': 5, + 'event.type': 'creation', + 'kibana.alert.ancestors': [ + { + depth: 0, + id: 'QBUaFoQBGSAAfHJkxoRQ', + index: '.ds-logs-endpoint.alerts-default-2022.10.26-000001', + type: 'event', + }, + ], + 'kibana.alert.depth': 1, + 'kibana.alert.original_event.action': 'creation', + 'kibana.alert.original_event.agent_id_status': 'auth_metadata_missing', + 'kibana.alert.original_event.category': 'malware', + 'kibana.alert.original_event.code': 'malicious_file', + 'kibana.alert.original_event.dataset': 'endpoint', + 'kibana.alert.original_event.id': this.seededUUIDv4(), + 'kibana.alert.original_event.ingested': now, + 'kibana.alert.original_event.kind': 'alert', + 'kibana.alert.original_event.module': 'endpoint', + 'kibana.alert.original_event.sequence': 5, + 'kibana.alert.original_event.type': 'creation', + 'kibana.alert.original_time': this.randomPastDate(), + 'kibana.alert.reason': + 'malware event with process malware writer, file fake_malware.exe, on Host-4xu9tiwmfp created medium alert Endpoint Security.', + 'kibana.alert.risk_score': 47, + 'kibana.alert.rule.actions': [], + 'kibana.alert.rule.author': ['Elastic'], + 'kibana.alert.rule.category': 'Custom Query Rule', + 'kibana.alert.rule.consumer': 'siem', + 'kibana.alert.rule.created_at': '2022-10-26T21:02:00.237Z', + 'kibana.alert.rule.created_by': 'some_user', + 'kibana.alert.rule.description': + 'Generates a detection alert each time an Elastic Endpoint Security alert is received. Enabling this rule allows you to immediately begin investigating your Endpoint alerts.', + 'kibana.alert.rule.enabled': true, + 'kibana.alert.rule.exceptions_list': [ + { + id: 'endpoint_list', + list_id: 'endpoint_list', + namespace_type: 'agnostic', + type: 'endpoint', + }, + ], + 'kibana.alert.rule.execution.uuid': this.seededUUIDv4(), + 'kibana.alert.rule.false_positives': [], + 'kibana.alert.rule.from': endpointPrePackagedRule.from, + 'kibana.alert.rule.immutable': true, + 'kibana.alert.rule.indices': endpointPrePackagedRule.index, + 'kibana.alert.rule.interval': '5m', + 'kibana.alert.rule.license': 'Elastic License v2', + 'kibana.alert.rule.max_signals': 10000, + 'kibana.alert.rule.name': endpointPrePackagedRule.name, + 'kibana.alert.rule.parameters': endpointPrePackagedRule, + 'kibana.alert.rule.producer': 'siem', + 'kibana.alert.rule.references': [], + 'kibana.alert.rule.risk_score': endpointPrePackagedRule.risk_score, + 'kibana.alert.rule.risk_score_mapping': [ + { + field: 'event.risk_score', + operator: 'equals', + value: '', + }, + ], + 'kibana.alert.rule.rule_id': endpointPrePackagedRule.rule_id, + 'kibana.alert.rule.rule_name_override': 'message', + 'kibana.alert.rule.rule_type_id': 'siem.queryRule', + 'kibana.alert.rule.severity': 'medium', + 'kibana.alert.rule.severity_mapping': endpointPrePackagedRule.severity_mapping, + 'kibana.alert.rule.tags': endpointPrePackagedRule.tags, + 'kibana.alert.rule.threat': [], + 'kibana.alert.rule.timestamp_override': endpointPrePackagedRule.timestamp_override, + 'kibana.alert.rule.to': 'now', + 'kibana.alert.rule.type': 'query', + 'kibana.alert.rule.updated_at': '2022-10-26T21:02:00.237Z', + 'kibana.alert.rule.updated_by': 'some_user', + 'kibana.alert.rule.uuid': '6eae8572-5571-11ed-a602-953b659b2e32', + 'kibana.alert.rule.version': 100, + 'kibana.alert.severity': 'medium', + 'kibana.alert.status': 'active', + 'kibana.alert.uuid': 'e25f166b83234cbcfc41600a0191ee6a0efec0f959c6899a325d8026711e6c02', + 'kibana.alert.workflow_status': 'open', + 'kibana.space_ids': ['default'], + 'kibana.version': kibanaPackageJson.version, + }, + overrides + ); + } +} diff --git a/x-pack/test/security_solution_ftr/services/detections/index.ts b/x-pack/test/security_solution_ftr/services/detections/index.ts index 024dede892be5..2fbc8c158640c 100644 --- a/x-pack/test/security_solution_ftr/services/detections/index.ts +++ b/x-pack/test/security_solution_ftr/services/detections/index.ts @@ -8,6 +8,7 @@ import { Response } from 'superagent'; import { EndpointError } from '@kbn/security-solution-plugin/common/endpoint/errors'; import { + DEFAULT_ALERTS_INDEX, DETECTION_ENGINE_QUERY_SIGNALS_URL, DETECTION_ENGINE_RULES_BULK_ACTION, DETECTION_ENGINE_RULES_URL, @@ -15,13 +16,23 @@ import { import { estypes } from '@elastic/elasticsearch'; import endpointPrePackagedRule from '@kbn/security-solution-plugin/server/lib/detection_engine/prebuilt_rules/content/prepackaged_rules/elastic_endpoint_security.json'; import { Rule } from '@kbn/security-solution-plugin/public/detection_engine/rule_management/logic/types'; +import { kibanaPackageJson } from '@kbn/utils'; +import { wrapErrorIfNeeded } from '@kbn/security-solution-plugin/common/endpoint/data_loaders/utils'; import { FtrService } from '../../../functional/ftr_provider_context'; +import { EndpointRuleAlertGenerator } from './endpoint_rule_alert_generator'; +import { getAlertsIndexMappings } from './alerts_security_index_mappings'; + +export interface IndexedEndpointRuleAlerts { + alerts: estypes.WriteResponseBase[]; + cleanup: () => Promise; +} export class DetectionsTestService extends FtrService { private readonly supertest = this.ctx.getService('supertest'); private readonly log = this.ctx.getService('log'); private readonly retry = this.ctx.getService('retry'); private readonly config = this.ctx.getService('config'); + private readonly esClient = this.ctx.getService('es'); private readonly defaultTimeout = this.config.get('timeouts.waitFor'); /** @@ -51,6 +62,36 @@ export class DetectionsTestService extends FtrService { }; } + private async ensureEndpointRuleAlertsIndexExists(): Promise { + const indexMappings = getAlertsIndexMappings().value; + + if (indexMappings.mappings?._meta?.kibana.version) { + indexMappings.mappings._meta.kibana.version = kibanaPackageJson.version; + } + + try { + await this.esClient.indices.create({ + index: indexMappings.index, + body: { + settings: indexMappings.settings, + mappings: indexMappings.mappings, + aliases: indexMappings.aliases, + }, + }); + } catch (error) { + // ignore error that indicate index is already created + if ( + ['resource_already_exists_exception', 'invalid_alias_name_exception'].includes( + error?.body?.error?.type + ) + ) { + return; + } + + throw wrapErrorIfNeeded(error); + } + } + /** * Fetches the endpoint security rule using the pre-packaged `rule_id` */ @@ -99,10 +140,11 @@ export class DetectionsTestService extends FtrService { } /** - * Waits for alerts to have been loaded into `.alerts-security.alerts-default` index + * Waits for alerts to have been loaded by continuously calling the alerts api until data shows up * @param query + * @param timeoutMs */ - async waitForAlerts(query: object = { match_all: {} }, timeoutMs?: number) { + async waitForAlerts(query: object = { match_all: {} }, timeoutMs?: number): Promise { await this.retry.waitForWithTimeout( 'Checking alerts index for data', timeoutMs ?? this.defaultTimeout, @@ -128,4 +170,62 @@ export class DetectionsTestService extends FtrService { } ); } + + /** + * Loads alerts for Endpoint directly into the internal index that the Endpoint Rule + * would have written them to for a given endpoint + * @param endpointAgentId + * @param count + */ + async loadEndpointRuleAlerts( + endpointAgentId: string, + count: number = 2 + ): Promise { + this.log.info(`Loading ${count} endpoint rule alerts`); + + await this.ensureEndpointRuleAlertsIndexExists(); + + const alertsGenerator = new EndpointRuleAlertGenerator(); + const esClient = this.esClient; + const indexedAlerts: estypes.IndexResponse[] = []; + + for (let n = 0; n < count; n++) { + const alert = alertsGenerator.generate({ agent: { id: endpointAgentId } }); + const indexedAlert = await esClient.index({ + index: `${DEFAULT_ALERTS_INDEX}-default`, + refresh: 'wait_for', + body: alert, + }); + + indexedAlerts.push(indexedAlert); + } + + this.log.info(`Endpoint rule alerts created:`, indexedAlerts); + + return { + alerts: indexedAlerts, + cleanup: async (): Promise => { + if (indexedAlerts.length) { + this.log.info('cleaning up loaded endpoint rule alerts'); + + await esClient.bulk({ + body: indexedAlerts.map((indexedDoc) => { + return { + delete: { + _index: indexedDoc._index, + _id: indexedDoc._id, + }, + }; + }), + }); + + this.log.info( + `Deleted ${indexedAlerts.length} endpoint rule alerts. Ids: [${indexedAlerts + .map((alert) => alert._id) + .join()}]` + ); + } + }, + }; + } } From c5e48a336a9c4fe0a2c28e61ee15d2fef7539b06 Mon Sep 17 00:00:00 2001 From: Spencer Date: Mon, 31 Oct 2022 13:31:55 -0700 Subject: [PATCH 063/111] [typecheck] delete temporary target_types dirs in packages (#144271) --- src/dev/typescript/run_type_check_cli.ts | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/src/dev/typescript/run_type_check_cli.ts b/src/dev/typescript/run_type_check_cli.ts index a7abbc8e2fbba..d1f0bab0a784e 100644 --- a/src/dev/typescript/run_type_check_cli.ts +++ b/src/dev/typescript/run_type_check_cli.ts @@ -8,12 +8,14 @@ import Path from 'path'; import Fs from 'fs'; +import Fsp from 'fs/promises'; import { run } from '@kbn/dev-cli-runner'; import { createFailError } from '@kbn/dev-cli-errors'; import { REPO_ROOT } from '@kbn/utils'; import { Jsonc } from '@kbn/bazel-packages'; import { runBazel } from '@kbn/bazel-runner'; +import { asyncForEachWithLimit } from '@kbn/std'; import { BazelPackage, discoverBazelPackages } from '@kbn/bazel-packages'; import { PROJECTS } from './projects'; @@ -198,9 +200,24 @@ export async function runTypeCheckCli() { // cleanup if (flagsReader.boolean('cleanup')) { await cleanupRootRefsConfig(); - for (const path of created) { - Fs.unlinkSync(path); - } + + await asyncForEachWithLimit(created, 40, async (path) => { + await Fsp.unlink(path); + }); + + await asyncForEachWithLimit(bazelPackages, 40, async (pkg) => { + const targetTypesPaths = Path.resolve( + REPO_ROOT, + 'bazel-bin', + pkg.normalizedRepoRelativeDir, + 'target_type' + ); + + await Fsp.rm(targetTypesPaths, { + force: true, + recursive: true, + }); + }); } if (pluginBuildResult.failed) { From e502ecfd183ce41035ded8a39ddb009d3b867339 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Louv-Jansen?= Date: Mon, 31 Oct 2022 22:42:29 +0100 Subject: [PATCH 064/111] [APM] Show recommended minimum size when going below 5 minutes (#144170) --- .../error_count_rule_type/index.stories.tsx | 3 +- .../error_count_rule_type/index.tsx | 22 ++-- .../index.tsx | 5 +- .../transaction_duration_rule_type/index.tsx | 18 ++-- .../index.tsx | 18 ++-- .../apm_rule_params_container/index.test.tsx | 2 +- .../apm_rule_params_container/index.tsx | 100 +++++++++++++++++- .../components/alerting/utils/helper.ts | 6 +- .../triggers_actions_ui/public/index.ts | 2 +- 9 files changed, 134 insertions(+), 42 deletions(-) diff --git a/x-pack/plugins/apm/public/components/alerting/rule_types/error_count_rule_type/index.stories.tsx b/x-pack/plugins/apm/public/components/alerting/rule_types/error_count_rule_type/index.stories.tsx index 9c422df230e20..424e490b732b1 100644 --- a/x-pack/plugins/apm/public/components/alerting/rule_types/error_count_rule_type/index.stories.tsx +++ b/x-pack/plugins/apm/public/components/alerting/rule_types/error_count_rule_type/index.stories.tsx @@ -9,6 +9,7 @@ import { Meta, Story } from '@storybook/react'; import React, { useState } from 'react'; import { CoreStart } from '@kbn/core/public'; import { createKibanaReactContext } from '@kbn/kibana-react-plugin/public'; +import { TIME_UNITS } from '@kbn/triggers-actions-ui-plugin/public'; import { RuleParams, ErrorCountRuleType } from '.'; import { ENVIRONMENT_ALL } from '../../../../../common/environment_filter_values'; import { createCallApmApi } from '../../../../services/rest/create_call_apm_api'; @@ -129,7 +130,7 @@ EditingInStackManagement.args = { serviceName: 'testServiceName', threshold: 25, windowSize: 1, - windowUnit: 'm', + windowUnit: TIME_UNITS.MINUTE, }, metadata: undefined, }; diff --git a/x-pack/plugins/apm/public/components/alerting/rule_types/error_count_rule_type/index.tsx b/x-pack/plugins/apm/public/components/alerting/rule_types/error_count_rule_type/index.tsx index 218f35c85400f..8868cd6ccce88 100644 --- a/x-pack/plugins/apm/public/components/alerting/rule_types/error_count_rule_type/index.tsx +++ b/x-pack/plugins/apm/public/components/alerting/rule_types/error_count_rule_type/index.tsx @@ -10,7 +10,10 @@ import { defaults, omit } from 'lodash'; import React, { useEffect } from 'react'; import { CoreStart } from '@kbn/core/public'; import { useKibana } from '@kbn/kibana-react-plugin/public'; -import { ForLastExpression } from '@kbn/triggers-actions-ui-plugin/public'; +import { + ForLastExpression, + TIME_UNITS, +} from '@kbn/triggers-actions-ui-plugin/public'; import { ENVIRONMENT_ALL } from '../../../../../common/environment_filter_values'; import { asInteger } from '../../../../../common/utils/formatters'; import { useFetcher } from '../../../../hooks/use_fetcher'; @@ -21,16 +24,12 @@ import { IsAboveField, ServiceField, } from '../../utils/fields'; -import { - AlertMetadata, - getIntervalAndTimeRange, - TimeUnit, -} from '../../utils/helper'; +import { AlertMetadata, getIntervalAndTimeRange } from '../../utils/helper'; import { ApmRuleParamsContainer } from '../../ui_components/apm_rule_params_container'; export interface RuleParams { windowSize?: number; - windowUnit?: TimeUnit; + windowUnit?: TIME_UNITS; threshold?: number; serviceName?: string; environment?: string; @@ -55,8 +54,8 @@ export function ErrorCountRuleType(props: Props) { { ...omit(metadata, ['start', 'end']), ...ruleParams }, { threshold: 25, - windowSize: 1, - windowUnit: 'm', + windowSize: 5, + windowUnit: TIME_UNITS.MINUTE, environment: ENVIRONMENT_ALL.value, } ); @@ -65,7 +64,7 @@ export function ErrorCountRuleType(props: Props) { (callApmApi) => { const { interval, start, end } = getIntervalAndTimeRange({ windowSize: params.windowSize, - windowUnit: params.windowUnit as TimeUnit, + windowUnit: params.windowUnit, }); if (interval && start && end) { return callApmApi( @@ -135,7 +134,8 @@ export function ErrorCountRuleType(props: Props) { return ( diff --git a/x-pack/plugins/apm/public/components/alerting/rule_types/transaction_duration_rule_type/index.tsx b/x-pack/plugins/apm/public/components/alerting/rule_types/transaction_duration_rule_type/index.tsx index e211fea900522..c2423741a4e9e 100644 --- a/x-pack/plugins/apm/public/components/alerting/rule_types/transaction_duration_rule_type/index.tsx +++ b/x-pack/plugins/apm/public/components/alerting/rule_types/transaction_duration_rule_type/index.tsx @@ -11,7 +11,10 @@ import { defaults, map, omit } from 'lodash'; import React, { useEffect } from 'react'; import { CoreStart } from '@kbn/core/public'; import { useKibana } from '@kbn/kibana-react-plugin/public'; -import { ForLastExpression } from '@kbn/triggers-actions-ui-plugin/public'; +import { + ForLastExpression, + TIME_UNITS, +} from '@kbn/triggers-actions-ui-plugin/public'; import { AggregationType } from '../../../../../common/rules/apm_rule_types'; import { ENVIRONMENT_ALL } from '../../../../../common/environment_filter_values'; import { getDurationFormatter } from '../../../../../common/utils/formatters'; @@ -28,11 +31,7 @@ import { ServiceField, TransactionTypeField, } from '../../utils/fields'; -import { - AlertMetadata, - getIntervalAndTimeRange, - TimeUnit, -} from '../../utils/helper'; +import { AlertMetadata, getIntervalAndTimeRange } from '../../utils/helper'; import { ApmRuleParamsContainer } from '../../ui_components/apm_rule_params_container'; import { PopoverExpression } from '../../ui_components/popover_expression'; @@ -85,7 +84,7 @@ export function TransactionDurationRuleType(props: Props) { aggregationType: AggregationType.Avg, threshold: 1500, windowSize: 5, - windowUnit: 'm', + windowUnit: TIME_UNITS.MINUTE, environment: ENVIRONMENT_ALL.value, } ); @@ -94,7 +93,7 @@ export function TransactionDurationRuleType(props: Props) { (callApmApi) => { const { interval, start, end } = getIntervalAndTimeRange({ windowSize: params.windowSize, - windowUnit: params.windowUnit as TimeUnit, + windowUnit: params.windowUnit, }); if (interval && start && end) { return callApmApi( @@ -200,8 +199,9 @@ export function TransactionDurationRuleType(props: Props) { return ( { const { interval, start, end } = getIntervalAndTimeRange({ windowSize: params.windowSize, - windowUnit: params.windowUnit as TimeUnit, + windowUnit: params.windowUnit, }); if (interval && start && end) { return callApmApi( @@ -142,8 +141,9 @@ export function TransactionErrorRateRuleType(props: Props) { return ( { expect(() => render( {}} setRuleProperty={() => {}} diff --git a/x-pack/plugins/apm/public/components/alerting/ui_components/apm_rule_params_container/index.tsx b/x-pack/plugins/apm/public/components/alerting/ui_components/apm_rule_params_container/index.tsx index df252658e32c9..1ad348edcf4ac 100644 --- a/x-pack/plugins/apm/public/components/alerting/ui_components/apm_rule_params_container/index.tsx +++ b/x-pack/plugins/apm/public/components/alerting/ui_components/apm_rule_params_container/index.tsx @@ -5,24 +5,48 @@ * 2.0. */ -import { EuiFlexGrid, EuiFlexItem, EuiSpacer } from '@elastic/eui'; -import React, { useEffect } from 'react'; +import { EuiCallOut, EuiFlexGrid, EuiFlexItem, EuiSpacer } from '@elastic/eui'; +import React, { useEffect, useState } from 'react'; +import { i18n } from '@kbn/i18n'; +import moment from 'moment'; +import { + getTimeUnitLabel, + TIME_UNITS, +} from '@kbn/triggers-actions-ui-plugin/public'; + +interface MinimumWindowSize { + value: number; + unit: TIME_UNITS; +} interface Props { setRuleParams: (key: string, value: any) => void; setRuleProperty: (key: string, value: any) => void; - defaults: Record; + defaultParams: Record; fields: React.ReactNode[]; chartPreview?: React.ReactNode; + minimumWindowSize?: MinimumWindowSize; } export function ApmRuleParamsContainer(props: Props) { - const { fields, setRuleParams, defaults, chartPreview } = props; + const { + fields, + setRuleParams, + defaultParams, + chartPreview, + minimumWindowSize, + } = props; const params: Record = { - ...defaults, + ...defaultParams, }; + const showMinimumWindowSizeWarning = useShowMinimumWindowSize({ + windowSize: params.windowSize, + windowUnit: params.windowUnit, + minimumWindowSize, + }); + useEffect(() => { // we only want to run this on mount to set default values Object.keys(params).forEach((key) => { @@ -33,6 +57,10 @@ export function ApmRuleParamsContainer(props: Props) { }, []); return ( <> + {showMinimumWindowSizeWarning && minimumWindowSize && ( + + )} + {fields.map((field, index) => ( @@ -41,8 +69,70 @@ export function ApmRuleParamsContainer(props: Props) { ))} + {chartPreview} ); } + +function MinimumWindowSizeWarning({ + minimumWindowSize, +}: { + minimumWindowSize: MinimumWindowSize; +}) { + const description = i18n.translate( + 'xpack.apm.alertTypes.minimumWindowSize.description', + { + defaultMessage: + 'The recommended minimum value is {sizeValue} {sizeUnit}. This is to ensure that the alert has enough data to evaluate. If you choose a value that is too low, the alert may not fire as expected.', + values: { + sizeValue: minimumWindowSize.value, + sizeUnit: getTimeUnitLabel(minimumWindowSize.unit), + }, + } + ); + + return ( + +

{description}

+
+ ); +} + +function useShowMinimumWindowSize({ + windowSize, + windowUnit, + minimumWindowSize, +}: { + windowSize?: number; + windowUnit?: TIME_UNITS; + minimumWindowSize?: MinimumWindowSize; +}) { + const [showMinimumWindowSizeWarning, setShowMinimumWindowSizeWarning] = + useState(false); + + useEffect(() => { + if (windowSize === undefined || minimumWindowSize === undefined) { + return; + } + + const currentWindowSize = moment + .duration(windowSize, windowUnit) + .asMilliseconds(); + const minimumWindowSizeAsMillis = moment + .duration(minimumWindowSize.value, minimumWindowSize.unit) + .asMilliseconds(); + + const shouldShow = currentWindowSize < minimumWindowSizeAsMillis; + setShowMinimumWindowSizeWarning(shouldShow); + }, [windowSize, windowUnit, minimumWindowSize]); + + return showMinimumWindowSizeWarning; +} diff --git a/x-pack/plugins/apm/public/components/alerting/utils/helper.ts b/x-pack/plugins/apm/public/components/alerting/utils/helper.ts index 4032c33fa30b7..e5dc2a78b5a1c 100644 --- a/x-pack/plugins/apm/public/components/alerting/utils/helper.ts +++ b/x-pack/plugins/apm/public/components/alerting/utils/helper.ts @@ -4,6 +4,8 @@ * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ + +import { TIME_UNITS } from '@kbn/triggers-actions-ui-plugin/public'; import moment from 'moment'; export interface AlertMetadata { @@ -14,8 +16,6 @@ export interface AlertMetadata { end?: string; } -export type TimeUnit = 's' | 'm' | 'h' | 'd'; - const BUCKET_SIZE = 20; export function getIntervalAndTimeRange({ @@ -23,7 +23,7 @@ export function getIntervalAndTimeRange({ windowUnit, }: { windowSize: number; - windowUnit: TimeUnit; + windowUnit: TIME_UNITS; }) { const end = Date.now(); const start = diff --git a/x-pack/plugins/triggers_actions_ui/public/index.ts b/x-pack/plugins/triggers_actions_ui/public/index.ts index 7500a66b70f16..0a560be762eb5 100644 --- a/x-pack/plugins/triggers_actions_ui/public/index.ts +++ b/x-pack/plugins/triggers_actions_ui/public/index.ts @@ -142,7 +142,7 @@ export { loadRule } from './application/lib/rule_api/get_rule'; export { loadAllActions } from './application/lib/action_connector_api'; export { suspendedComponentWithProps } from './application/lib/suspended_component_with_props'; export { loadActionTypes } from './application/lib/action_connector_api/connector_types'; -export type { TIME_UNITS } from './application/constants'; +export { TIME_UNITS } from './application/constants'; export { getTimeUnitLabel } from './common/lib/get_time_unit_label'; export type { TriggersAndActionsUiServices } from './application/app'; From 5c50cd4ffd35e8810e8bbdc5b960d76407098edc Mon Sep 17 00:00:00 2001 From: Zacqary Adam Xeper Date: Mon, 31 Oct 2022 19:26:53 -0500 Subject: [PATCH 065/111] [RAM] Allow users to see event logs from all spaces they have access to (#140449) * Add all_namespaces prop to global logs api * Display space column and disable link on inactive spaces * Add ability to link across spaces * Fix allNamespace query on default space * Fix KPI and link space switch to permissions * Open alternate space rules in new tab * Fix Jest 11 * Fix Jest 1 * Fix Jest 4 and 10 * Fix i18n * Move space column visibility out of data grid --- .../alerting/common/execution_log_types.ts | 1 + .../lib/get_execution_log_aggregation.test.ts | 11 +++ .../lib/get_execution_log_aggregation.ts | 8 +- .../server/routes/get_action_error_log.ts | 11 ++- .../server/routes/get_global_execution_kpi.ts | 5 +- .../routes/get_global_execution_logs.test.ts | 2 + .../routes/get_global_execution_logs.ts | 5 +- .../routes/get_rule_execution_log.test.ts | 2 + .../alerting/server/routes/lib/index.ts | 1 + .../server/routes/lib/rewrite_namespaces.ts | 11 +++ .../alerting/server/rules_client.mock.ts | 1 + .../server/rules_client/rules_client.ts | 95 +++++++++++++++++-- .../tests/get_action_error_log.test.ts | 61 ++++++++++++ .../tests/get_execution_log.test.ts | 4 + .../server/es/cluster_client_adapter.mock.ts | 1 + .../server/es/cluster_client_adapter.test.ts | 90 ++++++++++++------ .../server/es/cluster_client_adapter.ts | 80 ++++++++++++++-- .../event_log/server/event_log_client.mock.ts | 1 + .../event_log/server/event_log_client.test.ts | 2 +- .../event_log/server/event_log_client.ts | 30 +++++- x-pack/plugins/event_log/server/types.ts | 10 +- .../public/application/constants/index.ts | 1 + .../rule_api/load_action_error_log.test.ts | 2 + .../lib/rule_api/load_action_error_log.ts | 6 ++ .../load_execution_log_aggregations.ts | 7 +- .../load_global_execution_kpi_aggregations.ts | 3 + .../logs_list/components/logs_list.tsx | 1 + .../rule_action_error_log_flyout.tsx | 26 ++++- .../components/rule_error_log.tsx | 6 +- .../components/rule_event_log_data_grid.tsx | 41 ++++++-- ...rule_event_log_list_cell_renderer.test.tsx | 75 ++++++++++++++- .../rule_event_log_list_cell_renderer.tsx | 66 +++++++++++-- .../components/rule_event_log_list_kpi.tsx | 5 +- .../components/rule_event_log_list_table.tsx | 81 +++++++++++++++- .../common/lib/kibana/__mocks__/index.ts | 1 + .../public/common/lib/kibana/index.ts | 1 + .../common/lib/kibana/use_spaces_data.tsx | 24 +++++ 37 files changed, 704 insertions(+), 74 deletions(-) create mode 100644 x-pack/plugins/alerting/server/routes/lib/rewrite_namespaces.ts create mode 100644 x-pack/plugins/triggers_actions_ui/public/common/lib/kibana/use_spaces_data.tsx diff --git a/x-pack/plugins/alerting/common/execution_log_types.ts b/x-pack/plugins/alerting/common/execution_log_types.ts index 223b45cb98923..2d5e34df8f766 100644 --- a/x-pack/plugins/alerting/common/execution_log_types.ts +++ b/x-pack/plugins/alerting/common/execution_log_types.ts @@ -61,6 +61,7 @@ export interface IExecutionLog { schedule_delay_ms: number; timed_out: boolean; rule_id: string; + space_ids: string[]; rule_name: string; } diff --git a/x-pack/plugins/alerting/server/lib/get_execution_log_aggregation.test.ts b/x-pack/plugins/alerting/server/lib/get_execution_log_aggregation.test.ts index ee05e3cda32f6..6a57baaacef27 100644 --- a/x-pack/plugins/alerting/server/lib/get_execution_log_aggregation.test.ts +++ b/x-pack/plugins/alerting/server/lib/get_execution_log_aggregation.test.ts @@ -280,6 +280,7 @@ describe('getExecutionLogAggregation', () => { 'error.message', 'kibana.version', 'rule.id', + 'kibana.space_ids', 'rule.name', 'kibana.alerting.outcome', ], @@ -486,6 +487,7 @@ describe('getExecutionLogAggregation', () => { 'error.message', 'kibana.version', 'rule.id', + 'kibana.space_ids', 'rule.name', 'kibana.alerting.outcome', ], @@ -692,6 +694,7 @@ describe('getExecutionLogAggregation', () => { 'error.message', 'kibana.version', 'rule.id', + 'kibana.space_ids', 'rule.name', 'kibana.alerting.outcome', ], @@ -954,6 +957,7 @@ describe('formatExecutionLogResult', () => { schedule_delay_ms: 3074, rule_id: 'a348a740-9e2c-11ec-bd64-774ed95c43ef', rule_name: 'rule_name', + space_ids: [], }, { id: '41b2755e-765a-4044-9745-b03875d5e79a', @@ -976,6 +980,7 @@ describe('formatExecutionLogResult', () => { schedule_delay_ms: 3126, rule_id: 'a348a740-9e2c-11ec-bd64-774ed95c43ef', rule_name: 'rule_name', + space_ids: [], }, ], }); @@ -1203,6 +1208,7 @@ describe('formatExecutionLogResult', () => { schedule_delay_ms: 3074, rule_id: 'a348a740-9e2c-11ec-bd64-774ed95c43ef', rule_name: 'rule_name', + space_ids: [], }, { id: '41b2755e-765a-4044-9745-b03875d5e79a', @@ -1225,6 +1231,7 @@ describe('formatExecutionLogResult', () => { schedule_delay_ms: 3126, rule_id: 'a348a740-9e2c-11ec-bd64-774ed95c43ef', rule_name: 'rule_name', + space_ids: [], }, ], }); @@ -1444,6 +1451,7 @@ describe('formatExecutionLogResult', () => { schedule_delay_ms: 3074, rule_id: 'a348a740-9e2c-11ec-bd64-774ed95c43ef', rule_name: 'rule_name', + space_ids: [], }, { id: '41b2755e-765a-4044-9745-b03875d5e79a', @@ -1466,6 +1474,7 @@ describe('formatExecutionLogResult', () => { schedule_delay_ms: 3126, rule_id: 'a348a740-9e2c-11ec-bd64-774ed95c43ef', rule_name: 'rule_name', + space_ids: [], }, ], }); @@ -1690,6 +1699,7 @@ describe('formatExecutionLogResult', () => { schedule_delay_ms: 3126, rule_id: 'a348a740-9e2c-11ec-bd64-774ed95c43ef', rule_name: 'rule_name', + space_ids: [], }, { id: '61bb867b-661a-471f-bf92-23471afa10b3', @@ -1712,6 +1722,7 @@ describe('formatExecutionLogResult', () => { schedule_delay_ms: 3133, rule_id: 'a348a740-9e2c-11ec-bd64-774ed95c43ef', rule_name: 'rule_name', + space_ids: [], }, ], }); diff --git a/x-pack/plugins/alerting/server/lib/get_execution_log_aggregation.ts b/x-pack/plugins/alerting/server/lib/get_execution_log_aggregation.ts index c5a2c18ad679b..b65499de20d45 100644 --- a/x-pack/plugins/alerting/server/lib/get_execution_log_aggregation.ts +++ b/x-pack/plugins/alerting/server/lib/get_execution_log_aggregation.ts @@ -18,6 +18,7 @@ const DEFAULT_MAX_BUCKETS_LIMIT = 1000; // do not retrieve more than this number const DEFAULT_MAX_KPI_BUCKETS_LIMIT = 10000; const RULE_ID_FIELD = 'rule.id'; +const SPACE_ID_FIELD = 'kibana.space_ids'; const RULE_NAME_FIELD = 'rule.name'; const PROVIDER_FIELD = 'event.provider'; const START_FIELD = 'event.start'; @@ -410,6 +411,7 @@ export function getExecutionLogAggregation({ ERROR_MESSAGE_FIELD, VERSION_FIELD, RULE_ID_FIELD, + SPACE_ID_FIELD, RULE_NAME_FIELD, ALERTING_OUTCOME_FIELD, ], @@ -494,8 +496,9 @@ function formatExecutionLogAggBucket(bucket: IExecutionUuidAggBucket): IExecutio status === 'failure' ? `${outcomeMessage} - ${outcomeErrorMessage}` : outcomeMessage; const version = outcomeAndMessage.kibana?.version ?? ''; - const ruleId = outcomeAndMessage.rule?.id ?? ''; - const ruleName = outcomeAndMessage.rule?.name ?? ''; + const ruleId = outcomeAndMessage ? outcomeAndMessage?.rule?.id ?? '' : ''; + const spaceIds = outcomeAndMessage ? outcomeAndMessage?.kibana?.space_ids ?? [] : []; + const ruleName = outcomeAndMessage ? outcomeAndMessage.rule?.name ?? '' : ''; return { id: bucket?.key ?? '', timestamp: bucket?.ruleExecution?.executeStartTime.value_as_string ?? '', @@ -515,6 +518,7 @@ function formatExecutionLogAggBucket(bucket: IExecutionUuidAggBucket): IExecutio schedule_delay_ms: scheduleDelayUs / Millis2Nanos, timed_out: timedOut, rule_id: ruleId, + space_ids: spaceIds, rule_name: ruleName, }; } diff --git a/x-pack/plugins/alerting/server/routes/get_action_error_log.ts b/x-pack/plugins/alerting/server/routes/get_action_error_log.ts index c833b65e34bb0..7e8028cad7f16 100644 --- a/x-pack/plugins/alerting/server/routes/get_action_error_log.ts +++ b/x-pack/plugins/alerting/server/routes/get_action_error_log.ts @@ -34,15 +34,19 @@ const querySchema = schema.object({ per_page: schema.number({ defaultValue: 10, min: 1 }), page: schema.number({ defaultValue: 1, min: 1 }), sort: sortFieldsSchema, + namespace: schema.maybe(schema.string()), + with_auth: schema.maybe(schema.boolean()), }); const rewriteReq: RewriteRequestCase = ({ date_start: dateStart, date_end: dateEnd, per_page: perPage, + namespace, ...rest }) => ({ ...rest, + namespace, dateStart, dateEnd, perPage, @@ -64,8 +68,13 @@ export const getActionErrorLogRoute = ( verifyAccessAndContext(licenseState, async function (context, req, res) { const rulesClient = (await context.alerting).getRulesClient(); const { id } = req.params; + const withAuth = req.query.with_auth; + const rewrittenReq = rewriteReq({ id, ...req.query }); + const getter = ( + withAuth ? rulesClient.getActionErrorLogWithAuth : rulesClient.getActionErrorLog + ).bind(rulesClient); return res.ok({ - body: await rulesClient.getActionErrorLog(rewriteReq({ id, ...req.query })), + body: await getter(rewrittenReq), }); }) ) diff --git a/x-pack/plugins/alerting/server/routes/get_global_execution_kpi.ts b/x-pack/plugins/alerting/server/routes/get_global_execution_kpi.ts index 29937cc3d8c98..2aec9d998a9e6 100644 --- a/x-pack/plugins/alerting/server/routes/get_global_execution_kpi.ts +++ b/x-pack/plugins/alerting/server/routes/get_global_execution_kpi.ts @@ -7,7 +7,7 @@ import { IRouter } from '@kbn/core/server'; import { schema } from '@kbn/config-schema'; import { AlertingRequestHandlerContext, INTERNAL_BASE_ALERTING_API_PATH } from '../types'; -import { RewriteRequestCase, verifyAccessAndContext } from './lib'; +import { RewriteRequestCase, verifyAccessAndContext, rewriteNamespaces } from './lib'; import { GetGlobalExecutionKPIParams } from '../rules_client'; import { ILicenseState } from '../lib'; @@ -15,14 +15,17 @@ const querySchema = schema.object({ date_start: schema.string(), date_end: schema.maybe(schema.string()), filter: schema.maybe(schema.string()), + namespaces: schema.maybe(schema.arrayOf(schema.string())), }); const rewriteReq: RewriteRequestCase = ({ date_start: dateStart, date_end: dateEnd, + namespaces, ...rest }) => ({ ...rest, + namespaces: rewriteNamespaces(namespaces), dateStart, dateEnd, }); diff --git a/x-pack/plugins/alerting/server/routes/get_global_execution_logs.test.ts b/x-pack/plugins/alerting/server/routes/get_global_execution_logs.test.ts index 43b08ed0787e2..3ee2b0d1816ba 100644 --- a/x-pack/plugins/alerting/server/routes/get_global_execution_logs.test.ts +++ b/x-pack/plugins/alerting/server/routes/get_global_execution_logs.test.ts @@ -47,6 +47,7 @@ describe('getRuleExecutionLogRoute', () => { schedule_delay_ms: 3126, rule_id: 'a348a740-9e2c-11ec-bd64-774ed95c43ef', rule_name: 'rule-name', + space_ids: ['namespace'], }, { id: '41b2755e-765a-4044-9745-b03875d5e79a', @@ -69,6 +70,7 @@ describe('getRuleExecutionLogRoute', () => { schedule_delay_ms: 3008, rule_id: 'a348a740-9e2c-11ec-bd64-774ed95c43ef', rule_name: 'rule-name', + space_ids: ['namespace'], }, ], }; diff --git a/x-pack/plugins/alerting/server/routes/get_global_execution_logs.ts b/x-pack/plugins/alerting/server/routes/get_global_execution_logs.ts index 4695e5e7bdf89..e08ec1ac5bcb8 100644 --- a/x-pack/plugins/alerting/server/routes/get_global_execution_logs.ts +++ b/x-pack/plugins/alerting/server/routes/get_global_execution_logs.ts @@ -9,7 +9,7 @@ import { IRouter } from '@kbn/core/server'; import { schema } from '@kbn/config-schema'; import { ILicenseState } from '../lib'; import { GetGlobalExecutionLogParams } from '../rules_client'; -import { RewriteRequestCase, verifyAccessAndContext } from './lib'; +import { RewriteRequestCase, verifyAccessAndContext, rewriteNamespaces } from './lib'; import { AlertingRequestHandlerContext, INTERNAL_BASE_ALERTING_API_PATH } from '../types'; const sortOrderSchema = schema.oneOf([schema.literal('asc'), schema.literal('desc')]); @@ -38,15 +38,18 @@ const querySchema = schema.object({ per_page: schema.number({ defaultValue: 10, min: 1 }), page: schema.number({ defaultValue: 1, min: 1 }), sort: sortFieldsSchema, + namespaces: schema.maybe(schema.arrayOf(schema.string())), }); const rewriteReq: RewriteRequestCase = ({ date_start: dateStart, date_end: dateEnd, per_page: perPage, + namespaces, ...rest }) => ({ ...rest, + namespaces: rewriteNamespaces(namespaces), dateStart, dateEnd, perPage, diff --git a/x-pack/plugins/alerting/server/routes/get_rule_execution_log.test.ts b/x-pack/plugins/alerting/server/routes/get_rule_execution_log.test.ts index 048da6cbabeb3..eb22a6429809a 100644 --- a/x-pack/plugins/alerting/server/routes/get_rule_execution_log.test.ts +++ b/x-pack/plugins/alerting/server/routes/get_rule_execution_log.test.ts @@ -48,6 +48,7 @@ describe('getRuleExecutionLogRoute', () => { schedule_delay_ms: 3126, rule_id: 'a348a740-9e2c-11ec-bd64-774ed95c43ef', rule_name: 'rule_name', + space_ids: ['namespace'], }, { id: '41b2755e-765a-4044-9745-b03875d5e79a', @@ -70,6 +71,7 @@ describe('getRuleExecutionLogRoute', () => { schedule_delay_ms: 3008, rule_id: 'a348a740-9e2c-11ec-bd64-774ed95c43ef', rule_name: 'rule_name', + space_ids: ['namespace'], }, ], }; diff --git a/x-pack/plugins/alerting/server/routes/lib/index.ts b/x-pack/plugins/alerting/server/routes/lib/index.ts index e772f091bb059..90d903ada6eed 100644 --- a/x-pack/plugins/alerting/server/routes/lib/index.ts +++ b/x-pack/plugins/alerting/server/routes/lib/index.ts @@ -19,3 +19,4 @@ export type { export { verifyAccessAndContext } from './verify_access_and_context'; export { countUsageOfPredefinedIds } from './count_usage_of_predefined_ids'; export { rewriteRule } from './rewrite_rule'; +export { rewriteNamespaces } from './rewrite_namespaces'; diff --git a/x-pack/plugins/alerting/server/routes/lib/rewrite_namespaces.ts b/x-pack/plugins/alerting/server/routes/lib/rewrite_namespaces.ts new file mode 100644 index 0000000000000..5339b41526efe --- /dev/null +++ b/x-pack/plugins/alerting/server/routes/lib/rewrite_namespaces.ts @@ -0,0 +1,11 @@ +/* + * 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 const rewriteNamespaces = (namespaces?: Array) => + namespaces + ? namespaces.map((id: string | undefined) => (id === 'default' ? undefined : id)) + : undefined; diff --git a/x-pack/plugins/alerting/server/rules_client.mock.ts b/x-pack/plugins/alerting/server/rules_client.mock.ts index aa29e64d2f460..46a6c36bdea2a 100644 --- a/x-pack/plugins/alerting/server/rules_client.mock.ts +++ b/x-pack/plugins/alerting/server/rules_client.mock.ts @@ -34,6 +34,7 @@ const createRulesClientMock = () => { getGlobalExecutionKpiWithAuth: jest.fn(), getGlobalExecutionLogWithAuth: jest.fn(), getActionErrorLog: jest.fn(), + getActionErrorLogWithAuth: jest.fn(), getSpaceId: jest.fn(), bulkEdit: jest.fn(), bulkDeleteRules: jest.fn(), diff --git a/x-pack/plugins/alerting/server/rules_client/rules_client.ts b/x-pack/plugins/alerting/server/rules_client/rules_client.ts index 777cf340b53e7..bd4f9deb36b5d 100644 --- a/x-pack/plugins/alerting/server/rules_client/rules_client.ts +++ b/x-pack/plugins/alerting/server/rules_client/rules_client.ts @@ -419,6 +419,7 @@ export interface GetGlobalExecutionKPIParams { dateStart: string; dateEnd?: string; filter?: string; + namespaces?: Array; } export interface GetGlobalExecutionLogParams { @@ -428,6 +429,7 @@ export interface GetGlobalExecutionLogParams { page: number; perPage: number; sort: estypes.Sort; + namespaces?: Array; } export interface GetActionErrorLogByIdParams { @@ -438,6 +440,7 @@ export interface GetActionErrorLogByIdParams { page: number; perPage: number; sort: estypes.Sort; + namespace?: string; } interface ScheduleTaskOptions { @@ -458,6 +461,9 @@ const MAX_RULES_NUMBER_FOR_BULK_OPERATION = 10000; const API_KEY_GENERATE_CONCURRENCY = 50; const RULE_TYPE_CHECKS_CONCURRENCY = 50; +const actionErrorLogDefaultFilter = + 'event.provider:actions AND ((event.action:execute AND (event.outcome:failure OR kibana.alerting.status:warning)) OR (event.action:execute-timeout))'; + const alertingAuthorizationFilterOpts: AlertingAuthorizationFilterOpts = { type: AlertingAuthorizationFilterType.KQL, fieldNames: { ruleTypeId: 'alert.attributes.alertTypeId', consumer: 'alert.attributes.consumer' }, @@ -951,6 +957,7 @@ export class RulesClient { page, perPage, sort, + namespaces, }: GetGlobalExecutionLogParams): Promise { this.logger.debug(`getGlobalExecutionLogWithAuth(): getting global execution log`); @@ -1001,7 +1008,8 @@ export class RulesClient { perPage, sort, }), - } + }, + namespaces ); return formatExecutionLogResult(aggResult); @@ -1050,9 +1058,6 @@ export class RulesClient { }) ); - const defaultFilter = - 'event.provider:actions AND ((event.action:execute AND (event.outcome:failure OR kibana.alerting.status:warning)) OR (event.action:execute-timeout))'; - // default duration of instance summary is 60 * rule interval const dateNow = new Date(); const parsedDateStart = parseDate(dateStart, 'dateStart', dateNow); @@ -1069,7 +1074,9 @@ export class RulesClient { end: parsedDateEnd.toISOString(), page, per_page: perPage, - filter: filter ? `(${defaultFilter}) AND (${filter})` : defaultFilter, + filter: filter + ? `(${actionErrorLogDefaultFilter}) AND (${filter})` + : actionErrorLogDefaultFilter, sort: convertEsSortToEventLogSort(sort), }, rule.legacyId !== null ? [rule.legacyId] : undefined @@ -1083,10 +1090,85 @@ export class RulesClient { } } + public async getActionErrorLogWithAuth({ + id, + dateStart, + dateEnd, + filter, + page, + perPage, + sort, + namespace, + }: GetActionErrorLogByIdParams): Promise { + this.logger.debug(`getActionErrorLogWithAuth(): getting action error logs for rule ${id}`); + + let authorizationTuple; + try { + authorizationTuple = await this.authorization.getFindAuthorizationFilter( + AlertingAuthorizationEntity.Alert, + { + type: AlertingAuthorizationFilterType.KQL, + fieldNames: { + ruleTypeId: 'kibana.alert.rule.rule_type_id', + consumer: 'kibana.alert.rule.consumer', + }, + } + ); + } catch (error) { + this.auditLogger?.log( + ruleAuditEvent({ + action: RuleAuditAction.GET_ACTION_ERROR_LOG, + error, + }) + ); + throw error; + } + + this.auditLogger?.log( + ruleAuditEvent({ + action: RuleAuditAction.GET_ACTION_ERROR_LOG, + savedObject: { type: 'alert', id }, + }) + ); + + // default duration of instance summary is 60 * rule interval + const dateNow = new Date(); + const parsedDateStart = parseDate(dateStart, 'dateStart', dateNow); + const parsedDateEnd = parseDate(dateEnd, 'dateEnd', dateNow); + + const eventLogClient = await this.getEventLogClient(); + + try { + const errorResult = await eventLogClient.findEventsWithAuthFilter( + 'alert', + [id], + authorizationTuple.filter as KueryNode, + namespace, + { + start: parsedDateStart.toISOString(), + end: parsedDateEnd.toISOString(), + page, + per_page: perPage, + filter: filter + ? `(${actionErrorLogDefaultFilter}) AND (${filter})` + : actionErrorLogDefaultFilter, + sort: convertEsSortToEventLogSort(sort), + } + ); + return formatExecutionErrorsResult(errorResult); + } catch (err) { + this.logger.debug( + `rulesClient.getActionErrorLog(): error searching event log for rule ${id}: ${err.message}` + ); + throw err; + } + } + public async getGlobalExecutionKpiWithAuth({ dateStart, dateEnd, filter, + namespaces, }: GetGlobalExecutionKPIParams) { this.logger.debug(`getGlobalExecutionLogWithAuth(): getting global execution log`); @@ -1132,7 +1214,8 @@ export class RulesClient { start: parsedDateStart.toISOString(), end: parsedDateEnd.toISOString(), aggs: getExecutionKPIAggregation(filter), - } + }, + namespaces ); return formatExecutionKPIResult(aggResult); diff --git a/x-pack/plugins/alerting/server/rules_client/tests/get_action_error_log.test.ts b/x-pack/plugins/alerting/server/rules_client/tests/get_action_error_log.test.ts index 3a18634b4f5db..6b635abe5d7f0 100644 --- a/x-pack/plugins/alerting/server/rules_client/tests/get_action_error_log.test.ts +++ b/x-pack/plugins/alerting/server/rules_client/tests/get_action_error_log.test.ts @@ -8,6 +8,7 @@ import { RulesClient, ConstructorOptions, GetActionErrorLogByIdParams } from '../rules_client'; import { savedObjectsClientMock, loggingSystemMock } from '@kbn/core/server/mocks'; import { taskManagerMock } from '@kbn/task-manager-plugin/server/mocks'; +import { fromKueryExpression } from '@kbn/es-query'; import { ruleTypeRegistryMock } from '../../rule_type_registry.mock'; import { alertingAuthorizationMock } from '../../authorization/alerting_authorization.mock'; import { encryptedSavedObjectsMock } from '@kbn/encrypted-saved-objects-plugin/server/mocks'; @@ -574,3 +575,63 @@ describe('getActionErrorLog()', () => { }); }); }); + +describe('getActionErrorLogWithAuth()', () => { + let rulesClient: RulesClient; + + beforeEach(() => { + rulesClient = new RulesClient(rulesClientParams); + }); + + test('returns the expected return values when called', async () => { + const ruleSO = getRuleSavedObject({}); + authorization.getFindAuthorizationFilter.mockResolvedValue({ + filter: fromKueryExpression('*'), + ensureRuleTypeIsAuthorized() {}, + }); + unsecuredSavedObjectsClient.get.mockResolvedValueOnce(ruleSO); + eventLogClient.findEventsWithAuthFilter.mockResolvedValueOnce(findResults); + + const result = await rulesClient.getActionErrorLogWithAuth(getActionErrorLogParams()); + expect(result).toEqual({ + totalErrors: 5, + errors: [ + { + id: '08d9b0f5-0b41-47c9-951f-a666b5788ddc', + timestamp: '2022-03-23T17:37:07.106Z', + type: 'actions', + message: + 'action execution failure: .server-log:9e67b8b0-9e2c-11ec-bd64-774ed95c43ef: s - an error occurred while running the action executor: something funky with the server log', + }, + { + id: '08d9b0f5-0b41-47c9-951f-a666b5788ddc', + timestamp: '2022-03-23T17:37:07.102Z', + type: 'actions', + message: + 'action execution failure: .server-log:9e67b8b0-9e2c-11ec-bd64-774ed95c43ef: s - an error occurred while running the action executor: something funky with the server log', + }, + { + id: '08d9b0f5-0b41-47c9-951f-a666b5788ddc', + timestamp: '2022-03-23T17:37:07.098Z', + type: 'actions', + message: + 'action execution failure: .server-log:9e67b8b0-9e2c-11ec-bd64-774ed95c43ef: s - an error occurred while running the action executor: something funky with the server log', + }, + { + id: '08d9b0f5-0b41-47c9-951f-a666b5788ddc', + timestamp: '2022-03-23T17:37:07.096Z', + type: 'actions', + message: + 'action execution failure: .server-log:9e67b8b0-9e2c-11ec-bd64-774ed95c43ef: s - an error occurred while running the action executor: something funky with the server log', + }, + { + id: '08d9b0f5-0b41-47c9-951f-a666b5788ddc', + timestamp: '2022-03-23T17:37:07.086Z', + type: 'actions', + message: + 'action execution failure: .server-log:9e67b8b0-9e2c-11ec-bd64-774ed95c43ef: s - an error occurred while running the action executor: something funky with the server log', + }, + ], + }); + }); +}); diff --git a/x-pack/plugins/alerting/server/rules_client/tests/get_execution_log.test.ts b/x-pack/plugins/alerting/server/rules_client/tests/get_execution_log.test.ts index 83b85f4879cff..ffc40cd705abd 100644 --- a/x-pack/plugins/alerting/server/rules_client/tests/get_execution_log.test.ts +++ b/x-pack/plugins/alerting/server/rules_client/tests/get_execution_log.test.ts @@ -385,6 +385,7 @@ describe('getExecutionLogForRule()', () => { schedule_delay_ms: 3126, rule_id: 'a348a740-9e2c-11ec-bd64-774ed95c43ef', rule_name: 'rule-name', + space_ids: [], }, { id: '41b2755e-765a-4044-9745-b03875d5e79a', @@ -407,6 +408,7 @@ describe('getExecutionLogForRule()', () => { schedule_delay_ms: 3345, rule_id: 'a348a740-9e2c-11ec-bd64-774ed95c43ef', rule_name: 'rule-name', + space_ids: [], }, ], }); @@ -719,6 +721,7 @@ describe('getGlobalExecutionLogWithAuth()', () => { schedule_delay_ms: 3126, rule_id: 'a348a740-9e2c-11ec-bd64-774ed95c43ef', rule_name: 'rule-name', + space_ids: [], }, { id: '41b2755e-765a-4044-9745-b03875d5e79a', @@ -741,6 +744,7 @@ describe('getGlobalExecutionLogWithAuth()', () => { schedule_delay_ms: 3345, rule_id: 'a348a740-9e2c-11ec-bd64-774ed95c43ef', rule_name: 'rule-name', + space_ids: [], }, ], }); diff --git a/x-pack/plugins/event_log/server/es/cluster_client_adapter.mock.ts b/x-pack/plugins/event_log/server/es/cluster_client_adapter.mock.ts index 3cb1b8d12c0b1..adf1ecf0f7881 100644 --- a/x-pack/plugins/event_log/server/es/cluster_client_adapter.mock.ts +++ b/x-pack/plugins/event_log/server/es/cluster_client_adapter.mock.ts @@ -24,6 +24,7 @@ const createClusterClientMock = () => { getExistingIndexAliases: jest.fn(), setIndexAliasToHidden: jest.fn(), queryEventsBySavedObjects: jest.fn(), + queryEventsWithAuthFilter: jest.fn(), aggregateEventsBySavedObjects: jest.fn(), aggregateEventsWithAuthFilter: jest.fn(), shutdown: jest.fn(), diff --git a/x-pack/plugins/event_log/server/es/cluster_client_adapter.test.ts b/x-pack/plugins/event_log/server/es/cluster_client_adapter.test.ts index ea3e98e599ab5..a7a9e8bd0867a 100644 --- a/x-pack/plugins/event_log/server/es/cluster_client_adapter.test.ts +++ b/x-pack/plugins/event_log/server/es/cluster_client_adapter.test.ts @@ -779,7 +779,7 @@ describe('aggregateEventsWithAuthFilter', () => { }); const options: AggregateEventsWithAuthFilter = { index: 'index-name', - namespace: 'namespace', + namespaces: ['namespace'], type: 'saved-object-type', aggregateOptions: DEFAULT_OPTIONS as AggregateOptionsType, authFilter: fromKueryExpression('test:test'), @@ -1515,7 +1515,7 @@ describe('getQueryBody', () => { describe('getQueryBodyWithAuthFilter', () => { const options = { index: 'index-name', - namespace: undefined, + namespaces: undefined, type: 'saved-object-type', authFilter: fromKueryExpression('test:test'), }; @@ -1559,11 +1559,17 @@ describe('getQueryBodyWithAuthFilter', () => { }, { bool: { - must_not: { - exists: { - field: 'kibana.saved_objects.namespace', + should: [ + { + bool: { + must_not: { + exists: { + field: 'kibana.saved_objects.namespace', + }, + }, + }, }, - }, + ], }, }, ], @@ -1580,7 +1586,7 @@ describe('getQueryBodyWithAuthFilter', () => { expect( getQueryBodyWithAuthFilter( logger, - { ...options, namespace: 'namespace' } as AggregateEventsWithAuthFilter, + { ...options, namespaces: ['namespace'] } as AggregateEventsWithAuthFilter, {} ) ).toEqual({ @@ -1619,10 +1625,16 @@ describe('getQueryBodyWithAuthFilter', () => { }, }, { - term: { - 'kibana.saved_objects.namespace': { - value: 'namespace', - }, + bool: { + should: [ + { + term: { + 'kibana.saved_objects.namespace': { + value: 'namespace', + }, + }, + }, + ], }, }, ], @@ -1713,11 +1725,17 @@ describe('getQueryBodyWithAuthFilter', () => { }, { bool: { - must_not: { - exists: { - field: 'kibana.saved_objects.namespace', + should: [ + { + bool: { + must_not: { + exists: { + field: 'kibana.saved_objects.namespace', + }, + }, + }, }, - }, + ], }, }, ], @@ -1772,11 +1790,17 @@ describe('getQueryBodyWithAuthFilter', () => { }, { bool: { - must_not: { - exists: { - field: 'kibana.saved_objects.namespace', + should: [ + { + bool: { + must_not: { + exists: { + field: 'kibana.saved_objects.namespace', + }, + }, + }, }, - }, + ], }, }, ], @@ -1838,11 +1862,17 @@ describe('getQueryBodyWithAuthFilter', () => { }, { bool: { - must_not: { - exists: { - field: 'kibana.saved_objects.namespace', + should: [ + { + bool: { + must_not: { + exists: { + field: 'kibana.saved_objects.namespace', + }, + }, + }, }, - }, + ], }, }, ], @@ -1905,11 +1935,17 @@ describe('getQueryBodyWithAuthFilter', () => { }, { bool: { - must_not: { - exists: { - field: 'kibana.saved_objects.namespace', + should: [ + { + bool: { + must_not: { + exists: { + field: 'kibana.saved_objects.namespace', + }, + }, + }, }, - }, + ], }, }, ], diff --git a/x-pack/plugins/event_log/server/es/cluster_client_adapter.ts b/x-pack/plugins/event_log/server/es/cluster_client_adapter.ts index e807899d6290b..0d38895dbd800 100644 --- a/x-pack/plugins/event_log/server/es/cluster_client_adapter.ts +++ b/x-pack/plugins/event_log/server/es/cluster_client_adapter.ts @@ -50,14 +50,26 @@ interface QueryOptionsEventsBySavedObjectFilter { legacyIds?: string[]; } -export interface AggregateEventsWithAuthFilter { +interface QueryOptionsEventsWithAuthFilter { index: string; namespace: string | undefined; type: string; + ids: string[]; + authFilter: KueryNode; +} + +export interface AggregateEventsWithAuthFilter { + index: string; + namespaces?: Array; + type: string; authFilter: KueryNode; aggregateOptions: AggregateOptionsType; } +export type FindEventsOptionsWithAuthFilter = QueryOptionsEventsWithAuthFilter & { + findOptions: FindOptionsType; +}; + export type FindEventsOptionsBySavedObjectFilter = QueryOptionsEventsBySavedObjectFilter & { findOptions: FindOptionsType; }; @@ -70,6 +82,12 @@ export interface AggregateEventsBySavedObjectResult { aggregations: Record | undefined; } +type GetQueryBodyWithAuthFilterOpts = + | (FindEventsOptionsWithAuthFilter & { + namespaces: AggregateEventsWithAuthFilter['namespaces']; + }) + | AggregateEventsWithAuthFilter; + // eslint-disable-next-line @typescript-eslint/no-explicit-any type AliasAny = any; @@ -389,6 +407,50 @@ export class ClusterClientAdapter { + const { index, type, ids, findOptions } = queryOptions; + const { page, per_page: perPage, sort } = findOptions; + + const esClient = await this.elasticsearchClientPromise; + + const query = getQueryBodyWithAuthFilter( + this.logger, + { ...queryOptions, namespaces: [queryOptions.namespace] }, + pick(queryOptions.findOptions, ['start', 'end', 'filter']) + ); + + const body: estypes.SearchRequest['body'] = { + size: perPage, + from: (page - 1) * perPage, + query, + ...(sort + ? { sort: sort.map((s) => ({ [s.sort_field]: { order: s.sort_order } })) as estypes.Sort } + : {}), + }; + + try { + const { + hits: { hits, total }, + } = await esClient.search({ + index, + track_total_hits: true, + body, + }); + return { + page, + per_page: perPage, + total: isNumber(total) ? total : total!.value, + data: hits.map((hit) => hit._source), + }; + } catch (err) { + throw new Error( + `querying for Event Log by for type "${type}" and ids "${ids}" failed with: ${err.message}` + ); + } + } + public async aggregateEventsBySavedObjects( queryOptions: AggregateEventsOptionsBySavedObjectFilter ): Promise { @@ -462,13 +524,15 @@ export class ClusterClientAdapter + getNamespaceQuery(namespace) + ); let dslFilterQuery: estypes.QueryDslBoolQuery['filter']; try { const filterKueryNode = filter ? fromKueryExpression(filter) : null; @@ -501,8 +565,12 @@ export function getQueryBodyWithAuthFilter( }, }, }, - // @ts-expect-error undefined is not assignable as QueryDslTermQuery value - namespaceQuery, + { + bool: { + // @ts-expect-error undefined is not assignable as QueryDslTermQuery value + should: namespaceQuery, + }, + }, ]; const musts: estypes.QueryDslQueryContainer[] = [ diff --git a/x-pack/plugins/event_log/server/event_log_client.mock.ts b/x-pack/plugins/event_log/server/event_log_client.mock.ts index 0e11ded65be65..a44a319626ded 100644 --- a/x-pack/plugins/event_log/server/event_log_client.mock.ts +++ b/x-pack/plugins/event_log/server/event_log_client.mock.ts @@ -10,6 +10,7 @@ import { IEventLogClient } from './types'; const createEventLogClientMock = () => { const mock: jest.Mocked = { findEventsBySavedObjectIds: jest.fn(), + findEventsWithAuthFilter: jest.fn(), aggregateEventsBySavedObjectIds: jest.fn(), aggregateEventsWithAuthFilter: jest.fn(), }; diff --git a/x-pack/plugins/event_log/server/event_log_client.test.ts b/x-pack/plugins/event_log/server/event_log_client.test.ts index 5e4fd08819fb3..b91ef3ef43836 100644 --- a/x-pack/plugins/event_log/server/event_log_client.test.ts +++ b/x-pack/plugins/event_log/server/event_log_client.test.ts @@ -256,7 +256,7 @@ describe('EventLogStart', () => { }); expect(esContext.esAdapter.aggregateEventsWithAuthFilter).toHaveBeenCalledWith({ index: esContext.esNames.indexPattern, - namespace: undefined, + namespaces: [undefined], type: 'saved-object-type', authFilter: testAuthFilter, aggregateOptions: { diff --git a/x-pack/plugins/event_log/server/event_log_client.ts b/x-pack/plugins/event_log/server/event_log_client.ts index 85a798d0fb8bb..9a35868d248e5 100644 --- a/x-pack/plugins/event_log/server/event_log_client.ts +++ b/x-pack/plugins/event_log/server/event_log_client.ts @@ -112,6 +112,31 @@ export class EventLogClient implements IEventLogClient { }); } + public async findEventsWithAuthFilter( + type: string, + ids: string[], + authFilter: KueryNode, + namespace: string | undefined, + options?: Partial + ): Promise { + if (!authFilter) { + throw new Error('No authorization filter defined!'); + } + + const findOptions = queryOptionsSchema.validate(options ?? {}); + + return await this.esContext.esAdapter.queryEventsWithAuthFilter({ + index: this.esContext.esNames.indexPattern, + namespace: namespace + ? this.spacesService?.spaceIdToNamespace(namespace) + : await this.getNamespace(), + type, + ids, + findOptions, + authFilter, + }); + } + public async aggregateEventsBySavedObjectIds( type: string, ids: string[], @@ -142,7 +167,8 @@ export class EventLogClient implements IEventLogClient { public async aggregateEventsWithAuthFilter( type: string, authFilter: KueryNode, - options?: AggregateOptionsType + options?: AggregateOptionsType, + namespaces?: Array ) { if (!authFilter) { throw new Error('No authorization filter defined!'); @@ -158,7 +184,7 @@ export class EventLogClient implements IEventLogClient { return await this.esContext.esAdapter.aggregateEventsWithAuthFilter({ index: this.esContext.esNames.indexPattern, - namespace: await this.getNamespace(), + namespaces: namespaces ?? [await this.getNamespace()], type, authFilter, aggregateOptions: { ...aggregateOptions, aggs } as AggregateOptionsType, diff --git a/x-pack/plugins/event_log/server/types.ts b/x-pack/plugins/event_log/server/types.ts index d610a8bff9c2a..07a7e7ed2f7e2 100644 --- a/x-pack/plugins/event_log/server/types.ts +++ b/x-pack/plugins/event_log/server/types.ts @@ -57,6 +57,13 @@ export interface IEventLogClient { options?: Partial, legacyIds?: string[] ): Promise; + findEventsWithAuthFilter( + type: string, + ids: string[], + authFilter: KueryNode, + namespace: string | undefined, + options?: Partial + ): Promise; aggregateEventsBySavedObjectIds( type: string, ids: string[], @@ -66,7 +73,8 @@ export interface IEventLogClient { aggregateEventsWithAuthFilter( type: string, authFilter: KueryNode, - options?: Partial + options?: Partial, + namespaces?: Array ): Promise; } diff --git a/x-pack/plugins/triggers_actions_ui/public/application/constants/index.ts b/x-pack/plugins/triggers_actions_ui/public/application/constants/index.ts index 19d3b038c6350..a8b15215632c1 100644 --- a/x-pack/plugins/triggers_actions_ui/public/application/constants/index.ts +++ b/x-pack/plugins/triggers_actions_ui/public/application/constants/index.ts @@ -44,6 +44,7 @@ export const DEFAULT_RULE_INTERVAL = '1m'; export const RULE_EXECUTION_LOG_COLUMN_IDS = [ 'rule_id', 'rule_name', + 'space_ids', 'id', 'timestamp', 'execution_duration', diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/load_action_error_log.test.ts b/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/load_action_error_log.test.ts index 56de4f5c4c890..de273fbf394e5 100644 --- a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/load_action_error_log.test.ts +++ b/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/load_action_error_log.test.ts @@ -118,9 +118,11 @@ describe('loadActionErrorLog', () => { "date_end": "2022-03-23T16:17:53.482Z", "date_start": "2022-03-23T16:17:53.482Z", "filter": "(message: \\"test\\" OR error.message: \\"test\\") and kibana.alert.rule.execution.uuid: 123", + "namespace": undefined, "page": 1, "per_page": 10, "sort": "[{\\"@timestamp\\":{\\"order\\":\\"asc\\"}}]", + "with_auth": false, }, }, ] diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/load_action_error_log.ts b/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/load_action_error_log.ts index 10f2879085cd0..7bfef44335a4c 100644 --- a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/load_action_error_log.ts +++ b/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/load_action_error_log.ts @@ -28,6 +28,8 @@ export interface LoadActionErrorLogProps { perPage?: number; page?: number; sort?: SortField[]; + namespace?: string; + withAuth?: boolean; } const SORT_MAP: Record = { @@ -60,6 +62,8 @@ export const loadActionErrorLog = ({ perPage = 10, page = 0, sort, + namespace, + withAuth = false, }: LoadActionErrorLogProps & { http: HttpSetup }) => { const renamedSort = getRenamedSort(sort); const filter = getFilter({ runId, message }); @@ -76,6 +80,8 @@ export const loadActionErrorLog = ({ // whereas data grid sorts are 0 indexed. page: page + 1, sort: renamedSort.length ? JSON.stringify(renamedSort) : undefined, + namespace, + with_auth: withAuth, }, } ); diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/load_execution_log_aggregations.ts b/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/load_execution_log_aggregations.ts index bf5e529499b42..671a1edce467d 100644 --- a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/load_execution_log_aggregations.ts +++ b/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/load_execution_log_aggregations.ts @@ -59,7 +59,10 @@ export interface LoadExecutionLogAggregationsProps { sort?: SortField[]; } -export type LoadGlobalExecutionLogAggregationsProps = Omit; +export type LoadGlobalExecutionLogAggregationsProps = Omit< + LoadExecutionLogAggregationsProps, + 'id' +> & { namespaces?: Array }; export const loadExecutionLogAggregations = async ({ id, @@ -103,6 +106,7 @@ export const loadGlobalExecutionLogAggregations = async ({ perPage = 10, page = 0, sort = [], + namespaces, }: LoadGlobalExecutionLogAggregationsProps & { http: HttpSetup }) => { const sortField: any[] = sort; const filter = getFilter({ outcomeFilter, message }); @@ -119,6 +123,7 @@ export const loadGlobalExecutionLogAggregations = async ({ // whereas data grid sorts are 0 indexed. page: page + 1, sort: sortField.length ? JSON.stringify(sortField) : undefined, + namespaces: namespaces ? JSON.stringify(namespaces) : undefined, }, } ); diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/load_global_execution_kpi_aggregations.ts b/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/load_global_execution_kpi_aggregations.ts index 332e14ad4383f..7052257d1fc87 100644 --- a/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/load_global_execution_kpi_aggregations.ts +++ b/x-pack/plugins/triggers_actions_ui/public/application/lib/rule_api/load_global_execution_kpi_aggregations.ts @@ -16,6 +16,7 @@ export interface LoadGlobalExecutionKPIAggregationsProps { message?: string; dateStart: string; dateEnd?: string; + namespaces?: Array; } export const loadGlobalExecutionKPIAggregations = ({ @@ -25,6 +26,7 @@ export const loadGlobalExecutionKPIAggregations = ({ message, dateStart, dateEnd, + namespaces, }: LoadGlobalExecutionKPIAggregationsProps & { http: HttpSetup }) => { const filter = getFilter({ outcomeFilter, message }); @@ -33,6 +35,7 @@ export const loadGlobalExecutionKPIAggregations = ({ filter: filter.length ? filter.join(' and ') : undefined, date_start: dateStart, date_end: dateEnd, + namespaces: namespaces ? JSON.stringify(namespaces) : namespaces, }, }); }; diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/logs_list/components/logs_list.tsx b/x-pack/plugins/triggers_actions_ui/public/application/sections/logs_list/components/logs_list.tsx index 79e617ee05a49..404457af8fd01 100644 --- a/x-pack/plugins/triggers_actions_ui/public/application/sections/logs_list/components/logs_list.tsx +++ b/x-pack/plugins/triggers_actions_ui/public/application/sections/logs_list/components/logs_list.tsx @@ -20,6 +20,7 @@ export const LogsList = () => { refreshToken: 0, initialPageSize: 50, hasRuleNames: true, + hasAllSpaceSwitch: true, localStorageKey: GLOBAL_EVENT_LOG_LIST_STORAGE_KEY, }); }; diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_action_error_log_flyout.tsx b/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_action_error_log_flyout.tsx index 8c46e3574560c..aa914e2818c03 100644 --- a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_action_error_log_flyout.tsx +++ b/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_action_error_log_flyout.tsx @@ -5,7 +5,7 @@ * 2.0. */ -import React from 'react'; +import React, { useMemo } from 'react'; import { FormattedMessage } from '@kbn/i18n-react'; import { EuiTitle, @@ -28,17 +28,29 @@ export interface RuleActionErrorLogFlyoutProps { runLog: IExecutionLog; refreshToken?: number; onClose: () => void; + activeSpaceId?: string; } export const RuleActionErrorLogFlyout = (props: RuleActionErrorLogFlyoutProps) => { - const { runLog, refreshToken, onClose } = props; + const { runLog, refreshToken, onClose, activeSpaceId } = props; const { euiTheme } = useEuiTheme(); - const { id, rule_id: ruleId, message, num_errored_actions: totalErrors } = runLog; + const { + id, + rule_id: ruleId, + message, + num_errored_actions: totalErrors, + space_ids: spaceIds = [], + } = runLog; const isFlyoutPush = useIsWithinBreakpoints(['xl']); + const logFromDifferentSpace = useMemo( + () => Boolean(activeSpaceId && !spaceIds?.includes(activeSpaceId)), + [activeSpaceId, spaceIds] + ); + return ( - + diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_error_log.tsx b/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_error_log.tsx index 7c14b17f8d12b..e07dd0ce5f6ed 100644 --- a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_error_log.tsx +++ b/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_error_log.tsx @@ -63,11 +63,13 @@ export type RuleErrorLogProps = { ruleId: string; runId?: string; refreshToken?: number; + spaceId?: string; + logFromDifferentSpace?: boolean; requestRefresh?: () => Promise; } & Pick; export const RuleErrorLog = (props: RuleErrorLogProps) => { - const { ruleId, runId, loadActionErrorLog, refreshToken } = props; + const { ruleId, runId, loadActionErrorLog, refreshToken, spaceId, logFromDifferentSpace } = props; const { uiSettings, notifications } = useKibana().services; @@ -138,6 +140,8 @@ export const RuleErrorLog = (props: RuleErrorLogProps) => { page: pagination.pageIndex, perPage: pagination.pageSize, sort: formattedSort, + namespace: spaceId, + withAuth: logFromDifferentSpace, }); setLogs(result.errors); setPagination({ diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_data_grid.tsx b/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_data_grid.tsx index 0f6dcc13b1667..20f3612f3a41b 100644 --- a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_data_grid.tsx +++ b/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_data_grid.tsx @@ -60,6 +60,7 @@ export interface RuleEventLogDataGrid { pageSizeOptions?: number[]; selectedRunLog?: IExecutionLog; showRuleNameAndIdColumns?: boolean; + showSpaceColumns?: boolean; onChangeItemsPerPage: (pageSize: number) => void; onChangePage: (pageIndex: number) => void; onFilterChange: (filter: string[]) => void; @@ -162,6 +163,7 @@ export const RuleEventLogDataGrid = (props: RuleEventLogDataGrid) => { visibleColumns, selectedRunLog, showRuleNameAndIdColumns = false, + showSpaceColumns = false, setVisibleColumns, setSortingColumns, onChangeItemsPerPage, @@ -215,6 +217,25 @@ export const RuleEventLogDataGrid = (props: RuleEventLogDataGrid) => { }, ] : []), + ...(showSpaceColumns + ? [ + { + id: 'space_ids', + displayAsText: i18n.translate( + 'xpack.triggersActionsUI.sections.ruleDetails.eventLogColumn.spaceIds', + { + defaultMessage: 'Space', + } + ), + isSortable: getIsColumnSortable('space_ids'), + actions: { + showSortAsc: false, + showSortDesc: false, + showHide: false, + }, + }, + ] + : []), { id: 'id', displayAsText: i18n.translate( @@ -429,16 +450,22 @@ export const RuleEventLogDataGrid = (props: RuleEventLogDataGrid) => { isSortable: getIsColumnSortable('timed_out'), }, ], - [getPaginatedRowIndex, onFlyoutOpen, onFilterChange, showRuleNameAndIdColumns, logs] + [ + getPaginatedRowIndex, + onFlyoutOpen, + onFilterChange, + showRuleNameAndIdColumns, + showSpaceColumns, + logs, + ] ); - const columnVisibilityProps = useMemo( - () => ({ + const columnVisibilityProps = useMemo(() => { + return { visibleColumns, setVisibleColumns, - }), - [visibleColumns, setVisibleColumns] - ); + }; + }, [visibleColumns, setVisibleColumns]); const sortingProps = useMemo( () => ({ @@ -560,6 +587,7 @@ export const RuleEventLogDataGrid = (props: RuleEventLogDataGrid) => { const actionErrors = logs[pagedRowIndex]?.num_errored_actions || (0 as number); const version = logs?.[pagedRowIndex]?.version; const ruleId = runLog?.rule_id; + const spaceIds = runLog?.space_ids; if (columnId === 'num_errored_actions' && runLog) { return ( @@ -592,6 +620,7 @@ export const RuleEventLogDataGrid = (props: RuleEventLogDataGrid) => { version={version} dateFormat={dateFormat} ruleId={ruleId} + spaceIds={spaceIds} /> diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list_cell_renderer.test.tsx b/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list_cell_renderer.test.tsx index de9cd783c1ff6..08362962890e5 100644 --- a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list_cell_renderer.test.tsx +++ b/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list_cell_renderer.test.tsx @@ -7,7 +7,7 @@ import React from 'react'; import moment from 'moment'; -import { EuiIcon } from '@elastic/eui'; +import { EuiIcon, EuiLink } from '@elastic/eui'; import { shallow, mount } from 'enzyme'; import { RuleEventLogListCellRenderer, @@ -16,7 +16,53 @@ import { import { RuleEventLogListStatus } from './rule_event_log_list_status'; import { RuleDurationFormat } from '../../rules_list/components/rule_duration_format'; +jest.mock('react-router-dom', () => ({ + useHistory: () => ({ + location: { + pathname: '/logs', + }, + }), +})); + +jest.mock('../../../../common/lib/kibana', () => ({ + useSpacesData: () => ({ + spacesMap: new Map([ + ['space1', { id: 'space1' }], + ['space2', { id: 'space2' }], + ]), + activeSpaceId: 'space1', + }), + useKibana: () => ({ + services: { + http: { + basePath: { + get: () => '/basePath', + }, + }, + }, + }), +})); + describe('rule_event_log_list_cell_renderer', () => { + const savedLocation = window.location; + beforeAll(() => { + // @ts-ignore Mocking window.location + delete window.location; + // @ts-ignore + window.location = Object.assign( + new URL('https://localhost/app/management/insightsAndAlerting/triggersActions/logs'), + { + ancestorOrigins: '', + assign: jest.fn(), + reload: jest.fn(), + replace: jest.fn(), + } + ); + }); + afterAll(() => { + window.location = savedLocation; + }); + it('renders primitive values correctly', () => { const wrapper = mount(); @@ -67,4 +113,31 @@ describe('rule_event_log_list_cell_renderer', () => { expect(wrapper.find(RuleEventLogListStatus).text()).toEqual('newOutcome'); expect(wrapper.find(EuiIcon).props().color).toEqual('gray'); }); + + it('links to rules on the correct space', () => { + const wrapper1 = shallow( + + ); + // @ts-ignore data-href is not a native EuiLink prop + expect(wrapper1.find(EuiLink).props()['data-href']).toEqual('/rule/1'); + const wrapper2 = shallow( + + ); + // @ts-ignore data-href is not a native EuiLink prop + expect(wrapper2.find(EuiLink).props()['data-href']).toEqual( + '/basePath/s/space2/app/management/insightsAndAlerting/triggersActions/rule/1' + ); + + window.location = savedLocation; + }); }); 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 0f6e0477642b3..bcca56ad0027e 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 @@ -5,13 +5,14 @@ * 2.0. */ -import React, { useCallback } from 'react'; +import React, { useCallback, useMemo } from 'react'; import moment from 'moment'; import { EuiLink } from '@elastic/eui'; import { RuleAlertingOutcome } from '@kbn/alerting-plugin/common'; import { useHistory } from 'react-router-dom'; import { routeToRuleDetails } from '../../../constants'; import { formatRuleAlertCount } from '../../../../common/lib/format_rule_alert_count'; +import { useKibana, useSpacesData } from '../../../../common/lib/kibana'; import { RuleEventLogListStatus } from './rule_event_log_list_status'; import { RuleDurationFormat } from '../../rules_list/components/rule_duration_format'; import { @@ -27,20 +28,58 @@ export type ColumnId = typeof RULE_EXECUTION_LOG_COLUMN_IDS[number]; interface RuleEventLogListCellRendererProps { columnId: ColumnId; version?: string; - value?: string; + value?: string | string[]; dateFormat?: string; ruleId?: string; + spaceIds?: string[]; } export const RuleEventLogListCellRenderer = (props: RuleEventLogListCellRendererProps) => { - const { columnId, value, version, dateFormat = DEFAULT_DATE_FORMAT, ruleId } = props; + const { columnId, value, version, dateFormat = DEFAULT_DATE_FORMAT, ruleId, spaceIds } = props; + const spacesData = useSpacesData(); + const { http } = useKibana().services; + const history = useHistory(); - const onClickRuleName = useCallback( - () => ruleId && history.push(routeToRuleDetails.replace(':ruleId', ruleId)), - [ruleId, history] + const activeSpace = useMemo( + () => spacesData?.spacesMap.get(spacesData?.activeSpaceId), + [spacesData] + ); + + const ruleOnDifferentSpace = useMemo( + () => activeSpace && !spaceIds?.includes(activeSpace.id), + [activeSpace, spaceIds] ); + const ruleNamePathname = useMemo(() => { + if (!ruleId) return ''; + const ruleRoute = routeToRuleDetails.replace(':ruleId', ruleId); + if (ruleOnDifferentSpace) { + const [linkedSpaceId] = spaceIds ?? []; + const basePath = http.basePath.get(); + const spacePath = linkedSpaceId !== 'default' ? `/s/${linkedSpaceId}` : ''; + const historyPathname = history.location.pathname; + const newPathname = `${basePath.replace( + `/s/${activeSpace!.id}`, + '' + )}${spacePath}${window.location.pathname + .replace(basePath, '') + .replace(historyPathname, ruleRoute)}`; + return newPathname; + } + return ruleRoute; + }, [ruleId, ruleOnDifferentSpace, history, activeSpace, http, spaceIds]); + + const onClickRuleName = useCallback(() => { + if (!ruleId) return; + if (ruleOnDifferentSpace) { + const newUrl = window.location.href.replace(window.location.pathname, ruleNamePathname); + window.open(newUrl, '_blank'); + return; + } + history.push(ruleNamePathname); + }, [ruleNamePathname, history, ruleOnDifferentSpace, ruleId]); + if (typeof value === 'undefined') { return null; } @@ -54,15 +93,24 @@ export const RuleEventLogListCellRenderer = (props: RuleEventLogListCellRenderer } if (columnId === 'rule_name' && ruleId) { - return {value}; + return ( + + {value} + + ); + } + + if (columnId === 'space_ids') { + if (activeSpace && value.includes(activeSpace.id)) return <>{activeSpace.name}; + if (spacesData) return <>{spacesData.spacesMap.get(value[0])?.name ?? value[0]}; } if (RULE_EXECUTION_LOG_ALERT_COUNT_COLUMNS.includes(columnId)) { - return <>{formatRuleAlertCount(value, version)}; + return <>{formatRuleAlertCount(value as string, version)}; } if (RULE_EXECUTION_LOG_DURATION_COLUMNS.includes(columnId)) { - return ; + return ; } return <>{value}; diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list_kpi.tsx b/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list_kpi.tsx index 970390359f0d7..0696f857261ec 100644 --- a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list_kpi.tsx +++ b/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list_kpi.tsx @@ -84,6 +84,7 @@ export type RuleEventLogListKPIProps = { outcomeFilter?: string[]; message?: string; refreshToken?: number; + namespaces?: Array; } & Pick; export const RuleEventLogListKPI = (props: RuleEventLogListKPIProps) => { @@ -94,6 +95,7 @@ export const RuleEventLogListKPI = (props: RuleEventLogListKPIProps) => { outcomeFilter, message, refreshToken, + namespaces, loadExecutionKPIAggregations, loadGlobalExecutionKPIAggregations, } = props; @@ -122,6 +124,7 @@ export const RuleEventLogListKPI = (props: RuleEventLogListKPIProps) => { dateEnd: getParsedDate(dateEnd), outcomeFilter, message, + ...(namespaces ? { namespaces } : {}), }); setKpi(newKpi); } catch (e) { @@ -136,7 +139,7 @@ export const RuleEventLogListKPI = (props: RuleEventLogListKPIProps) => { useEffect(() => { loadKPIs(); // eslint-disable-next-line react-hooks/exhaustive-deps - }, [ruleId, dateStart, dateEnd, outcomeFilter, message]); + }, [ruleId, dateStart, dateEnd, outcomeFilter, message, namespaces]); useEffect(() => { if (isInitialized.current) { diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list_table.tsx b/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list_table.tsx index 58cd6447ca737..1ea613e20055f 100644 --- a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list_table.tsx +++ b/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list_table.tsx @@ -18,9 +18,11 @@ import { Pagination, EuiSuperDatePicker, OnTimeChangeProps, + EuiSwitch, } from '@elastic/eui'; import { IExecutionLog } from '@kbn/alerting-plugin/common'; -import { useKibana } from '../../../../common/lib/kibana'; +import { SpacesContextProps } from '@kbn/spaces-plugin/public'; +import { useKibana, useSpacesData } from '../../../../common/lib/kibana'; import { RULE_EXECUTION_DEFAULT_INITIAL_VISIBLE_COLUMNS, GLOBAL_EXECUTION_DEFAULT_INITIAL_VISIBLE_COLUMNS, @@ -38,6 +40,8 @@ import { withBulkRuleOperations, } from '../../common/components/with_bulk_rule_api_operations'; +const getEmptyFunctionComponent: React.FC = ({ children }) => <>{children}; + const getParsedDate = (date: string) => { if (date.includes('now')) { return datemath.parse(date)?.format() || date; @@ -66,6 +70,13 @@ const getDefaultColumns = (columns: string[]) => { return [...LOCKED_COLUMNS, ...columnsWithoutLockedColumn]; }; +const ALL_SPACES_LABEL = i18n.translate( + 'xpack.triggersActionsUI.ruleEventLogList.showAllSpacesToggle', + { + defaultMessage: 'Show rules from all spaces', + } +); + const updateButtonProps = { iconOnly: true, fill: false, @@ -84,6 +95,7 @@ export type RuleEventLogListCommonProps = { overrideLoadExecutionLogAggregations?: RuleApis['loadExecutionLogAggregations']; overrideLoadGlobalExecutionLogAggregations?: RuleApis['loadGlobalExecutionLogAggregations']; hasRuleNames?: boolean; + hasAllSpaceSwitch?: boolean; } & Pick; export type RuleEventLogListTableProps = @@ -106,6 +118,7 @@ export const RuleEventLogListTable = ( overrideLoadExecutionLogAggregations, initialPageSize = 10, hasRuleNames = false, + hasAllSpaceSwitch = false, } = props; const { uiSettings, notifications } = useKibana().services; @@ -117,6 +130,7 @@ export const RuleEventLogListTable = ( const [internalRefreshToken, setInternalRefreshToken] = useState( refreshToken ); + const [showFromAllSpaces, setShowFromAllSpaces] = useState(false); // Data grid states const [logs, setLogs] = useState(); @@ -153,6 +167,24 @@ export const RuleEventLogListTable = ( ); }); + const spacesData = useSpacesData(); + const accessibleSpaceIds = useMemo( + () => (spacesData ? [...spacesData.spacesMap.values()].map((e) => e.id) : []), + [spacesData] + ); + const areMultipleSpacesAccessible = useMemo( + () => accessibleSpaceIds.length > 1, + [accessibleSpaceIds] + ); + const namespaces = useMemo( + () => (showFromAllSpaces && spacesData ? accessibleSpaceIds : undefined), + [showFromAllSpaces, spacesData, accessibleSpaceIds] + ); + const activeSpace = useMemo( + () => spacesData?.spacesMap.get(spacesData?.activeSpaceId), + [spacesData] + ); + const isInitialized = useRef(false); const isOnLastPage = useMemo(() => { @@ -197,6 +229,7 @@ export const RuleEventLogListTable = ( dateEnd: getParsedDate(dateEnd), page: pagination.pageIndex, perPage: pagination.pageSize, + namespaces, }); setLogs(result.data); setPagination({ @@ -290,6 +323,20 @@ export const RuleEventLogListTable = ( [search, setSearchText] ); + const onShowAllSpacesChange = useCallback(() => { + setShowFromAllSpaces((prev) => !prev); + const nextShowFromAllSpaces = !showFromAllSpaces; + + if (nextShowFromAllSpaces && !visibleColumns.includes('space_ids')) { + const ruleNameIndex = visibleColumns.findIndex((c) => c === 'rule_name'); + const newVisibleColumns = [...visibleColumns]; + newVisibleColumns.splice(ruleNameIndex + 1, 0, 'space_ids'); + setVisibleColumns(newVisibleColumns); + } else if (!nextShowFromAllSpaces && visibleColumns.includes('space_ids')) { + setVisibleColumns(visibleColumns.filter((c) => c !== 'space_ids')); + } + }, [setShowFromAllSpaces, showFromAllSpaces, visibleColumns]); + const renderList = () => { if (!logs) { return ; @@ -307,6 +354,7 @@ export const RuleEventLogListTable = ( dateFormat={dateFormat} selectedRunLog={selectedRunLog} showRuleNameAndIdColumns={hasRuleNames} + showSpaceColumns={showFromAllSpaces} onChangeItemsPerPage={onChangeItemsPerPage} onChangePage={onChangePage} onFlyoutOpen={onFlyoutOpen} @@ -329,6 +377,7 @@ export const RuleEventLogListTable = ( pagination.pageIndex, pagination.pageSize, searchText, + showFromAllSpaces, ]); useEffect(() => { @@ -350,7 +399,7 @@ export const RuleEventLogListTable = ( return ( - + ( updateButtonProps={updateButtonProps} /> + {hasAllSpaceSwitch && areMultipleSpacesAccessible && ( + + + + )} @@ -389,6 +447,7 @@ export const RuleEventLogListTable = ( outcomeFilter={filter} message={searchText} refreshToken={internalRefreshToken} + namespaces={namespaces} /> @@ -407,13 +466,29 @@ export const RuleEventLogListTable = ( runLog={selectedRunLog} refreshToken={refreshToken} onClose={onFlyoutClose} + activeSpaceId={activeSpace?.id} /> )} ); }; -export const RuleEventLogListTableWithApi = withBulkRuleOperations(RuleEventLogListTable); +const RuleEventLogListTableWithSpaces: React.FC = (props) => { + const { spaces } = useKibana().services; + + // eslint-disable-next-line react-hooks/exhaustive-deps + const SpacesContextWrapper = useCallback( + spaces ? spaces.ui.components.getSpacesContextProvider : getEmptyFunctionComponent, + [spaces] + ); + return ( + + + + ); +}; + +export const RuleEventLogListTableWithApi = withBulkRuleOperations(RuleEventLogListTableWithSpaces); // eslint-disable-next-line import/no-default-export export { RuleEventLogListTableWithApi as default }; diff --git a/x-pack/plugins/triggers_actions_ui/public/common/lib/kibana/__mocks__/index.ts b/x-pack/plugins/triggers_actions_ui/public/common/lib/kibana/__mocks__/index.ts index 6772eacc2aaed..e7c8215fd4625 100644 --- a/x-pack/plugins/triggers_actions_ui/public/common/lib/kibana/__mocks__/index.ts +++ b/x-pack/plugins/triggers_actions_ui/public/common/lib/kibana/__mocks__/index.ts @@ -31,3 +31,4 @@ export const useCurrentUser = jest.fn(); export const withKibana = jest.fn(createWithKibanaMock()); export const KibanaContextProvider = jest.fn(createKibanaContextProviderMock()); export const useGetUserSavedObjectPermissions = jest.fn(); +export const useSpacesData = jest.fn(); diff --git a/x-pack/plugins/triggers_actions_ui/public/common/lib/kibana/index.ts b/x-pack/plugins/triggers_actions_ui/public/common/lib/kibana/index.ts index 3970993a0c732..de8f3b63d1c5c 100644 --- a/x-pack/plugins/triggers_actions_ui/public/common/lib/kibana/index.ts +++ b/x-pack/plugins/triggers_actions_ui/public/common/lib/kibana/index.ts @@ -6,3 +6,4 @@ */ export * from './kibana_react'; +export * from './use_spaces_data'; diff --git a/x-pack/plugins/triggers_actions_ui/public/common/lib/kibana/use_spaces_data.tsx b/x-pack/plugins/triggers_actions_ui/public/common/lib/kibana/use_spaces_data.tsx new file mode 100644 index 0000000000000..54f2baafa21c3 --- /dev/null +++ b/x-pack/plugins/triggers_actions_ui/public/common/lib/kibana/use_spaces_data.tsx @@ -0,0 +1,24 @@ +/* + * 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 { useState, useEffect } from 'react'; +import { SpacesData } from '@kbn/spaces-plugin/public'; +import { useKibana } from './kibana_react'; + +export const useSpacesData = () => { + const { spaces } = useKibana().services; + const [spacesData, setSpacesData] = useState(undefined); + const spacesService = spaces?.ui.useSpaces(); + + useEffect(() => { + (async () => { + const result = await spacesService?.spacesDataPromise; + setSpacesData(result); + })(); + }, [spaces, spacesService, setSpacesData]); + return spacesData; +}; From 73f1878983113d061890a8648f0548ac46823ca5 Mon Sep 17 00:00:00 2001 From: Tiago Costa Date: Tue, 1 Nov 2022 01:03:52 +0000 Subject: [PATCH 066/111] chore(NA): include progress on Bazel tasks (#144275) * chore(NA): include progress on Bazel tasks * docs(NA): include docs on changed logic * chore(NA): removes warning about no progress when building types for typechecking Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> --- .bazelrc.common | 9 +++++---- packages/kbn-bazel-runner/src/bazel_runner.js | 10 ++++++++++ src/dev/typescript/run_type_check_cli.ts | 3 --- 3 files changed, 15 insertions(+), 7 deletions(-) diff --git a/.bazelrc.common b/.bazelrc.common index 7b84ab44af7a9..9acc4ebc875e8 100644 --- a/.bazelrc.common +++ b/.bazelrc.common @@ -49,11 +49,12 @@ query --incompatible_no_implicit_file_export # Log configs ## different from default common --color=yes -common --noshow_progress +common --show_progress common --show_task_finish -build --noshow_loading_progress -query --noshow_loading_progress -build --show_result=0 +common --progress_report_interval=10 +common --show_progress_rate_limit=10 +common --show_loading_progress +build --show_result=1 # Specifies desired output mode for running tests. # Valid values are diff --git a/packages/kbn-bazel-runner/src/bazel_runner.js b/packages/kbn-bazel-runner/src/bazel_runner.js index 78d91e7ae4799..cc9f2d7c43686 100644 --- a/packages/kbn-bazel-runner/src/bazel_runner.js +++ b/packages/kbn-bazel-runner/src/bazel_runner.js @@ -20,8 +20,18 @@ async function printLines(stream, prefix) { crlfDelay: Infinity, }); + // A validation between the previous logged line and the new one to log was introduced + // as the last line of the Bazel task when ran with progress enabled was being logged + // twice after parsing the log output with the logic we have here. + // The original output when letting Bazel taking care of it on its own doesn't include the repeated line + // so this check logic is useful until we get rid of Bazel. + let prevLine = null; for await (const line of int) { + if (prevLine === line) { + continue; + } console.log(prefix ? `${prefix} ${line}` : line); + prevLine = line; } } diff --git a/src/dev/typescript/run_type_check_cli.ts b/src/dev/typescript/run_type_check_cli.ts index d1f0bab0a784e..dd41be239e9ff 100644 --- a/src/dev/typescript/run_type_check_cli.ts +++ b/src/dev/typescript/run_type_check_cli.ts @@ -144,9 +144,6 @@ function createTypeCheckConfigs(projects: Project[], bazelPackages: BazelPackage export async function runTypeCheckCli() { run( async ({ log, flagsReader, procRunner }) => { - log.warning( - `Building types for all bazel packages. This can take a while depending on your changes and won't show any progress while it runs.` - ); await runBazel(['build', '//packages:build_types', '--show_result=1'], { cwd: REPO_ROOT, logPrefix: '\x1b[94m[bazel]\x1b[39m', From 96a9f913d82815089a683b05cc89c362d2b2bab4 Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Tue, 1 Nov 2022 00:43:58 -0400 Subject: [PATCH 067/111] [api-docs] Daily api_docs build (#144294) --- api_docs/actions.devdocs.json | 2 +- api_docs/actions.mdx | 2 +- api_docs/advanced_settings.mdx | 2 +- api_docs/aiops.mdx | 2 +- api_docs/alerting.devdocs.json | 28 +- api_docs/alerting.mdx | 4 +- api_docs/apm.devdocs.json | 62 +- 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_chat.mdx | 2 +- api_docs/cloud_experiments.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/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/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.devdocs.json | 183 +++++- api_docs/event_log.mdx | 4 +- 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/files.devdocs.json | 550 +++++++++--------- api_docs/files.mdx | 2 +- api_docs/fleet.mdx | 2 +- api_docs/global_search.mdx | 2 +- api_docs/guided_onboarding.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 +- ..._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_analytics_shippers_gainsight.mdx | 2 +- api_docs/kbn_apm_config_loader.mdx | 2 +- api_docs/kbn_apm_synthtrace.devdocs.json | 10 +- api_docs/kbn_apm_synthtrace.mdx | 2 +- api_docs/kbn_apm_utils.mdx | 2 +- api_docs/kbn_axe_config.mdx | 2 +- api_docs/kbn_cases_components.mdx | 2 +- api_docs/kbn_chart_icons.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.devdocs.json | 30 +- api_docs/kbn_config_schema.mdx | 2 +- .../kbn_content_management_table_list.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_application_browser.mdx | 2 +- .../kbn_core_application_browser_internal.mdx | 2 +- .../kbn_core_application_browser_mocks.mdx | 2 +- api_docs/kbn_core_application_common.mdx | 2 +- api_docs/kbn_core_apps_browser_internal.mdx | 2 +- api_docs/kbn_core_apps_browser_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 +- .../kbn_core_capabilities_browser_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_chrome_browser.mdx | 2 +- api_docs/kbn_core_chrome_browser_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_deprecations_server.mdx | 2 +- .../kbn_core_deprecations_server_internal.mdx | 2 +- .../kbn_core_deprecations_server_mocks.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 +- ...re_http_request_handler_context_server.mdx | 2 +- api_docs/kbn_core_http_resources_server.mdx | 2 +- ...bn_core_http_resources_server_internal.mdx | 2 +- .../kbn_core_http_resources_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 +- api_docs/kbn_core_i18n_server.mdx | 2 +- api_docs/kbn_core_i18n_server_internal.mdx | 2 +- api_docs/kbn_core_i18n_server_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_lifecycle_browser.mdx | 2 +- api_docs/kbn_core_lifecycle_browser_mocks.mdx | 2 +- api_docs/kbn_core_lifecycle_server.mdx | 2 +- api_docs/kbn_core_lifecycle_server_mocks.mdx | 2 +- api_docs/kbn_core_logging_server.mdx | 2 +- ..._core_logging_server_internal.devdocs.json | 4 +- 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 +- api_docs/kbn_core_mount_utils_browser.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_notifications_browser.mdx | 2 +- ...bn_core_notifications_browser_internal.mdx | 2 +- .../kbn_core_notifications_browser_mocks.mdx | 2 +- api_docs/kbn_core_overlays_browser.mdx | 2 +- .../kbn_core_overlays_browser_internal.mdx | 2 +- api_docs/kbn_core_overlays_browser_mocks.mdx | 2 +- api_docs/kbn_core_plugins_browser.mdx | 2 +- api_docs/kbn_core_plugins_browser_mocks.mdx | 2 +- api_docs/kbn_core_plugins_server.mdx | 2 +- api_docs/kbn_core_plugins_server_mocks.mdx | 2 +- api_docs/kbn_core_preboot_server.mdx | 2 +- api_docs/kbn_core_preboot_server_mocks.mdx | 2 +- api_docs/kbn_core_rendering_browser_mocks.mdx | 2 +- .../kbn_core_rendering_server_internal.mdx | 2 +- api_docs/kbn_core_rendering_server_mocks.mdx | 2 +- .../kbn_core_saved_objects_api_browser.mdx | 2 +- .../kbn_core_saved_objects_api_server.mdx | 2 +- ...core_saved_objects_api_server_internal.mdx | 2 +- ...bn_core_saved_objects_api_server_mocks.mdx | 2 +- ...ore_saved_objects_base_server_internal.mdx | 2 +- ...n_core_saved_objects_base_server_mocks.mdx | 2 +- api_docs/kbn_core_saved_objects_browser.mdx | 2 +- ...bn_core_saved_objects_browser_internal.mdx | 2 +- .../kbn_core_saved_objects_browser_mocks.mdx | 2 +- api_docs/kbn_core_saved_objects_common.mdx | 2 +- ..._objects_import_export_server_internal.mdx | 2 +- ...ved_objects_import_export_server_mocks.mdx | 2 +- ...aved_objects_migration_server_internal.mdx | 2 +- ...e_saved_objects_migration_server_mocks.mdx | 2 +- api_docs/kbn_core_saved_objects_server.mdx | 2 +- ...kbn_core_saved_objects_server_internal.mdx | 2 +- .../kbn_core_saved_objects_server_mocks.mdx | 2 +- .../kbn_core_saved_objects_utils_server.mdx | 2 +- api_docs/kbn_core_status_common.mdx | 2 +- api_docs/kbn_core_status_common_internal.mdx | 2 +- api_docs/kbn_core_status_server.mdx | 2 +- api_docs/kbn_core_status_server_internal.mdx | 2 +- api_docs/kbn_core_status_server_mocks.mdx | 2 +- ...core_test_helpers_deprecations_getters.mdx | 2 +- ...n_core_test_helpers_http_setup_browser.mdx | 2 +- ...n_core_test_helpers_so_type_serializer.mdx | 2 +- api_docs/kbn_core_test_helpers_test_utils.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_core_ui_settings_server.mdx | 2 +- .../kbn_core_ui_settings_server_internal.mdx | 2 +- .../kbn_core_ui_settings_server_mocks.mdx | 2 +- api_docs/kbn_core_usage_data_server.mdx | 2 +- .../kbn_core_usage_data_server_internal.mdx | 2 +- api_docs/kbn_core_usage_data_server_mocks.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_ebt_tools.devdocs.json | 2 +- api_docs/kbn_ebt_tools.mdx | 2 +- api_docs/kbn_es.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_es_types.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 +- .../kbn_ftr_common_functional_services.mdx | 2 +- api_docs/kbn_generate.mdx | 2 +- api_docs/kbn_get_repo_files.mdx | 2 +- api_docs/kbn_guided_onboarding.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_i18n_react.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_journeys.mdx | 2 +- api_docs/kbn_kibana_manifest_schema.mdx | 2 +- .../kbn_language_documentation_popover.mdx | 2 +- api_docs/kbn_logging.mdx | 2 +- api_docs/kbn_logging_mocks.mdx | 2 +- api_docs/kbn_managed_vscode_config.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_osquery_io_ts_types.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.devdocs.json | 152 ++++- api_docs/kbn_rule_data_utils.mdx | 4 +- .../kbn_securitysolution_autocomplete.mdx | 2 +- api_docs/kbn_securitysolution_es_utils.mdx | 2 +- ...ion_exception_list_components.devdocs.json | 8 +- ...ritysolution_exception_list_components.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 +- api_docs/kbn_shared_svg.mdx | 2 +- api_docs/kbn_shared_ux_avatar_solution.mdx | 2 +- ...ared_ux_avatar_user_profile_components.mdx | 2 +- .../kbn_shared_ux_button_exit_full_screen.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_link_redirect_app.mdx | 2 +- .../kbn_shared_ux_link_redirect_app_mocks.mdx | 2 +- api_docs/kbn_shared_ux_markdown.mdx | 2 +- api_docs/kbn_shared_ux_markdown_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 +- .../kbn_shared_ux_page_kibana_template.mdx | 2 +- ...n_shared_ux_page_kibana_template_mocks.mdx | 2 +- api_docs/kbn_shared_ux_page_no_data.mdx | 2 +- .../kbn_shared_ux_page_no_data_config.mdx | 2 +- ...bn_shared_ux_page_no_data_config_mocks.mdx | 2 +- api_docs/kbn_shared_ux_page_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_router.mdx | 2 +- api_docs/kbn_shared_ux_router_mocks.mdx | 2 +- api_docs/kbn_shared_ux_storybook_config.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_test_subj_selector.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_shared_deps_src.devdocs.json | 33 ++ api_docs/kbn_ui_shared_deps_src.mdx | 4 +- api_docs/kbn_ui_theme.mdx | 2 +- api_docs/kbn_user_profile_components.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.devdocs.json | 220 +++++++ api_docs/observability.mdx | 4 +- api_docs/osquery.mdx | 2 +- api_docs/plugin_directory.mdx | 14 +- api_docs/presentation_util.mdx | 2 +- api_docs/profiling.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_finder.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/saved_search.mdx | 2 +- api_docs/screenshot_mode.mdx | 2 +- api_docs/screenshotting.mdx | 2 +- api_docs/security.mdx | 2 +- api_docs/security_solution.devdocs.json | 4 +- api_docs/security_solution.mdx | 2 +- api_docs/session_view.mdx | 2 +- api_docs/share.mdx | 2 +- api_docs/snapshot_restore.mdx | 2 +- api_docs/spaces.mdx | 2 +- api_docs/stack_alerts.mdx | 2 +- api_docs/stack_connectors.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.devdocs.json | 6 +- api_docs/triggers_actions_ui.mdx | 2 +- api_docs/ui_actions.mdx | 2 +- api_docs/ui_actions_enhanced.mdx | 2 +- api_docs/unified_field_list.mdx | 2 +- api_docs/unified_histogram.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 +- 444 files changed, 1415 insertions(+), 759 deletions(-) diff --git a/api_docs/actions.devdocs.json b/api_docs/actions.devdocs.json index 3bd6ccebe2cd1..88a9e275e1fba 100644 --- a/api_docs/actions.devdocs.json +++ b/api_docs/actions.devdocs.json @@ -1967,7 +1967,7 @@ }, "<", "ActionTypeConfig", - ">[]>; getOAuthAccessToken: ({ type, options }: Readonly<{} & { options: Readonly<{} & { config: Readonly<{} & { clientId: string; jwtKeyId: string; userIdentifierValue: string; }>; tokenUrl: string; secrets: Readonly<{ privateKeyPassword?: string | undefined; } & { clientSecret: string; privateKey: string; }>; }> | Readonly<{} & { scope: string; config: Readonly<{} & { clientId: string; tenantId: string; }>; tokenUrl: string; secrets: Readonly<{} & { clientSecret: string; }>; }>; type: \"jwt\" | \"client\"; }>, configurationUtilities: ", + ">[]>; getOAuthAccessToken: ({ type, options }: Readonly<{} & { options: Readonly<{} & { config: Readonly<{} & { clientId: string; jwtKeyId: string; userIdentifierValue: string; }>; tokenUrl: string; secrets: Readonly<{ privateKeyPassword?: string | undefined; } & { clientSecret: string; privateKey: string; }>; }> | Readonly<{} & { scope: string; config: Readonly<{} & { clientId: string; tenantId: string; }>; tokenUrl: string; secrets: Readonly<{} & { clientSecret: string; }>; }>; type: \"client\" | \"jwt\"; }>, configurationUtilities: ", "ActionsConfigurationUtilities", ") => Promise<{ accessToken: string | null; }>; enqueueExecution: (options: ", "ExecuteOptions", diff --git a/api_docs/actions.mdx b/api_docs/actions.mdx index 6d980d46cb6a8..5ea65a4401bd7 100644 --- a/api_docs/actions.mdx +++ b/api_docs/actions.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/actions title: "actions" image: https://source.unsplash.com/400x175/?github description: API docs for the actions plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'actions'] --- import actionsObj from './actions.devdocs.json'; diff --git a/api_docs/advanced_settings.mdx b/api_docs/advanced_settings.mdx index 82dd64815f77e..5bf1f2193cca1 100644 --- a/api_docs/advanced_settings.mdx +++ b/api_docs/advanced_settings.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/advancedSettings title: "advancedSettings" image: https://source.unsplash.com/400x175/?github description: API docs for the advancedSettings plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'advancedSettings'] --- import advancedSettingsObj from './advanced_settings.devdocs.json'; diff --git a/api_docs/aiops.mdx b/api_docs/aiops.mdx index ae94b9721b6d6..92967fd705e03 100644 --- a/api_docs/aiops.mdx +++ b/api_docs/aiops.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/aiops title: "aiops" image: https://source.unsplash.com/400x175/?github description: API docs for the aiops plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'aiops'] --- import aiopsObj from './aiops.devdocs.json'; diff --git a/api_docs/alerting.devdocs.json b/api_docs/alerting.devdocs.json index 01fb744846ab8..5ace082c7a03e 100644 --- a/api_docs/alerting.devdocs.json +++ b/api_docs/alerting.devdocs.json @@ -2932,7 +2932,7 @@ "section": "def-common.IExecutionLogResult", "text": "IExecutionLogResult" }, - ">; getGlobalExecutionLogWithAuth: ({ dateStart, dateEnd, filter, page, perPage, sort, }: ", + ">; getGlobalExecutionLogWithAuth: ({ dateStart, dateEnd, filter, page, perPage, sort, namespaces, }: ", "GetGlobalExecutionLogParams", ") => Promise<", { @@ -2952,7 +2952,17 @@ "section": "def-common.IExecutionErrorsResult", "text": "IExecutionErrorsResult" }, - ">; getGlobalExecutionKpiWithAuth: ({ dateStart, dateEnd, filter, }: ", + ">; getActionErrorLogWithAuth: ({ id, dateStart, dateEnd, filter, page, perPage, sort, namespace, }: ", + "GetActionErrorLogByIdParams", + ") => Promise<", + { + "pluginId": "alerting", + "scope": "common", + "docId": "kibAlertingPluginApi", + "section": "def-common.IExecutionErrorsResult", + "text": "IExecutionErrorsResult" + }, + ">; getGlobalExecutionKpiWithAuth: ({ dateStart, dateEnd, filter, namespaces, }: ", "GetGlobalExecutionKPIParams", ") => Promise<{ success: number; unknown: number; failure: number; warning: number; activeAlerts: number; newAlerts: number; recoveredAlerts: number; erroredActions: number; triggeredActions: number; }>; getRuleExecutionKPI: ({ id, dateStart, dateEnd, filter }: ", "GetRuleExecutionKPIParams", @@ -4266,6 +4276,20 @@ "deprecated": false, "trackAdoption": false }, + { + "parentPluginId": "alerting", + "id": "def-common.IExecutionLog.space_ids", + "type": "Array", + "tags": [], + "label": "space_ids", + "description": [], + "signature": [ + "string[]" + ], + "path": "x-pack/plugins/alerting/common/execution_log_types.ts", + "deprecated": false, + "trackAdoption": false + }, { "parentPluginId": "alerting", "id": "def-common.IExecutionLog.rule_name", diff --git a/api_docs/alerting.mdx b/api_docs/alerting.mdx index f324f610ed303..88823d4b8b0d8 100644 --- a/api_docs/alerting.mdx +++ b/api_docs/alerting.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/alerting title: "alerting" image: https://source.unsplash.com/400x175/?github description: API docs for the alerting plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'alerting'] --- import alertingObj from './alerting.devdocs.json'; @@ -21,7 +21,7 @@ Contact [Response Ops](https://github.com/orgs/elastic/teams/response-ops) for q | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 382 | 0 | 373 | 26 | +| 383 | 0 | 374 | 26 | ## Client diff --git a/api_docs/apm.devdocs.json b/api_docs/apm.devdocs.json index d2ab8b0996269..0f36183912e22 100644 --- a/api_docs/apm.devdocs.json +++ b/api_docs/apm.devdocs.json @@ -795,7 +795,7 @@ "label": "APIEndpoint", "description": [], "signature": [ - "\"POST /internal/apm/data_view/static\" | \"GET /internal/apm/data_view/title\" | \"GET /internal/apm/environments\" | \"GET /internal/apm/services/{serviceName}/errors/groups/main_statistics\" | \"GET /internal/apm/services/{serviceName}/errors/groups/main_statistics_by_transaction_name\" | \"POST /internal/apm/services/{serviceName}/errors/groups/detailed_statistics\" | \"GET /internal/apm/services/{serviceName}/errors/{groupId}\" | \"GET /internal/apm/services/{serviceName}/errors/distribution\" | \"GET /internal/apm/services/{serviceName}/errors/{groupId}/top_erroneous_transactions\" | \"POST /internal/apm/latency/overall_distribution/transactions\" | \"GET /internal/apm/services/{serviceName}/metrics/charts\" | \"GET /internal/apm/services/{serviceName}/metrics/nodes\" | \"GET /internal/apm/services/{serviceName}/metrics/serverless/charts\" | \"GET /internal/apm/services/{serviceName}/metrics/serverless/summary\" | \"GET /internal/apm/services/{serviceName}/metrics/serverless/functions_overview\" | \"GET /internal/apm/services/{serviceName}/metrics/serverless/active_instances\" | \"GET /internal/apm/observability_overview\" | \"GET /internal/apm/observability_overview/has_data\" | \"GET /internal/apm/service-map\" | \"GET /internal/apm/service-map/service/{serviceName}\" | \"GET /internal/apm/service-map/dependency\" | \"GET /internal/apm/services\" | \"POST /internal/apm/services/detailed_statistics\" | \"GET /internal/apm/services/{serviceName}/metadata/details\" | \"GET /internal/apm/services/{serviceName}/metadata/icons\" | \"GET /internal/apm/services/{serviceName}/agent\" | \"GET /internal/apm/services/{serviceName}/transaction_types\" | \"GET /internal/apm/services/{serviceName}/node/{serviceNodeName}/metadata\" | \"GET /api/apm/services/{serviceName}/annotation/search\" | \"POST /api/apm/services/{serviceName}/annotation\" | \"GET /internal/apm/services/{serviceName}/service_overview_instances/details/{serviceNodeName}\" | \"GET /internal/apm/services/{serviceName}/throughput\" | \"GET /internal/apm/services/{serviceName}/service_overview_instances/main_statistics\" | \"GET /internal/apm/services/{serviceName}/service_overview_instances/detailed_statistics\" | \"GET /internal/apm/services/{serviceName}/dependencies\" | \"GET /internal/apm/services/{serviceName}/dependencies/breakdown\" | \"GET /internal/apm/services/{serviceName}/anomaly_charts\" | \"GET /internal/apm/sorted_and_filtered_services\" | \"GET /internal/apm/service-groups\" | \"GET /internal/apm/service-group\" | \"POST /internal/apm/service-group\" | \"DELETE /internal/apm/service-group\" | \"GET /internal/apm/service-group/services\" | \"GET /internal/apm/service_groups/services_count\" | \"GET /internal/apm/suggestions\" | \"GET /internal/apm/traces/{traceId}\" | \"GET /internal/apm/traces\" | \"GET /internal/apm/traces/{traceId}/root_transaction\" | \"GET /internal/apm/transactions/{transactionId}\" | \"GET /internal/apm/traces/find\" | \"GET /internal/apm/services/{serviceName}/transactions/groups/main_statistics\" | \"GET /internal/apm/services/{serviceName}/transactions/groups/detailed_statistics\" | \"GET /internal/apm/services/{serviceName}/transactions/charts/latency\" | \"GET /internal/apm/services/{serviceName}/transactions/traces/samples\" | \"GET /internal/apm/services/{serviceName}/transaction/charts/breakdown\" | \"GET /internal/apm/services/{serviceName}/transactions/charts/error_rate\" | \"GET /internal/apm/services/{serviceName}/transactions/charts/coldstart_rate\" | \"GET /internal/apm/services/{serviceName}/transactions/charts/coldstart_rate_by_transaction_name\" | \"GET /internal/apm/rule_types/transaction_error_rate/chart_preview\" | \"GET /internal/apm/rule_types/transaction_duration/chart_preview\" | \"GET /internal/apm/rule_types/error_count/chart_preview\" | \"GET /api/apm/settings/agent-configuration\" | \"GET /api/apm/settings/agent-configuration/view\" | \"DELETE /api/apm/settings/agent-configuration\" | \"PUT /api/apm/settings/agent-configuration\" | \"POST /api/apm/settings/agent-configuration/search\" | \"GET /api/apm/settings/agent-configuration/environments\" | \"GET /api/apm/settings/agent-configuration/agent_name\" | \"GET /internal/apm/settings/anomaly-detection/jobs\" | \"POST /internal/apm/settings/anomaly-detection/jobs\" | \"GET /internal/apm/settings/anomaly-detection/environments\" | \"POST /internal/apm/settings/anomaly-detection/update_to_v3\" | \"GET /internal/apm/settings/apm-index-settings\" | \"GET /internal/apm/settings/apm-indices\" | \"POST /internal/apm/settings/apm-indices/save\" | \"GET /internal/apm/settings/custom_links/transaction\" | \"GET /internal/apm/settings/custom_links\" | \"POST /internal/apm/settings/custom_links\" | \"PUT /internal/apm/settings/custom_links/{id}\" | \"DELETE /internal/apm/settings/custom_links/{id}\" | \"GET /api/apm/sourcemaps\" | \"POST /api/apm/sourcemaps\" | \"DELETE /api/apm/sourcemaps/{id}\" | \"GET /internal/apm/fleet/has_apm_policies\" | \"GET /internal/apm/fleet/agents\" | \"POST /api/apm/fleet/apm_server_schema\" | \"GET /internal/apm/fleet/apm_server_schema/unsupported\" | \"GET /internal/apm/fleet/migration_check\" | \"POST /internal/apm/fleet/cloud_apm_package_policy\" | \"GET /internal/apm/fleet/java_agent_versions\" | \"GET /internal/apm/dependencies/top_dependencies\" | \"GET /internal/apm/dependencies/upstream_services\" | \"GET /internal/apm/dependencies/metadata\" | \"GET /internal/apm/dependencies/charts/latency\" | \"GET /internal/apm/dependencies/charts/throughput\" | \"GET /internal/apm/dependencies/charts/error_rate\" | \"GET /internal/apm/dependencies/operations\" | \"GET /internal/apm/dependencies/charts/distribution\" | \"GET /internal/apm/dependencies/operations/spans\" | \"GET /internal/apm/correlations/field_candidates/transactions\" | \"POST /internal/apm/correlations/field_stats/transactions\" | \"GET /internal/apm/correlations/field_value_stats/transactions\" | \"POST /internal/apm/correlations/field_value_pairs/transactions\" | \"POST /internal/apm/correlations/significant_correlations/transactions\" | \"POST /internal/apm/correlations/p_values/transactions\" | \"GET /internal/apm/fallback_to_transactions\" | \"GET /internal/apm/has_data\" | \"GET /internal/apm/event_metadata/{processorEvent}/{id}\" | \"GET /internal/apm/agent_keys\" | \"GET /internal/apm/agent_keys/privileges\" | \"POST /internal/apm/api_key/invalidate\" | \"POST /api/apm/agent_keys\" | \"GET /internal/apm/storage_explorer\" | \"GET /internal/apm/services/{serviceName}/storage_details\" | \"GET /internal/apm/storage_chart\" | \"GET /internal/apm/storage_explorer/privileges\" | \"GET /internal/apm/storage_explorer_summary_stats\" | \"GET /internal/apm/storage_explorer/is_cross_cluster_search\" | \"GET /internal/apm/storage_explorer/get_services\" | \"GET /internal/apm/traces/{traceId}/span_links/{spanId}/parents\" | \"GET /internal/apm/traces/{traceId}/span_links/{spanId}/children\" | \"GET /internal/apm/services/{serviceName}/infrastructure_attributes\" | \"GET /internal/apm/debug-telemetry\" | \"GET /internal/apm/time_range_metadata\" | \"GET /internal/apm/settings/labs\"" + "\"POST /internal/apm/data_view/static\" | \"GET /internal/apm/data_view/title\" | \"GET /internal/apm/environments\" | \"GET /internal/apm/services/{serviceName}/errors/groups/main_statistics\" | \"GET /internal/apm/services/{serviceName}/errors/groups/main_statistics_by_transaction_name\" | \"POST /internal/apm/services/{serviceName}/errors/groups/detailed_statistics\" | \"GET /internal/apm/services/{serviceName}/errors/{groupId}\" | \"GET /internal/apm/services/{serviceName}/errors/distribution\" | \"GET /internal/apm/services/{serviceName}/errors/{groupId}/top_erroneous_transactions\" | \"POST /internal/apm/latency/overall_distribution/transactions\" | \"GET /internal/apm/services/{serviceName}/metrics/charts\" | \"GET /internal/apm/services/{serviceName}/metrics/nodes\" | \"GET /internal/apm/services/{serviceName}/metrics/serverless/charts\" | \"GET /internal/apm/services/{serviceName}/metrics/serverless/summary\" | \"GET /internal/apm/services/{serviceName}/metrics/serverless/functions_overview\" | \"GET /internal/apm/services/{serviceName}/metrics/serverless/active_instances\" | \"GET /internal/apm/observability_overview\" | \"GET /internal/apm/observability_overview/has_data\" | \"GET /internal/apm/service-map\" | \"GET /internal/apm/service-map/service/{serviceName}\" | \"GET /internal/apm/service-map/dependency\" | \"GET /internal/apm/services\" | \"POST /internal/apm/services/detailed_statistics\" | \"GET /internal/apm/services/{serviceName}/metadata/details\" | \"GET /internal/apm/services/{serviceName}/metadata/icons\" | \"GET /internal/apm/services/{serviceName}/agent\" | \"GET /internal/apm/services/{serviceName}/transaction_types\" | \"GET /internal/apm/services/{serviceName}/node/{serviceNodeName}/metadata\" | \"GET /api/apm/services/{serviceName}/annotation/search\" | \"POST /api/apm/services/{serviceName}/annotation\" | \"GET /internal/apm/services/{serviceName}/service_overview_instances/details/{serviceNodeName}\" | \"GET /internal/apm/services/{serviceName}/throughput\" | \"GET /internal/apm/services/{serviceName}/service_overview_instances/main_statistics\" | \"GET /internal/apm/services/{serviceName}/service_overview_instances/detailed_statistics\" | \"GET /internal/apm/services/{serviceName}/dependencies\" | \"GET /internal/apm/services/{serviceName}/dependencies/breakdown\" | \"GET /internal/apm/services/{serviceName}/anomaly_charts\" | \"GET /internal/apm/sorted_and_filtered_services\" | \"GET /internal/apm/service-groups\" | \"GET /internal/apm/service-group\" | \"POST /internal/apm/service-group\" | \"DELETE /internal/apm/service-group\" | \"GET /internal/apm/service-group/services\" | \"GET /internal/apm/service_groups/services_count\" | \"GET /internal/apm/suggestions\" | \"GET /internal/apm/traces/{traceId}\" | \"GET /internal/apm/traces\" | \"GET /internal/apm/traces/{traceId}/root_transaction\" | \"GET /internal/apm/transactions/{transactionId}\" | \"GET /internal/apm/traces/find\" | \"GET /internal/apm/services/{serviceName}/transactions/groups/main_statistics\" | \"GET /internal/apm/services/{serviceName}/transactions/groups/detailed_statistics\" | \"GET /internal/apm/services/{serviceName}/transactions/charts/latency\" | \"GET /internal/apm/services/{serviceName}/transactions/traces/samples\" | \"GET /internal/apm/services/{serviceName}/transaction/charts/breakdown\" | \"GET /internal/apm/services/{serviceName}/transactions/charts/error_rate\" | \"GET /internal/apm/services/{serviceName}/transactions/charts/coldstart_rate\" | \"GET /internal/apm/services/{serviceName}/transactions/charts/coldstart_rate_by_transaction_name\" | \"GET /internal/apm/rule_types/transaction_error_rate/chart_preview\" | \"GET /internal/apm/rule_types/transaction_duration/chart_preview\" | \"GET /internal/apm/rule_types/error_count/chart_preview\" | \"GET /api/apm/settings/agent-configuration\" | \"GET /api/apm/settings/agent-configuration/view\" | \"DELETE /api/apm/settings/agent-configuration\" | \"PUT /api/apm/settings/agent-configuration\" | \"POST /api/apm/settings/agent-configuration/search\" | \"GET /api/apm/settings/agent-configuration/environments\" | \"GET /api/apm/settings/agent-configuration/agent_name\" | \"GET /internal/apm/settings/anomaly-detection/jobs\" | \"POST /internal/apm/settings/anomaly-detection/jobs\" | \"GET /internal/apm/settings/anomaly-detection/environments\" | \"POST /internal/apm/settings/anomaly-detection/update_to_v3\" | \"GET /internal/apm/settings/apm-index-settings\" | \"GET /internal/apm/settings/apm-indices\" | \"POST /internal/apm/settings/apm-indices/save\" | \"GET /internal/apm/settings/custom_links/transaction\" | \"GET /internal/apm/settings/custom_links\" | \"POST /internal/apm/settings/custom_links\" | \"PUT /internal/apm/settings/custom_links/{id}\" | \"DELETE /internal/apm/settings/custom_links/{id}\" | \"GET /api/apm/sourcemaps\" | \"POST /api/apm/sourcemaps\" | \"DELETE /api/apm/sourcemaps/{id}\" | \"GET /internal/apm/fleet/has_apm_policies\" | \"GET /internal/apm/fleet/agents\" | \"POST /api/apm/fleet/apm_server_schema\" | \"GET /internal/apm/fleet/apm_server_schema/unsupported\" | \"GET /internal/apm/fleet/migration_check\" | \"POST /internal/apm/fleet/cloud_apm_package_policy\" | \"GET /internal/apm/fleet/java_agent_versions\" | \"GET /internal/apm/dependencies/top_dependencies\" | \"GET /internal/apm/dependencies/upstream_services\" | \"GET /internal/apm/dependencies/metadata\" | \"GET /internal/apm/dependencies/charts/latency\" | \"GET /internal/apm/dependencies/charts/throughput\" | \"GET /internal/apm/dependencies/charts/error_rate\" | \"GET /internal/apm/dependencies/operations\" | \"GET /internal/apm/dependencies/charts/distribution\" | \"GET /internal/apm/dependencies/operations/spans\" | \"GET /internal/apm/correlations/field_candidates/transactions\" | \"POST /internal/apm/correlations/field_stats/transactions\" | \"GET /internal/apm/correlations/field_value_stats/transactions\" | \"POST /internal/apm/correlations/field_value_pairs/transactions\" | \"POST /internal/apm/correlations/significant_correlations/transactions\" | \"POST /internal/apm/correlations/p_values/transactions\" | \"GET /internal/apm/fallback_to_transactions\" | \"GET /internal/apm/has_data\" | \"GET /internal/apm/event_metadata/{processorEvent}/{id}\" | \"GET /internal/apm/agent_keys\" | \"GET /internal/apm/agent_keys/privileges\" | \"POST /internal/apm/api_key/invalidate\" | \"POST /api/apm/agent_keys\" | \"GET /internal/apm/storage_explorer\" | \"GET /internal/apm/services/{serviceName}/storage_details\" | \"GET /internal/apm/storage_chart\" | \"GET /internal/apm/storage_explorer/privileges\" | \"GET /internal/apm/storage_explorer_summary_stats\" | \"GET /internal/apm/storage_explorer/is_cross_cluster_search\" | \"GET /internal/apm/storage_explorer/get_services\" | \"GET /internal/apm/traces/{traceId}/span_links/{spanId}/parents\" | \"GET /internal/apm/traces/{traceId}/span_links/{spanId}/children\" | \"GET /internal/apm/services/{serviceName}/infrastructure_attributes\" | \"GET /internal/apm/debug-telemetry\" | \"GET /internal/apm/time_range_metadata\" | \"GET /internal/apm/settings/labs\" | \"GET /internal/apm/services/{serviceName}/mobile/filters\"" ], "path": "x-pack/plugins/apm/server/routes/apm_routes/get_global_apm_server_route_repository.ts", "deprecated": false, @@ -857,7 +857,63 @@ "label": "APMServerRouteRepository", "description": [], "signature": [ - "{ \"GET /internal/apm/settings/labs\": ", + "{ \"GET /internal/apm/services/{serviceName}/mobile/filters\": ", + { + "pluginId": "@kbn/server-route-repository", + "scope": "common", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-common.ServerRoute", + "text": "ServerRoute" + }, + "<\"GET /internal/apm/services/{serviceName}/mobile/filters\", ", + "TypeC", + "<{ path: ", + "TypeC", + "<{ serviceName: ", + "StringC", + "; }>; query: ", + "IntersectionC", + "<[", + "TypeC", + "<{ kuery: ", + "StringC", + "; }>, ", + "TypeC", + "<{ start: ", + "Type", + "; end: ", + "Type", + "; }>, ", + "TypeC", + "<{ environment: ", + "UnionC", + "<[", + "LiteralC", + "<\"ENVIRONMENT_NOT_DEFINED\">, ", + "LiteralC", + "<\"ENVIRONMENT_ALL\">, ", + "BrandC", + "<", + "StringC", + ", ", + { + "pluginId": "@kbn/io-ts-utils", + "scope": "common", + "docId": "kibKbnIoTsUtilsPluginApi", + "section": "def-common.NonEmptyStringBrand", + "text": "NonEmptyStringBrand" + }, + ">]>; }>]>; }>, ", + { + "pluginId": "apm", + "scope": "server", + "docId": "kibApmPluginApi", + "section": "def-server.APMRouteHandlerResources", + "text": "APMRouteHandlerResources" + }, + ", { mobileFilters: MobileFilters; }, ", + "APMRouteCreateOptions", + ">; \"GET /internal/apm/settings/labs\": ", { "pluginId": "@kbn/server-route-repository", "scope": "common", @@ -6241,7 +6297,7 @@ "section": "def-server.APMRouteHandlerResources", "text": "APMRouteHandlerResources" }, - ", { memoryUsageAvgRate: number | undefined; serverlessFunctionsTotal: number | undefined; serverlessDurationAvg: number | null | undefined; billedDurationAvg: number | null | undefined; }, ", + ", { memoryUsageAvgRate: number | undefined; serverlessFunctionsTotal: number | undefined; serverlessDurationAvg: number | null | undefined; billedDurationAvg: number | null | undefined; estimatedCost: number | undefined; }, ", "APMRouteCreateOptions", ">; \"GET /internal/apm/services/{serviceName}/metrics/serverless/charts\": ", { diff --git a/api_docs/apm.mdx b/api_docs/apm.mdx index d54bfacf9cf1c..e2406aade357a 100644 --- a/api_docs/apm.mdx +++ b/api_docs/apm.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/apm title: "apm" image: https://source.unsplash.com/400x175/?github description: API docs for the apm plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'apm'] --- import apmObj from './apm.devdocs.json'; diff --git a/api_docs/banners.mdx b/api_docs/banners.mdx index 0e9e7ca09f0a0..cbe86334af552 100644 --- a/api_docs/banners.mdx +++ b/api_docs/banners.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/banners title: "banners" image: https://source.unsplash.com/400x175/?github description: API docs for the banners plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'banners'] --- import bannersObj from './banners.devdocs.json'; diff --git a/api_docs/bfetch.mdx b/api_docs/bfetch.mdx index eaa3583012578..90f5ae36be4ae 100644 --- a/api_docs/bfetch.mdx +++ b/api_docs/bfetch.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/bfetch title: "bfetch" image: https://source.unsplash.com/400x175/?github description: API docs for the bfetch plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'bfetch'] --- import bfetchObj from './bfetch.devdocs.json'; diff --git a/api_docs/canvas.mdx b/api_docs/canvas.mdx index 7f02db839b29b..9b721c3f2cb66 100644 --- a/api_docs/canvas.mdx +++ b/api_docs/canvas.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/canvas title: "canvas" image: https://source.unsplash.com/400x175/?github description: API docs for the canvas plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'canvas'] --- import canvasObj from './canvas.devdocs.json'; diff --git a/api_docs/cases.mdx b/api_docs/cases.mdx index 39a4327903d7d..9951038b5d7ed 100644 --- a/api_docs/cases.mdx +++ b/api_docs/cases.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/cases title: "cases" image: https://source.unsplash.com/400x175/?github description: API docs for the cases plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cases'] --- import casesObj from './cases.devdocs.json'; diff --git a/api_docs/charts.mdx b/api_docs/charts.mdx index a65d7741ef834..2557bd792262c 100644 --- a/api_docs/charts.mdx +++ b/api_docs/charts.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/charts title: "charts" image: https://source.unsplash.com/400x175/?github description: API docs for the charts plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'charts'] --- import chartsObj from './charts.devdocs.json'; diff --git a/api_docs/cloud.mdx b/api_docs/cloud.mdx index ab54eb06c927a..c4c882be53a9d 100644 --- a/api_docs/cloud.mdx +++ b/api_docs/cloud.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/cloud title: "cloud" image: https://source.unsplash.com/400x175/?github description: API docs for the cloud plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cloud'] --- import cloudObj from './cloud.devdocs.json'; diff --git a/api_docs/cloud_chat.mdx b/api_docs/cloud_chat.mdx index 135ed7f006759..2fe88b92fbf9f 100644 --- a/api_docs/cloud_chat.mdx +++ b/api_docs/cloud_chat.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/cloudChat title: "cloudChat" image: https://source.unsplash.com/400x175/?github description: API docs for the cloudChat plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cloudChat'] --- import cloudChatObj from './cloud_chat.devdocs.json'; diff --git a/api_docs/cloud_experiments.mdx b/api_docs/cloud_experiments.mdx index c89b7b0df3087..c9a49fc99206b 100644 --- a/api_docs/cloud_experiments.mdx +++ b/api_docs/cloud_experiments.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/cloudExperiments title: "cloudExperiments" image: https://source.unsplash.com/400x175/?github description: API docs for the cloudExperiments plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cloudExperiments'] --- import cloudExperimentsObj from './cloud_experiments.devdocs.json'; diff --git a/api_docs/cloud_security_posture.mdx b/api_docs/cloud_security_posture.mdx index 84f77ad414f67..232caa7696bb9 100644 --- a/api_docs/cloud_security_posture.mdx +++ b/api_docs/cloud_security_posture.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/cloudSecurityPosture title: "cloudSecurityPosture" image: https://source.unsplash.com/400x175/?github description: API docs for the cloudSecurityPosture plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cloudSecurityPosture'] --- import cloudSecurityPostureObj from './cloud_security_posture.devdocs.json'; diff --git a/api_docs/console.mdx b/api_docs/console.mdx index 134e69c608d10..6e3f73aaee1c8 100644 --- a/api_docs/console.mdx +++ b/api_docs/console.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/console title: "console" image: https://source.unsplash.com/400x175/?github description: API docs for the console plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'console'] --- import consoleObj from './console.devdocs.json'; diff --git a/api_docs/controls.mdx b/api_docs/controls.mdx index c9a449df68e3f..8c9da68b85534 100644 --- a/api_docs/controls.mdx +++ b/api_docs/controls.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/controls title: "controls" image: https://source.unsplash.com/400x175/?github description: API docs for the controls plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'controls'] --- import controlsObj from './controls.devdocs.json'; diff --git a/api_docs/core.mdx b/api_docs/core.mdx index 8bb82b47604b9..79d390cf18f0c 100644 --- a/api_docs/core.mdx +++ b/api_docs/core.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/core title: "core" image: https://source.unsplash.com/400x175/?github description: API docs for the core plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'core'] --- import coreObj from './core.devdocs.json'; diff --git a/api_docs/custom_integrations.mdx b/api_docs/custom_integrations.mdx index b7b69b2059960..33f7edb047777 100644 --- a/api_docs/custom_integrations.mdx +++ b/api_docs/custom_integrations.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/customIntegrations title: "customIntegrations" image: https://source.unsplash.com/400x175/?github description: API docs for the customIntegrations plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'customIntegrations'] --- import customIntegrationsObj from './custom_integrations.devdocs.json'; diff --git a/api_docs/dashboard.mdx b/api_docs/dashboard.mdx index 4bd40bd07f3f5..8a9641c1916e5 100644 --- a/api_docs/dashboard.mdx +++ b/api_docs/dashboard.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/dashboard title: "dashboard" image: https://source.unsplash.com/400x175/?github description: API docs for the dashboard plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dashboard'] --- import dashboardObj from './dashboard.devdocs.json'; diff --git a/api_docs/dashboard_enhanced.mdx b/api_docs/dashboard_enhanced.mdx index e84e5a6ba3f95..9ec0ae390a91e 100644 --- a/api_docs/dashboard_enhanced.mdx +++ b/api_docs/dashboard_enhanced.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/dashboardEnhanced title: "dashboardEnhanced" image: https://source.unsplash.com/400x175/?github description: API docs for the dashboardEnhanced plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dashboardEnhanced'] --- import dashboardEnhancedObj from './dashboard_enhanced.devdocs.json'; diff --git a/api_docs/data.mdx b/api_docs/data.mdx index e2ab37d8422b8..7983d8d6dedeb 100644 --- a/api_docs/data.mdx +++ b/api_docs/data.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/data title: "data" image: https://source.unsplash.com/400x175/?github description: API docs for the data plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'data'] --- import dataObj from './data.devdocs.json'; diff --git a/api_docs/data_query.mdx b/api_docs/data_query.mdx index 090fe6cc27485..13393a88c75ec 100644 --- a/api_docs/data_query.mdx +++ b/api_docs/data_query.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/data-query title: "data.query" image: https://source.unsplash.com/400x175/?github description: API docs for the data.query plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'data.query'] --- import dataQueryObj from './data_query.devdocs.json'; diff --git a/api_docs/data_search.mdx b/api_docs/data_search.mdx index b475f41bcc942..572b86ac53c33 100644 --- a/api_docs/data_search.mdx +++ b/api_docs/data_search.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/data-search title: "data.search" image: https://source.unsplash.com/400x175/?github description: API docs for the data.search plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'data.search'] --- import dataSearchObj from './data_search.devdocs.json'; diff --git a/api_docs/data_view_editor.mdx b/api_docs/data_view_editor.mdx index f4cf53189f9e5..5a008e9f925f4 100644 --- a/api_docs/data_view_editor.mdx +++ b/api_docs/data_view_editor.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/dataViewEditor title: "dataViewEditor" image: https://source.unsplash.com/400x175/?github description: API docs for the dataViewEditor plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dataViewEditor'] --- import dataViewEditorObj from './data_view_editor.devdocs.json'; diff --git a/api_docs/data_view_field_editor.mdx b/api_docs/data_view_field_editor.mdx index e399e0ff45f71..2689ef981f89b 100644 --- a/api_docs/data_view_field_editor.mdx +++ b/api_docs/data_view_field_editor.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/dataViewFieldEditor title: "dataViewFieldEditor" image: https://source.unsplash.com/400x175/?github description: API docs for the dataViewFieldEditor plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dataViewFieldEditor'] --- import dataViewFieldEditorObj from './data_view_field_editor.devdocs.json'; diff --git a/api_docs/data_view_management.mdx b/api_docs/data_view_management.mdx index eb3ca6b3778d4..8219b5be1f3de 100644 --- a/api_docs/data_view_management.mdx +++ b/api_docs/data_view_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/dataViewManagement title: "dataViewManagement" image: https://source.unsplash.com/400x175/?github description: API docs for the dataViewManagement plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dataViewManagement'] --- import dataViewManagementObj from './data_view_management.devdocs.json'; diff --git a/api_docs/data_views.mdx b/api_docs/data_views.mdx index d7b22eb8a47ae..fef4a3d754bf5 100644 --- a/api_docs/data_views.mdx +++ b/api_docs/data_views.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/dataViews title: "dataViews" image: https://source.unsplash.com/400x175/?github description: API docs for the dataViews plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dataViews'] --- import dataViewsObj from './data_views.devdocs.json'; diff --git a/api_docs/data_visualizer.mdx b/api_docs/data_visualizer.mdx index ee4c916ab8b06..fdc12f066f7d9 100644 --- a/api_docs/data_visualizer.mdx +++ b/api_docs/data_visualizer.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/dataVisualizer title: "dataVisualizer" image: https://source.unsplash.com/400x175/?github description: API docs for the dataVisualizer plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dataVisualizer'] --- import dataVisualizerObj from './data_visualizer.devdocs.json'; diff --git a/api_docs/deprecations_by_api.mdx b/api_docs/deprecations_by_api.mdx index 89f5fe34bede2..51d5e6f53e775 100644 --- a/api_docs/deprecations_by_api.mdx +++ b/api_docs/deprecations_by_api.mdx @@ -7,7 +7,7 @@ id: kibDevDocsDeprecationsByApi slug: /kibana-dev-docs/api-meta/deprecated-api-list-by-api title: Deprecated API usage by API description: A list of deprecated APIs, which plugins are still referencing them, and when they need to be removed by. -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana'] --- diff --git a/api_docs/deprecations_by_plugin.mdx b/api_docs/deprecations_by_plugin.mdx index 5524feaaed972..6947908a0ebe5 100644 --- a/api_docs/deprecations_by_plugin.mdx +++ b/api_docs/deprecations_by_plugin.mdx @@ -7,7 +7,7 @@ id: kibDevDocsDeprecationsByPlugin slug: /kibana-dev-docs/api-meta/deprecated-api-list-by-plugin title: Deprecated API usage by plugin description: A list of deprecated APIs, which plugins are still referencing them, and when they need to be removed by. -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana'] --- diff --git a/api_docs/deprecations_by_team.mdx b/api_docs/deprecations_by_team.mdx index 10072b15d3d51..bc26e7084e61a 100644 --- a/api_docs/deprecations_by_team.mdx +++ b/api_docs/deprecations_by_team.mdx @@ -7,7 +7,7 @@ id: kibDevDocsDeprecationsDueByTeam slug: /kibana-dev-docs/api-meta/deprecations-due-by-team title: Deprecated APIs due to be removed, by team description: Lists the teams that are referencing deprecated APIs with a remove by date. -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana'] --- diff --git a/api_docs/dev_tools.mdx b/api_docs/dev_tools.mdx index 67a253a4f1268..9643bc44af386 100644 --- a/api_docs/dev_tools.mdx +++ b/api_docs/dev_tools.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/devTools title: "devTools" image: https://source.unsplash.com/400x175/?github description: API docs for the devTools plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'devTools'] --- import devToolsObj from './dev_tools.devdocs.json'; diff --git a/api_docs/discover.mdx b/api_docs/discover.mdx index 89e7e7c5780db..de79f1c68c03c 100644 --- a/api_docs/discover.mdx +++ b/api_docs/discover.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/discover title: "discover" image: https://source.unsplash.com/400x175/?github description: API docs for the discover plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'discover'] --- import discoverObj from './discover.devdocs.json'; diff --git a/api_docs/discover_enhanced.mdx b/api_docs/discover_enhanced.mdx index 1325d99ba7662..79badb47fbabe 100644 --- a/api_docs/discover_enhanced.mdx +++ b/api_docs/discover_enhanced.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/discoverEnhanced title: "discoverEnhanced" image: https://source.unsplash.com/400x175/?github description: API docs for the discoverEnhanced plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'discoverEnhanced'] --- import discoverEnhancedObj from './discover_enhanced.devdocs.json'; diff --git a/api_docs/embeddable.mdx b/api_docs/embeddable.mdx index fb1138f02e3da..3533bcb7b8392 100644 --- a/api_docs/embeddable.mdx +++ b/api_docs/embeddable.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/embeddable title: "embeddable" image: https://source.unsplash.com/400x175/?github description: API docs for the embeddable plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'embeddable'] --- import embeddableObj from './embeddable.devdocs.json'; diff --git a/api_docs/embeddable_enhanced.mdx b/api_docs/embeddable_enhanced.mdx index 9108e6ee0888d..1c78dac6efe12 100644 --- a/api_docs/embeddable_enhanced.mdx +++ b/api_docs/embeddable_enhanced.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/embeddableEnhanced title: "embeddableEnhanced" image: https://source.unsplash.com/400x175/?github description: API docs for the embeddableEnhanced plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'embeddableEnhanced'] --- import embeddableEnhancedObj from './embeddable_enhanced.devdocs.json'; diff --git a/api_docs/encrypted_saved_objects.mdx b/api_docs/encrypted_saved_objects.mdx index d0d2042fee1a4..4981b4744a2a4 100644 --- a/api_docs/encrypted_saved_objects.mdx +++ b/api_docs/encrypted_saved_objects.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/encryptedSavedObjects title: "encryptedSavedObjects" image: https://source.unsplash.com/400x175/?github description: API docs for the encryptedSavedObjects plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'encryptedSavedObjects'] --- import encryptedSavedObjectsObj from './encrypted_saved_objects.devdocs.json'; diff --git a/api_docs/enterprise_search.mdx b/api_docs/enterprise_search.mdx index db0e364bcd224..51b6fbd37810d 100644 --- a/api_docs/enterprise_search.mdx +++ b/api_docs/enterprise_search.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/enterpriseSearch title: "enterpriseSearch" image: https://source.unsplash.com/400x175/?github description: API docs for the enterpriseSearch plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'enterpriseSearch'] --- import enterpriseSearchObj from './enterprise_search.devdocs.json'; diff --git a/api_docs/es_ui_shared.mdx b/api_docs/es_ui_shared.mdx index 6ea1f3c83b9b5..a737c105f4349 100644 --- a/api_docs/es_ui_shared.mdx +++ b/api_docs/es_ui_shared.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/esUiShared title: "esUiShared" image: https://source.unsplash.com/400x175/?github description: API docs for the esUiShared plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'esUiShared'] --- import esUiSharedObj from './es_ui_shared.devdocs.json'; diff --git a/api_docs/event_annotation.mdx b/api_docs/event_annotation.mdx index b6e1be1ef26df..8a639ebf03d51 100644 --- a/api_docs/event_annotation.mdx +++ b/api_docs/event_annotation.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/eventAnnotation title: "eventAnnotation" image: https://source.unsplash.com/400x175/?github description: API docs for the eventAnnotation plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'eventAnnotation'] --- import eventAnnotationObj from './event_annotation.devdocs.json'; diff --git a/api_docs/event_log.devdocs.json b/api_docs/event_log.devdocs.json index 01751839f9f65..67c59c6e92b2d 100644 --- a/api_docs/event_log.devdocs.json +++ b/api_docs/event_log.devdocs.json @@ -655,6 +655,48 @@ ], "returnComment": [] }, + { + "parentPluginId": "eventLog", + "id": "def-server.ClusterClientAdapter.queryEventsWithAuthFilter", + "type": "Function", + "tags": [], + "label": "queryEventsWithAuthFilter", + "description": [], + "signature": [ + "(queryOptions: ", + "FindEventsOptionsWithAuthFilter", + ") => Promise<", + { + "pluginId": "eventLog", + "scope": "server", + "docId": "kibEventLogPluginApi", + "section": "def-server.QueryEventsBySavedObjectResult", + "text": "QueryEventsBySavedObjectResult" + }, + ">" + ], + "path": "x-pack/plugins/event_log/server/es/cluster_client_adapter.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "eventLog", + "id": "def-server.ClusterClientAdapter.queryEventsWithAuthFilter.$1", + "type": "CompoundType", + "tags": [], + "label": "queryOptions", + "description": [], + "signature": [ + "FindEventsOptionsWithAuthFilter" + ], + "path": "x-pack/plugins/event_log/server/es/cluster_client_adapter.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [] + }, { "parentPluginId": "eventLog", "id": "def-server.ClusterClientAdapter.aggregateEventsBySavedObjects", @@ -961,6 +1003,124 @@ ], "returnComment": [] }, + { + "parentPluginId": "eventLog", + "id": "def-server.IEventLogClient.findEventsWithAuthFilter", + "type": "Function", + "tags": [], + "label": "findEventsWithAuthFilter", + "description": [], + "signature": [ + "(type: string, ids: string[], authFilter: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryNode", + "text": "KueryNode" + }, + ", namespace: string | undefined, options?: Partial<", + "FindOptionsType", + "> | undefined) => Promise<", + { + "pluginId": "eventLog", + "scope": "server", + "docId": "kibEventLogPluginApi", + "section": "def-server.QueryEventsBySavedObjectResult", + "text": "QueryEventsBySavedObjectResult" + }, + ">" + ], + "path": "x-pack/plugins/event_log/server/types.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "eventLog", + "id": "def-server.IEventLogClient.findEventsWithAuthFilter.$1", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string" + ], + "path": "x-pack/plugins/event_log/server/types.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "eventLog", + "id": "def-server.IEventLogClient.findEventsWithAuthFilter.$2", + "type": "Array", + "tags": [], + "label": "ids", + "description": [], + "signature": [ + "string[]" + ], + "path": "x-pack/plugins/event_log/server/types.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "eventLog", + "id": "def-server.IEventLogClient.findEventsWithAuthFilter.$3", + "type": "Object", + "tags": [], + "label": "authFilter", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryNode", + "text": "KueryNode" + } + ], + "path": "x-pack/plugins/event_log/server/types.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "eventLog", + "id": "def-server.IEventLogClient.findEventsWithAuthFilter.$4", + "type": "string", + "tags": [], + "label": "namespace", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "x-pack/plugins/event_log/server/types.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": false + }, + { + "parentPluginId": "eventLog", + "id": "def-server.IEventLogClient.findEventsWithAuthFilter.$5", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "Partial<", + "FindOptionsType", + "> | undefined" + ], + "path": "x-pack/plugins/event_log/server/types.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": false + } + ], + "returnComment": [] + }, { "parentPluginId": "eventLog", "id": "def-server.IEventLogClient.aggregateEventsBySavedObjectIds", @@ -1068,7 +1228,7 @@ }, ", options?: Partial<", "AggregateOptionsType", - "> | undefined) => Promise<", + "> | undefined, namespaces?: (string | undefined)[] | undefined) => Promise<", { "pluginId": "eventLog", "scope": "server", @@ -1134,6 +1294,21 @@ "deprecated": false, "trackAdoption": false, "isRequired": false + }, + { + "parentPluginId": "eventLog", + "id": "def-server.IEventLogClient.aggregateEventsWithAuthFilter.$4", + "type": "Array", + "tags": [], + "label": "namespaces", + "description": [], + "signature": [ + "(string | undefined)[] | undefined" + ], + "path": "x-pack/plugins/event_log/server/types.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": false } ], "returnComment": [] @@ -1324,7 +1499,7 @@ "label": "data", "description": [], "signature": [ - "(Readonly<{ error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; tags?: string[] | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; user?: Readonly<{ name?: string | undefined; } & {}> | undefined; message?: string | undefined; kibana?: Readonly<{ alert?: Readonly<{ rule?: Readonly<{ consumer?: string | undefined; execution?: Readonly<{ status?: string | undefined; uuid?: string | undefined; metrics?: Readonly<{ number_of_triggered_actions?: string | number | undefined; number_of_generated_actions?: string | number | undefined; alert_counts?: Readonly<{ recovered?: string | number | undefined; active?: string | number | undefined; new?: string | number | undefined; } & {}> | undefined; number_of_searches?: string | number | undefined; total_indexing_duration_ms?: string | number | undefined; es_search_duration_ms?: string | number | undefined; total_search_duration_ms?: string | number | undefined; execution_gap_duration_s?: string | number | undefined; rule_type_run_duration_ms?: string | number | undefined; process_alerts_duration_ms?: string | number | undefined; trigger_actions_duration_ms?: string | number | undefined; process_rule_duration_ms?: string | number | undefined; claim_to_start_duration_ms?: string | number | undefined; prepare_rule_duration_ms?: string | number | undefined; total_run_duration_ms?: string | number | undefined; total_enrichment_duration_ms?: string | number | undefined; } & {}> | undefined; status_order?: string | number | undefined; } & {}> | undefined; rule_type_id?: string | undefined; } & {}> | undefined; } & {}> | undefined; version?: string | undefined; alerting?: Readonly<{ status?: string | undefined; outcome?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; task?: Readonly<{ id?: string | undefined; schedule_delay?: string | number | undefined; scheduled?: string | undefined; } & {}> | undefined; saved_objects?: Readonly<{ type?: string | undefined; id?: string | undefined; namespace?: string | undefined; rel?: string | undefined; type_id?: string | undefined; } & {}>[] | undefined; space_ids?: string[] | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; rule?: Readonly<{ name?: string | undefined; description?: string | undefined; category?: string | undefined; id?: string | undefined; uuid?: string | undefined; version?: string | undefined; license?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; } & {}> | undefined; event?: Readonly<{ start?: string | undefined; category?: string[] | undefined; type?: string[] | undefined; id?: string | undefined; reason?: string | undefined; created?: string | undefined; outcome?: string | undefined; end?: string | undefined; original?: string | undefined; duration?: string | number | undefined; code?: string | undefined; url?: string | undefined; action?: string | undefined; kind?: string | undefined; hash?: string | undefined; severity?: string | number | undefined; dataset?: string | undefined; ingested?: string | undefined; module?: string | undefined; provider?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: string | number | undefined; timezone?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; } & {}> | undefined)[]" + "(Readonly<{ error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; tags?: string[] | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; user?: Readonly<{ name?: string | undefined; } & {}> | undefined; message?: string | undefined; kibana?: Readonly<{ alert?: Readonly<{ rule?: Readonly<{ consumer?: string | undefined; execution?: Readonly<{ status?: string | undefined; uuid?: string | undefined; metrics?: Readonly<{ number_of_triggered_actions?: string | number | undefined; number_of_generated_actions?: string | number | undefined; alert_counts?: Readonly<{ recovered?: string | number | undefined; active?: string | number | undefined; new?: string | number | undefined; } & {}> | undefined; number_of_searches?: string | number | undefined; total_indexing_duration_ms?: string | number | undefined; es_search_duration_ms?: string | number | undefined; total_search_duration_ms?: string | number | undefined; execution_gap_duration_s?: string | number | undefined; rule_type_run_duration_ms?: string | number | undefined; process_alerts_duration_ms?: string | number | undefined; trigger_actions_duration_ms?: string | number | undefined; process_rule_duration_ms?: string | number | undefined; claim_to_start_duration_ms?: string | number | undefined; prepare_rule_duration_ms?: string | number | undefined; total_run_duration_ms?: string | number | undefined; total_enrichment_duration_ms?: string | number | undefined; } & {}> | undefined; status_order?: string | number | undefined; } & {}> | undefined; rule_type_id?: string | undefined; } & {}> | undefined; } & {}> | undefined; version?: string | undefined; alerting?: Readonly<{ status?: string | undefined; outcome?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; task?: Readonly<{ id?: string | undefined; schedule_delay?: string | number | undefined; scheduled?: string | undefined; } & {}> | undefined; saved_objects?: Readonly<{ type?: string | undefined; id?: string | undefined; namespace?: string | undefined; rel?: string | undefined; type_id?: string | undefined; } & {}>[] | undefined; space_ids?: string[] | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; rule?: Readonly<{ name?: string | undefined; description?: string | undefined; category?: string | undefined; id?: string | undefined; uuid?: string | undefined; version?: string | undefined; license?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; } & {}> | undefined; event?: Readonly<{ start?: string | undefined; category?: string[] | undefined; type?: string[] | undefined; id?: string | undefined; reason?: string | undefined; created?: string | undefined; outcome?: string | undefined; end?: string | undefined; original?: string | undefined; duration?: string | number | undefined; kind?: string | undefined; hash?: string | undefined; code?: string | undefined; url?: string | undefined; action?: string | undefined; severity?: string | number | undefined; dataset?: string | undefined; ingested?: string | undefined; module?: string | undefined; provider?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: string | number | undefined; timezone?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; } & {}> | undefined)[]" ], "path": "x-pack/plugins/event_log/server/es/cluster_client_adapter.ts", "deprecated": false, @@ -1344,7 +1519,7 @@ "label": "IEvent", "description": [], "signature": [ - "DeepPartial | undefined; tags?: string[] | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; user?: Readonly<{ name?: string | undefined; } & {}> | undefined; message?: string | undefined; kibana?: Readonly<{ alert?: Readonly<{ rule?: Readonly<{ consumer?: string | undefined; execution?: Readonly<{ status?: string | undefined; uuid?: string | undefined; metrics?: Readonly<{ number_of_triggered_actions?: string | number | undefined; number_of_generated_actions?: string | number | undefined; alert_counts?: Readonly<{ recovered?: string | number | undefined; active?: string | number | undefined; new?: string | number | undefined; } & {}> | undefined; number_of_searches?: string | number | undefined; total_indexing_duration_ms?: string | number | undefined; es_search_duration_ms?: string | number | undefined; total_search_duration_ms?: string | number | undefined; execution_gap_duration_s?: string | number | undefined; rule_type_run_duration_ms?: string | number | undefined; process_alerts_duration_ms?: string | number | undefined; trigger_actions_duration_ms?: string | number | undefined; process_rule_duration_ms?: string | number | undefined; claim_to_start_duration_ms?: string | number | undefined; prepare_rule_duration_ms?: string | number | undefined; total_run_duration_ms?: string | number | undefined; total_enrichment_duration_ms?: string | number | undefined; } & {}> | undefined; status_order?: string | number | undefined; } & {}> | undefined; rule_type_id?: string | undefined; } & {}> | undefined; } & {}> | undefined; version?: string | undefined; alerting?: Readonly<{ status?: string | undefined; outcome?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; task?: Readonly<{ id?: string | undefined; schedule_delay?: string | number | undefined; scheduled?: string | undefined; } & {}> | undefined; saved_objects?: Readonly<{ type?: string | undefined; id?: string | undefined; namespace?: string | undefined; rel?: string | undefined; type_id?: string | undefined; } & {}>[] | undefined; space_ids?: string[] | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; rule?: Readonly<{ name?: string | undefined; description?: string | undefined; category?: string | undefined; id?: string | undefined; uuid?: string | undefined; version?: string | undefined; license?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; } & {}> | undefined; event?: Readonly<{ start?: string | undefined; category?: string[] | undefined; type?: string[] | undefined; id?: string | undefined; reason?: string | undefined; created?: string | undefined; outcome?: string | undefined; end?: string | undefined; original?: string | undefined; duration?: string | number | undefined; code?: string | undefined; url?: string | undefined; action?: string | undefined; kind?: string | undefined; hash?: string | undefined; severity?: string | number | undefined; dataset?: string | undefined; ingested?: string | undefined; module?: string | undefined; provider?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: string | number | undefined; timezone?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; } & {}>>> | undefined" + "DeepPartial | undefined; tags?: string[] | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; user?: Readonly<{ name?: string | undefined; } & {}> | undefined; message?: string | undefined; kibana?: Readonly<{ alert?: Readonly<{ rule?: Readonly<{ consumer?: string | undefined; execution?: Readonly<{ status?: string | undefined; uuid?: string | undefined; metrics?: Readonly<{ number_of_triggered_actions?: string | number | undefined; number_of_generated_actions?: string | number | undefined; alert_counts?: Readonly<{ recovered?: string | number | undefined; active?: string | number | undefined; new?: string | number | undefined; } & {}> | undefined; number_of_searches?: string | number | undefined; total_indexing_duration_ms?: string | number | undefined; es_search_duration_ms?: string | number | undefined; total_search_duration_ms?: string | number | undefined; execution_gap_duration_s?: string | number | undefined; rule_type_run_duration_ms?: string | number | undefined; process_alerts_duration_ms?: string | number | undefined; trigger_actions_duration_ms?: string | number | undefined; process_rule_duration_ms?: string | number | undefined; claim_to_start_duration_ms?: string | number | undefined; prepare_rule_duration_ms?: string | number | undefined; total_run_duration_ms?: string | number | undefined; total_enrichment_duration_ms?: string | number | undefined; } & {}> | undefined; status_order?: string | number | undefined; } & {}> | undefined; rule_type_id?: string | undefined; } & {}> | undefined; } & {}> | undefined; version?: string | undefined; alerting?: Readonly<{ status?: string | undefined; outcome?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; task?: Readonly<{ id?: string | undefined; schedule_delay?: string | number | undefined; scheduled?: string | undefined; } & {}> | undefined; saved_objects?: Readonly<{ type?: string | undefined; id?: string | undefined; namespace?: string | undefined; rel?: string | undefined; type_id?: string | undefined; } & {}>[] | undefined; space_ids?: string[] | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; rule?: Readonly<{ name?: string | undefined; description?: string | undefined; category?: string | undefined; id?: string | undefined; uuid?: string | undefined; version?: string | undefined; license?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; } & {}> | undefined; event?: Readonly<{ start?: string | undefined; category?: string[] | undefined; type?: string[] | undefined; id?: string | undefined; reason?: string | undefined; created?: string | undefined; outcome?: string | undefined; end?: string | undefined; original?: string | undefined; duration?: string | number | undefined; kind?: string | undefined; hash?: string | undefined; code?: string | undefined; url?: string | undefined; action?: string | undefined; severity?: string | number | undefined; dataset?: string | undefined; ingested?: string | undefined; module?: string | undefined; provider?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: string | number | undefined; timezone?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; } & {}>>> | undefined" ], "path": "x-pack/plugins/event_log/generated/schemas.ts", "deprecated": false, @@ -1359,7 +1534,7 @@ "label": "IValidatedEvent", "description": [], "signature": [ - "Readonly<{ error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; tags?: string[] | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; user?: Readonly<{ name?: string | undefined; } & {}> | undefined; message?: string | undefined; kibana?: Readonly<{ alert?: Readonly<{ rule?: Readonly<{ consumer?: string | undefined; execution?: Readonly<{ status?: string | undefined; uuid?: string | undefined; metrics?: Readonly<{ number_of_triggered_actions?: string | number | undefined; number_of_generated_actions?: string | number | undefined; alert_counts?: Readonly<{ recovered?: string | number | undefined; active?: string | number | undefined; new?: string | number | undefined; } & {}> | undefined; number_of_searches?: string | number | undefined; total_indexing_duration_ms?: string | number | undefined; es_search_duration_ms?: string | number | undefined; total_search_duration_ms?: string | number | undefined; execution_gap_duration_s?: string | number | undefined; rule_type_run_duration_ms?: string | number | undefined; process_alerts_duration_ms?: string | number | undefined; trigger_actions_duration_ms?: string | number | undefined; process_rule_duration_ms?: string | number | undefined; claim_to_start_duration_ms?: string | number | undefined; prepare_rule_duration_ms?: string | number | undefined; total_run_duration_ms?: string | number | undefined; total_enrichment_duration_ms?: string | number | undefined; } & {}> | undefined; status_order?: string | number | undefined; } & {}> | undefined; rule_type_id?: string | undefined; } & {}> | undefined; } & {}> | undefined; version?: string | undefined; alerting?: Readonly<{ status?: string | undefined; outcome?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; task?: Readonly<{ id?: string | undefined; schedule_delay?: string | number | undefined; scheduled?: string | undefined; } & {}> | undefined; saved_objects?: Readonly<{ type?: string | undefined; id?: string | undefined; namespace?: string | undefined; rel?: string | undefined; type_id?: string | undefined; } & {}>[] | undefined; space_ids?: string[] | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; rule?: Readonly<{ name?: string | undefined; description?: string | undefined; category?: string | undefined; id?: string | undefined; uuid?: string | undefined; version?: string | undefined; license?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; } & {}> | undefined; event?: Readonly<{ start?: string | undefined; category?: string[] | undefined; type?: string[] | undefined; id?: string | undefined; reason?: string | undefined; created?: string | undefined; outcome?: string | undefined; end?: string | undefined; original?: string | undefined; duration?: string | number | undefined; code?: string | undefined; url?: string | undefined; action?: string | undefined; kind?: string | undefined; hash?: string | undefined; severity?: string | number | undefined; dataset?: string | undefined; ingested?: string | undefined; module?: string | undefined; provider?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: string | number | undefined; timezone?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; } & {}> | undefined" + "Readonly<{ error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; tags?: string[] | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; user?: Readonly<{ name?: string | undefined; } & {}> | undefined; message?: string | undefined; kibana?: Readonly<{ alert?: Readonly<{ rule?: Readonly<{ consumer?: string | undefined; execution?: Readonly<{ status?: string | undefined; uuid?: string | undefined; metrics?: Readonly<{ number_of_triggered_actions?: string | number | undefined; number_of_generated_actions?: string | number | undefined; alert_counts?: Readonly<{ recovered?: string | number | undefined; active?: string | number | undefined; new?: string | number | undefined; } & {}> | undefined; number_of_searches?: string | number | undefined; total_indexing_duration_ms?: string | number | undefined; es_search_duration_ms?: string | number | undefined; total_search_duration_ms?: string | number | undefined; execution_gap_duration_s?: string | number | undefined; rule_type_run_duration_ms?: string | number | undefined; process_alerts_duration_ms?: string | number | undefined; trigger_actions_duration_ms?: string | number | undefined; process_rule_duration_ms?: string | number | undefined; claim_to_start_duration_ms?: string | number | undefined; prepare_rule_duration_ms?: string | number | undefined; total_run_duration_ms?: string | number | undefined; total_enrichment_duration_ms?: string | number | undefined; } & {}> | undefined; status_order?: string | number | undefined; } & {}> | undefined; rule_type_id?: string | undefined; } & {}> | undefined; } & {}> | undefined; version?: string | undefined; alerting?: Readonly<{ status?: string | undefined; outcome?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; task?: Readonly<{ id?: string | undefined; schedule_delay?: string | number | undefined; scheduled?: string | undefined; } & {}> | undefined; saved_objects?: Readonly<{ type?: string | undefined; id?: string | undefined; namespace?: string | undefined; rel?: string | undefined; type_id?: string | undefined; } & {}>[] | undefined; space_ids?: string[] | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; rule?: Readonly<{ name?: string | undefined; description?: string | undefined; category?: string | undefined; id?: string | undefined; uuid?: string | undefined; version?: string | undefined; license?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; } & {}> | undefined; event?: Readonly<{ start?: string | undefined; category?: string[] | undefined; type?: string[] | undefined; id?: string | undefined; reason?: string | undefined; created?: string | undefined; outcome?: string | undefined; end?: string | undefined; original?: string | undefined; duration?: string | number | undefined; kind?: string | undefined; hash?: string | undefined; code?: string | undefined; url?: string | undefined; action?: string | undefined; severity?: string | number | undefined; dataset?: string | undefined; ingested?: string | undefined; module?: string | undefined; provider?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: string | number | undefined; timezone?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; } & {}> | undefined" ], "path": "x-pack/plugins/event_log/generated/schemas.ts", "deprecated": false, diff --git a/api_docs/event_log.mdx b/api_docs/event_log.mdx index 052566f8bcc07..8bde9bb1f9a63 100644 --- a/api_docs/event_log.mdx +++ b/api_docs/event_log.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/eventLog title: "eventLog" image: https://source.unsplash.com/400x175/?github description: API docs for the eventLog plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'eventLog'] --- import eventLogObj from './event_log.devdocs.json'; @@ -21,7 +21,7 @@ Contact [Response Ops](https://github.com/orgs/elastic/teams/response-ops) for q | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 106 | 0 | 106 | 10 | +| 115 | 0 | 115 | 11 | ## Server diff --git a/api_docs/expression_error.mdx b/api_docs/expression_error.mdx index 659b9da3cf4bc..466212be84fae 100644 --- a/api_docs/expression_error.mdx +++ b/api_docs/expression_error.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionError title: "expressionError" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionError plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionError'] --- import expressionErrorObj from './expression_error.devdocs.json'; diff --git a/api_docs/expression_gauge.mdx b/api_docs/expression_gauge.mdx index 9f2979cabcb1d..4f6213ab05df1 100644 --- a/api_docs/expression_gauge.mdx +++ b/api_docs/expression_gauge.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionGauge title: "expressionGauge" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionGauge plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionGauge'] --- import expressionGaugeObj from './expression_gauge.devdocs.json'; diff --git a/api_docs/expression_heatmap.mdx b/api_docs/expression_heatmap.mdx index 6f2af127202cf..2791141c726d4 100644 --- a/api_docs/expression_heatmap.mdx +++ b/api_docs/expression_heatmap.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionHeatmap title: "expressionHeatmap" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionHeatmap plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionHeatmap'] --- import expressionHeatmapObj from './expression_heatmap.devdocs.json'; diff --git a/api_docs/expression_image.mdx b/api_docs/expression_image.mdx index 535afee99a0b6..03111be9f88de 100644 --- a/api_docs/expression_image.mdx +++ b/api_docs/expression_image.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionImage title: "expressionImage" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionImage plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionImage'] --- import expressionImageObj from './expression_image.devdocs.json'; diff --git a/api_docs/expression_legacy_metric_vis.mdx b/api_docs/expression_legacy_metric_vis.mdx index 2d8ec17e17628..9a54a8f38d4b6 100644 --- a/api_docs/expression_legacy_metric_vis.mdx +++ b/api_docs/expression_legacy_metric_vis.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionLegacyMetricVis title: "expressionLegacyMetricVis" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionLegacyMetricVis plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionLegacyMetricVis'] --- import expressionLegacyMetricVisObj from './expression_legacy_metric_vis.devdocs.json'; diff --git a/api_docs/expression_metric.mdx b/api_docs/expression_metric.mdx index c63b849c181cb..df40548c34799 100644 --- a/api_docs/expression_metric.mdx +++ b/api_docs/expression_metric.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionMetric title: "expressionMetric" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionMetric plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionMetric'] --- import expressionMetricObj from './expression_metric.devdocs.json'; diff --git a/api_docs/expression_metric_vis.mdx b/api_docs/expression_metric_vis.mdx index 63fb6b4271b03..118c72b78bc43 100644 --- a/api_docs/expression_metric_vis.mdx +++ b/api_docs/expression_metric_vis.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionMetricVis title: "expressionMetricVis" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionMetricVis plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionMetricVis'] --- import expressionMetricVisObj from './expression_metric_vis.devdocs.json'; diff --git a/api_docs/expression_partition_vis.mdx b/api_docs/expression_partition_vis.mdx index 95ec1e7803fa8..f7130076a7bb0 100644 --- a/api_docs/expression_partition_vis.mdx +++ b/api_docs/expression_partition_vis.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionPartitionVis title: "expressionPartitionVis" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionPartitionVis plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionPartitionVis'] --- import expressionPartitionVisObj from './expression_partition_vis.devdocs.json'; diff --git a/api_docs/expression_repeat_image.mdx b/api_docs/expression_repeat_image.mdx index 2fbe52f3dfcca..5c4e251c34a68 100644 --- a/api_docs/expression_repeat_image.mdx +++ b/api_docs/expression_repeat_image.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionRepeatImage title: "expressionRepeatImage" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionRepeatImage plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionRepeatImage'] --- import expressionRepeatImageObj from './expression_repeat_image.devdocs.json'; diff --git a/api_docs/expression_reveal_image.mdx b/api_docs/expression_reveal_image.mdx index e2d79b171cdaf..1f2ab7602dabc 100644 --- a/api_docs/expression_reveal_image.mdx +++ b/api_docs/expression_reveal_image.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionRevealImage title: "expressionRevealImage" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionRevealImage plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionRevealImage'] --- import expressionRevealImageObj from './expression_reveal_image.devdocs.json'; diff --git a/api_docs/expression_shape.mdx b/api_docs/expression_shape.mdx index 2e181d154107a..b117a80b23f99 100644 --- a/api_docs/expression_shape.mdx +++ b/api_docs/expression_shape.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionShape title: "expressionShape" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionShape plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionShape'] --- import expressionShapeObj from './expression_shape.devdocs.json'; diff --git a/api_docs/expression_tagcloud.mdx b/api_docs/expression_tagcloud.mdx index 4822d7635fbd0..b4fc3c7e51fff 100644 --- a/api_docs/expression_tagcloud.mdx +++ b/api_docs/expression_tagcloud.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionTagcloud title: "expressionTagcloud" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionTagcloud plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionTagcloud'] --- import expressionTagcloudObj from './expression_tagcloud.devdocs.json'; diff --git a/api_docs/expression_x_y.mdx b/api_docs/expression_x_y.mdx index 868177b746dd0..24f1634991a18 100644 --- a/api_docs/expression_x_y.mdx +++ b/api_docs/expression_x_y.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionXY title: "expressionXY" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionXY plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionXY'] --- import expressionXYObj from './expression_x_y.devdocs.json'; diff --git a/api_docs/expressions.mdx b/api_docs/expressions.mdx index 198334ba4cda2..899b1701c4702 100644 --- a/api_docs/expressions.mdx +++ b/api_docs/expressions.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressions title: "expressions" image: https://source.unsplash.com/400x175/?github description: API docs for the expressions plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressions'] --- import expressionsObj from './expressions.devdocs.json'; diff --git a/api_docs/features.mdx b/api_docs/features.mdx index e34c71768340d..9f198fc261f74 100644 --- a/api_docs/features.mdx +++ b/api_docs/features.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/features title: "features" image: https://source.unsplash.com/400x175/?github description: API docs for the features plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'features'] --- import featuresObj from './features.devdocs.json'; diff --git a/api_docs/field_formats.mdx b/api_docs/field_formats.mdx index 4f6c8b8474fbc..7f9ff54a72460 100644 --- a/api_docs/field_formats.mdx +++ b/api_docs/field_formats.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/fieldFormats title: "fieldFormats" image: https://source.unsplash.com/400x175/?github description: API docs for the fieldFormats plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'fieldFormats'] --- import fieldFormatsObj from './field_formats.devdocs.json'; diff --git a/api_docs/file_upload.mdx b/api_docs/file_upload.mdx index 9b4c07a74c490..66d4d6aa0c7b4 100644 --- a/api_docs/file_upload.mdx +++ b/api_docs/file_upload.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/fileUpload title: "fileUpload" image: https://source.unsplash.com/400x175/?github description: API docs for the fileUpload plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'fileUpload'] --- import fileUploadObj from './file_upload.devdocs.json'; diff --git a/api_docs/files.devdocs.json b/api_docs/files.devdocs.json index 8264e26e68efe..94f495ecaaf41 100644 --- a/api_docs/files.devdocs.json +++ b/api_docs/files.devdocs.json @@ -21,7 +21,7 @@ }, ") => JSX.Element" ], - "path": "x-pack/plugins/files/public/components/file_picker/index.tsx", + "path": "src/plugins/files/public/components/file_picker/index.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -42,7 +42,7 @@ }, "" ], - "path": "x-pack/plugins/files/public/components/file_picker/index.tsx", + "path": "src/plugins/files/public/components/file_picker/index.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -61,7 +61,7 @@ "signature": [ "({ client, children }: React.PropsWithChildren) => JSX.Element" ], - "path": "x-pack/plugins/files/public/components/context.tsx", + "path": "src/plugins/files/public/components/context.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -75,7 +75,7 @@ "signature": [ "React.PropsWithChildren" ], - "path": "x-pack/plugins/files/public/components/context.tsx", + "path": "src/plugins/files/public/components/context.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -106,7 +106,7 @@ }, " & React.RefAttributes>" ], - "path": "x-pack/plugins/files/public/components/image/image.tsx", + "path": "src/plugins/files/public/components/image/image.tsx", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -146,7 +146,7 @@ }, ") => JSX.Element" ], - "path": "x-pack/plugins/files/public/components/upload_file/index.tsx", + "path": "src/plugins/files/public/components/upload_file/index.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -167,7 +167,7 @@ }, "" ], - "path": "x-pack/plugins/files/public/components/upload_file/index.tsx", + "path": "src/plugins/files/public/components/upload_file/index.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -197,7 +197,7 @@ }, " extends GlobalEndpoints" ], - "path": "x-pack/plugins/files/public/types.ts", + "path": "src/plugins/files/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -221,7 +221,7 @@ }, "; }>" ], - "path": "x-pack/plugins/files/public/types.ts", + "path": "src/plugins/files/public/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -238,7 +238,7 @@ "signature": [ "E[\"inputs\"][\"body\"] & E[\"inputs\"][\"params\"] & E[\"inputs\"][\"query\"] & { abortSignal?: AbortSignal | undefined; } & { kind: string; } & ExtraArgs" ], - "path": "x-pack/plugins/files/public/types.ts", + "path": "src/plugins/files/public/types.ts", "deprecated": false, "trackAdoption": false } @@ -256,7 +256,7 @@ "signature": [ "(args: Readonly<{} & { id: string; }> & { abortSignal?: AbortSignal | undefined; } & { kind: string; }) => Promise<{ ok: true; }>" ], - "path": "x-pack/plugins/files/public/types.ts", + "path": "src/plugins/files/public/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -273,7 +273,7 @@ "signature": [ "E[\"inputs\"][\"body\"] & E[\"inputs\"][\"params\"] & E[\"inputs\"][\"query\"] & { abortSignal?: AbortSignal | undefined; } & { kind: string; } & ExtraArgs" ], - "path": "x-pack/plugins/files/public/types.ts", + "path": "src/plugins/files/public/types.ts", "deprecated": false, "trackAdoption": false } @@ -299,7 +299,7 @@ }, "; }>" ], - "path": "x-pack/plugins/files/public/types.ts", + "path": "src/plugins/files/public/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -316,7 +316,7 @@ "signature": [ "E[\"inputs\"][\"body\"] & E[\"inputs\"][\"params\"] & E[\"inputs\"][\"query\"] & { abortSignal?: AbortSignal | undefined; } & { kind: string; } & ExtraArgs" ], - "path": "x-pack/plugins/files/public/types.ts", + "path": "src/plugins/files/public/types.ts", "deprecated": false, "trackAdoption": false } @@ -342,7 +342,7 @@ }, "[]; total: number; }>" ], - "path": "x-pack/plugins/files/public/types.ts", + "path": "src/plugins/files/public/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -359,7 +359,7 @@ "signature": [ "E[\"inputs\"][\"body\"] & E[\"inputs\"][\"params\"] & E[\"inputs\"][\"query\"] & { abortSignal?: AbortSignal | undefined; } & { kind: string; } & ExtraArgs" ], - "path": "x-pack/plugins/files/public/types.ts", + "path": "src/plugins/files/public/types.ts", "deprecated": false, "trackAdoption": false } @@ -385,7 +385,7 @@ }, "; }>" ], - "path": "x-pack/plugins/files/public/types.ts", + "path": "src/plugins/files/public/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -402,7 +402,7 @@ "signature": [ "E[\"inputs\"][\"body\"] & E[\"inputs\"][\"params\"] & E[\"inputs\"][\"query\"] & { abortSignal?: AbortSignal | undefined; } & { kind: string; } & ExtraArgs" ], - "path": "x-pack/plugins/files/public/types.ts", + "path": "src/plugins/files/public/types.ts", "deprecated": false, "trackAdoption": false } @@ -420,7 +420,7 @@ "signature": [ "(args: Readonly<{} & { id: string; }> & Readonly<{ selfDestructOnAbort?: boolean | undefined; } & {}> & { body: unknown; kind: string; abortSignal?: AbortSignal | undefined; contentType?: string | undefined; }) => Promise<{ ok: true; size: number; }>" ], - "path": "x-pack/plugins/files/public/types.ts", + "path": "src/plugins/files/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -436,7 +436,7 @@ "signature": [ "Readonly<{} & { id: string; }> & Readonly<{ selfDestructOnAbort?: boolean | undefined; } & {}> & { body: unknown; kind: string; abortSignal?: AbortSignal | undefined; contentType?: string | undefined; }" ], - "path": "x-pack/plugins/files/public/types.ts", + "path": "src/plugins/files/public/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -456,7 +456,7 @@ "signature": [ "(args: Readonly<{ fileName?: string | undefined; } & { id: string; }> & { abortSignal?: AbortSignal | undefined; } & { kind: string; }) => Promise" ], - "path": "x-pack/plugins/files/public/types.ts", + "path": "src/plugins/files/public/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -473,7 +473,7 @@ "signature": [ "E[\"inputs\"][\"body\"] & E[\"inputs\"][\"params\"] & E[\"inputs\"][\"query\"] & { abortSignal?: AbortSignal | undefined; } & { kind: string; } & ExtraArgs" ], - "path": "x-pack/plugins/files/public/types.ts", + "path": "src/plugins/files/public/types.ts", "deprecated": false, "trackAdoption": false } @@ -499,7 +499,7 @@ }, ", \"id\" | \"fileKind\">) => string" ], - "path": "x-pack/plugins/files/public/types.ts", + "path": "src/plugins/files/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -523,7 +523,7 @@ }, ", \"id\" | \"fileKind\">" ], - "path": "x-pack/plugins/files/public/types.ts", + "path": "src/plugins/files/public/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -553,7 +553,7 @@ }, ">" ], - "path": "x-pack/plugins/files/public/types.ts", + "path": "src/plugins/files/public/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -570,7 +570,7 @@ "signature": [ "E[\"inputs\"][\"body\"] & E[\"inputs\"][\"params\"] & E[\"inputs\"][\"query\"] & { abortSignal?: AbortSignal | undefined; } & { kind: string; } & ExtraArgs" ], - "path": "x-pack/plugins/files/public/types.ts", + "path": "src/plugins/files/public/types.ts", "deprecated": false, "trackAdoption": false } @@ -588,7 +588,7 @@ "signature": [ "(args: Readonly<{} & { id: string; }> & { abortSignal?: AbortSignal | undefined; } & { kind: string; }) => Promise<{ ok: true; }>" ], - "path": "x-pack/plugins/files/public/types.ts", + "path": "src/plugins/files/public/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -605,7 +605,7 @@ "signature": [ "E[\"inputs\"][\"body\"] & E[\"inputs\"][\"params\"] & E[\"inputs\"][\"query\"] & { abortSignal?: AbortSignal | undefined; } & { kind: string; } & ExtraArgs" ], - "path": "x-pack/plugins/files/public/types.ts", + "path": "src/plugins/files/public/types.ts", "deprecated": false, "trackAdoption": false } @@ -631,7 +631,7 @@ }, "; }>" ], - "path": "x-pack/plugins/files/public/types.ts", + "path": "src/plugins/files/public/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -648,7 +648,7 @@ "signature": [ "E[\"inputs\"][\"body\"] & E[\"inputs\"][\"params\"] & E[\"inputs\"][\"query\"] & { abortSignal?: AbortSignal | undefined; } & { kind: string; } & ExtraArgs" ], - "path": "x-pack/plugins/files/public/types.ts", + "path": "src/plugins/files/public/types.ts", "deprecated": false, "trackAdoption": false } @@ -674,7 +674,7 @@ }, "[]; }>" ], - "path": "x-pack/plugins/files/public/types.ts", + "path": "src/plugins/files/public/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -691,7 +691,7 @@ "signature": [ "E[\"inputs\"][\"body\"] & E[\"inputs\"][\"params\"] & E[\"inputs\"][\"query\"] & { abortSignal?: AbortSignal | undefined; } & { kind: string; } & ExtraArgs" ], - "path": "x-pack/plugins/files/public/types.ts", + "path": "src/plugins/files/public/types.ts", "deprecated": false, "trackAdoption": false } @@ -709,7 +709,7 @@ "description": [ "\nA factory for creating a {@link ScopedFilesClient}" ], - "path": "x-pack/plugins/files/public/types.ts", + "path": "src/plugins/files/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -733,7 +733,7 @@ }, "" ], - "path": "x-pack/plugins/files/public/types.ts", + "path": "src/plugins/files/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -759,7 +759,7 @@ }, "" ], - "path": "x-pack/plugins/files/public/types.ts", + "path": "src/plugins/files/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -775,7 +775,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/files/public/types.ts", + "path": "src/plugins/files/public/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -803,7 +803,7 @@ }, " extends React.ImgHTMLAttributes" ], - "path": "x-pack/plugins/files/public/components/image/image.tsx", + "path": "src/plugins/files/public/components/image/image.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -814,7 +814,7 @@ "tags": [], "label": "src", "description": [], - "path": "x-pack/plugins/files/public/components/image/image.tsx", + "path": "src/plugins/files/public/components/image/image.tsx", "deprecated": false, "trackAdoption": false }, @@ -825,7 +825,7 @@ "tags": [], "label": "alt", "description": [], - "path": "x-pack/plugins/files/public/components/image/image.tsx", + "path": "src/plugins/files/public/components/image/image.tsx", "deprecated": false, "trackAdoption": false }, @@ -848,7 +848,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/files/public/components/image/image.tsx", + "path": "src/plugins/files/public/components/image/image.tsx", "deprecated": false, "trackAdoption": false }, @@ -864,7 +864,7 @@ "signature": [ "\"m\" | \"s\" | \"l\" | \"xl\" | \"original\" | \"fullWidth\" | undefined" ], - "path": "x-pack/plugins/files/public/components/image/image.tsx", + "path": "src/plugins/files/public/components/image/image.tsx", "deprecated": false, "trackAdoption": false }, @@ -880,7 +880,7 @@ "signature": [ "React.HTMLAttributes | undefined" ], - "path": "x-pack/plugins/files/public/components/image/image.tsx", + "path": "src/plugins/files/public/components/image/image.tsx", "deprecated": false, "trackAdoption": false }, @@ -896,7 +896,7 @@ "signature": [ "(() => void) | undefined" ], - "path": "x-pack/plugins/files/public/components/image/image.tsx", + "path": "src/plugins/files/public/components/image/image.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -924,7 +924,7 @@ }, "" ], - "path": "x-pack/plugins/files/public/components/upload_file/upload_file.tsx", + "path": "src/plugins/files/public/components/upload_file/upload_file.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -940,7 +940,7 @@ "signature": [ "Kind" ], - "path": "x-pack/plugins/files/public/components/upload_file/upload_file.tsx", + "path": "src/plugins/files/public/components/upload_file/upload_file.tsx", "deprecated": false, "trackAdoption": false }, @@ -958,7 +958,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/files/public/components/upload_file/upload_file.tsx", + "path": "src/plugins/files/public/components/upload_file/upload_file.tsx", "deprecated": false, "trackAdoption": false }, @@ -974,7 +974,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/files/public/components/upload_file/upload_file.tsx", + "path": "src/plugins/files/public/components/upload_file/upload_file.tsx", "deprecated": false, "trackAdoption": false }, @@ -990,7 +990,7 @@ "signature": [ "Record | undefined" ], - "path": "x-pack/plugins/files/public/components/upload_file/upload_file.tsx", + "path": "src/plugins/files/public/components/upload_file/upload_file.tsx", "deprecated": false, "trackAdoption": false }, @@ -1006,7 +1006,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/files/public/components/upload_file/upload_file.tsx", + "path": "src/plugins/files/public/components/upload_file/upload_file.tsx", "deprecated": false, "trackAdoption": false }, @@ -1024,7 +1024,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/files/public/components/upload_file/upload_file.tsx", + "path": "src/plugins/files/public/components/upload_file/upload_file.tsx", "deprecated": false, "trackAdoption": false }, @@ -1040,7 +1040,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/files/public/components/upload_file/upload_file.tsx", + "path": "src/plugins/files/public/components/upload_file/upload_file.tsx", "deprecated": false, "trackAdoption": false }, @@ -1056,7 +1056,7 @@ "signature": [ "(files: UploadedFile[]) => void" ], - "path": "x-pack/plugins/files/public/components/upload_file/upload_file.tsx", + "path": "src/plugins/files/public/components/upload_file/upload_file.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1070,7 +1070,7 @@ "signature": [ "UploadedFile[]" ], - "path": "x-pack/plugins/files/public/components/upload_file/upload_file.tsx", + "path": "src/plugins/files/public/components/upload_file/upload_file.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1090,7 +1090,7 @@ "signature": [ "((e: Error) => void) | undefined" ], - "path": "x-pack/plugins/files/public/components/upload_file/upload_file.tsx", + "path": "src/plugins/files/public/components/upload_file/upload_file.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1104,7 +1104,7 @@ "signature": [ "Error" ], - "path": "x-pack/plugins/files/public/components/upload_file/upload_file.tsx", + "path": "src/plugins/files/public/components/upload_file/upload_file.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1124,7 +1124,7 @@ "signature": [ "(() => void) | undefined" ], - "path": "x-pack/plugins/files/public/components/upload_file/upload_file.tsx", + "path": "src/plugins/files/public/components/upload_file/upload_file.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -1142,7 +1142,7 @@ "signature": [ "(() => void) | undefined" ], - "path": "x-pack/plugins/files/public/components/upload_file/upload_file.tsx", + "path": "src/plugins/files/public/components/upload_file/upload_file.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -1163,7 +1163,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/files/public/components/upload_file/upload_file.tsx", + "path": "src/plugins/files/public/components/upload_file/upload_file.tsx", "deprecated": false, "trackAdoption": false }, @@ -1181,7 +1181,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/files/public/components/upload_file/upload_file.tsx", + "path": "src/plugins/files/public/components/upload_file/upload_file.tsx", "deprecated": false, "trackAdoption": false } @@ -1205,7 +1205,7 @@ }, "" ], - "path": "x-pack/plugins/files/public/components/file_picker/file_picker.tsx", + "path": "src/plugins/files/public/components/file_picker/file_picker.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1221,7 +1221,7 @@ "signature": [ "Kind" ], - "path": "x-pack/plugins/files/public/components/file_picker/file_picker.tsx", + "path": "src/plugins/files/public/components/file_picker/file_picker.tsx", "deprecated": false, "trackAdoption": false }, @@ -1237,7 +1237,7 @@ "signature": [ "() => void" ], - "path": "x-pack/plugins/files/public/components/file_picker/file_picker.tsx", + "path": "src/plugins/files/public/components/file_picker/file_picker.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -1255,7 +1255,7 @@ "signature": [ "(fileIds: string[]) => void" ], - "path": "x-pack/plugins/files/public/components/file_picker/file_picker.tsx", + "path": "src/plugins/files/public/components/file_picker/file_picker.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1269,7 +1269,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/files/public/components/file_picker/file_picker.tsx", + "path": "src/plugins/files/public/components/file_picker/file_picker.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1291,7 +1291,7 @@ "DoneNotification", "[]) => void) | undefined" ], - "path": "x-pack/plugins/files/public/components/file_picker/file_picker.tsx", + "path": "src/plugins/files/public/components/file_picker/file_picker.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1306,7 +1306,7 @@ "DoneNotification", "[]" ], - "path": "x-pack/plugins/files/public/components/file_picker/file_picker.tsx", + "path": "src/plugins/files/public/components/file_picker/file_picker.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1326,7 +1326,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/files/public/components/file_picker/file_picker.tsx", + "path": "src/plugins/files/public/components/file_picker/file_picker.tsx", "deprecated": false, "trackAdoption": false } @@ -1418,7 +1418,7 @@ }, "[]; total: number; }; }" ], - "path": "x-pack/plugins/files/public/types.ts", + "path": "src/plugins/files/public/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1505,7 +1505,7 @@ "section": "def-common.FilesMetrics", "text": "FilesMetrics" }, - ">; publicDownload: (arg: Omit & Readonly<{} & { token: string; }> & { abortSignal?: AbortSignal | undefined; }, \"kind\">) => Promise; find: (arg: Omit | undefined; kind?: string | string[] | undefined; extension?: string | string[] | undefined; } & {}> & Readonly<{ page?: number | undefined; perPage?: number | undefined; } & {}> & { abortSignal?: AbortSignal | undefined; }, \"kind\">) => Promise<{ files: ", + ">; publicDownload: (arg: Omit & Readonly<{} & { token: string; }> & { abortSignal?: AbortSignal | undefined; }, \"kind\">) => Promise; find: (arg: Omit | undefined; extension?: string | string[] | undefined; kind?: string | string[] | undefined; } & {}> & Readonly<{ page?: number | undefined; perPage?: number | undefined; } & {}> & { abortSignal?: AbortSignal | undefined; }, \"kind\">) => Promise<{ files: ", { "pluginId": "files", "scope": "common", @@ -1515,7 +1515,7 @@ }, "[]; total: number; }>; }" ], - "path": "x-pack/plugins/files/public/types.ts", + "path": "src/plugins/files/public/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1531,7 +1531,7 @@ "description": [ "\nPublic setup-phase contract" ], - "path": "x-pack/plugins/files/public/plugin.ts", + "path": "src/plugins/files/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1555,7 +1555,7 @@ "text": "FilesClientFactory" } ], - "path": "x-pack/plugins/files/public/plugin.ts", + "path": "src/plugins/files/public/plugin.ts", "deprecated": false, "trackAdoption": true, "references": [] @@ -1580,7 +1580,7 @@ }, ") => void" ], - "path": "x-pack/plugins/files/public/plugin.ts", + "path": "src/plugins/files/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1602,7 +1602,7 @@ "text": "FileKind" } ], - "path": "x-pack/plugins/files/public/plugin.ts", + "path": "src/plugins/files/public/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1632,7 +1632,7 @@ }, "; }" ], - "path": "x-pack/plugins/files/public/plugin.ts", + "path": "src/plugins/files/public/plugin.ts", "deprecated": false, "trackAdoption": false, "lifecycle": "start", @@ -1671,7 +1671,7 @@ "text": "FileClient" } ], - "path": "x-pack/plugins/files/server/file_client/create_es_file_client.ts", + "path": "src/plugins/files/server/file_client/create_es_file_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1693,7 +1693,7 @@ "text": "CreateEsFileClientArgs" } ], - "path": "x-pack/plugins/files/server/file_client/create_es_file_client.ts", + "path": "src/plugins/files/server/file_client/create_es_file_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1713,7 +1713,7 @@ "description": [ "\nArguments to create an ES file client." ], - "path": "x-pack/plugins/files/server/file_client/create_es_file_client.ts", + "path": "src/plugins/files/server/file_client/create_es_file_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1726,7 +1726,7 @@ "description": [ "\nThe name of the ES index that will store file metadata." ], - "path": "x-pack/plugins/files/server/file_client/create_es_file_client.ts", + "path": "src/plugins/files/server/file_client/create_es_file_client.ts", "deprecated": false, "trackAdoption": false }, @@ -1739,7 +1739,7 @@ "description": [ "\nThe name of the ES index that will store file contents." ], - "path": "x-pack/plugins/files/server/file_client/create_es_file_client.ts", + "path": "src/plugins/files/server/file_client/create_es_file_client.ts", "deprecated": false, "trackAdoption": false }, @@ -2941,7 +2941,7 @@ "default", "; }" ], - "path": "x-pack/plugins/files/server/file_client/create_es_file_client.ts", + "path": "src/plugins/files/server/file_client/create_es_file_client.ts", "deprecated": false, "trackAdoption": false }, @@ -2957,7 +2957,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/files/server/file_client/create_es_file_client.ts", + "path": "src/plugins/files/server/file_client/create_es_file_client.ts", "deprecated": false, "trackAdoption": false }, @@ -2979,7 +2979,7 @@ "text": "Logger" } ], - "path": "x-pack/plugins/files/server/file_client/create_es_file_client.ts", + "path": "src/plugins/files/server/file_client/create_es_file_client.ts", "deprecated": false, "trackAdoption": false } @@ -3005,7 +3005,7 @@ }, "" ], - "path": "x-pack/plugins/files/server/file_service/file_action_types.ts", + "path": "src/plugins/files/server/file_service/file_action_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3018,7 +3018,7 @@ "description": [ "\nFile name" ], - "path": "x-pack/plugins/files/server/file_service/file_action_types.ts", + "path": "src/plugins/files/server/file_service/file_action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -3031,7 +3031,7 @@ "description": [ "\nFile kind, must correspond to a registered {@link FileKind}." ], - "path": "x-pack/plugins/files/server/file_service/file_action_types.ts", + "path": "src/plugins/files/server/file_service/file_action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -3047,7 +3047,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/files/server/file_service/file_action_types.ts", + "path": "src/plugins/files/server/file_service/file_action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -3063,7 +3063,7 @@ "signature": [ "Meta | undefined" ], - "path": "x-pack/plugins/files/server/file_service/file_action_types.ts", + "path": "src/plugins/files/server/file_service/file_action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -3079,7 +3079,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/files/server/file_service/file_action_types.ts", + "path": "src/plugins/files/server/file_service/file_action_types.ts", "deprecated": false, "trackAdoption": false } @@ -3095,7 +3095,7 @@ "description": [ "\nArguments for a creating a file share" ], - "path": "x-pack/plugins/files/server/file_share_service/internal_file_share_service.ts", + "path": "src/plugins/files/server/file_share_service/internal_file_share_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3111,7 +3111,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/files/server/file_share_service/internal_file_share_service.ts", + "path": "src/plugins/files/server/file_share_service/internal_file_share_service.ts", "deprecated": false, "trackAdoption": false }, @@ -3129,7 +3129,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/files/server/file_share_service/internal_file_share_service.ts", + "path": "src/plugins/files/server/file_share_service/internal_file_share_service.ts", "deprecated": false, "trackAdoption": false }, @@ -3152,7 +3152,7 @@ }, "" ], - "path": "x-pack/plugins/files/server/file_share_service/internal_file_share_service.ts", + "path": "src/plugins/files/server/file_share_service/internal_file_share_service.ts", "deprecated": false, "trackAdoption": false } @@ -3166,7 +3166,7 @@ "tags": [], "label": "DeleteArg", "description": [], - "path": "x-pack/plugins/files/server/file_client/file_metadata_client/file_metadata_client.ts", + "path": "src/plugins/files/server/file_client/file_metadata_client/file_metadata_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3181,7 +3181,7 @@ "description": [ "\nUnique ID of file metadata to delete\n" ], - "path": "x-pack/plugins/files/server/file_client/file_metadata_client/file_metadata_client.ts", + "path": "src/plugins/files/server/file_client/file_metadata_client/file_metadata_client.ts", "deprecated": false, "trackAdoption": false } @@ -3197,7 +3197,7 @@ "description": [ "\nArguments to delete a file." ], - "path": "x-pack/plugins/files/server/file_service/file_action_types.ts", + "path": "src/plugins/files/server/file_service/file_action_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3210,7 +3210,7 @@ "description": [ "\nFile ID." ], - "path": "x-pack/plugins/files/server/file_service/file_action_types.ts", + "path": "src/plugins/files/server/file_service/file_action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -3223,7 +3223,7 @@ "description": [ "\nFile kind, must correspond to a registered {@link FileKind}." ], - "path": "x-pack/plugins/files/server/file_service/file_action_types.ts", + "path": "src/plugins/files/server/file_service/file_action_types.ts", "deprecated": false, "trackAdoption": false } @@ -3239,7 +3239,7 @@ "description": [ "\nDelete file shares for file arguments." ], - "path": "x-pack/plugins/files/server/file_share_service/internal_file_share_service.ts", + "path": "src/plugins/files/server/file_share_service/internal_file_share_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3252,7 +3252,7 @@ "description": [ "\nThe file id to delete the shares for." ], - "path": "x-pack/plugins/files/server/file_share_service/internal_file_share_service.ts", + "path": "src/plugins/files/server/file_share_service/internal_file_share_service.ts", "deprecated": false, "trackAdoption": false } @@ -3268,7 +3268,7 @@ "description": [ "\nWraps the {@link FileMetadataClient} and {@link BlobStorageClient} client\nto provide basic file CRUD functionality.\n\nFor now this is just a shallow type of the implementation for export purposes." ], - "path": "x-pack/plugins/files/server/file_client/types.ts", + "path": "src/plugins/files/server/file_client/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3281,7 +3281,7 @@ "description": [ "See {@link FileMetadata.FileKind}." ], - "path": "x-pack/plugins/files/server/file_client/types.ts", + "path": "src/plugins/files/server/file_client/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3307,7 +3307,7 @@ }, ">" ], - "path": "x-pack/plugins/files/server/file_client/types.ts", + "path": "src/plugins/files/server/file_client/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3323,7 +3323,7 @@ "signature": [ "CreateArgs" ], - "path": "x-pack/plugins/files/server/file_client/types.ts", + "path": "src/plugins/files/server/file_client/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3359,7 +3359,7 @@ }, ">" ], - "path": "x-pack/plugins/files/server/file_client/types.ts", + "path": "src/plugins/files/server/file_client/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3381,7 +3381,7 @@ "text": "GetArg" } ], - "path": "x-pack/plugins/files/server/file_client/types.ts", + "path": "src/plugins/files/server/file_client/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3409,7 +3409,7 @@ }, ") => Promise" ], - "path": "x-pack/plugins/files/server/file_client/types.ts", + "path": "src/plugins/files/server/file_client/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3425,7 +3425,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/files/server/file_client/types.ts", + "path": "src/plugins/files/server/file_client/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3449,7 +3449,7 @@ }, "" ], - "path": "x-pack/plugins/files/server/file_client/types.ts", + "path": "src/plugins/files/server/file_client/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3477,7 +3477,7 @@ }, ") => Promise" ], - "path": "x-pack/plugins/files/server/file_client/types.ts", + "path": "src/plugins/files/server/file_client/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3499,7 +3499,7 @@ "text": "DeleteArgs" } ], - "path": "x-pack/plugins/files/server/file_client/types.ts", + "path": "src/plugins/files/server/file_client/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3535,7 +3535,7 @@ }, "[]; total: number; }>" ], - "path": "x-pack/plugins/files/server/file_client/types.ts", + "path": "src/plugins/files/server/file_client/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3558,7 +3558,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/files/server/file_client/types.ts", + "path": "src/plugins/files/server/file_client/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -3590,7 +3590,7 @@ }, ">" ], - "path": "x-pack/plugins/files/server/file_client/types.ts", + "path": "src/plugins/files/server/file_client/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3606,7 +3606,7 @@ "signature": [ "ShareArgs" ], - "path": "x-pack/plugins/files/server/file_client/types.ts", + "path": "src/plugins/files/server/file_client/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3628,7 +3628,7 @@ "signature": [ "(args: IdArg) => Promise" ], - "path": "x-pack/plugins/files/server/file_client/types.ts", + "path": "src/plugins/files/server/file_client/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -3645,7 +3645,7 @@ "signature": [ "IdArg" ], - "path": "x-pack/plugins/files/server/file_share_service/types.ts", + "path": "src/plugins/files/server/file_share_service/types.ts", "deprecated": false, "trackAdoption": false } @@ -3681,7 +3681,7 @@ }, "[]; }>" ], - "path": "x-pack/plugins/files/server/file_client/types.ts", + "path": "src/plugins/files/server/file_client/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -3704,7 +3704,7 @@ "text": "ListArgs" } ], - "path": "x-pack/plugins/files/server/file_share_service/types.ts", + "path": "src/plugins/files/server/file_share_service/types.ts", "deprecated": false, "trackAdoption": false } @@ -3732,7 +3732,7 @@ }, "" ], - "path": "x-pack/plugins/files/server/file_client/file_metadata_client/file_metadata_client.ts", + "path": "src/plugins/files/server/file_client/file_metadata_client/file_metadata_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3745,7 +3745,7 @@ "description": [ "\nUnique ID of a file, used to locate a file." ], - "path": "x-pack/plugins/files/server/file_client/file_metadata_client/file_metadata_client.ts", + "path": "src/plugins/files/server/file_client/file_metadata_client/file_metadata_client.ts", "deprecated": false, "trackAdoption": false }, @@ -3777,7 +3777,7 @@ }, " & { FileKind: string; Meta?: M | undefined; }" ], - "path": "x-pack/plugins/files/server/file_client/file_metadata_client/file_metadata_client.ts", + "path": "src/plugins/files/server/file_client/file_metadata_client/file_metadata_client.ts", "deprecated": false, "trackAdoption": false } @@ -3793,7 +3793,7 @@ "description": [ "\nAn abstraction of storage implementation of file object's (i.e., metadata)" ], - "path": "x-pack/plugins/files/server/file_client/file_metadata_client/file_metadata_client.ts", + "path": "src/plugins/files/server/file_client/file_metadata_client/file_metadata_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3825,7 +3825,7 @@ }, ">" ], - "path": "x-pack/plugins/files/server/file_client/file_metadata_client/file_metadata_client.ts", + "path": "src/plugins/files/server/file_client/file_metadata_client/file_metadata_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3848,7 +3848,7 @@ }, "" ], - "path": "x-pack/plugins/files/server/file_client/file_metadata_client/file_metadata_client.ts", + "path": "src/plugins/files/server/file_client/file_metadata_client/file_metadata_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3884,7 +3884,7 @@ }, ">" ], - "path": "x-pack/plugins/files/server/file_client/file_metadata_client/file_metadata_client.ts", + "path": "src/plugins/files/server/file_client/file_metadata_client/file_metadata_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3906,7 +3906,7 @@ "text": "GetArg" } ], - "path": "x-pack/plugins/files/server/file_client/file_metadata_client/file_metadata_client.ts", + "path": "src/plugins/files/server/file_client/file_metadata_client/file_metadata_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3942,7 +3942,7 @@ }, ">" ], - "path": "x-pack/plugins/files/server/file_client/file_metadata_client/file_metadata_client.ts", + "path": "src/plugins/files/server/file_client/file_metadata_client/file_metadata_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3965,7 +3965,7 @@ }, "" ], - "path": "x-pack/plugins/files/server/file_client/file_metadata_client/file_metadata_client.ts", + "path": "src/plugins/files/server/file_client/file_metadata_client/file_metadata_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3993,7 +3993,7 @@ }, ") => Promise" ], - "path": "x-pack/plugins/files/server/file_client/file_metadata_client/file_metadata_client.ts", + "path": "src/plugins/files/server/file_client/file_metadata_client/file_metadata_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4015,7 +4015,7 @@ "text": "DeleteArg" } ], - "path": "x-pack/plugins/files/server/file_client/file_metadata_client/file_metadata_client.ts", + "path": "src/plugins/files/server/file_client/file_metadata_client/file_metadata_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4051,7 +4051,7 @@ }, "[]; }>" ], - "path": "x-pack/plugins/files/server/file_client/file_metadata_client/file_metadata_client.ts", + "path": "src/plugins/files/server/file_client/file_metadata_client/file_metadata_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4074,7 +4074,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/files/server/file_client/file_metadata_client/file_metadata_client.ts", + "path": "src/plugins/files/server/file_client/file_metadata_client/file_metadata_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -4110,7 +4110,7 @@ }, ">" ], - "path": "x-pack/plugins/files/server/file_client/file_metadata_client/file_metadata_client.ts", + "path": "src/plugins/files/server/file_client/file_metadata_client/file_metadata_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4132,7 +4132,7 @@ "text": "GetUsageMetricsArgs" } ], - "path": "x-pack/plugins/files/server/file_client/file_metadata_client/file_metadata_client.ts", + "path": "src/plugins/files/server/file_client/file_metadata_client/file_metadata_client.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4152,7 +4152,7 @@ "description": [ "\nA simple interface for getting an instance of {@link FileServiceStart}" ], - "path": "x-pack/plugins/files/server/file_service/file_service_factory.ts", + "path": "src/plugins/files/server/file_service/file_service_factory.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4183,7 +4183,7 @@ "text": "FileServiceStart" } ], - "path": "x-pack/plugins/files/server/file_service/file_service_factory.ts", + "path": "src/plugins/files/server/file_service/file_service_factory.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4206,7 +4206,7 @@ }, "" ], - "path": "x-pack/plugins/files/server/file_service/file_service_factory.ts", + "path": "src/plugins/files/server/file_service/file_service_factory.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4235,7 +4235,7 @@ "text": "FileServiceStart" } ], - "path": "x-pack/plugins/files/server/file_service/file_service_factory.ts", + "path": "src/plugins/files/server/file_service/file_service_factory.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -4253,7 +4253,7 @@ "description": [ "\nPublic file service interface." ], - "path": "x-pack/plugins/files/server/file_service/file_service.ts", + "path": "src/plugins/files/server/file_service/file_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4285,7 +4285,7 @@ }, ">" ], - "path": "x-pack/plugins/files/server/file_service/file_service.ts", + "path": "src/plugins/files/server/file_service/file_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4308,7 +4308,7 @@ }, "" ], - "path": "x-pack/plugins/files/server/file_service/file_service.ts", + "path": "src/plugins/files/server/file_service/file_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4336,7 +4336,7 @@ }, ") => Promise" ], - "path": "x-pack/plugins/files/server/file_service/file_service.ts", + "path": "src/plugins/files/server/file_service/file_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4358,7 +4358,7 @@ "text": "UpdateFileArgs" } ], - "path": "x-pack/plugins/files/server/file_service/file_service.ts", + "path": "src/plugins/files/server/file_service/file_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4386,7 +4386,7 @@ }, ") => Promise" ], - "path": "x-pack/plugins/files/server/file_service/file_service.ts", + "path": "src/plugins/files/server/file_service/file_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4408,7 +4408,7 @@ "text": "DeleteFileArgs" } ], - "path": "x-pack/plugins/files/server/file_service/file_service.ts", + "path": "src/plugins/files/server/file_service/file_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4444,7 +4444,7 @@ }, ">" ], - "path": "x-pack/plugins/files/server/file_service/file_service.ts", + "path": "src/plugins/files/server/file_service/file_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4466,7 +4466,7 @@ "text": "GetByIdArgs" } ], - "path": "x-pack/plugins/files/server/file_service/file_service.ts", + "path": "src/plugins/files/server/file_service/file_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4502,7 +4502,7 @@ }, "[]; total: number; }>" ], - "path": "x-pack/plugins/files/server/file_service/file_service.ts", + "path": "src/plugins/files/server/file_service/file_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4524,7 +4524,7 @@ "text": "FindFileArgs" } ], - "path": "x-pack/plugins/files/server/file_service/file_service.ts", + "path": "src/plugins/files/server/file_service/file_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4552,7 +4552,7 @@ }, ">" ], - "path": "x-pack/plugins/files/server/file_service/file_service.ts", + "path": "src/plugins/files/server/file_service/file_service.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -4569,7 +4569,7 @@ "signature": [ "IdArg" ], - "path": "x-pack/plugins/files/server/file_share_service/types.ts", + "path": "src/plugins/files/server/file_share_service/types.ts", "deprecated": false, "trackAdoption": false } @@ -4603,7 +4603,7 @@ }, "[]; }>" ], - "path": "x-pack/plugins/files/server/file_service/file_service.ts", + "path": "src/plugins/files/server/file_service/file_service.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -4626,7 +4626,7 @@ "text": "ListArgs" } ], - "path": "x-pack/plugins/files/server/file_share_service/types.ts", + "path": "src/plugins/files/server/file_share_service/types.ts", "deprecated": false, "trackAdoption": false } @@ -4660,7 +4660,7 @@ }, " & { id: string; }>" ], - "path": "x-pack/plugins/files/server/file_service/file_service.ts", + "path": "src/plugins/files/server/file_service/file_service.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -4683,7 +4683,7 @@ "text": "UpdateArgs" } ], - "path": "x-pack/plugins/files/server/file_share_service/types.ts", + "path": "src/plugins/files/server/file_share_service/types.ts", "deprecated": false, "trackAdoption": false } @@ -4701,7 +4701,7 @@ "signature": [ "(args: IdArg) => Promise" ], - "path": "x-pack/plugins/files/server/file_service/file_service.ts", + "path": "src/plugins/files/server/file_service/file_service.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -4718,7 +4718,7 @@ "signature": [ "IdArg" ], - "path": "x-pack/plugins/files/server/file_share_service/types.ts", + "path": "src/plugins/files/server/file_share_service/types.ts", "deprecated": false, "trackAdoption": false } @@ -4744,7 +4744,7 @@ }, ">" ], - "path": "x-pack/plugins/files/server/file_service/file_service.ts", + "path": "src/plugins/files/server/file_service/file_service.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -4770,7 +4770,7 @@ }, ">" ], - "path": "x-pack/plugins/files/server/file_service/file_service.ts", + "path": "src/plugins/files/server/file_service/file_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4786,7 +4786,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/files/server/file_service/file_service.ts", + "path": "src/plugins/files/server/file_service/file_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4806,7 +4806,7 @@ "description": [ "\nWe only expose functionality here that do not require you to have a {@link File}\ninstance loaded." ], - "path": "x-pack/plugins/files/server/file_share_service/types.ts", + "path": "src/plugins/files/server/file_share_service/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4830,7 +4830,7 @@ }, ">" ], - "path": "x-pack/plugins/files/server/file_share_service/types.ts", + "path": "src/plugins/files/server/file_share_service/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4846,7 +4846,7 @@ "signature": [ "IdArg" ], - "path": "x-pack/plugins/files/server/file_share_service/types.ts", + "path": "src/plugins/files/server/file_share_service/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4882,7 +4882,7 @@ }, "[]; }>" ], - "path": "x-pack/plugins/files/server/file_share_service/types.ts", + "path": "src/plugins/files/server/file_share_service/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4904,7 +4904,7 @@ "text": "ListArgs" } ], - "path": "x-pack/plugins/files/server/file_share_service/types.ts", + "path": "src/plugins/files/server/file_share_service/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4940,7 +4940,7 @@ }, " & { id: string; }>" ], - "path": "x-pack/plugins/files/server/file_share_service/types.ts", + "path": "src/plugins/files/server/file_share_service/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4962,7 +4962,7 @@ "text": "UpdateArgs" } ], - "path": "x-pack/plugins/files/server/file_share_service/types.ts", + "path": "src/plugins/files/server/file_share_service/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4982,7 +4982,7 @@ "signature": [ "(args: IdArg) => Promise" ], - "path": "x-pack/plugins/files/server/file_share_service/types.ts", + "path": "src/plugins/files/server/file_share_service/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4998,7 +4998,7 @@ "signature": [ "IdArg" ], - "path": "x-pack/plugins/files/server/file_share_service/types.ts", + "path": "src/plugins/files/server/file_share_service/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5033,7 +5033,7 @@ "text": "Pagination" } ], - "path": "x-pack/plugins/files/server/file_client/file_metadata_client/file_metadata_client.ts", + "path": "src/plugins/files/server/file_client/file_metadata_client/file_metadata_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5049,7 +5049,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/files/server/file_client/file_metadata_client/file_metadata_client.ts", + "path": "src/plugins/files/server/file_client/file_metadata_client/file_metadata_client.ts", "deprecated": false, "trackAdoption": false } @@ -5084,7 +5084,7 @@ "text": "Pagination" } ], - "path": "x-pack/plugins/files/server/file_service/file_action_types.ts", + "path": "src/plugins/files/server/file_service/file_action_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5100,7 +5100,7 @@ "signature": [ "string[] | undefined" ], - "path": "x-pack/plugins/files/server/file_service/file_action_types.ts", + "path": "src/plugins/files/server/file_service/file_action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -5116,7 +5116,7 @@ "signature": [ "string[] | undefined" ], - "path": "x-pack/plugins/files/server/file_service/file_action_types.ts", + "path": "src/plugins/files/server/file_service/file_action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -5132,7 +5132,7 @@ "signature": [ "string[] | undefined" ], - "path": "x-pack/plugins/files/server/file_service/file_action_types.ts", + "path": "src/plugins/files/server/file_service/file_action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -5148,7 +5148,7 @@ "signature": [ "string[] | undefined" ], - "path": "x-pack/plugins/files/server/file_service/file_action_types.ts", + "path": "src/plugins/files/server/file_service/file_action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -5164,7 +5164,7 @@ "signature": [ "Record | undefined" ], - "path": "x-pack/plugins/files/server/file_service/file_action_types.ts", + "path": "src/plugins/files/server/file_service/file_action_types.ts", "deprecated": false, "trackAdoption": false } @@ -5180,7 +5180,7 @@ "description": [ "\nGet a file" ], - "path": "x-pack/plugins/files/server/file_client/file_metadata_client/file_metadata_client.ts", + "path": "src/plugins/files/server/file_client/file_metadata_client/file_metadata_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5193,7 +5193,7 @@ "description": [ "\nUnique ID of file metadata" ], - "path": "x-pack/plugins/files/server/file_client/file_metadata_client/file_metadata_client.ts", + "path": "src/plugins/files/server/file_client/file_metadata_client/file_metadata_client.ts", "deprecated": false, "trackAdoption": false } @@ -5209,7 +5209,7 @@ "description": [ "\nArguments to get a file by ID." ], - "path": "x-pack/plugins/files/server/file_service/file_action_types.ts", + "path": "src/plugins/files/server/file_service/file_action_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5222,7 +5222,7 @@ "description": [ "\nFile ID." ], - "path": "x-pack/plugins/files/server/file_service/file_action_types.ts", + "path": "src/plugins/files/server/file_service/file_action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -5235,7 +5235,7 @@ "description": [ "\nFile kind, must correspond to a registered {@link FileKind}." ], - "path": "x-pack/plugins/files/server/file_service/file_action_types.ts", + "path": "src/plugins/files/server/file_service/file_action_types.ts", "deprecated": false, "trackAdoption": false } @@ -5251,7 +5251,7 @@ "description": [ "\nArgs to get usage metrics" ], - "path": "x-pack/plugins/files/server/file_client/file_metadata_client/file_metadata_client.ts", + "path": "src/plugins/files/server/file_client/file_metadata_client/file_metadata_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5267,7 +5267,7 @@ "signature": [ "{ capacity: number; }" ], - "path": "x-pack/plugins/files/server/file_client/file_metadata_client/file_metadata_client.ts", + "path": "src/plugins/files/server/file_client/file_metadata_client/file_metadata_client.ts", "deprecated": false, "trackAdoption": false } @@ -5300,7 +5300,7 @@ "text": "Pagination" } ], - "path": "x-pack/plugins/files/server/file_share_service/internal_file_share_service.ts", + "path": "src/plugins/files/server/file_share_service/internal_file_share_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5316,7 +5316,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/files/server/file_share_service/internal_file_share_service.ts", + "path": "src/plugins/files/server/file_share_service/internal_file_share_service.ts", "deprecated": false, "trackAdoption": false } @@ -5342,7 +5342,7 @@ }, "" ], - "path": "x-pack/plugins/files/server/file_client/file_metadata_client/file_metadata_client.ts", + "path": "src/plugins/files/server/file_client/file_metadata_client/file_metadata_client.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5355,7 +5355,7 @@ "description": [ "\nA unique file ID." ], - "path": "x-pack/plugins/files/server/file_client/file_metadata_client/file_metadata_client.ts", + "path": "src/plugins/files/server/file_client/file_metadata_client/file_metadata_client.ts", "deprecated": false, "trackAdoption": false }, @@ -5379,7 +5379,7 @@ }, " | undefined; FileKind?: string | undefined; Meta?: M | undefined; }" ], - "path": "x-pack/plugins/files/server/file_client/file_metadata_client/file_metadata_client.ts", + "path": "src/plugins/files/server/file_client/file_metadata_client/file_metadata_client.ts", "deprecated": false, "trackAdoption": false } @@ -5395,7 +5395,7 @@ "description": [ "\nUpdate file share arguments." ], - "path": "x-pack/plugins/files/server/file_share_service/internal_file_share_service.ts", + "path": "src/plugins/files/server/file_share_service/internal_file_share_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5408,7 +5408,7 @@ "description": [ "\nThe file share ID." ], - "path": "x-pack/plugins/files/server/file_share_service/internal_file_share_service.ts", + "path": "src/plugins/files/server/file_share_service/internal_file_share_service.ts", "deprecated": false, "trackAdoption": false }, @@ -5424,7 +5424,7 @@ "signature": [ "{ name?: string | undefined; }" ], - "path": "x-pack/plugins/files/server/file_share_service/internal_file_share_service.ts", + "path": "src/plugins/files/server/file_share_service/internal_file_share_service.ts", "deprecated": false, "trackAdoption": false } @@ -5440,7 +5440,7 @@ "description": [ "\nArguments to update a file" ], - "path": "x-pack/plugins/files/server/file_service/file_action_types.ts", + "path": "src/plugins/files/server/file_service/file_action_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5453,7 +5453,7 @@ "description": [ "\nFile ID." ], - "path": "x-pack/plugins/files/server/file_service/file_action_types.ts", + "path": "src/plugins/files/server/file_service/file_action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -5466,7 +5466,7 @@ "description": [ "\nFile kind, must correspond to a registered {@link FileKind}." ], - "path": "x-pack/plugins/files/server/file_service/file_action_types.ts", + "path": "src/plugins/files/server/file_service/file_action_types.ts", "deprecated": false, "trackAdoption": false }, @@ -5482,7 +5482,7 @@ "signature": [ "{ name: string; meta: unknown; alt: string | undefined; }" ], - "path": "x-pack/plugins/files/server/file_service/file_action_types.ts", + "path": "src/plugins/files/server/file_service/file_action_types.ts", "deprecated": false, "trackAdoption": false } @@ -5504,7 +5504,7 @@ "signature": [ "IdArg" ], - "path": "x-pack/plugins/files/server/file_share_service/internal_file_share_service.ts", + "path": "src/plugins/files/server/file_share_service/internal_file_share_service.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5521,7 +5521,7 @@ "signature": [ "IdArg" ], - "path": "x-pack/plugins/files/server/file_share_service/internal_file_share_service.ts", + "path": "src/plugins/files/server/file_share_service/internal_file_share_service.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5537,7 +5537,7 @@ "description": [ "\nFiles plugin setup contract" ], - "path": "x-pack/plugins/files/server/types.ts", + "path": "src/plugins/files/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5563,7 +5563,7 @@ }, ") => void" ], - "path": "x-pack/plugins/files/server/types.ts", + "path": "src/plugins/files/server/types.ts", "deprecated": false, "trackAdoption": true, "references": [], @@ -5586,7 +5586,7 @@ "text": "FileKind" } ], - "path": "x-pack/plugins/files/server/types.ts", + "path": "src/plugins/files/server/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5607,7 +5607,7 @@ "description": [ "\nFiles plugin start contract" ], - "path": "x-pack/plugins/files/server/types.ts", + "path": "src/plugins/files/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5631,7 +5631,7 @@ "text": "FileServiceFactory" } ], - "path": "x-pack/plugins/files/server/types.ts", + "path": "src/plugins/files/server/types.ts", "deprecated": false, "trackAdoption": true, "references": [] @@ -5654,7 +5654,7 @@ "description": [ "\nDefines all the settings for supported blob stores.\n\nKey names map to unique blob store implementations and so must not be changed\nwithout a migration" ], - "path": "x-pack/plugins/files/common/types.ts", + "path": "src/plugins/files/common/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5670,7 +5670,7 @@ "signature": [ "{ index: string; } | undefined" ], - "path": "x-pack/plugins/files/common/types.ts", + "path": "src/plugins/files/common/types.ts", "deprecated": false, "trackAdoption": false } @@ -5696,7 +5696,7 @@ }, "" ], - "path": "x-pack/plugins/files/common/types.ts", + "path": "src/plugins/files/common/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5709,7 +5709,7 @@ "description": [ "\nThe file ID" ], - "path": "x-pack/plugins/files/common/types.ts", + "path": "src/plugins/files/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -5732,7 +5732,7 @@ }, "" ], - "path": "x-pack/plugins/files/common/types.ts", + "path": "src/plugins/files/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -5764,7 +5764,7 @@ }, ">" ], - "path": "x-pack/plugins/files/common/types.ts", + "path": "src/plugins/files/common/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5788,7 +5788,7 @@ }, ">" ], - "path": "x-pack/plugins/files/common/types.ts", + "path": "src/plugins/files/common/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5820,7 +5820,7 @@ }, ">" ], - "path": "x-pack/plugins/files/common/types.ts", + "path": "src/plugins/files/common/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5836,7 +5836,7 @@ "signature": [ "Readable" ], - "path": "x-pack/plugins/files/common/types.ts", + "path": "src/plugins/files/common/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5854,7 +5854,7 @@ "Observable", " | undefined" ], - "path": "x-pack/plugins/files/common/types.ts", + "path": "src/plugins/files/common/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -5876,7 +5876,7 @@ "Readable", ">" ], - "path": "x-pack/plugins/files/common/types.ts", + "path": "src/plugins/files/common/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -5896,7 +5896,7 @@ "signature": [ "() => Promise" ], - "path": "x-pack/plugins/files/common/types.ts", + "path": "src/plugins/files/common/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -5932,7 +5932,7 @@ }, ">" ], - "path": "x-pack/plugins/files/common/types.ts", + "path": "src/plugins/files/common/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5955,7 +5955,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/files/common/types.ts", + "path": "src/plugins/files/common/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -5983,7 +5983,7 @@ }, "[]>" ], - "path": "x-pack/plugins/files/common/types.ts", + "path": "src/plugins/files/common/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -6009,7 +6009,7 @@ }, ") => Promise" ], - "path": "x-pack/plugins/files/common/types.ts", + "path": "src/plugins/files/common/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6031,7 +6031,7 @@ "text": "FileUnshareOptions" } ], - "path": "x-pack/plugins/files/common/types.ts", + "path": "src/plugins/files/common/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -6059,7 +6059,7 @@ }, "" ], - "path": "x-pack/plugins/files/common/types.ts", + "path": "src/plugins/files/common/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -6077,7 +6077,7 @@ "description": [ "\nSet of metadata captured for every image uploaded via the file services'\npublic components." ], - "path": "x-pack/plugins/files/common/types.ts", + "path": "src/plugins/files/common/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6093,7 +6093,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/files/common/types.ts", + "path": "src/plugins/files/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -6106,7 +6106,7 @@ "description": [ "\nWidth, in px, of the original image" ], - "path": "x-pack/plugins/files/common/types.ts", + "path": "src/plugins/files/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -6119,7 +6119,7 @@ "description": [ "\nHeight, in px, of the original image" ], - "path": "x-pack/plugins/files/common/types.ts", + "path": "src/plugins/files/common/types.ts", "deprecated": false, "trackAdoption": false } @@ -6145,7 +6145,7 @@ }, "" ], - "path": "x-pack/plugins/files/common/types.ts", + "path": "src/plugins/files/common/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6158,7 +6158,7 @@ "description": [ "\nUnique file ID." ], - "path": "x-pack/plugins/files/common/types.ts", + "path": "src/plugins/files/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -6171,7 +6171,7 @@ "description": [ "\nISO string of when this file was created" ], - "path": "x-pack/plugins/files/common/types.ts", + "path": "src/plugins/files/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -6184,7 +6184,7 @@ "description": [ "\nISO string of when the file was updated" ], - "path": "x-pack/plugins/files/common/types.ts", + "path": "src/plugins/files/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -6199,7 +6199,7 @@ "description": [ "\nFile name.\n" ], - "path": "x-pack/plugins/files/common/types.ts", + "path": "src/plugins/files/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -6215,7 +6215,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/files/common/types.ts", + "path": "src/plugins/files/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -6231,7 +6231,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/files/common/types.ts", + "path": "src/plugins/files/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -6249,7 +6249,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/files/common/types.ts", + "path": "src/plugins/files/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -6265,7 +6265,7 @@ "signature": [ "Meta | undefined" ], - "path": "x-pack/plugins/files/common/types.ts", + "path": "src/plugins/files/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -6281,7 +6281,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/files/common/types.ts", + "path": "src/plugins/files/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -6296,7 +6296,7 @@ "description": [ "\nA unique kind that governs various aspects of the file. A consumer of the\nfiles service must register a file kind and link their files to a specific\nkind.\n" ], - "path": "x-pack/plugins/files/common/types.ts", + "path": "src/plugins/files/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -6312,7 +6312,7 @@ "signature": [ "\"AWAITING_UPLOAD\" | \"UPLOADING\" | \"READY\" | \"UPLOAD_ERROR\" | \"DELETED\"" ], - "path": "x-pack/plugins/files/common/types.ts", + "path": "src/plugins/files/common/types.ts", "deprecated": false, "trackAdoption": false } @@ -6330,7 +6330,7 @@ "description": [ "\nA descriptor of meta values associated with a set or \"kind\" of files.\n" ], - "path": "x-pack/plugins/files/common/types.ts", + "path": "src/plugins/files/common/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6343,7 +6343,7 @@ "description": [ "\nUnique file kind ID" ], - "path": "x-pack/plugins/files/common/types.ts", + "path": "src/plugins/files/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -6361,7 +6361,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/files/common/types.ts", + "path": "src/plugins/files/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -6379,7 +6379,7 @@ "signature": [ "string[] | undefined" ], - "path": "x-pack/plugins/files/common/types.ts", + "path": "src/plugins/files/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -6402,7 +6402,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/files/common/types.ts", + "path": "src/plugins/files/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -6420,7 +6420,7 @@ "signature": [ "{ create?: HttpEndpointDefinition | undefined; update?: HttpEndpointDefinition | undefined; delete?: HttpEndpointDefinition | undefined; getById?: HttpEndpointDefinition | undefined; list?: HttpEndpointDefinition | undefined; download?: HttpEndpointDefinition | undefined; share?: HttpEndpointDefinition | undefined; }" ], - "path": "x-pack/plugins/files/common/types.ts", + "path": "src/plugins/files/common/types.ts", "deprecated": false, "trackAdoption": false } @@ -6436,7 +6436,7 @@ "description": [ "\nAttributes of a file that represent a serialised version of the file." ], - "path": "x-pack/plugins/files/common/types.ts", + "path": "src/plugins/files/common/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6449,7 +6449,7 @@ "description": [ "\nUnique ID share instance" ], - "path": "x-pack/plugins/files/common/types.ts", + "path": "src/plugins/files/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -6462,7 +6462,7 @@ "description": [ "\nISO timestamp the share was created" ], - "path": "x-pack/plugins/files/common/types.ts", + "path": "src/plugins/files/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -6475,7 +6475,7 @@ "description": [ "\nUnix timestamp (in milliseconds) of when this share expires" ], - "path": "x-pack/plugins/files/common/types.ts", + "path": "src/plugins/files/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -6491,7 +6491,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/files/common/types.ts", + "path": "src/plugins/files/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -6504,7 +6504,7 @@ "description": [ "\nThe ID of the file this share is linked to" ], - "path": "x-pack/plugins/files/common/types.ts", + "path": "src/plugins/files/common/types.ts", "deprecated": false, "trackAdoption": false } @@ -6520,7 +6520,7 @@ "description": [ "\nArguments to pass to share a file" ], - "path": "x-pack/plugins/files/common/types.ts", + "path": "src/plugins/files/common/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6536,7 +6536,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/files/common/types.ts", + "path": "src/plugins/files/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -6554,7 +6554,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/files/common/types.ts", + "path": "src/plugins/files/common/types.ts", "deprecated": false, "trackAdoption": false } @@ -6570,7 +6570,7 @@ "description": [ "\nA collection of generally useful metrics about files." ], - "path": "x-pack/plugins/files/common/types.ts", + "path": "src/plugins/files/common/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6586,7 +6586,7 @@ "signature": [ "{ esFixedSizeIndex: { capacity: number; used: number; available: number; }; }" ], - "path": "x-pack/plugins/files/common/types.ts", + "path": "src/plugins/files/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -6602,7 +6602,7 @@ "signature": [ "{ AWAITING_UPLOAD: number; UPLOADING: number; READY: number; UPLOAD_ERROR: number; DELETED: number; }" ], - "path": "x-pack/plugins/files/common/types.ts", + "path": "src/plugins/files/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -6618,7 +6618,7 @@ "signature": [ "{ [x: string]: number; }" ], - "path": "x-pack/plugins/files/common/types.ts", + "path": "src/plugins/files/common/types.ts", "deprecated": false, "trackAdoption": false } @@ -6634,7 +6634,7 @@ "description": [ "\nArguments for unsharing a file" ], - "path": "x-pack/plugins/files/common/types.ts", + "path": "src/plugins/files/common/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6647,7 +6647,7 @@ "description": [ "\nSpecify the share instance to remove" ], - "path": "x-pack/plugins/files/common/types.ts", + "path": "src/plugins/files/common/types.ts", "deprecated": false, "trackAdoption": false } @@ -6663,7 +6663,7 @@ "description": [ "\nValues for paginating through results." ], - "path": "x-pack/plugins/files/common/types.ts", + "path": "src/plugins/files/common/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6679,7 +6679,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/files/common/types.ts", + "path": "src/plugins/files/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -6695,7 +6695,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/files/common/types.ts", + "path": "src/plugins/files/common/types.ts", "deprecated": false, "trackAdoption": false } @@ -6733,7 +6733,7 @@ }, " | undefined; }" ], - "path": "x-pack/plugins/files/common/types.ts", + "path": "src/plugins/files/common/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6750,7 +6750,7 @@ "signature": [ "\"esFixedSizeIndex\"" ], - "path": "x-pack/plugins/files/common/constants.ts", + "path": "src/plugins/files/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6767,7 +6767,7 @@ "signature": [ "\"file\"" ], - "path": "x-pack/plugins/files/common/constants.ts", + "path": "src/plugins/files/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6784,7 +6784,7 @@ "signature": [ "\"none\" | \"br\" | \"gzip\" | \"deflate\"" ], - "path": "x-pack/plugins/files/common/types.ts", + "path": "src/plugins/files/common/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6817,7 +6817,7 @@ }, " & { FileKind: string; Meta?: Meta | undefined; }" ], - "path": "x-pack/plugins/files/common/types.ts", + "path": "src/plugins/files/common/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6849,7 +6849,7 @@ }, ">" ], - "path": "x-pack/plugins/files/common/types.ts", + "path": "src/plugins/files/common/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6866,7 +6866,7 @@ "signature": [ "{ created: string; token: string; name?: string | undefined; valid_until: number; }" ], - "path": "x-pack/plugins/files/common/types.ts", + "path": "src/plugins/files/common/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6892,7 +6892,7 @@ }, " & { token: string; }" ], - "path": "x-pack/plugins/files/common/types.ts", + "path": "src/plugins/files/common/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6909,7 +6909,7 @@ "signature": [ "\"AWAITING_UPLOAD\" | \"UPLOADING\" | \"READY\" | \"UPLOAD_ERROR\" | \"DELETED\"" ], - "path": "x-pack/plugins/files/common/types.ts", + "path": "src/plugins/files/common/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6926,7 +6926,7 @@ "signature": [ "\"files\"" ], - "path": "x-pack/plugins/files/common/constants.ts", + "path": "src/plugins/files/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6943,7 +6943,7 @@ "signature": [ "\"files\"" ], - "path": "x-pack/plugins/files/common/constants.ts", + "path": "src/plugins/files/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6960,7 +6960,7 @@ "signature": [ "{ name: string; meta: Meta | undefined; alt: string | undefined; }" ], - "path": "x-pack/plugins/files/common/types.ts", + "path": "src/plugins/files/common/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6977,7 +6977,7 @@ "signature": [ "{ name?: string | undefined; }" ], - "path": "x-pack/plugins/files/common/types.ts", + "path": "src/plugins/files/common/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/files.mdx b/api_docs/files.mdx index 881ab6389c456..7fa464d93185b 100644 --- a/api_docs/files.mdx +++ b/api_docs/files.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/files title: "files" image: https://source.unsplash.com/400x175/?github description: API docs for the files plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'files'] --- import filesObj from './files.devdocs.json'; diff --git a/api_docs/fleet.mdx b/api_docs/fleet.mdx index cb42acfa5f94e..3035e0e0641d5 100644 --- a/api_docs/fleet.mdx +++ b/api_docs/fleet.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/fleet title: "fleet" image: https://source.unsplash.com/400x175/?github description: API docs for the fleet plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'fleet'] --- import fleetObj from './fleet.devdocs.json'; diff --git a/api_docs/global_search.mdx b/api_docs/global_search.mdx index 582ac8e70514a..f394f88418127 100644 --- a/api_docs/global_search.mdx +++ b/api_docs/global_search.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/globalSearch title: "globalSearch" image: https://source.unsplash.com/400x175/?github description: API docs for the globalSearch plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'globalSearch'] --- import globalSearchObj from './global_search.devdocs.json'; diff --git a/api_docs/guided_onboarding.mdx b/api_docs/guided_onboarding.mdx index fcb9432148235..09a89d44f0f56 100644 --- a/api_docs/guided_onboarding.mdx +++ b/api_docs/guided_onboarding.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/guidedOnboarding title: "guidedOnboarding" image: https://source.unsplash.com/400x175/?github description: API docs for the guidedOnboarding plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'guidedOnboarding'] --- import guidedOnboardingObj from './guided_onboarding.devdocs.json'; diff --git a/api_docs/home.mdx b/api_docs/home.mdx index ef70e64058105..c6842826a6b64 100644 --- a/api_docs/home.mdx +++ b/api_docs/home.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/home title: "home" image: https://source.unsplash.com/400x175/?github description: API docs for the home plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'home'] --- import homeObj from './home.devdocs.json'; diff --git a/api_docs/index_lifecycle_management.mdx b/api_docs/index_lifecycle_management.mdx index dbebd786a98c1..81aa6e309245d 100644 --- a/api_docs/index_lifecycle_management.mdx +++ b/api_docs/index_lifecycle_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/indexLifecycleManagement title: "indexLifecycleManagement" image: https://source.unsplash.com/400x175/?github description: API docs for the indexLifecycleManagement plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'indexLifecycleManagement'] --- import indexLifecycleManagementObj from './index_lifecycle_management.devdocs.json'; diff --git a/api_docs/index_management.mdx b/api_docs/index_management.mdx index 409c88b5aa69f..222a8affc9520 100644 --- a/api_docs/index_management.mdx +++ b/api_docs/index_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/indexManagement title: "indexManagement" image: https://source.unsplash.com/400x175/?github description: API docs for the indexManagement plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'indexManagement'] --- import indexManagementObj from './index_management.devdocs.json'; diff --git a/api_docs/infra.mdx b/api_docs/infra.mdx index 47b3a408e4970..520d78d49739f 100644 --- a/api_docs/infra.mdx +++ b/api_docs/infra.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/infra title: "infra" image: https://source.unsplash.com/400x175/?github description: API docs for the infra plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'infra'] --- import infraObj from './infra.devdocs.json'; diff --git a/api_docs/inspector.mdx b/api_docs/inspector.mdx index 68cc882c211db..72a7c4beef395 100644 --- a/api_docs/inspector.mdx +++ b/api_docs/inspector.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/inspector title: "inspector" image: https://source.unsplash.com/400x175/?github description: API docs for the inspector plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'inspector'] --- import inspectorObj from './inspector.devdocs.json'; diff --git a/api_docs/interactive_setup.mdx b/api_docs/interactive_setup.mdx index 0a75b7b3fcdbd..725b53c8d5e12 100644 --- a/api_docs/interactive_setup.mdx +++ b/api_docs/interactive_setup.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/interactiveSetup title: "interactiveSetup" image: https://source.unsplash.com/400x175/?github description: API docs for the interactiveSetup plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'interactiveSetup'] --- import interactiveSetupObj from './interactive_setup.devdocs.json'; diff --git a/api_docs/kbn_ace.mdx b/api_docs/kbn_ace.mdx index 6e8eaac719d76..c883f27e694f1 100644 --- a/api_docs/kbn_ace.mdx +++ b/api_docs/kbn_ace.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ace title: "@kbn/ace" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ace plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ace'] --- import kbnAceObj from './kbn_ace.devdocs.json'; diff --git a/api_docs/kbn_aiops_components.mdx b/api_docs/kbn_aiops_components.mdx index aeed11bdb22d1..59fe0acd596b5 100644 --- a/api_docs/kbn_aiops_components.mdx +++ b/api_docs/kbn_aiops_components.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-aiops-components title: "@kbn/aiops-components" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/aiops-components plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/aiops-components'] --- import kbnAiopsComponentsObj from './kbn_aiops_components.devdocs.json'; diff --git a/api_docs/kbn_aiops_utils.mdx b/api_docs/kbn_aiops_utils.mdx index 418329f9bd105..c4bf8dcc5170c 100644 --- a/api_docs/kbn_aiops_utils.mdx +++ b/api_docs/kbn_aiops_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-aiops-utils title: "@kbn/aiops-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/aiops-utils plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/aiops-utils'] --- import kbnAiopsUtilsObj from './kbn_aiops_utils.devdocs.json'; diff --git a/api_docs/kbn_alerts.mdx b/api_docs/kbn_alerts.mdx index 3bd82d9fdf731..e02a461e07a5c 100644 --- a/api_docs/kbn_alerts.mdx +++ b/api_docs/kbn_alerts.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-alerts title: "@kbn/alerts" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/alerts plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/alerts'] --- import kbnAlertsObj from './kbn_alerts.devdocs.json'; diff --git a/api_docs/kbn_analytics.mdx b/api_docs/kbn_analytics.mdx index 308cbd75b1b13..47ef34e7033dd 100644 --- a/api_docs/kbn_analytics.mdx +++ b/api_docs/kbn_analytics.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-analytics title: "@kbn/analytics" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/analytics plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics'] --- import kbnAnalyticsObj from './kbn_analytics.devdocs.json'; diff --git a/api_docs/kbn_analytics_client.mdx b/api_docs/kbn_analytics_client.mdx index c0d900d2839be..8481e92961abf 100644 --- a/api_docs/kbn_analytics_client.mdx +++ b/api_docs/kbn_analytics_client.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-analytics-client title: "@kbn/analytics-client" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/analytics-client plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics-client'] --- import kbnAnalyticsClientObj from './kbn_analytics_client.devdocs.json'; diff --git a/api_docs/kbn_analytics_shippers_elastic_v3_browser.mdx b/api_docs/kbn_analytics_shippers_elastic_v3_browser.mdx index 46192c3340528..f11e6eaa69863 100644 --- a/api_docs/kbn_analytics_shippers_elastic_v3_browser.mdx +++ b/api_docs/kbn_analytics_shippers_elastic_v3_browser.mdx @@ -8,7 +8,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 description: API docs for the @kbn/analytics-shippers-elastic-v3-browser plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics-shippers-elastic-v3-browser'] --- import kbnAnalyticsShippersElasticV3BrowserObj from './kbn_analytics_shippers_elastic_v3_browser.devdocs.json'; diff --git a/api_docs/kbn_analytics_shippers_elastic_v3_common.mdx b/api_docs/kbn_analytics_shippers_elastic_v3_common.mdx index 8e3823904fd0b..7f6c81657e186 100644 --- a/api_docs/kbn_analytics_shippers_elastic_v3_common.mdx +++ b/api_docs/kbn_analytics_shippers_elastic_v3_common.mdx @@ -8,7 +8,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 description: API docs for the @kbn/analytics-shippers-elastic-v3-common plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics-shippers-elastic-v3-common'] --- import kbnAnalyticsShippersElasticV3CommonObj from './kbn_analytics_shippers_elastic_v3_common.devdocs.json'; diff --git a/api_docs/kbn_analytics_shippers_elastic_v3_server.mdx b/api_docs/kbn_analytics_shippers_elastic_v3_server.mdx index 436193f458dc3..a260493db0bb0 100644 --- a/api_docs/kbn_analytics_shippers_elastic_v3_server.mdx +++ b/api_docs/kbn_analytics_shippers_elastic_v3_server.mdx @@ -8,7 +8,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 description: API docs for the @kbn/analytics-shippers-elastic-v3-server plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics-shippers-elastic-v3-server'] --- import kbnAnalyticsShippersElasticV3ServerObj from './kbn_analytics_shippers_elastic_v3_server.devdocs.json'; diff --git a/api_docs/kbn_analytics_shippers_fullstory.mdx b/api_docs/kbn_analytics_shippers_fullstory.mdx index e20e500f4764c..0603fd70a01a9 100644 --- a/api_docs/kbn_analytics_shippers_fullstory.mdx +++ b/api_docs/kbn_analytics_shippers_fullstory.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-analytics-shippers-fullstory title: "@kbn/analytics-shippers-fullstory" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/analytics-shippers-fullstory plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics-shippers-fullstory'] --- import kbnAnalyticsShippersFullstoryObj from './kbn_analytics_shippers_fullstory.devdocs.json'; diff --git a/api_docs/kbn_analytics_shippers_gainsight.mdx b/api_docs/kbn_analytics_shippers_gainsight.mdx index 92ce0d5f39428..5b3f6e7ebcc14 100644 --- a/api_docs/kbn_analytics_shippers_gainsight.mdx +++ b/api_docs/kbn_analytics_shippers_gainsight.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-analytics-shippers-gainsight title: "@kbn/analytics-shippers-gainsight" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/analytics-shippers-gainsight plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics-shippers-gainsight'] --- import kbnAnalyticsShippersGainsightObj from './kbn_analytics_shippers_gainsight.devdocs.json'; diff --git a/api_docs/kbn_apm_config_loader.mdx b/api_docs/kbn_apm_config_loader.mdx index a8b49e333a999..0a1876b6dc723 100644 --- a/api_docs/kbn_apm_config_loader.mdx +++ b/api_docs/kbn_apm_config_loader.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-apm-config-loader title: "@kbn/apm-config-loader" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/apm-config-loader plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/apm-config-loader'] --- import kbnApmConfigLoaderObj from './kbn_apm_config_loader.devdocs.json'; diff --git a/api_docs/kbn_apm_synthtrace.devdocs.json b/api_docs/kbn_apm_synthtrace.devdocs.json index 8c184492cae5d..5202c4cf00aea 100644 --- a/api_docs/kbn_apm_synthtrace.devdocs.json +++ b/api_docs/kbn_apm_synthtrace.devdocs.json @@ -1070,7 +1070,7 @@ "section": "def-server.ApmException", "text": "ApmException" }, - "[]; 'error.grouping_name': string; 'error.grouping_key': string; 'host.name': string; 'host.hostname': string; 'http.request.method': string; 'http.response.status_code': number; 'kubernetes.pod.uid': string; 'kubernetes.pod.name': string; 'metricset.name': string; observer: ", + "[]; 'error.grouping_name': string; 'error.grouping_key': string; 'host.name': string; 'host.architecture': string; 'host.hostname': string; 'http.request.method': string; 'http.response.status_code': number; 'kubernetes.pod.uid': string; 'kubernetes.pod.name': string; 'metricset.name': string; observer: ", "Observer", "; 'parent.id': string; 'processor.event': string; 'processor.name': string; 'trace.id': string; 'transaction.name': string; 'transaction.type': string; 'transaction.id': string; 'transaction.duration.us': number; 'transaction.duration.histogram': { values: number[]; counts: number[]; }; 'transaction.sampled': true; 'service.name': string; 'service.version': string; 'service.environment': string; 'service.node.name': string; 'service.runtime.name': string; 'service.runtime.version': string; 'service.framework.name': string; 'service.target.name': string; 'service.target.type': string; 'span.action': string; 'span.id': string; 'span.name': string; 'span.type': string; 'span.subtype': string; 'span.duration.us': number; 'span.destination.service.resource': string; 'span.destination.service.response_time.sum.us': number; 'span.destination.service.response_time.count': number; 'span.self_time.count': number; 'span.self_time.sum.us': number; 'span.links': { trace: { id: string; }; span: { id: string; }; }[]; 'cloud.provider': string; 'cloud.project.name': string; 'cloud.service.name': string; 'cloud.availability_zone': string; 'cloud.machine.type': string; 'cloud.region': string; 'host.os.platform': string; 'faas.id': string; 'faas.name': string; 'faas.coldstart': boolean; 'faas.execution': string; 'faas.trigger.type': string; 'faas.trigger.request_id': string; }> & Partial<{ 'system.process.memory.size': number; 'system.memory.actual.free': number; 'system.memory.total': number; 'system.cpu.total.norm.pct': number; 'system.process.memory.rss.bytes': number; 'system.process.cpu.total.norm.pct': number; 'jvm.memory.heap.used': number; 'jvm.memory.non_heap.used': number; 'jvm.thread.count': number; 'faas.billed_duration': number; 'faas.timeout': number; 'faas.coldstart_duration': number; 'faas.duration': number; }>" ], @@ -1166,7 +1166,7 @@ "section": "def-server.ApmException", "text": "ApmException" }, - "[] | undefined; 'error.grouping_name'?: string | undefined; 'error.grouping_key'?: string | undefined; 'host.name'?: string | undefined; 'host.hostname'?: string | undefined; 'http.request.method'?: string | undefined; 'http.response.status_code'?: number | undefined; 'kubernetes.pod.uid'?: string | undefined; 'kubernetes.pod.name'?: string | undefined; observer?: ", + "[] | undefined; 'error.grouping_name'?: string | undefined; 'error.grouping_key'?: string | undefined; 'host.name'?: string | undefined; 'host.architecture'?: string | undefined; 'host.hostname'?: string | undefined; 'http.request.method'?: string | undefined; 'http.response.status_code'?: number | undefined; 'kubernetes.pod.uid'?: string | undefined; 'kubernetes.pod.name'?: string | undefined; observer?: ", "Observer", " | undefined; 'parent.id'?: string | undefined; 'processor.event'?: string | undefined; 'processor.name'?: string | undefined; 'trace.id'?: string | undefined; 'transaction.name'?: string | undefined; 'transaction.type'?: string | undefined; 'transaction.id'?: string | undefined; 'transaction.duration.us'?: number | undefined; 'transaction.sampled'?: true | undefined; 'service.name'?: string | undefined; 'service.version'?: string | undefined; 'service.environment'?: string | undefined; 'service.node.name'?: string | undefined; 'service.runtime.name'?: string | undefined; 'service.runtime.version'?: string | undefined; 'service.framework.name'?: string | undefined; 'service.target.name'?: string | undefined; 'service.target.type'?: string | undefined; 'span.action'?: string | undefined; 'span.id'?: string | undefined; 'span.name'?: string | undefined; 'span.type'?: string | undefined; 'span.subtype'?: string | undefined; 'span.duration.us'?: number | undefined; 'span.destination.service.resource'?: string | undefined; 'span.destination.service.response_time.sum.us'?: number | undefined; 'span.destination.service.response_time.count'?: number | undefined; 'span.self_time.count'?: number | undefined; 'span.self_time.sum.us'?: number | undefined; 'span.links'?: { trace: { id: string; }; span: { id: string; }; }[] | undefined; 'cloud.provider'?: string | undefined; 'cloud.project.name'?: string | undefined; 'cloud.service.name'?: string | undefined; 'cloud.availability_zone'?: string | undefined; 'cloud.machine.type'?: string | undefined; 'cloud.region'?: string | undefined; 'host.os.platform'?: string | undefined; 'faas.id'?: string | undefined; 'faas.name'?: string | undefined; 'faas.coldstart'?: boolean | undefined; 'faas.execution'?: string | undefined; 'faas.trigger.type'?: string | undefined; 'faas.trigger.request_id'?: string | undefined; 'system.process.memory.size'?: number | undefined; 'system.memory.actual.free'?: number | undefined; 'system.memory.total'?: number | undefined; 'system.cpu.total.norm.pct'?: number | undefined; 'system.process.memory.rss.bytes'?: number | undefined; 'system.process.cpu.total.norm.pct'?: number | undefined; 'jvm.memory.heap.used'?: number | undefined; 'jvm.memory.non_heap.used'?: number | undefined; 'jvm.thread.count'?: number | undefined; 'faas.billed_duration'?: number | undefined; 'faas.timeout'?: number | undefined; 'faas.coldstart_duration'?: number | undefined; 'faas.duration'?: number | undefined; }[]" ], @@ -1222,7 +1222,7 @@ "section": "def-server.ApmException", "text": "ApmException" }, - "[] | undefined; 'error.grouping_name'?: string | undefined; 'error.grouping_key'?: string | undefined; 'host.name'?: string | undefined; 'host.hostname'?: string | undefined; 'http.request.method'?: string | undefined; 'http.response.status_code'?: number | undefined; 'kubernetes.pod.uid'?: string | undefined; 'kubernetes.pod.name'?: string | undefined; observer?: ", + "[] | undefined; 'error.grouping_name'?: string | undefined; 'error.grouping_key'?: string | undefined; 'host.name'?: string | undefined; 'host.architecture'?: string | undefined; 'host.hostname'?: string | undefined; 'http.request.method'?: string | undefined; 'http.response.status_code'?: number | undefined; 'kubernetes.pod.uid'?: string | undefined; 'kubernetes.pod.name'?: string | undefined; observer?: ", "Observer", " | undefined; 'parent.id'?: string | undefined; 'processor.event'?: string | undefined; 'processor.name'?: string | undefined; 'trace.id'?: string | undefined; 'transaction.name'?: string | undefined; 'transaction.type'?: string | undefined; 'transaction.id'?: string | undefined; 'transaction.duration.us'?: number | undefined; 'transaction.duration.histogram'?: { values: number[]; counts: number[]; } | undefined; 'transaction.sampled'?: true | undefined; 'service.name'?: string | undefined; 'service.version'?: string | undefined; 'service.environment'?: string | undefined; 'service.node.name'?: string | undefined; 'service.runtime.name'?: string | undefined; 'service.runtime.version'?: string | undefined; 'service.framework.name'?: string | undefined; 'service.target.name'?: string | undefined; 'service.target.type'?: string | undefined; 'span.action'?: string | undefined; 'span.id'?: string | undefined; 'span.name'?: string | undefined; 'span.type'?: string | undefined; 'span.subtype'?: string | undefined; 'span.duration.us'?: number | undefined; 'span.destination.service.resource'?: string | undefined; 'span.self_time.count'?: number | undefined; 'span.self_time.sum.us'?: number | undefined; 'span.links'?: { trace: { id: string; }; span: { id: string; }; }[] | undefined; 'cloud.provider'?: string | undefined; 'cloud.project.name'?: string | undefined; 'cloud.service.name'?: string | undefined; 'cloud.availability_zone'?: string | undefined; 'cloud.machine.type'?: string | undefined; 'cloud.region'?: string | undefined; 'host.os.platform'?: string | undefined; 'faas.id'?: string | undefined; 'faas.name'?: string | undefined; 'faas.coldstart'?: boolean | undefined; 'faas.execution'?: string | undefined; 'faas.trigger.type'?: string | undefined; 'faas.trigger.request_id'?: string | undefined; 'system.process.memory.size'?: number | undefined; 'system.memory.actual.free'?: number | undefined; 'system.memory.total'?: number | undefined; 'system.cpu.total.norm.pct'?: number | undefined; 'system.process.memory.rss.bytes'?: number | undefined; 'system.process.cpu.total.norm.pct'?: number | undefined; 'jvm.memory.heap.used'?: number | undefined; 'jvm.memory.non_heap.used'?: number | undefined; 'jvm.thread.count'?: number | undefined; 'faas.billed_duration'?: number | undefined; 'faas.timeout'?: number | undefined; 'faas.coldstart_duration'?: number | undefined; 'faas.duration'?: number | undefined; }[]" ], @@ -1405,7 +1405,7 @@ "label": "serverlessFunction", "description": [], "signature": [ - "({ functionName, serviceName, environment, agentName, }: { functionName: string; environment: string; agentName: string; serviceName?: string | undefined; }) => ", + "({ functionName, serviceName, environment, agentName, architecture, }: { functionName: string; environment: string; agentName: string; serviceName?: string | undefined; architecture?: string | undefined; }) => ", "ServerlessFunction" ], "path": "packages/kbn-apm-synthtrace/src/lib/apm/index.ts", @@ -1421,7 +1421,7 @@ "label": "__0", "description": [], "signature": [ - "{ functionName: string; environment: string; agentName: string; serviceName?: string | undefined; }" + "{ functionName: string; environment: string; agentName: string; serviceName?: string | undefined; architecture?: string | undefined; }" ], "path": "packages/kbn-apm-synthtrace/src/lib/apm/serverless_function.ts", "deprecated": false, diff --git a/api_docs/kbn_apm_synthtrace.mdx b/api_docs/kbn_apm_synthtrace.mdx index afddc7954e30b..f2d158d806df7 100644 --- a/api_docs/kbn_apm_synthtrace.mdx +++ b/api_docs/kbn_apm_synthtrace.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-apm-synthtrace title: "@kbn/apm-synthtrace" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/apm-synthtrace plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/apm-synthtrace'] --- import kbnApmSynthtraceObj from './kbn_apm_synthtrace.devdocs.json'; diff --git a/api_docs/kbn_apm_utils.mdx b/api_docs/kbn_apm_utils.mdx index ae6deb1f49b67..f9bda8cd345e1 100644 --- a/api_docs/kbn_apm_utils.mdx +++ b/api_docs/kbn_apm_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-apm-utils title: "@kbn/apm-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/apm-utils plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/apm-utils'] --- import kbnApmUtilsObj from './kbn_apm_utils.devdocs.json'; diff --git a/api_docs/kbn_axe_config.mdx b/api_docs/kbn_axe_config.mdx index b09be2edee670..7eed0bacca678 100644 --- a/api_docs/kbn_axe_config.mdx +++ b/api_docs/kbn_axe_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-axe-config title: "@kbn/axe-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/axe-config plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/axe-config'] --- import kbnAxeConfigObj from './kbn_axe_config.devdocs.json'; diff --git a/api_docs/kbn_cases_components.mdx b/api_docs/kbn_cases_components.mdx index e5a0470ef7582..98f8a8e26d919 100644 --- a/api_docs/kbn_cases_components.mdx +++ b/api_docs/kbn_cases_components.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-cases-components title: "@kbn/cases-components" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/cases-components plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/cases-components'] --- import kbnCasesComponentsObj from './kbn_cases_components.devdocs.json'; diff --git a/api_docs/kbn_chart_icons.mdx b/api_docs/kbn_chart_icons.mdx index 0a5b161ad4424..9e7dad9e5af45 100644 --- a/api_docs/kbn_chart_icons.mdx +++ b/api_docs/kbn_chart_icons.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-chart-icons title: "@kbn/chart-icons" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/chart-icons plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/chart-icons'] --- import kbnChartIconsObj from './kbn_chart_icons.devdocs.json'; diff --git a/api_docs/kbn_ci_stats_core.mdx b/api_docs/kbn_ci_stats_core.mdx index e139ed9c99b31..f9f7fba403a83 100644 --- a/api_docs/kbn_ci_stats_core.mdx +++ b/api_docs/kbn_ci_stats_core.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ci-stats-core title: "@kbn/ci-stats-core" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ci-stats-core plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ci-stats-core'] --- import kbnCiStatsCoreObj from './kbn_ci_stats_core.devdocs.json'; diff --git a/api_docs/kbn_ci_stats_performance_metrics.mdx b/api_docs/kbn_ci_stats_performance_metrics.mdx index 2b9855163732d..78416a96930b5 100644 --- a/api_docs/kbn_ci_stats_performance_metrics.mdx +++ b/api_docs/kbn_ci_stats_performance_metrics.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ci-stats-performance-metrics title: "@kbn/ci-stats-performance-metrics" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ci-stats-performance-metrics plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ci-stats-performance-metrics'] --- import kbnCiStatsPerformanceMetricsObj from './kbn_ci_stats_performance_metrics.devdocs.json'; diff --git a/api_docs/kbn_ci_stats_reporter.mdx b/api_docs/kbn_ci_stats_reporter.mdx index c54baf30f4506..e5069892fa2d2 100644 --- a/api_docs/kbn_ci_stats_reporter.mdx +++ b/api_docs/kbn_ci_stats_reporter.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ci-stats-reporter title: "@kbn/ci-stats-reporter" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ci-stats-reporter plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ci-stats-reporter'] --- import kbnCiStatsReporterObj from './kbn_ci_stats_reporter.devdocs.json'; diff --git a/api_docs/kbn_cli_dev_mode.mdx b/api_docs/kbn_cli_dev_mode.mdx index a50be181142eb..9288a8e83e9f8 100644 --- a/api_docs/kbn_cli_dev_mode.mdx +++ b/api_docs/kbn_cli_dev_mode.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-cli-dev-mode title: "@kbn/cli-dev-mode" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/cli-dev-mode plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/cli-dev-mode'] --- import kbnCliDevModeObj from './kbn_cli_dev_mode.devdocs.json'; diff --git a/api_docs/kbn_coloring.mdx b/api_docs/kbn_coloring.mdx index bdcc09f8b7053..aad5db9fd347a 100644 --- a/api_docs/kbn_coloring.mdx +++ b/api_docs/kbn_coloring.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-coloring title: "@kbn/coloring" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/coloring plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/coloring'] --- import kbnColoringObj from './kbn_coloring.devdocs.json'; diff --git a/api_docs/kbn_config.mdx b/api_docs/kbn_config.mdx index 4bce0f0416f31..c90c6ac5f0ac1 100644 --- a/api_docs/kbn_config.mdx +++ b/api_docs/kbn_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-config title: "@kbn/config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/config plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/config'] --- import kbnConfigObj from './kbn_config.devdocs.json'; diff --git a/api_docs/kbn_config_mocks.mdx b/api_docs/kbn_config_mocks.mdx index 56eee75c44753..24b8a4d6f7d3c 100644 --- a/api_docs/kbn_config_mocks.mdx +++ b/api_docs/kbn_config_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-config-mocks title: "@kbn/config-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/config-mocks plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/config-mocks'] --- import kbnConfigMocksObj from './kbn_config_mocks.devdocs.json'; diff --git a/api_docs/kbn_config_schema.devdocs.json b/api_docs/kbn_config_schema.devdocs.json index fba38fe0d44cc..6f14501525b6d 100644 --- a/api_docs/kbn_config_schema.devdocs.json +++ b/api_docs/kbn_config_schema.devdocs.json @@ -463,9 +463,6 @@ "label": "rightOperand", "description": [], "signature": [ - "A | ", - "Reference", - " | ", { "pluginId": "@kbn/config-schema", "scope": "server", @@ -473,7 +470,9 @@ "section": "def-server.Type", "text": "Type" }, - "" + " | A | ", + "Reference", + "" ], "path": "packages/kbn-config-schema/src/types/conditional_type.ts", "deprecated": false, @@ -1466,9 +1465,7 @@ "ConditionalTypeValue", ", B, C>(leftOperand: ", "Reference", - ", rightOperand: A | ", - "Reference", - " | ", + ", rightOperand: ", { "pluginId": "@kbn/config-schema", "scope": "server", @@ -1476,7 +1473,9 @@ "section": "def-server.Type", "text": "Type" }, - ", equalType: ", + " | A | ", + "Reference", + ", equalType: ", { "pluginId": "@kbn/config-schema", "scope": "server", @@ -2521,9 +2520,7 @@ "ConditionalTypeValue", ", B, C>(leftOperand: ", "Reference", - ", rightOperand: A | ", - "Reference", - " | ", + ", rightOperand: ", { "pluginId": "@kbn/config-schema", "scope": "server", @@ -2531,7 +2528,9 @@ "section": "def-server.Type", "text": "Type" }, - ", equalType: ", + " | A | ", + "Reference", + ", equalType: ", { "pluginId": "@kbn/config-schema", "scope": "server", @@ -2587,9 +2586,6 @@ "label": "rightOperand", "description": [], "signature": [ - "A | ", - "Reference", - " | ", { "pluginId": "@kbn/config-schema", "scope": "server", @@ -2597,7 +2593,9 @@ "section": "def-server.Type", "text": "Type" }, - "" + " | A | ", + "Reference", + "" ], "path": "packages/kbn-config-schema/index.ts", "deprecated": false, diff --git a/api_docs/kbn_config_schema.mdx b/api_docs/kbn_config_schema.mdx index f1e2c75a96bee..c5bfda8a108f1 100644 --- a/api_docs/kbn_config_schema.mdx +++ b/api_docs/kbn_config_schema.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-config-schema title: "@kbn/config-schema" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/config-schema plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/config-schema'] --- import kbnConfigSchemaObj from './kbn_config_schema.devdocs.json'; diff --git a/api_docs/kbn_content_management_table_list.mdx b/api_docs/kbn_content_management_table_list.mdx index ae422092f6112..640644dd25537 100644 --- a/api_docs/kbn_content_management_table_list.mdx +++ b/api_docs/kbn_content_management_table_list.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-content-management-table-list title: "@kbn/content-management-table-list" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/content-management-table-list plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/content-management-table-list'] --- import kbnContentManagementTableListObj from './kbn_content_management_table_list.devdocs.json'; diff --git a/api_docs/kbn_core_analytics_browser.mdx b/api_docs/kbn_core_analytics_browser.mdx index ec862415cecef..93ef2f659d64e 100644 --- a/api_docs/kbn_core_analytics_browser.mdx +++ b/api_docs/kbn_core_analytics_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-browser title: "@kbn/core-analytics-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-analytics-browser plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-analytics-browser'] --- import kbnCoreAnalyticsBrowserObj from './kbn_core_analytics_browser.devdocs.json'; diff --git a/api_docs/kbn_core_analytics_browser_internal.mdx b/api_docs/kbn_core_analytics_browser_internal.mdx index 71b5b81e0f9d4..9710daec90e5f 100644 --- a/api_docs/kbn_core_analytics_browser_internal.mdx +++ b/api_docs/kbn_core_analytics_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-browser-internal title: "@kbn/core-analytics-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-analytics-browser-internal plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-analytics-browser-internal'] --- import kbnCoreAnalyticsBrowserInternalObj from './kbn_core_analytics_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_analytics_browser_mocks.mdx b/api_docs/kbn_core_analytics_browser_mocks.mdx index 6f6061b8f5ec8..2bf493eab65bc 100644 --- a/api_docs/kbn_core_analytics_browser_mocks.mdx +++ b/api_docs/kbn_core_analytics_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-browser-mocks title: "@kbn/core-analytics-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-analytics-browser-mocks plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-analytics-browser-mocks'] --- import kbnCoreAnalyticsBrowserMocksObj from './kbn_core_analytics_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_analytics_server.mdx b/api_docs/kbn_core_analytics_server.mdx index d4574a12b9b87..88ff29aa1895b 100644 --- a/api_docs/kbn_core_analytics_server.mdx +++ b/api_docs/kbn_core_analytics_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-server title: "@kbn/core-analytics-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-analytics-server plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-analytics-server'] --- import kbnCoreAnalyticsServerObj from './kbn_core_analytics_server.devdocs.json'; diff --git a/api_docs/kbn_core_analytics_server_internal.mdx b/api_docs/kbn_core_analytics_server_internal.mdx index 7c25b89678fb8..8f2a8088cf00a 100644 --- a/api_docs/kbn_core_analytics_server_internal.mdx +++ b/api_docs/kbn_core_analytics_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-server-internal title: "@kbn/core-analytics-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-analytics-server-internal plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-analytics-server-internal'] --- import kbnCoreAnalyticsServerInternalObj from './kbn_core_analytics_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_analytics_server_mocks.mdx b/api_docs/kbn_core_analytics_server_mocks.mdx index 36a470d0f8a98..0a3b97751da01 100644 --- a/api_docs/kbn_core_analytics_server_mocks.mdx +++ b/api_docs/kbn_core_analytics_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-server-mocks title: "@kbn/core-analytics-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-analytics-server-mocks plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-analytics-server-mocks'] --- import kbnCoreAnalyticsServerMocksObj from './kbn_core_analytics_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_application_browser.mdx b/api_docs/kbn_core_application_browser.mdx index 291966f86854c..4bdbc3545664e 100644 --- a/api_docs/kbn_core_application_browser.mdx +++ b/api_docs/kbn_core_application_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-application-browser title: "@kbn/core-application-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-application-browser plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-application-browser'] --- import kbnCoreApplicationBrowserObj from './kbn_core_application_browser.devdocs.json'; diff --git a/api_docs/kbn_core_application_browser_internal.mdx b/api_docs/kbn_core_application_browser_internal.mdx index fd45bd7218528..d301fea8b3995 100644 --- a/api_docs/kbn_core_application_browser_internal.mdx +++ b/api_docs/kbn_core_application_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-application-browser-internal title: "@kbn/core-application-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-application-browser-internal plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-application-browser-internal'] --- import kbnCoreApplicationBrowserInternalObj from './kbn_core_application_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_application_browser_mocks.mdx b/api_docs/kbn_core_application_browser_mocks.mdx index cc2f5068ddad0..ee6e76a228098 100644 --- a/api_docs/kbn_core_application_browser_mocks.mdx +++ b/api_docs/kbn_core_application_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-application-browser-mocks title: "@kbn/core-application-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-application-browser-mocks plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-application-browser-mocks'] --- import kbnCoreApplicationBrowserMocksObj from './kbn_core_application_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_application_common.mdx b/api_docs/kbn_core_application_common.mdx index 7957456aedfcd..3a7a01aa3d733 100644 --- a/api_docs/kbn_core_application_common.mdx +++ b/api_docs/kbn_core_application_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-application-common title: "@kbn/core-application-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-application-common plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-application-common'] --- import kbnCoreApplicationCommonObj from './kbn_core_application_common.devdocs.json'; diff --git a/api_docs/kbn_core_apps_browser_internal.mdx b/api_docs/kbn_core_apps_browser_internal.mdx index 42bd1cad00adc..d396b616ce5a0 100644 --- a/api_docs/kbn_core_apps_browser_internal.mdx +++ b/api_docs/kbn_core_apps_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-apps-browser-internal title: "@kbn/core-apps-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-apps-browser-internal plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-apps-browser-internal'] --- import kbnCoreAppsBrowserInternalObj from './kbn_core_apps_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_apps_browser_mocks.mdx b/api_docs/kbn_core_apps_browser_mocks.mdx index e9bb20a318e18..63df5fb47dddb 100644 --- a/api_docs/kbn_core_apps_browser_mocks.mdx +++ b/api_docs/kbn_core_apps_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-apps-browser-mocks title: "@kbn/core-apps-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-apps-browser-mocks plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-apps-browser-mocks'] --- import kbnCoreAppsBrowserMocksObj from './kbn_core_apps_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_base_browser_mocks.mdx b/api_docs/kbn_core_base_browser_mocks.mdx index c82c6fd86bf9e..21865790488c8 100644 --- a/api_docs/kbn_core_base_browser_mocks.mdx +++ b/api_docs/kbn_core_base_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-base-browser-mocks title: "@kbn/core-base-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-base-browser-mocks plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-base-browser-mocks'] --- import kbnCoreBaseBrowserMocksObj from './kbn_core_base_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_base_common.mdx b/api_docs/kbn_core_base_common.mdx index 78ba7ed4f33e3..3f26cee3ef0b9 100644 --- a/api_docs/kbn_core_base_common.mdx +++ b/api_docs/kbn_core_base_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-base-common title: "@kbn/core-base-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-base-common plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-base-common'] --- import kbnCoreBaseCommonObj from './kbn_core_base_common.devdocs.json'; diff --git a/api_docs/kbn_core_base_server_internal.mdx b/api_docs/kbn_core_base_server_internal.mdx index c743626f13c86..6062db7ca4925 100644 --- a/api_docs/kbn_core_base_server_internal.mdx +++ b/api_docs/kbn_core_base_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-base-server-internal title: "@kbn/core-base-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-base-server-internal plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-base-server-internal'] --- import kbnCoreBaseServerInternalObj from './kbn_core_base_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_base_server_mocks.mdx b/api_docs/kbn_core_base_server_mocks.mdx index bc5d3e79f3747..41ac3508ac4e0 100644 --- a/api_docs/kbn_core_base_server_mocks.mdx +++ b/api_docs/kbn_core_base_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-base-server-mocks title: "@kbn/core-base-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-base-server-mocks plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-base-server-mocks'] --- import kbnCoreBaseServerMocksObj from './kbn_core_base_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_capabilities_browser_mocks.mdx b/api_docs/kbn_core_capabilities_browser_mocks.mdx index f6bc04072b0ef..bd0456b73661f 100644 --- a/api_docs/kbn_core_capabilities_browser_mocks.mdx +++ b/api_docs/kbn_core_capabilities_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-capabilities-browser-mocks title: "@kbn/core-capabilities-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-capabilities-browser-mocks plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-capabilities-browser-mocks'] --- import kbnCoreCapabilitiesBrowserMocksObj from './kbn_core_capabilities_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_capabilities_common.mdx b/api_docs/kbn_core_capabilities_common.mdx index cb301811a9b0b..70e1e52d9da54 100644 --- a/api_docs/kbn_core_capabilities_common.mdx +++ b/api_docs/kbn_core_capabilities_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-capabilities-common title: "@kbn/core-capabilities-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-capabilities-common plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-capabilities-common'] --- import kbnCoreCapabilitiesCommonObj from './kbn_core_capabilities_common.devdocs.json'; diff --git a/api_docs/kbn_core_capabilities_server.mdx b/api_docs/kbn_core_capabilities_server.mdx index 5272d57b6307a..65bb710cdd2f6 100644 --- a/api_docs/kbn_core_capabilities_server.mdx +++ b/api_docs/kbn_core_capabilities_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-capabilities-server title: "@kbn/core-capabilities-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-capabilities-server plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-capabilities-server'] --- import kbnCoreCapabilitiesServerObj from './kbn_core_capabilities_server.devdocs.json'; diff --git a/api_docs/kbn_core_capabilities_server_mocks.mdx b/api_docs/kbn_core_capabilities_server_mocks.mdx index c1590c3486bf7..8ea8de936d8bd 100644 --- a/api_docs/kbn_core_capabilities_server_mocks.mdx +++ b/api_docs/kbn_core_capabilities_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-capabilities-server-mocks title: "@kbn/core-capabilities-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-capabilities-server-mocks plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-capabilities-server-mocks'] --- import kbnCoreCapabilitiesServerMocksObj from './kbn_core_capabilities_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_chrome_browser.mdx b/api_docs/kbn_core_chrome_browser.mdx index cd424cab8ea83..1bbf3102194d4 100644 --- a/api_docs/kbn_core_chrome_browser.mdx +++ b/api_docs/kbn_core_chrome_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-chrome-browser title: "@kbn/core-chrome-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-chrome-browser plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-chrome-browser'] --- import kbnCoreChromeBrowserObj from './kbn_core_chrome_browser.devdocs.json'; diff --git a/api_docs/kbn_core_chrome_browser_mocks.mdx b/api_docs/kbn_core_chrome_browser_mocks.mdx index 63ccbd8c5e749..63638e0892063 100644 --- a/api_docs/kbn_core_chrome_browser_mocks.mdx +++ b/api_docs/kbn_core_chrome_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-chrome-browser-mocks title: "@kbn/core-chrome-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-chrome-browser-mocks plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-chrome-browser-mocks'] --- import kbnCoreChromeBrowserMocksObj from './kbn_core_chrome_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_config_server_internal.mdx b/api_docs/kbn_core_config_server_internal.mdx index 8df48552bac43..74f2799d9a5e8 100644 --- a/api_docs/kbn_core_config_server_internal.mdx +++ b/api_docs/kbn_core_config_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-config-server-internal title: "@kbn/core-config-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-config-server-internal plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-config-server-internal'] --- import kbnCoreConfigServerInternalObj from './kbn_core_config_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_deprecations_browser.mdx b/api_docs/kbn_core_deprecations_browser.mdx index 8b78100d0303f..dd3821da42055 100644 --- a/api_docs/kbn_core_deprecations_browser.mdx +++ b/api_docs/kbn_core_deprecations_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-browser title: "@kbn/core-deprecations-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-browser plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-deprecations-browser'] --- import kbnCoreDeprecationsBrowserObj from './kbn_core_deprecations_browser.devdocs.json'; diff --git a/api_docs/kbn_core_deprecations_browser_internal.mdx b/api_docs/kbn_core_deprecations_browser_internal.mdx index 6e0bb12b1a5ec..41338f8efb4e8 100644 --- a/api_docs/kbn_core_deprecations_browser_internal.mdx +++ b/api_docs/kbn_core_deprecations_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-browser-internal title: "@kbn/core-deprecations-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-browser-internal plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-deprecations-browser-internal'] --- import kbnCoreDeprecationsBrowserInternalObj from './kbn_core_deprecations_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_deprecations_browser_mocks.mdx b/api_docs/kbn_core_deprecations_browser_mocks.mdx index 080737870b48a..5b620ac4cd430 100644 --- a/api_docs/kbn_core_deprecations_browser_mocks.mdx +++ b/api_docs/kbn_core_deprecations_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-browser-mocks title: "@kbn/core-deprecations-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-browser-mocks plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-deprecations-browser-mocks'] --- import kbnCoreDeprecationsBrowserMocksObj from './kbn_core_deprecations_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_deprecations_common.mdx b/api_docs/kbn_core_deprecations_common.mdx index 0e645904c4e16..b84a28ba947c3 100644 --- a/api_docs/kbn_core_deprecations_common.mdx +++ b/api_docs/kbn_core_deprecations_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-common title: "@kbn/core-deprecations-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-common plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-deprecations-common'] --- import kbnCoreDeprecationsCommonObj from './kbn_core_deprecations_common.devdocs.json'; diff --git a/api_docs/kbn_core_deprecations_server.mdx b/api_docs/kbn_core_deprecations_server.mdx index 3830075439805..199040ad6d5a6 100644 --- a/api_docs/kbn_core_deprecations_server.mdx +++ b/api_docs/kbn_core_deprecations_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-server title: "@kbn/core-deprecations-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-server plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-deprecations-server'] --- import kbnCoreDeprecationsServerObj from './kbn_core_deprecations_server.devdocs.json'; diff --git a/api_docs/kbn_core_deprecations_server_internal.mdx b/api_docs/kbn_core_deprecations_server_internal.mdx index 628dd25c7f3d8..5d23f084abb34 100644 --- a/api_docs/kbn_core_deprecations_server_internal.mdx +++ b/api_docs/kbn_core_deprecations_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-server-internal title: "@kbn/core-deprecations-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-server-internal plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-deprecations-server-internal'] --- import kbnCoreDeprecationsServerInternalObj from './kbn_core_deprecations_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_deprecations_server_mocks.mdx b/api_docs/kbn_core_deprecations_server_mocks.mdx index cec24f8afb81d..1d0c938d51724 100644 --- a/api_docs/kbn_core_deprecations_server_mocks.mdx +++ b/api_docs/kbn_core_deprecations_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-server-mocks title: "@kbn/core-deprecations-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-server-mocks plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-deprecations-server-mocks'] --- import kbnCoreDeprecationsServerMocksObj from './kbn_core_deprecations_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_doc_links_browser.mdx b/api_docs/kbn_core_doc_links_browser.mdx index 301817f389f33..76bfb31e4ae26 100644 --- a/api_docs/kbn_core_doc_links_browser.mdx +++ b/api_docs/kbn_core_doc_links_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-doc-links-browser title: "@kbn/core-doc-links-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-doc-links-browser plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-doc-links-browser'] --- import kbnCoreDocLinksBrowserObj from './kbn_core_doc_links_browser.devdocs.json'; diff --git a/api_docs/kbn_core_doc_links_browser_mocks.mdx b/api_docs/kbn_core_doc_links_browser_mocks.mdx index 8d97cbcf1c2cd..a6e0e3bcd018a 100644 --- a/api_docs/kbn_core_doc_links_browser_mocks.mdx +++ b/api_docs/kbn_core_doc_links_browser_mocks.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-doc-links-browser-mocks plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-doc-links-browser-mocks'] --- import kbnCoreDocLinksBrowserMocksObj from './kbn_core_doc_links_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_doc_links_server.mdx b/api_docs/kbn_core_doc_links_server.mdx index b0d261f46fd9e..303a88b0c5913 100644 --- a/api_docs/kbn_core_doc_links_server.mdx +++ b/api_docs/kbn_core_doc_links_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-doc-links-server title: "@kbn/core-doc-links-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-doc-links-server plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-doc-links-server'] --- import kbnCoreDocLinksServerObj from './kbn_core_doc_links_server.devdocs.json'; diff --git a/api_docs/kbn_core_doc_links_server_mocks.mdx b/api_docs/kbn_core_doc_links_server_mocks.mdx index d9a615b6c4942..2a52e92957841 100644 --- a/api_docs/kbn_core_doc_links_server_mocks.mdx +++ b/api_docs/kbn_core_doc_links_server_mocks.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-doc-links-server-mocks plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-doc-links-server-mocks'] --- import kbnCoreDocLinksServerMocksObj from './kbn_core_doc_links_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_elasticsearch_client_server_internal.mdx b/api_docs/kbn_core_elasticsearch_client_server_internal.mdx index ed0db4e5b6730..3b66f6c09efc5 100644 --- a/api_docs/kbn_core_elasticsearch_client_server_internal.mdx +++ b/api_docs/kbn_core_elasticsearch_client_server_internal.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-elasticsearch-client-server-internal plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-elasticsearch-client-server-internal'] --- import kbnCoreElasticsearchClientServerInternalObj from './kbn_core_elasticsearch_client_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_elasticsearch_client_server_mocks.mdx b/api_docs/kbn_core_elasticsearch_client_server_mocks.mdx index fa3e8d51eade3..10120fdbabde8 100644 --- a/api_docs/kbn_core_elasticsearch_client_server_mocks.mdx +++ b/api_docs/kbn_core_elasticsearch_client_server_mocks.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-elasticsearch-client-server-mocks plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-elasticsearch-client-server-mocks'] --- import kbnCoreElasticsearchClientServerMocksObj from './kbn_core_elasticsearch_client_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_elasticsearch_server.mdx b/api_docs/kbn_core_elasticsearch_server.mdx index ecab13942a3d5..d1070c300c6ff 100644 --- a/api_docs/kbn_core_elasticsearch_server.mdx +++ b/api_docs/kbn_core_elasticsearch_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-elasticsearch-server title: "@kbn/core-elasticsearch-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-elasticsearch-server plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-elasticsearch-server'] --- import kbnCoreElasticsearchServerObj from './kbn_core_elasticsearch_server.devdocs.json'; diff --git a/api_docs/kbn_core_elasticsearch_server_internal.mdx b/api_docs/kbn_core_elasticsearch_server_internal.mdx index edac91c50c504..279be99a4cd00 100644 --- a/api_docs/kbn_core_elasticsearch_server_internal.mdx +++ b/api_docs/kbn_core_elasticsearch_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-elasticsearch-server-internal title: "@kbn/core-elasticsearch-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-elasticsearch-server-internal plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-elasticsearch-server-internal'] --- import kbnCoreElasticsearchServerInternalObj from './kbn_core_elasticsearch_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_elasticsearch_server_mocks.mdx b/api_docs/kbn_core_elasticsearch_server_mocks.mdx index e140e3d6c7a26..1b7ba38c4bc4e 100644 --- a/api_docs/kbn_core_elasticsearch_server_mocks.mdx +++ b/api_docs/kbn_core_elasticsearch_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-elasticsearch-server-mocks title: "@kbn/core-elasticsearch-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-elasticsearch-server-mocks plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-elasticsearch-server-mocks'] --- import kbnCoreElasticsearchServerMocksObj from './kbn_core_elasticsearch_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_environment_server_internal.mdx b/api_docs/kbn_core_environment_server_internal.mdx index 052635bd30647..e1cb1def104bb 100644 --- a/api_docs/kbn_core_environment_server_internal.mdx +++ b/api_docs/kbn_core_environment_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-environment-server-internal title: "@kbn/core-environment-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-environment-server-internal plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-environment-server-internal'] --- import kbnCoreEnvironmentServerInternalObj from './kbn_core_environment_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_environment_server_mocks.mdx b/api_docs/kbn_core_environment_server_mocks.mdx index b6f2597e09966..989fbedb5b96c 100644 --- a/api_docs/kbn_core_environment_server_mocks.mdx +++ b/api_docs/kbn_core_environment_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-environment-server-mocks title: "@kbn/core-environment-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-environment-server-mocks plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-environment-server-mocks'] --- import kbnCoreEnvironmentServerMocksObj from './kbn_core_environment_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_execution_context_browser.mdx b/api_docs/kbn_core_execution_context_browser.mdx index 519f8fb45f2ec..de06605342fdf 100644 --- a/api_docs/kbn_core_execution_context_browser.mdx +++ b/api_docs/kbn_core_execution_context_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-browser title: "@kbn/core-execution-context-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-execution-context-browser plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-browser'] --- import kbnCoreExecutionContextBrowserObj from './kbn_core_execution_context_browser.devdocs.json'; diff --git a/api_docs/kbn_core_execution_context_browser_internal.mdx b/api_docs/kbn_core_execution_context_browser_internal.mdx index 70c558f5cdef6..2ccb36ae62dd9 100644 --- a/api_docs/kbn_core_execution_context_browser_internal.mdx +++ b/api_docs/kbn_core_execution_context_browser_internal.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-execution-context-browser-internal plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-browser-internal'] --- import kbnCoreExecutionContextBrowserInternalObj from './kbn_core_execution_context_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_execution_context_browser_mocks.mdx b/api_docs/kbn_core_execution_context_browser_mocks.mdx index 026e69d9c5e92..15b2e254f0461 100644 --- a/api_docs/kbn_core_execution_context_browser_mocks.mdx +++ b/api_docs/kbn_core_execution_context_browser_mocks.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-execution-context-browser-mocks plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-browser-mocks'] --- import kbnCoreExecutionContextBrowserMocksObj from './kbn_core_execution_context_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_execution_context_common.mdx b/api_docs/kbn_core_execution_context_common.mdx index 798e68b95a5b2..17d3f25ce2b6b 100644 --- a/api_docs/kbn_core_execution_context_common.mdx +++ b/api_docs/kbn_core_execution_context_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-common title: "@kbn/core-execution-context-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-execution-context-common plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-common'] --- import kbnCoreExecutionContextCommonObj from './kbn_core_execution_context_common.devdocs.json'; diff --git a/api_docs/kbn_core_execution_context_server.mdx b/api_docs/kbn_core_execution_context_server.mdx index fcfebaa93f548..0c4078c101557 100644 --- a/api_docs/kbn_core_execution_context_server.mdx +++ b/api_docs/kbn_core_execution_context_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-server title: "@kbn/core-execution-context-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-execution-context-server plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-server'] --- import kbnCoreExecutionContextServerObj from './kbn_core_execution_context_server.devdocs.json'; diff --git a/api_docs/kbn_core_execution_context_server_internal.mdx b/api_docs/kbn_core_execution_context_server_internal.mdx index 2095dbf49bd16..f14704772868f 100644 --- a/api_docs/kbn_core_execution_context_server_internal.mdx +++ b/api_docs/kbn_core_execution_context_server_internal.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-execution-context-server-internal plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-server-internal'] --- import kbnCoreExecutionContextServerInternalObj from './kbn_core_execution_context_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_execution_context_server_mocks.mdx b/api_docs/kbn_core_execution_context_server_mocks.mdx index 40ff3c8277b5a..7e368e7d2ecd0 100644 --- a/api_docs/kbn_core_execution_context_server_mocks.mdx +++ b/api_docs/kbn_core_execution_context_server_mocks.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-execution-context-server-mocks plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-server-mocks'] --- import kbnCoreExecutionContextServerMocksObj from './kbn_core_execution_context_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_fatal_errors_browser.mdx b/api_docs/kbn_core_fatal_errors_browser.mdx index 0696ab01328a1..dca1ed6dc358c 100644 --- a/api_docs/kbn_core_fatal_errors_browser.mdx +++ b/api_docs/kbn_core_fatal_errors_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-fatal-errors-browser title: "@kbn/core-fatal-errors-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-fatal-errors-browser plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-fatal-errors-browser'] --- import kbnCoreFatalErrorsBrowserObj from './kbn_core_fatal_errors_browser.devdocs.json'; diff --git a/api_docs/kbn_core_fatal_errors_browser_mocks.mdx b/api_docs/kbn_core_fatal_errors_browser_mocks.mdx index 423f0bfae35a8..2628319ec2976 100644 --- a/api_docs/kbn_core_fatal_errors_browser_mocks.mdx +++ b/api_docs/kbn_core_fatal_errors_browser_mocks.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-fatal-errors-browser-mocks plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-fatal-errors-browser-mocks'] --- import kbnCoreFatalErrorsBrowserMocksObj from './kbn_core_fatal_errors_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_http_browser.mdx b/api_docs/kbn_core_http_browser.mdx index 43f84f4490031..fb47a32dd758d 100644 --- a/api_docs/kbn_core_http_browser.mdx +++ b/api_docs/kbn_core_http_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-browser title: "@kbn/core-http-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-browser plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-browser'] --- import kbnCoreHttpBrowserObj from './kbn_core_http_browser.devdocs.json'; diff --git a/api_docs/kbn_core_http_browser_internal.mdx b/api_docs/kbn_core_http_browser_internal.mdx index 02137896f1bf9..d368390b9ce6e 100644 --- a/api_docs/kbn_core_http_browser_internal.mdx +++ b/api_docs/kbn_core_http_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-browser-internal title: "@kbn/core-http-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-browser-internal plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-browser-internal'] --- import kbnCoreHttpBrowserInternalObj from './kbn_core_http_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_http_browser_mocks.mdx b/api_docs/kbn_core_http_browser_mocks.mdx index fd8c23ebb90a7..00b94f830d04e 100644 --- a/api_docs/kbn_core_http_browser_mocks.mdx +++ b/api_docs/kbn_core_http_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-browser-mocks title: "@kbn/core-http-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-browser-mocks plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-browser-mocks'] --- import kbnCoreHttpBrowserMocksObj from './kbn_core_http_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_http_common.mdx b/api_docs/kbn_core_http_common.mdx index df1a8b53c5610..dd6f30a295b9d 100644 --- a/api_docs/kbn_core_http_common.mdx +++ b/api_docs/kbn_core_http_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-common title: "@kbn/core-http-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-common plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-common'] --- import kbnCoreHttpCommonObj from './kbn_core_http_common.devdocs.json'; diff --git a/api_docs/kbn_core_http_context_server_mocks.mdx b/api_docs/kbn_core_http_context_server_mocks.mdx index 02cd4f0492d30..e48df4f6f93e0 100644 --- a/api_docs/kbn_core_http_context_server_mocks.mdx +++ b/api_docs/kbn_core_http_context_server_mocks.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-http-context-server-mocks plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-context-server-mocks'] --- import kbnCoreHttpContextServerMocksObj from './kbn_core_http_context_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_http_request_handler_context_server.mdx b/api_docs/kbn_core_http_request_handler_context_server.mdx index 798b9ec1d244e..c685ae7c4cfae 100644 --- a/api_docs/kbn_core_http_request_handler_context_server.mdx +++ b/api_docs/kbn_core_http_request_handler_context_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-request-handler-context-server title: "@kbn/core-http-request-handler-context-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-request-handler-context-server plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-request-handler-context-server'] --- import kbnCoreHttpRequestHandlerContextServerObj from './kbn_core_http_request_handler_context_server.devdocs.json'; diff --git a/api_docs/kbn_core_http_resources_server.mdx b/api_docs/kbn_core_http_resources_server.mdx index 5c3424e8f3c8e..cfdaf1e19dffa 100644 --- a/api_docs/kbn_core_http_resources_server.mdx +++ b/api_docs/kbn_core_http_resources_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-resources-server title: "@kbn/core-http-resources-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-resources-server plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-resources-server'] --- import kbnCoreHttpResourcesServerObj from './kbn_core_http_resources_server.devdocs.json'; diff --git a/api_docs/kbn_core_http_resources_server_internal.mdx b/api_docs/kbn_core_http_resources_server_internal.mdx index 7d6246cd6529f..d9b4b97074378 100644 --- a/api_docs/kbn_core_http_resources_server_internal.mdx +++ b/api_docs/kbn_core_http_resources_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-resources-server-internal title: "@kbn/core-http-resources-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-resources-server-internal plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-resources-server-internal'] --- import kbnCoreHttpResourcesServerInternalObj from './kbn_core_http_resources_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_http_resources_server_mocks.mdx b/api_docs/kbn_core_http_resources_server_mocks.mdx index 3641fcaac0082..4893ebddee666 100644 --- a/api_docs/kbn_core_http_resources_server_mocks.mdx +++ b/api_docs/kbn_core_http_resources_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-resources-server-mocks title: "@kbn/core-http-resources-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-resources-server-mocks plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-resources-server-mocks'] --- import kbnCoreHttpResourcesServerMocksObj from './kbn_core_http_resources_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_http_router_server_internal.mdx b/api_docs/kbn_core_http_router_server_internal.mdx index f7a72dceadd57..4756727ff8943 100644 --- a/api_docs/kbn_core_http_router_server_internal.mdx +++ b/api_docs/kbn_core_http_router_server_internal.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-http-router-server-internal plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-router-server-internal'] --- import kbnCoreHttpRouterServerInternalObj from './kbn_core_http_router_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_http_router_server_mocks.mdx b/api_docs/kbn_core_http_router_server_mocks.mdx index 4a7d4169c6b95..cdd177ceb0a52 100644 --- a/api_docs/kbn_core_http_router_server_mocks.mdx +++ b/api_docs/kbn_core_http_router_server_mocks.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-http-router-server-mocks plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-router-server-mocks'] --- import kbnCoreHttpRouterServerMocksObj from './kbn_core_http_router_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_http_server.mdx b/api_docs/kbn_core_http_server.mdx index 892f9fa003742..e96d6cf9adbe8 100644 --- a/api_docs/kbn_core_http_server.mdx +++ b/api_docs/kbn_core_http_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-server title: "@kbn/core-http-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-server plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-server'] --- import kbnCoreHttpServerObj from './kbn_core_http_server.devdocs.json'; diff --git a/api_docs/kbn_core_http_server_internal.mdx b/api_docs/kbn_core_http_server_internal.mdx index eea1b267b7660..6c904369552a5 100644 --- a/api_docs/kbn_core_http_server_internal.mdx +++ b/api_docs/kbn_core_http_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-server-internal title: "@kbn/core-http-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-server-internal plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-server-internal'] --- import kbnCoreHttpServerInternalObj from './kbn_core_http_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_http_server_mocks.mdx b/api_docs/kbn_core_http_server_mocks.mdx index 00794d9d93bf1..bc1aad5a78874 100644 --- a/api_docs/kbn_core_http_server_mocks.mdx +++ b/api_docs/kbn_core_http_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-server-mocks title: "@kbn/core-http-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-server-mocks plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-server-mocks'] --- import kbnCoreHttpServerMocksObj from './kbn_core_http_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_i18n_browser.mdx b/api_docs/kbn_core_i18n_browser.mdx index 475a6a53e90c4..dea993e2070b9 100644 --- a/api_docs/kbn_core_i18n_browser.mdx +++ b/api_docs/kbn_core_i18n_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-i18n-browser title: "@kbn/core-i18n-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-i18n-browser plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-i18n-browser'] --- import kbnCoreI18nBrowserObj from './kbn_core_i18n_browser.devdocs.json'; diff --git a/api_docs/kbn_core_i18n_browser_mocks.mdx b/api_docs/kbn_core_i18n_browser_mocks.mdx index ec65ddb482a4d..fd660520c7184 100644 --- a/api_docs/kbn_core_i18n_browser_mocks.mdx +++ b/api_docs/kbn_core_i18n_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-i18n-browser-mocks title: "@kbn/core-i18n-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-i18n-browser-mocks plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-i18n-browser-mocks'] --- import kbnCoreI18nBrowserMocksObj from './kbn_core_i18n_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_i18n_server.mdx b/api_docs/kbn_core_i18n_server.mdx index db293785c71c7..95a321317d365 100644 --- a/api_docs/kbn_core_i18n_server.mdx +++ b/api_docs/kbn_core_i18n_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-i18n-server title: "@kbn/core-i18n-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-i18n-server plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-i18n-server'] --- import kbnCoreI18nServerObj from './kbn_core_i18n_server.devdocs.json'; diff --git a/api_docs/kbn_core_i18n_server_internal.mdx b/api_docs/kbn_core_i18n_server_internal.mdx index b93b02cee5644..3fb2794d41129 100644 --- a/api_docs/kbn_core_i18n_server_internal.mdx +++ b/api_docs/kbn_core_i18n_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-i18n-server-internal title: "@kbn/core-i18n-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-i18n-server-internal plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-i18n-server-internal'] --- import kbnCoreI18nServerInternalObj from './kbn_core_i18n_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_i18n_server_mocks.mdx b/api_docs/kbn_core_i18n_server_mocks.mdx index b1a8273113332..c346597846c2b 100644 --- a/api_docs/kbn_core_i18n_server_mocks.mdx +++ b/api_docs/kbn_core_i18n_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-i18n-server-mocks title: "@kbn/core-i18n-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-i18n-server-mocks plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-i18n-server-mocks'] --- import kbnCoreI18nServerMocksObj from './kbn_core_i18n_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_injected_metadata_browser.mdx b/api_docs/kbn_core_injected_metadata_browser.mdx index 6f3d26a4344d0..2cc4d782a3ba4 100644 --- a/api_docs/kbn_core_injected_metadata_browser.mdx +++ b/api_docs/kbn_core_injected_metadata_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-injected-metadata-browser title: "@kbn/core-injected-metadata-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-injected-metadata-browser plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-injected-metadata-browser'] --- import kbnCoreInjectedMetadataBrowserObj from './kbn_core_injected_metadata_browser.devdocs.json'; diff --git a/api_docs/kbn_core_injected_metadata_browser_mocks.mdx b/api_docs/kbn_core_injected_metadata_browser_mocks.mdx index 357e5b3969a08..882f9db70828c 100644 --- a/api_docs/kbn_core_injected_metadata_browser_mocks.mdx +++ b/api_docs/kbn_core_injected_metadata_browser_mocks.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-injected-metadata-browser-mocks plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-injected-metadata-browser-mocks'] --- import kbnCoreInjectedMetadataBrowserMocksObj from './kbn_core_injected_metadata_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_integrations_browser_internal.mdx b/api_docs/kbn_core_integrations_browser_internal.mdx index 2677c4fdf61bd..510755ca28d25 100644 --- a/api_docs/kbn_core_integrations_browser_internal.mdx +++ b/api_docs/kbn_core_integrations_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-integrations-browser-internal title: "@kbn/core-integrations-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-integrations-browser-internal plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-integrations-browser-internal'] --- import kbnCoreIntegrationsBrowserInternalObj from './kbn_core_integrations_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_integrations_browser_mocks.mdx b/api_docs/kbn_core_integrations_browser_mocks.mdx index b0783728f0d8a..986fcdf473883 100644 --- a/api_docs/kbn_core_integrations_browser_mocks.mdx +++ b/api_docs/kbn_core_integrations_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-integrations-browser-mocks title: "@kbn/core-integrations-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-integrations-browser-mocks plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-integrations-browser-mocks'] --- import kbnCoreIntegrationsBrowserMocksObj from './kbn_core_integrations_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_lifecycle_browser.mdx b/api_docs/kbn_core_lifecycle_browser.mdx index ca8a21fa5d2fe..95a8b7713abe0 100644 --- a/api_docs/kbn_core_lifecycle_browser.mdx +++ b/api_docs/kbn_core_lifecycle_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-lifecycle-browser title: "@kbn/core-lifecycle-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-lifecycle-browser plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-lifecycle-browser'] --- import kbnCoreLifecycleBrowserObj from './kbn_core_lifecycle_browser.devdocs.json'; diff --git a/api_docs/kbn_core_lifecycle_browser_mocks.mdx b/api_docs/kbn_core_lifecycle_browser_mocks.mdx index e6a4557d94a00..bf829fe0c330c 100644 --- a/api_docs/kbn_core_lifecycle_browser_mocks.mdx +++ b/api_docs/kbn_core_lifecycle_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-lifecycle-browser-mocks title: "@kbn/core-lifecycle-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-lifecycle-browser-mocks plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-lifecycle-browser-mocks'] --- import kbnCoreLifecycleBrowserMocksObj from './kbn_core_lifecycle_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_lifecycle_server.mdx b/api_docs/kbn_core_lifecycle_server.mdx index 957a5d4d55948..65a7d411ac120 100644 --- a/api_docs/kbn_core_lifecycle_server.mdx +++ b/api_docs/kbn_core_lifecycle_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-lifecycle-server title: "@kbn/core-lifecycle-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-lifecycle-server plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-lifecycle-server'] --- import kbnCoreLifecycleServerObj from './kbn_core_lifecycle_server.devdocs.json'; diff --git a/api_docs/kbn_core_lifecycle_server_mocks.mdx b/api_docs/kbn_core_lifecycle_server_mocks.mdx index 7e5036446c150..80cf8f97ea3a7 100644 --- a/api_docs/kbn_core_lifecycle_server_mocks.mdx +++ b/api_docs/kbn_core_lifecycle_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-lifecycle-server-mocks title: "@kbn/core-lifecycle-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-lifecycle-server-mocks plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-lifecycle-server-mocks'] --- import kbnCoreLifecycleServerMocksObj from './kbn_core_lifecycle_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_logging_server.mdx b/api_docs/kbn_core_logging_server.mdx index 375cf172ff979..fccbf0e6858d4 100644 --- a/api_docs/kbn_core_logging_server.mdx +++ b/api_docs/kbn_core_logging_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-logging-server title: "@kbn/core-logging-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-logging-server plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-logging-server'] --- import kbnCoreLoggingServerObj from './kbn_core_logging_server.devdocs.json'; diff --git a/api_docs/kbn_core_logging_server_internal.devdocs.json b/api_docs/kbn_core_logging_server_internal.devdocs.json index ec9dae6cfd6bb..b5bebc50d5c9d 100644 --- a/api_docs/kbn_core_logging_server_internal.devdocs.json +++ b/api_docs/kbn_core_logging_server_internal.devdocs.json @@ -127,7 +127,7 @@ "section": "def-server.Type", "text": "Type" }, - " | Readonly<{ highlight?: boolean | undefined; pattern?: string | undefined; } & { type: \"pattern\"; }>; }> | Readonly<{} & { type: \"file\"; layout: Readonly<{} & { type: \"json\"; }> | Readonly<{ highlight?: boolean | undefined; pattern?: string | undefined; } & { type: \"pattern\"; }>; fileName: string; }> | Readonly<{} & { type: \"rewrite\"; policy: Readonly<{} & { type: \"meta\"; mode: \"update\" | \"remove\"; properties: Readonly<{ value?: string | number | boolean | null | undefined; } & { path: string; }>[]; }>; appenders: string[]; }> | Readonly<{} & { type: \"rolling-file\"; strategy: ", + " | Readonly<{ highlight?: boolean | undefined; pattern?: string | undefined; } & { type: \"pattern\"; }>; }> | Readonly<{} & { type: \"file\"; fileName: string; layout: Readonly<{} & { type: \"json\"; }> | Readonly<{ highlight?: boolean | undefined; pattern?: string | undefined; } & { type: \"pattern\"; }>; }> | Readonly<{} & { type: \"rewrite\"; policy: Readonly<{} & { type: \"meta\"; mode: \"update\" | \"remove\"; properties: Readonly<{ value?: string | number | boolean | null | undefined; } & { path: string; }>[]; }>; appenders: string[]; }> | Readonly<{} & { type: \"rolling-file\"; strategy: ", { "pluginId": "@kbn/core-logging-server", "scope": "server", @@ -135,7 +135,7 @@ "section": "def-server.NumericRollingStrategyConfig", "text": "NumericRollingStrategyConfig" }, - "; layout: Readonly<{} & { type: \"json\"; }> | Readonly<{ highlight?: boolean | undefined; pattern?: string | undefined; } & { type: \"pattern\"; }>; fileName: string; policy: Readonly<{} & { type: \"size-limit\"; size: ", + "; fileName: string; layout: Readonly<{} & { type: \"json\"; }> | Readonly<{ highlight?: boolean | undefined; pattern?: string | undefined; } & { type: \"pattern\"; }>; policy: Readonly<{} & { type: \"size-limit\"; size: ", { "pluginId": "@kbn/config-schema", "scope": "server", diff --git a/api_docs/kbn_core_logging_server_internal.mdx b/api_docs/kbn_core_logging_server_internal.mdx index 4485a119a411d..31758eb06d612 100644 --- a/api_docs/kbn_core_logging_server_internal.mdx +++ b/api_docs/kbn_core_logging_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-logging-server-internal title: "@kbn/core-logging-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-logging-server-internal plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-logging-server-internal'] --- import kbnCoreLoggingServerInternalObj from './kbn_core_logging_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_logging_server_mocks.mdx b/api_docs/kbn_core_logging_server_mocks.mdx index 5d068030dac14..935f65eb65999 100644 --- a/api_docs/kbn_core_logging_server_mocks.mdx +++ b/api_docs/kbn_core_logging_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-logging-server-mocks title: "@kbn/core-logging-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-logging-server-mocks plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-logging-server-mocks'] --- import kbnCoreLoggingServerMocksObj from './kbn_core_logging_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_metrics_collectors_server_internal.mdx b/api_docs/kbn_core_metrics_collectors_server_internal.mdx index accaec79c3a25..4e9d8a27288a4 100644 --- a/api_docs/kbn_core_metrics_collectors_server_internal.mdx +++ b/api_docs/kbn_core_metrics_collectors_server_internal.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-metrics-collectors-server-internal plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-metrics-collectors-server-internal'] --- import kbnCoreMetricsCollectorsServerInternalObj from './kbn_core_metrics_collectors_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_metrics_collectors_server_mocks.mdx b/api_docs/kbn_core_metrics_collectors_server_mocks.mdx index a8dc80d9c911d..7719f3f93c0ee 100644 --- a/api_docs/kbn_core_metrics_collectors_server_mocks.mdx +++ b/api_docs/kbn_core_metrics_collectors_server_mocks.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-metrics-collectors-server-mocks plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-metrics-collectors-server-mocks'] --- import kbnCoreMetricsCollectorsServerMocksObj from './kbn_core_metrics_collectors_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_metrics_server.mdx b/api_docs/kbn_core_metrics_server.mdx index c07de4acd5c9a..6267d8d22bda2 100644 --- a/api_docs/kbn_core_metrics_server.mdx +++ b/api_docs/kbn_core_metrics_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-metrics-server title: "@kbn/core-metrics-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-metrics-server plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-metrics-server'] --- import kbnCoreMetricsServerObj from './kbn_core_metrics_server.devdocs.json'; diff --git a/api_docs/kbn_core_metrics_server_internal.mdx b/api_docs/kbn_core_metrics_server_internal.mdx index d86f712dbc649..b40ce45355049 100644 --- a/api_docs/kbn_core_metrics_server_internal.mdx +++ b/api_docs/kbn_core_metrics_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-metrics-server-internal title: "@kbn/core-metrics-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-metrics-server-internal plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-metrics-server-internal'] --- import kbnCoreMetricsServerInternalObj from './kbn_core_metrics_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_metrics_server_mocks.mdx b/api_docs/kbn_core_metrics_server_mocks.mdx index c40c644701134..6424640974ffa 100644 --- a/api_docs/kbn_core_metrics_server_mocks.mdx +++ b/api_docs/kbn_core_metrics_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-metrics-server-mocks title: "@kbn/core-metrics-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-metrics-server-mocks plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-metrics-server-mocks'] --- import kbnCoreMetricsServerMocksObj from './kbn_core_metrics_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_mount_utils_browser.mdx b/api_docs/kbn_core_mount_utils_browser.mdx index 2781ea30cb43d..8b22fc91b704c 100644 --- a/api_docs/kbn_core_mount_utils_browser.mdx +++ b/api_docs/kbn_core_mount_utils_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-mount-utils-browser title: "@kbn/core-mount-utils-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-mount-utils-browser plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-mount-utils-browser'] --- import kbnCoreMountUtilsBrowserObj from './kbn_core_mount_utils_browser.devdocs.json'; diff --git a/api_docs/kbn_core_node_server.mdx b/api_docs/kbn_core_node_server.mdx index 4b8a188596386..c05396dd7fa67 100644 --- a/api_docs/kbn_core_node_server.mdx +++ b/api_docs/kbn_core_node_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-node-server title: "@kbn/core-node-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-node-server plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-node-server'] --- import kbnCoreNodeServerObj from './kbn_core_node_server.devdocs.json'; diff --git a/api_docs/kbn_core_node_server_internal.mdx b/api_docs/kbn_core_node_server_internal.mdx index 3ece7e82ef6a9..5a7674ecc5f42 100644 --- a/api_docs/kbn_core_node_server_internal.mdx +++ b/api_docs/kbn_core_node_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-node-server-internal title: "@kbn/core-node-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-node-server-internal plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-node-server-internal'] --- import kbnCoreNodeServerInternalObj from './kbn_core_node_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_node_server_mocks.mdx b/api_docs/kbn_core_node_server_mocks.mdx index 592fc0e14faad..081ff2fedb3aa 100644 --- a/api_docs/kbn_core_node_server_mocks.mdx +++ b/api_docs/kbn_core_node_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-node-server-mocks title: "@kbn/core-node-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-node-server-mocks plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-node-server-mocks'] --- import kbnCoreNodeServerMocksObj from './kbn_core_node_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_notifications_browser.mdx b/api_docs/kbn_core_notifications_browser.mdx index 555da48d472be..07a20b39465f7 100644 --- a/api_docs/kbn_core_notifications_browser.mdx +++ b/api_docs/kbn_core_notifications_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-notifications-browser title: "@kbn/core-notifications-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-notifications-browser plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-notifications-browser'] --- import kbnCoreNotificationsBrowserObj from './kbn_core_notifications_browser.devdocs.json'; diff --git a/api_docs/kbn_core_notifications_browser_internal.mdx b/api_docs/kbn_core_notifications_browser_internal.mdx index 031889b1f1e40..f930d676b1dc7 100644 --- a/api_docs/kbn_core_notifications_browser_internal.mdx +++ b/api_docs/kbn_core_notifications_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-notifications-browser-internal title: "@kbn/core-notifications-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-notifications-browser-internal plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-notifications-browser-internal'] --- import kbnCoreNotificationsBrowserInternalObj from './kbn_core_notifications_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_notifications_browser_mocks.mdx b/api_docs/kbn_core_notifications_browser_mocks.mdx index 2e9fb397ffaf7..698ac134de049 100644 --- a/api_docs/kbn_core_notifications_browser_mocks.mdx +++ b/api_docs/kbn_core_notifications_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-notifications-browser-mocks title: "@kbn/core-notifications-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-notifications-browser-mocks plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-notifications-browser-mocks'] --- import kbnCoreNotificationsBrowserMocksObj from './kbn_core_notifications_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_overlays_browser.mdx b/api_docs/kbn_core_overlays_browser.mdx index acbd74942691f..5acd7b7579a6f 100644 --- a/api_docs/kbn_core_overlays_browser.mdx +++ b/api_docs/kbn_core_overlays_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-overlays-browser title: "@kbn/core-overlays-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-overlays-browser plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-overlays-browser'] --- import kbnCoreOverlaysBrowserObj from './kbn_core_overlays_browser.devdocs.json'; diff --git a/api_docs/kbn_core_overlays_browser_internal.mdx b/api_docs/kbn_core_overlays_browser_internal.mdx index 522afca0ab99e..bb11d5056c998 100644 --- a/api_docs/kbn_core_overlays_browser_internal.mdx +++ b/api_docs/kbn_core_overlays_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-overlays-browser-internal title: "@kbn/core-overlays-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-overlays-browser-internal plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-overlays-browser-internal'] --- import kbnCoreOverlaysBrowserInternalObj from './kbn_core_overlays_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_overlays_browser_mocks.mdx b/api_docs/kbn_core_overlays_browser_mocks.mdx index 043940754590c..5e6be0a952f70 100644 --- a/api_docs/kbn_core_overlays_browser_mocks.mdx +++ b/api_docs/kbn_core_overlays_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-overlays-browser-mocks title: "@kbn/core-overlays-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-overlays-browser-mocks plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-overlays-browser-mocks'] --- import kbnCoreOverlaysBrowserMocksObj from './kbn_core_overlays_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_plugins_browser.mdx b/api_docs/kbn_core_plugins_browser.mdx index 2ce7e6dfc4ede..5091512c0d390 100644 --- a/api_docs/kbn_core_plugins_browser.mdx +++ b/api_docs/kbn_core_plugins_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-plugins-browser title: "@kbn/core-plugins-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-plugins-browser plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-plugins-browser'] --- import kbnCorePluginsBrowserObj from './kbn_core_plugins_browser.devdocs.json'; diff --git a/api_docs/kbn_core_plugins_browser_mocks.mdx b/api_docs/kbn_core_plugins_browser_mocks.mdx index ea4210324bf3e..237e6f01fd5b8 100644 --- a/api_docs/kbn_core_plugins_browser_mocks.mdx +++ b/api_docs/kbn_core_plugins_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-plugins-browser-mocks title: "@kbn/core-plugins-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-plugins-browser-mocks plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-plugins-browser-mocks'] --- import kbnCorePluginsBrowserMocksObj from './kbn_core_plugins_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_plugins_server.mdx b/api_docs/kbn_core_plugins_server.mdx index d9462aa9c8ace..746f29b9f1bd7 100644 --- a/api_docs/kbn_core_plugins_server.mdx +++ b/api_docs/kbn_core_plugins_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-plugins-server title: "@kbn/core-plugins-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-plugins-server plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-plugins-server'] --- import kbnCorePluginsServerObj from './kbn_core_plugins_server.devdocs.json'; diff --git a/api_docs/kbn_core_plugins_server_mocks.mdx b/api_docs/kbn_core_plugins_server_mocks.mdx index 2b78e429b5396..5d9fc816d454e 100644 --- a/api_docs/kbn_core_plugins_server_mocks.mdx +++ b/api_docs/kbn_core_plugins_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-plugins-server-mocks title: "@kbn/core-plugins-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-plugins-server-mocks plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-plugins-server-mocks'] --- import kbnCorePluginsServerMocksObj from './kbn_core_plugins_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_preboot_server.mdx b/api_docs/kbn_core_preboot_server.mdx index 547a1a89ce999..af46d97cc824e 100644 --- a/api_docs/kbn_core_preboot_server.mdx +++ b/api_docs/kbn_core_preboot_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-preboot-server title: "@kbn/core-preboot-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-preboot-server plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-preboot-server'] --- import kbnCorePrebootServerObj from './kbn_core_preboot_server.devdocs.json'; diff --git a/api_docs/kbn_core_preboot_server_mocks.mdx b/api_docs/kbn_core_preboot_server_mocks.mdx index 3dd0471b43475..988075cfc75ec 100644 --- a/api_docs/kbn_core_preboot_server_mocks.mdx +++ b/api_docs/kbn_core_preboot_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-preboot-server-mocks title: "@kbn/core-preboot-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-preboot-server-mocks plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-preboot-server-mocks'] --- import kbnCorePrebootServerMocksObj from './kbn_core_preboot_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_rendering_browser_mocks.mdx b/api_docs/kbn_core_rendering_browser_mocks.mdx index e8a9f01db6622..38e4214087f29 100644 --- a/api_docs/kbn_core_rendering_browser_mocks.mdx +++ b/api_docs/kbn_core_rendering_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-rendering-browser-mocks title: "@kbn/core-rendering-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-rendering-browser-mocks plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-rendering-browser-mocks'] --- import kbnCoreRenderingBrowserMocksObj from './kbn_core_rendering_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_rendering_server_internal.mdx b/api_docs/kbn_core_rendering_server_internal.mdx index 73ab834805820..56d1065f9ede6 100644 --- a/api_docs/kbn_core_rendering_server_internal.mdx +++ b/api_docs/kbn_core_rendering_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-rendering-server-internal title: "@kbn/core-rendering-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-rendering-server-internal plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-rendering-server-internal'] --- import kbnCoreRenderingServerInternalObj from './kbn_core_rendering_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_rendering_server_mocks.mdx b/api_docs/kbn_core_rendering_server_mocks.mdx index 4819f95008dc6..0235e7722d263 100644 --- a/api_docs/kbn_core_rendering_server_mocks.mdx +++ b/api_docs/kbn_core_rendering_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-rendering-server-mocks title: "@kbn/core-rendering-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-rendering-server-mocks plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-rendering-server-mocks'] --- import kbnCoreRenderingServerMocksObj from './kbn_core_rendering_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_api_browser.mdx b/api_docs/kbn_core_saved_objects_api_browser.mdx index 347e94226dfa1..750811c58c35b 100644 --- a/api_docs/kbn_core_saved_objects_api_browser.mdx +++ b/api_docs/kbn_core_saved_objects_api_browser.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-saved-objects-api-browser plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-api-browser'] --- import kbnCoreSavedObjectsApiBrowserObj from './kbn_core_saved_objects_api_browser.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_api_server.mdx b/api_docs/kbn_core_saved_objects_api_server.mdx index 5876ed17f7319..1dbe14157b570 100644 --- a/api_docs/kbn_core_saved_objects_api_server.mdx +++ b/api_docs/kbn_core_saved_objects_api_server.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-saved-objects-api-server plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-api-server'] --- import kbnCoreSavedObjectsApiServerObj from './kbn_core_saved_objects_api_server.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_api_server_internal.mdx b/api_docs/kbn_core_saved_objects_api_server_internal.mdx index 4aeb889147704..fd8ecde155ba0 100644 --- a/api_docs/kbn_core_saved_objects_api_server_internal.mdx +++ b/api_docs/kbn_core_saved_objects_api_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-api-server-internal title: "@kbn/core-saved-objects-api-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-api-server-internal plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-api-server-internal'] --- import kbnCoreSavedObjectsApiServerInternalObj from './kbn_core_saved_objects_api_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_api_server_mocks.mdx b/api_docs/kbn_core_saved_objects_api_server_mocks.mdx index 7d8420b80d9dd..4da85bb93e954 100644 --- a/api_docs/kbn_core_saved_objects_api_server_mocks.mdx +++ b/api_docs/kbn_core_saved_objects_api_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-api-server-mocks title: "@kbn/core-saved-objects-api-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-api-server-mocks plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-api-server-mocks'] --- import kbnCoreSavedObjectsApiServerMocksObj from './kbn_core_saved_objects_api_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_base_server_internal.mdx b/api_docs/kbn_core_saved_objects_base_server_internal.mdx index 9a7619b1b054a..bc74494b9fdf4 100644 --- a/api_docs/kbn_core_saved_objects_base_server_internal.mdx +++ b/api_docs/kbn_core_saved_objects_base_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-base-server-internal title: "@kbn/core-saved-objects-base-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-base-server-internal plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-base-server-internal'] --- import kbnCoreSavedObjectsBaseServerInternalObj from './kbn_core_saved_objects_base_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_base_server_mocks.mdx b/api_docs/kbn_core_saved_objects_base_server_mocks.mdx index 1cf307cbe7a87..a75fda08b608b 100644 --- a/api_docs/kbn_core_saved_objects_base_server_mocks.mdx +++ b/api_docs/kbn_core_saved_objects_base_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-base-server-mocks title: "@kbn/core-saved-objects-base-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-base-server-mocks plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-base-server-mocks'] --- import kbnCoreSavedObjectsBaseServerMocksObj from './kbn_core_saved_objects_base_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_browser.mdx b/api_docs/kbn_core_saved_objects_browser.mdx index 531f642e937c7..09d1b3b77f812 100644 --- a/api_docs/kbn_core_saved_objects_browser.mdx +++ b/api_docs/kbn_core_saved_objects_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-browser title: "@kbn/core-saved-objects-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-browser plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-browser'] --- import kbnCoreSavedObjectsBrowserObj from './kbn_core_saved_objects_browser.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_browser_internal.mdx b/api_docs/kbn_core_saved_objects_browser_internal.mdx index c0b38c07f8d5d..3ede5635adf76 100644 --- a/api_docs/kbn_core_saved_objects_browser_internal.mdx +++ b/api_docs/kbn_core_saved_objects_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-browser-internal title: "@kbn/core-saved-objects-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-browser-internal plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-browser-internal'] --- import kbnCoreSavedObjectsBrowserInternalObj from './kbn_core_saved_objects_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_browser_mocks.mdx b/api_docs/kbn_core_saved_objects_browser_mocks.mdx index cbaa6ff9a52e4..1f8c4e62ef8b6 100644 --- a/api_docs/kbn_core_saved_objects_browser_mocks.mdx +++ b/api_docs/kbn_core_saved_objects_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-browser-mocks title: "@kbn/core-saved-objects-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-browser-mocks plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-browser-mocks'] --- import kbnCoreSavedObjectsBrowserMocksObj from './kbn_core_saved_objects_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_common.mdx b/api_docs/kbn_core_saved_objects_common.mdx index 73c27d89f89dc..b869cf0aa8504 100644 --- a/api_docs/kbn_core_saved_objects_common.mdx +++ b/api_docs/kbn_core_saved_objects_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-common title: "@kbn/core-saved-objects-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-common plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-common'] --- import kbnCoreSavedObjectsCommonObj from './kbn_core_saved_objects_common.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_import_export_server_internal.mdx b/api_docs/kbn_core_saved_objects_import_export_server_internal.mdx index 1d6257cee7c7d..b8b4962112b88 100644 --- a/api_docs/kbn_core_saved_objects_import_export_server_internal.mdx +++ b/api_docs/kbn_core_saved_objects_import_export_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-import-export-server-internal title: "@kbn/core-saved-objects-import-export-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-import-export-server-internal plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-import-export-server-internal'] --- import kbnCoreSavedObjectsImportExportServerInternalObj from './kbn_core_saved_objects_import_export_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_import_export_server_mocks.mdx b/api_docs/kbn_core_saved_objects_import_export_server_mocks.mdx index 9a5af295c0e01..b486d2184f7e4 100644 --- a/api_docs/kbn_core_saved_objects_import_export_server_mocks.mdx +++ b/api_docs/kbn_core_saved_objects_import_export_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-import-export-server-mocks title: "@kbn/core-saved-objects-import-export-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-import-export-server-mocks plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-import-export-server-mocks'] --- import kbnCoreSavedObjectsImportExportServerMocksObj from './kbn_core_saved_objects_import_export_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_migration_server_internal.mdx b/api_docs/kbn_core_saved_objects_migration_server_internal.mdx index 2a1deda3567e4..178ec69d6237e 100644 --- a/api_docs/kbn_core_saved_objects_migration_server_internal.mdx +++ b/api_docs/kbn_core_saved_objects_migration_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-migration-server-internal title: "@kbn/core-saved-objects-migration-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-migration-server-internal plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-migration-server-internal'] --- import kbnCoreSavedObjectsMigrationServerInternalObj from './kbn_core_saved_objects_migration_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_migration_server_mocks.mdx b/api_docs/kbn_core_saved_objects_migration_server_mocks.mdx index dd4a7a0ebd9f8..7a1b8ff360a4a 100644 --- a/api_docs/kbn_core_saved_objects_migration_server_mocks.mdx +++ b/api_docs/kbn_core_saved_objects_migration_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-migration-server-mocks title: "@kbn/core-saved-objects-migration-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-migration-server-mocks plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-migration-server-mocks'] --- import kbnCoreSavedObjectsMigrationServerMocksObj from './kbn_core_saved_objects_migration_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_server.mdx b/api_docs/kbn_core_saved_objects_server.mdx index 65f70ae0b1594..ff59a9038b3da 100644 --- a/api_docs/kbn_core_saved_objects_server.mdx +++ b/api_docs/kbn_core_saved_objects_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-server title: "@kbn/core-saved-objects-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-server plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-server'] --- import kbnCoreSavedObjectsServerObj from './kbn_core_saved_objects_server.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_server_internal.mdx b/api_docs/kbn_core_saved_objects_server_internal.mdx index 31db71779d30c..561eb96e41946 100644 --- a/api_docs/kbn_core_saved_objects_server_internal.mdx +++ b/api_docs/kbn_core_saved_objects_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-server-internal title: "@kbn/core-saved-objects-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-server-internal plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-server-internal'] --- import kbnCoreSavedObjectsServerInternalObj from './kbn_core_saved_objects_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_server_mocks.mdx b/api_docs/kbn_core_saved_objects_server_mocks.mdx index 8f4682f99620e..8c6d05c218be7 100644 --- a/api_docs/kbn_core_saved_objects_server_mocks.mdx +++ b/api_docs/kbn_core_saved_objects_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-server-mocks title: "@kbn/core-saved-objects-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-server-mocks plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-server-mocks'] --- import kbnCoreSavedObjectsServerMocksObj from './kbn_core_saved_objects_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_utils_server.mdx b/api_docs/kbn_core_saved_objects_utils_server.mdx index eb333f0d10ca1..2c8953ac3f898 100644 --- a/api_docs/kbn_core_saved_objects_utils_server.mdx +++ b/api_docs/kbn_core_saved_objects_utils_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-utils-server title: "@kbn/core-saved-objects-utils-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-utils-server plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-utils-server'] --- import kbnCoreSavedObjectsUtilsServerObj from './kbn_core_saved_objects_utils_server.devdocs.json'; diff --git a/api_docs/kbn_core_status_common.mdx b/api_docs/kbn_core_status_common.mdx index 737673d2460f0..4014ca3a29da9 100644 --- a/api_docs/kbn_core_status_common.mdx +++ b/api_docs/kbn_core_status_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-status-common title: "@kbn/core-status-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-status-common plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-status-common'] --- import kbnCoreStatusCommonObj from './kbn_core_status_common.devdocs.json'; diff --git a/api_docs/kbn_core_status_common_internal.mdx b/api_docs/kbn_core_status_common_internal.mdx index 389126e420ffb..e5a9a4d9ac9de 100644 --- a/api_docs/kbn_core_status_common_internal.mdx +++ b/api_docs/kbn_core_status_common_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-status-common-internal title: "@kbn/core-status-common-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-status-common-internal plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-status-common-internal'] --- import kbnCoreStatusCommonInternalObj from './kbn_core_status_common_internal.devdocs.json'; diff --git a/api_docs/kbn_core_status_server.mdx b/api_docs/kbn_core_status_server.mdx index 451eeb33abdf6..61ce4f91860e2 100644 --- a/api_docs/kbn_core_status_server.mdx +++ b/api_docs/kbn_core_status_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-status-server title: "@kbn/core-status-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-status-server plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-status-server'] --- import kbnCoreStatusServerObj from './kbn_core_status_server.devdocs.json'; diff --git a/api_docs/kbn_core_status_server_internal.mdx b/api_docs/kbn_core_status_server_internal.mdx index 535a89e5c0023..85c001e2b45ce 100644 --- a/api_docs/kbn_core_status_server_internal.mdx +++ b/api_docs/kbn_core_status_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-status-server-internal title: "@kbn/core-status-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-status-server-internal plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-status-server-internal'] --- import kbnCoreStatusServerInternalObj from './kbn_core_status_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_status_server_mocks.mdx b/api_docs/kbn_core_status_server_mocks.mdx index cdcc0e1e54c90..e2f043961dc93 100644 --- a/api_docs/kbn_core_status_server_mocks.mdx +++ b/api_docs/kbn_core_status_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-status-server-mocks title: "@kbn/core-status-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-status-server-mocks plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-status-server-mocks'] --- import kbnCoreStatusServerMocksObj from './kbn_core_status_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_test_helpers_deprecations_getters.mdx b/api_docs/kbn_core_test_helpers_deprecations_getters.mdx index c827d97b9e836..d5397782b2466 100644 --- a/api_docs/kbn_core_test_helpers_deprecations_getters.mdx +++ b/api_docs/kbn_core_test_helpers_deprecations_getters.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-test-helpers-deprecations-getters title: "@kbn/core-test-helpers-deprecations-getters" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-test-helpers-deprecations-getters plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-test-helpers-deprecations-getters'] --- import kbnCoreTestHelpersDeprecationsGettersObj from './kbn_core_test_helpers_deprecations_getters.devdocs.json'; 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 b545d60fbfc25..ae398a2899f0e 100644 --- a/api_docs/kbn_core_test_helpers_http_setup_browser.mdx +++ b/api_docs/kbn_core_test_helpers_http_setup_browser.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-test-helpers-http-setup-browser plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-test-helpers-http-setup-browser'] --- import kbnCoreTestHelpersHttpSetupBrowserObj from './kbn_core_test_helpers_http_setup_browser.devdocs.json'; diff --git a/api_docs/kbn_core_test_helpers_so_type_serializer.mdx b/api_docs/kbn_core_test_helpers_so_type_serializer.mdx index 4c54d79187412..d083d85e7d5c0 100644 --- a/api_docs/kbn_core_test_helpers_so_type_serializer.mdx +++ b/api_docs/kbn_core_test_helpers_so_type_serializer.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-test-helpers-so-type-serializer title: "@kbn/core-test-helpers-so-type-serializer" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-test-helpers-so-type-serializer plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-test-helpers-so-type-serializer'] --- import kbnCoreTestHelpersSoTypeSerializerObj from './kbn_core_test_helpers_so_type_serializer.devdocs.json'; diff --git a/api_docs/kbn_core_test_helpers_test_utils.mdx b/api_docs/kbn_core_test_helpers_test_utils.mdx index 126bf496a75e0..c49b74c6696e9 100644 --- a/api_docs/kbn_core_test_helpers_test_utils.mdx +++ b/api_docs/kbn_core_test_helpers_test_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-test-helpers-test-utils title: "@kbn/core-test-helpers-test-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-test-helpers-test-utils plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-test-helpers-test-utils'] --- import kbnCoreTestHelpersTestUtilsObj from './kbn_core_test_helpers_test_utils.devdocs.json'; diff --git a/api_docs/kbn_core_theme_browser.mdx b/api_docs/kbn_core_theme_browser.mdx index b57e9f0252ae7..90ccd636e7289 100644 --- a/api_docs/kbn_core_theme_browser.mdx +++ b/api_docs/kbn_core_theme_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-theme-browser title: "@kbn/core-theme-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-theme-browser plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-theme-browser'] --- import kbnCoreThemeBrowserObj from './kbn_core_theme_browser.devdocs.json'; diff --git a/api_docs/kbn_core_theme_browser_internal.mdx b/api_docs/kbn_core_theme_browser_internal.mdx index 8d21465ab0dff..12853ac70dc29 100644 --- a/api_docs/kbn_core_theme_browser_internal.mdx +++ b/api_docs/kbn_core_theme_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-theme-browser-internal title: "@kbn/core-theme-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-theme-browser-internal plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-theme-browser-internal'] --- import kbnCoreThemeBrowserInternalObj from './kbn_core_theme_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_theme_browser_mocks.mdx b/api_docs/kbn_core_theme_browser_mocks.mdx index a9b20456a77c5..4fc36fc3f4aa8 100644 --- a/api_docs/kbn_core_theme_browser_mocks.mdx +++ b/api_docs/kbn_core_theme_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-theme-browser-mocks title: "@kbn/core-theme-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-theme-browser-mocks plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-theme-browser-mocks'] --- import kbnCoreThemeBrowserMocksObj from './kbn_core_theme_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_ui_settings_browser.mdx b/api_docs/kbn_core_ui_settings_browser.mdx index 7236d98e1346e..c02ba9ebfb10d 100644 --- a/api_docs/kbn_core_ui_settings_browser.mdx +++ b/api_docs/kbn_core_ui_settings_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-browser title: "@kbn/core-ui-settings-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-ui-settings-browser plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-ui-settings-browser'] --- import kbnCoreUiSettingsBrowserObj from './kbn_core_ui_settings_browser.devdocs.json'; diff --git a/api_docs/kbn_core_ui_settings_browser_internal.mdx b/api_docs/kbn_core_ui_settings_browser_internal.mdx index f69dc5c1ae84c..2f7f19fdb6951 100644 --- a/api_docs/kbn_core_ui_settings_browser_internal.mdx +++ b/api_docs/kbn_core_ui_settings_browser_internal.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-ui-settings-browser-internal plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-ui-settings-browser-internal'] --- import kbnCoreUiSettingsBrowserInternalObj from './kbn_core_ui_settings_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_ui_settings_browser_mocks.mdx b/api_docs/kbn_core_ui_settings_browser_mocks.mdx index bd9dc0f3dd102..8732f477b966c 100644 --- a/api_docs/kbn_core_ui_settings_browser_mocks.mdx +++ b/api_docs/kbn_core_ui_settings_browser_mocks.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-ui-settings-browser-mocks plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-ui-settings-browser-mocks'] --- import kbnCoreUiSettingsBrowserMocksObj from './kbn_core_ui_settings_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_ui_settings_common.mdx b/api_docs/kbn_core_ui_settings_common.mdx index b91f31539ce1e..ab36862b25146 100644 --- a/api_docs/kbn_core_ui_settings_common.mdx +++ b/api_docs/kbn_core_ui_settings_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-common title: "@kbn/core-ui-settings-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-ui-settings-common plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-ui-settings-common'] --- import kbnCoreUiSettingsCommonObj from './kbn_core_ui_settings_common.devdocs.json'; diff --git a/api_docs/kbn_core_ui_settings_server.mdx b/api_docs/kbn_core_ui_settings_server.mdx index 06f3a34815834..8e3cabf207ca4 100644 --- a/api_docs/kbn_core_ui_settings_server.mdx +++ b/api_docs/kbn_core_ui_settings_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-server title: "@kbn/core-ui-settings-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-ui-settings-server plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-ui-settings-server'] --- import kbnCoreUiSettingsServerObj from './kbn_core_ui_settings_server.devdocs.json'; diff --git a/api_docs/kbn_core_ui_settings_server_internal.mdx b/api_docs/kbn_core_ui_settings_server_internal.mdx index 9ba3cb0960f0f..30dd4658f5f9b 100644 --- a/api_docs/kbn_core_ui_settings_server_internal.mdx +++ b/api_docs/kbn_core_ui_settings_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-server-internal title: "@kbn/core-ui-settings-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-ui-settings-server-internal plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-ui-settings-server-internal'] --- import kbnCoreUiSettingsServerInternalObj from './kbn_core_ui_settings_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_ui_settings_server_mocks.mdx b/api_docs/kbn_core_ui_settings_server_mocks.mdx index 6962f3345bb43..b59d64ab80192 100644 --- a/api_docs/kbn_core_ui_settings_server_mocks.mdx +++ b/api_docs/kbn_core_ui_settings_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-server-mocks title: "@kbn/core-ui-settings-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-ui-settings-server-mocks plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-ui-settings-server-mocks'] --- import kbnCoreUiSettingsServerMocksObj from './kbn_core_ui_settings_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_usage_data_server.mdx b/api_docs/kbn_core_usage_data_server.mdx index 0c03e61a1ba05..0a30968bc426e 100644 --- a/api_docs/kbn_core_usage_data_server.mdx +++ b/api_docs/kbn_core_usage_data_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-usage-data-server title: "@kbn/core-usage-data-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-usage-data-server plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-usage-data-server'] --- import kbnCoreUsageDataServerObj from './kbn_core_usage_data_server.devdocs.json'; diff --git a/api_docs/kbn_core_usage_data_server_internal.mdx b/api_docs/kbn_core_usage_data_server_internal.mdx index cb0c573ee2af7..8431d5e3f6557 100644 --- a/api_docs/kbn_core_usage_data_server_internal.mdx +++ b/api_docs/kbn_core_usage_data_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-usage-data-server-internal title: "@kbn/core-usage-data-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-usage-data-server-internal plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-usage-data-server-internal'] --- import kbnCoreUsageDataServerInternalObj from './kbn_core_usage_data_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_usage_data_server_mocks.mdx b/api_docs/kbn_core_usage_data_server_mocks.mdx index 9741f2aada8d5..ee8976702801f 100644 --- a/api_docs/kbn_core_usage_data_server_mocks.mdx +++ b/api_docs/kbn_core_usage_data_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-usage-data-server-mocks title: "@kbn/core-usage-data-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-usage-data-server-mocks plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-usage-data-server-mocks'] --- import kbnCoreUsageDataServerMocksObj from './kbn_core_usage_data_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_crypto.mdx b/api_docs/kbn_crypto.mdx index 7380d4a9e6ec2..346b09e150c2a 100644 --- a/api_docs/kbn_crypto.mdx +++ b/api_docs/kbn_crypto.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-crypto title: "@kbn/crypto" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/crypto plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/crypto'] --- import kbnCryptoObj from './kbn_crypto.devdocs.json'; diff --git a/api_docs/kbn_crypto_browser.mdx b/api_docs/kbn_crypto_browser.mdx index b6ad79e313b59..41012dcdd2c24 100644 --- a/api_docs/kbn_crypto_browser.mdx +++ b/api_docs/kbn_crypto_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-crypto-browser title: "@kbn/crypto-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/crypto-browser plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/crypto-browser'] --- import kbnCryptoBrowserObj from './kbn_crypto_browser.devdocs.json'; diff --git a/api_docs/kbn_datemath.mdx b/api_docs/kbn_datemath.mdx index fe67304aa5a65..8e7afe0ac51a8 100644 --- a/api_docs/kbn_datemath.mdx +++ b/api_docs/kbn_datemath.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-datemath title: "@kbn/datemath" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/datemath plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/datemath'] --- import kbnDatemathObj from './kbn_datemath.devdocs.json'; diff --git a/api_docs/kbn_dev_cli_errors.mdx b/api_docs/kbn_dev_cli_errors.mdx index 8fefa05379d4a..099cbc79b200f 100644 --- a/api_docs/kbn_dev_cli_errors.mdx +++ b/api_docs/kbn_dev_cli_errors.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-dev-cli-errors title: "@kbn/dev-cli-errors" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/dev-cli-errors plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/dev-cli-errors'] --- import kbnDevCliErrorsObj from './kbn_dev_cli_errors.devdocs.json'; diff --git a/api_docs/kbn_dev_cli_runner.mdx b/api_docs/kbn_dev_cli_runner.mdx index 5eb33c2430402..212840ccd0b0e 100644 --- a/api_docs/kbn_dev_cli_runner.mdx +++ b/api_docs/kbn_dev_cli_runner.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-dev-cli-runner title: "@kbn/dev-cli-runner" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/dev-cli-runner plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/dev-cli-runner'] --- import kbnDevCliRunnerObj from './kbn_dev_cli_runner.devdocs.json'; diff --git a/api_docs/kbn_dev_proc_runner.mdx b/api_docs/kbn_dev_proc_runner.mdx index 06e95d715676a..3bfe294e508bf 100644 --- a/api_docs/kbn_dev_proc_runner.mdx +++ b/api_docs/kbn_dev_proc_runner.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-dev-proc-runner title: "@kbn/dev-proc-runner" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/dev-proc-runner plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/dev-proc-runner'] --- import kbnDevProcRunnerObj from './kbn_dev_proc_runner.devdocs.json'; diff --git a/api_docs/kbn_dev_utils.mdx b/api_docs/kbn_dev_utils.mdx index 72a2a72396ba8..ebc8aac9b617f 100644 --- a/api_docs/kbn_dev_utils.mdx +++ b/api_docs/kbn_dev_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-dev-utils title: "@kbn/dev-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/dev-utils plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/dev-utils'] --- import kbnDevUtilsObj from './kbn_dev_utils.devdocs.json'; diff --git a/api_docs/kbn_doc_links.mdx b/api_docs/kbn_doc_links.mdx index 0b03273d3098e..135b88699862b 100644 --- a/api_docs/kbn_doc_links.mdx +++ b/api_docs/kbn_doc_links.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-doc-links title: "@kbn/doc-links" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/doc-links plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/doc-links'] --- import kbnDocLinksObj from './kbn_doc_links.devdocs.json'; diff --git a/api_docs/kbn_docs_utils.mdx b/api_docs/kbn_docs_utils.mdx index ababa7a6280cf..0bf5620ce54eb 100644 --- a/api_docs/kbn_docs_utils.mdx +++ b/api_docs/kbn_docs_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-docs-utils title: "@kbn/docs-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/docs-utils plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/docs-utils'] --- import kbnDocsUtilsObj from './kbn_docs_utils.devdocs.json'; diff --git a/api_docs/kbn_ebt_tools.devdocs.json b/api_docs/kbn_ebt_tools.devdocs.json index 24d17adf34e2e..61d6c5217507e 100644 --- a/api_docs/kbn_ebt_tools.devdocs.json +++ b/api_docs/kbn_ebt_tools.devdocs.json @@ -138,7 +138,7 @@ "tags": [], "label": "eventData", "description": [ - "The data to send, conforming the structure of a {@link MetricEvent }." + "The data to send, conforming the structure of a {@link PerformanceMetricEvent }." ], "signature": [ { diff --git a/api_docs/kbn_ebt_tools.mdx b/api_docs/kbn_ebt_tools.mdx index 8d084e73b0b50..3dc15fd2849d1 100644 --- a/api_docs/kbn_ebt_tools.mdx +++ b/api_docs/kbn_ebt_tools.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ebt-tools title: "@kbn/ebt-tools" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ebt-tools plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ebt-tools'] --- import kbnEbtToolsObj from './kbn_ebt_tools.devdocs.json'; diff --git a/api_docs/kbn_es.mdx b/api_docs/kbn_es.mdx index 6620e79134f95..252dc0b13ad82 100644 --- a/api_docs/kbn_es.mdx +++ b/api_docs/kbn_es.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-es title: "@kbn/es" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/es plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/es'] --- import kbnEsObj from './kbn_es.devdocs.json'; diff --git a/api_docs/kbn_es_archiver.mdx b/api_docs/kbn_es_archiver.mdx index 16918d3ea4ae6..5cd8a40812dfa 100644 --- a/api_docs/kbn_es_archiver.mdx +++ b/api_docs/kbn_es_archiver.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-es-archiver title: "@kbn/es-archiver" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/es-archiver plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/es-archiver'] --- import kbnEsArchiverObj from './kbn_es_archiver.devdocs.json'; diff --git a/api_docs/kbn_es_errors.mdx b/api_docs/kbn_es_errors.mdx index b4ec1adcb9ff9..301e8cc59f6c7 100644 --- a/api_docs/kbn_es_errors.mdx +++ b/api_docs/kbn_es_errors.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-es-errors title: "@kbn/es-errors" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/es-errors plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/es-errors'] --- import kbnEsErrorsObj from './kbn_es_errors.devdocs.json'; diff --git a/api_docs/kbn_es_query.mdx b/api_docs/kbn_es_query.mdx index a219f9d35662f..a5889ac2f1e75 100644 --- a/api_docs/kbn_es_query.mdx +++ b/api_docs/kbn_es_query.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-es-query title: "@kbn/es-query" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/es-query plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/es-query'] --- import kbnEsQueryObj from './kbn_es_query.devdocs.json'; diff --git a/api_docs/kbn_es_types.mdx b/api_docs/kbn_es_types.mdx index fa75d5b3d8525..1f619c69218c4 100644 --- a/api_docs/kbn_es_types.mdx +++ b/api_docs/kbn_es_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-es-types title: "@kbn/es-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/es-types plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/es-types'] --- import kbnEsTypesObj from './kbn_es_types.devdocs.json'; diff --git a/api_docs/kbn_eslint_plugin_imports.mdx b/api_docs/kbn_eslint_plugin_imports.mdx index 2fe4763b31a4a..c33d35e0aaee7 100644 --- a/api_docs/kbn_eslint_plugin_imports.mdx +++ b/api_docs/kbn_eslint_plugin_imports.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-eslint-plugin-imports title: "@kbn/eslint-plugin-imports" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/eslint-plugin-imports plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/eslint-plugin-imports'] --- import kbnEslintPluginImportsObj from './kbn_eslint_plugin_imports.devdocs.json'; diff --git a/api_docs/kbn_field_types.mdx b/api_docs/kbn_field_types.mdx index 72adbb9cfd67e..587f50507d580 100644 --- a/api_docs/kbn_field_types.mdx +++ b/api_docs/kbn_field_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-field-types title: "@kbn/field-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/field-types plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/field-types'] --- import kbnFieldTypesObj from './kbn_field_types.devdocs.json'; diff --git a/api_docs/kbn_find_used_node_modules.mdx b/api_docs/kbn_find_used_node_modules.mdx index 97ee0cdaec201..05a1d2beefb13 100644 --- a/api_docs/kbn_find_used_node_modules.mdx +++ b/api_docs/kbn_find_used_node_modules.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-find-used-node-modules title: "@kbn/find-used-node-modules" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/find-used-node-modules plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/find-used-node-modules'] --- import kbnFindUsedNodeModulesObj from './kbn_find_used_node_modules.devdocs.json'; diff --git a/api_docs/kbn_ftr_common_functional_services.mdx b/api_docs/kbn_ftr_common_functional_services.mdx index 4b8ea51be5b80..d4e811af15c04 100644 --- a/api_docs/kbn_ftr_common_functional_services.mdx +++ b/api_docs/kbn_ftr_common_functional_services.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ftr-common-functional-services title: "@kbn/ftr-common-functional-services" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ftr-common-functional-services plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ftr-common-functional-services'] --- import kbnFtrCommonFunctionalServicesObj from './kbn_ftr_common_functional_services.devdocs.json'; diff --git a/api_docs/kbn_generate.mdx b/api_docs/kbn_generate.mdx index e4461fa9efe4f..b44a97cec8690 100644 --- a/api_docs/kbn_generate.mdx +++ b/api_docs/kbn_generate.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-generate title: "@kbn/generate" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/generate plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/generate'] --- import kbnGenerateObj from './kbn_generate.devdocs.json'; diff --git a/api_docs/kbn_get_repo_files.mdx b/api_docs/kbn_get_repo_files.mdx index bf4fe3ccc932b..404db1cb0e1ee 100644 --- a/api_docs/kbn_get_repo_files.mdx +++ b/api_docs/kbn_get_repo_files.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-get-repo-files title: "@kbn/get-repo-files" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/get-repo-files plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/get-repo-files'] --- import kbnGetRepoFilesObj from './kbn_get_repo_files.devdocs.json'; diff --git a/api_docs/kbn_guided_onboarding.mdx b/api_docs/kbn_guided_onboarding.mdx index 584fab770b326..d735da10c6ce6 100644 --- a/api_docs/kbn_guided_onboarding.mdx +++ b/api_docs/kbn_guided_onboarding.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-guided-onboarding title: "@kbn/guided-onboarding" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/guided-onboarding plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/guided-onboarding'] --- import kbnGuidedOnboardingObj from './kbn_guided_onboarding.devdocs.json'; diff --git a/api_docs/kbn_handlebars.mdx b/api_docs/kbn_handlebars.mdx index b8549dfcd91d4..eb427500f5180 100644 --- a/api_docs/kbn_handlebars.mdx +++ b/api_docs/kbn_handlebars.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-handlebars title: "@kbn/handlebars" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/handlebars plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/handlebars'] --- import kbnHandlebarsObj from './kbn_handlebars.devdocs.json'; diff --git a/api_docs/kbn_hapi_mocks.mdx b/api_docs/kbn_hapi_mocks.mdx index 247ed782b8caf..72b5e358f77f0 100644 --- a/api_docs/kbn_hapi_mocks.mdx +++ b/api_docs/kbn_hapi_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-hapi-mocks title: "@kbn/hapi-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/hapi-mocks plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/hapi-mocks'] --- import kbnHapiMocksObj from './kbn_hapi_mocks.devdocs.json'; diff --git a/api_docs/kbn_home_sample_data_card.mdx b/api_docs/kbn_home_sample_data_card.mdx index f5b648d0269ca..401931f044fb3 100644 --- a/api_docs/kbn_home_sample_data_card.mdx +++ b/api_docs/kbn_home_sample_data_card.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-home-sample-data-card title: "@kbn/home-sample-data-card" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/home-sample-data-card plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/home-sample-data-card'] --- import kbnHomeSampleDataCardObj from './kbn_home_sample_data_card.devdocs.json'; diff --git a/api_docs/kbn_home_sample_data_tab.mdx b/api_docs/kbn_home_sample_data_tab.mdx index 134e6eaa7a205..db210c5ffa929 100644 --- a/api_docs/kbn_home_sample_data_tab.mdx +++ b/api_docs/kbn_home_sample_data_tab.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-home-sample-data-tab title: "@kbn/home-sample-data-tab" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/home-sample-data-tab plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/home-sample-data-tab'] --- import kbnHomeSampleDataTabObj from './kbn_home_sample_data_tab.devdocs.json'; diff --git a/api_docs/kbn_i18n.mdx b/api_docs/kbn_i18n.mdx index 14798a9b4b527..b565f85abd2ea 100644 --- a/api_docs/kbn_i18n.mdx +++ b/api_docs/kbn_i18n.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-i18n title: "@kbn/i18n" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/i18n plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/i18n'] --- import kbnI18nObj from './kbn_i18n.devdocs.json'; diff --git a/api_docs/kbn_i18n_react.mdx b/api_docs/kbn_i18n_react.mdx index 99eb15d86085c..45f196144653f 100644 --- a/api_docs/kbn_i18n_react.mdx +++ b/api_docs/kbn_i18n_react.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-i18n-react title: "@kbn/i18n-react" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/i18n-react plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/i18n-react'] --- import kbnI18nReactObj from './kbn_i18n_react.devdocs.json'; diff --git a/api_docs/kbn_import_resolver.mdx b/api_docs/kbn_import_resolver.mdx index 653ecbf47a225..10a0f1bf5f445 100644 --- a/api_docs/kbn_import_resolver.mdx +++ b/api_docs/kbn_import_resolver.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-import-resolver title: "@kbn/import-resolver" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/import-resolver plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/import-resolver'] --- import kbnImportResolverObj from './kbn_import_resolver.devdocs.json'; diff --git a/api_docs/kbn_interpreter.mdx b/api_docs/kbn_interpreter.mdx index a547d5a8bc47e..a0dd4b7ad0699 100644 --- a/api_docs/kbn_interpreter.mdx +++ b/api_docs/kbn_interpreter.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-interpreter title: "@kbn/interpreter" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/interpreter plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/interpreter'] --- import kbnInterpreterObj from './kbn_interpreter.devdocs.json'; diff --git a/api_docs/kbn_io_ts_utils.mdx b/api_docs/kbn_io_ts_utils.mdx index 4f5b0c1facf96..47644e7926688 100644 --- a/api_docs/kbn_io_ts_utils.mdx +++ b/api_docs/kbn_io_ts_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-io-ts-utils title: "@kbn/io-ts-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/io-ts-utils plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/io-ts-utils'] --- import kbnIoTsUtilsObj from './kbn_io_ts_utils.devdocs.json'; diff --git a/api_docs/kbn_jest_serializers.mdx b/api_docs/kbn_jest_serializers.mdx index 576dca06dd4f1..8721f02edf8d4 100644 --- a/api_docs/kbn_jest_serializers.mdx +++ b/api_docs/kbn_jest_serializers.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-jest-serializers title: "@kbn/jest-serializers" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/jest-serializers plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/jest-serializers'] --- import kbnJestSerializersObj from './kbn_jest_serializers.devdocs.json'; diff --git a/api_docs/kbn_journeys.mdx b/api_docs/kbn_journeys.mdx index 1c2c71b6f3ab5..2292f6a6656f2 100644 --- a/api_docs/kbn_journeys.mdx +++ b/api_docs/kbn_journeys.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-journeys title: "@kbn/journeys" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/journeys plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/journeys'] --- import kbnJourneysObj from './kbn_journeys.devdocs.json'; diff --git a/api_docs/kbn_kibana_manifest_schema.mdx b/api_docs/kbn_kibana_manifest_schema.mdx index eea0f3fed66e6..5557a32a35deb 100644 --- a/api_docs/kbn_kibana_manifest_schema.mdx +++ b/api_docs/kbn_kibana_manifest_schema.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-kibana-manifest-schema title: "@kbn/kibana-manifest-schema" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/kibana-manifest-schema plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/kibana-manifest-schema'] --- import kbnKibanaManifestSchemaObj from './kbn_kibana_manifest_schema.devdocs.json'; diff --git a/api_docs/kbn_language_documentation_popover.mdx b/api_docs/kbn_language_documentation_popover.mdx index 04f64b4a51983..8ad47524939f4 100644 --- a/api_docs/kbn_language_documentation_popover.mdx +++ b/api_docs/kbn_language_documentation_popover.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-language-documentation-popover title: "@kbn/language-documentation-popover" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/language-documentation-popover plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/language-documentation-popover'] --- import kbnLanguageDocumentationPopoverObj from './kbn_language_documentation_popover.devdocs.json'; diff --git a/api_docs/kbn_logging.mdx b/api_docs/kbn_logging.mdx index 64fa6c32eda57..8dd810ed7ec18 100644 --- a/api_docs/kbn_logging.mdx +++ b/api_docs/kbn_logging.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-logging title: "@kbn/logging" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/logging plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/logging'] --- import kbnLoggingObj from './kbn_logging.devdocs.json'; diff --git a/api_docs/kbn_logging_mocks.mdx b/api_docs/kbn_logging_mocks.mdx index 27197f3c32833..cacf11cf0e0f3 100644 --- a/api_docs/kbn_logging_mocks.mdx +++ b/api_docs/kbn_logging_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-logging-mocks title: "@kbn/logging-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/logging-mocks plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/logging-mocks'] --- import kbnLoggingMocksObj from './kbn_logging_mocks.devdocs.json'; diff --git a/api_docs/kbn_managed_vscode_config.mdx b/api_docs/kbn_managed_vscode_config.mdx index a35a01132a87d..127c0b469692a 100644 --- a/api_docs/kbn_managed_vscode_config.mdx +++ b/api_docs/kbn_managed_vscode_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-managed-vscode-config title: "@kbn/managed-vscode-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/managed-vscode-config plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/managed-vscode-config'] --- import kbnManagedVscodeConfigObj from './kbn_managed_vscode_config.devdocs.json'; diff --git a/api_docs/kbn_mapbox_gl.mdx b/api_docs/kbn_mapbox_gl.mdx index d28d926551a1c..bcf5bcd3809ba 100644 --- a/api_docs/kbn_mapbox_gl.mdx +++ b/api_docs/kbn_mapbox_gl.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-mapbox-gl title: "@kbn/mapbox-gl" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/mapbox-gl plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/mapbox-gl'] --- import kbnMapboxGlObj from './kbn_mapbox_gl.devdocs.json'; diff --git a/api_docs/kbn_ml_agg_utils.mdx b/api_docs/kbn_ml_agg_utils.mdx index a81c96e16e926..faa2b8152987b 100644 --- a/api_docs/kbn_ml_agg_utils.mdx +++ b/api_docs/kbn_ml_agg_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-agg-utils title: "@kbn/ml-agg-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-agg-utils plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-agg-utils'] --- import kbnMlAggUtilsObj from './kbn_ml_agg_utils.devdocs.json'; diff --git a/api_docs/kbn_ml_is_populated_object.mdx b/api_docs/kbn_ml_is_populated_object.mdx index c75766d7852b0..ad095b32a12d2 100644 --- a/api_docs/kbn_ml_is_populated_object.mdx +++ b/api_docs/kbn_ml_is_populated_object.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-is-populated-object title: "@kbn/ml-is-populated-object" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-is-populated-object plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-is-populated-object'] --- import kbnMlIsPopulatedObjectObj from './kbn_ml_is_populated_object.devdocs.json'; diff --git a/api_docs/kbn_ml_string_hash.mdx b/api_docs/kbn_ml_string_hash.mdx index 6e81fd81ffd0f..33a7ac1691349 100644 --- a/api_docs/kbn_ml_string_hash.mdx +++ b/api_docs/kbn_ml_string_hash.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-string-hash title: "@kbn/ml-string-hash" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-string-hash plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-string-hash'] --- import kbnMlStringHashObj from './kbn_ml_string_hash.devdocs.json'; diff --git a/api_docs/kbn_monaco.mdx b/api_docs/kbn_monaco.mdx index ca79e9e07e9fe..a836aea9a6c3e 100644 --- a/api_docs/kbn_monaco.mdx +++ b/api_docs/kbn_monaco.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-monaco title: "@kbn/monaco" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/monaco plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/monaco'] --- import kbnMonacoObj from './kbn_monaco.devdocs.json'; diff --git a/api_docs/kbn_optimizer.mdx b/api_docs/kbn_optimizer.mdx index 7d0063114a5a4..6ff23c6825e58 100644 --- a/api_docs/kbn_optimizer.mdx +++ b/api_docs/kbn_optimizer.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-optimizer title: "@kbn/optimizer" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/optimizer plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/optimizer'] --- import kbnOptimizerObj from './kbn_optimizer.devdocs.json'; diff --git a/api_docs/kbn_optimizer_webpack_helpers.mdx b/api_docs/kbn_optimizer_webpack_helpers.mdx index 9fe2148dea28f..698ce9b556e4b 100644 --- a/api_docs/kbn_optimizer_webpack_helpers.mdx +++ b/api_docs/kbn_optimizer_webpack_helpers.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-optimizer-webpack-helpers title: "@kbn/optimizer-webpack-helpers" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/optimizer-webpack-helpers plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/optimizer-webpack-helpers'] --- import kbnOptimizerWebpackHelpersObj from './kbn_optimizer_webpack_helpers.devdocs.json'; diff --git a/api_docs/kbn_osquery_io_ts_types.mdx b/api_docs/kbn_osquery_io_ts_types.mdx index c8322ae9b2f26..f5a3b622d1da8 100644 --- a/api_docs/kbn_osquery_io_ts_types.mdx +++ b/api_docs/kbn_osquery_io_ts_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-osquery-io-ts-types title: "@kbn/osquery-io-ts-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/osquery-io-ts-types plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/osquery-io-ts-types'] --- import kbnOsqueryIoTsTypesObj from './kbn_osquery_io_ts_types.devdocs.json'; diff --git a/api_docs/kbn_performance_testing_dataset_extractor.mdx b/api_docs/kbn_performance_testing_dataset_extractor.mdx index 3f89f8bf99f1d..e9d23683cabda 100644 --- a/api_docs/kbn_performance_testing_dataset_extractor.mdx +++ b/api_docs/kbn_performance_testing_dataset_extractor.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-performance-testing-dataset-extractor title: "@kbn/performance-testing-dataset-extractor" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/performance-testing-dataset-extractor plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/performance-testing-dataset-extractor'] --- import kbnPerformanceTestingDatasetExtractorObj from './kbn_performance_testing_dataset_extractor.devdocs.json'; diff --git a/api_docs/kbn_plugin_generator.mdx b/api_docs/kbn_plugin_generator.mdx index 8cfbd60145f5d..fd990f8706606 100644 --- a/api_docs/kbn_plugin_generator.mdx +++ b/api_docs/kbn_plugin_generator.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-plugin-generator title: "@kbn/plugin-generator" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/plugin-generator plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/plugin-generator'] --- import kbnPluginGeneratorObj from './kbn_plugin_generator.devdocs.json'; diff --git a/api_docs/kbn_plugin_helpers.mdx b/api_docs/kbn_plugin_helpers.mdx index fc92e2282c501..922a6b1a87d98 100644 --- a/api_docs/kbn_plugin_helpers.mdx +++ b/api_docs/kbn_plugin_helpers.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-plugin-helpers title: "@kbn/plugin-helpers" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/plugin-helpers plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/plugin-helpers'] --- import kbnPluginHelpersObj from './kbn_plugin_helpers.devdocs.json'; diff --git a/api_docs/kbn_react_field.mdx b/api_docs/kbn_react_field.mdx index 809387d5177f5..ff7cb8c6dcd1b 100644 --- a/api_docs/kbn_react_field.mdx +++ b/api_docs/kbn_react_field.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-react-field title: "@kbn/react-field" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/react-field plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/react-field'] --- import kbnReactFieldObj from './kbn_react_field.devdocs.json'; diff --git a/api_docs/kbn_repo_source_classifier.mdx b/api_docs/kbn_repo_source_classifier.mdx index 0e9b38aeb5608..4667ce301e70d 100644 --- a/api_docs/kbn_repo_source_classifier.mdx +++ b/api_docs/kbn_repo_source_classifier.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-repo-source-classifier title: "@kbn/repo-source-classifier" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/repo-source-classifier plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/repo-source-classifier'] --- import kbnRepoSourceClassifierObj from './kbn_repo_source_classifier.devdocs.json'; diff --git a/api_docs/kbn_rule_data_utils.devdocs.json b/api_docs/kbn_rule_data_utils.devdocs.json index 6c8e6fe3b4063..1071f55b81cca 100644 --- a/api_docs/kbn_rule_data_utils.devdocs.json +++ b/api_docs/kbn_rule_data_utils.devdocs.json @@ -850,6 +850,156 @@ "trackAdoption": false, "initialIsOpen": false }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-common.ALERT_THREAT_FRAMEWORK", + "type": "string", + "tags": [], + "label": "ALERT_THREAT_FRAMEWORK", + "description": [], + "signature": [ + "\"kibana.alert.rule.threat.framework\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-common.ALERT_THREAT_TACTIC_ID", + "type": "string", + "tags": [], + "label": "ALERT_THREAT_TACTIC_ID", + "description": [], + "signature": [ + "\"kibana.alert.rule.threat.tactic.id\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-common.ALERT_THREAT_TACTIC_NAME", + "type": "string", + "tags": [], + "label": "ALERT_THREAT_TACTIC_NAME", + "description": [], + "signature": [ + "\"kibana.alert.rule.threat.tactic.name\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-common.ALERT_THREAT_TACTIC_REFERENCE", + "type": "string", + "tags": [], + "label": "ALERT_THREAT_TACTIC_REFERENCE", + "description": [], + "signature": [ + "\"kibana.alert.rule.threat.tactic.reference\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-common.ALERT_THREAT_TECHNIQUE_ID", + "type": "string", + "tags": [], + "label": "ALERT_THREAT_TECHNIQUE_ID", + "description": [], + "signature": [ + "\"kibana.alert.rule.threat.technique.id\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-common.ALERT_THREAT_TECHNIQUE_NAME", + "type": "string", + "tags": [], + "label": "ALERT_THREAT_TECHNIQUE_NAME", + "description": [], + "signature": [ + "\"kibana.alert.rule.threat.technique.name\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-common.ALERT_THREAT_TECHNIQUE_REFERENCE", + "type": "string", + "tags": [], + "label": "ALERT_THREAT_TECHNIQUE_REFERENCE", + "description": [], + "signature": [ + "\"kibana.alert.rule.threat.technique.reference\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-common.ALERT_THREAT_TECHNIQUE_SUBTECHNIQUE_ID", + "type": "string", + "tags": [], + "label": "ALERT_THREAT_TECHNIQUE_SUBTECHNIQUE_ID", + "description": [], + "signature": [ + "\"kibana.alert.rule.threat.technique.subtechnique.id\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-common.ALERT_THREAT_TECHNIQUE_SUBTECHNIQUE_NAME", + "type": "string", + "tags": [], + "label": "ALERT_THREAT_TECHNIQUE_SUBTECHNIQUE_NAME", + "description": [], + "signature": [ + "\"kibana.alert.rule.threat.technique.subtechnique.name\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-common.ALERT_THREAT_TECHNIQUE_SUBTECHNIQUE_REFERENCE", + "type": "string", + "tags": [], + "label": "ALERT_THREAT_TECHNIQUE_SUBTECHNIQUE_REFERENCE", + "description": [], + "signature": [ + "\"kibana.alert.rule.threat.technique.subtechnique.reference\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, { "parentPluginId": "@kbn/rule-data-utils", "id": "def-common.ALERT_TIME_RANGE", @@ -1098,7 +1248,7 @@ "label": "TechnicalRuleDataFieldName", "description": [], "signature": [ - "\"tags\" | \"kibana\" | \"@timestamp\" | \"kibana.alert.rule.rule_type_id\" | \"kibana.alert.rule.consumer\" | \"event.action\" | \"kibana.alert.rule.execution.uuid\" | \"kibana.alert\" | \"kibana.alert.rule\" | \"kibana.alert.rule.parameters\" | \"kibana.alert.rule.producer\" | \"kibana.space_ids\" | \"kibana.alert.uuid\" | \"kibana.alert.instance.id\" | \"kibana.alert.start\" | \"kibana.alert.time_range\" | \"kibana.alert.end\" | \"kibana.alert.duration.us\" | \"kibana.alert.severity\" | \"kibana.alert.status\" | \"kibana.version\" | \"ecs.version\" | \"kibana.alert.risk_score\" | \"kibana.alert.workflow_status\" | \"kibana.alert.workflow_user\" | \"kibana.alert.workflow_reason\" | \"kibana.alert.system_status\" | \"kibana.alert.action_group\" | \"kibana.alert.reason\" | \"kibana.alert.rule.author\" | \"kibana.alert.rule.category\" | \"kibana.alert.rule.uuid\" | \"kibana.alert.rule.created_at\" | \"kibana.alert.rule.created_by\" | \"kibana.alert.rule.description\" | \"kibana.alert.rule.enabled\" | \"kibana.alert.rule.from\" | \"kibana.alert.rule.interval\" | \"kibana.alert.rule.license\" | \"kibana.alert.rule.name\" | \"kibana.alert.rule.note\" | \"kibana.alert.rule.references\" | \"kibana.alert.rule.rule_id\" | \"kibana.alert.rule.rule_name_override\" | \"kibana.alert.rule.tags\" | \"kibana.alert.rule.to\" | \"kibana.alert.rule.type\" | \"kibana.alert.rule.updated_at\" | \"kibana.alert.rule.updated_by\" | \"kibana.alert.rule.version\" | \"event.kind\" | \"event.module\" | \"kibana.alert.evaluation.threshold\" | \"kibana.alert.evaluation.value\" | \"kibana.alert.building_block_type\" | \"kibana.alert.rule.exceptions_list\" | \"kibana.alert.rule.namespace\"" + "\"tags\" | \"kibana\" | \"@timestamp\" | \"kibana.alert.rule.rule_type_id\" | \"kibana.alert.rule.consumer\" | \"event.action\" | \"kibana.alert.rule.execution.uuid\" | \"kibana.alert\" | \"kibana.alert.rule\" | \"kibana.alert.rule.parameters\" | \"kibana.alert.rule.producer\" | \"kibana.space_ids\" | \"kibana.alert.uuid\" | \"kibana.alert.instance.id\" | \"kibana.alert.start\" | \"kibana.alert.time_range\" | \"kibana.alert.end\" | \"kibana.alert.duration.us\" | \"kibana.alert.severity\" | \"kibana.alert.status\" | \"kibana.version\" | \"ecs.version\" | \"kibana.alert.risk_score\" | \"kibana.alert.workflow_status\" | \"kibana.alert.workflow_user\" | \"kibana.alert.workflow_reason\" | \"kibana.alert.system_status\" | \"kibana.alert.action_group\" | \"kibana.alert.reason\" | \"kibana.alert.rule.author\" | \"kibana.alert.rule.category\" | \"kibana.alert.rule.uuid\" | \"kibana.alert.rule.created_at\" | \"kibana.alert.rule.created_by\" | \"kibana.alert.rule.description\" | \"kibana.alert.rule.enabled\" | \"kibana.alert.rule.from\" | \"kibana.alert.rule.interval\" | \"kibana.alert.rule.license\" | \"kibana.alert.rule.name\" | \"kibana.alert.rule.note\" | \"kibana.alert.rule.references\" | \"kibana.alert.rule.rule_id\" | \"kibana.alert.rule.rule_name_override\" | \"kibana.alert.rule.tags\" | \"kibana.alert.rule.to\" | \"kibana.alert.rule.type\" | \"kibana.alert.rule.updated_at\" | \"kibana.alert.rule.updated_by\" | \"kibana.alert.rule.version\" | \"event.kind\" | \"event.module\" | \"kibana.alert.evaluation.threshold\" | \"kibana.alert.evaluation.value\" | \"kibana.alert.building_block_type\" | \"kibana.alert.rule.exceptions_list\" | \"kibana.alert.rule.namespace\" | \"kibana.alert.rule.threat.framework\" | \"kibana.alert.rule.threat.tactic.id\" | \"kibana.alert.rule.threat.tactic.name\" | \"kibana.alert.rule.threat.tactic.reference\" | \"kibana.alert.rule.threat.technique.id\" | \"kibana.alert.rule.threat.technique.name\" | \"kibana.alert.rule.threat.technique.reference\" | \"kibana.alert.rule.threat.technique.subtechnique.id\" | \"kibana.alert.rule.threat.technique.subtechnique.name\" | \"kibana.alert.rule.threat.technique.subtechnique.reference\"" ], "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", "deprecated": false, diff --git a/api_docs/kbn_rule_data_utils.mdx b/api_docs/kbn_rule_data_utils.mdx index e6eaa452df4cc..723441004032f 100644 --- a/api_docs/kbn_rule_data_utils.mdx +++ b/api_docs/kbn_rule_data_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-rule-data-utils title: "@kbn/rule-data-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/rule-data-utils plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/rule-data-utils'] --- import kbnRuleDataUtilsObj from './kbn_rule_data_utils.devdocs.json'; @@ -21,7 +21,7 @@ Contact [Owner missing] for questions regarding this plugin. | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 75 | 0 | 72 | 0 | +| 85 | 0 | 82 | 0 | ## Common diff --git a/api_docs/kbn_securitysolution_autocomplete.mdx b/api_docs/kbn_securitysolution_autocomplete.mdx index 0b6691362335b..4617117610cee 100644 --- a/api_docs/kbn_securitysolution_autocomplete.mdx +++ b/api_docs/kbn_securitysolution_autocomplete.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-autocomplete title: "@kbn/securitysolution-autocomplete" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-autocomplete plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-autocomplete'] --- import kbnSecuritysolutionAutocompleteObj from './kbn_securitysolution_autocomplete.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_es_utils.mdx b/api_docs/kbn_securitysolution_es_utils.mdx index be0fd7d5f410b..8bc6a87d55bec 100644 --- a/api_docs/kbn_securitysolution_es_utils.mdx +++ b/api_docs/kbn_securitysolution_es_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-es-utils title: "@kbn/securitysolution-es-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-es-utils plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-es-utils'] --- import kbnSecuritysolutionEsUtilsObj from './kbn_securitysolution_es_utils.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_exception_list_components.devdocs.json b/api_docs/kbn_securitysolution_exception_list_components.devdocs.json index 7f0855de80b64..cb66bc6e0fd6b 100644 --- a/api_docs/kbn_securitysolution_exception_list_components.devdocs.json +++ b/api_docs/kbn_securitysolution_exception_list_components.devdocs.json @@ -623,7 +623,7 @@ "label": "formattedDateComponent", "description": [], "signature": [ - "\"symbol\" | \"object\" | React.ComponentType | \"body\" | \"path\" | \"circle\" | \"filter\" | \"data\" | \"line\" | \"area\" | \"time\" | \"label\" | \"legend\" | \"image\" | \"link\" | \"menu\" | \"stop\" | \"base\" | \"text\" | \"title\" | \"s\" | \"small\" | \"source\" | \"input\" | \"svg\" | \"meta\" | \"script\" | \"summary\" | \"desc\" | \"q\" | \"pattern\" | \"mask\" | \"slot\" | \"style\" | \"head\" | \"section\" | \"big\" | \"sub\" | \"sup\" | \"animate\" | \"progress\" | \"view\" | \"output\" | \"var\" | \"map\" | \"html\" | \"a\" | \"img\" | \"audio\" | \"form\" | \"main\" | \"abbr\" | \"address\" | \"article\" | \"aside\" | \"b\" | \"bdi\" | \"bdo\" | \"blockquote\" | \"br\" | \"button\" | \"canvas\" | \"caption\" | \"cite\" | \"code\" | \"col\" | \"colgroup\" | \"datalist\" | \"dd\" | \"del\" | \"details\" | \"dfn\" | \"dialog\" | \"div\" | \"dl\" | \"dt\" | \"em\" | \"embed\" | \"fieldset\" | \"figcaption\" | \"figure\" | \"footer\" | \"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\" | \"header\" | \"hgroup\" | \"hr\" | \"i\" | \"iframe\" | \"ins\" | \"kbd\" | \"keygen\" | \"li\" | \"mark\" | \"menuitem\" | \"meter\" | \"nav\" | \"noindex\" | \"noscript\" | \"ol\" | \"optgroup\" | \"option\" | \"p\" | \"param\" | \"picture\" | \"pre\" | \"rp\" | \"rt\" | \"ruby\" | \"samp\" | \"select\" | \"span\" | \"strong\" | \"table\" | \"template\" | \"tbody\" | \"td\" | \"textarea\" | \"tfoot\" | \"th\" | \"thead\" | \"tr\" | \"track\" | \"u\" | \"ul\" | \"video\" | \"wbr\" | \"webview\" | \"animateMotion\" | \"animateTransform\" | \"clipPath\" | \"defs\" | \"ellipse\" | \"feBlend\" | \"feColorMatrix\" | \"feComponentTransfer\" | \"feComposite\" | \"feConvolveMatrix\" | \"feDiffuseLighting\" | \"feDisplacementMap\" | \"feDistantLight\" | \"feDropShadow\" | \"feFlood\" | \"feFuncA\" | \"feFuncB\" | \"feFuncG\" | \"feFuncR\" | \"feGaussianBlur\" | \"feImage\" | \"feMerge\" | \"feMergeNode\" | \"feMorphology\" | \"feOffset\" | \"fePointLight\" | \"feSpecularLighting\" | \"feSpotLight\" | \"feTile\" | \"feTurbulence\" | \"foreignObject\" | \"g\" | \"linearGradient\" | \"marker\" | \"metadata\" | \"mpath\" | \"polygon\" | \"polyline\" | \"radialGradient\" | \"rect\" | \"switch\" | \"textPath\" | \"tspan\" | \"use\"" + "\"symbol\" | \"object\" | React.ComponentType | \"body\" | \"path\" | \"circle\" | \"filter\" | \"data\" | \"line\" | \"area\" | \"time\" | \"label\" | \"legend\" | \"image\" | \"link\" | \"menu\" | \"stop\" | \"base\" | \"text\" | \"title\" | \"s\" | \"small\" | \"source\" | \"input\" | \"svg\" | \"meta\" | \"script\" | \"summary\" | \"desc\" | \"q\" | \"pattern\" | \"mask\" | \"slot\" | \"style\" | \"head\" | \"section\" | \"big\" | \"sub\" | \"sup\" | \"animate\" | \"progress\" | \"view\" | \"output\" | \"var\" | \"map\" | \"html\" | \"a\" | \"img\" | \"audio\" | \"br\" | \"form\" | \"main\" | \"abbr\" | \"address\" | \"article\" | \"aside\" | \"b\" | \"bdi\" | \"bdo\" | \"blockquote\" | \"button\" | \"canvas\" | \"caption\" | \"cite\" | \"code\" | \"col\" | \"colgroup\" | \"datalist\" | \"dd\" | \"del\" | \"details\" | \"dfn\" | \"dialog\" | \"div\" | \"dl\" | \"dt\" | \"em\" | \"embed\" | \"fieldset\" | \"figcaption\" | \"figure\" | \"footer\" | \"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\" | \"header\" | \"hgroup\" | \"hr\" | \"i\" | \"iframe\" | \"ins\" | \"kbd\" | \"keygen\" | \"li\" | \"mark\" | \"menuitem\" | \"meter\" | \"nav\" | \"noindex\" | \"noscript\" | \"ol\" | \"optgroup\" | \"option\" | \"p\" | \"param\" | \"picture\" | \"pre\" | \"rp\" | \"rt\" | \"ruby\" | \"samp\" | \"select\" | \"span\" | \"strong\" | \"table\" | \"template\" | \"tbody\" | \"td\" | \"textarea\" | \"tfoot\" | \"th\" | \"thead\" | \"tr\" | \"track\" | \"u\" | \"ul\" | \"video\" | \"wbr\" | \"webview\" | \"animateMotion\" | \"animateTransform\" | \"clipPath\" | \"defs\" | \"ellipse\" | \"feBlend\" | \"feColorMatrix\" | \"feComponentTransfer\" | \"feComposite\" | \"feConvolveMatrix\" | \"feDiffuseLighting\" | \"feDisplacementMap\" | \"feDistantLight\" | \"feDropShadow\" | \"feFlood\" | \"feFuncA\" | \"feFuncB\" | \"feFuncG\" | \"feFuncR\" | \"feGaussianBlur\" | \"feImage\" | \"feMerge\" | \"feMergeNode\" | \"feMorphology\" | \"feOffset\" | \"fePointLight\" | \"feSpecularLighting\" | \"feSpotLight\" | \"feTile\" | \"feTurbulence\" | \"foreignObject\" | \"g\" | \"linearGradient\" | \"marker\" | \"metadata\" | \"mpath\" | \"polygon\" | \"polyline\" | \"radialGradient\" | \"rect\" | \"switch\" | \"textPath\" | \"tspan\" | \"use\"" ], "path": "packages/kbn-securitysolution-exception-list-components/src/exception_item_card/meta/index.tsx", "deprecated": false, @@ -637,7 +637,7 @@ "label": "securityLinkAnchorComponent", "description": [], "signature": [ - "\"symbol\" | \"object\" | React.ComponentType | \"body\" | \"path\" | \"circle\" | \"filter\" | \"data\" | \"line\" | \"area\" | \"time\" | \"label\" | \"legend\" | \"image\" | \"link\" | \"menu\" | \"stop\" | \"base\" | \"text\" | \"title\" | \"s\" | \"small\" | \"source\" | \"input\" | \"svg\" | \"meta\" | \"script\" | \"summary\" | \"desc\" | \"q\" | \"pattern\" | \"mask\" | \"slot\" | \"style\" | \"head\" | \"section\" | \"big\" | \"sub\" | \"sup\" | \"animate\" | \"progress\" | \"view\" | \"output\" | \"var\" | \"map\" | \"html\" | \"a\" | \"img\" | \"audio\" | \"form\" | \"main\" | \"abbr\" | \"address\" | \"article\" | \"aside\" | \"b\" | \"bdi\" | \"bdo\" | \"blockquote\" | \"br\" | \"button\" | \"canvas\" | \"caption\" | \"cite\" | \"code\" | \"col\" | \"colgroup\" | \"datalist\" | \"dd\" | \"del\" | \"details\" | \"dfn\" | \"dialog\" | \"div\" | \"dl\" | \"dt\" | \"em\" | \"embed\" | \"fieldset\" | \"figcaption\" | \"figure\" | \"footer\" | \"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\" | \"header\" | \"hgroup\" | \"hr\" | \"i\" | \"iframe\" | \"ins\" | \"kbd\" | \"keygen\" | \"li\" | \"mark\" | \"menuitem\" | \"meter\" | \"nav\" | \"noindex\" | \"noscript\" | \"ol\" | \"optgroup\" | \"option\" | \"p\" | \"param\" | \"picture\" | \"pre\" | \"rp\" | \"rt\" | \"ruby\" | \"samp\" | \"select\" | \"span\" | \"strong\" | \"table\" | \"template\" | \"tbody\" | \"td\" | \"textarea\" | \"tfoot\" | \"th\" | \"thead\" | \"tr\" | \"track\" | \"u\" | \"ul\" | \"video\" | \"wbr\" | \"webview\" | \"animateMotion\" | \"animateTransform\" | \"clipPath\" | \"defs\" | \"ellipse\" | \"feBlend\" | \"feColorMatrix\" | \"feComponentTransfer\" | \"feComposite\" | \"feConvolveMatrix\" | \"feDiffuseLighting\" | \"feDisplacementMap\" | \"feDistantLight\" | \"feDropShadow\" | \"feFlood\" | \"feFuncA\" | \"feFuncB\" | \"feFuncG\" | \"feFuncR\" | \"feGaussianBlur\" | \"feImage\" | \"feMerge\" | \"feMergeNode\" | \"feMorphology\" | \"feOffset\" | \"fePointLight\" | \"feSpecularLighting\" | \"feSpotLight\" | \"feTile\" | \"feTurbulence\" | \"foreignObject\" | \"g\" | \"linearGradient\" | \"marker\" | \"metadata\" | \"mpath\" | \"polygon\" | \"polyline\" | \"radialGradient\" | \"rect\" | \"switch\" | \"textPath\" | \"tspan\" | \"use\"" + "\"symbol\" | \"object\" | React.ComponentType | \"body\" | \"path\" | \"circle\" | \"filter\" | \"data\" | \"line\" | \"area\" | \"time\" | \"label\" | \"legend\" | \"image\" | \"link\" | \"menu\" | \"stop\" | \"base\" | \"text\" | \"title\" | \"s\" | \"small\" | \"source\" | \"input\" | \"svg\" | \"meta\" | \"script\" | \"summary\" | \"desc\" | \"q\" | \"pattern\" | \"mask\" | \"slot\" | \"style\" | \"head\" | \"section\" | \"big\" | \"sub\" | \"sup\" | \"animate\" | \"progress\" | \"view\" | \"output\" | \"var\" | \"map\" | \"html\" | \"a\" | \"img\" | \"audio\" | \"br\" | \"form\" | \"main\" | \"abbr\" | \"address\" | \"article\" | \"aside\" | \"b\" | \"bdi\" | \"bdo\" | \"blockquote\" | \"button\" | \"canvas\" | \"caption\" | \"cite\" | \"code\" | \"col\" | \"colgroup\" | \"datalist\" | \"dd\" | \"del\" | \"details\" | \"dfn\" | \"dialog\" | \"div\" | \"dl\" | \"dt\" | \"em\" | \"embed\" | \"fieldset\" | \"figcaption\" | \"figure\" | \"footer\" | \"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\" | \"header\" | \"hgroup\" | \"hr\" | \"i\" | \"iframe\" | \"ins\" | \"kbd\" | \"keygen\" | \"li\" | \"mark\" | \"menuitem\" | \"meter\" | \"nav\" | \"noindex\" | \"noscript\" | \"ol\" | \"optgroup\" | \"option\" | \"p\" | \"param\" | \"picture\" | \"pre\" | \"rp\" | \"rt\" | \"ruby\" | \"samp\" | \"select\" | \"span\" | \"strong\" | \"table\" | \"template\" | \"tbody\" | \"td\" | \"textarea\" | \"tfoot\" | \"th\" | \"thead\" | \"tr\" | \"track\" | \"u\" | \"ul\" | \"video\" | \"wbr\" | \"webview\" | \"animateMotion\" | \"animateTransform\" | \"clipPath\" | \"defs\" | \"ellipse\" | \"feBlend\" | \"feColorMatrix\" | \"feComponentTransfer\" | \"feComposite\" | \"feConvolveMatrix\" | \"feDiffuseLighting\" | \"feDisplacementMap\" | \"feDistantLight\" | \"feDropShadow\" | \"feFlood\" | \"feFuncA\" | \"feFuncB\" | \"feFuncG\" | \"feFuncR\" | \"feGaussianBlur\" | \"feImage\" | \"feMerge\" | \"feMergeNode\" | \"feMorphology\" | \"feOffset\" | \"fePointLight\" | \"feSpecularLighting\" | \"feSpotLight\" | \"feTile\" | \"feTurbulence\" | \"foreignObject\" | \"g\" | \"linearGradient\" | \"marker\" | \"metadata\" | \"mpath\" | \"polygon\" | \"polyline\" | \"radialGradient\" | \"rect\" | \"switch\" | \"textPath\" | \"tspan\" | \"use\"" ], "path": "packages/kbn-securitysolution-exception-list-components/src/exception_item_card/meta/index.tsx", "deprecated": false, @@ -776,7 +776,7 @@ "label": "securityLinkAnchorComponent", "description": [], "signature": [ - "\"symbol\" | \"object\" | React.ComponentType | \"body\" | \"path\" | \"circle\" | \"filter\" | \"data\" | \"line\" | \"area\" | \"time\" | \"label\" | \"legend\" | \"image\" | \"link\" | \"menu\" | \"stop\" | \"base\" | \"text\" | \"title\" | \"s\" | \"small\" | \"source\" | \"input\" | \"svg\" | \"meta\" | \"script\" | \"summary\" | \"desc\" | \"q\" | \"pattern\" | \"mask\" | \"slot\" | \"style\" | \"head\" | \"section\" | \"big\" | \"sub\" | \"sup\" | \"animate\" | \"progress\" | \"view\" | \"output\" | \"var\" | \"map\" | \"html\" | \"a\" | \"img\" | \"audio\" | \"form\" | \"main\" | \"abbr\" | \"address\" | \"article\" | \"aside\" | \"b\" | \"bdi\" | \"bdo\" | \"blockquote\" | \"br\" | \"button\" | \"canvas\" | \"caption\" | \"cite\" | \"code\" | \"col\" | \"colgroup\" | \"datalist\" | \"dd\" | \"del\" | \"details\" | \"dfn\" | \"dialog\" | \"div\" | \"dl\" | \"dt\" | \"em\" | \"embed\" | \"fieldset\" | \"figcaption\" | \"figure\" | \"footer\" | \"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\" | \"header\" | \"hgroup\" | \"hr\" | \"i\" | \"iframe\" | \"ins\" | \"kbd\" | \"keygen\" | \"li\" | \"mark\" | \"menuitem\" | \"meter\" | \"nav\" | \"noindex\" | \"noscript\" | \"ol\" | \"optgroup\" | \"option\" | \"p\" | \"param\" | \"picture\" | \"pre\" | \"rp\" | \"rt\" | \"ruby\" | \"samp\" | \"select\" | \"span\" | \"strong\" | \"table\" | \"template\" | \"tbody\" | \"td\" | \"textarea\" | \"tfoot\" | \"th\" | \"thead\" | \"tr\" | \"track\" | \"u\" | \"ul\" | \"video\" | \"wbr\" | \"webview\" | \"animateMotion\" | \"animateTransform\" | \"clipPath\" | \"defs\" | \"ellipse\" | \"feBlend\" | \"feColorMatrix\" | \"feComponentTransfer\" | \"feComposite\" | \"feConvolveMatrix\" | \"feDiffuseLighting\" | \"feDisplacementMap\" | \"feDistantLight\" | \"feDropShadow\" | \"feFlood\" | \"feFuncA\" | \"feFuncB\" | \"feFuncG\" | \"feFuncR\" | \"feGaussianBlur\" | \"feImage\" | \"feMerge\" | \"feMergeNode\" | \"feMorphology\" | \"feOffset\" | \"fePointLight\" | \"feSpecularLighting\" | \"feSpotLight\" | \"feTile\" | \"feTurbulence\" | \"foreignObject\" | \"g\" | \"linearGradient\" | \"marker\" | \"metadata\" | \"mpath\" | \"polygon\" | \"polyline\" | \"radialGradient\" | \"rect\" | \"switch\" | \"textPath\" | \"tspan\" | \"use\"" + "\"symbol\" | \"object\" | React.ComponentType | \"body\" | \"path\" | \"circle\" | \"filter\" | \"data\" | \"line\" | \"area\" | \"time\" | \"label\" | \"legend\" | \"image\" | \"link\" | \"menu\" | \"stop\" | \"base\" | \"text\" | \"title\" | \"s\" | \"small\" | \"source\" | \"input\" | \"svg\" | \"meta\" | \"script\" | \"summary\" | \"desc\" | \"q\" | \"pattern\" | \"mask\" | \"slot\" | \"style\" | \"head\" | \"section\" | \"big\" | \"sub\" | \"sup\" | \"animate\" | \"progress\" | \"view\" | \"output\" | \"var\" | \"map\" | \"html\" | \"a\" | \"img\" | \"audio\" | \"br\" | \"form\" | \"main\" | \"abbr\" | \"address\" | \"article\" | \"aside\" | \"b\" | \"bdi\" | \"bdo\" | \"blockquote\" | \"button\" | \"canvas\" | \"caption\" | \"cite\" | \"code\" | \"col\" | \"colgroup\" | \"datalist\" | \"dd\" | \"del\" | \"details\" | \"dfn\" | \"dialog\" | \"div\" | \"dl\" | \"dt\" | \"em\" | \"embed\" | \"fieldset\" | \"figcaption\" | \"figure\" | \"footer\" | \"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\" | \"header\" | \"hgroup\" | \"hr\" | \"i\" | \"iframe\" | \"ins\" | \"kbd\" | \"keygen\" | \"li\" | \"mark\" | \"menuitem\" | \"meter\" | \"nav\" | \"noindex\" | \"noscript\" | \"ol\" | \"optgroup\" | \"option\" | \"p\" | \"param\" | \"picture\" | \"pre\" | \"rp\" | \"rt\" | \"ruby\" | \"samp\" | \"select\" | \"span\" | \"strong\" | \"table\" | \"template\" | \"tbody\" | \"td\" | \"textarea\" | \"tfoot\" | \"th\" | \"thead\" | \"tr\" | \"track\" | \"u\" | \"ul\" | \"video\" | \"wbr\" | \"webview\" | \"animateMotion\" | \"animateTransform\" | \"clipPath\" | \"defs\" | \"ellipse\" | \"feBlend\" | \"feColorMatrix\" | \"feComponentTransfer\" | \"feComposite\" | \"feConvolveMatrix\" | \"feDiffuseLighting\" | \"feDisplacementMap\" | \"feDistantLight\" | \"feDropShadow\" | \"feFlood\" | \"feFuncA\" | \"feFuncB\" | \"feFuncG\" | \"feFuncR\" | \"feGaussianBlur\" | \"feImage\" | \"feMerge\" | \"feMergeNode\" | \"feMorphology\" | \"feOffset\" | \"fePointLight\" | \"feSpecularLighting\" | \"feSpotLight\" | \"feTile\" | \"feTurbulence\" | \"foreignObject\" | \"g\" | \"linearGradient\" | \"marker\" | \"metadata\" | \"mpath\" | \"polygon\" | \"polyline\" | \"radialGradient\" | \"rect\" | \"switch\" | \"textPath\" | \"tspan\" | \"use\"" ], "path": "packages/kbn-securitysolution-exception-list-components/src/exception_item_card/exception_item_card.tsx", "deprecated": false, @@ -790,7 +790,7 @@ "label": "formattedDateComponent", "description": [], "signature": [ - "\"symbol\" | \"object\" | React.ComponentType | \"body\" | \"path\" | \"circle\" | \"filter\" | \"data\" | \"line\" | \"area\" | \"time\" | \"label\" | \"legend\" | \"image\" | \"link\" | \"menu\" | \"stop\" | \"base\" | \"text\" | \"title\" | \"s\" | \"small\" | \"source\" | \"input\" | \"svg\" | \"meta\" | \"script\" | \"summary\" | \"desc\" | \"q\" | \"pattern\" | \"mask\" | \"slot\" | \"style\" | \"head\" | \"section\" | \"big\" | \"sub\" | \"sup\" | \"animate\" | \"progress\" | \"view\" | \"output\" | \"var\" | \"map\" | \"html\" | \"a\" | \"img\" | \"audio\" | \"form\" | \"main\" | \"abbr\" | \"address\" | \"article\" | \"aside\" | \"b\" | \"bdi\" | \"bdo\" | \"blockquote\" | \"br\" | \"button\" | \"canvas\" | \"caption\" | \"cite\" | \"code\" | \"col\" | \"colgroup\" | \"datalist\" | \"dd\" | \"del\" | \"details\" | \"dfn\" | \"dialog\" | \"div\" | \"dl\" | \"dt\" | \"em\" | \"embed\" | \"fieldset\" | \"figcaption\" | \"figure\" | \"footer\" | \"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\" | \"header\" | \"hgroup\" | \"hr\" | \"i\" | \"iframe\" | \"ins\" | \"kbd\" | \"keygen\" | \"li\" | \"mark\" | \"menuitem\" | \"meter\" | \"nav\" | \"noindex\" | \"noscript\" | \"ol\" | \"optgroup\" | \"option\" | \"p\" | \"param\" | \"picture\" | \"pre\" | \"rp\" | \"rt\" | \"ruby\" | \"samp\" | \"select\" | \"span\" | \"strong\" | \"table\" | \"template\" | \"tbody\" | \"td\" | \"textarea\" | \"tfoot\" | \"th\" | \"thead\" | \"tr\" | \"track\" | \"u\" | \"ul\" | \"video\" | \"wbr\" | \"webview\" | \"animateMotion\" | \"animateTransform\" | \"clipPath\" | \"defs\" | \"ellipse\" | \"feBlend\" | \"feColorMatrix\" | \"feComponentTransfer\" | \"feComposite\" | \"feConvolveMatrix\" | \"feDiffuseLighting\" | \"feDisplacementMap\" | \"feDistantLight\" | \"feDropShadow\" | \"feFlood\" | \"feFuncA\" | \"feFuncB\" | \"feFuncG\" | \"feFuncR\" | \"feGaussianBlur\" | \"feImage\" | \"feMerge\" | \"feMergeNode\" | \"feMorphology\" | \"feOffset\" | \"fePointLight\" | \"feSpecularLighting\" | \"feSpotLight\" | \"feTile\" | \"feTurbulence\" | \"foreignObject\" | \"g\" | \"linearGradient\" | \"marker\" | \"metadata\" | \"mpath\" | \"polygon\" | \"polyline\" | \"radialGradient\" | \"rect\" | \"switch\" | \"textPath\" | \"tspan\" | \"use\"" + "\"symbol\" | \"object\" | React.ComponentType | \"body\" | \"path\" | \"circle\" | \"filter\" | \"data\" | \"line\" | \"area\" | \"time\" | \"label\" | \"legend\" | \"image\" | \"link\" | \"menu\" | \"stop\" | \"base\" | \"text\" | \"title\" | \"s\" | \"small\" | \"source\" | \"input\" | \"svg\" | \"meta\" | \"script\" | \"summary\" | \"desc\" | \"q\" | \"pattern\" | \"mask\" | \"slot\" | \"style\" | \"head\" | \"section\" | \"big\" | \"sub\" | \"sup\" | \"animate\" | \"progress\" | \"view\" | \"output\" | \"var\" | \"map\" | \"html\" | \"a\" | \"img\" | \"audio\" | \"br\" | \"form\" | \"main\" | \"abbr\" | \"address\" | \"article\" | \"aside\" | \"b\" | \"bdi\" | \"bdo\" | \"blockquote\" | \"button\" | \"canvas\" | \"caption\" | \"cite\" | \"code\" | \"col\" | \"colgroup\" | \"datalist\" | \"dd\" | \"del\" | \"details\" | \"dfn\" | \"dialog\" | \"div\" | \"dl\" | \"dt\" | \"em\" | \"embed\" | \"fieldset\" | \"figcaption\" | \"figure\" | \"footer\" | \"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\" | \"header\" | \"hgroup\" | \"hr\" | \"i\" | \"iframe\" | \"ins\" | \"kbd\" | \"keygen\" | \"li\" | \"mark\" | \"menuitem\" | \"meter\" | \"nav\" | \"noindex\" | \"noscript\" | \"ol\" | \"optgroup\" | \"option\" | \"p\" | \"param\" | \"picture\" | \"pre\" | \"rp\" | \"rt\" | \"ruby\" | \"samp\" | \"select\" | \"span\" | \"strong\" | \"table\" | \"template\" | \"tbody\" | \"td\" | \"textarea\" | \"tfoot\" | \"th\" | \"thead\" | \"tr\" | \"track\" | \"u\" | \"ul\" | \"video\" | \"wbr\" | \"webview\" | \"animateMotion\" | \"animateTransform\" | \"clipPath\" | \"defs\" | \"ellipse\" | \"feBlend\" | \"feColorMatrix\" | \"feComponentTransfer\" | \"feComposite\" | \"feConvolveMatrix\" | \"feDiffuseLighting\" | \"feDisplacementMap\" | \"feDistantLight\" | \"feDropShadow\" | \"feFlood\" | \"feFuncA\" | \"feFuncB\" | \"feFuncG\" | \"feFuncR\" | \"feGaussianBlur\" | \"feImage\" | \"feMerge\" | \"feMergeNode\" | \"feMorphology\" | \"feOffset\" | \"fePointLight\" | \"feSpecularLighting\" | \"feSpotLight\" | \"feTile\" | \"feTurbulence\" | \"foreignObject\" | \"g\" | \"linearGradient\" | \"marker\" | \"metadata\" | \"mpath\" | \"polygon\" | \"polyline\" | \"radialGradient\" | \"rect\" | \"switch\" | \"textPath\" | \"tspan\" | \"use\"" ], "path": "packages/kbn-securitysolution-exception-list-components/src/exception_item_card/exception_item_card.tsx", "deprecated": false, diff --git a/api_docs/kbn_securitysolution_exception_list_components.mdx b/api_docs/kbn_securitysolution_exception_list_components.mdx index 0196ccc25cd2b..6a0db0065f5af 100644 --- a/api_docs/kbn_securitysolution_exception_list_components.mdx +++ b/api_docs/kbn_securitysolution_exception_list_components.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-exception-list-components title: "@kbn/securitysolution-exception-list-components" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-exception-list-components plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-exception-list-components'] --- import kbnSecuritysolutionExceptionListComponentsObj from './kbn_securitysolution_exception_list_components.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_hook_utils.mdx b/api_docs/kbn_securitysolution_hook_utils.mdx index 6d0cfec2dc06e..feed204bb0bb4 100644 --- a/api_docs/kbn_securitysolution_hook_utils.mdx +++ b/api_docs/kbn_securitysolution_hook_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-hook-utils title: "@kbn/securitysolution-hook-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-hook-utils plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-hook-utils'] --- import kbnSecuritysolutionHookUtilsObj from './kbn_securitysolution_hook_utils.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_io_ts_alerting_types.mdx b/api_docs/kbn_securitysolution_io_ts_alerting_types.mdx index 5bc823eae72af..eb1d7416ac8c4 100644 --- a/api_docs/kbn_securitysolution_io_ts_alerting_types.mdx +++ b/api_docs/kbn_securitysolution_io_ts_alerting_types.mdx @@ -8,7 +8,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 description: API docs for the @kbn/securitysolution-io-ts-alerting-types plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-io-ts-alerting-types'] --- import kbnSecuritysolutionIoTsAlertingTypesObj from './kbn_securitysolution_io_ts_alerting_types.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_io_ts_list_types.mdx b/api_docs/kbn_securitysolution_io_ts_list_types.mdx index fa6d34d4f0d3f..a710c4a364785 100644 --- a/api_docs/kbn_securitysolution_io_ts_list_types.mdx +++ b/api_docs/kbn_securitysolution_io_ts_list_types.mdx @@ -8,7 +8,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 description: API docs for the @kbn/securitysolution-io-ts-list-types plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-io-ts-list-types'] --- import kbnSecuritysolutionIoTsListTypesObj from './kbn_securitysolution_io_ts_list_types.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_io_ts_types.mdx b/api_docs/kbn_securitysolution_io_ts_types.mdx index 80473929963de..084e70906ff51 100644 --- a/api_docs/kbn_securitysolution_io_ts_types.mdx +++ b/api_docs/kbn_securitysolution_io_ts_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-io-ts-types title: "@kbn/securitysolution-io-ts-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-io-ts-types plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-io-ts-types'] --- import kbnSecuritysolutionIoTsTypesObj from './kbn_securitysolution_io_ts_types.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_io_ts_utils.mdx b/api_docs/kbn_securitysolution_io_ts_utils.mdx index 22f2af2e4d005..d86079dc26a3c 100644 --- a/api_docs/kbn_securitysolution_io_ts_utils.mdx +++ b/api_docs/kbn_securitysolution_io_ts_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-io-ts-utils title: "@kbn/securitysolution-io-ts-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-io-ts-utils plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-io-ts-utils'] --- import kbnSecuritysolutionIoTsUtilsObj from './kbn_securitysolution_io_ts_utils.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_list_api.mdx b/api_docs/kbn_securitysolution_list_api.mdx index c74d45e4c0082..d527deb508042 100644 --- a/api_docs/kbn_securitysolution_list_api.mdx +++ b/api_docs/kbn_securitysolution_list_api.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-list-api title: "@kbn/securitysolution-list-api" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-list-api plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-list-api'] --- import kbnSecuritysolutionListApiObj from './kbn_securitysolution_list_api.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_list_constants.mdx b/api_docs/kbn_securitysolution_list_constants.mdx index a55e1a1cc4a01..0fadb448e6355 100644 --- a/api_docs/kbn_securitysolution_list_constants.mdx +++ b/api_docs/kbn_securitysolution_list_constants.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-list-constants title: "@kbn/securitysolution-list-constants" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-list-constants plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-list-constants'] --- import kbnSecuritysolutionListConstantsObj from './kbn_securitysolution_list_constants.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_list_hooks.mdx b/api_docs/kbn_securitysolution_list_hooks.mdx index 39ccbaa532371..89dcaf176aee5 100644 --- a/api_docs/kbn_securitysolution_list_hooks.mdx +++ b/api_docs/kbn_securitysolution_list_hooks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-list-hooks title: "@kbn/securitysolution-list-hooks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-list-hooks plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-list-hooks'] --- import kbnSecuritysolutionListHooksObj from './kbn_securitysolution_list_hooks.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_list_utils.mdx b/api_docs/kbn_securitysolution_list_utils.mdx index dbf0eb18e5792..1ea6e81980027 100644 --- a/api_docs/kbn_securitysolution_list_utils.mdx +++ b/api_docs/kbn_securitysolution_list_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-list-utils title: "@kbn/securitysolution-list-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-list-utils plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-list-utils'] --- import kbnSecuritysolutionListUtilsObj from './kbn_securitysolution_list_utils.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_rules.mdx b/api_docs/kbn_securitysolution_rules.mdx index 9a7295c8b55d2..ddc14cf7b423a 100644 --- a/api_docs/kbn_securitysolution_rules.mdx +++ b/api_docs/kbn_securitysolution_rules.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-rules title: "@kbn/securitysolution-rules" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-rules plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-rules'] --- import kbnSecuritysolutionRulesObj from './kbn_securitysolution_rules.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_t_grid.mdx b/api_docs/kbn_securitysolution_t_grid.mdx index a7cee61434f2b..590994a51d2d8 100644 --- a/api_docs/kbn_securitysolution_t_grid.mdx +++ b/api_docs/kbn_securitysolution_t_grid.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-t-grid title: "@kbn/securitysolution-t-grid" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-t-grid plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-t-grid'] --- import kbnSecuritysolutionTGridObj from './kbn_securitysolution_t_grid.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_utils.mdx b/api_docs/kbn_securitysolution_utils.mdx index 3bdcd920c750a..a81c7cf252677 100644 --- a/api_docs/kbn_securitysolution_utils.mdx +++ b/api_docs/kbn_securitysolution_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-utils title: "@kbn/securitysolution-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-utils plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-utils'] --- import kbnSecuritysolutionUtilsObj from './kbn_securitysolution_utils.devdocs.json'; diff --git a/api_docs/kbn_server_http_tools.mdx b/api_docs/kbn_server_http_tools.mdx index 854e05cbe6191..ad30c111ce298 100644 --- a/api_docs/kbn_server_http_tools.mdx +++ b/api_docs/kbn_server_http_tools.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-server-http-tools title: "@kbn/server-http-tools" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/server-http-tools plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/server-http-tools'] --- import kbnServerHttpToolsObj from './kbn_server_http_tools.devdocs.json'; diff --git a/api_docs/kbn_server_route_repository.mdx b/api_docs/kbn_server_route_repository.mdx index 0522be0ba26dd..5ba79aba31ca8 100644 --- a/api_docs/kbn_server_route_repository.mdx +++ b/api_docs/kbn_server_route_repository.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-server-route-repository title: "@kbn/server-route-repository" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/server-route-repository plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/server-route-repository'] --- import kbnServerRouteRepositoryObj from './kbn_server_route_repository.devdocs.json'; diff --git a/api_docs/kbn_shared_svg.mdx b/api_docs/kbn_shared_svg.mdx index 55430e120e885..721c1f9e0fcc7 100644 --- a/api_docs/kbn_shared_svg.mdx +++ b/api_docs/kbn_shared_svg.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-svg title: "@kbn/shared-svg" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-svg plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-svg'] --- import kbnSharedSvgObj from './kbn_shared_svg.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_avatar_solution.mdx b/api_docs/kbn_shared_ux_avatar_solution.mdx index 8e904a07ea053..da3b434ed0584 100644 --- a/api_docs/kbn_shared_ux_avatar_solution.mdx +++ b/api_docs/kbn_shared_ux_avatar_solution.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-avatar-solution title: "@kbn/shared-ux-avatar-solution" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-avatar-solution plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-avatar-solution'] --- import kbnSharedUxAvatarSolutionObj from './kbn_shared_ux_avatar_solution.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_avatar_user_profile_components.mdx b/api_docs/kbn_shared_ux_avatar_user_profile_components.mdx index 67d87a900715f..c68ac8d062002 100644 --- a/api_docs/kbn_shared_ux_avatar_user_profile_components.mdx +++ b/api_docs/kbn_shared_ux_avatar_user_profile_components.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-avatar-user-profile-components title: "@kbn/shared-ux-avatar-user-profile-components" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-avatar-user-profile-components plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-avatar-user-profile-components'] --- import kbnSharedUxAvatarUserProfileComponentsObj from './kbn_shared_ux_avatar_user_profile_components.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_button_exit_full_screen.mdx b/api_docs/kbn_shared_ux_button_exit_full_screen.mdx index 9e943182eede1..9944cb0a6ae23 100644 --- a/api_docs/kbn_shared_ux_button_exit_full_screen.mdx +++ b/api_docs/kbn_shared_ux_button_exit_full_screen.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-button-exit-full-screen title: "@kbn/shared-ux-button-exit-full-screen" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-button-exit-full-screen plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-button-exit-full-screen'] --- import kbnSharedUxButtonExitFullScreenObj from './kbn_shared_ux_button_exit_full_screen.devdocs.json'; 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 e6d1e66ceef88..32587102b4695 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 @@ -8,7 +8,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 description: API docs for the @kbn/shared-ux-button-exit-full-screen-mocks plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-button-exit-full-screen-mocks'] --- import kbnSharedUxButtonExitFullScreenMocksObj from './kbn_shared_ux_button_exit_full_screen_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_button_toolbar.mdx b/api_docs/kbn_shared_ux_button_toolbar.mdx index 689e099b2d18e..fa84048a0d2ef 100644 --- a/api_docs/kbn_shared_ux_button_toolbar.mdx +++ b/api_docs/kbn_shared_ux_button_toolbar.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-button-toolbar title: "@kbn/shared-ux-button-toolbar" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-button-toolbar plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-button-toolbar'] --- import kbnSharedUxButtonToolbarObj from './kbn_shared_ux_button_toolbar.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_card_no_data.mdx b/api_docs/kbn_shared_ux_card_no_data.mdx index aecc10d4feda4..4ba03026595f7 100644 --- a/api_docs/kbn_shared_ux_card_no_data.mdx +++ b/api_docs/kbn_shared_ux_card_no_data.mdx @@ -8,7 +8,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 description: API docs for the @kbn/shared-ux-card-no-data plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-card-no-data'] --- import kbnSharedUxCardNoDataObj from './kbn_shared_ux_card_no_data.devdocs.json'; 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 997af87756829..9cba99902f2c8 100644 --- a/api_docs/kbn_shared_ux_card_no_data_mocks.mdx +++ b/api_docs/kbn_shared_ux_card_no_data_mocks.mdx @@ -8,7 +8,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 description: API docs for the @kbn/shared-ux-card-no-data-mocks plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-card-no-data-mocks'] --- import kbnSharedUxCardNoDataMocksObj from './kbn_shared_ux_card_no_data_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_link_redirect_app.mdx b/api_docs/kbn_shared_ux_link_redirect_app.mdx index da9dee483a617..545a31e8a92a7 100644 --- a/api_docs/kbn_shared_ux_link_redirect_app.mdx +++ b/api_docs/kbn_shared_ux_link_redirect_app.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-link-redirect-app title: "@kbn/shared-ux-link-redirect-app" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-link-redirect-app plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-link-redirect-app'] --- import kbnSharedUxLinkRedirectAppObj from './kbn_shared_ux_link_redirect_app.devdocs.json'; 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 320dae6a826e7..90d1e90b26dc9 100644 --- a/api_docs/kbn_shared_ux_link_redirect_app_mocks.mdx +++ b/api_docs/kbn_shared_ux_link_redirect_app_mocks.mdx @@ -8,7 +8,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 description: API docs for the @kbn/shared-ux-link-redirect-app-mocks plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-link-redirect-app-mocks'] --- import kbnSharedUxLinkRedirectAppMocksObj from './kbn_shared_ux_link_redirect_app_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_markdown.mdx b/api_docs/kbn_shared_ux_markdown.mdx index e62b67714e39f..b44927ed57188 100644 --- a/api_docs/kbn_shared_ux_markdown.mdx +++ b/api_docs/kbn_shared_ux_markdown.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-markdown title: "@kbn/shared-ux-markdown" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-markdown plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-markdown'] --- import kbnSharedUxMarkdownObj from './kbn_shared_ux_markdown.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_markdown_mocks.mdx b/api_docs/kbn_shared_ux_markdown_mocks.mdx index 9daa127d53f9d..d68e853db5385 100644 --- a/api_docs/kbn_shared_ux_markdown_mocks.mdx +++ b/api_docs/kbn_shared_ux_markdown_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-markdown-mocks title: "@kbn/shared-ux-markdown-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-markdown-mocks plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-markdown-mocks'] --- import kbnSharedUxMarkdownMocksObj from './kbn_shared_ux_markdown_mocks.devdocs.json'; 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 f5237dc261afe..8a707994ba472 100644 --- a/api_docs/kbn_shared_ux_page_analytics_no_data.mdx +++ b/api_docs/kbn_shared_ux_page_analytics_no_data.mdx @@ -8,7 +8,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 description: API docs for the @kbn/shared-ux-page-analytics-no-data plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-analytics-no-data'] --- import kbnSharedUxPageAnalyticsNoDataObj from './kbn_shared_ux_page_analytics_no_data.devdocs.json'; 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 23be712fcd39d..3ba2a29d2b3ef 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 @@ -8,7 +8,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 description: API docs for the @kbn/shared-ux-page-analytics-no-data-mocks plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-analytics-no-data-mocks'] --- import kbnSharedUxPageAnalyticsNoDataMocksObj from './kbn_shared_ux_page_analytics_no_data_mocks.devdocs.json'; 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 dee877d9f6515..bdc14a6a7c092 100644 --- a/api_docs/kbn_shared_ux_page_kibana_no_data.mdx +++ b/api_docs/kbn_shared_ux_page_kibana_no_data.mdx @@ -8,7 +8,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 description: API docs for the @kbn/shared-ux-page-kibana-no-data plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-kibana-no-data'] --- import kbnSharedUxPageKibanaNoDataObj from './kbn_shared_ux_page_kibana_no_data.devdocs.json'; 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 d3550ea396b9d..5e08157603fce 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 @@ -8,7 +8,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 description: API docs for the @kbn/shared-ux-page-kibana-no-data-mocks plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-kibana-no-data-mocks'] --- import kbnSharedUxPageKibanaNoDataMocksObj from './kbn_shared_ux_page_kibana_no_data_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_kibana_template.mdx b/api_docs/kbn_shared_ux_page_kibana_template.mdx index 1ab5b5f56ec4a..6c0617f983c8c 100644 --- a/api_docs/kbn_shared_ux_page_kibana_template.mdx +++ b/api_docs/kbn_shared_ux_page_kibana_template.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-kibana-template title: "@kbn/shared-ux-page-kibana-template" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-kibana-template plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-kibana-template'] --- import kbnSharedUxPageKibanaTemplateObj from './kbn_shared_ux_page_kibana_template.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_kibana_template_mocks.mdx b/api_docs/kbn_shared_ux_page_kibana_template_mocks.mdx index 5ccda0f877581..f28c917a23c99 100644 --- a/api_docs/kbn_shared_ux_page_kibana_template_mocks.mdx +++ b/api_docs/kbn_shared_ux_page_kibana_template_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-kibana-template-mocks title: "@kbn/shared-ux-page-kibana-template-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-kibana-template-mocks plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-kibana-template-mocks'] --- import kbnSharedUxPageKibanaTemplateMocksObj from './kbn_shared_ux_page_kibana_template_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_no_data.mdx b/api_docs/kbn_shared_ux_page_no_data.mdx index 9890014bd3bbe..944766e802158 100644 --- a/api_docs/kbn_shared_ux_page_no_data.mdx +++ b/api_docs/kbn_shared_ux_page_no_data.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-no-data title: "@kbn/shared-ux-page-no-data" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-no-data plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-no-data'] --- import kbnSharedUxPageNoDataObj from './kbn_shared_ux_page_no_data.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_no_data_config.mdx b/api_docs/kbn_shared_ux_page_no_data_config.mdx index bd7f51f711c12..418a923ea7cfc 100644 --- a/api_docs/kbn_shared_ux_page_no_data_config.mdx +++ b/api_docs/kbn_shared_ux_page_no_data_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-no-data-config title: "@kbn/shared-ux-page-no-data-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-no-data-config plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-no-data-config'] --- import kbnSharedUxPageNoDataConfigObj from './kbn_shared_ux_page_no_data_config.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_no_data_config_mocks.mdx b/api_docs/kbn_shared_ux_page_no_data_config_mocks.mdx index 7c88df72aa869..cc8f0143857ee 100644 --- a/api_docs/kbn_shared_ux_page_no_data_config_mocks.mdx +++ b/api_docs/kbn_shared_ux_page_no_data_config_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-no-data-config-mocks title: "@kbn/shared-ux-page-no-data-config-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-no-data-config-mocks plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-no-data-config-mocks'] --- import kbnSharedUxPageNoDataConfigMocksObj from './kbn_shared_ux_page_no_data_config_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_no_data_mocks.mdx b/api_docs/kbn_shared_ux_page_no_data_mocks.mdx index bc8a81678ce95..8739839369fbb 100644 --- a/api_docs/kbn_shared_ux_page_no_data_mocks.mdx +++ b/api_docs/kbn_shared_ux_page_no_data_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-no-data-mocks title: "@kbn/shared-ux-page-no-data-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-no-data-mocks plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-no-data-mocks'] --- import kbnSharedUxPageNoDataMocksObj from './kbn_shared_ux_page_no_data_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_solution_nav.mdx b/api_docs/kbn_shared_ux_page_solution_nav.mdx index 4ffb150b915e4..106574c903bb8 100644 --- a/api_docs/kbn_shared_ux_page_solution_nav.mdx +++ b/api_docs/kbn_shared_ux_page_solution_nav.mdx @@ -8,7 +8,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 description: API docs for the @kbn/shared-ux-page-solution-nav plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-solution-nav'] --- import kbnSharedUxPageSolutionNavObj from './kbn_shared_ux_page_solution_nav.devdocs.json'; 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 e7515afc34d6a..e43f46dd298d3 100644 --- a/api_docs/kbn_shared_ux_prompt_no_data_views.mdx +++ b/api_docs/kbn_shared_ux_prompt_no_data_views.mdx @@ -8,7 +8,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 description: API docs for the @kbn/shared-ux-prompt-no-data-views plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-prompt-no-data-views'] --- import kbnSharedUxPromptNoDataViewsObj from './kbn_shared_ux_prompt_no_data_views.devdocs.json'; 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 d41235e875edf..6a38079683938 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 @@ -8,7 +8,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 description: API docs for the @kbn/shared-ux-prompt-no-data-views-mocks plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-prompt-no-data-views-mocks'] --- import kbnSharedUxPromptNoDataViewsMocksObj from './kbn_shared_ux_prompt_no_data_views_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_router.mdx b/api_docs/kbn_shared_ux_router.mdx index 3691a2238d309..202bec3b741b5 100644 --- a/api_docs/kbn_shared_ux_router.mdx +++ b/api_docs/kbn_shared_ux_router.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-router title: "@kbn/shared-ux-router" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-router plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-router'] --- import kbnSharedUxRouterObj from './kbn_shared_ux_router.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_router_mocks.mdx b/api_docs/kbn_shared_ux_router_mocks.mdx index 62d267c82fac8..1aa25e970e8ea 100644 --- a/api_docs/kbn_shared_ux_router_mocks.mdx +++ b/api_docs/kbn_shared_ux_router_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-router-mocks title: "@kbn/shared-ux-router-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-router-mocks plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-router-mocks'] --- import kbnSharedUxRouterMocksObj from './kbn_shared_ux_router_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_storybook_config.mdx b/api_docs/kbn_shared_ux_storybook_config.mdx index 3eb2f5f415aba..9175bd7d34878 100644 --- a/api_docs/kbn_shared_ux_storybook_config.mdx +++ b/api_docs/kbn_shared_ux_storybook_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-storybook-config title: "@kbn/shared-ux-storybook-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-storybook-config plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-storybook-config'] --- import kbnSharedUxStorybookConfigObj from './kbn_shared_ux_storybook_config.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_storybook_mock.mdx b/api_docs/kbn_shared_ux_storybook_mock.mdx index fe50ab8c5bf4e..8c199e7a47ee6 100644 --- a/api_docs/kbn_shared_ux_storybook_mock.mdx +++ b/api_docs/kbn_shared_ux_storybook_mock.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-storybook-mock title: "@kbn/shared-ux-storybook-mock" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-storybook-mock plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-storybook-mock'] --- import kbnSharedUxStorybookMockObj from './kbn_shared_ux_storybook_mock.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_utility.mdx b/api_docs/kbn_shared_ux_utility.mdx index d8181b1eb2c1d..31db6c95984b3 100644 --- a/api_docs/kbn_shared_ux_utility.mdx +++ b/api_docs/kbn_shared_ux_utility.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-utility title: "@kbn/shared-ux-utility" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-utility plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-utility'] --- import kbnSharedUxUtilityObj from './kbn_shared_ux_utility.devdocs.json'; diff --git a/api_docs/kbn_some_dev_log.mdx b/api_docs/kbn_some_dev_log.mdx index c14544eca4ede..daa1e5abdf07f 100644 --- a/api_docs/kbn_some_dev_log.mdx +++ b/api_docs/kbn_some_dev_log.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-some-dev-log title: "@kbn/some-dev-log" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/some-dev-log plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/some-dev-log'] --- import kbnSomeDevLogObj from './kbn_some_dev_log.devdocs.json'; diff --git a/api_docs/kbn_sort_package_json.mdx b/api_docs/kbn_sort_package_json.mdx index 32333c883c08c..dac9486e5e29b 100644 --- a/api_docs/kbn_sort_package_json.mdx +++ b/api_docs/kbn_sort_package_json.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-sort-package-json title: "@kbn/sort-package-json" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/sort-package-json plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/sort-package-json'] --- import kbnSortPackageJsonObj from './kbn_sort_package_json.devdocs.json'; diff --git a/api_docs/kbn_std.mdx b/api_docs/kbn_std.mdx index f49b4a24f9fa5..f9d7f2b4ea645 100644 --- a/api_docs/kbn_std.mdx +++ b/api_docs/kbn_std.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-std title: "@kbn/std" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/std plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/std'] --- import kbnStdObj from './kbn_std.devdocs.json'; diff --git a/api_docs/kbn_stdio_dev_helpers.mdx b/api_docs/kbn_stdio_dev_helpers.mdx index 5ec7f7ac133b4..920779144a8ee 100644 --- a/api_docs/kbn_stdio_dev_helpers.mdx +++ b/api_docs/kbn_stdio_dev_helpers.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-stdio-dev-helpers title: "@kbn/stdio-dev-helpers" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/stdio-dev-helpers plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/stdio-dev-helpers'] --- import kbnStdioDevHelpersObj from './kbn_stdio_dev_helpers.devdocs.json'; diff --git a/api_docs/kbn_storybook.mdx b/api_docs/kbn_storybook.mdx index 8738ec7de8b38..5bf82c0949bd9 100644 --- a/api_docs/kbn_storybook.mdx +++ b/api_docs/kbn_storybook.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-storybook title: "@kbn/storybook" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/storybook plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/storybook'] --- import kbnStorybookObj from './kbn_storybook.devdocs.json'; diff --git a/api_docs/kbn_telemetry_tools.mdx b/api_docs/kbn_telemetry_tools.mdx index 13bf8bb0155d3..599a8fa057390 100644 --- a/api_docs/kbn_telemetry_tools.mdx +++ b/api_docs/kbn_telemetry_tools.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-telemetry-tools title: "@kbn/telemetry-tools" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/telemetry-tools plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/telemetry-tools'] --- import kbnTelemetryToolsObj from './kbn_telemetry_tools.devdocs.json'; diff --git a/api_docs/kbn_test.mdx b/api_docs/kbn_test.mdx index 61f3c487d1ee1..7c490b6e198fb 100644 --- a/api_docs/kbn_test.mdx +++ b/api_docs/kbn_test.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-test title: "@kbn/test" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/test plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/test'] --- import kbnTestObj from './kbn_test.devdocs.json'; diff --git a/api_docs/kbn_test_jest_helpers.mdx b/api_docs/kbn_test_jest_helpers.mdx index 76db67df71413..9f8f7ea3bb618 100644 --- a/api_docs/kbn_test_jest_helpers.mdx +++ b/api_docs/kbn_test_jest_helpers.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-test-jest-helpers title: "@kbn/test-jest-helpers" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/test-jest-helpers plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/test-jest-helpers'] --- import kbnTestJestHelpersObj from './kbn_test_jest_helpers.devdocs.json'; diff --git a/api_docs/kbn_test_subj_selector.mdx b/api_docs/kbn_test_subj_selector.mdx index aa5e32557694b..94de512069883 100644 --- a/api_docs/kbn_test_subj_selector.mdx +++ b/api_docs/kbn_test_subj_selector.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-test-subj-selector title: "@kbn/test-subj-selector" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/test-subj-selector plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/test-subj-selector'] --- import kbnTestSubjSelectorObj from './kbn_test_subj_selector.devdocs.json'; diff --git a/api_docs/kbn_tooling_log.mdx b/api_docs/kbn_tooling_log.mdx index 7fe10cbd6c496..3641b8c885cc1 100644 --- a/api_docs/kbn_tooling_log.mdx +++ b/api_docs/kbn_tooling_log.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-tooling-log title: "@kbn/tooling-log" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/tooling-log plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/tooling-log'] --- import kbnToolingLogObj from './kbn_tooling_log.devdocs.json'; diff --git a/api_docs/kbn_type_summarizer.mdx b/api_docs/kbn_type_summarizer.mdx index a42212019b220..aace1473048a6 100644 --- a/api_docs/kbn_type_summarizer.mdx +++ b/api_docs/kbn_type_summarizer.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-type-summarizer title: "@kbn/type-summarizer" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/type-summarizer plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/type-summarizer'] --- import kbnTypeSummarizerObj from './kbn_type_summarizer.devdocs.json'; diff --git a/api_docs/kbn_type_summarizer_core.mdx b/api_docs/kbn_type_summarizer_core.mdx index 3c99f5f6eb229..640c782e0473d 100644 --- a/api_docs/kbn_type_summarizer_core.mdx +++ b/api_docs/kbn_type_summarizer_core.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-type-summarizer-core title: "@kbn/type-summarizer-core" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/type-summarizer-core plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/type-summarizer-core'] --- import kbnTypeSummarizerCoreObj from './kbn_type_summarizer_core.devdocs.json'; diff --git a/api_docs/kbn_typed_react_router_config.mdx b/api_docs/kbn_typed_react_router_config.mdx index 429296ee2ba4e..331ec9c440ae9 100644 --- a/api_docs/kbn_typed_react_router_config.mdx +++ b/api_docs/kbn_typed_react_router_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-typed-react-router-config title: "@kbn/typed-react-router-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/typed-react-router-config plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/typed-react-router-config'] --- import kbnTypedReactRouterConfigObj from './kbn_typed_react_router_config.devdocs.json'; diff --git a/api_docs/kbn_ui_shared_deps_src.devdocs.json b/api_docs/kbn_ui_shared_deps_src.devdocs.json index aeefda9c3a789..95594baac9f58 100644 --- a/api_docs/kbn_ui_shared_deps_src.devdocs.json +++ b/api_docs/kbn_ui_shared_deps_src.devdocs.json @@ -439,6 +439,17 @@ "deprecated": false, "trackAdoption": false }, + { + "parentPluginId": "@kbn/ui-shared-deps-src", + "id": "def-server.externals.kbnesquery", + "type": "string", + "tags": [], + "label": "'@kbn/es-query'", + "description": [], + "path": "packages/kbn-ui-shared-deps-src/src/definitions.js", + "deprecated": false, + "trackAdoption": false + }, { "parentPluginId": "@kbn/ui-shared-deps-src", "id": "def-server.externals.kbnstd", @@ -493,6 +504,28 @@ "path": "packages/kbn-ui-shared-deps-src/src/definitions.js", "deprecated": false, "trackAdoption": false + }, + { + "parentPluginId": "@kbn/ui-shared-deps-src", + "id": "def-server.externals.tanstackreactquery", + "type": "string", + "tags": [], + "label": "'@tanstack/react-query'", + "description": [], + "path": "packages/kbn-ui-shared-deps-src/src/definitions.js", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/ui-shared-deps-src", + "id": "def-server.externals.tanstackreactquerydevtools", + "type": "string", + "tags": [], + "label": "'@tanstack/react-query-devtools'", + "description": [], + "path": "packages/kbn-ui-shared-deps-src/src/definitions.js", + "deprecated": false, + "trackAdoption": false } ], "initialIsOpen": false diff --git a/api_docs/kbn_ui_shared_deps_src.mdx b/api_docs/kbn_ui_shared_deps_src.mdx index 51fc7bc1290f4..da52a0ffb0163 100644 --- a/api_docs/kbn_ui_shared_deps_src.mdx +++ b/api_docs/kbn_ui_shared_deps_src.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ui-shared-deps-src title: "@kbn/ui-shared-deps-src" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ui-shared-deps-src plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ui-shared-deps-src'] --- import kbnUiSharedDepsSrcObj from './kbn_ui_shared_deps_src.devdocs.json'; @@ -21,7 +21,7 @@ Contact [Owner missing] for questions regarding this plugin. | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 41 | 0 | 32 | 0 | +| 44 | 0 | 35 | 0 | ## Server diff --git a/api_docs/kbn_ui_theme.mdx b/api_docs/kbn_ui_theme.mdx index a7c73d99f8096..9c8c13d3462cc 100644 --- a/api_docs/kbn_ui_theme.mdx +++ b/api_docs/kbn_ui_theme.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ui-theme title: "@kbn/ui-theme" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ui-theme plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ui-theme'] --- import kbnUiThemeObj from './kbn_ui_theme.devdocs.json'; diff --git a/api_docs/kbn_user_profile_components.mdx b/api_docs/kbn_user_profile_components.mdx index 6e676aaf1aeaf..5355e2b5e4753 100644 --- a/api_docs/kbn_user_profile_components.mdx +++ b/api_docs/kbn_user_profile_components.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-user-profile-components title: "@kbn/user-profile-components" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/user-profile-components plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/user-profile-components'] --- import kbnUserProfileComponentsObj from './kbn_user_profile_components.devdocs.json'; diff --git a/api_docs/kbn_utility_types.mdx b/api_docs/kbn_utility_types.mdx index 038c7f5827634..a909c0c6acd59 100644 --- a/api_docs/kbn_utility_types.mdx +++ b/api_docs/kbn_utility_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-utility-types title: "@kbn/utility-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/utility-types plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/utility-types'] --- import kbnUtilityTypesObj from './kbn_utility_types.devdocs.json'; diff --git a/api_docs/kbn_utility_types_jest.mdx b/api_docs/kbn_utility_types_jest.mdx index a26db5a0d25c0..849035953e8ea 100644 --- a/api_docs/kbn_utility_types_jest.mdx +++ b/api_docs/kbn_utility_types_jest.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-utility-types-jest title: "@kbn/utility-types-jest" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/utility-types-jest plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/utility-types-jest'] --- import kbnUtilityTypesJestObj from './kbn_utility_types_jest.devdocs.json'; diff --git a/api_docs/kbn_utils.mdx b/api_docs/kbn_utils.mdx index 80b00b1af3c82..f331c3fccf226 100644 --- a/api_docs/kbn_utils.mdx +++ b/api_docs/kbn_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-utils title: "@kbn/utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/utils plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/utils'] --- import kbnUtilsObj from './kbn_utils.devdocs.json'; diff --git a/api_docs/kbn_yarn_lock_validator.mdx b/api_docs/kbn_yarn_lock_validator.mdx index b06ce1c0c6738..8f60e46595223 100644 --- a/api_docs/kbn_yarn_lock_validator.mdx +++ b/api_docs/kbn_yarn_lock_validator.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-yarn-lock-validator title: "@kbn/yarn-lock-validator" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/yarn-lock-validator plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/yarn-lock-validator'] --- import kbnYarnLockValidatorObj from './kbn_yarn_lock_validator.devdocs.json'; diff --git a/api_docs/kibana_overview.mdx b/api_docs/kibana_overview.mdx index f39c64c5b0059..d39d05d25c7a5 100644 --- a/api_docs/kibana_overview.mdx +++ b/api_docs/kibana_overview.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kibanaOverview title: "kibanaOverview" image: https://source.unsplash.com/400x175/?github description: API docs for the kibanaOverview plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'kibanaOverview'] --- import kibanaOverviewObj from './kibana_overview.devdocs.json'; diff --git a/api_docs/kibana_react.mdx b/api_docs/kibana_react.mdx index b0fffca6f6b93..52cd3f3723871 100644 --- a/api_docs/kibana_react.mdx +++ b/api_docs/kibana_react.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kibanaReact title: "kibanaReact" image: https://source.unsplash.com/400x175/?github description: API docs for the kibanaReact plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'kibanaReact'] --- import kibanaReactObj from './kibana_react.devdocs.json'; diff --git a/api_docs/kibana_utils.mdx b/api_docs/kibana_utils.mdx index e959e755b3251..aaa1918749881 100644 --- a/api_docs/kibana_utils.mdx +++ b/api_docs/kibana_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kibanaUtils title: "kibanaUtils" image: https://source.unsplash.com/400x175/?github description: API docs for the kibanaUtils plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'kibanaUtils'] --- import kibanaUtilsObj from './kibana_utils.devdocs.json'; diff --git a/api_docs/kubernetes_security.mdx b/api_docs/kubernetes_security.mdx index fc42bf43de6fe..7ee870166566f 100644 --- a/api_docs/kubernetes_security.mdx +++ b/api_docs/kubernetes_security.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kubernetesSecurity title: "kubernetesSecurity" image: https://source.unsplash.com/400x175/?github description: API docs for the kubernetesSecurity plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'kubernetesSecurity'] --- import kubernetesSecurityObj from './kubernetes_security.devdocs.json'; diff --git a/api_docs/lens.mdx b/api_docs/lens.mdx index 81f477bc6ff8e..956966f701bc7 100644 --- a/api_docs/lens.mdx +++ b/api_docs/lens.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/lens title: "lens" image: https://source.unsplash.com/400x175/?github description: API docs for the lens plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'lens'] --- import lensObj from './lens.devdocs.json'; diff --git a/api_docs/license_api_guard.mdx b/api_docs/license_api_guard.mdx index 711cb567e74d2..023e15937b792 100644 --- a/api_docs/license_api_guard.mdx +++ b/api_docs/license_api_guard.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/licenseApiGuard title: "licenseApiGuard" image: https://source.unsplash.com/400x175/?github description: API docs for the licenseApiGuard plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'licenseApiGuard'] --- import licenseApiGuardObj from './license_api_guard.devdocs.json'; diff --git a/api_docs/license_management.mdx b/api_docs/license_management.mdx index 11da12226c78d..ff75e31f4ec10 100644 --- a/api_docs/license_management.mdx +++ b/api_docs/license_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/licenseManagement title: "licenseManagement" image: https://source.unsplash.com/400x175/?github description: API docs for the licenseManagement plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'licenseManagement'] --- import licenseManagementObj from './license_management.devdocs.json'; diff --git a/api_docs/licensing.mdx b/api_docs/licensing.mdx index 2f97638609a4a..6230823babf62 100644 --- a/api_docs/licensing.mdx +++ b/api_docs/licensing.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/licensing title: "licensing" image: https://source.unsplash.com/400x175/?github description: API docs for the licensing plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'licensing'] --- import licensingObj from './licensing.devdocs.json'; diff --git a/api_docs/lists.mdx b/api_docs/lists.mdx index d24c5cd968223..53200c1bf1d97 100644 --- a/api_docs/lists.mdx +++ b/api_docs/lists.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/lists title: "lists" image: https://source.unsplash.com/400x175/?github description: API docs for the lists plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'lists'] --- import listsObj from './lists.devdocs.json'; diff --git a/api_docs/management.mdx b/api_docs/management.mdx index e26a5c1e909ca..75c9a8405d000 100644 --- a/api_docs/management.mdx +++ b/api_docs/management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/management title: "management" image: https://source.unsplash.com/400x175/?github description: API docs for the management plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'management'] --- import managementObj from './management.devdocs.json'; diff --git a/api_docs/maps.mdx b/api_docs/maps.mdx index 50db26fd73270..c21b74e8b2cfe 100644 --- a/api_docs/maps.mdx +++ b/api_docs/maps.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/maps title: "maps" image: https://source.unsplash.com/400x175/?github description: API docs for the maps plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'maps'] --- import mapsObj from './maps.devdocs.json'; diff --git a/api_docs/maps_ems.mdx b/api_docs/maps_ems.mdx index 37c3ecaf9e324..8aec70c22eca1 100644 --- a/api_docs/maps_ems.mdx +++ b/api_docs/maps_ems.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/mapsEms title: "mapsEms" image: https://source.unsplash.com/400x175/?github description: API docs for the mapsEms plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'mapsEms'] --- import mapsEmsObj from './maps_ems.devdocs.json'; diff --git a/api_docs/ml.mdx b/api_docs/ml.mdx index 785cad8b7849d..8ea284960ad4d 100644 --- a/api_docs/ml.mdx +++ b/api_docs/ml.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/ml title: "ml" image: https://source.unsplash.com/400x175/?github description: API docs for the ml plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'ml'] --- import mlObj from './ml.devdocs.json'; diff --git a/api_docs/monitoring.mdx b/api_docs/monitoring.mdx index 38686f06a4cdc..8d1e2fa705dea 100644 --- a/api_docs/monitoring.mdx +++ b/api_docs/monitoring.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/monitoring title: "monitoring" image: https://source.unsplash.com/400x175/?github description: API docs for the monitoring plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'monitoring'] --- import monitoringObj from './monitoring.devdocs.json'; diff --git a/api_docs/monitoring_collection.mdx b/api_docs/monitoring_collection.mdx index ff32f29fe5944..929a725d4f4b9 100644 --- a/api_docs/monitoring_collection.mdx +++ b/api_docs/monitoring_collection.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/monitoringCollection title: "monitoringCollection" image: https://source.unsplash.com/400x175/?github description: API docs for the monitoringCollection plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'monitoringCollection'] --- import monitoringCollectionObj from './monitoring_collection.devdocs.json'; diff --git a/api_docs/navigation.mdx b/api_docs/navigation.mdx index 5073c35a400a9..5a49d5e628566 100644 --- a/api_docs/navigation.mdx +++ b/api_docs/navigation.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/navigation title: "navigation" image: https://source.unsplash.com/400x175/?github description: API docs for the navigation plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'navigation'] --- import navigationObj from './navigation.devdocs.json'; diff --git a/api_docs/newsfeed.mdx b/api_docs/newsfeed.mdx index 37ecaa8a9d283..9bcb1145643fc 100644 --- a/api_docs/newsfeed.mdx +++ b/api_docs/newsfeed.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/newsfeed title: "newsfeed" image: https://source.unsplash.com/400x175/?github description: API docs for the newsfeed plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'newsfeed'] --- import newsfeedObj from './newsfeed.devdocs.json'; diff --git a/api_docs/observability.devdocs.json b/api_docs/observability.devdocs.json index 6a02699554b10..df3bdc250f202 100644 --- a/api_docs/observability.devdocs.json +++ b/api_docs/observability.devdocs.json @@ -10445,6 +10445,196 @@ } ] }, + { + "parentPluginId": "observability", + "id": "def-server.uiSettings.apmAWSLambdaPriceFactor", + "type": "Object", + "tags": [], + "label": "[apmAWSLambdaPriceFactor]", + "description": [], + "path": "x-pack/plugins/observability/server/ui_settings.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "observability", + "id": "def-server.uiSettings.apmAWSLambdaPriceFactor.category", + "type": "Array", + "tags": [], + "label": "category", + "description": [], + "signature": [ + "string[]" + ], + "path": "x-pack/plugins/observability/server/ui_settings.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "observability", + "id": "def-server.uiSettings.apmAWSLambdaPriceFactor.name", + "type": "Any", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "any" + ], + "path": "x-pack/plugins/observability/server/ui_settings.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "observability", + "id": "def-server.uiSettings.apmAWSLambdaPriceFactor.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "\"json\"" + ], + "path": "x-pack/plugins/observability/server/ui_settings.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "observability", + "id": "def-server.uiSettings.apmAWSLambdaPriceFactor.value", + "type": "string", + "tags": [], + "label": "value", + "description": [], + "path": "x-pack/plugins/observability/server/ui_settings.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "observability", + "id": "def-server.uiSettings.apmAWSLambdaPriceFactor.description", + "type": "Any", + "tags": [], + "label": "description", + "description": [], + "signature": [ + "any" + ], + "path": "x-pack/plugins/observability/server/ui_settings.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "observability", + "id": "def-server.uiSettings.apmAWSLambdaPriceFactor.schema", + "type": "Object", + "tags": [], + "label": "schema", + "description": [], + "signature": [ + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ObjectType", + "text": "ObjectType" + }, + "<{ arm: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; x86_64: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; }>" + ], + "path": "x-pack/plugins/observability/server/ui_settings.ts", + "deprecated": false, + "trackAdoption": false + } + ] + }, + { + "parentPluginId": "observability", + "id": "def-server.uiSettings.apmAWSLambdaRequestCostPerMillion", + "type": "Object", + "tags": [], + "label": "[apmAWSLambdaRequestCostPerMillion]", + "description": [], + "path": "x-pack/plugins/observability/server/ui_settings.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "observability", + "id": "def-server.uiSettings.apmAWSLambdaRequestCostPerMillion.category", + "type": "Array", + "tags": [], + "label": "category", + "description": [], + "signature": [ + "string[]" + ], + "path": "x-pack/plugins/observability/server/ui_settings.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "observability", + "id": "def-server.uiSettings.apmAWSLambdaRequestCostPerMillion.name", + "type": "Any", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "any" + ], + "path": "x-pack/plugins/observability/server/ui_settings.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "observability", + "id": "def-server.uiSettings.apmAWSLambdaRequestCostPerMillion.value", + "type": "number", + "tags": [], + "label": "value", + "description": [], + "path": "x-pack/plugins/observability/server/ui_settings.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "observability", + "id": "def-server.uiSettings.apmAWSLambdaRequestCostPerMillion.schema", + "type": "Object", + "tags": [], + "label": "schema", + "description": [], + "signature": [ + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "" + ], + "path": "x-pack/plugins/observability/server/ui_settings.ts", + "deprecated": false, + "trackAdoption": false + } + ] + }, { "parentPluginId": "observability", "id": "def-server.uiSettings.enableCriticalPath", @@ -10769,6 +10959,36 @@ } ], "misc": [ + { + "parentPluginId": "observability", + "id": "def-common.apmAWSLambdaPriceFactor", + "type": "string", + "tags": [], + "label": "apmAWSLambdaPriceFactor", + "description": [], + "signature": [ + "\"observability:apmAWSLambdaPriceFactor\"" + ], + "path": "x-pack/plugins/observability/common/ui_settings_keys.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "observability", + "id": "def-common.apmAWSLambdaRequestCostPerMillion", + "type": "string", + "tags": [], + "label": "apmAWSLambdaRequestCostPerMillion", + "description": [], + "signature": [ + "\"observability:apmAWSLambdaRequestCostPerMillion\"" + ], + "path": "x-pack/plugins/observability/common/ui_settings_keys.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, { "parentPluginId": "observability", "id": "def-common.apmLabsButton", diff --git a/api_docs/observability.mdx b/api_docs/observability.mdx index 5cb9a100ab160..c42985a8a2393 100644 --- a/api_docs/observability.mdx +++ b/api_docs/observability.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/observability title: "observability" image: https://source.unsplash.com/400x175/?github description: API docs for the observability plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'observability'] --- import observabilityObj from './observability.devdocs.json'; @@ -21,7 +21,7 @@ Contact [Observability UI](https://github.com/orgs/elastic/teams/observability-u | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 541 | 37 | 538 | 31 | +| 555 | 40 | 552 | 31 | ## Client diff --git a/api_docs/osquery.mdx b/api_docs/osquery.mdx index 65917c0bb9dea..be92d574c9f6a 100644 --- a/api_docs/osquery.mdx +++ b/api_docs/osquery.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/osquery title: "osquery" image: https://source.unsplash.com/400x175/?github description: API docs for the osquery plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'osquery'] --- import osqueryObj from './osquery.devdocs.json'; diff --git a/api_docs/plugin_directory.mdx b/api_docs/plugin_directory.mdx index b050f5c6c380d..ee80d53812762 100644 --- a/api_docs/plugin_directory.mdx +++ b/api_docs/plugin_directory.mdx @@ -7,7 +7,7 @@ id: kibDevDocsPluginDirectory slug: /kibana-dev-docs/api-meta/plugin-api-directory title: Directory description: Directory of public APIs available through plugins or packages. -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana'] --- @@ -21,7 +21,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | API Count | Any Count | Missing comments | Missing exports | |--------------|----------|-----------------|--------| -| 33053 | 511 | 23399 | 1091 | +| 33090 | 514 | 23436 | 1092 | ## Plugin Directory @@ -30,7 +30,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [Response Ops](https://github.com/orgs/elastic/teams/response-ops) | - | 225 | 8 | 220 | 24 | | | [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) | - | 36 | 1 | 32 | 2 | | | [Machine Learning UI](https://github.com/orgs/elastic/teams/ml-ui) | AIOps plugin maintained by ML team. | 9 | 0 | 0 | 2 | -| | [Response Ops](https://github.com/orgs/elastic/teams/response-ops) | - | 382 | 0 | 373 | 26 | +| | [Response Ops](https://github.com/orgs/elastic/teams/response-ops) | - | 383 | 0 | 374 | 26 | | | [APM UI](https://github.com/orgs/elastic/teams/apm-ui) | The user interface for Elastic APM | 38 | 0 | 38 | 56 | | | [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) | - | 9 | 0 | 9 | 0 | | | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | Considering using bfetch capabilities when fetching large amounts of data. This services supports batching HTTP requests and streaming responses back. | 81 | 1 | 72 | 2 | @@ -66,7 +66,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [Enterprise Search](https://github.com/orgs/elastic/teams/enterprise-search-frontend) | Adds dashboards for discovering and managing Enterprise Search products. | 9 | 0 | 9 | 0 | | | [Stack Management](https://github.com/orgs/elastic/teams/kibana-stack-management) | - | 114 | 3 | 110 | 5 | | | [Vis Editors](https://github.com/orgs/elastic/teams/kibana-vis-editors) | The Event Annotation service contains expressions for event annotations | 174 | 31 | 174 | 3 | -| | [Response Ops](https://github.com/orgs/elastic/teams/response-ops) | - | 106 | 0 | 106 | 10 | +| | [Response Ops](https://github.com/orgs/elastic/teams/response-ops) | - | 115 | 0 | 115 | 11 | | | [Kibana Presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | Adds 'error' renderer to expressions | 17 | 0 | 15 | 2 | | | [Vis Editors](https://github.com/orgs/elastic/teams/kibana-vis-editors) | Expression Gauge plugin adds a `gauge` renderer and function to the expression plugin. The renderer will display the `gauge` chart. | 58 | 0 | 58 | 2 | | | [Vis Editors](https://github.com/orgs/elastic/teams/kibana-vis-editors) | Expression Heatmap plugin adds a `heatmap` renderer and function to the expression plugin. The renderer will display the `heatmap` chart. | 108 | 14 | 104 | 3 | @@ -119,7 +119,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [Stack Monitoring](https://github.com/orgs/elastic/teams/stack-monitoring-ui) | - | 9 | 0 | 9 | 0 | | | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | - | 34 | 0 | 34 | 2 | | | [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) | - | 17 | 0 | 17 | 0 | -| | [Observability UI](https://github.com/orgs/elastic/teams/observability-ui) | - | 541 | 37 | 538 | 31 | +| | [Observability UI](https://github.com/orgs/elastic/teams/observability-ui) | - | 555 | 40 | 552 | 31 | | | [Security asset management](https://github.com/orgs/elastic/teams/security-asset-management) | - | 21 | 0 | 21 | 3 | | 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). | 243 | 8 | 187 | 12 | @@ -408,7 +408,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [Owner missing] | Just some helpers for kibana plugin devs. | 1 | 0 | 1 | 0 | | | [Owner missing] | - | 21 | 0 | 10 | 0 | | | [Owner missing] | - | 6 | 0 | 6 | 1 | -| | [Owner missing] | - | 75 | 0 | 72 | 0 | +| | [Owner missing] | - | 85 | 0 | 82 | 0 | | | [Owner missing] | Security Solution auto complete | 56 | 1 | 41 | 1 | | | [Owner missing] | security solution elastic search utilities to use across plugins such lists, security_solution, cases, etc... | 67 | 0 | 61 | 1 | | | [Owner missing] | - | 89 | 0 | 78 | 1 | @@ -469,7 +469,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [Owner missing] | - | 8 | 0 | 2 | 0 | | | [Owner missing] | - | 113 | 1 | 65 | 0 | | | [Owner missing] | - | 83 | 0 | 83 | 1 | -| | [Owner missing] | - | 41 | 0 | 32 | 0 | +| | [Owner missing] | - | 44 | 0 | 35 | 0 | | | [Owner missing] | - | 7 | 0 | 6 | 0 | | | [Owner missing] | - | 55 | 0 | 5 | 0 | | | [Owner missing] | - | 34 | 0 | 14 | 1 | diff --git a/api_docs/presentation_util.mdx b/api_docs/presentation_util.mdx index 1fb911c09c834..834412d903f41 100644 --- a/api_docs/presentation_util.mdx +++ b/api_docs/presentation_util.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/presentationUtil title: "presentationUtil" image: https://source.unsplash.com/400x175/?github description: API docs for the presentationUtil plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'presentationUtil'] --- import presentationUtilObj from './presentation_util.devdocs.json'; diff --git a/api_docs/profiling.mdx b/api_docs/profiling.mdx index 0b1d4fa6bbda1..1c6a8316b50e8 100644 --- a/api_docs/profiling.mdx +++ b/api_docs/profiling.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/profiling title: "profiling" image: https://source.unsplash.com/400x175/?github description: API docs for the profiling plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'profiling'] --- import profilingObj from './profiling.devdocs.json'; diff --git a/api_docs/remote_clusters.mdx b/api_docs/remote_clusters.mdx index aa8485f17127e..fa81fafe3be76 100644 --- a/api_docs/remote_clusters.mdx +++ b/api_docs/remote_clusters.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/remoteClusters title: "remoteClusters" image: https://source.unsplash.com/400x175/?github description: API docs for the remoteClusters plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'remoteClusters'] --- import remoteClustersObj from './remote_clusters.devdocs.json'; diff --git a/api_docs/reporting.mdx b/api_docs/reporting.mdx index a195cda653022..0b3844a14e7c4 100644 --- a/api_docs/reporting.mdx +++ b/api_docs/reporting.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/reporting title: "reporting" image: https://source.unsplash.com/400x175/?github description: API docs for the reporting plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'reporting'] --- import reportingObj from './reporting.devdocs.json'; diff --git a/api_docs/rollup.mdx b/api_docs/rollup.mdx index d28120921daab..4159132bb0bff 100644 --- a/api_docs/rollup.mdx +++ b/api_docs/rollup.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/rollup title: "rollup" image: https://source.unsplash.com/400x175/?github description: API docs for the rollup plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'rollup'] --- import rollupObj from './rollup.devdocs.json'; diff --git a/api_docs/rule_registry.mdx b/api_docs/rule_registry.mdx index 1fb56c4ac93dc..c485a74657dc4 100644 --- a/api_docs/rule_registry.mdx +++ b/api_docs/rule_registry.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/ruleRegistry title: "ruleRegistry" image: https://source.unsplash.com/400x175/?github description: API docs for the ruleRegistry plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'ruleRegistry'] --- import ruleRegistryObj from './rule_registry.devdocs.json'; diff --git a/api_docs/runtime_fields.mdx b/api_docs/runtime_fields.mdx index 794acdc6eb7d0..e62fdb13b533b 100644 --- a/api_docs/runtime_fields.mdx +++ b/api_docs/runtime_fields.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/runtimeFields title: "runtimeFields" image: https://source.unsplash.com/400x175/?github description: API docs for the runtimeFields plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'runtimeFields'] --- import runtimeFieldsObj from './runtime_fields.devdocs.json'; diff --git a/api_docs/saved_objects.mdx b/api_docs/saved_objects.mdx index bc5a24028432e..2cdb3842170e9 100644 --- a/api_docs/saved_objects.mdx +++ b/api_docs/saved_objects.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/savedObjects title: "savedObjects" image: https://source.unsplash.com/400x175/?github description: API docs for the savedObjects plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'savedObjects'] --- import savedObjectsObj from './saved_objects.devdocs.json'; diff --git a/api_docs/saved_objects_finder.mdx b/api_docs/saved_objects_finder.mdx index 463626508323f..d3942c9bd1f36 100644 --- a/api_docs/saved_objects_finder.mdx +++ b/api_docs/saved_objects_finder.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/savedObjectsFinder title: "savedObjectsFinder" image: https://source.unsplash.com/400x175/?github description: API docs for the savedObjectsFinder plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'savedObjectsFinder'] --- import savedObjectsFinderObj from './saved_objects_finder.devdocs.json'; diff --git a/api_docs/saved_objects_management.mdx b/api_docs/saved_objects_management.mdx index f80f550314738..7aca372c0de02 100644 --- a/api_docs/saved_objects_management.mdx +++ b/api_docs/saved_objects_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/savedObjectsManagement title: "savedObjectsManagement" image: https://source.unsplash.com/400x175/?github description: API docs for the savedObjectsManagement plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'savedObjectsManagement'] --- import savedObjectsManagementObj from './saved_objects_management.devdocs.json'; diff --git a/api_docs/saved_objects_tagging.mdx b/api_docs/saved_objects_tagging.mdx index 244aced5f4046..6b21819c9d050 100644 --- a/api_docs/saved_objects_tagging.mdx +++ b/api_docs/saved_objects_tagging.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/savedObjectsTagging title: "savedObjectsTagging" image: https://source.unsplash.com/400x175/?github description: API docs for the savedObjectsTagging plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'savedObjectsTagging'] --- import savedObjectsTaggingObj from './saved_objects_tagging.devdocs.json'; diff --git a/api_docs/saved_objects_tagging_oss.mdx b/api_docs/saved_objects_tagging_oss.mdx index d878d16734aac..95d6c1876f643 100644 --- a/api_docs/saved_objects_tagging_oss.mdx +++ b/api_docs/saved_objects_tagging_oss.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/savedObjectsTaggingOss title: "savedObjectsTaggingOss" image: https://source.unsplash.com/400x175/?github description: API docs for the savedObjectsTaggingOss plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'savedObjectsTaggingOss'] --- import savedObjectsTaggingOssObj from './saved_objects_tagging_oss.devdocs.json'; diff --git a/api_docs/saved_search.mdx b/api_docs/saved_search.mdx index 109985ae02a74..8f2558df28879 100644 --- a/api_docs/saved_search.mdx +++ b/api_docs/saved_search.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/savedSearch title: "savedSearch" image: https://source.unsplash.com/400x175/?github description: API docs for the savedSearch plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'savedSearch'] --- import savedSearchObj from './saved_search.devdocs.json'; diff --git a/api_docs/screenshot_mode.mdx b/api_docs/screenshot_mode.mdx index 18dfcdb88f716..2ee5af5f55904 100644 --- a/api_docs/screenshot_mode.mdx +++ b/api_docs/screenshot_mode.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/screenshotMode title: "screenshotMode" image: https://source.unsplash.com/400x175/?github description: API docs for the screenshotMode plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'screenshotMode'] --- import screenshotModeObj from './screenshot_mode.devdocs.json'; diff --git a/api_docs/screenshotting.mdx b/api_docs/screenshotting.mdx index e6007a1d7e1d3..e40a161cab9d8 100644 --- a/api_docs/screenshotting.mdx +++ b/api_docs/screenshotting.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/screenshotting title: "screenshotting" image: https://source.unsplash.com/400x175/?github description: API docs for the screenshotting plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'screenshotting'] --- import screenshottingObj from './screenshotting.devdocs.json'; diff --git a/api_docs/security.mdx b/api_docs/security.mdx index 21cf94dc27211..1cd9e1917d2f5 100644 --- a/api_docs/security.mdx +++ b/api_docs/security.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/security title: "security" image: https://source.unsplash.com/400x175/?github description: API docs for the security plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'security'] --- import securityObj from './security.devdocs.json'; diff --git a/api_docs/security_solution.devdocs.json b/api_docs/security_solution.devdocs.json index d9495a9805ecb..7b70697e0be38 100644 --- a/api_docs/security_solution.devdocs.json +++ b/api_docs/security_solution.devdocs.json @@ -64,7 +64,7 @@ "label": "experimentalFeatures", "description": [], "signature": [ - "{ readonly tGridEnabled: boolean; readonly tGridEventRenderedViewEnabled: boolean; readonly excludePoliciesInFilterEnabled: boolean; readonly kubernetesEnabled: boolean; readonly disableIsolationUIPendingStatuses: boolean; readonly pendingActionResponsesWithAck: boolean; readonly policyListEnabled: boolean; readonly policyResponseInFleetEnabled: boolean; readonly previewTelemetryUrlEnabled: boolean; readonly responseActionsConsoleEnabled: boolean; readonly insightsRelatedAlertsByProcessAncestry: boolean; readonly extendedRuleExecutionLoggingEnabled: boolean; readonly socTrendsEnabled: boolean; readonly responseActionsEnabled: boolean; readonly endpointRbacEnabled: boolean; readonly endpointRbacV1Enabled: boolean; readonly guidedOnboarding: boolean; }" + "{ readonly tGridEnabled: boolean; readonly tGridEventRenderedViewEnabled: boolean; readonly excludePoliciesInFilterEnabled: boolean; readonly kubernetesEnabled: boolean; readonly disableIsolationUIPendingStatuses: boolean; readonly pendingActionResponsesWithAck: boolean; readonly policyListEnabled: boolean; readonly policyResponseInFleetEnabled: boolean; readonly previewTelemetryUrlEnabled: boolean; readonly responseActionsConsoleEnabled: boolean; readonly insightsRelatedAlertsByProcessAncestry: boolean; readonly extendedRuleExecutionLoggingEnabled: boolean; readonly socTrendsEnabled: boolean; readonly responseActionsEnabled: boolean; readonly endpointRbacEnabled: boolean; readonly endpointRbacV1Enabled: boolean; readonly guidedOnboarding: boolean; readonly alertDetailsPageEnabled: boolean; }" ], "path": "x-pack/plugins/security_solution/public/plugin.tsx", "deprecated": false, @@ -2002,7 +2002,7 @@ "label": "ConfigType", "description": [], "signature": [ - "Readonly<{} & { signalsIndex: string; maxRuleImportExportSize: number; maxRuleImportPayloadBytes: number; maxTimelineImportExportSize: number; maxTimelineImportPayloadBytes: number; alertMergeStrategy: \"allFields\" | \"missingFields\" | \"noFields\"; alertIgnoreFields: string[]; enableExperimental: string[]; packagerTaskInterval: string; prebuiltRulesFromFileSystem: boolean; prebuiltRulesFromSavedObjects: boolean; }> & { experimentalFeatures: Readonly<{ tGridEnabled: boolean; tGridEventRenderedViewEnabled: boolean; excludePoliciesInFilterEnabled: boolean; kubernetesEnabled: boolean; disableIsolationUIPendingStatuses: boolean; pendingActionResponsesWithAck: boolean; policyListEnabled: boolean; policyResponseInFleetEnabled: boolean; previewTelemetryUrlEnabled: boolean; responseActionsConsoleEnabled: boolean; insightsRelatedAlertsByProcessAncestry: boolean; extendedRuleExecutionLoggingEnabled: boolean; socTrendsEnabled: boolean; responseActionsEnabled: boolean; endpointRbacEnabled: boolean; endpointRbacV1Enabled: boolean; guidedOnboarding: boolean; }>; }" + "Readonly<{} & { signalsIndex: string; maxRuleImportExportSize: number; maxRuleImportPayloadBytes: number; maxTimelineImportExportSize: number; maxTimelineImportPayloadBytes: number; alertMergeStrategy: \"allFields\" | \"missingFields\" | \"noFields\"; alertIgnoreFields: string[]; enableExperimental: string[]; packagerTaskInterval: string; prebuiltRulesFromFileSystem: boolean; prebuiltRulesFromSavedObjects: boolean; }> & { experimentalFeatures: Readonly<{ tGridEnabled: boolean; tGridEventRenderedViewEnabled: boolean; excludePoliciesInFilterEnabled: boolean; kubernetesEnabled: boolean; disableIsolationUIPendingStatuses: boolean; pendingActionResponsesWithAck: boolean; policyListEnabled: boolean; policyResponseInFleetEnabled: boolean; previewTelemetryUrlEnabled: boolean; responseActionsConsoleEnabled: boolean; insightsRelatedAlertsByProcessAncestry: boolean; extendedRuleExecutionLoggingEnabled: boolean; socTrendsEnabled: boolean; responseActionsEnabled: boolean; endpointRbacEnabled: boolean; endpointRbacV1Enabled: boolean; guidedOnboarding: boolean; alertDetailsPageEnabled: boolean; }>; }" ], "path": "x-pack/plugins/security_solution/server/config.ts", "deprecated": false, diff --git a/api_docs/security_solution.mdx b/api_docs/security_solution.mdx index 078713ae9573b..fc356d331efac 100644 --- a/api_docs/security_solution.mdx +++ b/api_docs/security_solution.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/securitySolution title: "securitySolution" image: https://source.unsplash.com/400x175/?github description: API docs for the securitySolution plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'securitySolution'] --- import securitySolutionObj from './security_solution.devdocs.json'; diff --git a/api_docs/session_view.mdx b/api_docs/session_view.mdx index 53df7d487e680..a9a540693e03e 100644 --- a/api_docs/session_view.mdx +++ b/api_docs/session_view.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/sessionView title: "sessionView" image: https://source.unsplash.com/400x175/?github description: API docs for the sessionView plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'sessionView'] --- import sessionViewObj from './session_view.devdocs.json'; diff --git a/api_docs/share.mdx b/api_docs/share.mdx index cf815db50a110..601c5a85029ba 100644 --- a/api_docs/share.mdx +++ b/api_docs/share.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/share title: "share" image: https://source.unsplash.com/400x175/?github description: API docs for the share plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'share'] --- import shareObj from './share.devdocs.json'; diff --git a/api_docs/snapshot_restore.mdx b/api_docs/snapshot_restore.mdx index c43aa484d38eb..ff03dd109b86f 100644 --- a/api_docs/snapshot_restore.mdx +++ b/api_docs/snapshot_restore.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/snapshotRestore title: "snapshotRestore" image: https://source.unsplash.com/400x175/?github description: API docs for the snapshotRestore plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'snapshotRestore'] --- import snapshotRestoreObj from './snapshot_restore.devdocs.json'; diff --git a/api_docs/spaces.mdx b/api_docs/spaces.mdx index 8a752d5aa4aa1..958ac2c02de8f 100644 --- a/api_docs/spaces.mdx +++ b/api_docs/spaces.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/spaces title: "spaces" image: https://source.unsplash.com/400x175/?github description: API docs for the spaces plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'spaces'] --- import spacesObj from './spaces.devdocs.json'; diff --git a/api_docs/stack_alerts.mdx b/api_docs/stack_alerts.mdx index c421363975805..446ce8f2ef53c 100644 --- a/api_docs/stack_alerts.mdx +++ b/api_docs/stack_alerts.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/stackAlerts title: "stackAlerts" image: https://source.unsplash.com/400x175/?github description: API docs for the stackAlerts plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'stackAlerts'] --- import stackAlertsObj from './stack_alerts.devdocs.json'; diff --git a/api_docs/stack_connectors.mdx b/api_docs/stack_connectors.mdx index 127672e5722c1..cf6538ca9011a 100644 --- a/api_docs/stack_connectors.mdx +++ b/api_docs/stack_connectors.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/stackConnectors title: "stackConnectors" image: https://source.unsplash.com/400x175/?github description: API docs for the stackConnectors plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'stackConnectors'] --- import stackConnectorsObj from './stack_connectors.devdocs.json'; diff --git a/api_docs/task_manager.mdx b/api_docs/task_manager.mdx index 54bf2456dc550..c9ea42abeabe9 100644 --- a/api_docs/task_manager.mdx +++ b/api_docs/task_manager.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/taskManager title: "taskManager" image: https://source.unsplash.com/400x175/?github description: API docs for the taskManager plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'taskManager'] --- import taskManagerObj from './task_manager.devdocs.json'; diff --git a/api_docs/telemetry.mdx b/api_docs/telemetry.mdx index 960741ec019d9..b82a55fc67fe5 100644 --- a/api_docs/telemetry.mdx +++ b/api_docs/telemetry.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/telemetry title: "telemetry" image: https://source.unsplash.com/400x175/?github description: API docs for the telemetry plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'telemetry'] --- import telemetryObj from './telemetry.devdocs.json'; diff --git a/api_docs/telemetry_collection_manager.mdx b/api_docs/telemetry_collection_manager.mdx index afa4101d77eae..1d3581a1377e4 100644 --- a/api_docs/telemetry_collection_manager.mdx +++ b/api_docs/telemetry_collection_manager.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/telemetryCollectionManager title: "telemetryCollectionManager" image: https://source.unsplash.com/400x175/?github description: API docs for the telemetryCollectionManager plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'telemetryCollectionManager'] --- import telemetryCollectionManagerObj from './telemetry_collection_manager.devdocs.json'; diff --git a/api_docs/telemetry_collection_xpack.mdx b/api_docs/telemetry_collection_xpack.mdx index 4f9334d4cd268..cb55fb5dca9db 100644 --- a/api_docs/telemetry_collection_xpack.mdx +++ b/api_docs/telemetry_collection_xpack.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/telemetryCollectionXpack title: "telemetryCollectionXpack" image: https://source.unsplash.com/400x175/?github description: API docs for the telemetryCollectionXpack plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'telemetryCollectionXpack'] --- import telemetryCollectionXpackObj from './telemetry_collection_xpack.devdocs.json'; diff --git a/api_docs/telemetry_management_section.mdx b/api_docs/telemetry_management_section.mdx index a2bdc6c2645e6..a10b4eb42293f 100644 --- a/api_docs/telemetry_management_section.mdx +++ b/api_docs/telemetry_management_section.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/telemetryManagementSection title: "telemetryManagementSection" image: https://source.unsplash.com/400x175/?github description: API docs for the telemetryManagementSection plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'telemetryManagementSection'] --- import telemetryManagementSectionObj from './telemetry_management_section.devdocs.json'; diff --git a/api_docs/threat_intelligence.mdx b/api_docs/threat_intelligence.mdx index f3b71a66b37d1..ecc74b099500a 100644 --- a/api_docs/threat_intelligence.mdx +++ b/api_docs/threat_intelligence.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/threatIntelligence title: "threatIntelligence" image: https://source.unsplash.com/400x175/?github description: API docs for the threatIntelligence plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'threatIntelligence'] --- import threatIntelligenceObj from './threat_intelligence.devdocs.json'; diff --git a/api_docs/timelines.mdx b/api_docs/timelines.mdx index 8b7b83f0b005b..705156c9237ef 100644 --- a/api_docs/timelines.mdx +++ b/api_docs/timelines.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/timelines title: "timelines" image: https://source.unsplash.com/400x175/?github description: API docs for the timelines plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'timelines'] --- import timelinesObj from './timelines.devdocs.json'; diff --git a/api_docs/transform.mdx b/api_docs/transform.mdx index 4ebcd6c410e8b..85479a09c16bc 100644 --- a/api_docs/transform.mdx +++ b/api_docs/transform.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/transform title: "transform" image: https://source.unsplash.com/400x175/?github description: API docs for the transform plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'transform'] --- import transformObj from './transform.devdocs.json'; diff --git a/api_docs/triggers_actions_ui.devdocs.json b/api_docs/triggers_actions_ui.devdocs.json index 91a3589884340..85c037770352c 100644 --- a/api_docs/triggers_actions_ui.devdocs.json +++ b/api_docs/triggers_actions_ui.devdocs.json @@ -1095,7 +1095,7 @@ "label": "loadActionErrorLog", "description": [], "signature": [ - "({ id, http, dateStart, dateEnd, runId, message, perPage, page, sort, }: ", + "({ id, http, dateStart, dateEnd, runId, message, perPage, page, sort, namespace, withAuth, }: ", "LoadActionErrorLogProps", " & { http: ", { @@ -1124,7 +1124,7 @@ "id": "def-public.loadActionErrorLog.$1", "type": "CompoundType", "tags": [], - "label": "{\n id,\n http,\n dateStart,\n dateEnd,\n runId,\n message,\n perPage = 10,\n page = 0,\n sort,\n}", + "label": "{\n id,\n http,\n dateStart,\n dateEnd,\n runId,\n message,\n perPage = 10,\n page = 0,\n sort,\n namespace,\n withAuth = false,\n}", "description": [], "signature": [ "LoadActionErrorLogProps", @@ -3399,7 +3399,7 @@ "description": [], "signature": [ "BasicFields", - " & { tags?: string[] | undefined; kibana?: string[] | undefined; \"@timestamp\"?: string[] | undefined; \"kibana.alert.rule.rule_type_id\"?: string[] | undefined; \"kibana.alert.rule.consumer\"?: string[] | undefined; \"event.action\"?: string[] | undefined; \"kibana.alert.rule.execution.uuid\"?: string[] | undefined; \"kibana.alert\"?: string[] | undefined; \"kibana.alert.rule\"?: string[] | undefined; \"kibana.alert.rule.parameters\"?: string[] | undefined; \"kibana.alert.rule.producer\"?: string[] | undefined; \"kibana.space_ids\"?: string[] | undefined; \"kibana.alert.uuid\"?: string[] | undefined; \"kibana.alert.instance.id\"?: string[] | undefined; \"kibana.alert.start\"?: string[] | undefined; \"kibana.alert.time_range\"?: string[] | undefined; \"kibana.alert.end\"?: string[] | undefined; \"kibana.alert.duration.us\"?: string[] | undefined; \"kibana.alert.severity\"?: string[] | undefined; \"kibana.alert.status\"?: string[] | undefined; \"kibana.version\"?: string[] | undefined; \"ecs.version\"?: string[] | undefined; \"kibana.alert.risk_score\"?: string[] | undefined; \"kibana.alert.workflow_status\"?: string[] | undefined; \"kibana.alert.workflow_user\"?: string[] | undefined; \"kibana.alert.workflow_reason\"?: string[] | undefined; \"kibana.alert.system_status\"?: string[] | undefined; \"kibana.alert.action_group\"?: string[] | undefined; \"kibana.alert.reason\"?: string[] | undefined; \"kibana.alert.rule.author\"?: string[] | undefined; \"kibana.alert.rule.category\"?: string[] | undefined; \"kibana.alert.rule.uuid\"?: string[] | undefined; \"kibana.alert.rule.created_at\"?: string[] | undefined; \"kibana.alert.rule.created_by\"?: string[] | undefined; \"kibana.alert.rule.description\"?: string[] | undefined; \"kibana.alert.rule.enabled\"?: string[] | undefined; \"kibana.alert.rule.from\"?: string[] | undefined; \"kibana.alert.rule.interval\"?: string[] | undefined; \"kibana.alert.rule.license\"?: string[] | undefined; \"kibana.alert.rule.name\"?: string[] | undefined; \"kibana.alert.rule.note\"?: string[] | undefined; \"kibana.alert.rule.references\"?: string[] | undefined; \"kibana.alert.rule.rule_id\"?: string[] | undefined; \"kibana.alert.rule.rule_name_override\"?: string[] | undefined; \"kibana.alert.rule.tags\"?: string[] | undefined; \"kibana.alert.rule.to\"?: string[] | undefined; \"kibana.alert.rule.type\"?: string[] | undefined; \"kibana.alert.rule.updated_at\"?: string[] | undefined; \"kibana.alert.rule.updated_by\"?: string[] | undefined; \"kibana.alert.rule.version\"?: string[] | undefined; \"event.kind\"?: string[] | undefined; \"event.module\"?: string[] | undefined; \"kibana.alert.evaluation.threshold\"?: string[] | undefined; \"kibana.alert.evaluation.value\"?: string[] | undefined; \"kibana.alert.building_block_type\"?: string[] | undefined; \"kibana.alert.rule.exceptions_list\"?: string[] | undefined; \"kibana.alert.rule.namespace\"?: string[] | undefined; } & { [x: string]: unknown[]; }" + " & { tags?: string[] | undefined; kibana?: string[] | undefined; \"@timestamp\"?: string[] | undefined; \"kibana.alert.rule.rule_type_id\"?: string[] | undefined; \"kibana.alert.rule.consumer\"?: string[] | undefined; \"event.action\"?: string[] | undefined; \"kibana.alert.rule.execution.uuid\"?: string[] | undefined; \"kibana.alert\"?: string[] | undefined; \"kibana.alert.rule\"?: string[] | undefined; \"kibana.alert.rule.parameters\"?: string[] | undefined; \"kibana.alert.rule.producer\"?: string[] | undefined; \"kibana.space_ids\"?: string[] | undefined; \"kibana.alert.uuid\"?: string[] | undefined; \"kibana.alert.instance.id\"?: string[] | undefined; \"kibana.alert.start\"?: string[] | undefined; \"kibana.alert.time_range\"?: string[] | undefined; \"kibana.alert.end\"?: string[] | undefined; \"kibana.alert.duration.us\"?: string[] | undefined; \"kibana.alert.severity\"?: string[] | undefined; \"kibana.alert.status\"?: string[] | undefined; \"kibana.version\"?: string[] | undefined; \"ecs.version\"?: string[] | undefined; \"kibana.alert.risk_score\"?: string[] | undefined; \"kibana.alert.workflow_status\"?: string[] | undefined; \"kibana.alert.workflow_user\"?: string[] | undefined; \"kibana.alert.workflow_reason\"?: string[] | undefined; \"kibana.alert.system_status\"?: string[] | undefined; \"kibana.alert.action_group\"?: string[] | undefined; \"kibana.alert.reason\"?: string[] | undefined; \"kibana.alert.rule.author\"?: string[] | undefined; \"kibana.alert.rule.category\"?: string[] | undefined; \"kibana.alert.rule.uuid\"?: string[] | undefined; \"kibana.alert.rule.created_at\"?: string[] | undefined; \"kibana.alert.rule.created_by\"?: string[] | undefined; \"kibana.alert.rule.description\"?: string[] | undefined; \"kibana.alert.rule.enabled\"?: string[] | undefined; \"kibana.alert.rule.from\"?: string[] | undefined; \"kibana.alert.rule.interval\"?: string[] | undefined; \"kibana.alert.rule.license\"?: string[] | undefined; \"kibana.alert.rule.name\"?: string[] | undefined; \"kibana.alert.rule.note\"?: string[] | undefined; \"kibana.alert.rule.references\"?: string[] | undefined; \"kibana.alert.rule.rule_id\"?: string[] | undefined; \"kibana.alert.rule.rule_name_override\"?: string[] | undefined; \"kibana.alert.rule.tags\"?: string[] | undefined; \"kibana.alert.rule.to\"?: string[] | undefined; \"kibana.alert.rule.type\"?: string[] | undefined; \"kibana.alert.rule.updated_at\"?: string[] | undefined; \"kibana.alert.rule.updated_by\"?: string[] | undefined; \"kibana.alert.rule.version\"?: string[] | undefined; \"event.kind\"?: string[] | undefined; \"event.module\"?: string[] | undefined; \"kibana.alert.evaluation.threshold\"?: string[] | undefined; \"kibana.alert.evaluation.value\"?: string[] | undefined; \"kibana.alert.building_block_type\"?: string[] | undefined; \"kibana.alert.rule.exceptions_list\"?: string[] | undefined; \"kibana.alert.rule.namespace\"?: string[] | undefined; \"kibana.alert.rule.threat.framework\"?: string[] | undefined; \"kibana.alert.rule.threat.tactic.id\"?: string[] | undefined; \"kibana.alert.rule.threat.tactic.name\"?: string[] | undefined; \"kibana.alert.rule.threat.tactic.reference\"?: string[] | undefined; \"kibana.alert.rule.threat.technique.id\"?: string[] | undefined; \"kibana.alert.rule.threat.technique.name\"?: string[] | undefined; \"kibana.alert.rule.threat.technique.reference\"?: string[] | undefined; \"kibana.alert.rule.threat.technique.subtechnique.id\"?: string[] | undefined; \"kibana.alert.rule.threat.technique.subtechnique.name\"?: string[] | undefined; \"kibana.alert.rule.threat.technique.subtechnique.reference\"?: string[] | undefined; } & { [x: string]: unknown[]; }" ], "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", "deprecated": false, diff --git a/api_docs/triggers_actions_ui.mdx b/api_docs/triggers_actions_ui.mdx index 7e50384f3ca7f..ab6d925417176 100644 --- a/api_docs/triggers_actions_ui.mdx +++ b/api_docs/triggers_actions_ui.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/triggersActionsUi title: "triggersActionsUi" image: https://source.unsplash.com/400x175/?github description: API docs for the triggersActionsUi plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'triggersActionsUi'] --- import triggersActionsUiObj from './triggers_actions_ui.devdocs.json'; diff --git a/api_docs/ui_actions.mdx b/api_docs/ui_actions.mdx index 0990c05001d01..3fa9fd4f16c91 100644 --- a/api_docs/ui_actions.mdx +++ b/api_docs/ui_actions.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/uiActions title: "uiActions" image: https://source.unsplash.com/400x175/?github description: API docs for the uiActions plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'uiActions'] --- import uiActionsObj from './ui_actions.devdocs.json'; diff --git a/api_docs/ui_actions_enhanced.mdx b/api_docs/ui_actions_enhanced.mdx index 4d9965a921087..49f9aeb5e01e8 100644 --- a/api_docs/ui_actions_enhanced.mdx +++ b/api_docs/ui_actions_enhanced.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/uiActionsEnhanced title: "uiActionsEnhanced" image: https://source.unsplash.com/400x175/?github description: API docs for the uiActionsEnhanced plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'uiActionsEnhanced'] --- import uiActionsEnhancedObj from './ui_actions_enhanced.devdocs.json'; diff --git a/api_docs/unified_field_list.mdx b/api_docs/unified_field_list.mdx index 0fd2f7b77814a..749598b467874 100644 --- a/api_docs/unified_field_list.mdx +++ b/api_docs/unified_field_list.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/unifiedFieldList title: "unifiedFieldList" image: https://source.unsplash.com/400x175/?github description: API docs for the unifiedFieldList plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'unifiedFieldList'] --- import unifiedFieldListObj from './unified_field_list.devdocs.json'; diff --git a/api_docs/unified_histogram.mdx b/api_docs/unified_histogram.mdx index 6d1182c4e79fc..6b484ff311cce 100644 --- a/api_docs/unified_histogram.mdx +++ b/api_docs/unified_histogram.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/unifiedHistogram title: "unifiedHistogram" image: https://source.unsplash.com/400x175/?github description: API docs for the unifiedHistogram plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'unifiedHistogram'] --- import unifiedHistogramObj from './unified_histogram.devdocs.json'; diff --git a/api_docs/unified_search.mdx b/api_docs/unified_search.mdx index 3fd368c4511a3..db9143d35659e 100644 --- a/api_docs/unified_search.mdx +++ b/api_docs/unified_search.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/unifiedSearch title: "unifiedSearch" image: https://source.unsplash.com/400x175/?github description: API docs for the unifiedSearch plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'unifiedSearch'] --- import unifiedSearchObj from './unified_search.devdocs.json'; diff --git a/api_docs/unified_search_autocomplete.mdx b/api_docs/unified_search_autocomplete.mdx index 1f92259c7acb1..2d6f336b88fdc 100644 --- a/api_docs/unified_search_autocomplete.mdx +++ b/api_docs/unified_search_autocomplete.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/unifiedSearch-autocomplete title: "unifiedSearch.autocomplete" image: https://source.unsplash.com/400x175/?github description: API docs for the unifiedSearch.autocomplete plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'unifiedSearch.autocomplete'] --- import unifiedSearchAutocompleteObj from './unified_search_autocomplete.devdocs.json'; diff --git a/api_docs/url_forwarding.mdx b/api_docs/url_forwarding.mdx index 7e6b24221d81f..288e3537bf6c9 100644 --- a/api_docs/url_forwarding.mdx +++ b/api_docs/url_forwarding.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/urlForwarding title: "urlForwarding" image: https://source.unsplash.com/400x175/?github description: API docs for the urlForwarding plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'urlForwarding'] --- import urlForwardingObj from './url_forwarding.devdocs.json'; diff --git a/api_docs/usage_collection.mdx b/api_docs/usage_collection.mdx index e427c39dab56e..8f96f8151449e 100644 --- a/api_docs/usage_collection.mdx +++ b/api_docs/usage_collection.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/usageCollection title: "usageCollection" image: https://source.unsplash.com/400x175/?github description: API docs for the usageCollection plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'usageCollection'] --- import usageCollectionObj from './usage_collection.devdocs.json'; diff --git a/api_docs/ux.mdx b/api_docs/ux.mdx index fcccdee65836d..582351fc56994 100644 --- a/api_docs/ux.mdx +++ b/api_docs/ux.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/ux title: "ux" image: https://source.unsplash.com/400x175/?github description: API docs for the ux plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'ux'] --- import uxObj from './ux.devdocs.json'; diff --git a/api_docs/vis_default_editor.mdx b/api_docs/vis_default_editor.mdx index 803140abcb812..b76f552f28ff7 100644 --- a/api_docs/vis_default_editor.mdx +++ b/api_docs/vis_default_editor.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visDefaultEditor title: "visDefaultEditor" image: https://source.unsplash.com/400x175/?github description: API docs for the visDefaultEditor plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visDefaultEditor'] --- import visDefaultEditorObj from './vis_default_editor.devdocs.json'; diff --git a/api_docs/vis_type_gauge.mdx b/api_docs/vis_type_gauge.mdx index 569bab78f6479..538653fb0e665 100644 --- a/api_docs/vis_type_gauge.mdx +++ b/api_docs/vis_type_gauge.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeGauge title: "visTypeGauge" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeGauge plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeGauge'] --- import visTypeGaugeObj from './vis_type_gauge.devdocs.json'; diff --git a/api_docs/vis_type_heatmap.mdx b/api_docs/vis_type_heatmap.mdx index 62ea35efa43d4..e90bc3786feb5 100644 --- a/api_docs/vis_type_heatmap.mdx +++ b/api_docs/vis_type_heatmap.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeHeatmap title: "visTypeHeatmap" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeHeatmap plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeHeatmap'] --- import visTypeHeatmapObj from './vis_type_heatmap.devdocs.json'; diff --git a/api_docs/vis_type_pie.mdx b/api_docs/vis_type_pie.mdx index a528eb0aeb823..9ab0f154bb46a 100644 --- a/api_docs/vis_type_pie.mdx +++ b/api_docs/vis_type_pie.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypePie title: "visTypePie" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypePie plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypePie'] --- import visTypePieObj from './vis_type_pie.devdocs.json'; diff --git a/api_docs/vis_type_table.mdx b/api_docs/vis_type_table.mdx index 0b581b56644ac..7ae0e3acdd248 100644 --- a/api_docs/vis_type_table.mdx +++ b/api_docs/vis_type_table.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeTable title: "visTypeTable" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeTable plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeTable'] --- import visTypeTableObj from './vis_type_table.devdocs.json'; diff --git a/api_docs/vis_type_timelion.mdx b/api_docs/vis_type_timelion.mdx index d4330ef7d0332..7e1ecc59bbdac 100644 --- a/api_docs/vis_type_timelion.mdx +++ b/api_docs/vis_type_timelion.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeTimelion title: "visTypeTimelion" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeTimelion plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeTimelion'] --- import visTypeTimelionObj from './vis_type_timelion.devdocs.json'; diff --git a/api_docs/vis_type_timeseries.mdx b/api_docs/vis_type_timeseries.mdx index c657aefeebbc1..3535d667ce19a 100644 --- a/api_docs/vis_type_timeseries.mdx +++ b/api_docs/vis_type_timeseries.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeTimeseries title: "visTypeTimeseries" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeTimeseries plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeTimeseries'] --- import visTypeTimeseriesObj from './vis_type_timeseries.devdocs.json'; diff --git a/api_docs/vis_type_vega.mdx b/api_docs/vis_type_vega.mdx index 4e066474dbb94..cfeffdc0255f8 100644 --- a/api_docs/vis_type_vega.mdx +++ b/api_docs/vis_type_vega.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeVega title: "visTypeVega" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeVega plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeVega'] --- import visTypeVegaObj from './vis_type_vega.devdocs.json'; diff --git a/api_docs/vis_type_vislib.mdx b/api_docs/vis_type_vislib.mdx index f5a7cf0c227f4..69a0288f5d2d5 100644 --- a/api_docs/vis_type_vislib.mdx +++ b/api_docs/vis_type_vislib.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeVislib title: "visTypeVislib" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeVislib plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeVislib'] --- import visTypeVislibObj from './vis_type_vislib.devdocs.json'; diff --git a/api_docs/vis_type_xy.mdx b/api_docs/vis_type_xy.mdx index d3d3b380862cf..0eb36d7a76f58 100644 --- a/api_docs/vis_type_xy.mdx +++ b/api_docs/vis_type_xy.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeXy title: "visTypeXy" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeXy plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeXy'] --- import visTypeXyObj from './vis_type_xy.devdocs.json'; diff --git a/api_docs/visualizations.mdx b/api_docs/visualizations.mdx index d4147111f1bd7..dc40695f4d720 100644 --- a/api_docs/visualizations.mdx +++ b/api_docs/visualizations.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visualizations title: "visualizations" image: https://source.unsplash.com/400x175/?github description: API docs for the visualizations plugin -date: 2022-10-31 +date: 2022-11-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visualizations'] --- import visualizationsObj from './visualizations.devdocs.json'; From f5acf76351faa3a15af993ffad6582a5a29e55fa Mon Sep 17 00:00:00 2001 From: John Dorlus Date: Tue, 1 Nov 2022 01:14:21 -0400 Subject: [PATCH 068/111] CCS Smoke Test for Remote Clusters and Index Management (#142423) * Removed comment of the issue that was referenced for the skip. But the tests were already skipped. * Added initial tests and page objects for remtoe clusters. * [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix' * Fixed the test and test names. * removed exclusive suite. * [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix' * Fixed i18n issue. * [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix' * Added more testing stuff. * [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix' * Added more testing stuff. * [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix' * Added test and stuff. * [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix' * Fixed the tests. The only things to update now are the permissions so we stop using super user and also need to fix the cleanup. * [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix' * Fixed accessibility test to use new ccr page function. * Fixed an error in checks. * Restored original settings. * Adjusted cleanup. * Removed exclusive suite. * Removed unused variable. * Removed unused variable. * Working with perms. * Fixes per comments in PR. * added follower index user. * [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix' * Added comment about super user issue. * Removed the console.log. * Fixed nits per PR. * Removed extra assertion. Co-authored-by: cuffs Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> --- .../connection_status/connection_status.js | 8 +- .../remote_cluster_table.js | 56 +++++++-- .../apps/cross_cluster_replication.ts | 6 +- .../remote_clusters_index_management_flow.ts | 114 ++++++++++++++++++ x-pack/test/functional/config.base.js | 27 +++++ x-pack/test/functional/config.ccs.ts | 4 +- .../cross_cluster_replication_page.ts | 19 ++- .../page_objects/index_management_page.ts | 52 +++++--- .../page_objects/remote_clusters_page.ts | 26 ++++ 9 files changed, 278 insertions(+), 34 deletions(-) create mode 100644 x-pack/test/functional/apps/remote_clusters/ccs/remote_clusters_index_management_flow.ts diff --git a/x-pack/plugins/remote_clusters/public/application/sections/remote_cluster_list/components/connection_status/connection_status.js b/x-pack/plugins/remote_clusters/public/application/sections/remote_cluster_list/components/connection_status/connection_status.js index 5202683e3417f..73dc09898ba2c 100644 --- a/x-pack/plugins/remote_clusters/public/application/sections/remote_cluster_list/components/connection_status/connection_status.js +++ b/x-pack/plugins/remote_clusters/public/application/sections/remote_cluster_list/components/connection_status/connection_status.js @@ -41,11 +41,15 @@ export function ConnectionStatus({ isConnected, mode }) { return ( - {icon} + + {icon} + - {message} + + {message} + {!isConnected && mode === SNIFF_MODE && ( diff --git a/x-pack/plugins/remote_clusters/public/application/sections/remote_cluster_list/remote_cluster_table/remote_cluster_table.js b/x-pack/plugins/remote_clusters/public/application/sections/remote_cluster_list/remote_cluster_table/remote_cluster_table.js index 35c51268f71e8..83b85aaefd785 100644 --- a/x-pack/plugins/remote_clusters/public/application/sections/remote_cluster_list/remote_cluster_table/remote_cluster_table.js +++ b/x-pack/plugins/remote_clusters/public/application/sections/remote_cluster_list/remote_cluster_table/remote_cluster_table.js @@ -19,6 +19,7 @@ import { EuiInMemoryTable, EuiLink, EuiToolTip, + EuiText, } from '@elastic/eui'; import { reactRouterNavigate } from '@kbn/kibana-react-plugin/public'; import { UIM_SHOW_DETAILS_CLICK } from '../../../constants'; @@ -205,24 +206,47 @@ export class RemoteClusterTable extends Component { defaultMessage: 'Mode', }), sortable: true, - render: (mode) => + render: (mode) => { + let modeMessage; mode === PROXY_MODE - ? mode - : i18n.translate('xpack.remoteClusters.remoteClusterList.table.sniffModeDescription', { - defaultMessage: 'default', - }), + ? (modeMessage = mode) + : (modeMessage = i18n.translate( + 'xpack.remoteClusters.remoteClusterList.table.sniffModeDescription', + { + defaultMessage: 'default', + } + )); + const modeMessageComponent = ( + + + {modeMessage} + + + ); + return modeMessageComponent; + }, }, { field: 'mode', name: i18n.translate('xpack.remoteClusters.remoteClusterList.table.addressesColumnTitle', { defaultMessage: 'Addresses', }), + dataTestSubj: 'remoteClustersAddress', truncateText: true, render: (mode, { seeds, proxyAddress }) => { - if (mode === PROXY_MODE) { - return proxyAddress; - } - return seeds.join(', '); + const clusterAddressString = mode === PROXY_MODE ? proxyAddress : seeds.join(', '); + const connectionMode = ( + + + {clusterAddressString} + + + ); + return connectionMode; }, }, { @@ -236,10 +260,16 @@ export class RemoteClusterTable extends Component { sortable: true, width: '160px', render: (mode, { connectedNodesCount, connectedSocketsCount }) => { - if (mode === PROXY_MODE) { - return connectedSocketsCount; - } - return connectedNodesCount; + const remoteNodesCount = + mode === PROXY_MODE ? connectedSocketsCount : connectedNodesCount; + const connectionMode = ( + + + {remoteNodesCount} + + + ); + return connectionMode; }, }, { diff --git a/x-pack/test/accessibility/apps/cross_cluster_replication.ts b/x-pack/test/accessibility/apps/cross_cluster_replication.ts index e3cbc4d48f845..8081c8fd142b0 100644 --- a/x-pack/test/accessibility/apps/cross_cluster_replication.ts +++ b/x-pack/test/accessibility/apps/cross_cluster_replication.ts @@ -46,7 +46,11 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await PageObjects.common.navigateToApp('crossClusterReplication'); await PageObjects.crossClusterReplication.clickCreateFollowerIndexButton(); await a11y.testAppSnapshot(); - await PageObjects.crossClusterReplication.createFollowerIndex(testLeader, testFollower); + await PageObjects.crossClusterReplication.createFollowerIndex( + testLeader, + testFollower, + false + ); }); it('follower index flyout', async () => { // https://github.com/elastic/kibana/issues/135503 diff --git a/x-pack/test/functional/apps/remote_clusters/ccs/remote_clusters_index_management_flow.ts b/x-pack/test/functional/apps/remote_clusters/ccs/remote_clusters_index_management_flow.ts new file mode 100644 index 0000000000000..a0b35cbe1c2ef --- /dev/null +++ b/x-pack/test/functional/apps/remote_clusters/ccs/remote_clusters_index_management_flow.ts @@ -0,0 +1,114 @@ +/* + * 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 expect from '@kbn/expect'; +import { FtrProviderContext } from '../../../ftr_provider_context'; + +export default ({ getPageObjects, getService }: FtrProviderContext) => { + const pageObjects = getPageObjects([ + 'common', + 'remoteClusters', + 'indexManagement', + 'crossClusterReplication', + ]); + const security = getService('security'); + const retry = getService('retry'); + const testSubjects = getService('testSubjects'); + const remoteEs = getService('remoteEs' as 'es'); + const localEs = getService('es'); + + describe('CCS Remote Clusters > Index Management', function () { + const leaderName = 'my-index'; + const followerName = 'my-follower'; + before(async () => { + await security.testUser.setRoles(['superuser']); + // This test is temporarily using superuser because of an issue with the permissions + // of the follower index creation wizard. There is an open issue to address the issue. + // We can change the permissions to use follower_index_user once the issue is fixed. + // https://github.com/elastic/kibana/issues/143720 + // await security.testUser.setRoles(['follower_index_user']); + }); + + describe('Remote Clusters', function () { + before(async () => { + await pageObjects.common.navigateToApp('remoteClusters'); + }); + + it('Verify "ftr-remote" remote cluster exists', async () => { + await retry.waitFor('table to be visible', async () => { + return await testSubjects.isDisplayed('remoteClusterListTable'); + }); + const remotes = await pageObjects.remoteClusters.getRemoteClustersList(); + expect(remotes.length).to.eql(1); + expect(remotes[0].remoteName).to.eql('ftr-remote'); + expect(remotes[0].remoteAddress).to.contain('localhost'); + expect(remotes[0].remoteStatus).to.eql('Connected'); + expect(remotes[0].remoteConnectionCount).to.eql('1'); + expect(remotes[0].remoteMode).to.eql('default'); + }); + }); + + describe('Cross Cluster Replication', function () { + before(async () => { + await remoteEs.indices.create({ + index: leaderName, + body: { + settings: { number_of_shards: 1, soft_deletes: { enabled: true } }, + }, + }); + await pageObjects.common.navigateToApp('crossClusterReplication'); + await retry.waitFor('indices table to be visible', async () => { + return await testSubjects.isDisplayed('createFollowerIndexButton'); + }); + }); + it('Create Follower Index', async () => { + await pageObjects.crossClusterReplication.clickCreateFollowerIndexButton(); + await pageObjects.crossClusterReplication.createFollowerIndex( + leaderName, + followerName, + true, + '1s' + ); + }); + }); + describe('Index Management', function () { + before(async () => { + await remoteEs.index({ + index: leaderName, + body: { a: 'b' }, + }); + await pageObjects.common.navigateToApp('indexManagement'); + await retry.waitForWithTimeout('indice table to be visible', 15000, async () => { + return await testSubjects.isDisplayed('indicesList'); + }); + }); + it('Verify that the follower index is duplicating from the remote.', async () => { + await pageObjects.indexManagement.clickIndiceAt(0); + await pageObjects.indexManagement.performIndexActionInDetailPanel('flush'); + await testSubjects.click('euiFlyoutCloseButton'); + await pageObjects.common.navigateToApp('indexManagement'); + await retry.waitForWithTimeout('indice table to be visible', 15000, async () => { + return await testSubjects.isDisplayed('indicesList'); + }); + + const indicesList = await pageObjects.indexManagement.getIndexList(); + const followerIndex = indicesList[0]; + expect(followerIndex.indexDocuments).to.eql('1'); + }); + }); + + after(async () => { + await localEs.indices.delete({ + index: followerName, + }); + await remoteEs.indices.delete({ + index: leaderName, + }); + await security.testUser.restoreDefaults(); + }); + }); +}; diff --git a/x-pack/test/functional/config.base.js b/x-pack/test/functional/config.base.js index 11ba4d6ebd447..f9953dc861ea0 100644 --- a/x-pack/test/functional/config.base.js +++ b/x-pack/test/functional/config.base.js @@ -499,6 +499,33 @@ export default async function ({ readConfigFile }) { cluster: ['manage', 'manage_ccr'], }, }, + // There is an issue open for follower_index_user permissions not working correctly + // in kibana. + // https://github.com/elastic/kibana/issues/143720 + // follower_index_user: { + // elasticsearch: { + // cluster: ['monitor', 'manage', 'manage_ccr', 'transport_client', 'read_ccr', 'all'], + // indices: [ + // { + // names: ['*'], + // privileges: [ + // 'write', + // 'monitor', + // 'manage_follow_index', + // 'manage_leader_index', + // 'read', + // 'view_index_metadata', + // ], + // }, + // ], + // }, + // kibana: [ + // { + // base: ['all'], + // spaces: ['*'], + // }, + // ], + // }, manage_ilm: { elasticsearch: { diff --git a/x-pack/test/functional/config.ccs.ts b/x-pack/test/functional/config.ccs.ts index d04b542cfb965..62f988d8f2f02 100644 --- a/x-pack/test/functional/config.ccs.ts +++ b/x-pack/test/functional/config.ccs.ts @@ -18,6 +18,7 @@ export default async function ({ readConfigFile }: FtrConfigProviderContext) { testFiles: [ require.resolve('./apps/canvas'), require.resolve('./apps/lens/group1'), + require.resolve('./apps/remote_clusters/ccs/remote_clusters_index_management_flow'), require.resolve('./apps/rollup_job'), ], @@ -29,10 +30,11 @@ export default async function ({ readConfigFile }: FtrConfigProviderContext) { ...functionalConfig.get('security'), remoteEsRoles: { ccs_remote_search: { + cluster: ['manage', 'manage_ccr'], indices: [ { names: ['*'], - privileges: ['read', 'view_index_metadata', 'read_cross_cluster'], + privileges: ['read', 'view_index_metadata', 'read_cross_cluster', 'monitor'], }, ], }, diff --git a/x-pack/test/functional/page_objects/cross_cluster_replication_page.ts b/x-pack/test/functional/page_objects/cross_cluster_replication_page.ts index c51b764f2de06..558de0f6e6412 100644 --- a/x-pack/test/functional/page_objects/cross_cluster_replication_page.ts +++ b/x-pack/test/functional/page_objects/cross_cluster_replication_page.ts @@ -39,9 +39,23 @@ export function CrossClusterReplicationPageProvider({ getService }: FtrProviderC return await testSubjects.isDisplayed('nameInput'); }); }, - async createFollowerIndex(leader: string, follower: string) { + async createFollowerIndex( + leader: string, + follower: string, + advancedSettings: boolean = false, + readPollTimeout?: string + ) { await testSubjects.setValue('leaderIndexInput', leader); await testSubjects.setValue('followerIndexInput', follower); + if (advancedSettings) { + await this.clickAdvancedSettingsToggle(); + await retry.waitFor('advanced settings to be shown', async () => { + return await testSubjects.isDisplayed('readPollTimeoutInput'); + }); + if (readPollTimeout) { + await testSubjects.setValue('readPollTimeoutInput', readPollTimeout); + } + } await testSubjects.click('submitButton'); await retry.waitForWithTimeout('follower index to be in table', 45000, async () => { return await testSubjects.isDisplayed('maxReadReqSize'); @@ -55,5 +69,8 @@ export function CrossClusterReplicationPageProvider({ getService }: FtrProviderC return await testSubjects.isDisplayed('settingsValues'); }); }, + async clickAdvancedSettingsToggle() { + await testSubjects.click('advancedSettingsToggle'); + }, }; } diff --git a/x-pack/test/functional/page_objects/index_management_page.ts b/x-pack/test/functional/page_objects/index_management_page.ts index fc2382eb5a931..6872b9449a2eb 100644 --- a/x-pack/test/functional/page_objects/index_management_page.ts +++ b/x-pack/test/functional/page_objects/index_management_page.ts @@ -41,26 +41,46 @@ export function IndexManagementPageProvider({ getService }: FtrProviderContext) }); }, + async performIndexActionInDetailPanel(action: string) { + await this.clickContextMenuInDetailPanel(); + if (action === 'flush') { + await testSubjects.click('flushIndexMenuButton'); + } + }, + + async clickContextMenuInDetailPanel() { + await testSubjects.click('indexActionsContextMenuButton'); + }, + async getIndexList() { const table = await find.byCssSelector('table'); - const $ = await table.parseDomContent(); - const indexList = await $.findTestSubjects('indexTableRow') - .toArray() - .map((row) => { + const rows = await table.findAllByTestSubject('indexTableRow'); + return await Promise.all( + rows.map(async (row) => { return { - indexName: $(row).findTestSubject('indexTableIndexNameLink').text(), - indexHealth: $(row).findTestSubject('indexTableCell-health').text(), - indexStatus: $(row).findTestSubject('indexTableCell-status').text(), - indexPrimary: $(row).findTestSubject('indexTableCell-primary').text(), - indexReplicas: $(row).findTestSubject('indexTableCell-replica').text(), - indexDocuments: $(row) - .findTestSubject('indexTableCell-documents') - .text() - .replace('documents', ''), - indexSize: $(row).findTestSubject('indexTableCell-size').text(), + indexLink: await row.findByTestSubject('indexTableIndexNameLink'), + indexName: await ( + await row.findByTestSubject('indexTableIndexNameLink') + ).getVisibleText(), + indexHealth: await ( + await row.findByTestSubject('indexTableCell-health') + ).getVisibleText(), + indexStatus: await ( + await row.findByTestSubject('indexTableCell-status') + ).getVisibleText(), + indexPrimary: await ( + await row.findByTestSubject('indexTableCell-primary') + ).getVisibleText(), + indexReplicas: await ( + await row.findByTestSubject('indexTableCell-replica') + ).getVisibleText(), + indexDocuments: await ( + await (await row.findByTestSubject('indexTableCell-documents')).getVisibleText() + ).replace('documents', ''), + indexSize: await (await row.findByTestSubject('indexTableCell-size')).getVisibleText(), }; - }); - return indexList; + }) + ); }, async changeTabs( diff --git a/x-pack/test/functional/page_objects/remote_clusters_page.ts b/x-pack/test/functional/page_objects/remote_clusters_page.ts index 9dfa2db9ce6e8..b6ce2eb4a39bd 100644 --- a/x-pack/test/functional/page_objects/remote_clusters_page.ts +++ b/x-pack/test/functional/page_objects/remote_clusters_page.ts @@ -31,5 +31,31 @@ export function RemoteClustersPageProvider({ getService }: FtrProviderContext) { await comboBox.setCustom('comboBoxInput', seedNode); await testSubjects.click('remoteClusterFormSaveButton'); }, + async getRemoteClustersList() { + const table = await testSubjects.find('remoteClusterListTable'); + const rows = await table.findAllByCssSelector('.euiTableRow'); + return await Promise.all( + rows.map(async (row) => { + return { + remoteLink: await row.findByTestSubject('remoteClustersTableListClusterLink'), + remoteName: await ( + await row.findByTestSubject('remoteClustersTableListClusterLink') + ).getVisibleText(), + remoteStatus: await ( + await row.findByTestSubject('remoteClusterConnectionStatusMessage') + ).getVisibleText(), + remoteMode: await ( + await row.findByTestSubject('remoteClusterConnectionModeMessage') + ).getVisibleText(), + remoteAddress: await ( + await row.findByTestSubject('remoteClusterConnectionAddressMessage') + ).getVisibleText(), + remoteConnectionCount: await ( + await row.findByTestSubject('remoteClusterNodeCountMessage') + ).getVisibleText(), + }; + }) + ); + }, }; } From 9456303c97b8b479de1ef1abcab1d7305c84f918 Mon Sep 17 00:00:00 2001 From: Michael Dokolin Date: Tue, 1 Nov 2022 08:54:33 +0100 Subject: [PATCH 069/111] [Monaco] Add JSON syntax support to the Monaco editor (#143739) * Add JSON syntax support to the Monaco editor * Bump `monaco-editor` version * Fix the `monaco` package and usages to initialize lazily * Add a story demonstrating JSON schema usage --- package.json | 2 +- packages/kbn-monaco/src/helpers.ts | 10 +-- packages/kbn-monaco/src/monaco_imports.ts | 1 + packages/kbn-monaco/src/register_globals.ts | 5 +- packages/kbn-monaco/src/worker.d.ts | 14 ++++ packages/kbn-monaco/src/xjson/language.ts | 37 +++++----- packages/kbn-monaco/webpack.config.js | 72 +++++++++---------- .../code_editor/code_editor.stories.tsx | 35 +++++++++ .../public/code_editor/code_editor.test.tsx | 33 ++++++--- .../components/expression_input/language.ts | 6 +- .../formula/editor/math_tokenization.tsx | 6 +- yarn.lock | 8 +-- 12 files changed, 146 insertions(+), 83 deletions(-) create mode 100644 packages/kbn-monaco/src/worker.d.ts diff --git a/package.json b/package.json index 1bb692e36df8d..eef3f24151e16 100644 --- a/package.json +++ b/package.json @@ -558,7 +558,7 @@ "moment": "^2.29.4", "moment-duration-format": "^2.3.2", "moment-timezone": "^0.5.34", - "monaco-editor": "^0.22.3", + "monaco-editor": "^0.24.0", "mustache": "^2.3.2", "node-fetch": "^2.6.7", "node-forge": "^1.3.1", diff --git a/packages/kbn-monaco/src/helpers.ts b/packages/kbn-monaco/src/helpers.ts index 25040bc1a55f1..defdd00d6fdc1 100644 --- a/packages/kbn-monaco/src/helpers.ts +++ b/packages/kbn-monaco/src/helpers.ts @@ -12,10 +12,12 @@ function registerLanguage(language: LangModuleType) { const { ID, lexerRules, languageConfiguration } = language; monaco.languages.register({ id: ID }); - monaco.languages.setMonarchTokensProvider(ID, lexerRules); - if (languageConfiguration) { - monaco.languages.setLanguageConfiguration(ID, languageConfiguration); - } + monaco.languages.onLanguage(ID, () => { + monaco.languages.setMonarchTokensProvider(ID, lexerRules); + if (languageConfiguration) { + monaco.languages.setLanguageConfiguration(ID, languageConfiguration); + } + }); } export { registerLanguage }; diff --git a/packages/kbn-monaco/src/monaco_imports.ts b/packages/kbn-monaco/src/monaco_imports.ts index 6a08c25b6347a..07a24c8c8bd2e 100644 --- a/packages/kbn-monaco/src/monaco_imports.ts +++ b/packages/kbn-monaco/src/monaco_imports.ts @@ -23,6 +23,7 @@ import 'monaco-editor/esm/vs/editor/contrib/hover/hover.js'; // Needed for hover import 'monaco-editor/esm/vs/editor/contrib/parameterHints/parameterHints.js'; // Needed for signature import 'monaco-editor/esm/vs/editor/contrib/bracketMatching/bracketMatching.js'; // Needed for brackets matching highlight +import 'monaco-editor/esm/vs/language/json/monaco.contribution.js'; import 'monaco-editor/esm/vs/basic-languages/javascript/javascript.contribution.js'; // Needed for basic javascript support import 'monaco-editor/esm/vs/basic-languages/xml/xml.contribution.js'; // Needed for basic xml support diff --git a/packages/kbn-monaco/src/register_globals.ts b/packages/kbn-monaco/src/register_globals.ts index 54fc26cbf76dd..8a69b05b9425f 100644 --- a/packages/kbn-monaco/src/register_globals.ts +++ b/packages/kbn-monaco/src/register_globals.ts @@ -12,11 +12,9 @@ import { EsqlLang } from './esql'; import { monaco } from './monaco_imports'; import { registerLanguage } from './helpers'; -// @ts-ignore +import jsonWorkerSrc from '!!raw-loader!../../target_workers/json.editor.worker.js'; import xJsonWorkerSrc from '!!raw-loader!../../target_workers/xjson.editor.worker.js'; -// @ts-ignore import defaultWorkerSrc from '!!raw-loader!../../target_workers/default.editor.worker.js'; -// @ts-ignore import painlessWorkerSrc from '!!raw-loader!../../target_workers/painless.editor.worker.js'; /** @@ -32,6 +30,7 @@ registerLanguage(EsqlLang); const mapLanguageIdToWorker: { [key: string]: any } = { [XJsonLang.ID]: xJsonWorkerSrc, [PainlessLang.ID]: painlessWorkerSrc, + [monaco.languages.json.jsonDefaults.languageId]: jsonWorkerSrc, }; // @ts-ignore diff --git a/packages/kbn-monaco/src/worker.d.ts b/packages/kbn-monaco/src/worker.d.ts new file mode 100644 index 0000000000000..6544070c684d8 --- /dev/null +++ b/packages/kbn-monaco/src/worker.d.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 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. + */ + +declare module '!!raw-loader!*.editor.worker.js' { + const contents: string; + + // eslint-disable-next-line import/no-default-export + export default contents; +} diff --git a/packages/kbn-monaco/src/xjson/language.ts b/packages/kbn-monaco/src/xjson/language.ts index 017ae0a8c590b..6ec9b1149c707 100644 --- a/packages/kbn-monaco/src/xjson/language.ts +++ b/packages/kbn-monaco/src/xjson/language.ts @@ -12,16 +12,12 @@ import { monaco } from '../monaco_imports'; import { WorkerProxyService } from './worker_proxy_service'; import { ID } from './constants'; -const wps = new WorkerProxyService(); +const OWNER = 'XJSON_GRAMMAR_CHECKER'; monaco.languages.onLanguage(ID, async () => { - return wps.setup(); -}); - -const OWNER = 'XJSON_GRAMMAR_CHECKER'; + const wps = new WorkerProxyService(); -export const registerGrammarChecker = () => { - const allDisposables: monaco.IDisposable[] = []; + wps.setup(); const updateAnnotations = async (model: monaco.editor.IModel): Promise => { if (model.isDisposed()) { @@ -50,21 +46,20 @@ export const registerGrammarChecker = () => { }; const onModelAdd = (model: monaco.editor.IModel) => { - if (model.getModeId() === ID) { - allDisposables.push( - model.onDidChangeContent(async () => { - updateAnnotations(model); - }) - ); + if (model.getModeId() !== ID) { + return; + } + const { dispose } = model.onDidChangeContent(async () => { updateAnnotations(model); - } - }; - allDisposables.push(monaco.editor.onDidCreateModel(onModelAdd)); - return () => { - wps.stop(); - allDisposables.forEach((d) => d.dispose()); + }); + + model.onWillDispose(() => { + dispose(); + }); + + updateAnnotations(model); }; -}; -registerGrammarChecker(); + monaco.editor.onDidCreateModel(onModelAdd); +}); diff --git a/packages/kbn-monaco/webpack.config.js b/packages/kbn-monaco/webpack.config.js index d35c60b155475..8c6f82cdb21f5 100644 --- a/packages/kbn-monaco/webpack.config.js +++ b/packages/kbn-monaco/webpack.config.js @@ -8,43 +8,43 @@ const path = require('path'); -const createLangWorkerConfig = (lang) => { - const entry = - lang === 'default' - ? 'monaco-editor/esm/vs/editor/editor.worker.js' - : path.resolve(__dirname, 'src', lang, 'worker', `${lang}.worker.ts`); +const getWorkerEntry = (language) => { + switch (language) { + case 'default': + return 'monaco-editor/esm/vs/editor/editor.worker.js'; + case 'json': + return 'monaco-editor/esm/vs/language/json/json.worker.js'; + default: + return path.resolve(__dirname, 'src', language, 'worker', `${language}.worker.ts`); + } +}; - return { - mode: 'production', - entry, - output: { - path: path.resolve(__dirname, 'target_workers'), - filename: `${lang}.editor.worker.js`, - }, - resolve: { - extensions: ['.js', '.ts', '.tsx'], - }, - stats: 'errors-only', - module: { - rules: [ - { - test: /\.(js|ts)$/, - exclude: /node_modules/, - use: { - loader: 'babel-loader', - options: { - babelrc: false, - presets: [require.resolve('@kbn/babel-preset/webpack_preset')], - }, +const getWorkerConfig = (language) => ({ + mode: 'production', + entry: getWorkerEntry(language), + output: { + path: path.resolve(__dirname, 'target_workers'), + filename: `${language}.editor.worker.js`, + }, + resolve: { + extensions: ['.js', '.ts', '.tsx'], + }, + stats: 'errors-only', + module: { + rules: [ + { + test: /\.(js|ts)$/, + exclude: /node_modules/, + use: { + loader: 'babel-loader', + options: { + babelrc: false, + presets: [require.resolve('@kbn/babel-preset/webpack_preset')], }, }, - ], - }, - }; -}; + }, + ], + }, +}); -module.exports = [ - createLangWorkerConfig('xjson'), - createLangWorkerConfig('painless'), - createLangWorkerConfig('default'), -]; +module.exports = ['default', 'json', 'painless', 'xjson'].map(getWorkerConfig); diff --git a/src/plugins/kibana_react/public/code_editor/code_editor.stories.tsx b/src/plugins/kibana_react/public/code_editor/code_editor.stories.tsx index c85e03c433d67..b6edbbd1da976 100644 --- a/src/plugins/kibana_react/public/code_editor/code_editor.stories.tsx +++ b/src/plugins/kibana_react/public/code_editor/code_editor.stories.tsx @@ -238,4 +238,39 @@ storiesOf('CodeEditor', module) text: 'Hover dialog example can be triggered by hovering over a word', }, } + ) + .add( + 'json support', + () => ( +
+ { + monacoEditor.languages.json.jsonDefaults.setDiagnosticsOptions({ + validate: true, + schemas: [ + { + uri: editor.getModel()?.uri.toString() ?? '', + fileMatch: ['*'], + schema: { + type: 'object', + properties: { + version: { + enum: ['v1', 'v2'], + }, + }, + }, + }, + ], + }); + }} + height={250} + value="{}" + onChange={action('onChange')} + /> +
+ ), + { + info: { text: 'JSON language support' }, + } ); diff --git a/src/plugins/kibana_react/public/code_editor/code_editor.test.tsx b/src/plugins/kibana_react/public/code_editor/code_editor.test.tsx index 97a8d8a849083..6d9b4f4ce384f 100644 --- a/src/plugins/kibana_react/public/code_editor/code_editor.test.tsx +++ b/src/plugins/kibana_react/public/code_editor/code_editor.test.tsx @@ -34,23 +34,36 @@ const simpleLogLang: monaco.languages.IMonarchLanguage = { }, }; -monaco.languages.register({ id: 'loglang' }); -monaco.languages.setMonarchTokensProvider('loglang', simpleLogLang); - const logs = ` [Sun Mar 7 20:54:27 2004] [notice] [client xx.xx.xx.xx] This is a notice! [Sun Mar 7 20:58:27 2004] [info] [client xx.xx.xx.xx] (104)Connection reset by peer: client stopped connection before send body completed [Sun Mar 7 21:16:17 2004] [error] [client xx.xx.xx.xx] File does not exist: /home/httpd/twiki/view/Main/WebHome `; -class ResizeObserver { - observe() {} - unobserve() {} - disconnect() {} -} - describe('', () => { - window.ResizeObserver = ResizeObserver; + beforeAll(() => { + Object.defineProperty(window, 'matchMedia', { + writable: true, + value: jest.fn().mockImplementation((query) => ({ + matches: false, + media: query, + onchange: null, + addListener: jest.fn(), // deprecated + removeListener: jest.fn(), // deprecated + addEventListener: jest.fn(), + removeEventListener: jest.fn(), + dispatchEvent: jest.fn(), + })), + }); + window.ResizeObserver = class ResizeObserver { + observe() {} + unobserve() {} + disconnect() {} + }; + + monaco.languages.register({ id: 'loglang' }); + monaco.languages.setMonarchTokensProvider('loglang', simpleLogLang); + }); test('is rendered', () => { const component = mountWithIntl( diff --git a/src/plugins/presentation_util/public/components/expression_input/language.ts b/src/plugins/presentation_util/public/components/expression_input/language.ts index 03b868af42aaa..8f50ae97fa83d 100644 --- a/src/plugins/presentation_util/public/components/expression_input/language.ts +++ b/src/plugins/presentation_util/public/components/expression_input/language.ts @@ -115,6 +115,8 @@ const expressionsLanguage: ExpressionsLanguage = { export function registerExpressionsLanguage(functions: ExpressionFunction[]) { expressionsLanguage.keywords = functions.map((fn) => fn.name); expressionsLanguage.deprecated = functions.filter((fn) => fn.deprecated).map((fn) => fn.name); - monaco.languages.register({ id: EXPRESSIONS_LANGUAGE_ID }); - monaco.languages.setMonarchTokensProvider(EXPRESSIONS_LANGUAGE_ID, expressionsLanguage); + monaco.languages.onLanguage(EXPRESSIONS_LANGUAGE_ID, () => { + monaco.languages.register({ id: EXPRESSIONS_LANGUAGE_ID }); + monaco.languages.setMonarchTokensProvider(EXPRESSIONS_LANGUAGE_ID, expressionsLanguage); + }); } diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/formula/editor/math_tokenization.tsx b/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/formula/editor/math_tokenization.tsx index 17394560f8031..275a540b3c4d8 100644 --- a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/formula/editor/math_tokenization.tsx +++ b/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/formula/editor/math_tokenization.tsx @@ -62,5 +62,7 @@ export const lexerRules = { }, } as monaco.languages.IMonarchLanguage; -monaco.languages.setMonarchTokensProvider(LANGUAGE_ID, lexerRules); -monaco.languages.setLanguageConfiguration(LANGUAGE_ID, languageConfiguration); +monaco.languages.onLanguage(LANGUAGE_ID, () => { + monaco.languages.setMonarchTokensProvider(LANGUAGE_ID, lexerRules); + monaco.languages.setLanguageConfiguration(LANGUAGE_ID, languageConfiguration); +}); diff --git a/yarn.lock b/yarn.lock index 2b750cbf1980e..c86e92cd6a020 100644 --- a/yarn.lock +++ b/yarn.lock @@ -19366,10 +19366,10 @@ moment-timezone@*, moment-timezone@^0.5.34: resolved "https://registry.yarnpkg.com/moment/-/moment-2.29.4.tgz#3dbe052889fe7c1b2ed966fcb3a77328964ef108" integrity sha512-5LC9SOxjSc2HF6vO2CyuTDNivEdoz2IvyJJGj6X8DJ0eFyfszE0QiEd+iXmBvUP3WHxSjFH/vIsA0EN00cgr8w== -monaco-editor@*, monaco-editor@^0.22.3: - version "0.22.3" - resolved "https://registry.yarnpkg.com/monaco-editor/-/monaco-editor-0.22.3.tgz#69b42451d3116c6c08d9b8e052007ff891fd85d7" - integrity sha512-RM559z2CJbczZ3k2b+ouacMINkAYWwRit4/vs0g2X/lkYefDiu0k2GmgWjAuiIpQi+AqASPOKvXNmYc8KUSvVQ== +monaco-editor@*, monaco-editor@^0.24.0: + version "0.24.0" + resolved "https://registry.yarnpkg.com/monaco-editor/-/monaco-editor-0.24.0.tgz#990b55096bcc95d08d8d28e55264c6eb17707269" + integrity sha512-o1f0Lz6ABFNTtnEqqqvlY9qzNx24rQZx1RgYNQ8SkWkE+Ka63keHH/RqxQ4QhN4fs/UYOnvAtEUZsPrzccH++A== monitor-event-loop-delay@^1.0.0: version "1.0.0" From fd6047bb22c10c2f7ff72e225f93f5d37aaaf331 Mon Sep 17 00:00:00 2001 From: Alex Horvath Date: Tue, 1 Nov 2022 09:10:22 +0100 Subject: [PATCH 070/111] Correct wrong multiplier for byte conversion (#143751) * Correct wrong multiplier for byte conversion Bug: shard size alert comes earlier than expected. * add test for threshold limit use shard sizes close to the limit, gbMultiplier has to be correct * [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix' * Smaller than the threshold Shard size not <= but < as threshold * eliminate ts-expect-error * code readability * [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix' * Fix estypes import Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Carlos Crespo --- .../lib/alerts/fetch_index_shard_size.test.ts | 90 +++++++++++++++++-- .../lib/alerts/fetch_index_shard_size.ts | 2 +- 2 files changed, 82 insertions(+), 10 deletions(-) diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_index_shard_size.test.ts b/x-pack/plugins/monitoring/server/lib/alerts/fetch_index_shard_size.test.ts index 7fac9550996d2..c00facef1df78 100644 --- a/x-pack/plugins/monitoring/server/lib/alerts/fetch_index_shard_size.test.ts +++ b/x-pack/plugins/monitoring/server/lib/alerts/fetch_index_shard_size.test.ts @@ -7,6 +7,7 @@ import { elasticsearchServiceMock } from '@kbn/core/server/mocks'; import { fetchIndexShardSize } from './fetch_index_shard_size'; +import { estypes } from '@elastic/elasticsearch'; jest.mock('../../static_globals', () => ({ Globals: { @@ -24,7 +25,6 @@ import { Globals } from '../../static_globals'; describe('fetchIndexShardSize', () => { const esClient = elasticsearchServiceMock.createScopedClusterClient().asCurrentUser; - const clusters = [ { clusterUuid: 'cluster123', @@ -34,7 +34,21 @@ describe('fetchIndexShardSize', () => { const size = 10; const shardIndexPatterns = '*'; const threshold = 0.00000001; - const esRes = { + + const esRes: estypes.SearchResponse = { + took: 1, + timed_out: false, + _shards: { + total: 0, + successful: 0, + failed: 0, + skipped: 0, + }, + hits: { + total: 0, + max_score: 0, + hits: [], + }, aggregations: { clusters: { buckets: [ @@ -48,6 +62,39 @@ describe('fetchIndexShardSize', () => { { key: '.monitoring-es-7-2022.01.27', doc_count: 30, + hits: { + hits: { + total: { + value: 30, + relation: 'eq', + }, + max_score: null, + hits: [ + { + _index: '.monitoring-es-7-2022.01.27', + _id: 'JVkunX4BfK-FILsH9Wr_', + _score: null, + _source: { + index_stats: { + shards: { + primaries: 2, + }, + primaries: { + store: { + size_in_bytes: 2171105970, + }, + }, + }, + }, + sort: [1643314607570], + }, + ], + }, + }, + }, + { + key: '.monitoring-es-7-2022.01.28', + doc_count: 30, hits: { hits: { total: { @@ -67,7 +114,7 @@ describe('fetchIndexShardSize', () => { }, primaries: { store: { - size_in_bytes: 3537949, + size_in_bytes: 1073741823, }, }, }, @@ -118,12 +165,9 @@ describe('fetchIndexShardSize', () => { }, }, }; - it('fetch as expected', async () => { - esClient.search.mockResponse( - // @ts-expect-error not full response interface - esRes - ); + it('fetch as expected', async () => { + esClient.search.mockResponse(esRes); const result = await fetchIndexShardSize( esClient, clusters, @@ -135,7 +179,13 @@ describe('fetchIndexShardSize', () => { { ccs: undefined, shardIndex: '.monitoring-es-7-2022.01.27', - shardSize: 0, + shardSize: 1.01, + clusterUuid: 'NG2d5jHiSBGPE6HLlUN2Bg', + }, + { + ccs: undefined, + shardIndex: '.monitoring-es-7-2022.01.28', + shardSize: 1, clusterUuid: 'NG2d5jHiSBGPE6HLlUN2Bg', }, { @@ -146,6 +196,27 @@ describe('fetchIndexShardSize', () => { }, ]); }); + + it('higher alert threshold', async () => { + esClient.search.mockResponse(esRes); + const oneGBThreshold = 1; + const result = await fetchIndexShardSize( + esClient, + clusters, + oneGBThreshold, + shardIndexPatterns, + size + ); + expect(result).toEqual([ + { + ccs: undefined, + shardIndex: '.monitoring-es-7-2022.01.27', + shardSize: 1.01, + clusterUuid: 'NG2d5jHiSBGPE6HLlUN2Bg', + }, + ]); + }); + it('should call ES with correct query', async () => { await fetchIndexShardSize(esClient, clusters, threshold, shardIndexPatterns, size); expect(esClient.search).toHaveBeenCalledWith({ @@ -201,6 +272,7 @@ describe('fetchIndexShardSize', () => { }, }); }); + it('should call ES with correct query when ccs disabled', async () => { // @ts-ignore Globals.app.config.ui.ccs.enabled = false; diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_index_shard_size.ts b/x-pack/plugins/monitoring/server/lib/alerts/fetch_index_shard_size.ts index f8163f5c35bc6..5c32794cbf212 100644 --- a/x-pack/plugins/monitoring/server/lib/alerts/fetch_index_shard_size.ts +++ b/x-pack/plugins/monitoring/server/lib/alerts/fetch_index_shard_size.ts @@ -26,7 +26,7 @@ const memoizedIndexPatterns = (globPatterns: string) => { ) as RegExPatterns; }; -const gbMultiplier = 1000000000; +const gbMultiplier = Math.pow(1024, 3); export async function fetchIndexShardSize( esClient: ElasticsearchClient, From 2fb12fbc54bb1955f75ef9bc4c722d5fd60f9679 Mon Sep 17 00:00:00 2001 From: Pierre Gayvallet Date: Tue, 1 Nov 2022 09:16:32 +0100 Subject: [PATCH 071/111] Implement base browser-side logging system (#144107) * start refactoring and moving stuff around * add abstraction for BaseLogger * plug logging into core system * add logger factory to plugin init context * add unit tests for browser package * add more unit tests * [CI] Auto-commit changed files from 'node scripts/generate codeowners' * fix mock * add mocks, update system tests * update files due to merge * [CI] Auto-commit changed files from 'node scripts/generate codeowners' * update readme and package * remove chalk usages from client-side * add plugin context tests * [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix' * fix new packages Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> --- .github/CODEOWNERS | 3 + package.json | 3 + packages/BUILD.bazel | 6 + .../src/core_context.ts | 2 + .../base/core-base-browser-mocks/BUILD.bazel | 4 +- .../src/core_context.mock.ts | 2 + .../core-logging-browser-internal/BUILD.bazel | 114 +++++ .../core-logging-browser-internal/README.md | 3 + .../core-logging-browser-internal/index.ts | 9 + .../jest.config.js | 13 + .../kibana.jsonc | 7 + .../package.json | 10 + .../src/appenders/console_appender.test.ts | 56 +++ .../src/appenders/console_appender.ts | 38 ++ .../src/appenders/index.ts | 9 + .../src/index.ts | 10 + .../__snapshots__/pattern_layout.test.ts.snap | 37 ++ .../src/layouts/index.ts | 9 + .../src/layouts/pattern_layout.test.ts | 246 ++++++++++ .../src/layouts/pattern_layout.ts | 42 ++ .../src/logger.test.ts | 431 ++++++++++++++++++ .../src/logger.ts | 46 ++ .../src/logging_system.test.ts | 77 ++++ .../src/logging_system.ts | 74 +++ .../src/types.ts | 20 + .../tsconfig.json | 16 + .../core-logging-browser-mocks/BUILD.bazel | 115 +++++ .../core-logging-browser-mocks/README.md | 3 + .../core-logging-browser-mocks/index.ts | 9 + .../core-logging-browser-mocks/jest.config.js | 13 + .../core-logging-browser-mocks/kibana.jsonc | 7 + .../core-logging-browser-mocks/package.json | 10 + .../core-logging-browser-mocks/src/index.ts | 9 + .../src/logging_system.mock.ts | 37 ++ .../core-logging-browser-mocks/tsconfig.json | 18 + .../core-logging-common-internal/BUILD.bazel | 116 +++++ .../core-logging-common-internal/README.md | 3 + .../core-logging-common-internal/index.ts | 24 + .../jest.config.js | 13 + .../core-logging-common-internal/kibana.jsonc | 7 + .../core-logging-common-internal/package.json | 10 + .../core-logging-common-internal/src/index.ts | 25 + .../__snapshots__/pattern_layout.test.ts.snap | 37 ++ .../src/layouts/conversions/date.ts | 3 +- .../src/layouts/conversions/index.ts | 14 + .../src/layouts/conversions/level.ts | 18 + .../src/layouts/conversions/logger.ts | 18 + .../src/layouts/conversions/message.ts | 2 +- .../src/layouts/conversions/meta.ts | 2 +- .../src/layouts/conversions/types.ts} | 0 .../src/layouts/index.ts | 17 + .../src/layouts/pattern_layout.test.ts | 256 +++++++++++ .../src/layouts/pattern_layout.ts | 73 +++ .../src/logger.test.ts | 241 ++++++++++ .../src/logger.ts | 86 ++++ .../src/logger_context.test.ts | 26 ++ .../src/logger_context.ts | 46 ++ .../tsconfig.json | 16 + .../core-logging-server-internal/BUILD.bazel | 4 + .../src/appenders/console/console_appender.ts | 2 +- .../src/layouts/conversions/index.ts | 14 +- .../src/layouts/conversions/level.ts | 3 +- .../src/layouts/conversions/logger.ts | 3 +- .../src/layouts/conversions/pid.ts | 4 +- .../src/layouts/pattern_layout.ts | 33 +- .../src/logger.ts | 64 +-- .../src/logging_config.ts | 30 +- .../src/plugin_context.test.ts | 64 +++ .../src/plugin_context.ts | 5 + .../src/test_helpers/mocks.ts | 2 + .../core-plugins-browser-mocks/BUILD.bazel | 2 + .../src/plugins_service.mock.ts | 2 + .../src/plugin_initializer.ts | 2 + .../core-root-browser-internal/BUILD.bazel | 2 + .../src/core_system.test.mocks.ts | 7 + .../src/core_system.test.ts | 46 +- .../src/core_system.ts | 16 +- src/core/public/mocks.ts | 1 + tsconfig.base.json | 6 + yarn.lock | 12 + 80 files changed, 2756 insertions(+), 129 deletions(-) create mode 100644 packages/core/logging/core-logging-browser-internal/BUILD.bazel create mode 100644 packages/core/logging/core-logging-browser-internal/README.md create mode 100644 packages/core/logging/core-logging-browser-internal/index.ts create mode 100644 packages/core/logging/core-logging-browser-internal/jest.config.js create mode 100644 packages/core/logging/core-logging-browser-internal/kibana.jsonc create mode 100644 packages/core/logging/core-logging-browser-internal/package.json create mode 100644 packages/core/logging/core-logging-browser-internal/src/appenders/console_appender.test.ts create mode 100644 packages/core/logging/core-logging-browser-internal/src/appenders/console_appender.ts create mode 100644 packages/core/logging/core-logging-browser-internal/src/appenders/index.ts create mode 100644 packages/core/logging/core-logging-browser-internal/src/index.ts create mode 100644 packages/core/logging/core-logging-browser-internal/src/layouts/__snapshots__/pattern_layout.test.ts.snap create mode 100644 packages/core/logging/core-logging-browser-internal/src/layouts/index.ts create mode 100644 packages/core/logging/core-logging-browser-internal/src/layouts/pattern_layout.test.ts create mode 100644 packages/core/logging/core-logging-browser-internal/src/layouts/pattern_layout.ts create mode 100644 packages/core/logging/core-logging-browser-internal/src/logger.test.ts create mode 100644 packages/core/logging/core-logging-browser-internal/src/logger.ts create mode 100644 packages/core/logging/core-logging-browser-internal/src/logging_system.test.ts create mode 100644 packages/core/logging/core-logging-browser-internal/src/logging_system.ts create mode 100644 packages/core/logging/core-logging-browser-internal/src/types.ts create mode 100644 packages/core/logging/core-logging-browser-internal/tsconfig.json create mode 100644 packages/core/logging/core-logging-browser-mocks/BUILD.bazel create mode 100644 packages/core/logging/core-logging-browser-mocks/README.md create mode 100644 packages/core/logging/core-logging-browser-mocks/index.ts create mode 100644 packages/core/logging/core-logging-browser-mocks/jest.config.js create mode 100644 packages/core/logging/core-logging-browser-mocks/kibana.jsonc create mode 100644 packages/core/logging/core-logging-browser-mocks/package.json create mode 100644 packages/core/logging/core-logging-browser-mocks/src/index.ts create mode 100644 packages/core/logging/core-logging-browser-mocks/src/logging_system.mock.ts create mode 100644 packages/core/logging/core-logging-browser-mocks/tsconfig.json create mode 100644 packages/core/logging/core-logging-common-internal/BUILD.bazel create mode 100644 packages/core/logging/core-logging-common-internal/README.md create mode 100644 packages/core/logging/core-logging-common-internal/index.ts create mode 100644 packages/core/logging/core-logging-common-internal/jest.config.js create mode 100644 packages/core/logging/core-logging-common-internal/kibana.jsonc create mode 100644 packages/core/logging/core-logging-common-internal/package.json create mode 100644 packages/core/logging/core-logging-common-internal/src/index.ts create mode 100644 packages/core/logging/core-logging-common-internal/src/layouts/__snapshots__/pattern_layout.test.ts.snap rename packages/core/logging/{core-logging-server-internal => core-logging-common-internal}/src/layouts/conversions/date.ts (98%) create mode 100644 packages/core/logging/core-logging-common-internal/src/layouts/conversions/index.ts create mode 100644 packages/core/logging/core-logging-common-internal/src/layouts/conversions/level.ts create mode 100644 packages/core/logging/core-logging-common-internal/src/layouts/conversions/logger.ts rename packages/core/logging/{core-logging-server-internal => core-logging-common-internal}/src/layouts/conversions/message.ts (94%) rename packages/core/logging/{core-logging-server-internal => core-logging-common-internal}/src/layouts/conversions/meta.ts (93%) rename packages/core/logging/{core-logging-server-internal/src/layouts/conversions/type.ts => core-logging-common-internal/src/layouts/conversions/types.ts} (100%) create mode 100644 packages/core/logging/core-logging-common-internal/src/layouts/index.ts create mode 100644 packages/core/logging/core-logging-common-internal/src/layouts/pattern_layout.test.ts create mode 100644 packages/core/logging/core-logging-common-internal/src/layouts/pattern_layout.ts create mode 100644 packages/core/logging/core-logging-common-internal/src/logger.test.ts create mode 100644 packages/core/logging/core-logging-common-internal/src/logger.ts create mode 100644 packages/core/logging/core-logging-common-internal/src/logger_context.test.ts create mode 100644 packages/core/logging/core-logging-common-internal/src/logger_context.ts create mode 100644 packages/core/logging/core-logging-common-internal/tsconfig.json create mode 100644 packages/core/plugins/core-plugins-browser-internal/src/plugin_context.test.ts diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 974afddddef6a..43ff2c0fa9791 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -788,6 +788,9 @@ packages/core/lifecycle/core-lifecycle-browser-mocks @elastic/kibana-core packages/core/lifecycle/core-lifecycle-server @elastic/kibana-core packages/core/lifecycle/core-lifecycle-server-internal @elastic/kibana-core packages/core/lifecycle/core-lifecycle-server-mocks @elastic/kibana-core +packages/core/logging/core-logging-browser-internal @elastic/kibana-core +packages/core/logging/core-logging-browser-mocks @elastic/kibana-core +packages/core/logging/core-logging-common-internal @elastic/kibana-core packages/core/logging/core-logging-server @elastic/kibana-core packages/core/logging/core-logging-server-internal @elastic/kibana-core packages/core/logging/core-logging-server-mocks @elastic/kibana-core diff --git a/package.json b/package.json index eef3f24151e16..a63be94afb18f 100644 --- a/package.json +++ b/package.json @@ -243,6 +243,9 @@ "@kbn/core-lifecycle-server": "link:bazel-bin/packages/core/lifecycle/core-lifecycle-server", "@kbn/core-lifecycle-server-internal": "link:bazel-bin/packages/core/lifecycle/core-lifecycle-server-internal", "@kbn/core-lifecycle-server-mocks": "link:bazel-bin/packages/core/lifecycle/core-lifecycle-server-mocks", + "@kbn/core-logging-browser-internal": "link:bazel-bin/packages/core/logging/core-logging-browser-internal", + "@kbn/core-logging-browser-mocks": "link:bazel-bin/packages/core/logging/core-logging-browser-mocks", + "@kbn/core-logging-common-internal": "link:bazel-bin/packages/core/logging/core-logging-common-internal", "@kbn/core-logging-server": "link:bazel-bin/packages/core/logging/core-logging-server", "@kbn/core-logging-server-internal": "link:bazel-bin/packages/core/logging/core-logging-server-internal", "@kbn/core-logging-server-mocks": "link:bazel-bin/packages/core/logging/core-logging-server-mocks", diff --git a/packages/BUILD.bazel b/packages/BUILD.bazel index 3dc520d9a824b..f01c019499c71 100644 --- a/packages/BUILD.bazel +++ b/packages/BUILD.bazel @@ -108,6 +108,9 @@ filegroup( "//packages/core/lifecycle/core-lifecycle-server:build", "//packages/core/lifecycle/core-lifecycle-server-internal:build", "//packages/core/lifecycle/core-lifecycle-server-mocks:build", + "//packages/core/logging/core-logging-browser-internal:build", + "//packages/core/logging/core-logging-browser-mocks:build", + "//packages/core/logging/core-logging-common-internal:build", "//packages/core/logging/core-logging-server:build", "//packages/core/logging/core-logging-server-internal:build", "//packages/core/logging/core-logging-server-mocks:build", @@ -463,6 +466,9 @@ filegroup( "//packages/core/lifecycle/core-lifecycle-server:build_types", "//packages/core/lifecycle/core-lifecycle-server-internal:build_types", "//packages/core/lifecycle/core-lifecycle-server-mocks:build_types", + "//packages/core/logging/core-logging-browser-internal:build_types", + "//packages/core/logging/core-logging-browser-mocks:build_types", + "//packages/core/logging/core-logging-common-internal:build_types", "//packages/core/logging/core-logging-server:build_types", "//packages/core/logging/core-logging-server-internal:build_types", "//packages/core/logging/core-logging-server-mocks:build_types", diff --git a/packages/core/base/core-base-browser-internal/src/core_context.ts b/packages/core/base/core-base-browser-internal/src/core_context.ts index cf981dd752453..c5cd4303f5b3d 100644 --- a/packages/core/base/core-base-browser-internal/src/core_context.ts +++ b/packages/core/base/core-base-browser-internal/src/core_context.ts @@ -7,11 +7,13 @@ */ import type { EnvironmentMode, PackageInfo } from '@kbn/config'; +import type { LoggerFactory } from '@kbn/logging'; import type { CoreId } from '@kbn/core-base-common-internal'; /** @internal */ export interface CoreContext { coreId: CoreId; + logger: LoggerFactory; env: { mode: Readonly; packageInfo: Readonly; diff --git a/packages/core/base/core-base-browser-mocks/BUILD.bazel b/packages/core/base/core-base-browser-mocks/BUILD.bazel index 28088cfd13dd9..4eefc60344077 100644 --- a/packages/core/base/core-base-browser-mocks/BUILD.bazel +++ b/packages/core/base/core-base-browser-mocks/BUILD.bazel @@ -35,12 +35,14 @@ NPM_MODULE_EXTRA_FILES = [ ] RUNTIME_DEPS = [ + "//packages/kbn-logging-mocks", ] TYPES_DEPS = [ "@npm//@types/node", "@npm//@types/jest", - "//packages/core/base/core-base-browser-internal:npm_module_types", + "//packages/kbn-logging-mocks:npm_module_types", + "//packages/core/base/core-base-browser-internal:npm_module_types", ] jsts_transpiler( diff --git a/packages/core/base/core-base-browser-mocks/src/core_context.mock.ts b/packages/core/base/core-base-browser-mocks/src/core_context.mock.ts index e43efe1246ffa..e871621b909ef 100644 --- a/packages/core/base/core-base-browser-mocks/src/core_context.mock.ts +++ b/packages/core/base/core-base-browser-mocks/src/core_context.mock.ts @@ -6,11 +6,13 @@ * Side Public License, v 1. */ +import { loggerMock } from '@kbn/logging-mocks'; import type { CoreContext } from '@kbn/core-base-browser-internal'; function createCoreContext({ production = false }: { production?: boolean } = {}): CoreContext { return { coreId: Symbol('core context mock'), + logger: loggerMock.create(), env: { mode: { dev: !production, diff --git a/packages/core/logging/core-logging-browser-internal/BUILD.bazel b/packages/core/logging/core-logging-browser-internal/BUILD.bazel new file mode 100644 index 0000000000000..b707b68279e4b --- /dev/null +++ b/packages/core/logging/core-logging-browser-internal/BUILD.bazel @@ -0,0 +1,114 @@ +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-logging-browser-internal" +PKG_REQUIRE_NAME = "@kbn/core-logging-browser-internal" + +SOURCE_FILES = glob( + [ + "**/*.ts", + "**/*.tsx", + ], + exclude = [ + "**/*.config.js", + "**/*.mock.*", + "**/*.test.*", + "**/*.stories.*", + "**/__snapshots__/**", + "**/integration_tests/**", + "**/mocks/**", + "**/scripts/**", + "**/storybook/**", + "**/test_fixtures/**", + "**/test_helpers/**", + ], +) + +SRCS = SOURCE_FILES + +filegroup( + name = "srcs", + srcs = SRCS, +) + +NPM_MODULE_EXTRA_FILES = [ + "package.json", +] + +RUNTIME_DEPS = [ + "//packages/core/logging/core-logging-common-internal", +] + +TYPES_DEPS = [ + "@npm//@types/node", + "@npm//@types/jest", + "//packages/kbn-logging:npm_module_types", + "//packages/core/logging/core-logging-common-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, + emit_declaration_only = True, + out_dir = "target_types", + 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"], +) + +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + 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( + name = "build_types", + deps = [":npm_module_types"], + visibility = ["//visibility:public"], +) diff --git a/packages/core/logging/core-logging-browser-internal/README.md b/packages/core/logging/core-logging-browser-internal/README.md new file mode 100644 index 0000000000000..7888115e20cbe --- /dev/null +++ b/packages/core/logging/core-logging-browser-internal/README.md @@ -0,0 +1,3 @@ +# @kbn/core-logging-browser-internal + +This package contains the internal types and implementation for Core's browser-side logging service. diff --git a/packages/core/logging/core-logging-browser-internal/index.ts b/packages/core/logging/core-logging-browser-internal/index.ts new file mode 100644 index 0000000000000..f757b7f6ce38e --- /dev/null +++ b/packages/core/logging/core-logging-browser-internal/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 { BaseLogger, BrowserLoggingSystem, type IBrowserLoggingSystem } from './src'; diff --git a/packages/core/logging/core-logging-browser-internal/jest.config.js b/packages/core/logging/core-logging-browser-internal/jest.config.js new file mode 100644 index 0000000000000..aec2a0f4d8e2d --- /dev/null +++ b/packages/core/logging/core-logging-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/logging/core-logging-browser-internal'], +}; diff --git a/packages/core/logging/core-logging-browser-internal/kibana.jsonc b/packages/core/logging/core-logging-browser-internal/kibana.jsonc new file mode 100644 index 0000000000000..6d60078e34da8 --- /dev/null +++ b/packages/core/logging/core-logging-browser-internal/kibana.jsonc @@ -0,0 +1,7 @@ +{ + "type": "shared-common", + "id": "@kbn/core-logging-browser-internal", + "owner": "@elastic/kibana-core", + "runtimeDeps": [], + "typeDeps": [], +} diff --git a/packages/core/logging/core-logging-browser-internal/package.json b/packages/core/logging/core-logging-browser-internal/package.json new file mode 100644 index 0000000000000..56cf9d28f32b2 --- /dev/null +++ b/packages/core/logging/core-logging-browser-internal/package.json @@ -0,0 +1,10 @@ +{ + "name": "@kbn/core-logging-browser-internal", + "private": true, + "version": "1.0.0", + "main": "./target_node/index.js", + "browser": "./target_web/index.js", + "author": "Kibana Core", + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" +} diff --git a/packages/core/logging/core-logging-browser-internal/src/appenders/console_appender.test.ts b/packages/core/logging/core-logging-browser-internal/src/appenders/console_appender.test.ts new file mode 100644 index 0000000000000..8b8900be8e035 --- /dev/null +++ b/packages/core/logging/core-logging-browser-internal/src/appenders/console_appender.test.ts @@ -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 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 { LogRecord, LogLevel } from '@kbn/logging'; +import { ConsoleAppender } from './console_appender'; + +test('`append()` correctly formats records and pushes them to console.', () => { + jest.spyOn(global.console, 'log').mockImplementation(() => { + // noop + }); + + const records: LogRecord[] = [ + { + context: 'context-1', + level: LogLevel.All, + message: 'message-1', + timestamp: new Date(), + pid: 5355, + }, + { + context: 'context-2', + level: LogLevel.Trace, + message: 'message-2', + timestamp: new Date(), + pid: 5355, + }, + { + context: 'context-3', + error: new Error('Error'), + level: LogLevel.Fatal, + message: 'message-3', + timestamp: new Date(), + pid: 5355, + }, + ]; + + const appender = new ConsoleAppender({ + format(record) { + return `mock-${JSON.stringify(record)}`; + }, + }); + + for (const record of records) { + appender.append(record); + // eslint-disable-next-line no-console + expect(console.log).toHaveBeenCalledWith(`mock-${JSON.stringify(record)}`); + } + + // eslint-disable-next-line no-console + expect(console.log).toHaveBeenCalledTimes(records.length); +}); diff --git a/packages/core/logging/core-logging-browser-internal/src/appenders/console_appender.ts b/packages/core/logging/core-logging-browser-internal/src/appenders/console_appender.ts new file mode 100644 index 0000000000000..4d35f3150b421 --- /dev/null +++ b/packages/core/logging/core-logging-browser-internal/src/appenders/console_appender.ts @@ -0,0 +1,38 @@ +/* + * 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 { Layout, LogRecord, DisposableAppender } from '@kbn/logging'; + +/** + * + * Appender that formats all the `LogRecord` instances it receives and logs them via built-in `console`. + * @internal + */ +export class ConsoleAppender implements DisposableAppender { + /** + * Creates ConsoleAppender instance. + * @param layout Instance of `Layout` sub-class responsible for `LogRecord` formatting. + */ + constructor(private readonly layout: Layout) {} + + /** + * Formats specified `record` and logs it via built-in `console`. + * @param record `LogRecord` instance to be logged. + */ + public append(record: LogRecord) { + // eslint-disable-next-line no-console + console.log(this.layout.format(record)); + } + + /** + * Disposes `ConsoleAppender`. + */ + public dispose() { + // noop + } +} diff --git a/packages/core/logging/core-logging-browser-internal/src/appenders/index.ts b/packages/core/logging/core-logging-browser-internal/src/appenders/index.ts new file mode 100644 index 0000000000000..070f5fb429c87 --- /dev/null +++ b/packages/core/logging/core-logging-browser-internal/src/appenders/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 { ConsoleAppender } from './console_appender'; diff --git a/packages/core/logging/core-logging-browser-internal/src/index.ts b/packages/core/logging/core-logging-browser-internal/src/index.ts new file mode 100644 index 0000000000000..618d4dd8a7ef4 --- /dev/null +++ b/packages/core/logging/core-logging-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 { BaseLogger } from './logger'; +export { BrowserLoggingSystem, type IBrowserLoggingSystem } from './logging_system'; diff --git a/packages/core/logging/core-logging-browser-internal/src/layouts/__snapshots__/pattern_layout.test.ts.snap b/packages/core/logging/core-logging-browser-internal/src/layouts/__snapshots__/pattern_layout.test.ts.snap new file mode 100644 index 0000000000000..d3f9309a4773c --- /dev/null +++ b/packages/core/logging/core-logging-browser-internal/src/layouts/__snapshots__/pattern_layout.test.ts.snap @@ -0,0 +1,37 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`\`format()\` correctly formats record with custom pattern. 1`] = `"mock-Some error stack-context-1-Some error stack"`; + +exports[`\`format()\` correctly formats record with custom pattern. 2`] = `"mock-message-2-context-2-message-2"`; + +exports[`\`format()\` correctly formats record with custom pattern. 3`] = `"mock-message-3-context-3-message-3"`; + +exports[`\`format()\` correctly formats record with custom pattern. 4`] = `"mock-message-4-context-4-message-4"`; + +exports[`\`format()\` correctly formats record with custom pattern. 5`] = `"mock-message-5-context-5-message-5"`; + +exports[`\`format()\` correctly formats record with custom pattern. 6`] = `"mock-message-6-context-6-message-6"`; + +exports[`\`format()\` correctly formats record with full pattern. 1`] = `"[2012-02-01T09:30:22.011-05:00][FATAL][context-1] Some error stack"`; + +exports[`\`format()\` correctly formats record with full pattern. 2`] = `"[2012-02-01T09:30:22.011-05:00][ERROR][context-2] message-2"`; + +exports[`\`format()\` correctly formats record with full pattern. 3`] = `"[2012-02-01T09:30:22.011-05:00][WARN ][context-3] message-3"`; + +exports[`\`format()\` correctly formats record with full pattern. 4`] = `"[2012-02-01T09:30:22.011-05:00][DEBUG][context-4] message-4"`; + +exports[`\`format()\` correctly formats record with full pattern. 5`] = `"[2012-02-01T09:30:22.011-05:00][INFO ][context-5] message-5"`; + +exports[`\`format()\` correctly formats record with full pattern. 6`] = `"[2012-02-01T09:30:22.011-05:00][TRACE][context-6] message-6"`; + +exports[`allows specifying the PID in custom pattern 1`] = `"%pid-context-1-Some error stack"`; + +exports[`allows specifying the PID in custom pattern 2`] = `"%pid-context-2-message-2"`; + +exports[`allows specifying the PID in custom pattern 3`] = `"%pid-context-3-message-3"`; + +exports[`allows specifying the PID in custom pattern 4`] = `"%pid-context-4-message-4"`; + +exports[`allows specifying the PID in custom pattern 5`] = `"%pid-context-5-message-5"`; + +exports[`allows specifying the PID in custom pattern 6`] = `"%pid-context-6-message-6"`; diff --git a/packages/core/logging/core-logging-browser-internal/src/layouts/index.ts b/packages/core/logging/core-logging-browser-internal/src/layouts/index.ts new file mode 100644 index 0000000000000..75591053d34d7 --- /dev/null +++ b/packages/core/logging/core-logging-browser-internal/src/layouts/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 { PatternLayout } from './pattern_layout'; diff --git a/packages/core/logging/core-logging-browser-internal/src/layouts/pattern_layout.test.ts b/packages/core/logging/core-logging-browser-internal/src/layouts/pattern_layout.test.ts new file mode 100644 index 0000000000000..eb0961960b17f --- /dev/null +++ b/packages/core/logging/core-logging-browser-internal/src/layouts/pattern_layout.test.ts @@ -0,0 +1,246 @@ +/* + * 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 stripAnsi from 'strip-ansi'; +import hasAnsi from 'has-ansi'; +import { LogLevel, LogRecord } from '@kbn/logging'; +import { PatternLayout } from './pattern_layout'; + +const stripAnsiSnapshotSerializer: jest.SnapshotSerializerPlugin = { + serialize(value: string) { + return stripAnsi(value); + }, + + test(value: any) { + return typeof value === 'string' && hasAnsi(value); + }, +}; + +const timestamp = new Date(Date.UTC(2012, 1, 1, 14, 30, 22, 11)); +const records: LogRecord[] = [ + { + context: 'context-1', + error: { + message: 'Some error message', + name: 'Some error name', + stack: 'Some error stack', + }, + level: LogLevel.Fatal, + message: 'message-1', + timestamp, + pid: 5355, + }, + { + context: 'context-2', + level: LogLevel.Error, + message: 'message-2', + timestamp, + pid: 5355, + }, + { + context: 'context-3', + level: LogLevel.Warn, + message: 'message-3', + timestamp, + pid: 5355, + }, + { + context: 'context-4', + level: LogLevel.Debug, + message: 'message-4', + timestamp, + pid: 5355, + }, + { + context: 'context-5', + level: LogLevel.Info, + message: 'message-5', + timestamp, + pid: 5355, + }, + { + context: 'context-6', + level: LogLevel.Trace, + message: 'message-6', + timestamp, + pid: 5355, + }, +]; + +expect.addSnapshotSerializer(stripAnsiSnapshotSerializer); + +test('`format()` correctly formats record with full pattern.', () => { + const layout = new PatternLayout(); + + for (const record of records) { + expect(layout.format(record)).toMatchSnapshot(); + } +}); + +test('`format()` correctly formats record with custom pattern.', () => { + const layout = new PatternLayout('mock-%message-%logger-%message'); + + for (const record of records) { + expect(layout.format(record)).toMatchSnapshot(); + } +}); + +test('`format()` correctly formats record with meta data.', () => { + const layout = new PatternLayout('[%date][%level][%logger]%meta %message'); + + expect( + layout.format({ + context: 'context-meta', + level: LogLevel.Debug, + message: 'message-meta', + timestamp, + pid: 5355, + meta: { + // @ts-expect-error not valid ECS field + from: 'v7', + to: 'v8', + }, + }) + ).toBe( + '[2012-02-01T09:30:22.011-05:00][DEBUG][context-meta]{"from":"v7","to":"v8"} message-meta' + ); + + expect( + layout.format({ + context: 'context-meta', + level: LogLevel.Debug, + message: 'message-meta', + timestamp, + pid: 5355, + meta: {}, + }) + ).toBe('[2012-02-01T09:30:22.011-05:00][DEBUG][context-meta]{} message-meta'); + + expect( + layout.format({ + context: 'context-meta', + level: LogLevel.Debug, + message: 'message-meta', + timestamp, + pid: 5355, + }) + ).toBe('[2012-02-01T09:30:22.011-05:00][DEBUG][context-meta] message-meta'); +}); + +test('allows specifying the PID in custom pattern', () => { + const layout = new PatternLayout('%pid-%logger-%message'); + + for (const record of records) { + expect(layout.format(record)).toMatchSnapshot(); + } +}); + +test('`format()` allows specifying pattern with meta.', () => { + const layout = new PatternLayout('%logger-%meta-%message'); + const record = { + context: 'context', + level: LogLevel.Debug, + message: 'message', + timestamp, + pid: 5355, + meta: { + from: 'v7', + to: 'v8', + }, + }; + // @ts-expect-error not valid ECS field + expect(layout.format(record)).toBe('context-{"from":"v7","to":"v8"}-message'); +}); + +describe('format', () => { + describe('timestamp', () => { + const record = { + context: 'context', + level: LogLevel.Debug, + message: 'message', + timestamp, + pid: 5355, + }; + it('uses ISO8601_TZ as default', () => { + const layout = new PatternLayout(); + + expect(layout.format(record)).toBe('[2012-02-01T09:30:22.011-05:00][DEBUG][context] message'); + }); + + describe('supports specifying a predefined format', () => { + it('ISO8601', () => { + const layout = new PatternLayout('[%date{ISO8601}][%logger]'); + + expect(layout.format(record)).toBe('[2012-02-01T14:30:22.011Z][context]'); + }); + + it('ISO8601_TZ', () => { + const layout = new PatternLayout('[%date{ISO8601_TZ}][%logger]'); + + expect(layout.format(record)).toBe('[2012-02-01T09:30:22.011-05:00][context]'); + }); + + it('ABSOLUTE', () => { + const layout = new PatternLayout('[%date{ABSOLUTE}][%logger]'); + + expect(layout.format(record)).toBe('[09:30:22.011][context]'); + }); + + it('UNIX', () => { + const layout = new PatternLayout('[%date{UNIX}][%logger]'); + + expect(layout.format(record)).toBe('[1328106622][context]'); + }); + + it('UNIX_MILLIS', () => { + const layout = new PatternLayout('[%date{UNIX_MILLIS}][%logger]'); + + expect(layout.format(record)).toBe('[1328106622011][context]'); + }); + }); + + describe('supports specifying a predefined format and timezone', () => { + it('ISO8601', () => { + const layout = new PatternLayout('[%date{ISO8601}{America/Los_Angeles}][%logger]'); + + expect(layout.format(record)).toBe('[2012-02-01T14:30:22.011Z][context]'); + }); + + it('ISO8601_TZ', () => { + const layout = new PatternLayout('[%date{ISO8601_TZ}{America/Los_Angeles}][%logger]'); + + expect(layout.format(record)).toBe('[2012-02-01T06:30:22.011-08:00][context]'); + }); + + it('ABSOLUTE', () => { + const layout = new PatternLayout('[%date{ABSOLUTE}{America/Los_Angeles}][%logger]'); + + expect(layout.format(record)).toBe('[06:30:22.011][context]'); + }); + + it('UNIX', () => { + const layout = new PatternLayout('[%date{UNIX}{America/Los_Angeles}][%logger]'); + + expect(layout.format(record)).toBe('[1328106622][context]'); + }); + + it('UNIX_MILLIS', () => { + const layout = new PatternLayout('[%date{UNIX_MILLIS}{America/Los_Angeles}][%logger]'); + + expect(layout.format(record)).toBe('[1328106622011][context]'); + }); + }); + it('formats several conversions patterns correctly', () => { + const layout = new PatternLayout( + '[%date{ABSOLUTE}{America/Los_Angeles}][%logger][%date{UNIX}]' + ); + + expect(layout.format(record)).toBe('[06:30:22.011][context][1328106622]'); + }); + }); +}); diff --git a/packages/core/logging/core-logging-browser-internal/src/layouts/pattern_layout.ts b/packages/core/logging/core-logging-browser-internal/src/layouts/pattern_layout.ts new file mode 100644 index 0000000000000..0efdf33afabb4 --- /dev/null +++ b/packages/core/logging/core-logging-browser-internal/src/layouts/pattern_layout.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 { + PatternLayout as BasePatternLayout, + type Conversion, + LoggerConversion, + LevelConversion, + MetaConversion, + MessageConversion, + DateConversion, +} from '@kbn/core-logging-common-internal'; + +const DEFAULT_PATTERN = `[%date][%level][%logger] %message`; + +const conversions: Conversion[] = [ + LoggerConversion, + MessageConversion, + LevelConversion, + MetaConversion, + DateConversion, +]; + +/** + * Layout that formats `LogRecord` using the `pattern` string with optional + * color highlighting (eg. to make log messages easier to read in the terminal). + * @internal + */ +export class PatternLayout extends BasePatternLayout { + constructor(pattern: string = DEFAULT_PATTERN) { + super({ + pattern, + highlight: false, + conversions, + }); + } +} diff --git a/packages/core/logging/core-logging-browser-internal/src/logger.test.ts b/packages/core/logging/core-logging-browser-internal/src/logger.test.ts new file mode 100644 index 0000000000000..7c9606264602a --- /dev/null +++ b/packages/core/logging/core-logging-browser-internal/src/logger.test.ts @@ -0,0 +1,431 @@ +/* + * 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 { LogLevel, Appender } from '@kbn/logging'; +import { getLoggerContext } from '@kbn/core-logging-common-internal'; +import { BaseLogger, BROWSER_PID } from './logger'; + +const context = getLoggerContext(['context', 'parent', 'child']); +let appenderMocks: Appender[]; +let logger: BaseLogger; +const factory = { + get: jest.fn().mockImplementation(() => logger), +}; + +const timestamp = new Date(2012, 1, 1); +beforeEach(() => { + jest.spyOn(global, 'Date').mockImplementation(() => timestamp); + + appenderMocks = [{ append: jest.fn() }, { append: jest.fn() }]; + logger = new BaseLogger(context, LogLevel.All, appenderMocks, factory); +}); + +afterEach(() => { + jest.resetAllMocks(); + jest.restoreAllMocks(); +}); + +test('`trace()` correctly forms `LogRecord` and passes it to all appenders.', () => { + logger.trace('message-1'); + for (const appenderMock of appenderMocks) { + expect(appenderMock.append).toHaveBeenCalledTimes(1); + expect(appenderMock.append).toHaveBeenCalledWith({ + context, + error: undefined, + level: LogLevel.Trace, + message: 'message-1', + meta: undefined, + timestamp, + pid: BROWSER_PID, + }); + } + + // @ts-expect-error ECS custom meta + logger.trace('message-2', { trace: true }); + for (const appenderMock of appenderMocks) { + expect(appenderMock.append).toHaveBeenCalledTimes(2); + expect(appenderMock.append).toHaveBeenCalledWith({ + context, + error: undefined, + level: LogLevel.Trace, + message: 'message-2', + meta: { trace: true }, + timestamp, + pid: BROWSER_PID, + }); + } +}); + +test('`debug()` correctly forms `LogRecord` and passes it to all appenders.', () => { + logger.debug('message-1'); + for (const appenderMock of appenderMocks) { + expect(appenderMock.append).toHaveBeenCalledTimes(1); + expect(appenderMock.append).toHaveBeenCalledWith({ + context, + error: undefined, + level: LogLevel.Debug, + message: 'message-1', + meta: undefined, + timestamp, + pid: BROWSER_PID, + }); + } + + // @ts-expect-error ECS custom meta + logger.debug('message-2', { debug: true }); + for (const appenderMock of appenderMocks) { + expect(appenderMock.append).toHaveBeenCalledTimes(2); + expect(appenderMock.append).toHaveBeenCalledWith({ + context, + error: undefined, + level: LogLevel.Debug, + message: 'message-2', + meta: { debug: true }, + timestamp, + pid: BROWSER_PID, + }); + } +}); + +test('`info()` correctly forms `LogRecord` and passes it to all appenders.', () => { + logger.info('message-1'); + for (const appenderMock of appenderMocks) { + expect(appenderMock.append).toHaveBeenCalledTimes(1); + expect(appenderMock.append).toHaveBeenCalledWith({ + context, + error: undefined, + level: LogLevel.Info, + message: 'message-1', + meta: undefined, + timestamp, + pid: BROWSER_PID, + }); + } + + // @ts-expect-error ECS custom meta + logger.info('message-2', { info: true }); + for (const appenderMock of appenderMocks) { + expect(appenderMock.append).toHaveBeenCalledTimes(2); + expect(appenderMock.append).toHaveBeenCalledWith({ + context, + error: undefined, + level: LogLevel.Info, + message: 'message-2', + meta: { info: true }, + timestamp, + pid: BROWSER_PID, + }); + } +}); + +test('`warn()` correctly forms `LogRecord` and passes it to all appenders.', () => { + logger.warn('message-1'); + for (const appenderMock of appenderMocks) { + expect(appenderMock.append).toHaveBeenCalledTimes(1); + expect(appenderMock.append).toHaveBeenCalledWith({ + context, + error: undefined, + level: LogLevel.Warn, + message: 'message-1', + meta: undefined, + timestamp, + pid: BROWSER_PID, + }); + } + + const error = new Error('message-2'); + logger.warn(error); + for (const appenderMock of appenderMocks) { + expect(appenderMock.append).toHaveBeenCalledTimes(2); + expect(appenderMock.append).toHaveBeenCalledWith({ + context, + error, + level: LogLevel.Warn, + message: 'message-2', + meta: undefined, + timestamp, + pid: BROWSER_PID, + }); + } + + // @ts-expect-error ECS custom meta + logger.warn('message-3', { warn: true }); + for (const appenderMock of appenderMocks) { + expect(appenderMock.append).toHaveBeenCalledTimes(3); + expect(appenderMock.append).toHaveBeenCalledWith({ + context, + error: undefined, + level: LogLevel.Warn, + message: 'message-3', + meta: { warn: true }, + timestamp, + pid: BROWSER_PID, + }); + } +}); + +test('`error()` correctly forms `LogRecord` and passes it to all appenders.', () => { + logger.error('message-1'); + for (const appenderMock of appenderMocks) { + expect(appenderMock.append).toHaveBeenCalledTimes(1); + expect(appenderMock.append).toHaveBeenCalledWith({ + context, + error: undefined, + level: LogLevel.Error, + message: 'message-1', + meta: undefined, + timestamp, + pid: BROWSER_PID, + }); + } + + const error = new Error('message-2'); + logger.error(error); + for (const appenderMock of appenderMocks) { + expect(appenderMock.append).toHaveBeenCalledTimes(2); + expect(appenderMock.append).toHaveBeenCalledWith({ + context, + error, + level: LogLevel.Error, + message: 'message-2', + meta: undefined, + timestamp, + pid: BROWSER_PID, + }); + } + + // @ts-expect-error ECS custom meta + logger.error('message-3', { error: true }); + for (const appenderMock of appenderMocks) { + expect(appenderMock.append).toHaveBeenCalledTimes(3); + expect(appenderMock.append).toHaveBeenCalledWith({ + context, + error: undefined, + level: LogLevel.Error, + message: 'message-3', + meta: { error: true }, + timestamp, + pid: BROWSER_PID, + }); + } +}); + +test('`fatal()` correctly forms `LogRecord` and passes it to all appenders.', () => { + logger.fatal('message-1'); + for (const appenderMock of appenderMocks) { + expect(appenderMock.append).toHaveBeenCalledTimes(1); + expect(appenderMock.append).toHaveBeenCalledWith({ + context, + error: undefined, + level: LogLevel.Fatal, + message: 'message-1', + meta: undefined, + timestamp, + pid: BROWSER_PID, + }); + } + + const error = new Error('message-2'); + logger.fatal(error); + for (const appenderMock of appenderMocks) { + expect(appenderMock.append).toHaveBeenCalledTimes(2); + expect(appenderMock.append).toHaveBeenCalledWith({ + context, + error, + level: LogLevel.Fatal, + message: 'message-2', + meta: undefined, + timestamp, + pid: BROWSER_PID, + }); + } + + // @ts-expect-error ECS custom meta + logger.fatal('message-3', { fatal: true }); + for (const appenderMock of appenderMocks) { + expect(appenderMock.append).toHaveBeenCalledTimes(3); + expect(appenderMock.append).toHaveBeenCalledWith({ + context, + error: undefined, + level: LogLevel.Fatal, + message: 'message-3', + meta: { fatal: true }, + timestamp, + pid: BROWSER_PID, + }); + } +}); + +test('`log()` just passes the record to all appenders.', () => { + const record = { + context, + level: LogLevel.Info, + message: 'message-1', + timestamp, + pid: 5355, + }; + + logger.log(record); + + for (const appenderMock of appenderMocks) { + expect(appenderMock.append).toHaveBeenCalledTimes(1); + expect(appenderMock.append).toHaveBeenCalledWith(record); + } +}); + +test('`get()` calls the logger factory with proper context and return the result', () => { + logger.get('sub', 'context'); + expect(factory.get).toHaveBeenCalledTimes(1); + expect(factory.get).toHaveBeenCalledWith(context, 'sub', 'context'); + + factory.get.mockClear(); + factory.get.mockImplementation(() => 'some-logger'); + + const childLogger = logger.get('other', 'sub'); + expect(factory.get).toHaveBeenCalledTimes(1); + expect(factory.get).toHaveBeenCalledWith(context, 'other', 'sub'); + expect(childLogger).toEqual('some-logger'); +}); + +test('logger with `Off` level does not pass any records to appenders.', () => { + const turnedOffLogger = new BaseLogger(context, LogLevel.Off, appenderMocks, factory); + turnedOffLogger.trace('trace-message'); + turnedOffLogger.debug('debug-message'); + turnedOffLogger.info('info-message'); + turnedOffLogger.warn('warn-message'); + turnedOffLogger.error('error-message'); + turnedOffLogger.fatal('fatal-message'); + + for (const appenderMock of appenderMocks) { + expect(appenderMock.append).not.toHaveBeenCalled(); + } +}); + +test('logger with `All` level passes all records to appenders.', () => { + const catchAllLogger = new BaseLogger(context, LogLevel.All, appenderMocks, factory); + + catchAllLogger.trace('trace-message'); + for (const appenderMock of appenderMocks) { + expect(appenderMock.append).toHaveBeenCalledTimes(1); + expect(appenderMock.append).toHaveBeenCalledWith({ + context, + level: LogLevel.Trace, + message: 'trace-message', + timestamp, + pid: BROWSER_PID, + }); + } + + catchAllLogger.debug('debug-message'); + for (const appenderMock of appenderMocks) { + expect(appenderMock.append).toHaveBeenCalledTimes(2); + expect(appenderMock.append).toHaveBeenCalledWith({ + context, + level: LogLevel.Debug, + message: 'debug-message', + timestamp, + pid: BROWSER_PID, + }); + } + + catchAllLogger.info('info-message'); + for (const appenderMock of appenderMocks) { + expect(appenderMock.append).toHaveBeenCalledTimes(3); + expect(appenderMock.append).toHaveBeenCalledWith({ + context, + level: LogLevel.Info, + message: 'info-message', + timestamp, + pid: BROWSER_PID, + }); + } + + catchAllLogger.warn('warn-message'); + for (const appenderMock of appenderMocks) { + expect(appenderMock.append).toHaveBeenCalledTimes(4); + expect(appenderMock.append).toHaveBeenCalledWith({ + context, + level: LogLevel.Warn, + message: 'warn-message', + timestamp, + pid: BROWSER_PID, + }); + } + + catchAllLogger.error('error-message'); + for (const appenderMock of appenderMocks) { + expect(appenderMock.append).toHaveBeenCalledTimes(5); + expect(appenderMock.append).toHaveBeenCalledWith({ + context, + level: LogLevel.Error, + message: 'error-message', + timestamp, + pid: BROWSER_PID, + }); + } + + catchAllLogger.fatal('fatal-message'); + for (const appenderMock of appenderMocks) { + expect(appenderMock.append).toHaveBeenCalledTimes(6); + expect(appenderMock.append).toHaveBeenCalledWith({ + context, + level: LogLevel.Fatal, + message: 'fatal-message', + timestamp, + pid: BROWSER_PID, + }); + } +}); + +test('passes log record to appenders only if log level is supported.', () => { + const warnLogger = new BaseLogger(context, LogLevel.Warn, appenderMocks, factory); + + warnLogger.trace('trace-message'); + warnLogger.debug('debug-message'); + warnLogger.info('info-message'); + + for (const appenderMock of appenderMocks) { + expect(appenderMock.append).not.toHaveBeenCalled(); + } + + warnLogger.warn('warn-message'); + for (const appenderMock of appenderMocks) { + expect(appenderMock.append).toHaveBeenCalledTimes(1); + expect(appenderMock.append).toHaveBeenCalledWith({ + context, + level: LogLevel.Warn, + message: 'warn-message', + timestamp, + pid: BROWSER_PID, + }); + } + + warnLogger.error('error-message'); + for (const appenderMock of appenderMocks) { + expect(appenderMock.append).toHaveBeenCalledTimes(2); + expect(appenderMock.append).toHaveBeenCalledWith({ + context, + level: LogLevel.Error, + message: 'error-message', + timestamp, + pid: BROWSER_PID, + }); + } + + warnLogger.fatal('fatal-message'); + for (const appenderMock of appenderMocks) { + expect(appenderMock.append).toHaveBeenCalledTimes(3); + expect(appenderMock.append).toHaveBeenCalledWith({ + context, + level: LogLevel.Fatal, + message: 'fatal-message', + timestamp, + pid: BROWSER_PID, + }); + } +}); diff --git a/packages/core/logging/core-logging-browser-internal/src/logger.ts b/packages/core/logging/core-logging-browser-internal/src/logger.ts new file mode 100644 index 0000000000000..31c3c9f4eccb5 --- /dev/null +++ b/packages/core/logging/core-logging-browser-internal/src/logger.ts @@ -0,0 +1,46 @@ +/* + * 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 { LogLevel, LogRecord, LogMeta } from '@kbn/logging'; +import { AbstractLogger } from '@kbn/core-logging-common-internal'; + +function isError(x: any): x is Error { + return x instanceof Error; +} + +export const BROWSER_PID = -1; + +/** @internal */ +export class BaseLogger extends AbstractLogger { + protected createLogRecord( + level: LogLevel, + errorOrMessage: string | Error, + meta?: Meta + ): LogRecord { + if (isError(errorOrMessage)) { + return { + context: this.context, + error: errorOrMessage, + level, + message: errorOrMessage.message, + meta, + timestamp: new Date(), + pid: BROWSER_PID, + }; + } + + return { + context: this.context, + level, + message: errorOrMessage, + meta, + timestamp: new Date(), + pid: BROWSER_PID, + }; + } +} diff --git a/packages/core/logging/core-logging-browser-internal/src/logging_system.test.ts b/packages/core/logging/core-logging-browser-internal/src/logging_system.test.ts new file mode 100644 index 0000000000000..61b32002e7ae5 --- /dev/null +++ b/packages/core/logging/core-logging-browser-internal/src/logging_system.test.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 { BrowserLoggingSystem } from './logging_system'; + +describe('', () => { + const timestamp = new Date(Date.UTC(2012, 1, 1, 14, 33, 22, 11)); + + let mockConsoleLog: jest.SpyInstance; + let loggingSystem: BrowserLoggingSystem; + + beforeEach(() => { + mockConsoleLog = jest.spyOn(global.console, 'log').mockReturnValue(undefined); + jest.spyOn(global, 'Date').mockImplementation(() => timestamp); + loggingSystem = new BrowserLoggingSystem({ logLevel: 'warn' }); + }); + + afterEach(() => { + mockConsoleLog.mockReset(); + }); + + describe('#get', () => { + it('returns the same logger for same context', () => { + const loggerA = loggingSystem.get('same.logger'); + const loggerB = loggingSystem.get('same.logger'); + expect(loggerA).toBe(loggerB); + }); + + it('returns different loggers for different contexts', () => { + const loggerA = loggingSystem.get('some.logger'); + const loggerB = loggingSystem.get('another.logger'); + expect(loggerA).not.toBe(loggerB); + }); + }); + + describe('logger configuration', () => { + it('properly configure the logger to use the correct context and pattern', () => { + const logger = loggingSystem.get('foo.bar'); + logger.warn('some message'); + + expect(mockConsoleLog.mock.calls[0]).toMatchInlineSnapshot(` + Array [ + "[2012-02-01T09:33:22.011-05:00][WARN ][foo.bar] some message", + ] + `); + }); + + it('properly configure the logger to use the correct level', () => { + const logger = loggingSystem.get('foo.bar'); + logger.trace('some trace message'); + logger.debug('some debug message'); + logger.info('some info message'); + logger.warn('some warn message'); + logger.error('some error message'); + logger.fatal('some fatal message'); + + expect(mockConsoleLog.mock.calls).toMatchInlineSnapshot(` + Array [ + Array [ + "[2012-02-01T04:33:22.011-05:00][WARN ][foo.bar] some warn message", + ], + Array [ + "[2012-01-31T23:33:22.011-05:00][ERROR][foo.bar] some error message", + ], + Array [ + "[2012-01-31T18:33:22.011-05:00][FATAL][foo.bar] some fatal message", + ], + ] + `); + }); + }); +}); diff --git a/packages/core/logging/core-logging-browser-internal/src/logging_system.ts b/packages/core/logging/core-logging-browser-internal/src/logging_system.ts new file mode 100644 index 0000000000000..50f7c449996ba --- /dev/null +++ b/packages/core/logging/core-logging-browser-internal/src/logging_system.ts @@ -0,0 +1,74 @@ +/* + * 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 { LogLevel, Logger, LoggerFactory, LogLevelId, DisposableAppender } from '@kbn/logging'; +import { getLoggerContext } from '@kbn/core-logging-common-internal'; +import type { LoggerConfigType } from './types'; +import { BaseLogger } from './logger'; +import { PatternLayout } from './layouts'; +import { ConsoleAppender } from './appenders'; + +export interface BrowserLoggingConfig { + logLevel: LogLevelId; +} + +const CONSOLE_APPENDER_ID = 'console'; + +/** + * @internal + */ +export interface IBrowserLoggingSystem extends LoggerFactory { + asLoggerFactory(): LoggerFactory; +} + +/** + * @internal + */ +export class BrowserLoggingSystem implements IBrowserLoggingSystem { + private readonly loggers: Map = new Map(); + private readonly appenders: Map = new Map(); + + constructor(private readonly loggingConfig: BrowserLoggingConfig) { + this.setupSystem(loggingConfig); + } + + public get(...contextParts: string[]): Logger { + const context = getLoggerContext(contextParts); + if (!this.loggers.has(context)) { + this.loggers.set(context, this.createLogger(context)); + } + return this.loggers.get(context)!; + } + + private createLogger(context: string) { + const { level, appenders } = this.getLoggerConfigByContext(context); + const loggerLevel = LogLevel.fromId(level); + const loggerAppenders = appenders.map((appenderKey) => this.appenders.get(appenderKey)!); + return new BaseLogger(context, loggerLevel, loggerAppenders, this.asLoggerFactory()); + } + + private getLoggerConfigByContext(context: string): LoggerConfigType { + return { + level: this.loggingConfig.logLevel, + appenders: [CONSOLE_APPENDER_ID], + name: context, + }; + } + + private setupSystem(loggingConfig: BrowserLoggingConfig) { + const consoleAppender = new ConsoleAppender(new PatternLayout()); + this.appenders.set(CONSOLE_APPENDER_ID, consoleAppender); + } + + /** + * Safe wrapper that allows passing logging service as immutable LoggerFactory. + */ + public asLoggerFactory(): LoggerFactory { + return { get: (...contextParts: string[]) => this.get(...contextParts) }; + } +} diff --git a/packages/core/logging/core-logging-browser-internal/src/types.ts b/packages/core/logging/core-logging-browser-internal/src/types.ts new file mode 100644 index 0000000000000..29ef977f2f28f --- /dev/null +++ b/packages/core/logging/core-logging-browser-internal/src/types.ts @@ -0,0 +1,20 @@ +/* + * 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 { LogLevelId } from '@kbn/logging'; + +/** + * Describes the configuration of a given logger. + * + * @public + */ +export interface LoggerConfigType { + appenders: string[]; + name: string; + level: LogLevelId; +} diff --git a/packages/core/logging/core-logging-browser-internal/tsconfig.json b/packages/core/logging/core-logging-browser-internal/tsconfig.json new file mode 100644 index 0000000000000..25957cd665d11 --- /dev/null +++ b/packages/core/logging/core-logging-browser-internal/tsconfig.json @@ -0,0 +1,16 @@ +{ + "extends": "../../../../tsconfig.bazel.json", + "compilerOptions": { + "declaration": true, + "emitDeclarationOnly": true, + "outDir": "target_types", + "stripInternal": false, + "types": [ + "jest", + "node", + ] + }, + "include": [ + "**/*.ts", + ] +} diff --git a/packages/core/logging/core-logging-browser-mocks/BUILD.bazel b/packages/core/logging/core-logging-browser-mocks/BUILD.bazel new file mode 100644 index 0000000000000..a5e2c1ac54b19 --- /dev/null +++ b/packages/core/logging/core-logging-browser-mocks/BUILD.bazel @@ -0,0 +1,115 @@ +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-logging-browser-mocks" +PKG_REQUIRE_NAME = "@kbn/core-logging-browser-mocks" + +SOURCE_FILES = glob( + [ + "**/*.ts", + "**/*.tsx", + ], + exclude = [ + "**/*.config.js", + "**/*.test.*", + "**/*.stories.*", + "**/__snapshots__/**", + "**/integration_tests/**", + "**/mocks/**", + "**/scripts/**", + "**/storybook/**", + "**/test_fixtures/**", + "**/test_helpers/**", + ], +) + +SRCS = SOURCE_FILES + +filegroup( + name = "srcs", + srcs = SRCS, +) + +NPM_MODULE_EXTRA_FILES = [ + "package.json", +] + +RUNTIME_DEPS = [ + "@npm//react", + "//packages/kbn-logging-mocks", +] + +TYPES_DEPS = [ + "@npm//@types/node", + "@npm//@types/jest", + "@npm//@types/react", + "//packages/kbn-logging-mocks:npm_module_types", + "//packages/core/logging/core-logging-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, + emit_declaration_only = True, + out_dir = "target_types", + 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"], +) + +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + 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( + name = "build_types", + deps = [":npm_module_types"], + visibility = ["//visibility:public"], +) diff --git a/packages/core/logging/core-logging-browser-mocks/README.md b/packages/core/logging/core-logging-browser-mocks/README.md new file mode 100644 index 0000000000000..eeb456fe2379c --- /dev/null +++ b/packages/core/logging/core-logging-browser-mocks/README.md @@ -0,0 +1,3 @@ +# @kbn/core-logging-browser-mocks + +This package contains the mocks for Core's browser-side logging service. diff --git a/packages/core/logging/core-logging-browser-mocks/index.ts b/packages/core/logging/core-logging-browser-mocks/index.ts new file mode 100644 index 0000000000000..a8b4c9ff1a2fa --- /dev/null +++ b/packages/core/logging/core-logging-browser-mocks/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 { loggingSystemMock } from './src'; diff --git a/packages/core/logging/core-logging-browser-mocks/jest.config.js b/packages/core/logging/core-logging-browser-mocks/jest.config.js new file mode 100644 index 0000000000000..47449390afd03 --- /dev/null +++ b/packages/core/logging/core-logging-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', + rootDir: '../../../..', + roots: ['/packages/core/logging/core-logging-browser-mocks'], +}; diff --git a/packages/core/logging/core-logging-browser-mocks/kibana.jsonc b/packages/core/logging/core-logging-browser-mocks/kibana.jsonc new file mode 100644 index 0000000000000..377320816c652 --- /dev/null +++ b/packages/core/logging/core-logging-browser-mocks/kibana.jsonc @@ -0,0 +1,7 @@ +{ + "type": "shared-common", + "id": "@kbn/core-logging-browser-mocks", + "owner": "@elastic/kibana-core", + "runtimeDeps": [], + "typeDeps": [], +} diff --git a/packages/core/logging/core-logging-browser-mocks/package.json b/packages/core/logging/core-logging-browser-mocks/package.json new file mode 100644 index 0000000000000..8ab9610e35470 --- /dev/null +++ b/packages/core/logging/core-logging-browser-mocks/package.json @@ -0,0 +1,10 @@ +{ + "name": "@kbn/core-logging-browser-mocks", + "private": true, + "version": "1.0.0", + "main": "./target_node/index.js", + "browser": "./target_web/index.js", + "author": "Kibana Core", + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" +} diff --git a/packages/core/logging/core-logging-browser-mocks/src/index.ts b/packages/core/logging/core-logging-browser-mocks/src/index.ts new file mode 100644 index 0000000000000..07ff934f94dfa --- /dev/null +++ b/packages/core/logging/core-logging-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 { loggingSystemMock } from './logging_system.mock'; diff --git a/packages/core/logging/core-logging-browser-mocks/src/logging_system.mock.ts b/packages/core/logging/core-logging-browser-mocks/src/logging_system.mock.ts new file mode 100644 index 0000000000000..333b2cbb7bb8a --- /dev/null +++ b/packages/core/logging/core-logging-browser-mocks/src/logging_system.mock.ts @@ -0,0 +1,37 @@ +/* + * 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 { loggerMock, MockedLogger } from '@kbn/logging-mocks'; +import type { IBrowserLoggingSystem } from '@kbn/core-logging-browser-internal'; + +const createLoggingSystemMock = () => { + const mockLog: MockedLogger = loggerMock.create(); + + mockLog.get.mockImplementation((...context) => ({ + ...mockLog, + context, + })); + + const mocked: jest.Mocked = { + get: jest.fn(), + asLoggerFactory: jest.fn(), + }; + + mocked.get.mockImplementation((...context) => ({ + ...mockLog, + context, + })); + mocked.asLoggerFactory.mockImplementation(() => mocked); + + return mocked; +}; + +export const loggingSystemMock = { + create: createLoggingSystemMock, + createLogger: loggerMock.create, +}; diff --git a/packages/core/logging/core-logging-browser-mocks/tsconfig.json b/packages/core/logging/core-logging-browser-mocks/tsconfig.json new file mode 100644 index 0000000000000..571fbfcd8ef25 --- /dev/null +++ b/packages/core/logging/core-logging-browser-mocks/tsconfig.json @@ -0,0 +1,18 @@ +{ + "extends": "../../../../tsconfig.bazel.json", + "compilerOptions": { + "declaration": true, + "emitDeclarationOnly": true, + "outDir": "target_types", + "stripInternal": false, + "types": [ + "jest", + "node", + "react" + ] + }, + "include": [ + "**/*.ts", + "**/*.tsx", + ] +} diff --git a/packages/core/logging/core-logging-common-internal/BUILD.bazel b/packages/core/logging/core-logging-common-internal/BUILD.bazel new file mode 100644 index 0000000000000..3c392281b23a6 --- /dev/null +++ b/packages/core/logging/core-logging-common-internal/BUILD.bazel @@ -0,0 +1,116 @@ +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-logging-common-internal" +PKG_REQUIRE_NAME = "@kbn/core-logging-common-internal" + +SOURCE_FILES = glob( + [ + "**/*.ts", + "**/*.tsx", + ], + exclude = [ + "**/*.config.js", + "**/*.mock.*", + "**/*.test.*", + "**/*.stories.*", + "**/__snapshots__/**", + "**/integration_tests/**", + "**/mocks/**", + "**/scripts/**", + "**/storybook/**", + "**/test_fixtures/**", + "**/test_helpers/**", + ], +) + +SRCS = SOURCE_FILES + +filegroup( + name = "srcs", + srcs = SRCS, +) + +NPM_MODULE_EXTRA_FILES = [ + "package.json", +] + +RUNTIME_DEPS = [ + "@npm//lodash", + "@npm//moment-timezone", +] + +TYPES_DEPS = [ + "@npm//@types/node", + "@npm//@types/jest", + "@npm//@types/moment-timezone", + "@npm//lodash", + "//packages/kbn-logging: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, + emit_declaration_only = True, + out_dir = "target_types", + 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"], +) + +js_library( + name = "npm_module_types", + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web", ":tsc_types"], + 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( + name = "build_types", + deps = [":npm_module_types"], + visibility = ["//visibility:public"], +) diff --git a/packages/core/logging/core-logging-common-internal/README.md b/packages/core/logging/core-logging-common-internal/README.md new file mode 100644 index 0000000000000..9358b0009781b --- /dev/null +++ b/packages/core/logging/core-logging-common-internal/README.md @@ -0,0 +1,3 @@ +# @kbn/core-logging-common-internal + +This package contains common types and the base implementation for the browser and server-side logging systems. diff --git a/packages/core/logging/core-logging-common-internal/index.ts b/packages/core/logging/core-logging-common-internal/index.ts new file mode 100644 index 0000000000000..24d5e93316789 --- /dev/null +++ b/packages/core/logging/core-logging-common-internal/index.ts @@ -0,0 +1,24 @@ +/* + * 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 { + PatternLayout, + DateConversion, + LoggerConversion, + MessageConversion, + LevelConversion, + MetaConversion, + type Conversion, + AbstractLogger, + type CreateLogRecordFn, + getLoggerContext, + getParentLoggerContext, + CONTEXT_SEPARATOR, + ROOT_CONTEXT_NAME, + DEFAULT_APPENDER_NAME, +} from './src'; diff --git a/packages/core/logging/core-logging-common-internal/jest.config.js b/packages/core/logging/core-logging-common-internal/jest.config.js new file mode 100644 index 0000000000000..3a077c47c301b --- /dev/null +++ b/packages/core/logging/core-logging-common-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/logging/core-logging-common-internal'], +}; diff --git a/packages/core/logging/core-logging-common-internal/kibana.jsonc b/packages/core/logging/core-logging-common-internal/kibana.jsonc new file mode 100644 index 0000000000000..353df47ee9dd0 --- /dev/null +++ b/packages/core/logging/core-logging-common-internal/kibana.jsonc @@ -0,0 +1,7 @@ +{ + "type": "shared-common", + "id": "@kbn/core-logging-common-internal", + "owner": "@elastic/kibana-core", + "runtimeDeps": [], + "typeDeps": [], +} diff --git a/packages/core/logging/core-logging-common-internal/package.json b/packages/core/logging/core-logging-common-internal/package.json new file mode 100644 index 0000000000000..3c0aff6df7b0b --- /dev/null +++ b/packages/core/logging/core-logging-common-internal/package.json @@ -0,0 +1,10 @@ +{ + "name": "@kbn/core-logging-common-internal", + "private": true, + "version": "1.0.0", + "main": "./target_node/index.js", + "browser": "./target_web/index.js", + "author": "Kibana Core", + "license": "SSPL-1.0 OR Elastic License 2.0", + "types": "./target_types/index.d.ts" +} diff --git a/packages/core/logging/core-logging-common-internal/src/index.ts b/packages/core/logging/core-logging-common-internal/src/index.ts new file mode 100644 index 0000000000000..cf74f46eb6d65 --- /dev/null +++ b/packages/core/logging/core-logging-common-internal/src/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. + */ + +export { + PatternLayout, + DateConversion, + LoggerConversion, + MessageConversion, + LevelConversion, + MetaConversion, + type Conversion, +} from './layouts'; +export { AbstractLogger, type CreateLogRecordFn } from './logger'; +export { + getLoggerContext, + getParentLoggerContext, + CONTEXT_SEPARATOR, + ROOT_CONTEXT_NAME, + DEFAULT_APPENDER_NAME, +} from './logger_context'; diff --git a/packages/core/logging/core-logging-common-internal/src/layouts/__snapshots__/pattern_layout.test.ts.snap b/packages/core/logging/core-logging-common-internal/src/layouts/__snapshots__/pattern_layout.test.ts.snap new file mode 100644 index 0000000000000..d3f9309a4773c --- /dev/null +++ b/packages/core/logging/core-logging-common-internal/src/layouts/__snapshots__/pattern_layout.test.ts.snap @@ -0,0 +1,37 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`\`format()\` correctly formats record with custom pattern. 1`] = `"mock-Some error stack-context-1-Some error stack"`; + +exports[`\`format()\` correctly formats record with custom pattern. 2`] = `"mock-message-2-context-2-message-2"`; + +exports[`\`format()\` correctly formats record with custom pattern. 3`] = `"mock-message-3-context-3-message-3"`; + +exports[`\`format()\` correctly formats record with custom pattern. 4`] = `"mock-message-4-context-4-message-4"`; + +exports[`\`format()\` correctly formats record with custom pattern. 5`] = `"mock-message-5-context-5-message-5"`; + +exports[`\`format()\` correctly formats record with custom pattern. 6`] = `"mock-message-6-context-6-message-6"`; + +exports[`\`format()\` correctly formats record with full pattern. 1`] = `"[2012-02-01T09:30:22.011-05:00][FATAL][context-1] Some error stack"`; + +exports[`\`format()\` correctly formats record with full pattern. 2`] = `"[2012-02-01T09:30:22.011-05:00][ERROR][context-2] message-2"`; + +exports[`\`format()\` correctly formats record with full pattern. 3`] = `"[2012-02-01T09:30:22.011-05:00][WARN ][context-3] message-3"`; + +exports[`\`format()\` correctly formats record with full pattern. 4`] = `"[2012-02-01T09:30:22.011-05:00][DEBUG][context-4] message-4"`; + +exports[`\`format()\` correctly formats record with full pattern. 5`] = `"[2012-02-01T09:30:22.011-05:00][INFO ][context-5] message-5"`; + +exports[`\`format()\` correctly formats record with full pattern. 6`] = `"[2012-02-01T09:30:22.011-05:00][TRACE][context-6] message-6"`; + +exports[`allows specifying the PID in custom pattern 1`] = `"%pid-context-1-Some error stack"`; + +exports[`allows specifying the PID in custom pattern 2`] = `"%pid-context-2-message-2"`; + +exports[`allows specifying the PID in custom pattern 3`] = `"%pid-context-3-message-3"`; + +exports[`allows specifying the PID in custom pattern 4`] = `"%pid-context-4-message-4"`; + +exports[`allows specifying the PID in custom pattern 5`] = `"%pid-context-5-message-5"`; + +exports[`allows specifying the PID in custom pattern 6`] = `"%pid-context-6-message-6"`; diff --git a/packages/core/logging/core-logging-server-internal/src/layouts/conversions/date.ts b/packages/core/logging/core-logging-common-internal/src/layouts/conversions/date.ts similarity index 98% rename from packages/core/logging/core-logging-server-internal/src/layouts/conversions/date.ts rename to packages/core/logging/core-logging-common-internal/src/layouts/conversions/date.ts index 66aad5b42354a..024d3d26befb3 100644 --- a/packages/core/logging/core-logging-server-internal/src/layouts/conversions/date.ts +++ b/packages/core/logging/core-logging-common-internal/src/layouts/conversions/date.ts @@ -9,8 +9,7 @@ import moment from 'moment-timezone'; import { last } from 'lodash'; import { LogRecord } from '@kbn/logging'; - -import { Conversion } from './type'; +import { Conversion } from './types'; const dateRegExp = /%date({(?[^}]+)})?({(?[^}]+)})?/g; diff --git a/packages/core/logging/core-logging-common-internal/src/layouts/conversions/index.ts b/packages/core/logging/core-logging-common-internal/src/layouts/conversions/index.ts new file mode 100644 index 0000000000000..3f0abcdb8f478 --- /dev/null +++ b/packages/core/logging/core-logging-common-internal/src/layouts/conversions/index.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 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 { Conversion } from './types'; +export { LoggerConversion } from './logger'; +export { LevelConversion } from './level'; +export { MessageConversion } from './message'; +export { MetaConversion } from './meta'; +export { DateConversion } from './date'; diff --git a/packages/core/logging/core-logging-common-internal/src/layouts/conversions/level.ts b/packages/core/logging/core-logging-common-internal/src/layouts/conversions/level.ts new file mode 100644 index 0000000000000..19bd60c3a1996 --- /dev/null +++ b/packages/core/logging/core-logging-common-internal/src/layouts/conversions/level.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 { LogRecord } from '@kbn/logging'; +import { Conversion } from './types'; + +export const LevelConversion: Conversion = { + pattern: /%level/g, + convert(record: LogRecord) { + const message = record.level.id.toUpperCase().padEnd(5); + return message; + }, +}; diff --git a/packages/core/logging/core-logging-common-internal/src/layouts/conversions/logger.ts b/packages/core/logging/core-logging-common-internal/src/layouts/conversions/logger.ts new file mode 100644 index 0000000000000..f7ddb98646119 --- /dev/null +++ b/packages/core/logging/core-logging-common-internal/src/layouts/conversions/logger.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 { LogRecord } from '@kbn/logging'; +import { Conversion } from './types'; + +export const LoggerConversion: Conversion = { + pattern: /%logger/g, + convert(record: LogRecord) { + const message = record.context; + return message; + }, +}; diff --git a/packages/core/logging/core-logging-server-internal/src/layouts/conversions/message.ts b/packages/core/logging/core-logging-common-internal/src/layouts/conversions/message.ts similarity index 94% rename from packages/core/logging/core-logging-server-internal/src/layouts/conversions/message.ts rename to packages/core/logging/core-logging-common-internal/src/layouts/conversions/message.ts index 009eee4d33eae..97fc4c60101ce 100644 --- a/packages/core/logging/core-logging-server-internal/src/layouts/conversions/message.ts +++ b/packages/core/logging/core-logging-common-internal/src/layouts/conversions/message.ts @@ -7,7 +7,7 @@ */ import { LogRecord } from '@kbn/logging'; -import { Conversion } from './type'; +import { Conversion } from './types'; export const MessageConversion: Conversion = { pattern: /%message/g, diff --git a/packages/core/logging/core-logging-server-internal/src/layouts/conversions/meta.ts b/packages/core/logging/core-logging-common-internal/src/layouts/conversions/meta.ts similarity index 93% rename from packages/core/logging/core-logging-server-internal/src/layouts/conversions/meta.ts rename to packages/core/logging/core-logging-common-internal/src/layouts/conversions/meta.ts index abeb13136f13a..49bd79729da5a 100644 --- a/packages/core/logging/core-logging-server-internal/src/layouts/conversions/meta.ts +++ b/packages/core/logging/core-logging-common-internal/src/layouts/conversions/meta.ts @@ -7,7 +7,7 @@ */ import { LogRecord } from '@kbn/logging'; -import { Conversion } from './type'; +import { Conversion } from './types'; export const MetaConversion: Conversion = { pattern: /%meta/g, diff --git a/packages/core/logging/core-logging-server-internal/src/layouts/conversions/type.ts b/packages/core/logging/core-logging-common-internal/src/layouts/conversions/types.ts similarity index 100% rename from packages/core/logging/core-logging-server-internal/src/layouts/conversions/type.ts rename to packages/core/logging/core-logging-common-internal/src/layouts/conversions/types.ts diff --git a/packages/core/logging/core-logging-common-internal/src/layouts/index.ts b/packages/core/logging/core-logging-common-internal/src/layouts/index.ts new file mode 100644 index 0000000000000..0d89459d9de9f --- /dev/null +++ b/packages/core/logging/core-logging-common-internal/src/layouts/index.ts @@ -0,0 +1,17 @@ +/* + * 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 { PatternLayout } from './pattern_layout'; +export { + DateConversion, + LoggerConversion, + MessageConversion, + LevelConversion, + MetaConversion, + type Conversion, +} from './conversions'; diff --git a/packages/core/logging/core-logging-common-internal/src/layouts/pattern_layout.test.ts b/packages/core/logging/core-logging-common-internal/src/layouts/pattern_layout.test.ts new file mode 100644 index 0000000000000..b810321f83639 --- /dev/null +++ b/packages/core/logging/core-logging-common-internal/src/layouts/pattern_layout.test.ts @@ -0,0 +1,256 @@ +/* + * 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 stripAnsi from 'strip-ansi'; +import hasAnsi from 'has-ansi'; +import { LogLevel, LogRecord } from '@kbn/logging'; +import { PatternLayout } from './pattern_layout'; + +const stripAnsiSnapshotSerializer: jest.SnapshotSerializerPlugin = { + serialize(value: string) { + return stripAnsi(value); + }, + + test(value: any) { + return typeof value === 'string' && hasAnsi(value); + }, +}; + +const timestamp = new Date(Date.UTC(2012, 1, 1, 14, 30, 22, 11)); +const records: LogRecord[] = [ + { + context: 'context-1', + error: { + message: 'Some error message', + name: 'Some error name', + stack: 'Some error stack', + }, + level: LogLevel.Fatal, + message: 'message-1', + timestamp, + pid: 5355, + }, + { + context: 'context-2', + level: LogLevel.Error, + message: 'message-2', + timestamp, + pid: 5355, + }, + { + context: 'context-3', + level: LogLevel.Warn, + message: 'message-3', + timestamp, + pid: 5355, + }, + { + context: 'context-4', + level: LogLevel.Debug, + message: 'message-4', + timestamp, + pid: 5355, + }, + { + context: 'context-5', + level: LogLevel.Info, + message: 'message-5', + timestamp, + pid: 5355, + }, + { + context: 'context-6', + level: LogLevel.Trace, + message: 'message-6', + timestamp, + pid: 5355, + }, +]; + +expect.addSnapshotSerializer(stripAnsiSnapshotSerializer); + +test('`format()` correctly formats record with full pattern.', () => { + const layout = new PatternLayout(); + + for (const record of records) { + expect(layout.format(record)).toMatchSnapshot(); + } +}); + +test('`format()` correctly formats record with custom pattern.', () => { + const layout = new PatternLayout({ pattern: 'mock-%message-%logger-%message' }); + + for (const record of records) { + expect(layout.format(record)).toMatchSnapshot(); + } +}); + +test('`format()` correctly formats record with meta data.', () => { + const layout = new PatternLayout({ pattern: '[%date][%level][%logger]%meta %message' }); + + expect( + layout.format({ + context: 'context-meta', + level: LogLevel.Debug, + message: 'message-meta', + timestamp, + pid: 5355, + meta: { + // @ts-expect-error not valid ECS field + from: 'v7', + to: 'v8', + }, + }) + ).toBe( + '[2012-02-01T09:30:22.011-05:00][DEBUG][context-meta]{"from":"v7","to":"v8"} message-meta' + ); + + expect( + layout.format({ + context: 'context-meta', + level: LogLevel.Debug, + message: 'message-meta', + timestamp, + pid: 5355, + meta: {}, + }) + ).toBe('[2012-02-01T09:30:22.011-05:00][DEBUG][context-meta]{} message-meta'); + + expect( + layout.format({ + context: 'context-meta', + level: LogLevel.Debug, + message: 'message-meta', + timestamp, + pid: 5355, + }) + ).toBe('[2012-02-01T09:30:22.011-05:00][DEBUG][context-meta] message-meta'); +}); + +test('allows specifying the PID in custom pattern', () => { + const layout = new PatternLayout({ pattern: '%pid-%logger-%message' }); + + for (const record of records) { + expect(layout.format(record)).toMatchSnapshot(); + } +}); + +test('`format()` allows specifying pattern with meta.', () => { + const layout = new PatternLayout({ pattern: '%logger-%meta-%message' }); + const record = { + context: 'context', + level: LogLevel.Debug, + message: 'message', + timestamp, + pid: 5355, + meta: { + from: 'v7', + to: 'v8', + }, + }; + // @ts-expect-error not valid ECS field + expect(layout.format(record)).toBe('context-{"from":"v7","to":"v8"}-message'); +}); + +describe('format', () => { + describe('timestamp', () => { + const record = { + context: 'context', + level: LogLevel.Debug, + message: 'message', + timestamp, + pid: 5355, + }; + it('uses ISO8601_TZ as default', () => { + const layout = new PatternLayout(); + + expect(layout.format(record)).toBe('[2012-02-01T09:30:22.011-05:00][DEBUG][context] message'); + }); + + describe('supports specifying a predefined format', () => { + it('ISO8601', () => { + const layout = new PatternLayout({ pattern: '[%date{ISO8601}][%logger]' }); + + expect(layout.format(record)).toBe('[2012-02-01T14:30:22.011Z][context]'); + }); + + it('ISO8601_TZ', () => { + const layout = new PatternLayout({ pattern: '[%date{ISO8601_TZ}][%logger]' }); + + expect(layout.format(record)).toBe('[2012-02-01T09:30:22.011-05:00][context]'); + }); + + it('ABSOLUTE', () => { + const layout = new PatternLayout({ pattern: '[%date{ABSOLUTE}][%logger]' }); + + expect(layout.format(record)).toBe('[09:30:22.011][context]'); + }); + + it('UNIX', () => { + const layout = new PatternLayout({ pattern: '[%date{UNIX}][%logger]' }); + + expect(layout.format(record)).toBe('[1328106622][context]'); + }); + + it('UNIX_MILLIS', () => { + const layout = new PatternLayout({ pattern: '[%date{UNIX_MILLIS}][%logger]' }); + + expect(layout.format(record)).toBe('[1328106622011][context]'); + }); + }); + + describe('supports specifying a predefined format and timezone', () => { + it('ISO8601', () => { + const layout = new PatternLayout({ + pattern: '[%date{ISO8601}{America/Los_Angeles}][%logger]', + }); + + expect(layout.format(record)).toBe('[2012-02-01T14:30:22.011Z][context]'); + }); + + it('ISO8601_TZ', () => { + const layout = new PatternLayout({ + pattern: '[%date{ISO8601_TZ}{America/Los_Angeles}][%logger]', + }); + + expect(layout.format(record)).toBe('[2012-02-01T06:30:22.011-08:00][context]'); + }); + + it('ABSOLUTE', () => { + const layout = new PatternLayout({ + pattern: '[%date{ABSOLUTE}{America/Los_Angeles}][%logger]', + }); + + expect(layout.format(record)).toBe('[06:30:22.011][context]'); + }); + + it('UNIX', () => { + const layout = new PatternLayout({ + pattern: '[%date{UNIX}{America/Los_Angeles}][%logger]', + }); + + expect(layout.format(record)).toBe('[1328106622][context]'); + }); + + it('UNIX_MILLIS', () => { + const layout = new PatternLayout({ + pattern: '[%date{UNIX_MILLIS}{America/Los_Angeles}][%logger]', + }); + + expect(layout.format(record)).toBe('[1328106622011][context]'); + }); + }); + it('formats several conversions patterns correctly', () => { + const layout = new PatternLayout({ + pattern: '[%date{ABSOLUTE}{America/Los_Angeles}][%logger][%date{UNIX}]', + }); + + expect(layout.format(record)).toBe('[06:30:22.011][context][1328106622]'); + }); + }); +}); diff --git a/packages/core/logging/core-logging-common-internal/src/layouts/pattern_layout.ts b/packages/core/logging/core-logging-common-internal/src/layouts/pattern_layout.ts new file mode 100644 index 0000000000000..13a9b35fd41bb --- /dev/null +++ b/packages/core/logging/core-logging-common-internal/src/layouts/pattern_layout.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 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 { LogRecord, Layout } from '@kbn/logging'; +import { + Conversion, + LoggerConversion, + LevelConversion, + MetaConversion, + MessageConversion, + DateConversion, +} from './conversions'; + +/** + * Default pattern used by PatternLayout if it's not overridden in the configuration. + */ +const DEFAULT_PATTERN = `[%date][%level][%logger] %message`; + +const DEFAULT_CONVERSIONS: Conversion[] = [ + LoggerConversion, + MessageConversion, + LevelConversion, + MetaConversion, + DateConversion, +]; + +export interface PatternLayoutOptions { + pattern?: string; + highlight?: boolean; + conversions?: Conversion[]; +} + +/** + * Layout that formats `LogRecord` using the `pattern` string with optional + * color highlighting (eg. to make log messages easier to read in the terminal). + * @internal + */ +export class PatternLayout implements Layout { + private readonly pattern: string; + private readonly highlight: boolean; + private readonly conversions: Conversion[]; + + constructor({ + pattern = DEFAULT_PATTERN, + highlight = false, + conversions = DEFAULT_CONVERSIONS, + }: PatternLayoutOptions = {}) { + this.pattern = pattern; + this.highlight = highlight; + this.conversions = conversions; + } + + /** + * Formats `LogRecord` into a string based on the specified `pattern` and `highlighting` options. + * @param record Instance of `LogRecord` to format into string. + */ + public format(record: LogRecord): string { + let recordString = this.pattern; + for (const conversion of this.conversions) { + recordString = recordString.replace( + conversion.pattern, + conversion.convert.bind(null, record, this.highlight) + ); + } + + return recordString; + } +} diff --git a/packages/core/logging/core-logging-common-internal/src/logger.test.ts b/packages/core/logging/core-logging-common-internal/src/logger.test.ts new file mode 100644 index 0000000000000..adf4275a7d6cd --- /dev/null +++ b/packages/core/logging/core-logging-common-internal/src/logger.test.ts @@ -0,0 +1,241 @@ +/* + * 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 { Appender, LogLevel, LogMeta, LogRecord } from '@kbn/logging'; +import { getLoggerContext } from '@kbn/core-logging-common-internal'; +import { AbstractLogger, CreateLogRecordFn } from './logger'; + +describe('AbstractLogger', () => { + const context = getLoggerContext(['context', 'parent', 'child']); + const factory = { + get: jest.fn().mockImplementation(() => logger), + }; + + let appenderMocks: Appender[]; + + const createLogRecordSpy: jest.MockedFunction = jest.fn(); + + class TestLogger extends AbstractLogger { + createLogRecord( + level: LogLevel, + errorOrMessage: string | Error, + meta?: Meta + ) { + return createLogRecordSpy(level, errorOrMessage, meta); + } + } + + let logger: TestLogger; + + beforeEach(() => { + appenderMocks = [{ append: jest.fn() }, { append: jest.fn() }]; + logger = new TestLogger(context, LogLevel.All, appenderMocks, factory); + + createLogRecordSpy.mockImplementation((level, message, meta) => { + return { + level, + message, + meta, + } as LogRecord; + }); + }); + + afterEach(() => { + createLogRecordSpy.mockReset(); + }); + + describe('#trace', () => { + it('calls `createLogRecord` with the correct parameters', () => { + const meta = { tags: ['foo', 'bar'] }; + logger.trace('some message', meta); + + expect(createLogRecordSpy).toHaveBeenCalledTimes(1); + expect(createLogRecordSpy).toHaveBeenCalledWith(LogLevel.Trace, 'some message', meta); + }); + + it('pass the log record down to all appenders', () => { + const logRecord = { message: 'dummy', level: LogLevel.Trace } as LogRecord; + createLogRecordSpy.mockReturnValue(logRecord); + logger.trace('some message'); + for (const appenderMock of appenderMocks) { + expect(appenderMock.append).toHaveBeenCalledTimes(1); + expect(appenderMock.append).toHaveBeenCalledWith(logRecord); + } + }); + }); + + describe('#debug', () => { + it('calls `createLogRecord` with the correct parameters', () => { + const meta = { tags: ['foo', 'bar'] }; + logger.debug('some message', meta); + + expect(createLogRecordSpy).toHaveBeenCalledTimes(1); + expect(createLogRecordSpy).toHaveBeenCalledWith(LogLevel.Debug, 'some message', meta); + }); + + it('pass the log record down to all appenders', () => { + const logRecord = { message: 'dummy', level: LogLevel.Debug } as LogRecord; + createLogRecordSpy.mockReturnValue(logRecord); + logger.debug('some message'); + for (const appenderMock of appenderMocks) { + expect(appenderMock.append).toHaveBeenCalledTimes(1); + expect(appenderMock.append).toHaveBeenCalledWith(logRecord); + } + }); + }); + + describe('#info', () => { + it('calls `createLogRecord` with the correct parameters', () => { + const meta = { tags: ['foo', 'bar'] }; + logger.info('some message', meta); + + expect(createLogRecordSpy).toHaveBeenCalledTimes(1); + expect(createLogRecordSpy).toHaveBeenCalledWith(LogLevel.Info, 'some message', meta); + }); + + it('pass the log record down to all appenders', () => { + const logRecord = { message: 'dummy', level: LogLevel.Info } as LogRecord; + createLogRecordSpy.mockReturnValue(logRecord); + logger.info('some message'); + for (const appenderMock of appenderMocks) { + expect(appenderMock.append).toHaveBeenCalledTimes(1); + expect(appenderMock.append).toHaveBeenCalledWith(logRecord); + } + }); + }); + + describe('#warn', () => { + it('calls `createLogRecord` with the correct parameters', () => { + const meta = { tags: ['foo', 'bar'] }; + logger.warn('some message', meta); + + expect(createLogRecordSpy).toHaveBeenCalledTimes(1); + expect(createLogRecordSpy).toHaveBeenCalledWith(LogLevel.Warn, 'some message', meta); + }); + + it('pass the log record down to all appenders', () => { + const logRecord = { message: 'dummy', level: LogLevel.Warn } as LogRecord; + createLogRecordSpy.mockReturnValue(logRecord); + logger.warn('some message'); + for (const appenderMock of appenderMocks) { + expect(appenderMock.append).toHaveBeenCalledTimes(1); + expect(appenderMock.append).toHaveBeenCalledWith(logRecord); + } + }); + }); + + describe('#error', () => { + it('calls `createLogRecord` with the correct parameters', () => { + const meta = { tags: ['foo', 'bar'] }; + logger.error('some message', meta); + + expect(createLogRecordSpy).toHaveBeenCalledTimes(1); + expect(createLogRecordSpy).toHaveBeenCalledWith(LogLevel.Error, 'some message', meta); + }); + + it('pass the log record down to all appenders', () => { + const logRecord = { message: 'dummy', level: LogLevel.Error } as LogRecord; + createLogRecordSpy.mockReturnValue(logRecord); + logger.error('some message'); + for (const appenderMock of appenderMocks) { + expect(appenderMock.append).toHaveBeenCalledTimes(1); + expect(appenderMock.append).toHaveBeenCalledWith(logRecord); + } + }); + }); + + describe('#fatal', () => { + it('calls `createLogRecord` with the correct parameters', () => { + const meta = { tags: ['foo', 'bar'] }; + logger.fatal('some message', meta); + + expect(createLogRecordSpy).toHaveBeenCalledTimes(1); + expect(createLogRecordSpy).toHaveBeenCalledWith(LogLevel.Fatal, 'some message', meta); + }); + + it('pass the log record down to all appenders', () => { + const logRecord = { message: 'dummy', level: LogLevel.Fatal } as LogRecord; + createLogRecordSpy.mockReturnValue(logRecord); + logger.fatal('some message'); + for (const appenderMock of appenderMocks) { + expect(appenderMock.append).toHaveBeenCalledTimes(1); + expect(appenderMock.append).toHaveBeenCalledWith(logRecord); + } + }); + }); + + describe('#get', () => { + it('calls the logger factory with proper context and return the result', () => { + logger.get('sub', 'context'); + expect(factory.get).toHaveBeenCalledTimes(1); + expect(factory.get).toHaveBeenCalledWith(context, 'sub', 'context'); + + factory.get.mockClear(); + factory.get.mockImplementation(() => 'some-logger'); + + const childLogger = logger.get('other', 'sub'); + expect(factory.get).toHaveBeenCalledTimes(1); + expect(factory.get).toHaveBeenCalledWith(context, 'other', 'sub'); + expect(childLogger).toEqual('some-logger'); + }); + }); + + describe('log level', () => { + it('does not calls appenders for records with unsupported levels', () => { + logger = new TestLogger(context, LogLevel.Warn, appenderMocks, factory); + + logger.trace('some trace message'); + logger.debug('some debug message'); + logger.info('some info message'); + logger.warn('some warn message'); + logger.error('some error message'); + logger.fatal('some fatal message'); + + for (const appenderMock of appenderMocks) { + expect(appenderMock.append).toHaveBeenCalledTimes(3); + expect(appenderMock.append).toHaveBeenCalledWith( + expect.objectContaining({ + level: LogLevel.Warn, + }) + ); + expect(appenderMock.append).toHaveBeenCalledWith( + expect.objectContaining({ + level: LogLevel.Error, + }) + ); + expect(appenderMock.append).toHaveBeenCalledWith( + expect.objectContaining({ + level: LogLevel.Fatal, + }) + ); + } + }); + }); + + describe('isLevelEnabled', () => { + const orderedLogLevels = [ + LogLevel.Fatal, + LogLevel.Error, + LogLevel.Warn, + LogLevel.Info, + LogLevel.Debug, + LogLevel.Trace, + LogLevel.All, + ]; + + for (const logLevel of orderedLogLevels) { + it(`returns the correct value for a '${logLevel.id}' level logger`, () => { + const levelLogger = new TestLogger(context, logLevel, appenderMocks, factory); + for (const level of orderedLogLevels) { + const levelEnabled = logLevel.supports(level); + expect(levelLogger.isLevelEnabled(level.id)).toEqual(levelEnabled); + } + }); + } + }); +}); diff --git a/packages/core/logging/core-logging-common-internal/src/logger.ts b/packages/core/logging/core-logging-common-internal/src/logger.ts new file mode 100644 index 0000000000000..69d00ed57f39f --- /dev/null +++ b/packages/core/logging/core-logging-common-internal/src/logger.ts @@ -0,0 +1,86 @@ +/* + * 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 { + Appender, + LogLevel, + LogRecord, + LoggerFactory, + LogMeta, + Logger, + LogLevelId, +} from '@kbn/logging'; + +/** + * @internal + */ +export type CreateLogRecordFn = ( + level: LogLevel, + errorOrMessage: string | Error, + meta?: Meta +) => LogRecord; + +/** + * A basic, abstract logger implementation that delegates the create of log records to the child's createLogRecord function. + * @internal + */ +export abstract class AbstractLogger implements Logger { + constructor( + protected readonly context: string, + protected readonly level: LogLevel, + protected readonly appenders: Appender[], + protected readonly factory: LoggerFactory + ) {} + + protected abstract createLogRecord( + level: LogLevel, + errorOrMessage: string | Error, + meta?: Meta + ): LogRecord; + + public trace(message: string, meta?: Meta): void { + this.log(this.createLogRecord(LogLevel.Trace, message, meta)); + } + + public debug(message: string, meta?: Meta): void { + this.log(this.createLogRecord(LogLevel.Debug, message, meta)); + } + + public info(message: string, meta?: Meta): void { + this.log(this.createLogRecord(LogLevel.Info, message, meta)); + } + + public warn(errorOrMessage: string | Error, meta?: Meta): void { + this.log(this.createLogRecord(LogLevel.Warn, errorOrMessage, meta)); + } + + public error(errorOrMessage: string | Error, meta?: Meta): void { + this.log(this.createLogRecord(LogLevel.Error, errorOrMessage, meta)); + } + + public fatal(errorOrMessage: string | Error, meta?: Meta): void { + this.log(this.createLogRecord(LogLevel.Fatal, errorOrMessage, meta)); + } + + public isLevelEnabled(levelId: LogLevelId): boolean { + return this.level.supports(LogLevel.fromId(levelId)); + } + + public log(record: LogRecord) { + if (!this.level.supports(record.level)) { + return; + } + for (const appender of this.appenders) { + appender.append(record); + } + } + + public get(...childContextPaths: string[]): Logger { + return this.factory.get(...[this.context, ...childContextPaths]); + } +} diff --git a/packages/core/logging/core-logging-common-internal/src/logger_context.test.ts b/packages/core/logging/core-logging-common-internal/src/logger_context.test.ts new file mode 100644 index 0000000000000..664b9840fd077 --- /dev/null +++ b/packages/core/logging/core-logging-common-internal/src/logger_context.test.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 { getLoggerContext, getParentLoggerContext } from './logger_context'; + +describe('getLoggerContext', () => { + it('returns correct joined context name.', () => { + expect(getLoggerContext(['a', 'b', 'c'])).toEqual('a.b.c'); + expect(getLoggerContext(['a', 'b'])).toEqual('a.b'); + expect(getLoggerContext(['a'])).toEqual('a'); + expect(getLoggerContext([])).toEqual('root'); + }); +}); + +describe('getParentLoggerContext', () => { + it('returns correct parent context name.', () => { + expect(getParentLoggerContext('a.b.c')).toEqual('a.b'); + expect(getParentLoggerContext('a.b')).toEqual('a'); + expect(getParentLoggerContext('a')).toEqual('root'); + }); +}); diff --git a/packages/core/logging/core-logging-common-internal/src/logger_context.ts b/packages/core/logging/core-logging-common-internal/src/logger_context.ts new file mode 100644 index 0000000000000..d62a3fd5bea8a --- /dev/null +++ b/packages/core/logging/core-logging-common-internal/src/logger_context.ts @@ -0,0 +1,46 @@ +/* + * 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. + */ + +/** + * Separator string that used within nested context name (eg. plugins.pid). + */ +export const CONTEXT_SEPARATOR = '.'; + +/** + * Name of the `root` context that always exists and sits at the top of logger hierarchy. + */ +export const ROOT_CONTEXT_NAME = 'root'; + +/** + * Name of the appender that is always presented and used by `root` logger by default. + */ +export const DEFAULT_APPENDER_NAME = 'default'; + +/** + * Helper method that joins separate string context parts into single context string. + * In case joined context is an empty string, `root` context name is returned. + * @param contextParts List of the context parts (e.g. ['parent', 'child']. + * @returns {string} Joined context string (e.g. 'parent.child'). + */ +export const getLoggerContext = (contextParts: string[]): string => { + return contextParts.join(CONTEXT_SEPARATOR) || ROOT_CONTEXT_NAME; +}; + +/** + * Helper method that returns parent context for the specified one. + * @param context Context to find parent for. + * @returns Name of the parent context or `root` if the context is the top level one. + */ +export const getParentLoggerContext = (context: string): string => { + const lastIndexOfSeparator = context.lastIndexOf(CONTEXT_SEPARATOR); + if (lastIndexOfSeparator === -1) { + return ROOT_CONTEXT_NAME; + } + + return context.slice(0, lastIndexOfSeparator); +}; diff --git a/packages/core/logging/core-logging-common-internal/tsconfig.json b/packages/core/logging/core-logging-common-internal/tsconfig.json new file mode 100644 index 0000000000000..25957cd665d11 --- /dev/null +++ b/packages/core/logging/core-logging-common-internal/tsconfig.json @@ -0,0 +1,16 @@ +{ + "extends": "../../../../tsconfig.bazel.json", + "compilerOptions": { + "declaration": true, + "emitDeclarationOnly": true, + "outDir": "target_types", + "stripInternal": false, + "types": [ + "jest", + "node", + ] + }, + "include": [ + "**/*.ts", + ] +} diff --git a/packages/core/logging/core-logging-server-internal/BUILD.bazel b/packages/core/logging/core-logging-server-internal/BUILD.bazel index 6fe13febb2fb0..1fc923fb7cae6 100644 --- a/packages/core/logging/core-logging-server-internal/BUILD.bazel +++ b/packages/core/logging/core-logging-server-internal/BUILD.bazel @@ -37,10 +37,12 @@ NPM_MODULE_EXTRA_FILES = [ RUNTIME_DEPS = [ "@npm//lodash", "@npm//moment-timezone", + "@npm//chalk", "@npm//elastic-apm-node", "//packages/kbn-safer-lodash-set", "//packages/kbn-config-schema", "//packages/kbn-std", + "//packages/core/logging/core-logging-common-internal", ] TYPES_DEPS = [ @@ -50,10 +52,12 @@ TYPES_DEPS = [ "@npm//rxjs", "@npm//@types/moment-timezone", "@npm//elastic-apm-node", + "@npm//chalk", "//packages/kbn-safer-lodash-set:npm_module_types", "//packages/kbn-logging:npm_module_types", "//packages/kbn-config-schema:npm_module_types", "//packages/core/base/core-base-server-internal:npm_module_types", + "//packages/core/logging/core-logging-common-internal:npm_module_types", "//packages/core/logging/core-logging-server:npm_module_types", ] diff --git a/packages/core/logging/core-logging-server-internal/src/appenders/console/console_appender.ts b/packages/core/logging/core-logging-server-internal/src/appenders/console/console_appender.ts index b1fe6943c704f..0602ea81289af 100644 --- a/packages/core/logging/core-logging-server-internal/src/appenders/console/console_appender.ts +++ b/packages/core/logging/core-logging-server-internal/src/appenders/console/console_appender.ts @@ -7,7 +7,7 @@ */ import { schema } from '@kbn/config-schema'; -import { Layout, LogRecord, DisposableAppender } from '@kbn/logging'; +import type { Layout, LogRecord, DisposableAppender } from '@kbn/logging'; import { Layouts } from '../../layouts/layouts'; const { literal, object } = schema; diff --git a/packages/core/logging/core-logging-server-internal/src/layouts/conversions/index.ts b/packages/core/logging/core-logging-server-internal/src/layouts/conversions/index.ts index 9203fdd02278c..dad8fd42c5c05 100644 --- a/packages/core/logging/core-logging-server-internal/src/layouts/conversions/index.ts +++ b/packages/core/logging/core-logging-server-internal/src/layouts/conversions/index.ts @@ -6,11 +6,11 @@ * Side Public License, v 1. */ -export type { Conversion } from './type'; - -export { LoggerConversion } from './logger'; -export { LevelConversion } from './level'; -export { MessageConversion } from './message'; -export { MetaConversion } from './meta'; export { PidConversion } from './pid'; -export { DateConversion } from './date'; +export { LevelConversion } from './level'; +export { LoggerConversion } from './logger'; +export { + DateConversion, + MessageConversion, + MetaConversion, +} from '@kbn/core-logging-common-internal'; diff --git a/packages/core/logging/core-logging-server-internal/src/layouts/conversions/level.ts b/packages/core/logging/core-logging-server-internal/src/layouts/conversions/level.ts index 17e45555aa873..38ae927b790a0 100644 --- a/packages/core/logging/core-logging-server-internal/src/layouts/conversions/level.ts +++ b/packages/core/logging/core-logging-server-internal/src/layouts/conversions/level.ts @@ -8,8 +8,7 @@ import chalk from 'chalk'; import { LogRecord, LogLevel } from '@kbn/logging'; - -import { Conversion } from './type'; +import type { Conversion } from '@kbn/core-logging-common-internal'; const LEVEL_COLORS = new Map([ [LogLevel.Fatal, chalk.red], diff --git a/packages/core/logging/core-logging-server-internal/src/layouts/conversions/logger.ts b/packages/core/logging/core-logging-server-internal/src/layouts/conversions/logger.ts index 1cb6f06b4e2c6..71be5e6d06365 100644 --- a/packages/core/logging/core-logging-server-internal/src/layouts/conversions/logger.ts +++ b/packages/core/logging/core-logging-server-internal/src/layouts/conversions/logger.ts @@ -8,8 +8,7 @@ import chalk from 'chalk'; import { LogRecord } from '@kbn/logging'; - -import { Conversion } from './type'; +import type { Conversion } from '@kbn/core-logging-common-internal'; export const LoggerConversion: Conversion = { pattern: /%logger/g, diff --git a/packages/core/logging/core-logging-server-internal/src/layouts/conversions/pid.ts b/packages/core/logging/core-logging-server-internal/src/layouts/conversions/pid.ts index cc43f4e874adc..0d6237554b778 100644 --- a/packages/core/logging/core-logging-server-internal/src/layouts/conversions/pid.ts +++ b/packages/core/logging/core-logging-server-internal/src/layouts/conversions/pid.ts @@ -6,8 +6,8 @@ * Side Public License, v 1. */ -import { LogRecord } from '@kbn/logging'; -import { Conversion } from './type'; +import type { LogRecord } from '@kbn/logging'; +import type { Conversion } from '@kbn/core-logging-common-internal'; export const PidConversion: Conversion = { pattern: /%pid/g, diff --git a/packages/core/logging/core-logging-server-internal/src/layouts/pattern_layout.ts b/packages/core/logging/core-logging-server-internal/src/layouts/pattern_layout.ts index 8206537ef7de7..58ddf5fd684f8 100644 --- a/packages/core/logging/core-logging-server-internal/src/layouts/pattern_layout.ts +++ b/packages/core/logging/core-logging-server-internal/src/layouts/pattern_layout.ts @@ -7,10 +7,11 @@ */ import { schema } from '@kbn/config-schema'; -import { LogRecord, Layout } from '@kbn/logging'; - import { - Conversion, + PatternLayout as BasePatternLayout, + type Conversion, +} from '@kbn/core-logging-common-internal'; +import { LoggerConversion, LevelConversion, MetaConversion, @@ -19,9 +20,6 @@ import { DateConversion, } from './conversions'; -/** - * Default pattern used by PatternLayout if it's not overridden in the configuration. - */ const DEFAULT_PATTERN = `[%date][%level][%logger] %message`; export const patternSchema = schema.string({ @@ -50,23 +48,14 @@ const conversions: Conversion[] = [ * color highlighting (eg. to make log messages easier to read in the terminal). * @internal */ -export class PatternLayout implements Layout { +export class PatternLayout extends BasePatternLayout { public static configSchema = patternLayoutSchema; - constructor(private readonly pattern = DEFAULT_PATTERN, private readonly highlight = false) {} - - /** - * Formats `LogRecord` into a string based on the specified `pattern` and `highlighting` options. - * @param record Instance of `LogRecord` to format into string. - */ - public format(record: LogRecord): string { - let recordString = this.pattern; - for (const conversion of conversions) { - recordString = recordString.replace( - conversion.pattern, - conversion.convert.bind(null, record, this.highlight) - ); - } - return recordString; + constructor(pattern: string = DEFAULT_PATTERN, highlight: boolean = false) { + super({ + pattern, + highlight, + conversions, + }); } } diff --git a/packages/core/logging/core-logging-server-internal/src/logger.ts b/packages/core/logging/core-logging-server-internal/src/logger.ts index 7a18d9a74ebaa..23718ca278a2e 100644 --- a/packages/core/logging/core-logging-server-internal/src/logger.ts +++ b/packages/core/logging/core-logging-server-internal/src/logger.ts @@ -6,72 +6,16 @@ * Side Public License, v 1. */ import apmAgent from 'elastic-apm-node'; -import { - Appender, - LogLevel, - LogLevelId, - LogRecord, - LoggerFactory, - LogMeta, - Logger, -} from '@kbn/logging'; +import { LogLevel, LogRecord, LogMeta } from '@kbn/logging'; +import { AbstractLogger } from '@kbn/core-logging-common-internal'; function isError(x: any): x is Error { return x instanceof Error; } /** @internal */ -export class BaseLogger implements Logger { - constructor( - private readonly context: string, - private readonly level: LogLevel, - private readonly appenders: Appender[], - private readonly factory: LoggerFactory - ) {} - - public trace(message: string, meta?: Meta): void { - this.log(this.createLogRecord(LogLevel.Trace, message, meta)); - } - - public debug(message: string, meta?: Meta): void { - this.log(this.createLogRecord(LogLevel.Debug, message, meta)); - } - - public info(message: string, meta?: Meta): void { - this.log(this.createLogRecord(LogLevel.Info, message, meta)); - } - - public warn(errorOrMessage: string | Error, meta?: Meta): void { - this.log(this.createLogRecord(LogLevel.Warn, errorOrMessage, meta)); - } - - public error(errorOrMessage: string | Error, meta?: Meta): void { - this.log(this.createLogRecord(LogLevel.Error, errorOrMessage, meta)); - } - - public fatal(errorOrMessage: string | Error, meta?: Meta): void { - this.log(this.createLogRecord(LogLevel.Fatal, errorOrMessage, meta)); - } - - public isLevelEnabled(levelId: LogLevelId): boolean { - return this.level.supports(LogLevel.fromId(levelId)); - } - - public log(record: LogRecord) { - if (!this.level.supports(record.level)) { - return; - } - - for (const appender of this.appenders) { - appender.append(record); - } - } - - public get(...childContextPaths: string[]): Logger { - return this.factory.get(...[this.context, ...childContextPaths]); - } - - private createLogRecord( +export class BaseLogger extends AbstractLogger { + protected createLogRecord( level: LogLevel, errorOrMessage: string | Error, meta?: Meta diff --git a/packages/core/logging/core-logging-server-internal/src/logging_config.ts b/packages/core/logging/core-logging-server-internal/src/logging_config.ts index 4d79c593fb6f2..00eb1450f0abe 100644 --- a/packages/core/logging/core-logging-server-internal/src/logging_config.ts +++ b/packages/core/logging/core-logging-server-internal/src/logging_config.ts @@ -7,6 +7,12 @@ */ import { schema, TypeOf } from '@kbn/config-schema'; +import { + ROOT_CONTEXT_NAME, + DEFAULT_APPENDER_NAME, + getLoggerContext, + getParentLoggerContext, +} from '@kbn/core-logging-common-internal'; import type { AppenderConfigType, LoggerConfigType } from '@kbn/core-logging-server'; import { Appenders } from './appenders/appenders'; @@ -14,21 +20,6 @@ import { Appenders } from './appenders/appenders'; // (otherwise it assumes an array of A|B instead of a tuple [A,B]) const toTuple = (a: A, b: B): [A, B] => [a, b]; -/** - * Separator string that used within nested context name (eg. plugins.pid). - */ -const CONTEXT_SEPARATOR = '.'; - -/** - * Name of the `root` context that always exists and sits at the top of logger hierarchy. - */ -const ROOT_CONTEXT_NAME = 'root'; - -/** - * Name of the appender that is always presented and used by `root` logger by default. - */ -const DEFAULT_APPENDER_NAME = 'default'; - const levelSchema = schema.oneOf( [ schema.literal('all'), @@ -109,7 +100,7 @@ export class LoggingConfig { * @returns {string} Joined context string (e.g. 'parent.child'). */ public static getLoggerContext(contextParts: string[]) { - return contextParts.join(CONTEXT_SEPARATOR) || ROOT_CONTEXT_NAME; + return getLoggerContext(contextParts); } /** @@ -118,12 +109,7 @@ export class LoggingConfig { * @returns Name of the parent context or `root` if the context is the top level one. */ public static getParentLoggerContext(context: string) { - const lastIndexOfSeparator = context.lastIndexOf(CONTEXT_SEPARATOR); - if (lastIndexOfSeparator === -1) { - return ROOT_CONTEXT_NAME; - } - - return context.slice(0, lastIndexOfSeparator); + return getParentLoggerContext(context); } /** diff --git a/packages/core/plugins/core-plugins-browser-internal/src/plugin_context.test.ts b/packages/core/plugins/core-plugins-browser-internal/src/plugin_context.test.ts new file mode 100644 index 0000000000000..1b1bea2279b60 --- /dev/null +++ b/packages/core/plugins/core-plugins-browser-internal/src/plugin_context.test.ts @@ -0,0 +1,64 @@ +/* + * 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 { DiscoveredPlugin, PluginOpaqueId, PluginType } from '@kbn/core-base-common'; +import { type MockedLogger, loggerMock } from '@kbn/logging-mocks'; +import type { PluginInitializerContext } from '@kbn/core-plugins-browser'; +import { coreContextMock } from '@kbn/core-base-browser-mocks'; +import { createPluginInitializerContext } from './plugin_context'; + +const createPluginManifest = (pluginName: string): DiscoveredPlugin => { + return { + id: pluginName, + configPath: [pluginName], + type: PluginType.standard, + requiredPlugins: [], + optionalPlugins: [], + requiredBundles: [], + }; +}; + +const testPluginId = 'testPluginId'; + +describe('createPluginInitializerContext', () => { + let pluginId: PluginOpaqueId; + let pluginManifest: DiscoveredPlugin; + let pluginConfig: Record; + let coreContext: ReturnType; + let logger: MockedLogger; + let initContext: PluginInitializerContext; + + beforeEach(() => { + pluginId = Symbol(testPluginId); + pluginManifest = createPluginManifest(testPluginId); + pluginConfig = {}; + coreContext = coreContextMock.create(); + logger = coreContext.logger as MockedLogger; + + initContext = createPluginInitializerContext( + coreContext, + pluginId, + pluginManifest, + pluginConfig + ); + }); + + describe('logger.get', () => { + it('calls the underlying logger factory with the correct parameters', () => { + initContext.logger.get('service.sub'); + expect(logger.get).toHaveBeenCalledTimes(1); + expect(logger.get).toHaveBeenCalledWith('plugins', testPluginId, 'service.sub'); + }); + + it('returns the logger from the underlying factory', () => { + const underlyingLogger = loggerMock.create(); + logger.get.mockReturnValue(underlyingLogger); + expect(initContext.logger.get('anything')).toEqual(underlyingLogger); + }); + }); +}); diff --git a/packages/core/plugins/core-plugins-browser-internal/src/plugin_context.ts b/packages/core/plugins/core-plugins-browser-internal/src/plugin_context.ts index 41643b0e0250c..351dd581b5f83 100644 --- a/packages/core/plugins/core-plugins-browser-internal/src/plugin_context.ts +++ b/packages/core/plugins/core-plugins-browser-internal/src/plugin_context.ts @@ -35,6 +35,11 @@ export function createPluginInitializerContext( return { opaqueId, env: coreContext.env, + logger: { + get(...contextParts) { + return coreContext.logger.get('plugins', pluginManifest.id, ...contextParts); + }, + }, config: { get() { return pluginConfig as unknown as T; diff --git a/packages/core/plugins/core-plugins-browser-internal/src/test_helpers/mocks.ts b/packages/core/plugins/core-plugins-browser-internal/src/test_helpers/mocks.ts index fcd4e80c02def..7c013b17ec4cf 100644 --- a/packages/core/plugins/core-plugins-browser-internal/src/test_helpers/mocks.ts +++ b/packages/core/plugins/core-plugins-browser-internal/src/test_helpers/mocks.ts @@ -6,6 +6,7 @@ * Side Public License, v 1. */ +import { loggerMock } from '@kbn/logging-mocks'; import type { PluginInitializerContext } from '@kbn/core-plugins-browser'; export const createPluginInitializerContextMock = (config: unknown = {}) => { @@ -25,6 +26,7 @@ export const createPluginInitializerContextMock = (config: unknown = {}) => { dist: false, }, }, + logger: loggerMock.create(), config: { get: () => config as T, }, diff --git a/packages/core/plugins/core-plugins-browser-mocks/BUILD.bazel b/packages/core/plugins/core-plugins-browser-mocks/BUILD.bazel index a6c47b536d2ef..dbe94e7ba9649 100644 --- a/packages/core/plugins/core-plugins-browser-mocks/BUILD.bazel +++ b/packages/core/plugins/core-plugins-browser-mocks/BUILD.bazel @@ -36,12 +36,14 @@ NPM_MODULE_EXTRA_FILES = [ ] RUNTIME_DEPS = [ + "//packages/kbn-logging-mocks", ] TYPES_DEPS = [ "@npm//@types/node", "@npm//@types/jest", "//packages/kbn-utility-types:npm_module_types", + "//packages/kbn-logging-mocks:npm_module_types", "//packages/core/plugins/core-plugins-browser-internal:npm_module_types", ] diff --git a/packages/core/plugins/core-plugins-browser-mocks/src/plugins_service.mock.ts b/packages/core/plugins/core-plugins-browser-mocks/src/plugins_service.mock.ts index c1539e7873683..75ec4e4570688 100644 --- a/packages/core/plugins/core-plugins-browser-mocks/src/plugins_service.mock.ts +++ b/packages/core/plugins/core-plugins-browser-mocks/src/plugins_service.mock.ts @@ -7,6 +7,7 @@ */ import type { PublicMethodsOf } from '@kbn/utility-types'; +import { loggerMock } from '@kbn/logging-mocks'; import type { PluginInitializerContext } from '@kbn/core-plugins-browser'; import type { PluginsService, PluginsServiceSetup } from '@kbn/core-plugins-browser-internal'; @@ -43,6 +44,7 @@ const createPluginInitializerContextMock = (config: unknown = {}) => { dist: false, }, }, + logger: loggerMock.create(), config: { get: () => config as T, }, diff --git a/packages/core/plugins/core-plugins-browser/src/plugin_initializer.ts b/packages/core/plugins/core-plugins-browser/src/plugin_initializer.ts index 14aaaff31e946..c33abbfc386f9 100644 --- a/packages/core/plugins/core-plugins-browser/src/plugin_initializer.ts +++ b/packages/core/plugins/core-plugins-browser/src/plugin_initializer.ts @@ -7,6 +7,7 @@ */ import type { PluginOpaqueId } from '@kbn/core-base-common'; +import type { LoggerFactory } from '@kbn/logging'; import type { PackageInfo, EnvironmentMode } from '@kbn/config'; import type { Plugin } from './plugin'; @@ -37,6 +38,7 @@ export interface PluginInitializerContext mode: Readonly; packageInfo: Readonly; }; + readonly logger: LoggerFactory; readonly config: { get: () => T; }; diff --git a/packages/core/root/core-root-browser-internal/BUILD.bazel b/packages/core/root/core-root-browser-internal/BUILD.bazel index a95b5d6d1c409..05f41123181e3 100644 --- a/packages/core/root/core-root-browser-internal/BUILD.bazel +++ b/packages/core/root/core-root-browser-internal/BUILD.bazel @@ -44,6 +44,7 @@ RUNTIME_DEPS = [ "//packages/kbn-i18n", "//packages/kbn-ebt-tools", "//packages/core/application/core-application-browser-internal", + "//packages/core/logging/core-logging-browser-internal", "//packages/core/injected-metadata/core-injected-metadata-browser-internal", "//packages/core/doc-links/core-doc-links-browser-internal", "//packages/core/theme/core-theme-browser-internal", @@ -76,6 +77,7 @@ TYPES_DEPS = [ "//packages/core/execution-context/core-execution-context-browser:npm_module_types", "//packages/core/application/core-application-browser-internal:npm_module_types", "//packages/core/base/core-base-browser-internal:npm_module_types", + "//packages/core/logging/core-logging-browser-internal:npm_module_types", "//packages/core/injected-metadata/core-injected-metadata-browser-internal:npm_module_types", "//packages/core/doc-links/core-doc-links-browser-internal:npm_module_types", "//packages/core/theme/core-theme-browser-internal:npm_module_types", diff --git a/packages/core/root/core-root-browser-internal/src/core_system.test.mocks.ts b/packages/core/root/core-root-browser-internal/src/core_system.test.mocks.ts index 69560623e1636..36cdcb4ae7520 100644 --- a/packages/core/root/core-root-browser-internal/src/core_system.test.mocks.ts +++ b/packages/core/root/core-root-browser-internal/src/core_system.test.mocks.ts @@ -22,6 +22,7 @@ import { uiSettingsServiceMock } from '@kbn/core-ui-settings-browser-mocks'; import { renderingServiceMock } from '@kbn/core-rendering-browser-mocks'; import { integrationsServiceMock } from '@kbn/core-integrations-browser-mocks'; import { coreAppsMock } from '@kbn/core-apps-browser-mocks'; +import { loggingSystemMock } from '@kbn/core-logging-browser-mocks'; export const analyticsServiceStartMock = analyticsServiceMock.createAnalyticsServiceStart(); export const MockAnalyticsService = analyticsServiceMock.create(); @@ -137,3 +138,9 @@ export const ThemeServiceConstructor = jest.fn().mockImplementation(() => MockTh jest.doMock('@kbn/core-theme-browser-internal', () => ({ ThemeService: ThemeServiceConstructor, })); + +export const MockLoggingSystem = loggingSystemMock.create(); +export const LoggingSystemConstructor = jest.fn().mockImplementation(() => MockLoggingSystem); +jest.doMock('@kbn/core-logging-browser-internal', () => ({ + BrowserLoggingSystem: LoggingSystemConstructor, +})); diff --git a/packages/core/root/core-root-browser-internal/src/core_system.test.ts b/packages/core/root/core-root-browser-internal/src/core_system.test.ts index 8e2e980e5ea94..cb9618ce6034c 100644 --- a/packages/core/root/core-root-browser-internal/src/core_system.test.ts +++ b/packages/core/root/core-root-browser-internal/src/core_system.test.ts @@ -38,8 +38,10 @@ import { MockAnalyticsService, analyticsServiceStartMock, fetchOptionalMemoryInfoMock, + MockLoggingSystem, + LoggingSystemConstructor, } from './core_system.test.mocks'; - +import type { EnvironmentMode } from '@kbn/config'; import { CoreSystem } from './core_system'; import { KIBANA_LOADED_EVENT, @@ -136,6 +138,7 @@ describe('constructor', () => { expect(CoreAppConstructor).toHaveBeenCalledTimes(1); expect(ThemeServiceConstructor).toHaveBeenCalledTimes(1); expect(AnalyticsServiceConstructor).toHaveBeenCalledTimes(1); + expect(LoggingSystemConstructor).toHaveBeenCalledTimes(1); }); it('passes injectedMetadata param to InjectedMetadataService', () => { @@ -180,6 +183,47 @@ describe('constructor', () => { stopCoreSystem(); expect(coreSystem.stop).toHaveBeenCalled(); }); + + describe('logging system', () => { + it('instantiate the logging system with the correct level when in dev mode', () => { + const envMode: EnvironmentMode = { + name: 'development', + dev: true, + prod: false, + }; + const injectedMetadata = { env: { mode: envMode } } as any; + + createCoreSystem({ + injectedMetadata, + }); + + expect(LoggingSystemConstructor).toHaveBeenCalledTimes(1); + expect(LoggingSystemConstructor).toHaveBeenCalledWith({ + logLevel: 'all', + }); + }); + it('instantiate the logging system with the correct level when in production mode', () => { + const envMode: EnvironmentMode = { + name: 'production', + dev: false, + prod: true, + }; + const injectedMetadata = { env: { mode: envMode } } as any; + + createCoreSystem({ + injectedMetadata, + }); + + expect(LoggingSystemConstructor).toHaveBeenCalledTimes(1); + expect(LoggingSystemConstructor).toHaveBeenCalledWith({ + logLevel: 'warn', + }); + }); + it('retrieves the logger factory from the logging system', () => { + createCoreSystem({}); + expect(MockLoggingSystem.asLoggerFactory).toHaveBeenCalledTimes(1); + }); + }); }); describe('#setup()', () => { diff --git a/packages/core/root/core-root-browser-internal/src/core_system.ts b/packages/core/root/core-root-browser-internal/src/core_system.ts index b3eae041b785d..eb61e0547279d 100644 --- a/packages/core/root/core-root-browser-internal/src/core_system.ts +++ b/packages/core/root/core-root-browser-internal/src/core_system.ts @@ -7,11 +7,13 @@ */ import { filter, firstValueFrom } from 'rxjs'; +import type { LogLevelId } from '@kbn/logging'; import type { CoreContext } from '@kbn/core-base-browser-internal'; import { InjectedMetadataService, type InjectedMetadataParams, } from '@kbn/core-injected-metadata-browser-internal'; +import { BrowserLoggingSystem } from '@kbn/core-logging-browser-internal'; import { DocLinksService } from '@kbn/core-doc-links-browser-internal'; import { ThemeService } from '@kbn/core-theme-browser-internal'; import type { AnalyticsServiceSetup, AnalyticsServiceStart } from '@kbn/core-analytics-browser'; @@ -78,6 +80,7 @@ interface ExtendedNavigator { * @internal */ export class CoreSystem { + private readonly loggingSystem: BrowserLoggingSystem; private readonly analytics: AnalyticsService; private readonly fatalErrors: FatalErrorsService; private readonly injectedMetadata: InjectedMetadataService; @@ -106,20 +109,24 @@ export class CoreSystem { this.rootDomElement = rootDomElement; - this.i18n = new I18nService(); + const logLevel: LogLevelId = injectedMetadata.env.mode.dev ? 'all' : 'warn'; + this.loggingSystem = new BrowserLoggingSystem({ logLevel }); this.injectedMetadata = new InjectedMetadataService({ injectedMetadata, }); - this.coreContext = { coreId: Symbol('core'), env: injectedMetadata.env }; + this.coreContext = { + coreId: Symbol('core'), + env: injectedMetadata.env, + logger: this.loggingSystem.asLoggerFactory(), + }; + this.i18n = new I18nService(); this.analytics = new AnalyticsService(this.coreContext); - this.fatalErrors = new FatalErrorsService(rootDomElement, () => { // Stop Core before rendering any fatal errors into the DOM this.stop(); }); - this.theme = new ThemeService(); this.notifications = new NotificationsService(); this.http = new HttpService(); @@ -136,7 +143,6 @@ export class CoreSystem { this.integrations = new IntegrationsService(); this.deprecations = new DeprecationsService(); this.executionContext = new ExecutionContextService(); - this.plugins = new PluginsService(this.coreContext, injectedMetadata.uiPlugins); this.coreApp = new CoreAppsService(this.coreContext); diff --git a/src/core/public/mocks.ts b/src/core/public/mocks.ts index 790b8ccf028cf..c4f04ec3c3312 100644 --- a/src/core/public/mocks.ts +++ b/src/core/public/mocks.ts @@ -32,6 +32,7 @@ export { } from '@kbn/core-saved-objects-browser-mocks'; export { applicationServiceMock, scopedHistoryMock } from '@kbn/core-application-browser-mocks'; export { deprecationsServiceMock } from '@kbn/core-deprecations-browser-mocks'; +export { loggingSystemMock } from '@kbn/core-logging-browser-mocks'; function createStorageMock() { const storageMock: jest.Mocked = { diff --git a/tsconfig.base.json b/tsconfig.base.json index 5c15b00b23d12..1b5fba04354e1 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -204,6 +204,12 @@ "@kbn/core-lifecycle-server-internal/*": ["packages/core/lifecycle/core-lifecycle-server-internal/*"], "@kbn/core-lifecycle-server-mocks": ["packages/core/lifecycle/core-lifecycle-server-mocks"], "@kbn/core-lifecycle-server-mocks/*": ["packages/core/lifecycle/core-lifecycle-server-mocks/*"], + "@kbn/core-logging-browser-internal": ["packages/core/logging/core-logging-browser-internal"], + "@kbn/core-logging-browser-internal/*": ["packages/core/logging/core-logging-browser-internal/*"], + "@kbn/core-logging-browser-mocks": ["packages/core/logging/core-logging-browser-mocks"], + "@kbn/core-logging-browser-mocks/*": ["packages/core/logging/core-logging-browser-mocks/*"], + "@kbn/core-logging-common-internal": ["packages/core/logging/core-logging-common-internal"], + "@kbn/core-logging-common-internal/*": ["packages/core/logging/core-logging-common-internal/*"], "@kbn/core-logging-server": ["packages/core/logging/core-logging-server"], "@kbn/core-logging-server/*": ["packages/core/logging/core-logging-server/*"], "@kbn/core-logging-server-internal": ["packages/core/logging/core-logging-server-internal"], diff --git a/yarn.lock b/yarn.lock index c86e92cd6a020..5ce08cea40dff 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3116,6 +3116,18 @@ version "0.0.0" uid "" +"@kbn/core-logging-browser-internal@link:bazel-bin/packages/core/logging/core-logging-browser-internal": + version "0.0.0" + uid "" + +"@kbn/core-logging-browser-mocks@link:bazel-bin/packages/core/logging/core-logging-browser-mocks": + version "0.0.0" + uid "" + +"@kbn/core-logging-common-internal@link:bazel-bin/packages/core/logging/core-logging-common-internal": + version "0.0.0" + uid "" + "@kbn/core-logging-server-internal@link:bazel-bin/packages/core/logging/core-logging-server-internal": version "0.0.0" uid "" From 7b046316404a85f455ad7f03ded4394d5f69d996 Mon Sep 17 00:00:00 2001 From: Jean-Louis Leysens Date: Tue, 1 Nov 2022 09:18:04 +0100 Subject: [PATCH 072/111] [Files] Make files namespace agnostic (#144019) * make files namespace agnostic * updated files SO hash --- .../saved_objects/migrations/check_registered_types.test.ts | 2 +- src/plugins/files/server/saved_objects/file.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/server/integration_tests/saved_objects/migrations/check_registered_types.test.ts b/src/core/server/integration_tests/saved_objects/migrations/check_registered_types.test.ts index 7dce76528a5a0..b1aa1e5df9231 100644 --- a/src/core/server/integration_tests/saved_objects/migrations/check_registered_types.test.ts +++ b/src/core/server/integration_tests/saved_objects/migrations/check_registered_types.test.ts @@ -85,7 +85,7 @@ describe('checking migration metadata changes on all registered SO types', () => "event_loop_delays_daily": "d2ed39cf669577d90921c176499908b4943fb7bd", "exception-list": "fe8cc004fd2742177cdb9300f4a67689463faf9c", "exception-list-agnostic": "49fae8fcd1967cc4be45ba2a2c66c4afbc1e341b", - "file": "280f28bd48b3ad1f1a9f84c6c0ae6dd5ed1179da", + "file": "70c2a768473057157f6ee5d29a436e5288d22ff4", "file-upload-usage-collection-telemetry": "8478924cf0057bd90df737155b364f98d05420a5", "fileShare": "3f88784b041bb8728a7f40763a08981828799a75", "fleet-fleet-server-host": "f00ca963f1bee868806319789cdc33f1f53a97e2", diff --git a/src/plugins/files/server/saved_objects/file.ts b/src/plugins/files/server/saved_objects/file.ts index af8f7ef9ef089..54d7fb57a3a07 100644 --- a/src/plugins/files/server/saved_objects/file.ts +++ b/src/plugins/files/server/saved_objects/file.ts @@ -48,7 +48,7 @@ const properties: Properties = { export const fileObjectType: SavedObjectsType = { name: FILE_SO_TYPE, hidden: true, - namespaceType: 'multiple-isolated', + namespaceType: 'agnostic', management: { importableAndExportable: false, }, From f8efa76e6e7b9a75e366cb5b5ebefb7bacd8e086 Mon Sep 17 00:00:00 2001 From: Dzmitry Lemechko Date: Tue, 1 Nov 2022 09:22:34 +0100 Subject: [PATCH 073/111] [packages/kbn-journeys] start apm after browser start and stop after browser is closed (#144267) --- packages/kbn-journeys/journey/journey_ftr_harness.ts | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/packages/kbn-journeys/journey/journey_ftr_harness.ts b/packages/kbn-journeys/journey/journey_ftr_harness.ts index c8e876ce2873e..7b9d8cc0266fc 100644 --- a/packages/kbn-journeys/journey/journey_ftr_harness.ts +++ b/packages/kbn-journeys/journey/journey_ftr_harness.ts @@ -118,7 +118,6 @@ export class JourneyFtrHarness { private async onSetup() { await Promise.all([ - this.setupApm(), this.setupBrowserAndPage(), asyncForEach(this.journeyConfig.getEsArchives(), async (esArchive) => { await this.esArchiver.load(esArchive); @@ -127,6 +126,10 @@ export class JourneyFtrHarness { await this.kibanaServer.importExport.load(kbnArchive); }), ]); + + // It is important that we start the APM transaction after we open the browser and all the test data is loaded + // so that the scalability data extractor can focus on just the APM data produced by Kibana running under test. + await this.setupApm(); } private async tearDownBrowserAndPage() { @@ -181,9 +184,12 @@ export class JourneyFtrHarness { } private async onTeardown() { + await this.tearDownBrowserAndPage(); + // It is important that we complete the APM transaction after we close the browser and before we start + // unloading the test data so that the scalability data extractor can focus on just the APM data produced + // by Kibana running under test. + await this.teardownApm(); await Promise.all([ - this.tearDownBrowserAndPage(), - this.teardownApm(), asyncForEach(this.journeyConfig.getEsArchives(), async (esArchive) => { await this.esArchiver.unload(esArchive); }), From 74829e527f162c65c9f7b58de6274b464bcfc0c7 Mon Sep 17 00:00:00 2001 From: Yaroslav Kuznietsov Date: Tue, 1 Nov 2022 10:26:32 +0200 Subject: [PATCH 074/111] [Lens] Datatable expression types improvement. (#144173) * Fixed way of expression building at Lens datatable. * CollapseFn type safety added. * Removed duplicated export. * Small refactoring * Added datatableColumnFn expression. * Added type safety for datatable fn. * Update x-pack/plugins/lens/public/visualizations/datatable/visualization.test.tsx Co-authored-by: Andrew Tate Co-authored-by: Andrew Tate --- .../lens/common/expressions/collapse/index.ts | 2 + .../expressions/datatable/datatable_column.ts | 7 +- .../common/expressions/datatable/index.ts | 2 +- .../datatable/visualization.test.tsx | 16 +- .../datatable/visualization.tsx | 188 ++++++++---------- 5 files changed, 99 insertions(+), 116 deletions(-) diff --git a/x-pack/plugins/lens/common/expressions/collapse/index.ts b/x-pack/plugins/lens/common/expressions/collapse/index.ts index 43874859411fc..2b1e89af08bd4 100644 --- a/x-pack/plugins/lens/common/expressions/collapse/index.ts +++ b/x-pack/plugins/lens/common/expressions/collapse/index.ts @@ -16,6 +16,8 @@ export interface CollapseArgs { fn: CollapseFunction[]; } +export type { CollapseExpressionFunction }; + /** * Collapses multiple rows into a single row using the specified function. * diff --git a/x-pack/plugins/lens/common/expressions/datatable/datatable_column.ts b/x-pack/plugins/lens/common/expressions/datatable/datatable_column.ts index f955cc1dfa2cb..16e76d3baf2e4 100644 --- a/x-pack/plugins/lens/common/expressions/datatable/datatable_column.ts +++ b/x-pack/plugins/lens/common/expressions/datatable/datatable_column.ts @@ -48,13 +48,14 @@ export interface ColumnState { } export type DatatableColumnResult = ColumnState & { type: 'lens_datatable_column' }; - -export const datatableColumn: ExpressionFunctionDefinition< +export type DatatableColumnFunction = ExpressionFunctionDefinition< 'lens_datatable_column', null, ColumnState & { sortingHint?: SortingHint }, DatatableColumnResult -> = { +>; + +export const datatableColumn: DatatableColumnFunction = { name: 'lens_datatable_column', aliases: [], type: 'lens_datatable_column', diff --git a/x-pack/plugins/lens/common/expressions/datatable/index.ts b/x-pack/plugins/lens/common/expressions/datatable/index.ts index 2fa0312360297..7003fd8d486b8 100644 --- a/x-pack/plugins/lens/common/expressions/datatable/index.ts +++ b/x-pack/plugins/lens/common/expressions/datatable/index.ts @@ -8,4 +8,4 @@ export * from './datatable_column'; export * from './datatable'; -export type { DatatableProps } from './types'; +export type { DatatableProps, DatatableExpressionFunction } from './types'; diff --git a/x-pack/plugins/lens/public/visualizations/datatable/visualization.test.tsx b/x-pack/plugins/lens/public/visualizations/datatable/visualization.test.tsx index e6683aee13499..a38d669d73cd5 100644 --- a/x-pack/plugins/lens/public/visualizations/datatable/visualization.test.tsx +++ b/x-pack/plugins/lens/public/visualizations/datatable/visualization.test.tsx @@ -550,22 +550,16 @@ describe('Datatable Visualization', () => { expect(columnArgs[0].arguments).toEqual( expect.objectContaining({ columnId: ['c'], - hidden: [], - width: [], - isTransposed: [], + palette: [expect.any(Object)], transposable: [true], - alignment: [], colorMode: ['none'], }) ); expect(columnArgs[1].arguments).toEqual( expect.objectContaining({ columnId: ['b'], - hidden: [], - width: [], - isTransposed: [], + palette: [expect.objectContaining({})], transposable: [true], - alignment: [], colorMode: ['none'], }) ); @@ -592,14 +586,16 @@ describe('Datatable Visualization', () => { }); it('sets pagination based on state', () => { - expect(getDatatableExpressionArgs({ ...defaultExpressionTableState }).pageSize).toEqual([]); + expect(getDatatableExpressionArgs({ ...defaultExpressionTableState }).pageSize).toEqual( + undefined + ); expect( getDatatableExpressionArgs({ ...defaultExpressionTableState, paging: { size: 20, enabled: false }, }).pageSize - ).toEqual([]); + ).toEqual(undefined); expect( getDatatableExpressionArgs({ diff --git a/x-pack/plugins/lens/public/visualizations/datatable/visualization.tsx b/x-pack/plugins/lens/public/visualizations/datatable/visualization.tsx index 60de4d4d1148c..ccfaff17a8ecb 100644 --- a/x-pack/plugins/lens/public/visualizations/datatable/visualization.tsx +++ b/x-pack/plugins/lens/public/visualizations/datatable/visualization.tsx @@ -7,7 +7,7 @@ import React from 'react'; import { render } from 'react-dom'; -import { Ast, AstFunction } from '@kbn/interpreter'; +import { Ast } from '@kbn/interpreter'; import { I18nProvider } from '@kbn/i18n-react'; import { i18n } from '@kbn/i18n'; import { PaletteRegistry, CUSTOM_PALETTE } from '@kbn/coloring'; @@ -16,6 +16,7 @@ import { KibanaThemeProvider } from '@kbn/kibana-react-plugin/public'; import { VIS_EVENT_TO_TRIGGER } from '@kbn/visualizations-plugin/public'; import { IconChartDatatable } from '@kbn/chart-icons'; import { LayerTypes } from '@kbn/expression-xy-plugin/public'; +import { buildExpression, buildExpressionFunction } from '@kbn/expressions-plugin/common'; import type { FormBasedPersistedState } from '../../datasources/form_based/types'; import type { SuggestionRequest, @@ -28,7 +29,14 @@ import { TableDimensionEditor } from './components/dimension_editor'; import { TableDimensionEditorAdditionalSection } from './components/dimension_editor_addtional_section'; import type { LayerType } from '../../../common'; import { getDefaultSummaryLabel } from '../../../common/expressions/datatable/summary'; -import type { ColumnState, SortingState, PagingState } from '../../../common/expressions'; +import type { + ColumnState, + SortingState, + PagingState, + CollapseExpressionFunction, + DatatableColumnFunction, + DatatableExpressionFunction, +} from '../../../common/expressions'; import { DataTableToolbar } from './components/toolbar'; export interface DatatableVisualizationState { @@ -398,108 +406,84 @@ export const getDatatableVisualization = ({ const datasourceExpression = datasourceExpressionsByLayers[state.layerId]; + const lensCollapseFnAsts = columns + .filter((c) => c.collapseFn) + .map((c) => + buildExpressionFunction('lens_collapse', { + by: columns + .filter( + (col) => + col.columnId !== c.columnId && + datasource!.getOperationForColumnId(col.columnId)?.isBucketed + ) + .map((col) => col.columnId), + metric: columns + .filter((col) => !datasource!.getOperationForColumnId(col.columnId)?.isBucketed) + .map((col) => col.columnId), + fn: [c.collapseFn!], + }).toAst() + ); + + const datatableFnAst = buildExpressionFunction('lens_datatable', { + title: title || '', + description: description || '', + columns: columns + .filter((c) => !c.collapseFn) + .map((column) => { + const paletteParams = { + ...column.palette?.params, + // rewrite colors and stops as two distinct arguments + colors: (column.palette?.params?.stops || []).map(({ color }) => color), + stops: + column.palette?.params?.name === 'custom' + ? (column.palette?.params?.stops || []).map(({ stop }) => stop) + : [], + reverse: false, // managed at UI level + }; + const sortingHint = datasource!.getOperationForColumnId(column.columnId)!.sortingHint; + + const hasNoSummaryRow = column.summaryRow == null || column.summaryRow === 'none'; + + const canColor = + datasource!.getOperationForColumnId(column.columnId)?.dataType === 'number'; + + const datatableColumnFn = buildExpressionFunction( + 'lens_datatable_column', + { + columnId: column.columnId, + hidden: column.hidden, + oneClickFilter: column.oneClickFilter, + width: column.width, + isTransposed: column.isTransposed, + transposable: !datasource!.getOperationForColumnId(column.columnId)?.isBucketed, + alignment: column.alignment, + colorMode: canColor && column.colorMode ? column.colorMode : 'none', + palette: paletteService.get(CUSTOM_PALETTE).toExpression(paletteParams), + summaryRow: hasNoSummaryRow ? undefined : column.summaryRow!, + summaryLabel: hasNoSummaryRow + ? undefined + : column.summaryLabel ?? getDefaultSummaryLabel(column.summaryRow!), + sortingHint, + } + ); + return buildExpression([datatableColumnFn]).toAst(); + }), + sortingColumnId: state.sorting?.columnId || '', + sortingDirection: state.sorting?.direction || 'none', + fitRowToContent: state.rowHeight === 'auto', + headerRowHeight: state.headerRowHeight ?? 'single', + rowHeightLines: + !state.rowHeight || state.rowHeight === 'single' ? 1 : state.rowHeightLines ?? 2, + headerRowHeightLines: + !state.headerRowHeight || state.headerRowHeight === 'single' + ? 1 + : state.headerRowHeightLines ?? 2, + pageSize: state.paging?.enabled ? state.paging.size : undefined, + }).toAst(); + return { type: 'expression', - chain: [ - ...(datasourceExpression?.chain ?? []), - ...columns - .filter((c) => c.collapseFn) - .map((c) => { - return { - type: 'function', - function: 'lens_collapse', - arguments: { - by: columns - .filter( - (col) => - col.columnId !== c.columnId && - datasource!.getOperationForColumnId(col.columnId)?.isBucketed - ) - .map((col) => col.columnId), - metric: columns - .filter((col) => !datasource!.getOperationForColumnId(col.columnId)?.isBucketed) - .map((col) => col.columnId), - fn: [c.collapseFn!], - }, - } as AstFunction; - }), - { - type: 'function', - function: 'lens_datatable', - arguments: { - title: [title || ''], - description: [description || ''], - columns: columns - .filter((c) => !c.collapseFn) - .map((column) => { - const paletteParams = { - ...column.palette?.params, - // rewrite colors and stops as two distinct arguments - colors: (column.palette?.params?.stops || []).map(({ color }) => color), - stops: - column.palette?.params?.name === 'custom' - ? (column.palette?.params?.stops || []).map(({ stop }) => stop) - : [], - reverse: false, // managed at UI level - }; - const sortingHint = datasource!.getOperationForColumnId( - column.columnId - )!.sortingHint; - - const hasNoSummaryRow = column.summaryRow == null || column.summaryRow === 'none'; - - const canColor = - datasource!.getOperationForColumnId(column.columnId)?.dataType === 'number'; - - return { - type: 'expression', - chain: [ - { - type: 'function', - function: 'lens_datatable_column', - arguments: { - columnId: [column.columnId], - hidden: typeof column.hidden === 'undefined' ? [] : [column.hidden], - oneClickFilter: - typeof column.oneClickFilter === 'undefined' - ? [] - : [column.oneClickFilter], - width: typeof column.width === 'undefined' ? [] : [column.width], - isTransposed: - typeof column.isTransposed === 'undefined' ? [] : [column.isTransposed], - transposable: [ - !datasource!.getOperationForColumnId(column.columnId)?.isBucketed, - ], - alignment: - typeof column.alignment === 'undefined' ? [] : [column.alignment], - colorMode: [canColor && column.colorMode ? column.colorMode : 'none'], - palette: [paletteService.get(CUSTOM_PALETTE).toExpression(paletteParams)], - summaryRow: hasNoSummaryRow ? [] : [column.summaryRow!], - summaryLabel: hasNoSummaryRow - ? [] - : [column.summaryLabel ?? getDefaultSummaryLabel(column.summaryRow!)], - sortingHint: sortingHint ? [sortingHint] : [], - }, - }, - ], - }; - }), - sortingColumnId: [state.sorting?.columnId || ''], - sortingDirection: [state.sorting?.direction || 'none'], - fitRowToContent: [state.rowHeight === 'auto'], - headerRowHeight: [state.headerRowHeight ?? 'single'], - rowHeightLines: [ - !state.rowHeight || state.rowHeight === 'single' ? 1 : state.rowHeightLines ?? 2, - ], - headerRowHeightLines: [ - !state.headerRowHeight || state.headerRowHeight === 'single' - ? 1 - : state.headerRowHeightLines ?? 2, - ], - pageSize: state.paging?.enabled ? [state.paging.size] : [], - }, - }, - ], + chain: [...(datasourceExpression?.chain ?? []), ...lensCollapseFnAsts, datatableFnAst], }; }, From 80310d8d78ae9bdf6269298e8bd3055290b94e80 Mon Sep 17 00:00:00 2001 From: Shahzad Date: Tue, 1 Nov 2022 10:01:29 +0100 Subject: [PATCH 075/111] [Synthetics] Step details page screenshot (#143452) Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> --- .../common/runtime_types/ping/ping.ts | 3 +- .../e2e/page_objects/synthetics_app.tsx | 2 +- .../browser_steps_list.tsx | 2 +- .../monitor_test_result/empty_thumbnail.tsx | 2 +- .../journey_step_image_popover.tsx | 33 ++++-- .../journey_step_screenshot_with_label.tsx | 2 +- .../common/screenshot/empty_image.tsx | 102 ++++++++++++++++++ .../common/screenshot/journey_screenshot.tsx | 39 +++++++ ...journey_step_screenshot_container.test.tsx | 2 +- .../journey_step_screenshot_container.tsx | 16 ++- .../monitor_details_portal.tsx | 8 +- .../hooks/use_journey_steps.tsx | 27 ++++- .../monitor_summary/test_runs_table.tsx | 39 +------ .../screenshot/last_successful_screenshot.tsx | 47 ++++++++ .../components/step_image.tsx | 90 ++++++++++++++++ .../hooks/use_step_detail_page.ts | 68 ++++++++++++ .../hooks/use_step_details_breadcrumbs.ts | 28 +++++ .../step_details_page/step_detail_page.tsx | 94 ++++++++++++++++ .../step_details_page/step_title.tsx | 26 +++++ .../contexts/synthetics_theme_context.tsx | 4 +- .../public/apps/synthetics/routes.tsx | 21 ++++ .../synthetics/utils/testing/rtl_helpers.tsx | 1 + .../components/monitor/monitor_title.test.tsx | 2 + .../monitor/ping_list/ping_list.test.tsx | 4 + .../monitor_status.bar.test.tsx | 1 + .../columns/monitor_status_column.test.tsx | 9 ++ .../monitor_list_drawer.test.tsx.snap | 5 + .../monitor_status_list.test.tsx | 6 ++ .../state/reducers/monitor_status.test.ts | 2 + .../requests/get_monitor_availability.test.ts | 7 ++ 30 files changed, 632 insertions(+), 60 deletions(-) create mode 100644 x-pack/plugins/synthetics/public/apps/synthetics/components/common/screenshot/empty_image.tsx create mode 100644 x-pack/plugins/synthetics/public/apps/synthetics/components/common/screenshot/journey_screenshot.tsx rename x-pack/plugins/synthetics/public/apps/synthetics/components/common/{monitor_test_result => screenshot}/journey_step_screenshot_container.test.tsx (98%) rename x-pack/plugins/synthetics/public/apps/synthetics/components/common/{monitor_test_result => screenshot}/journey_step_screenshot_container.tsx (89%) create mode 100644 x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/screenshot/last_successful_screenshot.tsx create mode 100644 x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/step_image.tsx create mode 100644 x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/hooks/use_step_detail_page.ts create mode 100644 x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/hooks/use_step_details_breadcrumbs.ts create mode 100644 x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/step_detail_page.tsx create mode 100644 x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/step_title.tsx diff --git a/x-pack/plugins/synthetics/common/runtime_types/ping/ping.ts b/x-pack/plugins/synthetics/common/runtime_types/ping/ping.ts index dc8ab97c5f187..598a62265f1c2 100644 --- a/x-pack/plugins/synthetics/common/runtime_types/ping/ping.ts +++ b/x-pack/plugins/synthetics/common/runtime_types/ping/ping.ts @@ -94,12 +94,12 @@ export const MonitorType = t.intersection([ id: t.string, status: t.string, type: t.string, + check_group: t.string, }), t.partial({ duration: t.type({ us: t.number, }), - check_group: t.string, ip: t.string, name: t.string, timespan: t.type({ @@ -268,6 +268,7 @@ export const makePing = (f: { status: f.status || 'up', duration: { us: f.duration || 100000 }, name: f.name, + check_group: 'myCheckGroup', }, ...(f.location ? { observer: { geo: { name: f.location } } } : {}), ...(f.url ? { url: { full: f.url } } : {}), diff --git a/x-pack/plugins/synthetics/e2e/page_objects/synthetics_app.tsx b/x-pack/plugins/synthetics/e2e/page_objects/synthetics_app.tsx index fc365abd823b9..66d086fcea9d7 100644 --- a/x-pack/plugins/synthetics/e2e/page_objects/synthetics_app.tsx +++ b/x-pack/plugins/synthetics/e2e/page_objects/synthetics_app.tsx @@ -82,7 +82,7 @@ export function syntheticsAppPageProvider({ page, kibanaUrl }: { page: Page; kib async navigateToEditMonitor() { await this.clickByTestSubj('syntheticsMonitorListActions'); - await page.click('text=Edit'); + await page.click('text=Edit', { timeout: 2 * 60 * 1000 }); await this.findByText('Edit monitor'); }, diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/common/monitor_test_result/browser_steps_list.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/common/monitor_test_result/browser_steps_list.tsx index 81ecb7dc60027..ebc6cc265dfa5 100644 --- a/x-pack/plugins/synthetics/public/apps/synthetics/components/common/monitor_test_result/browser_steps_list.tsx +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/common/monitor_test_result/browser_steps_list.tsx @@ -103,7 +103,7 @@ export const BrowserStepsList = ({ steps, error, loading, showStepNumber = false aria-label={VIEW_DETAILS} title={VIEW_DETAILS} size="s" - href={`${basePath}/app/uptime/journey/${item.monitor.check_group}/step/${item.synthetics?.step?.index}`} + href={`${basePath}/app/synthetics/journey/${item.monitor.check_group}/step/${item.synthetics?.step?.index}`} target="_self" iconType="apmTrace" /> diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/common/monitor_test_result/empty_thumbnail.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/common/monitor_test_result/empty_thumbnail.tsx index bfc5851ade619..38ab5c66acbae 100644 --- a/x-pack/plugins/synthetics/public/apps/synthetics/components/common/monitor_test_result/empty_thumbnail.tsx +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/common/monitor_test_result/empty_thumbnail.tsx @@ -15,7 +15,7 @@ export const THUMBNAIL_HEIGHT = 64; export const thumbnailStyle = css` padding: 0; - margin: 0; + margin: auto; width: ${THUMBNAIL_WIDTH}px; height: ${THUMBNAIL_HEIGHT}px; object-fit: contain; diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/common/monitor_test_result/journey_step_image_popover.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/common/monitor_test_result/journey_step_image_popover.tsx index 48ff7237223fb..dda8c5343eb08 100644 --- a/x-pack/plugins/synthetics/public/apps/synthetics/components/common/monitor_test_result/journey_step_image_popover.tsx +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/common/monitor_test_result/journey_step_image_popover.tsx @@ -9,10 +9,13 @@ import React from 'react'; import { css } from '@emotion/react'; import { EuiImage, EuiPopover, useEuiTheme } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; +import { useRouteMatch } from 'react-router-dom'; +import { EmptyImage } from '../screenshot/empty_image'; import { ScreenshotRefImageData } from '../../../../../../common/runtime_types'; import { useCompositeImage } from '../../../hooks/use_composite_image'; import { EmptyThumbnail, thumbnailStyle } from './empty_thumbnail'; +import { STEP_DETAIL_ROUTE } from '../../../../../../common/constants'; const POPOVER_IMG_HEIGHT = 360; const POPOVER_IMG_WIDTH = 640; @@ -22,6 +25,7 @@ interface ScreenshotImageProps { imageCaption: JSX.Element; isStepFailed: boolean; isLoading: boolean; + asThumbnail?: boolean; } const ScreenshotThumbnail: React.FC = ({ @@ -30,6 +34,7 @@ const ScreenshotThumbnail: React.FC { return imageData ? ( - ) : ( + ) : asThumbnail ? ( + ) : ( + ); }; /** @@ -64,6 +71,7 @@ const RecomposedScreenshotImage: React.FC< setImageData, isStepFailed, isLoading, + asThumbnail, }) => { // initially an undefined URL value is passed to the image display, and a loading spinner is rendered. // `useCompositeImage` will call `setImageData` when the image is composited, and the updated `imageData` will display. @@ -76,6 +84,7 @@ const RecomposedScreenshotImage: React.FC< imageData={imageData} isStepFailed={isStepFailed} isLoading={isLoading} + asThumbnail={asThumbnail} /> ); }; @@ -88,6 +97,7 @@ export interface StepImagePopoverProps { isImagePopoverOpen: boolean; isStepFailed: boolean; isLoading: boolean; + asThumbnail?: boolean; } const JourneyStepImage: React.FC< @@ -104,6 +114,7 @@ const JourneyStepImage: React.FC< setImageData, isStepFailed, isLoading, + asThumbnail = true, }) => { if (imgSrc) { return ( @@ -113,6 +124,7 @@ const JourneyStepImage: React.FC< imageData={imageData} isStepFailed={isStepFailed} isLoading={isLoading} + asThumbnail={asThumbnail} /> ); } else if (imgRef) { @@ -125,6 +137,7 @@ const JourneyStepImage: React.FC< setImageData={setImageData} isStepFailed={isStepFailed} isLoading={isLoading} + asThumbnail={asThumbnail} /> ); } @@ -139,6 +152,7 @@ export const JourneyStepImagePopover: React.FC = ({ isImagePopoverOpen, isStepFailed, isLoading, + asThumbnail = true, }) => { const { euiTheme } = useEuiTheme(); @@ -158,12 +172,16 @@ export const JourneyStepImagePopover: React.FC = ({ const isImageLoading = isLoading || (!!imgRef && !imageData); + const isStepDetailPage = useRouteMatch(STEP_DETAIL_ROUTE)?.isExact; + + const thumbnailS = isStepDetailPage ? null : thumbnailStyle; + return ( = ({ imageData={imageData} isStepFailed={isStepFailed} isLoading={isImageLoading} + asThumbnail={asThumbnail} /> } isOpen={isImagePopoverOpen} @@ -195,12 +214,10 @@ export const JourneyStepImagePopover: React.FC = ({ object-fit: contain; `} /> + ) : asThumbnail ? ( + ) : ( - + )} ); diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/common/monitor_test_result/journey_step_screenshot_with_label.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/common/monitor_test_result/journey_step_screenshot_with_label.tsx index 12dcd4db95f00..f153aa07f2f4f 100644 --- a/x-pack/plugins/synthetics/public/apps/synthetics/components/common/monitor_test_result/journey_step_screenshot_with_label.tsx +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/common/monitor_test_result/journey_step_screenshot_with_label.tsx @@ -8,7 +8,7 @@ import React, { CSSProperties } from 'react'; import { EuiFlexGroup, EuiFlexItem, EuiText, useEuiTheme } from '@elastic/eui'; import { JourneyStep } from '../../../../../../common/runtime_types'; -import { JourneyStepScreenshotContainer } from './journey_step_screenshot_container'; +import { JourneyStepScreenshotContainer } from '../screenshot/journey_step_screenshot_container'; import { getTextColorForMonitorStatus, parseBadgeStatus } from './status_badge'; interface Props { diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/common/screenshot/empty_image.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/common/screenshot/empty_image.tsx new file mode 100644 index 0000000000000..57295b3e1daf2 --- /dev/null +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/common/screenshot/empty_image.tsx @@ -0,0 +1,102 @@ +/* + * 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 { css } from '@emotion/react'; +import { i18n } from '@kbn/i18n'; +import { + useEuiTheme, + useEuiBackgroundColor, + EuiIcon, + EuiLoadingContent, + EuiText, +} from '@elastic/eui'; + +export const IMAGE_WIDTH = 360; +export const IMAGE_HEIGHT = 203; + +export const imageStyle = css` + padding: 0; + margin: auto; + width: ${IMAGE_WIDTH}px; + height: ${IMAGE_HEIGHT}px; + object-fit: contain; + overflow: hidden; + display: flex; + align-items: center; + justify-content: center; +`; + +export const EmptyImage = ({ + isLoading = false, + width = IMAGE_WIDTH, + height = IMAGE_HEIGHT, +}: { + isLoading: boolean; + width?: number; + height?: number; +}) => { + const { euiTheme } = useEuiTheme(); + + return ( +
+ {isLoading ? ( + + ) : ( +
+ + {IMAGE_UN_AVAILABLE} +
+ )} +
+ ); +}; + +export const SCREENSHOT_LOADING_ARIA_LABEL = i18n.translate( + 'xpack.synthetics.monitor.step.screenshot.ariaLabel', + { + defaultMessage: 'Step screenshot is being loaded.', + } +); + +export const SCREENSHOT_NOT_AVAILABLE = i18n.translate( + 'xpack.synthetics.monitor.step.screenshot.notAvailable', + { + defaultMessage: 'Step screenshot is not available.', + } +); + +export const IMAGE_UN_AVAILABLE = i18n.translate( + 'xpack.synthetics.monitor.step.screenshot.unAvailable', + { + defaultMessage: 'Image unavailable', + } +); diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/common/screenshot/journey_screenshot.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/common/screenshot/journey_screenshot.tsx new file mode 100644 index 0000000000000..9199c3f7db7e8 --- /dev/null +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/common/screenshot/journey_screenshot.tsx @@ -0,0 +1,39 @@ +/* + * 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, { useMemo } from 'react'; +import { useJourneySteps } from '../../monitor_details/hooks/use_journey_steps'; +import { parseBadgeStatus } from '../monitor_test_result/status_badge'; +import { JourneyStepScreenshotContainer } from './journey_step_screenshot_container'; + +export const JourneyScreenshot = ({ checkGroupId }: { checkGroupId: string }) => { + const { loading: stepsLoading, stepEnds } = useJourneySteps(checkGroupId); + const stepLabels = stepEnds.map((stepEnd) => stepEnd?.synthetics?.step?.name ?? ''); + + const lastSignificantStep = useMemo(() => { + const copy = [...stepEnds]; + // Sort desc by timestamp + copy.sort( + (stepA, stepB) => + Number(new Date(stepB['@timestamp'])) - Number(new Date(stepA['@timestamp'])) + ); + return copy.find( + (stepEnd) => parseBadgeStatus(stepEnd?.synthetics?.step?.status ?? 'skipped') !== 'skipped' + ); + }, [stepEnds]); + + return ( + + ); +}; diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/common/monitor_test_result/journey_step_screenshot_container.test.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/common/screenshot/journey_step_screenshot_container.test.tsx similarity index 98% rename from x-pack/plugins/synthetics/public/apps/synthetics/components/common/monitor_test_result/journey_step_screenshot_container.test.tsx rename to x-pack/plugins/synthetics/public/apps/synthetics/components/common/screenshot/journey_step_screenshot_container.test.tsx index 4c95fade23d1a..61219b57ae86d 100644 --- a/x-pack/plugins/synthetics/public/apps/synthetics/components/common/monitor_test_result/journey_step_screenshot_container.test.tsx +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/common/screenshot/journey_step_screenshot_container.test.tsx @@ -14,7 +14,7 @@ import * as observabilityPublic from '@kbn/observability-plugin/public'; import { getShortTimeStamp } from '../../../utils/monitor_test_result/timestamp'; import '../../../utils/testing/__mocks__/use_composite_image.mock'; import { mockRef } from '../../../utils/testing/__mocks__/screenshot_ref.mock'; -import * as retrieveHooks from './use_retrieve_step_image'; +import * as retrieveHooks from '../monitor_test_result/use_retrieve_step_image'; jest.mock('@kbn/observability-plugin/public'); diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/common/monitor_test_result/journey_step_screenshot_container.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/common/screenshot/journey_step_screenshot_container.tsx similarity index 89% rename from x-pack/plugins/synthetics/public/apps/synthetics/components/common/monitor_test_result/journey_step_screenshot_container.tsx rename to x-pack/plugins/synthetics/public/apps/synthetics/components/common/screenshot/journey_step_screenshot_container.tsx index 6c2653f7efaa6..24045d5ac458a 100644 --- a/x-pack/plugins/synthetics/public/apps/synthetics/components/common/monitor_test_result/journey_step_screenshot_container.tsx +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/common/screenshot/journey_step_screenshot_container.tsx @@ -10,6 +10,7 @@ import { css } from '@emotion/react'; import useIntersection from 'react-use/lib/useIntersection'; import { i18n } from '@kbn/i18n'; +import { EmptyImage } from './empty_image'; import { isScreenshotImageBlob, isScreenshotRef, @@ -18,10 +19,10 @@ import { import { SyntheticsSettingsContext } from '../../../contexts'; -import { useRetrieveStepImage } from './use_retrieve_step_image'; -import { ScreenshotOverlayFooter } from './screenshot_overlay_footer'; -import { JourneyStepImagePopover } from './journey_step_image_popover'; -import { EmptyThumbnail } from './empty_thumbnail'; +import { useRetrieveStepImage } from '../monitor_test_result/use_retrieve_step_image'; +import { ScreenshotOverlayFooter } from '../monitor_test_result/screenshot_overlay_footer'; +import { JourneyStepImagePopover } from '../monitor_test_result/journey_step_image_popover'; +import { EmptyThumbnail } from '../monitor_test_result/empty_thumbnail'; interface Props { checkGroup?: string; @@ -29,6 +30,7 @@ interface Props { stepStatus?: string; initialStepNo?: number; allStepsLoaded?: boolean; + asThumbnail?: boolean; retryFetchOnRevisit?: boolean; // Set to `true` fro "Run Once" / "Test Now" modes } @@ -39,6 +41,7 @@ export const JourneyStepScreenshotContainer = ({ allStepsLoaded, initialStepNo = 1, retryFetchOnRevisit = false, + asThumbnail = true, }: Props) => { const [stepNumber, setStepNumber] = useState(initialStepNo); const [isImagePopoverOpen, setIsImagePopoverOpen] = useState(false); @@ -135,9 +138,12 @@ export const JourneyStepScreenshotContainer = ({ isImagePopoverOpen={isImagePopoverOpen} isStepFailed={stepStatus === 'failed'} isLoading={Boolean(loading)} + asThumbnail={asThumbnail} /> - ) : ( + ) : asThumbnail ? ( + ) : ( + )} ); diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_add_edit/monitor_details_portal.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_add_edit/monitor_details_portal.tsx index 950d439173004..10de9f5a4c629 100644 --- a/x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_add_edit/monitor_details_portal.tsx +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_add_edit/monitor_details_portal.tsx @@ -7,7 +7,7 @@ import React from 'react'; import { useHistory } from 'react-router-dom'; -import { EuiButtonEmpty } from '@elastic/eui'; +import { EuiLink, EuiIcon } from '@elastic/eui'; import { InPortal } from 'react-reverse-portal'; import { MonitorDetailsLinkPortalNode } from './portals'; @@ -25,8 +25,8 @@ export const MonitorDetailsLink = ({ name, id }: { name: string; id: string }) = pathname: `monitor/${id}`, }); return ( - - {name} - + + {name} + ); }; diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_details/hooks/use_journey_steps.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_details/hooks/use_journey_steps.tsx index a6d2070d0e96a..13f3d24594707 100644 --- a/x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_details/hooks/use_journey_steps.tsx +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_details/hooks/use_journey_steps.tsx @@ -6,10 +6,14 @@ */ import { useFetcher } from '@kbn/observability-plugin/public'; -import { SyntheticsJourneyApiResponse } from '../../../../../../common/runtime_types'; +import { useParams } from 'react-router-dom'; +import { isStepEnd } from '../../common/monitor_test_result/browser_steps_list'; +import { JourneyStep, SyntheticsJourneyApiResponse } from '../../../../../../common/runtime_types'; import { fetchJourneySteps } from '../../../state'; export const useJourneySteps = (checkGroup: string | undefined) => { + const { stepIndex } = useParams<{ stepIndex: string }>(); + const { data, loading } = useFetcher(() => { if (!checkGroup) { return Promise.resolve(null); @@ -18,5 +22,24 @@ export const useJourneySteps = (checkGroup: string | undefined) => { return fetchJourneySteps({ checkGroup }); }, [checkGroup]); - return { data: data as SyntheticsJourneyApiResponse, loading: loading ?? false }; + const isFailed = + data?.steps.some( + (step) => + step.synthetics?.step?.status === 'failed' || step.synthetics?.step?.status === 'skipped' + ) ?? false; + + const stepEnds: JourneyStep[] = (data?.steps ?? []).filter(isStepEnd); + + const stepLabels = stepEnds.map((stepEnd) => stepEnd?.synthetics?.step?.name ?? ''); + + return { + data: data as SyntheticsJourneyApiResponse, + loading: loading ?? false, + isFailed, + stepEnds, + stepLabels, + currentStep: stepIndex + ? data?.steps.find((step) => step.synthetics?.step?.index === Number(stepIndex)) + : undefined, + }; }; diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_details/monitor_summary/test_runs_table.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_details/monitor_summary/test_runs_table.tsx index 00ef508ed0d2c..891d1694de4bc 100644 --- a/x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_details/monitor_summary/test_runs_table.tsx +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_details/monitor_summary/test_runs_table.tsx @@ -23,7 +23,7 @@ import { import { Criteria } from '@elastic/eui/src/components/basic_table/basic_table'; import { EuiTableSortingType } from '@elastic/eui/src/components/basic_table/table_types'; -import { ConfigKey, DataStream, JourneyStep, Ping } from '../../../../../../common/runtime_types'; +import { ConfigKey, DataStream, Ping } from '../../../../../../common/runtime_types'; import { formatTestDuration, formatTestRunAt, @@ -33,13 +33,11 @@ import { useSyntheticsSettingsContext } from '../../../contexts/synthetics_setti import { sortPings } from '../../../utils/monitor_test_result/sort_pings'; import { selectPingsError } from '../../../state'; import { parseBadgeStatus, StatusBadge } from '../../common/monitor_test_result/status_badge'; -import { isStepEnd } from '../../common/monitor_test_result/browser_steps_list'; -import { JourneyStepScreenshotContainer } from '../../common/monitor_test_result/journey_step_screenshot_container'; import { useKibanaDateFormat } from '../../../../../hooks/use_kibana_date_format'; import { useSelectedMonitor } from '../hooks/use_selected_monitor'; import { useMonitorPings } from '../hooks/use_monitor_pings'; -import { useJourneySteps } from '../hooks/use_journey_steps'; +import { JourneyScreenshot } from '../../common/screenshot/journey_screenshot'; type SortableField = 'timestamp' | 'monitor.status' | 'monitor.duration.us'; @@ -98,7 +96,9 @@ export const TestRunsTable = ({ paginable = true, from, to }: TestRunsTableProps align: 'left', field: 'timestamp', name: SCREENSHOT_LABEL, - render: (_timestamp: string, item) => , + render: (_timestamp: string, item) => ( + + ), }, ] : []) as Array>), @@ -197,35 +197,6 @@ export const TestRunsTable = ({ paginable = true, from, to }: TestRunsTableProps ); }; -const JourneyScreenshot = ({ ping }: { ping: Ping }) => { - const { data: stepsData, loading: stepsLoading } = useJourneySteps(ping?.monitor?.check_group); - const stepEnds: JourneyStep[] = (stepsData?.steps ?? []).filter(isStepEnd); - const stepLabels = stepEnds.map((stepEnd) => stepEnd?.synthetics?.step?.name ?? ''); - - const lastSignificantStep = useMemo(() => { - const copy = [...stepEnds]; - // Sort desc by timestamp - copy.sort( - (stepA, stepB) => - Number(new Date(stepB['@timestamp'])) - Number(new Date(stepA['@timestamp'])) - ); - return copy.find( - (stepEnd) => parseBadgeStatus(stepEnd?.synthetics?.step?.status ?? 'skipped') !== 'skipped' - ); - }, [stepEnds]); - - return ( - - ); -}; - const TestDetailsLink = ({ isBrowserMonitor, timestamp, diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/screenshot/last_successful_screenshot.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/screenshot/last_successful_screenshot.tsx new file mode 100644 index 0000000000000..3874d29197d3c --- /dev/null +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/screenshot/last_successful_screenshot.tsx @@ -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; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { useFetcher } from '@kbn/observability-plugin/public'; +import { EuiSpacer } from '@elastic/eui'; +import React from 'react'; +import { useParams } from 'react-router-dom'; +import { fetchLastSuccessfulCheck } from '../../../../state'; +import { JourneyStep } from '../../../../../../../common/runtime_types'; +import { EmptyImage } from '../../../common/screenshot/empty_image'; +import { JourneyStepScreenshotContainer } from '../../../common/screenshot/journey_step_screenshot_container'; + +export const LastSuccessfulScreenshot = ({ step }: { step: JourneyStep }) => { + const { stepIndex } = useParams<{ checkGroupId: string; stepIndex: string }>(); + + const { data, loading } = useFetcher(() => { + return fetchLastSuccessfulCheck({ + timestamp: step['@timestamp'], + monitorId: step.monitor.id, + stepIndex: Number(stepIndex), + location: step.observer?.geo?.name, + }); + }, [step._id, step['@timestamp']]); + + if (loading || !data) { + return ; + } + + return ( + <> + + + + ); +}; diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/step_image.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/step_image.tsx new file mode 100644 index 0000000000000..a08ba79444ccb --- /dev/null +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/step_image.tsx @@ -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 React, { useState } from 'react'; +import { EuiButtonGroup, EuiSpacer, EuiTitle } from '@elastic/eui'; +import { i18n } from '@kbn/i18n'; +import { LastSuccessfulScreenshot } from './screenshot/last_successful_screenshot'; +import { JourneyStep } from '../../../../../../common/runtime_types'; +import { JourneyStepScreenshotContainer } from '../../common/screenshot/journey_step_screenshot_container'; + +export const StepImage = ({ + step, + ping, + isFailed, + stepLabels, +}: { + ping: JourneyStep; + step: JourneyStep; + isFailed?: boolean; + stepLabels?: string[]; +}) => { + const toggleButtons = [ + { + id: `received`, + label: RECEIVED_LABEL, + }, + { + id: `expected`, + label: EXPECTED_LABEL, + }, + ]; + + const [idSelected, setIdSelected] = useState(`received`); + + const onChangeDisabled = (optionId: string) => { + setIdSelected(optionId); + }; + + return ( + <> + +

{SCREENSHOT_LABEL}

+
+ +
+ {idSelected === 'received' ? ( + + ) : ( + + )} + + + {isFailed && ( + onChangeDisabled(id)} + buttonSize="s" + isFullWidth + /> + )} +
+ + ); +}; + +const SCREENSHOT_LABEL = i18n.translate('xpack.synthetics.stepDetails.screenshot', { + defaultMessage: 'Screenshot', +}); + +const EXPECTED_LABEL = i18n.translate('xpack.synthetics.stepDetails.expected', { + defaultMessage: 'Expected', +}); + +const RECEIVED_LABEL = i18n.translate('xpack.synthetics.stepDetails.received', { + defaultMessage: 'Received', +}); diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/hooks/use_step_detail_page.ts b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/hooks/use_step_detail_page.ts new file mode 100644 index 0000000000000..4c79502ce665f --- /dev/null +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/hooks/use_step_detail_page.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 { useParams } from 'react-router-dom'; +import { useMemo } from 'react'; +import { useSyntheticsSettingsContext } from '../../../contexts'; +import { useJourneySteps } from '../../monitor_details/hooks/use_journey_steps'; +import { JourneyStep, SyntheticsJourneyApiResponse } from '../../../../../../common/runtime_types'; + +export const useStepDetailPage = (): { + activeStep?: JourneyStep; + checkGroupId: string; + handleNextStepHref: string; + handlePreviousStepHref: string; + handleNextRunHref: string; + handlePreviousRunHref: string; + hasNextStep: boolean; + hasPreviousStep: boolean; + journey?: SyntheticsJourneyApiResponse; + stepIndex: number; +} => { + const { checkGroupId, stepIndex: stepIndexString } = useParams<{ + checkGroupId: string; + stepIndex: string; + }>(); + + const stepIndex = Number(stepIndexString); + + const { data: journey } = useJourneySteps(checkGroupId); + + const memoized = useMemo( + () => ({ + hasPreviousStep: stepIndex > 1 ? true : false, + activeStep: journey?.steps?.find((step) => step.synthetics?.step?.index === stepIndex), + hasNextStep: journey && journey.steps && stepIndex < journey.steps.length ? true : false, + }), + [journey, stepIndex] + ); + + const { basePath } = useSyntheticsSettingsContext(); + + const handleNextStepHref = `${basePath}/app/synthetics/journey/${checkGroupId}/step/${ + stepIndex + 1 + }`; + + const handlePreviousStepHref = `${basePath}/app/synthetics/journey/${checkGroupId}/step/${ + stepIndex - 1 + }`; + + const handleNextRunHref = `${basePath}/app/synthetics/journey/${journey?.details?.next?.checkGroup}/step/1`; + + const handlePreviousRunHref = `${basePath}/app/synthetics/journey/${journey?.details?.previous?.checkGroup}/step/1`; + + return { + checkGroupId, + journey, + stepIndex, + ...memoized, + handleNextStepHref, + handlePreviousStepHref, + handleNextRunHref, + handlePreviousRunHref, + }; +}; diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/hooks/use_step_details_breadcrumbs.ts b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/hooks/use_step_details_breadcrumbs.ts new file mode 100644 index 0000000000000..b42417083cc3a --- /dev/null +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/hooks/use_step_details_breadcrumbs.ts @@ -0,0 +1,28 @@ +/* + * 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 { i18n } from '@kbn/i18n'; +import { useKibana } from '@kbn/kibana-react-plugin/public'; +import { useBreadcrumbs } from '../../../hooks/use_breadcrumbs'; +import { MONITORS_ROUTE } from '../../../../../../common/constants'; +import { PLUGIN } from '../../../../../../common/constants/plugin'; + +export const useStepDetailsBreadcrumbs = (extraCrumbs?: Array<{ text: string; href?: string }>) => { + const kibana = useKibana(); + const appPath = kibana.services.application?.getUrlForApp(PLUGIN.SYNTHETICS_PLUGIN_ID) ?? ''; + + useBreadcrumbs([ + { + text: MONITOR_MANAGEMENT_CRUMB, + href: `${appPath}/${MONITORS_ROUTE}`, + }, + ...(extraCrumbs ?? []), + ]); +}; + +const MONITOR_MANAGEMENT_CRUMB = i18n.translate('xpack.synthetics.monitorsPage.monitorsMCrumb', { + defaultMessage: 'Monitors', +}); diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/step_detail_page.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/step_detail_page.tsx new file mode 100644 index 0000000000000..09122158e45ed --- /dev/null +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/step_detail_page.tsx @@ -0,0 +1,94 @@ +/* + * 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 { useParams } from 'react-router-dom'; +import { useTrackPageview } from '@kbn/observability-plugin/public'; +import { + EuiFlexGroup, + EuiFlexItem, + EuiHorizontalRule, + EuiPanel, + EuiLoadingSpinner, +} from '@elastic/eui'; +import { StepImage } from './components/step_image'; +import { useJourneySteps } from '../monitor_details/hooks/use_journey_steps'; +import { MonitorDetailsLinkPortal } from '../monitor_add_edit/monitor_details_portal'; +import { useStepDetailsBreadcrumbs } from './hooks/use_step_details_breadcrumbs'; + +export const StepDetailPage = () => { + const { checkGroupId } = useParams<{ checkGroupId: string; stepIndex: string }>(); + + useTrackPageview({ app: 'synthetics', path: 'stepDetail' }); + useTrackPageview({ app: 'synthetics', path: 'stepDetail', delay: 15000 }); + + const { data, loading, isFailed, currentStep, stepLabels } = useJourneySteps(checkGroupId); + + useStepDetailsBreadcrumbs([{ text: data?.details?.journey.monitor.name ?? '' }]); + + if (loading) { + return ( +
+ +
+ ); + } + + return ( + <> + {data?.details?.journey && ( + + )} + + + + {data?.details?.journey && currentStep && ( + + )} + + + + + + + {/* TODO: Add breakdown of network timings donut*/} + + + {/* TODO: Add breakdown of network events*/} + + + + + + + + {/* TODO: Add step metrics*/} + + + + + + {/* TODO: Add breakdown of object list*/} + + {/* TODO: Add breakdown of object weight*/} + + + + + + {/* TODO: Add breakdown of network events*/} + + ); +}; diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/step_title.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/step_title.tsx new file mode 100644 index 0000000000000..5cb758e4b3d37 --- /dev/null +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/step_title.tsx @@ -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; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React from 'react'; +import { useParams } from 'react-router-dom'; +import { EuiFlexGroup, EuiFlexItem } from '@elastic/eui'; +import { useJourneySteps } from '../monitor_details/hooks/use_journey_steps'; + +export const StepTitle = () => { + const { checkGroupId, stepIndex } = useParams<{ checkGroupId: string; stepIndex: string }>(); + + const { data } = useJourneySteps(checkGroupId); + + const currentStep = data?.steps.find((step) => step.synthetics.step?.index === Number(stepIndex)); + + return ( + + {currentStep?.synthetics?.step?.name} + + + ); +}; diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/contexts/synthetics_theme_context.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/contexts/synthetics_theme_context.tsx index 32844de9d04c2..1415b1076cdd9 100644 --- a/x-pack/plugins/synthetics/public/apps/synthetics/contexts/synthetics_theme_context.tsx +++ b/x-pack/plugins/synthetics/public/apps/synthetics/contexts/synthetics_theme_context.tsx @@ -6,7 +6,7 @@ */ import { euiLightVars, euiDarkVars } from '@kbn/ui-theme'; -import React, { createContext, useMemo } from 'react'; +import React, { createContext, useContext, useMemo } from 'react'; import { EUI_CHARTS_THEME_DARK, EUI_CHARTS_THEME_LIGHT } from '@elastic/eui/dist/eui_charts_theme'; import { DARK_THEME, LIGHT_THEME, PartialTheme, Theme } from '@elastic/charts'; @@ -96,3 +96,5 @@ export const SyntheticsThemeContextProvider: React.FC = ({ return ; }; + +export const useSyntheticsThemeContext = () => useContext(SyntheticsThemeContext); diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/routes.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/routes.tsx index 6319610f8e8c7..06b684dd30719 100644 --- a/x-pack/plugins/synthetics/public/apps/synthetics/routes.tsx +++ b/x-pack/plugins/synthetics/public/apps/synthetics/routes.tsx @@ -24,6 +24,7 @@ import { useKibana } from '@kbn/kibana-react-plugin/public'; import { useInspectorContext } from '@kbn/observability-plugin/public'; import type { LazyObservabilityPageTemplateProps } from '@kbn/observability-plugin/public'; import { ErrorDetailsPage } from './components/error_details/error_details_page'; +import { StepTitle } from './components/step_details_page/step_title'; import { MonitorAddPage } from './components/monitor_add_edit/monitor_add_page'; import { MonitorEditPage } from './components/monitor_add_edit/monitor_edit_page'; import { MonitorDetailsPageTitle } from './components/monitor_details/monitor_details_page_title'; @@ -46,6 +47,7 @@ import { MONITOR_ERRORS_ROUTE, MONITOR_HISTORY_ROUTE, MONITOR_ROUTE, + STEP_DETAIL_ROUTE, ERROR_DETAILS_ROUTE, OVERVIEW_ROUTE, } from '../../../common/constants'; @@ -59,6 +61,7 @@ import { MonitorDetailsLastRun } from './components/monitor_details/monitor_deta import { MonitorSummary } from './components/monitor_details/monitor_summary/monitor_summary'; import { MonitorHistory } from './components/monitor_details/monitor_history/monitor_history'; import { MonitorErrors } from './components/monitor_details/monitor_errors/monitor_errors'; +import { StepDetailPage } from './components/step_details_page/step_detail_page'; type RouteProps = LazyObservabilityPageTemplateProps & { path: string; @@ -285,6 +288,24 @@ const getRoutes = ( ], }, }, + { + title: i18n.translate('xpack.synthetics.stepDetailsRoute.title', { + defaultMessage: 'Step details | {baseTitle}', + values: { baseTitle }, + }), + path: STEP_DETAIL_ROUTE, + component: () => , + dataTestSubj: 'syntheticsMonitorEditPage', + pageHeader: { + pageTitle: , + rightSideItems: [], + breadcrumbs: [ + { + text: , + }, + ], + }, + }, { title: i18n.translate('xpack.synthetics.errorDetailsRoute.title', { defaultMessage: 'Error details | {baseTitle}', diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/utils/testing/rtl_helpers.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/utils/testing/rtl_helpers.tsx index 55ae549a032b3..3168c1b07ee33 100644 --- a/x-pack/plugins/synthetics/public/apps/synthetics/utils/testing/rtl_helpers.tsx +++ b/x-pack/plugins/synthetics/public/apps/synthetics/utils/testing/rtl_helpers.tsx @@ -95,6 +95,7 @@ const createMockStore = () => { const mockAppUrls: Record = { uptime: '/app/uptime', + synthetics: '/app/synthetics', observability: '/app/observability', '/home#/tutorial/uptimeMonitors': '/home#/tutorial/uptimeMonitors', }; diff --git a/x-pack/plugins/synthetics/public/legacy_uptime/components/monitor/monitor_title.test.tsx b/x-pack/plugins/synthetics/public/legacy_uptime/components/monitor/monitor_title.test.tsx index f9e3572ead511..e4594e8c60630 100644 --- a/x-pack/plugins/synthetics/public/legacy_uptime/components/monitor/monitor_title.test.tsx +++ b/x-pack/plugins/synthetics/public/legacy_uptime/components/monitor/monitor_title.test.tsx @@ -42,6 +42,7 @@ describe('MonitorTitle component', () => { id: defaultMonitorId, status: 'up', type: 'http', + check_group: 'test-group', }, url: { full: 'https://www.elastic.co/', @@ -58,6 +59,7 @@ describe('MonitorTitle component', () => { id: 'browser', status: 'up', type: 'browser', + check_group: 'test-group', }, url: { full: 'https://www.elastic.co/', diff --git a/x-pack/plugins/synthetics/public/legacy_uptime/components/monitor/ping_list/ping_list.test.tsx b/x-pack/plugins/synthetics/public/legacy_uptime/components/monitor/ping_list/ping_list.test.tsx index ddb33e4dd5fea..f0e60b2902828 100644 --- a/x-pack/plugins/synthetics/public/legacy_uptime/components/monitor/ping_list/ping_list.test.tsx +++ b/x-pack/plugins/synthetics/public/legacy_uptime/components/monitor/ping_list/ping_list.test.tsx @@ -32,6 +32,7 @@ describe('PingList component', () => { name: '', status: 'down', type: 'tcp', + check_group: 'test-group', }, }, { @@ -47,6 +48,7 @@ describe('PingList component', () => { name: '', status: 'down', type: 'tcp', + check_group: 'test-group', }, }, ]; @@ -120,6 +122,7 @@ describe('PingList component', () => { "type": "io", }, "monitor": Object { + "check_group": "test-group", "duration": Object { "us": 1430, }, @@ -160,6 +163,7 @@ describe('PingList component', () => { "type": "io", }, "monitor": Object { + "check_group": "test-group", "id": "auto-tcp-0X81440A68E839814D", "ip": "255.255.255.0", "name": "", diff --git a/x-pack/plugins/synthetics/public/legacy_uptime/components/monitor/status_details/monitor_status.bar.test.tsx b/x-pack/plugins/synthetics/public/legacy_uptime/components/monitor/status_details/monitor_status.bar.test.tsx index 640d207fbb138..af5df91160026 100644 --- a/x-pack/plugins/synthetics/public/legacy_uptime/components/monitor/status_details/monitor_status.bar.test.tsx +++ b/x-pack/plugins/synthetics/public/legacy_uptime/components/monitor/status_details/monitor_status.bar.test.tsx @@ -28,6 +28,7 @@ describe('MonitorStatusBar component', () => { id: 'id1', status: 'up', type: 'http', + check_group: 'test-group', }, url: { full: 'https://www.example.com/', diff --git a/x-pack/plugins/synthetics/public/legacy_uptime/components/overview/monitor_list/columns/monitor_status_column.test.tsx b/x-pack/plugins/synthetics/public/legacy_uptime/components/overview/monitor_list/columns/monitor_status_column.test.tsx index a69ebb3d349fd..7869125014b02 100644 --- a/x-pack/plugins/synthetics/public/legacy_uptime/components/overview/monitor_list/columns/monitor_status_column.test.tsx +++ b/x-pack/plugins/synthetics/public/legacy_uptime/components/overview/monitor_list/columns/monitor_status_column.test.tsx @@ -37,6 +37,7 @@ describe('MonitorListStatusColumn', () => { id: 'myMonitor', type: 'icmp', duration: { us: 123 }, + check_group: 'test-group', }, observer: { geo: { @@ -58,6 +59,7 @@ describe('MonitorListStatusColumn', () => { id: 'myMonitor', type: 'icmp', duration: { us: 123 }, + check_group: 'test-group', }, observer: { geo: { @@ -79,6 +81,7 @@ describe('MonitorListStatusColumn', () => { id: 'myMonitor', type: 'icmp', duration: { us: 123 }, + check_group: 'test-group', }, observer: { geo: { @@ -103,6 +106,7 @@ describe('MonitorListStatusColumn', () => { id: 'myMonitor', type: 'icmp', duration: { us: 123 }, + check_group: 'test-group', }, observer: { geo: { @@ -124,6 +128,7 @@ describe('MonitorListStatusColumn', () => { id: 'myMonitor', type: 'icmp', duration: { us: 123 }, + check_group: 'test-group', }, observer: { geo: { @@ -145,6 +150,7 @@ describe('MonitorListStatusColumn', () => { id: 'myMonitor', type: 'icmp', duration: { us: 123 }, + check_group: 'test-group', }, observer: { geo: { @@ -169,6 +175,7 @@ describe('MonitorListStatusColumn', () => { id: 'myMonitor', type: 'icmp', duration: { us: 123 }, + check_group: 'test-group', }, observer: { geo: { @@ -190,6 +197,7 @@ describe('MonitorListStatusColumn', () => { id: 'myMonitor', type: 'icmp', duration: { us: 123 }, + check_group: 'test-group', }, observer: { geo: { @@ -211,6 +219,7 @@ describe('MonitorListStatusColumn', () => { id: 'myMonitor', type: 'icmp', duration: { us: 123 }, + check_group: 'test-group', }, observer: { geo: { diff --git a/x-pack/plugins/synthetics/public/legacy_uptime/components/overview/monitor_list/monitor_list_drawer/__snapshots__/monitor_list_drawer.test.tsx.snap b/x-pack/plugins/synthetics/public/legacy_uptime/components/overview/monitor_list/monitor_list_drawer/__snapshots__/monitor_list_drawer.test.tsx.snap index a07a55df6dbfa..0c037492bbc6b 100644 --- a/x-pack/plugins/synthetics/public/legacy_uptime/components/overview/monitor_list/monitor_list_drawer/__snapshots__/monitor_list_drawer.test.tsx.snap +++ b/x-pack/plugins/synthetics/public/legacy_uptime/components/overview/monitor_list/monitor_list_drawer/__snapshots__/monitor_list_drawer.test.tsx.snap @@ -111,6 +111,7 @@ exports[`MonitorListDrawer component renders a MonitorListDrawer when there are Object { "docId": "foo", "monitor": Object { + "check_group": "myCheckGroup", "duration": Object { "us": 121, }, @@ -125,6 +126,7 @@ exports[`MonitorListDrawer component renders a MonitorListDrawer when there are Object { "docId": "foo-0", "monitor": Object { + "check_group": "myCheckGroup", "duration": Object { "us": 100000, }, @@ -139,6 +141,7 @@ exports[`MonitorListDrawer component renders a MonitorListDrawer when there are Object { "docId": "foo-1", "monitor": Object { + "check_group": "myCheckGroup", "duration": Object { "us": 1, }, @@ -153,6 +156,7 @@ exports[`MonitorListDrawer component renders a MonitorListDrawer when there are Object { "docId": "foo-2", "monitor": Object { + "check_group": "myCheckGroup", "duration": Object { "us": 2, }, @@ -289,6 +293,7 @@ exports[`MonitorListDrawer component renders a MonitorListDrawer when there is o Object { "docId": "foo", "monitor": Object { + "check_group": "myCheckGroup", "duration": Object { "us": 121, }, diff --git a/x-pack/plugins/synthetics/public/legacy_uptime/components/overview/monitor_list/monitor_list_drawer/monitor_status_list.test.tsx b/x-pack/plugins/synthetics/public/legacy_uptime/components/overview/monitor_list/monitor_list_drawer/monitor_status_list.test.tsx index f1a9d1b2629a6..7318fc5188af8 100644 --- a/x-pack/plugins/synthetics/public/legacy_uptime/components/overview/monitor_list/monitor_list_drawer/monitor_status_list.test.tsx +++ b/x-pack/plugins/synthetics/public/legacy_uptime/components/overview/monitor_list/monitor_list_drawer/monitor_status_list.test.tsx @@ -29,6 +29,7 @@ describe('MonitorStatusList component', () => { id: 'myMonitor', type: 'icmp', duration: { us: 123 }, + check_group: 'test-group', }, observer: { geo: {}, @@ -44,6 +45,7 @@ describe('MonitorStatusList component', () => { id: 'myMonitor', type: 'icmp', duration: { us: 123 }, + check_group: 'test-group', }, observer: { geo: {}, @@ -59,6 +61,7 @@ describe('MonitorStatusList component', () => { id: 'myUpMonitor', type: 'icmp', duration: { us: 234 }, + check_group: 'test-group', }, observer: { geo: { @@ -165,6 +168,7 @@ describe('MonitorStatusList component', () => { id: 'myMonitor', type: 'icmp', duration: { us: 234 }, + check_group: 'test-group', }, observer: { geo: { @@ -182,6 +186,7 @@ describe('MonitorStatusList component', () => { id: 'myMonitor', type: 'icmp', duration: { us: 234 }, + check_group: 'test-group', }, observer: { geo: { @@ -199,6 +204,7 @@ describe('MonitorStatusList component', () => { id: 'myMonitor', type: 'icmp', duration: { us: 234 }, + check_group: 'test-group', }, observer: { geo: { diff --git a/x-pack/plugins/synthetics/public/legacy_uptime/state/reducers/monitor_status.test.ts b/x-pack/plugins/synthetics/public/legacy_uptime/state/reducers/monitor_status.test.ts index f6c637e5fdb1b..c7675d9607772 100644 --- a/x-pack/plugins/synthetics/public/legacy_uptime/state/reducers/monitor_status.test.ts +++ b/x-pack/plugins/synthetics/public/legacy_uptime/state/reducers/monitor_status.test.ts @@ -25,6 +25,7 @@ describe('selectedFiltersReducer', () => { us: 1, }, type: 'browser', + check_group: 'test-group', }, }, }; @@ -42,6 +43,7 @@ describe('selectedFiltersReducer', () => { us: 1, }, type: 'browser', + check_group: 'test-group', }, }; expect( 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 d84c4025d5dd0..7069cfce17740 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 @@ -411,6 +411,7 @@ describe('monitor availability', () => { "monitorInfo": Object { "docId": "myDocId", "monitor": Object { + "check_group": "myCheckGroup", "duration": Object { "us": 100000, }, @@ -432,6 +433,7 @@ describe('monitor availability', () => { "monitorInfo": Object { "docId": "myDocId", "monitor": Object { + "check_group": "myCheckGroup", "duration": Object { "us": 100000, }, @@ -453,6 +455,7 @@ describe('monitor availability', () => { "monitorInfo": Object { "docId": "myDocId", "monitor": Object { + "check_group": "myCheckGroup", "duration": Object { "us": 100000, }, @@ -542,6 +545,7 @@ describe('monitor availability', () => { "monitorInfo": Object { "docId": "myDocId", "monitor": Object { + "check_group": "myCheckGroup", "duration": Object { "us": 100000, }, @@ -563,6 +567,7 @@ describe('monitor availability', () => { "monitorInfo": Object { "docId": "myDocId", "monitor": Object { + "check_group": "myCheckGroup", "duration": Object { "us": 100000, }, @@ -584,6 +589,7 @@ describe('monitor availability', () => { "monitorInfo": Object { "docId": "myDocId", "monitor": Object { + "check_group": "myCheckGroup", "duration": Object { "us": 100000, }, @@ -605,6 +611,7 @@ describe('monitor availability', () => { "monitorInfo": Object { "docId": "myDocId", "monitor": Object { + "check_group": "myCheckGroup", "duration": Object { "us": 100000, }, From 074216be1eef90265283250f87ef353d6b679e0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20G=C3=B3mez?= Date: Tue, 1 Nov 2022 12:05:04 +0100 Subject: [PATCH 076/111] [Synthetics UI] Track state for last test run separatedly from the test run table (#144269) * Add `getMonitorLastRunAction` * Use the new state slice for the last run panels and info * Handle error case --- .../single_ping_result.tsx | 2 +- .../hooks/use_monitor_latest_ping.tsx | 15 +++-- .../monitor_summary/last_test_run.tsx | 8 +-- .../monitor_summary/monitor_details_panel.tsx | 7 ++- .../state/monitor_details/actions.ts | 5 ++ .../synthetics/state/monitor_details/api.ts | 10 ++++ .../state/monitor_details/effects.ts | 12 +++- .../synthetics/state/monitor_details/index.ts | 21 ++++++- .../state/monitor_details/selectors.ts | 2 +- .../__mocks__/synthetics_store.mock.ts | 57 +++++++++++++++++++ 10 files changed, 118 insertions(+), 21 deletions(-) diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/common/monitor_test_result/single_ping_result.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/common/monitor_test_result/single_ping_result.tsx index bb0666abbab26..cf6e0f00ff570 100644 --- a/x-pack/plugins/synthetics/public/apps/synthetics/components/common/monitor_test_result/single_ping_result.tsx +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/common/monitor_test_result/single_ping_result.tsx @@ -16,7 +16,7 @@ import { i18n } from '@kbn/i18n'; import { Ping } from '../../../../../../common/runtime_types'; import { formatTestDuration } from '../../../utils/monitor_test_result/test_time_formats'; -export const SinglePingResult = ({ ping, loading }: { ping: Ping; loading: boolean }) => { +export const SinglePingResult = ({ ping, loading }: { ping?: Ping; loading: boolean }) => { const ip = !loading ? ping?.resolve?.ip : undefined; const durationUs = !loading ? ping?.monitor?.duration?.us ?? NaN : NaN; const rtt = !loading ? ping?.resolve?.rtt?.us ?? NaN : NaN; diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_details/hooks/use_monitor_latest_ping.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_details/hooks/use_monitor_latest_ping.tsx index 6b9ab1442b9eb..2c989121d5ad9 100644 --- a/x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_details/hooks/use_monitor_latest_ping.tsx +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_details/hooks/use_monitor_latest_ping.tsx @@ -8,7 +8,7 @@ import { useEffect } from 'react'; import { useDispatch, useSelector } from 'react-redux'; import { ConfigKey } from '../../../../../../common/runtime_types'; -import { getMonitorRecentPingsAction, selectLatestPing, selectPingsLoading } from '../../../state'; +import { getMonitorLastRunAction, selectLastRunMetadata } from '../../../state'; import { useSelectedLocation } from './use_selected_location'; import { useSelectedMonitor } from './use_selected_monitor'; @@ -26,8 +26,7 @@ export const useMonitorLatestPing = (params?: UseMonitorLatestPingParams) => { const monitorId = params?.monitorId ?? monitor?.id; const locationLabel = params?.locationLabel ?? location?.label; - const latestPing = useSelector(selectLatestPing); - const pingsLoading = useSelector(selectPingsLoading); + const { data: latestPing, loading } = useSelector(selectLastRunMetadata); const latestPingId = latestPing?.monitor.id; @@ -40,21 +39,21 @@ export const useMonitorLatestPing = (params?: UseMonitorLatestPingParams) => { useEffect(() => { if (monitorId && locationLabel && !isUpToDate) { - dispatch(getMonitorRecentPingsAction.get({ monitorId, locationId: locationLabel })); + dispatch(getMonitorLastRunAction.get({ monitorId, locationId: locationLabel })); } }, [dispatch, monitorId, locationLabel, isUpToDate]); if (!monitorId || !locationLabel) { - return { loading: pingsLoading, latestPing: null }; + return { loading, latestPing: undefined }; } if (!latestPing) { - return { loading: pingsLoading, latestPing: null }; + return { loading, latestPing: undefined }; } if (!isIdSame || !isLocationSame) { - return { loading: pingsLoading, latestPing: null }; + return { loading, latestPing: undefined }; } - return { loading: pingsLoading, latestPing }; + return { loading, latestPing }; }; diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_details/monitor_summary/last_test_run.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_details/monitor_summary/last_test_run.tsx index a3e2bb6796d3b..9fd35bc60cd0d 100644 --- a/x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_details/monitor_summary/last_test_run.tsx +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_details/monitor_summary/last_test_run.tsx @@ -19,7 +19,6 @@ import { EuiTitle, useEuiTheme, } from '@elastic/eui'; -import { useSelector } from 'react-redux'; import { i18n } from '@kbn/i18n'; import { @@ -31,7 +30,6 @@ import { import { formatTestRunAt } from '../../../utils/monitor_test_result/test_time_formats'; import { useSyntheticsSettingsContext } from '../../../contexts'; -import { selectLatestPing, selectPingsLoading } from '../../../state'; import { BrowserStepsList } from '../../common/monitor_test_result/browser_steps_list'; import { SinglePingResult } from '../../common/monitor_test_result/single_ping_result'; import { parseBadgeStatus, StatusBadge } from '../../common/monitor_test_result/status_badge'; @@ -39,11 +37,11 @@ import { parseBadgeStatus, StatusBadge } from '../../common/monitor_test_result/ import { useKibanaDateFormat } from '../../../../../hooks/use_kibana_date_format'; import { useJourneySteps } from '../hooks/use_journey_steps'; import { useSelectedMonitor } from '../hooks/use_selected_monitor'; +import { useMonitorLatestPing } from '../hooks/use_monitor_latest_ping'; export const LastTestRun = () => { const { euiTheme } = useEuiTheme(); - const latestPing = useSelector(selectLatestPing); - const pingsLoading = useSelector(selectPingsLoading); + const { latestPing, loading: pingsLoading } = useMonitorLatestPing(); const { monitor } = useSelectedMonitor(); const { data: stepsData, loading: stepsLoading } = useJourneySteps( @@ -97,7 +95,7 @@ const PanelHeader = ({ loading, }: { monitor: EncryptedSyntheticsSavedMonitor | null; - latestPing: Ping; + latestPing?: Ping; loading: boolean; }) => { const { euiTheme } = useEuiTheme(); diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_details/monitor_summary/monitor_details_panel.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_details/monitor_summary/monitor_details_panel.tsx index 2fd702a187e36..3186715fc03b2 100644 --- a/x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_details/monitor_summary/monitor_details_panel.tsx +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_details/monitor_summary/monitor_details_panel.tsx @@ -19,18 +19,19 @@ import { } from '@elastic/eui'; import { capitalize } from 'lodash'; import { i18n } from '@kbn/i18n'; -import { useDispatch, useSelector } from 'react-redux'; +import { useDispatch } from 'react-redux'; import { useParams } from 'react-router-dom'; import { useSelectedMonitor } from '../hooks/use_selected_monitor'; import { MonitorTags } from './monitor_tags'; import { MonitorEnabled } from '../../monitors_page/management/monitor_list_table/monitor_enabled'; import { LocationsStatus } from './locations_status'; -import { getMonitorAction, selectLatestPing } from '../../../state'; +import { getMonitorAction } from '../../../state'; import { ConfigKey } from '../../../../../../common/runtime_types'; +import { useMonitorLatestPing } from '../hooks/use_monitor_latest_ping'; export const MonitorDetailsPanel = () => { const { euiTheme } = useEuiTheme(); - const latestPing = useSelector(selectLatestPing); + const { latestPing } = useMonitorLatestPing(); const { monitorId } = useParams<{ monitorId: string }>(); diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/state/monitor_details/actions.ts b/x-pack/plugins/synthetics/public/apps/synthetics/state/monitor_details/actions.ts index 31c5bdd2cbc9b..b80598bf877c6 100644 --- a/x-pack/plugins/synthetics/public/apps/synthetics/state/monitor_details/actions.ts +++ b/x-pack/plugins/synthetics/public/apps/synthetics/state/monitor_details/actions.ts @@ -25,6 +25,11 @@ export const getMonitorAction = createAsyncAction< EncryptedSyntheticsSavedMonitor >('[MONITOR DETAILS] GET MONITOR'); +export const getMonitorLastRunAction = createAsyncAction< + { monitorId: string; locationId: string }, + PingsResponse +>('[MONITOR DETAILS] GET LAST RUN'); + export const getMonitorRecentPingsAction = createAsyncAction< { monitorId: string; diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/state/monitor_details/api.ts b/x-pack/plugins/synthetics/public/apps/synthetics/state/monitor_details/api.ts index 5c70db4b8f0a3..c0c8d9ac6dbc4 100644 --- a/x-pack/plugins/synthetics/public/apps/synthetics/state/monitor_details/api.ts +++ b/x-pack/plugins/synthetics/public/apps/synthetics/state/monitor_details/api.ts @@ -21,6 +21,16 @@ export interface QueryParams { dateEnd: string; } +export const fetchMonitorLastRun = async ({ + monitorId, + locationId, +}: { + monitorId: string; + locationId: string; +}): Promise => { + return fetchMonitorRecentPings({ monitorId, locationId, size: 1 }); +}; + export const fetchMonitorRecentPings = async ({ monitorId, locationId, diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/state/monitor_details/effects.ts b/x-pack/plugins/synthetics/public/apps/synthetics/state/monitor_details/effects.ts index 1b1b686400d88..5330212b4b3a8 100644 --- a/x-pack/plugins/synthetics/public/apps/synthetics/state/monitor_details/effects.ts +++ b/x-pack/plugins/synthetics/public/apps/synthetics/state/monitor_details/effects.ts @@ -7,8 +7,8 @@ import { takeLeading } from 'redux-saga/effects'; import { fetchEffectFactory } from '../utils/fetch_effect'; -import { getMonitorRecentPingsAction, getMonitorAction } from './actions'; -import { fetchSyntheticsMonitor, fetchMonitorRecentPings } from './api'; +import { getMonitorLastRunAction, getMonitorRecentPingsAction, getMonitorAction } from './actions'; +import { fetchSyntheticsMonitor, fetchMonitorRecentPings, fetchMonitorLastRun } from './api'; export function* fetchSyntheticsMonitorEffect() { yield takeLeading( @@ -20,6 +20,14 @@ export function* fetchSyntheticsMonitorEffect() { ) ); + yield takeLeading( + getMonitorLastRunAction.get, + fetchEffectFactory( + fetchMonitorLastRun, + getMonitorLastRunAction.success, + getMonitorLastRunAction.fail + ) + ); yield takeLeading( getMonitorAction.get, fetchEffectFactory(fetchSyntheticsMonitor, getMonitorAction.success, getMonitorAction.fail) diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/state/monitor_details/index.ts b/x-pack/plugins/synthetics/public/apps/synthetics/state/monitor_details/index.ts index d068c7a2a421b..5661f4eb9cc37 100644 --- a/x-pack/plugins/synthetics/public/apps/synthetics/state/monitor_details/index.ts +++ b/x-pack/plugins/synthetics/public/apps/synthetics/state/monitor_details/index.ts @@ -12,6 +12,7 @@ import { checkIsStalePing } from '../../utils/monitor_test_result/check_pings'; import { IHttpSerializedFetchError } from '../utils/http_error'; import { + getMonitorLastRunAction, getMonitorRecentPingsAction, setMonitorDetailsLocationAction, getMonitorAction, @@ -23,6 +24,10 @@ export interface MonitorDetailsState { data: Ping[]; loading: boolean; }; + lastRun: { + data?: Ping; + loading: boolean; + }; syntheticsMonitorLoading: boolean; syntheticsMonitor: EncryptedSyntheticsSavedMonitor | null; error: IHttpSerializedFetchError | null; @@ -31,6 +36,7 @@ export interface MonitorDetailsState { const initialState: MonitorDetailsState = { pings: { total: 0, data: [], loading: false }, + lastRun: { loading: false }, syntheticsMonitor: null, syntheticsMonitorLoading: false, error: null, @@ -42,7 +48,20 @@ export const monitorDetailsReducer = createReducer(initialState, (builder) => { .addCase(setMonitorDetailsLocationAction, (state, action) => { state.selectedLocationId = action.payload; }) - + .addCase(getMonitorLastRunAction.get, (state, action) => { + state.lastRun.loading = true; + if (checkIsStalePing(action.payload.monitorId, state.lastRun.data)) { + state.lastRun.data = undefined; + } + }) + .addCase(getMonitorLastRunAction.success, (state, action) => { + state.lastRun.loading = false; + state.lastRun.data = action.payload.pings[0]; + }) + .addCase(getMonitorLastRunAction.fail, (state, action) => { + state.lastRun.loading = false; + state.error = action.payload; + }) .addCase(getMonitorRecentPingsAction.get, (state, action) => { state.pings.loading = true; state.pings.data = state.pings.data.filter( diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/state/monitor_details/selectors.ts b/x-pack/plugins/synthetics/public/apps/synthetics/state/monitor_details/selectors.ts index d54bcaba95123..0948802a6a94a 100644 --- a/x-pack/plugins/synthetics/public/apps/synthetics/state/monitor_details/selectors.ts +++ b/x-pack/plugins/synthetics/public/apps/synthetics/state/monitor_details/selectors.ts @@ -17,7 +17,7 @@ export const selectSelectedLocationId = createSelector( (state) => state.selectedLocationId ); -export const selectLatestPing = createSelector(getState, (state) => state.pings.data[0] ?? null); +export const selectLastRunMetadata = createSelector(getState, (state) => state.lastRun); export const selectPingsLoading = createSelector(getState, (state) => state.pings.loading); diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/utils/testing/__mocks__/synthetics_store.mock.ts b/x-pack/plugins/synthetics/public/apps/synthetics/utils/testing/__mocks__/synthetics_store.mock.ts index 5c23f46dfe894..0ed0e2fd85637 100644 --- a/x-pack/plugins/synthetics/public/apps/synthetics/utils/testing/__mocks__/synthetics_store.mock.ts +++ b/x-pack/plugins/synthetics/public/apps/synthetics/utils/testing/__mocks__/synthetics_store.mock.ts @@ -132,6 +132,63 @@ function getBrowserJourneyMockSlice() { function getMonitorDetailsMockSlice() { return { + lastRun: { + loading: false, + data: { + summary: { up: 1, down: 0 }, + agent: { + name: 'cron-b010e1cc9518984e-27644714-4pd4h', + id: 'f8721d90-5aec-4815-a6f1-f4d4a6fb7482', + type: 'heartbeat', + ephemeral_id: 'd6a60494-5e52-418f-922b-8e90f0b4013c', + version: '8.3.0', + }, + synthetics: { + journey: { name: 'inline', id: 'inline', tags: null }, + type: 'heartbeat/summary', + }, + monitor: { + duration: { us: 269722 }, + origin: SourceType.UI, + name: 'One pixel monitor', + check_group: '051aba1c-0b74-11ed-9f0e-ba4e6fa109d5', + id: '4afd3980-0b72-11ed-9c10-b57918ea89d6', + timespan: { lt: '2022-07-24T17:24:06.094Z', gte: '2022-07-24T17:14:06.094Z' }, + type: DataStream.BROWSER, + status: 'up', + }, + url: { + scheme: 'data', + domain: '', + full: 'data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==', + }, + observer: { + geo: { + continent_name: 'North America', + city_name: 'Iowa', + country_iso_code: 'US', + name: 'North America - US Central', + location: '41.8780, 93.0977', + }, + hostname: 'cron-b010e1cc9518984e-27644714-4pd4h', + ip: ['10.1.11.162'], + mac: ['ba:4e:6f:a1:09:d5'], + }, + '@timestamp': '2022-07-24T17:14:05.079Z', + ecs: { version: '8.0.0' }, + config_id: '4afd3980-0b72-11ed-9c10-b57918ea89d6', + data_stream: { namespace: 'default', type: 'synthetics', dataset: 'browser' }, + 'event.type': 'journey/end', + event: { + agent_id_status: 'auth_metadata_missing', + ingested: '2022-07-24T17:14:07Z', + type: 'heartbeat/summary', + dataset: 'browser', + }, + timestamp: '2022-07-24T17:14:05.079Z', + docId: 'AkYzMYIBqL6WCtugsFck', + }, + }, pings: { total: 3, data: [ From 436812d56f8460118523c2a60116615e2174c063 Mon Sep 17 00:00:00 2001 From: Dominique Clarke Date: Tue, 1 Nov 2022 07:58:00 -0400 Subject: [PATCH 077/111] [Synthetics] do not filter last check result by timespan (#143694) * synthetics - do not filter last check result by timespan * adjust e2e tests Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> --- .../public/apps/synthetics/hooks/use_status_by_location.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/hooks/use_status_by_location.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/hooks/use_status_by_location.tsx index 21930e1d559c6..5271f532a5c7d 100644 --- a/x-pack/plugins/synthetics/public/apps/synthetics/hooks/use_status_by_location.tsx +++ b/x-pack/plugins/synthetics/public/apps/synthetics/hooks/use_status_by_location.tsx @@ -11,7 +11,6 @@ import { useMemo } from 'react'; import { Ping } from '../../../../common/runtime_types'; import { EXCLUDE_RUN_ONCE_FILTER, - getTimeSpanFilter, SUMMARY_FILTER, } from '../../../../common/constants/client_defaults'; import { SYNTHETICS_INDEX_PATTERN, UNNAMED_LOCATION } from '../../../../common/constants'; @@ -32,7 +31,6 @@ export function useStatusByLocation(monitorIdArg?: string) { filter: [ SUMMARY_FILTER, EXCLUDE_RUN_ONCE_FILTER, - getTimeSpanFilter(), { term: { config_id: monitorIdArg ?? monitorId, From c3934c6f8160d3ac2f8503f1c8d06e229fc65538 Mon Sep 17 00:00:00 2001 From: Shahzad Date: Tue, 1 Nov 2022 13:02:19 +0100 Subject: [PATCH 078/111] [Synthetics Telemetry] Make consistent use of stackVersion (#143924) --- .../lib/adapters/framework/adapter_types.ts | 2 +- .../legacy_uptime/lib/telemetry/types.ts | 2 +- x-pack/plugins/synthetics/server/plugin.ts | 2 +- .../routes/monitor_cruds/add_monitor.ts | 2 +- .../bulk_cruds/add_monitor_bulk.ts | 2 +- .../bulk_cruds/delete_monitor_bulk.ts | 4 ++-- .../bulk_cruds/edit_monitor_bulk.ts | 2 +- .../routes/monitor_cruds/delete_monitor.ts | 4 ++-- .../routes/monitor_cruds/edit_monitor.test.ts | 2 +- .../routes/monitor_cruds/edit_monitor.ts | 2 +- .../telemetry/monitor_upgrade_sender.test.ts | 20 +++++++++---------- .../telemetry/monitor_upgrade_sender.ts | 14 ++++++------- .../project_monitor_formatter.ts | 2 +- .../service_api_client.test.ts | 2 +- .../synthetics_service/service_api_client.ts | 10 +++++----- .../synthetics_service/synthetics_service.ts | 6 +++--- 16 files changed, 39 insertions(+), 39 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 90f12b7368120..b5c41eb0c50b4 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 @@ -57,7 +57,7 @@ export interface UptimeServerSetup { savedObjectsClient?: SavedObjectsClientContract; authSavedObjectsClient?: SavedObjectsClientContract; encryptedSavedObjects: EncryptedSavedObjectsPluginStart; - kibanaVersion: string; + stackVersion: string; logger: Logger; telemetry: TelemetryEventsSender; uptimeEsClient: UptimeEsClient; diff --git a/x-pack/plugins/synthetics/server/legacy_uptime/lib/telemetry/types.ts b/x-pack/plugins/synthetics/server/legacy_uptime/lib/telemetry/types.ts index b9178c2d8ad6b..69030bcdbf9f3 100644 --- a/x-pack/plugins/synthetics/server/legacy_uptime/lib/telemetry/types.ts +++ b/x-pack/plugins/synthetics/server/legacy_uptime/lib/telemetry/types.ts @@ -41,7 +41,7 @@ export interface MonitorErrorEvent { code?: string; status?: number; url?: string; - kibanaVersion: string; + stackVersion: string; } export interface MonitorUpdateTelemetryChannelEvents { diff --git a/x-pack/plugins/synthetics/server/plugin.ts b/x-pack/plugins/synthetics/server/plugin.ts index 209ff9e57face..8871b387eb62d 100644 --- a/x-pack/plugins/synthetics/server/plugin.ts +++ b/x-pack/plugins/synthetics/server/plugin.ts @@ -81,7 +81,7 @@ export class Plugin implements PluginType { config, router: core.http.createRouter(), cloud: plugins.cloud, - kibanaVersion: this.initContext.env.packageInfo.version, + stackVersion: this.initContext.env.packageInfo.version, basePath: core.http.basePath, logger: this.logger, telemetry: this.telemetryEventsSender, 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 1f9a55e347618..6fcc91ec96ffb 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 @@ -199,7 +199,7 @@ export const syncNewMonitor = async ({ errors: syncErrors, monitor: monitorSavedObject, isInlineScript: Boolean((normalizedMonitor as MonitorFields)[ConfigKey.SOURCE_INLINE]), - kibanaVersion: server.kibanaVersion, + stackVersion: server.stackVersion, }) ); diff --git a/x-pack/plugins/synthetics/server/routes/monitor_cruds/bulk_cruds/add_monitor_bulk.ts b/x-pack/plugins/synthetics/server/routes/monitor_cruds/bulk_cruds/add_monitor_bulk.ts index 0f32882974279..8a7799e14f0cb 100644 --- a/x-pack/plugins/synthetics/server/routes/monitor_cruds/bulk_cruds/add_monitor_bulk.ts +++ b/x-pack/plugins/synthetics/server/routes/monitor_cruds/bulk_cruds/add_monitor_bulk.ts @@ -138,7 +138,7 @@ const sendNewMonitorTelemetry = ( errors, monitor, isInlineScript: Boolean((monitor.attributes as MonitorFields)[ConfigKey.SOURCE_INLINE]), - kibanaVersion: server.kibanaVersion, + stackVersion: server.stackVersion, }) ); } diff --git a/x-pack/plugins/synthetics/server/routes/monitor_cruds/bulk_cruds/delete_monitor_bulk.ts b/x-pack/plugins/synthetics/server/routes/monitor_cruds/bulk_cruds/delete_monitor_bulk.ts index 862bab6915f36..3c83514155747 100644 --- a/x-pack/plugins/synthetics/server/routes/monitor_cruds/bulk_cruds/delete_monitor_bulk.ts +++ b/x-pack/plugins/synthetics/server/routes/monitor_cruds/bulk_cruds/delete_monitor_bulk.ts @@ -34,7 +34,7 @@ export const deleteMonitorBulk = async ({ syntheticsMonitorClient: SyntheticsMonitorClient; request: KibanaRequest; }) => { - const { logger, telemetry, kibanaVersion } = server; + const { logger, telemetry, stackVersion } = server; const spaceId = server.spaces.spacesService.getSpaceId(request); try { @@ -60,7 +60,7 @@ export const deleteMonitorBulk = async ({ telemetry, formatTelemetryDeleteEvent( monitor, - kibanaVersion, + stackVersion, new Date().toISOString(), Boolean((monitor.attributes as MonitorFields)[ConfigKey.SOURCE_INLINE]), errors diff --git a/x-pack/plugins/synthetics/server/routes/monitor_cruds/bulk_cruds/edit_monitor_bulk.ts b/x-pack/plugins/synthetics/server/routes/monitor_cruds/bulk_cruds/edit_monitor_bulk.ts index 5c28bdab9d3d1..3f89aab5f1cc2 100644 --- a/x-pack/plugins/synthetics/server/routes/monitor_cruds/bulk_cruds/edit_monitor_bulk.ts +++ b/x-pack/plugins/synthetics/server/routes/monitor_cruds/bulk_cruds/edit_monitor_bulk.ts @@ -106,7 +106,7 @@ export const syncEditedMonitorBulk = async ({ formatTelemetryUpdateEvent( editedMonitorSavedObject as SavedObjectsUpdateResponse, previousMonitor, - server.kibanaVersion, + server.stackVersion, Boolean((normalizedMonitor as MonitorFields)[ConfigKey.SOURCE_INLINE]), errors ) 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 de1b0b90ef95c..751e8c5d51ec9 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 @@ -87,7 +87,7 @@ export const deleteMonitor = async ({ syntheticsMonitorClient: SyntheticsMonitorClient; request: KibanaRequest; }) => { - const { logger, telemetry, kibanaVersion, encryptedSavedObjects } = server; + const { logger, telemetry, stackVersion, encryptedSavedObjects } = server; const spaceId = server.spaces.spacesService.getSpaceId(request); const encryptedSavedObjectsClient = encryptedSavedObjects.getClient(); @@ -131,7 +131,7 @@ export const deleteMonitor = async ({ telemetry, formatTelemetryDeleteEvent( monitor, - kibanaVersion, + stackVersion, new Date().toISOString(), Boolean((normalizedMonitor.attributes as MonitorFields)[ConfigKey.SOURCE_INLINE]), errors diff --git a/x-pack/plugins/synthetics/server/routes/monitor_cruds/edit_monitor.test.ts b/x-pack/plugins/synthetics/server/routes/monitor_cruds/edit_monitor.test.ts index 9f4492ce2dc70..88a60907baf34 100644 --- a/x-pack/plugins/synthetics/server/routes/monitor_cruds/edit_monitor.test.ts +++ b/x-pack/plugins/synthetics/server/routes/monitor_cruds/edit_monitor.test.ts @@ -28,7 +28,7 @@ describe('syncEditedMonitor', () => { const serverMock: UptimeServerSetup = { uptimeEsClient: { search: jest.fn() }, - kibanaVersion: null, + stackVersion: null, authSavedObjectsClient: { bulkUpdate: jest.fn(), get: jest.fn(), 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 d6b50880ed350..0413992780716 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 @@ -175,7 +175,7 @@ export const syncEditedMonitor = async ({ formatTelemetryUpdateEvent( editedMonitorSavedObject as SavedObjectsUpdateResponse, previousMonitor, - server.kibanaVersion, + server.stackVersion, Boolean((normalizedMonitor as MonitorFields)[ConfigKey.SOURCE_INLINE]), errors ) diff --git a/x-pack/plugins/synthetics/server/routes/telemetry/monitor_upgrade_sender.test.ts b/x-pack/plugins/synthetics/server/routes/telemetry/monitor_upgrade_sender.test.ts index 692f55d87297f..65ee31dbb08aa 100644 --- a/x-pack/plugins/synthetics/server/routes/telemetry/monitor_upgrade_sender.test.ts +++ b/x-pack/plugins/synthetics/server/routes/telemetry/monitor_upgrade_sender.test.ts @@ -32,7 +32,7 @@ import { sendTelemetryEvents, } from './monitor_upgrade_sender'; -const kibanaVersion = '8.2.0'; +const stackVersion = '8.2.0'; const id = '123456'; const errors = [ { @@ -91,12 +91,12 @@ describe('monitor upgrade telemetry helpers', () => { it('formats telemetry events', () => { const actual = formatTelemetryEvent({ monitor: testConfig, - kibanaVersion, + stackVersion, isInlineScript: false, errors, }); expect(actual).toEqual({ - stackVersion: kibanaVersion, + stackVersion, configId: sha256.create().update(testConfig.id).hex(), locations: ['us_central', 'other'], locationsCount: 2, @@ -131,11 +131,11 @@ describe('monitor upgrade telemetry helpers', () => { }, }), isInlineScript, - kibanaVersion, + stackVersion, errors, }); expect(actual).toEqual({ - stackVersion: kibanaVersion, + stackVersion, configId: sha256.create().update(testConfig.id).hex(), locations: ['us_central', 'other'], locationsCount: 2, @@ -157,12 +157,12 @@ describe('monitor upgrade telemetry helpers', () => { const actual = formatTelemetryUpdateEvent( createTestConfig({}, '2011-10-05T16:48:00.000Z'), testConfig, - kibanaVersion, + stackVersion, false, errors ); expect(actual).toEqual({ - stackVersion: kibanaVersion, + stackVersion, configId: sha256.create().update(testConfig.id).hex(), locations: ['us_central', 'other'], locationsCount: 2, @@ -182,13 +182,13 @@ describe('monitor upgrade telemetry helpers', () => { it('handles formatting delete events', () => { const actual = formatTelemetryDeleteEvent( testConfig, - kibanaVersion, + stackVersion, '2011-10-05T16:48:00.000Z', false, errors ); expect(actual).toEqual({ - stackVersion: kibanaVersion, + stackVersion, configId: sha256.create().update(testConfig.id).hex(), locations: ['us_central', 'other'], locationsCount: 2, @@ -218,7 +218,7 @@ describe('sendTelemetryEvents', () => { it('should queue telemetry events with generic error', () => { const event = formatTelemetryEvent({ monitor: testConfig, - kibanaVersion, + stackVersion, isInlineScript: true, errors, }); diff --git a/x-pack/plugins/synthetics/server/routes/telemetry/monitor_upgrade_sender.ts b/x-pack/plugins/synthetics/server/routes/telemetry/monitor_upgrade_sender.ts index 1cb4659359f5e..d86792a7967c3 100644 --- a/x-pack/plugins/synthetics/server/routes/telemetry/monitor_upgrade_sender.ts +++ b/x-pack/plugins/synthetics/server/routes/telemetry/monitor_upgrade_sender.ts @@ -65,7 +65,7 @@ export function sendErrorTelemetryEvents( export function formatTelemetryEvent({ monitor, - kibanaVersion, + stackVersion, isInlineScript, lastUpdatedAt, durationSinceLastUpdated, @@ -73,7 +73,7 @@ export function formatTelemetryEvent({ errors, }: { monitor: SavedObject; - kibanaVersion: string; + stackVersion: string; isInlineScript: boolean; lastUpdatedAt?: string; durationSinceLastUpdated?: number; @@ -83,6 +83,7 @@ export function formatTelemetryEvent({ const { attributes } = monitor; return { + stackVersion, updatedAt: deletedAt || monitor.updated_at, lastUpdatedAt, durationSinceLastUpdated, @@ -94,7 +95,6 @@ export function formatTelemetryEvent({ locationsCount: attributes[ConfigKey.LOCATIONS].length, monitorNameLength: attributes[ConfigKey.NAME].length, monitorInterval: scheduleToMilli(attributes[ConfigKey.SCHEDULE]), - stackVersion: kibanaVersion, scriptType: getScriptType(attributes as Partial, isInlineScript), errors: errors && errors?.length @@ -115,7 +115,7 @@ export function formatTelemetryEvent({ export function formatTelemetryUpdateEvent( currentMonitor: SavedObjectsUpdateResponse, previousMonitor: SavedObject, - kibanaVersion: string, + stackVersion: string, isInlineScript: boolean, errors?: ServiceLocationErrors | null ) { @@ -127,8 +127,8 @@ export function formatTelemetryUpdateEvent( } return formatTelemetryEvent({ + stackVersion, monitor: currentMonitor as SavedObject, - kibanaVersion, durationSinceLastUpdated, lastUpdatedAt: previousMonitor.updated_at, isInlineScript, @@ -138,7 +138,7 @@ export function formatTelemetryUpdateEvent( export function formatTelemetryDeleteEvent( previousMonitor: SavedObject, - kibanaVersion: string, + stackVersion: string, deletedAt: string, isInlineScript: boolean, errors?: ServiceLocationErrors | null @@ -150,8 +150,8 @@ export function formatTelemetryDeleteEvent( } return formatTelemetryEvent({ + stackVersion, monitor: previousMonitor as SavedObject, - kibanaVersion, durationSinceLastUpdated, lastUpdatedAt: previousMonitor.updated_at, deletedAt, diff --git a/x-pack/plugins/synthetics/server/synthetics_service/project_monitor/project_monitor_formatter.ts b/x-pack/plugins/synthetics/server/synthetics_service/project_monitor/project_monitor_formatter.ts index 6139b2fbe7959..b7407042b0272 100644 --- a/x-pack/plugins/synthetics/server/synthetics_service/project_monitor/project_monitor_formatter.ts +++ b/x-pack/plugins/synthetics/server/synthetics_service/project_monitor/project_monitor_formatter.ts @@ -208,7 +208,7 @@ export class ProjectMonitorFormatter { privateLocations: this.privateLocations, projectId: this.projectId, namespace: this.spaceId, - version: this.server.kibanaVersion, + version: this.server.stackVersion, }); if (errors.length) { diff --git a/x-pack/plugins/synthetics/server/synthetics_service/service_api_client.test.ts b/x-pack/plugins/synthetics/server/synthetics_service/service_api_client.test.ts index f66cfb28136fd..f9b32c8ba80cc 100644 --- a/x-pack/plugins/synthetics/server/synthetics_service/service_api_client.test.ts +++ b/x-pack/plugins/synthetics/server/synthetics_service/service_api_client.test.ts @@ -74,7 +74,7 @@ describe('checkAccountAccessStatus', () => { const apiClient = new ServiceAPIClient( jest.fn() as unknown as Logger, { tls: { certificate: 'crt', key: 'k' } } as ServiceConfig, - { isDev: false, kibanaVersion: '8.4' } as UptimeServerSetup + { isDev: false, stackVersion: '8.4' } as UptimeServerSetup ); apiClient.locations = [ diff --git a/x-pack/plugins/synthetics/server/synthetics_service/service_api_client.ts b/x-pack/plugins/synthetics/server/synthetics_service/service_api_client.ts index f447a21c3bee7..7597797be8482 100644 --- a/x-pack/plugins/synthetics/server/synthetics_service/service_api_client.ts +++ b/x-pack/plugins/synthetics/server/synthetics_service/service_api_client.ts @@ -35,14 +35,14 @@ export class ServiceAPIClient { public locations: PublicLocations; private logger: Logger; private readonly config?: ServiceConfig; - private readonly kibanaVersion: string; + private readonly stackVersion: string; private readonly server: UptimeServerSetup; constructor(logger: Logger, config: ServiceConfig, server: UptimeServerSetup) { this.config = config; const { username, password } = config ?? {}; this.username = username; - this.kibanaVersion = server.kibanaVersion; + this.stackVersion = server.stackVersion; if (username && password) { this.authorization = 'Basic ' + Buffer.from(`${username}:${password}`).toString('base64'); @@ -96,7 +96,7 @@ export class ServiceAPIClient { } addVersionHeader(req: AxiosRequestConfig) { - req.headers = { ...req.headers, 'x-kibana-version': this.kibanaVersion }; + req.headers = { ...req.headers, 'x-kibana-version': this.stackVersion }; return req; } @@ -157,7 +157,7 @@ export class ServiceAPIClient { data: { monitors: monitorsStreams, output, - stack_version: this.kibanaVersion, + stack_version: this.stackVersion, is_edit: isEdit, }, headers: this.authorization @@ -197,7 +197,7 @@ export class ServiceAPIClient { code: err.code, status: err.response?.data?.status, url, - kibanaVersion: this.server.kibanaVersion, + stackVersion: this.server.stackVersion, }); if (err.response?.data?.reason) { this.logger.error(err.response?.data?.reason); diff --git a/x-pack/plugins/synthetics/server/synthetics_service/synthetics_service.ts b/x-pack/plugins/synthetics/server/synthetics_service/synthetics_service.ts index 457d4e79e418e..5107e0bf26743 100644 --- a/x-pack/plugins/synthetics/server/synthetics_service/synthetics_service.ts +++ b/x-pack/plugins/synthetics/server/synthetics_service/synthetics_service.ts @@ -180,7 +180,7 @@ export class SyntheticsService { type: 'runTaskError', code: e?.code, status: e.status, - kibanaVersion: service.server.kibanaVersion, + stackVersion: service.server.stackVersion, }); throw e; } @@ -226,7 +226,7 @@ export class SyntheticsService { type: 'scheduleTaskError', code: e?.code, status: e.status, - kibanaVersion: this.server.kibanaVersion, + stackVersion: this.server.stackVersion, }); this.logger?.error( @@ -437,7 +437,7 @@ export class SyntheticsService { type: 'runTaskError', code: e?.code, status: e.status, - kibanaVersion: this.server.kibanaVersion, + stackVersion: this.server.stackVersion, }); resolve(null); }); From 381fda59554aa8a7157ec4c3951b124e0062a803 Mon Sep 17 00:00:00 2001 From: Sean Story Date: Tue, 1 Nov 2022 07:06:42 -0500 Subject: [PATCH 079/111] Update mappings for filter rules, fix inconsistencies (#144191) * Update mappings for filter rules, fix inconsistencies * Add filtering rules when creating a connector * [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix' * Fix eslint warnings * fix failing tests * PR feedback from Sander * fix types tests * Mock timestamps better Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> --- .../common/types/connectors.ts | 57 +++++++ .../__mocks__/search_indices.mock.ts | 110 ++++++++++++- .../__mocks__/view_index.mock.ts | 111 ++++++++++++- .../plugins/enterprise_search/server/index.ts | 2 +- .../index_management/setup_indices.test.ts | 110 ++++++++++++- .../server/index_management/setup_indices.ts | 130 +++++++++++++-- .../lib/connectors/add_connector.test.ts | 153 ++++++++++++++++++ .../server/lib/connectors/add_connector.ts | 63 +++++++- 8 files changed, 710 insertions(+), 26 deletions(-) diff --git a/x-pack/plugins/enterprise_search/common/types/connectors.ts b/x-pack/plugins/enterprise_search/common/types/connectors.ts index 44105cf34c0c2..6b38e1269a9eb 100644 --- a/x-pack/plugins/enterprise_search/common/types/connectors.ts +++ b/x-pack/plugins/enterprise_search/common/types/connectors.ts @@ -38,11 +38,68 @@ export interface IngestPipelineParams { run_ml_inference: boolean; } +export enum FilteringPolicy { + EXCLUDE = 'exclude', + INCLUDE = 'include', +} + +export enum FilteringRuleRule { + CONTAINS = 'contains', + ENDS_WITH = 'ends_with', + EQUALS = 'equals', + GT = '>', + LT = '<', + REGEX = 'regex', + STARTS_WITH = 'starts_with', +} + +export interface FilteringRule { + created_at: string; + field: string; + id: string; + order: number; + policy: FilteringPolicy; + rule: FilteringRuleRule; + updated_at: string; + value: string; +} + +export interface FilteringValidation { + ids: string[]; + messages: string[]; +} + +export enum FilteringValidationState { + EDITED = 'edited', + INVALID = 'invalid', + VALID = 'valid', +} + +export interface FilteringRules { + advanced_snippet: { + created_at: string; + updated_at: string; + value: Record; + }; + rules: FilteringRule[]; + validation: { + errors: FilteringValidation[]; + state: FilteringValidationState; + }; +} + +export interface FilteringConfig { + active: FilteringRules; + domain: string; + draft: FilteringRules; +} + export interface Connector { api_key_id: string | null; configuration: ConnectorConfiguration; description: string | null; error: string | null; + filtering: FilteringConfig[]; id: string; index_name: string; is_native: boolean; diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/__mocks__/search_indices.mock.ts b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/__mocks__/search_indices.mock.ts index b8063d57ff984..8af3be8b9e0a6 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/__mocks__/search_indices.mock.ts +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/__mocks__/search_indices.mock.ts @@ -7,7 +7,13 @@ import { ENTERPRISE_SEARCH_CONNECTOR_CRAWLER_SERVICE_TYPE } from '../../../../common/constants'; -import { ConnectorStatus, SyncStatus } from '../../../../common/types/connectors'; +import { + ConnectorStatus, + FilteringPolicy, + FilteringRuleRule, + FilteringValidationState, + SyncStatus, +} from '../../../../common/types/connectors'; import { ElasticsearchIndexWithIngestion } from '../../../../common/types/indices'; export const indices: ElasticsearchIndexWithIngestion[] = [ @@ -29,6 +35,57 @@ export const indices: ElasticsearchIndexWithIngestion[] = [ configuration: { foo: { label: 'bar', value: 'barbar' } }, description: null, error: null, + filtering: [ + { + active: { + advanced_snippet: { + created_at: expect.any(String), + updated_at: expect.any(String), + value: {}, + }, + rules: [ + { + created_at: expect.any(String), + field: '_', + id: 'DEFAULT', + order: 0, + policy: FilteringPolicy.INCLUDE, + rule: FilteringRuleRule.REGEX, + updated_at: expect.any(String), + value: '.*', + }, + ], + validation: { + errors: [], + state: FilteringValidationState.VALID, + }, + }, + domain: 'DEFAULT', + draft: { + advanced_snippet: { + created_at: expect.any(String), + updated_at: expect.any(String), + value: {}, + }, + rules: [ + { + created_at: expect.any(String), + field: '_', + id: 'DEFAULT', + order: 0, + policy: FilteringPolicy.INCLUDE, + rule: FilteringRuleRule.REGEX, + updated_at: expect.any(String), + value: '.*', + }, + ], + validation: { + errors: [], + state: FilteringValidationState.VALID, + }, + }, + }, + ], id: '2', index_name: 'connector', is_native: false, @@ -79,6 +136,57 @@ export const indices: ElasticsearchIndexWithIngestion[] = [ configuration: { foo: { label: 'bar', value: 'barbar' } }, description: null, error: null, + filtering: [ + { + active: { + advanced_snippet: { + created_at: expect.any(String), + updated_at: expect.any(String), + value: {}, + }, + rules: [ + { + created_at: expect.any(String), + field: '_', + id: 'DEFAULT', + order: 0, + policy: FilteringPolicy.INCLUDE, + rule: FilteringRuleRule.REGEX, + updated_at: expect.any(String), + value: '.*', + }, + ], + validation: { + errors: [], + state: FilteringValidationState.VALID, + }, + }, + domain: 'DEFAULT', + draft: { + advanced_snippet: { + created_at: expect.any(String), + updated_at: expect.any(String), + value: {}, + }, + rules: [ + { + created_at: expect.any(String), + field: '_', + id: 'DEFAULT', + order: 0, + policy: FilteringPolicy.INCLUDE, + rule: FilteringRuleRule.REGEX, + updated_at: expect.any(String), + value: '.*', + }, + ], + validation: { + errors: [], + state: FilteringValidationState.VALID, + }, + }, + }, + ], id: '4', index_name: 'connector-crawler', is_native: true, diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/__mocks__/view_index.mock.ts b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/__mocks__/view_index.mock.ts index db4080f18e7a4..4d1039e2969b2 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/__mocks__/view_index.mock.ts +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/__mocks__/view_index.mock.ts @@ -7,7 +7,13 @@ import { ENTERPRISE_SEARCH_CONNECTOR_CRAWLER_SERVICE_TYPE } from '../../../../common/constants'; -import { SyncStatus, ConnectorStatus } from '../../../../common/types/connectors'; +import { + SyncStatus, + ConnectorStatus, + FilteringPolicy, + FilteringRuleRule, + FilteringValidationState, +} from '../../../../common/types/connectors'; import { ApiViewIndex, @@ -32,12 +38,64 @@ export const apiIndex: ApiViewIndex = { store: { size_in_bytes: '8024' }, }, }; + export const connectorIndex: ConnectorViewIndex = { connector: { api_key_id: null, configuration: { foo: { label: 'bar', value: 'barbar' } }, description: null, error: null, + filtering: [ + { + active: { + advanced_snippet: { + created_at: expect.any(String), + updated_at: expect.any(String), + value: {}, + }, + rules: [ + { + created_at: expect.any(String), + field: '_', + id: 'DEFAULT', + order: 0, + policy: FilteringPolicy.INCLUDE, + rule: FilteringRuleRule.REGEX, + updated_at: expect.any(String), + value: '.*', + }, + ], + validation: { + errors: [], + state: FilteringValidationState.VALID, + }, + }, + domain: 'DEFAULT', + draft: { + advanced_snippet: { + created_at: expect.any(String), + updated_at: expect.any(String), + value: {}, + }, + rules: [ + { + created_at: expect.any(String), + field: '_', + id: 'DEFAULT', + order: 0, + policy: FilteringPolicy.INCLUDE, + rule: FilteringRuleRule.REGEX, + updated_at: expect.any(String), + value: '.*', + }, + ], + validation: { + errors: [], + state: FilteringValidationState.VALID, + }, + }, + }, + ], id: '2', index_name: 'connector', is_native: false, @@ -94,6 +152,57 @@ export const connectorCrawlerIndex: CrawlerViewIndex = { configuration: { foo: { label: 'bar', value: 'barbar' } }, description: null, error: null, + filtering: [ + { + active: { + advanced_snippet: { + created_at: expect.any(String), + updated_at: expect.any(String), + value: {}, + }, + rules: [ + { + created_at: expect.any(String), + field: '_', + id: 'DEFAULT', + order: 0, + policy: FilteringPolicy.INCLUDE, + rule: FilteringRuleRule.REGEX, + updated_at: expect.any(String), + value: '.*', + }, + ], + validation: { + errors: [], + state: FilteringValidationState.VALID, + }, + }, + domain: 'DEFAULT', + draft: { + advanced_snippet: { + created_at: expect.any(String), + updated_at: expect.any(String), + value: {}, + }, + rules: [ + { + created_at: expect.any(String), + field: '_', + id: 'DEFAULT', + order: 0, + policy: FilteringPolicy.INCLUDE, + rule: FilteringRuleRule.REGEX, + updated_at: expect.any(String), + value: '.*', + }, + ], + validation: { + errors: [], + state: FilteringValidationState.VALID, + }, + }, + }, + ], id: '4', index_name: 'connector-crawler', is_native: true, diff --git a/x-pack/plugins/enterprise_search/server/index.ts b/x-pack/plugins/enterprise_search/server/index.ts index dfcfa8ba4627c..c91789eadac35 100644 --- a/x-pack/plugins/enterprise_search/server/index.ts +++ b/x-pack/plugins/enterprise_search/server/index.ts @@ -41,7 +41,7 @@ export const config: PluginConfigDescriptor = { export const CONNECTORS_INDEX = '.elastic-connectors'; export const CURRENT_CONNECTORS_INDEX = '.elastic-connectors-v1'; export const CONNECTORS_JOBS_INDEX = '.elastic-connectors-sync-jobs'; -export const CONNECTORS_VERSION = '1'; +export const CONNECTORS_VERSION = 1; export const CRAWLERS_INDEX = '.ent-search-actastic-crawler2_configurations'; export const ANALYTICS_COLLECTIONS_INDEX = '.elastic-analytics-collections'; export const ANALYTICS_VERSION = '1'; diff --git a/x-pack/plugins/enterprise_search/server/index_management/setup_indices.test.ts b/x-pack/plugins/enterprise_search/server/index_management/setup_indices.test.ts index 69bc3c4ab7e6e..cea60531f2d2b 100644 --- a/x-pack/plugins/enterprise_search/server/index_management/setup_indices.test.ts +++ b/x-pack/plugins/enterprise_search/server/index_management/setup_indices.test.ts @@ -38,9 +38,86 @@ describe('Setup Indices', () => { configuration: { type: 'object', }, + description: { type: 'text' }, error: { type: 'keyword' }, + filtering: { + properties: { + active: { + properties: { + advanced_snippet: { + properties: { + created_at: { type: 'date' }, + updated_at: { type: 'date' }, + value: { type: 'object' }, + }, + }, + rules: { + properties: { + created_at: { type: 'date' }, + field: { type: 'keyword' }, + id: { type: 'keyword' }, + order: { type: 'short' }, + policy: { type: 'keyword' }, + rule: { type: 'keyword' }, + updated_at: { type: 'date' }, + value: { type: 'keyword' }, + }, + }, + validation: { + properties: { + errors: { + properties: { + ids: { type: 'keyword' }, + messages: { type: 'text' }, + }, + }, + state: { type: 'keyword' }, + }, + }, + }, + }, + domain: { type: 'keyword' }, + draft: { + properties: { + advanced_snippet: { + properties: { + created_at: { type: 'date' }, + updated_at: { type: 'date' }, + value: { type: 'object' }, + }, + }, + rules: { + properties: { + created_at: { type: 'date' }, + field: { type: 'keyword' }, + id: { type: 'keyword' }, + order: { type: 'short' }, + policy: { type: 'keyword' }, + rule: { type: 'keyword' }, + updated_at: { type: 'date' }, + value: { type: 'keyword' }, + }, + }, + validation: { + properties: { + errors: { + properties: { + ids: { type: 'keyword' }, + messages: { type: 'text' }, + }, + }, + state: { type: 'keyword' }, + }, + }, + }, + }, + }, + }, index_name: { type: 'keyword' }, + is_native: { type: 'boolean' }, language: { type: 'keyword' }, + last_deleted_document_count: { type: 'long' }, + last_indexed_document_count: { type: 'long' }, last_seen: { type: 'date' }, last_sync_error: { type: 'keyword' }, last_sync_status: { type: 'keyword' }, @@ -72,14 +149,41 @@ describe('Setup Indices', () => { }, properties: { completed_at: { type: 'date' }, - connector: { properties: connectorsMappings.properties }, connector_id: { type: 'keyword', }, created_at: { type: 'date' }, deleted_document_count: { type: 'integer' }, - error: { - type: 'keyword', + error: { type: 'keyword' }, + filtering: { + properties: { + advanced_snippet: { + properties: { + created_at: { type: 'date' }, + updated_at: { type: 'date' }, + value: { type: 'object' }, + }, + }, + domain: { type: 'keyword' }, + rules: { + properties: { + created_at: { type: 'date' }, + field: { type: 'keyword' }, + id: { type: 'keyword' }, + order: { type: 'short' }, + policy: { type: 'keyword' }, + rule: { type: 'keyword' }, + updated_at: { type: 'date' }, + value: { type: 'keyword' }, + }, + }, + warnings: { + properties: { + ids: { type: 'keyword' }, + messages: { type: 'text' }, + }, + }, + }, }, indexed_document_count: { type: 'integer' }, status: { diff --git a/x-pack/plugins/enterprise_search/server/index_management/setup_indices.ts b/x-pack/plugins/enterprise_search/server/index_management/setup_indices.ts index bf6d2d3f96011..8ac6b2e232eef 100644 --- a/x-pack/plugins/enterprise_search/server/index_management/setup_indices.ts +++ b/x-pack/plugins/enterprise_search/server/index_management/setup_indices.ts @@ -28,15 +28,88 @@ interface IndexDefinition { } const connectorMappingsProperties: Record = { - api_key_id: { - type: 'keyword', - }, - configuration: { - type: 'object', - }, + api_key_id: { type: 'keyword' }, + configuration: { type: 'object' }, + description: { type: 'text' }, error: { type: 'keyword' }, + filtering: { + properties: { + active: { + properties: { + advanced_snippet: { + properties: { + created_at: { type: 'date' }, + updated_at: { type: 'date' }, + value: { type: 'object' }, + }, + }, + rules: { + properties: { + created_at: { type: 'date' }, + field: { type: 'keyword' }, + id: { type: 'keyword' }, + order: { type: 'short' }, + policy: { type: 'keyword' }, + rule: { type: 'keyword' }, + updated_at: { type: 'date' }, + value: { type: 'keyword' }, + }, + }, + validation: { + properties: { + errors: { + properties: { + ids: { type: 'keyword' }, + messages: { type: 'text' }, + }, + }, + state: { type: 'keyword' }, + }, + }, + }, + }, + domain: { type: 'keyword' }, + draft: { + properties: { + advanced_snippet: { + properties: { + created_at: { type: 'date' }, + updated_at: { type: 'date' }, + value: { type: 'object' }, + }, + }, + rules: { + properties: { + created_at: { type: 'date' }, + field: { type: 'keyword' }, + id: { type: 'keyword' }, + order: { type: 'short' }, + policy: { type: 'keyword' }, + rule: { type: 'keyword' }, + updated_at: { type: 'date' }, + value: { type: 'keyword' }, + }, + }, + validation: { + properties: { + errors: { + properties: { + ids: { type: 'keyword' }, + messages: { type: 'text' }, + }, + }, + state: { type: 'keyword' }, + }, + }, + }, + }, + }, + }, index_name: { type: 'keyword' }, + is_native: { type: 'boolean' }, language: { type: 'keyword' }, + last_deleted_document_count: { type: 'long' }, + last_indexed_document_count: { type: 'long' }, last_seen: { type: 'date' }, last_sync_error: { type: 'keyword' }, last_sync_status: { type: 'keyword' }, @@ -87,7 +160,7 @@ const indices: IndexDefinition[] = [ mappings: { _meta: { pipeline: defaultConnectorsPipelineMeta, - version: '1', + version: 1, }, properties: connectorMappingsProperties, }, @@ -98,23 +171,46 @@ const indices: IndexDefinition[] = [ aliases: ['.elastic-connectors-sync-jobs'], mappings: { _meta: { - version: '1', + version: 1, }, properties: { completed_at: { type: 'date' }, - connector: { properties: connectorMappingsProperties }, - connector_id: { - type: 'keyword', - }, + connector_id: { type: 'keyword' }, created_at: { type: 'date' }, deleted_document_count: { type: 'integer' }, - error: { - type: 'keyword', + error: { type: 'keyword' }, + filtering: { + properties: { + advanced_snippet: { + properties: { + created_at: { type: 'date' }, + updated_at: { type: 'date' }, + value: { type: 'object' }, + }, + }, + domain: { type: 'keyword' }, + rules: { + properties: { + created_at: { type: 'date' }, + field: { type: 'keyword' }, + id: { type: 'keyword' }, + order: { type: 'short' }, + policy: { type: 'keyword' }, + rule: { type: 'keyword' }, + updated_at: { type: 'date' }, + value: { type: 'keyword' }, + }, + }, + warnings: { + properties: { + ids: { type: 'keyword' }, + messages: { type: 'text' }, + }, + }, + }, }, indexed_document_count: { type: 'integer' }, - status: { - type: 'keyword', - }, + status: { type: 'keyword' }, worker_hostname: { type: 'keyword' }, }, }, diff --git a/x-pack/plugins/enterprise_search/server/lib/connectors/add_connector.test.ts b/x-pack/plugins/enterprise_search/server/lib/connectors/add_connector.test.ts index cad0b3b88e38e..d97a6f0b7999b 100644 --- a/x-pack/plugins/enterprise_search/server/lib/connectors/add_connector.test.ts +++ b/x-pack/plugins/enterprise_search/server/lib/connectors/add_connector.test.ts @@ -88,6 +88,57 @@ describe('addConnector lib function', () => { configuration: {}, description: null, error: null, + filtering: [ + { + active: { + advanced_snippet: { + created_at: expect.any(String), + updated_at: expect.any(String), + value: {}, + }, + rules: [ + { + created_at: expect.any(String), + field: '_', + id: 'DEFAULT', + order: 0, + policy: 'include', + rule: 'regex', + updated_at: expect.any(String), + value: '.*', + }, + ], + validation: { + errors: [], + state: 'valid', + }, + }, + domain: 'DEFAULT', + draft: { + advanced_snippet: { + created_at: expect.any(String), + updated_at: expect.any(String), + value: {}, + }, + rules: [ + { + created_at: expect.any(String), + field: '_', + id: 'DEFAULT', + order: 0, + policy: 'include', + rule: 'regex', + updated_at: expect.any(String), + value: '.*', + }, + ], + validation: { + errors: [], + state: 'valid', + }, + }, + }, + ], index_name: 'index_name', is_native: false, language: 'fr', @@ -219,6 +270,57 @@ describe('addConnector lib function', () => { configuration: {}, description: null, error: null, + filtering: [ + { + active: { + advanced_snippet: { + created_at: expect.any(String), + updated_at: expect.any(String), + value: {}, + }, + rules: [ + { + created_at: expect.any(String), + field: '_', + id: 'DEFAULT', + order: 0, + policy: 'include', + rule: 'regex', + updated_at: expect.any(String), + value: '.*', + }, + ], + validation: { + errors: [], + state: 'valid', + }, + }, + domain: 'DEFAULT', + draft: { + advanced_snippet: { + created_at: expect.any(String), + updated_at: expect.any(String), + value: {}, + }, + rules: [ + { + created_at: expect.any(String), + field: '_', + id: 'DEFAULT', + order: 0, + policy: 'include', + rule: 'regex', + updated_at: expect.any(String), + value: '.*', + }, + ], + validation: { + errors: [], + state: 'valid', + }, + }, + }, + ], index_name: 'index_name', is_native: true, language: null, @@ -272,6 +374,57 @@ describe('addConnector lib function', () => { configuration: {}, description: null, error: null, + filtering: [ + { + active: { + advanced_snippet: { + created_at: expect.any(String), + updated_at: expect.any(String), + value: {}, + }, + rules: [ + { + created_at: expect.any(String), + field: '_', + id: 'DEFAULT', + order: 0, + policy: 'include', + rule: 'regex', + updated_at: expect.any(String), + value: '.*', + }, + ], + validation: { + errors: [], + state: 'valid', + }, + }, + domain: 'DEFAULT', + draft: { + advanced_snippet: { + created_at: expect.any(String), + updated_at: expect.any(String), + value: {}, + }, + rules: [ + { + created_at: expect.any(String), + field: '_', + id: 'DEFAULT', + order: 0, + policy: 'include', + rule: 'regex', + updated_at: expect.any(String), + value: '.*', + }, + ], + validation: { + errors: [], + state: 'valid', + }, + }, + }, + ], index_name: 'search-index_name', is_native: false, language: 'en', diff --git a/x-pack/plugins/enterprise_search/server/lib/connectors/add_connector.ts b/x-pack/plugins/enterprise_search/server/lib/connectors/add_connector.ts index 1b02dda8d26ad..05a3b9ab4b7e2 100644 --- a/x-pack/plugins/enterprise_search/server/lib/connectors/add_connector.ts +++ b/x-pack/plugins/enterprise_search/server/lib/connectors/add_connector.ts @@ -7,9 +7,14 @@ import { IScopedClusterClient } from '@kbn/core/server'; -import { CONNECTORS_INDEX } from '../..'; -import { CONNECTORS_VERSION } from '../..'; -import { ConnectorDocument, ConnectorStatus } from '../../../common/types/connectors'; +import { CONNECTORS_INDEX, CONNECTORS_VERSION } from '../..'; +import { + ConnectorDocument, + ConnectorStatus, + FilteringPolicy, + FilteringRuleRule, + FilteringValidationState, +} from '../../../common/types/connectors'; import { ErrorCode } from '../../../common/types/error_codes'; import { DefaultConnectorsPipelineMeta, @@ -84,11 +89,63 @@ export const addConnector = async ( connectorsIndicesMapping[`${CONNECTORS_INDEX}-v${CONNECTORS_VERSION}`]?.mappings?._meta ?.pipeline; + const currentTimestamp = new Date().toISOString(); const document: ConnectorDocument = { api_key_id: null, configuration: {}, description: null, error: null, + filtering: [ + { + active: { + advanced_snippet: { + created_at: currentTimestamp, + updated_at: currentTimestamp, + value: {}, + }, + rules: [ + { + created_at: currentTimestamp, + field: '_', + id: 'DEFAULT', + order: 0, + policy: FilteringPolicy.INCLUDE, + rule: FilteringRuleRule.REGEX, + updated_at: currentTimestamp, + value: '.*', + }, + ], + validation: { + errors: [], + state: FilteringValidationState.VALID, + }, + }, + domain: 'DEFAULT', + draft: { + advanced_snippet: { + created_at: currentTimestamp, + updated_at: currentTimestamp, + value: {}, + }, + rules: [ + { + created_at: currentTimestamp, + field: '_', + id: 'DEFAULT', + order: 0, + policy: FilteringPolicy.INCLUDE, + rule: FilteringRuleRule.REGEX, + updated_at: currentTimestamp, + value: '.*', + }, + ], + validation: { + errors: [], + state: FilteringValidationState.VALID, + }, + }, + }, + ], index_name: input.index_name, is_native: input.is_native, language: input.language, From 66894cd62a63ad80e60e0ccec8283ce4558bbd95 Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Tue, 1 Nov 2022 08:42:44 -0400 Subject: [PATCH 080/111] skip failing test suite (#131192) --- test/server_integration/http/ssl_redirect/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/server_integration/http/ssl_redirect/index.js b/test/server_integration/http/ssl_redirect/index.js index 8abe700e26149..7e0f78e8890c0 100644 --- a/test/server_integration/http/ssl_redirect/index.js +++ b/test/server_integration/http/ssl_redirect/index.js @@ -9,7 +9,8 @@ export default function ({ getService }) { const supertest = getService('supertest'); - describe('kibana server with ssl', () => { + // Failing: See https://github.com/elastic/kibana/issues/131192 + describe.skip('kibana server with ssl', () => { it('redirects http requests at redirect port to https', async () => { const host = process.env.TEST_KIBANA_HOST || 'localhost'; const port = process.env.TEST_KIBANA_PORT || '5620'; From 1d06b5ffc1c2de8396fd0f92eb46b1e5882de1a3 Mon Sep 17 00:00:00 2001 From: Giorgos Bamparopoulos Date: Tue, 1 Nov 2022 12:55:14 +0000 Subject: [PATCH 081/111] [APM] Add beta badge and update tooltips in storage explorer (#144316) * Add beta badge to storage explorer * Update tooltip and callout text --- .../components/app/storage_explorer/index.tsx | 2 +- .../app/storage_explorer/summary_stats.tsx | 5 ++-- .../routing/home/storage_explorer.tsx | 28 +++++++++++++------ 3 files changed, 24 insertions(+), 11 deletions(-) diff --git a/x-pack/plugins/apm/public/components/app/storage_explorer/index.tsx b/x-pack/plugins/apm/public/components/app/storage_explorer/index.tsx index ef0c198000ddd..060c8c00da6e7 100644 --- a/x-pack/plugins/apm/public/components/app/storage_explorer/index.tsx +++ b/x-pack/plugins/apm/public/components/app/storage_explorer/index.tsx @@ -120,7 +120,7 @@ export function StorageExplorer() {

diff --git a/x-pack/plugins/apm/public/components/app/storage_explorer/summary_stats.tsx b/x-pack/plugins/apm/public/components/app/storage_explorer/summary_stats.tsx index bb94e5c4507ca..b6f6e5167f3d3 100644 --- a/x-pack/plugins/apm/public/components/app/storage_explorer/summary_stats.tsx +++ b/x-pack/plugins/apm/public/components/app/storage_explorer/summary_stats.tsx @@ -104,7 +104,8 @@ export function SummaryStats() { tooltipContent={i18n.translate( 'xpack.apm.storageExplorer.summary.totalSize.tooltip', { - defaultMessage: 'The storage size used by the APM indices.', + defaultMessage: + 'Total storage size of all the APM indices currently, ignoring all filters.', } )} value={asDynamicBytes(data?.totalSize)} @@ -122,7 +123,7 @@ export function SummaryStats() { 'xpack.apm.storageExplorer.summary.diskSpaceUsedPct.tooltip', { defaultMessage: - 'The percentage of storage size used by the APM indices compared to the overall storage configured for Elasticsearch.', + 'The percentage of the storage capacity that is currently used by all the APM indices compared to the max. storage capacity currently configured for Elasticsearch.', } )} value={asPercent(data?.diskSpaceUsedPct, 1)} diff --git a/x-pack/plugins/apm/public/components/routing/home/storage_explorer.tsx b/x-pack/plugins/apm/public/components/routing/home/storage_explorer.tsx index 167d4f88ca8b5..e971002dfbcd3 100644 --- a/x-pack/plugins/apm/public/components/routing/home/storage_explorer.tsx +++ b/x-pack/plugins/apm/public/components/routing/home/storage_explorer.tsx @@ -6,11 +6,12 @@ */ import React from 'react'; -import { EuiTitle } from '@elastic/eui'; +import { EuiTitle, EuiFlexGroup, EuiFlexItem } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; import * as t from 'io-ts'; import { EuiLink } from '@elastic/eui'; import { StorageExplorer } from '../../app/storage_explorer'; +import { BetaBadge } from '../../shared/beta_badge'; import { ApmMainTemplate } from '../templates/apm_main_template'; import { Breadcrumb } from '../../app/breadcrumb'; import { @@ -32,13 +33,24 @@ export const storageExplorer = { pageHeader={{ alignItems: 'center', pageTitle: ( - -

- {i18n.translate('xpack.apm.views.storageExplorer.title', { - defaultMessage: 'Storage explorer', - })} -

- + + + +

+ {i18n.translate('xpack.apm.views.storageExplorer.title', { + defaultMessage: 'Storage explorer', + })} +

+
+
+ + + +
), rightSideItems: [ From d9adcfee0e7b50087574dbcca93c3cf86de0a786 Mon Sep 17 00:00:00 2001 From: Alexey Antonov Date: Tue, 1 Nov 2022 15:58:05 +0300 Subject: [PATCH 082/111] [Lens] Shard failure notices make it impossible to use Lens (#142985) * [Lens] Shard failure notices make it impossible to use Lens * rename getTSDBRollupWarningMessages -> getShardFailuresWarningMessages * [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix' * update UI * push some logic * fix CI * push some changes * delete outdated test * fix CI * push some logic * add KibanaThemeProvider * apply UI changes for shard_failure_open_modal_button * cleanup Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Joe Reuter --- src/plugins/data/public/index.ts | 4 + .../search/fetch/handle_warnings.test.ts | 9 +- .../public/search/fetch/handle_warnings.tsx | 38 +++++-- src/plugins/data/public/search/index.ts | 1 + .../data/public/search/search_service.ts | 4 +- src/plugins/data/public/search/types.ts | 11 +- .../shard_failure_open_modal_button.test.tsx | 6 +- .../shard_failure_open_modal_button.tsx | 57 ++++++---- .../datasources/form_based/form_based.tsx | 10 +- .../public/datasources/form_based/utils.tsx | 104 ++++++++++++------ .../workspace_panel/workspace_panel.tsx | 50 +++++---- .../lens/public/embeddable/embeddable.tsx | 40 ++++--- .../public/state_management/lens_slice.ts | 9 +- x-pack/plugins/lens/public/types.ts | 11 +- x-pack/plugins/lens/public/utils.ts | 36 ++++++ .../test/functional/apps/lens/group2/tsdb.ts | 23 ---- 16 files changed, 267 insertions(+), 146 deletions(-) diff --git a/src/plugins/data/public/index.ts b/src/plugins/data/public/index.ts index fa545d7648df1..f7542ef170965 100644 --- a/src/plugins/data/public/index.ts +++ b/src/plugins/data/public/index.ts @@ -169,6 +169,7 @@ export type { IEsError, Reason, WaitUntilNextSessionCompletesOptions, + SearchResponseWarning, } from './search'; export { @@ -270,6 +271,9 @@ export type { GlobalQueryStateFromUrl, } from './query'; +export type { ShardFailureRequest } from './shard_failure_modal'; +export { ShardFailureOpenModalButton } from './shard_failure_modal'; + export type { AggsStart } from './search/aggs'; export { getTime } from '../common'; diff --git a/src/plugins/data/public/search/fetch/handle_warnings.test.ts b/src/plugins/data/public/search/fetch/handle_warnings.test.ts index 0d644d8dc0811..55564645665ce 100644 --- a/src/plugins/data/public/search/fetch/handle_warnings.test.ts +++ b/src/plugins/data/public/search/fetch/handle_warnings.test.ts @@ -13,6 +13,7 @@ import { setNotifications } from '../../services'; import { SearchResponseWarning } from '../types'; import { filterWarnings, handleWarnings } from './handle_warnings'; import * as extract from './extract_warnings'; +import { SearchRequest } from '../../../common'; jest.mock('@kbn/i18n', () => { return { @@ -152,6 +153,8 @@ describe('Filtering and showing warnings', () => { describe('filterWarnings', () => { const callback = jest.fn(); + const request = {} as SearchRequest; + const response = {} as estypes.SearchResponse; beforeEach(() => { callback.mockImplementation(() => { @@ -161,19 +164,19 @@ describe('Filtering and showing warnings', () => { it('filters out all', () => { callback.mockImplementation(() => true); - expect(filterWarnings(warnings, callback)).toEqual([]); + expect(filterWarnings(warnings, callback, request, response, 'id')).toEqual([]); }); it('filters out some', () => { callback.mockImplementation( (warning: SearchResponseWarning) => warning.reason?.type !== 'generic_shard_failure' ); - expect(filterWarnings(warnings, callback)).toEqual([warnings[2]]); + expect(filterWarnings(warnings, callback, request, response, 'id')).toEqual([warnings[2]]); }); it('filters out none', () => { callback.mockImplementation(() => false); - expect(filterWarnings(warnings, callback)).toEqual(warnings); + expect(filterWarnings(warnings, callback, request, response, 'id')).toEqual(warnings); }); }); }); diff --git a/src/plugins/data/public/search/fetch/handle_warnings.tsx b/src/plugins/data/public/search/fetch/handle_warnings.tsx index 1720ea1f76c0c..3e1353ee2f9a7 100644 --- a/src/plugins/data/public/search/fetch/handle_warnings.tsx +++ b/src/plugins/data/public/search/fetch/handle_warnings.tsx @@ -8,7 +8,7 @@ import { estypes } from '@elastic/elasticsearch'; import { debounce } from 'lodash'; -import { EuiSpacer } from '@elastic/eui'; +import { EuiSpacer, EuiTextAlign } from '@elastic/eui'; import { ThemeServiceStart } from '@kbn/core/public'; import { toMountPoint } from '@kbn/kibana-react-plugin/public'; import React from 'react'; @@ -57,19 +57,23 @@ export function handleWarnings({ theme, callback, sessionId = '', + requestId, }: { request: SearchRequest; response: estypes.SearchResponse; theme: ThemeServiceStart; callback?: WarningHandlerCallback; sessionId?: string; + requestId?: string; }) { const warnings = extractWarnings(response); if (warnings.length === 0) { return; } - const internal = callback ? filterWarnings(warnings, callback) : warnings; + const internal = callback + ? filterWarnings(warnings, callback, request, response, requestId) + : warnings; if (internal.length === 0) { return; } @@ -95,12 +99,16 @@ export function handleWarnings({ <> {warning.text} - + + ({ + request: request as ShardFailureRequest, + response, + })} + /> + , { theme$: theme.theme$ } ); @@ -116,12 +124,22 @@ export function handleWarnings({ /** * @internal */ -export function filterWarnings(warnings: SearchResponseWarning[], cb: WarningHandlerCallback) { +export function filterWarnings( + warnings: SearchResponseWarning[], + cb: WarningHandlerCallback, + request: SearchRequest, + response: estypes.SearchResponse, + requestId: string | undefined +) { const unfiltered: SearchResponseWarning[] = []; // use the consumer's callback as a filter to receive warnings to handle on our side warnings.forEach((warning) => { - const consumerHandled = cb?.(warning); + const consumerHandled = cb?.(warning, { + requestId, + request, + response, + }); if (!consumerHandled) { unfiltered.push(warning); } diff --git a/src/plugins/data/public/search/index.ts b/src/plugins/data/public/search/index.ts index 72d2a25b15ea2..6cf303d424042 100644 --- a/src/plugins/data/public/search/index.ts +++ b/src/plugins/data/public/search/index.ts @@ -9,6 +9,7 @@ export * from './expressions'; export type { + SearchResponseWarning, ISearchSetup, ISearchStart, ISearchStartSearchSource, diff --git a/src/plugins/data/public/search/search_service.ts b/src/plugins/data/public/search/search_service.ts index dbba423c8ea88..c4a135b64ca94 100644 --- a/src/plugins/data/public/search/search_service.ts +++ b/src/plugins/data/public/search/search_service.ts @@ -241,11 +241,13 @@ export class SearchService implements Plugin { onResponse: (request, response, options) => { if (!options.disableShardFailureWarning) { const { rawResponse } = response; + handleWarnings({ request: request.body, response: rawResponse, theme, sessionId: options.sessionId, + requestId: request.id, }); } return response; @@ -286,12 +288,12 @@ export class SearchService implements Plugin { if (!rawResponse) { return; } - handleWarnings({ request: request.json as SearchRequest, response: rawResponse, theme, callback, + requestId: request.id, }); }); }, diff --git a/src/plugins/data/public/search/types.ts b/src/plugins/data/public/search/types.ts index 4e3753018adb9..d1fde7bd4d7e6 100644 --- a/src/plugins/data/public/search/types.ts +++ b/src/plugins/data/public/search/types.ts @@ -11,7 +11,7 @@ import type { PackageInfo } from '@kbn/core/server'; import { DataViewsContract } from '@kbn/data-views-plugin/common'; import { RequestAdapter } from '@kbn/inspector-plugin/public'; import { UsageCollectionSetup } from '@kbn/usage-collection-plugin/public'; -import { ISearchGeneric, ISearchStartSearchSource } from '../../common/search'; +import { ISearchGeneric, ISearchStartSearchSource, SearchRequest } from '../../common/search'; import { AggsSetup, AggsSetupDependencies, AggsStart, AggsStartDependencies } from './aggs'; import { SearchUsageCollector } from './collectors'; import { ISessionsClient, ISessionService } from './session'; @@ -159,4 +159,11 @@ export type SearchResponseWarning = * function to prevent the search service from showing warning notifications by default. * @public */ -export type WarningHandlerCallback = (warnings: SearchResponseWarning) => boolean | undefined; +export type WarningHandlerCallback = ( + warnings: SearchResponseWarning, + meta: { + request: SearchRequest; + response: estypes.SearchResponse; + requestId: string | undefined; + } +) => boolean | undefined; diff --git a/src/plugins/data/public/shard_failure_modal/shard_failure_open_modal_button.test.tsx b/src/plugins/data/public/shard_failure_modal/shard_failure_open_modal_button.test.tsx index 6893ae0126e84..00f0315e69275 100644 --- a/src/plugins/data/public/shard_failure_modal/shard_failure_open_modal_button.test.tsx +++ b/src/plugins/data/public/shard_failure_modal/shard_failure_open_modal_button.test.tsx @@ -21,8 +21,10 @@ describe('ShardFailureOpenModalButton', () => { it('triggers the openModal function when "Show details" button is clicked', () => { const component = mountWithIntl( ({ + request: shardFailureRequest, + response: shardFailureResponse, + })} theme={theme} title="test" /> diff --git a/src/plugins/data/public/shard_failure_modal/shard_failure_open_modal_button.tsx b/src/plugins/data/public/shard_failure_modal/shard_failure_open_modal_button.tsx index 63547b1391e5b..b3862690eef01 100644 --- a/src/plugins/data/public/shard_failure_modal/shard_failure_open_modal_button.tsx +++ b/src/plugins/data/public/shard_failure_modal/shard_failure_open_modal_button.tsx @@ -6,33 +6,41 @@ * Side Public License, v 1. */ -import React from 'react'; +import React, { useCallback } from 'react'; import { FormattedMessage } from '@kbn/i18n-react'; -import { EuiButton, EuiTextAlign } from '@elastic/eui'; +import { EuiLink, EuiButton, EuiButtonProps } from '@elastic/eui'; import type * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; -import { ThemeServiceStart } from '@kbn/core/public'; +import type { ThemeServiceStart } from '@kbn/core/public'; import { toMountPoint } from '@kbn/kibana-react-plugin/public'; import { getOverlays } from '../services'; import { ShardFailureModal } from './shard_failure_modal'; -import { ShardFailureRequest } from './shard_failure_types'; +import type { ShardFailureRequest } from './shard_failure_types'; // @internal export interface ShardFailureOpenModalButtonProps { - request: ShardFailureRequest; - response: estypes.SearchResponse; theme: ThemeServiceStart; title: string; + size?: EuiButtonProps['size']; + color?: EuiButtonProps['color']; + getRequestMeta: () => { + request: ShardFailureRequest; + response: estypes.SearchResponse; + }; + isButtonEmpty?: boolean; } // Needed for React.lazy // eslint-disable-next-line import/no-default-export export default function ShardFailureOpenModalButton({ - request, - response, + getRequestMeta, theme, title, + size = 's', + color = 'warning', + isButtonEmpty = false, }: ShardFailureOpenModalButtonProps) { - function onClick() { + const onClick = useCallback(() => { + const { request, response } = getRequestMeta(); const modal = getOverlays().openModal( toMountPoint( - - - - + + + ); } diff --git a/x-pack/plugins/lens/public/datasources/form_based/form_based.tsx b/x-pack/plugins/lens/public/datasources/form_based/form_based.tsx index b863c69d7f7a6..95a13d46cdc53 100644 --- a/x-pack/plugins/lens/public/datasources/form_based/form_based.tsx +++ b/x-pack/plugins/lens/public/datasources/form_based/form_based.tsx @@ -65,7 +65,7 @@ import { import { getFiltersInLayer, - getTSDBRollupWarningMessages, + getShardFailuresWarningMessages, getVisualDefaultsForLayer, isColumnInvalid, cloneLayer, @@ -89,10 +89,10 @@ import { } from './operations/layer_helpers'; import { FormBasedPrivateState, FormBasedPersistedState, DataViewDragDropOperation } from './types'; import { mergeLayer, mergeLayers } from './state_helpers'; -import { Datasource, VisualizeEditorContext } from '../../types'; +import type { Datasource, VisualizeEditorContext } from '../../types'; import { deleteColumn, isReferenced } from './operations'; import { GeoFieldWorkspacePanel } from '../../editor_frame_service/editor_frame/workspace_panel/geo_field_workspace_panel'; -import { DraggingIdentifier } from '../../drag_drop'; +import type { DraggingIdentifier } from '../../drag_drop'; import { getStateTimeShiftWarningMessages } from './time_shift_utils'; import { getPrecisionErrorWarningMessages } from './utils'; import { DOCUMENT_FIELD_NAME } from '../../../common/constants'; @@ -897,8 +897,8 @@ export function getFormBasedDatasource({ ), ]; }, - getSearchWarningMessages: (state, warning) => { - return [...getTSDBRollupWarningMessages(state, warning)]; + getSearchWarningMessages: (state, warning, request, response) => { + return [...getShardFailuresWarningMessages(state, warning, request, response, core.theme)]; }, getDeprecationMessages: () => { const deprecatedMessages: React.ReactNode[] = []; diff --git a/x-pack/plugins/lens/public/datasources/form_based/utils.tsx b/x-pack/plugins/lens/public/datasources/form_based/utils.tsx index dfec3c723d189..bf72776fe42a7 100644 --- a/x-pack/plugins/lens/public/datasources/form_based/utils.tsx +++ b/x-pack/plugins/lens/public/datasources/form_based/utils.tsx @@ -8,15 +8,23 @@ import React from 'react'; import { i18n } from '@kbn/i18n'; import { FormattedMessage } from '@kbn/i18n-react'; -import type { DocLinksStart } from '@kbn/core/public'; +import type { DocLinksStart, ThemeServiceStart } from '@kbn/core/public'; import type { DatatableUtilitiesService } from '@kbn/data-plugin/common'; import { TimeRange } from '@kbn/es-query'; -import { EuiLink, EuiTextColor, EuiButton, EuiSpacer } from '@elastic/eui'; +import { EuiLink, EuiTextColor, EuiButton, EuiSpacer, EuiText } from '@elastic/eui'; import type { DatatableColumn } from '@kbn/expressions-plugin/common'; import { groupBy, escape, uniq } from 'lodash'; import type { Query } from '@kbn/data-plugin/common'; -import { SearchResponseWarning } from '@kbn/data-plugin/public/search/types'; +import { SearchRequest } from '@kbn/data-plugin/common'; + +import { + SearchResponseWarning, + ShardFailureOpenModalButton, + ShardFailureRequest, +} from '@kbn/data-plugin/public'; + +import { estypes } from '@elastic/elasticsearch'; import type { FramePublicAPI, IndexPattern, StateSetter } from '../../types'; import { renewIDs } from '../../utils'; import type { FormBasedLayer, FormBasedPersistedState, FormBasedPrivateState } from './types'; @@ -162,43 +170,67 @@ const accuracyModeEnabledWarning = (columnName: string, docLink: string) => ( /> ); -export function getTSDBRollupWarningMessages( +export function getShardFailuresWarningMessages( state: FormBasedPersistedState, - warning: SearchResponseWarning -) { + warning: SearchResponseWarning, + request: SearchRequest, + response: estypes.SearchResponse, + theme: ThemeServiceStart +): Array { if (state) { - const hasTSDBRollupWarnings = - warning.type === 'shard_failure' && - warning.reason.type === 'unsupported_aggregation_on_downsampled_index'; - if (!hasTSDBRollupWarnings) { - return []; + if (warning.type === 'shard_failure') { + switch (warning.reason.type) { + case 'unsupported_aggregation_on_downsampled_index': + return Object.values(state.layers).flatMap((layer) => + uniq( + Object.values(layer.columns) + .filter((col) => + [ + 'median', + 'percentile', + 'percentile_rank', + 'last_value', + 'unique_count', + 'standard_deviation', + ].includes(col.operationType) + ) + .map((col) => col.label) + ).map((label) => + i18n.translate('xpack.lens.indexPattern.tsdbRollupWarning', { + defaultMessage: + '{label} uses a function that is unsupported by rolled up data. Select a different function or change the time range.', + values: { + label, + }, + }) + ) + ); + default: + return [ + <> + + {warning.message} +

{warning.text}

+
+ + {warning.text ? ( + ({ + request: request as ShardFailureRequest, + response, + })} + color="primary" + isButtonEmpty={true} + /> + ) : null} + , + ]; + } } - return Object.values(state.layers).flatMap((layer) => - uniq( - Object.values(layer.columns) - .filter((col) => - [ - 'median', - 'percentile', - 'percentile_rank', - 'last_value', - 'unique_count', - 'standard_deviation', - ].includes(col.operationType) - ) - .map((col) => col.label) - ).map((label) => - i18n.translate('xpack.lens.indexPattern.tsdbRollupWarning', { - defaultMessage: - '{label} uses a function that is unsupported by rolled up data. Select a different function or change the time range.', - values: { - label, - }, - }) - ) - ); } - return []; } diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/workspace_panel.tsx b/x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/workspace_panel.tsx index 2f2003970171a..36399211c92e3 100644 --- a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/workspace_panel.tsx +++ b/x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/workspace_panel.tsx @@ -36,6 +36,7 @@ import type { DefaultInspectorAdapters } from '@kbn/expressions-plugin/common'; import type { Datatable } from '@kbn/expressions-plugin/public'; import { DropIllustration } from '@kbn/chart-icons'; import { trackUiCounterEvents } from '../../../lens_ui_telemetry'; +import { getSearchWarningMessages } from '../../../utils'; import { FramePublicAPI, isLensBrushEvent, @@ -231,32 +232,37 @@ export const InnerWorkspacePanel = React.memo(function InnerWorkspacePanel({ (data: unknown, adapters?: Partial) => { if (renderDeps.current) { const [defaultLayerId] = Object.keys(renderDeps.current.datasourceLayers); + const datasource = Object.values(renderDeps.current.datasourceMap)[0]; + const datasourceState = Object.values(renderDeps.current.datasourceStates)[0].state; - const requestWarnings: string[] = []; - const datasource = Object.values(renderDeps.current?.datasourceMap)[0]; - const datasourceState = Object.values(renderDeps.current?.datasourceStates)[0].state; - if (adapters?.requests) { - plugins.data.search.showWarnings(adapters.requests, (warning) => { - const warningMessage = datasource.getSearchWarningMessages?.(datasourceState, warning); + let requestWarnings: Array = []; - requestWarnings.push(...(warningMessage || [])); - if (warningMessage && warningMessage.length) return true; - }); - } - if (adapters && adapters.tables) { - dispatchLens( - onActiveDataChange({ - activeData: Object.entries(adapters.tables?.tables).reduce>( - (acc, [key, value], index, tables) => ({ - ...acc, - [tables.length === 1 ? defaultLayerId : key]: value, - }), - {} - ), - requestWarnings, - }) + if (adapters?.requests) { + requestWarnings = getSearchWarningMessages( + adapters.requests, + datasource, + datasourceState, + { + searchService: plugins.data.search, + } ); } + + dispatchLens( + onActiveDataChange({ + activeData: + adapters && adapters.tables + ? Object.entries(adapters.tables?.tables).reduce>( + (acc, [key, value], index, tables) => ({ + ...acc, + [tables.length === 1 ? defaultLayerId : key]: value, + }), + {} + ) + : undefined, + requestWarnings, + }) + ); } }, [dispatchLens, plugins.data.search] diff --git a/x-pack/plugins/lens/public/embeddable/embeddable.tsx b/x-pack/plugins/lens/public/embeddable/embeddable.tsx index 103c75844f816..65c91b115ce70 100644 --- a/x-pack/plugins/lens/public/embeddable/embeddable.tsx +++ b/x-pack/plugins/lens/public/embeddable/embeddable.tsx @@ -87,7 +87,12 @@ import { LensAttributeService } from '../lens_attribute_service'; import type { ErrorMessage, TableInspectorAdapter } from '../editor_frame_service/types'; import { getLensInspectorService, LensInspector } from '../lens_inspector_service'; import { SharingSavedObjectProps, VisualizationDisplayOptions } from '../types'; -import { getActiveDatasourceIdFromDoc, getIndexPatternsObjects, inferTimeField } from '../utils'; +import { + getActiveDatasourceIdFromDoc, + getIndexPatternsObjects, + getSearchWarningMessages, + inferTimeField, +} from '../utils'; import { getLayerMetaInfo, combineQueryAndFilters } from '../app_plugin/show_underlying_data'; import { convertDataViewIntoLensIndexPattern } from '../data_views_service/loader'; @@ -531,21 +536,30 @@ export class Embeddable private handleWarnings(adapters?: Partial) { const activeDatasourceId = getActiveDatasourceIdFromDoc(this.savedVis); - if (!activeDatasourceId || !adapters?.requests) return; + + if (!activeDatasourceId || !adapters?.requests) { + return; + } + const activeDatasource = this.deps.datasourceMap[activeDatasourceId]; const docDatasourceState = this.savedVis?.state.datasourceStates[activeDatasourceId]; - const warnings: React.ReactNode[] = []; - this.deps.data.search.showWarnings(adapters.requests, (warning) => { - const warningMessage = activeDatasource.getSearchWarningMessages?.( - docDatasourceState, - warning - ); - warnings.push(...(warningMessage || [])); - if (warningMessage && warningMessage.length) return true; - }); - if (warnings && this.warningDomNode) { - render(, this.warningDomNode); + const requestWarnings = getSearchWarningMessages( + adapters.requests, + activeDatasource, + docDatasourceState, + { + searchService: this.deps.data.search, + } + ); + + if (requestWarnings.length && this.warningDomNode) { + render( + + + , + this.warningDomNode + ); } } diff --git a/x-pack/plugins/lens/public/state_management/lens_slice.ts b/x-pack/plugins/lens/public/state_management/lens_slice.ts index 3f3490906f88c..f21d1e6c4aa1a 100644 --- a/x-pack/plugins/lens/public/state_management/lens_slice.ts +++ b/x-pack/plugins/lens/public/state_management/lens_slice.ts @@ -5,6 +5,7 @@ * 2.0. */ +import type { ReactNode } from 'react'; import { createAction, createReducer, current, PayloadAction } from '@reduxjs/toolkit'; import { VisualizeFieldContext } from '@kbn/ui-actions-plugin/public'; import { mapValues, uniq } from 'lodash'; @@ -98,8 +99,8 @@ export const getPreloadedState = ({ export const setState = createAction>('lens/setState'); export const onActiveDataChange = createAction<{ - activeData: TableInspectorAdapter; - requestWarnings?: string[]; + activeData?: TableInspectorAdapter; + requestWarnings?: Array; }>('lens/onActiveDataChange'); export const setSaveable = createAction('lens/setSaveable'); export const enableAutoApply = createAction('lens/enableAutoApply'); @@ -265,8 +266,8 @@ export const makeLensReducer = (storeDeps: LensStoreDeps) => { ) => { return { ...state, - activeData, - requestWarnings, + ...(activeData ? { activeData } : {}), + ...(requestWarnings ? { requestWarnings } : {}), }; }, [setSaveable.type]: (state, { payload }: PayloadAction) => { diff --git a/x-pack/plugins/lens/public/types.ts b/x-pack/plugins/lens/public/types.ts index 94a0589f78b08..a8389c7841712 100644 --- a/x-pack/plugins/lens/public/types.ts +++ b/x-pack/plugins/lens/public/types.ts @@ -31,6 +31,9 @@ import type { FieldSpec, DataViewSpec } from '@kbn/data-views-plugin/common'; import type { FieldFormatParams } from '@kbn/field-formats-plugin/common'; import { SearchResponseWarning } from '@kbn/data-plugin/public/search/types'; import type { EuiButtonIconColor } from '@elastic/eui'; +import { SearchRequest } from '@kbn/data-plugin/public'; +import { estypes } from '@elastic/elasticsearch'; +import React from 'react'; import type { DraggingIdentifier, DragDropIdentifier, DragContextState } from './drag_drop'; import type { DateRange, LayerType, SortingHint } from '../common'; import type { @@ -428,7 +431,13 @@ export interface Datasource { /** * The embeddable calls this function to display warnings about visualization on the dashboard */ - getSearchWarningMessages?: (state: P, warning: SearchResponseWarning) => string[] | undefined; + getSearchWarningMessages?: ( + state: P, + warning: SearchResponseWarning, + request: SearchRequest, + response: estypes.SearchResponse + ) => Array | undefined; + /** * Checks if the visualization created is time based, for example date histogram */ diff --git a/x-pack/plugins/lens/public/utils.ts b/x-pack/plugins/lens/public/utils.ts index 5b55dfe2054a8..efa0d3c226468 100644 --- a/x-pack/plugins/lens/public/utils.ts +++ b/x-pack/plugins/lens/public/utils.ts @@ -14,6 +14,9 @@ import type { IUiSettingsClient, SavedObjectReference } from '@kbn/core/public'; import type { DataView, DataViewsContract } from '@kbn/data-views-plugin/public'; import type { DatatableUtilitiesService } from '@kbn/data-plugin/common'; import { BrushTriggerEvent, ClickTriggerEvent } from '@kbn/charts-plugin/public'; +import { RequestAdapter } from '@kbn/inspector-plugin/common'; +import { ISearchStart } from '@kbn/data-plugin/public'; +import React from 'react'; import type { Document } from './persistence/saved_object_store'; import { Datasource, @@ -285,3 +288,36 @@ export const isOperationFromTheSameGroup = (op1?: DraggingIdentifier, op2?: Drag op1.layerId === op2.layerId ); }; + +export const getSearchWarningMessages = ( + adapter: RequestAdapter, + datasource: Datasource, + state: unknown, + deps: { + searchService: ISearchStart; + } +) => { + const warningsMap: Map> = new Map(); + + deps.searchService.showWarnings(adapter, (warning, meta) => { + const { request, response, requestId } = meta; + + const warningMessages = datasource.getSearchWarningMessages?.( + state, + warning, + request, + response + ); + + if (warningMessages?.length) { + const key = (requestId ?? '') + warning.type + warning.reason?.type ?? ''; + if (!warningsMap.has(key)) { + warningsMap.set(key, warningMessages); + } + return true; + } + return false; + }); + + return [...warningsMap.values()].flat(); +}; diff --git a/x-pack/test/functional/apps/lens/group2/tsdb.ts b/x-pack/test/functional/apps/lens/group2/tsdb.ts index d19ab9d19db7d..debdd2cf03160 100644 --- a/x-pack/test/functional/apps/lens/group2/tsdb.ts +++ b/x-pack/test/functional/apps/lens/group2/tsdb.ts @@ -9,10 +9,8 @@ import expect from '@kbn/expect'; import { FtrProviderContext } from '../../../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { - const queryBar = getService('queryBar'); const PageObjects = getPageObjects(['common', 'timePicker', 'lens', 'dashboard']); const testSubjects = getService('testSubjects'); - const retry = getService('retry'); const es = getService('es'); const log = getService('log'); const indexPatterns = getService('indexPatterns'); @@ -130,27 +128,6 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { 'Median of kubernetes.container.memory.available.bytes uses a function that is unsupported by rolled up data. Select a different function or change the time range.' ); }); - it('still shows other warnings as toast', async () => { - await es.indices.delete({ index: [testRollupIndex] }); - // index a document which will produce a shard failure because a string field doesn't support median - await es.create({ - id: '1', - index: testRollupIndex, - document: { - 'kubernetes.container.memory.available.bytes': 'fsdfdsf', - '@timestamp': '2022-06-20', - }, - wait_for_active_shards: 1, - }); - await retry.try(async () => { - await queryBar.clickQuerySubmitButton(); - expect( - await (await testSubjects.find('euiToastHeader__title', 1000)).getVisibleText() - ).to.equal('1 of 3 shards failed'); - }); - // as the rollup index is gone, there is no inline warning left - await PageObjects.lens.assertNoInlineWarning(); - }); }); }); } From f404bec48c2abd1e5753964e486602970553c05d Mon Sep 17 00:00:00 2001 From: Shahzad Date: Tue, 1 Nov 2022 14:12:02 +0100 Subject: [PATCH 083/111] [Synthetics] Add network waterfall on step details page (#144315) --- .../common/react_router_helpers/index.ts | 13 + .../react_router_helpers/link_events.test.ts | 103 +++ .../react_router_helpers/link_events.ts | 32 + .../link_for_eui.test.tsx | 78 ++ .../react_router_helpers/link_for_eui.tsx | 75 ++ .../step_field_trend.test.tsx | 89 +++ .../step_field_trend/step_field_trend.tsx | 101 +++ .../step_detail/step_detail_container.tsx | 56 ++ .../step_detail/step_page_nav.tsx | 71 ++ .../step_detail/step_page_title.tsx | 64 ++ .../step_detail/use_monitor_breadcrumb.tsx | 64 ++ .../use_monitor_breadcrumbs.test.tsx | 160 ++++ .../use_step_waterfall_metrics.test.tsx | 103 +++ .../step_detail/use_step_waterfall_metrics.ts | 97 +++ .../waterfall/data_formatting.test.ts | 743 ++++++++++++++++++ .../step_detail/waterfall/data_formatting.ts | 456 +++++++++++ .../step_detail/waterfall/types.ts | 262 ++++++ .../waterfall_chart_container.test.tsx | 204 +++++ .../waterfall/waterfall_chart_container.tsx | 112 +++ .../waterfall_chart_wrapper.test.tsx | 311 ++++++++ .../waterfall/waterfall_chart_wrapper.tsx | 158 ++++ .../waterfall/waterfall_filter.test.tsx | 153 ++++ .../waterfall/waterfall_filter.tsx | 192 +++++ .../waterfall/waterfall_flyout.test.tsx | 139 ++++ .../waterfall/waterfall_flyout.tsx | 131 +++ .../waterfall/waterfall_sidebar_item.test.tsx | 64 ++ .../waterfall/waterfall_sidebar_item.tsx | 94 +++ .../network_waterfall/translations.ts | 15 + .../network_waterfall/waterfall/README.md | 123 +++ .../waterfall/components/constants.ts | 21 + .../waterfall/components/legend.tsx | 33 + .../components/middle_truncated_text.test.tsx | 99 +++ .../components/middle_truncated_text.tsx | 185 +++++ .../network_requests_total.test.tsx | 76 ++ .../components/network_requests_total.tsx | 69 ++ .../waterfall/components/sidebar.tsx | 57 ++ .../waterfall/components/styles.ts | 181 +++++ .../waterfall/components/translations.ts | 50 ++ .../components/use_bar_charts.test.tsx | 109 +++ .../waterfall/components/use_bar_charts.ts | 49 ++ .../waterfall/components/use_flyout.test.tsx | 91 +++ .../waterfall/components/use_flyout.ts | 92 +++ .../waterfall/components/waterfall.test.tsx | 46 ++ .../components/waterfall_bar_chart.tsx | 128 +++ .../waterfall/components/waterfall_chart.tsx | 156 ++++ .../components/waterfall_chart_fixed_axis.tsx | 70 ++ .../components/waterfall_flyout_table.tsx | 78 ++ .../components/waterfall_marker_icon.test.tsx | 62 ++ .../components/waterfall_marker_icon.tsx | 53 ++ .../waterfall_marker_test_helper.tsx | 59 ++ .../waterfall_marker_trend.test.tsx | 128 +++ .../components/waterfall_marker_trend.tsx | 20 + .../components/waterfall_markers.tsx | 179 +++++ .../waterfall_tooltip_content.test.tsx | 84 ++ .../components/waterfall_tooltip_content.tsx | 46 ++ .../waterfall/context/waterfall_chart.tsx | 106 +++ .../network_waterfall/waterfall/index.tsx | 18 + .../network_waterfall/waterfall/types.ts | 41 + .../components/screenshot/screenshot_link.tsx | 47 ++ .../step_screenshot_display.test.tsx | 91 +++ .../screenshot/step_screenshot_display.tsx | 197 +++++ .../step_details_page/step_detail_page.tsx | 17 +- .../step_details_page/step_title.tsx | 1 - .../state/network_events/actions.ts | 27 + .../synthetics/state/network_events/api.ts | 27 + .../state/network_events/effects.ts | 47 ++ .../synthetics/state/network_events/index.ts | 157 ++++ .../state/network_events/selectors.ts | 10 + .../apps/synthetics/state/root_effect.ts | 2 + .../apps/synthetics/state/root_reducer.ts | 3 + .../synthetics/utils/formatting/format.ts | 38 + .../utils/formatting/test_helpers.ts | 70 ++ .../__mocks__/synthetics_store.mock.ts | 1 + .../__mocks__/ut_router_history.mock.ts | 26 + .../public/hooks/use_chart_theme.ts | 20 + 75 files changed, 7427 insertions(+), 3 deletions(-) create mode 100644 x-pack/plugins/synthetics/public/apps/synthetics/components/common/react_router_helpers/index.ts create mode 100644 x-pack/plugins/synthetics/public/apps/synthetics/components/common/react_router_helpers/link_events.test.ts create mode 100644 x-pack/plugins/synthetics/public/apps/synthetics/components/common/react_router_helpers/link_events.ts create mode 100644 x-pack/plugins/synthetics/public/apps/synthetics/components/common/react_router_helpers/link_for_eui.test.tsx create mode 100644 x-pack/plugins/synthetics/public/apps/synthetics/components/common/react_router_helpers/link_for_eui.tsx create mode 100644 x-pack/plugins/synthetics/public/apps/synthetics/components/common/step_field_trend/step_field_trend.test.tsx create mode 100644 x-pack/plugins/synthetics/public/apps/synthetics/components/common/step_field_trend/step_field_trend.tsx create mode 100644 x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/step_detail_container.tsx create mode 100644 x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/step_page_nav.tsx create mode 100644 x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/step_page_title.tsx create mode 100644 x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/use_monitor_breadcrumb.tsx create mode 100644 x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/use_monitor_breadcrumbs.test.tsx create mode 100644 x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/use_step_waterfall_metrics.test.tsx create mode 100644 x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/use_step_waterfall_metrics.ts create mode 100644 x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/waterfall/data_formatting.test.ts create mode 100644 x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/waterfall/data_formatting.ts create mode 100644 x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/waterfall/types.ts create mode 100644 x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/waterfall/waterfall_chart_container.test.tsx create mode 100644 x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/waterfall/waterfall_chart_container.tsx create mode 100644 x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/waterfall/waterfall_chart_wrapper.test.tsx create mode 100644 x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/waterfall/waterfall_chart_wrapper.tsx create mode 100644 x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/waterfall/waterfall_filter.test.tsx create mode 100644 x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/waterfall/waterfall_filter.tsx create mode 100644 x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/waterfall/waterfall_flyout.test.tsx create mode 100644 x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/waterfall/waterfall_flyout.tsx create mode 100644 x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/waterfall/waterfall_sidebar_item.test.tsx create mode 100644 x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/waterfall/waterfall_sidebar_item.tsx create mode 100644 x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/translations.ts create mode 100644 x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/README.md create mode 100644 x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/constants.ts create mode 100644 x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/legend.tsx create mode 100644 x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/middle_truncated_text.test.tsx create mode 100644 x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/middle_truncated_text.tsx create mode 100644 x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/network_requests_total.test.tsx create mode 100644 x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/network_requests_total.tsx create mode 100644 x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/sidebar.tsx create mode 100644 x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/styles.ts create mode 100644 x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/translations.ts create mode 100644 x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/use_bar_charts.test.tsx create mode 100644 x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/use_bar_charts.ts create mode 100644 x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/use_flyout.test.tsx create mode 100644 x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/use_flyout.ts create mode 100644 x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/waterfall.test.tsx create mode 100644 x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/waterfall_bar_chart.tsx create mode 100644 x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/waterfall_chart.tsx create mode 100644 x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/waterfall_chart_fixed_axis.tsx create mode 100644 x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/waterfall_flyout_table.tsx create mode 100644 x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/waterfall_marker_icon.test.tsx create mode 100644 x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/waterfall_marker_icon.tsx create mode 100644 x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/waterfall_marker_test_helper.tsx create mode 100644 x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/waterfall_marker_trend.test.tsx create mode 100644 x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/waterfall_marker_trend.tsx create mode 100644 x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/waterfall_markers.tsx create mode 100644 x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/waterfall_tooltip_content.test.tsx create mode 100644 x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/waterfall_tooltip_content.tsx create mode 100644 x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/context/waterfall_chart.tsx create mode 100644 x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/index.tsx create mode 100644 x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/types.ts create mode 100644 x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/screenshot/screenshot_link.tsx create mode 100644 x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/screenshot/step_screenshot_display.test.tsx create mode 100644 x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/screenshot/step_screenshot_display.tsx create mode 100644 x-pack/plugins/synthetics/public/apps/synthetics/state/network_events/actions.ts create mode 100644 x-pack/plugins/synthetics/public/apps/synthetics/state/network_events/api.ts create mode 100644 x-pack/plugins/synthetics/public/apps/synthetics/state/network_events/effects.ts create mode 100644 x-pack/plugins/synthetics/public/apps/synthetics/state/network_events/index.ts create mode 100644 x-pack/plugins/synthetics/public/apps/synthetics/state/network_events/selectors.ts create mode 100644 x-pack/plugins/synthetics/public/apps/synthetics/utils/formatting/test_helpers.ts create mode 100644 x-pack/plugins/synthetics/public/apps/synthetics/utils/testing/__mocks__/ut_router_history.mock.ts create mode 100644 x-pack/plugins/synthetics/public/hooks/use_chart_theme.ts diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/common/react_router_helpers/index.ts b/x-pack/plugins/synthetics/public/apps/synthetics/components/common/react_router_helpers/index.ts new file mode 100644 index 0000000000000..62b8c94333e2b --- /dev/null +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/common/react_router_helpers/index.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; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export { letBrowserHandleEvent } from './link_events'; +export { + ReactRouterEuiLink, + ReactRouterEuiButton, + ReactRouterEuiButtonEmpty, +} from './link_for_eui'; diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/common/react_router_helpers/link_events.test.ts b/x-pack/plugins/synthetics/public/apps/synthetics/components/common/react_router_helpers/link_events.test.ts new file mode 100644 index 0000000000000..1046f47f8f380 --- /dev/null +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/common/react_router_helpers/link_events.test.ts @@ -0,0 +1,103 @@ +/* + * 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 { letBrowserHandleEvent } from '.'; + +describe('letBrowserHandleEvent', () => { + const event = { + defaultPrevented: false, + metaKey: false, + altKey: false, + ctrlKey: false, + shiftKey: false, + button: 0, + target: { + getAttribute: () => '_self', + }, + } as any; + + describe('the browser should handle the link when', () => { + it('default is prevented', () => { + expect(letBrowserHandleEvent({ ...event, defaultPrevented: true })).toBe(true); + }); + + it('is modified with metaKey', () => { + expect(letBrowserHandleEvent({ ...event, metaKey: true })).toBe(true); + }); + + it('is modified with altKey', () => { + expect(letBrowserHandleEvent({ ...event, altKey: true })).toBe(true); + }); + + it('is modified with ctrlKey', () => { + expect(letBrowserHandleEvent({ ...event, ctrlKey: true })).toBe(true); + }); + + it('is modified with shiftKey', () => { + expect(letBrowserHandleEvent({ ...event, shiftKey: true })).toBe(true); + }); + + it('it is not a left click event', () => { + expect(letBrowserHandleEvent({ ...event, button: 2 })).toBe(true); + }); + + it('the target is anything value other than _self', () => { + expect( + letBrowserHandleEvent({ + ...event, + target: targetValue('_blank'), + }) + ).toBe(true); + }); + }); + + describe('the browser should NOT handle the link when', () => { + it('default is not prevented', () => { + expect(letBrowserHandleEvent({ ...event, defaultPrevented: false })).toBe(false); + }); + + it('is not modified', () => { + expect( + letBrowserHandleEvent({ + ...event, + metaKey: false, + altKey: false, + ctrlKey: false, + shiftKey: false, + }) + ).toBe(false); + }); + + it('it is a left click event', () => { + expect(letBrowserHandleEvent({ ...event, button: 0 })).toBe(false); + }); + + it('the target is a value of _self', () => { + expect( + letBrowserHandleEvent({ + ...event, + target: targetValue('_self'), + }) + ).toBe(false); + }); + + it('the target has no value', () => { + expect( + letBrowserHandleEvent({ + ...event, + target: targetValue(null), + }) + ).toBe(false); + }); + }); +}); + +const targetValue = (value: string | null) => { + return { + getAttribute: () => value, + }; +}; diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/common/react_router_helpers/link_events.ts b/x-pack/plugins/synthetics/public/apps/synthetics/components/common/react_router_helpers/link_events.ts new file mode 100644 index 0000000000000..089a41b0795c7 --- /dev/null +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/common/react_router_helpers/link_events.ts @@ -0,0 +1,32 @@ +/* + * 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 { MouseEvent } from 'react'; + +/** + * Helper functions for determining which events we should + * let browsers handle natively, e.g. new tabs/windows + */ + +type THandleEvent = (event: MouseEvent) => boolean; + +export const letBrowserHandleEvent: THandleEvent = (event) => + event.defaultPrevented || + isModifiedEvent(event) || + !isLeftClickEvent(event) || + isTargetBlank(event); + +const isModifiedEvent: THandleEvent = (event) => + !!(event.metaKey || event.altKey || event.ctrlKey || event.shiftKey); + +const isLeftClickEvent: THandleEvent = (event) => event.button === 0; + +const isTargetBlank: THandleEvent = (event) => { + const element = event.target as HTMLElement; + const target = element.getAttribute('target'); + return !!target && target !== '_self'; +}; diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/common/react_router_helpers/link_for_eui.test.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/common/react_router_helpers/link_for_eui.test.tsx new file mode 100644 index 0000000000000..4ab605b159c73 --- /dev/null +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/common/react_router_helpers/link_for_eui.test.tsx @@ -0,0 +1,78 @@ +/* + * 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 { shallow, mount } from 'enzyme'; +import { EuiLink, EuiButton } from '@elastic/eui'; + +import '../../../utils/testing/__mocks__/ut_router_history.mock'; + +import { ReactRouterEuiLink, ReactRouterEuiButton } from './link_for_eui'; +import { mockHistory } from '../../../utils/testing/__mocks__/ut_router_history.mock'; + +describe('EUI & React Router Component Helpers', () => { + beforeEach(() => { + jest.clearAllMocks(); + }); + + it('renders', () => { + const wrapper = shallow(); + + expect(wrapper.find(EuiLink)).toHaveLength(1); + }); + + it('renders an EuiButton', () => { + const wrapper = shallow(); + + expect(wrapper.find(EuiButton)).toHaveLength(1); + }); + + it('passes down all ...rest props', () => { + const wrapper = shallow(); + const link = wrapper.find(EuiLink); + + expect(link.prop('external')).toEqual(true); + expect(link.prop('data-test-subj')).toEqual('foo'); + }); + + it('renders with the correct href and onClick props', () => { + const wrapper = mount(); + const link = wrapper.find(EuiLink); + + expect(link.prop('onClick')).toBeInstanceOf(Function); + expect(link.prop('href')).toEqual('/enterprise_search/foo/bar'); + expect(mockHistory.createHref).toHaveBeenCalled(); + }); + + describe('onClick', () => { + it('prevents default navigation and uses React Router history', () => { + const wrapper = mount(); + + const simulatedEvent = { + button: 0, + target: { getAttribute: () => '_self' }, + preventDefault: jest.fn(), + }; + wrapper.find(EuiLink).find('a').simulate('click', simulatedEvent); + + expect(simulatedEvent.preventDefault).toHaveBeenCalled(); + expect(mockHistory.push).toHaveBeenCalled(); + }); + + it('does not prevent default browser behavior on new tab/window clicks', () => { + const wrapper = mount(); + + const simulatedEvent = { + shiftKey: true, + target: { getAttribute: () => '_blank' }, + }; + wrapper.find(EuiLink).find('a').simulate('click', simulatedEvent); + + expect(mockHistory.push).not.toHaveBeenCalled(); + }); + }); +}); diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/common/react_router_helpers/link_for_eui.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/common/react_router_helpers/link_for_eui.tsx new file mode 100644 index 0000000000000..a9b06d18938da --- /dev/null +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/common/react_router_helpers/link_for_eui.tsx @@ -0,0 +1,75 @@ +/* + * 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 { useHistory } from 'react-router-dom'; +import { + EuiLink, + EuiButton, + EuiButtonProps, + EuiButtonEmptyProps, + EuiLinkAnchorProps, + EuiButtonEmpty, +} from '@elastic/eui'; + +import { letBrowserHandleEvent } from './link_events'; + +/** + * Generates either an EuiLink or EuiButton with a React-Router-ified link + * + * Based off of EUI's recommendations for handling React Router: + * https://github.com/elastic/eui/blob/master/wiki/react-router.md#react-router-51 + */ + +interface IEuiReactRouterProps { + to: string; +} + +export const ReactRouterHelperForEui: React.FC = ({ to, children }) => { + const history = useHistory(); + + const onClick = (event: React.MouseEvent) => { + if (letBrowserHandleEvent(event)) return; + + // Prevent regular link behavior, which causes a browser refresh. + event.preventDefault(); + + // Push the route to the history. + history.push(to); + }; + + // Generate the correct link href (with basename etc. accounted for) + const href = history.createHref({ pathname: to }); + + const reactRouterProps = { href, onClick }; + return React.cloneElement(children as React.ReactElement, reactRouterProps); +}; + +type TEuiReactRouterLinkProps = EuiLinkAnchorProps & IEuiReactRouterProps; +type TEuiReactRouterButtonProps = EuiButtonProps & IEuiReactRouterProps; +type TEuiReactRouterButtonEmptyProps = EuiButtonEmptyProps & IEuiReactRouterProps; + +export const ReactRouterEuiLink: React.FC = ({ to, ...rest }) => ( + + + +); + +export const ReactRouterEuiButton: React.FC = ({ to, ...rest }) => ( + + + +); + +export const ReactRouterEuiButtonEmpty: React.FC = ({ + to, + ...rest +}) => ( + + + +); diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/common/step_field_trend/step_field_trend.test.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/common/step_field_trend/step_field_trend.test.tsx new file mode 100644 index 0000000000000..37e354ccfd129 --- /dev/null +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/common/step_field_trend/step_field_trend.test.tsx @@ -0,0 +1,89 @@ +/* + * 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 } from '../../../utils/testing'; +import { getLast48Intervals, StepFieldTrend } from './step_field_trend'; +import { JourneyStep } from '../../../../../../common/runtime_types'; + +const step: JourneyStep = { + _id: 'docID', + monitor: { + check_group: 'check_group', + duration: { + us: 123, + }, + id: 'id', + status: 'up', + type: 'browser', + timespan: { + gte: '2021-12-01T12:54:28.098Z', + lt: '2021-12-01T12:55:28.098Z', + }, + }, + synthetics: { + step: { + index: 4, + status: 'succeeded', + name: 'STEP_NAME', + duration: { + us: 9999, + }, + }, + type: 'step/end', + }, + '@timestamp': '2021-12-03T15:23:41.072Z', +}; + +describe('StepFieldTrend', () => { + it('it renders embeddable', async () => { + const { findByText } = render( + + ); + + expect(await findByText('Embeddable exploratory view')).toBeInTheDocument(); + }); +}); + +describe('getLast48Intervals', () => { + it('it returns expected values', () => { + // 48 minutes difference + expect(getLast48Intervals(step)).toEqual({ + from: '2021-12-03T14:35:41.072Z', + to: '2021-12-03T15:23:41.072Z', + }); + step.monitor.timespan = { + gte: '2021-12-01T12:55:38.098Z', + lt: '2021-12-01T12:55:48.098Z', + }; + // 8 minutes difference + expect(getLast48Intervals(step)).toEqual({ + from: '2021-12-03T15:15:41.072Z', + to: '2021-12-03T15:23:41.072Z', + }); + step.monitor.timespan = { + gte: '2021-12-01T12:54:28.098Z', + lt: '2021-12-01T13:55:28.098Z', + }; + + // 48h difference + expect(getLast48Intervals(step)).toEqual({ + from: '2021-12-01T14:35:41.072Z', + to: '2021-12-03T15:23:41.072Z', + }); + step.monitor.timespan = { + gte: '2021-12-01T12:54:28.098Z', + lt: '2021-12-02T12:55:28.098Z', + }; + + // 48d difference + expect(getLast48Intervals(step)).toEqual({ + from: '2021-10-16T14:35:41.072Z', + to: '2021-12-03T15:23:41.072Z', + }); + }); +}); diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/common/step_field_trend/step_field_trend.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/common/step_field_trend/step_field_trend.tsx new file mode 100644 index 0000000000000..0f29cbe23b2cb --- /dev/null +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/common/step_field_trend/step_field_trend.tsx @@ -0,0 +1,101 @@ +/* + * 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 { EuiButton } from '@elastic/eui'; +import { i18n } from '@kbn/i18n'; +import moment from 'moment'; +import { AllSeries, createExploratoryViewUrl } from '@kbn/observability-plugin/public'; +import { euiStyled } from '@kbn/kibana-react-plugin/common'; +import { useKibana } from '@kbn/kibana-react-plugin/public'; +import { JourneyStep } from '../../../../../../common/runtime_types'; +import { useSyntheticsStartPlugins } from '../../../contexts'; + +export const getLast48Intervals = (activeStep: JourneyStep) => { + const timestamp = activeStep['@timestamp']; + const { lt, gte } = activeStep.monitor.timespan!; + const difference = moment(lt).diff(moment(gte), 'millisecond') * 48; + + return { + to: timestamp, + from: moment(timestamp).subtract(difference, 'millisecond').toISOString(), + }; +}; + +export function StepFieldTrend({ + title, + field, + step: activeStep, +}: { + title: string; + field: string; + step: JourneyStep; +}) { + const { observability } = useSyntheticsStartPlugins(); + + const EmbeddableExpView = observability!.ExploratoryViewEmbeddable; + + const basePath = useKibana().services.http?.basePath?.get(); + + const allSeries: AllSeries = [ + { + name: `${title}(${activeStep.synthetics.step?.name!})`, + selectedMetricField: field, + time: getLast48Intervals(activeStep), + seriesType: 'area', + dataType: 'synthetics', + reportDefinitions: { + 'monitor.name': [activeStep.monitor.name!], + 'synthetics.step.name.keyword': [activeStep.synthetics.step?.name!], + }, + operationType: 'last_value', + }, + ]; + + const href = createExploratoryViewUrl( + { + reportType: 'kpi-over-time', + allSeries, + }, + basePath + ); + + return ( + + + {EXPLORE_LABEL} + + } + reportType={'kpi-over-time'} + attributes={allSeries} + axisTitlesVisibility={{ x: false, yLeft: false, yRight: false }} + legendIsVisible={false} + dataTypesIndexPatterns={{ + synthetics: 'synthetics-*', + }} + withActions={false} + /> + + ); +} + +export const EXPLORE_LABEL = i18n.translate('xpack.synthetics.synthetics.markers.explore', { + defaultMessage: 'Explore', +}); + +const Wrapper = euiStyled.div` + height: 200px; + width: 400px; + &&& { + .expExpressionRenderer__expression { + padding-bottom: 0 !important; + } + } +`; diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/step_detail_container.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/step_detail_container.tsx new file mode 100644 index 0000000000000..3035bebf95879 --- /dev/null +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/step_detail_container.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 { EuiFlexGroup, EuiFlexItem, EuiText, EuiLoadingSpinner } from '@elastic/eui'; +import { i18n } from '@kbn/i18n'; +import React from 'react'; +import { useStepDetailPage } from '../../../hooks/use_step_detail_page'; +import { useMonitorBreadcrumb } from './use_monitor_breadcrumb'; +import { WaterfallChartContainer } from './waterfall/waterfall_chart_container'; + +export const NO_STEP_DATA = i18n.translate('xpack.synthetics.synthetics.stepDetail.noData', { + defaultMessage: 'No data could be found for this step', +}); + +interface Props { + checkGroup: string; + stepIndex: number; +} + +export const StepDetailContainer: React.FC = ({ checkGroup, stepIndex }) => { + const { activeStep, journey } = useStepDetailPage(); + + useMonitorBreadcrumb({ details: journey?.details, activeStep, performanceBreakDownView: true }); + + return ( + <> + {!journey && ( + + + + + + )} + {journey && !activeStep && ( + + + +

{NO_STEP_DATA}

+
+
+
+ )} + {journey && activeStep && ( + + )} + + ); +}; diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/step_page_nav.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/step_page_nav.tsx new file mode 100644 index 0000000000000..bddad0132def2 --- /dev/null +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/step_page_nav.tsx @@ -0,0 +1,71 @@ +/* + * 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 { EuiButtonEmpty, EuiFlexGroup, EuiFlexItem, EuiText } from '@elastic/eui'; +import moment from 'moment'; +import { i18n } from '@kbn/i18n'; + +export const PREVIOUS_CHECK_BUTTON_TEXT = i18n.translate( + 'xpack.synthetics.synthetics.stepDetail.previousCheckButtonText', + { + defaultMessage: 'Previous check', + } +); + +export const NEXT_CHECK_BUTTON_TEXT = i18n.translate( + 'xpack.synthetics.synthetics.stepDetail.nextCheckButtonText', + { + defaultMessage: 'Next check', + } +); + +interface Props { + previousCheckGroup?: string; + dateFormat: string; + checkTimestamp?: string; + nextCheckGroup?: string; + handlePreviousRun: () => void; + handleNextRun: () => void; +} +export const StepPageNavigation = ({ + previousCheckGroup, + dateFormat, + handleNextRun, + handlePreviousRun, + checkTimestamp, + nextCheckGroup, +}: Props) => { + return ( + + + + {PREVIOUS_CHECK_BUTTON_TEXT} + + + + {moment(checkTimestamp).format(dateFormat)} + + + + {NEXT_CHECK_BUTTON_TEXT} + + + + ); +}; diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/step_page_title.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/step_page_title.tsx new file mode 100644 index 0000000000000..2e90fc3299ba1 --- /dev/null +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/step_page_title.tsx @@ -0,0 +1,64 @@ +/* + * 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 { EuiButtonEmpty, EuiFlexGroup, EuiFlexItem, EuiText } from '@elastic/eui'; +import { FormattedMessage } from '@kbn/i18n-react'; + +interface Props { + stepName: string; + stepIndex: number; + totalSteps: number; + hasPreviousStep: boolean; + hasNextStep: boolean; + handlePreviousStep: () => void; + handleNextStep: () => void; +} + +export const StepPageTitleContent = ({ + stepIndex, + totalSteps, + handleNextStep, + handlePreviousStep, + hasNextStep, + hasPreviousStep, +}: Props) => { + return ( + + + + + + + + + + + + + + + + + + ); +}; diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/use_monitor_breadcrumb.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/use_monitor_breadcrumb.tsx new file mode 100644 index 0000000000000..e30039280b307 --- /dev/null +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/use_monitor_breadcrumb.tsx @@ -0,0 +1,64 @@ +/* + * 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 moment from 'moment'; +import { i18n } from '@kbn/i18n'; +import { useKibana } from '@kbn/kibana-react-plugin/public'; +import { getShortTimeStamp } from '../../../../../utils/monitor_test_result/timestamp'; +import { PLUGIN } from '../../../../../../../../common/constants/plugin'; +import { useBreadcrumbs } from '../../../../../hooks'; +import { SyntheticsJourneyApiResponse } from '../../../../../../../../common/runtime_types'; + +interface ActiveStep { + monitor: { + id: string; + name?: string; + }; +} + +interface Props { + details: SyntheticsJourneyApiResponse['details']; + activeStep?: ActiveStep; + performanceBreakDownView?: boolean; +} + +export const useMonitorBreadcrumb = ({ + details, + activeStep, + performanceBreakDownView = false, +}: Props) => { + const kibana = useKibana(); + const appPath = kibana.services.application?.getUrlForApp(PLUGIN.ID) ?? ''; + + useBreadcrumbs([ + ...(activeStep?.monitor + ? [ + { + text: activeStep?.monitor?.name || activeStep?.monitor.id, + href: `${appPath}/monitor/${btoa(activeStep?.monitor.id)}`, + }, + ] + : []), + ...(details?.journey?.monitor?.check_group + ? [ + { + text: getShortTimeStamp(moment(details?.timestamp)), + href: `${appPath}/journey/${details.journey.monitor.check_group}/steps`, + }, + ] + : []), + ...(performanceBreakDownView + ? [ + { + text: i18n.translate('xpack.synthetics.synthetics.performanceBreakDown.label', { + defaultMessage: 'Performance breakdown', + }), + }, + ] + : []), + ]); +}; diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/use_monitor_breadcrumbs.test.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/use_monitor_breadcrumbs.test.tsx new file mode 100644 index 0000000000000..416b5c3ca10c6 --- /dev/null +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/use_monitor_breadcrumbs.test.tsx @@ -0,0 +1,160 @@ +/* + * 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 { ChromeBreadcrumb } from '@kbn/core/public'; +import React from 'react'; +import { Route } from 'react-router-dom'; +import { of } from 'rxjs'; +import { chromeServiceMock, uiSettingsServiceMock } from '@kbn/core/public/mocks'; +import { useMonitorBreadcrumb } from './use_monitor_breadcrumb'; +import { Ping, SyntheticsJourneyApiResponse } from '../../../../../../../../common/runtime_types'; +import { render } from '../../../../../utils/testing'; +import { OVERVIEW_ROUTE } from '../../../../../../../../common/constants'; + +describe('useMonitorBreadcrumbs', () => { + it('sets the given breadcrumbs for steps list view', () => { + let breadcrumbObj: ChromeBreadcrumb[] = []; + const getBreadcrumbs = () => { + return breadcrumbObj; + }; + + const core = { + chrome: { + ...chromeServiceMock.createStartContract(), + setBreadcrumbs: (newBreadcrumbs: ChromeBreadcrumb[]) => { + breadcrumbObj = newBreadcrumbs; + }, + }, + uiSettings: { + ...uiSettingsServiceMock.createSetupContract(), + get(key: string, defaultOverride?: any): any { + return `MMM D, YYYY @ HH:mm:ss.SSS` || defaultOverride; + }, + get$(key: string, defaultOverride?: any): any { + return of(`MMM D, YYYY @ HH:mm:ss.SSS`) || of(defaultOverride); + }, + }, + }; + + const Component = () => { + useMonitorBreadcrumb({ + activeStep: { monitor: { id: 'test-monitor', check_group: 'fake-test-group' } } as Ping, + details: { + timestamp: '2021-01-04T11:25:19.104Z', + journey: { + monitor: { id: 'test-monitor', check_group: 'fake-test-group' }, + }, + } as SyntheticsJourneyApiResponse['details'], + }); + return <>Step Water Fall; + }; + + render( + + + , + { core } + ); + + expect(getBreadcrumbs()).toMatchInlineSnapshot(` + Array [ + Object { + "href": "", + "text": "Observability", + }, + Object { + "href": "/app/synthetics", + "onClick": [Function], + "text": "Synthetics", + }, + Object { + "href": "/app/uptime/monitor/dGVzdC1tb25pdG9y", + "onClick": [Function], + "text": "test-monitor", + }, + Object { + "href": "/app/uptime/journey/fake-test-group/steps", + "onClick": [Function], + "text": "Jan 4, 2021 6:25:19 AM", + }, + ] + `); + }); + + it('sets the given breadcrumbs for performance breakdown page', () => { + let breadcrumbObj: ChromeBreadcrumb[] = []; + const getBreadcrumbs = () => { + return breadcrumbObj; + }; + + const core = { + chrome: { + ...chromeServiceMock.createStartContract(), + setBreadcrumbs: (newBreadcrumbs: ChromeBreadcrumb[]) => { + breadcrumbObj = newBreadcrumbs; + }, + }, + uiSettings: { + ...uiSettingsServiceMock.createSetupContract(), + get(key: string, defaultOverride?: any): any { + return `MMM D, YYYY @ HH:mm:ss.SSS` || defaultOverride; + }, + get$(key: string, defaultOverride?: any): any { + return of(`MMM D, YYYY @ HH:mm:ss.SSS`) || of(defaultOverride); + }, + }, + }; + + const Component = () => { + useMonitorBreadcrumb({ + activeStep: { monitor: { id: 'test-monitor', check_group: 'fake-test-group' } } as Ping, + details: { + timestamp: '2021-01-04T11:25:19.104Z', + journey: { + monitor: { id: 'test-monitor', check_group: 'fake-test-group' }, + }, + } as SyntheticsJourneyApiResponse['details'], + performanceBreakDownView: true, + }); + return <>Step Water Fall; + }; + + render( + + + , + { core } + ); + + expect(getBreadcrumbs()).toMatchInlineSnapshot(` + Array [ + Object { + "href": "", + "text": "Observability", + }, + Object { + "href": "/app/synthetics", + "onClick": [Function], + "text": "Synthetics", + }, + Object { + "href": "/app/uptime/monitor/dGVzdC1tb25pdG9y", + "onClick": [Function], + "text": "test-monitor", + }, + Object { + "href": "/app/uptime/journey/fake-test-group/steps", + "onClick": [Function], + "text": "Jan 4, 2021 6:25:19 AM", + }, + Object { + "text": "Performance breakdown", + }, + ] + `); + }); +}); diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/use_step_waterfall_metrics.test.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/use_step_waterfall_metrics.test.tsx new file mode 100644 index 0000000000000..ff1494b0ed713 --- /dev/null +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/use_step_waterfall_metrics.test.tsx @@ -0,0 +1,103 @@ +/* + * 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 { renderHook } from '@testing-library/react-hooks'; +import { + BROWSER_TRACE_NAME, + BROWSER_TRACE_START, + BROWSER_TRACE_TYPE, + useStepWaterfallMetrics, +} from './use_step_waterfall_metrics'; +import * as reduxHooks from 'react-redux'; +import * as searchHooks from '@kbn/observability-plugin/public/hooks/use_es_search'; + +describe('useStepWaterfallMetrics', () => { + jest + .spyOn(reduxHooks, 'useSelector') + .mockReturnValue({ settings: { heartbeatIndices: 'heartbeat-*' } }); + + it('returns result as expected', () => { + // @ts-ignore + const searchHook = jest.spyOn(searchHooks, 'useEsSearch').mockReturnValue({ + loading: false, + data: { + hits: { + total: { value: 2, relation: 'eq' }, + hits: [ + { + fields: { + [BROWSER_TRACE_TYPE]: ['mark'], + [BROWSER_TRACE_NAME]: ['navigationStart'], + [BROWSER_TRACE_START]: [3456789], + }, + }, + { + fields: { + [BROWSER_TRACE_TYPE]: ['mark'], + [BROWSER_TRACE_NAME]: ['domContentLoaded'], + [BROWSER_TRACE_START]: [4456789], + }, + }, + ], + }, + } as any, + }); + + const { result } = renderHook( + (props) => + useStepWaterfallMetrics({ + checkGroup: '44D-444FFF-444-FFF-3333', + hasNavigationRequest: true, + stepIndex: 1, + }), + {} + ); + + expect(searchHook).toHaveBeenCalledWith( + { + body: { + _source: false, + fields: ['browser.*'], + query: { + bool: { + filter: [ + { + term: { + 'synthetics.step.index': 1, + }, + }, + { + term: { + 'monitor.check_group': '44D-444FFF-444-FFF-3333', + }, + }, + { + term: { + 'synthetics.type': 'step/metrics', + }, + }, + ], + }, + }, + size: 1000, + }, + index: 'synthetics-*', + }, + ['44D-444FFF-444-FFF-3333', true], + { name: 'getWaterfallStepMetrics' } + ); + expect(result.current).toEqual({ + loading: false, + metrics: [ + { + id: 'domContentLoaded', + offset: 1000, + }, + ], + }); + }); +}); diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/use_step_waterfall_metrics.ts b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/use_step_waterfall_metrics.ts new file mode 100644 index 0000000000000..290bf7efbb020 --- /dev/null +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/use_step_waterfall_metrics.ts @@ -0,0 +1,97 @@ +/* + * 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 { createEsParams, useEsSearch } from '@kbn/observability-plugin/public'; +import { MarkerItems } from '../waterfall/context/waterfall_chart'; + +export interface Props { + checkGroup: string; + stepIndex: number; + hasNavigationRequest?: boolean; +} +export const BROWSER_TRACE_TYPE = 'browser.relative_trace.type'; +export const BROWSER_TRACE_NAME = 'browser.relative_trace.name'; +export const BROWSER_TRACE_START = 'browser.relative_trace.start.us'; +export const NAVIGATION_START = 'navigationStart'; + +export const useStepWaterfallMetrics = ({ checkGroup, hasNavigationRequest, stepIndex }: Props) => { + const { data, loading } = useEsSearch( + hasNavigationRequest + ? createEsParams({ + index: 'synthetics-*', + body: { + query: { + bool: { + filter: [ + { + term: { + 'synthetics.step.index': stepIndex, + }, + }, + { + term: { + 'monitor.check_group': checkGroup, + }, + }, + { + term: { + 'synthetics.type': 'step/metrics', + }, + }, + ], + }, + }, + fields: ['browser.*'], + size: 1000, + _source: false, + }, + }) + : {}, + [checkGroup, hasNavigationRequest], + { + name: 'getWaterfallStepMetrics', + } + ); + + if (!hasNavigationRequest) { + return { metrics: [], loading: false }; + } + + const metrics: MarkerItems = []; + + if (data && hasNavigationRequest) { + const metricDocs = data.hits.hits as unknown as Array<{ fields: any }>; + let navigationStart = 0; + let navigationStartExist = false; + + metricDocs.forEach(({ fields }) => { + if (fields[BROWSER_TRACE_TYPE]?.[0] === 'mark') { + const { [BROWSER_TRACE_NAME]: metricType, [BROWSER_TRACE_START]: metricValue } = fields; + if (metricType?.[0] === NAVIGATION_START) { + navigationStart = metricValue?.[0]; + navigationStartExist = true; + } + } + }); + + if (navigationStartExist) { + metricDocs.forEach(({ fields }) => { + if (fields[BROWSER_TRACE_TYPE]?.[0] === 'mark') { + const { [BROWSER_TRACE_NAME]: metricType, [BROWSER_TRACE_START]: metricValue } = fields; + if (metricType?.[0] !== NAVIGATION_START) { + metrics.push({ + id: metricType?.[0], + offset: (metricValue?.[0] - navigationStart) / 1000, + }); + } + } + }); + } + } + + return { metrics, loading }; +}; diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/waterfall/data_formatting.test.ts b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/waterfall/data_formatting.test.ts new file mode 100644 index 0000000000000..aea92647dfe60 --- /dev/null +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/waterfall/data_formatting.test.ts @@ -0,0 +1,743 @@ +/* + * 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 moment from 'moment'; +import { + colourPalette, + formatTooltipHeading, + getConnectingTime, + getSeriesAndDomain, + getSidebarItems, +} from './data_formatting'; +import { + NetworkItems, + MimeType, + FriendlyFlyoutLabels, + FriendlyTimingLabels, + Timings, + Metadata, +} from './types'; +import { WaterfallDataEntry } from '../../waterfall/types'; +import { mockMoment } from '../../../../../../utils/formatting/test_helpers'; + +export const networkItems: NetworkItems = [ + { + timestamp: '2021-01-05T19:22:28.928Z', + method: 'GET', + url: 'https://unpkg.com/todomvc-app-css@2.0.4/index.css', + status: 200, + mimeType: 'text/css', + requestSentTime: 18098833.175, + loadEndTime: 18098957.145, + timings: { + connect: 81.10800000213203, + wait: 34.577999998873565, + receive: 0.5520000013348181, + send: 0.3600000018195715, + total: 123.97000000055414, + proxy: -1, + blocked: 0.8540000017092098, + queueing: 2.263999998831423, + ssl: 55.38700000033714, + dns: 3.559999997378327, + }, + resourceSize: 1000, + transferSize: 1000, + requestHeaders: { + sample_request_header: 'sample request header', + }, + responseHeaders: { + sample_response_header: 'sample response header', + }, + certificates: { + issuer: 'Sample Issuer', + validFrom: '2021-02-22T18:35:26.000Z', + validTo: '2021-04-05T22:28:43.000Z', + subjectName: '*.elastic.co', + }, + ip: '104.18.8.22', + }, + { + timestamp: '2021-01-05T19:22:28.928Z', + method: 'GET', + url: 'https://unpkg.com/director@1.2.8/build/director.js', + status: 200, + mimeType: 'application/javascript', + requestSentTime: 18098833.537, + loadEndTime: 18098977.648000002, + timings: { + blocked: 84.54599999822676, + receive: 3.068000001803739, + queueing: 3.69700000010198, + proxy: -1, + total: 144.1110000014305, + wait: 52.56100000042352, + connect: -1, + send: 0.2390000008745119, + ssl: -1, + dns: -1, + }, + }, +]; + +export const networkItemsWithoutFullTimings: NetworkItems = [ + networkItems[0], + { + timestamp: '2021-01-05T19:22:28.928Z', + method: 'GET', + url: 'file:///Users/dominiqueclarke/dev/synthetics/examples/todos/app/app.js', + status: 0, + mimeType: 'text/javascript', + requestSentTime: 18098834.097, + loadEndTime: 18098836.889999997, + timings: { + total: 2.7929999996558763, + blocked: -1, + ssl: -1, + wait: -1, + connect: -1, + dns: -1, + queueing: -1, + send: -1, + proxy: -1, + receive: -1, + }, + }, +]; + +export const networkItemsWithoutAnyTimings: NetworkItems = [ + { + timestamp: '2021-01-05T19:22:28.928Z', + method: 'GET', + url: 'file:///Users/dominiqueclarke/dev/synthetics/examples/todos/app/app.js', + status: 0, + mimeType: 'text/javascript', + requestSentTime: 18098834.097, + loadEndTime: 18098836.889999997, + timings: { + total: -1, + blocked: -1, + ssl: -1, + wait: -1, + connect: -1, + dns: -1, + queueing: -1, + send: -1, + proxy: -1, + receive: -1, + }, + }, +]; + +export const networkItemsWithoutTimingsObject: NetworkItems = [ + { + timestamp: '2021-01-05T19:22:28.928Z', + method: 'GET', + url: 'file:///Users/dominiqueclarke/dev/synthetics/examples/todos/app/app.js', + status: 0, + mimeType: 'text/javascript', + requestSentTime: 18098834.097, + loadEndTime: 18098836.889999997, + }, +]; + +export const networkItemsWithUncommonMimeType: NetworkItems = [ + { + timestamp: '2021-01-05T19:22:28.928Z', + method: 'GET', + url: 'https://unpkg.com/director@1.2.8/build/director.js', + status: 200, + mimeType: 'application/x-javascript', + requestSentTime: 18098833.537, + loadEndTime: 18098977.648000002, + timings: { + blocked: 84.54599999822676, + receive: 3.068000001803739, + queueing: 3.69700000010198, + proxy: -1, + total: 144.1110000014305, + wait: 52.56100000042352, + connect: -1, + send: 0.2390000008745119, + ssl: -1, + dns: -1, + }, + }, +]; + +describe('getConnectingTime', () => { + it('returns `connect` value if `ssl` is undefined', () => { + expect(getConnectingTime(10)).toBe(10); + }); + + it('returns `undefined` if `connect` is not defined', () => { + expect(getConnectingTime(undefined, 23)).toBeUndefined(); + }); + + it('returns `connect` value if `ssl` is 0', () => { + expect(getConnectingTime(10, 0)).toBe(10); + }); + + it('returns `connect` value if `ssl` is -1', () => { + expect(getConnectingTime(10, 0)).toBe(10); + }); + + it('reduces `connect` value by `ssl` value if both are defined', () => { + expect(getConnectingTime(10, 3)).toBe(7); + }); +}); + +describe('Palettes', () => { + it('A colour palette comprising timing and mime type colours is correctly generated', () => { + expect(colourPalette).toEqual({ + blocked: '#dcd4c4', + connect: '#da8b45', + dns: '#54b399', + font: '#aa6556', + html: '#f3b3a6', + media: '#d6bf57', + other: '#e7664c', + receive: '#54b399', + script: '#9170b8', + send: '#d36086', + ssl: '#edc5a2', + stylesheet: '#ca8eae', + wait: '#b0c9e0', + xhr: '#e7664c', + }); + }); +}); + +describe('getSeriesAndDomain', () => { + beforeEach(() => { + mockMoment(); + }); + + it('formats series timings', () => { + const actual = getSeriesAndDomain(networkItems); + expect(actual.series).toMatchInlineSnapshot(` + Array [ + Object { + "config": Object { + "colour": "#dcd4c4", + "id": 0, + "isHighlighted": true, + "showTooltip": true, + "tooltipProps": Object { + "colour": "#dcd4c4", + "value": "Queued / Blocked: 0.854ms", + }, + }, + "x": 0, + "y": 0.8540000017092098, + "y0": 0, + }, + Object { + "config": Object { + "colour": "#54b399", + "id": 0, + "isHighlighted": true, + "showTooltip": true, + "tooltipProps": Object { + "colour": "#54b399", + "value": "DNS: 3.560ms", + }, + }, + "x": 0, + "y": 4.413999999087537, + "y0": 0.8540000017092098, + }, + Object { + "config": Object { + "colour": "#da8b45", + "id": 0, + "isHighlighted": true, + "showTooltip": true, + "tooltipProps": Object { + "colour": "#da8b45", + "value": "Connecting: 25.721ms", + }, + }, + "x": 0, + "y": 30.135000000882428, + "y0": 4.413999999087537, + }, + Object { + "config": Object { + "colour": "#edc5a2", + "id": 0, + "isHighlighted": true, + "showTooltip": true, + "tooltipProps": Object { + "colour": "#edc5a2", + "value": "TLS: 55.387ms", + }, + }, + "x": 0, + "y": 85.52200000121957, + "y0": 30.135000000882428, + }, + Object { + "config": Object { + "colour": "#d36086", + "id": 0, + "isHighlighted": true, + "showTooltip": true, + "tooltipProps": Object { + "colour": "#d36086", + "value": "Sending request: 0.360ms", + }, + }, + "x": 0, + "y": 85.88200000303914, + "y0": 85.52200000121957, + }, + Object { + "config": Object { + "colour": "#b0c9e0", + "id": 0, + "isHighlighted": true, + "showTooltip": true, + "tooltipProps": Object { + "colour": "#b0c9e0", + "value": "Waiting (TTFB): 34.578ms", + }, + }, + "x": 0, + "y": 120.4600000019127, + "y0": 85.88200000303914, + }, + Object { + "config": Object { + "colour": "#ca8eae", + "id": 0, + "isHighlighted": true, + "showTooltip": true, + "tooltipProps": Object { + "colour": "#ca8eae", + "value": "Content downloading (CSS): 0.552ms", + }, + }, + "x": 0, + "y": 121.01200000324752, + "y0": 120.4600000019127, + }, + Object { + "config": Object { + "colour": "#dcd4c4", + "id": 1, + "isHighlighted": true, + "showTooltip": true, + "tooltipProps": Object { + "colour": "#dcd4c4", + "value": "Queued / Blocked: 84.546ms", + }, + }, + "x": 1, + "y": 84.90799999795854, + "y0": 0.3619999997317791, + }, + Object { + "config": Object { + "colour": "#d36086", + "id": 1, + "isHighlighted": true, + "showTooltip": true, + "tooltipProps": Object { + "colour": "#d36086", + "value": "Sending request: 0.239ms", + }, + }, + "x": 1, + "y": 85.14699999883305, + "y0": 84.90799999795854, + }, + Object { + "config": Object { + "colour": "#b0c9e0", + "id": 1, + "isHighlighted": true, + "showTooltip": true, + "tooltipProps": Object { + "colour": "#b0c9e0", + "value": "Waiting (TTFB): 52.561ms", + }, + }, + "x": 1, + "y": 137.70799999925657, + "y0": 85.14699999883305, + }, + Object { + "config": Object { + "colour": "#9170b8", + "id": 1, + "isHighlighted": true, + "showTooltip": true, + "tooltipProps": Object { + "colour": "#9170b8", + "value": "Content downloading (JS): 3.068ms", + }, + }, + "x": 1, + "y": 140.7760000010603, + "y0": 137.70799999925657, + }, + ] + `); + }); + + it('handles series formatting when only total timing values are available', () => { + const { series } = getSeriesAndDomain(networkItemsWithoutFullTimings); + expect(series).toMatchInlineSnapshot(` + Array [ + Object { + "config": Object { + "colour": "#dcd4c4", + "id": 0, + "isHighlighted": true, + "showTooltip": true, + "tooltipProps": Object { + "colour": "#dcd4c4", + "value": "Queued / Blocked: 0.854ms", + }, + }, + "x": 0, + "y": 0.8540000017092098, + "y0": 0, + }, + Object { + "config": Object { + "colour": "#54b399", + "id": 0, + "isHighlighted": true, + "showTooltip": true, + "tooltipProps": Object { + "colour": "#54b399", + "value": "DNS: 3.560ms", + }, + }, + "x": 0, + "y": 4.413999999087537, + "y0": 0.8540000017092098, + }, + Object { + "config": Object { + "colour": "#da8b45", + "id": 0, + "isHighlighted": true, + "showTooltip": true, + "tooltipProps": Object { + "colour": "#da8b45", + "value": "Connecting: 25.721ms", + }, + }, + "x": 0, + "y": 30.135000000882428, + "y0": 4.413999999087537, + }, + Object { + "config": Object { + "colour": "#edc5a2", + "id": 0, + "isHighlighted": true, + "showTooltip": true, + "tooltipProps": Object { + "colour": "#edc5a2", + "value": "TLS: 55.387ms", + }, + }, + "x": 0, + "y": 85.52200000121957, + "y0": 30.135000000882428, + }, + Object { + "config": Object { + "colour": "#d36086", + "id": 0, + "isHighlighted": true, + "showTooltip": true, + "tooltipProps": Object { + "colour": "#d36086", + "value": "Sending request: 0.360ms", + }, + }, + "x": 0, + "y": 85.88200000303914, + "y0": 85.52200000121957, + }, + Object { + "config": Object { + "colour": "#b0c9e0", + "id": 0, + "isHighlighted": true, + "showTooltip": true, + "tooltipProps": Object { + "colour": "#b0c9e0", + "value": "Waiting (TTFB): 34.578ms", + }, + }, + "x": 0, + "y": 120.4600000019127, + "y0": 85.88200000303914, + }, + Object { + "config": Object { + "colour": "#ca8eae", + "id": 0, + "isHighlighted": true, + "showTooltip": true, + "tooltipProps": Object { + "colour": "#ca8eae", + "value": "Content downloading (CSS): 0.552ms", + }, + }, + "x": 0, + "y": 121.01200000324752, + "y0": 120.4600000019127, + }, + Object { + "config": Object { + "colour": "#9170b8", + "isHighlighted": true, + "showTooltip": true, + "tooltipProps": Object { + "colour": "#9170b8", + "value": "Content downloading (JS): 2.793ms", + }, + }, + "x": 1, + "y": 3.714999998046551, + "y0": 0.9219999983906746, + }, + ] + `); + }); + + it('handles series formatting when there is no timing information available', () => { + const { series } = getSeriesAndDomain(networkItemsWithoutAnyTimings); + expect(series).toMatchInlineSnapshot(` + Array [ + Object { + "config": Object { + "colour": "", + "isHighlighted": true, + "showTooltip": false, + "tooltipProps": undefined, + }, + "x": 0, + "y": 0, + "y0": 0, + }, + ] + `); + }); + + it('handles formatting when there is no timing information available', () => { + const actual = getSeriesAndDomain(networkItemsWithoutAnyTimings); + expect(actual).toMatchInlineSnapshot(` + Object { + "domain": Object { + "max": 0, + "min": 0, + }, + "metadata": Array [ + Object { + "certificates": undefined, + "details": Array [ + Object { + "name": "Status", + "value": undefined, + }, + Object { + "name": "Content type", + "value": "text/javascript", + }, + Object { + "name": "Request start", + "value": "0.000 ms", + }, + Object { + "name": "DNS", + "value": undefined, + }, + Object { + "name": "Connecting", + "value": undefined, + }, + Object { + "name": "TLS", + "value": undefined, + }, + Object { + "name": "Waiting (TTFB)", + "value": undefined, + }, + Object { + "name": "Content downloading", + "value": undefined, + }, + Object { + "name": "Resource size", + "value": undefined, + }, + Object { + "name": "Transfer size", + "value": undefined, + }, + Object { + "name": "IP", + "value": undefined, + }, + ], + "requestHeaders": undefined, + "responseHeaders": undefined, + "url": "file:///Users/dominiqueclarke/dev/synthetics/examples/todos/app/app.js", + "x": 0, + }, + ], + "series": Array [ + Object { + "config": Object { + "colour": "", + "isHighlighted": true, + "showTooltip": false, + "tooltipProps": undefined, + }, + "x": 0, + "y": 0, + "y0": 0, + }, + ], + "totalHighlightedRequests": 1, + } + `); + }); + + it('handles formatting when the timings object is undefined', () => { + const { series } = getSeriesAndDomain(networkItemsWithoutTimingsObject); + expect(series).toMatchInlineSnapshot(` + Array [ + Object { + "config": Object { + "isHighlighted": true, + "showTooltip": false, + }, + "x": 0, + "y": 0, + "y0": 0, + }, + ] + `); + }); + + it('handles formatting when mime type is not mapped to a specific mime type bucket', () => { + const { series } = getSeriesAndDomain(networkItemsWithUncommonMimeType); + /* verify that raw mime type appears in the tooltip config and that + * the colour is mapped to mime type other */ + const contentDownloadedingConfigItem = series.find((item: WaterfallDataEntry) => { + const { tooltipProps } = item.config; + if (tooltipProps && typeof tooltipProps.value === 'string') { + return ( + tooltipProps.value.includes('application/x-javascript') && + tooltipProps.colour === colourPalette[MimeType.Other] + ); + } + return false; + }); + expect(contentDownloadedingConfigItem).toBeDefined(); + }); + + it.each([ + [FriendlyFlyoutLabels[Metadata.Status], '200'], + [FriendlyFlyoutLabels[Metadata.MimeType], 'text/css'], + [FriendlyFlyoutLabels[Metadata.RequestStart], '0.000 ms'], + [FriendlyTimingLabels[Timings.Dns], '3.560 ms'], + [FriendlyTimingLabels[Timings.Connect], '25.721 ms'], + [FriendlyTimingLabels[Timings.Ssl], '55.387 ms'], + [FriendlyTimingLabels[Timings.Wait], '34.578 ms'], + [FriendlyTimingLabels[Timings.Receive], '0.552 ms'], + [FriendlyFlyoutLabels[Metadata.TransferSize], '1.000 KB'], + [FriendlyFlyoutLabels[Metadata.ResourceSize], '1.000 KB'], + [FriendlyFlyoutLabels[Metadata.IP], '104.18.8.22'], + ])('handles metadata details formatting', (name, value) => { + const { metadata } = getSeriesAndDomain(networkItems); + const metadataEntry = metadata[0]; + expect( + metadataEntry.details.find((item) => item.value === value && item.name === name) + ).toBeDefined(); + }); + + it('handles metadata headers formatting', () => { + const { metadata } = getSeriesAndDomain(networkItems); + const metadataEntry = metadata[0]; + metadataEntry.requestHeaders?.forEach((header) => { + expect(header).toEqual({ name: header.name, value: header.value }); + }); + metadataEntry.responseHeaders?.forEach((header) => { + expect(header).toEqual({ name: header.name, value: header.value }); + }); + }); + + it('handles certificate formatting', () => { + const { metadata } = getSeriesAndDomain([networkItems[0]]); + const metadataEntry = metadata[0]; + expect(metadataEntry.certificates).toEqual([ + { name: 'Issuer', value: networkItems[0].certificates?.issuer }, + { name: 'Valid from', value: moment(networkItems[0].certificates?.validFrom).format('L LT') }, + { name: 'Valid until', value: moment(networkItems[0].certificates?.validTo).format('L LT') }, + { name: 'Common name', value: networkItems[0].certificates?.subjectName }, + ]); + metadataEntry.responseHeaders?.forEach((header) => { + expect(header).toEqual({ name: header.name, value: header.value }); + }); + }); + it('counts the total number of highlighted items', () => { + // only one CSS file in this array of network Items + const actual = getSeriesAndDomain(networkItems, false, '', ['stylesheet']); + expect(actual.totalHighlightedRequests).toBe(1); + }); + + it('adds isHighlighted to waterfall entry when filter matches', () => { + // only one CSS file in this array of network Items + const { series } = getSeriesAndDomain(networkItems, false, '', ['stylesheet']); + series.forEach((item) => { + if (item.x === 0) { + expect(item.config.isHighlighted).toBe(true); + } else { + expect(item.config.isHighlighted).toBe(false); + } + }); + }); + + it('adds isHighlighted to waterfall entry when query matches', () => { + // only the second item matches this query + const { series } = getSeriesAndDomain(networkItems, false, 'director', []); + series.forEach((item) => { + if (item.x === 1) { + expect(item.config.isHighlighted).toBe(true); + } else { + expect(item.config.isHighlighted).toBe(false); + } + }); + }); +}); + +describe('getSidebarItems', () => { + it('passes the item index offset by 1 to offsetIndex for visual display', () => { + const actual = getSidebarItems(networkItems, false, '', []); + expect(actual[0].offsetIndex).toBe(1); + }); +}); + +describe('formatTooltipHeading', () => { + it('puts index and URL text together', () => { + expect(formatTooltipHeading(1, 'http://www.elastic.co/')).toEqual('1. http://www.elastic.co/'); + }); + + it('returns only the text if `index` is NaN', () => { + expect(formatTooltipHeading(NaN, 'http://www.elastic.co/')).toEqual('http://www.elastic.co/'); + }); +}); diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/waterfall/data_formatting.ts b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/waterfall/data_formatting.ts new file mode 100644 index 0000000000000..8b7a29af3030e --- /dev/null +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/waterfall/data_formatting.ts @@ -0,0 +1,456 @@ +/* + * 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 { euiPaletteColorBlind } from '@elastic/eui'; +import moment from 'moment'; + +import { NetworkEvent } from '../../../../../../../../../common/runtime_types'; +import { + NetworkItems, + NetworkItem, + FriendlyFlyoutLabels, + FriendlyTimingLabels, + FriendlyMimetypeLabels, + MimeType, + MimeTypesMap, + Timings, + Metadata, + TIMING_ORDER, + SidebarItems, + LegendItems, +} from './types'; +import { WaterfallData, WaterfallMetadata } from '../../waterfall'; + +export const extractItems = (data: NetworkEvent[]): NetworkItems => { + // NOTE: This happens client side as the "payload" property is mapped + // in such a way it can't be queried (or sorted on) via ES. + return data.sort((a: NetworkItem, b: NetworkItem) => { + return a.requestSentTime - b.requestSentTime; + }); +}; + +const formatValueForDisplay = (value: number, points: number = 3) => { + return Number(value).toFixed(points); +}; + +const getColourForMimeType = (mimeType?: string) => { + const key = mimeType && MimeTypesMap[mimeType] ? MimeTypesMap[mimeType] : MimeType.Other; + return colourPalette[key]; +}; + +const getFriendlyTooltipValue = ({ + value, + timing, + mimeType, +}: { + value: number; + timing: Timings; + mimeType?: string; +}) => { + let label = FriendlyTimingLabels[timing]; + if (timing === Timings.Receive && mimeType) { + const formattedMimeType: MimeType = MimeTypesMap[mimeType]; + label += ` (${FriendlyMimetypeLabels[formattedMimeType] || mimeType})`; + } + return `${label}: ${formatValueForDisplay(value)}ms`; +}; +export const isHighlightedItem = ( + item: NetworkItem, + query?: string, + activeFilters: string[] = [] +) => { + if (!query && activeFilters?.length === 0) { + return true; + } + + const matchQuery = query ? item.url?.includes(query) : true; + const matchFilters = + activeFilters.length > 0 ? activeFilters.includes(MimeTypesMap[item.mimeType!]) : true; + + return !!(matchQuery && matchFilters); +}; + +const getFriendlyMetadataValue = ({ value, postFix }: { value?: number; postFix?: string }) => { + // value === -1 indicates timing data cannot be extracted + if (value === undefined || value === -1) { + return undefined; + } + + let formattedValue = formatValueForDisplay(value); + + if (postFix) { + formattedValue = `${formattedValue} ${postFix}`; + } + + return formattedValue; +}; + +export const getConnectingTime = (connect?: number, ssl?: number) => { + if (ssl && connect && ssl > 0) { + return connect - ssl; + } else { + return connect; + } +}; + +export const getSeriesAndDomain = ( + items: NetworkItems, + onlyHighlighted = false, + query?: string, + activeFilters?: string[] +) => { + const getValueForOffset = (item: NetworkItem) => { + return item.requestSentTime; + }; + // The earliest point in time a request is sent or started. This will become our notion of "0". + let zeroOffset = Infinity; + items.forEach((i) => (zeroOffset = Math.min(zeroOffset, getValueForOffset(i)))); + + const getValue = (timings: NetworkEvent['timings'], timing: Timings) => { + if (!timings) return; + + // SSL is a part of the connect timing + if (timing === Timings.Connect) { + return getConnectingTime(timings.connect, timings.ssl); + } + return timings[timing]; + }; + + const series: WaterfallData = []; + const metadata: WaterfallMetadata = []; + let totalHighlightedRequests = 0; + + items.forEach((item, index) => { + const mimeTypeColour = getColourForMimeType(item.mimeType); + const offsetValue = getValueForOffset(item); + let currentOffset = offsetValue - zeroOffset; + metadata.push(formatMetadata({ item, index, requestStart: currentOffset })); + const isHighlighted = isHighlightedItem(item, query, activeFilters); + if (isHighlighted) { + totalHighlightedRequests++; + } + + if (!item.timings) { + series.push({ + x: index, + y0: 0, + y: 0, + config: { + isHighlighted, + showTooltip: false, + }, + }); + return; + } + + let timingValueFound = false; + + TIMING_ORDER.forEach((timing) => { + const value = getValue(item.timings, timing); + if (value && value >= 0) { + timingValueFound = true; + const colour = timing === Timings.Receive ? mimeTypeColour : colourPalette[timing]; + const y = currentOffset + value; + + series.push({ + x: index, + y0: currentOffset, + y, + config: { + id: index, + colour, + isHighlighted, + showTooltip: true, + tooltipProps: { + value: getFriendlyTooltipValue({ + value: y - currentOffset, + timing, + mimeType: item.mimeType, + }), + colour, + }, + }, + }); + currentOffset = y; + } + }); + + /* if no specific timing values are found, use the total time + * if total time is not available use 0, set showTooltip to false, + * and omit tooltip props */ + if (!timingValueFound) { + const total = item.timings.total; + const hasTotal = total !== -1; + series.push({ + x: index, + y0: hasTotal ? currentOffset : 0, + y: hasTotal ? currentOffset + item.timings.total : 0, + config: { + isHighlighted, + colour: hasTotal ? mimeTypeColour : '', + showTooltip: hasTotal, + tooltipProps: hasTotal + ? { + value: getFriendlyTooltipValue({ + value: total, + timing: Timings.Receive, + mimeType: item.mimeType, + }), + colour: mimeTypeColour, + } + : undefined, + }, + }); + } + }); + + const yValues = series.map((serie) => serie.y); + const domain = { min: 0, max: Math.max(...yValues) }; + + let filteredSeries = series; + if (onlyHighlighted) { + filteredSeries = series.filter((item) => item.config.isHighlighted); + } + + return { series: filteredSeries, domain, metadata, totalHighlightedRequests }; +}; + +const formatHeaders = (headers?: Record) => { + if (typeof headers === 'undefined') { + return undefined; + } + return Object.keys(headers).map((key) => ({ + name: key, + value: `${headers[key]}`, + })); +}; + +const formatMetadata = ({ + item, + index, + requestStart, +}: { + item: NetworkItem; + index: number; + requestStart: number; +}) => { + const { + certificates, + ip, + mimeType, + requestHeaders, + responseHeaders, + url, + resourceSize, + transferSize, + status, + } = item; + const { dns, connect, ssl, wait, receive, total } = item.timings || {}; + const contentDownloaded = receive && receive > 0 ? receive : total; + return { + x: index, + url, + requestHeaders: formatHeaders(requestHeaders), + responseHeaders: formatHeaders(responseHeaders), + certificates: certificates + ? [ + { + name: FriendlyFlyoutLabels[Metadata.CertificateIssuer], + value: certificates.issuer, + }, + { + name: FriendlyFlyoutLabels[Metadata.CertificateIssueDate], + value: certificates.validFrom + ? moment(certificates.validFrom).format('L LT') + : undefined, + }, + { + name: FriendlyFlyoutLabels[Metadata.CertificateExpiryDate], + value: certificates.validTo ? moment(certificates.validTo).format('L LT') : undefined, + }, + { + name: FriendlyFlyoutLabels[Metadata.CertificateSubject], + value: certificates.subjectName, + }, + ] + : undefined, + details: [ + { name: FriendlyFlyoutLabels[Metadata.Status], value: status ? `${status}` : undefined }, + { name: FriendlyFlyoutLabels[Metadata.MimeType], value: mimeType }, + { + name: FriendlyFlyoutLabels[Metadata.RequestStart], + value: getFriendlyMetadataValue({ value: requestStart, postFix: 'ms' }), + }, + { + name: FriendlyTimingLabels[Timings.Dns], + value: getFriendlyMetadataValue({ value: dns, postFix: 'ms' }), + }, + { + name: FriendlyTimingLabels[Timings.Connect], + value: getFriendlyMetadataValue({ value: getConnectingTime(connect, ssl), postFix: 'ms' }), + }, + { + name: FriendlyTimingLabels[Timings.Ssl], + value: getFriendlyMetadataValue({ value: ssl, postFix: 'ms' }), + }, + { + name: FriendlyTimingLabels[Timings.Wait], + value: getFriendlyMetadataValue({ value: wait, postFix: 'ms' }), + }, + { + name: FriendlyTimingLabels[Timings.Receive], + value: getFriendlyMetadataValue({ + value: contentDownloaded, + postFix: 'ms', + }), + }, + { + name: FriendlyFlyoutLabels[Metadata.ResourceSize], + value: getFriendlyMetadataValue({ + value: resourceSize ? resourceSize / 1000 : undefined, + postFix: 'KB', + }), + }, + { + name: FriendlyFlyoutLabels[Metadata.TransferSize], + value: getFriendlyMetadataValue({ + value: transferSize ? transferSize / 1000 : undefined, + postFix: 'KB', + }), + }, + { + name: FriendlyFlyoutLabels[Metadata.IP], + value: ip, + }, + ], + }; +}; + +export const getSidebarItems = ( + items: NetworkItems, + onlyHighlighted: boolean, + query: string, + activeFilters: string[] +): SidebarItems => { + const sideBarItems = items.map((item, index) => { + const isHighlighted = isHighlightedItem(item, query, activeFilters); + const offsetIndex = index + 1; + const { url, status, method } = item; + return { url, status, method, isHighlighted, offsetIndex, index }; + }); + if (onlyHighlighted) { + return sideBarItems.filter((item) => item.isHighlighted); + } + return sideBarItems; +}; + +export const getLegendItems = (): LegendItems => { + let timingItems: LegendItems = []; + Object.values(Timings).forEach((timing) => { + // The "receive" timing is mapped to a mime type colour, so we don't need to show this in the legend + if (timing === Timings.Receive) { + return; + } + timingItems = [ + ...timingItems, + { name: FriendlyTimingLabels[timing], colour: TIMING_PALETTE[timing] }, + ]; + }); + + let mimeTypeItems: LegendItems = []; + Object.values(MimeType).forEach((mimeType) => { + mimeTypeItems = [ + ...mimeTypeItems, + { name: FriendlyMimetypeLabels[mimeType], colour: MIME_TYPE_PALETTE[mimeType] }, + ]; + }); + + return [...timingItems, ...mimeTypeItems]; +}; + +// Timing colour palette +type TimingColourPalette = { + [K in Timings]: string; +}; + +const SAFE_PALETTE = euiPaletteColorBlind({ rotations: 2 }); + +const buildTimingPalette = (): TimingColourPalette => { + const palette = Object.values(Timings).reduce>((acc, value) => { + switch (value) { + case Timings.Blocked: + acc[value] = SAFE_PALETTE[16]; + break; + case Timings.Dns: + acc[value] = SAFE_PALETTE[0]; + break; + case Timings.Connect: + acc[value] = SAFE_PALETTE[7]; + break; + case Timings.Ssl: + acc[value] = SAFE_PALETTE[17]; + break; + case Timings.Send: + acc[value] = SAFE_PALETTE[2]; + break; + case Timings.Wait: + acc[value] = SAFE_PALETTE[11]; + break; + case Timings.Receive: + acc[value] = SAFE_PALETTE[0]; + break; + } + return acc; + }, {}); + + return palette as TimingColourPalette; +}; + +const TIMING_PALETTE = buildTimingPalette(); + +// MimeType colour palette +type MimeTypeColourPalette = { + [K in MimeType]: string; +}; + +const buildMimeTypePalette = (): MimeTypeColourPalette => { + const palette = Object.values(MimeType).reduce>((acc, value) => { + switch (value) { + case MimeType.Html: + acc[value] = SAFE_PALETTE[19]; + break; + case MimeType.Script: + acc[value] = SAFE_PALETTE[3]; + break; + case MimeType.Stylesheet: + acc[value] = SAFE_PALETTE[4]; + break; + case MimeType.Media: + acc[value] = SAFE_PALETTE[5]; + break; + case MimeType.Font: + acc[value] = SAFE_PALETTE[8]; + break; + case MimeType.XHR: + case MimeType.Other: + acc[value] = SAFE_PALETTE[9]; + break; + } + return acc; + }, {}); + + return palette as MimeTypeColourPalette; +}; + +const MIME_TYPE_PALETTE = buildMimeTypePalette(); + +type ColourPalette = TimingColourPalette & MimeTypeColourPalette; + +export const colourPalette: ColourPalette = { ...TIMING_PALETTE, ...MIME_TYPE_PALETTE }; + +export const formatTooltipHeading = (index: number, fullText: string): string => + isNaN(index) ? fullText : `${index}. ${fullText}`; diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/waterfall/types.ts b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/waterfall/types.ts new file mode 100644 index 0000000000000..ad4c635f31d3b --- /dev/null +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/waterfall/types.ts @@ -0,0 +1,262 @@ +/* + * 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 { i18n } from '@kbn/i18n'; +import { NetworkEvent } from '../../../../../../../../../common/runtime_types'; + +export enum Timings { + Blocked = 'blocked', + Dns = 'dns', + Connect = 'connect', + Ssl = 'ssl', + Send = 'send', + Wait = 'wait', + Receive = 'receive', +} + +export enum Metadata { + Status = 'status', + ResourceSize = 'resourceSize', + TransferSize = 'transferSize', + CertificateIssuer = 'certificateIssuer', + CertificateIssueDate = 'certificateIssueDate', + CertificateExpiryDate = 'certificateExpiryDate', + CertificateSubject = 'certificateSubject', + IP = 'ip', + MimeType = 'mimeType', + RequestStart = 'requestStart', +} + +export const FriendlyTimingLabels = { + [Timings.Blocked]: i18n.translate( + 'xpack.synthetics.synthetics.waterfallChart.labels.timings.blocked', + { + defaultMessage: 'Queued / Blocked', + } + ), + [Timings.Dns]: i18n.translate('xpack.synthetics.synthetics.waterfallChart.labels.timings.dns', { + defaultMessage: 'DNS', + }), + [Timings.Connect]: i18n.translate( + 'xpack.synthetics.synthetics.waterfallChart.labels.timings.connect', + { + defaultMessage: 'Connecting', + } + ), + [Timings.Ssl]: i18n.translate('xpack.synthetics.synthetics.waterfallChart.labels.timings.ssl', { + defaultMessage: 'TLS', + }), + [Timings.Send]: i18n.translate('xpack.synthetics.synthetics.waterfallChart.labels.timings.send', { + defaultMessage: 'Sending request', + }), + [Timings.Wait]: i18n.translate('xpack.synthetics.synthetics.waterfallChart.labels.timings.wait', { + defaultMessage: 'Waiting (TTFB)', + }), + [Timings.Receive]: i18n.translate( + 'xpack.synthetics.synthetics.waterfallChart.labels.timings.receive', + { + defaultMessage: 'Content downloading', + } + ), +}; + +export const FriendlyFlyoutLabels = { + [Metadata.Status]: i18n.translate( + 'xpack.synthetics.synthetics.waterfallChart.labels.metadata.status', + { + defaultMessage: 'Status', + } + ), + [Metadata.MimeType]: i18n.translate( + 'xpack.synthetics.synthetics.waterfallChart.labels.metadata.contentType', + { + defaultMessage: 'Content type', + } + ), + [Metadata.RequestStart]: i18n.translate( + 'xpack.synthetics.synthetics.waterfallChart.labels.metadata.requestStart', + { + defaultMessage: 'Request start', + } + ), + [Metadata.ResourceSize]: i18n.translate( + 'xpack.synthetics.synthetics.waterfallChart.labels.metadata.resourceSize', + { + defaultMessage: 'Resource size', + } + ), + [Metadata.TransferSize]: i18n.translate( + 'xpack.synthetics.synthetics.waterfallChart.labels.metadata.transferSize', + { + defaultMessage: 'Transfer size', + } + ), + [Metadata.CertificateIssuer]: i18n.translate( + 'xpack.synthetics.synthetics.waterfallChart.labels.metadata.certificateIssuer', + { + defaultMessage: 'Issuer', + } + ), + [Metadata.CertificateIssueDate]: i18n.translate( + 'xpack.synthetics.synthetics.waterfallChart.labels.metadata.certificateIssueDate', + { + defaultMessage: 'Valid from', + } + ), + [Metadata.CertificateExpiryDate]: i18n.translate( + 'xpack.synthetics.synthetics.waterfallChart.labels.metadata.certificateExpiryDate', + { + defaultMessage: 'Valid until', + } + ), + [Metadata.CertificateSubject]: i18n.translate( + 'xpack.synthetics.synthetics.waterfallChart.labels.metadata.certificateSubject', + { + defaultMessage: 'Common name', + } + ), + [Metadata.IP]: i18n.translate('xpack.synthetics.synthetics.waterfallChart.labels.metadata.ip', { + defaultMessage: 'IP', + }), +}; + +export const TIMING_ORDER = [ + Timings.Blocked, + Timings.Dns, + Timings.Connect, + Timings.Ssl, + Timings.Send, + Timings.Wait, + Timings.Receive, +] as const; + +export const META_DATA_ORDER_FLYOUT = [ + Metadata.MimeType, + Timings.Dns, + Timings.Connect, + Timings.Ssl, + Timings.Wait, + Timings.Receive, +] as const; + +export type CalculatedTimings = { + [K in Timings]?: number; +}; + +export enum MimeType { + Html = 'html', + Script = 'script', + Stylesheet = 'stylesheet', + Media = 'media', + Font = 'font', + XHR = 'xhr', + Other = 'other', +} + +export const FriendlyMimetypeLabels = { + [MimeType.Html]: i18n.translate( + 'xpack.synthetics.synthetics.waterfallChart.labels.mimeTypes.html', + { + defaultMessage: 'HTML', + } + ), + [MimeType.Script]: i18n.translate( + 'xpack.synthetics.synthetics.waterfallChart.labels.mimeTypes.script', + { + defaultMessage: 'JS', + } + ), + [MimeType.Stylesheet]: i18n.translate( + 'xpack.synthetics.synthetics.waterfallChart.labels.mimeTypes.stylesheet', + { + defaultMessage: 'CSS', + } + ), + [MimeType.Media]: i18n.translate( + 'xpack.synthetics.synthetics.waterfallChart.labels.mimeTypes.media', + { + defaultMessage: 'Media', + } + ), + [MimeType.Font]: i18n.translate( + 'xpack.synthetics.synthetics.waterfallChart.labels.mimeTypes.font', + { + defaultMessage: 'Font', + } + ), + [MimeType.XHR]: i18n.translate( + 'xpack.synthetics.synthetics.waterfallChart.labels.mimeTypes.xhr', + { + defaultMessage: 'XHR', + } + ), + [MimeType.Other]: i18n.translate( + 'xpack.synthetics.synthetics.waterfallChart.labels.mimeTypes.other', + { + defaultMessage: 'Other', + } + ), +}; + +// NOTE: This list tries to cover the standard spec compliant mime types, +// and a few popular non-standard ones, but it isn't exhaustive. +export const MimeTypesMap: Record = { + 'text/html': MimeType.Html, + 'application/javascript': MimeType.Script, + 'text/javascript': MimeType.Script, + 'text/css': MimeType.Stylesheet, + // Images + 'image/apng': MimeType.Media, + 'image/bmp': MimeType.Media, + 'image/gif': MimeType.Media, + 'image/x-icon': MimeType.Media, + 'image/jpeg': MimeType.Media, + 'image/png': MimeType.Media, + 'image/svg+xml': MimeType.Media, + 'image/tiff': MimeType.Media, + 'image/webp': MimeType.Media, + // Common audio / video formats + 'audio/wave': MimeType.Media, + 'audio/wav': MimeType.Media, + 'audio/x-wav': MimeType.Media, + 'audio/x-pn-wav': MimeType.Media, + 'audio/webm': MimeType.Media, + 'video/webm': MimeType.Media, + 'video/mp4': MimeType.Media, + 'audio/ogg': MimeType.Media, + 'video/ogg': MimeType.Media, + 'application/ogg': MimeType.Media, + // Fonts + 'font/otf': MimeType.Font, + 'font/ttf': MimeType.Font, + 'font/woff': MimeType.Font, + 'font/woff2': MimeType.Font, + 'application/x-font-opentype': MimeType.Font, + 'application/font-woff': MimeType.Font, + 'application/font-woff2': MimeType.Font, + 'application/vnd.ms-fontobject': MimeType.Font, + 'application/font-sfnt': MimeType.Font, + + // XHR + 'application/json': MimeType.XHR, +}; + +export type NetworkItem = NetworkEvent; +export type NetworkItems = NetworkItem[]; + +export type SidebarItem = Pick & { + isHighlighted: boolean; + index: number; + offsetIndex: number; +}; +export type SidebarItems = SidebarItem[]; + +export interface LegendItem { + name: string; + colour: string; +} +export type LegendItems = LegendItem[]; diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/waterfall/waterfall_chart_container.test.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/waterfall/waterfall_chart_container.test.tsx new file mode 100644 index 0000000000000..3802ace38f453 --- /dev/null +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/waterfall/waterfall_chart_container.test.tsx @@ -0,0 +1,204 @@ +/* + * 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 { screen } from '@testing-library/react'; +import { WaterfallChartContainer } from './waterfall_chart_container'; +import { render } from '../../../../../../utils/testing'; + +const networkEvents = { + events: [ + { + timestamp: '2021-01-21T10:31:21.537Z', + method: 'GET', + url: 'https://apv-static.minute.ly/videos/v-c2a526c7-450d-428e-1244649-a390-fb639ffead96-s45.746-54.421m.mp4', + status: 206, + mimeType: 'video/mp4', + requestSentTime: 241114127.474, + loadEndTime: 241116573.402, + timings: { + total: 2445.928000001004, + queueing: 1.7399999778717756, + blocked: 0.391999987186864, + receive: 2283.964000031119, + connect: 91.5709999972023, + wait: 28.795999998692423, + proxy: -1, + dns: 36.952000024029985, + send: 0.10000000474974513, + ssl: 64.28900000173599, + }, + }, + { + timestamp: '2021-01-21T10:31:22.174Z', + method: 'GET', + url: 'https://dpm.demdex.net/ibs:dpid=73426&dpuuid=31597189268188866891125449924942215949', + status: 200, + mimeType: 'image/gif', + requestSentTime: 241114749.202, + loadEndTime: 241114805.541, + timings: { + queueing: 1.2240000069141388, + receive: 2.218999987235293, + proxy: -1, + dns: -1, + send: 0.14200000441633165, + blocked: 1.033000007737428, + total: 56.33900000248104, + wait: 51.72099999617785, + ssl: -1, + connect: -1, + }, + }, + { + timestamp: '2021-01-21T10:31:21.679Z', + method: 'GET', + url: 'https://dapi.cms.mlbinfra.com/v2/content/en-us/sel-t119-homepage-mediawall', + status: 200, + mimeType: 'application/json', + requestSentTime: 241114268.04299998, + loadEndTime: 241114665.609, + timings: { + total: 397.5659999996424, + dns: 29.5429999823682, + wait: 221.6830000106711, + queueing: 2.1410000044852495, + connect: 106.95499999565072, + ssl: 69.06899999012239, + receive: 2.027999988058582, + blocked: 0.877000013133511, + send: 23.719999997410923, + proxy: -1, + }, + }, + { + timestamp: '2021-01-21T10:31:21.740Z', + method: 'GET', + url: 'https://platform.twitter.com/embed/embed.runtime.b313577971db9c857801.js', + status: 200, + mimeType: 'application/javascript', + requestSentTime: 241114303.84899998, + loadEndTime: 241114370.361, + timings: { + send: 1.357000001007691, + wait: 40.12299998430535, + receive: 16.78500001435168, + ssl: -1, + queueing: 2.5670000177342445, + total: 66.51200001942925, + connect: -1, + blocked: 5.680000002030283, + proxy: -1, + dns: -1, + }, + }, + { + timestamp: '2021-01-21T10:31:21.740Z', + method: 'GET', + url: 'https://platform.twitter.com/embed/embed.modules.7a266e7acfd42f2581a5.js', + status: 200, + mimeType: 'application/javascript', + requestSentTime: 241114305.939, + loadEndTime: 241114938.264, + timings: { + wait: 51.61500000394881, + dns: -1, + ssl: -1, + receive: 506.5750000067055, + proxy: -1, + connect: -1, + blocked: 69.51599998865277, + queueing: 4.453999979887158, + total: 632.324999984121, + send: 0.16500000492669642, + }, + }, + ], +}; + +const defaultState = { + networkEvents: { + test: { + '1': { + ...networkEvents, + total: 100, + isWaterfallSupported: true, + loading: false, + }, + }, + }, +}; + +describe('WaterfallChartContainer', () => { + beforeAll(() => { + jest.useFakeTimers(); + }); + + it('does not display waterfall chart unavailable when isWaterfallSupported is true', () => { + render(, { + state: defaultState, + }); + expect(screen.queryByText('Waterfall chart unavailable')).not.toBeInTheDocument(); + }); + + it('displays waterfall chart unavailable when isWaterfallSupported is false', () => { + const state = { + networkEvents: { + test: { + '1': { + ...networkEvents, + total: 100, + isWaterfallSupported: false, + loading: false, + }, + }, + }, + }; + render(, { + state, + }); + expect(screen.getByText('Waterfall chart unavailable')).toBeInTheDocument(); + }); + + it('displays loading bar when loading', () => { + const state = { + networkEvents: { + test: { + '1': { + ...networkEvents, + total: 100, + isWaterfallSupported: false, + loading: true, + }, + }, + }, + }; + render(, { + state, + }); + expect(screen.getByLabelText('Waterfall chart loading')).toBeInTheDocument(); + }); + + it('displays no data available message when no events are available', () => { + const state = { + networkEvents: { + test: { + '1': { + events: [], + total: 0, + isWaterfallSupported: true, + loading: false, + }, + }, + }, + }; + render(, { + state, + }); + expect(screen.getByText('No waterfall data could be found for this step')).toBeInTheDocument(); + }); +}); diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/waterfall/waterfall_chart_container.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/waterfall/waterfall_chart_container.tsx new file mode 100644 index 0000000000000..effe2c2ed42ca --- /dev/null +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/waterfall/waterfall_chart_container.tsx @@ -0,0 +1,112 @@ +/* + * 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 { EuiFlexGroup, EuiFlexItem, EuiText, EuiLoadingChart, EuiCallOut } from '@elastic/eui'; +import { i18n } from '@kbn/i18n'; +import { FormattedMessage } from '@kbn/i18n-react'; +import React, { useEffect } from 'react'; +import { useSelector, useDispatch } from 'react-redux'; +import { networkEventsSelector } from '../../../../../../state/network_events/selectors'; +import { getNetworkEvents } from '../../../../../../state/network_events/actions'; +import { JourneyStep } from '../../../../../../../../../common/runtime_types'; +import { WaterfallChartWrapper } from './waterfall_chart_wrapper'; +import { extractItems } from './data_formatting'; +import { useStepWaterfallMetrics } from '../use_step_waterfall_metrics'; + +export const NO_DATA_TEXT = i18n.translate( + 'xpack.synthetics.synthetics.stepDetail.waterfallNoData', + { + defaultMessage: 'No waterfall data could be found for this step', + } +); + +interface Props { + checkGroup: string; + activeStep?: JourneyStep; + stepIndex: number; +} + +export const WaterfallChartContainer: React.FC = ({ checkGroup, stepIndex, activeStep }) => { + const dispatch = useDispatch(); + + useEffect(() => { + if (checkGroup && stepIndex) { + dispatch( + getNetworkEvents({ + checkGroup, + stepIndex, + }) + ); + } + }, [dispatch, stepIndex, checkGroup]); + + const _networkEvents = useSelector(networkEventsSelector); + const networkEvents = _networkEvents[checkGroup ?? '']?.[stepIndex]; + const waterfallLoaded = networkEvents && !networkEvents.loading; + const isWaterfallSupported = networkEvents?.isWaterfallSupported; + const hasEvents = networkEvents?.events?.length > 0; + + const { metrics } = useStepWaterfallMetrics({ + checkGroup, + stepIndex, + hasNavigationRequest: networkEvents?.hasNavigationRequest, + }); + + return ( + <> + {!waterfallLoaded && ( + + + + + + )} + {waterfallLoaded && !hasEvents && ( + + + +

{NO_DATA_TEXT}

+
+
+
+ )} + {waterfallLoaded && hasEvents && isWaterfallSupported && ( + + )} + {waterfallLoaded && hasEvents && !isWaterfallSupported && ( + + } + color="warning" + iconType="help" + > + + + )} + + ); +}; diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/waterfall/waterfall_chart_wrapper.test.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/waterfall/waterfall_chart_wrapper.test.tsx new file mode 100644 index 0000000000000..94df6a4e2e698 --- /dev/null +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/waterfall/waterfall_chart_wrapper.test.tsx @@ -0,0 +1,311 @@ +/* + * 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 { act, fireEvent, waitFor } from '@testing-library/react'; +import { WaterfallChartWrapper } from './waterfall_chart_wrapper'; +import { networkItems as mockNetworkItems } from './data_formatting.test'; + +import { extractItems, isHighlightedItem } from './data_formatting'; +import { BAR_HEIGHT } from '../../waterfall/components/constants'; +import { MimeType } from './types'; +import { + FILTER_POPOVER_OPEN_LABEL, + FILTER_REQUESTS_LABEL, + FILTER_COLLAPSE_REQUESTS_LABEL, +} from '../../waterfall/components/translations'; +import { render } from '../../../../../../utils/testing'; + +const getHighLightedItems = (query: string, filters: string[]) => { + return NETWORK_EVENTS.events.filter((item) => isHighlightedItem(item, query, filters)); +}; + +describe('WaterfallChartWrapper', () => { + beforeAll(() => { + jest.useFakeTimers(); + }); + + it('renders the correct sidebar items', () => { + const { getAllByTestId } = render( + + ); + + const sideBarItems = getAllByTestId('middleTruncatedTextSROnly'); + + expect(sideBarItems).toHaveLength(5); + }); + + it('search by query works', () => { + const { getAllByTestId, getByTestId, getByLabelText } = render( + + ); + + const filterInput = getByLabelText(FILTER_REQUESTS_LABEL); + + const searchText = '.js'; + + fireEvent.change(filterInput, { target: { value: searchText } }); + + // inout has debounce effect so hence the timer + act(() => { + jest.advanceTimersByTime(300); + }); + + const highlightedItemsLength = getHighLightedItems(searchText, []).length; + expect(getAllByTestId('sideBarHighlightedItem')).toHaveLength(highlightedItemsLength); + + expect(getAllByTestId('sideBarDimmedItem')).toHaveLength( + NETWORK_EVENTS.events.length - highlightedItemsLength + ); + + const SIDE_BAR_ITEMS_HEIGHT = NETWORK_EVENTS.events.length * BAR_HEIGHT; + expect(getByTestId('wfSidebarContainer')).toHaveAttribute('height', `${SIDE_BAR_ITEMS_HEIGHT}`); + + expect(getByTestId('wfDataOnlyBarChart')).toHaveAttribute('height', `${SIDE_BAR_ITEMS_HEIGHT}`); + }); + + it('search by mime type works', () => { + const { getAllByTestId, getByLabelText, getAllByText } = render( + + ); + + const sideBarItems = getAllByTestId('middleTruncatedTextSROnly'); + + expect(sideBarItems).toHaveLength(5); + + fireEvent.click(getByLabelText(FILTER_POPOVER_OPEN_LABEL)); + + fireEvent.click(getAllByText('XHR')[1]); + + // inout has debounce effect so hence the timer + act(() => { + jest.advanceTimersByTime(300); + }); + + const highlightedItemsLength = getHighLightedItems('', [MimeType.XHR]).length; + + expect(getAllByTestId('sideBarHighlightedItem')).toHaveLength(highlightedItemsLength); + expect(getAllByTestId('sideBarDimmedItem')).toHaveLength( + NETWORK_EVENTS.events.length - highlightedItemsLength + ); + }); + + it('renders sidebar even when filter matches 0 resources', () => { + const { getAllByTestId, getByLabelText, getAllByText, queryAllByTestId } = render( + + ); + + const sideBarItems = getAllByTestId('middleTruncatedTextSROnly'); + + expect(sideBarItems).toHaveLength(5); + + fireEvent.click(getByLabelText(FILTER_POPOVER_OPEN_LABEL)); + + fireEvent.click(getAllByText('CSS')[1]); + + // inout has debounce effect so hence the timer + act(() => { + jest.advanceTimersByTime(300); + }); + + const highlightedItemsLength = getHighLightedItems('', [MimeType.Stylesheet]).length; + + // no CSS items found + expect(queryAllByTestId('sideBarHighlightedItem')).toHaveLength(0); + expect(getAllByTestId('sideBarDimmedItem')).toHaveLength( + NETWORK_EVENTS.events.length - highlightedItemsLength + ); + + fireEvent.click(getByLabelText(FILTER_COLLAPSE_REQUESTS_LABEL)); + + // filter bar is still accessible even when no resources match filter + expect(getByLabelText(FILTER_REQUESTS_LABEL)).toBeInTheDocument(); + + // no resources items are in the chart as none match filter + expect(queryAllByTestId('sideBarHighlightedItem')).toHaveLength(0); + expect(queryAllByTestId('sideBarDimmedItem')).toHaveLength(0); + }); + + it('opens flyout on sidebar click and closes on flyout close button', async () => { + const { getByText, getByTestId, queryByText, getByRole } = render( + + ); + + expect(getByText(`${mockNetworkItems[0].url}`)).toBeInTheDocument(); + expect(getByText(`1.`)).toBeInTheDocument(); + expect(queryByText('Content type')).not.toBeInTheDocument(); + expect(queryByText(`${mockNetworkItems[0]?.mimeType}`)).not.toBeInTheDocument(); + + // open flyout + // selector matches both button and accessible text. Button is the second element in the array; + const sidebarButton = getByTestId(`middleTruncatedTextButton1`); + fireEvent.click(sidebarButton); + + // check for sample flyout items + await waitFor(() => { + const waterfallFlyout = getByRole('dialog'); + expect(waterfallFlyout).toBeInTheDocument(); + expect(getByText('Content type')).toBeInTheDocument(); + expect(getByText(`${mockNetworkItems[0]?.mimeType}`)).toBeInTheDocument(); + // close flyout + const closeButton = getByTestId('euiFlyoutCloseButton'); + fireEvent.click(closeButton); + }); + + /* check that sample flyout items are gone from the DOM */ + await waitFor(() => { + expect(queryByText('Content type')).not.toBeInTheDocument(); + expect(queryByText(`${mockNetworkItems[0]?.mimeType}`)).not.toBeInTheDocument(); + }); + }); + + it('opens flyout on sidebar click and closes on second sidebar click', async () => { + const { getByText, getByTestId, queryByText } = render( + + ); + + expect(getByText(`${mockNetworkItems[0].url}`)).toBeInTheDocument(); + expect(getByText(`1.`)).toBeInTheDocument(); + expect(queryByText('Content type')).not.toBeInTheDocument(); + expect(queryByText(`${mockNetworkItems[0]?.mimeType}`)).not.toBeInTheDocument(); + + // open flyout + // selector matches both button and accessible text. Button is the second element in the array; + const sidebarButton = getByTestId(`middleTruncatedTextButton1`); + fireEvent.click(sidebarButton); + + // check for sample flyout items and that the flyout is focused + await waitFor(() => { + const waterfallFlyout = getByTestId('waterfallFlyout'); + expect(waterfallFlyout).toBeInTheDocument(); + expect(getByText('Content type')).toBeInTheDocument(); + expect(getByText(`${mockNetworkItems[0]?.mimeType}`)).toBeInTheDocument(); + }); + + fireEvent.click(sidebarButton); + + /* check that sample flyout items are gone from the DOM */ + await waitFor(() => { + expect(queryByText('Content type')).not.toBeInTheDocument(); + expect(queryByText(`${mockNetworkItems[0]?.mimeType}`)).not.toBeInTheDocument(); + }); + }); +}); + +const NETWORK_EVENTS = { + events: [ + { + timestamp: '2021-01-21T10:31:21.537Z', + method: 'GET', + url: 'https://apv-static.minute.ly/videos/v-c2a526c7-450d-428e-1244649-a390-fb639ffead96-s45.746-54.421m.mp4', + status: 206, + mimeType: 'video/mp4', + requestSentTime: 241114127.474, + loadEndTime: 241116573.402, + timings: { + total: 2445.928000001004, + queueing: 1.7399999778717756, + blocked: 0.391999987186864, + receive: 2283.964000031119, + connect: 91.5709999972023, + wait: 28.795999998692423, + proxy: -1, + dns: 36.952000024029985, + send: 0.10000000474974513, + ssl: 64.28900000173599, + }, + }, + { + timestamp: '2021-01-21T10:31:22.174Z', + method: 'GET', + url: 'https://dpm.demdex.net/ibs:dpid=73426&dpuuid=31597189268188866891125449924942215949', + status: 200, + mimeType: 'image/gif', + requestSentTime: 241114749.202, + loadEndTime: 241114805.541, + timings: { + queueing: 1.2240000069141388, + receive: 2.218999987235293, + proxy: -1, + dns: -1, + send: 0.14200000441633165, + blocked: 1.033000007737428, + total: 56.33900000248104, + wait: 51.72099999617785, + ssl: -1, + connect: -1, + }, + }, + { + timestamp: '2021-01-21T10:31:21.679Z', + method: 'GET', + url: 'https://dapi.cms.mlbinfra.com/v2/content/en-us/sel-t119-homepage-mediawall', + status: 200, + mimeType: 'application/json', + requestSentTime: 241114268.04299998, + loadEndTime: 241114665.609, + timings: { + total: 397.5659999996424, + dns: 29.5429999823682, + wait: 221.6830000106711, + queueing: 2.1410000044852495, + connect: 106.95499999565072, + ssl: 69.06899999012239, + receive: 2.027999988058582, + blocked: 0.877000013133511, + send: 23.719999997410923, + proxy: -1, + }, + }, + { + timestamp: '2021-01-21T10:31:21.740Z', + method: 'GET', + url: 'https://platform.twitter.com/embed/embed.runtime.b313577971db9c857801.js', + status: 200, + mimeType: 'application/javascript', + requestSentTime: 241114303.84899998, + loadEndTime: 241114370.361, + timings: { + send: 1.357000001007691, + wait: 40.12299998430535, + receive: 16.78500001435168, + ssl: -1, + queueing: 2.5670000177342445, + total: 66.51200001942925, + connect: -1, + blocked: 5.680000002030283, + proxy: -1, + dns: -1, + }, + }, + { + timestamp: '2021-01-21T10:31:21.740Z', + method: 'GET', + url: 'https://platform.twitter.com/embed/embed.modules.7a266e7acfd42f2581a5.js', + status: 200, + mimeType: 'application/javascript', + requestSentTime: 241114305.939, + loadEndTime: 241114938.264, + timings: { + wait: 51.61500000394881, + dns: -1, + ssl: -1, + receive: 506.5750000067055, + proxy: -1, + connect: -1, + blocked: 69.51599998865277, + queueing: 4.453999979887158, + total: 632.324999984121, + send: 0.16500000492669642, + }, + }, + ], +}; diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/waterfall/waterfall_chart_wrapper.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/waterfall/waterfall_chart_wrapper.tsx new file mode 100644 index 0000000000000..724b06167ca3c --- /dev/null +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/waterfall/waterfall_chart_wrapper.tsx @@ -0,0 +1,158 @@ +/* + * 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, { useCallback, useMemo, useState } from 'react'; +import { EuiHealth } from '@elastic/eui'; +import { useTrackMetric, METRIC_TYPE } from '@kbn/observability-plugin/public'; +import { JourneyStep } from '../../../../../../../../../common/runtime_types'; +import { getSeriesAndDomain, getSidebarItems, getLegendItems } from './data_formatting'; +import { SidebarItem, LegendItem, NetworkItems } from './types'; +import { WaterfallProvider, WaterfallChart, RenderItem, useFlyout } from '../../waterfall'; +import { WaterfallFilter } from './waterfall_filter'; +import { WaterfallFlyout } from './waterfall_flyout'; +import { WaterfallSidebarItem } from './waterfall_sidebar_item'; +import { MarkerItems } from '../../waterfall/context/waterfall_chart'; + +export const renderLegendItem: RenderItem = (item) => { + return ( + + {item.name} + + ); +}; + +interface Props { + total: number; + activeStep?: JourneyStep; + data: NetworkItems; + markerItems?: MarkerItems; +} + +export const WaterfallChartWrapper: React.FC = ({ + data, + total, + markerItems, + activeStep, +}) => { + const [query, setQuery] = useState(''); + const [activeFilters, setActiveFilters] = useState([]); + const [onlyHighlighted, setOnlyHighlighted] = useState(false); + + const [networkData] = useState(data); + + const hasFilters = activeFilters.length > 0; + + const { series, domain, metadata, totalHighlightedRequests } = useMemo(() => { + return getSeriesAndDomain(networkData, onlyHighlighted, query, activeFilters); + }, [networkData, query, activeFilters, onlyHighlighted]); + + const sidebarItems = useMemo(() => { + return getSidebarItems(networkData, onlyHighlighted, query, activeFilters); + }, [networkData, query, activeFilters, onlyHighlighted]); + + const legendItems = useMemo(() => { + return getLegendItems(); + }, []); + + const { + flyoutData, + onBarClick, + onProjectionClick, + onSidebarClick, + isFlyoutVisible, + onFlyoutClose, + } = useFlyout(metadata); + + const renderFilter = useCallback(() => { + return ( + + ); + }, [activeFilters, setActiveFilters, onlyHighlighted, setOnlyHighlighted, query, setQuery]); + + const renderFlyout = useCallback(() => { + return ( + + ); + }, [flyoutData, isFlyoutVisible, onFlyoutClose]); + + const highestSideBarIndex = Math.max(...series.map((sr) => sr.x)); + + const renderSidebarItem: RenderItem = useCallback( + (item) => { + return ( + + ); + }, + [hasFilters, onlyHighlighted, onSidebarClick, highestSideBarIndex] + ); + + useTrackMetric({ app: 'uptime', metric: 'waterfall_chart_view', metricType: METRIC_TYPE.COUNT }); + useTrackMetric({ + app: 'uptime', + metric: 'waterfall_chart_view', + metricType: METRIC_TYPE.COUNT, + delay: 15000, + }); + + return ( + { + return {tooltipProps?.value}; + }, [])} + > + `${Number(d).toFixed(0)} ms`, [])} + domain={domain} + barStyleAccessor={useCallback(({ datum }) => { + if (!datum.config?.isHighlighted) { + return { + rect: { + fill: datum.config?.colour, + opacity: '0.1', + }, + }; + } + return datum.config.colour; + }, [])} + renderSidebarItem={renderSidebarItem} + renderLegendItem={renderLegendItem} + renderFlyout={renderFlyout} + renderFilter={renderFilter} + fullHeight={true} + /> + + ); +}; diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/waterfall/waterfall_filter.test.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/waterfall/waterfall_filter.test.tsx new file mode 100644 index 0000000000000..0a85cf4d13bc3 --- /dev/null +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/waterfall/waterfall_filter.test.tsx @@ -0,0 +1,153 @@ +/* + * 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, { useState } from 'react'; +import { act, fireEvent } from '@testing-library/react'; +import 'jest-canvas-mock'; +import { MIME_FILTERS, WaterfallFilter } from './waterfall_filter'; +import { + FILTER_REQUESTS_LABEL, + FILTER_COLLAPSE_REQUESTS_LABEL, + FILTER_POPOVER_OPEN_LABEL, +} from '../../waterfall/components/translations'; +import { render } from '../../../../../../utils/testing'; + +describe('waterfall filter', () => { + jest.useFakeTimers(); + + it('renders correctly', () => { + const { getByLabelText, getByTitle } = render( + + ); + + fireEvent.click(getByLabelText(FILTER_POPOVER_OPEN_LABEL)); + + MIME_FILTERS.forEach((filter) => { + expect(getByTitle(filter.label)); + }); + }); + + it('filter icon changes color on active/inactive filters', () => { + const Component = () => { + const [activeFilters, setActiveFilters] = useState([]); + + return ( + + ); + }; + const { getByLabelText, getByTitle } = render(); + + fireEvent.click(getByLabelText(FILTER_POPOVER_OPEN_LABEL)); + + fireEvent.click(getByTitle('XHR')); + + expect(getByLabelText(FILTER_POPOVER_OPEN_LABEL)).toHaveAttribute( + 'class', + 'euiButtonIcon euiButtonIcon--primary euiButtonIcon--empty euiButtonIcon--xSmall' + ); + + // toggle it back to inactive + fireEvent.click(getByTitle('XHR')); + + expect(getByLabelText(FILTER_POPOVER_OPEN_LABEL)).toHaveAttribute( + 'class', + 'euiButtonIcon euiButtonIcon--text euiButtonIcon--empty euiButtonIcon--xSmall' + ); + }); + + it('search input is working properly', () => { + const setQuery = jest.fn(); + + const Component = () => { + return ( + + ); + }; + const { getByLabelText } = render(); + + const testText = 'js'; + + fireEvent.change(getByLabelText(FILTER_REQUESTS_LABEL), { target: { value: testText } }); + + // inout has debounce effect so hence the timer + act(() => { + jest.advanceTimersByTime(300); + }); + + expect(setQuery).toHaveBeenCalledWith(testText); + }); + + it('resets checkbox when filters are removed', () => { + const Component = () => { + const [onlyHighlighted, setOnlyHighlighted] = useState(false); + const [query, setQuery] = useState(''); + const [activeFilters, setActiveFilters] = useState([]); + return ( + + ); + }; + const { getByLabelText, getByTitle } = render(); + const input = getByLabelText(FILTER_REQUESTS_LABEL); + // apply filters + const testText = 'js'; + fireEvent.change(input, { target: { value: testText } }); + fireEvent.click(getByLabelText(FILTER_POPOVER_OPEN_LABEL)); + const filterGroupButton = getByTitle('XHR'); + fireEvent.click(filterGroupButton); + + // input has debounce effect so hence the timer + act(() => { + jest.advanceTimersByTime(300); + }); + + const collapseCheckbox = getByLabelText(FILTER_COLLAPSE_REQUESTS_LABEL) as HTMLInputElement; + expect(collapseCheckbox).not.toBeDisabled(); + fireEvent.click(collapseCheckbox); + expect(collapseCheckbox).toBeChecked(); + + // remove filters + fireEvent.change(input, { target: { value: '' } }); + fireEvent.click(filterGroupButton); + + // input has debounce effect so hence the timer + act(() => { + jest.advanceTimersByTime(300); + }); + + // expect the checkbox to reset to disabled and unchecked + expect(collapseCheckbox).not.toBeChecked(); + expect(collapseCheckbox).toBeDisabled(); + }); +}); diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/waterfall/waterfall_filter.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/waterfall/waterfall_filter.tsx new file mode 100644 index 0000000000000..5531dafd4542b --- /dev/null +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/waterfall/waterfall_filter.tsx @@ -0,0 +1,192 @@ +/* + * 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, { Dispatch, SetStateAction, useEffect, useState } from 'react'; +import { + EuiButtonIcon, + EuiCheckbox, + EuiFieldSearch, + EuiFilterButton, + EuiFilterGroup, + EuiFlexGroup, + EuiFlexItem, + EuiPopover, + EuiSpacer, +} from '@elastic/eui'; +import useDebounce from 'react-use/lib/useDebounce'; +import { METRIC_TYPE, useUiTracker } from '@kbn/observability-plugin/public'; +import { + FILTER_REQUESTS_LABEL, + FILTER_SCREENREADER_LABEL, + FILTER_REMOVE_SCREENREADER_LABEL, + FILTER_POPOVER_OPEN_LABEL, + FILTER_COLLAPSE_REQUESTS_LABEL, +} from '../../waterfall/components/translations'; +import { MimeType, FriendlyMimetypeLabels } from './types'; + +interface Props { + query: string; + activeFilters: string[]; + setActiveFilters: Dispatch>; + setQuery: (val: string) => void; + onlyHighlighted: boolean; + setOnlyHighlighted: (val: boolean) => void; +} + +export const MIME_FILTERS = [ + { + label: FriendlyMimetypeLabels[MimeType.XHR], + mimeType: MimeType.XHR, + }, + { + label: FriendlyMimetypeLabels[MimeType.Html], + mimeType: MimeType.Html, + }, + { + label: FriendlyMimetypeLabels[MimeType.Script], + mimeType: MimeType.Script, + }, + { + label: FriendlyMimetypeLabels[MimeType.Stylesheet], + mimeType: MimeType.Stylesheet, + }, + { + label: FriendlyMimetypeLabels[MimeType.Font], + mimeType: MimeType.Font, + }, + { + label: FriendlyMimetypeLabels[MimeType.Media], + mimeType: MimeType.Media, + }, + { + label: FriendlyMimetypeLabels[MimeType.Other], + mimeType: MimeType.Other, + }, +]; + +export const WaterfallFilter = ({ + query, + setQuery, + activeFilters, + setActiveFilters, + onlyHighlighted, + setOnlyHighlighted, +}: Props) => { + const [value, setValue] = useState(query); + const [isPopoverOpen, setIsPopoverOpen] = useState(false); + + const trackMetric = useUiTracker({ app: 'uptime' }); + + const toggleFilters = (val: string) => { + setActiveFilters((prevState) => + prevState.includes(val) ? prevState.filter((filter) => filter !== val) : [...prevState, val] + ); + }; + useDebounce( + () => { + setQuery(value); + }, + 250, + [value] + ); + + /* reset checkbox when there is no query or active filters + * this prevents the checkbox from being checked in a disabled state */ + useEffect(() => { + if (!(query || activeFilters.length > 0)) { + setOnlyHighlighted(false); + } + }, [activeFilters.length, setOnlyHighlighted, query]); + + // indicates use of the query input box + useEffect(() => { + if (query) { + trackMetric({ metric: 'waterfall_filter_input_changed', metricType: METRIC_TYPE.CLICK }); + } + }, [query, trackMetric]); + + // indicates the collapse to show only highlighted checkbox has been clicked + useEffect(() => { + if (onlyHighlighted) { + trackMetric({ + metric: 'waterfall_filter_collapse_checked', + metricType: METRIC_TYPE.CLICK, + }); + } + }, [onlyHighlighted, trackMetric]); + + // indicates filters have been applied or changed + useEffect(() => { + if (activeFilters.length > 0) { + trackMetric({ + metric: `waterfall_filters_applied_changed`, + metricType: METRIC_TYPE.CLICK, + }); + } + }, [activeFilters, trackMetric]); + + return ( + + + { + setValue(evt.target.value); + }} + value={value} + /> + + + setIsPopoverOpen((prevState) => !prevState)} + color={activeFilters.length > 0 ? 'primary' : 'text'} + isSelected={activeFilters.length > 0} + /> + } + isOpen={isPopoverOpen} + closePopover={() => setIsPopoverOpen(false)} + anchorPosition="rightCenter" + > + + {MIME_FILTERS.map(({ label, mimeType }) => ( + toggleFilters(mimeType)} + key={label} + withNext={true} + aria-label={`${ + activeFilters.includes(mimeType) + ? FILTER_REMOVE_SCREENREADER_LABEL + : FILTER_SCREENREADER_LABEL + } ${label}`} + > + {label} + + ))} + + + 0)} + id="onlyHighlighted" + label={FILTER_COLLAPSE_REQUESTS_LABEL} + checked={onlyHighlighted} + onChange={(e) => { + setOnlyHighlighted(e.target.checked); + }} + /> + + + + ); +}; diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/waterfall/waterfall_flyout.test.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/waterfall/waterfall_flyout.test.tsx new file mode 100644 index 0000000000000..278ac92bd915b --- /dev/null +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/waterfall/waterfall_flyout.test.tsx @@ -0,0 +1,139 @@ +/* + * 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 { + WaterfallFlyout, + DETAILS, + CERTIFICATES, + REQUEST_HEADERS, + RESPONSE_HEADERS, +} from './waterfall_flyout'; +import { WaterfallMetadataEntry } from '../../waterfall/types'; +import { render } from '../../../../../../utils/testing'; + +describe('WaterfallFlyout', () => { + const flyoutData: WaterfallMetadataEntry = { + x: 0, + url: 'http://elastic.co', + requestHeaders: undefined, + responseHeaders: undefined, + certificates: undefined, + details: [ + { + name: 'Content type', + value: 'text/html', + }, + ], + }; + + const defaultProps = { + flyoutData, + isFlyoutVisible: true, + onFlyoutClose: () => null, + }; + + it('displays flyout information and omits sections that are undefined', () => { + const { getByText, queryByText } = render(); + + expect(getByText(flyoutData.url)).toBeInTheDocument(); + expect(queryByText(DETAILS)).toBeInTheDocument(); + flyoutData.details.forEach((detail) => { + expect(getByText(detail.name)).toBeInTheDocument(); + expect(getByText(`${detail.value}`)).toBeInTheDocument(); + }); + + expect(queryByText(CERTIFICATES)).not.toBeInTheDocument(); + expect(queryByText(REQUEST_HEADERS)).not.toBeInTheDocument(); + expect(queryByText(RESPONSE_HEADERS)).not.toBeInTheDocument(); + }); + + it('displays flyout certificates information', () => { + const certificates = [ + { + name: 'Issuer', + value: 'Sample Issuer', + }, + { + name: 'Valid From', + value: 'January 1, 2020 7:00PM', + }, + { + name: 'Valid Until', + value: 'January 31, 2020 7:00PM', + }, + { + name: 'Common Name', + value: '*.elastic.co', + }, + ]; + const flyoutDataWithCertificates = { + ...flyoutData, + certificates, + }; + + const { getByText } = render( + + ); + + expect(getByText(flyoutData.url)).toBeInTheDocument(); + expect(getByText(DETAILS)).toBeInTheDocument(); + expect(getByText(CERTIFICATES)).toBeInTheDocument(); + flyoutData.certificates?.forEach((detail) => { + expect(getByText(detail.name)).toBeInTheDocument(); + expect(getByText(`${detail.value}`)).toBeInTheDocument(); + }); + }); + + it('displays flyout request and response headers information', () => { + const requestHeaders = [ + { + name: 'sample_request_header', + value: 'Sample Request Header value', + }, + ]; + const responseHeaders = [ + { + name: 'sample_response_header', + value: 'sample response header value', + }, + ]; + const flyoutDataWithHeaders = { + ...flyoutData, + requestHeaders, + responseHeaders, + }; + const { getByText } = render( + + ); + + expect(getByText(flyoutData.url)).toBeInTheDocument(); + expect(getByText(DETAILS)).toBeInTheDocument(); + expect(getByText(REQUEST_HEADERS)).toBeInTheDocument(); + expect(getByText(RESPONSE_HEADERS)).toBeInTheDocument(); + flyoutData.requestHeaders?.forEach((detail) => { + expect(getByText(detail.name)).toBeInTheDocument(); + expect(getByText(`${detail.value}`)).toBeInTheDocument(); + }); + flyoutData.responseHeaders?.forEach((detail) => { + expect(getByText(detail.name)).toBeInTheDocument(); + expect(getByText(`${detail.value}`)).toBeInTheDocument(); + }); + }); + + it('renders null when isFlyoutVisible is false', () => { + const { queryByText } = render(); + + expect(queryByText(flyoutData.url)).not.toBeInTheDocument(); + }); + + it('renders null when flyoutData is undefined', () => { + const { queryByText } = render(); + + expect(queryByText(flyoutData.url)).not.toBeInTheDocument(); + }); +}); diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/waterfall/waterfall_flyout.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/waterfall/waterfall_flyout.tsx new file mode 100644 index 0000000000000..4c78010e9c4e6 --- /dev/null +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/waterfall/waterfall_flyout.tsx @@ -0,0 +1,131 @@ +/* + * 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, { useEffect, useRef } from 'react'; + +import styled from 'styled-components'; + +import { + EuiFlyout, + EuiFlyoutHeader, + EuiFlyoutBody, + EuiTitle, + EuiSpacer, + EuiFlexItem, +} from '@elastic/eui'; +import { i18n } from '@kbn/i18n'; +import { METRIC_TYPE, useUiTracker } from '@kbn/observability-plugin/public'; +import { Table } from '../../waterfall/components/waterfall_flyout_table'; +import { MiddleTruncatedText } from '../../waterfall'; +import { WaterfallMetadataEntry } from '../../waterfall/types'; +import { OnFlyoutClose } from '../../waterfall/components/use_flyout'; + +export const DETAILS = i18n.translate('xpack.synthetics.synthetics.waterfall.flyout.details', { + defaultMessage: 'Details', +}); + +export const CERTIFICATES = i18n.translate( + 'xpack.synthetics.synthetics.waterfall.flyout.certificates', + { + defaultMessage: 'Certificate headers', + } +); + +export const REQUEST_HEADERS = i18n.translate( + 'xpack.synthetics.synthetics.waterfall.flyout.requestHeaders', + { + defaultMessage: 'Request headers', + } +); + +export const RESPONSE_HEADERS = i18n.translate( + 'xpack.synthetics.synthetics.waterfall.flyout.responseHeaders', + { + defaultMessage: 'Response headers', + } +); + +const FlyoutContainer = styled(EuiFlyout)` + z-index: ${(props) => props.theme.eui.euiZLevel5}; +`; + +export interface WaterfallFlyoutProps { + flyoutData?: WaterfallMetadataEntry; + onFlyoutClose: OnFlyoutClose; + isFlyoutVisible?: boolean; +} + +export const WaterfallFlyout = ({ + flyoutData, + isFlyoutVisible, + onFlyoutClose, +}: WaterfallFlyoutProps) => { + const flyoutRef = useRef(null); + const trackMetric = useUiTracker({ app: 'uptime' }); + + useEffect(() => { + if (isFlyoutVisible && flyoutData && flyoutRef.current) { + flyoutRef.current?.focus(); + } + }, [flyoutData, isFlyoutVisible, flyoutRef]); + + if (!flyoutData || !isFlyoutVisible) { + return null; + } + + const { x, url, details, certificates, requestHeaders, responseHeaders } = flyoutData; + + trackMetric({ metric: 'waterfall_flyout', metricType: METRIC_TYPE.CLICK }); + + return ( +
+ + + +

+ + + +

+
+
+ + + {!!requestHeaders && ( + <> + +
+ + )} + {!!responseHeaders && ( + <> + +
+ + )} + {!!certificates && ( + <> + +
+ + )} + + + + ); +}; diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/waterfall/waterfall_sidebar_item.test.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/waterfall/waterfall_sidebar_item.test.tsx new file mode 100644 index 0000000000000..c9fbcd2244252 --- /dev/null +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/waterfall/waterfall_sidebar_item.test.tsx @@ -0,0 +1,64 @@ +/* + * 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 'jest-canvas-mock'; +import { fireEvent } from '@testing-library/react'; + +import { SidebarItem } from './types'; +import { WaterfallSidebarItem } from './waterfall_sidebar_item'; +import { SIDEBAR_FILTER_MATCHES_SCREENREADER_LABEL } from '../../waterfall/components/translations'; +import { getChunks } from '../../waterfall/components/middle_truncated_text'; +import { render } from '../../../../../../utils/testing'; + +describe('waterfall filter', () => { + const url = 'http://www.elastic.co/observability/uptime'; + const index = 0; + const offsetIndex = index + 1; + const item: SidebarItem = { + url, + isHighlighted: true, + index, + offsetIndex, + }; + + it('renders sidebar item', () => { + const { getByText } = render(); + + const chunks = getChunks(url.replace('http://www.', '')); + + expect(getByText(`${offsetIndex}. ${chunks.first}`)); + expect(getByText(`${chunks.last}`)); + }); + + it('render screen reader text when renderFilterScreenReaderText is true', () => { + const { getByLabelText } = render( + + ); + + expect( + getByLabelText(`${SIDEBAR_FILTER_MATCHES_SCREENREADER_LABEL} ${url}`) + ).toBeInTheDocument(); + }); + + it('does not render screen reader text when renderFilterScreenReaderText is false', () => { + const onClick = jest.fn(); + const { getByRole } = render( + + ); + const button = getByRole('button'); + fireEvent.click(button); + + expect(button).toBeInTheDocument(); + expect(onClick).toBeCalled(); + }); +}); diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/waterfall/waterfall_sidebar_item.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/waterfall/waterfall_sidebar_item.tsx new file mode 100644 index 0000000000000..193fe33121636 --- /dev/null +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/step_detail/waterfall/waterfall_sidebar_item.tsx @@ -0,0 +1,94 @@ +/* + * 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, { RefObject, useMemo, useCallback, useState } from 'react'; +import { EuiFlexGroup, EuiFlexItem, EuiBadge } from '@elastic/eui'; +import { SidebarItem } from './types'; +import { MiddleTruncatedText } from '../../waterfall'; +import { SideBarItemHighlighter } from '../../waterfall/components/styles'; +import { SIDEBAR_FILTER_MATCHES_SCREENREADER_LABEL } from '../../waterfall/components/translations'; +import { OnSidebarClick } from '../../waterfall/components/use_flyout'; + +interface SidebarItemProps { + item: SidebarItem; + renderFilterScreenReaderText?: boolean; + onClick?: OnSidebarClick; + highestIndex: number; +} + +export const WaterfallSidebarItem = ({ + item, + highestIndex, + renderFilterScreenReaderText, + onClick, +}: SidebarItemProps) => { + const [buttonRef, setButtonRef] = useState>(); + const { status, offsetIndex, index, isHighlighted, url } = item; + + const handleSidebarClick = useMemo(() => { + if (onClick) { + return () => onClick({ buttonRef, networkItemIndex: index }); + } + }, [buttonRef, index, onClick]); + + const setRef = useCallback((ref) => setButtonRef(ref), [setButtonRef]); + + const isErrorStatusCode = (statusCode: number) => { + const is400 = statusCode >= 400 && statusCode <= 499; + const is500 = statusCode >= 500 && statusCode <= 599; + const isSpecific300 = statusCode === 301 || statusCode === 307 || statusCode === 308; + return is400 || is500 || isSpecific300; + }; + + const text = item.url; + + const ariaLabel = `${ + isHighlighted && renderFilterScreenReaderText + ? `${SIDEBAR_FILTER_MATCHES_SCREENREADER_LABEL} ` + : '' + }${text}`; + + return ( + + {!status || !isErrorStatusCode(status) ? ( + + + + + + ) : ( + + + + + + {status} + + + )} + + ); +}; diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/translations.ts b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/translations.ts new file mode 100644 index 0000000000000..cf7ab30c8867d --- /dev/null +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/translations.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; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { i18n } from '@kbn/i18n'; + +export const VIEW_PERFORMANCE = i18n.translate( + 'xpack.synthetics.pingList.synthetics.performanceBreakDown', + { + defaultMessage: 'View performance breakdown', + } +); diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/README.md b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/README.md new file mode 100644 index 0000000000000..cf8d3b5345eaa --- /dev/null +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/README.md @@ -0,0 +1,123 @@ +# Waterfall chart + +## Introduction + +The waterfall chart component aims to be agnostic in it's approach, so that a variety of consumers / solutions can use it. Some of Elastic Chart's features are used in a non-standard way to facilitate this flexibility, this README aims to cover some of the things that might be less obvious, and also provides a high level overview of implementation. + +## Requirements for usage + +The waterfall chart component asssumes that the consumer is making use of `KibanaReactContext`, and as such things like `useKibana` can be called. + +Consumers are also expected to be using the `` so that the waterfall chart can apply styled-component styles based on the EUI theme. + +These are the two hard requirements, but almost all plugins will be using these. + +## Rendering + +At it's core the watefall chart is a stacked bar chart that has been rotated through 90 degrees. As such it's important to understand that `x` is now represented as `y` and vice versa. + +## Flexibility + +This section aims to cover some things that are non-standard. + +### Tooltip + +By default the formatting of tooltip values is very basic, but for a waterfall chart there needs to be a great deal of flexibility to represent whatever breakdown you're trying to show. + +As such a custom tooltip component is used. This custom component would usually only have access to some basic props that pertain to the values of the hovered bar. The waterfall chart component extends this by making us of a waterfall chart context. + +The custom tooltip component can use the context to access the full set of chart data, find the relevant items (those with the same `x` value) and call a custom `renderTooltipItem` for each item, `renderTooltipItem` will be passed `item.config.tooltipProps`. Every consumer can choose what they use for their `tooltipProps`. + +Some consumers might need colours, some might need iconography and so on. The waterfall chart doesn't make assumptions, and will render out the React content returned by `renderTooltipItem`. + +IMPORTANT: `renderTooltipItem` is provided via context and not as a direct prop due to the fact the custom tooltip component would usually only have access to the props provided directly to it from Elastic Charts. + +### Colours + +The easiest way to facilitate specific colours for each stack (let's say your colours are mapped to a constraint like mime type) is to assign the colour directly on your datum `config` property, and then access this directly in the `barStyleAccessor` function, e.g. + +``` +barStyleAccessor={(datum) => { + return datum.datum.config.colour; +}) +``` + +### Config + +The notion of `config` has been mentioned already. But this is a place that consumers can store their solution specific properties. `renderTooltipItem` will make use of `config.tooltipProps`, and `barStyleAccessor` can make use of anything on `config`. + +### Sticky top axis + +By default there is no "sticky" axis functionality in Elastic Charts, therefore a second chart is rendered, this contains a replica of the top axis, and renders one empty data point (as a chart can't only have an axis). This second chart is then positioned in such a way that it covers the top of the real axis, and remains fixed. + +## Data + +The waterfall chart expects data in a relatively simple format, there are the usual plot properties (`x`, `y0`, and `y`) and then `config`. E.g. + +``` +const series = [ + {x: 0, y: 0, y: 100, config: { tooltipProps: { type: 'dns' }}}, + {x: 0, y0: 300, y: 500, config: { tooltipProps: { type: 'ssl' }}}, + {x: 1, y0: 250, y: 300, config: { tooltipProps: { propA: 'somethingBreakdownRelated' }}}, + {x: 1, y0: 500, y: 600, config: { tooltipProps: { propA: 'anotherBreakdown' }}}, +] +``` + +Gaps in bars are fine, and to be expected for certain solutions. + +## Sidebar items + +The waterfall chart component again doesn't make assumptions about consumer's sidebar items' content, but the waterfall chart does handle the rendering so the sidebar can be aligned and rendered properly alongside the chart itself. + +`sidebarItems` should be provided to the context, and a `renderSidebarItem` prop should be provided to the chart. + +A sidebar is optional. + +There is a great deal of flexibility here so that solutions can make use of this in the way they need. For example, if you'd like to add a toggle functionality, so that clicking an item shows / hides it's children, this would involve rendering your toggle in `renderSidebarItem` and then when clicked you can handle adjusting your data as necessary. + +IMPORTANT: It is important to understand that the chart itself makes use of a fixed height. The sidebar will create a space that has a matching height. Each item is assigned equal space vertically via Flexbox, so that the items align with the relevant bar to the right (these are two totally different rendering contexts, with the chart itself sitting within a `canvas` element). So it's important that whatever content you choose to render here doesn't exceed the available height available to each item. The chart's height is calculated as `numberOfBars * 32`, so content should be kept within that `32px` threshold. + +## Legend items + +Much the same as with the sidebar items, no assumptions are made here, solutions will have different aims. + +`legendItems` should be provided to the context, and a `renderLegendItem` prop should be provided to the chart. + +A legend is optional. + +## Overall usage + +Pulling all of this together, things look like this (for a specific solution): + +``` +const renderSidebarItem: RenderItem = (item, index) => { + return ; +}; + +const renderLegendItem: RenderItem = (item) => { + return {item.name}; +}; + + { + return {tooltipProps.value}; + }} +> + `${Number(d).toFixed(0)} ms`} + domain={{ min: domain.min, max: domain.max }} + barStyleAccessor={(datum) => { + return datum.datum.config.colour; + }} + renderSidebarItem={renderSidebarItem} + renderLegendItem={renderLegendItem} + /> + +``` + +A solution could easily forego a sidebar and legend for a more minimalistic view, e.g. maybe a mini waterfall within a table column. + + diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/constants.ts b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/constants.ts new file mode 100644 index 0000000000000..d36cb025f3c2b --- /dev/null +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/constants.ts @@ -0,0 +1,21 @@ +/* + * 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. + */ + +// Pixel value +export const BAR_HEIGHT = 24; +// Flex grow value +export const MAIN_GROW_SIZE = 8; +// Flex grow value +export const SIDEBAR_GROW_SIZE = 2; +// Axis height +// NOTE: This isn't a perfect solution - changes in font size etc within charts could change the ideal height here. +export const FIXED_AXIS_HEIGHT = 24; + +// number of items to display in canvas, since canvas can only have limited size +export const CANVAS_MAX_ITEMS = 150; + +export const CHART_LEGEND_PADDING = 33; diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/legend.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/legend.tsx new file mode 100644 index 0000000000000..3fdfe2c65f0ad --- /dev/null +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/legend.tsx @@ -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; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React from 'react'; +import { EuiFlexGroup, EuiFlexItem } from '@elastic/eui'; +import { euiStyled } from '@kbn/kibana-react-plugin/common'; +import { IWaterfallContext } from '../context/waterfall_chart'; +import { WaterfallChartProps } from './waterfall_chart'; + +interface LegendProps { + items: Required['legendItems']; + render: Required['renderLegendItem']; +} + +const StyledFlexItem = euiStyled(EuiFlexItem)` + margin-right: ${(props) => props.theme.eui.euiSizeM}; + max-width: 7%; + min-width: 160px; +`; + +export const Legend: React.FC = ({ items, render }) => { + return ( + + {items.map((item, index) => ( + {render(item, index)} + ))} + + ); +}; diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/middle_truncated_text.test.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/middle_truncated_text.test.tsx new file mode 100644 index 0000000000000..707a561043b4f --- /dev/null +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/middle_truncated_text.test.tsx @@ -0,0 +1,99 @@ +/* + * 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 { within, fireEvent, waitFor } from '@testing-library/react'; +import { getChunks, MiddleTruncatedText } from './middle_truncated_text'; +import { render } from '../../../../../../utils/testing'; + +const longString = + 'this-is-a-really-really-really-really-really-really-really-really-long-string.madeup.extension'; +const first = 'this-is-a-really-really-really-really-really-really-really-really-long-string.made'; +const last = 'up.extension'; + +describe('getChunks', () => { + it('Calculates chunks correctly', () => { + const result = getChunks(longString); + expect(result).toEqual({ + first, + last, + }); + }); +}); + +describe('Component', () => { + const url = 'http://www.elastic.co'; + it('renders truncated text and aria label', () => { + const { getByText, getByLabelText } = render( + + ); + + expect(getByText(first)).toBeInTheDocument(); + expect(getByText(last)).toBeInTheDocument(); + + expect(getByLabelText(longString)).toBeInTheDocument(); + }); + + it('renders screen reader only text', () => { + const { getByTestId } = render( + + ); + + const { getByText } = within(getByTestId('middleTruncatedTextSROnly')); + + expect(getByText(longString)).toBeInTheDocument(); + }); + + it('renders external link', () => { + const { getByText } = render( + + ); + const link = getByText('Open resource in new tab').closest('a'); + + expect(link).toHaveAttribute('href', url); + expect(link).toHaveAttribute('target', '_blank'); + }); + + it('renders a button when onClick function is passed', async () => { + const handleClick = jest.fn(); + const { getByTestId } = render( + + ); + const button = getByTestId('middleTruncatedTextButton1'); + fireEvent.click(button); + + await waitFor(() => { + expect(handleClick).toBeCalled(); + }); + }); +}); diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/middle_truncated_text.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/middle_truncated_text.tsx new file mode 100644 index 0000000000000..7da52b2ce9bc2 --- /dev/null +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/middle_truncated_text.tsx @@ -0,0 +1,185 @@ +/* + * 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, { useMemo } from 'react'; +import { FormattedMessage } from '@kbn/i18n-react'; +import { + EuiButtonEmpty, + EuiScreenReaderOnly, + EuiToolTip, + EuiLink, + EuiText, + EuiIcon, +} from '@elastic/eui'; +import { i18n } from '@kbn/i18n'; +import { euiStyled } from '@kbn/kibana-react-plugin/common'; +import { WaterfallTooltipContent } from './waterfall_tooltip_content'; +import { WaterfallChartTooltip } from './styles'; +import { FIXED_AXIS_HEIGHT } from './constants'; +import { formatTooltipHeading } from '../../step_detail/waterfall/data_formatting'; + +interface Props { + index: number; + highestIndex: number; + ariaLabel: string; + text: string; + onClick?: (event: React.MouseEvent) => void; + setButtonRef?: (ref: HTMLButtonElement | HTMLAnchorElement | null) => void; + url: string; +} + +const OuterContainer = euiStyled.span` + position: relative; + display: inline-flex; + align-items: center; + .euiToolTipAnchor { + min-width: 0; + } +`; // NOTE: min-width: 0 ensures flexbox and no-wrap children can co-exist + +const InnerContainer = euiStyled.span` + overflow: hidden; + display: flex; + align-items: center; +`; + +const IndexNumber = euiStyled(EuiText)` + font-family: ${(props) => props.theme.eui.euiCodeFontFamily}; + margin-right: ${(props) => props.theme.eui.euiSizeXS}; + line-height: ${FIXED_AXIS_HEIGHT}px; + text-align: right; + background-color: ${(props) => props.theme.eui.euiColorLightestShade}; +`; + +const FirstChunk = euiStyled.span` + text-overflow: ellipsis; + white-space: nowrap; + overflow: hidden; + line-height: ${FIXED_AXIS_HEIGHT}px; + text-align: left; +`; // safari doesn't auto align text left in some cases + +const LastChunk = euiStyled.span` + flex-shrink: 0; + line-height: ${FIXED_AXIS_HEIGHT}px; + text-align: left; +`; // safari doesn't auto align text left in some cases + +const StyledButton = euiStyled(EuiButtonEmpty)` + &&& { + border: none; + + .euiButtonContent { + display: inline-block; + padding: 0; + } + } +`; + +const SecureIcon = euiStyled(EuiIcon)` + margin-right: ${(props) => props.theme.eui.euiSizeXS}; +`; + +export const getChunks = (text: string = '') => { + const END_CHARS = 12; + const chars = text.split(''); + const splitPoint = chars.length - END_CHARS > 0 ? chars.length - END_CHARS : null; + const endChars = splitPoint ? chars.splice(splitPoint) : []; + return { first: chars.join(''), last: endChars.join('') }; +}; + +// Helper component for adding middle text truncation, e.g. +// really-really-really-long....ompressed.js +// Can be used to accomodate content in sidebar item rendering. +export const MiddleTruncatedText = ({ + index, + ariaLabel, + text: fullText, + onClick, + setButtonRef, + url, + highestIndex, +}: Props) => { + const secureHttps = fullText.startsWith('https://'); + const text = fullText.replace(/https:\/\/www.|http:\/\/www.|http:\/\/|https:\/\//, ''); + + const chunks = useMemo(() => { + return getChunks(text); + }, [text]); + + return ( + + + {fullText} + + + } + data-test-subj="middleTruncatedTextToolTip" + delay="long" + position="top" + > + <> + {onClick ? ( + + + + {index + '.'} + + {secureHttps && ( + + )} + {chunks.first} + {chunks.last} + + + ) : ( + + + {index}. {chunks.first} + + {chunks.last} + + )} + + + + + + + + + + + + + ); +}; diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/network_requests_total.test.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/network_requests_total.test.tsx new file mode 100644 index 0000000000000..e332be22d3da1 --- /dev/null +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/network_requests_total.test.tsx @@ -0,0 +1,76 @@ +/* + * 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 { NetworkRequestsTotal } from './network_requests_total'; +import { render } from '../../../../../../utils/testing'; + +describe('NetworkRequestsTotal', () => { + it('message in case total is greater than fetched', () => { + const { getByText } = render( + + ); + + expect(getByText('First 1000/1100 network requests')).toBeInTheDocument(); + expect(getByText('Info')).toBeInTheDocument(); + }); + + it('message in case total is equal to fetched requests', () => { + const { getByText } = render( + + ); + + expect(getByText('500 network requests')).toBeInTheDocument(); + }); + + it('does not show highlighted item message when showHighlightedNetworkEvents is false', () => { + const { queryByText } = render( + + ); + + expect(queryByText(/match the filter/)).not.toBeInTheDocument(); + }); + + it('does not show highlighted item message when highlightedNetworkEvents is less than 0', () => { + const { queryByText } = render( + + ); + + expect(queryByText(/match the filter/)).not.toBeInTheDocument(); + }); + + it('show highlighted item message when highlightedNetworkEvents is greater than 0 and showHighlightedNetworkEvents is true', () => { + const { getByText } = render( + + ); + + expect(getByText(/\(20 match the filter\)/)).toBeInTheDocument(); + }); +}); diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/network_requests_total.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/network_requests_total.tsx new file mode 100644 index 0000000000000..4fac0b3cd00d2 --- /dev/null +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/network_requests_total.tsx @@ -0,0 +1,69 @@ +/* + * 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 { FormattedMessage } from '@kbn/i18n-react'; +import { i18n } from '@kbn/i18n'; +import { EuiIconTip } from '@elastic/eui'; +import { NetworkRequestsTotalStyle } from './styles'; + +interface Props { + totalNetworkRequests: number; + fetchedNetworkRequests: number; + highlightedNetworkRequests: number; + showHighlightedNetworkRequests?: boolean; +} + +export const NetworkRequestsTotal = ({ + totalNetworkRequests, + fetchedNetworkRequests, + highlightedNetworkRequests, + showHighlightedNetworkRequests, +}: Props) => { + return ( + + + fetchedNetworkRequests ? ( + + ) : ( + totalNetworkRequests + ), + }} + />{' '} + {showHighlightedNetworkRequests && highlightedNetworkRequests >= 0 && ( + + )} + + {totalNetworkRequests > fetchedNetworkRequests && ( + + )} + + ); +}; diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/sidebar.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/sidebar.tsx new file mode 100644 index 0000000000000..6edab485b9606 --- /dev/null +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/sidebar.tsx @@ -0,0 +1,57 @@ +/* + * 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, { useMemo } from 'react'; +import { FIXED_AXIS_HEIGHT, SIDEBAR_GROW_SIZE } from './constants'; +import { IWaterfallContext, useWaterfallContext } from '../context/waterfall_chart'; +import { + WaterfallChartSidebarContainer, + WaterfallChartSidebarContainerInnerPanel, + WaterfallChartSidebarContainerFlexGroup, + WaterfallChartSidebarFlexItem, + WaterfallChartSidebarWrapper, +} from './styles'; +import { WaterfallChartProps } from './waterfall_chart'; + +interface SidebarProps { + items: Required['sidebarItems']; + render: Required['renderSidebarItem']; +} + +export const Sidebar: React.FC = ({ items, render }) => { + const { onSidebarClick } = useWaterfallContext(); + const handleSidebarClick = useMemo(() => onSidebarClick, [onSidebarClick]); + + return ( + + + + + {items.map((item, index) => { + return ( + + {render(item, index, handleSidebarClick)} + + ); + })} + + + + + ); +}; diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/styles.ts b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/styles.ts new file mode 100644 index 0000000000000..a48ce1f7c09b5 --- /dev/null +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/styles.ts @@ -0,0 +1,181 @@ +/* + * 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 { FunctionComponent } from 'react'; +import { StyledComponent } from 'styled-components'; +import { EuiPanel, EuiFlexGroup, EuiFlexItem, EuiText, EuiPanelProps } from '@elastic/eui'; +import { rgba } from 'polished'; +import { euiStyled, EuiTheme } from '@kbn/kibana-react-plugin/common'; +import { FIXED_AXIS_HEIGHT } from './constants'; + +interface WaterfallChartOuterContainerProps { + height?: string; +} + +const StyledScrollDiv = euiStyled.div` + &::-webkit-scrollbar { + height: ${({ theme }) => theme.eui.euiScrollBar}; + width: ${({ theme }) => theme.eui.euiScrollBar}; + } + &::-webkit-scrollbar-thumb { + background-clip: content-box; + background-color: ${({ theme }) => rgba(theme.eui.euiColorDarkShade, 0.5)}; + border: ${({ theme }) => theme.eui.euiScrollBarCorner} solid transparent; + } + &::-webkit-scrollbar-corner, + &::-webkit-scrollbar-track { + background-color: transparent; + } +`; + +export const WaterfallChartOuterContainer = euiStyled( + StyledScrollDiv +)` + height: ${(props) => (props.height ? `${props.height}` : 'auto')}; + overflow-y: ${(props) => (props.height ? 'scroll' : 'visible')}; + overflow-x: hidden; +`; + +export const WaterfallChartFixedTopContainer = euiStyled(StyledScrollDiv)` + position: sticky; + top: 0; + z-index: ${(props) => props.theme.eui.euiZLevel4}; + overflow-y: scroll; + overflow-x: hidden; +`; + +export const WaterfallChartAxisOnlyContainer = euiStyled(EuiFlexItem)` + margin-left: -16px; +`; + +export const WaterfallChartTopContainer = euiStyled(EuiFlexGroup)` +`; + +export const WaterfallChartFixedTopContainerSidebarCover: StyledComponent< + FunctionComponent, + EuiTheme +> = euiStyled(EuiPanel)` + height: 100%; + border-radius: 0 !important; + border: none; +`; // NOTE: border-radius !important is here as the "border" prop isn't working + +export const WaterfallChartFilterContainer = euiStyled.div` + && { + padding: 16px; + z-index: ${(props) => props.theme.eui.euiZLevel5}; + border-bottom: 0.3px solid ${(props) => props.theme.eui.euiColorLightShade}; + } +`; // NOTE: border-radius !important is here as the "border" prop isn't working + +export const WaterfallChartFixedAxisContainer = euiStyled.div` + z-index: ${(props) => props.theme.eui.euiZLevel4}; + height: 100%; + &&& { + .echAnnotation__icon { + top: 8px; + } + } +`; + +interface WaterfallChartSidebarContainer { + height: number; +} + +export const WaterfallChartSidebarWrapper = euiStyled(EuiFlexItem)` + z-index: ${(props) => props.theme.eui.euiZLevel5}; + min-width: 0; +`; // NOTE: min-width: 0 ensures flexbox and no-wrap children can co-exist + +export const WaterfallChartSidebarContainer = euiStyled.div` + height: ${(props) => `${props.height}px`}; + overflow-y: hidden; + overflow-x: hidden; +`; + +export const WaterfallChartSidebarContainerInnerPanel: StyledComponent< + FunctionComponent, + EuiTheme +> = euiStyled(EuiPanel)` + border: 0; + height: 100%; +`; + +export const WaterfallChartSidebarContainerFlexGroup = euiStyled(EuiFlexGroup)` + height: 100%; +`; + +// Ensures flex items honour no-wrap of children, rather than trying to extend to the full width of children. +export const WaterfallChartSidebarFlexItem = euiStyled(EuiFlexItem)` + min-width: 0; + padding-right: ${(props) => props.theme.eui.euiSizeS}; + justify-content: space-around; +`; + +export const SideBarItemHighlighter = euiStyled(EuiFlexItem)<{ isHighlighted: boolean }>` + opacity: ${(props) => (props.isHighlighted ? 1 : 0.4)}; + height: 100%; + .euiButtonEmpty { + height: ${FIXED_AXIS_HEIGHT}px; + font-size:${({ theme }) => theme.eui.euiFontSizeM}; + } +`; + +interface WaterfallChartChartContainer { + height: number; + chartIndex: number; +} + +export const WaterfallChartChartContainer = euiStyled.div` + width: 100%; + height: ${(props) => `${props.height + FIXED_AXIS_HEIGHT + 4}px`}; + margin-top: -${FIXED_AXIS_HEIGHT + 4}px; + z-index: ${(props) => Math.round(props.theme.eui.euiZLevel3 / (props.chartIndex + 1))}; + background-color: ${(props) => props.theme.eui.euiColorEmptyShade}; + + &&& { + .echCanvasRenderer { + height: calc(100% + 0px) !important; + } + } +`; + +export const WaterfallChartLegendContainer = euiStyled.div` + position: sticky; + bottom: 0; + z-index: ${(props) => props.theme.eui.euiZLevel5}; + background-color: ${(props) => props.theme.eui.euiColorLightestShade}; + padding: ${(props) => props.theme.eui.euiSizeXS}; + font-size: ${(props) => props.theme.eui.euiFontSizeXS}; + box-shadow: 0px -1px 4px 0px ${(props) => props.theme.eui.euiColorLightShade}; +`; // NOTE: EuiShadowColor is a little too dark to work with the background-color + +export const WaterfallTooltipResponsiveMaxWidth = euiStyled.div` + margin-top: 16px; + max-width: 90vw; +`; + +export const WaterfallChartTooltip = euiStyled(WaterfallTooltipResponsiveMaxWidth)` + background-color: ${(props) => props.theme.eui.euiColorDarkestShade}; + border-radius: ${(props) => props.theme.eui.euiBorderRadius}; + color: ${(props) => props.theme.eui.euiColorLightestShade}; + padding: ${(props) => props.theme.eui.euiSizeS}; + .euiToolTip__arrow { + background-color: ${(props) => props.theme.eui.euiColorDarkestShade}; + } +`; + +export const NetworkRequestsTotalStyle = euiStyled(EuiText)` + line-height: 28px; + padding: 0 ${(props) => props.theme.eui.euiSizeM}; + border-bottom: 0.3px solid ${(props) => props.theme.eui.euiColorLightShade}; + z-index: ${(props) => props.theme.eui.euiZLevel5}; +`; + +export const RelativeContainer = euiStyled.div` + position: relative; +`; diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/translations.ts b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/translations.ts new file mode 100644 index 0000000000000..6bb0c03f7b99e --- /dev/null +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/translations.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 { i18n } from '@kbn/i18n'; + +export const FILTER_REQUESTS_LABEL = i18n.translate( + 'xpack.synthetics.synthetics.waterfall.searchBox.placeholder', + { + defaultMessage: 'Filter network requests', + } +); + +export const FILTER_SCREENREADER_LABEL = i18n.translate( + 'xpack.synthetics.synthetics.waterfall.filterGroup.filterScreenreaderLabel', + { + defaultMessage: 'Filter by', + } +); + +export const FILTER_REMOVE_SCREENREADER_LABEL = i18n.translate( + 'xpack.synthetics.synthetics.waterfall.filterGroup.removeFilterScreenReaderLabel', + { + defaultMessage: 'Remove filter by', + } +); + +export const FILTER_POPOVER_OPEN_LABEL = i18n.translate( + 'xpack.synthetics.pingList.synthetics.waterfall.filters.popover', + { + defaultMessage: 'Click to open waterfall filters', + } +); + +export const FILTER_COLLAPSE_REQUESTS_LABEL = i18n.translate( + 'xpack.synthetics.pingList.synthetics.waterfall.filters.collapseRequestsLabel', + { + defaultMessage: 'Collapse to only show matching requests', + } +); + +export const SIDEBAR_FILTER_MATCHES_SCREENREADER_LABEL = i18n.translate( + 'xpack.synthetics.synthetics.waterfall.sidebar.filterMatchesScreenReaderLabel', + { + defaultMessage: 'Resource matches filter', + } +); diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/use_bar_charts.test.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/use_bar_charts.test.tsx new file mode 100644 index 0000000000000..a963fb1e2939c --- /dev/null +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/use_bar_charts.test.tsx @@ -0,0 +1,109 @@ +/* + * 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 { useBarCharts } from './use_bar_charts'; +import { renderHook } from '@testing-library/react-hooks'; +import { IWaterfallContext } from '../context/waterfall_chart'; +import { CANVAS_MAX_ITEMS } from './constants'; + +const generateTestData = ( + { + xMultiplier, + }: { + xMultiplier: number; + } = { xMultiplier: 1 } +): IWaterfallContext['data'] => { + const numberOfItems = 1000; + const data: IWaterfallContext['data'] = []; + const testItem = { + x: 0, + y0: 0, + y: 4.345000023022294, + config: { + colour: '#b9a888', + showTooltip: true, + tooltipProps: { value: 'Queued / Blocked: 4.345ms', colour: '#b9a888' }, + }, + }; + + for (let i = 0; i < numberOfItems; i++) { + data.push( + { + ...testItem, + x: xMultiplier * i, + }, + { + ...testItem, + x: xMultiplier * i, + y0: 7, + y: 25, + } + ); + } + + return data; +}; + +describe('useBarChartsHooks', () => { + it('returns result as expected for non filtered data', () => { + const { result, rerender } = renderHook((props) => useBarCharts(props), { + initialProps: { data: [] as IWaterfallContext['data'] }, + }); + + expect(result.current).toHaveLength(0); + const newData = generateTestData(); + + rerender({ data: newData }); + + // Thousands items will result in 7 Canvas + expect(result.current.length).toBe(7); + + const firstChartItems = result.current[0]; + const lastChartItems = result.current[4]; + + // first chart items last item should be x 149, since we only display 150 items + expect(firstChartItems[firstChartItems.length - 1].x).toBe(CANVAS_MAX_ITEMS - 1); + + // first chart will only contain x values from 0 - 149; + expect(firstChartItems.find((item) => item.x > 149)).toBe(undefined); + + // since here are 5 charts, last chart first item should be x 600 + expect(lastChartItems[0].x).toBe(CANVAS_MAX_ITEMS * 4); + expect(lastChartItems[lastChartItems.length - 1].x).toBe(CANVAS_MAX_ITEMS * 5 - 1); + }); + + it('returns result as expected for filtered data', () => { + /* multiply x values to simulate filtered data, where x values can have gaps in the + * sequential order */ + const xMultiplier = 2; + const { result, rerender } = renderHook((props) => useBarCharts(props), { + initialProps: { data: [] as IWaterfallContext['data'] }, + }); + + expect(result.current).toHaveLength(0); + const newData = generateTestData({ xMultiplier }); + + rerender({ data: newData }); + + // Thousands items will result in 7 Canvas + expect(result.current.length).toBe(7); + + const firstChartItems = result.current[0]; + const lastChartItems = result.current[4]; + + // first chart items last item should be x 149, since we only display 150 items + expect(firstChartItems[firstChartItems.length - 1].x).toBe( + (CANVAS_MAX_ITEMS - 1) * xMultiplier + ); + + // since here are 5 charts, last chart first item should be x 600 + expect(lastChartItems[0].x).toBe(CANVAS_MAX_ITEMS * 4 * xMultiplier); + expect(lastChartItems[lastChartItems.length - 1].x).toBe( + (CANVAS_MAX_ITEMS * 5 - 1) * xMultiplier + ); + }); +}); diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/use_bar_charts.ts b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/use_bar_charts.ts new file mode 100644 index 0000000000000..2baf895504911 --- /dev/null +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/use_bar_charts.ts @@ -0,0 +1,49 @@ +/* + * 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 { useEffect, useState } from 'react'; +import { IWaterfallContext } from '../context/waterfall_chart'; +import { CANVAS_MAX_ITEMS } from './constants'; + +export interface UseBarHookProps { + data: IWaterfallContext['data']; +} + +export const useBarCharts = ({ data }: UseBarHookProps) => { + const [charts, setCharts] = useState>([]); + + useEffect(() => { + const chartsN: Array = []; + + if (data?.length > 0) { + let chartIndex = 0; + /* We want at most CANVAS_MAX_ITEMS **RESOURCES** per array. + * Resources !== individual timing items, but are comprised of many individual timing + * items. The X value of each item can be used as an id for the resource. + * We must keep track of the number of unique resources added to the each array. */ + const uniqueResources = new Set(); + let lastIndex: number; + data.forEach((item) => { + if (uniqueResources.size === CANVAS_MAX_ITEMS && item.x > lastIndex) { + chartIndex++; + uniqueResources.clear(); + } + uniqueResources.add(item.x); + lastIndex = item.x; + if (!chartsN[chartIndex]) { + chartsN.push([item]); + return; + } + chartsN[chartIndex].push(item); + }); + } + + setCharts(chartsN); + }, [data]); + + return charts; +}; diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/use_flyout.test.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/use_flyout.test.tsx new file mode 100644 index 0000000000000..5b388874d508e --- /dev/null +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/use_flyout.test.tsx @@ -0,0 +1,91 @@ +/* + * 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 { renderHook, act } from '@testing-library/react-hooks'; +import { useFlyout } from './use_flyout'; +import { IWaterfallContext } from '../context/waterfall_chart'; + +import { ProjectedValues, XYChartElementEvent } from '@elastic/charts'; + +describe('useFlyoutHook', () => { + const metadata: IWaterfallContext['metadata'] = [ + { + x: 0, + url: 'http://elastic.co', + requestHeaders: undefined, + responseHeaders: undefined, + certificates: undefined, + details: [ + { + name: 'Content type', + value: 'text/html', + }, + ], + }, + ]; + + it('sets isFlyoutVisible to true and sets flyoutData when calling onSidebarClick', () => { + const index = 0; + const { result } = renderHook((props) => useFlyout(props.metadata), { + initialProps: { metadata }, + }); + + expect(result.current.isFlyoutVisible).toBe(false); + + act(() => { + result.current.onSidebarClick({ buttonRef: { current: null }, networkItemIndex: index }); + }); + + expect(result.current.isFlyoutVisible).toBe(true); + expect(result.current.flyoutData).toEqual(metadata[index]); + }); + + it('sets isFlyoutVisible to true and sets flyoutData when calling onBarClick', () => { + const index = 0; + const elementData = [ + { + datum: { + config: { + id: index, + }, + }, + }, + {}, + ]; + + const { result } = renderHook((props) => useFlyout(props.metadata), { + initialProps: { metadata }, + }); + + expect(result.current.isFlyoutVisible).toBe(false); + + act(() => { + result.current.onBarClick([elementData as XYChartElementEvent]); + }); + + expect(result.current.isFlyoutVisible).toBe(true); + expect(result.current.flyoutData).toEqual(metadata[0]); + }); + + it('sets isFlyoutVisible to true and sets flyoutData when calling onProjectionClick', () => { + const index = 0; + const geometry = { x: index }; + + const { result } = renderHook((props) => useFlyout(props.metadata), { + initialProps: { metadata }, + }); + + expect(result.current.isFlyoutVisible).toBe(false); + + act(() => { + result.current.onProjectionClick(geometry as ProjectedValues); + }); + + expect(result.current.isFlyoutVisible).toBe(true); + expect(result.current.flyoutData).toEqual(metadata[0]); + }); +}); diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/use_flyout.ts b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/use_flyout.ts new file mode 100644 index 0000000000000..6e1795c4933ec --- /dev/null +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/use_flyout.ts @@ -0,0 +1,92 @@ +/* + * 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 { RefObject, useCallback, useState } from 'react'; + +import { + ElementClickListener, + ProjectionClickListener, + ProjectedValues, + XYChartElementEvent, +} from '@elastic/charts'; + +import { WaterfallMetadata, WaterfallMetadataEntry } from '../types'; + +interface OnSidebarClickParams { + buttonRef?: ButtonRef; + networkItemIndex: number; +} + +export type ButtonRef = RefObject; +export type OnSidebarClick = (params: OnSidebarClickParams) => void; +export type OnProjectionClick = ProjectionClickListener; +export type OnElementClick = ElementClickListener; +export type OnFlyoutClose = () => void; + +export const useFlyout = (metadata: WaterfallMetadata) => { + const [isFlyoutVisible, setIsFlyoutVisible] = useState(false); + const [flyoutData, setFlyoutData] = useState(undefined); + const [currentSidebarItemRef, setCurrentSidebarItemRef] = + useState>(); + + const handleFlyout = useCallback( + (flyoutEntry: WaterfallMetadataEntry) => { + setFlyoutData(flyoutEntry); + setIsFlyoutVisible(true); + }, + [setIsFlyoutVisible, setFlyoutData] + ); + + const onFlyoutClose = useCallback(() => { + setIsFlyoutVisible(false); + currentSidebarItemRef?.current?.focus(); + }, [currentSidebarItemRef, setIsFlyoutVisible]); + + const onBarClick: ElementClickListener = useCallback( + ([elementData]) => { + setIsFlyoutVisible(false); + const { datum } = (elementData as XYChartElementEvent)[0]; + const metadataEntry = metadata[datum.config.id]; + handleFlyout(metadataEntry); + }, + [metadata, handleFlyout] + ); + + const onProjectionClick: ProjectionClickListener = useCallback( + (projectionData) => { + setIsFlyoutVisible(false); + const { x } = projectionData as ProjectedValues; + if (typeof x === 'number' && x >= 0) { + const metadataEntry = metadata[x]; + handleFlyout(metadataEntry); + } + }, + [metadata, handleFlyout] + ); + + const onSidebarClick: OnSidebarClick = useCallback( + ({ buttonRef, networkItemIndex }) => { + if (isFlyoutVisible && buttonRef === currentSidebarItemRef) { + setIsFlyoutVisible(false); + } else { + const metadataEntry = metadata[networkItemIndex]; + setCurrentSidebarItemRef(buttonRef); + handleFlyout(metadataEntry); + } + }, + [currentSidebarItemRef, handleFlyout, isFlyoutVisible, metadata, setIsFlyoutVisible] + ); + + return { + flyoutData, + onBarClick, + onProjectionClick, + onSidebarClick, + isFlyoutVisible, + onFlyoutClose, + }; +}; diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/waterfall.test.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/waterfall.test.tsx new file mode 100644 index 0000000000000..c1937764214e4 --- /dev/null +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/waterfall.test.tsx @@ -0,0 +1,46 @@ +/* + * 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 { WaterfallChart } from './waterfall_chart'; +import { renderLegendItem } from '../../step_detail/waterfall/waterfall_chart_wrapper'; + +import 'jest-canvas-mock'; +import { waitFor } from '@testing-library/dom'; +import { render } from '../../../../../../utils/testing'; + +describe('waterfall', () => { + it('sets the correct height in case of full height', () => { + const Component = () => { + return ( +
+ `${Number(d).toFixed(0)} ms`} + domain={{ + max: 3371, + min: 0, + }} + barStyleAccessor={(datum) => { + return datum.datum.config.colour; + }} + renderSidebarItem={undefined} + renderLegendItem={renderLegendItem} + fullHeight={true} + /> +
+ ); + }; + + const { getByTestId } = render(); + + const chartWrapper = getByTestId('waterfallOuterContainer'); + + waitFor(() => { + expect(chartWrapper).toHaveStyleRule('height', 'calc(100vh - 62px)'); + }); + }); +}); diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/waterfall_bar_chart.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/waterfall_bar_chart.tsx new file mode 100644 index 0000000000000..3c9baed0dd3d6 --- /dev/null +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/waterfall_bar_chart.tsx @@ -0,0 +1,128 @@ +/* + * 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, { useMemo, useCallback } from 'react'; +import { + Axis, + BarSeries, + BarStyleAccessor, + Chart, + DomainRange, + Position, + ScaleType, + Settings, + TickFormatter, + TooltipInfo, +} from '@elastic/charts'; +import { useChartTheme } from '../../../../../../../../hooks/use_chart_theme'; +import { BAR_HEIGHT } from './constants'; +import { WaterfallChartChartContainer, WaterfallChartTooltip } from './styles'; +import { useWaterfallContext, WaterfallData } from '..'; +import { WaterfallTooltipContent } from './waterfall_tooltip_content'; +import { formatTooltipHeading } from '../../step_detail/waterfall/data_formatting'; +import { WaterfallChartMarkers } from './waterfall_markers'; + +const getChartHeight = (data: WaterfallData): number => { + // We get the last item x(number of bars) and adds 1 to cater for 0 index + const noOfXBars = new Set(data.map((item) => item.x)).size; + + return noOfXBars * BAR_HEIGHT; +}; + +const Tooltip = (tooltipInfo: TooltipInfo) => { + const { data, sidebarItems } = useWaterfallContext(); + return useMemo(() => { + const sidebarItem = sidebarItems?.find((item) => item.index === tooltipInfo.header?.value); + const relevantItems = data.filter((item) => { + return ( + item.x === tooltipInfo.header?.value && item.config.showTooltip && item.config.tooltipProps + ); + }); + return relevantItems.length ? ( + + {sidebarItem && ( + + )} + + ) : null; + }, [data, sidebarItems, tooltipInfo.header?.value]); +}; + +interface Props { + index: number; + chartData: WaterfallData; + tickFormat: TickFormatter; + domain: DomainRange; + barStyleAccessor: BarStyleAccessor; +} + +export const WaterfallBarChart = ({ + chartData, + tickFormat, + domain, + barStyleAccessor, + index, +}: Props) => { + const theme = useChartTheme(); + const { onElementClick, onProjectionClick } = useWaterfallContext(); + const handleElementClick = useMemo(() => onElementClick, [onElementClick]); + const handleProjectionClick = useMemo(() => onProjectionClick, [onProjectionClick]); + const memoizedTickFormat = useCallback(tickFormat, [tickFormat]); + + return ( + + + + + + + + + + + ); +}; diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/waterfall_chart.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/waterfall_chart.tsx new file mode 100644 index 0000000000000..8e69e57616bff --- /dev/null +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/waterfall_chart.tsx @@ -0,0 +1,156 @@ +/* + * 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, { useEffect, useRef, useState } from 'react'; +import { EuiFlexGroup } from '@elastic/eui'; +import { TickFormatter, DomainRange, BarStyleAccessor } from '@elastic/charts'; +import useWindowSize from 'react-use/lib/useWindowSize'; +import { useWaterfallContext } from '../context/waterfall_chart'; +import { + WaterfallChartOuterContainer, + WaterfallChartFixedTopContainer, + WaterfallChartFixedTopContainerSidebarCover, + WaterfallChartSidebarWrapper, + WaterfallChartTopContainer, + RelativeContainer, + WaterfallChartFilterContainer, + WaterfallChartAxisOnlyContainer, + WaterfallChartLegendContainer, +} from './styles'; +import { CHART_LEGEND_PADDING, MAIN_GROW_SIZE, SIDEBAR_GROW_SIZE } from './constants'; +import { Sidebar } from './sidebar'; +import { Legend } from './legend'; +import { useBarCharts } from './use_bar_charts'; +import { WaterfallBarChart } from './waterfall_bar_chart'; +import { WaterfallChartFixedAxis } from './waterfall_chart_fixed_axis'; +import { NetworkRequestsTotal } from './network_requests_total'; + +export type RenderItem = ( + item: I, + index: number, + onClick?: (event: any) => void +) => JSX.Element; +export type RenderElement = () => JSX.Element; + +export interface WaterfallChartProps { + tickFormat: TickFormatter; + domain: DomainRange; + barStyleAccessor: BarStyleAccessor; + renderSidebarItem?: RenderItem; + renderLegendItem?: RenderItem; + renderFilter?: RenderElement; + renderFlyout?: RenderElement; + maxHeight?: string; + fullHeight?: boolean; +} + +export const WaterfallChart = ({ + tickFormat, + domain, + barStyleAccessor, + renderSidebarItem, + renderLegendItem, + renderFilter, + renderFlyout, + maxHeight = '800px', + fullHeight = false, +}: WaterfallChartProps) => { + const { + data, + showOnlyHighlightedNetworkRequests, + sidebarItems, + legendItems, + totalNetworkRequests, + highlightedNetworkRequests, + fetchedNetworkRequests, + } = useWaterfallContext(); + + const { width } = useWindowSize(); + + const chartWrapperDivRef = useRef(null); + const legendDivRef = useRef(null); + + const [height, setHeight] = useState(maxHeight); + + const shouldRenderSidebar = !!(sidebarItems && renderSidebarItem); + const shouldRenderLegend = !!(legendItems && legendItems.length > 0 && renderLegendItem); + + useEffect(() => { + if (fullHeight && chartWrapperDivRef.current && legendDivRef.current) { + const chartOffset = chartWrapperDivRef.current.getBoundingClientRect().top; + const legendOffset = legendDivRef.current.getBoundingClientRect().height; + setHeight(`calc(190vh - ${chartOffset + CHART_LEGEND_PADDING + legendOffset}px)`); + } + }, [chartWrapperDivRef, fullHeight, legendDivRef, width]); + + const chartsToDisplay = useBarCharts({ data }); + + return ( + + + + {shouldRenderSidebar && ( + + + + {renderFilter && ( + {renderFilter()} + )} + + )} + + + + + + + + + {shouldRenderSidebar && } + + + {chartsToDisplay.map((chartData, ind) => ( + + ))} + + + + {shouldRenderLegend && ( + + + + )} + {renderFlyout && renderFlyout()} + + ); +}; diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/waterfall_chart_fixed_axis.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/waterfall_chart_fixed_axis.tsx new file mode 100644 index 0000000000000..15b29beb19759 --- /dev/null +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/waterfall_chart_fixed_axis.tsx @@ -0,0 +1,70 @@ +/* + * 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 { + Axis, + BarSeries, + BarStyleAccessor, + Chart, + DomainRange, + Position, + ScaleType, + Settings, + TickFormatter, + TooltipType, +} from '@elastic/charts'; +import { useChartTheme } from '../../../../../../../../hooks/use_chart_theme'; +import { WaterfallChartFixedAxisContainer } from './styles'; +import { WaterfallChartMarkers } from './waterfall_markers'; + +interface Props { + tickFormat: TickFormatter; + domain: DomainRange; + barStyleAccessor: BarStyleAccessor; +} + +export const WaterfallChartFixedAxis = ({ tickFormat, domain, barStyleAccessor }: Props) => { + const theme = useChartTheme(); + + return ( + + + + + + + + + + + ); +}; diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/waterfall_flyout_table.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/waterfall_flyout_table.tsx new file mode 100644 index 0000000000000..8f723eb92fd94 --- /dev/null +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/waterfall_flyout_table.tsx @@ -0,0 +1,78 @@ +/* + * 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, { useMemo } from 'react'; +import styled from 'styled-components'; + +import { EuiText, EuiBasicTable, EuiSpacer } from '@elastic/eui'; + +interface Row { + name: string; + value?: string; +} + +interface Props { + rows: Row[]; + title: string; +} + +const StyledText = styled(EuiText)` + width: 100%; +`; + +class TableWithoutHeader extends EuiBasicTable { + renderTableHead() { + return <>; + } +} + +export const Table = (props: Props) => { + const { rows, title } = props; + const columns = useMemo( + () => [ + { + field: 'name', + name: '', + sortable: false, + render: (_name: string, item: Row) => ( + + {item.name} + + ), + }, + { + field: 'value', + name: '', + sortable: false, + render: (_name: string, item: Row) => { + return ( + + {item.value ?? '--'} + + ); + }, + }, + ], + [] + ); + + return ( + <> + +

{title}

+
+ + + + ); +}; diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/waterfall_marker_icon.test.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/waterfall_marker_icon.test.tsx new file mode 100644 index 0000000000000..222f152c01b1b --- /dev/null +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/waterfall_marker_icon.test.tsx @@ -0,0 +1,62 @@ +/* + * 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 { fireEvent, waitFor } from '@testing-library/dom'; +import { WaterfallMarkerIcon } from './waterfall_marker_icon'; +import { TestWrapper } from './waterfall_marker_test_helper'; +import { render } from '../../../../../../utils/testing'; + +describe('', () => { + it('renders a dot icon when `field` is an empty string', () => { + const { getByText } = render(); + expect(getByText('An icon indicating that this marker has no field associated with it')); + }); + + it('renders an embeddable when opened', async () => { + const { getByLabelText, getByText } = render( + + + + ); + + const expandButton = getByLabelText( + 'Use this icon button to show metrics for this annotation marker.' + ); + + fireEvent.click(expandButton); + + await waitFor(() => { + getByText('Test Field'); + }); + }); +}); diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/waterfall_marker_icon.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/waterfall_marker_icon.tsx new file mode 100644 index 0000000000000..675224bfa8f79 --- /dev/null +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/waterfall_marker_icon.tsx @@ -0,0 +1,53 @@ +/* + * 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, { useState } from 'react'; +import { i18n } from '@kbn/i18n'; +import { EuiButtonIcon, EuiIcon, EuiPopover } from '@elastic/eui'; +import { WaterfallMarkerTrend } from './waterfall_marker_trend'; + +export function WaterfallMarkerIcon({ field, label }: { field: string; label: string }) { + const [isOpen, setIsOpen] = useState(false); + + if (!field) { + return ( + + ); + } + + return ( + setIsOpen(false)} + anchorPosition="downLeft" + panelStyle={{ paddingBottom: 0, paddingLeft: 4 }} + zIndex={100} + button={ + setIsOpen((prevState) => !prevState)} + /> + } + > + + + ); +} diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/waterfall_marker_test_helper.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/waterfall_marker_test_helper.tsx new file mode 100644 index 0000000000000..ce033b6f2ef2b --- /dev/null +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/waterfall_marker_test_helper.tsx @@ -0,0 +1,59 @@ +/* + * 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 { SyntheticsStartupPluginsContext } from '../../../../../../contexts'; +import { JourneyStep } from '../../../../../../../../../common/runtime_types'; +import { WaterfallContext } from '../context/waterfall_chart'; + +const EmbeddableMock = ({ + title, + appendTitle, + reportType, + attributes, +}: { + title: string; + appendTitle: JSX.Element | undefined; + reportType: string; + attributes: unknown; + axisTitlesVisibility: { x: boolean; yLeft: boolean; yRight: boolean }; + legendIsVisible: boolean; +}) => ( +
+

{title}

+
{appendTitle}
+
{reportType}
+
{JSON.stringify(attributes)}
+
+); + +export const TestWrapper = ({ + basePath, + activeStep, + children, +}: { + basePath: string; + activeStep?: JourneyStep; + children: JSX.Element; +}) => ( + ), + }, + }} + > + + {children} + + +); diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/waterfall_marker_trend.test.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/waterfall_marker_trend.test.tsx new file mode 100644 index 0000000000000..f75b25b056e0d --- /dev/null +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/waterfall_marker_trend.test.tsx @@ -0,0 +1,128 @@ +/* + * 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 { WaterfallMarkerTrend } from './waterfall_marker_trend'; +import moment from 'moment'; +import { TestWrapper } from './waterfall_marker_test_helper'; +import { render } from '../../../../../../utils/testing'; +import { JourneyStep } from '../../../../../../../../../common/runtime_types'; + +describe('', () => { + const mockDiff = jest.fn(); + + jest.spyOn(moment.prototype, 'diff').mockImplementation(mockDiff); + + const timestamp = '2021-12-03T14:35:41.072Z'; + + let activeStep: JourneyStep | undefined; + beforeEach(() => { + activeStep = { + '@timestamp': timestamp, + _id: 'id', + synthetics: { + type: 'step/end', + step: { + index: 0, + status: 'succeeded', + name: 'test-name', + duration: { + us: 9999, + }, + }, + }, + monitor: { + id: 'mon-id', + check_group: 'group', + timespan: { + gte: '1988-10-09T12:00:00.000Z', + lt: '1988-10-10T12:00:00.000Z', + }, + }, + }; + // value diff in milliseconds + mockDiff.mockReturnValue(10 * 1000); + }); + + const BASE_PATH = 'xyz'; + + it('supplies props', () => { + const { getByLabelText, getByText, getByRole } = render( + + + , + { + core: { + http: { + basePath: { + get: () => BASE_PATH, + }, + }, + }, + } + ); + const heading = getByRole('heading'); + expect(heading.innerHTML).toEqual('test title'); + expect(getByLabelText('append title').innerHTML.indexOf(BASE_PATH)).not.toBe(-1); + expect(getByText('kpi-over-time')); + const attributesText = getByLabelText('attributes').innerHTML; + + expect(attributesText.includes('"2021-12-03T14:35:41.072Z"')).toBeTruthy(); + const attributes = JSON.parse(attributesText); + expect( + moment(attributes[0].time.from) + .add(10 * 1000 * 48, 'millisecond') + .toISOString() + ).toBe(timestamp); + }); + + it('handles timespan difference', () => { + const oneMinDiff = 60 * 1000; + mockDiff.mockReturnValue(oneMinDiff); + const { getByLabelText } = render( + + + + ); + + const attributesText = getByLabelText('attributes').innerHTML; + + expect(attributesText).toBe( + JSON.stringify([ + { + name: 'test title(test-name)', + selectedMetricField: 'field', + time: { to: '2021-12-03T14:35:41.072Z', from: '2021-12-03T13:47:41.072Z' }, + seriesType: 'area', + dataType: 'synthetics', + reportDefinitions: { + 'monitor.name': [null], + 'synthetics.step.name.keyword': ['test-name'], + }, + operationType: 'last_value', + }, + ]) + ); + + const attributes = JSON.parse(attributesText); + expect( + moment(attributes[0].time.from) + .add(oneMinDiff * 48, 'millisecond') + .toISOString() + ).toBe(timestamp); + }); + + it('returns null for missing active step', () => { + activeStep = undefined; + const { container } = render( + + + + ); + expect(container.innerHTML).toBe(''); + }); +}); diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/waterfall_marker_trend.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/waterfall_marker_trend.tsx new file mode 100644 index 0000000000000..5ab0196701083 --- /dev/null +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/waterfall_marker_trend.tsx @@ -0,0 +1,20 @@ +/* + * 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 { StepFieldTrend } from '../../../../../common/step_field_trend/step_field_trend'; +import { useWaterfallContext } from '../context/waterfall_chart'; + +export function WaterfallMarkerTrend({ title, field }: { title: string; field: string }) { + const { activeStep } = useWaterfallContext(); + + if (!activeStep) { + return null; + } + + return ; +} diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/waterfall_markers.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/waterfall_markers.tsx new file mode 100644 index 0000000000000..1a8e5dd1d51b4 --- /dev/null +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/waterfall_markers.tsx @@ -0,0 +1,179 @@ +/* + * 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, { useMemo } from 'react'; +import { AnnotationDomainType, LineAnnotation } from '@elastic/charts'; +import { i18n } from '@kbn/i18n'; +import { useTheme } from '@kbn/observability-plugin/public'; +import { euiStyled } from '@kbn/kibana-react-plugin/common'; +import { useWaterfallContext } from '..'; +import { MarkerItems } from '../context/waterfall_chart'; +import { WaterfallMarkerIcon } from './waterfall_marker_icon'; + +export const FIELD_SYNTHETICS_LCP = 'browser.experience.lcp.us'; +export const FIELD_SYNTHETICS_FCP = 'browser.experience.fcp.us'; +export const FIELD_SYNTHETICS_DOCUMENT_ONLOAD = 'browser.experience.load.us'; +export const FIELD_SYNTHETICS_DCL = 'browser.experience.dcl.us'; +export const LAYOUT_SHIFT = 'layoutShift'; + +export function WaterfallChartMarkers() { + const { markerItems } = useWaterfallContext(); + + const theme = useTheme(); + + const markerItemsByOffset = useMemo( + () => + (markerItems ?? []).reduce((acc, cur) => { + acc.set(cur.offset, [...(acc.get(cur.offset) ?? []), cur]); + return acc; + }, new Map()), + [markerItems] + ); + + const annotations = useMemo(() => { + return Array.from(markerItemsByOffset.entries()).map(([offset, items]) => { + let uniqueIds = (items ?? []) + .map(({ id }) => id) + .filter((id, index, arr) => arr.indexOf(id) === index); + + // Omit coinciding layoutShift's with other vital marks + if (uniqueIds.length > 1) { + uniqueIds = uniqueIds.filter((id) => id !== LAYOUT_SHIFT); + } + + const label = uniqueIds.map((id) => getMarkersInfo(id, theme)?.label ?? id).join(' / '); + const id = uniqueIds[0]; + const markersInfo = getMarkersInfo(id, theme); + + return { + id, + offset, + label, + field: markersInfo?.field ?? '', + color: markersInfo?.color ?? theme.eui.euiColorMediumShade, + strokeWidth: markersInfo?.strokeWidth ?? 1, + }; + }); + }, [markerItemsByOffset, theme]); + + if (!markerItems) { + return null; + } + + return ( + + {annotations.map(({ id, offset, label, field, color, strokeWidth }) => { + const key = `${id}-${offset}`; + + return ( + } + style={{ + line: { + strokeWidth, + stroke: color, + opacity: 1, + }, + }} + /> + ); + })} + + ); +} + +function getMarkersInfo(id: string, theme: ReturnType) { + switch (id) { + case 'domContentLoaded': + return { + label: DOCUMENT_CONTENT_LOADED_LABEL, + color: theme.eui.euiColorVis0, + field: FIELD_SYNTHETICS_DCL, + strokeWidth: 2, + }; + case 'firstContentfulPaint': + return { + label: FCP_LABEL, + color: theme.eui.euiColorVis1, + field: FIELD_SYNTHETICS_FCP, + strokeWidth: 2, + }; + case 'largestContentfulPaint': + return { + label: LCP_LABEL, + color: theme.eui.euiColorVis2, + field: FIELD_SYNTHETICS_LCP, + strokeWidth: 2, + }; + case 'layoutShift': + return { + label: LAYOUT_SHIFT_LABEL, + color: theme.eui.euiColorVis6, + field: '', + strokeWidth: 1, + }; + case 'loadEvent': + return { + label: LOAD_EVENT_LABEL, + color: theme.eui.euiColorVis9, + field: FIELD_SYNTHETICS_DOCUMENT_ONLOAD, + strokeWidth: 2, + }; + } + + return undefined; +} + +const Wrapper = euiStyled.span` + &&& { + > .echAnnotation__icon { + top: 8px; + } + } +`; + +export const FCP_LABEL = i18n.translate('xpack.synthetics.synthetics.waterfall.fcpLabel', { + defaultMessage: 'First contentful paint', +}); + +export const LCP_LABEL = i18n.translate('xpack.synthetics.synthetics.waterfall.lcpLabel', { + defaultMessage: 'Largest contentful paint', +}); + +export const LAYOUT_SHIFT_LABEL = i18n.translate( + 'xpack.synthetics.synthetics.waterfall.layoutShiftLabel', + { + defaultMessage: 'Layout shift', + } +); + +export const LOAD_EVENT_LABEL = i18n.translate( + 'xpack.synthetics.synthetics.waterfall.loadEventLabel', + { + defaultMessage: 'Load event', + } +); + +export const DOCUMENT_CONTENT_LOADED_LABEL = i18n.translate( + 'xpack.synthetics.synthetics.waterfall.domContentLabel', + { + defaultMessage: 'DOM Content Loaded', + } +); diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/waterfall_tooltip_content.test.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/waterfall_tooltip_content.test.tsx new file mode 100644 index 0000000000000..0df81cca48df3 --- /dev/null +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/waterfall_tooltip_content.test.tsx @@ -0,0 +1,84 @@ +/* + * 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 { WaterfallTooltipContent } from './waterfall_tooltip_content'; +import { render } from '../../../../../../utils/testing'; + +jest.mock('../context/waterfall_chart', () => ({ + useWaterfallContext: jest.fn().mockReturnValue({ + data: [ + { + x: 0, + config: { + url: 'https://www.elastic.co', + tooltipProps: { + colour: '#000000', + value: 'test-val', + }, + showTooltip: true, + }, + }, + { + x: 0, + config: { + url: 'https://www.elastic.co/with/missing/tooltip.props', + showTooltip: true, + }, + }, + { + x: 1, + config: { + url: 'https://www.elastic.co/someresource.path', + tooltipProps: { + colour: '#010000', + value: 'test-val-missing', + }, + showTooltip: true, + }, + }, + ], + renderTooltipItem: (props: any) => ( +
+
{props.colour}
+
{props.value}
+
+ ), + sidebarItems: [ + { + isHighlighted: true, + index: 0, + offsetIndex: 1, + url: 'https://www.elastic.co', + status: 200, + method: 'GET', + }, + ], + }), +})); + +describe('WaterfallTooltipContent', () => { + it('renders tooltip', () => { + const { getByText, queryByText } = render( + + ); + expect(getByText('#000000')).toBeInTheDocument(); + expect(getByText('test-val')).toBeInTheDocument(); + expect(getByText('1. https://www.elastic.co')).toBeInTheDocument(); + expect(queryByText('#010000')).toBeNull(); + expect(queryByText('test-val-missing')).toBeNull(); + }); + + it(`doesn't render metric if tooltip props missing`, () => { + const { getAllByLabelText, getByText } = render( + + ); + const metricElements = getAllByLabelText('tooltip item'); + expect(metricElements).toHaveLength(1); + expect(getByText('test-val')).toBeInTheDocument(); + }); +}); diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/waterfall_tooltip_content.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/waterfall_tooltip_content.tsx new file mode 100644 index 0000000000000..b9f385c29b9f8 --- /dev/null +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/components/waterfall_tooltip_content.tsx @@ -0,0 +1,46 @@ +/* + * 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 { EuiFlexGroup, EuiFlexItem, EuiHorizontalRule, EuiText } from '@elastic/eui'; +import { euiStyled } from '@kbn/kibana-react-plugin/common'; +import { useWaterfallContext } from '../context/waterfall_chart'; + +interface Props { + text: string; + url: string; +} + +const StyledText = euiStyled(EuiText)` + font-weight: bold; +`; + +const StyledHorizontalRule = euiStyled(EuiHorizontalRule)` + background-color: ${(props) => props.theme.eui.euiColorDarkShade}; +`; + +export const WaterfallTooltipContent: React.FC = ({ text, url }) => { + const { data, renderTooltipItem, sidebarItems } = useWaterfallContext(); + + const tooltipMetrics = data.filter( + (datum) => + datum.x === sidebarItems?.find((sidebarItem) => sidebarItem.url === url)?.index && + datum.config.tooltipProps && + datum.config.showTooltip + ); + return ( + <> + {text} + + + {tooltipMetrics.map((item, idx) => ( + {renderTooltipItem(item.config.tooltipProps)} + ))} + + + ); +}; diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/context/waterfall_chart.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/context/waterfall_chart.tsx new file mode 100644 index 0000000000000..115dd15b416fc --- /dev/null +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/context/waterfall_chart.tsx @@ -0,0 +1,106 @@ +/* + * 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, { createContext, useContext, Context } from 'react'; +import { JourneyStep } from '../../../../../../../../../common/runtime_types'; +import { WaterfallData, WaterfallDataEntry, WaterfallMetadata } from '../types'; +import { OnSidebarClick, OnElementClick, OnProjectionClick } from '../components/use_flyout'; +import { SidebarItems } from '../../step_detail/waterfall/types'; + +export type MarkerItems = Array<{ + id: + | 'domContentLoaded' + | 'firstContentfulPaint' + | 'largestContentfulPaint' + | 'layoutShift' + | 'loadEvent' + | 'navigationStart'; + offset: number; +}>; + +export interface IWaterfallContext { + totalNetworkRequests: number; + highlightedNetworkRequests: number; + fetchedNetworkRequests: number; + data: WaterfallData; + onElementClick?: OnElementClick; + onProjectionClick?: OnProjectionClick; + onSidebarClick?: OnSidebarClick; + showOnlyHighlightedNetworkRequests: boolean; + sidebarItems?: SidebarItems; + legendItems?: unknown[]; + metadata: WaterfallMetadata; + renderTooltipItem: ( + item: WaterfallDataEntry['config']['tooltipProps'], + index?: number + ) => JSX.Element; + markerItems?: MarkerItems; + activeStep?: JourneyStep; +} + +export const WaterfallContext = createContext>({}); + +interface ProviderProps { + totalNetworkRequests: number; + highlightedNetworkRequests: number; + fetchedNetworkRequests: number; + data: IWaterfallContext['data']; + onElementClick?: IWaterfallContext['onElementClick']; + onProjectionClick?: IWaterfallContext['onProjectionClick']; + onSidebarClick?: IWaterfallContext['onSidebarClick']; + showOnlyHighlightedNetworkRequests: IWaterfallContext['showOnlyHighlightedNetworkRequests']; + sidebarItems?: IWaterfallContext['sidebarItems']; + legendItems?: IWaterfallContext['legendItems']; + metadata: IWaterfallContext['metadata']; + renderTooltipItem: IWaterfallContext['renderTooltipItem']; + markerItems?: MarkerItems; + activeStep?: JourneyStep; +} + +export const WaterfallProvider: React.FC = ({ + children, + data, + markerItems, + onElementClick, + onProjectionClick, + onSidebarClick, + showOnlyHighlightedNetworkRequests, + sidebarItems, + legendItems, + metadata, + renderTooltipItem, + totalNetworkRequests, + highlightedNetworkRequests, + fetchedNetworkRequests, + activeStep, +}) => { + return ( + + {children} + + ); +}; + +export const useWaterfallContext = () => + useContext(WaterfallContext as unknown as Context); diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/index.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/index.tsx new file mode 100644 index 0000000000000..b83cb630aaa79 --- /dev/null +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/index.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. + */ + +export type { RenderItem, WaterfallChartProps } from './components/waterfall_chart'; +export { WaterfallChart } from './components/waterfall_chart'; +export { WaterfallProvider, useWaterfallContext } from './context/waterfall_chart'; +export { MiddleTruncatedText } from './components/middle_truncated_text'; +export { useFlyout } from './components/use_flyout'; +export type { + WaterfallData, + WaterfallDataEntry, + WaterfallMetadata, + WaterfallMetadataEntry, +} from './types'; diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/types.ts b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/types.ts new file mode 100644 index 0000000000000..f1775a6fd1892 --- /dev/null +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/network_waterfall/waterfall/types.ts @@ -0,0 +1,41 @@ +/* + * 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. + */ + +interface PlotProperties { + x: number; + y: number; + y0: number; +} + +export interface WaterfallDataSeriesConfigProperties { + tooltipProps?: Record; + showTooltip: boolean; +} + +export interface WaterfallMetadataItem { + name: string; + value?: string; +} + +export interface WaterfallMetadataEntry { + x: number; + url: string; + requestHeaders?: WaterfallMetadataItem[]; + responseHeaders?: WaterfallMetadataItem[]; + certificates?: WaterfallMetadataItem[]; + details: WaterfallMetadataItem[]; +} + +export type WaterfallDataEntry = PlotProperties & { + config: WaterfallDataSeriesConfigProperties & Record; +}; + +export type WaterfallMetadata = WaterfallMetadataEntry[]; + +export type WaterfallData = WaterfallDataEntry[]; + +export type RenderItem = (item: I, index: number) => JSX.Element; diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/screenshot/screenshot_link.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/screenshot/screenshot_link.tsx new file mode 100644 index 0000000000000..803c1fcc53121 --- /dev/null +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/screenshot/screenshot_link.tsx @@ -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; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React from 'react'; +import { FormattedMessage } from '@kbn/i18n-react'; +import { euiStyled } from '@kbn/kibana-react-plugin/common'; +import { ReactRouterEuiLink } from '../../../common/react_router_helpers'; +import { Ping } from '../../../../../../../common/runtime_types'; + +const LabelLink = euiStyled.div` + margin-bottom: ${(props) => props.theme.eui.euiSizeXS}; + font-size: ${({ theme }) => theme.eui.euiFontSizeS}; +`; + +interface Props { + lastSuccessfulCheck: Ping; +} + +export const ScreenshotLink = ({ lastSuccessfulCheck }: Props) => { + return ( + + + + + + + ), + }} + /> + + ); +}; diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/screenshot/step_screenshot_display.test.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/screenshot/step_screenshot_display.test.tsx new file mode 100644 index 0000000000000..7a275527de3c6 --- /dev/null +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/screenshot/step_screenshot_display.test.tsx @@ -0,0 +1,91 @@ +/* + * 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 { StepScreenshotDisplay } from './step_screenshot_display'; +import * as observabilityPublic from '@kbn/observability-plugin/public'; +import { mockRef } from '../../../../utils/testing/__mocks__/screenshot_ref.mock'; +import { render } from '../../../../utils/testing'; +import '../../../../utils/testing/__mocks__/use_composite_image.mock'; +jest.mock('@kbn/observability-plugin/public'); + +jest.mock('react-use/lib/useIntersection', () => () => ({ + isIntersecting: true, +})); + +describe('StepScreenshotDisplayProps', () => { + beforeAll(() => { + jest.spyOn(observabilityPublic, 'useFetcher').mockReturnValue({ + data: null, + status: observabilityPublic.FETCH_STATUS.SUCCESS, + refetch: () => {}, + }); + }); + + afterAll(() => { + (observabilityPublic.useFetcher as any).mockClear(); + }); + it('displays screenshot thumbnail when present', () => { + const { getByAltText } = render( + + ); + + expect(getByAltText('Screenshot for step with name "STEP_NAME"')).toBeInTheDocument(); + }); + + it('uses alternative text when step name not available', () => { + const { getByAltText } = render( + + ); + + expect(getByAltText('Screenshot')).toBeInTheDocument(); + }); + + it('displays No Image message when screenshot does not exist', () => { + const { getByTestId } = render( + + ); + expect(getByTestId('stepScreenshotImageUnavailable')).toBeInTheDocument(); + }); + + it('displays screenshot thumbnail for ref', () => { + jest.spyOn(observabilityPublic, 'useFetcher').mockReturnValue({ + status: observabilityPublic.FETCH_STATUS.SUCCESS, + data: { ...mockRef }, + refetch: () => null, + }); + + const { getByAltText } = render( + + ); + + expect(getByAltText('Screenshot for step with name "STEP_NAME"')).toBeInTheDocument(); + }); +}); diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/screenshot/step_screenshot_display.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/screenshot/step_screenshot_display.tsx new file mode 100644 index 0000000000000..1dbfe9595cc44 --- /dev/null +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/components/screenshot/step_screenshot_display.tsx @@ -0,0 +1,197 @@ +/* + * 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 { + EuiFlexGroup, + EuiFlexItem, + EuiIcon, + EuiImage, + EuiLoadingSpinner, + EuiText, +} from '@elastic/eui'; +import styled from 'styled-components'; +import { i18n } from '@kbn/i18n'; +import { FormattedMessage } from '@kbn/i18n-react'; +import React, { useEffect, useMemo, useRef, useState, FC } from 'react'; +import useIntersection from 'react-use/lib/useIntersection'; +import { useFetcher } from '@kbn/observability-plugin/public'; +import { getJourneyScreenshot } from '../../../../state'; +import { useCompositeImage } from '../../../../hooks'; +import { + useSyntheticsRefreshContext, + useSyntheticsSettingsContext, + useSyntheticsThemeContext, +} from '../../../../contexts'; +import { + isScreenshotRef as isAScreenshotRef, + ScreenshotRefImageData, +} from '../../../../../../../common/runtime_types'; + +interface StepScreenshotDisplayProps { + isFullScreenshot: boolean; + isScreenshotRef: boolean; + checkGroup?: string; + stepIndex?: number; + stepName?: string; + lazyLoad?: boolean; +} + +const IMAGE_MAX_WIDTH = 640; + +const StepImage = styled(EuiImage)` + &&& { + figcaption { + display: none; + } + objectFit: 'cover', + objectPosition: 'center top', + } +`; + +const BaseStepImage = ({ + stepIndex, + stepName, + url, +}: Pick & { url?: string }) => { + if (!url) return ; + return ( + + ); +}; + +type ComposedStepImageProps = Pick & { + url: string | undefined; + imgRef: ScreenshotRefImageData; + setUrl: React.Dispatch; +}; + +const ComposedStepImage = ({ + stepIndex, + stepName, + url, + imgRef, + setUrl, +}: ComposedStepImageProps) => { + useCompositeImage(imgRef, setUrl, url); + if (!url) return ; + return ; +}; + +export const StepScreenshotDisplay: FC = ({ + checkGroup, + isFullScreenshot: isScreenshotBlob, + isScreenshotRef, + stepIndex, + stepName, + lazyLoad = true, +}) => { + const containerRef = useRef(null); + const { + colors: { lightestShade: pageBackground }, + } = useSyntheticsThemeContext(); + + const { basePath } = useSyntheticsSettingsContext(); + + const intersection = useIntersection(containerRef, { + root: null, + rootMargin: '0px', + threshold: 1, + }); + const { lastRefresh } = useSyntheticsRefreshContext(); + + const [hasIntersected, setHasIntersected] = useState(false); + const isIntersecting = intersection?.isIntersecting; + useEffect(() => { + if (hasIntersected === false && isIntersecting === true) { + setHasIntersected(true); + } + }, [hasIntersected, isIntersecting, setHasIntersected]); + + const imgSrc = basePath + `/internal/uptime/journey/screenshot/${checkGroup}/${stepIndex}`; + + // When loading a legacy screenshot, set `url` to full-size screenshot path. + // Otherwise, we first need to composite the image. + const [url, setUrl] = useState(isScreenshotBlob ? imgSrc : undefined); + + // when the image is a composite, we need to fetch the data since we cannot specify a blob URL + const { data: screenshotRef } = useFetcher(() => { + if (isScreenshotRef) { + return getJourneyScreenshot(imgSrc); + } + }, [basePath, checkGroup, imgSrc, stepIndex, isScreenshotRef, lastRefresh]); + + const refDimensions = useMemo(() => { + if (isAScreenshotRef(screenshotRef)) { + const { height, width } = screenshotRef.ref.screenshotRef.screenshot_ref; + return { height, width }; + } + }, [screenshotRef]); + + const shouldRenderImage = hasIntersected || !lazyLoad; + return ( +
+ {shouldRenderImage && isScreenshotBlob && ( + + )} + {shouldRenderImage && isScreenshotRef && isAScreenshotRef(screenshotRef) && ( + + )} + {!isScreenshotBlob && !isScreenshotRef && ( + + + + + + + + + + + + + )} +
+ ); +}; diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/step_detail_page.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/step_detail_page.tsx index 09122158e45ed..52af4964ee716 100644 --- a/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/step_detail_page.tsx +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/step_detail_page.tsx @@ -15,19 +15,24 @@ import { EuiPanel, EuiLoadingSpinner, } from '@elastic/eui'; +import { WaterfallChartContainer } from './components/network_waterfall/step_detail/waterfall/waterfall_chart_container'; import { StepImage } from './components/step_image'; import { useJourneySteps } from '../monitor_details/hooks/use_journey_steps'; import { MonitorDetailsLinkPortal } from '../monitor_add_edit/monitor_details_portal'; import { useStepDetailsBreadcrumbs } from './hooks/use_step_details_breadcrumbs'; export const StepDetailPage = () => { - const { checkGroupId } = useParams<{ checkGroupId: string; stepIndex: string }>(); + const { checkGroupId, stepIndex } = useParams<{ checkGroupId: string; stepIndex: string }>(); useTrackPageview({ app: 'synthetics', path: 'stepDetail' }); useTrackPageview({ app: 'synthetics', path: 'stepDetail', delay: 15000 }); const { data, loading, isFailed, currentStep, stepLabels } = useJourneySteps(checkGroupId); + const activeStep = data?.steps?.find( + (step) => step.synthetics?.step?.index === Number(stepIndex) + ); + useStepDetailsBreadcrumbs([{ text: data?.details?.journey.monitor.name ?? '' }]); if (loading) { @@ -88,7 +93,15 @@ export const StepDetailPage = () => { - {/* TODO: Add breakdown of network events*/} + {data && ( +
+ +
+ )} ); }; diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/step_title.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/step_title.tsx index 5cb758e4b3d37..658ad28890a91 100644 --- a/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/step_title.tsx +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/step_title.tsx @@ -20,7 +20,6 @@ export const StepTitle = () => { return ( {currentStep?.synthetics?.step?.name} - ); }; diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/state/network_events/actions.ts b/x-pack/plugins/synthetics/public/apps/synthetics/state/network_events/actions.ts new file mode 100644 index 0000000000000..f391484d3920a --- /dev/null +++ b/x-pack/plugins/synthetics/public/apps/synthetics/state/network_events/actions.ts @@ -0,0 +1,27 @@ +/* + * 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 { createAction } from 'redux-actions'; +import { SyntheticsNetworkEventsApiResponse } from '../../../../../common/runtime_types'; + +export interface FetchNetworkEventsParams { + checkGroup: string; + stepIndex: number; +} + +export interface FetchNetworkEventsFailPayload { + checkGroup: string; + stepIndex: number; + error: Error; +} + +export const getNetworkEvents = createAction('GET_NETWORK_EVENTS'); +export const getNetworkEventsSuccess = createAction< + Pick & SyntheticsNetworkEventsApiResponse +>('GET_NETWORK_EVENTS_SUCCESS'); +export const getNetworkEventsFail = + createAction('GET_NETWORK_EVENTS_FAIL'); diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/state/network_events/api.ts b/x-pack/plugins/synthetics/public/apps/synthetics/state/network_events/api.ts new file mode 100644 index 0000000000000..8c52ebba47dad --- /dev/null +++ b/x-pack/plugins/synthetics/public/apps/synthetics/state/network_events/api.ts @@ -0,0 +1,27 @@ +/* + * 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 { + SyntheticsNetworkEventsApiResponse, + SyntheticsNetworkEventsApiResponseType, +} from '../../../../../common/runtime_types'; +import { API_URLS } from '../../../../../common/constants'; +import { apiService } from '../../../../utils/api_service'; +import { FetchNetworkEventsParams } from './actions'; + +export async function fetchNetworkEvents( + params: FetchNetworkEventsParams +): Promise { + return (await apiService.get( + API_URLS.NETWORK_EVENTS, + { + checkGroup: params.checkGroup, + stepIndex: params.stepIndex, + }, + SyntheticsNetworkEventsApiResponseType + )) as SyntheticsNetworkEventsApiResponse; +} diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/state/network_events/effects.ts b/x-pack/plugins/synthetics/public/apps/synthetics/state/network_events/effects.ts new file mode 100644 index 0000000000000..1736619eb6185 --- /dev/null +++ b/x-pack/plugins/synthetics/public/apps/synthetics/state/network_events/effects.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; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import type { Action } from 'redux-actions'; +import { call, put, takeLatest } from 'redux-saga/effects'; +import { fetchNetworkEvents } from './api'; +import { SyntheticsNetworkEventsApiResponse } from '../../../../../common/runtime_types'; +import { + FetchNetworkEventsParams, + getNetworkEvents, + getNetworkEventsFail, + getNetworkEventsSuccess, +} from './actions'; + +export function* fetchNetworkEventsEffect() { + yield takeLatest( + getNetworkEvents, + function* (action: Action): Generator { + try { + const response = (yield call( + fetchNetworkEvents, + action.payload + )) as SyntheticsNetworkEventsApiResponse; + + yield put( + getNetworkEventsSuccess({ + checkGroup: action.payload.checkGroup, + stepIndex: action.payload.stepIndex, + ...response, + }) + ); + } catch (e) { + yield put( + getNetworkEventsFail({ + checkGroup: action.payload.checkGroup, + stepIndex: action.payload.stepIndex, + error: e, + }) + ); + } + } + ); +} diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/state/network_events/index.ts b/x-pack/plugins/synthetics/public/apps/synthetics/state/network_events/index.ts new file mode 100644 index 0000000000000..a3a5cc00c9bcf --- /dev/null +++ b/x-pack/plugins/synthetics/public/apps/synthetics/state/network_events/index.ts @@ -0,0 +1,157 @@ +/* + * 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 { handleActions, Action } from 'redux-actions'; +import { + NetworkEvent, + SyntheticsNetworkEventsApiResponse, +} from '../../../../../common/runtime_types'; +import { + FetchNetworkEventsFailPayload, + FetchNetworkEventsParams, + getNetworkEvents, + getNetworkEventsFail, + getNetworkEventsSuccess, +} from './actions'; + +export interface NetworkEventsState { + [checkGroup: string]: { + [stepIndex: number]: { + events: NetworkEvent[]; + total: number; + loading: boolean; + error?: Error; + isWaterfallSupported: boolean; + hasNavigationRequest?: boolean; + }; + }; +} + +const initialState: NetworkEventsState = {}; + +type Payload = FetchNetworkEventsParams & + SyntheticsNetworkEventsApiResponse & + FetchNetworkEventsFailPayload & + string[]; + +export const networkEventsReducer = handleActions( + { + [String(getNetworkEvents)]: ( + state: NetworkEventsState, + { payload: { checkGroup, stepIndex } }: Action + ) => ({ + ...state, + [checkGroup]: state[checkGroup] + ? { + [stepIndex]: state[checkGroup][stepIndex] + ? { + ...state[checkGroup][stepIndex], + loading: true, + events: [], + total: 0, + isWaterfallSupported: true, + } + : { + loading: true, + events: [], + total: 0, + isWaterfallSupported: true, + }, + } + : { + [stepIndex]: { + loading: true, + events: [], + total: 0, + isWaterfallSupported: true, + }, + }, + }), + + [String(getNetworkEventsSuccess)]: ( + state: NetworkEventsState, + { + payload: { + events, + total, + checkGroup, + stepIndex, + isWaterfallSupported, + hasNavigationRequest, + }, + }: Action + ) => { + return { + ...state, + [checkGroup]: state[checkGroup] + ? { + [stepIndex]: state[checkGroup][stepIndex] + ? { + ...state[checkGroup][stepIndex], + loading: false, + events, + total, + isWaterfallSupported, + hasNavigationRequest, + } + : { + loading: false, + events, + total, + isWaterfallSupported, + hasNavigationRequest, + }, + } + : { + [stepIndex]: { + loading: false, + events, + total, + isWaterfallSupported, + hasNavigationRequest, + }, + }, + }; + }, + + [String(getNetworkEventsFail)]: ( + state: NetworkEventsState, + { payload: { checkGroup, stepIndex, error } }: Action + ) => ({ + ...state, + [checkGroup]: state[checkGroup] + ? { + [stepIndex]: state[checkGroup][stepIndex] + ? { + ...state[checkGroup][stepIndex], + loading: false, + events: [], + total: 0, + error, + isWaterfallSupported: true, + } + : { + loading: false, + events: [], + total: 0, + error, + isWaterfallSupported: true, + }, + } + : { + [stepIndex]: { + loading: false, + events: [], + total: 0, + error, + isWaterfallSupported: true, + }, + }, + }), + }, + initialState +); diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/state/network_events/selectors.ts b/x-pack/plugins/synthetics/public/apps/synthetics/state/network_events/selectors.ts new file mode 100644 index 0000000000000..eae3b3e56d2b2 --- /dev/null +++ b/x-pack/plugins/synthetics/public/apps/synthetics/state/network_events/selectors.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; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { SyntheticsAppState } from '../root_reducer'; + +export const networkEventsSelector = ({ networkEvents }: SyntheticsAppState) => networkEvents; diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/state/root_effect.ts b/x-pack/plugins/synthetics/public/apps/synthetics/state/root_effect.ts index 50b94bd670838..f8f13b7ed54e8 100644 --- a/x-pack/plugins/synthetics/public/apps/synthetics/state/root_effect.ts +++ b/x-pack/plugins/synthetics/public/apps/synthetics/state/root_effect.ts @@ -6,6 +6,7 @@ */ import { all, fork } from 'redux-saga/effects'; +import { fetchNetworkEventsEffect } from './network_events/effects'; import { fetchSyntheticsMonitorEffect } from './monitor_details'; import { fetchIndexStatusEffect } from './index_status'; import { fetchSyntheticsEnablementEffect } from './synthetics_enablement'; @@ -30,5 +31,6 @@ export const rootEffect = function* root(): Generator { fork(quietFetchOverviewEffect), fork(browserJourneyEffects), fork(fetchOverviewStatusEffect), + fork(fetchNetworkEventsEffect), ]); }; diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/state/root_reducer.ts b/x-pack/plugins/synthetics/public/apps/synthetics/state/root_reducer.ts index c83605ffad1f8..b9c7b6ec8db51 100644 --- a/x-pack/plugins/synthetics/public/apps/synthetics/state/root_reducer.ts +++ b/x-pack/plugins/synthetics/public/apps/synthetics/state/root_reducer.ts @@ -7,6 +7,7 @@ import { combineReducers } from '@reduxjs/toolkit'; +import { networkEventsReducer, NetworkEventsState } from './network_events'; import { monitorDetailsReducer, MonitorDetailsState } from './monitor_details'; import { uiReducer, UiState } from './ui'; import { indexStatusReducer, IndexStatusState } from './index_status'; @@ -26,6 +27,7 @@ export interface SyntheticsAppState { monitorDetails: MonitorDetailsState; overview: MonitorOverviewState; browserJourney: BrowserJourneyState; + networkEvents: NetworkEventsState; } export const rootReducer = combineReducers({ @@ -37,4 +39,5 @@ export const rootReducer = combineReducers({ monitorDetails: monitorDetailsReducer, overview: monitorOverviewReducer, browserJourney: browserJourneyReducer, + networkEvents: networkEventsReducer, }); diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/utils/formatting/format.ts b/x-pack/plugins/synthetics/public/apps/synthetics/utils/formatting/format.ts index 2fd43d198b8b4..5dab17f55ad68 100644 --- a/x-pack/plugins/synthetics/public/apps/synthetics/utils/formatting/format.ts +++ b/x-pack/plugins/synthetics/public/apps/synthetics/utils/formatting/format.ts @@ -5,6 +5,8 @@ * 2.0. */ import { i18n } from '@kbn/i18n'; +import moment, { Moment } from 'moment'; +import { SHORT_TIMESPAN_LOCALE, SHORT_TS_LOCALE } from '../../../../../common/constants'; // one second = 1 million micros const ONE_SECOND_AS_MICROS = 1000000; @@ -37,3 +39,39 @@ export const formatDuration = (durationMicros: number) => { defaultMessage: '{seconds} s', }); }; + +export const getShortTimeStamp = (timeStamp: moment.Moment, relative = false) => { + if (relative) { + const prevLocale: string = moment.locale() ?? 'en'; + + const shortLocale = moment.locale(SHORT_TS_LOCALE) === SHORT_TS_LOCALE; + + if (!shortLocale) { + moment.defineLocale(SHORT_TS_LOCALE, SHORT_TIMESPAN_LOCALE); + } + + let shortTimestamp; + if (typeof timeStamp === 'string') { + shortTimestamp = parseTimestamp(timeStamp).fromNow(); + } else { + shortTimestamp = timeStamp.fromNow(); + } + + // Reset it so, it doesn't impact other part of the app + moment.locale(prevLocale); + return shortTimestamp; + } else { + if (moment().diff(timeStamp, 'd') >= 1) { + return timeStamp.format('ll LTS'); + } + return timeStamp.format('LTS'); + } +}; + +export const parseTimestamp = (tsValue: string): Moment => { + let parsed = Date.parse(tsValue); + if (isNaN(parsed)) { + parsed = parseInt(tsValue, 10); + } + return moment(parsed); +}; diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/utils/formatting/test_helpers.ts b/x-pack/plugins/synthetics/public/apps/synthetics/utils/formatting/test_helpers.ts new file mode 100644 index 0000000000000..0b32c4a2420e8 --- /dev/null +++ b/x-pack/plugins/synthetics/public/apps/synthetics/utils/formatting/test_helpers.ts @@ -0,0 +1,70 @@ +/* + * 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 moment from 'moment'; +import { Moment } from 'moment-timezone'; +import * as redux from 'react-redux'; +import * as reactRouterDom from 'react-router-dom'; + +export function mockMoment() { + // avoid timezone issues + jest.spyOn(moment.prototype, 'format').mockImplementation(function (this: Moment) { + return `Sept 4, 2020 9:31:38 AM`; + }); + + // convert relative time to absolute time to avoid timing issues + jest.spyOn(moment.prototype, 'fromNow').mockImplementation(function (this: Moment) { + return `15 minutes ago`; + }); + + // use static locale string to avoid issues + jest.spyOn(moment.prototype, 'toLocaleString').mockImplementation(function (this: Moment) { + return `Thu May 09 2019 10:15:11 GMT-0400`; + }); +} + +export function mockMomentTimezone() { + jest.mock('moment-timezone', () => { + return function () { + return { tz: { guess: () => 'America/New_York' } }; + }; + }); +} + +export function mockDate() { + // use static date string to avoid CI timing issues + jest.spyOn(Date.prototype, 'toString').mockImplementation(function (this: Date) { + return `Tue, 01 Jan 2019 00:00:00 GMT`; + }); +} + +export function mockDataPlugin() { + jest.mock('@kbn/data-plugin/public', () => { + return function () { + return { + esKuery: { + fromKueryExpression: () => 'an ast', + toElasticsearchQuery: () => 'an es query', + }, + }; + }; + }); +} + +export function mockReduxHooks(response?: any) { + jest.spyOn(redux, 'useDispatch').mockReturnValue(jest.fn()); + + jest.spyOn(redux, 'useSelector').mockReturnValue(response); +} + +export function mockDispatch() { + jest.spyOn(redux, 'useDispatch').mockReturnValue(jest.fn()); +} + +export function mockReactRouterDomHooks({ useParamsResponse }: { useParamsResponse: any }) { + jest.spyOn(reactRouterDom, 'useParams').mockReturnValue(useParamsResponse); +} diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/utils/testing/__mocks__/synthetics_store.mock.ts b/x-pack/plugins/synthetics/public/apps/synthetics/utils/testing/__mocks__/synthetics_store.mock.ts index 0ed0e2fd85637..3e213879ca66f 100644 --- a/x-pack/plugins/synthetics/public/apps/synthetics/utils/testing/__mocks__/synthetics_store.mock.ts +++ b/x-pack/plugins/synthetics/public/apps/synthetics/utils/testing/__mocks__/synthetics_store.mock.ts @@ -102,6 +102,7 @@ export const mockState: SyntheticsAppState = { syntheticsEnablement: { loading: false, error: null, enablement: null }, monitorDetails: getMonitorDetailsMockSlice(), browserJourney: getBrowserJourneyMockSlice(), + networkEvents: {}, }; function getBrowserJourneyMockSlice() { diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/utils/testing/__mocks__/ut_router_history.mock.ts b/x-pack/plugins/synthetics/public/apps/synthetics/utils/testing/__mocks__/ut_router_history.mock.ts new file mode 100644 index 0000000000000..bf6fb576dd8f5 --- /dev/null +++ b/x-pack/plugins/synthetics/public/apps/synthetics/utils/testing/__mocks__/ut_router_history.mock.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; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +/** + * NOTE: This variable name MUST start with 'mock*' in order for + * Jest to accept its use within a jest.mock() + */ +export const mockHistory = { + createHref: jest.fn(({ pathname }) => `/enterprise_search${pathname}`), + push: jest.fn(), + location: { + pathname: '/current-path', + }, +}; + +jest.mock('react-router-dom', () => ({ + useHistory: jest.fn(() => mockHistory), +})); + +/** + * For example usage, @see public/applications/shared/react_router_helpers/eui_link.test.tsx + */ diff --git a/x-pack/plugins/synthetics/public/hooks/use_chart_theme.ts b/x-pack/plugins/synthetics/public/hooks/use_chart_theme.ts new file mode 100644 index 0000000000000..f9faca7927d9d --- /dev/null +++ b/x-pack/plugins/synthetics/public/hooks/use_chart_theme.ts @@ -0,0 +1,20 @@ +/* + * 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 { EUI_CHARTS_THEME_DARK, EUI_CHARTS_THEME_LIGHT } from '@elastic/eui/dist/eui_charts_theme'; +import { useMemo } from 'react'; +import { useUiSetting$ } from '@kbn/kibana-react-plugin/public'; + +export const useChartTheme = () => { + const [darkMode] = useUiSetting$('theme:darkMode'); + + const theme = useMemo(() => { + return darkMode ? EUI_CHARTS_THEME_DARK.theme : EUI_CHARTS_THEME_LIGHT.theme; + }, [darkMode]); + + return theme; +}; From 387964b4fa8a995a1831473b5394827ceb28a244 Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Tue, 1 Nov 2022 09:31:33 -0400 Subject: [PATCH 084/111] skip failing test suite (#143870) --- .../tests/alerting/builtin_alert_types/es_query/rule.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/x-pack/test/alerting_api_integration/spaces_only/tests/alerting/builtin_alert_types/es_query/rule.ts b/x-pack/test/alerting_api_integration/spaces_only/tests/alerting/builtin_alert_types/es_query/rule.ts index 86ea7a9c3a18e..abb3b8b43f02b 100644 --- a/x-pack/test/alerting_api_integration/spaces_only/tests/alerting/builtin_alert_types/es_query/rule.ts +++ b/x-pack/test/alerting_api_integration/spaces_only/tests/alerting/builtin_alert_types/es_query/rule.ts @@ -37,7 +37,8 @@ export default function ruleTests({ getService }: FtrProviderContext) { createEsDocumentsInGroups, } = getRuleServices(getService); - describe('rule', async () => { + // Failing: See https://github.com/elastic/kibana/issues/143870 + describe.skip('rule', async () => { let endDate: string; let connectorId: string; const objectRemover = new ObjectRemover(supertest); From 807b782f23c3ba92f69c03bd0b7dd2775d893752 Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Tue, 1 Nov 2022 09:32:17 -0400 Subject: [PATCH 085/111] skip failing test suite (#142155) --- x-pack/test/functional/apps/spaces/spaces_selection.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/x-pack/test/functional/apps/spaces/spaces_selection.ts b/x-pack/test/functional/apps/spaces/spaces_selection.ts index 65fa1c9f00146..254a883ebf920 100644 --- a/x-pack/test/functional/apps/spaces/spaces_selection.ts +++ b/x-pack/test/functional/apps/spaces/spaces_selection.ts @@ -22,7 +22,8 @@ export default function spaceSelectorFunctionalTests({ ]); const spacesService = getService('spaces'); - describe('Spaces', function () { + // Failing: See https://github.com/elastic/kibana/issues/142155 + describe.skip('Spaces', function () { const testSpacesIds = ['another-space', ...Array.from('123456789', (idx) => `space-${idx}`)]; before(async () => { for (const testSpaceId of testSpacesIds) { From 1acc9a4be9b72a9824a53135dc9b8866cf646584 Mon Sep 17 00:00:00 2001 From: Dario Gieselaar Date: Tue, 1 Nov 2022 14:36:13 +0100 Subject: [PATCH 086/111] [APM] Use force_synthetic_source in API tests (#144300) --- .../elasticsearch_fieldnames.test.ts.snap | 18 ++++++++++++++++++ x-pack/plugins/apm/server/index.ts | 1 + .../create_apm_event_client/index.test.ts | 1 + .../create_apm_event_client/index.ts | 10 ++++++++++ .../server/lib/helpers/get_apm_event_client.ts | 5 ++++- x-pack/plugins/apm/server/plugin.ts | 1 + .../es_archiver/apm_8.0.0/mappings.json | 16 ---------------- .../infra_metrics_and_apm/mappings.json | 18 +----------------- .../test/apm_api_integration/configs/index.ts | 7 +++++++ 9 files changed, 43 insertions(+), 34 deletions(-) diff --git a/x-pack/plugins/apm/common/__snapshots__/elasticsearch_fieldnames.test.ts.snap b/x-pack/plugins/apm/common/__snapshots__/elasticsearch_fieldnames.test.ts.snap index 10c42bd763da6..d30a32fd04fc3 100644 --- a/x-pack/plugins/apm/common/__snapshots__/elasticsearch_fieldnames.test.ts.snap +++ b/x-pack/plugins/apm/common/__snapshots__/elasticsearch_fieldnames.test.ts.snap @@ -45,6 +45,8 @@ exports[`Error CONTAINER_IMAGE 1`] = `undefined`; exports[`Error DESTINATION_ADDRESS 1`] = `undefined`; +exports[`Error DEVICE_MODEL_IDENTIFIER 1`] = `undefined`; + exports[`Error ERROR_CULPRIT 1`] = `"handleOopsie"`; exports[`Error ERROR_EXC_HANDLED 1`] = `undefined`; @@ -93,6 +95,8 @@ exports[`Error HOST_NAME 1`] = `undefined`; exports[`Error HOST_OS_PLATFORM 1`] = `undefined`; +exports[`Error HOST_OS_VERSION 1`] = `undefined`; + exports[`Error HTTP_REQUEST_METHOD 1`] = `undefined`; exports[`Error HTTP_RESPONSE_STATUS_CODE 1`] = `undefined`; @@ -153,6 +157,8 @@ exports[`Error METRIC_SYSTEM_TOTAL_MEMORY 1`] = `undefined`; exports[`Error METRICSET_NAME 1`] = `undefined`; +exports[`Error NETWORK_CONNECTION_TYPE 1`] = `undefined`; + exports[`Error OBSERVER_HOSTNAME 1`] = `undefined`; exports[`Error OBSERVER_LISTENING 1`] = `undefined`; @@ -304,6 +310,8 @@ exports[`Span CONTAINER_IMAGE 1`] = `undefined`; exports[`Span DESTINATION_ADDRESS 1`] = `undefined`; +exports[`Span DEVICE_MODEL_IDENTIFIER 1`] = `undefined`; + exports[`Span ERROR_CULPRIT 1`] = `undefined`; exports[`Span ERROR_EXC_HANDLED 1`] = `undefined`; @@ -348,6 +356,8 @@ exports[`Span HOST_NAME 1`] = `undefined`; exports[`Span HOST_OS_PLATFORM 1`] = `undefined`; +exports[`Span HOST_OS_VERSION 1`] = `undefined`; + exports[`Span HTTP_REQUEST_METHOD 1`] = `undefined`; exports[`Span HTTP_RESPONSE_STATUS_CODE 1`] = `undefined`; @@ -408,6 +418,8 @@ exports[`Span METRIC_SYSTEM_TOTAL_MEMORY 1`] = `undefined`; exports[`Span METRICSET_NAME 1`] = `undefined`; +exports[`Span NETWORK_CONNECTION_TYPE 1`] = `undefined`; + exports[`Span OBSERVER_HOSTNAME 1`] = `undefined`; exports[`Span OBSERVER_LISTENING 1`] = `undefined`; @@ -559,6 +571,8 @@ exports[`Transaction CONTAINER_IMAGE 1`] = `undefined`; exports[`Transaction DESTINATION_ADDRESS 1`] = `undefined`; +exports[`Transaction DEVICE_MODEL_IDENTIFIER 1`] = `undefined`; + exports[`Transaction ERROR_CULPRIT 1`] = `undefined`; exports[`Transaction ERROR_EXC_HANDLED 1`] = `undefined`; @@ -607,6 +621,8 @@ exports[`Transaction HOST_NAME 1`] = `undefined`; exports[`Transaction HOST_OS_PLATFORM 1`] = `undefined`; +exports[`Transaction HOST_OS_VERSION 1`] = `undefined`; + exports[`Transaction HTTP_REQUEST_METHOD 1`] = `"GET"`; exports[`Transaction HTTP_RESPONSE_STATUS_CODE 1`] = `200`; @@ -673,6 +689,8 @@ exports[`Transaction METRIC_SYSTEM_TOTAL_MEMORY 1`] = `undefined`; exports[`Transaction METRICSET_NAME 1`] = `undefined`; +exports[`Transaction NETWORK_CONNECTION_TYPE 1`] = `undefined`; + exports[`Transaction OBSERVER_HOSTNAME 1`] = `undefined`; exports[`Transaction OBSERVER_LISTENING 1`] = `undefined`; diff --git a/x-pack/plugins/apm/server/index.ts b/x-pack/plugins/apm/server/index.ts index 85fb7efc53702..17682706571cc 100644 --- a/x-pack/plugins/apm/server/index.ts +++ b/x-pack/plugins/apm/server/index.ts @@ -54,6 +54,7 @@ const configSchema = schema.object({ sourcemap: schema.string({ defaultValue: 'apm-*' }), onboarding: schema.string({ defaultValue: 'apm-*' }), }), + forceSyntheticSource: schema.boolean({ defaultValue: false }), }); // plugin config diff --git a/x-pack/plugins/apm/server/lib/helpers/create_es_client/create_apm_event_client/index.test.ts b/x-pack/plugins/apm/server/lib/helpers/create_es_client/create_apm_event_client/index.test.ts index d5068669bf27c..449455d1f6bf4 100644 --- a/x-pack/plugins/apm/server/lib/helpers/create_es_client/create_apm_event_client/index.test.ts +++ b/x-pack/plugins/apm/server/lib/helpers/create_es_client/create_apm_event_client/index.test.ts @@ -54,6 +54,7 @@ describe('APMEventClient', () => { indices: {} as any, options: { includeFrozen: false, + forceSyntheticSource: false, }, }); diff --git a/x-pack/plugins/apm/server/lib/helpers/create_es_client/create_apm_event_client/index.ts b/x-pack/plugins/apm/server/lib/helpers/create_es_client/create_apm_event_client/index.ts index f013448d6abe5..a22db0bb58b6f 100644 --- a/x-pack/plugins/apm/server/lib/helpers/create_es_client/create_apm_event_client/index.ts +++ b/x-pack/plugins/apm/server/lib/helpers/create_es_client/create_apm_event_client/index.ts @@ -80,6 +80,7 @@ export interface APMEventClientConfig { indices: ApmIndicesConfig; options: { includeFrozen: boolean; + forceSyntheticSource: boolean; }; } @@ -89,6 +90,7 @@ export class APMEventClient { private readonly request: KibanaRequest; private readonly indices: ApmIndicesConfig; private readonly includeFrozen: boolean; + private readonly forceSyntheticSource: boolean; constructor(config: APMEventClientConfig) { this.esClient = config.esClient; @@ -96,6 +98,7 @@ export class APMEventClient { this.request = config.request; this.indices = config.indices; this.includeFrozen = config.options.includeFrozen; + this.forceSyntheticSource = config.options.forceSyntheticSource; } private callAsyncWithDebug({ @@ -149,11 +152,18 @@ export class APMEventClient { this.indices ); + const forceSyntheticSourceForThisRequest = + this.forceSyntheticSource && + params.apm.events.includes(ProcessorEvent.metric); + const searchParams = { ...withProcessorEventFilter, ...(this.includeFrozen ? { ignore_throttled: false } : {}), ignore_unavailable: true, preference: 'any', + ...(forceSyntheticSourceForThisRequest + ? { force_synthetic_source: true } + : {}), }; return this.callAsyncWithDebug({ diff --git a/x-pack/plugins/apm/server/lib/helpers/get_apm_event_client.ts b/x-pack/plugins/apm/server/lib/helpers/get_apm_event_client.ts index 6ee9bb94a62b2..7ed4902fa0615 100644 --- a/x-pack/plugins/apm/server/lib/helpers/get_apm_event_client.ts +++ b/x-pack/plugins/apm/server/lib/helpers/get_apm_event_client.ts @@ -36,7 +36,10 @@ export async function getApmEventClient({ debug: params.query._inspect, request, indices, - options: { includeFrozen }, + options: { + includeFrozen, + forceSyntheticSource: config.forceSyntheticSource, + }, }); }); } diff --git a/x-pack/plugins/apm/server/plugin.ts b/x-pack/plugins/apm/server/plugin.ts index de49cc793ede4..a6509c6779197 100644 --- a/x-pack/plugins/apm/server/plugin.ts +++ b/x-pack/plugins/apm/server/plugin.ts @@ -234,6 +234,7 @@ export class APMPlugin indices, options: { includeFrozen, + forceSyntheticSource: currentConfig.forceSyntheticSource, }, }); }, diff --git a/x-pack/test/apm_api_integration/common/fixtures/es_archiver/apm_8.0.0/mappings.json b/x-pack/test/apm_api_integration/common/fixtures/es_archiver/apm_8.0.0/mappings.json index 2d05717fa5725..ee8b97f7ac0ae 100644 --- a/x-pack/test/apm_api_integration/common/fixtures/es_archiver/apm_8.0.0/mappings.json +++ b/x-pack/test/apm_api_integration/common/fixtures/es_archiver/apm_8.0.0/mappings.json @@ -7196,10 +7196,6 @@ "handled": { "type": "boolean" }, - "message": { - "norms": false, - "type": "text" - }, "module": { "ignore_above": 1024, "type": "keyword" @@ -7232,20 +7228,12 @@ "ignore_above": 1024, "type": "keyword" }, - "message": { - "norms": false, - "type": "text" - }, "param_message": { "ignore_above": 1024, "type": "keyword" } } }, - "message": { - "norms": false, - "type": "text" - }, "stack_trace": { "fields": { "text": { @@ -8460,10 +8448,6 @@ } } }, - "message": { - "norms": false, - "type": "text" - }, "metricset": { "properties": { "name": { diff --git a/x-pack/test/apm_api_integration/common/fixtures/es_archiver/infra_metrics_and_apm/mappings.json b/x-pack/test/apm_api_integration/common/fixtures/es_archiver/infra_metrics_and_apm/mappings.json index 4333590036055..5695c2a8494af 100644 --- a/x-pack/test/apm_api_integration/common/fixtures/es_archiver/infra_metrics_and_apm/mappings.json +++ b/x-pack/test/apm_api_integration/common/fixtures/es_archiver/infra_metrics_and_apm/mappings.json @@ -464,10 +464,6 @@ "handled": { "type": "boolean" }, - "message": { - "norms": false, - "type": "text" - }, "module": { "ignore_above": 1024, "type": "keyword" @@ -496,20 +492,12 @@ "ignore_above": 1024, "type": "keyword" }, - "message": { - "norms": false, - "type": "text" - }, "param_message": { "ignore_above": 1024, "type": "keyword" } } }, - "message": { - "norms": false, - "type": "text" - }, "type": { "ignore_above": 1024, "type": "keyword" @@ -1158,10 +1146,6 @@ } } }, - "message": { - "norms": false, - "type": "text" - }, "network": { "properties": { "application": { @@ -17630,4 +17614,4 @@ } } } -} \ No newline at end of file +} diff --git a/x-pack/test/apm_api_integration/configs/index.ts b/x-pack/test/apm_api_integration/configs/index.ts index 3bc03eb5b4259..e4dfc0b8e387c 100644 --- a/x-pack/test/apm_api_integration/configs/index.ts +++ b/x-pack/test/apm_api_integration/configs/index.ts @@ -11,14 +11,21 @@ import { createTestConfig, CreateTestConfig } from '../common/config'; const apmFtrConfigs = { basic: { license: 'basic' as const, + kibanaConfig: { + 'xpack.apm.forceSyntheticSource': 'true', + }, }, trial: { license: 'trial' as const, + kibanaConfig: { + 'xpack.apm.forceSyntheticSource': 'true', + }, }, rules: { license: 'trial' as const, kibanaConfig: { 'xpack.ruleRegistry.write.enabled': 'true', + 'xpack.apm.forceSyntheticSource': 'true', }, }, }; From 6f5b716ddb695ef6203e91851124afce43bb64e5 Mon Sep 17 00:00:00 2001 From: Paul Tavares <56442535+paul-tavares@users.noreply.github.com> Date: Tue, 1 Nov 2022 10:23:57 -0400 Subject: [PATCH 087/111] [Security Solution][Endpoint] Re-organize responder folder and hooks folder within endpoint management (#144277) * re-organized the `endpoint_responder/` folder * Rename `getEndpointResponseActionsConsoleCommands()` * re-organize the hooks folder * fix jest.mock() paths * Update jest test snapshot --- .../endpoint_action_failure_message.tsx | 2 +- .../get_file_action.tsx | 10 +++---- .../get_processes_action.tsx | 8 +++--- .../get_file_action.test.tsx | 28 +++++++++---------- .../get_processes_action.test.tsx | 20 ++++++------- .../integration_tests/isolate_action.test.tsx | 22 +++++++-------- .../kill_process_action.test.tsx | 20 ++++++------- .../integration_tests/release_action.test.tsx | 22 +++++++-------- .../suspend_process_action.test.tsx | 20 ++++++------- .../isolate_action.tsx | 6 ++-- .../kill_process_action.tsx | 10 +++---- .../release_action.tsx | 6 ++-- .../status_action.tsx | 24 ++++++++-------- .../suspend_process_action.tsx | 10 +++---- .../{ => components}/action_error.tsx | 6 ++-- .../{ => components}/action_log_button.tsx | 6 ++-- .../{ => components}/action_success.tsx | 6 ++-- .../header_endpoint_info.test.tsx | 18 ++++++------ .../{ => components}/header_endpoint_info.tsx | 8 +++--- .../{ => components}/offline_callout.test.tsx | 14 +++++----- .../{ => components}/offline_callout.tsx | 4 +-- .../hooks/use_console_action_submitter.tsx | 8 +++--- .../components/endpoint_responder/index.ts | 6 ++-- .../console_commands_definition.ts} | 26 ++++++++--------- .../{ => lib}/constants.tsx | 0 .../endpoint_action_response_codes.ts | 0 .../{ => lib}/get_command_about_info.tsx | 2 +- .../{ => lib}/utils.test.ts | 0 .../endpoint_responder/{ => lib}/utils.ts | 2 +- .../response_actions_log.test.tsx | 4 +-- .../response_action_file_download_link.tsx | 2 +- .../public/management/hooks/index.ts | 4 +-- .../use_get_action_details.test.ts | 0 .../use_get_action_details.ts | 0 .../use_get_endpoint_action_list.test.ts | 0 .../use_get_endpoint_action_list.ts | 0 ...t_endpoint_pending_actions_summary.test.ts | 0 ...se_get_endpoint_pending_actions_summary.ts | 0 .../use_get_file_info.test.ts | 0 .../use_get_file_info.ts | 0 ...use_send_get_endpoint_processes_request.ts | 0 .../use_send_get_file_request.ts | 0 .../use_send_isolate_endpoint_request.ts | 0 .../use_send_kill_process_endpoint_request.ts | 0 .../use_send_release_endpoint_request.ts | 0 ...e_send_suspend_process_endpoint_request.ts | 0 .../use_with_show_endpoint_responder.tsx | 16 +++++------ .../view/response_actions_list_page.test.tsx | 6 ++-- .../netflow_row_renderer.test.tsx.snap | 12 ++++---- 49 files changed, 181 insertions(+), 177 deletions(-) rename x-pack/plugins/security_solution/public/management/components/endpoint_responder/{ => command_render_components}/get_file_action.tsx (84%) rename x-pack/plugins/security_solution/public/management/components/endpoint_responder/{ => command_render_components}/get_processes_action.tsx (91%) rename x-pack/plugins/security_solution/public/management/components/endpoint_responder/{ => command_render_components}/integration_tests/get_file_action.test.tsx (84%) rename x-pack/plugins/security_solution/public/management/components/endpoint_responder/{ => command_render_components}/integration_tests/get_processes_action.test.tsx (89%) rename x-pack/plugins/security_solution/public/management/components/endpoint_responder/{ => command_render_components}/integration_tests/isolate_action.test.tsx (89%) rename x-pack/plugins/security_solution/public/management/components/endpoint_responder/{ => command_render_components}/integration_tests/kill_process_action.test.tsx (92%) rename x-pack/plugins/security_solution/public/management/components/endpoint_responder/{ => command_render_components}/integration_tests/release_action.test.tsx (89%) rename x-pack/plugins/security_solution/public/management/components/endpoint_responder/{ => command_render_components}/integration_tests/suspend_process_action.test.tsx (92%) rename x-pack/plugins/security_solution/public/management/components/endpoint_responder/{ => command_render_components}/isolate_action.tsx (81%) rename x-pack/plugins/security_solution/public/management/components/endpoint_responder/{ => command_render_components}/kill_process_action.tsx (79%) rename x-pack/plugins/security_solution/public/management/components/endpoint_responder/{ => command_render_components}/release_action.tsx (81%) rename x-pack/plugins/security_solution/public/management/components/endpoint_responder/{ => command_render_components}/status_action.tsx (89%) rename x-pack/plugins/security_solution/public/management/components/endpoint_responder/{ => command_render_components}/suspend_process_action.tsx (79%) rename x-pack/plugins/security_solution/public/management/components/endpoint_responder/{ => components}/action_error.tsx (78%) rename x-pack/plugins/security_solution/public/management/components/endpoint_responder/{ => components}/action_log_button.tsx (90%) rename x-pack/plugins/security_solution/public/management/components/endpoint_responder/{ => components}/action_success.tsx (89%) rename x-pack/plugins/security_solution/public/management/components/endpoint_responder/{ => components}/header_endpoint_info.test.tsx (70%) rename x-pack/plugins/security_solution/public/management/components/endpoint_responder/{ => components}/header_endpoint_info.tsx (90%) rename x-pack/plugins/security_solution/public/management/components/endpoint_responder/{ => components}/offline_callout.test.tsx (74%) rename x-pack/plugins/security_solution/public/management/components/endpoint_responder/{ => components}/offline_callout.tsx (92%) rename x-pack/plugins/security_solution/public/management/components/endpoint_responder/{endpoint_response_actions_console_commands.ts => lib/console_commands_definition.ts} (93%) rename x-pack/plugins/security_solution/public/management/components/endpoint_responder/{ => lib}/constants.tsx (100%) rename x-pack/plugins/security_solution/public/management/components/endpoint_responder/{ => lib}/endpoint_action_response_codes.ts (100%) rename x-pack/plugins/security_solution/public/management/components/endpoint_responder/{ => lib}/get_command_about_info.tsx (100%) rename x-pack/plugins/security_solution/public/management/components/endpoint_responder/{ => lib}/utils.test.ts (100%) rename x-pack/plugins/security_solution/public/management/components/endpoint_responder/{ => lib}/utils.ts (94%) rename x-pack/plugins/security_solution/public/management/hooks/{endpoint => response_actions}/use_get_action_details.test.ts (100%) rename x-pack/plugins/security_solution/public/management/hooks/{endpoint => response_actions}/use_get_action_details.ts (100%) rename x-pack/plugins/security_solution/public/management/hooks/{endpoint => response_actions}/use_get_endpoint_action_list.test.ts (100%) rename x-pack/plugins/security_solution/public/management/hooks/{endpoint => response_actions}/use_get_endpoint_action_list.ts (100%) rename x-pack/plugins/security_solution/public/management/hooks/{endpoint => response_actions}/use_get_endpoint_pending_actions_summary.test.ts (100%) rename x-pack/plugins/security_solution/public/management/hooks/{endpoint => response_actions}/use_get_endpoint_pending_actions_summary.ts (100%) rename x-pack/plugins/security_solution/public/management/hooks/{endpoint => response_actions}/use_get_file_info.test.ts (100%) rename x-pack/plugins/security_solution/public/management/hooks/{endpoint => response_actions}/use_get_file_info.ts (100%) rename x-pack/plugins/security_solution/public/management/hooks/{endpoint => response_actions}/use_send_get_endpoint_processes_request.ts (100%) rename x-pack/plugins/security_solution/public/management/hooks/{endpoint => response_actions}/use_send_get_file_request.ts (100%) rename x-pack/plugins/security_solution/public/management/hooks/{endpoint => response_actions}/use_send_isolate_endpoint_request.ts (100%) rename x-pack/plugins/security_solution/public/management/hooks/{endpoint => response_actions}/use_send_kill_process_endpoint_request.ts (100%) rename x-pack/plugins/security_solution/public/management/hooks/{endpoint => response_actions}/use_send_release_endpoint_request.ts (100%) rename x-pack/plugins/security_solution/public/management/hooks/{endpoint => response_actions}/use_send_suspend_process_endpoint_request.ts (100%) rename x-pack/plugins/security_solution/public/management/hooks/{endpoint => }/use_with_show_endpoint_responder.tsx (80%) diff --git a/x-pack/plugins/security_solution/public/management/components/endpoint_action_failure_message/endpoint_action_failure_message.tsx b/x-pack/plugins/security_solution/public/management/components/endpoint_action_failure_message/endpoint_action_failure_message.tsx index 1e2745cb03e60..6a197890b4bf6 100644 --- a/x-pack/plugins/security_solution/public/management/components/endpoint_action_failure_message/endpoint_action_failure_message.tsx +++ b/x-pack/plugins/security_solution/public/management/components/endpoint_action_failure_message/endpoint_action_failure_message.tsx @@ -9,7 +9,7 @@ import React, { memo, useMemo } from 'react'; import { EuiSpacer } from '@elastic/eui'; import { FormattedMessage } from '@kbn/i18n-react'; import { i18n } from '@kbn/i18n'; -import { endpointActionResponseCodes } from '../endpoint_responder/endpoint_action_response_codes'; +import { endpointActionResponseCodes } from '../endpoint_responder/lib/endpoint_action_response_codes'; import type { ActionDetails, MaybeImmutable } from '../../../../common/endpoint/types'; interface EndpointActionFailureMessageProps { diff --git a/x-pack/plugins/security_solution/public/management/components/endpoint_responder/get_file_action.tsx b/x-pack/plugins/security_solution/public/management/components/endpoint_responder/command_render_components/get_file_action.tsx similarity index 84% rename from x-pack/plugins/security_solution/public/management/components/endpoint_responder/get_file_action.tsx rename to x-pack/plugins/security_solution/public/management/components/endpoint_responder/command_render_components/get_file_action.tsx index d0f090e6595c6..b65e13003c263 100644 --- a/x-pack/plugins/security_solution/public/management/components/endpoint_responder/get_file_action.tsx +++ b/x-pack/plugins/security_solution/public/management/components/endpoint_responder/command_render_components/get_file_action.tsx @@ -7,11 +7,11 @@ import React, { memo, useMemo } from 'react'; import { i18n } from '@kbn/i18n'; -import { useSendGetFileRequest } from '../../hooks/endpoint/use_send_get_file_request'; -import type { ResponseActionGetFileRequestBody } from '../../../../common/endpoint/schema/actions'; -import { useConsoleActionSubmitter } from './hooks/use_console_action_submitter'; -import type { ActionRequestComponentProps } from './types'; -import { ResponseActionFileDownloadLink } from '../response_action_file_download_link'; +import { useSendGetFileRequest } from '../../../hooks/response_actions/use_send_get_file_request'; +import type { ResponseActionGetFileRequestBody } from '../../../../../common/endpoint/schema/actions'; +import { useConsoleActionSubmitter } from '../hooks/use_console_action_submitter'; +import type { ActionRequestComponentProps } from '../types'; +import { ResponseActionFileDownloadLink } from '../../response_action_file_download_link'; export const GetFileActionResult = memo< ActionRequestComponentProps<{ diff --git a/x-pack/plugins/security_solution/public/management/components/endpoint_responder/get_processes_action.tsx b/x-pack/plugins/security_solution/public/management/components/endpoint_responder/command_render_components/get_processes_action.tsx similarity index 91% rename from x-pack/plugins/security_solution/public/management/components/endpoint_responder/get_processes_action.tsx rename to x-pack/plugins/security_solution/public/management/components/endpoint_responder/command_render_components/get_processes_action.tsx index d7b05ae721abd..81ded3d02094e 100644 --- a/x-pack/plugins/security_solution/public/management/components/endpoint_responder/get_processes_action.tsx +++ b/x-pack/plugins/security_solution/public/management/components/endpoint_responder/command_render_components/get_processes_action.tsx @@ -9,13 +9,13 @@ import React, { memo, useMemo } from 'react'; import styled from 'styled-components'; import { EuiBasicTable } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; -import { useConsoleActionSubmitter } from './hooks/use_console_action_submitter'; +import { useConsoleActionSubmitter } from '../hooks/use_console_action_submitter'; import type { GetProcessesActionOutputContent, ProcessesRequestBody, -} from '../../../../common/endpoint/types'; -import { useSendGetEndpointProcessesRequest } from '../../hooks/endpoint/use_send_get_endpoint_processes_request'; -import type { ActionRequestComponentProps } from './types'; +} from '../../../../../common/endpoint/types'; +import { useSendGetEndpointProcessesRequest } from '../../../hooks/response_actions/use_send_get_endpoint_processes_request'; +import type { ActionRequestComponentProps } from '../types'; // @ts-expect-error TS2769 const StyledEuiBasicTable = styled(EuiBasicTable)` diff --git a/x-pack/plugins/security_solution/public/management/components/endpoint_responder/integration_tests/get_file_action.test.tsx b/x-pack/plugins/security_solution/public/management/components/endpoint_responder/command_render_components/integration_tests/get_file_action.test.tsx similarity index 84% rename from x-pack/plugins/security_solution/public/management/components/endpoint_responder/integration_tests/get_file_action.test.tsx rename to x-pack/plugins/security_solution/public/management/components/endpoint_responder/command_render_components/integration_tests/get_file_action.test.tsx index d69771446038f..c2ad573616e3f 100644 --- a/x-pack/plugins/security_solution/public/management/components/endpoint_responder/integration_tests/get_file_action.test.tsx +++ b/x-pack/plugins/security_solution/public/management/components/endpoint_responder/command_render_components/integration_tests/get_file_action.test.tsx @@ -5,26 +5,26 @@ * 2.0. */ -import type { EndpointCapabilities } from '../../../../../common/endpoint/service/response_actions/constants'; -import { ENDPOINT_CAPABILITIES } from '../../../../../common/endpoint/service/response_actions/constants'; -import type { AppContextTestRender } from '../../../../common/mock/endpoint'; -import { createAppRootMockRenderer } from '../../../../common/mock/endpoint'; -import { responseActionsHttpMocks } from '../../../mocks/response_actions_http_mocks'; +import type { EndpointCapabilities } from '../../../../../../common/endpoint/service/response_actions/constants'; +import { ENDPOINT_CAPABILITIES } from '../../../../../../common/endpoint/service/response_actions/constants'; +import type { AppContextTestRender } from '../../../../../common/mock/endpoint'; +import { createAppRootMockRenderer } from '../../../../../common/mock/endpoint'; +import { responseActionsHttpMocks } from '../../../../mocks/response_actions_http_mocks'; import { ConsoleManagerTestComponent, getConsoleManagerMockRenderResultQueriesAndActions, -} from '../../console/components/console_manager/mocks'; -import { getEndpointResponseActionsConsoleCommands } from '..'; +} from '../../../console/components/console_manager/mocks'; +import { getEndpointConsoleCommands } from '../..'; import React from 'react'; -import { enterConsoleCommand } from '../../console/mocks'; +import { enterConsoleCommand } from '../../../console/mocks'; import { waitFor } from '@testing-library/react'; -import { GET_FILE_ROUTE } from '../../../../../common/endpoint/constants'; -import { getEndpointAuthzInitialStateMock } from '../../../../../common/endpoint/service/authz/mocks'; -import type { EndpointPrivileges } from '../../../../../common/endpoint/types'; -import { INSUFFICIENT_PRIVILEGES_FOR_COMMAND } from '../../../../common/translations'; +import { GET_FILE_ROUTE } from '../../../../../../common/endpoint/constants'; +import { getEndpointAuthzInitialStateMock } from '../../../../../../common/endpoint/service/authz/mocks'; +import type { EndpointPrivileges } from '../../../../../../common/endpoint/types'; +import { INSUFFICIENT_PRIVILEGES_FOR_COMMAND } from '../../../../../common/translations'; import type { HttpFetchOptionsWithPath } from '@kbn/core-http-browser'; -jest.mock('../../../../common/components/user_privileges'); +jest.mock('../../../../../common/components/user_privileges'); describe('When using get-file action from response actions console', () => { let render: ( @@ -50,7 +50,7 @@ describe('When using get-file action from response actions console', () => { return { consoleProps: { 'data-test-subj': 'test', - commands: getEndpointResponseActionsConsoleCommands({ + commands: getEndpointConsoleCommands({ endpointAgentId: 'a.b.c', endpointCapabilities: [...capabilities], endpointPrivileges, diff --git a/x-pack/plugins/security_solution/public/management/components/endpoint_responder/integration_tests/get_processes_action.test.tsx b/x-pack/plugins/security_solution/public/management/components/endpoint_responder/command_render_components/integration_tests/get_processes_action.test.tsx similarity index 89% rename from x-pack/plugins/security_solution/public/management/components/endpoint_responder/integration_tests/get_processes_action.test.tsx rename to x-pack/plugins/security_solution/public/management/components/endpoint_responder/command_render_components/integration_tests/get_processes_action.test.tsx index e39cea0b7ce1c..a99e8cdd17ef7 100644 --- a/x-pack/plugins/security_solution/public/management/components/endpoint_responder/integration_tests/get_processes_action.test.tsx +++ b/x-pack/plugins/security_solution/public/management/components/endpoint_responder/command_render_components/integration_tests/get_processes_action.test.tsx @@ -5,20 +5,20 @@ * 2.0. */ -import type { AppContextTestRender } from '../../../../common/mock/endpoint'; -import { createAppRootMockRenderer } from '../../../../common/mock/endpoint'; +import type { AppContextTestRender } from '../../../../../common/mock/endpoint'; +import { createAppRootMockRenderer } from '../../../../../common/mock/endpoint'; import { ConsoleManagerTestComponent, getConsoleManagerMockRenderResultQueriesAndActions, -} from '../../console/components/console_manager/mocks'; +} from '../../../console/components/console_manager/mocks'; import React from 'react'; -import { getEndpointResponseActionsConsoleCommands } from '../endpoint_response_actions_console_commands'; -import { responseActionsHttpMocks } from '../../../mocks/response_actions_http_mocks'; -import { enterConsoleCommand } from '../../console/mocks'; +import { getEndpointConsoleCommands } from '../../lib/console_commands_definition'; +import { responseActionsHttpMocks } from '../../../../mocks/response_actions_http_mocks'; +import { enterConsoleCommand } from '../../../console/mocks'; import { waitFor } from '@testing-library/react'; -import { getEndpointAuthzInitialState } from '../../../../../common/endpoint/service/authz'; -import type { EndpointCapabilities } from '../../../../../common/endpoint/service/response_actions/constants'; -import { ENDPOINT_CAPABILITIES } from '../../../../../common/endpoint/service/response_actions/constants'; +import { getEndpointAuthzInitialState } from '../../../../../../common/endpoint/service/authz'; +import type { EndpointCapabilities } from '../../../../../../common/endpoint/service/response_actions/constants'; +import { ENDPOINT_CAPABILITIES } from '../../../../../../common/endpoint/service/response_actions/constants'; describe('When using processes action from response actions console', () => { let render: ( @@ -42,7 +42,7 @@ describe('When using processes action from response actions console', () => { return { consoleProps: { 'data-test-subj': 'test', - commands: getEndpointResponseActionsConsoleCommands({ + commands: getEndpointConsoleCommands({ endpointAgentId: 'a.b.c', endpointCapabilities: [...capabilities], endpointPrivileges: { diff --git a/x-pack/plugins/security_solution/public/management/components/endpoint_responder/integration_tests/isolate_action.test.tsx b/x-pack/plugins/security_solution/public/management/components/endpoint_responder/command_render_components/integration_tests/isolate_action.test.tsx similarity index 89% rename from x-pack/plugins/security_solution/public/management/components/endpoint_responder/integration_tests/isolate_action.test.tsx rename to x-pack/plugins/security_solution/public/management/components/endpoint_responder/command_render_components/integration_tests/isolate_action.test.tsx index f111b7aafbff6..ab98acc5bd390 100644 --- a/x-pack/plugins/security_solution/public/management/components/endpoint_responder/integration_tests/isolate_action.test.tsx +++ b/x-pack/plugins/security_solution/public/management/components/endpoint_responder/command_render_components/integration_tests/isolate_action.test.tsx @@ -5,21 +5,21 @@ * 2.0. */ -import type { AppContextTestRender } from '../../../../common/mock/endpoint'; -import { createAppRootMockRenderer } from '../../../../common/mock/endpoint'; +import type { AppContextTestRender } from '../../../../../common/mock/endpoint'; +import { createAppRootMockRenderer } from '../../../../../common/mock/endpoint'; import { ConsoleManagerTestComponent, getConsoleManagerMockRenderResultQueriesAndActions, -} from '../../console/components/console_manager/mocks'; +} from '../../../console/components/console_manager/mocks'; import React from 'react'; -import { getEndpointResponseActionsConsoleCommands } from '../endpoint_response_actions_console_commands'; -import { responseActionsHttpMocks } from '../../../mocks/response_actions_http_mocks'; -import { enterConsoleCommand } from '../../console/mocks'; +import { getEndpointConsoleCommands } from '../../lib/console_commands_definition'; +import { responseActionsHttpMocks } from '../../../../mocks/response_actions_http_mocks'; +import { enterConsoleCommand } from '../../../console/mocks'; import { waitFor } from '@testing-library/react'; -import { getDeferred } from '../../../mocks/utils'; -import { getEndpointAuthzInitialState } from '../../../../../common/endpoint/service/authz'; -import type { EndpointCapabilities } from '../../../../../common/endpoint/service/response_actions/constants'; -import { ENDPOINT_CAPABILITIES } from '../../../../../common/endpoint/service/response_actions/constants'; +import { getDeferred } from '../../../../mocks/utils'; +import { getEndpointAuthzInitialState } from '../../../../../../common/endpoint/service/authz'; +import type { EndpointCapabilities } from '../../../../../../common/endpoint/service/response_actions/constants'; +import { ENDPOINT_CAPABILITIES } from '../../../../../../common/endpoint/service/response_actions/constants'; describe('When using isolate action from response actions console', () => { let render: ( @@ -43,7 +43,7 @@ describe('When using isolate action from response actions console', () => { return { consoleProps: { 'data-test-subj': 'test', - commands: getEndpointResponseActionsConsoleCommands({ + commands: getEndpointConsoleCommands({ endpointAgentId: 'a.b.c', endpointCapabilities: [...capabilities], endpointPrivileges: { diff --git a/x-pack/plugins/security_solution/public/management/components/endpoint_responder/integration_tests/kill_process_action.test.tsx b/x-pack/plugins/security_solution/public/management/components/endpoint_responder/command_render_components/integration_tests/kill_process_action.test.tsx similarity index 92% rename from x-pack/plugins/security_solution/public/management/components/endpoint_responder/integration_tests/kill_process_action.test.tsx rename to x-pack/plugins/security_solution/public/management/components/endpoint_responder/command_render_components/integration_tests/kill_process_action.test.tsx index 631da12cc1d3a..b6259e788224d 100644 --- a/x-pack/plugins/security_solution/public/management/components/endpoint_responder/integration_tests/kill_process_action.test.tsx +++ b/x-pack/plugins/security_solution/public/management/components/endpoint_responder/command_render_components/integration_tests/kill_process_action.test.tsx @@ -5,20 +5,20 @@ * 2.0. */ -import type { AppContextTestRender } from '../../../../common/mock/endpoint'; -import { createAppRootMockRenderer } from '../../../../common/mock/endpoint'; +import type { AppContextTestRender } from '../../../../../common/mock/endpoint'; +import { createAppRootMockRenderer } from '../../../../../common/mock/endpoint'; import { ConsoleManagerTestComponent, getConsoleManagerMockRenderResultQueriesAndActions, -} from '../../console/components/console_manager/mocks'; +} from '../../../console/components/console_manager/mocks'; import React from 'react'; -import { getEndpointResponseActionsConsoleCommands } from '../endpoint_response_actions_console_commands'; -import { enterConsoleCommand } from '../../console/mocks'; +import { getEndpointConsoleCommands } from '../../lib/console_commands_definition'; +import { enterConsoleCommand } from '../../../console/mocks'; import { waitFor } from '@testing-library/react'; -import { responseActionsHttpMocks } from '../../../mocks/response_actions_http_mocks'; -import { getEndpointAuthzInitialState } from '../../../../../common/endpoint/service/authz'; -import type { EndpointCapabilities } from '../../../../../common/endpoint/service/response_actions/constants'; -import { ENDPOINT_CAPABILITIES } from '../../../../../common/endpoint/service/response_actions/constants'; +import { responseActionsHttpMocks } from '../../../../mocks/response_actions_http_mocks'; +import { getEndpointAuthzInitialState } from '../../../../../../common/endpoint/service/authz'; +import type { EndpointCapabilities } from '../../../../../../common/endpoint/service/response_actions/constants'; +import { ENDPOINT_CAPABILITIES } from '../../../../../../common/endpoint/service/response_actions/constants'; describe('When using the kill-process action from response actions console', () => { let render: ( @@ -42,7 +42,7 @@ describe('When using the kill-process action from response actions console', () return { consoleProps: { 'data-test-subj': 'test', - commands: getEndpointResponseActionsConsoleCommands({ + commands: getEndpointConsoleCommands({ endpointAgentId: 'a.b.c', endpointCapabilities: [...capabilities], endpointPrivileges: { diff --git a/x-pack/plugins/security_solution/public/management/components/endpoint_responder/integration_tests/release_action.test.tsx b/x-pack/plugins/security_solution/public/management/components/endpoint_responder/command_render_components/integration_tests/release_action.test.tsx similarity index 89% rename from x-pack/plugins/security_solution/public/management/components/endpoint_responder/integration_tests/release_action.test.tsx rename to x-pack/plugins/security_solution/public/management/components/endpoint_responder/command_render_components/integration_tests/release_action.test.tsx index e377d23c2c145..633c82a47897f 100644 --- a/x-pack/plugins/security_solution/public/management/components/endpoint_responder/integration_tests/release_action.test.tsx +++ b/x-pack/plugins/security_solution/public/management/components/endpoint_responder/command_render_components/integration_tests/release_action.test.tsx @@ -5,21 +5,21 @@ * 2.0. */ -import type { AppContextTestRender } from '../../../../common/mock/endpoint'; -import { createAppRootMockRenderer } from '../../../../common/mock/endpoint'; +import type { AppContextTestRender } from '../../../../../common/mock/endpoint'; +import { createAppRootMockRenderer } from '../../../../../common/mock/endpoint'; import { ConsoleManagerTestComponent, getConsoleManagerMockRenderResultQueriesAndActions, -} from '../../console/components/console_manager/mocks'; +} from '../../../console/components/console_manager/mocks'; import React from 'react'; -import { getEndpointResponseActionsConsoleCommands } from '../endpoint_response_actions_console_commands'; -import { enterConsoleCommand } from '../../console/mocks'; +import { getEndpointConsoleCommands } from '../../lib/console_commands_definition'; +import { enterConsoleCommand } from '../../../console/mocks'; import { waitFor } from '@testing-library/react'; -import { responseActionsHttpMocks } from '../../../mocks/response_actions_http_mocks'; -import { getDeferred } from '../../../mocks/utils'; -import { getEndpointAuthzInitialState } from '../../../../../common/endpoint/service/authz'; -import type { EndpointCapabilities } from '../../../../../common/endpoint/service/response_actions/constants'; -import { ENDPOINT_CAPABILITIES } from '../../../../../common/endpoint/service/response_actions/constants'; +import { responseActionsHttpMocks } from '../../../../mocks/response_actions_http_mocks'; +import { getDeferred } from '../../../../mocks/utils'; +import { getEndpointAuthzInitialState } from '../../../../../../common/endpoint/service/authz'; +import type { EndpointCapabilities } from '../../../../../../common/endpoint/service/response_actions/constants'; +import { ENDPOINT_CAPABILITIES } from '../../../../../../common/endpoint/service/response_actions/constants'; describe('When using the release action from response actions console', () => { let render: ( @@ -43,7 +43,7 @@ describe('When using the release action from response actions console', () => { return { consoleProps: { 'data-test-subj': 'test', - commands: getEndpointResponseActionsConsoleCommands({ + commands: getEndpointConsoleCommands({ endpointAgentId: 'a.b.c', endpointCapabilities: [...capabilities], endpointPrivileges: { diff --git a/x-pack/plugins/security_solution/public/management/components/endpoint_responder/integration_tests/suspend_process_action.test.tsx b/x-pack/plugins/security_solution/public/management/components/endpoint_responder/command_render_components/integration_tests/suspend_process_action.test.tsx similarity index 92% rename from x-pack/plugins/security_solution/public/management/components/endpoint_responder/integration_tests/suspend_process_action.test.tsx rename to x-pack/plugins/security_solution/public/management/components/endpoint_responder/command_render_components/integration_tests/suspend_process_action.test.tsx index a41ed9fe3d6eb..f234ec1e22800 100644 --- a/x-pack/plugins/security_solution/public/management/components/endpoint_responder/integration_tests/suspend_process_action.test.tsx +++ b/x-pack/plugins/security_solution/public/management/components/endpoint_responder/command_render_components/integration_tests/suspend_process_action.test.tsx @@ -5,20 +5,20 @@ * 2.0. */ -import type { AppContextTestRender } from '../../../../common/mock/endpoint'; -import { createAppRootMockRenderer } from '../../../../common/mock/endpoint'; +import type { AppContextTestRender } from '../../../../../common/mock/endpoint'; +import { createAppRootMockRenderer } from '../../../../../common/mock/endpoint'; import { ConsoleManagerTestComponent, getConsoleManagerMockRenderResultQueriesAndActions, -} from '../../console/components/console_manager/mocks'; +} from '../../../console/components/console_manager/mocks'; import React from 'react'; -import { getEndpointResponseActionsConsoleCommands } from '../endpoint_response_actions_console_commands'; -import { enterConsoleCommand } from '../../console/mocks'; +import { getEndpointConsoleCommands } from '../../lib/console_commands_definition'; +import { enterConsoleCommand } from '../../../console/mocks'; import { waitFor } from '@testing-library/react'; -import { responseActionsHttpMocks } from '../../../mocks/response_actions_http_mocks'; -import { getEndpointAuthzInitialState } from '../../../../../common/endpoint/service/authz'; -import type { EndpointCapabilities } from '../../../../../common/endpoint/service/response_actions/constants'; -import { ENDPOINT_CAPABILITIES } from '../../../../../common/endpoint/service/response_actions/constants'; +import { responseActionsHttpMocks } from '../../../../mocks/response_actions_http_mocks'; +import { getEndpointAuthzInitialState } from '../../../../../../common/endpoint/service/authz'; +import type { EndpointCapabilities } from '../../../../../../common/endpoint/service/response_actions/constants'; +import { ENDPOINT_CAPABILITIES } from '../../../../../../common/endpoint/service/response_actions/constants'; describe('When using the suspend-process action from response actions console', () => { let render: ( @@ -42,7 +42,7 @@ describe('When using the suspend-process action from response actions console', return { consoleProps: { 'data-test-subj': 'test', - commands: getEndpointResponseActionsConsoleCommands({ + commands: getEndpointConsoleCommands({ endpointAgentId: 'a.b.c', endpointCapabilities: [...capabilities], endpointPrivileges: { diff --git a/x-pack/plugins/security_solution/public/management/components/endpoint_responder/isolate_action.tsx b/x-pack/plugins/security_solution/public/management/components/endpoint_responder/command_render_components/isolate_action.tsx similarity index 81% rename from x-pack/plugins/security_solution/public/management/components/endpoint_responder/isolate_action.tsx rename to x-pack/plugins/security_solution/public/management/components/endpoint_responder/command_render_components/isolate_action.tsx index 8df7692cf3ac2..84bc9b9a6cae9 100644 --- a/x-pack/plugins/security_solution/public/management/components/endpoint_responder/isolate_action.tsx +++ b/x-pack/plugins/security_solution/public/management/components/endpoint_responder/command_render_components/isolate_action.tsx @@ -6,9 +6,9 @@ */ import { memo, useMemo } from 'react'; -import { useConsoleActionSubmitter } from './hooks/use_console_action_submitter'; -import type { ActionRequestComponentProps } from './types'; -import { useSendIsolateEndpointRequest } from '../../hooks/endpoint/use_send_isolate_endpoint_request'; +import { useConsoleActionSubmitter } from '../hooks/use_console_action_submitter'; +import type { ActionRequestComponentProps } from '../types'; +import { useSendIsolateEndpointRequest } from '../../../hooks/response_actions/use_send_isolate_endpoint_request'; export const IsolateActionResult = memo( ({ command, setStore, store, status, setStatus, ResultComponent }) => { diff --git a/x-pack/plugins/security_solution/public/management/components/endpoint_responder/kill_process_action.tsx b/x-pack/plugins/security_solution/public/management/components/endpoint_responder/command_render_components/kill_process_action.tsx similarity index 79% rename from x-pack/plugins/security_solution/public/management/components/endpoint_responder/kill_process_action.tsx rename to x-pack/plugins/security_solution/public/management/components/endpoint_responder/command_render_components/kill_process_action.tsx index bf501c31b9e85..657b6847e7839 100644 --- a/x-pack/plugins/security_solution/public/management/components/endpoint_responder/kill_process_action.tsx +++ b/x-pack/plugins/security_solution/public/management/components/endpoint_responder/command_render_components/kill_process_action.tsx @@ -6,11 +6,11 @@ */ import { memo, useMemo } from 'react'; -import type { KillOrSuspendProcessRequestBody } from '../../../../common/endpoint/types'; -import { parsedPidOrEntityIdParameter } from './utils'; -import { useSendKillProcessRequest } from '../../hooks/endpoint/use_send_kill_process_endpoint_request'; -import type { ActionRequestComponentProps } from './types'; -import { useConsoleActionSubmitter } from './hooks/use_console_action_submitter'; +import type { KillOrSuspendProcessRequestBody } from '../../../../../common/endpoint/types'; +import { parsedPidOrEntityIdParameter } from '../lib/utils'; +import { useSendKillProcessRequest } from '../../../hooks/response_actions/use_send_kill_process_endpoint_request'; +import type { ActionRequestComponentProps } from '../types'; +import { useConsoleActionSubmitter } from '../hooks/use_console_action_submitter'; export const KillProcessActionResult = memo< ActionRequestComponentProps<{ pid?: string[]; entityId?: string[] }> diff --git a/x-pack/plugins/security_solution/public/management/components/endpoint_responder/release_action.tsx b/x-pack/plugins/security_solution/public/management/components/endpoint_responder/command_render_components/release_action.tsx similarity index 81% rename from x-pack/plugins/security_solution/public/management/components/endpoint_responder/release_action.tsx rename to x-pack/plugins/security_solution/public/management/components/endpoint_responder/command_render_components/release_action.tsx index 9b0f371ca003f..b0f2db75b7986 100644 --- a/x-pack/plugins/security_solution/public/management/components/endpoint_responder/release_action.tsx +++ b/x-pack/plugins/security_solution/public/management/components/endpoint_responder/command_render_components/release_action.tsx @@ -6,9 +6,9 @@ */ import { memo, useMemo } from 'react'; -import type { ActionRequestComponentProps } from './types'; -import { useSendReleaseEndpointRequest } from '../../hooks/endpoint/use_send_release_endpoint_request'; -import { useConsoleActionSubmitter } from './hooks/use_console_action_submitter'; +import type { ActionRequestComponentProps } from '../types'; +import { useSendReleaseEndpointRequest } from '../../../hooks/response_actions/use_send_release_endpoint_request'; +import { useConsoleActionSubmitter } from '../hooks/use_console_action_submitter'; export const ReleaseActionResult = memo( ({ command, setStore, store, status, setStatus, ResultComponent }) => { diff --git a/x-pack/plugins/security_solution/public/management/components/endpoint_responder/status_action.tsx b/x-pack/plugins/security_solution/public/management/components/endpoint_responder/command_render_components/status_action.tsx similarity index 89% rename from x-pack/plugins/security_solution/public/management/components/endpoint_responder/status_action.tsx rename to x-pack/plugins/security_solution/public/management/components/endpoint_responder/command_render_components/status_action.tsx index b75a480765844..342e7654ec390 100644 --- a/x-pack/plugins/security_solution/public/management/components/endpoint_responder/status_action.tsx +++ b/x-pack/plugins/security_solution/public/management/components/endpoint_responder/command_render_components/status_action.tsx @@ -7,20 +7,20 @@ import React, { memo, useEffect, useMemo, useCallback } from 'react'; import { EuiDescriptionList } from '@elastic/eui'; +import { v4 as uuidV4 } from 'uuid'; import { i18n } from '@kbn/i18n'; import type { IHttpFetchError } from '@kbn/core-http-browser'; -import { v4 as uuidV4 } from 'uuid'; -import type { HostInfo, PendingActionsResponse } from '../../../../common/endpoint/types'; -import type { EndpointCommandDefinitionMeta } from './types'; -import type { EndpointHostIsolationStatusProps } from '../../../common/components/endpoint/host_isolation'; -import { useGetEndpointPendingActionsSummary } from '../../hooks/endpoint/use_get_endpoint_pending_actions_summary'; -import { FormattedDate } from '../../../common/components/formatted_date'; -import { useGetEndpointDetails } from '../../hooks'; -import type { CommandExecutionComponentProps } from '../console/types'; -import { FormattedError } from '../formatted_error'; -import { ConsoleCodeBlock } from '../console/components/console_code_block'; -import { POLICY_STATUS_TO_TEXT } from '../../pages/endpoint_hosts/view/host_constants'; -import { getAgentStatusText } from '../../../common/components/endpoint/agent_status_text'; +import type { HostInfo, PendingActionsResponse } from '../../../../../common/endpoint/types'; +import type { EndpointCommandDefinitionMeta } from '../types'; +import type { EndpointHostIsolationStatusProps } from '../../../../common/components/endpoint/host_isolation'; +import { useGetEndpointPendingActionsSummary } from '../../../hooks/response_actions/use_get_endpoint_pending_actions_summary'; +import { FormattedDate } from '../../../../common/components/formatted_date'; +import { useGetEndpointDetails } from '../../../hooks'; +import type { CommandExecutionComponentProps } from '../../console/types'; +import { FormattedError } from '../../formatted_error'; +import { ConsoleCodeBlock } from '../../console/components/console_code_block'; +import { POLICY_STATUS_TO_TEXT } from '../../../pages/endpoint_hosts/view/host_constants'; +import { getAgentStatusText } from '../../../../common/components/endpoint/agent_status_text'; export const EndpointStatusActionResult = memo< CommandExecutionComponentProps< diff --git a/x-pack/plugins/security_solution/public/management/components/endpoint_responder/suspend_process_action.tsx b/x-pack/plugins/security_solution/public/management/components/endpoint_responder/command_render_components/suspend_process_action.tsx similarity index 79% rename from x-pack/plugins/security_solution/public/management/components/endpoint_responder/suspend_process_action.tsx rename to x-pack/plugins/security_solution/public/management/components/endpoint_responder/command_render_components/suspend_process_action.tsx index f8401a81fa114..02b125294a66a 100644 --- a/x-pack/plugins/security_solution/public/management/components/endpoint_responder/suspend_process_action.tsx +++ b/x-pack/plugins/security_solution/public/management/components/endpoint_responder/command_render_components/suspend_process_action.tsx @@ -6,14 +6,14 @@ */ import { memo, useMemo } from 'react'; -import { parsedPidOrEntityIdParameter } from './utils'; +import { parsedPidOrEntityIdParameter } from '../lib/utils'; import type { SuspendProcessActionOutputContent, KillOrSuspendProcessRequestBody, -} from '../../../../common/endpoint/types'; -import { useSendSuspendProcessRequest } from '../../hooks/endpoint/use_send_suspend_process_endpoint_request'; -import type { ActionRequestComponentProps } from './types'; -import { useConsoleActionSubmitter } from './hooks/use_console_action_submitter'; +} from '../../../../../common/endpoint/types'; +import { useSendSuspendProcessRequest } from '../../../hooks/response_actions/use_send_suspend_process_endpoint_request'; +import type { ActionRequestComponentProps } from '../types'; +import { useConsoleActionSubmitter } from '../hooks/use_console_action_submitter'; export const SuspendProcessActionResult = memo< ActionRequestComponentProps<{ pid?: string[]; entityId?: string[] }> diff --git a/x-pack/plugins/security_solution/public/management/components/endpoint_responder/action_error.tsx b/x-pack/plugins/security_solution/public/management/components/endpoint_responder/components/action_error.tsx similarity index 78% rename from x-pack/plugins/security_solution/public/management/components/endpoint_responder/action_error.tsx rename to x-pack/plugins/security_solution/public/management/components/endpoint_responder/components/action_error.tsx index 3060f76247cb9..ed3fa1928fbcd 100644 --- a/x-pack/plugins/security_solution/public/management/components/endpoint_responder/action_error.tsx +++ b/x-pack/plugins/security_solution/public/management/components/endpoint_responder/components/action_error.tsx @@ -6,9 +6,9 @@ */ import React, { memo } from 'react'; -import { EndpointActionFailureMessage } from '../endpoint_action_failure_message'; -import type { CommandExecutionResultComponent } from '../console/components/command_execution_result'; -import type { ActionDetails, MaybeImmutable } from '../../../../common/endpoint/types'; +import { EndpointActionFailureMessage } from '../../endpoint_action_failure_message'; +import type { CommandExecutionResultComponent } from '../../console/components/command_execution_result'; +import type { ActionDetails, MaybeImmutable } from '../../../../../common/endpoint/types'; export const ActionError = memo<{ action: MaybeImmutable; diff --git a/x-pack/plugins/security_solution/public/management/components/endpoint_responder/action_log_button.tsx b/x-pack/plugins/security_solution/public/management/components/endpoint_responder/components/action_log_button.tsx similarity index 90% rename from x-pack/plugins/security_solution/public/management/components/endpoint_responder/action_log_button.tsx rename to x-pack/plugins/security_solution/public/management/components/endpoint_responder/components/action_log_button.tsx index 655bc0a6c8911..79307689033dd 100644 --- a/x-pack/plugins/security_solution/public/management/components/endpoint_responder/action_log_button.tsx +++ b/x-pack/plugins/security_solution/public/management/components/endpoint_responder/components/action_log_button.tsx @@ -8,9 +8,9 @@ import React, { memo, useCallback, useState } from 'react'; import { EuiButton, EuiFlyout, EuiFlyoutBody, EuiFlyoutHeader, EuiTitle } from '@elastic/eui'; import { FormattedMessage } from '@kbn/i18n-react'; -import type { EndpointResponderExtensionComponentProps } from './types'; -import { ResponseActionsLog } from '../endpoint_response_actions_list/response_actions_log'; -import { UX_MESSAGES } from '../endpoint_response_actions_list/translations'; +import type { EndpointResponderExtensionComponentProps } from '../types'; +import { ResponseActionsLog } from '../../endpoint_response_actions_list/response_actions_log'; +import { UX_MESSAGES } from '../../endpoint_response_actions_list/translations'; export const ActionLogButton = memo((props) => { const [showActionLogFlyout, setShowActionLogFlyout] = useState(false); diff --git a/x-pack/plugins/security_solution/public/management/components/endpoint_responder/action_success.tsx b/x-pack/plugins/security_solution/public/management/components/endpoint_responder/components/action_success.tsx similarity index 89% rename from x-pack/plugins/security_solution/public/management/components/endpoint_responder/action_success.tsx rename to x-pack/plugins/security_solution/public/management/components/endpoint_responder/components/action_success.tsx index 183fb2fe5d67b..9f7a22ece8721 100644 --- a/x-pack/plugins/security_solution/public/management/components/endpoint_responder/action_success.tsx +++ b/x-pack/plugins/security_solution/public/management/components/endpoint_responder/components/action_success.tsx @@ -6,9 +6,9 @@ */ import React, { memo, useMemo } from 'react'; -import { endpointActionResponseCodes } from './endpoint_action_response_codes'; -import type { ActionDetails, MaybeImmutable } from '../../../../common/endpoint/types'; -import type { CommandExecutionResultComponent, CommandExecutionResultProps } from '../console'; +import { endpointActionResponseCodes } from '../lib/endpoint_action_response_codes'; +import type { ActionDetails, MaybeImmutable } from '../../../../../common/endpoint/types'; +import type { CommandExecutionResultComponent, CommandExecutionResultProps } from '../../console'; export interface ActionSuccessProps extends CommandExecutionResultProps { action: MaybeImmutable>; diff --git a/x-pack/plugins/security_solution/public/management/components/endpoint_responder/header_endpoint_info.test.tsx b/x-pack/plugins/security_solution/public/management/components/endpoint_responder/components/header_endpoint_info.test.tsx similarity index 70% rename from x-pack/plugins/security_solution/public/management/components/endpoint_responder/header_endpoint_info.test.tsx rename to x-pack/plugins/security_solution/public/management/components/endpoint_responder/components/header_endpoint_info.test.tsx index 550b677d4d938..78667399f04d9 100644 --- a/x-pack/plugins/security_solution/public/management/components/endpoint_responder/header_endpoint_info.test.tsx +++ b/x-pack/plugins/security_solution/public/management/components/endpoint_responder/components/header_endpoint_info.test.tsx @@ -6,17 +6,17 @@ */ import React from 'react'; -import { EndpointActionGenerator } from '../../../../common/endpoint/data_generators/endpoint_action_generator'; -import type { HostInfo } from '../../../../common/endpoint/types'; -import type { AppContextTestRender } from '../../../common/mock/endpoint'; -import { createAppRootMockRenderer } from '../../../common/mock/endpoint'; -import { useGetEndpointDetails } from '../../hooks/endpoint/use_get_endpoint_details'; -import { useGetEndpointPendingActionsSummary } from '../../hooks/endpoint/use_get_endpoint_pending_actions_summary'; -import { mockEndpointDetailsApiResult } from '../../pages/endpoint_hosts/store/mock_endpoint_result_list'; +import { EndpointActionGenerator } from '../../../../../common/endpoint/data_generators/endpoint_action_generator'; +import type { HostInfo } from '../../../../../common/endpoint/types'; +import type { AppContextTestRender } from '../../../../common/mock/endpoint'; +import { createAppRootMockRenderer } from '../../../../common/mock/endpoint'; +import { useGetEndpointDetails } from '../../../hooks/endpoint/use_get_endpoint_details'; +import { useGetEndpointPendingActionsSummary } from '../../../hooks/response_actions/use_get_endpoint_pending_actions_summary'; +import { mockEndpointDetailsApiResult } from '../../../pages/endpoint_hosts/store/mock_endpoint_result_list'; import { HeaderEndpointInfo } from './header_endpoint_info'; -jest.mock('../../hooks/endpoint/use_get_endpoint_details'); -jest.mock('../../hooks/endpoint/use_get_endpoint_pending_actions_summary'); +jest.mock('../../../hooks/endpoint/use_get_endpoint_details'); +jest.mock('../../../hooks/response_actions/use_get_endpoint_pending_actions_summary'); const getEndpointDetails = useGetEndpointDetails as jest.Mock; const getPendingActions = useGetEndpointPendingActionsSummary as jest.Mock; diff --git a/x-pack/plugins/security_solution/public/management/components/endpoint_responder/header_endpoint_info.tsx b/x-pack/plugins/security_solution/public/management/components/endpoint_responder/components/header_endpoint_info.tsx similarity index 90% rename from x-pack/plugins/security_solution/public/management/components/endpoint_responder/header_endpoint_info.tsx rename to x-pack/plugins/security_solution/public/management/components/endpoint_responder/components/header_endpoint_info.tsx index 296b98d2e9fbb..37bfb77ce8a96 100644 --- a/x-pack/plugins/security_solution/public/management/components/endpoint_responder/header_endpoint_info.tsx +++ b/x-pack/plugins/security_solution/public/management/components/endpoint_responder/components/header_endpoint_info.tsx @@ -15,10 +15,10 @@ import { EuiSpacer, } from '@elastic/eui'; import { FormattedMessage, FormattedRelative } from '@kbn/i18n-react'; -import { useGetEndpointDetails } from '../../hooks/endpoint/use_get_endpoint_details'; -import { useGetEndpointPendingActionsSummary } from '../../hooks/endpoint/use_get_endpoint_pending_actions_summary'; -import type { EndpointHostIsolationStatusProps } from '../../../common/components/endpoint/host_isolation'; -import { EndpointAgentAndIsolationStatus } from '../endpoint_agent_and_isolation_status'; +import { useGetEndpointDetails } from '../../../hooks/endpoint/use_get_endpoint_details'; +import type { EndpointHostIsolationStatusProps } from '../../../../common/components/endpoint/host_isolation'; +import { EndpointAgentAndIsolationStatus } from '../../endpoint_agent_and_isolation_status'; +import { useGetEndpointPendingActionsSummary } from '../../../hooks/response_actions/use_get_endpoint_pending_actions_summary'; interface HeaderEndpointInfoProps { endpointId: string; diff --git a/x-pack/plugins/security_solution/public/management/components/endpoint_responder/offline_callout.test.tsx b/x-pack/plugins/security_solution/public/management/components/endpoint_responder/components/offline_callout.test.tsx similarity index 74% rename from x-pack/plugins/security_solution/public/management/components/endpoint_responder/offline_callout.test.tsx rename to x-pack/plugins/security_solution/public/management/components/endpoint_responder/components/offline_callout.test.tsx index 2b71c4f6e74b4..b5124eaae1228 100644 --- a/x-pack/plugins/security_solution/public/management/components/endpoint_responder/offline_callout.test.tsx +++ b/x-pack/plugins/security_solution/public/management/components/endpoint_responder/components/offline_callout.test.tsx @@ -6,15 +6,15 @@ */ import React from 'react'; -import type { HostInfo } from '../../../../common/endpoint/types'; -import { HostStatus } from '../../../../common/endpoint/types'; -import type { AppContextTestRender } from '../../../common/mock/endpoint'; -import { createAppRootMockRenderer } from '../../../common/mock/endpoint'; -import { useGetEndpointDetails } from '../../hooks/endpoint/use_get_endpoint_details'; -import { mockEndpointDetailsApiResult } from '../../pages/endpoint_hosts/store/mock_endpoint_result_list'; +import type { HostInfo } from '../../../../../common/endpoint/types'; +import { HostStatus } from '../../../../../common/endpoint/types'; +import type { AppContextTestRender } from '../../../../common/mock/endpoint'; +import { createAppRootMockRenderer } from '../../../../common/mock/endpoint'; +import { useGetEndpointDetails } from '../../../hooks/endpoint/use_get_endpoint_details'; +import { mockEndpointDetailsApiResult } from '../../../pages/endpoint_hosts/store/mock_endpoint_result_list'; import { OfflineCallout } from './offline_callout'; -jest.mock('../../hooks/endpoint/use_get_endpoint_details'); +jest.mock('../../../hooks/endpoint/use_get_endpoint_details'); const getEndpointDetails = useGetEndpointDetails as jest.Mock; diff --git a/x-pack/plugins/security_solution/public/management/components/endpoint_responder/offline_callout.tsx b/x-pack/plugins/security_solution/public/management/components/endpoint_responder/components/offline_callout.tsx similarity index 92% rename from x-pack/plugins/security_solution/public/management/components/endpoint_responder/offline_callout.tsx rename to x-pack/plugins/security_solution/public/management/components/endpoint_responder/components/offline_callout.tsx index 70d89c6b66a4d..ed00a3c5ac338 100644 --- a/x-pack/plugins/security_solution/public/management/components/endpoint_responder/offline_callout.tsx +++ b/x-pack/plugins/security_solution/public/management/components/endpoint_responder/components/offline_callout.tsx @@ -9,8 +9,8 @@ import React, { memo } from 'react'; import { EuiCallOut, EuiSpacer } from '@elastic/eui'; import { FormattedMessage } from '@kbn/i18n-react'; import { i18n } from '@kbn/i18n'; -import { useGetEndpointDetails } from '../../hooks'; -import { HostStatus } from '../../../../common/endpoint/types'; +import { useGetEndpointDetails } from '../../../hooks'; +import { HostStatus } from '../../../../../common/endpoint/types'; interface OfflineCalloutProps { endpointId: string; diff --git a/x-pack/plugins/security_solution/public/management/components/endpoint_responder/hooks/use_console_action_submitter.tsx b/x-pack/plugins/security_solution/public/management/components/endpoint_responder/hooks/use_console_action_submitter.tsx index 98f8954f0dd65..17cffff683411 100644 --- a/x-pack/plugins/security_solution/public/management/components/endpoint_responder/hooks/use_console_action_submitter.tsx +++ b/x-pack/plugins/security_solution/public/management/components/endpoint_responder/hooks/use_console_action_submitter.tsx @@ -12,11 +12,11 @@ import { FormattedMessage } from '@kbn/i18n-react'; import { useIsMounted } from '@kbn/securitysolution-hook-utils'; import { useTestIdGenerator } from '../../../hooks/use_test_id_generator'; import type { BaseActionRequestBody } from '../../../../../common/endpoint/schema/actions'; -import { ActionSuccess } from '../action_success'; -import { ActionError } from '../action_error'; +import { ActionSuccess } from '../components/action_success'; +import { ActionError } from '../components/action_error'; import { FormattedError } from '../../formatted_error'; -import { useGetActionDetails } from '../../../hooks/endpoint/use_get_action_details'; -import { ACTION_DETAILS_REFRESH_INTERVAL } from '../constants'; +import { useGetActionDetails } from '../../../hooks/response_actions/use_get_action_details'; +import { ACTION_DETAILS_REFRESH_INTERVAL } from '../lib/constants'; import type { ActionDetails, Immutable, diff --git a/x-pack/plugins/security_solution/public/management/components/endpoint_responder/index.ts b/x-pack/plugins/security_solution/public/management/components/endpoint_responder/index.ts index 35b632d1ea4ee..2fb9c4fd76941 100644 --- a/x-pack/plugins/security_solution/public/management/components/endpoint_responder/index.ts +++ b/x-pack/plugins/security_solution/public/management/components/endpoint_responder/index.ts @@ -5,5 +5,7 @@ * 2.0. */ -export { getEndpointResponseActionsConsoleCommands } from './endpoint_response_actions_console_commands'; -export { ActionLogButton } from './action_log_button'; +export { getEndpointConsoleCommands } from './lib/console_commands_definition'; +export { ActionLogButton } from './components/action_log_button'; +export { HeaderEndpointInfo } from './components/header_endpoint_info'; +export { OfflineCallout } from './components/offline_callout'; 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/lib/console_commands_definition.ts similarity index 93% rename from x-pack/plugins/security_solution/public/management/components/endpoint_responder/endpoint_response_actions_console_commands.ts rename to x-pack/plugins/security_solution/public/management/components/endpoint_responder/lib/console_commands_definition.ts index 1b4768c13d143..b74304a21280a 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/lib/console_commands_definition.ts @@ -9,21 +9,21 @@ import { i18n } from '@kbn/i18n'; import type { EndpointCapabilities, ConsoleResponseActionCommands, -} from '../../../../common/endpoint/service/response_actions/constants'; -import { GetFileActionResult } from './get_file_action'; -import type { Command, CommandDefinition } from '../console'; -import { IsolateActionResult } from './isolate_action'; -import { ReleaseActionResult } from './release_action'; -import { KillProcessActionResult } from './kill_process_action'; -import { SuspendProcessActionResult } from './suspend_process_action'; -import { EndpointStatusActionResult } from './status_action'; -import { GetProcessesActionResult } from './get_processes_action'; -import type { ParsedArgData } from '../console/service/parsed_command_input'; -import type { EndpointPrivileges, ImmutableArray } from '../../../../common/endpoint/types'; +} from '../../../../../common/endpoint/service/response_actions/constants'; +import { GetFileActionResult } from '../command_render_components/get_file_action'; +import type { Command, CommandDefinition } from '../../console'; +import { IsolateActionResult } from '../command_render_components/isolate_action'; +import { ReleaseActionResult } from '../command_render_components/release_action'; +import { KillProcessActionResult } from '../command_render_components/kill_process_action'; +import { SuspendProcessActionResult } from '../command_render_components/suspend_process_action'; +import { EndpointStatusActionResult } from '../command_render_components/status_action'; +import { GetProcessesActionResult } from '../command_render_components/get_processes_action'; +import type { ParsedArgData } from '../../console/service/parsed_command_input'; +import type { EndpointPrivileges, ImmutableArray } from '../../../../../common/endpoint/types'; import { INSUFFICIENT_PRIVILEGES_FOR_COMMAND, UPGRADE_ENDPOINT_FOR_RESPONDER, -} from '../../../common/translations'; +} from '../../../../common/translations'; import { getCommandAboutInfo } from './get_command_about_info'; const emptyArgumentValidator = (argData: ParsedArgData): true | string => { @@ -125,7 +125,7 @@ const COMMENT_ARG_ABOUT = i18n.translate( { defaultMessage: 'A comment to go along with the action' } ); -export const getEndpointResponseActionsConsoleCommands = ({ +export const getEndpointConsoleCommands = ({ endpointAgentId, endpointCapabilities, endpointPrivileges, diff --git a/x-pack/plugins/security_solution/public/management/components/endpoint_responder/constants.tsx b/x-pack/plugins/security_solution/public/management/components/endpoint_responder/lib/constants.tsx similarity index 100% rename from x-pack/plugins/security_solution/public/management/components/endpoint_responder/constants.tsx rename to x-pack/plugins/security_solution/public/management/components/endpoint_responder/lib/constants.tsx diff --git a/x-pack/plugins/security_solution/public/management/components/endpoint_responder/endpoint_action_response_codes.ts b/x-pack/plugins/security_solution/public/management/components/endpoint_responder/lib/endpoint_action_response_codes.ts similarity index 100% rename from x-pack/plugins/security_solution/public/management/components/endpoint_responder/endpoint_action_response_codes.ts rename to x-pack/plugins/security_solution/public/management/components/endpoint_responder/lib/endpoint_action_response_codes.ts diff --git a/x-pack/plugins/security_solution/public/management/components/endpoint_responder/get_command_about_info.tsx b/x-pack/plugins/security_solution/public/management/components/endpoint_responder/lib/get_command_about_info.tsx similarity index 100% rename from x-pack/plugins/security_solution/public/management/components/endpoint_responder/get_command_about_info.tsx rename to x-pack/plugins/security_solution/public/management/components/endpoint_responder/lib/get_command_about_info.tsx index 3a973defa2d0c..5f3261d312d2b 100644 --- a/x-pack/plugins/security_solution/public/management/components/endpoint_responder/get_command_about_info.tsx +++ b/x-pack/plugins/security_solution/public/management/components/endpoint_responder/lib/get_command_about_info.tsx @@ -6,8 +6,8 @@ */ import React from 'react'; -import { i18n } from '@kbn/i18n'; import { EuiIconTip } from '@elastic/eui'; +import { i18n } from '@kbn/i18n'; const UNSUPPORTED_COMMAND_INFO = i18n.translate( 'xpack.securitySolution.endpointConsoleCommands.suspendProcess.unsupportedCommandInfo', diff --git a/x-pack/plugins/security_solution/public/management/components/endpoint_responder/utils.test.ts b/x-pack/plugins/security_solution/public/management/components/endpoint_responder/lib/utils.test.ts similarity index 100% rename from x-pack/plugins/security_solution/public/management/components/endpoint_responder/utils.test.ts rename to x-pack/plugins/security_solution/public/management/components/endpoint_responder/lib/utils.test.ts diff --git a/x-pack/plugins/security_solution/public/management/components/endpoint_responder/utils.ts b/x-pack/plugins/security_solution/public/management/components/endpoint_responder/lib/utils.ts similarity index 94% rename from x-pack/plugins/security_solution/public/management/components/endpoint_responder/utils.ts rename to x-pack/plugins/security_solution/public/management/components/endpoint_responder/lib/utils.ts index 0b8e59d0353f7..d1d16b72a426c 100644 --- a/x-pack/plugins/security_solution/public/management/components/endpoint_responder/utils.ts +++ b/x-pack/plugins/security_solution/public/management/components/endpoint_responder/lib/utils.ts @@ -4,7 +4,7 @@ * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ -import type { ResponseActionParametersWithPidOrEntityId } from '../../../../common/endpoint/types'; +import type { ResponseActionParametersWithPidOrEntityId } from '../../../../../common/endpoint/types'; export const parsedPidOrEntityIdParameter = (parameters: { pid?: string[]; diff --git a/x-pack/plugins/security_solution/public/management/components/endpoint_response_actions_list/response_actions_log.test.tsx b/x-pack/plugins/security_solution/public/management/components/endpoint_response_actions_list/response_actions_log.test.tsx index 01d19867d4212..ea6cbffd830ef 100644 --- a/x-pack/plugins/security_solution/public/management/components/endpoint_response_actions_list/response_actions_log.test.tsx +++ b/x-pack/plugins/security_solution/public/management/components/endpoint_response_actions_list/response_actions_log.test.tsx @@ -30,8 +30,8 @@ let mockUseGetEndpointActionList: { data?: ActionListApiResponse; refetch: () => unknown; }; -jest.mock('../../hooks/endpoint/use_get_endpoint_action_list', () => { - const original = jest.requireActual('../../hooks/endpoint/use_get_endpoint_action_list'); +jest.mock('../../hooks/response_actions/use_get_endpoint_action_list', () => { + const original = jest.requireActual('../../hooks/response_actions/use_get_endpoint_action_list'); return { ...original, useGetEndpointActionList: () => mockUseGetEndpointActionList, diff --git a/x-pack/plugins/security_solution/public/management/components/response_action_file_download_link/response_action_file_download_link.tsx b/x-pack/plugins/security_solution/public/management/components/response_action_file_download_link/response_action_file_download_link.tsx index 20701ff555593..3d9f419749691 100644 --- a/x-pack/plugins/security_solution/public/management/components/response_action_file_download_link/response_action_file_download_link.tsx +++ b/x-pack/plugins/security_solution/public/management/components/response_action_file_download_link/response_action_file_download_link.tsx @@ -18,7 +18,7 @@ import { i18n } from '@kbn/i18n'; import moment from 'moment'; import { resolvePathVariables } from '../../../common/utils/resolve_path_variables'; import { FormattedError } from '../formatted_error'; -import { useGetFileInfo } from '../../hooks/endpoint/use_get_file_info'; +import { useGetFileInfo } from '../../hooks/response_actions/use_get_file_info'; import { useUserPrivileges } from '../../../common/components/user_privileges'; import { useTestIdGenerator } from '../../hooks/use_test_id_generator'; import type { MaybeImmutable } from '../../../../common/endpoint/types'; diff --git a/x-pack/plugins/security_solution/public/management/hooks/index.ts b/x-pack/plugins/security_solution/public/management/hooks/index.ts index cf4e99180f0ca..b439bcffb8874 100644 --- a/x-pack/plugins/security_solution/public/management/hooks/index.ts +++ b/x-pack/plugins/security_solution/public/management/hooks/index.ts @@ -6,5 +6,5 @@ */ export { useGetEndpointDetails } from './endpoint/use_get_endpoint_details'; -export { useWithShowEndpointResponder } from './endpoint/use_with_show_endpoint_responder'; -export { useGetEndpointActionList } from './endpoint/use_get_endpoint_action_list'; +export { useWithShowEndpointResponder } from './use_with_show_endpoint_responder'; +export { useGetEndpointActionList } from './response_actions/use_get_endpoint_action_list'; diff --git a/x-pack/plugins/security_solution/public/management/hooks/endpoint/use_get_action_details.test.ts b/x-pack/plugins/security_solution/public/management/hooks/response_actions/use_get_action_details.test.ts similarity index 100% rename from x-pack/plugins/security_solution/public/management/hooks/endpoint/use_get_action_details.test.ts rename to x-pack/plugins/security_solution/public/management/hooks/response_actions/use_get_action_details.test.ts diff --git a/x-pack/plugins/security_solution/public/management/hooks/endpoint/use_get_action_details.ts b/x-pack/plugins/security_solution/public/management/hooks/response_actions/use_get_action_details.ts similarity index 100% rename from x-pack/plugins/security_solution/public/management/hooks/endpoint/use_get_action_details.ts rename to x-pack/plugins/security_solution/public/management/hooks/response_actions/use_get_action_details.ts diff --git a/x-pack/plugins/security_solution/public/management/hooks/endpoint/use_get_endpoint_action_list.test.ts b/x-pack/plugins/security_solution/public/management/hooks/response_actions/use_get_endpoint_action_list.test.ts similarity index 100% rename from x-pack/plugins/security_solution/public/management/hooks/endpoint/use_get_endpoint_action_list.test.ts rename to x-pack/plugins/security_solution/public/management/hooks/response_actions/use_get_endpoint_action_list.test.ts diff --git a/x-pack/plugins/security_solution/public/management/hooks/endpoint/use_get_endpoint_action_list.ts b/x-pack/plugins/security_solution/public/management/hooks/response_actions/use_get_endpoint_action_list.ts similarity index 100% rename from x-pack/plugins/security_solution/public/management/hooks/endpoint/use_get_endpoint_action_list.ts rename to x-pack/plugins/security_solution/public/management/hooks/response_actions/use_get_endpoint_action_list.ts diff --git a/x-pack/plugins/security_solution/public/management/hooks/endpoint/use_get_endpoint_pending_actions_summary.test.ts b/x-pack/plugins/security_solution/public/management/hooks/response_actions/use_get_endpoint_pending_actions_summary.test.ts similarity index 100% rename from x-pack/plugins/security_solution/public/management/hooks/endpoint/use_get_endpoint_pending_actions_summary.test.ts rename to x-pack/plugins/security_solution/public/management/hooks/response_actions/use_get_endpoint_pending_actions_summary.test.ts diff --git a/x-pack/plugins/security_solution/public/management/hooks/endpoint/use_get_endpoint_pending_actions_summary.ts b/x-pack/plugins/security_solution/public/management/hooks/response_actions/use_get_endpoint_pending_actions_summary.ts similarity index 100% rename from x-pack/plugins/security_solution/public/management/hooks/endpoint/use_get_endpoint_pending_actions_summary.ts rename to x-pack/plugins/security_solution/public/management/hooks/response_actions/use_get_endpoint_pending_actions_summary.ts diff --git a/x-pack/plugins/security_solution/public/management/hooks/endpoint/use_get_file_info.test.ts b/x-pack/plugins/security_solution/public/management/hooks/response_actions/use_get_file_info.test.ts similarity index 100% rename from x-pack/plugins/security_solution/public/management/hooks/endpoint/use_get_file_info.test.ts rename to x-pack/plugins/security_solution/public/management/hooks/response_actions/use_get_file_info.test.ts diff --git a/x-pack/plugins/security_solution/public/management/hooks/endpoint/use_get_file_info.ts b/x-pack/plugins/security_solution/public/management/hooks/response_actions/use_get_file_info.ts similarity index 100% rename from x-pack/plugins/security_solution/public/management/hooks/endpoint/use_get_file_info.ts rename to x-pack/plugins/security_solution/public/management/hooks/response_actions/use_get_file_info.ts diff --git a/x-pack/plugins/security_solution/public/management/hooks/endpoint/use_send_get_endpoint_processes_request.ts b/x-pack/plugins/security_solution/public/management/hooks/response_actions/use_send_get_endpoint_processes_request.ts similarity index 100% rename from x-pack/plugins/security_solution/public/management/hooks/endpoint/use_send_get_endpoint_processes_request.ts rename to x-pack/plugins/security_solution/public/management/hooks/response_actions/use_send_get_endpoint_processes_request.ts diff --git a/x-pack/plugins/security_solution/public/management/hooks/endpoint/use_send_get_file_request.ts b/x-pack/plugins/security_solution/public/management/hooks/response_actions/use_send_get_file_request.ts similarity index 100% rename from x-pack/plugins/security_solution/public/management/hooks/endpoint/use_send_get_file_request.ts rename to x-pack/plugins/security_solution/public/management/hooks/response_actions/use_send_get_file_request.ts diff --git a/x-pack/plugins/security_solution/public/management/hooks/endpoint/use_send_isolate_endpoint_request.ts b/x-pack/plugins/security_solution/public/management/hooks/response_actions/use_send_isolate_endpoint_request.ts similarity index 100% rename from x-pack/plugins/security_solution/public/management/hooks/endpoint/use_send_isolate_endpoint_request.ts rename to x-pack/plugins/security_solution/public/management/hooks/response_actions/use_send_isolate_endpoint_request.ts diff --git a/x-pack/plugins/security_solution/public/management/hooks/endpoint/use_send_kill_process_endpoint_request.ts b/x-pack/plugins/security_solution/public/management/hooks/response_actions/use_send_kill_process_endpoint_request.ts similarity index 100% rename from x-pack/plugins/security_solution/public/management/hooks/endpoint/use_send_kill_process_endpoint_request.ts rename to x-pack/plugins/security_solution/public/management/hooks/response_actions/use_send_kill_process_endpoint_request.ts diff --git a/x-pack/plugins/security_solution/public/management/hooks/endpoint/use_send_release_endpoint_request.ts b/x-pack/plugins/security_solution/public/management/hooks/response_actions/use_send_release_endpoint_request.ts similarity index 100% rename from x-pack/plugins/security_solution/public/management/hooks/endpoint/use_send_release_endpoint_request.ts rename to x-pack/plugins/security_solution/public/management/hooks/response_actions/use_send_release_endpoint_request.ts diff --git a/x-pack/plugins/security_solution/public/management/hooks/endpoint/use_send_suspend_process_endpoint_request.ts b/x-pack/plugins/security_solution/public/management/hooks/response_actions/use_send_suspend_process_endpoint_request.ts similarity index 100% rename from x-pack/plugins/security_solution/public/management/hooks/endpoint/use_send_suspend_process_endpoint_request.ts rename to x-pack/plugins/security_solution/public/management/hooks/response_actions/use_send_suspend_process_endpoint_request.ts diff --git a/x-pack/plugins/security_solution/public/management/hooks/endpoint/use_with_show_endpoint_responder.tsx b/x-pack/plugins/security_solution/public/management/hooks/use_with_show_endpoint_responder.tsx similarity index 80% rename from x-pack/plugins/security_solution/public/management/hooks/endpoint/use_with_show_endpoint_responder.tsx rename to x-pack/plugins/security_solution/public/management/hooks/use_with_show_endpoint_responder.tsx index 3ad37c76c7ffc..bfd6749608603 100644 --- a/x-pack/plugins/security_solution/public/management/hooks/endpoint/use_with_show_endpoint_responder.tsx +++ b/x-pack/plugins/security_solution/public/management/hooks/use_with_show_endpoint_responder.tsx @@ -7,15 +7,15 @@ import React, { useCallback } from 'react'; import { i18n } from '@kbn/i18n'; -import { useUserPrivileges } from '../../../common/components/user_privileges'; +import { useUserPrivileges } from '../../common/components/user_privileges'; import { ActionLogButton, - getEndpointResponseActionsConsoleCommands, -} from '../../components/endpoint_responder'; -import { useConsoleManager } from '../../components/console'; -import type { HostMetadata } from '../../../../common/endpoint/types'; -import { HeaderEndpointInfo } from '../../components/endpoint_responder/header_endpoint_info'; -import { OfflineCallout } from '../../components/endpoint_responder/offline_callout'; + getEndpointConsoleCommands, + HeaderEndpointInfo, + OfflineCallout, +} from '../components/endpoint_responder'; +import { useConsoleManager } from '../components/console'; +import type { HostMetadata } from '../../../common/endpoint/types'; type ShowEndpointResponseActionsConsole = (endpointMetadata: HostMetadata) => void; @@ -48,7 +48,7 @@ export const useWithShowEndpointResponder = (): ShowEndpointResponseActionsConso endpoint: endpointMetadata, }, consoleProps: { - commands: getEndpointResponseActionsConsoleCommands({ + commands: getEndpointConsoleCommands({ endpointAgentId, endpointCapabilities: endpointMetadata.Endpoint.capabilities ?? [], endpointPrivileges, diff --git a/x-pack/plugins/security_solution/public/management/pages/response_actions/view/response_actions_list_page.test.tsx b/x-pack/plugins/security_solution/public/management/pages/response_actions/view/response_actions_list_page.test.tsx index d42585485bb94..a0b3b9050b7ab 100644 --- a/x-pack/plugins/security_solution/public/management/pages/response_actions/view/response_actions_list_page.test.tsx +++ b/x-pack/plugins/security_solution/public/management/pages/response_actions/view/response_actions_list_page.test.tsx @@ -27,8 +27,10 @@ let mockUseGetEndpointActionList: { data?: ActionListApiResponse; refetch: () => unknown; }; -jest.mock('../../../hooks/endpoint/use_get_endpoint_action_list', () => { - const original = jest.requireActual('../../../hooks/endpoint/use_get_endpoint_action_list'); +jest.mock('../../../hooks/response_actions/use_get_endpoint_action_list', () => { + const original = jest.requireActual( + '../../../hooks/response_actions/use_get_endpoint_action_list' + ); return { ...original, useGetEndpointActionList: () => mockUseGetEndpointActionList, diff --git a/x-pack/plugins/security_solution/public/timelines/components/timeline/body/renderers/netflow/__snapshots__/netflow_row_renderer.test.tsx.snap b/x-pack/plugins/security_solution/public/timelines/components/timeline/body/renderers/netflow/__snapshots__/netflow_row_renderer.test.tsx.snap index ad1cff9cdee67..4d54f7b8fb796 100644 --- a/x-pack/plugins/security_solution/public/timelines/components/timeline/body/renderers/netflow/__snapshots__/netflow_row_renderer.test.tsx.snap +++ b/x-pack/plugins/security_solution/public/timelines/components/timeline/body/renderers/netflow/__snapshots__/netflow_row_renderer.test.tsx.snap @@ -2,7 +2,12 @@ exports[`netflowRowRenderer renders correctly against snapshot 1`] = ` - .c0 { + .c15 svg { + position: relative; + top: -1px; +} + +.c0 { display: inline-block; font-size: 12px; line-height: 1.5; @@ -16,11 +21,6 @@ exports[`netflowRowRenderer renders correctly against snapshot 1`] = ` border-radius: 4px; } -.c15 svg { - position: relative; - top: -1px; -} - .c13, .c13 * { display: inline-block; From 8969009e3b105fcfafb8c5fa6a68ee15eb8d6972 Mon Sep 17 00:00:00 2001 From: Steph Milovic Date: Tue, 1 Nov 2022 09:59:52 -0600 Subject: [PATCH 088/111] [Security solution] Guided onboarding unhappy path fixes (#144178) --- .../guided_onboarding_tour/README.md | 4 +- .../guided_onboarding_tour/tour.tsx | 2 +- .../guided_onboarding_tour/tour_config.ts | 37 +++-- .../guided_onboarding_tour/tour_step.test.tsx | 79 +++++++++-- .../guided_onboarding_tour/tour_step.tsx | 42 +++++- .../use_add_to_case_actions.tsx | 16 ++- .../timeline/body/actions/index.test.tsx | 129 +++++++++++++++++- .../timeline/body/actions/index.tsx | 7 +- 8 files changed, 276 insertions(+), 40 deletions(-) diff --git a/x-pack/plugins/security_solution/public/common/components/guided_onboarding_tour/README.md b/x-pack/plugins/security_solution/public/common/components/guided_onboarding_tour/README.md index eb30e20f1318e..483d9c30cb82c 100644 --- a/x-pack/plugins/security_solution/public/common/components/guided_onboarding_tour/README.md +++ b/x-pack/plugins/security_solution/public/common/components/guided_onboarding_tour/README.md @@ -105,7 +105,7 @@ It was important that the `EuiTourStep` **anchor** is in the DOM when the tour s ``` createCaseFlyout.open({ attachments: caseAttachments, - ...(isTourShown(SecurityStepId.alertsCases) && activeStep === 4 + ...(isTourShown(SecurityStepId.alertsCases) && activeStep === AlertsCasesTourSteps.addAlertToCase ? { headerContent: ( // isTourAnchor=true no matter what in order to @@ -132,7 +132,7 @@ It was important that the `EuiTourStep` **anchor** is in the DOM when the tour s So we utilize the `useTourContext` to do the following check and increment the step in `handleAddToNewCaseClick`: ``` - if (isTourShown(SecurityStepId.alertsCases) && activeStep === 4) { + if (isTourShown(SecurityStepId.alertsCases) && activeStep === AlertsCasesTourSteps.addAlertToCase) { incrementStep(SecurityStepId.alertsCases); } ``` diff --git a/x-pack/plugins/security_solution/public/common/components/guided_onboarding_tour/tour.tsx b/x-pack/plugins/security_solution/public/common/components/guided_onboarding_tour/tour.tsx index 43f6ca15b33cb..80cadec5d04be 100644 --- a/x-pack/plugins/security_solution/public/common/components/guided_onboarding_tour/tour.tsx +++ b/x-pack/plugins/security_solution/public/common/components/guided_onboarding_tour/tour.tsx @@ -19,7 +19,7 @@ import { securityTourConfig, SecurityStepId } from './tour_config'; export interface TourContextValue { activeStep: number; endTourStep: (stepId: SecurityStepId) => void; - incrementStep: (stepId: SecurityStepId, step?: number) => void; + incrementStep: (stepId: SecurityStepId) => void; isTourShown: (stepId: SecurityStepId) => boolean; } diff --git a/x-pack/plugins/security_solution/public/common/components/guided_onboarding_tour/tour_config.ts b/x-pack/plugins/security_solution/public/common/components/guided_onboarding_tour/tour_config.ts index f7ed05be4c418..0a00c25417f83 100644 --- a/x-pack/plugins/security_solution/public/common/components/guided_onboarding_tour/tour_config.ts +++ b/x-pack/plugins/security_solution/public/common/components/guided_onboarding_tour/tour_config.ts @@ -14,6 +14,15 @@ export const enum SecurityStepId { alertsCases = 'alertsCases', } +export const enum AlertsCasesTourSteps { + none = 0, + pointToAlertName = 1, + expandEvent = 2, + reviewAlertDetailsFlyout = 3, + addAlertToCase = 4, + createCase = 5, +} + export type StepConfig = Pick< EuiTourStepProps, 'step' | 'content' | 'anchorPosition' | 'title' | 'initialFocus' | 'anchor' @@ -40,7 +49,7 @@ export const getTourAnchor = (step: number, stepId: SecurityStepId) => const alertsCasesConfig: StepConfig[] = [ { ...defaultConfig, - step: 1, + step: AlertsCasesTourSteps.pointToAlertName, title: i18n.translate('xpack.securitySolution.guided_onboarding.tour.ruleNameStep.tourTitle', { defaultMessage: 'Test alert for practice', }), @@ -52,12 +61,12 @@ const alertsCasesConfig: StepConfig[] = [ } ), anchorPosition: 'downCenter', - dataTestSubj: getTourAnchor(1, SecurityStepId.alertsCases), + dataTestSubj: getTourAnchor(AlertsCasesTourSteps.pointToAlertName, SecurityStepId.alertsCases), initialFocus: `button[tour-step="nextButton"]`, }, { ...defaultConfig, - step: 2, + step: AlertsCasesTourSteps.expandEvent, title: i18n.translate('xpack.securitySolution.guided_onboarding.tour.openFlyout.tourTitle', { defaultMessage: 'Review the alert details', }), @@ -69,12 +78,12 @@ const alertsCasesConfig: StepConfig[] = [ } ), anchorPosition: 'rightUp', - dataTestSubj: getTourAnchor(2, SecurityStepId.alertsCases), + dataTestSubj: getTourAnchor(AlertsCasesTourSteps.expandEvent, SecurityStepId.alertsCases), hideNextButton: true, }, { ...defaultConfig, - step: 3, + step: AlertsCasesTourSteps.reviewAlertDetailsFlyout, title: i18n.translate( 'xpack.securitySolution.guided_onboarding.tour.flyoutOverview.tourTitle', { @@ -89,13 +98,19 @@ const alertsCasesConfig: StepConfig[] = [ } ), // needs to use anchor to properly place tour step - anchor: `[tour-step="${getTourAnchor(3, SecurityStepId.alertsCases)}"] .euiTabs`, + anchor: `[tour-step="${getTourAnchor( + AlertsCasesTourSteps.reviewAlertDetailsFlyout, + SecurityStepId.alertsCases + )}"] .euiTabs`, anchorPosition: 'leftUp', - dataTestSubj: getTourAnchor(3, SecurityStepId.alertsCases), + dataTestSubj: getTourAnchor( + AlertsCasesTourSteps.reviewAlertDetailsFlyout, + SecurityStepId.alertsCases + ), }, { ...defaultConfig, - step: 4, + step: AlertsCasesTourSteps.addAlertToCase, title: i18n.translate('xpack.securitySolution.guided_onboarding.tour.addToCase.tourTitle', { defaultMessage: 'Create a case', }), @@ -103,12 +118,12 @@ const alertsCasesConfig: StepConfig[] = [ defaultMessage: 'From the Take action menu, add the alert to a new case.', }), anchorPosition: 'upRight', - dataTestSubj: getTourAnchor(4, SecurityStepId.alertsCases), + dataTestSubj: getTourAnchor(AlertsCasesTourSteps.addAlertToCase, SecurityStepId.alertsCases), hideNextButton: true, }, { ...defaultConfig, - step: 5, + step: AlertsCasesTourSteps.createCase, title: i18n.translate('xpack.securitySolution.guided_onboarding.tour.createCase.tourTitle', { defaultMessage: `Add details`, }), @@ -120,7 +135,7 @@ const alertsCasesConfig: StepConfig[] = [ ), anchor: `[data-test-subj="create-case-flyout"]`, anchorPosition: 'leftUp', - dataTestSubj: getTourAnchor(5, SecurityStepId.alertsCases), + dataTestSubj: getTourAnchor(AlertsCasesTourSteps.createCase, SecurityStepId.alertsCases), hideNextButton: true, }, ]; diff --git a/x-pack/plugins/security_solution/public/common/components/guided_onboarding_tour/tour_step.test.tsx b/x-pack/plugins/security_solution/public/common/components/guided_onboarding_tour/tour_step.test.tsx index 04f2cfd6a4311..90f8b6de7c2f8 100644 --- a/x-pack/plugins/security_solution/public/common/components/guided_onboarding_tour/tour_step.test.tsx +++ b/x-pack/plugins/security_solution/public/common/components/guided_onboarding_tour/tour_step.test.tsx @@ -9,6 +9,12 @@ import { render } from '@testing-library/react'; import { GuidedOnboardingTourStep, SecurityTourStep } from './tour_step'; import { SecurityStepId } from './tour_config'; import { useTourContext } from './tour'; +import { mockGlobalState, SUB_PLUGINS_REDUCER, TestProviders } from '../../mock'; +import { TimelineId } from '../../../../common/types'; +import { createStore } from '../../store'; +import { tGridReducer } from '@kbn/timelines-plugin/public'; +import { kibanaObservable } from '@kbn/timelines-plugin/public/mock'; +import { createSecuritySolutionStorageMock } from '@kbn/timelines-plugin/public/mock/mock_local_storage'; jest.mock('./tour'); const mockTourStep = jest @@ -43,7 +49,8 @@ describe('GuidedOnboardingTourStep', () => { }); it('renders as a tour step', () => { const { getByTestId } = render( - {mockChildren} + {mockChildren}, + { wrapper: TestProviders } ); const tourStep = getByTestId('tourStepMock'); const header = getByTestId('h1'); @@ -54,7 +61,8 @@ describe('GuidedOnboardingTourStep', () => { const { getByTestId, queryByTestId } = render( {mockChildren} - + , + { wrapper: TestProviders } ); const tourStep = queryByTestId('tourStepMock'); const header = getByTestId('h1'); @@ -83,7 +91,8 @@ describe('SecurityTourStep', () => { render( {mockChildren} - + , + { wrapper: TestProviders } ); expect(mockTourStep).not.toHaveBeenCalled(); }); @@ -92,7 +101,8 @@ describe('SecurityTourStep', () => { render( {mockChildren} - + , + { wrapper: TestProviders } ); expect(mockTourStep).not.toHaveBeenCalled(); }); @@ -103,12 +113,16 @@ describe('SecurityTourStep', () => { incrementStep: jest.fn(), isTourShown: () => false, }); - render({mockChildren}); + render({mockChildren}, { + wrapper: TestProviders, + }); expect(mockTourStep).not.toHaveBeenCalled(); }); it('renders tour step with correct number of steppers', () => { - render({mockChildren}); + render({mockChildren}, { + wrapper: TestProviders, + }); const mockCall = { ...mockTourStep.mock.calls[0][0] }; expect(mockCall.step).toEqual(1); expect(mockCall.stepsTotal).toEqual(5); @@ -118,7 +132,8 @@ describe('SecurityTourStep', () => { render( {mockChildren} - + , + { wrapper: TestProviders } ); const mockCall = { ...mockTourStep.mock.calls[0][0] }; expect(mockCall.step).toEqual(5); @@ -134,7 +149,8 @@ describe('SecurityTourStep', () => { render( {mockChildren} - + , + { wrapper: TestProviders } ); const mockCall = { ...mockTourStep.mock.calls[0][0] }; expect(mockCall.footerAction).toMatchInlineSnapshot(` @@ -163,7 +179,8 @@ describe('SecurityTourStep', () => { const { container } = render( {mockChildren} - + , + { wrapper: TestProviders } ); const selectParent = container.querySelector( `[data-test-subj="tourStepMock"] [data-test-subj="h1"]` @@ -184,7 +201,8 @@ describe('SecurityTourStep', () => { const { container } = render( {mockChildren} - + , + { wrapper: TestProviders } ); const selectParent = container.querySelector( `[data-test-subj="tourStepMock"] [data-test-subj="h1"]` @@ -197,13 +215,17 @@ describe('SecurityTourStep', () => { }); it('if a tour step does not have children and has anchor, only render tour step', () => { - const { getByTestId } = render(); + const { getByTestId } = render( + , + { wrapper: TestProviders } + ); expect(getByTestId('tourStepMock')).toBeInTheDocument(); }); it('if a tour step does not have children and does not have anchor, render nothing', () => { const { queryByTestId } = render( - + , + { wrapper: TestProviders } ); expect(queryByTestId('tourStepMock')).not.toBeInTheDocument(); }); @@ -217,9 +239,40 @@ describe('SecurityTourStep', () => { render( {mockChildren} - + , + { wrapper: TestProviders } ); const mockCall = { ...mockTourStep.mock.calls[0][0] }; expect(mockCall.footerAction).toMatchInlineSnapshot(``); }); + + it('does not render step if timeline is open', () => { + const mockstate = { + ...mockGlobalState, + timeline: { + ...mockGlobalState.timeline, + timelineById: { + [TimelineId.active]: { + ...mockGlobalState.timeline.timelineById.test, + show: true, + }, + }, + }, + }; + const { storage } = createSecuritySolutionStorageMock(); + const mockStore = createStore( + mockstate, + SUB_PLUGINS_REDUCER, + { dataTable: tGridReducer }, + kibanaObservable, + storage + ); + + render( + + {mockChildren} + + ); + expect(mockTourStep).not.toHaveBeenCalled(); + }); }); diff --git a/x-pack/plugins/security_solution/public/common/components/guided_onboarding_tour/tour_step.tsx b/x-pack/plugins/security_solution/public/common/components/guided_onboarding_tour/tour_step.tsx index ef07c5ce44a42..b7ade00021bad 100644 --- a/x-pack/plugins/security_solution/public/common/components/guided_onboarding_tour/tour_step.tsx +++ b/x-pack/plugins/security_solution/public/common/components/guided_onboarding_tour/tour_step.tsx @@ -11,26 +11,54 @@ import type { EuiTourStepProps } from '@elastic/eui'; import { EuiButton, EuiImage, EuiSpacer, EuiText, EuiTourStep } from '@elastic/eui'; import { FormattedMessage } from '@kbn/i18n-react'; +import styled from 'styled-components'; +import { useShallowEqualSelector } from '../../hooks/use_selector'; +import { TimelineId } from '../../../../common/types'; +import { timelineDefaults } from '../../../timelines/store/timeline/defaults'; +import { timelineSelectors } from '../../../timelines/store/timeline'; import { useTourContext } from './tour'; -import { securityTourConfig, SecurityStepId } from './tour_config'; +import { AlertsCasesTourSteps, SecurityStepId, securityTourConfig } from './tour_config'; + interface SecurityTourStep { children?: React.ReactElement; step: number; stepId: SecurityStepId; } +const isStepExternallyMounted = (stepId: SecurityStepId, step: number) => + step === AlertsCasesTourSteps.createCase && stepId === SecurityStepId.alertsCases; + +const StyledTourStep = styled(EuiTourStep)` + &.euiPopover__panel[data-popover-open] { + z-index: ${({ step, stepId }) => + isStepExternallyMounted(stepId, step) ? '9000 !important' : '1000 !important'}; + } +`; + export const SecurityTourStep = ({ children, step, stepId }: SecurityTourStep) => { const { activeStep, incrementStep, isTourShown } = useTourContext(); const tourStep = useMemo( () => securityTourConfig[stepId].find((config) => config.step === step), [step, stepId] ); + + const getTimeline = useMemo(() => timelineSelectors.getTimelineByIdSelector(), []); + const showTimeline = useShallowEqualSelector( + (state) => (getTimeline(state, TimelineId.active) ?? timelineDefaults).show + ); + const onClick = useCallback(() => incrementStep(stepId), [incrementStep, stepId]); - // step === 5 && stepId === SecurityStepId.alertsCases is in Cases app and out of context. + + // step === AlertsCasesTourSteps.createCase && stepId === SecurityStepId.alertsCases is in Cases app and out of context. // If we mount this step, we know we need to render it // we are also managing the context on the siem end in the background - const overrideContext = step === 5 && stepId === SecurityStepId.alertsCases; - if (tourStep == null || ((step !== activeStep || !isTourShown(stepId)) && !overrideContext)) { + const overrideContext = isStepExternallyMounted(stepId, step); + + if ( + tourStep == null || + ((step !== activeStep || !isTourShown(stepId)) && !overrideContext) || + showTimeline + ) { return children ? children : null; } @@ -89,11 +117,13 @@ export const SecurityTourStep = ({ children, step, stepId }: SecurityTourStep) = // see type EuiTourStepAnchorProps return anchor != null ? ( <> - + <>{children} ) : children != null ? ( - {children} + + {children} + ) : null; }; diff --git a/x-pack/plugins/security_solution/public/detections/components/alerts_table/timeline_actions/use_add_to_case_actions.tsx b/x-pack/plugins/security_solution/public/detections/components/alerts_table/timeline_actions/use_add_to_case_actions.tsx index 70455fa342ab5..9f6fd3dd56104 100644 --- a/x-pack/plugins/security_solution/public/detections/components/alerts_table/timeline_actions/use_add_to_case_actions.tsx +++ b/x-pack/plugins/security_solution/public/detections/components/alerts_table/timeline_actions/use_add_to_case_actions.tsx @@ -10,7 +10,10 @@ import { EuiContextMenuItem } from '@elastic/eui'; import { CommentType } from '@kbn/cases-plugin/common'; import type { CaseAttachmentsWithoutOwner } from '@kbn/cases-plugin/public'; import { GuidedOnboardingTourStep } from '../../../../common/components/guided_onboarding_tour/tour_step'; -import { SecurityStepId } from '../../../../common/components/guided_onboarding_tour/tour_config'; +import { + AlertsCasesTourSteps, + SecurityStepId, +} from '../../../../common/components/guided_onboarding_tour/tour_config'; import { useTourContext } from '../../../../common/components/guided_onboarding_tour'; import { useGetUserCasesPermissions, useKibana } from '../../../../common/lib/kibana'; import type { TimelineNonEcsData } from '../../../../../common/search_strategy'; @@ -80,7 +83,11 @@ export const useAddToCaseActions = ({ onMenuItemClick(); createCaseFlyout.open({ attachments: caseAttachments, - ...(isTourShown(SecurityStepId.alertsCases) && activeStep === 4 + // activeStep will be 4 on first render because not yet incremented + // if the user closes the flyout without completing the form and comes back, we will be at step 5 + ...(isTourShown(SecurityStepId.alertsCases) && + (activeStep === AlertsCasesTourSteps.addAlertToCase || + activeStep === AlertsCasesTourSteps.createCase) ? { headerContent: ( // isTourAnchor=true no matter what in order to @@ -90,7 +97,10 @@ export const useAddToCaseActions = ({ } : {}), }); - if (isTourShown(SecurityStepId.alertsCases) && activeStep === 4) { + if ( + isTourShown(SecurityStepId.alertsCases) && + activeStep === AlertsCasesTourSteps.addAlertToCase + ) { incrementStep(SecurityStepId.alertsCases); } }, [onMenuItemClick, createCaseFlyout, caseAttachments, isTourShown, activeStep, incrementStep]); diff --git a/x-pack/plugins/security_solution/public/timelines/components/timeline/body/actions/index.test.tsx b/x-pack/plugins/security_solution/public/timelines/components/timeline/body/actions/index.test.tsx index 9e8ea89d9175b..e34227f0bfe8f 100644 --- a/x-pack/plugins/security_solution/public/timelines/components/timeline/body/actions/index.test.tsx +++ b/x-pack/plugins/security_solution/public/timelines/components/timeline/body/actions/index.test.tsx @@ -14,7 +14,14 @@ import { useIsExperimentalFeatureEnabled } from '../../../../../common/hooks/use import { mockCasesContract } from '@kbn/cases-plugin/public/mocks'; import { useShallowEqualSelector } from '../../../../../common/hooks/use_selector'; import { licenseService } from '../../../../../common/hooks/use_license'; - +import { useTourContext } from '../../../../../common/components/guided_onboarding_tour'; +import { + GuidedOnboardingTourStep, + SecurityTourStep, +} from '../../../../../common/components/guided_onboarding_tour/tour_step'; +import { SecurityStepId } from '../../../../../common/components/guided_onboarding_tour/tour_config'; + +jest.mock('../../../../../common/components/guided_onboarding_tour'); jest.mock('../../../../../detections/components/user_info', () => ({ useUserData: jest.fn().mockReturnValue([{ canUserCRUD: true, hasIndexWrite: true }]), })); @@ -106,6 +113,11 @@ const defaultProps = { describe('Actions', () => { beforeAll(() => { + (useTourContext as jest.Mock).mockReturnValue({ + activeStep: 1, + incrementStep: () => null, + isTourShown: () => false, + }); (useShallowEqualSelector as jest.Mock).mockReturnValue(mockTimelineModel); }); @@ -140,6 +152,121 @@ describe('Actions', () => { expect(wrapper.find('[data-test-subj="select-event"]').exists()).toBe(false); }); + describe('Guided Onboarding Step', () => { + const incrementStepMock = jest.fn(); + beforeEach(() => { + (useTourContext as jest.Mock).mockReturnValue({ + activeStep: 2, + incrementStep: incrementStepMock, + isTourShown: () => true, + }); + jest.clearAllMocks(); + }); + + const ecsData = { + ...mockTimelineData[0].ecs, + kibana: { alert: { rule: { uuid: ['123'], parameters: {} } } }, + }; + const isTourAnchorConditions: { [key: string]: unknown } = { + ecsData, + timelineId: TableId.alertsOnAlertsPage, + ariaRowindex: 1, + }; + + test('if isTourShown is false [isTourAnchor=false], SecurityTourStep is not active', () => { + (useTourContext as jest.Mock).mockReturnValue({ + activeStep: 2, + incrementStep: jest.fn(), + isTourShown: () => false, + }); + + const wrapper = mount( + + + + ); + + expect(wrapper.find(GuidedOnboardingTourStep).exists()).toEqual(true); + expect(wrapper.find(SecurityTourStep).exists()).toEqual(false); + }); + + test('if all conditions make isTourAnchor=true, SecurityTourStep is active', () => { + const wrapper = mount( + + + + ); + + expect(wrapper.find(GuidedOnboardingTourStep).exists()).toEqual(true); + expect(wrapper.find(SecurityTourStep).exists()).toEqual(true); + }); + + test('on expand event click and SecurityTourStep is active, incrementStep', () => { + const wrapper = mount( + + + + ); + + wrapper.find('[data-test-subj="expand-event"]').first().simulate('click'); + + expect(incrementStepMock).toHaveBeenCalledWith(SecurityStepId.alertsCases); + }); + + test('on expand event click and SecurityTourStep is active, but step is not 2, do not incrementStep', () => { + (useTourContext as jest.Mock).mockReturnValue({ + activeStep: 1, + incrementStep: incrementStepMock, + isTourShown: () => true, + }); + + const wrapper = mount( + + + + ); + + wrapper.find('[data-test-subj="expand-event"]').first().simulate('click'); + + expect(incrementStepMock).not.toHaveBeenCalled(); + }); + + test('on expand event click and SecurityTourStep is not active, do not incrementStep', () => { + const wrapper = mount( + + + + ); + + wrapper.find('[data-test-subj="expand-event"]').first().simulate('click'); + + expect(incrementStepMock).not.toHaveBeenCalled(); + }); + + test('if isTourAnchor=false, SecurityTourStep is not active', () => { + const wrapper = mount( + + + + ); + + expect(wrapper.find(GuidedOnboardingTourStep).exists()).toEqual(true); + expect(wrapper.find(SecurityTourStep).exists()).toEqual(false); + }); + describe.each(Object.keys(isTourAnchorConditions))('tour condition true: %s', (key: string) => { + it('Single condition does not make tour step exist', () => { + const wrapper = mount( + + + + ); + + expect(wrapper.find(GuidedOnboardingTourStep).exists()).toEqual(true); + expect(wrapper.find(SecurityTourStep).exists()).toEqual(false); + }); + }); + }); + describe('Alert context menu enabled?', () => { test('it disables for eventType=raw', () => { const wrapper = mount( diff --git a/x-pack/plugins/security_solution/public/timelines/components/timeline/body/actions/index.tsx b/x-pack/plugins/security_solution/public/timelines/components/timeline/body/actions/index.tsx index 5454642ea5892..26ffd4ea8e28e 100644 --- a/x-pack/plugins/security_solution/public/timelines/components/timeline/body/actions/index.tsx +++ b/x-pack/plugins/security_solution/public/timelines/components/timeline/body/actions/index.tsx @@ -203,7 +203,7 @@ const ActionsComponent: React.FC = ({ scopedActions, ]); - const { isTourShown, incrementStep } = useTourContext(); + const { activeStep, isTourShown, incrementStep } = useTourContext(); const isTourAnchor = useMemo( () => @@ -215,11 +215,12 @@ const ActionsComponent: React.FC = ({ ); const onExpandEvent = useCallback(() => { - if (isTourAnchor) { + const isStep2Active = activeStep === 2 && isTourShown(SecurityStepId.alertsCases); + if (isTourAnchor && isStep2Active) { incrementStep(SecurityStepId.alertsCases); } onEventDetailsPanelOpened(); - }, [incrementStep, isTourAnchor, onEventDetailsPanelOpened]); + }, [activeStep, incrementStep, isTourAnchor, isTourShown, onEventDetailsPanelOpened]); return ( From 58b53d8b5dc00f13c0695028967159867cdb7690 Mon Sep 17 00:00:00 2001 From: Giorgos Bamparopoulos Date: Tue, 1 Nov 2022 17:02:11 +0000 Subject: [PATCH 089/111] [APM] Average latency map for mobile service overview (#144127) * Add average latency map to mobile service overview --- x-pack/plugins/apm/kibana.json | 6 +- .../latency_map/embedded_map.test.tsx | 52 ++++++ .../latency_map/embedded_map.tsx | 173 ++++++++++++++++++ .../latency_map/get_layer_list.ts | 151 +++++++++++++++ .../latency_map/index.tsx | 28 +++ .../service_oveview_mobile_charts.tsx | 8 + .../use_filters_for_mobile_charts.ts | 73 ++++++++ .../data_view/create_static_data_view.ts | 12 ++ .../tests/data_view/static.spec.ts | 11 ++ 9 files changed, 512 insertions(+), 2 deletions(-) create mode 100644 x-pack/plugins/apm/public/components/app/service_overview/service_overview_charts/latency_map/embedded_map.test.tsx create mode 100644 x-pack/plugins/apm/public/components/app/service_overview/service_overview_charts/latency_map/embedded_map.tsx create mode 100644 x-pack/plugins/apm/public/components/app/service_overview/service_overview_charts/latency_map/get_layer_list.ts create mode 100644 x-pack/plugins/apm/public/components/app/service_overview/service_overview_charts/latency_map/index.tsx create mode 100644 x-pack/plugins/apm/public/components/app/service_overview/service_overview_charts/use_filters_for_mobile_charts.ts diff --git a/x-pack/plugins/apm/kibana.json b/x-pack/plugins/apm/kibana.json index 78233626091e5..9572e06b63483 100644 --- a/x-pack/plugins/apm/kibana.json +++ b/x-pack/plugins/apm/kibana.json @@ -20,7 +20,8 @@ "share", "unifiedSearch", "dataViews", - "advancedSettings" + "advancedSettings", + "maps" ], "optionalPlugins": [ "actions", @@ -47,6 +48,7 @@ "kibanaUtils", "ml", "observability", - "esUiShared" + "esUiShared", + "maps" ] } diff --git a/x-pack/plugins/apm/public/components/app/service_overview/service_overview_charts/latency_map/embedded_map.test.tsx b/x-pack/plugins/apm/public/components/app/service_overview/service_overview_charts/latency_map/embedded_map.test.tsx new file mode 100644 index 0000000000000..9718bb2afc370 --- /dev/null +++ b/x-pack/plugins/apm/public/components/app/service_overview/service_overview_charts/latency_map/embedded_map.test.tsx @@ -0,0 +1,52 @@ +/* + * 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 { render } from '@testing-library/react'; +import React from 'react'; +import { EmbeddedMap } from './embedded_map'; +import { KibanaContextProvider } from '@kbn/kibana-react-plugin/public'; +import { embeddablePluginMock } from '@kbn/embeddable-plugin/public/mocks'; +import { MockApmPluginContextWrapper } from '../../../../../context/apm_plugin/mock_apm_plugin_context'; +import { MemoryRouter } from 'react-router-dom'; + +describe('Embedded Map', () => { + it('it renders', async () => { + const mockSetLayerList = jest.fn(); + const mockUpdateInput = jest.fn(); + const mockRender = jest.fn(); + + const mockEmbeddable = embeddablePluginMock.createStartContract(); + mockEmbeddable.getEmbeddableFactory = jest.fn().mockImplementation(() => ({ + create: () => ({ + setLayerList: mockSetLayerList, + updateInput: mockUpdateInput, + render: mockRender, + }), + })); + + const { findByTestId } = render( + + + + + + + + ); + expect( + await findByTestId('serviceOverviewEmbeddedMap') + ).toBeInTheDocument(); + + expect(mockSetLayerList).toHaveBeenCalledTimes(1); + expect(mockUpdateInput).toHaveBeenCalledTimes(1); + expect(mockRender).toHaveBeenCalledTimes(1); + }); +}); diff --git a/x-pack/plugins/apm/public/components/app/service_overview/service_overview_charts/latency_map/embedded_map.tsx b/x-pack/plugins/apm/public/components/app/service_overview/service_overview_charts/latency_map/embedded_map.tsx new file mode 100644 index 0000000000000..8e30430a6e21d --- /dev/null +++ b/x-pack/plugins/apm/public/components/app/service_overview/service_overview_charts/latency_map/embedded_map.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, { useEffect, useState, useRef } from 'react'; +import uuid from 'uuid'; +import { + MapEmbeddable, + MapEmbeddableInput, + MapEmbeddableOutput, +} from '@kbn/maps-plugin/public'; +import { MAP_SAVED_OBJECT_TYPE } from '@kbn/maps-plugin/common'; +import { + ErrorEmbeddable, + ViewMode, + isErrorEmbeddable, +} from '@kbn/embeddable-plugin/public'; +import { useKibana } from '@kbn/kibana-react-plugin/public'; +import { css } from '@emotion/react'; +import { i18n } from '@kbn/i18n'; +import { EuiText } from '@elastic/eui'; +import type { Filter } from '@kbn/es-query'; +import { ApmPluginStartDeps } from '../../../../../plugin'; +import { getLayerList } from './get_layer_list'; +import { useApmParams } from '../../../../../hooks/use_apm_params'; +import { useTimeRange } from '../../../../../hooks/use_time_range'; + +function EmbeddedMapComponent({ filters }: { filters: Filter[] }) { + const { + query: { rangeFrom, rangeTo, kuery }, + } = useApmParams('/services/{serviceName}/overview'); + + const { start, end } = useTimeRange({ rangeFrom, rangeTo }); + const [error, setError] = useState(); + + const [embeddable, setEmbeddable] = useState< + MapEmbeddable | ErrorEmbeddable | undefined + >(); + + const embeddableRoot: React.RefObject = + useRef(null); + + const { + embeddable: embeddablePlugin, + maps, + notifications, + } = useKibana().services; + + useEffect(() => { + async function setupEmbeddable() { + const factory = embeddablePlugin?.getEmbeddableFactory< + MapEmbeddableInput, + MapEmbeddableOutput, + MapEmbeddable + >(MAP_SAVED_OBJECT_TYPE); + + if (!factory) { + setError(true); + notifications?.toasts.addDanger({ + title: i18n.translate( + 'xpack.apm.serviceOverview.embeddedMap.error.toastTitle', + { + defaultMessage: 'An error occurred when adding map embeddable', + } + ), + text: i18n.translate( + 'xpack.apm.serviceOverview.embeddedMap.error.toastDescription', + { + defaultMessage: `Embeddable factory with id "{embeddableFactoryId}" was not found.`, + values: { + embeddableFactoryId: MAP_SAVED_OBJECT_TYPE, + }, + } + ), + }); + return; + } + + const input: MapEmbeddableInput = { + attributes: { title: '' }, + id: uuid.v4(), + title: i18n.translate( + 'xpack.apm.serviceOverview.embeddedMap.input.title', + { + defaultMessage: 'Latency by country', + } + ), + filters, + viewMode: ViewMode.VIEW, + isLayerTOCOpen: false, + query: { + query: kuery, + language: 'kuery', + }, + timeRange: { + from: start, + to: end, + }, + hideFilterActions: true, + }; + + const embeddableObject = await factory.create(input); + if (embeddableObject && !isErrorEmbeddable(embeddableObject)) { + const layerList = await getLayerList(maps); + await embeddableObject.setLayerList(layerList); + } + + setEmbeddable(embeddableObject); + } + + setupEmbeddable(); + // Set up exactly once after the component mounts + // eslint-disable-next-line react-hooks/exhaustive-deps + }, []); + + // We can only render after embeddable has already initialized + useEffect(() => { + if (embeddableRoot.current && embeddable) { + embeddable.render(embeddableRoot.current); + } + }, [embeddable, embeddableRoot]); + + useEffect(() => { + if (embeddable) { + embeddable.updateInput({ + filters, + query: { + query: kuery, + language: 'kuery', + }, + timeRange: { + from: start, + to: end, + }, + }); + } + }, [start, end, kuery, filters, embeddable]); + + return ( + <> + {error && ( + +

+ {i18n.translate('xpack.apm.serviceOverview.embeddedMap.error', { + defaultMessage: 'Could not load map', + })} +

+
+ )} + {!error && ( +
+ )} + + ); +} + +EmbeddedMapComponent.displayName = 'EmbeddedMap'; + +export const EmbeddedMap = React.memo(EmbeddedMapComponent); diff --git a/x-pack/plugins/apm/public/components/app/service_overview/service_overview_charts/latency_map/get_layer_list.ts b/x-pack/plugins/apm/public/components/app/service_overview/service_overview_charts/latency_map/get_layer_list.ts new file mode 100644 index 0000000000000..49bf9fdbe2656 --- /dev/null +++ b/x-pack/plugins/apm/public/components/app/service_overview/service_overview_charts/latency_map/get_layer_list.ts @@ -0,0 +1,151 @@ +/* + * 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 { + EMSFileSourceDescriptor, + LayerDescriptor as BaseLayerDescriptor, + VectorLayerDescriptor as BaseVectorLayerDescriptor, + VectorStyleDescriptor, + AGG_TYPE, + COLOR_MAP_TYPE, + FIELD_ORIGIN, + LABEL_BORDER_SIZES, + LAYER_TYPE, + SOURCE_TYPES, + STYLE_TYPE, + SYMBOLIZE_AS_TYPES, +} from '@kbn/maps-plugin/common'; +import uuid from 'uuid'; +import type { MapsStartApi } from '@kbn/maps-plugin/public'; +import { i18n } from '@kbn/i18n'; +import { + CLIENT_GEO_COUNTRY_ISO_CODE, + TRANSACTION_DURATION, +} from '../../../../../../common/elasticsearch_fieldnames'; +import { APM_STATIC_DATA_VIEW_ID } from '../../../../../../common/data_view_constants'; + +interface VectorLayerDescriptor extends BaseVectorLayerDescriptor { + sourceDescriptor: EMSFileSourceDescriptor; +} + +const FIELD_NAME = 'apm-service-overview-layer-country'; +const COUNTRY_NAME = 'name'; +const TRANSACTION_DURATION_COUNTRY = `__kbnjoin__avg_of_transaction.duration.us__${FIELD_NAME}`; + +function getLayerStyle(): VectorStyleDescriptor { + return { + type: 'VECTOR', + properties: { + icon: { type: STYLE_TYPE.STATIC, options: { value: 'marker' } }, + fillColor: { + type: STYLE_TYPE.DYNAMIC, + options: { + color: 'Blue to Red', + colorCategory: 'palette_0', + fieldMetaOptions: { isEnabled: true, sigma: 3 }, + type: COLOR_MAP_TYPE.ORDINAL, + field: { + name: TRANSACTION_DURATION_COUNTRY, + origin: FIELD_ORIGIN.JOIN, + }, + useCustomColorRamp: false, + }, + }, + lineColor: { + type: STYLE_TYPE.DYNAMIC, + options: { color: '#3d3d3d', fieldMetaOptions: { isEnabled: true } }, + }, + lineWidth: { type: STYLE_TYPE.STATIC, options: { size: 1 } }, + iconSize: { type: STYLE_TYPE.STATIC, options: { size: 6 } }, + iconOrientation: { + type: STYLE_TYPE.STATIC, + options: { orientation: 0 }, + }, + labelText: { + type: STYLE_TYPE.DYNAMIC, + options: { + field: { + name: TRANSACTION_DURATION_COUNTRY, + origin: FIELD_ORIGIN.JOIN, + }, + }, + }, + labelZoomRange: { + options: { + useLayerZoomRange: true, + minZoom: 0, + maxZoom: 24, + }, + }, + labelColor: { + type: STYLE_TYPE.STATIC, + options: { color: '#000000' }, + }, + labelSize: { type: STYLE_TYPE.STATIC, options: { size: 14 } }, + labelBorderColor: { + type: STYLE_TYPE.STATIC, + options: { color: '#FFFFFF' }, + }, + symbolizeAs: { options: { value: SYMBOLIZE_AS_TYPES.CIRCLE } }, + labelBorderSize: { options: { size: LABEL_BORDER_SIZES.SMALL } }, + }, + isTimeAware: true, + }; +} + +export async function getLayerList(maps?: MapsStartApi) { + const basemapLayerDescriptor = maps + ? await maps.createLayerDescriptors.createBasemapLayerDescriptor() + : null; + + const pageLoadDurationByCountryLayer: VectorLayerDescriptor = { + joins: [ + { + leftField: 'iso2', + right: { + type: SOURCE_TYPES.ES_TERM_SOURCE, + id: FIELD_NAME, + term: CLIENT_GEO_COUNTRY_ISO_CODE, + metrics: [ + { + type: AGG_TYPE.AVG, + field: TRANSACTION_DURATION, + label: i18n.translate( + 'xpack.apm.serviceOverview.embeddedMap.metric.label', + { + defaultMessage: 'Page load duration', + } + ), + }, + ], + indexPatternId: APM_STATIC_DATA_VIEW_ID, + applyGlobalQuery: true, + applyGlobalTime: true, + applyForceRefresh: true, + }, + }, + ], + sourceDescriptor: { + type: SOURCE_TYPES.EMS_FILE, + id: 'world_countries', + tooltipProperties: [COUNTRY_NAME], + }, + style: getLayerStyle(), + id: uuid.v4(), + label: null, + minZoom: 0, + maxZoom: 24, + alpha: 0.75, + visible: true, + type: LAYER_TYPE.GEOJSON_VECTOR, + }; + + return [ + ...(basemapLayerDescriptor ? [basemapLayerDescriptor] : []), + pageLoadDurationByCountryLayer, + ] as BaseLayerDescriptor[]; +} diff --git a/x-pack/plugins/apm/public/components/app/service_overview/service_overview_charts/latency_map/index.tsx b/x-pack/plugins/apm/public/components/app/service_overview/service_overview_charts/latency_map/index.tsx new file mode 100644 index 0000000000000..8a5917bd861b6 --- /dev/null +++ b/x-pack/plugins/apm/public/components/app/service_overview/service_overview_charts/latency_map/index.tsx @@ -0,0 +1,28 @@ +/* + * 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 { EuiTitle, EuiSpacer } from '@elastic/eui'; +import { i18n } from '@kbn/i18n'; +import type { Filter } from '@kbn/es-query'; +import { EmbeddedMap } from './embedded_map'; + +export function LatencyMap({ filters }: { filters: Filter[] }) { + return ( + <> + +

+ {i18n.translate('xpack.apm.serviceOverview.embeddedMap.title', { + defaultMessage: 'Average latency per country', + })} +

+
+ + + + ); +} diff --git a/x-pack/plugins/apm/public/components/app/service_overview/service_overview_charts/service_oveview_mobile_charts.tsx b/x-pack/plugins/apm/public/components/app/service_overview/service_overview_charts/service_oveview_mobile_charts.tsx index 60871e58dd88a..cf603a189e178 100644 --- a/x-pack/plugins/apm/public/components/app/service_overview/service_overview_charts/service_oveview_mobile_charts.tsx +++ b/x-pack/plugins/apm/public/components/app/service_overview/service_overview_charts/service_oveview_mobile_charts.tsx @@ -18,7 +18,9 @@ import { TransactionsTable } from '../../../shared/transactions_table'; import { AggregatedTransactionsBadge } from '../../../shared/aggregated_transactions_badge'; import { useApmParams } from '../../../../hooks/use_apm_params'; import { useTimeRange } from '../../../../hooks/use_time_range'; +import { LatencyMap } from './latency_map'; import { MobileFilters } from './filters'; +import { useFiltersForMobileCharts } from './use_filters_for_mobile_charts'; interface Props { latencyChartHeight: number; @@ -35,6 +37,7 @@ export function ServiceOverviewMobileCharts({ }: Props) { const { fallbackToTransactions, serviceName } = useApmServiceContext(); const router = useApmRouter(); + const filters = useFiltersForMobileCharts(); const { query, @@ -145,6 +148,11 @@ export function ServiceOverviewMobileCharts({ + + + + + ); } diff --git a/x-pack/plugins/apm/public/components/app/service_overview/service_overview_charts/use_filters_for_mobile_charts.ts b/x-pack/plugins/apm/public/components/app/service_overview/service_overview_charts/use_filters_for_mobile_charts.ts new file mode 100644 index 0000000000000..5116a79494978 --- /dev/null +++ b/x-pack/plugins/apm/public/components/app/service_overview/service_overview_charts/use_filters_for_mobile_charts.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 { useMemo } from 'react'; +import { type QueryDslQueryContainer } from '@elastic/elasticsearch/lib/api/types'; +import { isNil, isEmpty } from 'lodash'; +import { ProcessorEvent } from '@kbn/observability-plugin/common'; +import { environmentQuery } from '../../../../../common/utils/environment_query'; +import { useApmParams } from '../../../../hooks/use_apm_params'; +import { + SERVICE_NAME, + TRANSACTION_TYPE, + PROCESSOR_EVENT, + HOST_OS_VERSION, + DEVICE_MODEL_IDENTIFIER, + NETWORK_CONNECTION_TYPE, + SERVICE_VERSION, +} from '../../../../../common/elasticsearch_fieldnames'; + +function termQuery( + field: T, + value: string | boolean | number | undefined | null +): QueryDslQueryContainer[] { + if (isNil(value) || isEmpty(value)) { + return []; + } + + return [{ term: { [field]: value } }]; +} + +export function useFiltersForMobileCharts() { + const { + path: { serviceName }, + query: { + environment, + transactionType, + device, + osVersion, + appVersion, + netConnectionType, + }, + } = useApmParams('/services/{serviceName}/overview'); + + return useMemo( + () => + [ + ...termQuery(PROCESSOR_EVENT, ProcessorEvent.transaction), + ...termQuery(SERVICE_NAME, serviceName), + ...termQuery(TRANSACTION_TYPE, transactionType), + ...termQuery(HOST_OS_VERSION, osVersion), + ...termQuery(DEVICE_MODEL_IDENTIFIER, device), + ...termQuery(NETWORK_CONNECTION_TYPE, netConnectionType), + ...termQuery(SERVICE_VERSION, appVersion), + ...environmentQuery(environment), + ].map((query) => ({ + meta: {}, + query, + })), + [ + environment, + transactionType, + serviceName, + osVersion, + device, + netConnectionType, + appVersion, + ] + ); +} diff --git a/x-pack/plugins/apm/server/routes/data_view/create_static_data_view.ts b/x-pack/plugins/apm/server/routes/data_view/create_static_data_view.ts index ff25167a0a123..21292d51f6dcc 100644 --- a/x-pack/plugins/apm/server/routes/data_view/create_static_data_view.ts +++ b/x-pack/plugins/apm/server/routes/data_view/create_static_data_view.ts @@ -11,6 +11,7 @@ import { i18n } from '@kbn/i18n'; import { TRACE_ID, TRANSACTION_ID, + TRANSACTION_DURATION, } from '../../../common/elasticsearch_fieldnames'; import { APM_STATIC_DATA_VIEW_ID } from '../../../common/data_view_constants'; import { hasHistoricalAgentData } from '../historical_data/has_historical_agent_data'; @@ -175,6 +176,17 @@ function createAndSaveStaticDataView({ labelTemplate: '{{value}}', }, }, + [TRANSACTION_DURATION]: { + id: 'duration', + params: { + inputFormat: 'microseconds', + outputFormat: 'asMilliseconds', + showSuffix: true, + useShortSuffix: true, + outputPrecision: 2, + includeSpaceWithSuffix: true, + }, + }, }, }, true diff --git a/x-pack/test/apm_api_integration/tests/data_view/static.spec.ts b/x-pack/test/apm_api_integration/tests/data_view/static.spec.ts index 0ed65724bfd4c..093fec9044606 100644 --- a/x-pack/test/apm_api_integration/tests/data_view/static.spec.ts +++ b/x-pack/test/apm_api_integration/tests/data_view/static.spec.ts @@ -140,6 +140,17 @@ export default function ApiTest({ getService }: FtrProviderContext) { labelTemplate: '{{value}}', }, }, + 'transaction.duration.us': { + id: 'duration', + params: { + inputFormat: 'microseconds', + outputFormat: 'asMilliseconds', + showSuffix: true, + useShortSuffix: true, + outputPrecision: 2, + includeSpaceWithSuffix: true, + }, + }, }) ); }); From e17aa78872c41eaf173d46614f1fdba7f5d5a88b Mon Sep 17 00:00:00 2001 From: Lee Drengenberg Date: Tue, 1 Nov 2022 13:20:49 -0500 Subject: [PATCH 090/111] alternative path for upgrade reporting test for headless browser (#143994) * alternative path for headless browser * added timing debug output * fix type error * [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> --- .../apps/reporting/reporting_smoke_tests.ts | 83 ++++++++++++------- 1 file changed, 51 insertions(+), 32 deletions(-) diff --git a/x-pack/test/upgrade/apps/reporting/reporting_smoke_tests.ts b/x-pack/test/upgrade/apps/reporting/reporting_smoke_tests.ts index f7b0eef003c91..2aa1cf113b35b 100644 --- a/x-pack/test/upgrade/apps/reporting/reporting_smoke_tests.ts +++ b/x-pack/test/upgrade/apps/reporting/reporting_smoke_tests.ts @@ -22,6 +22,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { const PageObjects = getPageObjects(['common', 'header', 'home', 'dashboard', 'share']); const testSubjects = getService('testSubjects'); const log = getService('log'); + const retry = getService('retry'); const spaces = [ { space: 'default', basePath: '' }, @@ -40,7 +41,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { { name: 'ecommerce', type: 'png', link: 'PNG Reports' }, ]; - describe('upgrade reporting smoke tests', () => { + describe('reporting ', () => { let completedReportCount: number; let usage: UsageStats; describe('initial state', () => { @@ -54,7 +55,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { }); }); spaces.forEach(({ space, basePath }) => { - describe('generate report for space ' + space, () => { + describe('space ' + space, () => { beforeEach(async () => { await PageObjects.common.navigateToActualUrl('home', '/tutorial_directory/sampleData', { basePath, @@ -65,44 +66,62 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { }); reportingTests.forEach(({ name, type, link }) => { it('name: ' + name + ' type: ' + type, async () => { + let startTime; await PageObjects.home.launchSampleDashboard(name); await PageObjects.share.openShareMenuItem(link); if (type === 'pdf_optimize') { await testSubjects.click('usePrintLayout'); } - const advOpt = await find.byXPath(`//button[descendant::*[text()='Advanced options']]`); - await advOpt.click(); - // Workaround for: https://github.com/elastic/kibana/issues/126540 - const isUrlTooLong = await testSubjects.exists('urlTooLongErrorMessage'); - if (isUrlTooLong) { - // Save dashboard - await PageObjects.dashboard.switchToEditMode(); - await PageObjects.dashboard.clickQuickSave(); - await PageObjects.share.openShareMenuItem(link); - if (type === 'pdf_optimize') { - await testSubjects.click('usePrintLayout'); - } - const advOpt2 = await find.byXPath( + const canReadClipboard = await browser.checkBrowserPermission('clipboard-read'); + // if we can read the clipboard (not Chrome headless) then get the reporting URL and post it + // else click the reporting button and wait for the count of completed reports to increment + if (canReadClipboard) { + log.debug('We have clipboard access. Getting the POST URL and posting it via API'); + const advOpt = await find.byXPath( `//button[descendant::*[text()='Advanced options']]` ); - await advOpt2.click(); - } - const postUrl = await find.byXPath(`//button[descendant::*[text()='Copy POST URL']]`); - await postUrl.click(); - const url = await browser.getClipboardValue(); - // Add try/catch for https://github.com/elastic/elastic-stack-testing/issues/1199 - // Waiting for job to finish sometimes gets socket hang up error, from what I - // observed during debug testing the command does complete. - // Checking expected report count will still fail if the job did not finish. - try { - await reportingAPI.expectAllJobsToFinishSuccessfully([ - await reportingAPI.postJob(parse(url).pathname + '?' + parse(url).query), - ]); - } catch (e) { - log.debug(`Error waiting for job to finish: ${e}`); + await advOpt.click(); + // Workaround for: https://github.com/elastic/kibana/issues/126540 + const isUrlTooLong = await testSubjects.exists('urlTooLongErrorMessage'); + if (isUrlTooLong) { + // Save dashboard + await PageObjects.dashboard.switchToEditMode(); + await PageObjects.dashboard.clickQuickSave(); + await PageObjects.share.openShareMenuItem(link); + if (type === 'pdf_optimize') { + await testSubjects.click('usePrintLayout'); + } + const advOpt2 = await find.byXPath( + `//button[descendant::*[text()='Advanced options']]` + ); + await advOpt2.click(); + } + const postUrl = await find.byXPath(`//button[descendant::*[text()='Copy POST URL']]`); + await postUrl.click(); + const url = await browser.getClipboardValue(); + // Add try/catch for https://github.com/elastic/elastic-stack-testing/issues/1199 + // Waiting for job to finish sometimes gets socket hang up error, from what I + // observed during debug testing the command does complete. + // Checking expected report count will still fail if the job did not finish. + try { + await reportingAPI.expectAllJobsToFinishSuccessfully([ + await reportingAPI.postJob(parse(url).pathname + '?' + parse(url).query), + ]); + } catch (e) { + log.debug(`Error waiting for job to finish: ${e}`); + } + startTime = new Date(); + } else { + log.debug(`We don't have clipboard access. Clicking the Generate report button`); + await testSubjects.click('generateReportButton'); + startTime = new Date(); } - usage = (await usageAPI.getUsageStats()) as UsageStats; - reportingAPI.expectCompletedReportCount(usage, completedReportCount + 1); + + await retry.tryForTime(50000, async () => { + usage = (await usageAPI.getUsageStats()) as UsageStats; + reportingAPI.expectCompletedReportCount(usage, completedReportCount + 1); + }); + log.debug(`Elapsed Time: ${new Date().getTime() - startTime.getTime()}`); }); }); }); From 5286358b28e2fe78a2ab4878a390db415d4cd027 Mon Sep 17 00:00:00 2001 From: Chris Cowan Date: Tue, 1 Nov 2022 12:21:26 -0600 Subject: [PATCH 091/111] [Actionable Observability] Verify missing groups for Metric Threshold rule before scheduling no-data actions (#144205) --- .../lib/check_missing_group.ts | 75 +++++++++++++++ ...onvert_strings_to_missing_groups_record.ts | 26 ++++++ .../metric_threshold/lib/evaluate_rule.ts | 23 ++++- .../alerting/metric_threshold/lib/get_data.ts | 9 +- .../metric_threshold/lib/metric_query.ts | 92 ++++++++++--------- .../metric_threshold_executor.test.ts | 72 ++++++++++++++- .../metric_threshold_executor.ts | 14 ++- .../apis/metrics_ui/metric_threshold_alert.ts | 35 ++++++- 8 files changed, 287 insertions(+), 59 deletions(-) create mode 100644 x-pack/plugins/infra/server/lib/alerting/metric_threshold/lib/check_missing_group.ts create mode 100644 x-pack/plugins/infra/server/lib/alerting/metric_threshold/lib/convert_strings_to_missing_groups_record.ts diff --git a/x-pack/plugins/infra/server/lib/alerting/metric_threshold/lib/check_missing_group.ts b/x-pack/plugins/infra/server/lib/alerting/metric_threshold/lib/check_missing_group.ts new file mode 100644 index 0000000000000..f5e2a19cb70e9 --- /dev/null +++ b/x-pack/plugins/infra/server/lib/alerting/metric_threshold/lib/check_missing_group.ts @@ -0,0 +1,75 @@ +/* + * 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 { ElasticsearchClient } from '@kbn/core/server'; +import type { Logger } from '@kbn/logging'; +import { isString, get, identity } from 'lodash'; +import type { BucketKey } from './get_data'; +import { calculateCurrentTimeframe, createBaseFilters } from './metric_query'; +import { MetricExpressionParams } from '../../../../../common/alerting/metrics'; + +export interface MissingGroupsRecord { + key: string; + bucketKey: BucketKey; +} + +export const checkMissingGroups = async ( + esClient: ElasticsearchClient, + metricParams: MetricExpressionParams, + indexPattern: string, + groupBy: string | undefined | string[], + filterQuery: string | undefined, + logger: Logger, + timeframe: { start: number; end: number }, + missingGroups: MissingGroupsRecord[] = [] +): Promise => { + if (missingGroups.length === 0) { + return missingGroups; + } + const currentTimeframe = calculateCurrentTimeframe(metricParams, timeframe); + const baseFilters = createBaseFilters(metricParams, currentTimeframe, filterQuery); + const groupByFields = isString(groupBy) ? [groupBy] : groupBy ? groupBy : []; + + const searches = missingGroups.flatMap((group) => { + const groupByFilters = Object.values(group.bucketKey).map((key, index) => { + return { + match: { + [groupByFields[index]]: key, + }, + }; + }); + return [ + { index: indexPattern }, + { + size: 0, + terminate_after: 1, + track_total_hits: true, + query: { + bool: { + filter: [...baseFilters, ...groupByFilters], + }, + }, + }, + ]; + }); + + logger.trace(`Request: ${JSON.stringify({ searches })}`); + const response = await esClient.msearch({ searches }); + logger.trace(`Response: ${JSON.stringify(response)}`); + + const verifiedMissingGroups = response.responses + .map((resp, index) => { + const total = get(resp, 'hits.total.value', 0) as number; + if (!total) { + return missingGroups[index]; + } + return null; + }) + .filter(identity) as MissingGroupsRecord[]; + + return verifiedMissingGroups; +}; diff --git a/x-pack/plugins/infra/server/lib/alerting/metric_threshold/lib/convert_strings_to_missing_groups_record.ts b/x-pack/plugins/infra/server/lib/alerting/metric_threshold/lib/convert_strings_to_missing_groups_record.ts new file mode 100644 index 0000000000000..ef1091579dd76 --- /dev/null +++ b/x-pack/plugins/infra/server/lib/alerting/metric_threshold/lib/convert_strings_to_missing_groups_record.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; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { isString } from 'lodash'; +import { MissingGroupsRecord } from './check_missing_group'; + +export const convertStringsToMissingGroupsRecord = ( + missingGroups: Array +) => { + return missingGroups.map((subject) => { + if (isString(subject)) { + const parts = subject.split(','); + return { + key: subject, + bucketKey: parts.reduce((acc, part, index) => { + return { ...acc, [`groupBy${index}`]: part }; + }, {}), + }; + } + return subject; + }); +}; diff --git a/x-pack/plugins/infra/server/lib/alerting/metric_threshold/lib/evaluate_rule.ts b/x-pack/plugins/infra/server/lib/alerting/metric_threshold/lib/evaluate_rule.ts index f994726f21f84..2d0299a9043e2 100644 --- a/x-pack/plugins/infra/server/lib/alerting/metric_threshold/lib/evaluate_rule.ts +++ b/x-pack/plugins/infra/server/lib/alerting/metric_threshold/lib/evaluate_rule.ts @@ -14,6 +14,7 @@ import { getIntervalInSeconds } from '../../../../../common/utils/get_interval_i import { DOCUMENT_COUNT_I18N } from '../../common/messages'; import { createTimerange } from './create_timerange'; import { getData } from './get_data'; +import { checkMissingGroups, MissingGroupsRecord } from './check_missing_group'; export interface EvaluatedRuleParams { criteria: MetricExpressionParams[]; @@ -29,6 +30,7 @@ export type Evaluation = Omit & { shouldFire: boolean; shouldWarn: boolean; isNoData: boolean; + bucketKey: Record; }; export const evaluateRule = async ( @@ -40,7 +42,7 @@ export const evaluateRule = async >> => { const { criteria, groupBy, filterQuery } = params; @@ -69,12 +71,24 @@ export const evaluateRule = async ; -type BucketKey = Record; +export type BucketKey = Record; interface AggregatedValue { value: number | null; values?: Record; @@ -69,6 +69,7 @@ const NO_DATA_RESPONSE = { value: null, warn: false, trigger: false, + bucketKey: { groupBy0: UNGROUPED_FACTORY_KEY }, }, }; @@ -112,6 +113,7 @@ export const getData = async ( trigger: false, warn: false, value: null, + bucketKey: bucket.key, }; } else { const value = @@ -126,6 +128,7 @@ export const getData = async ( trigger: (shouldTrigger && shouldTrigger.value > 0) || false, warn: (shouldWarn && shouldWarn.value > 0) || false, value, + bucketKey: bucket.key, }; } } @@ -177,6 +180,7 @@ export const getData = async ( value, warn, trigger, + bucketKey: { groupBy0: UNGROUPED_FACTORY_KEY }, }, }; } @@ -185,6 +189,7 @@ export const getData = async ( value, warn: (shouldWarn && shouldWarn.value > 0) || false, trigger: (shouldTrigger && shouldTrigger.value > 0) || false, + bucketKey: { groupBy0: UNGROUPED_FACTORY_KEY }, }, }; } else { diff --git a/x-pack/plugins/infra/server/lib/alerting/metric_threshold/lib/metric_query.ts b/x-pack/plugins/infra/server/lib/alerting/metric_threshold/lib/metric_query.ts index 06da4c09a8be6..45de5c1f8f4d4 100644 --- a/x-pack/plugins/infra/server/lib/alerting/metric_threshold/lib/metric_query.ts +++ b/x-pack/plugins/infra/server/lib/alerting/metric_threshold/lib/metric_query.ts @@ -12,11 +12,56 @@ import { createPercentileAggregation } from './create_percentile_aggregation'; import { createRateAggsBuckets, createRateAggsBucketScript } from './create_rate_aggregation'; import { wrapInCurrentPeriod } from './wrap_in_period'; -const getParsedFilterQuery: (filterQuery: string | undefined) => Record | null = ( +const getParsedFilterQuery: (filterQuery: string | undefined) => Array> = ( filterQuery ) => { - if (!filterQuery) return null; - return JSON.parse(filterQuery); + if (!filterQuery) return []; + return [JSON.parse(filterQuery)]; +}; + +export const calculateCurrentTimeframe = ( + metricParams: MetricExpressionParams, + timeframe: { start: number; end: number } +) => ({ + ...timeframe, + start: moment(timeframe.end) + .subtract( + metricParams.aggType === Aggregators.RATE ? metricParams.timeSize * 2 : metricParams.timeSize, + metricParams.timeUnit + ) + .valueOf(), +}); + +export const createBaseFilters = ( + metricParams: MetricExpressionParams, + timeframe: { start: number; end: number }, + filterQuery?: string +) => { + const { metric } = metricParams; + const rangeFilters = [ + { + range: { + '@timestamp': { + gte: moment(timeframe.start).toISOString(), + lte: moment(timeframe.end).toISOString(), + }, + }, + }, + ]; + + const metricFieldFilters = metric + ? [ + { + exists: { + field: metric, + }, + }, + ] + : []; + + const parsedFilterQuery = getParsedFilterQuery(filterQuery); + + return [...rangeFilters, ...metricFieldFilters, ...parsedFilterQuery]; }; export const getElasticsearchMetricQuery = ( @@ -39,17 +84,7 @@ export const getElasticsearchMetricQuery = ( // We need to make a timeframe that represents the current timeframe as oppose // to the total timeframe (which includes the last period). - const currentTimeframe = { - ...timeframe, - start: moment(timeframe.end) - .subtract( - metricParams.aggType === Aggregators.RATE - ? metricParams.timeSize * 2 - : metricParams.timeSize, - metricParams.timeUnit - ) - .valueOf(), - }; + const currentTimeframe = calculateCurrentTimeframe(metricParams, timeframe); const metricAggregations = aggType === Aggregators.COUNT @@ -129,38 +164,13 @@ export const getElasticsearchMetricQuery = ( aggs.groupings.composite.after = afterKey; } - const rangeFilters = [ - { - range: { - '@timestamp': { - gte: moment(timeframe.start).toISOString(), - lte: moment(timeframe.end).toISOString(), - }, - }, - }, - ]; - - const metricFieldFilters = metric - ? [ - { - exists: { - field: metric, - }, - }, - ] - : []; - - const parsedFilterQuery = getParsedFilterQuery(filterQuery); + const baseFilters = createBaseFilters(metricParams, timeframe, filterQuery); return { track_total_hits: true, query: { bool: { - filter: [ - ...rangeFilters, - ...metricFieldFilters, - ...(parsedFilterQuery ? [parsedFilterQuery] : []), - ], + filter: baseFilters, }, }, size: 0, diff --git a/x-pack/plugins/infra/server/lib/alerting/metric_threshold/metric_threshold_executor.test.ts b/x-pack/plugins/infra/server/lib/alerting/metric_threshold/metric_threshold_executor.test.ts index b345a83ab69d1..d56984da1c85c 100644 --- a/x-pack/plugins/infra/server/lib/alerting/metric_threshold/metric_threshold_executor.test.ts +++ b/x-pack/plugins/infra/server/lib/alerting/metric_threshold/metric_threshold_executor.test.ts @@ -157,6 +157,7 @@ describe('The metric threshold alert type', () => { shouldFire, shouldWarn, isNoData, + bucketKey: { groupBy0: '*' }, }, }, ]); @@ -266,6 +267,7 @@ describe('The metric threshold alert type', () => { shouldFire: true, shouldWarn: false, isNoData: false, + bucketKey: { groupBy0: 'a' }, }, b: { ...baseNonCountCriterion, @@ -277,6 +279,7 @@ describe('The metric threshold alert type', () => { shouldFire: true, shouldWarn: false, isNoData: false, + bucketKey: { groupBy0: 'b' }, }, }, ]); @@ -297,6 +300,7 @@ describe('The metric threshold alert type', () => { shouldFire: true, shouldWarn: false, isNoData: false, + bucketKey: { groupBy0: 'a' }, }, b: { ...baseNonCountCriterion, @@ -308,6 +312,7 @@ describe('The metric threshold alert type', () => { shouldFire: false, shouldWarn: false, isNoData: false, + bucketKey: { groupBy0: 'b' }, }, }, ]); @@ -328,6 +333,7 @@ describe('The metric threshold alert type', () => { shouldFire: false, shouldWarn: false, isNoData: false, + bucketKey: { groupBy0: 'a' }, }, b: { ...baseNonCountCriterion, @@ -339,6 +345,7 @@ describe('The metric threshold alert type', () => { shouldFire: false, shouldWarn: false, isNoData: false, + bucketKey: { groupBy0: 'b' }, }, }, ]); @@ -359,6 +366,7 @@ describe('The metric threshold alert type', () => { shouldFire: true, shouldWarn: false, isNoData: false, + bucketKey: { groupBy0: 'a' }, }, b: { ...baseNonCountCriterion, @@ -370,6 +378,7 @@ describe('The metric threshold alert type', () => { shouldFire: true, shouldWarn: false, isNoData: false, + bucketKey: { groupBy0: 'b' }, }, }, ]); @@ -390,6 +399,7 @@ describe('The metric threshold alert type', () => { shouldFire: true, shouldWarn: false, isNoData: false, + bucketKey: { groupBy0: 'a' }, }, b: { ...baseNonCountCriterion, @@ -401,6 +411,7 @@ describe('The metric threshold alert type', () => { shouldFire: true, shouldWarn: false, isNoData: false, + bucketKey: { groupBy0: 'b' }, }, c: { ...baseNonCountCriterion, @@ -412,6 +423,7 @@ describe('The metric threshold alert type', () => { shouldFire: true, shouldWarn: false, isNoData: false, + bucketKey: { groupBy0: 'c' }, }, }, ]); @@ -429,6 +441,7 @@ describe('The metric threshold alert type', () => { shouldFire: true, shouldWarn: false, isNoData: false, + bucketKey: { groupBy0: 'a' }, }, b: { ...baseNonCountCriterion, @@ -440,6 +453,7 @@ describe('The metric threshold alert type', () => { shouldFire: true, shouldWarn: false, isNoData: false, + bucketKey: { groupBy0: 'b' }, }, c: { ...baseNonCountCriterion, @@ -451,6 +465,7 @@ describe('The metric threshold alert type', () => { shouldFire: false, shouldWarn: false, isNoData: true, + bucketKey: { groupBy0: 'c' }, }, }, ]); @@ -461,7 +476,9 @@ describe('The metric threshold alert type', () => { 'test.metric.1', stateResult1 ); - expect(stateResult2.missingGroups).toEqual(expect.arrayContaining(['c'])); + expect(stateResult2.missingGroups).toEqual( + expect.arrayContaining([{ key: 'c', bucketKey: { groupBy0: 'c' } }]) + ); setEvaluationResults([ { a: { @@ -474,6 +491,7 @@ describe('The metric threshold alert type', () => { shouldFire: true, shouldWarn: false, isNoData: false, + bucketKey: { groupBy0: 'a' }, }, b: { ...baseNonCountCriterion, @@ -485,6 +503,7 @@ describe('The metric threshold alert type', () => { shouldFire: true, shouldWarn: false, isNoData: false, + bucketKey: { groupBy0: 'b' }, }, }, ]); @@ -535,6 +554,7 @@ describe('The metric threshold alert type', () => { shouldFire: true, shouldWarn: false, isNoData: false, + bucketKey: { groupBy0: 'a' }, }, b: { ...baseNonCountCriterion, @@ -546,6 +566,7 @@ describe('The metric threshold alert type', () => { shouldFire: true, shouldWarn: false, isNoData: false, + bucketKey: { groupBy0: 'b' }, }, c: { ...baseNonCountCriterion, @@ -557,6 +578,7 @@ describe('The metric threshold alert type', () => { shouldFire: true, shouldWarn: false, isNoData: false, + bucketKey: { groupBy0: 'c' }, }, }, ]); @@ -579,6 +601,7 @@ describe('The metric threshold alert type', () => { shouldFire: true, shouldWarn: false, isNoData: false, + bucketKey: { groupBy0: 'a' }, }, b: { ...baseNonCountCriterion, @@ -590,6 +613,7 @@ describe('The metric threshold alert type', () => { shouldFire: true, shouldWarn: false, isNoData: false, + bucketKey: { groupBy0: 'b' }, }, c: { ...baseNonCountCriterion, @@ -601,6 +625,7 @@ describe('The metric threshold alert type', () => { shouldFire: false, shouldWarn: false, isNoData: true, + bucketKey: { groupBy0: 'c' }, }, }, ]); @@ -611,7 +636,9 @@ describe('The metric threshold alert type', () => { 'test.metric.1', stateResult1 ); - expect(stateResult2.missingGroups).toEqual(expect.arrayContaining(['c'])); + expect(stateResult2.missingGroups).toEqual( + expect.arrayContaining([{ key: 'c', bucketKey: { groupBy0: 'c' } }]) + ); setEvaluationResults([ { a: { @@ -624,6 +651,7 @@ describe('The metric threshold alert type', () => { shouldFire: true, shouldWarn: false, isNoData: false, + bucketKey: { groupBy0: 'a' }, }, b: { ...baseNonCountCriterion, @@ -635,6 +663,7 @@ describe('The metric threshold alert type', () => { shouldFire: true, shouldWarn: false, isNoData: false, + bucketKey: { groupBy0: 'b' }, }, }, ]); @@ -692,6 +721,7 @@ describe('The metric threshold alert type', () => { shouldFire: true, shouldWarn: false, isNoData: false, + bucketKey: { groupBy0: '*' }, }, }, { @@ -705,6 +735,7 @@ describe('The metric threshold alert type', () => { shouldFire: true, shouldWarn: false, isNoData: false, + bucketKey: { groupBy0: '*' }, }, }, ]); @@ -725,6 +756,7 @@ describe('The metric threshold alert type', () => { shouldFire: true, shouldWarn: false, isNoData: false, + bucketKey: { groupBy0: '*' }, }, }, {}, @@ -746,6 +778,7 @@ describe('The metric threshold alert type', () => { shouldFire: true, shouldWarn: false, isNoData: false, + bucketKey: { groupBy0: 'a' }, }, b: { ...baseNonCountCriterion, @@ -757,6 +790,7 @@ describe('The metric threshold alert type', () => { shouldFire: true, shouldWarn: false, isNoData: false, + bucketKey: { groupBy0: 'b' }, }, }, { @@ -770,6 +804,7 @@ describe('The metric threshold alert type', () => { shouldFire: true, shouldWarn: false, isNoData: false, + bucketKey: { groupBy0: 'a' }, }, b: { ...baseNonCountCriterion, @@ -781,6 +816,7 @@ describe('The metric threshold alert type', () => { shouldFire: false, shouldWarn: false, isNoData: false, + bucketKey: { groupBy0: 'b' }, }, }, ]); @@ -803,6 +839,7 @@ describe('The metric threshold alert type', () => { shouldFire: true, shouldWarn: false, isNoData: false, + bucketKey: { groupBy0: '*' }, }, }, { @@ -816,6 +853,7 @@ describe('The metric threshold alert type', () => { shouldFire: true, shouldWarn: false, isNoData: false, + bucketKey: { groupBy0: '*' }, }, }, ]); @@ -867,6 +905,7 @@ describe('The metric threshold alert type', () => { shouldFire: true, shouldWarn: false, isNoData: false, + bucketKey: { groupBy0: 'a' }, }, }, ]); @@ -884,6 +923,7 @@ describe('The metric threshold alert type', () => { shouldFire: false, shouldWarn: false, isNoData: false, + bucketKey: { groupBy0: 'a' }, }, }, ]); @@ -929,6 +969,7 @@ describe('The metric threshold alert type', () => { shouldFire: false, shouldWarn: false, isNoData: false, + bucketKey: { groupBy0: 'a' }, }, b: { ...baseCountCriterion, @@ -940,6 +981,7 @@ describe('The metric threshold alert type', () => { shouldFire: false, shouldWarn: false, isNoData: false, + bucketKey: { groupBy0: 'b' }, }, }, ]); @@ -958,6 +1000,7 @@ describe('The metric threshold alert type', () => { shouldFire: true, shouldWarn: false, isNoData: false, + bucketKey: { groupBy0: 'a' }, }, b: { ...baseCountCriterion, @@ -969,6 +1012,7 @@ describe('The metric threshold alert type', () => { shouldFire: true, shouldWarn: false, isNoData: false, + bucketKey: { groupBy0: 'b' }, }, }, ]); @@ -1010,6 +1054,7 @@ describe('The metric threshold alert type', () => { shouldFire: true, shouldWarn: false, isNoData: false, + bucketKey: { groupBy0: '*' }, }, }, ]); @@ -1027,6 +1072,7 @@ describe('The metric threshold alert type', () => { shouldFire: false, shouldWarn: false, isNoData: false, + bucketKey: { groupBy0: '*' }, }, }, ]); @@ -1067,6 +1113,7 @@ describe('The metric threshold alert type', () => { shouldFire: true, shouldWarn: false, isNoData: false, + bucketKey: { groupBy0: '*' }, }, }, ]); @@ -1084,6 +1131,7 @@ describe('The metric threshold alert type', () => { shouldFire: false, shouldWarn: false, isNoData: false, + bucketKey: { groupBy0: '*' }, }, }, ]); @@ -1124,6 +1172,7 @@ describe('The metric threshold alert type', () => { shouldFire: false, shouldWarn: false, isNoData: true, + bucketKey: { groupBy0: '*' }, }, }, ]); @@ -1143,6 +1192,7 @@ describe('The metric threshold alert type', () => { shouldFire: false, shouldWarn: false, isNoData: true, + bucketKey: { groupBy0: '*' }, }, }, ]); @@ -1200,6 +1250,7 @@ describe('The metric threshold alert type', () => { shouldFire: false, shouldWarn: false, isNoData: true, + bucketKey: { groupBy0: '*' }, }, }, ]); @@ -1217,6 +1268,7 @@ describe('The metric threshold alert type', () => { shouldFire: false, shouldWarn: false, isNoData: true, + bucketKey: { groupBy0: '*' }, }, }, ]); @@ -1234,6 +1286,7 @@ describe('The metric threshold alert type', () => { shouldFire: true, shouldWarn: false, isNoData: false, + bucketKey: { groupBy0: 'a' }, }, b: { ...baseNonCountCriterion, @@ -1245,6 +1298,7 @@ describe('The metric threshold alert type', () => { shouldFire: true, shouldWarn: false, isNoData: false, + bucketKey: { groupBy0: 'b' }, }, }, ]); @@ -1270,6 +1324,7 @@ describe('The metric threshold alert type', () => { shouldFire: false, shouldWarn: false, isNoData: true, + bucketKey: { groupBy0: 'a' }, }, b: { ...baseNonCountCriterion, @@ -1281,6 +1336,7 @@ describe('The metric threshold alert type', () => { shouldFire: false, shouldWarn: false, isNoData: true, + bucketKey: { groupBy0: 'b' }, }, }, ]); @@ -1302,6 +1358,7 @@ describe('The metric threshold alert type', () => { shouldFire: true, shouldWarn: false, isNoData: false, + bucketKey: { groupBy0: 'a' }, }, b: { ...baseNonCountCriterion, @@ -1313,6 +1370,7 @@ describe('The metric threshold alert type', () => { shouldFire: true, shouldWarn: false, isNoData: false, + bucketKey: { groupBy0: 'b' }, }, c: { ...baseNonCountCriterion, @@ -1324,6 +1382,7 @@ describe('The metric threshold alert type', () => { shouldFire: true, shouldWarn: false, isNoData: false, + bucketKey: { groupBy0: 'c' }, }, }, ]); @@ -1344,6 +1403,7 @@ describe('The metric threshold alert type', () => { shouldFire: true, shouldWarn: false, isNoData: false, + bucketKey: { groupBy0: 'a' }, }, b: { ...baseNonCountCriterion, @@ -1355,6 +1415,7 @@ describe('The metric threshold alert type', () => { shouldFire: true, shouldWarn: false, isNoData: false, + bucketKey: { groupBy0: 'b' }, }, }, ]); @@ -1405,6 +1466,7 @@ describe('The metric threshold alert type', () => { shouldFire: false, shouldWarn: false, isNoData: true, + bucketKey: { groupBy0: '*' }, }, }, ]); @@ -1422,6 +1484,7 @@ describe('The metric threshold alert type', () => { shouldFire: false, shouldWarn: false, isNoData: true, + bucketKey: { groupBy0: '*' }, }, }, ]); @@ -1439,6 +1502,7 @@ describe('The metric threshold alert type', () => { shouldFire: true, shouldWarn: false, isNoData: false, + bucketKey: { groupBy0: 'a' }, }, b: { ...baseNonCountCriterion, @@ -1450,6 +1514,7 @@ describe('The metric threshold alert type', () => { shouldFire: true, shouldWarn: false, isNoData: false, + bucketKey: { groupBy0: 'b' }, }, }, ]); @@ -1473,6 +1538,7 @@ describe('The metric threshold alert type', () => { shouldFire: false, shouldWarn: false, isNoData: true, + bucketKey: { groupBy0: 'a' }, }, b: { ...baseNonCountCriterion, @@ -1484,6 +1550,7 @@ describe('The metric threshold alert type', () => { shouldFire: false, shouldWarn: false, isNoData: true, + bucketKey: { groupBy0: 'b' }, }, }, ]); @@ -1563,6 +1630,7 @@ describe('The metric threshold alert type', () => { shouldFire: false, shouldWarn, isNoData: false, + bucketKey: { groupBy0: '*' }, }, }, ]); diff --git a/x-pack/plugins/infra/server/lib/alerting/metric_threshold/metric_threshold_executor.ts b/x-pack/plugins/infra/server/lib/alerting/metric_threshold/metric_threshold_executor.ts index 200ad68aa81d1..a6fdbe3aa801c 100644 --- a/x-pack/plugins/infra/server/lib/alerting/metric_threshold/metric_threshold_executor.ts +++ b/x-pack/plugins/infra/server/lib/alerting/metric_threshold/metric_threshold_executor.ts @@ -34,11 +34,13 @@ import { } from '../common/utils'; import { EvaluatedRuleParams, evaluateRule } from './lib/evaluate_rule'; +import { MissingGroupsRecord } from './lib/check_missing_group'; +import { convertStringsToMissingGroupsRecord } from './lib/convert_strings_to_missing_groups_record'; export type MetricThresholdRuleParams = Record; export type MetricThresholdRuleTypeState = RuleTypeState & { lastRunTimestamp?: number; - missingGroups?: string[]; + missingGroups?: Array; groupBy?: string | string[]; filterQuery?: string; }; @@ -144,7 +146,9 @@ export const createMetricThresholdExecutor = (libs: InfraBackendLibs) => const filterQueryIsSame = isEqual(state.filterQuery, params.filterQuery); const groupByIsSame = isEqual(state.groupBy, params.groupBy); const previousMissingGroups = - alertOnGroupDisappear && filterQueryIsSame && groupByIsSame ? state.missingGroups : []; + alertOnGroupDisappear && filterQueryIsSame && groupByIsSame && state.missingGroups + ? state.missingGroups + : []; const alertResults = await evaluateRule( services.scopedClusterClient.asCurrentUser, @@ -155,7 +159,7 @@ export const createMetricThresholdExecutor = (libs: InfraBackendLibs) => logger, state.lastRunTimestamp, { end: startedAt.valueOf() }, - previousMissingGroups + convertStringsToMissingGroupsRecord(previousMissingGroups) ); const resultGroupSet = new Set(); @@ -166,7 +170,7 @@ export const createMetricThresholdExecutor = (libs: InfraBackendLibs) => } const groups = [...resultGroupSet]; - const nextMissingGroups = new Set(); + const nextMissingGroups = new Set(); const hasGroups = !isEqual(groups, [UNGROUPED_FACTORY_KEY]); let scheduledActionsCount = 0; @@ -180,7 +184,7 @@ export const createMetricThresholdExecutor = (libs: InfraBackendLibs) => const isNoData = alertResults.some((result) => result[group]?.isNoData); if (isNoData && group !== UNGROUPED_FACTORY_KEY) { - nextMissingGroups.add(group); + nextMissingGroups.add({ key: group, bucketKey: alertResults[0][group].bucketKey }); } const nextState = isNoData diff --git a/x-pack/test/api_integration/apis/metrics_ui/metric_threshold_alert.ts b/x-pack/test/api_integration/apis/metrics_ui/metric_threshold_alert.ts index 5d6f38b368f2e..603eecd6a8b65 100644 --- a/x-pack/test/api_integration/apis/metrics_ui/metric_threshold_alert.ts +++ b/x-pack/test/api_integration/apis/metrics_ui/metric_threshold_alert.ts @@ -125,6 +125,7 @@ export default function ({ getService }: FtrProviderContext) { shouldFire: true, shouldWarn: false, isNoData: false, + bucketKey: { groupBy0: '*' }, }, }, ]); @@ -174,6 +175,7 @@ export default function ({ getService }: FtrProviderContext) { shouldFire: true, shouldWarn: false, isNoData: false, + bucketKey: { groupBy0: 'web' }, }, }, ]); @@ -206,7 +208,7 @@ export default function ({ getService }: FtrProviderContext) { logger, void 0, timeFrame, - ['middleware'] + [{ key: 'middleware', bucketKey: { groupBy0: 'middleware' } }] ); expect(results).to.eql([ { @@ -222,6 +224,7 @@ export default function ({ getService }: FtrProviderContext) { shouldFire: true, shouldWarn: false, isNoData: false, + bucketKey: { groupBy0: 'web' }, }, middleware: { timeSize: 5, @@ -235,6 +238,7 @@ export default function ({ getService }: FtrProviderContext) { shouldFire: false, shouldWarn: false, isNoData: true, + bucketKey: { groupBy0: 'middleware' }, }, }, ]); @@ -281,6 +285,7 @@ export default function ({ getService }: FtrProviderContext) { shouldFire: false, shouldWarn: false, isNoData: true, + bucketKey: { groupBy0: '*' }, }, }, ]); @@ -312,6 +317,7 @@ export default function ({ getService }: FtrProviderContext) { shouldFire: false, shouldWarn: false, isNoData: true, + bucketKey: { groupBy0: '*' }, }, }, ]); @@ -358,6 +364,7 @@ export default function ({ getService }: FtrProviderContext) { shouldFire: false, shouldWarn: false, isNoData: true, + bucketKey: { groupBy0: '*' }, }, }, ]); @@ -388,7 +395,10 @@ export default function ({ getService }: FtrProviderContext) { logger, void 0, timeFrame, - ['web', 'prod'] + [ + { key: 'web', bucketKey: { groupBy0: 'web' } }, + { key: 'prod', bucketKey: { groupBy0: 'prod' } }, + ] ); expect(results).to.eql([ { @@ -404,6 +414,7 @@ export default function ({ getService }: FtrProviderContext) { shouldFire: false, shouldWarn: false, isNoData: true, + bucketKey: { groupBy0: '*' }, }, web: { timeSize: 5, @@ -417,6 +428,7 @@ export default function ({ getService }: FtrProviderContext) { shouldFire: false, shouldWarn: false, isNoData: true, + bucketKey: { groupBy0: 'web' }, }, prod: { timeSize: 5, @@ -430,6 +442,7 @@ export default function ({ getService }: FtrProviderContext) { shouldFire: false, shouldWarn: false, isNoData: true, + bucketKey: { groupBy0: 'prod' }, }, }, ]); @@ -480,6 +493,7 @@ export default function ({ getService }: FtrProviderContext) { shouldFire: true, shouldWarn: false, isNoData: false, + bucketKey: { groupBy0: '*' }, }, }, ]); @@ -522,6 +536,7 @@ export default function ({ getService }: FtrProviderContext) { shouldFire: true, shouldWarn: false, isNoData: false, + bucketKey: { groupBy0: '*' }, }, }, ]); @@ -553,6 +568,7 @@ export default function ({ getService }: FtrProviderContext) { shouldFire: true, shouldWarn: false, isNoData: false, + bucketKey: { groupBy0: '*' }, }, }, ]); @@ -598,6 +614,7 @@ export default function ({ getService }: FtrProviderContext) { shouldFire: true, shouldWarn: false, isNoData: false, + bucketKey: { groupBy0: 'dev' }, }, prod: { timeSize: 5, @@ -611,6 +628,7 @@ export default function ({ getService }: FtrProviderContext) { shouldFire: true, shouldWarn: false, isNoData: false, + bucketKey: { groupBy0: 'prod' }, }, }, ]); @@ -645,6 +663,7 @@ export default function ({ getService }: FtrProviderContext) { shouldFire: true, shouldWarn: false, isNoData: false, + bucketKey: { groupBy0: 'prod' }, }, }, ]); @@ -665,7 +684,7 @@ export default function ({ getService }: FtrProviderContext) { logger, void 0, timeFrame, - ['dev'] + [{ key: 'dev', bucketKey: { groupBy0: 'dev' } }] ); expect(results).to.eql([ { @@ -681,12 +700,13 @@ export default function ({ getService }: FtrProviderContext) { shouldFire: false, shouldWarn: false, isNoData: true, + bucketKey: { groupBy0: 'dev' }, }, }, ]); }); - it('should NOT resport any alerts when missing group recovers', async () => { + it('should NOT report any alerts when missing group recovers', async () => { const params = { ...baseParams, criteria: [ @@ -711,7 +731,7 @@ export default function ({ getService }: FtrProviderContext) { logger, moment(gauge.midpoint).subtract(1, 'm').valueOf(), timeFrame, - ['dev'] + [{ key: 'dev', bucketKey: { groupBy0: 'dev' } }] ); expect(results).to.eql([{}]); }); @@ -746,6 +766,7 @@ export default function ({ getService }: FtrProviderContext) { shouldFire: false, shouldWarn: false, isNoData: true, + bucketKey: { groupBy0: 'prod' }, }, dev: { timeSize: 5, @@ -759,6 +780,7 @@ export default function ({ getService }: FtrProviderContext) { shouldFire: false, shouldWarn: false, isNoData: true, + bucketKey: { groupBy0: 'dev' }, }, }, ]); @@ -807,6 +829,7 @@ export default function ({ getService }: FtrProviderContext) { shouldFire: true, shouldWarn: false, isNoData: false, + bucketKey: { groupBy0: '*' }, }, }, ]); @@ -851,6 +874,7 @@ export default function ({ getService }: FtrProviderContext) { shouldFire: true, shouldWarn: false, isNoData: false, + bucketKey: { groupBy0: '*' }, }, }, ]); @@ -901,6 +925,7 @@ export default function ({ getService }: FtrProviderContext) { shouldFire: false, shouldWarn: true, isNoData: false, + bucketKey: { groupBy0: 'dev' }, }, }, ]); From f6203495d1858eaaa73ade8856a664e6208e5e67 Mon Sep 17 00:00:00 2001 From: Lee Drengenberg Date: Tue, 1 Nov 2022 13:35:44 -0500 Subject: [PATCH 092/111] check that the sample data menu is really open, retry (#144274) --- test/functional/page_objects/home_page.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/test/functional/page_objects/home_page.ts b/test/functional/page_objects/home_page.ts index c9dd27498c4ad..3c143fa29a7e5 100644 --- a/test/functional/page_objects/home_page.ts +++ b/test/functional/page_objects/home_page.ts @@ -131,7 +131,12 @@ export class HomePageObject extends FtrService { async launchSampleDataSet(id: string) { await this.addSampleDataSet(id); await this.common.closeToastIfExists(); - await this.testSubjects.click(`launchSampleDataSet${id}`); + await this.retry.try(async () => { + await this.testSubjects.click(`launchSampleDataSet${id}`); + await this.find.byCssSelector( + `.euiPopover-isOpen[data-test-subj="launchSampleDataSet${id}"]` + ); + }); } async clickAllKibanaPlugins() { From 656e072566bad28f7a2f71ed4229001f0e9c22ca Mon Sep 17 00:00:00 2001 From: Alexey Antonov Date: Tue, 1 Nov 2022 22:01:06 +0300 Subject: [PATCH 093/111] [TSVB] In the case of 2 or more panels on the dashboard, TSVB renderComplete fires 2 times (#143999) * [TSVB] In the case of 2 or more panels on the dashboard, TSVB renderComplete fires 2 times * remove recreateDataView * fix PR comments * update limits --- packages/kbn-optimizer/limits.yml | 2 +- .../common/data_views/data_views.test.ts | 3 ++ .../common/data_views/data_views.ts | 41 +++++++++++++++---- 3 files changed, 38 insertions(+), 8 deletions(-) diff --git a/packages/kbn-optimizer/limits.yml b/packages/kbn-optimizer/limits.yml index 49b1d6b8cc736..50b5b9e3e782a 100644 --- a/packages/kbn-optimizer/limits.yml +++ b/packages/kbn-optimizer/limits.yml @@ -27,7 +27,7 @@ pageLoadAssetSize: dataViewEditor: 12000 dataViewFieldEditor: 27000 dataViewManagement: 5000 - dataViews: 46532 + dataViews: 46600 dataVisualizer: 27530 devTools: 38637 discover: 99999 diff --git a/src/plugins/data_views/common/data_views/data_views.test.ts b/src/plugins/data_views/common/data_views/data_views.test.ts index 64e9ee483ef3b..637f525991a33 100644 --- a/src/plugins/data_views/common/data_views/data_views.test.ts +++ b/src/plugins/data_views/common/data_views/data_views.test.ts @@ -155,6 +155,9 @@ describe('IndexPatterns', () => { const gettedDataView = await indexPatterns.get(id); expect(dataView).toBe(gettedDataView); + + const dataView2 = await indexPatterns.create({ id }); + expect(dataView2).toBe(gettedDataView); }); test('allowNoIndex flag preserves existing fields when index is missing', async () => { diff --git a/src/plugins/data_views/common/data_views/data_views.ts b/src/plugins/data_views/common/data_views/data_views.ts index 60dd372dd7b8f..cdb69b4537082 100644 --- a/src/plugins/data_views/common/data_views/data_views.ts +++ b/src/plugins/data_views/common/data_views/data_views.ts @@ -823,7 +823,7 @@ export class DataViewsService { ? JSON.parse(savedObject.attributes.fieldFormatMap) : {}; - const indexPattern = await this.create(spec, true, displayErrors); + const indexPattern = await this.createFromSpec(spec, true, displayErrors); indexPattern.matchedIndices = indices; indexPattern.resetOriginalSavedObjectBody(); return indexPattern; @@ -898,7 +898,7 @@ export class DataViewsService { * @param displayErrors - If set false, API consumer is responsible for displaying and handling errors. * @returns DataView */ - async create( + private async createFromSpec( { id, name, title, ...restOfSpec }: DataViewSpec, skipFetchFields = false, displayErrors = true @@ -913,7 +913,7 @@ export class DataViewsService { ...restOfSpec, }; - const indexPattern = new DataView({ + const dataView = new DataView({ spec, fieldFormats: this.fieldFormats, shortDotsEnable, @@ -921,12 +921,39 @@ export class DataViewsService { }); if (!skipFetchFields) { - await this.refreshFields(indexPattern, displayErrors); + await this.refreshFields(dataView, displayErrors); } - this.dataViewCache.set(indexPattern.id!, Promise.resolve(indexPattern)); + return dataView; + } - return indexPattern; + /** + * Create data view instance. + * @param spec data view spec + * @param skipFetchFields if true, will not fetch fields + * @param displayErrors - If set false, API consumer is responsible for displaying and handling errors. + * @returns DataView + */ + async create( + spec: DataViewSpec, + skipFetchFields = false, + displayErrors = true + ): Promise { + if (spec.id) { + const cachedDataView = spec.id ? await this.dataViewCache.get(spec.id) : undefined; + + if (cachedDataView) { + return cachedDataView; + } + } + + const dataView = await this.createFromSpec(spec, skipFetchFields, displayErrors); + + if (dataView.id) { + return this.dataViewCache.set(dataView.id, Promise.resolve(dataView)); + } + + return dataView; } /** @@ -943,7 +970,7 @@ export class DataViewsService { skipFetchFields = false, displayErrors = true ) { - const indexPattern = await this.create(spec, skipFetchFields, displayErrors); + const indexPattern = await this.createFromSpec(spec, skipFetchFields, displayErrors); const createdIndexPattern = await this.createSavedObject(indexPattern, override, displayErrors); await this.setDefault(createdIndexPattern.id!); return createdIndexPattern!; From 4b1241526520d5c0d0c7fc6fd446f795ee8db39d Mon Sep 17 00:00:00 2001 From: Rodney Norris Date: Tue, 1 Nov 2022 14:22:53 -0500 Subject: [PATCH 094/111] disable ml inference pipeline delete (#144279) Disabled the delete pipeline action if the pipeline is used in more that one ml-inference parent pipeline. --- .../delete_inference_pipeline_button.test.tsx | 61 +++++++++++++++ .../delete_inference_pipeline_button.tsx | 75 +++++++++++++++++++ .../pipelines/inference_pipeline_card.tsx | 15 +--- 3 files changed, 140 insertions(+), 11 deletions(-) create mode 100644 x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/delete_inference_pipeline_button.test.tsx create mode 100644 x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/delete_inference_pipeline_button.tsx diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/delete_inference_pipeline_button.test.tsx b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/delete_inference_pipeline_button.test.tsx new file mode 100644 index 0000000000000..1dd7d8eeccf2d --- /dev/null +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/delete_inference_pipeline_button.test.tsx @@ -0,0 +1,61 @@ +/* + * 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 { shallow } from 'enzyme'; + +import { EuiButtonEmpty, EuiToolTip } from '@elastic/eui'; + +import { InferencePipeline, TrainedModelState } from '../../../../../../common/types/pipelines'; + +import { DeleteInferencePipelineButton } from './delete_inference_pipeline_button'; + +export const DEFAULT_VALUES: InferencePipeline = { + modelId: 'sample-bert-ner-model', + modelState: TrainedModelState.Started, + pipelineName: 'Sample Processor', + pipelineReferences: ['index@ml-inference'], + types: ['pytorch', 'ner'], +}; + +describe('DeleteInferencePipelineButton', () => { + const onClickHandler = jest.fn(); + beforeEach(() => { + jest.clearAllMocks(); + }); + it('renders button with defaults', () => { + const wrapper = shallow( + + ); + const tooltip = wrapper.find(EuiToolTip); + expect(tooltip).toHaveLength(0); + + const btn = wrapper.find(EuiButtonEmpty); + expect(btn).toHaveLength(1); + expect(btn.prop('iconType')).toBe('trash'); + expect(btn.prop('color')).toBe('text'); + expect(btn.prop('children')).toBe('Delete pipeline'); + }); + it('renders disabled with tooltip with multiple references', () => { + const wrapper = shallow( + + ); + const tooltip = wrapper.find(EuiToolTip); + expect(tooltip).toHaveLength(1); + + const btn = wrapper.find(EuiButtonEmpty); + expect(btn).toHaveLength(1); + expect(btn.prop('disabled')).toBe(true); + }); +}); diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/delete_inference_pipeline_button.tsx b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/delete_inference_pipeline_button.tsx new file mode 100644 index 0000000000000..4ab47fec32223 --- /dev/null +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/delete_inference_pipeline_button.tsx @@ -0,0 +1,75 @@ +/* + * 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 { EuiButtonEmpty, EuiToolTip } from '@elastic/eui'; + +import { i18n } from '@kbn/i18n'; + +import { InferencePipeline } from '../../../../../../common/types/pipelines'; + +export interface DeleteInferencePipelineButtonProps { + 'data-telemetry-id'?: string; + onClick: () => void; + pipeline: InferencePipeline; +} + +const DELETE_PIPELINE_LABEL = i18n.translate( + 'xpack.enterpriseSearch.inferencePipelineCard.action.delete', + { + defaultMessage: 'Delete pipeline', + } +); + +export const DeleteInferencePipelineButton: React.FC = ( + props +) => { + if (props.pipeline.pipelineReferences.length > 1) { + const indexReferences = props.pipeline.pipelineReferences + .map((mlPipeline) => mlPipeline.replace('@ml-inference', '')) + .join(', '); + return ( + + + {DELETE_PIPELINE_LABEL} + + + ); + } + return ( + + {DELETE_PIPELINE_LABEL} + + ); +}; diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/inference_pipeline_card.tsx b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/inference_pipeline_card.tsx index 96e8487c30429..f83dfd3fea11b 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/inference_pipeline_card.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/inference_pipeline_card.tsx @@ -36,6 +36,7 @@ import { IndexNameLogic } from '../index_name_logic'; import { IndexViewLogic } from '../index_view_logic'; +import { DeleteInferencePipelineButton } from './delete_inference_pipeline_button'; import { TrainedModelHealth } from './ml_model_health'; import { PipelinesLogic } from './pipelines_logic'; @@ -129,19 +130,11 @@ export const InferencePipelineCard: React.FC = (pipeline) =>
- - {i18n.translate( - 'xpack.enterpriseSearch.inferencePipelineCard.action.delete', - { defaultMessage: 'Delete pipeline' } - )} - + pipeline={pipeline} + />
From a7c7da316154beb56c75bdcb84348a5760803d74 Mon Sep 17 00:00:00 2001 From: doakalexi <109488926+doakalexi@users.noreply.github.com> Date: Tue, 1 Nov 2022 15:59:06 -0400 Subject: [PATCH 095/111] [ResponseOps] Ping the response-ops team whenever a new task type is added in a PR (#144196) * Adding test to track changes * Fixing type check * Fix types * Moving route * Filtering out test types --- x-pack/plugins/task_manager/server/mocks.ts | 1 + x-pack/plugins/task_manager/server/plugin.ts | 2 + .../sample_task_plugin/server/init_routes.ts | 21 +++ .../check_registered_task_types.ts | 134 ++++++++++++++++++ .../test_suites/task_manager/index.ts | 1 + 5 files changed, 159 insertions(+) create mode 100644 x-pack/test/plugin_api_integration/test_suites/task_manager/check_registered_task_types.ts diff --git a/x-pack/plugins/task_manager/server/mocks.ts b/x-pack/plugins/task_manager/server/mocks.ts index 97ebb227d17c0..571149f08aa2a 100644 --- a/x-pack/plugins/task_manager/server/mocks.ts +++ b/x-pack/plugins/task_manager/server/mocks.ts @@ -33,6 +33,7 @@ const createStartMock = () => { bulkSchedule: jest.fn(), bulkDisable: jest.fn(), bulkEnable: jest.fn(), + getRegisteredTypes: jest.fn(), }; return mock; }; diff --git a/x-pack/plugins/task_manager/server/plugin.ts b/x-pack/plugins/task_manager/server/plugin.ts index d16fab4a48e20..d2f93903cc7dd 100644 --- a/x-pack/plugins/task_manager/server/plugin.ts +++ b/x-pack/plugins/task_manager/server/plugin.ts @@ -66,6 +66,7 @@ export type TaskManagerStartContract = Pick< bulkRemoveIfExist: (ids: string[]) => Promise; } & { supportsEphemeralTasks: () => boolean; + getRegisteredTypes: () => string[]; }; export class TaskManagerPlugin @@ -267,6 +268,7 @@ export class TaskManagerPlugin ephemeralRunNow: (task: EphemeralTask) => taskScheduling.ephemeralRunNow(task), supportsEphemeralTasks: () => this.config.ephemeral_tasks.enabled && this.shouldRunBackgroundTasks, + getRegisteredTypes: () => this.definitions.getAllTypes(), }; } diff --git a/x-pack/test/plugin_api_integration/plugins/sample_task_plugin/server/init_routes.ts b/x-pack/test/plugin_api_integration/plugins/sample_task_plugin/server/init_routes.ts index d44ace998e1e5..80da1e13712d2 100644 --- a/x-pack/test/plugin_api_integration/plugins/sample_task_plugin/server/init_routes.ts +++ b/x-pack/test/plugin_api_integration/plugins/sample_task_plugin/server/init_routes.ts @@ -374,4 +374,25 @@ export function initRoutes( } } ); + + router.get( + { + path: '/api/registered_tasks', + validate: {}, + }, + async ( + context: RequestHandlerContext, + req: KibanaRequest, + res: KibanaResponseFactory + ): Promise> => { + try { + const tm = await taskManagerStart; + return res.ok({ + body: tm.getRegisteredTypes(), + }); + } catch (err) { + return res.badRequest({ body: err }); + } + } + ); } diff --git a/x-pack/test/plugin_api_integration/test_suites/task_manager/check_registered_task_types.ts b/x-pack/test/plugin_api_integration/test_suites/task_manager/check_registered_task_types.ts new file mode 100644 index 0000000000000..5ea05186791ff --- /dev/null +++ b/x-pack/test/plugin_api_integration/test_suites/task_manager/check_registered_task_types.ts @@ -0,0 +1,134 @@ +/* + * 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 expect from '@kbn/expect'; +import { Response as SupertestResponse } from 'supertest'; +import { FtrProviderContext } from '../../ftr_provider_context'; + +export default function ({ getService }: FtrProviderContext) { + const supertest = getService('supertest'); + + function getRegisteredTypes() { + return supertest + .get(`/api/registered_tasks`) + .expect(200) + .then((response: SupertestResponse) => response.body); + } + + const TEST_TYPES = [ + 'sampleOneTimeTaskTimingOut', + 'sampleRecurringTaskTimingOut', + 'sampleRecurringTaskWhichHangs', + 'sampleTask', + 'sampleTaskWithLimitedConcurrency', + 'sampleTaskWithSingleConcurrency', + 'singleAttemptSampleTask', + 'taskWhichExecutesOtherTasksEphemerally', + 'timedTask', + 'timedTaskWithLimitedConcurrency', + 'timedTaskWithSingleConcurrency', + ]; + + // This test is meant to fail when any change is made in task manager registered types. + // The intent is to trigger a code review from the Response Ops team to review the new task type changes. + describe('check_registered_task_types', () => { + it('should check changes on all registered task types', async () => { + const types = (await getRegisteredTypes()) + .filter((t: string) => !TEST_TYPES.includes(t)) + .sort(); + expect(types).to.eql([ + 'Fleet-Usage-Sender', + 'ML:saved-objects-sync', + 'UPTIME:SyntheticsService:Sync-Saved-Monitor-Objects', + 'actions:.cases-webhook', + 'actions:.email', + 'actions:.index', + 'actions:.jira', + 'actions:.opsgenie', + 'actions:.pagerduty', + 'actions:.resilient', + 'actions:.server-log', + 'actions:.servicenow', + 'actions:.servicenow-itom', + 'actions:.servicenow-sir', + 'actions:.slack', + 'actions:.swimlane', + 'actions:.teams', + 'actions:.webhook', + 'actions:.xmatters', + 'actions_telemetry', + 'alerting:.es-query', + 'alerting:.geo-containment', + 'alerting:.index-threshold', + 'alerting:apm.anomaly', + 'alerting:apm.error_rate', + 'alerting:apm.transaction_duration', + 'alerting:apm.transaction_error_rate', + 'alerting:logs.alert.document.count', + 'alerting:metrics.alert.anomaly', + 'alerting:metrics.alert.inventory.threshold', + 'alerting:metrics.alert.threshold', + 'alerting:monitoring_alert_cluster_health', + 'alerting:monitoring_alert_cpu_usage', + 'alerting:monitoring_alert_disk_usage', + 'alerting:monitoring_alert_elasticsearch_version_mismatch', + 'alerting:monitoring_alert_jvm_memory_usage', + 'alerting:monitoring_alert_kibana_version_mismatch', + 'alerting:monitoring_alert_license_expiration', + 'alerting:monitoring_alert_logstash_version_mismatch', + 'alerting:monitoring_alert_missing_monitoring_data', + 'alerting:monitoring_alert_nodes_changed', + 'alerting:monitoring_alert_thread_pool_search_rejections', + 'alerting:monitoring_alert_thread_pool_write_rejections', + 'alerting:monitoring_ccr_read_exceptions', + 'alerting:monitoring_shard_size', + 'alerting:siem.eqlRule', + 'alerting:siem.indicatorRule', + 'alerting:siem.mlRule', + 'alerting:siem.newTermsRule', + 'alerting:siem.notifications', + 'alerting:siem.queryRule', + 'alerting:siem.savedQueryRule', + 'alerting:siem.thresholdRule', + 'alerting:transform_health', + 'alerting:xpack.ml.anomaly_detection_alert', + 'alerting:xpack.ml.anomaly_detection_jobs_health', + 'alerting:xpack.uptime.alerts.durationAnomaly', + 'alerting:xpack.uptime.alerts.monitorStatus', + 'alerting:xpack.uptime.alerts.tls', + 'alerting:xpack.uptime.alerts.tlsCertificate', + 'alerting_health_check', + 'alerting_telemetry', + 'alerts_invalidate_api_keys', + 'apm-telemetry-task', + 'cases-telemetry-task', + 'cleanup_failed_action_executions', + 'cloud_security_posture-stats_task', + 'dashboard_telemetry', + 'endpoint:metadata-check-transforms-task', + 'endpoint:user-artifact-packager', + 'fleet:reassign_action:retry', + 'fleet:unenroll_action:retry', + 'fleet:update_agent_tags:retry', + 'fleet:upgrade_action:retry', + 'osquery:telemetry-configs', + 'osquery:telemetry-packs', + 'osquery:telemetry-saved-queries', + 'report:execute', + 'reports:monitor', + 'security:endpoint-diagnostics', + 'security:endpoint-meta-telemetry', + 'security:telemetry-configuration', + 'security:telemetry-detection-rules', + 'security:telemetry-lists', + 'security:telemetry-prebuilt-rule-alerts', + 'security:telemetry-timelines', + 'session_cleanup', + ]); + }); + }); +} diff --git a/x-pack/test/plugin_api_integration/test_suites/task_manager/index.ts b/x-pack/test/plugin_api_integration/test_suites/task_manager/index.ts index 2712069008598..6fd4f3e529dc6 100644 --- a/x-pack/test/plugin_api_integration/test_suites/task_manager/index.ts +++ b/x-pack/test/plugin_api_integration/test_suites/task_manager/index.ts @@ -13,6 +13,7 @@ export default function ({ loadTestFile }: FtrProviderContext) { loadTestFile(require.resolve('./task_management')); loadTestFile(require.resolve('./task_management_scheduled_at')); loadTestFile(require.resolve('./task_management_removed_types')); + loadTestFile(require.resolve('./check_registered_task_types')); loadTestFile(require.resolve('./migrations')); }); From ed97fa3e9d5131aa4587b56a7abb52f12f78d0e4 Mon Sep 17 00:00:00 2001 From: Sean Sullivan Date: Tue, 1 Nov 2022 16:18:16 -0400 Subject: [PATCH 096/111] Add legends to custom map layers and convert wms_source to typescript (#143321) * Add legends to custom map layers and convert wms_source to typescript Co-authored-by: Sean Sullivan Co-authored-by: Nick Peihl --- .../public/classes/custom_raster_source.tsx | 8 ++++- ...yer.test.ts => raster_tile_layer.test.tsx} | 9 ++++++ .../raster_tile_layer/raster_tile_layer.ts | 12 +++++++ .../kibana_tilemap_source.js | 6 ++++ .../classes/sources/raster_source/index.ts | 5 ++- .../sources/wms_source/wms_layer_wizard.tsx | 7 ++--- .../{wms_source.js => wms_source.tsx} | 31 +++++++++++++------ .../{xyz_tms_source.ts => xyz_tms_source.tsx} | 7 +++++ 8 files changed, 70 insertions(+), 15 deletions(-) rename x-pack/plugins/maps/public/classes/layers/raster_tile_layer/{raster_tile_layer.test.ts => raster_tile_layer.test.tsx} (92%) rename x-pack/plugins/maps/public/classes/sources/wms_source/{wms_source.js => wms_source.tsx} (69%) rename x-pack/plugins/maps/public/classes/sources/xyz_tms_source/{xyz_tms_source.ts => xyz_tms_source.tsx} (93%) diff --git a/x-pack/examples/third_party_maps_source_example/public/classes/custom_raster_source.tsx b/x-pack/examples/third_party_maps_source_example/public/classes/custom_raster_source.tsx index d36ed2485b5ba..3720235173751 100644 --- a/x-pack/examples/third_party_maps_source_example/public/classes/custom_raster_source.tsx +++ b/x-pack/examples/third_party_maps_source_example/public/classes/custom_raster_source.tsx @@ -6,7 +6,7 @@ */ import _ from 'lodash'; -import { ReactElement } from 'react'; +import React, { ReactElement } from 'react'; import { calculateBounds } from '@kbn/data-plugin/common'; import { FieldFormatter, MIN_ZOOM, MAX_ZOOM } from '@kbn/maps-plugin/common'; import type { @@ -42,7 +42,13 @@ export class CustomRasterSource implements IRasterSource { constructor(sourceDescriptor: CustomRasterSourceDescriptor) { this._descriptor = sourceDescriptor; } + async hasLegendDetails(): Promise { + return true; + } + renderLegendDetails(): ReactElement | null { + return Radar legend; + } async canSkipSourceUpdate( dataRequest: DataRequest, nextRequestMeta: DataRequestMeta diff --git a/x-pack/plugins/maps/public/classes/layers/raster_tile_layer/raster_tile_layer.test.ts b/x-pack/plugins/maps/public/classes/layers/raster_tile_layer/raster_tile_layer.test.tsx similarity index 92% rename from x-pack/plugins/maps/public/classes/layers/raster_tile_layer/raster_tile_layer.test.ts rename to x-pack/plugins/maps/public/classes/layers/raster_tile_layer/raster_tile_layer.test.tsx index c42b338032f05..601c4012fae47 100644 --- a/x-pack/plugins/maps/public/classes/layers/raster_tile_layer/raster_tile_layer.test.ts +++ b/x-pack/plugins/maps/public/classes/layers/raster_tile_layer/raster_tile_layer.test.tsx @@ -6,6 +6,7 @@ */ import { RasterTileLayer } from './raster_tile_layer'; +import { ReactElement } from 'react'; import { SOURCE_TYPES } from '../../../../common/constants'; import { DataRequestMeta, XYZTMSSourceDescriptor } from '../../../../common/descriptor_types'; import { AbstractSource } from '../../sources/source'; @@ -26,12 +27,20 @@ class MockTileSource extends AbstractSource implements IRasterSource { super(descriptor); this._descriptor = descriptor; } + async hasLegendDetails(): Promise { + return false; + } + + renderLegendDetails(): ReactElement | null { + return null; + } async canSkipSourceUpdate( dataRequest: DataRequest, nextRequestMeta: DataRequestMeta ): Promise { return true; } + isSourceStale(mbSource: RasterTileSource, sourceData: RasterTileSourceData): boolean { return false; } diff --git a/x-pack/plugins/maps/public/classes/layers/raster_tile_layer/raster_tile_layer.ts b/x-pack/plugins/maps/public/classes/layers/raster_tile_layer/raster_tile_layer.ts index cc13b70d01060..bd1b266d34881 100644 --- a/x-pack/plugins/maps/public/classes/layers/raster_tile_layer/raster_tile_layer.ts +++ b/x-pack/plugins/maps/public/classes/layers/raster_tile_layer/raster_tile_layer.ts @@ -6,6 +6,7 @@ */ import type { Map as MbMap, RasterTileSource } from '@kbn/mapbox-gl'; +import { ReactElement } from 'react'; import _ from 'lodash'; import { AbstractLayer } from '../layer'; import { SOURCE_DATA_REQUEST_ID, LAYER_TYPE, LAYER_STYLE_TYPE } from '../../../../common/constants'; @@ -41,6 +42,17 @@ export class RasterTileLayer extends AbstractLayer { return super.getSource() as IRasterSource; } + async hasLegendDetails(): Promise { + const source = this.getSource(); + return await source.hasLegendDetails(); + } + + renderLegendDetails(): ReactElement | null { + const dataRequest = this.getSourceDataRequest(); + const source = this.getSource(); + return source.renderLegendDetails(dataRequest); + } + getStyleForEditing() { return this._style; } diff --git a/x-pack/plugins/maps/public/classes/sources/kibana_tilemap_source/kibana_tilemap_source.js b/x-pack/plugins/maps/public/classes/sources/kibana_tilemap_source/kibana_tilemap_source.js index 9abe2997b4756..72be5aeac830d 100644 --- a/x-pack/plugins/maps/public/classes/sources/kibana_tilemap_source/kibana_tilemap_source.js +++ b/x-pack/plugins/maps/public/classes/sources/kibana_tilemap_source/kibana_tilemap_source.js @@ -41,7 +41,13 @@ export class KibanaTilemapSource extends AbstractSource { }, ]; } + async hasLegendDetails() { + return false; + } + renderLegendDetails() { + return null; + } isSourceStale(mbSource, sourceData) { if (!sourceData.url) { return false; diff --git a/x-pack/plugins/maps/public/classes/sources/raster_source/index.ts b/x-pack/plugins/maps/public/classes/sources/raster_source/index.ts index 53f1b75003ea3..7165db534b417 100644 --- a/x-pack/plugins/maps/public/classes/sources/raster_source/index.ts +++ b/x-pack/plugins/maps/public/classes/sources/raster_source/index.ts @@ -5,7 +5,8 @@ * 2.0. */ -import { RasterTileSource } from '@kbn/mapbox-gl'; +import type { RasterTileSource } from '@kbn/mapbox-gl'; +import { ReactElement } from 'react'; import { DataRequest } from '../../util/data_request'; import { ITMSSource } from '../tms_source'; import { DataRequestMeta } from '../../../../common/descriptor_types'; @@ -15,4 +16,6 @@ export interface RasterTileSourceData { export interface IRasterSource extends ITMSSource { canSkipSourceUpdate(dataRequest: DataRequest, nextRequestMeta: DataRequestMeta): Promise; isSourceStale(mbSource: RasterTileSource, sourceData: RasterTileSourceData): boolean; + hasLegendDetails(): Promise; + renderLegendDetails(dataRequest: DataRequest | undefined): ReactElement | null; } diff --git a/x-pack/plugins/maps/public/classes/sources/wms_source/wms_layer_wizard.tsx b/x-pack/plugins/maps/public/classes/sources/wms_source/wms_layer_wizard.tsx index 3b1f5e728eed0..0f9485d0ec1b0 100644 --- a/x-pack/plugins/maps/public/classes/sources/wms_source/wms_layer_wizard.tsx +++ b/x-pack/plugins/maps/public/classes/sources/wms_source/wms_layer_wizard.tsx @@ -9,13 +9,12 @@ import React from 'react'; import { i18n } from '@kbn/i18n'; // @ts-ignore import { WMSCreateSourceEditor } from './wms_create_source_editor'; -// @ts-ignore import { sourceTitle, WMSSource } from './wms_source'; import { LayerWizard, RenderWizardArguments } from '../../layers'; import { RasterTileLayer } from '../../layers/raster_tile_layer/raster_tile_layer'; import { LAYER_WIZARD_CATEGORY, WIZARD_ID } from '../../../../common/constants'; import { WebMapServiceLayerIcon } from '../../layers/wizards/icons/web_map_service_layer_icon'; - +import { WMSSourceDescriptor } from '../../../../common/descriptor_types'; export const wmsLayerWizardConfig: LayerWizard = { id: WIZARD_ID.WMS_LAYER, order: 10, @@ -25,14 +24,14 @@ export const wmsLayerWizardConfig: LayerWizard = { }), icon: WebMapServiceLayerIcon, renderWizard: ({ previewLayers }: RenderWizardArguments) => { - const onSourceConfigChange = (sourceConfig: unknown) => { + const onSourceConfigChange = (sourceConfig: Partial) => { if (!sourceConfig) { previewLayers([]); return; } const layerDescriptor = RasterTileLayer.createDescriptor({ - sourceDescriptor: WMSSource.createDescriptor(sourceConfig), + sourceDescriptor: WMSSource.createDescriptor(sourceConfig as Partial), }); previewLayers([layerDescriptor]); }; diff --git a/x-pack/plugins/maps/public/classes/sources/wms_source/wms_source.js b/x-pack/plugins/maps/public/classes/sources/wms_source/wms_source.tsx similarity index 69% rename from x-pack/plugins/maps/public/classes/sources/wms_source/wms_source.js rename to x-pack/plugins/maps/public/classes/sources/wms_source/wms_source.tsx index 3d682a504c2d3..480b253264e5c 100644 --- a/x-pack/plugins/maps/public/classes/sources/wms_source/wms_source.js +++ b/x-pack/plugins/maps/public/classes/sources/wms_source/wms_source.tsx @@ -5,40 +5,53 @@ * 2.0. */ -import { AbstractSource } from '../source'; +import { ReactElement } from 'react'; import { i18n } from '@kbn/i18n'; +import { RasterTileSource } from 'maplibre-gl'; +import { AbstractSource } from '../source'; import { getDataSourceLabel, getUrlLabel } from '../../../../common/i18n_getters'; +// @ts-ignore import { WmsClient } from './wms_client'; import { SOURCE_TYPES } from '../../../../common/constants'; import { registerSource } from '../source_registry'; - +import { IRasterSource, RasterTileSourceData } from '../raster_source'; +import { WMSSourceDescriptor } from '../../../../common/descriptor_types'; export const sourceTitle = i18n.translate('xpack.maps.source.wmsTitle', { defaultMessage: 'Web Map Service', }); -export class WMSSource extends AbstractSource { +export class WMSSource extends AbstractSource implements IRasterSource { static type = SOURCE_TYPES.WMS; - - static createDescriptor({ serviceUrl, layers, styles }) { + readonly _descriptor: WMSSourceDescriptor; + static createDescriptor({ serviceUrl, layers, styles }: Partial) { return { type: WMSSource.type, serviceUrl, layers, styles, - }; + } as WMSSourceDescriptor; + } + constructor(sourceDescriptor: WMSSourceDescriptor) { + super(sourceDescriptor); + this._descriptor = sourceDescriptor; + } + async hasLegendDetails(): Promise { + return false; + } + + renderLegendDetails(): ReactElement | null { + return null; } - isSourceStale(mbSource, sourceData) { + isSourceStale(mbSource: RasterTileSource, sourceData: RasterTileSourceData) { if (!sourceData.url) { return false; } return mbSource.tiles?.[0] !== sourceData.url; } - async canSkipSourceUpdate() { return false; } - async getImmutableProperties() { return [ { label: getDataSourceLabel(), value: sourceTitle }, diff --git a/x-pack/plugins/maps/public/classes/sources/xyz_tms_source/xyz_tms_source.ts b/x-pack/plugins/maps/public/classes/sources/xyz_tms_source/xyz_tms_source.tsx similarity index 93% rename from x-pack/plugins/maps/public/classes/sources/xyz_tms_source/xyz_tms_source.ts rename to x-pack/plugins/maps/public/classes/sources/xyz_tms_source/xyz_tms_source.tsx index c2c5e6404c8f0..64f4734c3d800 100644 --- a/x-pack/plugins/maps/public/classes/sources/xyz_tms_source/xyz_tms_source.ts +++ b/x-pack/plugins/maps/public/classes/sources/xyz_tms_source/xyz_tms_source.tsx @@ -6,6 +6,7 @@ */ import { i18n } from '@kbn/i18n'; +import { ReactElement } from 'react'; import { RasterTileSource } from 'maplibre-gl'; import { getDataSourceLabel, getUrlLabel } from '../../../../common/i18n_getters'; import { SOURCE_TYPES } from '../../../../common/constants'; @@ -56,7 +57,13 @@ export class XYZTMSSource extends AbstractSource implements IRasterSource { async getUrlTemplate(): Promise { return this._descriptor.urlTemplate; } + async hasLegendDetails(): Promise { + return false; + } + renderLegendDetails(): ReactElement | null { + return null; + } isSourceStale(mbSource: RasterTileSource, sourceData: RasterTileSourceData): boolean { if (!sourceData.url) { return false; From d7b08c67f9d49f47378d5232f9067912fe5675fc Mon Sep 17 00:00:00 2001 From: JD Kurma Date: Tue, 1 Nov 2022 16:27:52 -0400 Subject: [PATCH 097/111] [Security Solution] Telemetry Filter List Artifact (#142480) * filterlist artifact * [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix' * add access modifiers * update interval time * update artifact unit test Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> --- .../telemetry/__mocks__/kibana-artifacts.zip | Bin 0 -> 1788 bytes .../server/lib/telemetry/artifact.test.ts | 60 +++++++++++++++++- .../server/lib/telemetry/artifact.ts | 2 +- .../server/lib/telemetry/filterlists/index.ts | 43 ++++++++++++- .../server/lib/telemetry/helpers.ts | 4 +- .../server/lib/telemetry/sender.ts | 4 +- .../lib/telemetry/tasks/configuration.ts | 2 +- .../server/lib/telemetry/tasks/filterlists.ts | 47 ++++++++++++++ .../server/lib/telemetry/tasks/index.ts | 2 + .../telemetry/tasks/prebuilt_rule_alerts.ts | 4 +- .../server/lib/telemetry/types.ts | 7 ++ 11 files changed, 161 insertions(+), 14 deletions(-) create mode 100644 x-pack/plugins/security_solution/server/lib/telemetry/__mocks__/kibana-artifacts.zip create mode 100644 x-pack/plugins/security_solution/server/lib/telemetry/tasks/filterlists.ts diff --git a/x-pack/plugins/security_solution/server/lib/telemetry/__mocks__/kibana-artifacts.zip b/x-pack/plugins/security_solution/server/lib/telemetry/__mocks__/kibana-artifacts.zip new file mode 100644 index 0000000000000000000000000000000000000000..779e8d257b7b0bf2406e31cc64250d2507df4c35 GIT binary patch literal 1788 zcmWIWW@Zs#00EWu#89rojW#kY3=AO53lz&u%*#wmEiTc^D$dWV=28FxrNp9=%(TSh zl42z*1&9z>xHvJlASYF~s5B?FShvg&MG~waB{exeB{e0!I3v->)C?%EWNBh-Y?x+d zVquh+nre|^lxARQmYiZ?WR{eil$>a6WSD4VY>}K|mSkdNWN2(;mTZukn3$AeU}A1* zX=ZGgsH6jS5y*59P=ec#S(OSj-_#UMz9=;(u_UuBHNLbc2V}o~N`84>PJUuav3_=D zQes}BKAI==DRv>;fwc&?D3zq04XzL)0DKN#I)ojOB1s+lQaXf6jQUL)D*K+OJjq? zWP@a5OG{v&69_(FkR#j-4qw9IM}*JxDRwr2FipOTKoFj^yGwEbJL zIX_t#w7>FOJ0*9M;Sn=s>xExVChk!a`7!%i#3KzOu?D>;`U8q7bIV$=KNm4eWJ5|i}uPS35yz&?J0T(B78!W9QoZQ z`76pyVXJ;7Eh;_#`qk>#t7(&O1TtjgWx4!wRaWd=rXn~sH)vY@t8Br>p3MBLz3=NG4~}W~|E07j zH(v=BTTs@0ZHi*)+B+%t)`_dtzBRR5Q8JrNwx@5-Y{ohJO*TALY&7)x!*qSsi)DMK z=+037Q1iG|#Wnb1n^W!nz!?)}HL(4XS(n1&@t$u^%5~2>VLMN@grxC#kb1l9%uU<Gwvz}m|Vc1fe}Q( pk|ekSLf49(%pe*W7#bMef%O+$D=^Uoc(byBWSM}l6i63>c>v6QN>%^> literal 0 HcmV?d00001 diff --git a/x-pack/plugins/security_solution/server/lib/telemetry/artifact.test.ts b/x-pack/plugins/security_solution/server/lib/telemetry/artifact.test.ts index c8307b3dd3d74..b624336be51bf 100644 --- a/x-pack/plugins/security_solution/server/lib/telemetry/artifact.test.ts +++ b/x-pack/plugins/security_solution/server/lib/telemetry/artifact.test.ts @@ -6,12 +6,66 @@ */ import { createMockTelemetryReceiver } from './__mocks__'; -import { artifactService } from './artifact'; +import { Artifact } from './artifact'; +import axios from 'axios'; +import type { TelemetryConfiguration } from './types'; + +jest.mock('axios'); +const mockedAxios = axios as jest.Mocked; describe('telemetry artifact test', () => { - test('diagnostics telemetry task should query and enqueue events', async () => { + test('start should retrieve cluster information', async () => { const mockTelemetryReceiver = createMockTelemetryReceiver(); - await artifactService.start(mockTelemetryReceiver); + const artifact = new Artifact(); + await artifact.start(mockTelemetryReceiver); expect(mockTelemetryReceiver.fetchClusterInfo).toHaveBeenCalled(); }); + + test('getArtifact should throw an error if manifest url is null', async () => { + const artifact = new Artifact(); + await expect(async () => artifact.getArtifact('test')).rejects.toThrow('No manifest url'); + }); + + test('getArtifact should throw an error if relative url is null', async () => { + const mockTelemetryReceiver = createMockTelemetryReceiver(); + const artifact = new Artifact(); + await artifact.start(mockTelemetryReceiver); + const axiosResponse = { + data: 'x-pack/plugins/security_solution/server/lib/telemetry/__mocks__/kibana-artifacts.zip', + }; + mockedAxios.get.mockImplementationOnce(() => Promise.resolve(axiosResponse)); + await expect(async () => artifact.getArtifact('artifactThatDoesNotExist')).rejects.toThrow( + 'No artifact for name artifactThatDoesNotExist' + ); + }); + + test('getArtifact should return respective artifact', async () => { + const mockTelemetryReceiver = createMockTelemetryReceiver(); + const artifact = new Artifact(); + await artifact.start(mockTelemetryReceiver); + const axiosResponse = { + data: 'x-pack/plugins/security_solution/server/lib/telemetry/__mocks__/kibana-artifacts.zip', + }; + mockedAxios.get + .mockImplementationOnce(() => Promise.resolve(axiosResponse)) + .mockImplementationOnce(() => + Promise.resolve({ + data: { + telemetry_max_buffer_size: 100, + max_security_list_telemetry_batch: 100, + max_endpoint_telemetry_batch: 300, + max_detection_rule_telemetry_batch: 1_000, + max_detection_alerts_batch: 50, + }, + }) + ); + const artifactObject: TelemetryConfiguration = (await artifact.getArtifact( + 'telemetry-buffer-and-batch-sizes-v1' + )) as unknown as TelemetryConfiguration; + expect(artifactObject.telemetry_max_buffer_size).toEqual(100); + expect(artifactObject.max_security_list_telemetry_batch).toEqual(100); + expect(artifactObject.max_endpoint_telemetry_batch).toEqual(300); + expect(artifactObject.max_detection_rule_telemetry_batch).toEqual(1_000); + expect(artifactObject.max_detection_alerts_batch).toEqual(50); + }); }); diff --git a/x-pack/plugins/security_solution/server/lib/telemetry/artifact.ts b/x-pack/plugins/security_solution/server/lib/telemetry/artifact.ts index 07ec2b6f2e49a..f531db6a5d6d7 100644 --- a/x-pack/plugins/security_solution/server/lib/telemetry/artifact.ts +++ b/x-pack/plugins/security_solution/server/lib/telemetry/artifact.ts @@ -15,7 +15,7 @@ export interface IArtifact { getArtifact(name: string): Promise; } -class Artifact implements IArtifact { +export class Artifact implements IArtifact { private manifestUrl?: string; private readonly CDN_URL = 'https://artifacts.security.elastic.co'; private readonly AXIOS_TIMEOUT_MS = 10_000; diff --git a/x-pack/plugins/security_solution/server/lib/telemetry/filterlists/index.ts b/x-pack/plugins/security_solution/server/lib/telemetry/filterlists/index.ts index 7c64a29da8f11..38ee5f1324656 100644 --- a/x-pack/plugins/security_solution/server/lib/telemetry/filterlists/index.ts +++ b/x-pack/plugins/security_solution/server/lib/telemetry/filterlists/index.ts @@ -6,6 +6,9 @@ */ import type { AllowlistFields } from './types'; import type { TelemetryEvent } from '../types'; +import { endpointAllowlistFields } from './endpoint_alerts'; +import { exceptionListAllowlistFields } from './exception_lists'; +import { prebuiltRuleAllowlistFields } from './prebuilt_rules_alerts'; /** * Filters out Key/Values not required for downstream analysis @@ -38,6 +41,40 @@ export function copyAllowlistedFields( }, {}); } -export { endpointAllowlistFields } from './endpoint_alerts'; -export { exceptionListAllowlistFields } from './exception_lists'; -export { prebuiltRuleAllowlistFields } from './prebuilt_rules_alerts'; +export class FilterList { + private _endpointAlerts = endpointAllowlistFields; + private _exceptionLists = exceptionListAllowlistFields; + private _prebuiltRulesAlerts = prebuiltRuleAllowlistFields; + + public get endpointAlerts(): AllowlistFields { + return this._endpointAlerts; + } + + public set endpointAlerts(list: AllowlistFields) { + this._endpointAlerts = list; + } + + public get exceptionLists(): AllowlistFields { + return this._exceptionLists; + } + + public set exceptionLists(list: AllowlistFields) { + this._exceptionLists = list; + } + + public get prebuiltRulesAlerts(): AllowlistFields { + return this._prebuiltRulesAlerts; + } + + public set prebuiltRulesAlerts(list: AllowlistFields) { + this._prebuiltRulesAlerts = list; + } + + public resetAllToDefault() { + this._endpointAlerts = endpointAllowlistFields; + this._exceptionLists = exceptionListAllowlistFields; + this._prebuiltRulesAlerts = prebuiltRuleAllowlistFields; + } +} + +export const filterList = new FilterList(); diff --git a/x-pack/plugins/security_solution/server/lib/telemetry/helpers.ts b/x-pack/plugins/security_solution/server/lib/telemetry/helpers.ts index 0fd7a0f6604c9..9b3a847b63e28 100644 --- a/x-pack/plugins/security_solution/server/lib/telemetry/helpers.ts +++ b/x-pack/plugins/security_solution/server/lib/telemetry/helpers.ts @@ -10,7 +10,7 @@ import type { ExceptionListItemSchema } from '@kbn/securitysolution-io-ts-list-t import type { PackagePolicy } from '@kbn/fleet-plugin/common/types/models/package_policy'; import { merge } from 'lodash'; import type { Logger } from '@kbn/core/server'; -import { copyAllowlistedFields, exceptionListAllowlistFields } from './filterlists'; +import { copyAllowlistedFields, filterList } from './filterlists'; import type { PolicyConfig, PolicyData } from '../../../common/endpoint/types'; import type { ExceptionListItem, @@ -191,7 +191,7 @@ export const templateExceptionList = ( // cast exception list type to a TelemetryEvent for allowlist filtering const filteredListItem = copyAllowlistedFields( - exceptionListAllowlistFields, + filterList.exceptionLists, item as unknown as TelemetryEvent ); diff --git a/x-pack/plugins/security_solution/server/lib/telemetry/sender.ts b/x-pack/plugins/security_solution/server/lib/telemetry/sender.ts index 1ff8d31ecd7f7..848f66c3aaf0a 100644 --- a/x-pack/plugins/security_solution/server/lib/telemetry/sender.ts +++ b/x-pack/plugins/security_solution/server/lib/telemetry/sender.ts @@ -19,7 +19,7 @@ import type { TaskManagerStartContract, } from '@kbn/task-manager-plugin/server'; import type { ITelemetryReceiver } from './receiver'; -import { copyAllowlistedFields, endpointAllowlistFields } from './filterlists'; +import { copyAllowlistedFields, filterList } from './filterlists'; import { createTelemetryTaskConfigs } from './tasks'; import { createUsageCounterLabel, tlog } from './helpers'; import type { TelemetryEvent } from './types'; @@ -299,7 +299,7 @@ export class TelemetryEventsSender implements ITelemetryEventsSender { public processEvents(events: TelemetryEvent[]): TelemetryEvent[] { return events.map(function (obj: TelemetryEvent): TelemetryEvent { - return copyAllowlistedFields(endpointAllowlistFields, obj); + return copyAllowlistedFields(filterList.endpointAlerts, obj); }); } diff --git a/x-pack/plugins/security_solution/server/lib/telemetry/tasks/configuration.ts b/x-pack/plugins/security_solution/server/lib/telemetry/tasks/configuration.ts index d266d2f1c7699..27dd32f5d48f1 100644 --- a/x-pack/plugins/security_solution/server/lib/telemetry/tasks/configuration.ts +++ b/x-pack/plugins/security_solution/server/lib/telemetry/tasks/configuration.ts @@ -18,7 +18,7 @@ export function createTelemetryConfigurationTaskConfig() { return { type: 'security:telemetry-configuration', title: 'Security Solution Telemetry Configuration Task', - interval: '45m', + interval: '1h', timeout: '1m', version: '1.0.0', runTask: async ( diff --git a/x-pack/plugins/security_solution/server/lib/telemetry/tasks/filterlists.ts b/x-pack/plugins/security_solution/server/lib/telemetry/tasks/filterlists.ts new file mode 100644 index 0000000000000..67a6c4d270b6f --- /dev/null +++ b/x-pack/plugins/security_solution/server/lib/telemetry/tasks/filterlists.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; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import type { Logger } from '@kbn/core/server'; +import type { ITelemetryEventsSender } from '../sender'; +import type { TelemetryFilterListArtifact } from '../types'; +import type { ITelemetryReceiver } from '../receiver'; +import type { TaskExecutionPeriod } from '../task'; +import { artifactService } from '../artifact'; +import { filterList } from '../filterlists'; +import { tlog } from '../helpers'; + +export function createTelemetryFilterListArtifactTaskConfig() { + return { + type: 'security:telemetry-filterlist-artifact', + title: 'Security Solution Telemetry Filter List Artifact Task', + interval: '45m', + timeout: '1m', + version: '1.0.0', + runTask: async ( + taskId: string, + logger: Logger, + receiver: ITelemetryReceiver, + sender: ITelemetryEventsSender, + taskExecutionPeriod: TaskExecutionPeriod + ) => { + try { + const artifactName = 'telemetry-filterlists-v1'; + const artifact = (await artifactService.getArtifact( + artifactName + )) as unknown as TelemetryFilterListArtifact; + filterList.endpointAlerts = artifact.endpoint_alerts; + filterList.exceptionLists = artifact.exception_lists; + filterList.prebuiltRulesAlerts = artifact.prebuilt_rules_alerts; + return 0; + } catch (err) { + tlog(logger, `Failed to set telemetry filterlist artifact due to ${err.message}`); + filterList.resetAllToDefault(); + return 0; + } + }, + }; +} diff --git a/x-pack/plugins/security_solution/server/lib/telemetry/tasks/index.ts b/x-pack/plugins/security_solution/server/lib/telemetry/tasks/index.ts index d56a4eb54be45..e25b3690ee88d 100644 --- a/x-pack/plugins/security_solution/server/lib/telemetry/tasks/index.ts +++ b/x-pack/plugins/security_solution/server/lib/telemetry/tasks/index.ts @@ -14,6 +14,7 @@ import { createTelemetryPrebuiltRuleAlertsTaskConfig } from './prebuilt_rule_ale import { createTelemetryTimelineTaskConfig } from './timelines'; import { createTelemetryConfigurationTaskConfig } from './configuration'; import { telemetryConfiguration } from '../configuration'; +import { createTelemetryFilterListArtifactTaskConfig } from './filterlists'; export function createTelemetryTaskConfigs(): SecurityTelemetryTaskConfig[] { return [ @@ -26,5 +27,6 @@ export function createTelemetryTaskConfigs(): SecurityTelemetryTaskConfig[] { createTelemetryPrebuiltRuleAlertsTaskConfig(telemetryConfiguration.max_detection_alerts_batch), createTelemetryTimelineTaskConfig(), createTelemetryConfigurationTaskConfig(), + createTelemetryFilterListArtifactTaskConfig(), ]; } diff --git a/x-pack/plugins/security_solution/server/lib/telemetry/tasks/prebuilt_rule_alerts.ts b/x-pack/plugins/security_solution/server/lib/telemetry/tasks/prebuilt_rule_alerts.ts index 33d33924fcf36..68b5ca6b01ce9 100644 --- a/x-pack/plugins/security_solution/server/lib/telemetry/tasks/prebuilt_rule_alerts.ts +++ b/x-pack/plugins/security_solution/server/lib/telemetry/tasks/prebuilt_rule_alerts.ts @@ -12,7 +12,7 @@ import type { ESClusterInfo, ESLicense, TelemetryEvent } from '../types'; import type { TaskExecutionPeriod } from '../task'; import { TELEMETRY_CHANNEL_DETECTION_ALERTS, TASK_METRICS_CHANNEL } from '../constants'; import { batchTelemetryRecords, tlog, createTaskMetric } from '../helpers'; -import { copyAllowlistedFields, prebuiltRuleAllowlistFields } from '../filterlists'; +import { copyAllowlistedFields, filterList } from '../filterlists'; export function createTelemetryPrebuiltRuleAlertsTaskConfig(maxTelemetryBatch: number) { return { @@ -64,7 +64,7 @@ export function createTelemetryPrebuiltRuleAlertsTaskConfig(maxTelemetryBatch: n const processedAlerts = telemetryEvents.map( (event: TelemetryEvent): TelemetryEvent => - copyAllowlistedFields(prebuiltRuleAllowlistFields, event) + copyAllowlistedFields(filterList.prebuiltRulesAlerts, event) ); const enrichedAlerts = processedAlerts.map( diff --git a/x-pack/plugins/security_solution/server/lib/telemetry/types.ts b/x-pack/plugins/security_solution/server/lib/telemetry/types.ts index 36462773b8e7d..51396684bf3b2 100644 --- a/x-pack/plugins/security_solution/server/lib/telemetry/types.ts +++ b/x-pack/plugins/security_solution/server/lib/telemetry/types.ts @@ -6,6 +6,7 @@ */ import type { AlertEvent, ResolverNode, SafeResolverEvent } from '../../../common/endpoint/types'; +import type { AllowlistFields } from './filterlists/types'; type BaseSearchTypes = string | number | boolean | object; export type SearchTypes = BaseSearchTypes | BaseSearchTypes[] | undefined; @@ -429,3 +430,9 @@ export interface TelemetryConfiguration { max_detection_rule_telemetry_batch: number; max_detection_alerts_batch: number; } + +export interface TelemetryFilterListArtifact { + endpoint_alerts: AllowlistFields; + exception_lists: AllowlistFields; + prebuilt_rules_alerts: AllowlistFields; +} From e476028e68aacb69ffb4e7b12e62d741a4dffbb0 Mon Sep 17 00:00:00 2001 From: Rudolf Meijering Date: Tue, 1 Nov 2022 22:00:29 +0100 Subject: [PATCH 098/111] Bump field limit for esArchiver indices using kibana package version template var (#144272) --- .../saved_objects/delete_unknown_types/mappings.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/api_integration/fixtures/es_archiver/saved_objects/delete_unknown_types/mappings.json b/test/api_integration/fixtures/es_archiver/saved_objects/delete_unknown_types/mappings.json index f745e0f69c5d3..fb2337c15216c 100644 --- a/test/api_integration/fixtures/es_archiver/saved_objects/delete_unknown_types/mappings.json +++ b/test/api_integration/fixtures/es_archiver/saved_objects/delete_unknown_types/mappings.json @@ -523,7 +523,10 @@ "number_of_shards": "1", "priority": "10", "refresh_interval": "1s", - "routing_partition_size": "1" + "routing_partition_size": "1", + "mapping": { + "total_fields": { "limit": 1500 } + } } } } From 29a070634949b88941d1c7bbf28e288a6c33d4a3 Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Tue, 1 Nov 2022 17:07:01 -0400 Subject: [PATCH 099/111] skip failing test suite (#144369) --- .../test_suites/task_manager/check_registered_task_types.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/x-pack/test/plugin_api_integration/test_suites/task_manager/check_registered_task_types.ts b/x-pack/test/plugin_api_integration/test_suites/task_manager/check_registered_task_types.ts index 5ea05186791ff..1cd6614bf5833 100644 --- a/x-pack/test/plugin_api_integration/test_suites/task_manager/check_registered_task_types.ts +++ b/x-pack/test/plugin_api_integration/test_suites/task_manager/check_registered_task_types.ts @@ -35,7 +35,8 @@ export default function ({ getService }: FtrProviderContext) { // This test is meant to fail when any change is made in task manager registered types. // The intent is to trigger a code review from the Response Ops team to review the new task type changes. - describe('check_registered_task_types', () => { + // Failing: See https://github.com/elastic/kibana/issues/144369 + describe.skip('check_registered_task_types', () => { it('should check changes on all registered task types', async () => { const types = (await getRegisteredTypes()) .filter((t: string) => !TEST_TYPES.includes(t)) From cb86777d1e340c48a0cab8d5fc80949632a2e7f6 Mon Sep 17 00:00:00 2001 From: Maja Grubic Date: Tue, 1 Nov 2022 23:15:15 +0100 Subject: [PATCH 100/111] [SharedUX][Bugfix] Solution nav with no data page (#144280) Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> --- .../with_solution_nav.test.tsx.snap | 30 ++----------------- .../src/with_solution_nav.styles.ts | 4 +-- .../solution_nav/src/with_solution_nav.tsx | 9 ++---- 3 files changed, 7 insertions(+), 36 deletions(-) diff --git a/packages/shared-ux/page/solution_nav/src/__snapshots__/with_solution_nav.test.tsx.snap b/packages/shared-ux/page/solution_nav/src/__snapshots__/with_solution_nav.test.tsx.snap index 749d0a13ad8d7..d31d61c4b8129 100644 --- a/packages/shared-ux/page/solution_nav/src/__snapshots__/with_solution_nav.test.tsx.snap +++ b/packages/shared-ux/page/solution_nav/src/__snapshots__/with_solution_nav.test.tsx.snap @@ -52,20 +52,7 @@ exports[`WithSolutionNav renders wrapped component 1`] = ` } pageSideBarProps={ Object { - "className": "kbnStickyMenu", - "css": Object { - "map": undefined, - "name": "sx7fqw", - "next": undefined, - "styles": " - flex: 0 1 0%; - overflow: hidden; - @media screen and (prefers-reduced-motion: no-preference) { - transition: min-width 150ms cubic-bezier(.694, .0482, .335, 1); - } - ", - "toString": [Function], - }, + "className": "css-c34ez9", "minWidth": undefined, "paddingSize": "none", } @@ -125,20 +112,7 @@ exports[`WithSolutionNav with children 1`] = ` } pageSideBarProps={ Object { - "className": "kbnStickyMenu", - "css": Object { - "map": undefined, - "name": "sx7fqw", - "next": undefined, - "styles": " - flex: 0 1 0%; - overflow: hidden; - @media screen and (prefers-reduced-motion: no-preference) { - transition: min-width 150ms cubic-bezier(.694, .0482, .335, 1); - } - ", - "toString": [Function], - }, + "className": "css-c34ez9", "minWidth": undefined, "paddingSize": "none", } diff --git a/packages/shared-ux/page/solution_nav/src/with_solution_nav.styles.ts b/packages/shared-ux/page/solution_nav/src/with_solution_nav.styles.ts index 906f1fdd8e293..628b27ffba993 100644 --- a/packages/shared-ux/page/solution_nav/src/with_solution_nav.styles.ts +++ b/packages/shared-ux/page/solution_nav/src/with_solution_nav.styles.ts @@ -6,12 +6,12 @@ * Side Public License, v 1. */ -import { css } from '@emotion/react'; +import { css } from '@emotion/css'; import { euiCanAnimate, EuiThemeComputed } from '@elastic/eui'; export const WithSolutionNavStyles = (euiTheme: EuiThemeComputed<{}>) => { return css` - flex: 0 1 0%; + flex: 0 1 0; overflow: hidden; ${euiCanAnimate} { transition: min-width ${euiTheme.animation.fast} ${euiTheme.animation.resistance}; diff --git a/packages/shared-ux/page/solution_nav/src/with_solution_nav.tsx b/packages/shared-ux/page/solution_nav/src/with_solution_nav.tsx index 0c3f0359c1f6e..d35834e7cdd9d 100644 --- a/packages/shared-ux/page/solution_nav/src/with_solution_nav.tsx +++ b/packages/shared-ux/page/solution_nav/src/with_solution_nav.tsx @@ -8,7 +8,6 @@ import React, { ComponentType, ReactNode, useState } from 'react'; import classNames from 'classnames'; -import { SerializedStyles } from '@emotion/serialize'; import { KibanaPageTemplateProps } from '@kbn/shared-ux-page-kibana-template-types'; import { useIsWithinBreakpoints, useEuiTheme, useIsWithinMinBreakpoint } from '@elastic/eui'; import { SolutionNav, SolutionNavProps } from './solution_nav'; @@ -37,7 +36,6 @@ export const withSolutionNav =

(WrappedComponent: Compo const [isSideNavOpenOnDesktop, setisSideNavOpenOnDesktop] = useState( !JSON.parse(String(localStorage.getItem(SOLUTION_NAV_COLLAPSED_KEY))) ); - const { solutionNav, children, ...propagatedProps } = props; const { euiTheme } = useEuiTheme(); @@ -53,11 +51,11 @@ export const withSolutionNav =

(WrappedComponent: Compo isMediumBreakpoint || (canBeCollapsed && isLargerBreakpoint && !isSideNavOpenOnDesktop); const withSolutionNavStyles = WithSolutionNavStyles(euiTheme); const sideBarClasses = classNames( - 'kbnStickyMenu', { 'kbnSolutionNav__sidebar--shrink': isSidebarShrunk, }, - props.pageSideBarProps?.className + props.pageSideBarProps?.className, + withSolutionNavStyles ); const pageSideBar = ( @@ -68,12 +66,11 @@ export const withSolutionNav =

(WrappedComponent: Compo /> ); - const pageSideBarProps: TemplateProps['pageSideBarProps'] & { css: SerializedStyles } = { + const pageSideBarProps: TemplateProps['pageSideBarProps'] = { paddingSize: 'none' as 'none', ...props.pageSideBarProps, minWidth: isSidebarShrunk ? euiTheme.size.xxl : undefined, className: sideBarClasses, - css: withSolutionNavStyles, }; return ( From cf7d6cc6de7e925709146efa4c731f28038ef3c0 Mon Sep 17 00:00:00 2001 From: Jonathan Budzenski Date: Tue, 1 Nov 2022 17:23:24 -0500 Subject: [PATCH 101/111] Remove buildbuddy cache (#144356) * Remove buildbuddy cache * Update .buildkite/scripts/steps/on_merge_ts_refs_api_docs.sh * Update .buildkite/scripts/common/setup_bazel.sh --- .buildkite/scripts/common/setup_bazel.sh | 15 ++------------- .buildkite/scripts/lifecycle/pre_command.sh | 3 --- .../scripts/steps/on_merge_ts_refs_api_docs.sh | 1 - src/dev/ci_setup/load_env_keys.sh | 3 --- 4 files changed, 2 insertions(+), 20 deletions(-) diff --git a/.buildkite/scripts/common/setup_bazel.sh b/.buildkite/scripts/common/setup_bazel.sh index 503ce2ef06c91..ea3c2453de6d2 100755 --- a/.buildkite/scripts/common/setup_bazel.sh +++ b/.buildkite/scripts/common/setup_bazel.sh @@ -42,18 +42,7 @@ cat <> $KIBANA_DIR/.bazelrc EOF fi -if [[ "$BAZEL_CACHE_MODE" == "buildbuddy" ]]; then - echo "[bazel] enabling caching with Buildbuddy" -cat <> $KIBANA_DIR/.bazelrc - build --bes_results_url=https://app.buildbuddy.io/invocation/ - build --bes_backend=grpcs://remote.buildbuddy.io - build --remote_cache=grpcs://remote.buildbuddy.io - build --remote_timeout=3600 - build --remote_header=x-buildbuddy-api-key=$KIBANA_BUILDBUDDY_CI_API_KEY -EOF -fi - -if [[ "$BAZEL_CACHE_MODE" != @(gcs|populate-local-gcs|buildbuddy|none|) ]]; then - echo "invalid value for BAZEL_CACHE_MODE received ($BAZEL_CACHE_MODE), expected one of [gcs,populate-local-gcs|buildbuddy,none]" +if [[ "$BAZEL_CACHE_MODE" != @(gcs|populate-local-gcs|none|) ]]; then + echo "invalid value for BAZEL_CACHE_MODE received ($BAZEL_CACHE_MODE), expected one of [gcs,populate-local-gcs|none]" exit 1 fi diff --git a/.buildkite/scripts/lifecycle/pre_command.sh b/.buildkite/scripts/lifecycle/pre_command.sh index b5d1d905458e8..b945f08d1dfd9 100755 --- a/.buildkite/scripts/lifecycle/pre_command.sh +++ b/.buildkite/scripts/lifecycle/pre_command.sh @@ -145,9 +145,6 @@ export SYNTHETICS_REMOTE_KIBANA_URL export TEST_FAILURES_ES_PASSWORD } -KIBANA_BUILDBUDDY_CI_API_KEY=$(retry 5 5 vault read -field=value secret/kibana-issues/dev/kibana-buildbuddy-ci-api-key) -export KIBANA_BUILDBUDDY_CI_API_KEY - BAZEL_LOCAL_DEV_CACHE_CREDENTIALS_FILE="$HOME/.kibana-ci-bazel-remote-cache-local-dev.json" export BAZEL_LOCAL_DEV_CACHE_CREDENTIALS_FILE retry 5 5 vault read -field=service_account_json secret/kibana-issues/dev/kibana-ci-bazel-remote-cache-local-dev > "$BAZEL_LOCAL_DEV_CACHE_CREDENTIALS_FILE" diff --git a/.buildkite/scripts/steps/on_merge_ts_refs_api_docs.sh b/.buildkite/scripts/steps/on_merge_ts_refs_api_docs.sh index f2360e58851db..4ed14093a2108 100755 --- a/.buildkite/scripts/steps/on_merge_ts_refs_api_docs.sh +++ b/.buildkite/scripts/steps/on_merge_ts_refs_api_docs.sh @@ -2,7 +2,6 @@ set -euo pipefail -export BAZEL_CACHE_MODE=buildbuddy # Populate Buildbuddy bazel remote cache for linux export DISABLE_BOOTSTRAP_VALIDATION=true .buildkite/scripts/bootstrap.sh diff --git a/src/dev/ci_setup/load_env_keys.sh b/src/dev/ci_setup/load_env_keys.sh index 5f7a6c26bab21..62d29db232eae 100644 --- a/src/dev/ci_setup/load_env_keys.sh +++ b/src/dev/ci_setup/load_env_keys.sh @@ -34,9 +34,6 @@ else PERCY_TOKEN=$(retry 5 vault read -field=value secret/kibana-issues/dev/percy) export PERCY_TOKEN - KIBANA_BUILDBUDDY_CI_API_KEY=$(retry 5 vault read -field=value secret/kibana-issues/dev/kibana-buildbuddy-ci-api-key) - export KIBANA_BUILDBUDDY_CI_API_KEY - # remove vault related secrets unset VAULT_ROLE_ID VAULT_SECRET_ID VAULT_TOKEN VAULT_ADDR fi From 7d77d39e1fcea75f9c84dee236f2f7e835b507fd Mon Sep 17 00:00:00 2001 From: Spencer Date: Tue, 1 Nov 2022 15:26:44 -0700 Subject: [PATCH 102/111] [ts] set allowJs to true by default (#144281) * [ts] set allowJs to true by default * fix scripts/check_ts_projects, original implementation is now wildly inefficient * produce stats in check_ts_projects to make sure it's actually working * fix imports --- kbn_pm/tsconfig.json | 1 - packages/kbn-ace/tsconfig.json | 1 + packages/kbn-bazel-packages/tsconfig.json | 1 - packages/kbn-bazel-runner/tsconfig.json | 1 - packages/kbn-interpreter/tsconfig.json | 1 - packages/kbn-plugin-discovery/tsconfig.json | 1 - .../lib/mocha/decorate_mocha_ui.js | 7 +- .../lib/mocha/load_tests.ts | 7 +- .../lib/mocha/setup_mocha.ts | 2 - .../src/jest/configs/get_all_jest_paths.ts | 1 - packages/kbn-test/src/kbn/kbn_test_config.ts | 2 +- packages/kbn-ui-shared-deps-npm/tsconfig.json | 1 - packages/kbn-ui-shared-deps-src/tsconfig.json | 1 - .../keystore}/get_keystore.js | 2 +- .../keystore}/get_keystore.test.js | 2 +- src/cli/keystore/read_keystore.js | 2 +- src/{cli_plugin/lib => cli}/logger.js | 12 +- src/{cli_plugin/lib => cli}/logger.test.js | 0 src/cli/tsconfig.json | 17 +++ src/cli_encryption_keys/generate.js | 2 +- src/cli_encryption_keys/generate.test.js | 2 +- src/cli_encryption_keys/interactive.test.js | 2 +- src/cli_encryption_keys/tsconfig.json | 15 +++ src/cli_keystore/add.js | 2 +- src/cli_keystore/add.test.js | 2 +- src/cli_keystore/cli_keystore.js | 2 +- src/cli_keystore/create.js | 2 +- src/cli_keystore/create.test.js | 2 +- src/cli_keystore/list.js | 2 +- src/cli_keystore/list.test.js | 2 +- src/cli_keystore/tsconfig.json | 18 +++ src/cli_plugin/install/cleanup.test.js | 2 +- src/cli_plugin/install/download.test.js | 2 +- src/cli_plugin/install/index.js | 2 +- src/cli_plugin/install/kibana.test.js | 2 +- src/cli_plugin/install/pack.test.js | 2 +- src/cli_plugin/install/progress.test.js | 2 +- src/cli_plugin/lib/logger.d.ts | 20 --- src/cli_plugin/list/index.js | 2 +- src/cli_plugin/remove/index.js | 2 +- src/cli_plugin/remove/remove.test.js | 2 +- src/cli_plugin/tsconfig.json | 18 +++ src/cli_setup/cli_setup.ts | 2 +- src/cli_setup/tsconfig.json | 16 +++ src/cli_verification_code/tsconfig.json | 14 ++ src/dev/file.ts | 2 +- src/dev/tsconfig.json | 20 +++ src/dev/typescript/projects.ts | 2 +- .../typescript/run_check_ts_projects_cli.ts | 122 +++++++++++++----- src/dev/typescript/run_type_check_cli.ts | 13 +- src/fixtures/tsconfig.json | 15 +++ src/plugins/console/tsconfig.json | 5 + src/plugins/dashboard/tsconfig.json | 2 +- src/plugins/discover/tsconfig.json | 5 + .../components/manage_data/manage_data.tsx | 1 - .../public/components/add_data/add_data.tsx | 1 - .../components/manage_data/manage_data.tsx | 1 - src/plugins/vis_types/timelion/tsconfig.json | 1 + .../vis_types/timeseries/tsconfig.json | 5 + src/plugins/vis_types/vega/tsconfig.json | 4 +- .../vislib/public/vis_controller.tsx | 1 - src/plugins/vis_types/vislib/tsconfig.json | 5 +- src/setup_node_env/tsconfig.json | 16 +++ test/accessibility/services/a11y/a11y.ts | 1 - test/functional/services/common/browser.ts | 9 +- test/tsconfig.json | 1 + tsconfig.base.json | 5 + tsconfig.json | 16 --- x-pack/plugins/apm/ftr_e2e/tsconfig.json | 1 - .../components/shared/kuery_bar/index.tsx | 1 - .../scripts/infer_route_return_types/index.ts | 1 - .../lib/helpers/get_bucket_size/index.ts | 3 +- x-pack/plugins/apm/tsconfig.json | 3 +- x-pack/plugins/canvas/tsconfig.json | 8 +- .../cloud_gain_sight/tsconfig.json | 3 + .../geo/abstract_geo_file_importer.tsx | 1 - .../geo/geojson_importer/geojson_importer.ts | 6 +- .../shapefile_importer/shapefile_importer.tsx | 1 - x-pack/plugins/fleet/cypress/tsconfig.json | 1 - x-pack/plugins/fleet/tsconfig.json | 3 +- x-pack/plugins/graph/tsconfig.json | 5 + .../__jest__/api_responses/upload_license.js | 5 + .../__jest__/upload_license.test.tsx | 4 - .../start_trial/start_trial.tsx | 2 +- .../public/application/pipeline_edit_view.tsx | 3 - .../public/models/pipeline/pipeline.js | 8 +- .../logstash/public/models/pipeline/props.ts | 28 ++++ x-pack/plugins/maps/tsconfig.json | 5 + x-pack/plugins/ml/tsconfig.json | 5 + x-pack/plugins/monitoring/tsconfig.json | 5 + .../public/utils/get_bucket_size/index.ts | 2 +- x-pack/plugins/osquery/cypress/tsconfig.json | 1 - x-pack/plugins/osquery/tsconfig.json | 1 + .../job_action_menu/job_action_menu.js | 2 +- x-pack/plugins/screenshotting/tsconfig.json | 1 + .../plugins/security_solution/tsconfig.json | 1 + x-pack/test/tsconfig.json | 7 +- 97 files changed, 415 insertions(+), 158 deletions(-) rename src/{cli_keystore => cli/keystore}/get_keystore.js (95%) rename src/{cli_keystore => cli/keystore}/get_keystore.test.js (96%) rename src/{cli_plugin/lib => cli}/logger.js (85%) rename src/{cli_plugin/lib => cli}/logger.test.js (100%) create mode 100644 src/cli/tsconfig.json create mode 100644 src/cli_encryption_keys/tsconfig.json create mode 100644 src/cli_keystore/tsconfig.json delete mode 100644 src/cli_plugin/lib/logger.d.ts create mode 100644 src/cli_plugin/tsconfig.json create mode 100644 src/cli_setup/tsconfig.json create mode 100644 src/cli_verification_code/tsconfig.json create mode 100644 src/dev/tsconfig.json create mode 100644 src/fixtures/tsconfig.json create mode 100644 src/setup_node_env/tsconfig.json create mode 100644 x-pack/plugins/logstash/public/models/pipeline/props.ts diff --git a/kbn_pm/tsconfig.json b/kbn_pm/tsconfig.json index 53fea34be6d25..f8ef60867aca2 100644 --- a/kbn_pm/tsconfig.json +++ b/kbn_pm/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../tsconfig.base.json", "compilerOptions": { "outDir": "target", - "allowJs": true, "checkJs": true, "target": "ES2022", "module": "ESNext" diff --git a/packages/kbn-ace/tsconfig.json b/packages/kbn-ace/tsconfig.json index febbd6d200d02..8fd7178521b53 100644 --- a/packages/kbn-ace/tsconfig.json +++ b/packages/kbn-ace/tsconfig.json @@ -1,6 +1,7 @@ { "extends": "../../tsconfig.bazel.json", "compilerOptions": { + "allowJs": false, "declaration": true, "emitDeclarationOnly": true, "outDir": "./target_types", diff --git a/packages/kbn-bazel-packages/tsconfig.json b/packages/kbn-bazel-packages/tsconfig.json index 88c042aec7ed6..54d35c4858e63 100644 --- a/packages/kbn-bazel-packages/tsconfig.json +++ b/packages/kbn-bazel-packages/tsconfig.json @@ -3,7 +3,6 @@ "compilerOptions": { "declaration": true, "emitDeclarationOnly": true, - "allowJs": true, "checkJs": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/kbn-bazel-runner/tsconfig.json b/packages/kbn-bazel-runner/tsconfig.json index 84a0388b22912..dbd1dff4ef9ea 100644 --- a/packages/kbn-bazel-runner/tsconfig.json +++ b/packages/kbn-bazel-runner/tsconfig.json @@ -3,7 +3,6 @@ "compilerOptions": { "declaration": true, "emitDeclarationOnly": true, - "allowJs": true, "checkJs": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/kbn-interpreter/tsconfig.json b/packages/kbn-interpreter/tsconfig.json index 3f7db41bf648c..3b64720265657 100644 --- a/packages/kbn-interpreter/tsconfig.json +++ b/packages/kbn-interpreter/tsconfig.json @@ -1,7 +1,6 @@ { "extends": "../../tsconfig.bazel.json", "compilerOptions": { - "allowJs": true, "declaration": true, "emitDeclarationOnly": true, "outDir": "./target_types", diff --git a/packages/kbn-plugin-discovery/tsconfig.json b/packages/kbn-plugin-discovery/tsconfig.json index 745082de9b592..819cbb943e5f1 100644 --- a/packages/kbn-plugin-discovery/tsconfig.json +++ b/packages/kbn-plugin-discovery/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../tsconfig.bazel.json", "compilerOptions": { "declaration": true, - "allowJs": true, "checkJs": true, "outDir": "target_types", "stripInternal": false, diff --git a/packages/kbn-test/src/functional_test_runner/lib/mocha/decorate_mocha_ui.js b/packages/kbn-test/src/functional_test_runner/lib/mocha/decorate_mocha_ui.js index 62104cebf9cba..a0db7db6f0017 100644 --- a/packages/kbn-test/src/functional_test_runner/lib/mocha/decorate_mocha_ui.js +++ b/packages/kbn-test/src/functional_test_runner/lib/mocha/decorate_mocha_ui.js @@ -38,7 +38,12 @@ function allTestsAreSkipped(suite) { return childrenSkipped; } -export function decorateMochaUi(log, lifecycle, context, { rootTags }) { +/** + * @param {import('../lifecycle').Lifecycle} lifecycle + * @param {any} context + * @param {{ rootTags?: string[] }} options + */ +export function decorateMochaUi(lifecycle, context, { rootTags }) { // incremented at the start of each suite, decremented after // so that in each non-suite call we can know if we are within // a suite, or that when a suite is defined it is within a suite diff --git a/packages/kbn-test/src/functional_test_runner/lib/mocha/load_tests.ts b/packages/kbn-test/src/functional_test_runner/lib/mocha/load_tests.ts index 32f61caf1b3c7..f226d37c41ee1 100644 --- a/packages/kbn-test/src/functional_test_runner/lib/mocha/load_tests.ts +++ b/packages/kbn-test/src/functional_test_runner/lib/mocha/load_tests.ts @@ -17,7 +17,6 @@ import type { ProviderCollection } from '../providers'; import { loadTracer } from '../load_tracer'; import { decorateSnapshotUi } from '../snapshots/decorate_snapshot_ui'; -// @ts-expect-error not js yet import { decorateMochaUi } from './decorate_mocha_ui'; type TestProvider = (ctx: GenericFtrProviderContext) => void; @@ -48,9 +47,6 @@ export const loadTests = ({ updateBaselines, updateSnapshots, }: Options) => { - const dockerServers = config.get('dockerServers'); - const isDockerGroup = dockerServers && Object.keys(dockerServers).length; - const ctx: GenericFtrProviderContext = { loadTestFile, getService: providers.getService as any, @@ -80,8 +76,7 @@ export const loadTests = ({ function withMocha(debugPath: string, fn: () => void) { // mocha.suite hocus-pocus comes from: https://git.io/vDnXO - const context = decorateMochaUi(log, lifecycle, global, { - isDockerGroup, + const context = decorateMochaUi(lifecycle, global, { rootTags: config.get('rootTags'), }); mocha.suite.emit('pre-require', context, debugPath, mocha); diff --git a/packages/kbn-test/src/functional_test_runner/lib/mocha/setup_mocha.ts b/packages/kbn-test/src/functional_test_runner/lib/mocha/setup_mocha.ts index 10c51517aec94..ae42945b6bfdb 100644 --- a/packages/kbn-test/src/functional_test_runner/lib/mocha/setup_mocha.ts +++ b/packages/kbn-test/src/functional_test_runner/lib/mocha/setup_mocha.ts @@ -19,9 +19,7 @@ import { Config } from '../config'; import { ProviderCollection } from '../providers'; import { EsVersion } from '../es_version'; -// @ts-expect-error not ts yet import { MochaReporterProvider } from './reporter'; -// @ts-expect-error not ts yet import { validateCiGroupTags } from './validate_ci_group_tags'; interface Options { diff --git a/packages/kbn-test/src/jest/configs/get_all_jest_paths.ts b/packages/kbn-test/src/jest/configs/get_all_jest_paths.ts index 336e28bd16fd5..ca071f33507bf 100644 --- a/packages/kbn-test/src/jest/configs/get_all_jest_paths.ts +++ b/packages/kbn-test/src/jest/configs/get_all_jest_paths.ts @@ -11,7 +11,6 @@ import Path from 'path'; import minimatch from 'minimatch'; import { getRepoFiles } from '@kbn/get-repo-files'; -// @ts-expect-error jest-preset is necessarily a JS file import { testMatch } from '../../../jest-preset'; const UNIT_CONFIG_NAME = 'jest.config.js'; diff --git a/packages/kbn-test/src/kbn/kbn_test_config.ts b/packages/kbn-test/src/kbn/kbn_test_config.ts index ad2af4c2ff81c..01a7edbc861df 100644 --- a/packages/kbn-test/src/kbn/kbn_test_config.ts +++ b/packages/kbn-test/src/kbn/kbn_test_config.ts @@ -9,7 +9,7 @@ import url from 'url'; import { kibanaTestUser } from './users'; -interface UrlParts { +export interface UrlParts { protocol?: string; hostname?: string; port?: number; diff --git a/packages/kbn-ui-shared-deps-npm/tsconfig.json b/packages/kbn-ui-shared-deps-npm/tsconfig.json index 78b399657886a..376457cce75ef 100644 --- a/packages/kbn-ui-shared-deps-npm/tsconfig.json +++ b/packages/kbn-ui-shared-deps-npm/tsconfig.json @@ -1,7 +1,6 @@ { "extends": "../../tsconfig.bazel.json", "compilerOptions": { - "allowJs": true, "declaration": true, "emitDeclarationOnly": true, "outDir": "./target_types", diff --git a/packages/kbn-ui-shared-deps-src/tsconfig.json b/packages/kbn-ui-shared-deps-src/tsconfig.json index 78b399657886a..376457cce75ef 100644 --- a/packages/kbn-ui-shared-deps-src/tsconfig.json +++ b/packages/kbn-ui-shared-deps-src/tsconfig.json @@ -1,7 +1,6 @@ { "extends": "../../tsconfig.bazel.json", "compilerOptions": { - "allowJs": true, "declaration": true, "emitDeclarationOnly": true, "outDir": "./target_types", diff --git a/src/cli_keystore/get_keystore.js b/src/cli/keystore/get_keystore.js similarity index 95% rename from src/cli_keystore/get_keystore.js rename to src/cli/keystore/get_keystore.js index 11e957ffe9847..d713f422cc68a 100644 --- a/src/cli_keystore/get_keystore.js +++ b/src/cli/keystore/get_keystore.js @@ -9,7 +9,7 @@ import { existsSync } from 'fs'; import { join } from 'path'; -import { Logger } from '../cli_plugin/lib/logger'; +import { Logger } from '../logger'; import { getConfigDirectory, getDataPath } from '@kbn/utils'; export function getKeystore() { diff --git a/src/cli_keystore/get_keystore.test.js b/src/cli/keystore/get_keystore.test.js similarity index 96% rename from src/cli_keystore/get_keystore.test.js rename to src/cli/keystore/get_keystore.test.js index 6c7c4397c172f..b24164935fe49 100644 --- a/src/cli_keystore/get_keystore.test.js +++ b/src/cli/keystore/get_keystore.test.js @@ -7,7 +7,7 @@ */ import { getKeystore } from './get_keystore'; -import { Logger } from '../cli_plugin/lib/logger'; +import { Logger } from '../logger'; import fs from 'fs'; import sinon from 'sinon'; diff --git a/src/cli/keystore/read_keystore.js b/src/cli/keystore/read_keystore.js index a4f007690a661..96f5d38f65d69 100644 --- a/src/cli/keystore/read_keystore.js +++ b/src/cli/keystore/read_keystore.js @@ -9,7 +9,7 @@ import { set } from '@kbn/safer-lodash-set'; import { Keystore } from '.'; -import { getKeystore } from '../../cli_keystore/get_keystore'; +import { getKeystore } from './get_keystore'; export function readKeystore(keystorePath = getKeystore()) { const keystore = new Keystore(keystorePath); diff --git a/src/cli_plugin/lib/logger.js b/src/cli/logger.js similarity index 85% rename from src/cli_plugin/lib/logger.js rename to src/cli/logger.js index d34b8561cc7a9..0379765c61179 100644 --- a/src/cli_plugin/lib/logger.js +++ b/src/cli/logger.js @@ -10,13 +10,20 @@ * Logs messages and errors */ export class Logger { + /** + * @param {{silent?: boolean; quiet?: boolean;}} settings + */ constructor(settings = {}) { this.previousLineEnded = true; this.silent = !!settings.silent; this.quiet = !!settings.quiet; } - log(data, sameLine) { + /** + * @param {string} data + * @param {boolean} sameLine + */ + log(data, sameLine = false) { if (this.silent || this.quiet) return; if (!sameLine && !this.previousLineEnded) { @@ -34,6 +41,9 @@ export class Logger { this.previousLineEnded = !sameLine; } + /** + * @param {string} data + */ error(data) { if (this.silent) return; diff --git a/src/cli_plugin/lib/logger.test.js b/src/cli/logger.test.js similarity index 100% rename from src/cli_plugin/lib/logger.test.js rename to src/cli/logger.test.js diff --git a/src/cli/tsconfig.json b/src/cli/tsconfig.json new file mode 100644 index 0000000000000..b3a8ab5220b94 --- /dev/null +++ b/src/cli/tsconfig.json @@ -0,0 +1,17 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "outDir": "./target/types", + "emitDeclarationOnly": true, + "declaration": true + }, + "include": [ + "keystore/**/*", + "serve/**/*", + "*.js", + ], + "kbn_references": [ + { "path": "../core/tsconfig.json" }, + { "path": "../setup_node_env/tsconfig.json" }, + ] +} diff --git a/src/cli_encryption_keys/generate.js b/src/cli_encryption_keys/generate.js index e3058da157c0d..1f1eae3f28185 100644 --- a/src/cli_encryption_keys/generate.js +++ b/src/cli_encryption_keys/generate.js @@ -9,7 +9,7 @@ import { safeDump } from 'js-yaml'; import { isEmpty } from 'lodash'; import { interactive } from './interactive'; -import { Logger } from '../cli_plugin/lib/logger'; +import { Logger } from '../cli/logger'; export async function generate(encryptionConfig, command) { const logger = new Logger(); diff --git a/src/cli_encryption_keys/generate.test.js b/src/cli_encryption_keys/generate.test.js index 422c2bf8e2044..1db27264a052c 100644 --- a/src/cli_encryption_keys/generate.test.js +++ b/src/cli_encryption_keys/generate.test.js @@ -9,7 +9,7 @@ import { EncryptionConfig } from './encryption_config'; import { generate } from './generate'; -import { Logger } from '../cli_plugin/lib/logger'; +import { Logger } from '../cli/logger'; describe('encryption key generation', () => { const encryptionConfig = new EncryptionConfig(); diff --git a/src/cli_encryption_keys/interactive.test.js b/src/cli_encryption_keys/interactive.test.js index 79309e3ace64f..69cf499ff144e 100644 --- a/src/cli_encryption_keys/interactive.test.js +++ b/src/cli_encryption_keys/interactive.test.js @@ -9,7 +9,7 @@ import { EncryptionConfig } from './encryption_config'; import { generate } from './generate'; -import { Logger } from '../cli_plugin/lib/logger'; +import { Logger } from '../cli/logger'; import * as prompt from '../cli_keystore/utils/prompt'; import fs from 'fs'; import crypto from 'crypto'; diff --git a/src/cli_encryption_keys/tsconfig.json b/src/cli_encryption_keys/tsconfig.json new file mode 100644 index 0000000000000..6b6661d24f9c6 --- /dev/null +++ b/src/cli_encryption_keys/tsconfig.json @@ -0,0 +1,15 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "outDir": "./target/types", + "emitDeclarationOnly": true, + "declaration": true, + }, + "include": [ + "*.js", + ], + "kbn_references": [ + { "path": "../cli/tsconfig.json" }, + { "path": "../cli_keystore/tsconfig.json" }, + ] +} diff --git a/src/cli_keystore/add.js b/src/cli_keystore/add.js index e584772298fe8..96778665ac912 100644 --- a/src/cli_keystore/add.js +++ b/src/cli_keystore/add.js @@ -6,7 +6,7 @@ * Side Public License, v 1. */ -import { Logger } from '../cli_plugin/lib/logger'; +import { Logger } from '../cli/logger'; import { confirm, question } from './utils'; // import from path since add.test.js mocks 'fs' required for @kbn/utils import { createPromiseFromStreams, createConcatStream } from '@kbn/utils/target_node/src/streams'; diff --git a/src/cli_keystore/add.test.js b/src/cli_keystore/add.test.js index c9c4f4bf90da9..2114690207aa0 100644 --- a/src/cli_keystore/add.test.js +++ b/src/cli_keystore/add.test.js @@ -30,7 +30,7 @@ import { PassThrough } from 'stream'; import { Keystore } from '../cli/keystore'; import { add } from './add'; -import { Logger } from '../cli_plugin/lib/logger'; +import { Logger } from '../cli/logger'; import * as prompt from './utils/prompt'; describe('Kibana keystore', () => { diff --git a/src/cli_keystore/cli_keystore.js b/src/cli_keystore/cli_keystore.js index 9f44e5d56e9d2..0db5d0f33337d 100644 --- a/src/cli_keystore/cli_keystore.js +++ b/src/cli_keystore/cli_keystore.js @@ -10,13 +10,13 @@ import _ from 'lodash'; import { kibanaPackageJson as pkg } from '@kbn/utils'; import Command from '../cli/command'; +import { getKeystore } from '../cli/keystore/get_keystore'; import { Keystore } from '../cli/keystore'; import { createCli } from './create'; import { listCli } from './list'; import { addCli } from './add'; import { removeCli } from './remove'; -import { getKeystore } from './get_keystore'; const argv = process.argv.slice(); const program = new Command('bin/kibana-keystore'); diff --git a/src/cli_keystore/create.js b/src/cli_keystore/create.js index f229576972e11..7e0c1ee23c820 100644 --- a/src/cli_keystore/create.js +++ b/src/cli_keystore/create.js @@ -6,7 +6,7 @@ * Side Public License, v 1. */ -import { Logger } from '../cli_plugin/lib/logger'; +import { Logger } from '../cli/logger'; import { confirm } from './utils'; export async function create(keystore, command, options) { diff --git a/src/cli_keystore/create.test.js b/src/cli_keystore/create.test.js index 0e3328f660fb4..2c5dcf6db8449 100644 --- a/src/cli_keystore/create.test.js +++ b/src/cli_keystore/create.test.js @@ -29,7 +29,7 @@ import sinon from 'sinon'; import { Keystore } from '../cli/keystore'; import { create } from './create'; -import { Logger } from '../cli_plugin/lib/logger'; +import { Logger } from '../cli/logger'; import * as prompt from './utils/prompt'; describe('Kibana keystore', () => { diff --git a/src/cli_keystore/list.js b/src/cli_keystore/list.js index 21d5534ad2d5a..5e136b0fe0647 100644 --- a/src/cli_keystore/list.js +++ b/src/cli_keystore/list.js @@ -6,7 +6,7 @@ * Side Public License, v 1. */ -import { Logger } from '../cli_plugin/lib/logger'; +import { Logger } from '../cli/logger'; export function list(keystore, command, options = {}) { const logger = new Logger(options); diff --git a/src/cli_keystore/list.test.js b/src/cli_keystore/list.test.js index 01bac0c4454d9..43497a4e4c0ac 100644 --- a/src/cli_keystore/list.test.js +++ b/src/cli_keystore/list.test.js @@ -27,7 +27,7 @@ jest.mock('fs', () => ({ import sinon from 'sinon'; import { Keystore } from '../cli/keystore'; import { list } from './list'; -import { Logger } from '../cli_plugin/lib/logger'; +import { Logger } from '../cli/logger'; describe('Kibana keystore', () => { describe('list', () => { diff --git a/src/cli_keystore/tsconfig.json b/src/cli_keystore/tsconfig.json new file mode 100644 index 0000000000000..8cd8e6f3f232c --- /dev/null +++ b/src/cli_keystore/tsconfig.json @@ -0,0 +1,18 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "outDir": "./target/types", + "emitDeclarationOnly": true, + "declaration": true, + }, + "include": [ + "keystore/**/*", + "utils/**/*", + "*.js", + ], + "kbn_references": [ + { "path": "../setup_node_env/tsconfig.json" }, + { "path": "../cli/tsconfig.json" }, + { "path": "../cli_plugin/tsconfig.json" }, + ] +} diff --git a/src/cli_plugin/install/cleanup.test.js b/src/cli_plugin/install/cleanup.test.js index 4b7ad0763f551..3144594dbd947 100644 --- a/src/cli_plugin/install/cleanup.test.js +++ b/src/cli_plugin/install/cleanup.test.js @@ -11,7 +11,7 @@ import fs from 'fs'; import del from 'del'; import { cleanPrevious, cleanArtifacts } from './cleanup'; -import { Logger } from '../lib/logger'; +import { Logger } from '../../cli/logger'; describe('kibana cli', function () { describe('plugin installer', function () { diff --git a/src/cli_plugin/install/download.test.js b/src/cli_plugin/install/download.test.js index a0b5a2e1ad8e4..5ebc4ad099fa6 100644 --- a/src/cli_plugin/install/download.test.js +++ b/src/cli_plugin/install/download.test.js @@ -15,7 +15,7 @@ import nock from 'nock'; import globby from 'globby'; import del from 'del'; -import { Logger } from '../lib/logger'; +import { Logger } from '../../cli/logger'; import { UnsupportedProtocolError } from '../lib/errors'; import { download, _downloadSingle, _getFilePath, _checkFilePathDeprecation } from './download'; diff --git a/src/cli_plugin/install/index.js b/src/cli_plugin/install/index.js index dbad6bc8ba19c..cdf0218de3c9b 100644 --- a/src/cli_plugin/install/index.js +++ b/src/cli_plugin/install/index.js @@ -8,7 +8,7 @@ import { getConfigPath, kibanaPackageJson as pkg } from '@kbn/utils'; import { install } from './install'; -import { Logger } from '../lib/logger'; +import { Logger } from '../../cli/logger'; import { parse, parseMilliseconds } from './settings'; import { logWarnings } from '../lib/log_warnings'; diff --git a/src/cli_plugin/install/kibana.test.js b/src/cli_plugin/install/kibana.test.js index 6e044afcc7d00..7218f63a29e36 100644 --- a/src/cli_plugin/install/kibana.test.js +++ b/src/cli_plugin/install/kibana.test.js @@ -13,7 +13,7 @@ import sinon from 'sinon'; import del from 'del'; import { existingInstall, assertVersion } from './kibana'; -import { Logger } from '../lib/logger'; +import { Logger } from '../../cli/logger'; jest.spyOn(fs, 'statSync'); diff --git a/src/cli_plugin/install/pack.test.js b/src/cli_plugin/install/pack.test.js index cbb8438770f50..38542a7dad3d1 100644 --- a/src/cli_plugin/install/pack.test.js +++ b/src/cli_plugin/install/pack.test.js @@ -13,7 +13,7 @@ import sinon from 'sinon'; import globby from 'globby'; import del from 'del'; -import { Logger } from '../lib/logger'; +import { Logger } from '../../cli/logger'; import { extract, getPackData } from './pack'; import { _downloadSingle } from './download'; diff --git a/src/cli_plugin/install/progress.test.js b/src/cli_plugin/install/progress.test.js index 3eb583ddb7b9c..a2642648ad7b1 100644 --- a/src/cli_plugin/install/progress.test.js +++ b/src/cli_plugin/install/progress.test.js @@ -9,7 +9,7 @@ import sinon from 'sinon'; import { Progress } from './progress'; -import { Logger } from '../lib/logger'; +import { Logger } from '../../cli/logger'; describe('kibana cli', function () { describe('plugin installer', function () { diff --git a/src/cli_plugin/lib/logger.d.ts b/src/cli_plugin/lib/logger.d.ts deleted file mode 100644 index dae3255839677..0000000000000 --- a/src/cli_plugin/lib/logger.d.ts +++ /dev/null @@ -1,20 +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. - */ - -interface LoggerOptions { - silent?: boolean; - quiet?: boolean; -} - -export declare class Logger { - constructor(settings?: LoggerOptions); - - log(data: string, sameLine?: boolean): void; - - error(data: string): void; -} diff --git a/src/cli_plugin/list/index.js b/src/cli_plugin/list/index.js index 02d1ed19f8445..131582598c3ed 100644 --- a/src/cli_plugin/list/index.js +++ b/src/cli_plugin/list/index.js @@ -8,7 +8,7 @@ import { fromRoot } from '@kbn/utils'; import { list } from './list'; -import { Logger } from '../lib/logger'; +import { Logger } from '../../cli/logger'; import { logWarnings } from '../lib/log_warnings'; function processCommand() { diff --git a/src/cli_plugin/remove/index.js b/src/cli_plugin/remove/index.js index 3f571e605028f..0f94b9db391e2 100644 --- a/src/cli_plugin/remove/index.js +++ b/src/cli_plugin/remove/index.js @@ -8,7 +8,7 @@ import { getConfigPath } from '@kbn/utils'; import { remove } from './remove'; -import { Logger } from '../lib/logger'; +import { Logger } from '../../cli/logger'; import { parse } from './settings'; import { logWarnings } from '../lib/log_warnings'; diff --git a/src/cli_plugin/remove/remove.test.js b/src/cli_plugin/remove/remove.test.js index 29309b7391b03..c975ab6b46be9 100644 --- a/src/cli_plugin/remove/remove.test.js +++ b/src/cli_plugin/remove/remove.test.js @@ -13,7 +13,7 @@ import sinon from 'sinon'; import globby from 'globby'; import del from 'del'; -import { Logger } from '../lib/logger'; +import { Logger } from '../../cli/logger'; import { remove } from './remove'; describe('kibana cli', function () { diff --git a/src/cli_plugin/tsconfig.json b/src/cli_plugin/tsconfig.json new file mode 100644 index 0000000000000..611a8c05d8a43 --- /dev/null +++ b/src/cli_plugin/tsconfig.json @@ -0,0 +1,18 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "outDir": "./target/types", + "emitDeclarationOnly": true, + "declaration": true, + }, + "include": [ + "install/**/*", + "lib/**/*", + "list/**/*", + "remove/**/*", + "*.js", + ], + "kbn_references": [ + { "path": "../cli/tsconfig.json" }, + ] +} diff --git a/src/cli_setup/cli_setup.ts b/src/cli_setup/cli_setup.ts index 241c0dc13157f..b13e94551db5b 100644 --- a/src/cli_setup/cli_setup.ts +++ b/src/cli_setup/cli_setup.ts @@ -24,7 +24,7 @@ import { kibanaConfigWriter, elasticsearch, } from './utils'; -import { Logger } from '../cli_plugin/lib/logger'; +import { Logger } from '../cli/logger'; const program = new Command('bin/kibana-setup'); diff --git a/src/cli_setup/tsconfig.json b/src/cli_setup/tsconfig.json new file mode 100644 index 0000000000000..c59d1c32ee822 --- /dev/null +++ b/src/cli_setup/tsconfig.json @@ -0,0 +1,16 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "outDir": "./target/types", + "emitDeclarationOnly": true, + "declaration": true, + }, + "include": [ + "*.js", + "*.ts" + ], + "kbn_references": [ + { "path": "../cli/tsconfig.json" }, + { "path": "../plugins/interactive_setup/tsconfig.json" }, + ] +} diff --git a/src/cli_verification_code/tsconfig.json b/src/cli_verification_code/tsconfig.json new file mode 100644 index 0000000000000..ba74b96a36b68 --- /dev/null +++ b/src/cli_verification_code/tsconfig.json @@ -0,0 +1,14 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "outDir": "./target/types", + "emitDeclarationOnly": true, + "declaration": true, + }, + "include": [ + "*.js", + ], + "kbn_references": [ + { "path": "../cli/tsconfig.json" }, + ] +} diff --git a/src/dev/file.ts b/src/dev/file.ts index 16d64d8c0c218..f1560956aef5e 100644 --- a/src/dev/file.ts +++ b/src/dev/file.ts @@ -9,7 +9,7 @@ import { dirname, extname, join, relative, resolve, sep, basename } from 'path'; export class File { - private path: string; + public readonly path: string; private relativePath: string; private ext: string; diff --git a/src/dev/tsconfig.json b/src/dev/tsconfig.json new file mode 100644 index 0000000000000..5976c86154dad --- /dev/null +++ b/src/dev/tsconfig.json @@ -0,0 +1,20 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "outDir": "./target/types", + "emitDeclarationOnly": true, + "declaration": true, + }, + "include": [ + "**/*.js", + "**/*.ts", + ], + "exclude": [ + "target/types/**/*" + ], + "kbn_references": [ + { "path": "../core/tsconfig.json" }, + { "path": "../../tsconfig.json" }, + { "path": "../../x-pack/plugins/screenshotting/tsconfig.json" }, + ] +} diff --git a/src/dev/typescript/projects.ts b/src/dev/typescript/projects.ts index e346a1de449c7..7afb1e4649cb9 100644 --- a/src/dev/typescript/projects.ts +++ b/src/dev/typescript/projects.ts @@ -31,7 +31,7 @@ export const PROJECTS = [ createProject('test/tsconfig.json', { name: 'kibana/test' }), createProject('x-pack/test/tsconfig.json', { name: 'x-pack/test' }), createProject('x-pack/performance/tsconfig.json', { name: 'x-pack/performance' }), - createProject('src/core/tsconfig.json'), + ...findProjects(['src/*/tsconfig.json']), createProject('.buildkite/tsconfig.json', { // this directory has additionally dependencies which scripts/type_check can't guarantee // are present or up-to-date, and users likely won't know how to manage either, so the diff --git a/src/dev/typescript/run_check_ts_projects_cli.ts b/src/dev/typescript/run_check_ts_projects_cli.ts index 1f5284f11c8cd..9156c52a23d01 100644 --- a/src/dev/typescript/run_check_ts_projects_cli.ts +++ b/src/dev/typescript/run_check_ts_projects_cli.ts @@ -6,59 +6,105 @@ * Side Public License, v 1. */ -import { resolve, relative } from 'path'; - -import execa from 'execa'; +import Path from 'path'; import { run } from '@kbn/dev-cli-runner'; -import { REPO_ROOT } from '@kbn/utils'; +import { asyncMapWithLimit } from '@kbn/std'; +import { createFailError } from '@kbn/dev-cli-errors'; +import { getRepoFiles } from '@kbn/get-repo-files'; +import globby from 'globby'; import { File } from '../file'; import { PROJECTS } from './projects'; +import type { Project } from './project'; + +class Stats { + counts = { + files: new Map(), + ignored: new Map(), + gitMatched: new Map(), + }; + + incr(proj: Project, metric: 'files' | 'ignored' | 'gitMatched', delta = 1) { + const cur = this.counts[metric].get(proj); + this.counts[metric].set(proj, (cur ?? 0) + delta); + } +} export async function runCheckTsProjectsCli() { run( async ({ log }) => { - const { stdout: files } = await execa('git', ['ls-tree', '--name-only', '-r', 'HEAD'], { - cwd: REPO_ROOT, + const stats = new Stats(); + let failed = false; + + const pathsAndProjects = await asyncMapWithLimit(PROJECTS, 5, async (proj) => { + const paths = await globby(proj.getIncludePatterns(), { + ignore: proj.getExcludePatterns(), + cwd: proj.directory, + onlyFiles: true, + absolute: true, + }); + stats.incr(proj, 'files', paths.length); + return { + proj, + paths, + }; }); - const isNotInTsProject: File[] = []; - const isInMultipleTsProjects: string[] = []; + const isInMultipleTsProjects = new Map>(); + const pathsToProject = new Map(); + for (const { proj, paths } of pathsAndProjects) { + for (const path of paths) { + if (!pathsToProject.has(path)) { + pathsToProject.set(path, proj); + continue; + } - for (const lineRaw of files.split('\n')) { - const line = lineRaw.trim(); + if (path.endsWith('.d.ts')) { + stats.incr(proj, 'ignored'); + continue; + } - if (!line) { - continue; + isInMultipleTsProjects.set( + path, + new Set([...(isInMultipleTsProjects.get(path) ?? []), proj]) + ); } + } + + if (isInMultipleTsProjects.size) { + failed = true; + const details = Array.from(isInMultipleTsProjects) + .map( + ([path, projects]) => + ` - ${Path.relative(process.cwd(), path)}:\n${Array.from(projects) + .map((p) => ` - ${Path.relative(process.cwd(), p.tsConfigPath)}`) + .join('\n')}` + ) + .join('\n'); + + log.error( + `The following files belong to multiple tsconfig.json files listed in src/dev/typescript/projects.ts\n${details}` + ); + } - const file = new File(resolve(REPO_ROOT, line)); + const isNotInTsProject: File[] = []; + for (const { abs } of await getRepoFiles()) { + const file = new File(abs); if (!file.isTypescript() || file.isFixture()) { continue; } - log.verbose('Checking %s', file.getAbsolutePath()); - - const projects = PROJECTS.filter((p) => p.isAbsolutePathSelected(file.getAbsolutePath())); - if (projects.length === 0) { + const proj = pathsToProject.get(file.getAbsolutePath()); + if (proj === undefined) { isNotInTsProject.push(file); + } else { + stats.incr(proj, 'gitMatched'); } - if (projects.length > 1 && !file.isTypescriptAmbient()) { - isInMultipleTsProjects.push( - ` - ${file.getRelativePath()}:\n${projects - .map((p) => ` - ${relative(process.cwd(), p.tsConfigPath)}`) - .join('\n')}` - ); - } - } - - if (!isNotInTsProject.length && !isInMultipleTsProjects.length) { - log.success('All ts files belong to a single ts project'); - return; } if (isNotInTsProject.length) { + failed = true; log.error( `The following files do not belong to a tsconfig.json file, or that tsconfig.json file is not listed in src/dev/typescript/projects.ts\n${isNotInTsProject .map((file) => ` - ${file.getRelativePath()}`) @@ -66,14 +112,20 @@ export async function runCheckTsProjectsCli() { ); } - if (isInMultipleTsProjects.length) { - const details = isInMultipleTsProjects.join('\n'); - log.error( - `The following files belong to multiple tsconfig.json files listed in src/dev/typescript/projects.ts\n${details}` - ); + for (const [metric, counts] of Object.entries(stats.counts)) { + log.verbose('metric:', metric); + for (const [proj, count] of Array.from(counts).sort((a, b) => + a[0].name.localeCompare(b[0].name) + )) { + log.verbose(' ', proj.name, count); + } } - process.exit(1); + if (failed) { + throw createFailError('see above errors'); + } else { + log.success('All ts files belong to a single ts project'); + } }, { description: diff --git a/src/dev/typescript/run_type_check_cli.ts b/src/dev/typescript/run_type_check_cli.ts index dd41be239e9ff..65704cd82574f 100644 --- a/src/dev/typescript/run_type_check_cli.ts +++ b/src/dev/typescript/run_type_check_cli.ts @@ -144,6 +144,16 @@ function createTypeCheckConfigs(projects: Project[], bazelPackages: BazelPackage export async function runTypeCheckCli() { run( async ({ log, flagsReader, procRunner }) => { + if (flagsReader.boolean('clean-cache')) { + await asyncForEachWithLimit(PROJECTS, 10, async (proj) => { + await Fsp.rm(Path.resolve(proj.directory, 'target/types'), { + force: true, + recursive: true, + }); + }); + log.warning('Deleted all typescript caches'); + } + await runBazel(['build', '//packages:build_types', '--show_result=1'], { cwd: REPO_ROOT, logPrefix: '\x1b[94m[bazel]\x1b[39m', @@ -234,13 +244,14 @@ export async function runTypeCheckCli() { `, flags: { string: ['project'], - boolean: ['cleanup'], + boolean: ['clean-cache', 'cleanup'], default: { cleanup: true, }, help: ` --project [path] Path to a tsconfig.json file determines the project to check --help Show this message + --clean-cache Delete any existing TypeScript caches before running type check --no-cleanup Pass to avoid deleting the temporary tsconfig files written to disk `, }, diff --git a/src/fixtures/tsconfig.json b/src/fixtures/tsconfig.json new file mode 100644 index 0000000000000..bd36efa965333 --- /dev/null +++ b/src/fixtures/tsconfig.json @@ -0,0 +1,15 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "outDir": "./target/types", + "emitDeclarationOnly": true, + "declaration": true, + }, + "include": [ + "telemetry_collectors/**/*", + ], + "kbn_references": [ + { "path": "../core/tsconfig.json" }, + { "path": "../plugins/usage_collection/tsconfig.json" }, + ] +} diff --git a/src/plugins/console/tsconfig.json b/src/plugins/console/tsconfig.json index 25abeb2ca24d2..cc44f6119f2de 100644 --- a/src/plugins/console/tsconfig.json +++ b/src/plugins/console/tsconfig.json @@ -4,6 +4,11 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, + // there is still a decent amount of JS in this plugin and we are taking + // advantage of the fact that TS doesn't know the types of that code and + // gives us `any`. Once that code is converted to .ts we can remove this + // and allow TS to infer types from any JS file imported. + "allowJs": false }, "include": ["common/**/*", "public/**/*", "server/**/*"], "kbn_references": [ diff --git a/src/plugins/dashboard/tsconfig.json b/src/plugins/dashboard/tsconfig.json index 9769a1dd4deca..96a2757909c12 100644 --- a/src/plugins/dashboard/tsconfig.json +++ b/src/plugins/dashboard/tsconfig.json @@ -5,7 +5,7 @@ "emitDeclarationOnly": true, "declaration": true, }, - "include": ["*.ts", ".storybook/**/*", "common/**/*", "public/**/*", "server/**/*"], + "include": ["*.ts", ".storybook/**/*.ts", "common/**/*", "public/**/*", "server/**/*"], "kbn_references": [ { "path": "../../core/tsconfig.json" }, { "path": "../inspector/tsconfig.json" }, diff --git a/src/plugins/discover/tsconfig.json b/src/plugins/discover/tsconfig.json index 041cc6fc277c4..4239fdfe2ea8d 100644 --- a/src/plugins/discover/tsconfig.json +++ b/src/plugins/discover/tsconfig.json @@ -4,6 +4,11 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, + // there is still a decent amount of JS in this plugin and we are taking + // advantage of the fact that TS doesn't know the types of that code and + // gives us `any`. Once that code is converted to .ts we can remove this + // and allow TS to infer types from any JS file imported. + "allowJs": false }, "include": ["common/**/*", "public/**/*", "server/**/*", "../../../typings/**/*", ".storybook/**/*"], "kbn_references": [ diff --git a/src/plugins/home/public/application/components/manage_data/manage_data.tsx b/src/plugins/home/public/application/components/manage_data/manage_data.tsx index 9b93d3149c342..9ea508a9b871e 100644 --- a/src/plugins/home/public/application/components/manage_data/manage_data.tsx +++ b/src/plugins/home/public/application/components/manage_data/manage_data.tsx @@ -15,7 +15,6 @@ import { ApplicationStart } from '@kbn/core/public'; import { RedirectAppLinks } from '@kbn/kibana-react-plugin/public'; import { FeatureCatalogueEntry } from '../../../services'; import { createAppNavigationHandler } from '../app_navigation_handler'; -// @ts-expect-error untyped component import { Synopsis } from '../synopsis'; import { getServices } from '../../kibana_services'; diff --git a/src/plugins/kibana_overview/public/components/add_data/add_data.tsx b/src/plugins/kibana_overview/public/components/add_data/add_data.tsx index 172fd7864a0b9..6720f87c31175 100644 --- a/src/plugins/kibana_overview/public/components/add_data/add_data.tsx +++ b/src/plugins/kibana_overview/public/components/add_data/add_data.tsx @@ -13,7 +13,6 @@ import { FormattedMessage } from '@kbn/i18n-react'; import { CoreStart } from '@kbn/core/public'; import { RedirectAppLinks, useKibana } from '@kbn/kibana-react-plugin/public'; import { FeatureCatalogueEntry } from '@kbn/home-plugin/public'; -// @ts-expect-error untyped component import { Synopsis } from '../synopsis'; import { METRIC_TYPE, trackUiMetric } from '../../lib/ui_metric'; diff --git a/src/plugins/kibana_overview/public/components/manage_data/manage_data.tsx b/src/plugins/kibana_overview/public/components/manage_data/manage_data.tsx index 376af562221c7..9d3d6476db9c5 100644 --- a/src/plugins/kibana_overview/public/components/manage_data/manage_data.tsx +++ b/src/plugins/kibana_overview/public/components/manage_data/manage_data.tsx @@ -13,7 +13,6 @@ import { FormattedMessage } from '@kbn/i18n-react'; import { CoreStart } from '@kbn/core/public'; import { RedirectAppLinks, useKibana } from '@kbn/kibana-react-plugin/public'; import { FeatureCatalogueEntry } from '@kbn/home-plugin/public'; -// @ts-expect-error untyped component import { Synopsis } from '../synopsis'; import { METRIC_TYPE, trackUiMetric } from '../../lib/ui_metric'; diff --git a/src/plugins/vis_types/timelion/tsconfig.json b/src/plugins/vis_types/timelion/tsconfig.json index ce85b8190205b..5a660d5d4d780 100644 --- a/src/plugins/vis_types/timelion/tsconfig.json +++ b/src/plugins/vis_types/timelion/tsconfig.json @@ -9,6 +9,7 @@ "common/**/*", "public/**/*", "server/**/*", + "server/timelion.json", "*.ts" ], "kbn_references": [ diff --git a/src/plugins/vis_types/timeseries/tsconfig.json b/src/plugins/vis_types/timeseries/tsconfig.json index 1d5497f4e06b3..245443d4a37f6 100644 --- a/src/plugins/vis_types/timeseries/tsconfig.json +++ b/src/plugins/vis_types/timeseries/tsconfig.json @@ -4,6 +4,11 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, + // there is still a decent amount of JS in this plugin and we are taking + // advantage of the fact that TS doesn't know the types of that code and + // gives us `any`. Once that code is converted to .ts we can remove this + // and allow TS to infer types from any JS file imported. + "allowJs": false }, "include": [ "common/**/*", diff --git a/src/plugins/vis_types/vega/tsconfig.json b/src/plugins/vis_types/vega/tsconfig.json index 49e8216e3b39c..b942db9888aa9 100644 --- a/src/plugins/vis_types/vega/tsconfig.json +++ b/src/plugins/vis_types/vega/tsconfig.json @@ -11,7 +11,9 @@ "public/**/*", "*.ts", // have to declare *.json explicitly due to https://github.com/microsoft/TypeScript/issues/25636 - "public/test_utils/vega_map_test.json" + "public/test_utils/vega_map_test.json", + "public/test_utils/vegalite_graph.json", + "public/test_utils/vega_graph.json", ], "kbn_references": [ { "path": "../../../core/tsconfig.json" }, diff --git a/src/plugins/vis_types/vislib/public/vis_controller.tsx b/src/plugins/vis_types/vislib/public/vis_controller.tsx index 40a518a8c0c9b..50c72a46e818a 100644 --- a/src/plugins/vis_types/vislib/public/vis_controller.tsx +++ b/src/plugins/vis_types/vislib/public/vis_controller.tsx @@ -79,7 +79,6 @@ export const createVislibVisController = ( return; } - // @ts-expect-error const { Vis: Vislib } = await import('./vislib/vis'); const { uiState, event: fireEvent } = handlers; diff --git a/src/plugins/vis_types/vislib/tsconfig.json b/src/plugins/vis_types/vislib/tsconfig.json index ef2876e91c5fb..0ff4d8d2900e4 100644 --- a/src/plugins/vis_types/vislib/tsconfig.json +++ b/src/plugins/vis_types/vislib/tsconfig.json @@ -8,7 +8,10 @@ "include": [ "common/**/*", "public/**/*", - "server/**/*" + "server/**/*", + "public/fixtures/dispatch_heatmap_d3.json", + "public/fixtures/dispatch_heatmap_config.json", + "public/fixtures/dispatch_heatmap_data_point.json", ], "kbn_references": [ { "path": "../../../core/tsconfig.json" }, diff --git a/src/setup_node_env/tsconfig.json b/src/setup_node_env/tsconfig.json new file mode 100644 index 0000000000000..c7c05f89d04a6 --- /dev/null +++ b/src/setup_node_env/tsconfig.json @@ -0,0 +1,16 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "outDir": "./target/types", + "emitDeclarationOnly": true, + "declaration": true, + }, + "include": [ + "harden/**/*", + "root/**/*", + "*.js", + ], + "kbn_references": [ + { "path": "../../tsconfig.json" }, + ] +} diff --git a/test/accessibility/services/a11y/a11y.ts b/test/accessibility/services/a11y/a11y.ts index dd0d6c7f682e3..1215af1d106dc 100644 --- a/test/accessibility/services/a11y/a11y.ts +++ b/test/accessibility/services/a11y/a11y.ts @@ -12,7 +12,6 @@ import { AXE_CONFIG, AXE_OPTIONS } from '@kbn/axe-config'; import { FtrService } from '../../ftr_provider_context'; import { AxeReport, printResult } from './axe_report'; -// @ts-ignore JS that is run in browser as is import { analyzeWithAxe, analyzeWithAxeWithClient } from './analyze_with_axe'; interface AxeContext { diff --git a/test/functional/services/common/browser.ts b/test/functional/services/common/browser.ts index aaebdcf6975ad..6046aee567da8 100644 --- a/test/functional/services/common/browser.ts +++ b/test/functional/services/common/browser.ts @@ -552,7 +552,14 @@ class BrowserService extends FtrService { a2: A2, a3: A3 ): Promise; - public async executeAsync(fn: (...args: any[]) => void, ...args: any[]): Promise { + public async executeAsync( + fn: string, + ...args: any[] + ): Promise; + public async executeAsync( + fn: string | ((...args: any[]) => void), + ...args: any[] + ): Promise { return await this.driver.executeAsyncScript( fn, ...cloneDeepWith(args, (arg) => { diff --git a/test/tsconfig.json b/test/tsconfig.json index 84c5b5eb5ce02..1b5cf6f7a0eb2 100644 --- a/test/tsconfig.json +++ b/test/tsconfig.json @@ -29,6 +29,7 @@ ], "kbn_references": [ { "path": "../src/core/tsconfig.json" }, + { "path": "../src/setup_node_env/tsconfig.json" }, { "path": "../src/plugins/telemetry_management_section/tsconfig.json" }, { "path": "../src/plugins/advanced_settings/tsconfig.json" }, { "path": "../src/plugins/management/tsconfig.json" }, diff --git a/tsconfig.base.json b/tsconfig.base.json index 1b5fba04354e1..ef94f9bef56c2 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -1222,6 +1222,11 @@ // We have to enable this option explicitly since `esModuleInterop` doesn't enable it automatically when ES2015 or // ESNext module format is used. "allowSyntheticDefaultImports": true, + // Several packages use .js files to provide types without requiring transpilation. In order for TS to support this + // regardless of where the pacakge is imported, we need to enable `allowJs` globally. In specific packages we might + // want to disable parsing of JS files, in which case `allowJs` should be set to `false` locally. These packages will + // not be able to import packages which include JS code, or import packages which depend on JS code. + "allowJs": true, // Emits __importStar and __importDefault helpers for runtime babel ecosystem compatibility. "esModuleInterop": true, // Resolve modules in the same way as Node.js. Aka make `require` works the diff --git a/tsconfig.json b/tsconfig.json index 9a00fdfdfc1f9..a03576565d124 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,29 +1,13 @@ { "extends": "./tsconfig.base.json", "compilerOptions": { - "allowJs": true, "outDir": "target/root_types" }, "include": [ "kibana.d.ts", - "typings/**/*", - "package.json", - "src/cli/**/*", - "src/cli_setup/**/*", - "src/cli_plugin/**/*", - "src/cli_keystore/**/*", - "src/setup_node_env/**/*", - "src/dev/**/*", - "src/fixtures/**/*", - - "x-pack/tasks/**/*", ], - "exclude": [], "kbn_references": [ { "path": "./src/core/tsconfig.json" }, - { "path": "./src/plugins/usage_collection/tsconfig.json" }, - { "path": "./src/plugins/interactive_setup/tsconfig.json" }, - { "path": "./x-pack/plugins/reporting/tsconfig.json" }, ] } diff --git a/x-pack/plugins/apm/ftr_e2e/tsconfig.json b/x-pack/plugins/apm/ftr_e2e/tsconfig.json index 9e423a05eb443..6a8ba7e1495ae 100644 --- a/x-pack/plugins/apm/ftr_e2e/tsconfig.json +++ b/x-pack/plugins/apm/ftr_e2e/tsconfig.json @@ -9,7 +9,6 @@ ], "compilerOptions": { "target": "es2015", - "allowJs": true, "outDir": "target/types", "types": [ "cypress", diff --git a/x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx b/x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx index e8903fcad92bd..c8e9de32c83f3 100644 --- a/x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx +++ b/x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx @@ -19,7 +19,6 @@ import { useApmParams } from '../../../hooks/use_apm_params'; import { useApmDataView } from '../../../hooks/use_apm_data_view'; import { fromQuery, toQuery } from '../links/url_helpers'; import { getBoolFilter } from './get_bool_filter'; -// @ts-expect-error import { Typeahead } from './typeahead'; import { useProcessorEvent } from './use_processor_event'; diff --git a/x-pack/plugins/apm/scripts/infer_route_return_types/index.ts b/x-pack/plugins/apm/scripts/infer_route_return_types/index.ts index 081d7cacef801..ee5a05f64ca40 100644 --- a/x-pack/plugins/apm/scripts/infer_route_return_types/index.ts +++ b/x-pack/plugins/apm/scripts/infer_route_return_types/index.ts @@ -21,7 +21,6 @@ import { import Path from 'path'; import { execSync } from 'child_process'; import { argv } from 'yargs'; -// @ts-expect-error import { optimizeTsConfig } from '../optimize_tsconfig/optimize'; // This script adds explicit return types to route handlers, diff --git a/x-pack/plugins/apm/server/lib/helpers/get_bucket_size/index.ts b/x-pack/plugins/apm/server/lib/helpers/get_bucket_size/index.ts index 863929a2719a5..a2946137cf911 100644 --- a/x-pack/plugins/apm/server/lib/helpers/get_bucket_size/index.ts +++ b/x-pack/plugins/apm/server/lib/helpers/get_bucket_size/index.ts @@ -6,7 +6,6 @@ */ import moment from 'moment'; -// @ts-expect-error import { calculateAuto } from './calculate_auto'; export function getBucketSize({ @@ -22,7 +21,7 @@ export function getBucketSize({ }) { const duration = moment.duration(end - start, 'ms'); const bucketSize = Math.max( - calculateAuto.near(numBuckets, duration).asSeconds(), + calculateAuto.near(numBuckets, duration)?.asSeconds() ?? 0, minBucketSize || 1 ); diff --git a/x-pack/plugins/apm/tsconfig.json b/x-pack/plugins/apm/tsconfig.json index c382c84c4f4af..17ee8b7bcaddd 100644 --- a/x-pack/plugins/apm/tsconfig.json +++ b/x-pack/plugins/apm/tsconfig.json @@ -12,9 +12,10 @@ "scripts/**/*", "server/**/*", "typings/**/*", + "jest.config.js", // have to declare *.json explicitly due to https://github.com/microsoft/TypeScript/issues/25636 "public/**/*.json", - "server/**/*.json" + "server/**/*.json", ], "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, diff --git a/x-pack/plugins/canvas/tsconfig.json b/x-pack/plugins/canvas/tsconfig.json index 22ac8de781cff..32e1e6e6d5842 100644 --- a/x-pack/plugins/canvas/tsconfig.json +++ b/x-pack/plugins/canvas/tsconfig.json @@ -6,7 +6,12 @@ "declaration": true, // the plugin contains some heavy json files - "resolveJsonModule": false + "resolveJsonModule": false, + // there is still a decent amount of JS in this plugin and we are taking + // advantage of the fact that TS doesn't know the types of that code and + // gives us `any`. Once that code is converted to .ts we can remove this + // and allow TS to infer types from any JS file imported. + "allowJs": false }, "include": [ "../../../typings/**/*", @@ -22,6 +27,7 @@ "types/**/*" ], "kbn_references": [ + { "path": "../../../src/setup_node_env/tsconfig.json" }, { "path": "../../../src/core/tsconfig.json" }, { "path": "../../../src/plugins/bfetch/tsconfig.json" }, { "path": "../../../src/plugins/charts/tsconfig.json" }, diff --git a/x-pack/plugins/cloud_integrations/cloud_gain_sight/tsconfig.json b/x-pack/plugins/cloud_integrations/cloud_gain_sight/tsconfig.json index b2f06a09a6e03..392e17e62f1d9 100644 --- a/x-pack/plugins/cloud_integrations/cloud_gain_sight/tsconfig.json +++ b/x-pack/plugins/cloud_integrations/cloud_gain_sight/tsconfig.json @@ -12,6 +12,9 @@ "server/**/*", "../../../typings/**/*" ], + "exclude": [ + "server/assets/*.js", + ], "kbn_references": [ { "path": "../../../../src/core/tsconfig.json" }, { "path": "../../cloud/tsconfig.json" }, diff --git a/x-pack/plugins/file_upload/public/importer/geo/abstract_geo_file_importer.tsx b/x-pack/plugins/file_upload/public/importer/geo/abstract_geo_file_importer.tsx index afc95cc830768..14c47eea70359 100644 --- a/x-pack/plugins/file_upload/public/importer/geo/abstract_geo_file_importer.tsx +++ b/x-pack/plugins/file_upload/public/importer/geo/abstract_geo_file_importer.tsx @@ -14,7 +14,6 @@ import { CreateDocsResponse, ImportResults } from '../types'; import { callImportRoute, Importer, IMPORT_RETRIES, MAX_CHUNK_CHAR_COUNT } from '../importer'; import { MB } from '../../../common/constants'; import type { ImportDoc, ImportFailure, ImportResponse } from '../../../common/types'; -// @ts-expect-error import { geoJsonCleanAndValidate } from './geojson_clean_and_validate'; import { createChunks } from './create_chunks'; diff --git a/x-pack/plugins/file_upload/public/importer/geo/geojson_importer/geojson_importer.ts b/x-pack/plugins/file_upload/public/importer/geo/geojson_importer/geojson_importer.ts index c3de1ac2e9491..20b73a9ef2acc 100644 --- a/x-pack/plugins/file_upload/public/importer/geo/geojson_importer/geojson_importer.ts +++ b/x-pack/plugins/file_upload/public/importer/geo/geojson_importer/geojson_importer.ts @@ -7,7 +7,6 @@ import { Feature } from 'geojson'; import { i18n } from '@kbn/i18n'; -// @ts-expect-error import { JSONLoader, loadInBatches } from '../loaders'; import type { ImportFailure } from '../../../../common/types'; import { AbstractGeoFileImporter } from '../abstract_geo_file_importer'; @@ -36,12 +35,13 @@ export class GeoJsonImporter extends AbstractGeoFileImporter { }; if (this._iterator === undefined) { - this._iterator = await loadInBatches(this._getFile(), JSONLoader, { + // TODO: loadInBatches returns an AsyncIterable, not an AsyncInterator, which doesn't necessarily have a .next() function + this._iterator = (await loadInBatches(this._getFile(), JSONLoader, { json: { jsonpaths: ['$.features'], _rootObjectBatches: true, }, - }); + })) as any; } if (!this._getIsActive() || !this._iterator) { diff --git a/x-pack/plugins/file_upload/public/importer/geo/shapefile_importer/shapefile_importer.tsx b/x-pack/plugins/file_upload/public/importer/geo/shapefile_importer/shapefile_importer.tsx index 86877a7a4ff67..7fb30577ee00d 100644 --- a/x-pack/plugins/file_upload/public/importer/geo/shapefile_importer/shapefile_importer.tsx +++ b/x-pack/plugins/file_upload/public/importer/geo/shapefile_importer/shapefile_importer.tsx @@ -7,7 +7,6 @@ import React from 'react'; import { Feature } from 'geojson'; -// @ts-expect-error import { BrowserFileSystem, DBFLoader, loadInBatches, ShapefileLoader } from '../loaders'; import type { ImportFailure } from '../../../../common/types'; import { ShapefileEditor } from './shapefile_editor'; diff --git a/x-pack/plugins/fleet/cypress/tsconfig.json b/x-pack/plugins/fleet/cypress/tsconfig.json index c775711e6047b..aba041b4e17b8 100644 --- a/x-pack/plugins/fleet/cypress/tsconfig.json +++ b/x-pack/plugins/fleet/cypress/tsconfig.json @@ -8,7 +8,6 @@ "target/**/*" ], "compilerOptions": { - "allowJs": true, "outDir": "target/types", "types": [ "cypress", diff --git a/x-pack/plugins/fleet/tsconfig.json b/x-pack/plugins/fleet/tsconfig.json index 62cbbe3a4ef0d..cb43a425b17c9 100644 --- a/x-pack/plugins/fleet/tsconfig.json +++ b/x-pack/plugins/fleet/tsconfig.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.base.json", "compilerOptions": { - "allowJs": true, "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, @@ -21,7 +20,7 @@ ], "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, - { "path": "../../../tsconfig.json" }, + { "path": "../../../src/setup_node_env/tsconfig.json" }, // add references to other TypeScript projects the plugin depends on // requiredPlugins from ./kibana.json diff --git a/x-pack/plugins/graph/tsconfig.json b/x-pack/plugins/graph/tsconfig.json index 7ecc6018f8f64..8a17949e7981d 100644 --- a/x-pack/plugins/graph/tsconfig.json +++ b/x-pack/plugins/graph/tsconfig.json @@ -5,6 +5,11 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, + // there is still a decent amount of JS in this plugin and we are taking + // advantage of the fact that TS doesn't know the types of that code and + // gives us `any`. Once that code is converted to .ts we can remove this + // and allow TS to infer types from any JS file imported. + "allowJs": false }, "include": [ "*.ts", diff --git a/x-pack/plugins/license_management/__jest__/api_responses/upload_license.js b/x-pack/plugins/license_management/__jest__/api_responses/upload_license.js index cef30efde47dc..6625611172b09 100644 --- a/x-pack/plugins/license_management/__jest__/api_responses/upload_license.js +++ b/x-pack/plugins/license_management/__jest__/api_responses/upload_license.js @@ -5,12 +5,14 @@ * 2.0. */ +/** @type {[number, Record, string]} */ export const UPLOAD_LICENSE_EXPIRED = [ 200, { 'Content-Type': 'application/json' }, '{"acknowledged": "true", "license_status": "expired"}', ]; +/** @type {[number, Record, string]} */ export const UPLOAD_LICENSE_REQUIRES_ACK = [ 200, { 'Content-Type': 'application/json' }, @@ -25,18 +27,21 @@ export const UPLOAD_LICENSE_REQUIRES_ACK = [ }`, ]; +/** @type {[number, Record, string]} */ export const UPLOAD_LICENSE_SUCCESS = [ 200, { 'Content-Type': 'application/json' }, '{"acknowledged": "true", "license_status": "valid"}', ]; +/** @type {[number, Record, string]} */ export const UPLOAD_LICENSE_INVALID = [ 200, { 'Content-Type': 'application/json' }, '{"acknowledged": "true", "license_status": "invalid"}', ]; +/** @type {[number, Record, string]} */ export const UPLOAD_LICENSE_TLS_NOT_ENABLED = [ 200, { 'Content-Type': 'application/json' }, diff --git a/x-pack/plugins/license_management/__jest__/upload_license.test.tsx b/x-pack/plugins/license_management/__jest__/upload_license.test.tsx index c24c2bf6a9c6b..d5bc51df521cf 100644 --- a/x-pack/plugins/license_management/__jest__/upload_license.test.tsx +++ b/x-pack/plugins/license_management/__jest__/upload_license.test.tsx @@ -11,13 +11,10 @@ import { LocationDescriptorObject } from 'history'; import { httpServiceMock, scopedHistoryMock } from '@kbn/core/public/mocks'; import { mountWithIntl } from '@kbn/test-jest-helpers'; -// @ts-ignore import { uploadLicense } from '../public/application/store/actions/upload_license'; -// @ts-ignore import { licenseManagementStore } from '../public/application/store/store'; -// @ts-ignore import { UploadLicense } from '../public/application/sections/upload_license'; import { AppContextProvider } from '../public/application/app_context'; @@ -27,7 +24,6 @@ import { UPLOAD_LICENSE_SUCCESS, UPLOAD_LICENSE_TLS_NOT_ENABLED, UPLOAD_LICENSE_INVALID, - // @ts-ignore } from './api_responses'; let store: any = null; diff --git a/x-pack/plugins/license_management/public/application/sections/license_dashboard/start_trial/start_trial.tsx b/x-pack/plugins/license_management/public/application/sections/license_dashboard/start_trial/start_trial.tsx index ff01d2ee7739a..dfc33affa3b35 100644 --- a/x-pack/plugins/license_management/public/application/sections/license_dashboard/start_trial/start_trial.tsx +++ b/x-pack/plugins/license_management/public/application/sections/license_dashboard/start_trial/start_trial.tsx @@ -28,7 +28,7 @@ import { EXTERNAL_LINKS } from '../../../../../common/constants'; import { AppContextConsumer, AppDependencies } from '../../../app_context'; import { TelemetryPluginStart, shouldShowTelemetryOptIn } from '../../../lib/telemetry'; -interface Props { +export interface Props { loadTrialStatus: () => void; startLicenseTrial: () => void; telemetry?: TelemetryPluginStart; diff --git a/x-pack/plugins/logstash/public/application/pipeline_edit_view.tsx b/x-pack/plugins/logstash/public/application/pipeline_edit_view.tsx index ef75f0e758a3a..b94774da18921 100644 --- a/x-pack/plugins/logstash/public/application/pipeline_edit_view.tsx +++ b/x-pack/plugins/logstash/public/application/pipeline_edit_view.tsx @@ -13,11 +13,8 @@ import { i18n } from '@kbn/i18n'; import { ToastsStart } from '@kbn/core/public'; import { ManagementAppMountParams } from '@kbn/management-plugin/public'; -// @ts-expect-error import { PipelineEditor } from './components/pipeline_editor'; -// @ts-expect-error import { Pipeline } from '../models/pipeline'; -// @ts-expect-error import * as Breadcrumbs from './breadcrumbs'; const usePipeline = ( diff --git a/x-pack/plugins/logstash/public/models/pipeline/pipeline.js b/x-pack/plugins/logstash/public/models/pipeline/pipeline.js index 92fba509df86e..0c7367d7a0145 100755 --- a/x-pack/plugins/logstash/public/models/pipeline/pipeline.js +++ b/x-pack/plugins/logstash/public/models/pipeline/pipeline.js @@ -24,13 +24,9 @@ const settingsDefaults = { export class Pipeline { /** * Represents the pipeline for the client side editing/creating workflow - * @param {object} props An object used to instantiate a pipeline instance - * @param {string} props.id Named Id of the pipeline - * @param {string} props.description Optional description for the pipeline - * @param {object} props.pipeline The actual LS configuration as a string blob - * @param {string} props.username User who created or updated the pipeline + * @param {import('./props').Props} props} */ - constructor(props) { + constructor(props = undefined) { this.id = get(props, 'id'); this.description = get(props, 'description', ''); this.pipeline = get(props, 'pipeline', emptyPipeline); diff --git a/x-pack/plugins/logstash/public/models/pipeline/props.ts b/x-pack/plugins/logstash/public/models/pipeline/props.ts new file mode 100644 index 0000000000000..3b590e50c8a39 --- /dev/null +++ b/x-pack/plugins/logstash/public/models/pipeline/props.ts @@ -0,0 +1,28 @@ +/* + * 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. + */ + +/** + * An object used to instantiate a pipeline instance + */ +export interface Props { + /** + * Named Id of the pipeline + */ + id: string; + /** + * Optional description for the pipeline + */ + description: string; + /** + * The actual LS configuration as a string blob + */ + pipeline: string; + /** + * User who created or updated the pipeline + */ + username: string; +} diff --git a/x-pack/plugins/maps/tsconfig.json b/x-pack/plugins/maps/tsconfig.json index fc8e578497199..f38cce537f267 100644 --- a/x-pack/plugins/maps/tsconfig.json +++ b/x-pack/plugins/maps/tsconfig.json @@ -4,6 +4,11 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, + // there is still a decent amount of JS in this plugin and we are taking + // advantage of the fact that TS doesn't know the types of that code and + // gives us `any`. Once that code is converted to .ts we can remove this + // and allow TS to infer types from any JS file imported. + "allowJs": false }, "include": [ "common/**/*", diff --git a/x-pack/plugins/ml/tsconfig.json b/x-pack/plugins/ml/tsconfig.json index 21897ae7ba4f4..ff4bd0825cea9 100644 --- a/x-pack/plugins/ml/tsconfig.json +++ b/x-pack/plugins/ml/tsconfig.json @@ -4,6 +4,11 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, + // there is still a decent amount of JS in this plugin and we are taking + // advantage of the fact that TS doesn't know the types of that code and + // gives us `any`. Once that code is converted to .ts we can remove this + // and allow TS to infer types from any JS file imported. + "allowJs": false }, "include": [ "common/**/*", diff --git a/x-pack/plugins/monitoring/tsconfig.json b/x-pack/plugins/monitoring/tsconfig.json index 7c63f49c65659..815e1762eba95 100644 --- a/x-pack/plugins/monitoring/tsconfig.json +++ b/x-pack/plugins/monitoring/tsconfig.json @@ -4,6 +4,11 @@ "outDir": "./target/types", "emitDeclarationOnly": true, "declaration": true, + // there is still a decent amount of JS in this plugin and we are taking + // advantage of the fact that TS doesn't know the types of that code and + // gives us `any`. Once that code is converted to .ts we can remove this + // and allow TS to infer types from any JS file imported. + "allowJs": false }, "include": [ "common/**/*", diff --git a/x-pack/plugins/observability/public/utils/get_bucket_size/index.ts b/x-pack/plugins/observability/public/utils/get_bucket_size/index.ts index dd7b3ee109d5a..495fc766cd62f 100644 --- a/x-pack/plugins/observability/public/utils/get_bucket_size/index.ts +++ b/x-pack/plugins/observability/public/utils/get_bucket_size/index.ts @@ -20,7 +20,7 @@ export function getBucketSize({ minInterval: string; }) { const duration = moment.duration(end - start, 'ms'); - const bucketSize = Math.max(calculateAuto.near(100, duration).asSeconds(), 1); + const bucketSize = Math.max(calculateAuto.near(100, duration)?.asSeconds() ?? 0, 1); const intervalString = `${bucketSize}s`; const matches = minInterval && minInterval.match(/^([\d]+)([shmdwMy]|ms)$/); const minBucketSize = matches ? Number(matches[1]) * unitToSeconds(matches[2]) : 0; diff --git a/x-pack/plugins/osquery/cypress/tsconfig.json b/x-pack/plugins/osquery/cypress/tsconfig.json index 1b8f31fd9b56a..548ac5dc3eb13 100644 --- a/x-pack/plugins/osquery/cypress/tsconfig.json +++ b/x-pack/plugins/osquery/cypress/tsconfig.json @@ -8,7 +8,6 @@ "target/**/*" ], "compilerOptions": { - "allowJs": true, "outDir": "target/types", "types": [ "cypress", diff --git a/x-pack/plugins/osquery/tsconfig.json b/x-pack/plugins/osquery/tsconfig.json index 108eb636b9f59..9d1944afbafa7 100644 --- a/x-pack/plugins/osquery/tsconfig.json +++ b/x-pack/plugins/osquery/tsconfig.json @@ -20,6 +20,7 @@ ], "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, + { "path": "../../../src/setup_node_env/tsconfig.json" }, // add references to other TypeScript projects the plugin depends on // requiredPlugins from ./kibana.json diff --git a/x-pack/plugins/rollup/public/crud_app/sections/components/job_action_menu/job_action_menu.js b/x-pack/plugins/rollup/public/crud_app/sections/components/job_action_menu/job_action_menu.js index 3b2588b6d0200..1a10c9e00b64c 100644 --- a/x-pack/plugins/rollup/public/crud_app/sections/components/job_action_menu/job_action_menu.js +++ b/x-pack/plugins/rollup/public/crud_app/sections/components/job_action_menu/job_action_menu.js @@ -24,7 +24,7 @@ import { import { ConfirmDeleteModal } from './confirm_delete_modal'; import { flattenPanelTree } from '../../../services'; -class JobActionMenuUi extends Component { +export class JobActionMenuUi extends Component { static propTypes = { startJobs: PropTypes.func.isRequired, stopJobs: PropTypes.func.isRequired, diff --git a/x-pack/plugins/screenshotting/tsconfig.json b/x-pack/plugins/screenshotting/tsconfig.json index 6b9d6ffffb672..3d53836a43244 100644 --- a/x-pack/plugins/screenshotting/tsconfig.json +++ b/x-pack/plugins/screenshotting/tsconfig.json @@ -13,6 +13,7 @@ ], "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, + { "path": "../../../src/setup_node_env/tsconfig.json" }, { "path": "../../../src/plugins/expressions/tsconfig.json" }, { "path": "../../../src/plugins/screenshot_mode/tsconfig.json" }, { "path": "../cloud/tsconfig.json" }, diff --git a/x-pack/plugins/security_solution/tsconfig.json b/x-pack/plugins/security_solution/tsconfig.json index 9dd16bd332c13..65e831a8bfc1e 100644 --- a/x-pack/plugins/security_solution/tsconfig.json +++ b/x-pack/plugins/security_solution/tsconfig.json @@ -17,6 +17,7 @@ ], "kbn_references": [ { "path": "../../../src/core/tsconfig.json" }, + { "path": "../../../src/setup_node_env/tsconfig.json" }, { "path": "../../../src/plugins/data/tsconfig.json" }, { "path": "../../../src/plugins/embeddable/tsconfig.json" }, { "path": "../../../src/plugins/files/tsconfig.json"}, diff --git a/x-pack/test/tsconfig.json b/x-pack/test/tsconfig.json index 664048f980dc1..402b915247fc3 100644 --- a/x-pack/test/tsconfig.json +++ b/x-pack/test/tsconfig.json @@ -5,7 +5,12 @@ "emitDeclarationOnly": true, "declaration": true, "declarationMap": true, - "types": ["node"] + "types": ["node"], + // there is still a decent amount of JS in this plugin and we are taking + // advantage of the fact that TS doesn't know the types of that code and + // gives us `any`. Once that code is converted to .ts we can remove this + // and allow TS to infer types from any JS file imported. + "allowJs": false }, "include": [ "**/*", From bbcdf5038619f995b0c271b0ee866581e080e622 Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Tue, 1 Nov 2022 18:43:44 -0400 Subject: [PATCH 103/111] skip failing test suite (#131192) --- test/server_integration/http/ssl_redirect/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/test/server_integration/http/ssl_redirect/index.js b/test/server_integration/http/ssl_redirect/index.js index 7e0f78e8890c0..07ae0eb4bb565 100644 --- a/test/server_integration/http/ssl_redirect/index.js +++ b/test/server_integration/http/ssl_redirect/index.js @@ -9,6 +9,7 @@ export default function ({ getService }) { const supertest = getService('supertest'); + // Failing: See https://github.com/elastic/kibana/issues/131192 // Failing: See https://github.com/elastic/kibana/issues/131192 describe.skip('kibana server with ssl', () => { it('redirects http requests at redirect port to https', async () => { From 10902ed9704f6394c4931f4b1bcebe42eabf0894 Mon Sep 17 00:00:00 2001 From: Tiago Costa Date: Wed, 2 Nov 2022 02:07:10 +0000 Subject: [PATCH 104/111] chore(NA): update versions after v8.5.1 bump (#144330) * chore(NA): update versions after v8.5.1 bump * chore(NA): remove 8.4 branch from versions Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> --- versions.json | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/versions.json b/versions.json index 3265499716cd1..36212abba6dec 100644 --- a/versions.json +++ b/versions.json @@ -8,17 +8,11 @@ "currentMinor": true }, { - "version": "8.5.0", + "version": "8.5.1", "branch": "8.5", "currentMajor": true, "previousMinor": true }, - { - "version": "8.4.4", - "branch": "8.4", - "currentMajor": true, - "previousMinor": true - }, { "version": "7.17.8", "branch": "7.17", From cfb80060eed610dafd61495e4e311ff48a04b6a9 Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Wed, 2 Nov 2022 00:45:07 -0400 Subject: [PATCH 105/111] [api-docs] Daily api_docs build (#144378) --- api_docs/actions.mdx | 2 +- api_docs/advanced_settings.mdx | 2 +- api_docs/aiops.mdx | 2 +- api_docs/alerting.mdx | 2 +- api_docs/apm.devdocs.json | 8 +- 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_chat.mdx | 2 +- api_docs/cloud_experiments.mdx | 2 +- api_docs/cloud_security_posture.mdx | 2 +- api_docs/console.mdx | 2 +- api_docs/controls.mdx | 2 +- api_docs/core.devdocs.json | 20 + api_docs/core.mdx | 4 +- api_docs/custom_integrations.mdx | 2 +- api_docs/dashboard.mdx | 2 +- api_docs/dashboard_enhanced.mdx | 2 +- api_docs/data.devdocs.json | 155 ++++- api_docs/data.mdx | 4 +- api_docs/data_query.mdx | 4 +- api_docs/data_search.devdocs.json | 19 + api_docs/data_search.mdx | 4 +- 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 | 32 +- api_docs/data_views.mdx | 4 +- 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/embeddable.mdx | 2 +- api_docs/embeddable_enhanced.mdx | 2 +- api_docs/encrypted_saved_objects.mdx | 2 +- api_docs/enterprise_search.devdocs.json | 4 +- 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/files.mdx | 2 +- api_docs/fleet.mdx | 2 +- api_docs/global_search.mdx | 2 +- api_docs/guided_onboarding.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 +- ..._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_analytics_shippers_gainsight.mdx | 2 +- api_docs/kbn_apm_config_loader.mdx | 2 +- api_docs/kbn_apm_synthtrace.mdx | 2 +- api_docs/kbn_apm_utils.mdx | 2 +- api_docs/kbn_axe_config.mdx | 2 +- api_docs/kbn_cases_components.mdx | 2 +- api_docs/kbn_chart_icons.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 +- .../kbn_content_management_table_list.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_application_browser.mdx | 2 +- .../kbn_core_application_browser_internal.mdx | 2 +- .../kbn_core_application_browser_mocks.mdx | 2 +- api_docs/kbn_core_application_common.mdx | 2 +- api_docs/kbn_core_apps_browser_internal.mdx | 2 +- api_docs/kbn_core_apps_browser_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 +- .../kbn_core_capabilities_browser_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_chrome_browser.mdx | 2 +- api_docs/kbn_core_chrome_browser_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_deprecations_server.mdx | 2 +- .../kbn_core_deprecations_server_internal.mdx | 2 +- .../kbn_core_deprecations_server_mocks.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 +- ...re_http_request_handler_context_server.mdx | 2 +- api_docs/kbn_core_http_resources_server.mdx | 2 +- ...bn_core_http_resources_server_internal.mdx | 2 +- .../kbn_core_http_resources_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 +- api_docs/kbn_core_i18n_server.mdx | 2 +- api_docs/kbn_core_i18n_server_internal.mdx | 2 +- api_docs/kbn_core_i18n_server_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_lifecycle_browser.mdx | 2 +- api_docs/kbn_core_lifecycle_browser_mocks.mdx | 2 +- api_docs/kbn_core_lifecycle_server.mdx | 2 +- api_docs/kbn_core_lifecycle_server_mocks.mdx | 2 +- ...bn_core_logging_browser_mocks.devdocs.json | 98 +++ api_docs/kbn_core_logging_browser_mocks.mdx | 30 + ..._core_logging_common_internal.devdocs.json | 637 ++++++++++++++++++ api_docs/kbn_core_logging_common_internal.mdx | 39 ++ 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 +- api_docs/kbn_core_mount_utils_browser.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_notifications_browser.mdx | 2 +- ...bn_core_notifications_browser_internal.mdx | 2 +- .../kbn_core_notifications_browser_mocks.mdx | 2 +- api_docs/kbn_core_overlays_browser.mdx | 2 +- .../kbn_core_overlays_browser_internal.mdx | 2 +- api_docs/kbn_core_overlays_browser_mocks.mdx | 2 +- .../kbn_core_plugins_browser.devdocs.json | 20 + api_docs/kbn_core_plugins_browser.mdx | 4 +- api_docs/kbn_core_plugins_browser_mocks.mdx | 2 +- api_docs/kbn_core_plugins_server.mdx | 2 +- api_docs/kbn_core_plugins_server_mocks.mdx | 2 +- api_docs/kbn_core_preboot_server.mdx | 2 +- api_docs/kbn_core_preboot_server_mocks.mdx | 2 +- api_docs/kbn_core_rendering_browser_mocks.mdx | 2 +- .../kbn_core_rendering_server_internal.mdx | 2 +- api_docs/kbn_core_rendering_server_mocks.mdx | 2 +- .../kbn_core_saved_objects_api_browser.mdx | 2 +- .../kbn_core_saved_objects_api_server.mdx | 2 +- ...core_saved_objects_api_server_internal.mdx | 2 +- ...bn_core_saved_objects_api_server_mocks.mdx | 2 +- ...ore_saved_objects_base_server_internal.mdx | 2 +- ...n_core_saved_objects_base_server_mocks.mdx | 2 +- api_docs/kbn_core_saved_objects_browser.mdx | 2 +- ...bn_core_saved_objects_browser_internal.mdx | 2 +- .../kbn_core_saved_objects_browser_mocks.mdx | 2 +- api_docs/kbn_core_saved_objects_common.mdx | 2 +- ..._objects_import_export_server_internal.mdx | 2 +- ...ved_objects_import_export_server_mocks.mdx | 2 +- ...aved_objects_migration_server_internal.mdx | 2 +- ...e_saved_objects_migration_server_mocks.mdx | 2 +- api_docs/kbn_core_saved_objects_server.mdx | 2 +- ...kbn_core_saved_objects_server_internal.mdx | 2 +- .../kbn_core_saved_objects_server_mocks.mdx | 2 +- .../kbn_core_saved_objects_utils_server.mdx | 2 +- api_docs/kbn_core_status_common.mdx | 2 +- api_docs/kbn_core_status_common_internal.mdx | 2 +- api_docs/kbn_core_status_server.mdx | 2 +- api_docs/kbn_core_status_server_internal.mdx | 2 +- api_docs/kbn_core_status_server_mocks.mdx | 2 +- ...core_test_helpers_deprecations_getters.mdx | 2 +- ...n_core_test_helpers_http_setup_browser.mdx | 2 +- ...n_core_test_helpers_so_type_serializer.mdx | 2 +- api_docs/kbn_core_test_helpers_test_utils.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_core_ui_settings_server.mdx | 2 +- .../kbn_core_ui_settings_server_internal.mdx | 2 +- .../kbn_core_ui_settings_server_mocks.mdx | 2 +- api_docs/kbn_core_usage_data_server.mdx | 2 +- .../kbn_core_usage_data_server_internal.mdx | 2 +- api_docs/kbn_core_usage_data_server_mocks.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_ebt_tools.mdx | 2 +- api_docs/kbn_es.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_es_types.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 +- .../kbn_ftr_common_functional_services.mdx | 2 +- api_docs/kbn_generate.mdx | 2 +- api_docs/kbn_get_repo_files.mdx | 2 +- api_docs/kbn_guided_onboarding.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_i18n_react.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_journeys.mdx | 2 +- api_docs/kbn_kibana_manifest_schema.mdx | 2 +- .../kbn_language_documentation_popover.mdx | 2 +- api_docs/kbn_logging.mdx | 2 +- api_docs/kbn_logging_mocks.mdx | 2 +- api_docs/kbn_managed_vscode_config.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_osquery_io_ts_types.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_securitysolution_autocomplete.mdx | 2 +- api_docs/kbn_securitysolution_es_utils.mdx | 2 +- ...ritysolution_exception_list_components.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 +- api_docs/kbn_shared_svg.mdx | 2 +- api_docs/kbn_shared_ux_avatar_solution.mdx | 2 +- ...ared_ux_avatar_user_profile_components.mdx | 2 +- .../kbn_shared_ux_button_exit_full_screen.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_link_redirect_app.mdx | 2 +- .../kbn_shared_ux_link_redirect_app_mocks.mdx | 2 +- api_docs/kbn_shared_ux_markdown.mdx | 2 +- api_docs/kbn_shared_ux_markdown_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 +- .../kbn_shared_ux_page_kibana_template.mdx | 2 +- ...n_shared_ux_page_kibana_template_mocks.mdx | 2 +- api_docs/kbn_shared_ux_page_no_data.mdx | 2 +- .../kbn_shared_ux_page_no_data_config.mdx | 2 +- ...bn_shared_ux_page_no_data_config_mocks.mdx | 2 +- api_docs/kbn_shared_ux_page_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_router.mdx | 2 +- api_docs/kbn_shared_ux_router_mocks.mdx | 2 +- api_docs/kbn_shared_ux_storybook_config.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_test_subj_selector.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_shared_deps_src.mdx | 2 +- api_docs/kbn_ui_theme.mdx | 2 +- api_docs/kbn_user_profile_components.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.devdocs.json | 63 ++ api_docs/maps.mdx | 4 +- 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 | 18 +- api_docs/presentation_util.mdx | 2 +- api_docs/profiling.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_finder.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/saved_search.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/snapshot_restore.mdx | 2 +- api_docs/spaces.mdx | 2 +- api_docs/stack_alerts.mdx | 2 +- api_docs/stack_connectors.mdx | 2 +- api_docs/task_manager.devdocs.json | 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_field_list.mdx | 2 +- api_docs/unified_histogram.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 +- 442 files changed, 1543 insertions(+), 472 deletions(-) create mode 100644 api_docs/kbn_core_logging_browser_mocks.devdocs.json create mode 100644 api_docs/kbn_core_logging_browser_mocks.mdx create mode 100644 api_docs/kbn_core_logging_common_internal.devdocs.json create mode 100644 api_docs/kbn_core_logging_common_internal.mdx diff --git a/api_docs/actions.mdx b/api_docs/actions.mdx index 5ea65a4401bd7..52942544eb15f 100644 --- a/api_docs/actions.mdx +++ b/api_docs/actions.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/actions title: "actions" image: https://source.unsplash.com/400x175/?github description: API docs for the actions plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'actions'] --- import actionsObj from './actions.devdocs.json'; diff --git a/api_docs/advanced_settings.mdx b/api_docs/advanced_settings.mdx index 5bf1f2193cca1..b6f4e9b984a96 100644 --- a/api_docs/advanced_settings.mdx +++ b/api_docs/advanced_settings.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/advancedSettings title: "advancedSettings" image: https://source.unsplash.com/400x175/?github description: API docs for the advancedSettings plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'advancedSettings'] --- import advancedSettingsObj from './advanced_settings.devdocs.json'; diff --git a/api_docs/aiops.mdx b/api_docs/aiops.mdx index 92967fd705e03..54cbebe0b6819 100644 --- a/api_docs/aiops.mdx +++ b/api_docs/aiops.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/aiops title: "aiops" image: https://source.unsplash.com/400x175/?github description: API docs for the aiops plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'aiops'] --- import aiopsObj from './aiops.devdocs.json'; diff --git a/api_docs/alerting.mdx b/api_docs/alerting.mdx index 88823d4b8b0d8..3715af8a1501f 100644 --- a/api_docs/alerting.mdx +++ b/api_docs/alerting.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/alerting title: "alerting" image: https://source.unsplash.com/400x175/?github description: API docs for the alerting plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'alerting'] --- import alertingObj from './alerting.devdocs.json'; diff --git a/api_docs/apm.devdocs.json b/api_docs/apm.devdocs.json index 0f36183912e22..28b91d38809c7 100644 --- a/api_docs/apm.devdocs.json +++ b/api_docs/apm.devdocs.json @@ -204,7 +204,7 @@ "Observable", "; autoCreateApmDataView: boolean; serviceMapEnabled: boolean; serviceMapFingerprintBucketSize: number; serviceMapTraceIdBucketSize: number; serviceMapFingerprintGlobalBucketSize: number; serviceMapTraceIdGlobalBucketSize: number; serviceMapMaxTracesPerRequest: number; ui: Readonly<{} & { enabled: boolean; transactionGroupBucketSize: number; maxTraceItems: number; }>; searchAggregatedTransactions: ", "SearchAggregatedTransactionSetting", - "; telemetryCollectionEnabled: boolean; metricsInterval: number; agent: Readonly<{} & { migrations: Readonly<{} & { enabled: boolean; }>; }>; }>>; getApmIndices: () => Promise<", + "; telemetryCollectionEnabled: boolean; metricsInterval: number; agent: Readonly<{} & { migrations: Readonly<{} & { enabled: boolean; }>; }>; forceSyntheticSource: boolean; }>>; getApmIndices: () => Promise<", "ApmIndicesConfig", ">; createApmEventClient: ({ request, context, debug, }: { debug?: boolean | undefined; request: ", { @@ -435,7 +435,7 @@ "signature": [ "{ readonly indices: Readonly<{} & { metric: string; error: string; span: string; transaction: string; sourcemap: string; onboarding: string; }>; readonly autoCreateApmDataView: boolean; readonly serviceMapEnabled: boolean; readonly serviceMapFingerprintBucketSize: number; readonly serviceMapTraceIdBucketSize: number; readonly serviceMapFingerprintGlobalBucketSize: number; readonly serviceMapTraceIdGlobalBucketSize: number; readonly serviceMapMaxTracesPerRequest: number; readonly ui: Readonly<{} & { enabled: boolean; transactionGroupBucketSize: number; maxTraceItems: number; }>; readonly searchAggregatedTransactions: ", "SearchAggregatedTransactionSetting", - "; readonly telemetryCollectionEnabled: boolean; readonly metricsInterval: number; readonly agent: Readonly<{} & { migrations: Readonly<{} & { enabled: boolean; }>; }>; }" + "; readonly telemetryCollectionEnabled: boolean; readonly metricsInterval: number; readonly agent: Readonly<{} & { migrations: Readonly<{} & { enabled: boolean; }>; }>; readonly forceSyntheticSource: boolean; }" ], "path": "x-pack/plugins/apm/server/routes/typings.ts", "deprecated": false, @@ -827,7 +827,7 @@ "signature": [ "{ readonly indices: Readonly<{} & { metric: string; error: string; span: string; transaction: string; sourcemap: string; onboarding: string; }>; readonly autoCreateApmDataView: boolean; readonly serviceMapEnabled: boolean; readonly serviceMapFingerprintBucketSize: number; readonly serviceMapTraceIdBucketSize: number; readonly serviceMapFingerprintGlobalBucketSize: number; readonly serviceMapTraceIdGlobalBucketSize: number; readonly serviceMapMaxTracesPerRequest: number; readonly ui: Readonly<{} & { enabled: boolean; transactionGroupBucketSize: number; maxTraceItems: number; }>; readonly searchAggregatedTransactions: ", "SearchAggregatedTransactionSetting", - "; readonly telemetryCollectionEnabled: boolean; readonly metricsInterval: number; readonly agent: Readonly<{} & { migrations: Readonly<{} & { enabled: boolean; }>; }>; }" + "; readonly telemetryCollectionEnabled: boolean; readonly metricsInterval: number; readonly agent: Readonly<{} & { migrations: Readonly<{} & { enabled: boolean; }>; }>; readonly forceSyntheticSource: boolean; }" ], "path": "x-pack/plugins/apm/server/index.ts", "deprecated": false, @@ -7110,7 +7110,7 @@ "Observable", "; autoCreateApmDataView: boolean; serviceMapEnabled: boolean; serviceMapFingerprintBucketSize: number; serviceMapTraceIdBucketSize: number; serviceMapFingerprintGlobalBucketSize: number; serviceMapTraceIdGlobalBucketSize: number; serviceMapMaxTracesPerRequest: number; ui: Readonly<{} & { enabled: boolean; transactionGroupBucketSize: number; maxTraceItems: number; }>; searchAggregatedTransactions: ", "SearchAggregatedTransactionSetting", - "; telemetryCollectionEnabled: boolean; metricsInterval: number; agent: Readonly<{} & { migrations: Readonly<{} & { enabled: boolean; }>; }>; }>>" + "; telemetryCollectionEnabled: boolean; metricsInterval: number; agent: Readonly<{} & { migrations: Readonly<{} & { enabled: boolean; }>; }>; forceSyntheticSource: boolean; }>>" ], "path": "x-pack/plugins/apm/server/types.ts", "deprecated": false, diff --git a/api_docs/apm.mdx b/api_docs/apm.mdx index e2406aade357a..d88beee3b29c0 100644 --- a/api_docs/apm.mdx +++ b/api_docs/apm.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/apm title: "apm" image: https://source.unsplash.com/400x175/?github description: API docs for the apm plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'apm'] --- import apmObj from './apm.devdocs.json'; diff --git a/api_docs/banners.mdx b/api_docs/banners.mdx index cbe86334af552..c420cb692a837 100644 --- a/api_docs/banners.mdx +++ b/api_docs/banners.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/banners title: "banners" image: https://source.unsplash.com/400x175/?github description: API docs for the banners plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'banners'] --- import bannersObj from './banners.devdocs.json'; diff --git a/api_docs/bfetch.mdx b/api_docs/bfetch.mdx index 90f5ae36be4ae..a4e00c6aa05fc 100644 --- a/api_docs/bfetch.mdx +++ b/api_docs/bfetch.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/bfetch title: "bfetch" image: https://source.unsplash.com/400x175/?github description: API docs for the bfetch plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'bfetch'] --- import bfetchObj from './bfetch.devdocs.json'; diff --git a/api_docs/canvas.mdx b/api_docs/canvas.mdx index 9b721c3f2cb66..0509d1f1e15ca 100644 --- a/api_docs/canvas.mdx +++ b/api_docs/canvas.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/canvas title: "canvas" image: https://source.unsplash.com/400x175/?github description: API docs for the canvas plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'canvas'] --- import canvasObj from './canvas.devdocs.json'; diff --git a/api_docs/cases.mdx b/api_docs/cases.mdx index 9951038b5d7ed..3baa539c48eca 100644 --- a/api_docs/cases.mdx +++ b/api_docs/cases.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/cases title: "cases" image: https://source.unsplash.com/400x175/?github description: API docs for the cases plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cases'] --- import casesObj from './cases.devdocs.json'; diff --git a/api_docs/charts.mdx b/api_docs/charts.mdx index 2557bd792262c..96516fd25f46c 100644 --- a/api_docs/charts.mdx +++ b/api_docs/charts.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/charts title: "charts" image: https://source.unsplash.com/400x175/?github description: API docs for the charts plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'charts'] --- import chartsObj from './charts.devdocs.json'; diff --git a/api_docs/cloud.mdx b/api_docs/cloud.mdx index c4c882be53a9d..fbcab061d1c7b 100644 --- a/api_docs/cloud.mdx +++ b/api_docs/cloud.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/cloud title: "cloud" image: https://source.unsplash.com/400x175/?github description: API docs for the cloud plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cloud'] --- import cloudObj from './cloud.devdocs.json'; diff --git a/api_docs/cloud_chat.mdx b/api_docs/cloud_chat.mdx index 2fe88b92fbf9f..49c787bbf32f9 100644 --- a/api_docs/cloud_chat.mdx +++ b/api_docs/cloud_chat.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/cloudChat title: "cloudChat" image: https://source.unsplash.com/400x175/?github description: API docs for the cloudChat plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cloudChat'] --- import cloudChatObj from './cloud_chat.devdocs.json'; diff --git a/api_docs/cloud_experiments.mdx b/api_docs/cloud_experiments.mdx index c9a49fc99206b..152b4355f04db 100644 --- a/api_docs/cloud_experiments.mdx +++ b/api_docs/cloud_experiments.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/cloudExperiments title: "cloudExperiments" image: https://source.unsplash.com/400x175/?github description: API docs for the cloudExperiments plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cloudExperiments'] --- import cloudExperimentsObj from './cloud_experiments.devdocs.json'; diff --git a/api_docs/cloud_security_posture.mdx b/api_docs/cloud_security_posture.mdx index 232caa7696bb9..b9aa8c60aa4f9 100644 --- a/api_docs/cloud_security_posture.mdx +++ b/api_docs/cloud_security_posture.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/cloudSecurityPosture title: "cloudSecurityPosture" image: https://source.unsplash.com/400x175/?github description: API docs for the cloudSecurityPosture plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cloudSecurityPosture'] --- import cloudSecurityPostureObj from './cloud_security_posture.devdocs.json'; diff --git a/api_docs/console.mdx b/api_docs/console.mdx index 6e3f73aaee1c8..17cd0e6d70f4b 100644 --- a/api_docs/console.mdx +++ b/api_docs/console.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/console title: "console" image: https://source.unsplash.com/400x175/?github description: API docs for the console plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'console'] --- import consoleObj from './console.devdocs.json'; diff --git a/api_docs/controls.mdx b/api_docs/controls.mdx index 8c9da68b85534..32564a5ae6760 100644 --- a/api_docs/controls.mdx +++ b/api_docs/controls.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/controls title: "controls" image: https://source.unsplash.com/400x175/?github description: API docs for the controls plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'controls'] --- import controlsObj from './controls.devdocs.json'; diff --git a/api_docs/core.devdocs.json b/api_docs/core.devdocs.json index 652098189b3af..a672cb981f7e8 100644 --- a/api_docs/core.devdocs.json +++ b/api_docs/core.devdocs.json @@ -12310,6 +12310,26 @@ "deprecated": false, "trackAdoption": false }, + { + "parentPluginId": "core", + "id": "def-public.PluginInitializerContext.logger", + "type": "Object", + "tags": [], + "label": "logger", + "description": [], + "signature": [ + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.LoggerFactory", + "text": "LoggerFactory" + } + ], + "path": "packages/core/plugins/core-plugins-browser/src/plugin_initializer.ts", + "deprecated": false, + "trackAdoption": false + }, { "parentPluginId": "core", "id": "def-public.PluginInitializerContext.config", diff --git a/api_docs/core.mdx b/api_docs/core.mdx index 79d390cf18f0c..65a90ab56320c 100644 --- a/api_docs/core.mdx +++ b/api_docs/core.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/core title: "core" image: https://source.unsplash.com/400x175/?github description: API docs for the core plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'core'] --- import coreObj from './core.devdocs.json'; @@ -21,7 +21,7 @@ Contact [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) for que | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 2703 | 17 | 1201 | 0 | +| 2704 | 17 | 1202 | 0 | ## Client diff --git a/api_docs/custom_integrations.mdx b/api_docs/custom_integrations.mdx index 33f7edb047777..97e124c1de8e8 100644 --- a/api_docs/custom_integrations.mdx +++ b/api_docs/custom_integrations.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/customIntegrations title: "customIntegrations" image: https://source.unsplash.com/400x175/?github description: API docs for the customIntegrations plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'customIntegrations'] --- import customIntegrationsObj from './custom_integrations.devdocs.json'; diff --git a/api_docs/dashboard.mdx b/api_docs/dashboard.mdx index 8a9641c1916e5..6ba5323d1c419 100644 --- a/api_docs/dashboard.mdx +++ b/api_docs/dashboard.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/dashboard title: "dashboard" image: https://source.unsplash.com/400x175/?github description: API docs for the dashboard plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dashboard'] --- import dashboardObj from './dashboard.devdocs.json'; diff --git a/api_docs/dashboard_enhanced.mdx b/api_docs/dashboard_enhanced.mdx index 9ec0ae390a91e..d5ac616dc701e 100644 --- a/api_docs/dashboard_enhanced.mdx +++ b/api_docs/dashboard_enhanced.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/dashboardEnhanced title: "dashboardEnhanced" image: https://source.unsplash.com/400x175/?github description: API docs for the dashboardEnhanced plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dashboardEnhanced'] --- import dashboardEnhancedObj from './dashboard_enhanced.devdocs.json'; diff --git a/api_docs/data.devdocs.json b/api_docs/data.devdocs.json index 172f176549f6d..497266ba3188e 100644 --- a/api_docs/data.devdocs.json +++ b/api_docs/data.devdocs.json @@ -5170,6 +5170,41 @@ "returnComment": [], "initialIsOpen": false }, + { + "parentPluginId": "data", + "id": "def-public.ShardFailureOpenModalButton", + "type": "Function", + "tags": [], + "label": "ShardFailureOpenModalButton", + "description": [], + "signature": [ + "(props: ", + "ShardFailureOpenModalButtonProps", + ") => JSX.Element" + ], + "path": "src/plugins/data/public/shard_failure_modal/index.tsx", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-public.ShardFailureOpenModalButton.$1", + "type": "Object", + "tags": [], + "label": "props", + "description": [], + "signature": [ + "ShardFailureOpenModalButtonProps" + ], + "path": "src/plugins/data/public/shard_failure_modal/index.tsx", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, { "parentPluginId": "data", "id": "def-public.tabifyAggResponse", @@ -9055,6 +9090,104 @@ } ], "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.ShardFailureRequest", + "type": "Interface", + "tags": [], + "label": "ShardFailureRequest", + "description": [], + "path": "src/plugins/data/public/shard_failure_modal/shard_failure_types.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-public.ShardFailureRequest.docvalue_fields", + "type": "Array", + "tags": [], + "label": "docvalue_fields", + "description": [], + "signature": [ + "string[]" + ], + "path": "src/plugins/data/public/shard_failure_modal/shard_failure_types.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "data", + "id": "def-public.ShardFailureRequest._source", + "type": "Unknown", + "tags": [], + "label": "_source", + "description": [], + "signature": [ + "unknown" + ], + "path": "src/plugins/data/public/shard_failure_modal/shard_failure_types.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "data", + "id": "def-public.ShardFailureRequest.query", + "type": "Unknown", + "tags": [], + "label": "query", + "description": [], + "signature": [ + "unknown" + ], + "path": "src/plugins/data/public/shard_failure_modal/shard_failure_types.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "data", + "id": "def-public.ShardFailureRequest.script_fields", + "type": "Unknown", + "tags": [], + "label": "script_fields", + "description": [], + "signature": [ + "unknown" + ], + "path": "src/plugins/data/public/shard_failure_modal/shard_failure_types.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "data", + "id": "def-public.ShardFailureRequest.sort", + "type": "Unknown", + "tags": [], + "label": "sort", + "description": [], + "signature": [ + "unknown" + ], + "path": "src/plugins/data/public/shard_failure_modal/shard_failure_types.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "data", + "id": "def-public.ShardFailureRequest.stored_fields", + "type": "Array", + "tags": [], + "label": "stored_fields", + "description": [], + "signature": [ + "string[]" + ], + "path": "src/plugins/data/public/shard_failure_modal/shard_failure_types.ts", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false } ], "enums": [ @@ -16317,10 +16450,10 @@ "tags": [], "label": "create", "description": [ - "\nCreate a new data view instance." + "\nCreate data view instance." ], "signature": [ - "({ id, name, title, ...restOfSpec }: ", + "(spec: ", { "pluginId": "dataViews", "scope": "common", @@ -16347,8 +16480,10 @@ "id": "def-server.DataViewsService.create.$1", "type": "Object", "tags": [], - "label": "{ id, name, title, ...restOfSpec }", - "description": [], + "label": "spec", + "description": [ + "data view spec" + ], "signature": [ { "pluginId": "dataViews", @@ -24889,10 +25024,10 @@ "tags": [], "label": "create", "description": [ - "\nCreate a new data view instance." + "\nCreate data view instance." ], "signature": [ - "({ id, name, title, ...restOfSpec }: ", + "(spec: ", { "pluginId": "dataViews", "scope": "common", @@ -24919,8 +25054,10 @@ "id": "def-common.DataViewsService.create.$1", "type": "Object", "tags": [], - "label": "{ id, name, title, ...restOfSpec }", - "description": [], + "label": "spec", + "description": [ + "data view spec" + ], "signature": [ { "pluginId": "dataViews", @@ -27291,7 +27428,7 @@ "section": "def-common.DataView", "text": "DataView" }, - ">; delete: (indexPatternId: string) => Promise<{}>; create: ({ id, name, title, ...restOfSpec }: ", + ">; delete: (indexPatternId: string) => Promise<{}>; create: (spec: ", { "pluginId": "dataViews", "scope": "common", diff --git a/api_docs/data.mdx b/api_docs/data.mdx index 7983d8d6dedeb..629edd64e8ebf 100644 --- a/api_docs/data.mdx +++ b/api_docs/data.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/data title: "data" image: https://source.unsplash.com/400x175/?github description: API docs for the data plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'data'] --- import dataObj from './data.devdocs.json'; @@ -21,7 +21,7 @@ Contact [App Services](https://github.com/orgs/elastic/teams/kibana-app-services | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 3251 | 119 | 2546 | 24 | +| 3261 | 119 | 2553 | 27 | ## Client diff --git a/api_docs/data_query.mdx b/api_docs/data_query.mdx index 13393a88c75ec..71843dd2ac43a 100644 --- a/api_docs/data_query.mdx +++ b/api_docs/data_query.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/data-query title: "data.query" image: https://source.unsplash.com/400x175/?github description: API docs for the data.query plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'data.query'] --- import dataQueryObj from './data_query.devdocs.json'; @@ -21,7 +21,7 @@ Contact [App Services](https://github.com/orgs/elastic/teams/kibana-app-services | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 3251 | 119 | 2546 | 24 | +| 3261 | 119 | 2553 | 27 | ## Client diff --git a/api_docs/data_search.devdocs.json b/api_docs/data_search.devdocs.json index 245b49ec877bf..5374d3d4bf2a0 100644 --- a/api_docs/data_search.devdocs.json +++ b/api_docs/data_search.devdocs.json @@ -1460,6 +1460,25 @@ "deprecated": false, "trackAdoption": false, "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.SearchResponseWarning", + "type": "Type", + "tags": [], + "label": "SearchResponseWarning", + "description": [ + "\nA warning object for a search response with warnings" + ], + "signature": [ + "SearchResponseTimeoutWarning", + " | ", + "SearchResponseShardFailureWarning" + ], + "path": "src/plugins/data/public/search/types.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false } ], "objects": [] diff --git a/api_docs/data_search.mdx b/api_docs/data_search.mdx index 572b86ac53c33..7c5131facfb03 100644 --- a/api_docs/data_search.mdx +++ b/api_docs/data_search.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/data-search title: "data.search" image: https://source.unsplash.com/400x175/?github description: API docs for the data.search plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'data.search'] --- import dataSearchObj from './data_search.devdocs.json'; @@ -21,7 +21,7 @@ Contact [App Services](https://github.com/orgs/elastic/teams/kibana-app-services | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 3251 | 119 | 2546 | 24 | +| 3261 | 119 | 2553 | 27 | ## Client diff --git a/api_docs/data_view_editor.mdx b/api_docs/data_view_editor.mdx index 5a008e9f925f4..827841baa8e23 100644 --- a/api_docs/data_view_editor.mdx +++ b/api_docs/data_view_editor.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/dataViewEditor title: "dataViewEditor" image: https://source.unsplash.com/400x175/?github description: API docs for the dataViewEditor plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dataViewEditor'] --- import dataViewEditorObj from './data_view_editor.devdocs.json'; diff --git a/api_docs/data_view_field_editor.mdx b/api_docs/data_view_field_editor.mdx index 2689ef981f89b..2ae135c2ce21d 100644 --- a/api_docs/data_view_field_editor.mdx +++ b/api_docs/data_view_field_editor.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/dataViewFieldEditor title: "dataViewFieldEditor" image: https://source.unsplash.com/400x175/?github description: API docs for the dataViewFieldEditor plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dataViewFieldEditor'] --- import dataViewFieldEditorObj from './data_view_field_editor.devdocs.json'; diff --git a/api_docs/data_view_management.mdx b/api_docs/data_view_management.mdx index 8219b5be1f3de..797103352dc51 100644 --- a/api_docs/data_view_management.mdx +++ b/api_docs/data_view_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/dataViewManagement title: "dataViewManagement" image: https://source.unsplash.com/400x175/?github description: API docs for the dataViewManagement plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dataViewManagement'] --- import dataViewManagementObj from './data_view_management.devdocs.json'; diff --git a/api_docs/data_views.devdocs.json b/api_docs/data_views.devdocs.json index 3dc670c3bcbc6..70e6e1d21f6ec 100644 --- a/api_docs/data_views.devdocs.json +++ b/api_docs/data_views.devdocs.json @@ -4908,10 +4908,10 @@ "tags": [], "label": "create", "description": [ - "\nCreate a new data view instance." + "\nCreate data view instance." ], "signature": [ - "({ id, name, title, ...restOfSpec }: ", + "(spec: ", { "pluginId": "dataViews", "scope": "common", @@ -4938,8 +4938,10 @@ "id": "def-public.DataViewsService.create.$1", "type": "Object", "tags": [], - "label": "{ id, name, title, ...restOfSpec }", - "description": [], + "label": "spec", + "description": [ + "data view spec" + ], "signature": [ { "pluginId": "dataViews", @@ -12255,10 +12257,10 @@ "tags": [], "label": "create", "description": [ - "\nCreate a new data view instance." + "\nCreate data view instance." ], "signature": [ - "({ id, name, title, ...restOfSpec }: ", + "(spec: ", { "pluginId": "dataViews", "scope": "common", @@ -12285,8 +12287,10 @@ "id": "def-server.DataViewsService.create.$1", "type": "Object", "tags": [], - "label": "{ id, name, title, ...restOfSpec }", - "description": [], + "label": "spec", + "description": [ + "data view spec" + ], "signature": [ { "pluginId": "dataViews", @@ -20235,10 +20239,10 @@ "tags": [], "label": "create", "description": [ - "\nCreate a new data view instance." + "\nCreate data view instance." ], "signature": [ - "({ id, name, title, ...restOfSpec }: ", + "(spec: ", { "pluginId": "dataViews", "scope": "common", @@ -20265,8 +20269,10 @@ "id": "def-common.DataViewsService.create.$1", "type": "Object", "tags": [], - "label": "{ id, name, title, ...restOfSpec }", - "description": [], + "label": "spec", + "description": [ + "data view spec" + ], "signature": [ { "pluginId": "dataViews", @@ -25377,7 +25383,7 @@ "section": "def-common.DataView", "text": "DataView" }, - ">; delete: (indexPatternId: string) => Promise<{}>; create: ({ id, name, title, ...restOfSpec }: ", + ">; delete: (indexPatternId: string) => Promise<{}>; create: (spec: ", { "pluginId": "dataViews", "scope": "common", diff --git a/api_docs/data_views.mdx b/api_docs/data_views.mdx index fef4a3d754bf5..9448431955ffe 100644 --- a/api_docs/data_views.mdx +++ b/api_docs/data_views.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/dataViews title: "dataViews" image: https://source.unsplash.com/400x175/?github description: API docs for the dataViews plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dataViews'] --- import dataViewsObj from './data_views.devdocs.json'; @@ -21,7 +21,7 @@ Contact [App Services](https://github.com/orgs/elastic/teams/kibana-app-services | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 1021 | 0 | 231 | 2 | +| 1021 | 0 | 228 | 2 | ## Client diff --git a/api_docs/data_visualizer.mdx b/api_docs/data_visualizer.mdx index fdc12f066f7d9..512739a20029e 100644 --- a/api_docs/data_visualizer.mdx +++ b/api_docs/data_visualizer.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/dataVisualizer title: "dataVisualizer" image: https://source.unsplash.com/400x175/?github description: API docs for the dataVisualizer plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dataVisualizer'] --- import dataVisualizerObj from './data_visualizer.devdocs.json'; diff --git a/api_docs/deprecations_by_api.mdx b/api_docs/deprecations_by_api.mdx index 51d5e6f53e775..2d37c966c2be9 100644 --- a/api_docs/deprecations_by_api.mdx +++ b/api_docs/deprecations_by_api.mdx @@ -7,7 +7,7 @@ id: kibDevDocsDeprecationsByApi slug: /kibana-dev-docs/api-meta/deprecated-api-list-by-api title: Deprecated API usage by API description: A list of deprecated APIs, which plugins are still referencing them, and when they need to be removed by. -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana'] --- diff --git a/api_docs/deprecations_by_plugin.mdx b/api_docs/deprecations_by_plugin.mdx index 6947908a0ebe5..5d88e55e3d32e 100644 --- a/api_docs/deprecations_by_plugin.mdx +++ b/api_docs/deprecations_by_plugin.mdx @@ -7,7 +7,7 @@ id: kibDevDocsDeprecationsByPlugin slug: /kibana-dev-docs/api-meta/deprecated-api-list-by-plugin title: Deprecated API usage by plugin description: A list of deprecated APIs, which plugins are still referencing them, and when they need to be removed by. -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana'] --- diff --git a/api_docs/deprecations_by_team.mdx b/api_docs/deprecations_by_team.mdx index bc26e7084e61a..dd241a8891f6e 100644 --- a/api_docs/deprecations_by_team.mdx +++ b/api_docs/deprecations_by_team.mdx @@ -7,7 +7,7 @@ id: kibDevDocsDeprecationsDueByTeam slug: /kibana-dev-docs/api-meta/deprecations-due-by-team title: Deprecated APIs due to be removed, by team description: Lists the teams that are referencing deprecated APIs with a remove by date. -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana'] --- diff --git a/api_docs/dev_tools.mdx b/api_docs/dev_tools.mdx index 9643bc44af386..d94756c643010 100644 --- a/api_docs/dev_tools.mdx +++ b/api_docs/dev_tools.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/devTools title: "devTools" image: https://source.unsplash.com/400x175/?github description: API docs for the devTools plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'devTools'] --- import devToolsObj from './dev_tools.devdocs.json'; diff --git a/api_docs/discover.mdx b/api_docs/discover.mdx index de79f1c68c03c..3c6ba7f1c5b52 100644 --- a/api_docs/discover.mdx +++ b/api_docs/discover.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/discover title: "discover" image: https://source.unsplash.com/400x175/?github description: API docs for the discover plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'discover'] --- import discoverObj from './discover.devdocs.json'; diff --git a/api_docs/discover_enhanced.mdx b/api_docs/discover_enhanced.mdx index 79badb47fbabe..5bb5cafd12785 100644 --- a/api_docs/discover_enhanced.mdx +++ b/api_docs/discover_enhanced.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/discoverEnhanced title: "discoverEnhanced" image: https://source.unsplash.com/400x175/?github description: API docs for the discoverEnhanced plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'discoverEnhanced'] --- import discoverEnhancedObj from './discover_enhanced.devdocs.json'; diff --git a/api_docs/embeddable.mdx b/api_docs/embeddable.mdx index 3533bcb7b8392..b3a02d8ef2138 100644 --- a/api_docs/embeddable.mdx +++ b/api_docs/embeddable.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/embeddable title: "embeddable" image: https://source.unsplash.com/400x175/?github description: API docs for the embeddable plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'embeddable'] --- import embeddableObj from './embeddable.devdocs.json'; diff --git a/api_docs/embeddable_enhanced.mdx b/api_docs/embeddable_enhanced.mdx index 1c78dac6efe12..97393add31a5f 100644 --- a/api_docs/embeddable_enhanced.mdx +++ b/api_docs/embeddable_enhanced.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/embeddableEnhanced title: "embeddableEnhanced" image: https://source.unsplash.com/400x175/?github description: API docs for the embeddableEnhanced plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'embeddableEnhanced'] --- import embeddableEnhancedObj from './embeddable_enhanced.devdocs.json'; diff --git a/api_docs/encrypted_saved_objects.mdx b/api_docs/encrypted_saved_objects.mdx index 4981b4744a2a4..eb3082cec84fb 100644 --- a/api_docs/encrypted_saved_objects.mdx +++ b/api_docs/encrypted_saved_objects.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/encryptedSavedObjects title: "encryptedSavedObjects" image: https://source.unsplash.com/400x175/?github description: API docs for the encryptedSavedObjects plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'encryptedSavedObjects'] --- import encryptedSavedObjectsObj from './encrypted_saved_objects.devdocs.json'; diff --git a/api_docs/enterprise_search.devdocs.json b/api_docs/enterprise_search.devdocs.json index d0b72b833d854..0e47e5a6c851c 100644 --- a/api_docs/enterprise_search.devdocs.json +++ b/api_docs/enterprise_search.devdocs.json @@ -92,12 +92,12 @@ { "parentPluginId": "enterpriseSearch", "id": "def-server.CONNECTORS_VERSION", - "type": "string", + "type": "number", "tags": [], "label": "CONNECTORS_VERSION", "description": [], "signature": [ - "\"1\"" + "1" ], "path": "x-pack/plugins/enterprise_search/server/index.ts", "deprecated": false, diff --git a/api_docs/enterprise_search.mdx b/api_docs/enterprise_search.mdx index 51b6fbd37810d..16f606d78f62b 100644 --- a/api_docs/enterprise_search.mdx +++ b/api_docs/enterprise_search.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/enterpriseSearch title: "enterpriseSearch" image: https://source.unsplash.com/400x175/?github description: API docs for the enterpriseSearch plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'enterpriseSearch'] --- import enterpriseSearchObj from './enterprise_search.devdocs.json'; diff --git a/api_docs/es_ui_shared.mdx b/api_docs/es_ui_shared.mdx index a737c105f4349..c0c8af71d6ed6 100644 --- a/api_docs/es_ui_shared.mdx +++ b/api_docs/es_ui_shared.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/esUiShared title: "esUiShared" image: https://source.unsplash.com/400x175/?github description: API docs for the esUiShared plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'esUiShared'] --- import esUiSharedObj from './es_ui_shared.devdocs.json'; diff --git a/api_docs/event_annotation.mdx b/api_docs/event_annotation.mdx index 8a639ebf03d51..ea069faa07372 100644 --- a/api_docs/event_annotation.mdx +++ b/api_docs/event_annotation.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/eventAnnotation title: "eventAnnotation" image: https://source.unsplash.com/400x175/?github description: API docs for the eventAnnotation plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'eventAnnotation'] --- import eventAnnotationObj from './event_annotation.devdocs.json'; diff --git a/api_docs/event_log.mdx b/api_docs/event_log.mdx index 8bde9bb1f9a63..e86bd54cf5441 100644 --- a/api_docs/event_log.mdx +++ b/api_docs/event_log.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/eventLog title: "eventLog" image: https://source.unsplash.com/400x175/?github description: API docs for the eventLog plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'eventLog'] --- import eventLogObj from './event_log.devdocs.json'; diff --git a/api_docs/expression_error.mdx b/api_docs/expression_error.mdx index 466212be84fae..d1b60e3ad3e8d 100644 --- a/api_docs/expression_error.mdx +++ b/api_docs/expression_error.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionError title: "expressionError" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionError plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionError'] --- import expressionErrorObj from './expression_error.devdocs.json'; diff --git a/api_docs/expression_gauge.mdx b/api_docs/expression_gauge.mdx index 4f6213ab05df1..75e9f903d313c 100644 --- a/api_docs/expression_gauge.mdx +++ b/api_docs/expression_gauge.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionGauge title: "expressionGauge" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionGauge plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionGauge'] --- import expressionGaugeObj from './expression_gauge.devdocs.json'; diff --git a/api_docs/expression_heatmap.mdx b/api_docs/expression_heatmap.mdx index 2791141c726d4..e39189d92034b 100644 --- a/api_docs/expression_heatmap.mdx +++ b/api_docs/expression_heatmap.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionHeatmap title: "expressionHeatmap" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionHeatmap plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionHeatmap'] --- import expressionHeatmapObj from './expression_heatmap.devdocs.json'; diff --git a/api_docs/expression_image.mdx b/api_docs/expression_image.mdx index 03111be9f88de..06888bb5990e2 100644 --- a/api_docs/expression_image.mdx +++ b/api_docs/expression_image.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionImage title: "expressionImage" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionImage plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionImage'] --- import expressionImageObj from './expression_image.devdocs.json'; diff --git a/api_docs/expression_legacy_metric_vis.mdx b/api_docs/expression_legacy_metric_vis.mdx index 9a54a8f38d4b6..0b73ced821826 100644 --- a/api_docs/expression_legacy_metric_vis.mdx +++ b/api_docs/expression_legacy_metric_vis.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionLegacyMetricVis title: "expressionLegacyMetricVis" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionLegacyMetricVis plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionLegacyMetricVis'] --- import expressionLegacyMetricVisObj from './expression_legacy_metric_vis.devdocs.json'; diff --git a/api_docs/expression_metric.mdx b/api_docs/expression_metric.mdx index df40548c34799..4052bfcfe1991 100644 --- a/api_docs/expression_metric.mdx +++ b/api_docs/expression_metric.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionMetric title: "expressionMetric" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionMetric plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionMetric'] --- import expressionMetricObj from './expression_metric.devdocs.json'; diff --git a/api_docs/expression_metric_vis.mdx b/api_docs/expression_metric_vis.mdx index 118c72b78bc43..2a00942f8da1f 100644 --- a/api_docs/expression_metric_vis.mdx +++ b/api_docs/expression_metric_vis.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionMetricVis title: "expressionMetricVis" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionMetricVis plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionMetricVis'] --- import expressionMetricVisObj from './expression_metric_vis.devdocs.json'; diff --git a/api_docs/expression_partition_vis.mdx b/api_docs/expression_partition_vis.mdx index f7130076a7bb0..0af56d6868591 100644 --- a/api_docs/expression_partition_vis.mdx +++ b/api_docs/expression_partition_vis.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionPartitionVis title: "expressionPartitionVis" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionPartitionVis plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionPartitionVis'] --- import expressionPartitionVisObj from './expression_partition_vis.devdocs.json'; diff --git a/api_docs/expression_repeat_image.mdx b/api_docs/expression_repeat_image.mdx index 5c4e251c34a68..5822c959cc5bf 100644 --- a/api_docs/expression_repeat_image.mdx +++ b/api_docs/expression_repeat_image.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionRepeatImage title: "expressionRepeatImage" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionRepeatImage plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionRepeatImage'] --- import expressionRepeatImageObj from './expression_repeat_image.devdocs.json'; diff --git a/api_docs/expression_reveal_image.mdx b/api_docs/expression_reveal_image.mdx index 1f2ab7602dabc..89f2a0ca0717b 100644 --- a/api_docs/expression_reveal_image.mdx +++ b/api_docs/expression_reveal_image.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionRevealImage title: "expressionRevealImage" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionRevealImage plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionRevealImage'] --- import expressionRevealImageObj from './expression_reveal_image.devdocs.json'; diff --git a/api_docs/expression_shape.mdx b/api_docs/expression_shape.mdx index b117a80b23f99..6333d7795219b 100644 --- a/api_docs/expression_shape.mdx +++ b/api_docs/expression_shape.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionShape title: "expressionShape" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionShape plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionShape'] --- import expressionShapeObj from './expression_shape.devdocs.json'; diff --git a/api_docs/expression_tagcloud.mdx b/api_docs/expression_tagcloud.mdx index b4fc3c7e51fff..ba05fc5625d14 100644 --- a/api_docs/expression_tagcloud.mdx +++ b/api_docs/expression_tagcloud.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionTagcloud title: "expressionTagcloud" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionTagcloud plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionTagcloud'] --- import expressionTagcloudObj from './expression_tagcloud.devdocs.json'; diff --git a/api_docs/expression_x_y.mdx b/api_docs/expression_x_y.mdx index 24f1634991a18..9571e8de7da6a 100644 --- a/api_docs/expression_x_y.mdx +++ b/api_docs/expression_x_y.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionXY title: "expressionXY" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionXY plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionXY'] --- import expressionXYObj from './expression_x_y.devdocs.json'; diff --git a/api_docs/expressions.mdx b/api_docs/expressions.mdx index 899b1701c4702..624e92d6930ec 100644 --- a/api_docs/expressions.mdx +++ b/api_docs/expressions.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressions title: "expressions" image: https://source.unsplash.com/400x175/?github description: API docs for the expressions plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressions'] --- import expressionsObj from './expressions.devdocs.json'; diff --git a/api_docs/features.mdx b/api_docs/features.mdx index 9f198fc261f74..638320aa814f2 100644 --- a/api_docs/features.mdx +++ b/api_docs/features.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/features title: "features" image: https://source.unsplash.com/400x175/?github description: API docs for the features plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'features'] --- import featuresObj from './features.devdocs.json'; diff --git a/api_docs/field_formats.mdx b/api_docs/field_formats.mdx index 7f9ff54a72460..582e8bf22caa0 100644 --- a/api_docs/field_formats.mdx +++ b/api_docs/field_formats.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/fieldFormats title: "fieldFormats" image: https://source.unsplash.com/400x175/?github description: API docs for the fieldFormats plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'fieldFormats'] --- import fieldFormatsObj from './field_formats.devdocs.json'; diff --git a/api_docs/file_upload.mdx b/api_docs/file_upload.mdx index 66d4d6aa0c7b4..462edf68d2898 100644 --- a/api_docs/file_upload.mdx +++ b/api_docs/file_upload.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/fileUpload title: "fileUpload" image: https://source.unsplash.com/400x175/?github description: API docs for the fileUpload plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'fileUpload'] --- import fileUploadObj from './file_upload.devdocs.json'; diff --git a/api_docs/files.mdx b/api_docs/files.mdx index 7fa464d93185b..fc22a35428955 100644 --- a/api_docs/files.mdx +++ b/api_docs/files.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/files title: "files" image: https://source.unsplash.com/400x175/?github description: API docs for the files plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'files'] --- import filesObj from './files.devdocs.json'; diff --git a/api_docs/fleet.mdx b/api_docs/fleet.mdx index 3035e0e0641d5..7e448c72cf351 100644 --- a/api_docs/fleet.mdx +++ b/api_docs/fleet.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/fleet title: "fleet" image: https://source.unsplash.com/400x175/?github description: API docs for the fleet plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'fleet'] --- import fleetObj from './fleet.devdocs.json'; diff --git a/api_docs/global_search.mdx b/api_docs/global_search.mdx index f394f88418127..bf4839a971908 100644 --- a/api_docs/global_search.mdx +++ b/api_docs/global_search.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/globalSearch title: "globalSearch" image: https://source.unsplash.com/400x175/?github description: API docs for the globalSearch plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'globalSearch'] --- import globalSearchObj from './global_search.devdocs.json'; diff --git a/api_docs/guided_onboarding.mdx b/api_docs/guided_onboarding.mdx index 09a89d44f0f56..2ab4d7f8ee5e3 100644 --- a/api_docs/guided_onboarding.mdx +++ b/api_docs/guided_onboarding.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/guidedOnboarding title: "guidedOnboarding" image: https://source.unsplash.com/400x175/?github description: API docs for the guidedOnboarding plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'guidedOnboarding'] --- import guidedOnboardingObj from './guided_onboarding.devdocs.json'; diff --git a/api_docs/home.mdx b/api_docs/home.mdx index c6842826a6b64..06136cd4365c2 100644 --- a/api_docs/home.mdx +++ b/api_docs/home.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/home title: "home" image: https://source.unsplash.com/400x175/?github description: API docs for the home plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'home'] --- import homeObj from './home.devdocs.json'; diff --git a/api_docs/index_lifecycle_management.mdx b/api_docs/index_lifecycle_management.mdx index 81aa6e309245d..c80f54dc77abb 100644 --- a/api_docs/index_lifecycle_management.mdx +++ b/api_docs/index_lifecycle_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/indexLifecycleManagement title: "indexLifecycleManagement" image: https://source.unsplash.com/400x175/?github description: API docs for the indexLifecycleManagement plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'indexLifecycleManagement'] --- import indexLifecycleManagementObj from './index_lifecycle_management.devdocs.json'; diff --git a/api_docs/index_management.mdx b/api_docs/index_management.mdx index 222a8affc9520..73d38e1f5ca83 100644 --- a/api_docs/index_management.mdx +++ b/api_docs/index_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/indexManagement title: "indexManagement" image: https://source.unsplash.com/400x175/?github description: API docs for the indexManagement plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'indexManagement'] --- import indexManagementObj from './index_management.devdocs.json'; diff --git a/api_docs/infra.mdx b/api_docs/infra.mdx index 520d78d49739f..010c8c45f4997 100644 --- a/api_docs/infra.mdx +++ b/api_docs/infra.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/infra title: "infra" image: https://source.unsplash.com/400x175/?github description: API docs for the infra plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'infra'] --- import infraObj from './infra.devdocs.json'; diff --git a/api_docs/inspector.mdx b/api_docs/inspector.mdx index 72a7c4beef395..0da9d4d1c34a0 100644 --- a/api_docs/inspector.mdx +++ b/api_docs/inspector.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/inspector title: "inspector" image: https://source.unsplash.com/400x175/?github description: API docs for the inspector plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'inspector'] --- import inspectorObj from './inspector.devdocs.json'; diff --git a/api_docs/interactive_setup.mdx b/api_docs/interactive_setup.mdx index 725b53c8d5e12..d83052d85bec5 100644 --- a/api_docs/interactive_setup.mdx +++ b/api_docs/interactive_setup.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/interactiveSetup title: "interactiveSetup" image: https://source.unsplash.com/400x175/?github description: API docs for the interactiveSetup plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'interactiveSetup'] --- import interactiveSetupObj from './interactive_setup.devdocs.json'; diff --git a/api_docs/kbn_ace.mdx b/api_docs/kbn_ace.mdx index c883f27e694f1..95952e9c2d3f1 100644 --- a/api_docs/kbn_ace.mdx +++ b/api_docs/kbn_ace.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ace title: "@kbn/ace" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ace plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ace'] --- import kbnAceObj from './kbn_ace.devdocs.json'; diff --git a/api_docs/kbn_aiops_components.mdx b/api_docs/kbn_aiops_components.mdx index 59fe0acd596b5..de14ba43d90ad 100644 --- a/api_docs/kbn_aiops_components.mdx +++ b/api_docs/kbn_aiops_components.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-aiops-components title: "@kbn/aiops-components" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/aiops-components plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/aiops-components'] --- import kbnAiopsComponentsObj from './kbn_aiops_components.devdocs.json'; diff --git a/api_docs/kbn_aiops_utils.mdx b/api_docs/kbn_aiops_utils.mdx index c4bf8dcc5170c..5ebf8344d0a79 100644 --- a/api_docs/kbn_aiops_utils.mdx +++ b/api_docs/kbn_aiops_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-aiops-utils title: "@kbn/aiops-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/aiops-utils plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/aiops-utils'] --- import kbnAiopsUtilsObj from './kbn_aiops_utils.devdocs.json'; diff --git a/api_docs/kbn_alerts.mdx b/api_docs/kbn_alerts.mdx index e02a461e07a5c..e5aed58ec14a6 100644 --- a/api_docs/kbn_alerts.mdx +++ b/api_docs/kbn_alerts.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-alerts title: "@kbn/alerts" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/alerts plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/alerts'] --- import kbnAlertsObj from './kbn_alerts.devdocs.json'; diff --git a/api_docs/kbn_analytics.mdx b/api_docs/kbn_analytics.mdx index 47ef34e7033dd..7f792065ed030 100644 --- a/api_docs/kbn_analytics.mdx +++ b/api_docs/kbn_analytics.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-analytics title: "@kbn/analytics" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/analytics plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics'] --- import kbnAnalyticsObj from './kbn_analytics.devdocs.json'; diff --git a/api_docs/kbn_analytics_client.mdx b/api_docs/kbn_analytics_client.mdx index 8481e92961abf..766880ee3d246 100644 --- a/api_docs/kbn_analytics_client.mdx +++ b/api_docs/kbn_analytics_client.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-analytics-client title: "@kbn/analytics-client" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/analytics-client plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics-client'] --- import kbnAnalyticsClientObj from './kbn_analytics_client.devdocs.json'; diff --git a/api_docs/kbn_analytics_shippers_elastic_v3_browser.mdx b/api_docs/kbn_analytics_shippers_elastic_v3_browser.mdx index f11e6eaa69863..b40bf3cf25516 100644 --- a/api_docs/kbn_analytics_shippers_elastic_v3_browser.mdx +++ b/api_docs/kbn_analytics_shippers_elastic_v3_browser.mdx @@ -8,7 +8,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 description: API docs for the @kbn/analytics-shippers-elastic-v3-browser plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics-shippers-elastic-v3-browser'] --- import kbnAnalyticsShippersElasticV3BrowserObj from './kbn_analytics_shippers_elastic_v3_browser.devdocs.json'; diff --git a/api_docs/kbn_analytics_shippers_elastic_v3_common.mdx b/api_docs/kbn_analytics_shippers_elastic_v3_common.mdx index 7f6c81657e186..9165fe030a5b3 100644 --- a/api_docs/kbn_analytics_shippers_elastic_v3_common.mdx +++ b/api_docs/kbn_analytics_shippers_elastic_v3_common.mdx @@ -8,7 +8,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 description: API docs for the @kbn/analytics-shippers-elastic-v3-common plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics-shippers-elastic-v3-common'] --- import kbnAnalyticsShippersElasticV3CommonObj from './kbn_analytics_shippers_elastic_v3_common.devdocs.json'; diff --git a/api_docs/kbn_analytics_shippers_elastic_v3_server.mdx b/api_docs/kbn_analytics_shippers_elastic_v3_server.mdx index a260493db0bb0..5232acee8a742 100644 --- a/api_docs/kbn_analytics_shippers_elastic_v3_server.mdx +++ b/api_docs/kbn_analytics_shippers_elastic_v3_server.mdx @@ -8,7 +8,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 description: API docs for the @kbn/analytics-shippers-elastic-v3-server plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics-shippers-elastic-v3-server'] --- import kbnAnalyticsShippersElasticV3ServerObj from './kbn_analytics_shippers_elastic_v3_server.devdocs.json'; diff --git a/api_docs/kbn_analytics_shippers_fullstory.mdx b/api_docs/kbn_analytics_shippers_fullstory.mdx index 0603fd70a01a9..4ce115a2b872d 100644 --- a/api_docs/kbn_analytics_shippers_fullstory.mdx +++ b/api_docs/kbn_analytics_shippers_fullstory.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-analytics-shippers-fullstory title: "@kbn/analytics-shippers-fullstory" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/analytics-shippers-fullstory plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics-shippers-fullstory'] --- import kbnAnalyticsShippersFullstoryObj from './kbn_analytics_shippers_fullstory.devdocs.json'; diff --git a/api_docs/kbn_analytics_shippers_gainsight.mdx b/api_docs/kbn_analytics_shippers_gainsight.mdx index 5b3f6e7ebcc14..1945154b53c26 100644 --- a/api_docs/kbn_analytics_shippers_gainsight.mdx +++ b/api_docs/kbn_analytics_shippers_gainsight.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-analytics-shippers-gainsight title: "@kbn/analytics-shippers-gainsight" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/analytics-shippers-gainsight plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics-shippers-gainsight'] --- import kbnAnalyticsShippersGainsightObj from './kbn_analytics_shippers_gainsight.devdocs.json'; diff --git a/api_docs/kbn_apm_config_loader.mdx b/api_docs/kbn_apm_config_loader.mdx index 0a1876b6dc723..167d2760e8d0a 100644 --- a/api_docs/kbn_apm_config_loader.mdx +++ b/api_docs/kbn_apm_config_loader.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-apm-config-loader title: "@kbn/apm-config-loader" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/apm-config-loader plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/apm-config-loader'] --- import kbnApmConfigLoaderObj from './kbn_apm_config_loader.devdocs.json'; diff --git a/api_docs/kbn_apm_synthtrace.mdx b/api_docs/kbn_apm_synthtrace.mdx index f2d158d806df7..c0e119389b9bf 100644 --- a/api_docs/kbn_apm_synthtrace.mdx +++ b/api_docs/kbn_apm_synthtrace.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-apm-synthtrace title: "@kbn/apm-synthtrace" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/apm-synthtrace plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/apm-synthtrace'] --- import kbnApmSynthtraceObj from './kbn_apm_synthtrace.devdocs.json'; diff --git a/api_docs/kbn_apm_utils.mdx b/api_docs/kbn_apm_utils.mdx index f9bda8cd345e1..ffd42f570c8b5 100644 --- a/api_docs/kbn_apm_utils.mdx +++ b/api_docs/kbn_apm_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-apm-utils title: "@kbn/apm-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/apm-utils plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/apm-utils'] --- import kbnApmUtilsObj from './kbn_apm_utils.devdocs.json'; diff --git a/api_docs/kbn_axe_config.mdx b/api_docs/kbn_axe_config.mdx index 7eed0bacca678..da7e8a6f0efca 100644 --- a/api_docs/kbn_axe_config.mdx +++ b/api_docs/kbn_axe_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-axe-config title: "@kbn/axe-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/axe-config plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/axe-config'] --- import kbnAxeConfigObj from './kbn_axe_config.devdocs.json'; diff --git a/api_docs/kbn_cases_components.mdx b/api_docs/kbn_cases_components.mdx index 98f8a8e26d919..476f2aa86673e 100644 --- a/api_docs/kbn_cases_components.mdx +++ b/api_docs/kbn_cases_components.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-cases-components title: "@kbn/cases-components" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/cases-components plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/cases-components'] --- import kbnCasesComponentsObj from './kbn_cases_components.devdocs.json'; diff --git a/api_docs/kbn_chart_icons.mdx b/api_docs/kbn_chart_icons.mdx index 9e7dad9e5af45..2281bf38d2c7a 100644 --- a/api_docs/kbn_chart_icons.mdx +++ b/api_docs/kbn_chart_icons.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-chart-icons title: "@kbn/chart-icons" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/chart-icons plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/chart-icons'] --- import kbnChartIconsObj from './kbn_chart_icons.devdocs.json'; diff --git a/api_docs/kbn_ci_stats_core.mdx b/api_docs/kbn_ci_stats_core.mdx index f9f7fba403a83..4fe0139ffcef2 100644 --- a/api_docs/kbn_ci_stats_core.mdx +++ b/api_docs/kbn_ci_stats_core.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ci-stats-core title: "@kbn/ci-stats-core" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ci-stats-core plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ci-stats-core'] --- import kbnCiStatsCoreObj from './kbn_ci_stats_core.devdocs.json'; diff --git a/api_docs/kbn_ci_stats_performance_metrics.mdx b/api_docs/kbn_ci_stats_performance_metrics.mdx index 78416a96930b5..6202bd18fa0f5 100644 --- a/api_docs/kbn_ci_stats_performance_metrics.mdx +++ b/api_docs/kbn_ci_stats_performance_metrics.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ci-stats-performance-metrics title: "@kbn/ci-stats-performance-metrics" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ci-stats-performance-metrics plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ci-stats-performance-metrics'] --- import kbnCiStatsPerformanceMetricsObj from './kbn_ci_stats_performance_metrics.devdocs.json'; diff --git a/api_docs/kbn_ci_stats_reporter.mdx b/api_docs/kbn_ci_stats_reporter.mdx index e5069892fa2d2..cda58f6984e3e 100644 --- a/api_docs/kbn_ci_stats_reporter.mdx +++ b/api_docs/kbn_ci_stats_reporter.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ci-stats-reporter title: "@kbn/ci-stats-reporter" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ci-stats-reporter plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ci-stats-reporter'] --- import kbnCiStatsReporterObj from './kbn_ci_stats_reporter.devdocs.json'; diff --git a/api_docs/kbn_cli_dev_mode.mdx b/api_docs/kbn_cli_dev_mode.mdx index 9288a8e83e9f8..f5191dc11ca80 100644 --- a/api_docs/kbn_cli_dev_mode.mdx +++ b/api_docs/kbn_cli_dev_mode.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-cli-dev-mode title: "@kbn/cli-dev-mode" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/cli-dev-mode plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/cli-dev-mode'] --- import kbnCliDevModeObj from './kbn_cli_dev_mode.devdocs.json'; diff --git a/api_docs/kbn_coloring.mdx b/api_docs/kbn_coloring.mdx index aad5db9fd347a..b613b83babc34 100644 --- a/api_docs/kbn_coloring.mdx +++ b/api_docs/kbn_coloring.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-coloring title: "@kbn/coloring" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/coloring plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/coloring'] --- import kbnColoringObj from './kbn_coloring.devdocs.json'; diff --git a/api_docs/kbn_config.mdx b/api_docs/kbn_config.mdx index c90c6ac5f0ac1..d5200d17e5d9c 100644 --- a/api_docs/kbn_config.mdx +++ b/api_docs/kbn_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-config title: "@kbn/config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/config plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/config'] --- import kbnConfigObj from './kbn_config.devdocs.json'; diff --git a/api_docs/kbn_config_mocks.mdx b/api_docs/kbn_config_mocks.mdx index 24b8a4d6f7d3c..97390f677e9c3 100644 --- a/api_docs/kbn_config_mocks.mdx +++ b/api_docs/kbn_config_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-config-mocks title: "@kbn/config-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/config-mocks plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/config-mocks'] --- import kbnConfigMocksObj from './kbn_config_mocks.devdocs.json'; diff --git a/api_docs/kbn_config_schema.mdx b/api_docs/kbn_config_schema.mdx index c5bfda8a108f1..a509e6e43650a 100644 --- a/api_docs/kbn_config_schema.mdx +++ b/api_docs/kbn_config_schema.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-config-schema title: "@kbn/config-schema" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/config-schema plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/config-schema'] --- import kbnConfigSchemaObj from './kbn_config_schema.devdocs.json'; diff --git a/api_docs/kbn_content_management_table_list.mdx b/api_docs/kbn_content_management_table_list.mdx index 640644dd25537..d4e6c2f3bc48c 100644 --- a/api_docs/kbn_content_management_table_list.mdx +++ b/api_docs/kbn_content_management_table_list.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-content-management-table-list title: "@kbn/content-management-table-list" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/content-management-table-list plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/content-management-table-list'] --- import kbnContentManagementTableListObj from './kbn_content_management_table_list.devdocs.json'; diff --git a/api_docs/kbn_core_analytics_browser.mdx b/api_docs/kbn_core_analytics_browser.mdx index 93ef2f659d64e..296b12d13bf6e 100644 --- a/api_docs/kbn_core_analytics_browser.mdx +++ b/api_docs/kbn_core_analytics_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-browser title: "@kbn/core-analytics-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-analytics-browser plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-analytics-browser'] --- import kbnCoreAnalyticsBrowserObj from './kbn_core_analytics_browser.devdocs.json'; diff --git a/api_docs/kbn_core_analytics_browser_internal.mdx b/api_docs/kbn_core_analytics_browser_internal.mdx index 9710daec90e5f..cef19c4700c6c 100644 --- a/api_docs/kbn_core_analytics_browser_internal.mdx +++ b/api_docs/kbn_core_analytics_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-browser-internal title: "@kbn/core-analytics-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-analytics-browser-internal plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-analytics-browser-internal'] --- import kbnCoreAnalyticsBrowserInternalObj from './kbn_core_analytics_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_analytics_browser_mocks.mdx b/api_docs/kbn_core_analytics_browser_mocks.mdx index 2bf493eab65bc..50520d77668de 100644 --- a/api_docs/kbn_core_analytics_browser_mocks.mdx +++ b/api_docs/kbn_core_analytics_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-browser-mocks title: "@kbn/core-analytics-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-analytics-browser-mocks plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-analytics-browser-mocks'] --- import kbnCoreAnalyticsBrowserMocksObj from './kbn_core_analytics_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_analytics_server.mdx b/api_docs/kbn_core_analytics_server.mdx index 88ff29aa1895b..aac0cfb74f591 100644 --- a/api_docs/kbn_core_analytics_server.mdx +++ b/api_docs/kbn_core_analytics_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-server title: "@kbn/core-analytics-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-analytics-server plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-analytics-server'] --- import kbnCoreAnalyticsServerObj from './kbn_core_analytics_server.devdocs.json'; diff --git a/api_docs/kbn_core_analytics_server_internal.mdx b/api_docs/kbn_core_analytics_server_internal.mdx index 8f2a8088cf00a..505b59444fecd 100644 --- a/api_docs/kbn_core_analytics_server_internal.mdx +++ b/api_docs/kbn_core_analytics_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-server-internal title: "@kbn/core-analytics-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-analytics-server-internal plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-analytics-server-internal'] --- import kbnCoreAnalyticsServerInternalObj from './kbn_core_analytics_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_analytics_server_mocks.mdx b/api_docs/kbn_core_analytics_server_mocks.mdx index 0a3b97751da01..4c392de1a5c34 100644 --- a/api_docs/kbn_core_analytics_server_mocks.mdx +++ b/api_docs/kbn_core_analytics_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-server-mocks title: "@kbn/core-analytics-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-analytics-server-mocks plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-analytics-server-mocks'] --- import kbnCoreAnalyticsServerMocksObj from './kbn_core_analytics_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_application_browser.mdx b/api_docs/kbn_core_application_browser.mdx index 4bdbc3545664e..fb9bae1b22c16 100644 --- a/api_docs/kbn_core_application_browser.mdx +++ b/api_docs/kbn_core_application_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-application-browser title: "@kbn/core-application-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-application-browser plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-application-browser'] --- import kbnCoreApplicationBrowserObj from './kbn_core_application_browser.devdocs.json'; diff --git a/api_docs/kbn_core_application_browser_internal.mdx b/api_docs/kbn_core_application_browser_internal.mdx index d301fea8b3995..753937573ceb5 100644 --- a/api_docs/kbn_core_application_browser_internal.mdx +++ b/api_docs/kbn_core_application_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-application-browser-internal title: "@kbn/core-application-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-application-browser-internal plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-application-browser-internal'] --- import kbnCoreApplicationBrowserInternalObj from './kbn_core_application_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_application_browser_mocks.mdx b/api_docs/kbn_core_application_browser_mocks.mdx index ee6e76a228098..457ed85ff463e 100644 --- a/api_docs/kbn_core_application_browser_mocks.mdx +++ b/api_docs/kbn_core_application_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-application-browser-mocks title: "@kbn/core-application-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-application-browser-mocks plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-application-browser-mocks'] --- import kbnCoreApplicationBrowserMocksObj from './kbn_core_application_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_application_common.mdx b/api_docs/kbn_core_application_common.mdx index 3a7a01aa3d733..9141e044c07ed 100644 --- a/api_docs/kbn_core_application_common.mdx +++ b/api_docs/kbn_core_application_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-application-common title: "@kbn/core-application-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-application-common plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-application-common'] --- import kbnCoreApplicationCommonObj from './kbn_core_application_common.devdocs.json'; diff --git a/api_docs/kbn_core_apps_browser_internal.mdx b/api_docs/kbn_core_apps_browser_internal.mdx index d396b616ce5a0..92807451ddf24 100644 --- a/api_docs/kbn_core_apps_browser_internal.mdx +++ b/api_docs/kbn_core_apps_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-apps-browser-internal title: "@kbn/core-apps-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-apps-browser-internal plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-apps-browser-internal'] --- import kbnCoreAppsBrowserInternalObj from './kbn_core_apps_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_apps_browser_mocks.mdx b/api_docs/kbn_core_apps_browser_mocks.mdx index 63df5fb47dddb..1225a4754126a 100644 --- a/api_docs/kbn_core_apps_browser_mocks.mdx +++ b/api_docs/kbn_core_apps_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-apps-browser-mocks title: "@kbn/core-apps-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-apps-browser-mocks plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-apps-browser-mocks'] --- import kbnCoreAppsBrowserMocksObj from './kbn_core_apps_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_base_browser_mocks.mdx b/api_docs/kbn_core_base_browser_mocks.mdx index 21865790488c8..70f1aab98ee17 100644 --- a/api_docs/kbn_core_base_browser_mocks.mdx +++ b/api_docs/kbn_core_base_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-base-browser-mocks title: "@kbn/core-base-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-base-browser-mocks plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-base-browser-mocks'] --- import kbnCoreBaseBrowserMocksObj from './kbn_core_base_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_base_common.mdx b/api_docs/kbn_core_base_common.mdx index 3f26cee3ef0b9..8d20cf01e07c4 100644 --- a/api_docs/kbn_core_base_common.mdx +++ b/api_docs/kbn_core_base_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-base-common title: "@kbn/core-base-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-base-common plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-base-common'] --- import kbnCoreBaseCommonObj from './kbn_core_base_common.devdocs.json'; diff --git a/api_docs/kbn_core_base_server_internal.mdx b/api_docs/kbn_core_base_server_internal.mdx index 6062db7ca4925..3c844d22be101 100644 --- a/api_docs/kbn_core_base_server_internal.mdx +++ b/api_docs/kbn_core_base_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-base-server-internal title: "@kbn/core-base-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-base-server-internal plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-base-server-internal'] --- import kbnCoreBaseServerInternalObj from './kbn_core_base_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_base_server_mocks.mdx b/api_docs/kbn_core_base_server_mocks.mdx index 41ac3508ac4e0..e09c75f962d7d 100644 --- a/api_docs/kbn_core_base_server_mocks.mdx +++ b/api_docs/kbn_core_base_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-base-server-mocks title: "@kbn/core-base-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-base-server-mocks plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-base-server-mocks'] --- import kbnCoreBaseServerMocksObj from './kbn_core_base_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_capabilities_browser_mocks.mdx b/api_docs/kbn_core_capabilities_browser_mocks.mdx index bd0456b73661f..fdea8c4c3a09a 100644 --- a/api_docs/kbn_core_capabilities_browser_mocks.mdx +++ b/api_docs/kbn_core_capabilities_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-capabilities-browser-mocks title: "@kbn/core-capabilities-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-capabilities-browser-mocks plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-capabilities-browser-mocks'] --- import kbnCoreCapabilitiesBrowserMocksObj from './kbn_core_capabilities_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_capabilities_common.mdx b/api_docs/kbn_core_capabilities_common.mdx index 70e1e52d9da54..37e09a46d51c5 100644 --- a/api_docs/kbn_core_capabilities_common.mdx +++ b/api_docs/kbn_core_capabilities_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-capabilities-common title: "@kbn/core-capabilities-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-capabilities-common plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-capabilities-common'] --- import kbnCoreCapabilitiesCommonObj from './kbn_core_capabilities_common.devdocs.json'; diff --git a/api_docs/kbn_core_capabilities_server.mdx b/api_docs/kbn_core_capabilities_server.mdx index 65bb710cdd2f6..2d7aeea5d9b3b 100644 --- a/api_docs/kbn_core_capabilities_server.mdx +++ b/api_docs/kbn_core_capabilities_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-capabilities-server title: "@kbn/core-capabilities-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-capabilities-server plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-capabilities-server'] --- import kbnCoreCapabilitiesServerObj from './kbn_core_capabilities_server.devdocs.json'; diff --git a/api_docs/kbn_core_capabilities_server_mocks.mdx b/api_docs/kbn_core_capabilities_server_mocks.mdx index 8ea8de936d8bd..29b635d8f4196 100644 --- a/api_docs/kbn_core_capabilities_server_mocks.mdx +++ b/api_docs/kbn_core_capabilities_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-capabilities-server-mocks title: "@kbn/core-capabilities-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-capabilities-server-mocks plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-capabilities-server-mocks'] --- import kbnCoreCapabilitiesServerMocksObj from './kbn_core_capabilities_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_chrome_browser.mdx b/api_docs/kbn_core_chrome_browser.mdx index 1bbf3102194d4..ca0d498985991 100644 --- a/api_docs/kbn_core_chrome_browser.mdx +++ b/api_docs/kbn_core_chrome_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-chrome-browser title: "@kbn/core-chrome-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-chrome-browser plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-chrome-browser'] --- import kbnCoreChromeBrowserObj from './kbn_core_chrome_browser.devdocs.json'; diff --git a/api_docs/kbn_core_chrome_browser_mocks.mdx b/api_docs/kbn_core_chrome_browser_mocks.mdx index 63638e0892063..271c9cf1cf235 100644 --- a/api_docs/kbn_core_chrome_browser_mocks.mdx +++ b/api_docs/kbn_core_chrome_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-chrome-browser-mocks title: "@kbn/core-chrome-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-chrome-browser-mocks plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-chrome-browser-mocks'] --- import kbnCoreChromeBrowserMocksObj from './kbn_core_chrome_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_config_server_internal.mdx b/api_docs/kbn_core_config_server_internal.mdx index 74f2799d9a5e8..3dbac556cc0fa 100644 --- a/api_docs/kbn_core_config_server_internal.mdx +++ b/api_docs/kbn_core_config_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-config-server-internal title: "@kbn/core-config-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-config-server-internal plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-config-server-internal'] --- import kbnCoreConfigServerInternalObj from './kbn_core_config_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_deprecations_browser.mdx b/api_docs/kbn_core_deprecations_browser.mdx index dd3821da42055..9bd25df3c950a 100644 --- a/api_docs/kbn_core_deprecations_browser.mdx +++ b/api_docs/kbn_core_deprecations_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-browser title: "@kbn/core-deprecations-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-browser plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-deprecations-browser'] --- import kbnCoreDeprecationsBrowserObj from './kbn_core_deprecations_browser.devdocs.json'; diff --git a/api_docs/kbn_core_deprecations_browser_internal.mdx b/api_docs/kbn_core_deprecations_browser_internal.mdx index 41338f8efb4e8..ac0ef00d5e17f 100644 --- a/api_docs/kbn_core_deprecations_browser_internal.mdx +++ b/api_docs/kbn_core_deprecations_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-browser-internal title: "@kbn/core-deprecations-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-browser-internal plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-deprecations-browser-internal'] --- import kbnCoreDeprecationsBrowserInternalObj from './kbn_core_deprecations_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_deprecations_browser_mocks.mdx b/api_docs/kbn_core_deprecations_browser_mocks.mdx index 5b620ac4cd430..f3ee361b6a074 100644 --- a/api_docs/kbn_core_deprecations_browser_mocks.mdx +++ b/api_docs/kbn_core_deprecations_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-browser-mocks title: "@kbn/core-deprecations-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-browser-mocks plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-deprecations-browser-mocks'] --- import kbnCoreDeprecationsBrowserMocksObj from './kbn_core_deprecations_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_deprecations_common.mdx b/api_docs/kbn_core_deprecations_common.mdx index b84a28ba947c3..04b8b09b91be8 100644 --- a/api_docs/kbn_core_deprecations_common.mdx +++ b/api_docs/kbn_core_deprecations_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-common title: "@kbn/core-deprecations-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-common plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-deprecations-common'] --- import kbnCoreDeprecationsCommonObj from './kbn_core_deprecations_common.devdocs.json'; diff --git a/api_docs/kbn_core_deprecations_server.mdx b/api_docs/kbn_core_deprecations_server.mdx index 199040ad6d5a6..f1ecabdba0e89 100644 --- a/api_docs/kbn_core_deprecations_server.mdx +++ b/api_docs/kbn_core_deprecations_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-server title: "@kbn/core-deprecations-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-server plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-deprecations-server'] --- import kbnCoreDeprecationsServerObj from './kbn_core_deprecations_server.devdocs.json'; diff --git a/api_docs/kbn_core_deprecations_server_internal.mdx b/api_docs/kbn_core_deprecations_server_internal.mdx index 5d23f084abb34..9d1dae9d5dfa8 100644 --- a/api_docs/kbn_core_deprecations_server_internal.mdx +++ b/api_docs/kbn_core_deprecations_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-server-internal title: "@kbn/core-deprecations-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-server-internal plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-deprecations-server-internal'] --- import kbnCoreDeprecationsServerInternalObj from './kbn_core_deprecations_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_deprecations_server_mocks.mdx b/api_docs/kbn_core_deprecations_server_mocks.mdx index 1d0c938d51724..e783e87e17ebc 100644 --- a/api_docs/kbn_core_deprecations_server_mocks.mdx +++ b/api_docs/kbn_core_deprecations_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-server-mocks title: "@kbn/core-deprecations-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-server-mocks plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-deprecations-server-mocks'] --- import kbnCoreDeprecationsServerMocksObj from './kbn_core_deprecations_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_doc_links_browser.mdx b/api_docs/kbn_core_doc_links_browser.mdx index 76bfb31e4ae26..7e1dfa6f526b0 100644 --- a/api_docs/kbn_core_doc_links_browser.mdx +++ b/api_docs/kbn_core_doc_links_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-doc-links-browser title: "@kbn/core-doc-links-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-doc-links-browser plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-doc-links-browser'] --- import kbnCoreDocLinksBrowserObj from './kbn_core_doc_links_browser.devdocs.json'; diff --git a/api_docs/kbn_core_doc_links_browser_mocks.mdx b/api_docs/kbn_core_doc_links_browser_mocks.mdx index a6e0e3bcd018a..a15285b952aea 100644 --- a/api_docs/kbn_core_doc_links_browser_mocks.mdx +++ b/api_docs/kbn_core_doc_links_browser_mocks.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-doc-links-browser-mocks plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-doc-links-browser-mocks'] --- import kbnCoreDocLinksBrowserMocksObj from './kbn_core_doc_links_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_doc_links_server.mdx b/api_docs/kbn_core_doc_links_server.mdx index 303a88b0c5913..5dd7a404f129b 100644 --- a/api_docs/kbn_core_doc_links_server.mdx +++ b/api_docs/kbn_core_doc_links_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-doc-links-server title: "@kbn/core-doc-links-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-doc-links-server plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-doc-links-server'] --- import kbnCoreDocLinksServerObj from './kbn_core_doc_links_server.devdocs.json'; diff --git a/api_docs/kbn_core_doc_links_server_mocks.mdx b/api_docs/kbn_core_doc_links_server_mocks.mdx index 2a52e92957841..4ca8054da938d 100644 --- a/api_docs/kbn_core_doc_links_server_mocks.mdx +++ b/api_docs/kbn_core_doc_links_server_mocks.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-doc-links-server-mocks plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-doc-links-server-mocks'] --- import kbnCoreDocLinksServerMocksObj from './kbn_core_doc_links_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_elasticsearch_client_server_internal.mdx b/api_docs/kbn_core_elasticsearch_client_server_internal.mdx index 3b66f6c09efc5..4da3b5040bcf2 100644 --- a/api_docs/kbn_core_elasticsearch_client_server_internal.mdx +++ b/api_docs/kbn_core_elasticsearch_client_server_internal.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-elasticsearch-client-server-internal plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-elasticsearch-client-server-internal'] --- import kbnCoreElasticsearchClientServerInternalObj from './kbn_core_elasticsearch_client_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_elasticsearch_client_server_mocks.mdx b/api_docs/kbn_core_elasticsearch_client_server_mocks.mdx index 10120fdbabde8..455acf405e723 100644 --- a/api_docs/kbn_core_elasticsearch_client_server_mocks.mdx +++ b/api_docs/kbn_core_elasticsearch_client_server_mocks.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-elasticsearch-client-server-mocks plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-elasticsearch-client-server-mocks'] --- import kbnCoreElasticsearchClientServerMocksObj from './kbn_core_elasticsearch_client_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_elasticsearch_server.mdx b/api_docs/kbn_core_elasticsearch_server.mdx index d1070c300c6ff..a36566ab8bf71 100644 --- a/api_docs/kbn_core_elasticsearch_server.mdx +++ b/api_docs/kbn_core_elasticsearch_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-elasticsearch-server title: "@kbn/core-elasticsearch-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-elasticsearch-server plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-elasticsearch-server'] --- import kbnCoreElasticsearchServerObj from './kbn_core_elasticsearch_server.devdocs.json'; diff --git a/api_docs/kbn_core_elasticsearch_server_internal.mdx b/api_docs/kbn_core_elasticsearch_server_internal.mdx index 279be99a4cd00..635d4084f0bf6 100644 --- a/api_docs/kbn_core_elasticsearch_server_internal.mdx +++ b/api_docs/kbn_core_elasticsearch_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-elasticsearch-server-internal title: "@kbn/core-elasticsearch-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-elasticsearch-server-internal plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-elasticsearch-server-internal'] --- import kbnCoreElasticsearchServerInternalObj from './kbn_core_elasticsearch_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_elasticsearch_server_mocks.mdx b/api_docs/kbn_core_elasticsearch_server_mocks.mdx index 1b7ba38c4bc4e..06e1df815b88c 100644 --- a/api_docs/kbn_core_elasticsearch_server_mocks.mdx +++ b/api_docs/kbn_core_elasticsearch_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-elasticsearch-server-mocks title: "@kbn/core-elasticsearch-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-elasticsearch-server-mocks plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-elasticsearch-server-mocks'] --- import kbnCoreElasticsearchServerMocksObj from './kbn_core_elasticsearch_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_environment_server_internal.mdx b/api_docs/kbn_core_environment_server_internal.mdx index e1cb1def104bb..d34c2e7c010d7 100644 --- a/api_docs/kbn_core_environment_server_internal.mdx +++ b/api_docs/kbn_core_environment_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-environment-server-internal title: "@kbn/core-environment-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-environment-server-internal plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-environment-server-internal'] --- import kbnCoreEnvironmentServerInternalObj from './kbn_core_environment_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_environment_server_mocks.mdx b/api_docs/kbn_core_environment_server_mocks.mdx index 989fbedb5b96c..a7115bc7d28fb 100644 --- a/api_docs/kbn_core_environment_server_mocks.mdx +++ b/api_docs/kbn_core_environment_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-environment-server-mocks title: "@kbn/core-environment-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-environment-server-mocks plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-environment-server-mocks'] --- import kbnCoreEnvironmentServerMocksObj from './kbn_core_environment_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_execution_context_browser.mdx b/api_docs/kbn_core_execution_context_browser.mdx index de06605342fdf..454483bfbcb5d 100644 --- a/api_docs/kbn_core_execution_context_browser.mdx +++ b/api_docs/kbn_core_execution_context_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-browser title: "@kbn/core-execution-context-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-execution-context-browser plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-browser'] --- import kbnCoreExecutionContextBrowserObj from './kbn_core_execution_context_browser.devdocs.json'; diff --git a/api_docs/kbn_core_execution_context_browser_internal.mdx b/api_docs/kbn_core_execution_context_browser_internal.mdx index 2ccb36ae62dd9..9f6aff27e2ca3 100644 --- a/api_docs/kbn_core_execution_context_browser_internal.mdx +++ b/api_docs/kbn_core_execution_context_browser_internal.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-execution-context-browser-internal plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-browser-internal'] --- import kbnCoreExecutionContextBrowserInternalObj from './kbn_core_execution_context_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_execution_context_browser_mocks.mdx b/api_docs/kbn_core_execution_context_browser_mocks.mdx index 15b2e254f0461..6e1eeff6a50e4 100644 --- a/api_docs/kbn_core_execution_context_browser_mocks.mdx +++ b/api_docs/kbn_core_execution_context_browser_mocks.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-execution-context-browser-mocks plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-browser-mocks'] --- import kbnCoreExecutionContextBrowserMocksObj from './kbn_core_execution_context_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_execution_context_common.mdx b/api_docs/kbn_core_execution_context_common.mdx index 17d3f25ce2b6b..6fbaf2ea1d37c 100644 --- a/api_docs/kbn_core_execution_context_common.mdx +++ b/api_docs/kbn_core_execution_context_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-common title: "@kbn/core-execution-context-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-execution-context-common plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-common'] --- import kbnCoreExecutionContextCommonObj from './kbn_core_execution_context_common.devdocs.json'; diff --git a/api_docs/kbn_core_execution_context_server.mdx b/api_docs/kbn_core_execution_context_server.mdx index 0c4078c101557..7e8fc5a4a9b3a 100644 --- a/api_docs/kbn_core_execution_context_server.mdx +++ b/api_docs/kbn_core_execution_context_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-server title: "@kbn/core-execution-context-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-execution-context-server plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-server'] --- import kbnCoreExecutionContextServerObj from './kbn_core_execution_context_server.devdocs.json'; diff --git a/api_docs/kbn_core_execution_context_server_internal.mdx b/api_docs/kbn_core_execution_context_server_internal.mdx index f14704772868f..3db9406ef51ab 100644 --- a/api_docs/kbn_core_execution_context_server_internal.mdx +++ b/api_docs/kbn_core_execution_context_server_internal.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-execution-context-server-internal plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-server-internal'] --- import kbnCoreExecutionContextServerInternalObj from './kbn_core_execution_context_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_execution_context_server_mocks.mdx b/api_docs/kbn_core_execution_context_server_mocks.mdx index 7e368e7d2ecd0..2b9a091b73fb4 100644 --- a/api_docs/kbn_core_execution_context_server_mocks.mdx +++ b/api_docs/kbn_core_execution_context_server_mocks.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-execution-context-server-mocks plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-server-mocks'] --- import kbnCoreExecutionContextServerMocksObj from './kbn_core_execution_context_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_fatal_errors_browser.mdx b/api_docs/kbn_core_fatal_errors_browser.mdx index dca1ed6dc358c..5cd10e1427b3f 100644 --- a/api_docs/kbn_core_fatal_errors_browser.mdx +++ b/api_docs/kbn_core_fatal_errors_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-fatal-errors-browser title: "@kbn/core-fatal-errors-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-fatal-errors-browser plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-fatal-errors-browser'] --- import kbnCoreFatalErrorsBrowserObj from './kbn_core_fatal_errors_browser.devdocs.json'; diff --git a/api_docs/kbn_core_fatal_errors_browser_mocks.mdx b/api_docs/kbn_core_fatal_errors_browser_mocks.mdx index 2628319ec2976..acfd67fd663f4 100644 --- a/api_docs/kbn_core_fatal_errors_browser_mocks.mdx +++ b/api_docs/kbn_core_fatal_errors_browser_mocks.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-fatal-errors-browser-mocks plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-fatal-errors-browser-mocks'] --- import kbnCoreFatalErrorsBrowserMocksObj from './kbn_core_fatal_errors_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_http_browser.mdx b/api_docs/kbn_core_http_browser.mdx index fb47a32dd758d..9fab11d719d39 100644 --- a/api_docs/kbn_core_http_browser.mdx +++ b/api_docs/kbn_core_http_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-browser title: "@kbn/core-http-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-browser plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-browser'] --- import kbnCoreHttpBrowserObj from './kbn_core_http_browser.devdocs.json'; diff --git a/api_docs/kbn_core_http_browser_internal.mdx b/api_docs/kbn_core_http_browser_internal.mdx index d368390b9ce6e..795ac1c1cf613 100644 --- a/api_docs/kbn_core_http_browser_internal.mdx +++ b/api_docs/kbn_core_http_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-browser-internal title: "@kbn/core-http-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-browser-internal plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-browser-internal'] --- import kbnCoreHttpBrowserInternalObj from './kbn_core_http_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_http_browser_mocks.mdx b/api_docs/kbn_core_http_browser_mocks.mdx index 00b94f830d04e..38a386f2d52ef 100644 --- a/api_docs/kbn_core_http_browser_mocks.mdx +++ b/api_docs/kbn_core_http_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-browser-mocks title: "@kbn/core-http-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-browser-mocks plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-browser-mocks'] --- import kbnCoreHttpBrowserMocksObj from './kbn_core_http_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_http_common.mdx b/api_docs/kbn_core_http_common.mdx index dd6f30a295b9d..ee9aa20c6090a 100644 --- a/api_docs/kbn_core_http_common.mdx +++ b/api_docs/kbn_core_http_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-common title: "@kbn/core-http-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-common plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-common'] --- import kbnCoreHttpCommonObj from './kbn_core_http_common.devdocs.json'; diff --git a/api_docs/kbn_core_http_context_server_mocks.mdx b/api_docs/kbn_core_http_context_server_mocks.mdx index e48df4f6f93e0..8c2e78d8db526 100644 --- a/api_docs/kbn_core_http_context_server_mocks.mdx +++ b/api_docs/kbn_core_http_context_server_mocks.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-http-context-server-mocks plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-context-server-mocks'] --- import kbnCoreHttpContextServerMocksObj from './kbn_core_http_context_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_http_request_handler_context_server.mdx b/api_docs/kbn_core_http_request_handler_context_server.mdx index c685ae7c4cfae..946fa06e34db4 100644 --- a/api_docs/kbn_core_http_request_handler_context_server.mdx +++ b/api_docs/kbn_core_http_request_handler_context_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-request-handler-context-server title: "@kbn/core-http-request-handler-context-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-request-handler-context-server plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-request-handler-context-server'] --- import kbnCoreHttpRequestHandlerContextServerObj from './kbn_core_http_request_handler_context_server.devdocs.json'; diff --git a/api_docs/kbn_core_http_resources_server.mdx b/api_docs/kbn_core_http_resources_server.mdx index cfdaf1e19dffa..252165678a06d 100644 --- a/api_docs/kbn_core_http_resources_server.mdx +++ b/api_docs/kbn_core_http_resources_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-resources-server title: "@kbn/core-http-resources-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-resources-server plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-resources-server'] --- import kbnCoreHttpResourcesServerObj from './kbn_core_http_resources_server.devdocs.json'; diff --git a/api_docs/kbn_core_http_resources_server_internal.mdx b/api_docs/kbn_core_http_resources_server_internal.mdx index d9b4b97074378..ede57703e6906 100644 --- a/api_docs/kbn_core_http_resources_server_internal.mdx +++ b/api_docs/kbn_core_http_resources_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-resources-server-internal title: "@kbn/core-http-resources-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-resources-server-internal plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-resources-server-internal'] --- import kbnCoreHttpResourcesServerInternalObj from './kbn_core_http_resources_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_http_resources_server_mocks.mdx b/api_docs/kbn_core_http_resources_server_mocks.mdx index 4893ebddee666..ee25e21b59703 100644 --- a/api_docs/kbn_core_http_resources_server_mocks.mdx +++ b/api_docs/kbn_core_http_resources_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-resources-server-mocks title: "@kbn/core-http-resources-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-resources-server-mocks plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-resources-server-mocks'] --- import kbnCoreHttpResourcesServerMocksObj from './kbn_core_http_resources_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_http_router_server_internal.mdx b/api_docs/kbn_core_http_router_server_internal.mdx index 4756727ff8943..a8abbf3b0cb2a 100644 --- a/api_docs/kbn_core_http_router_server_internal.mdx +++ b/api_docs/kbn_core_http_router_server_internal.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-http-router-server-internal plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-router-server-internal'] --- import kbnCoreHttpRouterServerInternalObj from './kbn_core_http_router_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_http_router_server_mocks.mdx b/api_docs/kbn_core_http_router_server_mocks.mdx index cdd177ceb0a52..5cd66509c067e 100644 --- a/api_docs/kbn_core_http_router_server_mocks.mdx +++ b/api_docs/kbn_core_http_router_server_mocks.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-http-router-server-mocks plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-router-server-mocks'] --- import kbnCoreHttpRouterServerMocksObj from './kbn_core_http_router_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_http_server.mdx b/api_docs/kbn_core_http_server.mdx index e96d6cf9adbe8..1fd9fd7a34ecd 100644 --- a/api_docs/kbn_core_http_server.mdx +++ b/api_docs/kbn_core_http_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-server title: "@kbn/core-http-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-server plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-server'] --- import kbnCoreHttpServerObj from './kbn_core_http_server.devdocs.json'; diff --git a/api_docs/kbn_core_http_server_internal.mdx b/api_docs/kbn_core_http_server_internal.mdx index 6c904369552a5..e27c392179bfd 100644 --- a/api_docs/kbn_core_http_server_internal.mdx +++ b/api_docs/kbn_core_http_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-server-internal title: "@kbn/core-http-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-server-internal plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-server-internal'] --- import kbnCoreHttpServerInternalObj from './kbn_core_http_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_http_server_mocks.mdx b/api_docs/kbn_core_http_server_mocks.mdx index bc1aad5a78874..327db7c08d54d 100644 --- a/api_docs/kbn_core_http_server_mocks.mdx +++ b/api_docs/kbn_core_http_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-server-mocks title: "@kbn/core-http-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-server-mocks plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-server-mocks'] --- import kbnCoreHttpServerMocksObj from './kbn_core_http_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_i18n_browser.mdx b/api_docs/kbn_core_i18n_browser.mdx index dea993e2070b9..7858aa69f33a6 100644 --- a/api_docs/kbn_core_i18n_browser.mdx +++ b/api_docs/kbn_core_i18n_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-i18n-browser title: "@kbn/core-i18n-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-i18n-browser plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-i18n-browser'] --- import kbnCoreI18nBrowserObj from './kbn_core_i18n_browser.devdocs.json'; diff --git a/api_docs/kbn_core_i18n_browser_mocks.mdx b/api_docs/kbn_core_i18n_browser_mocks.mdx index fd660520c7184..75e8e212134f0 100644 --- a/api_docs/kbn_core_i18n_browser_mocks.mdx +++ b/api_docs/kbn_core_i18n_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-i18n-browser-mocks title: "@kbn/core-i18n-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-i18n-browser-mocks plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-i18n-browser-mocks'] --- import kbnCoreI18nBrowserMocksObj from './kbn_core_i18n_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_i18n_server.mdx b/api_docs/kbn_core_i18n_server.mdx index 95a321317d365..e2909cf12e7ef 100644 --- a/api_docs/kbn_core_i18n_server.mdx +++ b/api_docs/kbn_core_i18n_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-i18n-server title: "@kbn/core-i18n-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-i18n-server plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-i18n-server'] --- import kbnCoreI18nServerObj from './kbn_core_i18n_server.devdocs.json'; diff --git a/api_docs/kbn_core_i18n_server_internal.mdx b/api_docs/kbn_core_i18n_server_internal.mdx index 3fb2794d41129..b835eba9d7ae8 100644 --- a/api_docs/kbn_core_i18n_server_internal.mdx +++ b/api_docs/kbn_core_i18n_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-i18n-server-internal title: "@kbn/core-i18n-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-i18n-server-internal plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-i18n-server-internal'] --- import kbnCoreI18nServerInternalObj from './kbn_core_i18n_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_i18n_server_mocks.mdx b/api_docs/kbn_core_i18n_server_mocks.mdx index c346597846c2b..91cd19ebdc901 100644 --- a/api_docs/kbn_core_i18n_server_mocks.mdx +++ b/api_docs/kbn_core_i18n_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-i18n-server-mocks title: "@kbn/core-i18n-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-i18n-server-mocks plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-i18n-server-mocks'] --- import kbnCoreI18nServerMocksObj from './kbn_core_i18n_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_injected_metadata_browser.mdx b/api_docs/kbn_core_injected_metadata_browser.mdx index 2cc4d782a3ba4..144177ad323a0 100644 --- a/api_docs/kbn_core_injected_metadata_browser.mdx +++ b/api_docs/kbn_core_injected_metadata_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-injected-metadata-browser title: "@kbn/core-injected-metadata-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-injected-metadata-browser plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-injected-metadata-browser'] --- import kbnCoreInjectedMetadataBrowserObj from './kbn_core_injected_metadata_browser.devdocs.json'; diff --git a/api_docs/kbn_core_injected_metadata_browser_mocks.mdx b/api_docs/kbn_core_injected_metadata_browser_mocks.mdx index 882f9db70828c..47219273472eb 100644 --- a/api_docs/kbn_core_injected_metadata_browser_mocks.mdx +++ b/api_docs/kbn_core_injected_metadata_browser_mocks.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-injected-metadata-browser-mocks plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-injected-metadata-browser-mocks'] --- import kbnCoreInjectedMetadataBrowserMocksObj from './kbn_core_injected_metadata_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_integrations_browser_internal.mdx b/api_docs/kbn_core_integrations_browser_internal.mdx index 510755ca28d25..ddbdad606df37 100644 --- a/api_docs/kbn_core_integrations_browser_internal.mdx +++ b/api_docs/kbn_core_integrations_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-integrations-browser-internal title: "@kbn/core-integrations-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-integrations-browser-internal plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-integrations-browser-internal'] --- import kbnCoreIntegrationsBrowserInternalObj from './kbn_core_integrations_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_integrations_browser_mocks.mdx b/api_docs/kbn_core_integrations_browser_mocks.mdx index 986fcdf473883..904ee9393d593 100644 --- a/api_docs/kbn_core_integrations_browser_mocks.mdx +++ b/api_docs/kbn_core_integrations_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-integrations-browser-mocks title: "@kbn/core-integrations-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-integrations-browser-mocks plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-integrations-browser-mocks'] --- import kbnCoreIntegrationsBrowserMocksObj from './kbn_core_integrations_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_lifecycle_browser.mdx b/api_docs/kbn_core_lifecycle_browser.mdx index 95a8b7713abe0..b1b9f192d2fa6 100644 --- a/api_docs/kbn_core_lifecycle_browser.mdx +++ b/api_docs/kbn_core_lifecycle_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-lifecycle-browser title: "@kbn/core-lifecycle-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-lifecycle-browser plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-lifecycle-browser'] --- import kbnCoreLifecycleBrowserObj from './kbn_core_lifecycle_browser.devdocs.json'; diff --git a/api_docs/kbn_core_lifecycle_browser_mocks.mdx b/api_docs/kbn_core_lifecycle_browser_mocks.mdx index bf829fe0c330c..deca9bcb6dc8d 100644 --- a/api_docs/kbn_core_lifecycle_browser_mocks.mdx +++ b/api_docs/kbn_core_lifecycle_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-lifecycle-browser-mocks title: "@kbn/core-lifecycle-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-lifecycle-browser-mocks plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-lifecycle-browser-mocks'] --- import kbnCoreLifecycleBrowserMocksObj from './kbn_core_lifecycle_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_lifecycle_server.mdx b/api_docs/kbn_core_lifecycle_server.mdx index 65a7d411ac120..64d68b923d0cd 100644 --- a/api_docs/kbn_core_lifecycle_server.mdx +++ b/api_docs/kbn_core_lifecycle_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-lifecycle-server title: "@kbn/core-lifecycle-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-lifecycle-server plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-lifecycle-server'] --- import kbnCoreLifecycleServerObj from './kbn_core_lifecycle_server.devdocs.json'; diff --git a/api_docs/kbn_core_lifecycle_server_mocks.mdx b/api_docs/kbn_core_lifecycle_server_mocks.mdx index 80cf8f97ea3a7..f4625c3dc74fd 100644 --- a/api_docs/kbn_core_lifecycle_server_mocks.mdx +++ b/api_docs/kbn_core_lifecycle_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-lifecycle-server-mocks title: "@kbn/core-lifecycle-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-lifecycle-server-mocks plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-lifecycle-server-mocks'] --- import kbnCoreLifecycleServerMocksObj from './kbn_core_lifecycle_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_logging_browser_mocks.devdocs.json b/api_docs/kbn_core_logging_browser_mocks.devdocs.json new file mode 100644 index 0000000000000..5c129ba055dc4 --- /dev/null +++ b/api_docs/kbn_core_logging_browser_mocks.devdocs.json @@ -0,0 +1,98 @@ +{ + "id": "@kbn/core-logging-browser-mocks", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [ + { + "parentPluginId": "@kbn/core-logging-browser-mocks", + "id": "def-common.loggingSystemMock", + "type": "Object", + "tags": [], + "label": "loggingSystemMock", + "description": [], + "path": "packages/core/logging/core-logging-browser-mocks/src/logging_system.mock.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/core-logging-browser-mocks", + "id": "def-common.loggingSystemMock.create", + "type": "Function", + "tags": [], + "label": "create", + "description": [], + "signature": [ + "() => jest.Mocked<", + "IBrowserLoggingSystem", + ">" + ], + "path": "packages/core/logging/core-logging-browser-mocks/src/logging_system.mock.ts", + "deprecated": false, + "trackAdoption": false, + "returnComment": [], + "children": [] + }, + { + "parentPluginId": "@kbn/core-logging-browser-mocks", + "id": "def-common.loggingSystemMock.createLogger", + "type": "Function", + "tags": [], + "label": "createLogger", + "description": [], + "signature": [ + "(context?: string[]) => ", + { + "pluginId": "@kbn/logging-mocks", + "scope": "server", + "docId": "kibKbnLoggingMocksPluginApi", + "section": "def-server.MockedLogger", + "text": "MockedLogger" + } + ], + "path": "packages/core/logging/core-logging-browser-mocks/src/logging_system.mock.ts", + "deprecated": false, + "trackAdoption": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "@kbn/core-logging-browser-mocks", + "id": "def-common.loggingSystemMock.createLogger.$1", + "type": "Array", + "tags": [], + "label": "context", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-logging-mocks/src/logger.mock.ts", + "deprecated": false, + "trackAdoption": false + } + ] + } + ], + "initialIsOpen": false + } + ] + } +} \ No newline at end of file diff --git a/api_docs/kbn_core_logging_browser_mocks.mdx b/api_docs/kbn_core_logging_browser_mocks.mdx new file mode 100644 index 0000000000000..5c822bb58bd68 --- /dev/null +++ b/api_docs/kbn_core_logging_browser_mocks.mdx @@ -0,0 +1,30 @@ +--- +#### +#### This document is auto-generated and is meant to be viewed inside our experimental, new docs system. +#### Reach out in #docs-engineering for more info. +#### +id: kibKbnCoreLoggingBrowserMocksPluginApi +slug: /kibana-dev-docs/api/kbn-core-logging-browser-mocks +title: "@kbn/core-logging-browser-mocks" +image: https://source.unsplash.com/400x175/?github +description: API docs for the @kbn/core-logging-browser-mocks plugin +date: 2022-11-02 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-logging-browser-mocks'] +--- +import kbnCoreLoggingBrowserMocksObj from './kbn_core_logging_browser_mocks.devdocs.json'; + + + +Contact Kibana Core for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 4 | 0 | 4 | 0 | + +## Common + +### Objects + + diff --git a/api_docs/kbn_core_logging_common_internal.devdocs.json b/api_docs/kbn_core_logging_common_internal.devdocs.json new file mode 100644 index 0000000000000..74dbf77a108bd --- /dev/null +++ b/api_docs/kbn_core_logging_common_internal.devdocs.json @@ -0,0 +1,637 @@ +{ + "id": "@kbn/core-logging-common-internal", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [ + { + "parentPluginId": "@kbn/core-logging-common-internal", + "id": "def-common.getLoggerContext", + "type": "Function", + "tags": [], + "label": "getLoggerContext", + "description": [ + "\nHelper method that joins separate string context parts into single context string.\nIn case joined context is an empty string, `root` context name is returned." + ], + "signature": [ + "(contextParts: string[]) => string" + ], + "path": "packages/core/logging/core-logging-common-internal/src/logger_context.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/core-logging-common-internal", + "id": "def-common.getLoggerContext.$1", + "type": "Array", + "tags": [], + "label": "contextParts", + "description": [ + "List of the context parts (e.g. ['parent', 'child']." + ], + "signature": [ + "string[]" + ], + "path": "packages/core/logging/core-logging-common-internal/src/logger_context.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [ + "Joined context string (e.g. 'parent.child')." + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/core-logging-common-internal", + "id": "def-common.getParentLoggerContext", + "type": "Function", + "tags": [], + "label": "getParentLoggerContext", + "description": [ + "\nHelper method that returns parent context for the specified one." + ], + "signature": [ + "(context: string) => string" + ], + "path": "packages/core/logging/core-logging-common-internal/src/logger_context.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/core-logging-common-internal", + "id": "def-common.getParentLoggerContext.$1", + "type": "string", + "tags": [], + "label": "context", + "description": [ + "Context to find parent for." + ], + "signature": [ + "string" + ], + "path": "packages/core/logging/core-logging-common-internal/src/logger_context.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [ + "Name of the parent context or `root` if the context is the top level one." + ], + "initialIsOpen": false + } + ], + "interfaces": [ + { + "parentPluginId": "@kbn/core-logging-common-internal", + "id": "def-common.Conversion", + "type": "Interface", + "tags": [], + "label": "Conversion", + "description": [], + "path": "packages/core/logging/core-logging-common-internal/src/layouts/conversions/types.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/core-logging-common-internal", + "id": "def-common.Conversion.pattern", + "type": "Object", + "tags": [], + "label": "pattern", + "description": [], + "signature": [ + "RegExp" + ], + "path": "packages/core/logging/core-logging-common-internal/src/layouts/conversions/types.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/core-logging-common-internal", + "id": "def-common.Conversion.convert", + "type": "Function", + "tags": [], + "label": "convert", + "description": [], + "signature": [ + "(record: ", + "LogRecord", + ", highlight: boolean) => string" + ], + "path": "packages/core/logging/core-logging-common-internal/src/layouts/conversions/types.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/core-logging-common-internal", + "id": "def-common.Conversion.convert.$1", + "type": "Object", + "tags": [], + "label": "record", + "description": [], + "signature": [ + "LogRecord" + ], + "path": "packages/core/logging/core-logging-common-internal/src/layouts/conversions/types.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/core-logging-common-internal", + "id": "def-common.Conversion.convert.$2", + "type": "boolean", + "tags": [], + "label": "highlight", + "description": [], + "signature": [ + "boolean" + ], + "path": "packages/core/logging/core-logging-common-internal/src/layouts/conversions/types.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/core-logging-common-internal", + "id": "def-common.Conversion.validate", + "type": "Function", + "tags": [], + "label": "validate", + "description": [], + "signature": [ + "((input: string) => void) | undefined" + ], + "path": "packages/core/logging/core-logging-common-internal/src/layouts/conversions/types.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/core-logging-common-internal", + "id": "def-common.Conversion.validate.$1", + "type": "string", + "tags": [], + "label": "input", + "description": [], + "signature": [ + "string" + ], + "path": "packages/core/logging/core-logging-common-internal/src/layouts/conversions/types.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + } + ], + "enums": [], + "misc": [ + { + "parentPluginId": "@kbn/core-logging-common-internal", + "id": "def-common.CONTEXT_SEPARATOR", + "type": "string", + "tags": [], + "label": "CONTEXT_SEPARATOR", + "description": [ + "\nSeparator string that used within nested context name (eg. plugins.pid)." + ], + "signature": [ + "\".\"" + ], + "path": "packages/core/logging/core-logging-common-internal/src/logger_context.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/core-logging-common-internal", + "id": "def-common.DEFAULT_APPENDER_NAME", + "type": "string", + "tags": [], + "label": "DEFAULT_APPENDER_NAME", + "description": [ + "\nName of the appender that is always presented and used by `root` logger by default." + ], + "signature": [ + "\"default\"" + ], + "path": "packages/core/logging/core-logging-common-internal/src/logger_context.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/core-logging-common-internal", + "id": "def-common.ROOT_CONTEXT_NAME", + "type": "string", + "tags": [], + "label": "ROOT_CONTEXT_NAME", + "description": [ + "\nName of the `root` context that always exists and sits at the top of logger hierarchy." + ], + "signature": [ + "\"root\"" + ], + "path": "packages/core/logging/core-logging-common-internal/src/logger_context.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + } + ], + "objects": [ + { + "parentPluginId": "@kbn/core-logging-common-internal", + "id": "def-common.DateConversion", + "type": "Object", + "tags": [], + "label": "DateConversion", + "description": [], + "path": "packages/core/logging/core-logging-common-internal/src/layouts/conversions/date.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/core-logging-common-internal", + "id": "def-common.DateConversion.pattern", + "type": "Object", + "tags": [], + "label": "pattern", + "description": [], + "signature": [ + "RegExp" + ], + "path": "packages/core/logging/core-logging-common-internal/src/layouts/conversions/date.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/core-logging-common-internal", + "id": "def-common.DateConversion.convert", + "type": "Function", + "tags": [], + "label": "convert", + "description": [], + "signature": [ + "(record: ", + "LogRecord", + ", highlight: boolean, ...matched: any[]) => string" + ], + "path": "packages/core/logging/core-logging-common-internal/src/layouts/conversions/date.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/core-logging-common-internal", + "id": "def-common.DateConversion.convert.$1", + "type": "Object", + "tags": [], + "label": "record", + "description": [], + "signature": [ + "LogRecord" + ], + "path": "packages/core/logging/core-logging-common-internal/src/layouts/conversions/date.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/core-logging-common-internal", + "id": "def-common.DateConversion.convert.$2", + "type": "boolean", + "tags": [], + "label": "highlight", + "description": [], + "signature": [ + "boolean" + ], + "path": "packages/core/logging/core-logging-common-internal/src/layouts/conversions/date.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/core-logging-common-internal", + "id": "def-common.DateConversion.convert.$3", + "type": "Array", + "tags": [], + "label": "matched", + "description": [], + "signature": [ + "any[]" + ], + "path": "packages/core/logging/core-logging-common-internal/src/layouts/conversions/date.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/core-logging-common-internal", + "id": "def-common.DateConversion.validate", + "type": "Function", + "tags": [], + "label": "validate", + "description": [], + "signature": [ + "(rawString: string) => void" + ], + "path": "packages/core/logging/core-logging-common-internal/src/layouts/conversions/date.ts", + "deprecated": false, + "trackAdoption": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "@kbn/core-logging-common-internal", + "id": "def-common.DateConversion.validate.$1", + "type": "string", + "tags": [], + "label": "rawString", + "description": [], + "path": "packages/core/logging/core-logging-common-internal/src/layouts/conversions/date.ts", + "deprecated": false, + "trackAdoption": false + } + ] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/core-logging-common-internal", + "id": "def-common.LevelConversion", + "type": "Object", + "tags": [], + "label": "LevelConversion", + "description": [], + "path": "packages/core/logging/core-logging-common-internal/src/layouts/conversions/level.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/core-logging-common-internal", + "id": "def-common.LevelConversion.pattern", + "type": "Object", + "tags": [], + "label": "pattern", + "description": [], + "signature": [ + "RegExp" + ], + "path": "packages/core/logging/core-logging-common-internal/src/layouts/conversions/level.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/core-logging-common-internal", + "id": "def-common.LevelConversion.convert", + "type": "Function", + "tags": [], + "label": "convert", + "description": [], + "signature": [ + "(record: ", + "LogRecord", + ") => string" + ], + "path": "packages/core/logging/core-logging-common-internal/src/layouts/conversions/level.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/core-logging-common-internal", + "id": "def-common.LevelConversion.convert.$1", + "type": "Object", + "tags": [], + "label": "record", + "description": [], + "signature": [ + "LogRecord" + ], + "path": "packages/core/logging/core-logging-common-internal/src/layouts/conversions/level.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/core-logging-common-internal", + "id": "def-common.LoggerConversion", + "type": "Object", + "tags": [], + "label": "LoggerConversion", + "description": [], + "path": "packages/core/logging/core-logging-common-internal/src/layouts/conversions/logger.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/core-logging-common-internal", + "id": "def-common.LoggerConversion.pattern", + "type": "Object", + "tags": [], + "label": "pattern", + "description": [], + "signature": [ + "RegExp" + ], + "path": "packages/core/logging/core-logging-common-internal/src/layouts/conversions/logger.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/core-logging-common-internal", + "id": "def-common.LoggerConversion.convert", + "type": "Function", + "tags": [], + "label": "convert", + "description": [], + "signature": [ + "(record: ", + "LogRecord", + ") => string" + ], + "path": "packages/core/logging/core-logging-common-internal/src/layouts/conversions/logger.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/core-logging-common-internal", + "id": "def-common.LoggerConversion.convert.$1", + "type": "Object", + "tags": [], + "label": "record", + "description": [], + "signature": [ + "LogRecord" + ], + "path": "packages/core/logging/core-logging-common-internal/src/layouts/conversions/logger.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/core-logging-common-internal", + "id": "def-common.MessageConversion", + "type": "Object", + "tags": [], + "label": "MessageConversion", + "description": [], + "path": "packages/core/logging/core-logging-common-internal/src/layouts/conversions/message.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/core-logging-common-internal", + "id": "def-common.MessageConversion.pattern", + "type": "Object", + "tags": [], + "label": "pattern", + "description": [], + "signature": [ + "RegExp" + ], + "path": "packages/core/logging/core-logging-common-internal/src/layouts/conversions/message.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/core-logging-common-internal", + "id": "def-common.MessageConversion.convert", + "type": "Function", + "tags": [], + "label": "convert", + "description": [], + "signature": [ + "(record: ", + "LogRecord", + ") => string" + ], + "path": "packages/core/logging/core-logging-common-internal/src/layouts/conversions/message.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/core-logging-common-internal", + "id": "def-common.MessageConversion.convert.$1", + "type": "Object", + "tags": [], + "label": "record", + "description": [], + "signature": [ + "LogRecord" + ], + "path": "packages/core/logging/core-logging-common-internal/src/layouts/conversions/message.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/core-logging-common-internal", + "id": "def-common.MetaConversion", + "type": "Object", + "tags": [], + "label": "MetaConversion", + "description": [], + "path": "packages/core/logging/core-logging-common-internal/src/layouts/conversions/meta.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/core-logging-common-internal", + "id": "def-common.MetaConversion.pattern", + "type": "Object", + "tags": [], + "label": "pattern", + "description": [], + "signature": [ + "RegExp" + ], + "path": "packages/core/logging/core-logging-common-internal/src/layouts/conversions/meta.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/core-logging-common-internal", + "id": "def-common.MetaConversion.convert", + "type": "Function", + "tags": [], + "label": "convert", + "description": [], + "signature": [ + "(record: ", + "LogRecord", + ") => string" + ], + "path": "packages/core/logging/core-logging-common-internal/src/layouts/conversions/meta.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/core-logging-common-internal", + "id": "def-common.MetaConversion.convert.$1", + "type": "Object", + "tags": [], + "label": "record", + "description": [], + "signature": [ + "LogRecord" + ], + "path": "packages/core/logging/core-logging-common-internal/src/layouts/conversions/meta.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + } + ] + } +} \ No newline at end of file diff --git a/api_docs/kbn_core_logging_common_internal.mdx b/api_docs/kbn_core_logging_common_internal.mdx new file mode 100644 index 0000000000000..5c219e5a6909d --- /dev/null +++ b/api_docs/kbn_core_logging_common_internal.mdx @@ -0,0 +1,39 @@ +--- +#### +#### This document is auto-generated and is meant to be viewed inside our experimental, new docs system. +#### Reach out in #docs-engineering for more info. +#### +id: kibKbnCoreLoggingCommonInternalPluginApi +slug: /kibana-dev-docs/api/kbn-core-logging-common-internal +title: "@kbn/core-logging-common-internal" +image: https://source.unsplash.com/400x175/?github +description: API docs for the @kbn/core-logging-common-internal plugin +date: 2022-11-02 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-logging-common-internal'] +--- +import kbnCoreLoggingCommonInternalObj from './kbn_core_logging_common_internal.devdocs.json'; + + + +Contact Kibana Core for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 38 | 0 | 31 | 0 | + +## Common + +### Objects + + +### Functions + + +### Interfaces + + +### Consts, variables and types + + diff --git a/api_docs/kbn_core_logging_server.mdx b/api_docs/kbn_core_logging_server.mdx index fccbf0e6858d4..090b59a985f09 100644 --- a/api_docs/kbn_core_logging_server.mdx +++ b/api_docs/kbn_core_logging_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-logging-server title: "@kbn/core-logging-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-logging-server plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-logging-server'] --- import kbnCoreLoggingServerObj from './kbn_core_logging_server.devdocs.json'; diff --git a/api_docs/kbn_core_logging_server_internal.mdx b/api_docs/kbn_core_logging_server_internal.mdx index 31758eb06d612..61ddd3725dbd8 100644 --- a/api_docs/kbn_core_logging_server_internal.mdx +++ b/api_docs/kbn_core_logging_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-logging-server-internal title: "@kbn/core-logging-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-logging-server-internal plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-logging-server-internal'] --- import kbnCoreLoggingServerInternalObj from './kbn_core_logging_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_logging_server_mocks.mdx b/api_docs/kbn_core_logging_server_mocks.mdx index 935f65eb65999..8e0f0242cbd70 100644 --- a/api_docs/kbn_core_logging_server_mocks.mdx +++ b/api_docs/kbn_core_logging_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-logging-server-mocks title: "@kbn/core-logging-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-logging-server-mocks plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-logging-server-mocks'] --- import kbnCoreLoggingServerMocksObj from './kbn_core_logging_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_metrics_collectors_server_internal.mdx b/api_docs/kbn_core_metrics_collectors_server_internal.mdx index 4e9d8a27288a4..d41195027ff91 100644 --- a/api_docs/kbn_core_metrics_collectors_server_internal.mdx +++ b/api_docs/kbn_core_metrics_collectors_server_internal.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-metrics-collectors-server-internal plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-metrics-collectors-server-internal'] --- import kbnCoreMetricsCollectorsServerInternalObj from './kbn_core_metrics_collectors_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_metrics_collectors_server_mocks.mdx b/api_docs/kbn_core_metrics_collectors_server_mocks.mdx index 7719f3f93c0ee..2ef5b2e209091 100644 --- a/api_docs/kbn_core_metrics_collectors_server_mocks.mdx +++ b/api_docs/kbn_core_metrics_collectors_server_mocks.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-metrics-collectors-server-mocks plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-metrics-collectors-server-mocks'] --- import kbnCoreMetricsCollectorsServerMocksObj from './kbn_core_metrics_collectors_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_metrics_server.mdx b/api_docs/kbn_core_metrics_server.mdx index 6267d8d22bda2..85a6b8a02f7fe 100644 --- a/api_docs/kbn_core_metrics_server.mdx +++ b/api_docs/kbn_core_metrics_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-metrics-server title: "@kbn/core-metrics-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-metrics-server plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-metrics-server'] --- import kbnCoreMetricsServerObj from './kbn_core_metrics_server.devdocs.json'; diff --git a/api_docs/kbn_core_metrics_server_internal.mdx b/api_docs/kbn_core_metrics_server_internal.mdx index b40ce45355049..fa2ac048268b8 100644 --- a/api_docs/kbn_core_metrics_server_internal.mdx +++ b/api_docs/kbn_core_metrics_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-metrics-server-internal title: "@kbn/core-metrics-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-metrics-server-internal plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-metrics-server-internal'] --- import kbnCoreMetricsServerInternalObj from './kbn_core_metrics_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_metrics_server_mocks.mdx b/api_docs/kbn_core_metrics_server_mocks.mdx index 6424640974ffa..5e1f7c8ac1fb2 100644 --- a/api_docs/kbn_core_metrics_server_mocks.mdx +++ b/api_docs/kbn_core_metrics_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-metrics-server-mocks title: "@kbn/core-metrics-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-metrics-server-mocks plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-metrics-server-mocks'] --- import kbnCoreMetricsServerMocksObj from './kbn_core_metrics_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_mount_utils_browser.mdx b/api_docs/kbn_core_mount_utils_browser.mdx index 8b22fc91b704c..a3b9cb8ff40b5 100644 --- a/api_docs/kbn_core_mount_utils_browser.mdx +++ b/api_docs/kbn_core_mount_utils_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-mount-utils-browser title: "@kbn/core-mount-utils-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-mount-utils-browser plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-mount-utils-browser'] --- import kbnCoreMountUtilsBrowserObj from './kbn_core_mount_utils_browser.devdocs.json'; diff --git a/api_docs/kbn_core_node_server.mdx b/api_docs/kbn_core_node_server.mdx index c05396dd7fa67..87b96e7fb5954 100644 --- a/api_docs/kbn_core_node_server.mdx +++ b/api_docs/kbn_core_node_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-node-server title: "@kbn/core-node-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-node-server plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-node-server'] --- import kbnCoreNodeServerObj from './kbn_core_node_server.devdocs.json'; diff --git a/api_docs/kbn_core_node_server_internal.mdx b/api_docs/kbn_core_node_server_internal.mdx index 5a7674ecc5f42..bdf111d7df110 100644 --- a/api_docs/kbn_core_node_server_internal.mdx +++ b/api_docs/kbn_core_node_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-node-server-internal title: "@kbn/core-node-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-node-server-internal plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-node-server-internal'] --- import kbnCoreNodeServerInternalObj from './kbn_core_node_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_node_server_mocks.mdx b/api_docs/kbn_core_node_server_mocks.mdx index 081ff2fedb3aa..3c473f01e101c 100644 --- a/api_docs/kbn_core_node_server_mocks.mdx +++ b/api_docs/kbn_core_node_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-node-server-mocks title: "@kbn/core-node-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-node-server-mocks plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-node-server-mocks'] --- import kbnCoreNodeServerMocksObj from './kbn_core_node_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_notifications_browser.mdx b/api_docs/kbn_core_notifications_browser.mdx index 07a20b39465f7..f4c8bbd6e3840 100644 --- a/api_docs/kbn_core_notifications_browser.mdx +++ b/api_docs/kbn_core_notifications_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-notifications-browser title: "@kbn/core-notifications-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-notifications-browser plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-notifications-browser'] --- import kbnCoreNotificationsBrowserObj from './kbn_core_notifications_browser.devdocs.json'; diff --git a/api_docs/kbn_core_notifications_browser_internal.mdx b/api_docs/kbn_core_notifications_browser_internal.mdx index f930d676b1dc7..90a223d1368c8 100644 --- a/api_docs/kbn_core_notifications_browser_internal.mdx +++ b/api_docs/kbn_core_notifications_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-notifications-browser-internal title: "@kbn/core-notifications-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-notifications-browser-internal plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-notifications-browser-internal'] --- import kbnCoreNotificationsBrowserInternalObj from './kbn_core_notifications_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_notifications_browser_mocks.mdx b/api_docs/kbn_core_notifications_browser_mocks.mdx index 698ac134de049..ed2e67766b3c3 100644 --- a/api_docs/kbn_core_notifications_browser_mocks.mdx +++ b/api_docs/kbn_core_notifications_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-notifications-browser-mocks title: "@kbn/core-notifications-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-notifications-browser-mocks plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-notifications-browser-mocks'] --- import kbnCoreNotificationsBrowserMocksObj from './kbn_core_notifications_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_overlays_browser.mdx b/api_docs/kbn_core_overlays_browser.mdx index 5acd7b7579a6f..42832b3429210 100644 --- a/api_docs/kbn_core_overlays_browser.mdx +++ b/api_docs/kbn_core_overlays_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-overlays-browser title: "@kbn/core-overlays-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-overlays-browser plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-overlays-browser'] --- import kbnCoreOverlaysBrowserObj from './kbn_core_overlays_browser.devdocs.json'; diff --git a/api_docs/kbn_core_overlays_browser_internal.mdx b/api_docs/kbn_core_overlays_browser_internal.mdx index bb11d5056c998..c4845b99ae9a4 100644 --- a/api_docs/kbn_core_overlays_browser_internal.mdx +++ b/api_docs/kbn_core_overlays_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-overlays-browser-internal title: "@kbn/core-overlays-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-overlays-browser-internal plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-overlays-browser-internal'] --- import kbnCoreOverlaysBrowserInternalObj from './kbn_core_overlays_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_overlays_browser_mocks.mdx b/api_docs/kbn_core_overlays_browser_mocks.mdx index 5e6be0a952f70..46f0268668f70 100644 --- a/api_docs/kbn_core_overlays_browser_mocks.mdx +++ b/api_docs/kbn_core_overlays_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-overlays-browser-mocks title: "@kbn/core-overlays-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-overlays-browser-mocks plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-overlays-browser-mocks'] --- import kbnCoreOverlaysBrowserMocksObj from './kbn_core_overlays_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_plugins_browser.devdocs.json b/api_docs/kbn_core_plugins_browser.devdocs.json index 4d32b54c3a7aa..1ce9836dbdde5 100644 --- a/api_docs/kbn_core_plugins_browser.devdocs.json +++ b/api_docs/kbn_core_plugins_browser.devdocs.json @@ -254,6 +254,26 @@ "deprecated": false, "trackAdoption": false }, + { + "parentPluginId": "@kbn/core-plugins-browser", + "id": "def-common.PluginInitializerContext.logger", + "type": "Object", + "tags": [], + "label": "logger", + "description": [], + "signature": [ + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.LoggerFactory", + "text": "LoggerFactory" + } + ], + "path": "packages/core/plugins/core-plugins-browser/src/plugin_initializer.ts", + "deprecated": false, + "trackAdoption": false + }, { "parentPluginId": "@kbn/core-plugins-browser", "id": "def-common.PluginInitializerContext.config", diff --git a/api_docs/kbn_core_plugins_browser.mdx b/api_docs/kbn_core_plugins_browser.mdx index 5091512c0d390..2ecce761680ec 100644 --- a/api_docs/kbn_core_plugins_browser.mdx +++ b/api_docs/kbn_core_plugins_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-plugins-browser title: "@kbn/core-plugins-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-plugins-browser plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-plugins-browser'] --- import kbnCorePluginsBrowserObj from './kbn_core_plugins_browser.devdocs.json'; @@ -21,7 +21,7 @@ Contact Kibana Core for questions regarding this plugin. | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 14 | 0 | 10 | 0 | +| 15 | 0 | 11 | 0 | ## Common diff --git a/api_docs/kbn_core_plugins_browser_mocks.mdx b/api_docs/kbn_core_plugins_browser_mocks.mdx index 237e6f01fd5b8..cdb0140f9350c 100644 --- a/api_docs/kbn_core_plugins_browser_mocks.mdx +++ b/api_docs/kbn_core_plugins_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-plugins-browser-mocks title: "@kbn/core-plugins-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-plugins-browser-mocks plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-plugins-browser-mocks'] --- import kbnCorePluginsBrowserMocksObj from './kbn_core_plugins_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_plugins_server.mdx b/api_docs/kbn_core_plugins_server.mdx index 746f29b9f1bd7..57934b2ddb533 100644 --- a/api_docs/kbn_core_plugins_server.mdx +++ b/api_docs/kbn_core_plugins_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-plugins-server title: "@kbn/core-plugins-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-plugins-server plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-plugins-server'] --- import kbnCorePluginsServerObj from './kbn_core_plugins_server.devdocs.json'; diff --git a/api_docs/kbn_core_plugins_server_mocks.mdx b/api_docs/kbn_core_plugins_server_mocks.mdx index 5d9fc816d454e..f6d9f25eb1e40 100644 --- a/api_docs/kbn_core_plugins_server_mocks.mdx +++ b/api_docs/kbn_core_plugins_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-plugins-server-mocks title: "@kbn/core-plugins-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-plugins-server-mocks plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-plugins-server-mocks'] --- import kbnCorePluginsServerMocksObj from './kbn_core_plugins_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_preboot_server.mdx b/api_docs/kbn_core_preboot_server.mdx index af46d97cc824e..7792f55cfda9b 100644 --- a/api_docs/kbn_core_preboot_server.mdx +++ b/api_docs/kbn_core_preboot_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-preboot-server title: "@kbn/core-preboot-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-preboot-server plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-preboot-server'] --- import kbnCorePrebootServerObj from './kbn_core_preboot_server.devdocs.json'; diff --git a/api_docs/kbn_core_preboot_server_mocks.mdx b/api_docs/kbn_core_preboot_server_mocks.mdx index 988075cfc75ec..0357ed0242c16 100644 --- a/api_docs/kbn_core_preboot_server_mocks.mdx +++ b/api_docs/kbn_core_preboot_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-preboot-server-mocks title: "@kbn/core-preboot-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-preboot-server-mocks plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-preboot-server-mocks'] --- import kbnCorePrebootServerMocksObj from './kbn_core_preboot_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_rendering_browser_mocks.mdx b/api_docs/kbn_core_rendering_browser_mocks.mdx index 38e4214087f29..3268933adab76 100644 --- a/api_docs/kbn_core_rendering_browser_mocks.mdx +++ b/api_docs/kbn_core_rendering_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-rendering-browser-mocks title: "@kbn/core-rendering-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-rendering-browser-mocks plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-rendering-browser-mocks'] --- import kbnCoreRenderingBrowserMocksObj from './kbn_core_rendering_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_rendering_server_internal.mdx b/api_docs/kbn_core_rendering_server_internal.mdx index 56d1065f9ede6..895fd760bbd9e 100644 --- a/api_docs/kbn_core_rendering_server_internal.mdx +++ b/api_docs/kbn_core_rendering_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-rendering-server-internal title: "@kbn/core-rendering-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-rendering-server-internal plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-rendering-server-internal'] --- import kbnCoreRenderingServerInternalObj from './kbn_core_rendering_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_rendering_server_mocks.mdx b/api_docs/kbn_core_rendering_server_mocks.mdx index 0235e7722d263..165616c4502e8 100644 --- a/api_docs/kbn_core_rendering_server_mocks.mdx +++ b/api_docs/kbn_core_rendering_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-rendering-server-mocks title: "@kbn/core-rendering-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-rendering-server-mocks plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-rendering-server-mocks'] --- import kbnCoreRenderingServerMocksObj from './kbn_core_rendering_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_api_browser.mdx b/api_docs/kbn_core_saved_objects_api_browser.mdx index 750811c58c35b..1f9adb63b5783 100644 --- a/api_docs/kbn_core_saved_objects_api_browser.mdx +++ b/api_docs/kbn_core_saved_objects_api_browser.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-saved-objects-api-browser plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-api-browser'] --- import kbnCoreSavedObjectsApiBrowserObj from './kbn_core_saved_objects_api_browser.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_api_server.mdx b/api_docs/kbn_core_saved_objects_api_server.mdx index 1dbe14157b570..a623b48be84be 100644 --- a/api_docs/kbn_core_saved_objects_api_server.mdx +++ b/api_docs/kbn_core_saved_objects_api_server.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-saved-objects-api-server plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-api-server'] --- import kbnCoreSavedObjectsApiServerObj from './kbn_core_saved_objects_api_server.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_api_server_internal.mdx b/api_docs/kbn_core_saved_objects_api_server_internal.mdx index fd8ecde155ba0..5cce42286ffcb 100644 --- a/api_docs/kbn_core_saved_objects_api_server_internal.mdx +++ b/api_docs/kbn_core_saved_objects_api_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-api-server-internal title: "@kbn/core-saved-objects-api-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-api-server-internal plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-api-server-internal'] --- import kbnCoreSavedObjectsApiServerInternalObj from './kbn_core_saved_objects_api_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_api_server_mocks.mdx b/api_docs/kbn_core_saved_objects_api_server_mocks.mdx index 4da85bb93e954..a1f2405c7edf5 100644 --- a/api_docs/kbn_core_saved_objects_api_server_mocks.mdx +++ b/api_docs/kbn_core_saved_objects_api_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-api-server-mocks title: "@kbn/core-saved-objects-api-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-api-server-mocks plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-api-server-mocks'] --- import kbnCoreSavedObjectsApiServerMocksObj from './kbn_core_saved_objects_api_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_base_server_internal.mdx b/api_docs/kbn_core_saved_objects_base_server_internal.mdx index bc74494b9fdf4..d61caa7e4e61c 100644 --- a/api_docs/kbn_core_saved_objects_base_server_internal.mdx +++ b/api_docs/kbn_core_saved_objects_base_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-base-server-internal title: "@kbn/core-saved-objects-base-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-base-server-internal plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-base-server-internal'] --- import kbnCoreSavedObjectsBaseServerInternalObj from './kbn_core_saved_objects_base_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_base_server_mocks.mdx b/api_docs/kbn_core_saved_objects_base_server_mocks.mdx index a75fda08b608b..60abd6ff785cc 100644 --- a/api_docs/kbn_core_saved_objects_base_server_mocks.mdx +++ b/api_docs/kbn_core_saved_objects_base_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-base-server-mocks title: "@kbn/core-saved-objects-base-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-base-server-mocks plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-base-server-mocks'] --- import kbnCoreSavedObjectsBaseServerMocksObj from './kbn_core_saved_objects_base_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_browser.mdx b/api_docs/kbn_core_saved_objects_browser.mdx index 09d1b3b77f812..1bca17afdaeb9 100644 --- a/api_docs/kbn_core_saved_objects_browser.mdx +++ b/api_docs/kbn_core_saved_objects_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-browser title: "@kbn/core-saved-objects-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-browser plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-browser'] --- import kbnCoreSavedObjectsBrowserObj from './kbn_core_saved_objects_browser.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_browser_internal.mdx b/api_docs/kbn_core_saved_objects_browser_internal.mdx index 3ede5635adf76..9ca99660f01e7 100644 --- a/api_docs/kbn_core_saved_objects_browser_internal.mdx +++ b/api_docs/kbn_core_saved_objects_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-browser-internal title: "@kbn/core-saved-objects-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-browser-internal plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-browser-internal'] --- import kbnCoreSavedObjectsBrowserInternalObj from './kbn_core_saved_objects_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_browser_mocks.mdx b/api_docs/kbn_core_saved_objects_browser_mocks.mdx index 1f8c4e62ef8b6..9c9331d6e4052 100644 --- a/api_docs/kbn_core_saved_objects_browser_mocks.mdx +++ b/api_docs/kbn_core_saved_objects_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-browser-mocks title: "@kbn/core-saved-objects-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-browser-mocks plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-browser-mocks'] --- import kbnCoreSavedObjectsBrowserMocksObj from './kbn_core_saved_objects_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_common.mdx b/api_docs/kbn_core_saved_objects_common.mdx index b869cf0aa8504..3c2c7f24e4d9a 100644 --- a/api_docs/kbn_core_saved_objects_common.mdx +++ b/api_docs/kbn_core_saved_objects_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-common title: "@kbn/core-saved-objects-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-common plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-common'] --- import kbnCoreSavedObjectsCommonObj from './kbn_core_saved_objects_common.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_import_export_server_internal.mdx b/api_docs/kbn_core_saved_objects_import_export_server_internal.mdx index b8b4962112b88..a3cbb364cff40 100644 --- a/api_docs/kbn_core_saved_objects_import_export_server_internal.mdx +++ b/api_docs/kbn_core_saved_objects_import_export_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-import-export-server-internal title: "@kbn/core-saved-objects-import-export-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-import-export-server-internal plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-import-export-server-internal'] --- import kbnCoreSavedObjectsImportExportServerInternalObj from './kbn_core_saved_objects_import_export_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_import_export_server_mocks.mdx b/api_docs/kbn_core_saved_objects_import_export_server_mocks.mdx index b486d2184f7e4..635cf9e2d7e08 100644 --- a/api_docs/kbn_core_saved_objects_import_export_server_mocks.mdx +++ b/api_docs/kbn_core_saved_objects_import_export_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-import-export-server-mocks title: "@kbn/core-saved-objects-import-export-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-import-export-server-mocks plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-import-export-server-mocks'] --- import kbnCoreSavedObjectsImportExportServerMocksObj from './kbn_core_saved_objects_import_export_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_migration_server_internal.mdx b/api_docs/kbn_core_saved_objects_migration_server_internal.mdx index 178ec69d6237e..35c88f23905c8 100644 --- a/api_docs/kbn_core_saved_objects_migration_server_internal.mdx +++ b/api_docs/kbn_core_saved_objects_migration_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-migration-server-internal title: "@kbn/core-saved-objects-migration-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-migration-server-internal plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-migration-server-internal'] --- import kbnCoreSavedObjectsMigrationServerInternalObj from './kbn_core_saved_objects_migration_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_migration_server_mocks.mdx b/api_docs/kbn_core_saved_objects_migration_server_mocks.mdx index 7a1b8ff360a4a..8ca90c8ed4b3f 100644 --- a/api_docs/kbn_core_saved_objects_migration_server_mocks.mdx +++ b/api_docs/kbn_core_saved_objects_migration_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-migration-server-mocks title: "@kbn/core-saved-objects-migration-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-migration-server-mocks plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-migration-server-mocks'] --- import kbnCoreSavedObjectsMigrationServerMocksObj from './kbn_core_saved_objects_migration_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_server.mdx b/api_docs/kbn_core_saved_objects_server.mdx index ff59a9038b3da..b4c8420dc58e8 100644 --- a/api_docs/kbn_core_saved_objects_server.mdx +++ b/api_docs/kbn_core_saved_objects_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-server title: "@kbn/core-saved-objects-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-server plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-server'] --- import kbnCoreSavedObjectsServerObj from './kbn_core_saved_objects_server.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_server_internal.mdx b/api_docs/kbn_core_saved_objects_server_internal.mdx index 561eb96e41946..83866f0569e4c 100644 --- a/api_docs/kbn_core_saved_objects_server_internal.mdx +++ b/api_docs/kbn_core_saved_objects_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-server-internal title: "@kbn/core-saved-objects-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-server-internal plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-server-internal'] --- import kbnCoreSavedObjectsServerInternalObj from './kbn_core_saved_objects_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_server_mocks.mdx b/api_docs/kbn_core_saved_objects_server_mocks.mdx index 8c6d05c218be7..6c3b32b7c4ffb 100644 --- a/api_docs/kbn_core_saved_objects_server_mocks.mdx +++ b/api_docs/kbn_core_saved_objects_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-server-mocks title: "@kbn/core-saved-objects-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-server-mocks plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-server-mocks'] --- import kbnCoreSavedObjectsServerMocksObj from './kbn_core_saved_objects_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_utils_server.mdx b/api_docs/kbn_core_saved_objects_utils_server.mdx index 2c8953ac3f898..cbbbc65f3d57d 100644 --- a/api_docs/kbn_core_saved_objects_utils_server.mdx +++ b/api_docs/kbn_core_saved_objects_utils_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-utils-server title: "@kbn/core-saved-objects-utils-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-utils-server plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-utils-server'] --- import kbnCoreSavedObjectsUtilsServerObj from './kbn_core_saved_objects_utils_server.devdocs.json'; diff --git a/api_docs/kbn_core_status_common.mdx b/api_docs/kbn_core_status_common.mdx index 4014ca3a29da9..2b7c3b0e27295 100644 --- a/api_docs/kbn_core_status_common.mdx +++ b/api_docs/kbn_core_status_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-status-common title: "@kbn/core-status-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-status-common plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-status-common'] --- import kbnCoreStatusCommonObj from './kbn_core_status_common.devdocs.json'; diff --git a/api_docs/kbn_core_status_common_internal.mdx b/api_docs/kbn_core_status_common_internal.mdx index e5a9a4d9ac9de..f3452e72880f3 100644 --- a/api_docs/kbn_core_status_common_internal.mdx +++ b/api_docs/kbn_core_status_common_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-status-common-internal title: "@kbn/core-status-common-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-status-common-internal plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-status-common-internal'] --- import kbnCoreStatusCommonInternalObj from './kbn_core_status_common_internal.devdocs.json'; diff --git a/api_docs/kbn_core_status_server.mdx b/api_docs/kbn_core_status_server.mdx index 61ce4f91860e2..8c2456d7c6793 100644 --- a/api_docs/kbn_core_status_server.mdx +++ b/api_docs/kbn_core_status_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-status-server title: "@kbn/core-status-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-status-server plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-status-server'] --- import kbnCoreStatusServerObj from './kbn_core_status_server.devdocs.json'; diff --git a/api_docs/kbn_core_status_server_internal.mdx b/api_docs/kbn_core_status_server_internal.mdx index 85c001e2b45ce..4c0c53706e32b 100644 --- a/api_docs/kbn_core_status_server_internal.mdx +++ b/api_docs/kbn_core_status_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-status-server-internal title: "@kbn/core-status-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-status-server-internal plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-status-server-internal'] --- import kbnCoreStatusServerInternalObj from './kbn_core_status_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_status_server_mocks.mdx b/api_docs/kbn_core_status_server_mocks.mdx index e2f043961dc93..7ccd7192c9feb 100644 --- a/api_docs/kbn_core_status_server_mocks.mdx +++ b/api_docs/kbn_core_status_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-status-server-mocks title: "@kbn/core-status-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-status-server-mocks plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-status-server-mocks'] --- import kbnCoreStatusServerMocksObj from './kbn_core_status_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_test_helpers_deprecations_getters.mdx b/api_docs/kbn_core_test_helpers_deprecations_getters.mdx index d5397782b2466..f2fd45cb9b5be 100644 --- a/api_docs/kbn_core_test_helpers_deprecations_getters.mdx +++ b/api_docs/kbn_core_test_helpers_deprecations_getters.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-test-helpers-deprecations-getters title: "@kbn/core-test-helpers-deprecations-getters" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-test-helpers-deprecations-getters plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-test-helpers-deprecations-getters'] --- import kbnCoreTestHelpersDeprecationsGettersObj from './kbn_core_test_helpers_deprecations_getters.devdocs.json'; 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 ae398a2899f0e..14a608f7996e0 100644 --- a/api_docs/kbn_core_test_helpers_http_setup_browser.mdx +++ b/api_docs/kbn_core_test_helpers_http_setup_browser.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-test-helpers-http-setup-browser plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-test-helpers-http-setup-browser'] --- import kbnCoreTestHelpersHttpSetupBrowserObj from './kbn_core_test_helpers_http_setup_browser.devdocs.json'; diff --git a/api_docs/kbn_core_test_helpers_so_type_serializer.mdx b/api_docs/kbn_core_test_helpers_so_type_serializer.mdx index d083d85e7d5c0..d94ccebe2ba52 100644 --- a/api_docs/kbn_core_test_helpers_so_type_serializer.mdx +++ b/api_docs/kbn_core_test_helpers_so_type_serializer.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-test-helpers-so-type-serializer title: "@kbn/core-test-helpers-so-type-serializer" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-test-helpers-so-type-serializer plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-test-helpers-so-type-serializer'] --- import kbnCoreTestHelpersSoTypeSerializerObj from './kbn_core_test_helpers_so_type_serializer.devdocs.json'; diff --git a/api_docs/kbn_core_test_helpers_test_utils.mdx b/api_docs/kbn_core_test_helpers_test_utils.mdx index c49b74c6696e9..36a4bda87c8c6 100644 --- a/api_docs/kbn_core_test_helpers_test_utils.mdx +++ b/api_docs/kbn_core_test_helpers_test_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-test-helpers-test-utils title: "@kbn/core-test-helpers-test-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-test-helpers-test-utils plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-test-helpers-test-utils'] --- import kbnCoreTestHelpersTestUtilsObj from './kbn_core_test_helpers_test_utils.devdocs.json'; diff --git a/api_docs/kbn_core_theme_browser.mdx b/api_docs/kbn_core_theme_browser.mdx index 90ccd636e7289..032e355ea64a1 100644 --- a/api_docs/kbn_core_theme_browser.mdx +++ b/api_docs/kbn_core_theme_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-theme-browser title: "@kbn/core-theme-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-theme-browser plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-theme-browser'] --- import kbnCoreThemeBrowserObj from './kbn_core_theme_browser.devdocs.json'; diff --git a/api_docs/kbn_core_theme_browser_internal.mdx b/api_docs/kbn_core_theme_browser_internal.mdx index 12853ac70dc29..51c579e355158 100644 --- a/api_docs/kbn_core_theme_browser_internal.mdx +++ b/api_docs/kbn_core_theme_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-theme-browser-internal title: "@kbn/core-theme-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-theme-browser-internal plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-theme-browser-internal'] --- import kbnCoreThemeBrowserInternalObj from './kbn_core_theme_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_theme_browser_mocks.mdx b/api_docs/kbn_core_theme_browser_mocks.mdx index 4fc36fc3f4aa8..1ce0f05e6b33c 100644 --- a/api_docs/kbn_core_theme_browser_mocks.mdx +++ b/api_docs/kbn_core_theme_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-theme-browser-mocks title: "@kbn/core-theme-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-theme-browser-mocks plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-theme-browser-mocks'] --- import kbnCoreThemeBrowserMocksObj from './kbn_core_theme_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_ui_settings_browser.mdx b/api_docs/kbn_core_ui_settings_browser.mdx index c02ba9ebfb10d..ca650cd0a8799 100644 --- a/api_docs/kbn_core_ui_settings_browser.mdx +++ b/api_docs/kbn_core_ui_settings_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-browser title: "@kbn/core-ui-settings-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-ui-settings-browser plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-ui-settings-browser'] --- import kbnCoreUiSettingsBrowserObj from './kbn_core_ui_settings_browser.devdocs.json'; diff --git a/api_docs/kbn_core_ui_settings_browser_internal.mdx b/api_docs/kbn_core_ui_settings_browser_internal.mdx index 2f7f19fdb6951..5adf0b86a9d41 100644 --- a/api_docs/kbn_core_ui_settings_browser_internal.mdx +++ b/api_docs/kbn_core_ui_settings_browser_internal.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-ui-settings-browser-internal plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-ui-settings-browser-internal'] --- import kbnCoreUiSettingsBrowserInternalObj from './kbn_core_ui_settings_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_ui_settings_browser_mocks.mdx b/api_docs/kbn_core_ui_settings_browser_mocks.mdx index 8732f477b966c..2561eecfafd85 100644 --- a/api_docs/kbn_core_ui_settings_browser_mocks.mdx +++ b/api_docs/kbn_core_ui_settings_browser_mocks.mdx @@ -8,7 +8,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 description: API docs for the @kbn/core-ui-settings-browser-mocks plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-ui-settings-browser-mocks'] --- import kbnCoreUiSettingsBrowserMocksObj from './kbn_core_ui_settings_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_ui_settings_common.mdx b/api_docs/kbn_core_ui_settings_common.mdx index ab36862b25146..f3cedc0acc0d8 100644 --- a/api_docs/kbn_core_ui_settings_common.mdx +++ b/api_docs/kbn_core_ui_settings_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-common title: "@kbn/core-ui-settings-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-ui-settings-common plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-ui-settings-common'] --- import kbnCoreUiSettingsCommonObj from './kbn_core_ui_settings_common.devdocs.json'; diff --git a/api_docs/kbn_core_ui_settings_server.mdx b/api_docs/kbn_core_ui_settings_server.mdx index 8e3cabf207ca4..9e21d0b8ea1d0 100644 --- a/api_docs/kbn_core_ui_settings_server.mdx +++ b/api_docs/kbn_core_ui_settings_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-server title: "@kbn/core-ui-settings-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-ui-settings-server plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-ui-settings-server'] --- import kbnCoreUiSettingsServerObj from './kbn_core_ui_settings_server.devdocs.json'; diff --git a/api_docs/kbn_core_ui_settings_server_internal.mdx b/api_docs/kbn_core_ui_settings_server_internal.mdx index 30dd4658f5f9b..fed838781520b 100644 --- a/api_docs/kbn_core_ui_settings_server_internal.mdx +++ b/api_docs/kbn_core_ui_settings_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-server-internal title: "@kbn/core-ui-settings-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-ui-settings-server-internal plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-ui-settings-server-internal'] --- import kbnCoreUiSettingsServerInternalObj from './kbn_core_ui_settings_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_ui_settings_server_mocks.mdx b/api_docs/kbn_core_ui_settings_server_mocks.mdx index b59d64ab80192..3d59f98d37ab7 100644 --- a/api_docs/kbn_core_ui_settings_server_mocks.mdx +++ b/api_docs/kbn_core_ui_settings_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-server-mocks title: "@kbn/core-ui-settings-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-ui-settings-server-mocks plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-ui-settings-server-mocks'] --- import kbnCoreUiSettingsServerMocksObj from './kbn_core_ui_settings_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_usage_data_server.mdx b/api_docs/kbn_core_usage_data_server.mdx index 0a30968bc426e..b44d1cdc008a4 100644 --- a/api_docs/kbn_core_usage_data_server.mdx +++ b/api_docs/kbn_core_usage_data_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-usage-data-server title: "@kbn/core-usage-data-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-usage-data-server plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-usage-data-server'] --- import kbnCoreUsageDataServerObj from './kbn_core_usage_data_server.devdocs.json'; diff --git a/api_docs/kbn_core_usage_data_server_internal.mdx b/api_docs/kbn_core_usage_data_server_internal.mdx index 8431d5e3f6557..36f7e6bf90b53 100644 --- a/api_docs/kbn_core_usage_data_server_internal.mdx +++ b/api_docs/kbn_core_usage_data_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-usage-data-server-internal title: "@kbn/core-usage-data-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-usage-data-server-internal plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-usage-data-server-internal'] --- import kbnCoreUsageDataServerInternalObj from './kbn_core_usage_data_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_usage_data_server_mocks.mdx b/api_docs/kbn_core_usage_data_server_mocks.mdx index ee8976702801f..61c84ad936c43 100644 --- a/api_docs/kbn_core_usage_data_server_mocks.mdx +++ b/api_docs/kbn_core_usage_data_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-usage-data-server-mocks title: "@kbn/core-usage-data-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-usage-data-server-mocks plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-usage-data-server-mocks'] --- import kbnCoreUsageDataServerMocksObj from './kbn_core_usage_data_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_crypto.mdx b/api_docs/kbn_crypto.mdx index 346b09e150c2a..b802f33992bb0 100644 --- a/api_docs/kbn_crypto.mdx +++ b/api_docs/kbn_crypto.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-crypto title: "@kbn/crypto" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/crypto plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/crypto'] --- import kbnCryptoObj from './kbn_crypto.devdocs.json'; diff --git a/api_docs/kbn_crypto_browser.mdx b/api_docs/kbn_crypto_browser.mdx index 41012dcdd2c24..221307c83cb82 100644 --- a/api_docs/kbn_crypto_browser.mdx +++ b/api_docs/kbn_crypto_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-crypto-browser title: "@kbn/crypto-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/crypto-browser plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/crypto-browser'] --- import kbnCryptoBrowserObj from './kbn_crypto_browser.devdocs.json'; diff --git a/api_docs/kbn_datemath.mdx b/api_docs/kbn_datemath.mdx index 8e7afe0ac51a8..84025a50d1c74 100644 --- a/api_docs/kbn_datemath.mdx +++ b/api_docs/kbn_datemath.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-datemath title: "@kbn/datemath" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/datemath plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/datemath'] --- import kbnDatemathObj from './kbn_datemath.devdocs.json'; diff --git a/api_docs/kbn_dev_cli_errors.mdx b/api_docs/kbn_dev_cli_errors.mdx index 099cbc79b200f..c287908c3c906 100644 --- a/api_docs/kbn_dev_cli_errors.mdx +++ b/api_docs/kbn_dev_cli_errors.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-dev-cli-errors title: "@kbn/dev-cli-errors" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/dev-cli-errors plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/dev-cli-errors'] --- import kbnDevCliErrorsObj from './kbn_dev_cli_errors.devdocs.json'; diff --git a/api_docs/kbn_dev_cli_runner.mdx b/api_docs/kbn_dev_cli_runner.mdx index 212840ccd0b0e..41f98c754b20b 100644 --- a/api_docs/kbn_dev_cli_runner.mdx +++ b/api_docs/kbn_dev_cli_runner.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-dev-cli-runner title: "@kbn/dev-cli-runner" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/dev-cli-runner plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/dev-cli-runner'] --- import kbnDevCliRunnerObj from './kbn_dev_cli_runner.devdocs.json'; diff --git a/api_docs/kbn_dev_proc_runner.mdx b/api_docs/kbn_dev_proc_runner.mdx index 3bfe294e508bf..da5b0be2065d6 100644 --- a/api_docs/kbn_dev_proc_runner.mdx +++ b/api_docs/kbn_dev_proc_runner.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-dev-proc-runner title: "@kbn/dev-proc-runner" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/dev-proc-runner plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/dev-proc-runner'] --- import kbnDevProcRunnerObj from './kbn_dev_proc_runner.devdocs.json'; diff --git a/api_docs/kbn_dev_utils.mdx b/api_docs/kbn_dev_utils.mdx index ebc8aac9b617f..0f60ff10b7681 100644 --- a/api_docs/kbn_dev_utils.mdx +++ b/api_docs/kbn_dev_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-dev-utils title: "@kbn/dev-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/dev-utils plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/dev-utils'] --- import kbnDevUtilsObj from './kbn_dev_utils.devdocs.json'; diff --git a/api_docs/kbn_doc_links.mdx b/api_docs/kbn_doc_links.mdx index 135b88699862b..6ccf2090313f2 100644 --- a/api_docs/kbn_doc_links.mdx +++ b/api_docs/kbn_doc_links.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-doc-links title: "@kbn/doc-links" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/doc-links plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/doc-links'] --- import kbnDocLinksObj from './kbn_doc_links.devdocs.json'; diff --git a/api_docs/kbn_docs_utils.mdx b/api_docs/kbn_docs_utils.mdx index 0bf5620ce54eb..55e84ff674dab 100644 --- a/api_docs/kbn_docs_utils.mdx +++ b/api_docs/kbn_docs_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-docs-utils title: "@kbn/docs-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/docs-utils plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/docs-utils'] --- import kbnDocsUtilsObj from './kbn_docs_utils.devdocs.json'; diff --git a/api_docs/kbn_ebt_tools.mdx b/api_docs/kbn_ebt_tools.mdx index 3dc15fd2849d1..02f561f2d7631 100644 --- a/api_docs/kbn_ebt_tools.mdx +++ b/api_docs/kbn_ebt_tools.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ebt-tools title: "@kbn/ebt-tools" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ebt-tools plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ebt-tools'] --- import kbnEbtToolsObj from './kbn_ebt_tools.devdocs.json'; diff --git a/api_docs/kbn_es.mdx b/api_docs/kbn_es.mdx index 252dc0b13ad82..a5b7da29069ad 100644 --- a/api_docs/kbn_es.mdx +++ b/api_docs/kbn_es.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-es title: "@kbn/es" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/es plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/es'] --- import kbnEsObj from './kbn_es.devdocs.json'; diff --git a/api_docs/kbn_es_archiver.mdx b/api_docs/kbn_es_archiver.mdx index 5cd8a40812dfa..00341a825dfaa 100644 --- a/api_docs/kbn_es_archiver.mdx +++ b/api_docs/kbn_es_archiver.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-es-archiver title: "@kbn/es-archiver" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/es-archiver plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/es-archiver'] --- import kbnEsArchiverObj from './kbn_es_archiver.devdocs.json'; diff --git a/api_docs/kbn_es_errors.mdx b/api_docs/kbn_es_errors.mdx index 301e8cc59f6c7..5f85c2565f7c4 100644 --- a/api_docs/kbn_es_errors.mdx +++ b/api_docs/kbn_es_errors.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-es-errors title: "@kbn/es-errors" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/es-errors plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/es-errors'] --- import kbnEsErrorsObj from './kbn_es_errors.devdocs.json'; diff --git a/api_docs/kbn_es_query.mdx b/api_docs/kbn_es_query.mdx index a5889ac2f1e75..2ace595cf94f2 100644 --- a/api_docs/kbn_es_query.mdx +++ b/api_docs/kbn_es_query.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-es-query title: "@kbn/es-query" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/es-query plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/es-query'] --- import kbnEsQueryObj from './kbn_es_query.devdocs.json'; diff --git a/api_docs/kbn_es_types.mdx b/api_docs/kbn_es_types.mdx index 1f619c69218c4..0d864876ecc3c 100644 --- a/api_docs/kbn_es_types.mdx +++ b/api_docs/kbn_es_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-es-types title: "@kbn/es-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/es-types plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/es-types'] --- import kbnEsTypesObj from './kbn_es_types.devdocs.json'; diff --git a/api_docs/kbn_eslint_plugin_imports.mdx b/api_docs/kbn_eslint_plugin_imports.mdx index c33d35e0aaee7..8b7473c67000a 100644 --- a/api_docs/kbn_eslint_plugin_imports.mdx +++ b/api_docs/kbn_eslint_plugin_imports.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-eslint-plugin-imports title: "@kbn/eslint-plugin-imports" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/eslint-plugin-imports plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/eslint-plugin-imports'] --- import kbnEslintPluginImportsObj from './kbn_eslint_plugin_imports.devdocs.json'; diff --git a/api_docs/kbn_field_types.mdx b/api_docs/kbn_field_types.mdx index 587f50507d580..37440ce4eec7a 100644 --- a/api_docs/kbn_field_types.mdx +++ b/api_docs/kbn_field_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-field-types title: "@kbn/field-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/field-types plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/field-types'] --- import kbnFieldTypesObj from './kbn_field_types.devdocs.json'; diff --git a/api_docs/kbn_find_used_node_modules.mdx b/api_docs/kbn_find_used_node_modules.mdx index 05a1d2beefb13..4ec668bbf8d1e 100644 --- a/api_docs/kbn_find_used_node_modules.mdx +++ b/api_docs/kbn_find_used_node_modules.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-find-used-node-modules title: "@kbn/find-used-node-modules" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/find-used-node-modules plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/find-used-node-modules'] --- import kbnFindUsedNodeModulesObj from './kbn_find_used_node_modules.devdocs.json'; diff --git a/api_docs/kbn_ftr_common_functional_services.mdx b/api_docs/kbn_ftr_common_functional_services.mdx index d4e811af15c04..b0dc5f6522a5a 100644 --- a/api_docs/kbn_ftr_common_functional_services.mdx +++ b/api_docs/kbn_ftr_common_functional_services.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ftr-common-functional-services title: "@kbn/ftr-common-functional-services" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ftr-common-functional-services plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ftr-common-functional-services'] --- import kbnFtrCommonFunctionalServicesObj from './kbn_ftr_common_functional_services.devdocs.json'; diff --git a/api_docs/kbn_generate.mdx b/api_docs/kbn_generate.mdx index b44a97cec8690..5585017f12a97 100644 --- a/api_docs/kbn_generate.mdx +++ b/api_docs/kbn_generate.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-generate title: "@kbn/generate" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/generate plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/generate'] --- import kbnGenerateObj from './kbn_generate.devdocs.json'; diff --git a/api_docs/kbn_get_repo_files.mdx b/api_docs/kbn_get_repo_files.mdx index 404db1cb0e1ee..0603218f2a8b5 100644 --- a/api_docs/kbn_get_repo_files.mdx +++ b/api_docs/kbn_get_repo_files.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-get-repo-files title: "@kbn/get-repo-files" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/get-repo-files plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/get-repo-files'] --- import kbnGetRepoFilesObj from './kbn_get_repo_files.devdocs.json'; diff --git a/api_docs/kbn_guided_onboarding.mdx b/api_docs/kbn_guided_onboarding.mdx index d735da10c6ce6..f2a22cdb44ab0 100644 --- a/api_docs/kbn_guided_onboarding.mdx +++ b/api_docs/kbn_guided_onboarding.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-guided-onboarding title: "@kbn/guided-onboarding" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/guided-onboarding plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/guided-onboarding'] --- import kbnGuidedOnboardingObj from './kbn_guided_onboarding.devdocs.json'; diff --git a/api_docs/kbn_handlebars.mdx b/api_docs/kbn_handlebars.mdx index eb427500f5180..7ca6bb3f58f4a 100644 --- a/api_docs/kbn_handlebars.mdx +++ b/api_docs/kbn_handlebars.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-handlebars title: "@kbn/handlebars" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/handlebars plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/handlebars'] --- import kbnHandlebarsObj from './kbn_handlebars.devdocs.json'; diff --git a/api_docs/kbn_hapi_mocks.mdx b/api_docs/kbn_hapi_mocks.mdx index 72b5e358f77f0..51b46ec8f1de1 100644 --- a/api_docs/kbn_hapi_mocks.mdx +++ b/api_docs/kbn_hapi_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-hapi-mocks title: "@kbn/hapi-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/hapi-mocks plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/hapi-mocks'] --- import kbnHapiMocksObj from './kbn_hapi_mocks.devdocs.json'; diff --git a/api_docs/kbn_home_sample_data_card.mdx b/api_docs/kbn_home_sample_data_card.mdx index 401931f044fb3..7e2d9a03595cf 100644 --- a/api_docs/kbn_home_sample_data_card.mdx +++ b/api_docs/kbn_home_sample_data_card.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-home-sample-data-card title: "@kbn/home-sample-data-card" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/home-sample-data-card plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/home-sample-data-card'] --- import kbnHomeSampleDataCardObj from './kbn_home_sample_data_card.devdocs.json'; diff --git a/api_docs/kbn_home_sample_data_tab.mdx b/api_docs/kbn_home_sample_data_tab.mdx index db210c5ffa929..111a7b659bf81 100644 --- a/api_docs/kbn_home_sample_data_tab.mdx +++ b/api_docs/kbn_home_sample_data_tab.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-home-sample-data-tab title: "@kbn/home-sample-data-tab" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/home-sample-data-tab plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/home-sample-data-tab'] --- import kbnHomeSampleDataTabObj from './kbn_home_sample_data_tab.devdocs.json'; diff --git a/api_docs/kbn_i18n.mdx b/api_docs/kbn_i18n.mdx index b565f85abd2ea..13f62b0e76519 100644 --- a/api_docs/kbn_i18n.mdx +++ b/api_docs/kbn_i18n.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-i18n title: "@kbn/i18n" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/i18n plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/i18n'] --- import kbnI18nObj from './kbn_i18n.devdocs.json'; diff --git a/api_docs/kbn_i18n_react.mdx b/api_docs/kbn_i18n_react.mdx index 45f196144653f..0f2778a82f018 100644 --- a/api_docs/kbn_i18n_react.mdx +++ b/api_docs/kbn_i18n_react.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-i18n-react title: "@kbn/i18n-react" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/i18n-react plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/i18n-react'] --- import kbnI18nReactObj from './kbn_i18n_react.devdocs.json'; diff --git a/api_docs/kbn_import_resolver.mdx b/api_docs/kbn_import_resolver.mdx index 10a0f1bf5f445..e277b84e69f95 100644 --- a/api_docs/kbn_import_resolver.mdx +++ b/api_docs/kbn_import_resolver.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-import-resolver title: "@kbn/import-resolver" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/import-resolver plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/import-resolver'] --- import kbnImportResolverObj from './kbn_import_resolver.devdocs.json'; diff --git a/api_docs/kbn_interpreter.mdx b/api_docs/kbn_interpreter.mdx index a0dd4b7ad0699..33211d1739b13 100644 --- a/api_docs/kbn_interpreter.mdx +++ b/api_docs/kbn_interpreter.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-interpreter title: "@kbn/interpreter" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/interpreter plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/interpreter'] --- import kbnInterpreterObj from './kbn_interpreter.devdocs.json'; diff --git a/api_docs/kbn_io_ts_utils.mdx b/api_docs/kbn_io_ts_utils.mdx index 47644e7926688..8c47000eb3a8c 100644 --- a/api_docs/kbn_io_ts_utils.mdx +++ b/api_docs/kbn_io_ts_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-io-ts-utils title: "@kbn/io-ts-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/io-ts-utils plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/io-ts-utils'] --- import kbnIoTsUtilsObj from './kbn_io_ts_utils.devdocs.json'; diff --git a/api_docs/kbn_jest_serializers.mdx b/api_docs/kbn_jest_serializers.mdx index 8721f02edf8d4..d1c2a25bacfd6 100644 --- a/api_docs/kbn_jest_serializers.mdx +++ b/api_docs/kbn_jest_serializers.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-jest-serializers title: "@kbn/jest-serializers" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/jest-serializers plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/jest-serializers'] --- import kbnJestSerializersObj from './kbn_jest_serializers.devdocs.json'; diff --git a/api_docs/kbn_journeys.mdx b/api_docs/kbn_journeys.mdx index 2292f6a6656f2..46dd4b7056c8e 100644 --- a/api_docs/kbn_journeys.mdx +++ b/api_docs/kbn_journeys.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-journeys title: "@kbn/journeys" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/journeys plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/journeys'] --- import kbnJourneysObj from './kbn_journeys.devdocs.json'; diff --git a/api_docs/kbn_kibana_manifest_schema.mdx b/api_docs/kbn_kibana_manifest_schema.mdx index 5557a32a35deb..4880e05024194 100644 --- a/api_docs/kbn_kibana_manifest_schema.mdx +++ b/api_docs/kbn_kibana_manifest_schema.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-kibana-manifest-schema title: "@kbn/kibana-manifest-schema" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/kibana-manifest-schema plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/kibana-manifest-schema'] --- import kbnKibanaManifestSchemaObj from './kbn_kibana_manifest_schema.devdocs.json'; diff --git a/api_docs/kbn_language_documentation_popover.mdx b/api_docs/kbn_language_documentation_popover.mdx index 8ad47524939f4..ee284472abac4 100644 --- a/api_docs/kbn_language_documentation_popover.mdx +++ b/api_docs/kbn_language_documentation_popover.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-language-documentation-popover title: "@kbn/language-documentation-popover" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/language-documentation-popover plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/language-documentation-popover'] --- import kbnLanguageDocumentationPopoverObj from './kbn_language_documentation_popover.devdocs.json'; diff --git a/api_docs/kbn_logging.mdx b/api_docs/kbn_logging.mdx index 8dd810ed7ec18..6065921d5a302 100644 --- a/api_docs/kbn_logging.mdx +++ b/api_docs/kbn_logging.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-logging title: "@kbn/logging" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/logging plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/logging'] --- import kbnLoggingObj from './kbn_logging.devdocs.json'; diff --git a/api_docs/kbn_logging_mocks.mdx b/api_docs/kbn_logging_mocks.mdx index cacf11cf0e0f3..e2eec42393837 100644 --- a/api_docs/kbn_logging_mocks.mdx +++ b/api_docs/kbn_logging_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-logging-mocks title: "@kbn/logging-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/logging-mocks plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/logging-mocks'] --- import kbnLoggingMocksObj from './kbn_logging_mocks.devdocs.json'; diff --git a/api_docs/kbn_managed_vscode_config.mdx b/api_docs/kbn_managed_vscode_config.mdx index 127c0b469692a..74e4f15b9d050 100644 --- a/api_docs/kbn_managed_vscode_config.mdx +++ b/api_docs/kbn_managed_vscode_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-managed-vscode-config title: "@kbn/managed-vscode-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/managed-vscode-config plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/managed-vscode-config'] --- import kbnManagedVscodeConfigObj from './kbn_managed_vscode_config.devdocs.json'; diff --git a/api_docs/kbn_mapbox_gl.mdx b/api_docs/kbn_mapbox_gl.mdx index bcf5bcd3809ba..031b38efd6f76 100644 --- a/api_docs/kbn_mapbox_gl.mdx +++ b/api_docs/kbn_mapbox_gl.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-mapbox-gl title: "@kbn/mapbox-gl" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/mapbox-gl plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/mapbox-gl'] --- import kbnMapboxGlObj from './kbn_mapbox_gl.devdocs.json'; diff --git a/api_docs/kbn_ml_agg_utils.mdx b/api_docs/kbn_ml_agg_utils.mdx index faa2b8152987b..3da3a8c938a73 100644 --- a/api_docs/kbn_ml_agg_utils.mdx +++ b/api_docs/kbn_ml_agg_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-agg-utils title: "@kbn/ml-agg-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-agg-utils plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-agg-utils'] --- import kbnMlAggUtilsObj from './kbn_ml_agg_utils.devdocs.json'; diff --git a/api_docs/kbn_ml_is_populated_object.mdx b/api_docs/kbn_ml_is_populated_object.mdx index ad095b32a12d2..29677c17e3b27 100644 --- a/api_docs/kbn_ml_is_populated_object.mdx +++ b/api_docs/kbn_ml_is_populated_object.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-is-populated-object title: "@kbn/ml-is-populated-object" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-is-populated-object plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-is-populated-object'] --- import kbnMlIsPopulatedObjectObj from './kbn_ml_is_populated_object.devdocs.json'; diff --git a/api_docs/kbn_ml_string_hash.mdx b/api_docs/kbn_ml_string_hash.mdx index 33a7ac1691349..afe16255f91e1 100644 --- a/api_docs/kbn_ml_string_hash.mdx +++ b/api_docs/kbn_ml_string_hash.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-string-hash title: "@kbn/ml-string-hash" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-string-hash plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-string-hash'] --- import kbnMlStringHashObj from './kbn_ml_string_hash.devdocs.json'; diff --git a/api_docs/kbn_monaco.mdx b/api_docs/kbn_monaco.mdx index a836aea9a6c3e..d85ec0b7d4204 100644 --- a/api_docs/kbn_monaco.mdx +++ b/api_docs/kbn_monaco.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-monaco title: "@kbn/monaco" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/monaco plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/monaco'] --- import kbnMonacoObj from './kbn_monaco.devdocs.json'; diff --git a/api_docs/kbn_optimizer.mdx b/api_docs/kbn_optimizer.mdx index 6ff23c6825e58..e4d8797ce82f5 100644 --- a/api_docs/kbn_optimizer.mdx +++ b/api_docs/kbn_optimizer.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-optimizer title: "@kbn/optimizer" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/optimizer plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/optimizer'] --- import kbnOptimizerObj from './kbn_optimizer.devdocs.json'; diff --git a/api_docs/kbn_optimizer_webpack_helpers.mdx b/api_docs/kbn_optimizer_webpack_helpers.mdx index 698ce9b556e4b..ac8467a850fae 100644 --- a/api_docs/kbn_optimizer_webpack_helpers.mdx +++ b/api_docs/kbn_optimizer_webpack_helpers.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-optimizer-webpack-helpers title: "@kbn/optimizer-webpack-helpers" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/optimizer-webpack-helpers plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/optimizer-webpack-helpers'] --- import kbnOptimizerWebpackHelpersObj from './kbn_optimizer_webpack_helpers.devdocs.json'; diff --git a/api_docs/kbn_osquery_io_ts_types.mdx b/api_docs/kbn_osquery_io_ts_types.mdx index f5a3b622d1da8..9a7e5ea33e81b 100644 --- a/api_docs/kbn_osquery_io_ts_types.mdx +++ b/api_docs/kbn_osquery_io_ts_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-osquery-io-ts-types title: "@kbn/osquery-io-ts-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/osquery-io-ts-types plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/osquery-io-ts-types'] --- import kbnOsqueryIoTsTypesObj from './kbn_osquery_io_ts_types.devdocs.json'; diff --git a/api_docs/kbn_performance_testing_dataset_extractor.mdx b/api_docs/kbn_performance_testing_dataset_extractor.mdx index e9d23683cabda..9e3d5150080dc 100644 --- a/api_docs/kbn_performance_testing_dataset_extractor.mdx +++ b/api_docs/kbn_performance_testing_dataset_extractor.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-performance-testing-dataset-extractor title: "@kbn/performance-testing-dataset-extractor" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/performance-testing-dataset-extractor plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/performance-testing-dataset-extractor'] --- import kbnPerformanceTestingDatasetExtractorObj from './kbn_performance_testing_dataset_extractor.devdocs.json'; diff --git a/api_docs/kbn_plugin_generator.mdx b/api_docs/kbn_plugin_generator.mdx index fd990f8706606..5bd8abb6f6479 100644 --- a/api_docs/kbn_plugin_generator.mdx +++ b/api_docs/kbn_plugin_generator.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-plugin-generator title: "@kbn/plugin-generator" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/plugin-generator plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/plugin-generator'] --- import kbnPluginGeneratorObj from './kbn_plugin_generator.devdocs.json'; diff --git a/api_docs/kbn_plugin_helpers.mdx b/api_docs/kbn_plugin_helpers.mdx index 922a6b1a87d98..4e8016f41e53a 100644 --- a/api_docs/kbn_plugin_helpers.mdx +++ b/api_docs/kbn_plugin_helpers.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-plugin-helpers title: "@kbn/plugin-helpers" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/plugin-helpers plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/plugin-helpers'] --- import kbnPluginHelpersObj from './kbn_plugin_helpers.devdocs.json'; diff --git a/api_docs/kbn_react_field.mdx b/api_docs/kbn_react_field.mdx index ff7cb8c6dcd1b..9f3690ad29f27 100644 --- a/api_docs/kbn_react_field.mdx +++ b/api_docs/kbn_react_field.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-react-field title: "@kbn/react-field" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/react-field plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/react-field'] --- import kbnReactFieldObj from './kbn_react_field.devdocs.json'; diff --git a/api_docs/kbn_repo_source_classifier.mdx b/api_docs/kbn_repo_source_classifier.mdx index 4667ce301e70d..64cd086abca61 100644 --- a/api_docs/kbn_repo_source_classifier.mdx +++ b/api_docs/kbn_repo_source_classifier.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-repo-source-classifier title: "@kbn/repo-source-classifier" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/repo-source-classifier plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/repo-source-classifier'] --- import kbnRepoSourceClassifierObj from './kbn_repo_source_classifier.devdocs.json'; diff --git a/api_docs/kbn_rule_data_utils.mdx b/api_docs/kbn_rule_data_utils.mdx index 723441004032f..022c5ecfb17e9 100644 --- a/api_docs/kbn_rule_data_utils.mdx +++ b/api_docs/kbn_rule_data_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-rule-data-utils title: "@kbn/rule-data-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/rule-data-utils plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/rule-data-utils'] --- import kbnRuleDataUtilsObj from './kbn_rule_data_utils.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_autocomplete.mdx b/api_docs/kbn_securitysolution_autocomplete.mdx index 4617117610cee..38d8ec0e01fe0 100644 --- a/api_docs/kbn_securitysolution_autocomplete.mdx +++ b/api_docs/kbn_securitysolution_autocomplete.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-autocomplete title: "@kbn/securitysolution-autocomplete" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-autocomplete plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-autocomplete'] --- import kbnSecuritysolutionAutocompleteObj from './kbn_securitysolution_autocomplete.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_es_utils.mdx b/api_docs/kbn_securitysolution_es_utils.mdx index 8bc6a87d55bec..65b8f48a21dd6 100644 --- a/api_docs/kbn_securitysolution_es_utils.mdx +++ b/api_docs/kbn_securitysolution_es_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-es-utils title: "@kbn/securitysolution-es-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-es-utils plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-es-utils'] --- import kbnSecuritysolutionEsUtilsObj from './kbn_securitysolution_es_utils.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_exception_list_components.mdx b/api_docs/kbn_securitysolution_exception_list_components.mdx index 6a0db0065f5af..18ac96d992c14 100644 --- a/api_docs/kbn_securitysolution_exception_list_components.mdx +++ b/api_docs/kbn_securitysolution_exception_list_components.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-exception-list-components title: "@kbn/securitysolution-exception-list-components" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-exception-list-components plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-exception-list-components'] --- import kbnSecuritysolutionExceptionListComponentsObj from './kbn_securitysolution_exception_list_components.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_hook_utils.mdx b/api_docs/kbn_securitysolution_hook_utils.mdx index feed204bb0bb4..e02b0d0a67cac 100644 --- a/api_docs/kbn_securitysolution_hook_utils.mdx +++ b/api_docs/kbn_securitysolution_hook_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-hook-utils title: "@kbn/securitysolution-hook-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-hook-utils plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-hook-utils'] --- import kbnSecuritysolutionHookUtilsObj from './kbn_securitysolution_hook_utils.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_io_ts_alerting_types.mdx b/api_docs/kbn_securitysolution_io_ts_alerting_types.mdx index eb1d7416ac8c4..18de786c20315 100644 --- a/api_docs/kbn_securitysolution_io_ts_alerting_types.mdx +++ b/api_docs/kbn_securitysolution_io_ts_alerting_types.mdx @@ -8,7 +8,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 description: API docs for the @kbn/securitysolution-io-ts-alerting-types plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-io-ts-alerting-types'] --- import kbnSecuritysolutionIoTsAlertingTypesObj from './kbn_securitysolution_io_ts_alerting_types.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_io_ts_list_types.mdx b/api_docs/kbn_securitysolution_io_ts_list_types.mdx index a710c4a364785..3f2d31848d80f 100644 --- a/api_docs/kbn_securitysolution_io_ts_list_types.mdx +++ b/api_docs/kbn_securitysolution_io_ts_list_types.mdx @@ -8,7 +8,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 description: API docs for the @kbn/securitysolution-io-ts-list-types plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-io-ts-list-types'] --- import kbnSecuritysolutionIoTsListTypesObj from './kbn_securitysolution_io_ts_list_types.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_io_ts_types.mdx b/api_docs/kbn_securitysolution_io_ts_types.mdx index 084e70906ff51..daffd458535f9 100644 --- a/api_docs/kbn_securitysolution_io_ts_types.mdx +++ b/api_docs/kbn_securitysolution_io_ts_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-io-ts-types title: "@kbn/securitysolution-io-ts-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-io-ts-types plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-io-ts-types'] --- import kbnSecuritysolutionIoTsTypesObj from './kbn_securitysolution_io_ts_types.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_io_ts_utils.mdx b/api_docs/kbn_securitysolution_io_ts_utils.mdx index d86079dc26a3c..bb5524f52f1e6 100644 --- a/api_docs/kbn_securitysolution_io_ts_utils.mdx +++ b/api_docs/kbn_securitysolution_io_ts_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-io-ts-utils title: "@kbn/securitysolution-io-ts-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-io-ts-utils plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-io-ts-utils'] --- import kbnSecuritysolutionIoTsUtilsObj from './kbn_securitysolution_io_ts_utils.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_list_api.mdx b/api_docs/kbn_securitysolution_list_api.mdx index d527deb508042..b6d2b2ff50623 100644 --- a/api_docs/kbn_securitysolution_list_api.mdx +++ b/api_docs/kbn_securitysolution_list_api.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-list-api title: "@kbn/securitysolution-list-api" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-list-api plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-list-api'] --- import kbnSecuritysolutionListApiObj from './kbn_securitysolution_list_api.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_list_constants.mdx b/api_docs/kbn_securitysolution_list_constants.mdx index 0fadb448e6355..bd50d1bb08f2a 100644 --- a/api_docs/kbn_securitysolution_list_constants.mdx +++ b/api_docs/kbn_securitysolution_list_constants.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-list-constants title: "@kbn/securitysolution-list-constants" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-list-constants plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-list-constants'] --- import kbnSecuritysolutionListConstantsObj from './kbn_securitysolution_list_constants.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_list_hooks.mdx b/api_docs/kbn_securitysolution_list_hooks.mdx index 89dcaf176aee5..c2673ad1c20ad 100644 --- a/api_docs/kbn_securitysolution_list_hooks.mdx +++ b/api_docs/kbn_securitysolution_list_hooks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-list-hooks title: "@kbn/securitysolution-list-hooks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-list-hooks plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-list-hooks'] --- import kbnSecuritysolutionListHooksObj from './kbn_securitysolution_list_hooks.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_list_utils.mdx b/api_docs/kbn_securitysolution_list_utils.mdx index 1ea6e81980027..3754b02e09eb1 100644 --- a/api_docs/kbn_securitysolution_list_utils.mdx +++ b/api_docs/kbn_securitysolution_list_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-list-utils title: "@kbn/securitysolution-list-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-list-utils plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-list-utils'] --- import kbnSecuritysolutionListUtilsObj from './kbn_securitysolution_list_utils.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_rules.mdx b/api_docs/kbn_securitysolution_rules.mdx index ddc14cf7b423a..e84ceba0c74e2 100644 --- a/api_docs/kbn_securitysolution_rules.mdx +++ b/api_docs/kbn_securitysolution_rules.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-rules title: "@kbn/securitysolution-rules" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-rules plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-rules'] --- import kbnSecuritysolutionRulesObj from './kbn_securitysolution_rules.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_t_grid.mdx b/api_docs/kbn_securitysolution_t_grid.mdx index 590994a51d2d8..088be7f384a6a 100644 --- a/api_docs/kbn_securitysolution_t_grid.mdx +++ b/api_docs/kbn_securitysolution_t_grid.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-t-grid title: "@kbn/securitysolution-t-grid" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-t-grid plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-t-grid'] --- import kbnSecuritysolutionTGridObj from './kbn_securitysolution_t_grid.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_utils.mdx b/api_docs/kbn_securitysolution_utils.mdx index a81c7cf252677..87eda2aefa80c 100644 --- a/api_docs/kbn_securitysolution_utils.mdx +++ b/api_docs/kbn_securitysolution_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-utils title: "@kbn/securitysolution-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-utils plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-utils'] --- import kbnSecuritysolutionUtilsObj from './kbn_securitysolution_utils.devdocs.json'; diff --git a/api_docs/kbn_server_http_tools.mdx b/api_docs/kbn_server_http_tools.mdx index ad30c111ce298..949a80a1daf36 100644 --- a/api_docs/kbn_server_http_tools.mdx +++ b/api_docs/kbn_server_http_tools.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-server-http-tools title: "@kbn/server-http-tools" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/server-http-tools plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/server-http-tools'] --- import kbnServerHttpToolsObj from './kbn_server_http_tools.devdocs.json'; diff --git a/api_docs/kbn_server_route_repository.mdx b/api_docs/kbn_server_route_repository.mdx index 5ba79aba31ca8..b24fa399ea03c 100644 --- a/api_docs/kbn_server_route_repository.mdx +++ b/api_docs/kbn_server_route_repository.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-server-route-repository title: "@kbn/server-route-repository" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/server-route-repository plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/server-route-repository'] --- import kbnServerRouteRepositoryObj from './kbn_server_route_repository.devdocs.json'; diff --git a/api_docs/kbn_shared_svg.mdx b/api_docs/kbn_shared_svg.mdx index 721c1f9e0fcc7..80ed4944edf95 100644 --- a/api_docs/kbn_shared_svg.mdx +++ b/api_docs/kbn_shared_svg.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-svg title: "@kbn/shared-svg" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-svg plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-svg'] --- import kbnSharedSvgObj from './kbn_shared_svg.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_avatar_solution.mdx b/api_docs/kbn_shared_ux_avatar_solution.mdx index da3b434ed0584..616843e7fc739 100644 --- a/api_docs/kbn_shared_ux_avatar_solution.mdx +++ b/api_docs/kbn_shared_ux_avatar_solution.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-avatar-solution title: "@kbn/shared-ux-avatar-solution" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-avatar-solution plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-avatar-solution'] --- import kbnSharedUxAvatarSolutionObj from './kbn_shared_ux_avatar_solution.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_avatar_user_profile_components.mdx b/api_docs/kbn_shared_ux_avatar_user_profile_components.mdx index c68ac8d062002..7b5942840740e 100644 --- a/api_docs/kbn_shared_ux_avatar_user_profile_components.mdx +++ b/api_docs/kbn_shared_ux_avatar_user_profile_components.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-avatar-user-profile-components title: "@kbn/shared-ux-avatar-user-profile-components" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-avatar-user-profile-components plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-avatar-user-profile-components'] --- import kbnSharedUxAvatarUserProfileComponentsObj from './kbn_shared_ux_avatar_user_profile_components.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_button_exit_full_screen.mdx b/api_docs/kbn_shared_ux_button_exit_full_screen.mdx index 9944cb0a6ae23..d2e15a8f4d5d6 100644 --- a/api_docs/kbn_shared_ux_button_exit_full_screen.mdx +++ b/api_docs/kbn_shared_ux_button_exit_full_screen.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-button-exit-full-screen title: "@kbn/shared-ux-button-exit-full-screen" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-button-exit-full-screen plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-button-exit-full-screen'] --- import kbnSharedUxButtonExitFullScreenObj from './kbn_shared_ux_button_exit_full_screen.devdocs.json'; 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 32587102b4695..f72ed83bd3509 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 @@ -8,7 +8,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 description: API docs for the @kbn/shared-ux-button-exit-full-screen-mocks plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-button-exit-full-screen-mocks'] --- import kbnSharedUxButtonExitFullScreenMocksObj from './kbn_shared_ux_button_exit_full_screen_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_button_toolbar.mdx b/api_docs/kbn_shared_ux_button_toolbar.mdx index fa84048a0d2ef..aee5367e1cb17 100644 --- a/api_docs/kbn_shared_ux_button_toolbar.mdx +++ b/api_docs/kbn_shared_ux_button_toolbar.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-button-toolbar title: "@kbn/shared-ux-button-toolbar" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-button-toolbar plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-button-toolbar'] --- import kbnSharedUxButtonToolbarObj from './kbn_shared_ux_button_toolbar.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_card_no_data.mdx b/api_docs/kbn_shared_ux_card_no_data.mdx index 4ba03026595f7..11d36200d01a2 100644 --- a/api_docs/kbn_shared_ux_card_no_data.mdx +++ b/api_docs/kbn_shared_ux_card_no_data.mdx @@ -8,7 +8,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 description: API docs for the @kbn/shared-ux-card-no-data plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-card-no-data'] --- import kbnSharedUxCardNoDataObj from './kbn_shared_ux_card_no_data.devdocs.json'; 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 9cba99902f2c8..d51956ad7bee1 100644 --- a/api_docs/kbn_shared_ux_card_no_data_mocks.mdx +++ b/api_docs/kbn_shared_ux_card_no_data_mocks.mdx @@ -8,7 +8,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 description: API docs for the @kbn/shared-ux-card-no-data-mocks plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-card-no-data-mocks'] --- import kbnSharedUxCardNoDataMocksObj from './kbn_shared_ux_card_no_data_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_link_redirect_app.mdx b/api_docs/kbn_shared_ux_link_redirect_app.mdx index 545a31e8a92a7..78ed4841b4f7f 100644 --- a/api_docs/kbn_shared_ux_link_redirect_app.mdx +++ b/api_docs/kbn_shared_ux_link_redirect_app.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-link-redirect-app title: "@kbn/shared-ux-link-redirect-app" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-link-redirect-app plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-link-redirect-app'] --- import kbnSharedUxLinkRedirectAppObj from './kbn_shared_ux_link_redirect_app.devdocs.json'; 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 90d1e90b26dc9..57c4b6e4ae934 100644 --- a/api_docs/kbn_shared_ux_link_redirect_app_mocks.mdx +++ b/api_docs/kbn_shared_ux_link_redirect_app_mocks.mdx @@ -8,7 +8,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 description: API docs for the @kbn/shared-ux-link-redirect-app-mocks plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-link-redirect-app-mocks'] --- import kbnSharedUxLinkRedirectAppMocksObj from './kbn_shared_ux_link_redirect_app_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_markdown.mdx b/api_docs/kbn_shared_ux_markdown.mdx index b44927ed57188..10ec32d2099a6 100644 --- a/api_docs/kbn_shared_ux_markdown.mdx +++ b/api_docs/kbn_shared_ux_markdown.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-markdown title: "@kbn/shared-ux-markdown" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-markdown plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-markdown'] --- import kbnSharedUxMarkdownObj from './kbn_shared_ux_markdown.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_markdown_mocks.mdx b/api_docs/kbn_shared_ux_markdown_mocks.mdx index d68e853db5385..ed0d7e21980be 100644 --- a/api_docs/kbn_shared_ux_markdown_mocks.mdx +++ b/api_docs/kbn_shared_ux_markdown_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-markdown-mocks title: "@kbn/shared-ux-markdown-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-markdown-mocks plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-markdown-mocks'] --- import kbnSharedUxMarkdownMocksObj from './kbn_shared_ux_markdown_mocks.devdocs.json'; 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 8a707994ba472..98c783b4252e1 100644 --- a/api_docs/kbn_shared_ux_page_analytics_no_data.mdx +++ b/api_docs/kbn_shared_ux_page_analytics_no_data.mdx @@ -8,7 +8,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 description: API docs for the @kbn/shared-ux-page-analytics-no-data plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-analytics-no-data'] --- import kbnSharedUxPageAnalyticsNoDataObj from './kbn_shared_ux_page_analytics_no_data.devdocs.json'; 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 3ba2a29d2b3ef..af6d0a52cc402 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 @@ -8,7 +8,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 description: API docs for the @kbn/shared-ux-page-analytics-no-data-mocks plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-analytics-no-data-mocks'] --- import kbnSharedUxPageAnalyticsNoDataMocksObj from './kbn_shared_ux_page_analytics_no_data_mocks.devdocs.json'; 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 bdc14a6a7c092..6f463aa6d5434 100644 --- a/api_docs/kbn_shared_ux_page_kibana_no_data.mdx +++ b/api_docs/kbn_shared_ux_page_kibana_no_data.mdx @@ -8,7 +8,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 description: API docs for the @kbn/shared-ux-page-kibana-no-data plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-kibana-no-data'] --- import kbnSharedUxPageKibanaNoDataObj from './kbn_shared_ux_page_kibana_no_data.devdocs.json'; 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 5e08157603fce..e948b6be920c2 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 @@ -8,7 +8,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 description: API docs for the @kbn/shared-ux-page-kibana-no-data-mocks plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-kibana-no-data-mocks'] --- import kbnSharedUxPageKibanaNoDataMocksObj from './kbn_shared_ux_page_kibana_no_data_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_kibana_template.mdx b/api_docs/kbn_shared_ux_page_kibana_template.mdx index 6c0617f983c8c..69672643f308b 100644 --- a/api_docs/kbn_shared_ux_page_kibana_template.mdx +++ b/api_docs/kbn_shared_ux_page_kibana_template.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-kibana-template title: "@kbn/shared-ux-page-kibana-template" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-kibana-template plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-kibana-template'] --- import kbnSharedUxPageKibanaTemplateObj from './kbn_shared_ux_page_kibana_template.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_kibana_template_mocks.mdx b/api_docs/kbn_shared_ux_page_kibana_template_mocks.mdx index f28c917a23c99..cc8b75129677e 100644 --- a/api_docs/kbn_shared_ux_page_kibana_template_mocks.mdx +++ b/api_docs/kbn_shared_ux_page_kibana_template_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-kibana-template-mocks title: "@kbn/shared-ux-page-kibana-template-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-kibana-template-mocks plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-kibana-template-mocks'] --- import kbnSharedUxPageKibanaTemplateMocksObj from './kbn_shared_ux_page_kibana_template_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_no_data.mdx b/api_docs/kbn_shared_ux_page_no_data.mdx index 944766e802158..c8f92d6a78035 100644 --- a/api_docs/kbn_shared_ux_page_no_data.mdx +++ b/api_docs/kbn_shared_ux_page_no_data.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-no-data title: "@kbn/shared-ux-page-no-data" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-no-data plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-no-data'] --- import kbnSharedUxPageNoDataObj from './kbn_shared_ux_page_no_data.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_no_data_config.mdx b/api_docs/kbn_shared_ux_page_no_data_config.mdx index 418a923ea7cfc..a742104eca3e8 100644 --- a/api_docs/kbn_shared_ux_page_no_data_config.mdx +++ b/api_docs/kbn_shared_ux_page_no_data_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-no-data-config title: "@kbn/shared-ux-page-no-data-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-no-data-config plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-no-data-config'] --- import kbnSharedUxPageNoDataConfigObj from './kbn_shared_ux_page_no_data_config.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_no_data_config_mocks.mdx b/api_docs/kbn_shared_ux_page_no_data_config_mocks.mdx index cc8f0143857ee..f778a95ade353 100644 --- a/api_docs/kbn_shared_ux_page_no_data_config_mocks.mdx +++ b/api_docs/kbn_shared_ux_page_no_data_config_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-no-data-config-mocks title: "@kbn/shared-ux-page-no-data-config-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-no-data-config-mocks plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-no-data-config-mocks'] --- import kbnSharedUxPageNoDataConfigMocksObj from './kbn_shared_ux_page_no_data_config_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_no_data_mocks.mdx b/api_docs/kbn_shared_ux_page_no_data_mocks.mdx index 8739839369fbb..07934b29c2ef8 100644 --- a/api_docs/kbn_shared_ux_page_no_data_mocks.mdx +++ b/api_docs/kbn_shared_ux_page_no_data_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-no-data-mocks title: "@kbn/shared-ux-page-no-data-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-no-data-mocks plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-no-data-mocks'] --- import kbnSharedUxPageNoDataMocksObj from './kbn_shared_ux_page_no_data_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_solution_nav.mdx b/api_docs/kbn_shared_ux_page_solution_nav.mdx index 106574c903bb8..be6fa825778c8 100644 --- a/api_docs/kbn_shared_ux_page_solution_nav.mdx +++ b/api_docs/kbn_shared_ux_page_solution_nav.mdx @@ -8,7 +8,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 description: API docs for the @kbn/shared-ux-page-solution-nav plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-solution-nav'] --- import kbnSharedUxPageSolutionNavObj from './kbn_shared_ux_page_solution_nav.devdocs.json'; 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 e43f46dd298d3..d1bff331a6c51 100644 --- a/api_docs/kbn_shared_ux_prompt_no_data_views.mdx +++ b/api_docs/kbn_shared_ux_prompt_no_data_views.mdx @@ -8,7 +8,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 description: API docs for the @kbn/shared-ux-prompt-no-data-views plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-prompt-no-data-views'] --- import kbnSharedUxPromptNoDataViewsObj from './kbn_shared_ux_prompt_no_data_views.devdocs.json'; 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 6a38079683938..81c0603dbedf7 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 @@ -8,7 +8,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 description: API docs for the @kbn/shared-ux-prompt-no-data-views-mocks plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-prompt-no-data-views-mocks'] --- import kbnSharedUxPromptNoDataViewsMocksObj from './kbn_shared_ux_prompt_no_data_views_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_router.mdx b/api_docs/kbn_shared_ux_router.mdx index 202bec3b741b5..c0f2e10672f04 100644 --- a/api_docs/kbn_shared_ux_router.mdx +++ b/api_docs/kbn_shared_ux_router.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-router title: "@kbn/shared-ux-router" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-router plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-router'] --- import kbnSharedUxRouterObj from './kbn_shared_ux_router.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_router_mocks.mdx b/api_docs/kbn_shared_ux_router_mocks.mdx index 1aa25e970e8ea..8098d1cb4781a 100644 --- a/api_docs/kbn_shared_ux_router_mocks.mdx +++ b/api_docs/kbn_shared_ux_router_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-router-mocks title: "@kbn/shared-ux-router-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-router-mocks plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-router-mocks'] --- import kbnSharedUxRouterMocksObj from './kbn_shared_ux_router_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_storybook_config.mdx b/api_docs/kbn_shared_ux_storybook_config.mdx index 9175bd7d34878..999f5e6729b81 100644 --- a/api_docs/kbn_shared_ux_storybook_config.mdx +++ b/api_docs/kbn_shared_ux_storybook_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-storybook-config title: "@kbn/shared-ux-storybook-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-storybook-config plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-storybook-config'] --- import kbnSharedUxStorybookConfigObj from './kbn_shared_ux_storybook_config.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_storybook_mock.mdx b/api_docs/kbn_shared_ux_storybook_mock.mdx index 8c199e7a47ee6..12ca85a447435 100644 --- a/api_docs/kbn_shared_ux_storybook_mock.mdx +++ b/api_docs/kbn_shared_ux_storybook_mock.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-storybook-mock title: "@kbn/shared-ux-storybook-mock" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-storybook-mock plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-storybook-mock'] --- import kbnSharedUxStorybookMockObj from './kbn_shared_ux_storybook_mock.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_utility.mdx b/api_docs/kbn_shared_ux_utility.mdx index 31db6c95984b3..2c42de415757d 100644 --- a/api_docs/kbn_shared_ux_utility.mdx +++ b/api_docs/kbn_shared_ux_utility.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-utility title: "@kbn/shared-ux-utility" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-utility plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-utility'] --- import kbnSharedUxUtilityObj from './kbn_shared_ux_utility.devdocs.json'; diff --git a/api_docs/kbn_some_dev_log.mdx b/api_docs/kbn_some_dev_log.mdx index daa1e5abdf07f..e06d59275a656 100644 --- a/api_docs/kbn_some_dev_log.mdx +++ b/api_docs/kbn_some_dev_log.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-some-dev-log title: "@kbn/some-dev-log" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/some-dev-log plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/some-dev-log'] --- import kbnSomeDevLogObj from './kbn_some_dev_log.devdocs.json'; diff --git a/api_docs/kbn_sort_package_json.mdx b/api_docs/kbn_sort_package_json.mdx index dac9486e5e29b..9a61932038f5f 100644 --- a/api_docs/kbn_sort_package_json.mdx +++ b/api_docs/kbn_sort_package_json.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-sort-package-json title: "@kbn/sort-package-json" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/sort-package-json plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/sort-package-json'] --- import kbnSortPackageJsonObj from './kbn_sort_package_json.devdocs.json'; diff --git a/api_docs/kbn_std.mdx b/api_docs/kbn_std.mdx index f9d7f2b4ea645..0526e7dc1e575 100644 --- a/api_docs/kbn_std.mdx +++ b/api_docs/kbn_std.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-std title: "@kbn/std" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/std plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/std'] --- import kbnStdObj from './kbn_std.devdocs.json'; diff --git a/api_docs/kbn_stdio_dev_helpers.mdx b/api_docs/kbn_stdio_dev_helpers.mdx index 920779144a8ee..7c8a214d81c65 100644 --- a/api_docs/kbn_stdio_dev_helpers.mdx +++ b/api_docs/kbn_stdio_dev_helpers.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-stdio-dev-helpers title: "@kbn/stdio-dev-helpers" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/stdio-dev-helpers plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/stdio-dev-helpers'] --- import kbnStdioDevHelpersObj from './kbn_stdio_dev_helpers.devdocs.json'; diff --git a/api_docs/kbn_storybook.mdx b/api_docs/kbn_storybook.mdx index 5bf82c0949bd9..a42169ca4a8d5 100644 --- a/api_docs/kbn_storybook.mdx +++ b/api_docs/kbn_storybook.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-storybook title: "@kbn/storybook" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/storybook plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/storybook'] --- import kbnStorybookObj from './kbn_storybook.devdocs.json'; diff --git a/api_docs/kbn_telemetry_tools.mdx b/api_docs/kbn_telemetry_tools.mdx index 599a8fa057390..33fa4899c6c5c 100644 --- a/api_docs/kbn_telemetry_tools.mdx +++ b/api_docs/kbn_telemetry_tools.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-telemetry-tools title: "@kbn/telemetry-tools" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/telemetry-tools plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/telemetry-tools'] --- import kbnTelemetryToolsObj from './kbn_telemetry_tools.devdocs.json'; diff --git a/api_docs/kbn_test.mdx b/api_docs/kbn_test.mdx index 7c490b6e198fb..07b2852efaea5 100644 --- a/api_docs/kbn_test.mdx +++ b/api_docs/kbn_test.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-test title: "@kbn/test" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/test plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/test'] --- import kbnTestObj from './kbn_test.devdocs.json'; diff --git a/api_docs/kbn_test_jest_helpers.mdx b/api_docs/kbn_test_jest_helpers.mdx index 9f8f7ea3bb618..40878db2b1acb 100644 --- a/api_docs/kbn_test_jest_helpers.mdx +++ b/api_docs/kbn_test_jest_helpers.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-test-jest-helpers title: "@kbn/test-jest-helpers" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/test-jest-helpers plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/test-jest-helpers'] --- import kbnTestJestHelpersObj from './kbn_test_jest_helpers.devdocs.json'; diff --git a/api_docs/kbn_test_subj_selector.mdx b/api_docs/kbn_test_subj_selector.mdx index 94de512069883..b718ee2a0b11e 100644 --- a/api_docs/kbn_test_subj_selector.mdx +++ b/api_docs/kbn_test_subj_selector.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-test-subj-selector title: "@kbn/test-subj-selector" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/test-subj-selector plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/test-subj-selector'] --- import kbnTestSubjSelectorObj from './kbn_test_subj_selector.devdocs.json'; diff --git a/api_docs/kbn_tooling_log.mdx b/api_docs/kbn_tooling_log.mdx index 3641b8c885cc1..788004d27bae0 100644 --- a/api_docs/kbn_tooling_log.mdx +++ b/api_docs/kbn_tooling_log.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-tooling-log title: "@kbn/tooling-log" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/tooling-log plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/tooling-log'] --- import kbnToolingLogObj from './kbn_tooling_log.devdocs.json'; diff --git a/api_docs/kbn_type_summarizer.mdx b/api_docs/kbn_type_summarizer.mdx index aace1473048a6..7761b81bdf24b 100644 --- a/api_docs/kbn_type_summarizer.mdx +++ b/api_docs/kbn_type_summarizer.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-type-summarizer title: "@kbn/type-summarizer" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/type-summarizer plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/type-summarizer'] --- import kbnTypeSummarizerObj from './kbn_type_summarizer.devdocs.json'; diff --git a/api_docs/kbn_type_summarizer_core.mdx b/api_docs/kbn_type_summarizer_core.mdx index 640c782e0473d..a2c4bd2e7cd86 100644 --- a/api_docs/kbn_type_summarizer_core.mdx +++ b/api_docs/kbn_type_summarizer_core.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-type-summarizer-core title: "@kbn/type-summarizer-core" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/type-summarizer-core plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/type-summarizer-core'] --- import kbnTypeSummarizerCoreObj from './kbn_type_summarizer_core.devdocs.json'; diff --git a/api_docs/kbn_typed_react_router_config.mdx b/api_docs/kbn_typed_react_router_config.mdx index 331ec9c440ae9..c2786b0e9c713 100644 --- a/api_docs/kbn_typed_react_router_config.mdx +++ b/api_docs/kbn_typed_react_router_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-typed-react-router-config title: "@kbn/typed-react-router-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/typed-react-router-config plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/typed-react-router-config'] --- import kbnTypedReactRouterConfigObj from './kbn_typed_react_router_config.devdocs.json'; diff --git a/api_docs/kbn_ui_shared_deps_src.mdx b/api_docs/kbn_ui_shared_deps_src.mdx index da52a0ffb0163..2ae7c6c2626dc 100644 --- a/api_docs/kbn_ui_shared_deps_src.mdx +++ b/api_docs/kbn_ui_shared_deps_src.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ui-shared-deps-src title: "@kbn/ui-shared-deps-src" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ui-shared-deps-src plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ui-shared-deps-src'] --- import kbnUiSharedDepsSrcObj from './kbn_ui_shared_deps_src.devdocs.json'; diff --git a/api_docs/kbn_ui_theme.mdx b/api_docs/kbn_ui_theme.mdx index 9c8c13d3462cc..ba6993957e63f 100644 --- a/api_docs/kbn_ui_theme.mdx +++ b/api_docs/kbn_ui_theme.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ui-theme title: "@kbn/ui-theme" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ui-theme plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ui-theme'] --- import kbnUiThemeObj from './kbn_ui_theme.devdocs.json'; diff --git a/api_docs/kbn_user_profile_components.mdx b/api_docs/kbn_user_profile_components.mdx index 5355e2b5e4753..27d13e7ecff24 100644 --- a/api_docs/kbn_user_profile_components.mdx +++ b/api_docs/kbn_user_profile_components.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-user-profile-components title: "@kbn/user-profile-components" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/user-profile-components plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/user-profile-components'] --- import kbnUserProfileComponentsObj from './kbn_user_profile_components.devdocs.json'; diff --git a/api_docs/kbn_utility_types.mdx b/api_docs/kbn_utility_types.mdx index a909c0c6acd59..d73762312d067 100644 --- a/api_docs/kbn_utility_types.mdx +++ b/api_docs/kbn_utility_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-utility-types title: "@kbn/utility-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/utility-types plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/utility-types'] --- import kbnUtilityTypesObj from './kbn_utility_types.devdocs.json'; diff --git a/api_docs/kbn_utility_types_jest.mdx b/api_docs/kbn_utility_types_jest.mdx index 849035953e8ea..476c33f908492 100644 --- a/api_docs/kbn_utility_types_jest.mdx +++ b/api_docs/kbn_utility_types_jest.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-utility-types-jest title: "@kbn/utility-types-jest" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/utility-types-jest plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/utility-types-jest'] --- import kbnUtilityTypesJestObj from './kbn_utility_types_jest.devdocs.json'; diff --git a/api_docs/kbn_utils.mdx b/api_docs/kbn_utils.mdx index f331c3fccf226..e4fe008027db0 100644 --- a/api_docs/kbn_utils.mdx +++ b/api_docs/kbn_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-utils title: "@kbn/utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/utils plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/utils'] --- import kbnUtilsObj from './kbn_utils.devdocs.json'; diff --git a/api_docs/kbn_yarn_lock_validator.mdx b/api_docs/kbn_yarn_lock_validator.mdx index 8f60e46595223..3641c2efc4faa 100644 --- a/api_docs/kbn_yarn_lock_validator.mdx +++ b/api_docs/kbn_yarn_lock_validator.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-yarn-lock-validator title: "@kbn/yarn-lock-validator" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/yarn-lock-validator plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/yarn-lock-validator'] --- import kbnYarnLockValidatorObj from './kbn_yarn_lock_validator.devdocs.json'; diff --git a/api_docs/kibana_overview.mdx b/api_docs/kibana_overview.mdx index d39d05d25c7a5..a8ef8e516c114 100644 --- a/api_docs/kibana_overview.mdx +++ b/api_docs/kibana_overview.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kibanaOverview title: "kibanaOverview" image: https://source.unsplash.com/400x175/?github description: API docs for the kibanaOverview plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'kibanaOverview'] --- import kibanaOverviewObj from './kibana_overview.devdocs.json'; diff --git a/api_docs/kibana_react.mdx b/api_docs/kibana_react.mdx index 52cd3f3723871..8aa83e00d9fbe 100644 --- a/api_docs/kibana_react.mdx +++ b/api_docs/kibana_react.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kibanaReact title: "kibanaReact" image: https://source.unsplash.com/400x175/?github description: API docs for the kibanaReact plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'kibanaReact'] --- import kibanaReactObj from './kibana_react.devdocs.json'; diff --git a/api_docs/kibana_utils.mdx b/api_docs/kibana_utils.mdx index aaa1918749881..37b1b88208861 100644 --- a/api_docs/kibana_utils.mdx +++ b/api_docs/kibana_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kibanaUtils title: "kibanaUtils" image: https://source.unsplash.com/400x175/?github description: API docs for the kibanaUtils plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'kibanaUtils'] --- import kibanaUtilsObj from './kibana_utils.devdocs.json'; diff --git a/api_docs/kubernetes_security.mdx b/api_docs/kubernetes_security.mdx index 7ee870166566f..68aefc3e24955 100644 --- a/api_docs/kubernetes_security.mdx +++ b/api_docs/kubernetes_security.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kubernetesSecurity title: "kubernetesSecurity" image: https://source.unsplash.com/400x175/?github description: API docs for the kubernetesSecurity plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'kubernetesSecurity'] --- import kubernetesSecurityObj from './kubernetes_security.devdocs.json'; diff --git a/api_docs/lens.mdx b/api_docs/lens.mdx index 956966f701bc7..0efa5c24f2abd 100644 --- a/api_docs/lens.mdx +++ b/api_docs/lens.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/lens title: "lens" image: https://source.unsplash.com/400x175/?github description: API docs for the lens plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'lens'] --- import lensObj from './lens.devdocs.json'; diff --git a/api_docs/license_api_guard.mdx b/api_docs/license_api_guard.mdx index 023e15937b792..7a9fa00f72bd6 100644 --- a/api_docs/license_api_guard.mdx +++ b/api_docs/license_api_guard.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/licenseApiGuard title: "licenseApiGuard" image: https://source.unsplash.com/400x175/?github description: API docs for the licenseApiGuard plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'licenseApiGuard'] --- import licenseApiGuardObj from './license_api_guard.devdocs.json'; diff --git a/api_docs/license_management.mdx b/api_docs/license_management.mdx index ff75e31f4ec10..dcf5b6520a692 100644 --- a/api_docs/license_management.mdx +++ b/api_docs/license_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/licenseManagement title: "licenseManagement" image: https://source.unsplash.com/400x175/?github description: API docs for the licenseManagement plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'licenseManagement'] --- import licenseManagementObj from './license_management.devdocs.json'; diff --git a/api_docs/licensing.mdx b/api_docs/licensing.mdx index 6230823babf62..f317b23f34330 100644 --- a/api_docs/licensing.mdx +++ b/api_docs/licensing.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/licensing title: "licensing" image: https://source.unsplash.com/400x175/?github description: API docs for the licensing plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'licensing'] --- import licensingObj from './licensing.devdocs.json'; diff --git a/api_docs/lists.mdx b/api_docs/lists.mdx index 53200c1bf1d97..02101b2f7144e 100644 --- a/api_docs/lists.mdx +++ b/api_docs/lists.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/lists title: "lists" image: https://source.unsplash.com/400x175/?github description: API docs for the lists plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'lists'] --- import listsObj from './lists.devdocs.json'; diff --git a/api_docs/management.mdx b/api_docs/management.mdx index 75c9a8405d000..9fbf4d558e24d 100644 --- a/api_docs/management.mdx +++ b/api_docs/management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/management title: "management" image: https://source.unsplash.com/400x175/?github description: API docs for the management plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'management'] --- import managementObj from './management.devdocs.json'; diff --git a/api_docs/maps.devdocs.json b/api_docs/maps.devdocs.json index f60133d04b291..11393b4a0aebd 100644 --- a/api_docs/maps.devdocs.json +++ b/api_docs/maps.devdocs.json @@ -2393,6 +2393,69 @@ } ], "returnComment": [] + }, + { + "parentPluginId": "maps", + "id": "def-public.IRasterSource.hasLegendDetails", + "type": "Function", + "tags": [], + "label": "hasLegendDetails", + "description": [], + "signature": [ + "() => Promise" + ], + "path": "x-pack/plugins/maps/public/classes/sources/raster_source/index.ts", + "deprecated": false, + "trackAdoption": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "maps", + "id": "def-public.IRasterSource.renderLegendDetails", + "type": "Function", + "tags": [], + "label": "renderLegendDetails", + "description": [], + "signature": [ + "(dataRequest: ", + { + "pluginId": "maps", + "scope": "public", + "docId": "kibMapsPluginApi", + "section": "def-public.DataRequest", + "text": "DataRequest" + }, + " | undefined) => React.ReactElement> | null" + ], + "path": "x-pack/plugins/maps/public/classes/sources/raster_source/index.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "maps", + "id": "def-public.IRasterSource.renderLegendDetails.$1", + "type": "Object", + "tags": [], + "label": "dataRequest", + "description": [], + "signature": [ + { + "pluginId": "maps", + "scope": "public", + "docId": "kibMapsPluginApi", + "section": "def-public.DataRequest", + "text": "DataRequest" + }, + " | undefined" + ], + "path": "x-pack/plugins/maps/public/classes/sources/raster_source/index.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": false + } + ], + "returnComment": [] } ], "initialIsOpen": false diff --git a/api_docs/maps.mdx b/api_docs/maps.mdx index c21b74e8b2cfe..5273ea05ba706 100644 --- a/api_docs/maps.mdx +++ b/api_docs/maps.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/maps title: "maps" image: https://source.unsplash.com/400x175/?github description: API docs for the maps plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'maps'] --- import mapsObj from './maps.devdocs.json'; @@ -21,7 +21,7 @@ Contact [GIS](https://github.com/orgs/elastic/teams/kibana-gis) for questions re | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 263 | 0 | 262 | 26 | +| 266 | 0 | 265 | 26 | ## Client diff --git a/api_docs/maps_ems.mdx b/api_docs/maps_ems.mdx index 8aec70c22eca1..8c77516187246 100644 --- a/api_docs/maps_ems.mdx +++ b/api_docs/maps_ems.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/mapsEms title: "mapsEms" image: https://source.unsplash.com/400x175/?github description: API docs for the mapsEms plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'mapsEms'] --- import mapsEmsObj from './maps_ems.devdocs.json'; diff --git a/api_docs/ml.mdx b/api_docs/ml.mdx index 8ea284960ad4d..8e79e9cf50f77 100644 --- a/api_docs/ml.mdx +++ b/api_docs/ml.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/ml title: "ml" image: https://source.unsplash.com/400x175/?github description: API docs for the ml plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'ml'] --- import mlObj from './ml.devdocs.json'; diff --git a/api_docs/monitoring.mdx b/api_docs/monitoring.mdx index 8d1e2fa705dea..2cca54d39b84d 100644 --- a/api_docs/monitoring.mdx +++ b/api_docs/monitoring.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/monitoring title: "monitoring" image: https://source.unsplash.com/400x175/?github description: API docs for the monitoring plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'monitoring'] --- import monitoringObj from './monitoring.devdocs.json'; diff --git a/api_docs/monitoring_collection.mdx b/api_docs/monitoring_collection.mdx index 929a725d4f4b9..8dbb317227744 100644 --- a/api_docs/monitoring_collection.mdx +++ b/api_docs/monitoring_collection.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/monitoringCollection title: "monitoringCollection" image: https://source.unsplash.com/400x175/?github description: API docs for the monitoringCollection plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'monitoringCollection'] --- import monitoringCollectionObj from './monitoring_collection.devdocs.json'; diff --git a/api_docs/navigation.mdx b/api_docs/navigation.mdx index 5a49d5e628566..2e5a89083d1e5 100644 --- a/api_docs/navigation.mdx +++ b/api_docs/navigation.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/navigation title: "navigation" image: https://source.unsplash.com/400x175/?github description: API docs for the navigation plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'navigation'] --- import navigationObj from './navigation.devdocs.json'; diff --git a/api_docs/newsfeed.mdx b/api_docs/newsfeed.mdx index 9bcb1145643fc..26279c90ab3d7 100644 --- a/api_docs/newsfeed.mdx +++ b/api_docs/newsfeed.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/newsfeed title: "newsfeed" image: https://source.unsplash.com/400x175/?github description: API docs for the newsfeed plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'newsfeed'] --- import newsfeedObj from './newsfeed.devdocs.json'; diff --git a/api_docs/observability.mdx b/api_docs/observability.mdx index c42985a8a2393..88b6f5e3c9a06 100644 --- a/api_docs/observability.mdx +++ b/api_docs/observability.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/observability title: "observability" image: https://source.unsplash.com/400x175/?github description: API docs for the observability plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'observability'] --- import observabilityObj from './observability.devdocs.json'; diff --git a/api_docs/osquery.mdx b/api_docs/osquery.mdx index be92d574c9f6a..8d8ef3664f840 100644 --- a/api_docs/osquery.mdx +++ b/api_docs/osquery.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/osquery title: "osquery" image: https://source.unsplash.com/400x175/?github description: API docs for the osquery plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'osquery'] --- import osqueryObj from './osquery.devdocs.json'; diff --git a/api_docs/plugin_directory.mdx b/api_docs/plugin_directory.mdx index ee80d53812762..ac8ddcce501f9 100644 --- a/api_docs/plugin_directory.mdx +++ b/api_docs/plugin_directory.mdx @@ -7,7 +7,7 @@ id: kibDevDocsPluginDirectory slug: /kibana-dev-docs/api-meta/plugin-api-directory title: Directory description: Directory of public APIs available through plugins or packages. -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana'] --- @@ -15,13 +15,13 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Count | Plugins or Packages with a
public API | Number of teams | |--------------|----------|------------------------| -| 503 | 422 | 38 | +| 506 | 424 | 38 | ### Public API health stats | API Count | Any Count | Missing comments | Missing exports | |--------------|----------|-----------------|--------| -| 33090 | 514 | 23436 | 1092 | +| 33147 | 514 | 23480 | 1096 | ## Plugin Directory @@ -46,16 +46,16 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [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 | 233 | 0 | 224 | 7 | -| | [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) | - | 2703 | 17 | 1201 | 0 | +| | [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) | - | 2704 | 17 | 1202 | 0 | | 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 | 107 | 0 | 88 | 1 | | | [Kibana Presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | Adds the Dashboard app to Kibana | 121 | 0 | 114 | 3 | | | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | - | 52 | 0 | 51 | 0 | -| | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | Data services are useful for searching and querying data from Elasticsearch. Helpful utilities include: a re-usable react query bar, KQL autocomplete, async search, Data Views (Index Patterns) and field formatters. | 3251 | 119 | 2546 | 24 | +| | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | Data services are useful for searching and querying data from Elasticsearch. Helpful utilities include: a re-usable react query bar, KQL autocomplete, async search, Data Views (Index Patterns) and field formatters. | 3261 | 119 | 2553 | 27 | | | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | This plugin provides the ability to create data views via a modal flyout inside Kibana apps | 16 | 0 | 7 | 0 | | | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | Reusable data view field editor across Kibana | 60 | 0 | 30 | 0 | | | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | Data view management app | 2 | 0 | 2 | 0 | -| | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | Data services are useful for searching and querying data from Elasticsearch. Helpful utilities include: a re-usable react query bar, KQL autocomplete, async search, Data Views (Index Patterns) and field formatters. | 1021 | 0 | 231 | 2 | +| | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | Data services are useful for searching and querying data from Elasticsearch. Helpful utilities include: a re-usable react query bar, KQL autocomplete, async search, Data Views (Index Patterns) and field formatters. | 1021 | 0 | 228 | 2 | | | [Machine Learning UI](https://github.com/orgs/elastic/teams/ml-ui) | The Data Visualizer tools help you understand your data, by analyzing the metrics and fields in a log file or an existing Elasticsearch index. | 28 | 3 | 24 | 1 | | | [Stack Management](https://github.com/orgs/elastic/teams/kibana-stack-management) | - | 10 | 0 | 8 | 2 | | | [Data Discovery](https://github.com/orgs/elastic/teams/kibana-data-discovery) | This plugin contains the Discover application and the saved search embeddable. | 97 | 0 | 80 | 4 | @@ -112,7 +112,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [Security detections response](https://github.com/orgs/elastic/teams/security-detections-response) | - | 204 | 0 | 92 | 50 | | logstash | [Logstash](https://github.com/orgs/elastic/teams/logstash) | - | 0 | 0 | 0 | 0 | | | [Vis Editors](https://github.com/orgs/elastic/teams/kibana-vis-editors) | - | 41 | 0 | 41 | 6 | -| | [GIS](https://github.com/orgs/elastic/teams/kibana-gis) | - | 263 | 0 | 262 | 26 | +| | [GIS](https://github.com/orgs/elastic/teams/kibana-gis) | - | 266 | 0 | 265 | 26 | | | [GIS](https://github.com/orgs/elastic/teams/kibana-gis) | - | 67 | 0 | 67 | 0 | | | [Machine Learning UI](https://github.com/orgs/elastic/teams/ml-ui) | This plugin provides access to the machine learning features provided by Elastic. | 254 | 9 | 78 | 39 | | | [Stack Monitoring](https://github.com/orgs/elastic/teams/stack-monitoring-ui) | - | 15 | 3 | 13 | 1 | @@ -290,6 +290,8 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | Kibana Core | - | 5 | 0 | 5 | 0 | | | Kibana Core | - | 31 | 0 | 0 | 0 | | | Kibana Core | - | 9 | 0 | 9 | 0 | +| | Kibana Core | - | 4 | 0 | 4 | 0 | +| | Kibana Core | - | 38 | 0 | 31 | 0 | | | Kibana Core | - | 56 | 0 | 30 | 0 | | | Kibana Core | - | 9 | 0 | 5 | 2 | | | Kibana Core | - | 13 | 0 | 13 | 0 | @@ -308,7 +310,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | Kibana Core | - | 63 | 0 | 37 | 0 | | | Kibana Core | - | 1 | 0 | 1 | 1 | | | Kibana Core | - | 3 | 0 | 3 | 0 | -| | Kibana Core | - | 14 | 0 | 10 | 0 | +| | Kibana Core | - | 15 | 0 | 11 | 0 | | | Kibana Core | - | 6 | 0 | 6 | 0 | | | Kibana Core | - | 58 | 0 | 26 | 0 | | | Kibana Core | - | 5 | 0 | 5 | 0 | diff --git a/api_docs/presentation_util.mdx b/api_docs/presentation_util.mdx index 834412d903f41..058a94c5a3f93 100644 --- a/api_docs/presentation_util.mdx +++ b/api_docs/presentation_util.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/presentationUtil title: "presentationUtil" image: https://source.unsplash.com/400x175/?github description: API docs for the presentationUtil plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'presentationUtil'] --- import presentationUtilObj from './presentation_util.devdocs.json'; diff --git a/api_docs/profiling.mdx b/api_docs/profiling.mdx index 1c6a8316b50e8..298e722ccbe63 100644 --- a/api_docs/profiling.mdx +++ b/api_docs/profiling.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/profiling title: "profiling" image: https://source.unsplash.com/400x175/?github description: API docs for the profiling plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'profiling'] --- import profilingObj from './profiling.devdocs.json'; diff --git a/api_docs/remote_clusters.mdx b/api_docs/remote_clusters.mdx index fa81fafe3be76..0865ae33d3309 100644 --- a/api_docs/remote_clusters.mdx +++ b/api_docs/remote_clusters.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/remoteClusters title: "remoteClusters" image: https://source.unsplash.com/400x175/?github description: API docs for the remoteClusters plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'remoteClusters'] --- import remoteClustersObj from './remote_clusters.devdocs.json'; diff --git a/api_docs/reporting.mdx b/api_docs/reporting.mdx index 0b3844a14e7c4..76e7b560c9a96 100644 --- a/api_docs/reporting.mdx +++ b/api_docs/reporting.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/reporting title: "reporting" image: https://source.unsplash.com/400x175/?github description: API docs for the reporting plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'reporting'] --- import reportingObj from './reporting.devdocs.json'; diff --git a/api_docs/rollup.mdx b/api_docs/rollup.mdx index 4159132bb0bff..db89e2660498e 100644 --- a/api_docs/rollup.mdx +++ b/api_docs/rollup.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/rollup title: "rollup" image: https://source.unsplash.com/400x175/?github description: API docs for the rollup plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'rollup'] --- import rollupObj from './rollup.devdocs.json'; diff --git a/api_docs/rule_registry.mdx b/api_docs/rule_registry.mdx index c485a74657dc4..e5fe1948f4823 100644 --- a/api_docs/rule_registry.mdx +++ b/api_docs/rule_registry.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/ruleRegistry title: "ruleRegistry" image: https://source.unsplash.com/400x175/?github description: API docs for the ruleRegistry plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'ruleRegistry'] --- import ruleRegistryObj from './rule_registry.devdocs.json'; diff --git a/api_docs/runtime_fields.mdx b/api_docs/runtime_fields.mdx index e62fdb13b533b..479bd3fce3cef 100644 --- a/api_docs/runtime_fields.mdx +++ b/api_docs/runtime_fields.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/runtimeFields title: "runtimeFields" image: https://source.unsplash.com/400x175/?github description: API docs for the runtimeFields plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'runtimeFields'] --- import runtimeFieldsObj from './runtime_fields.devdocs.json'; diff --git a/api_docs/saved_objects.mdx b/api_docs/saved_objects.mdx index 2cdb3842170e9..c224ed4d90063 100644 --- a/api_docs/saved_objects.mdx +++ b/api_docs/saved_objects.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/savedObjects title: "savedObjects" image: https://source.unsplash.com/400x175/?github description: API docs for the savedObjects plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'savedObjects'] --- import savedObjectsObj from './saved_objects.devdocs.json'; diff --git a/api_docs/saved_objects_finder.mdx b/api_docs/saved_objects_finder.mdx index d3942c9bd1f36..48bde91f38227 100644 --- a/api_docs/saved_objects_finder.mdx +++ b/api_docs/saved_objects_finder.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/savedObjectsFinder title: "savedObjectsFinder" image: https://source.unsplash.com/400x175/?github description: API docs for the savedObjectsFinder plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'savedObjectsFinder'] --- import savedObjectsFinderObj from './saved_objects_finder.devdocs.json'; diff --git a/api_docs/saved_objects_management.mdx b/api_docs/saved_objects_management.mdx index 7aca372c0de02..03713793cdf3b 100644 --- a/api_docs/saved_objects_management.mdx +++ b/api_docs/saved_objects_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/savedObjectsManagement title: "savedObjectsManagement" image: https://source.unsplash.com/400x175/?github description: API docs for the savedObjectsManagement plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'savedObjectsManagement'] --- import savedObjectsManagementObj from './saved_objects_management.devdocs.json'; diff --git a/api_docs/saved_objects_tagging.mdx b/api_docs/saved_objects_tagging.mdx index 6b21819c9d050..44168f7c0c43e 100644 --- a/api_docs/saved_objects_tagging.mdx +++ b/api_docs/saved_objects_tagging.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/savedObjectsTagging title: "savedObjectsTagging" image: https://source.unsplash.com/400x175/?github description: API docs for the savedObjectsTagging plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'savedObjectsTagging'] --- import savedObjectsTaggingObj from './saved_objects_tagging.devdocs.json'; diff --git a/api_docs/saved_objects_tagging_oss.mdx b/api_docs/saved_objects_tagging_oss.mdx index 95d6c1876f643..2108d67e0f989 100644 --- a/api_docs/saved_objects_tagging_oss.mdx +++ b/api_docs/saved_objects_tagging_oss.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/savedObjectsTaggingOss title: "savedObjectsTaggingOss" image: https://source.unsplash.com/400x175/?github description: API docs for the savedObjectsTaggingOss plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'savedObjectsTaggingOss'] --- import savedObjectsTaggingOssObj from './saved_objects_tagging_oss.devdocs.json'; diff --git a/api_docs/saved_search.mdx b/api_docs/saved_search.mdx index 8f2558df28879..8ec1ea62bb80a 100644 --- a/api_docs/saved_search.mdx +++ b/api_docs/saved_search.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/savedSearch title: "savedSearch" image: https://source.unsplash.com/400x175/?github description: API docs for the savedSearch plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'savedSearch'] --- import savedSearchObj from './saved_search.devdocs.json'; diff --git a/api_docs/screenshot_mode.mdx b/api_docs/screenshot_mode.mdx index 2ee5af5f55904..8589ded53271c 100644 --- a/api_docs/screenshot_mode.mdx +++ b/api_docs/screenshot_mode.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/screenshotMode title: "screenshotMode" image: https://source.unsplash.com/400x175/?github description: API docs for the screenshotMode plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'screenshotMode'] --- import screenshotModeObj from './screenshot_mode.devdocs.json'; diff --git a/api_docs/screenshotting.mdx b/api_docs/screenshotting.mdx index e40a161cab9d8..ba55504bcc6d7 100644 --- a/api_docs/screenshotting.mdx +++ b/api_docs/screenshotting.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/screenshotting title: "screenshotting" image: https://source.unsplash.com/400x175/?github description: API docs for the screenshotting plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'screenshotting'] --- import screenshottingObj from './screenshotting.devdocs.json'; diff --git a/api_docs/security.mdx b/api_docs/security.mdx index 1cd9e1917d2f5..ced32610c26b2 100644 --- a/api_docs/security.mdx +++ b/api_docs/security.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/security title: "security" image: https://source.unsplash.com/400x175/?github description: API docs for the security plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'security'] --- import securityObj from './security.devdocs.json'; diff --git a/api_docs/security_solution.mdx b/api_docs/security_solution.mdx index fc356d331efac..bd7e9e0b4fd8b 100644 --- a/api_docs/security_solution.mdx +++ b/api_docs/security_solution.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/securitySolution title: "securitySolution" image: https://source.unsplash.com/400x175/?github description: API docs for the securitySolution plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'securitySolution'] --- import securitySolutionObj from './security_solution.devdocs.json'; diff --git a/api_docs/session_view.mdx b/api_docs/session_view.mdx index a9a540693e03e..e9ec0ef165f1f 100644 --- a/api_docs/session_view.mdx +++ b/api_docs/session_view.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/sessionView title: "sessionView" image: https://source.unsplash.com/400x175/?github description: API docs for the sessionView plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'sessionView'] --- import sessionViewObj from './session_view.devdocs.json'; diff --git a/api_docs/share.mdx b/api_docs/share.mdx index 601c5a85029ba..b5ddb63e46224 100644 --- a/api_docs/share.mdx +++ b/api_docs/share.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/share title: "share" image: https://source.unsplash.com/400x175/?github description: API docs for the share plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'share'] --- import shareObj from './share.devdocs.json'; diff --git a/api_docs/snapshot_restore.mdx b/api_docs/snapshot_restore.mdx index ff03dd109b86f..7021d9bccf9b3 100644 --- a/api_docs/snapshot_restore.mdx +++ b/api_docs/snapshot_restore.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/snapshotRestore title: "snapshotRestore" image: https://source.unsplash.com/400x175/?github description: API docs for the snapshotRestore plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'snapshotRestore'] --- import snapshotRestoreObj from './snapshot_restore.devdocs.json'; diff --git a/api_docs/spaces.mdx b/api_docs/spaces.mdx index 958ac2c02de8f..6b8e2801b2e25 100644 --- a/api_docs/spaces.mdx +++ b/api_docs/spaces.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/spaces title: "spaces" image: https://source.unsplash.com/400x175/?github description: API docs for the spaces plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'spaces'] --- import spacesObj from './spaces.devdocs.json'; diff --git a/api_docs/stack_alerts.mdx b/api_docs/stack_alerts.mdx index 446ce8f2ef53c..438e34717e709 100644 --- a/api_docs/stack_alerts.mdx +++ b/api_docs/stack_alerts.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/stackAlerts title: "stackAlerts" image: https://source.unsplash.com/400x175/?github description: API docs for the stackAlerts plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'stackAlerts'] --- import stackAlertsObj from './stack_alerts.devdocs.json'; diff --git a/api_docs/stack_connectors.mdx b/api_docs/stack_connectors.mdx index cf6538ca9011a..928e3ee04199c 100644 --- a/api_docs/stack_connectors.mdx +++ b/api_docs/stack_connectors.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/stackConnectors title: "stackConnectors" image: https://source.unsplash.com/400x175/?github description: API docs for the stackConnectors plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'stackConnectors'] --- import stackConnectorsObj from './stack_connectors.devdocs.json'; diff --git a/api_docs/task_manager.devdocs.json b/api_docs/task_manager.devdocs.json index 03856c04b4d82..d9497789ba816 100644 --- a/api_docs/task_manager.devdocs.json +++ b/api_docs/task_manager.devdocs.json @@ -1542,7 +1542,7 @@ "section": "def-server.SavedObjectsBulkDeleteResponse", "text": "SavedObjectsBulkDeleteResponse" }, - " | undefined>; } & { supportsEphemeralTasks: () => boolean; }" + " | undefined>; } & { supportsEphemeralTasks: () => boolean; getRegisteredTypes: () => string[]; }" ], "path": "x-pack/plugins/task_manager/server/plugin.ts", "deprecated": false, diff --git a/api_docs/task_manager.mdx b/api_docs/task_manager.mdx index c9ea42abeabe9..a4d1bbedffd5e 100644 --- a/api_docs/task_manager.mdx +++ b/api_docs/task_manager.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/taskManager title: "taskManager" image: https://source.unsplash.com/400x175/?github description: API docs for the taskManager plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'taskManager'] --- import taskManagerObj from './task_manager.devdocs.json'; diff --git a/api_docs/telemetry.mdx b/api_docs/telemetry.mdx index b82a55fc67fe5..64369e049dc76 100644 --- a/api_docs/telemetry.mdx +++ b/api_docs/telemetry.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/telemetry title: "telemetry" image: https://source.unsplash.com/400x175/?github description: API docs for the telemetry plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'telemetry'] --- import telemetryObj from './telemetry.devdocs.json'; diff --git a/api_docs/telemetry_collection_manager.mdx b/api_docs/telemetry_collection_manager.mdx index 1d3581a1377e4..55f08585d969d 100644 --- a/api_docs/telemetry_collection_manager.mdx +++ b/api_docs/telemetry_collection_manager.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/telemetryCollectionManager title: "telemetryCollectionManager" image: https://source.unsplash.com/400x175/?github description: API docs for the telemetryCollectionManager plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'telemetryCollectionManager'] --- import telemetryCollectionManagerObj from './telemetry_collection_manager.devdocs.json'; diff --git a/api_docs/telemetry_collection_xpack.mdx b/api_docs/telemetry_collection_xpack.mdx index cb55fb5dca9db..68091e39086ac 100644 --- a/api_docs/telemetry_collection_xpack.mdx +++ b/api_docs/telemetry_collection_xpack.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/telemetryCollectionXpack title: "telemetryCollectionXpack" image: https://source.unsplash.com/400x175/?github description: API docs for the telemetryCollectionXpack plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'telemetryCollectionXpack'] --- import telemetryCollectionXpackObj from './telemetry_collection_xpack.devdocs.json'; diff --git a/api_docs/telemetry_management_section.mdx b/api_docs/telemetry_management_section.mdx index a10b4eb42293f..505ebfebf30b4 100644 --- a/api_docs/telemetry_management_section.mdx +++ b/api_docs/telemetry_management_section.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/telemetryManagementSection title: "telemetryManagementSection" image: https://source.unsplash.com/400x175/?github description: API docs for the telemetryManagementSection plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'telemetryManagementSection'] --- import telemetryManagementSectionObj from './telemetry_management_section.devdocs.json'; diff --git a/api_docs/threat_intelligence.mdx b/api_docs/threat_intelligence.mdx index ecc74b099500a..c7eddbea50f9e 100644 --- a/api_docs/threat_intelligence.mdx +++ b/api_docs/threat_intelligence.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/threatIntelligence title: "threatIntelligence" image: https://source.unsplash.com/400x175/?github description: API docs for the threatIntelligence plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'threatIntelligence'] --- import threatIntelligenceObj from './threat_intelligence.devdocs.json'; diff --git a/api_docs/timelines.mdx b/api_docs/timelines.mdx index 705156c9237ef..c6686cac360c3 100644 --- a/api_docs/timelines.mdx +++ b/api_docs/timelines.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/timelines title: "timelines" image: https://source.unsplash.com/400x175/?github description: API docs for the timelines plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'timelines'] --- import timelinesObj from './timelines.devdocs.json'; diff --git a/api_docs/transform.mdx b/api_docs/transform.mdx index 85479a09c16bc..f081b363ea8ce 100644 --- a/api_docs/transform.mdx +++ b/api_docs/transform.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/transform title: "transform" image: https://source.unsplash.com/400x175/?github description: API docs for the transform plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'transform'] --- import transformObj from './transform.devdocs.json'; diff --git a/api_docs/triggers_actions_ui.mdx b/api_docs/triggers_actions_ui.mdx index ab6d925417176..4837a3168eb84 100644 --- a/api_docs/triggers_actions_ui.mdx +++ b/api_docs/triggers_actions_ui.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/triggersActionsUi title: "triggersActionsUi" image: https://source.unsplash.com/400x175/?github description: API docs for the triggersActionsUi plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'triggersActionsUi'] --- import triggersActionsUiObj from './triggers_actions_ui.devdocs.json'; diff --git a/api_docs/ui_actions.mdx b/api_docs/ui_actions.mdx index 3fa9fd4f16c91..dade66136c791 100644 --- a/api_docs/ui_actions.mdx +++ b/api_docs/ui_actions.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/uiActions title: "uiActions" image: https://source.unsplash.com/400x175/?github description: API docs for the uiActions plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'uiActions'] --- import uiActionsObj from './ui_actions.devdocs.json'; diff --git a/api_docs/ui_actions_enhanced.mdx b/api_docs/ui_actions_enhanced.mdx index 49f9aeb5e01e8..b40cd03bb80ba 100644 --- a/api_docs/ui_actions_enhanced.mdx +++ b/api_docs/ui_actions_enhanced.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/uiActionsEnhanced title: "uiActionsEnhanced" image: https://source.unsplash.com/400x175/?github description: API docs for the uiActionsEnhanced plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'uiActionsEnhanced'] --- import uiActionsEnhancedObj from './ui_actions_enhanced.devdocs.json'; diff --git a/api_docs/unified_field_list.mdx b/api_docs/unified_field_list.mdx index 749598b467874..b97e6416bdcd7 100644 --- a/api_docs/unified_field_list.mdx +++ b/api_docs/unified_field_list.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/unifiedFieldList title: "unifiedFieldList" image: https://source.unsplash.com/400x175/?github description: API docs for the unifiedFieldList plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'unifiedFieldList'] --- import unifiedFieldListObj from './unified_field_list.devdocs.json'; diff --git a/api_docs/unified_histogram.mdx b/api_docs/unified_histogram.mdx index 6b484ff311cce..a62224baf6c26 100644 --- a/api_docs/unified_histogram.mdx +++ b/api_docs/unified_histogram.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/unifiedHistogram title: "unifiedHistogram" image: https://source.unsplash.com/400x175/?github description: API docs for the unifiedHistogram plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'unifiedHistogram'] --- import unifiedHistogramObj from './unified_histogram.devdocs.json'; diff --git a/api_docs/unified_search.mdx b/api_docs/unified_search.mdx index db9143d35659e..0e837f00498ec 100644 --- a/api_docs/unified_search.mdx +++ b/api_docs/unified_search.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/unifiedSearch title: "unifiedSearch" image: https://source.unsplash.com/400x175/?github description: API docs for the unifiedSearch plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'unifiedSearch'] --- import unifiedSearchObj from './unified_search.devdocs.json'; diff --git a/api_docs/unified_search_autocomplete.mdx b/api_docs/unified_search_autocomplete.mdx index 2d6f336b88fdc..b06b94767e58b 100644 --- a/api_docs/unified_search_autocomplete.mdx +++ b/api_docs/unified_search_autocomplete.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/unifiedSearch-autocomplete title: "unifiedSearch.autocomplete" image: https://source.unsplash.com/400x175/?github description: API docs for the unifiedSearch.autocomplete plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'unifiedSearch.autocomplete'] --- import unifiedSearchAutocompleteObj from './unified_search_autocomplete.devdocs.json'; diff --git a/api_docs/url_forwarding.mdx b/api_docs/url_forwarding.mdx index 288e3537bf6c9..14a726450eacd 100644 --- a/api_docs/url_forwarding.mdx +++ b/api_docs/url_forwarding.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/urlForwarding title: "urlForwarding" image: https://source.unsplash.com/400x175/?github description: API docs for the urlForwarding plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'urlForwarding'] --- import urlForwardingObj from './url_forwarding.devdocs.json'; diff --git a/api_docs/usage_collection.mdx b/api_docs/usage_collection.mdx index 8f96f8151449e..b2d4989832fa1 100644 --- a/api_docs/usage_collection.mdx +++ b/api_docs/usage_collection.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/usageCollection title: "usageCollection" image: https://source.unsplash.com/400x175/?github description: API docs for the usageCollection plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'usageCollection'] --- import usageCollectionObj from './usage_collection.devdocs.json'; diff --git a/api_docs/ux.mdx b/api_docs/ux.mdx index 582351fc56994..64953d2e5af9e 100644 --- a/api_docs/ux.mdx +++ b/api_docs/ux.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/ux title: "ux" image: https://source.unsplash.com/400x175/?github description: API docs for the ux plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'ux'] --- import uxObj from './ux.devdocs.json'; diff --git a/api_docs/vis_default_editor.mdx b/api_docs/vis_default_editor.mdx index b76f552f28ff7..a091604ac718f 100644 --- a/api_docs/vis_default_editor.mdx +++ b/api_docs/vis_default_editor.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visDefaultEditor title: "visDefaultEditor" image: https://source.unsplash.com/400x175/?github description: API docs for the visDefaultEditor plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visDefaultEditor'] --- import visDefaultEditorObj from './vis_default_editor.devdocs.json'; diff --git a/api_docs/vis_type_gauge.mdx b/api_docs/vis_type_gauge.mdx index 538653fb0e665..41dd38651b235 100644 --- a/api_docs/vis_type_gauge.mdx +++ b/api_docs/vis_type_gauge.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeGauge title: "visTypeGauge" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeGauge plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeGauge'] --- import visTypeGaugeObj from './vis_type_gauge.devdocs.json'; diff --git a/api_docs/vis_type_heatmap.mdx b/api_docs/vis_type_heatmap.mdx index e90bc3786feb5..616061bf3fc8d 100644 --- a/api_docs/vis_type_heatmap.mdx +++ b/api_docs/vis_type_heatmap.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeHeatmap title: "visTypeHeatmap" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeHeatmap plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeHeatmap'] --- import visTypeHeatmapObj from './vis_type_heatmap.devdocs.json'; diff --git a/api_docs/vis_type_pie.mdx b/api_docs/vis_type_pie.mdx index 9ab0f154bb46a..19dbab0aab26d 100644 --- a/api_docs/vis_type_pie.mdx +++ b/api_docs/vis_type_pie.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypePie title: "visTypePie" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypePie plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypePie'] --- import visTypePieObj from './vis_type_pie.devdocs.json'; diff --git a/api_docs/vis_type_table.mdx b/api_docs/vis_type_table.mdx index 7ae0e3acdd248..7173026231189 100644 --- a/api_docs/vis_type_table.mdx +++ b/api_docs/vis_type_table.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeTable title: "visTypeTable" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeTable plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeTable'] --- import visTypeTableObj from './vis_type_table.devdocs.json'; diff --git a/api_docs/vis_type_timelion.mdx b/api_docs/vis_type_timelion.mdx index 7e1ecc59bbdac..e85866399ac3c 100644 --- a/api_docs/vis_type_timelion.mdx +++ b/api_docs/vis_type_timelion.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeTimelion title: "visTypeTimelion" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeTimelion plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeTimelion'] --- import visTypeTimelionObj from './vis_type_timelion.devdocs.json'; diff --git a/api_docs/vis_type_timeseries.mdx b/api_docs/vis_type_timeseries.mdx index 3535d667ce19a..3ff5b5d63ad63 100644 --- a/api_docs/vis_type_timeseries.mdx +++ b/api_docs/vis_type_timeseries.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeTimeseries title: "visTypeTimeseries" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeTimeseries plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeTimeseries'] --- import visTypeTimeseriesObj from './vis_type_timeseries.devdocs.json'; diff --git a/api_docs/vis_type_vega.mdx b/api_docs/vis_type_vega.mdx index cfeffdc0255f8..e2d574dc60cb3 100644 --- a/api_docs/vis_type_vega.mdx +++ b/api_docs/vis_type_vega.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeVega title: "visTypeVega" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeVega plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeVega'] --- import visTypeVegaObj from './vis_type_vega.devdocs.json'; diff --git a/api_docs/vis_type_vislib.mdx b/api_docs/vis_type_vislib.mdx index 69a0288f5d2d5..b6ef47d2cfc98 100644 --- a/api_docs/vis_type_vislib.mdx +++ b/api_docs/vis_type_vislib.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeVislib title: "visTypeVislib" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeVislib plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeVislib'] --- import visTypeVislibObj from './vis_type_vislib.devdocs.json'; diff --git a/api_docs/vis_type_xy.mdx b/api_docs/vis_type_xy.mdx index 0eb36d7a76f58..78c16f75d360e 100644 --- a/api_docs/vis_type_xy.mdx +++ b/api_docs/vis_type_xy.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeXy title: "visTypeXy" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeXy plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeXy'] --- import visTypeXyObj from './vis_type_xy.devdocs.json'; diff --git a/api_docs/visualizations.mdx b/api_docs/visualizations.mdx index dc40695f4d720..0cd6f9f52f8e9 100644 --- a/api_docs/visualizations.mdx +++ b/api_docs/visualizations.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visualizations title: "visualizations" image: https://source.unsplash.com/400x175/?github description: API docs for the visualizations plugin -date: 2022-11-01 +date: 2022-11-02 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visualizations'] --- import visualizationsObj from './visualizations.devdocs.json'; From bd6440cd7b0a9b4a9e94c162a0ee512dff92b917 Mon Sep 17 00:00:00 2001 From: Pierre Gayvallet Date: Wed, 2 Nov 2022 08:07:21 +0100 Subject: [PATCH 106/111] Fix some SO tagging flaky FTR tests (#144083) Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> --- .../functional/tests/dashboard_integration.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/x-pack/test/saved_object_tagging/functional/tests/dashboard_integration.ts b/x-pack/test/saved_object_tagging/functional/tests/dashboard_integration.ts index 41b337ed6a8c2..e0c1f162371ce 100644 --- a/x-pack/test/saved_object_tagging/functional/tests/dashboard_integration.ts +++ b/x-pack/test/saved_object_tagging/functional/tests/dashboard_integration.ts @@ -69,9 +69,9 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { await listingTable.expectItemsCount('dashboard', 2); const itemNames = await listingTable.getAllItemsNames(); - expect(itemNames).to.eql([ - 'dashboard 4 with real data (tag-1)', + expect(itemNames.sort()).to.eql([ 'dashboard 3 (tag-1 and tag-3)', + 'dashboard 4 with real data (tag-1)', ]); }); @@ -80,7 +80,7 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { await listingTable.expectItemsCount('dashboard', 2); const itemNames = await listingTable.getAllItemsNames(); - expect(itemNames).to.eql(['dashboard 2 (tag-3)', 'dashboard 3 (tag-1 and tag-3)']); + expect(itemNames.sort()).to.eql(['dashboard 2 (tag-3)', 'dashboard 3 (tag-1 and tag-3)']); }); it('allows to filter by multiple tags', async () => { @@ -88,7 +88,7 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { await listingTable.expectItemsCount('dashboard', 3); const itemNames = await listingTable.getAllItemsNames(); - expect(itemNames).to.eql([ + expect(itemNames.sort()).to.eql([ 'dashboard 1 (tag-2)', 'dashboard 2 (tag-3)', 'dashboard 3 (tag-1 and tag-3)', From 4811b97b37e205f5e3545eb247677ea376811424 Mon Sep 17 00:00:00 2001 From: Cindy Chang Date: Wed, 2 Nov 2022 08:47:08 +0100 Subject: [PATCH 107/111] [Guided Onboarding] Panel style modifications (#144164) * make panel height of content * fix responsive styles for panel and footer * add styling for step text * fix formatting * style modifications to panel Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> --- .../public/components/guide_panel.styles.ts | 10 ++++++---- .../public/components/guide_panel.tsx | 7 ++++++- .../public/components/guide_panel_step.styles.ts | 6 ++++++ .../public/components/guide_panel_step.tsx | 4 ++-- 4 files changed, 20 insertions(+), 7 deletions(-) diff --git a/src/plugins/guided_onboarding/public/components/guide_panel.styles.ts b/src/plugins/guided_onboarding/public/components/guide_panel.styles.ts index 7e7f47670edf2..f3c0d05458282 100644 --- a/src/plugins/guided_onboarding/public/components/guide_panel.styles.ts +++ b/src/plugins/guided_onboarding/public/components/guide_panel.styles.ts @@ -27,15 +27,17 @@ export const getGuidePanelStyles = (euiTheme: EuiThemeComputed) => ({ height: auto; animation: euiModal 350ms cubic-bezier(0.34, 1.61, 0.7, 1); box-shadow: none; - "@media only screen and (max-width: 574px)": { - right: 25px; - width: 100%; - }, + @media (max-width: ${euiTheme.breakpoint.s}px) { + right: 25px !important; + } `, flyoutBody: css` .euiFlyoutBody__overflowContent { width: 480px; padding-top: 10px; + @media (max-width: ${euiTheme.breakpoint.s}px) { + width: 100%; + } } `, flyoutFooter: css` diff --git a/src/plugins/guided_onboarding/public/components/guide_panel.tsx b/src/plugins/guided_onboarding/public/components/guide_panel.tsx index def898cae8a6b..759f4a83c6852 100644 --- a/src/plugins/guided_onboarding/public/components/guide_panel.tsx +++ b/src/plugins/guided_onboarding/public/components/guide_panel.tsx @@ -289,7 +289,12 @@ export const GuidePanel = ({ api, application }: GuidePanelProps) => { - + {stepConfig.descriptionList.length === 1 ? ( -

{stepConfig.descriptionList[0]}

// If there is only one description, render it as a paragraph +

{stepConfig.descriptionList[0]}

// If there is only one description, render it as a paragraph ) : ( -
    +
      {stepConfig.descriptionList.map((description, index) => { return
    • {description}
    • ; })} From 8be27cbd06303d2494a8ff376bd67c8478ddcd9e Mon Sep 17 00:00:00 2001 From: Shahzad Date: Wed, 2 Nov 2022 09:07:59 +0100 Subject: [PATCH 108/111] [Synthetics] Add failed tests heatmap in errors page (#143628) --- .../configurations/constants/constants.ts | 3 + .../configurations/constants/labels.ts | 4 + .../configurations/lens_attributes.test.ts | 8 +- .../configurations/lens_attributes.ts | 57 +++++++---- .../lens_attributes/heatmap_attributes.ts | 96 +++++++++++++++++++ .../single_metric_attributes.test.ts | 13 ++- .../single_metric_attributes.ts | 80 +++++----------- .../synthetics/heatmap_config.ts | 50 ++++++++++ .../test_data/sample_attribute_cwv.ts | 2 +- .../test_formula_metric_attribute.ts | 2 +- .../embeddable/embeddable.tsx | 57 +++++++---- .../hooks/use_lens_attributes.ts | 15 ++- .../obsv_exploratory_view.tsx | 4 + .../shared/exploratory_view/types.ts | 1 + .../monitor_errors/failed_tests.tsx | 39 ++++++++ .../monitor_errors/monitor_errors.tsx | 9 +- 16 files changed, 329 insertions(+), 111 deletions(-) create mode 100644 x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes/heatmap_attributes.ts create mode 100644 x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/synthetics/heatmap_config.ts create mode 100644 x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_details/monitor_errors/failed_tests.tsx diff --git a/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/constants/constants.ts b/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/constants/constants.ts index 9f9664602a672..6a925c9b3d99b 100644 --- a/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/constants/constants.ts +++ b/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/constants/constants.ts @@ -59,6 +59,7 @@ import { EVENT_DATASET_LABEL, MESSAGE_LABEL, SINGLE_METRIC_LABEL, + HEATMAP_LABEL, } from './labels'; import { MONITOR_DURATION_US, @@ -167,6 +168,7 @@ export const DataViewLabels: Record = { 'core-web-vitals': CORE_WEB_VITALS_LABEL, 'device-data-distribution': DEVICE_DISTRIBUTION_LABEL, 'single-metric': SINGLE_METRIC_LABEL, + heatmap: HEATMAP_LABEL, }; export enum ReportTypes { @@ -175,6 +177,7 @@ export enum ReportTypes { CORE_WEB_VITAL = 'core-web-vitals', DEVICE_DISTRIBUTION = 'device-data-distribution', SINGLE_METRIC = 'single-metric', + HEATMAP = 'heatmap', } export enum DataTypes { diff --git a/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/constants/labels.ts b/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/constants/labels.ts index 83c7781f692a7..c15880fb9e5d2 100644 --- a/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/constants/labels.ts +++ b/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/constants/labels.ts @@ -242,6 +242,10 @@ export const SINGLE_METRIC_LABEL = i18n.translate( } ); +export const HEATMAP_LABEL = i18n.translate('xpack.observability.expView.fieldLabels.heatMap', { + defaultMessage: 'Heatmap', +}); + export const MOBILE_RESPONSE_LABEL = i18n.translate( 'xpack.observability.expView.fieldLabels.mobileResponse', { diff --git a/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.test.ts b/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.test.ts index ecc58776c07f6..8837618d6c759 100644 --- a/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.test.ts +++ b/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.test.ts @@ -21,7 +21,7 @@ import { RECORDS_FIELD, REPORT_METRIC_FIELD, PERCENTILE_RANKS, ReportTypes } fro import { obsvReportConfigMap } from '../obsv_exploratory_view'; import { sampleAttributeWithReferenceLines } from './test_data/sample_attribute_with_reference_lines'; import { lensPluginMock } from '@kbn/lens-plugin/public/mocks'; -import { FormulaPublicApi } from '@kbn/lens-plugin/public'; +import { FormulaPublicApi, XYState } from '@kbn/lens-plugin/public'; describe('Lens Attribute', () => { mockAppDataView(); @@ -470,11 +470,9 @@ describe('Lens Attribute', () => { layerConfig: layerConfig1, sourceField: USER_AGENT_NAME, layerId: 'layer0', - indexPattern: mockDataView, - labels: layerConfig.seriesConfig.labels, }); - expect(lnsAttr.visualization?.layers).toEqual([ + expect((lnsAttr.visualization as XYState)?.layers).toEqual([ { accessors: ['y-axis-column-layer0-0'], layerId: 'layer0', @@ -501,7 +499,7 @@ describe('Lens Attribute', () => { 'breakdown-column-layer0': { dataType: 'string', isBucketed: true, - label: 'Top values of Browser family', + label: 'Browser family', operationType: 'terms', params: { missingBucket: false, diff --git a/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts b/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts index 9d39286f68998..fe45872bf5a8d 100644 --- a/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts +++ b/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts @@ -34,6 +34,8 @@ import { XYCurveType, XYState, YAxisMode, + HeatmapVisualizationState, + MetricState, } from '@kbn/lens-plugin/public'; import type { DataView } from '@kbn/data-views-plugin/common'; import { PersistableFilter } from '@kbn/lens-plugin/common'; @@ -58,6 +60,7 @@ import { ParamFilter, SeriesConfig, SupportedOperations, + TermColumnParamsOrderBy, UrlFilter, URLReportDefinition, } from '../types'; @@ -151,7 +154,7 @@ export interface LayerConfig { export class LensAttributes { layers: Record; - visualization?: XYState; + visualization?: XYState | HeatmapVisualizationState | MetricState; layerConfigs: LayerConfig[] = []; isMultiSeries?: boolean; seriesReferenceLines: Record< @@ -175,6 +178,7 @@ export class LensAttributes { this.seriesReferenceLines = {}; this.reportType = reportType; this.lensFormulaHelper = lensFormulaHelper; + this.isMultiSeries = layerConfigs.length > 1; layerConfigs.forEach(({ seriesConfig, operationType }) => { if (operationType && reportType !== ReportTypes.SINGLE_METRIC) { @@ -186,14 +190,13 @@ export class LensAttributes { }); } }); + this.layerConfigs = layerConfigs; + this.globalFilter = this.getGlobalFilter(this.isMultiSeries); if (reportType === ReportTypes.SINGLE_METRIC) { return; } - this.layerConfigs = layerConfigs; - this.isMultiSeries = layerConfigs.length > 1; - this.globalFilter = this.getGlobalFilter(this.isMultiSeries); this.layers = this.getLayers(); this.visualization = this.getXyState(); } @@ -217,34 +220,47 @@ export class LensAttributes { getBreakdownColumn({ sourceField, layerId, - labels, - indexPattern, layerConfig, + alphabeticOrder, + size = 10, }: { sourceField: string; layerId: string; - labels: Record; - indexPattern: DataView; layerConfig: LayerConfig; + alphabeticOrder?: boolean; + size?: number; }): TermsIndexPatternColumn { - const fieldMeta = indexPattern.getFieldByName(sourceField); + const { dataView, seriesConfig } = layerConfig; + + const fieldMeta = dataView.getFieldByName(sourceField); - const { sourceField: yAxisSourceField } = layerConfig.seriesConfig.yAxisColumns[0]; + const { sourceField: yAxisSourceField } = seriesConfig.yAxisColumns[0]; + + const labels = seriesConfig.labels ?? {}; const isFormulaColumn = yAxisSourceField === RECORDS_PERCENTAGE_FIELD; + let orderBy: TermColumnParamsOrderBy = { + type: 'column', + columnId: `y-axis-column-${layerId}-0`, + }; + + if (isFormulaColumn) { + orderBy = { type: 'custom' }; + } else if (alphabeticOrder) { + orderBy = { type: 'alphabetical', fallback: true }; + } + return { sourceField, - label: `Top values of ${labels[sourceField]}`, + label: labels[sourceField], dataType: fieldMeta?.type as DataType, operationType: 'terms', scale: 'ordinal', isBucketed: true, params: { - orderBy: isFormulaColumn - ? { type: 'custom' } - : { type: 'column', columnId: `y-axis-column-${layerId}-0` }, - size: 10, + orderBy, + size, orderDirection: 'desc', otherBucket: true, missingBucket: false, @@ -504,9 +520,7 @@ export class LensAttributes { return this.getBreakdownColumn({ layerId, layerConfig, - indexPattern: layerConfig.dataView, sourceField: layerConfig.breakdown || layerConfig.seriesConfig.breakdownFields[0], - labels: layerConfig.seriesConfig.labels, }); } @@ -1006,8 +1020,6 @@ export class LensAttributes { ? this.getBreakdownColumn({ layerId, sourceField: breakdown!, - indexPattern: layerConfig.dataView, - labels: layerConfig.seriesConfig.labels, layerConfig, }) : null; @@ -1230,7 +1242,10 @@ export class LensAttributes { return { internalReferences, adHocDataViews }; } - getJSON(lastRefresh?: number): TypedLensByValueInput['attributes'] { + getJSON( + visualizationType: 'lnsXY' | 'lnsLegacyMetric' | 'lnsHeatmap' = 'lnsXY', + lastRefresh?: number + ): TypedLensByValueInput['attributes'] { const query = this.globalFilter || this.layerConfigs[0].seriesConfig.query; const { internalReferences, adHocDataViews } = this.getReferences(); @@ -1238,7 +1253,7 @@ export class LensAttributes { return { title: 'Prefilled from exploratory view app', description: lastRefresh ? `Last refreshed at ${new Date(lastRefresh).toISOString()}` : '', - visualizationType: 'lnsXY', + visualizationType, references: [], state: { internalReferences, diff --git a/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes/heatmap_attributes.ts b/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes/heatmap_attributes.ts new file mode 100644 index 0000000000000..d62bd8684b48c --- /dev/null +++ b/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes/heatmap_attributes.ts @@ -0,0 +1,96 @@ +/* + * 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 { FormulaPublicApi, HeatmapVisualizationState } from '@kbn/lens-plugin/public'; + +import { euiPaletteNegative } from '@elastic/eui'; +import { ColorStop } from '@kbn/coloring'; +import { LayerConfig } from '../lens_attributes'; +import { SingleMetricLensAttributes } from './single_metric_attributes'; + +export class HeatMapLensAttributes extends SingleMetricLensAttributes { + xColumnId: string; + layerId: string; + breakDownColumnId: string; + + constructor( + layerConfigs: LayerConfig[], + reportType: string, + lensFormulaHelper: FormulaPublicApi + ) { + super(layerConfigs, reportType, lensFormulaHelper); + + this.xColumnId = 'layer-0-column-x-1'; + this.breakDownColumnId = 'layer-0-breakdown-column'; + this.layerId = 'layer0'; + const layer0 = this.getSingleMetricLayer()!; + + layer0.columns[this.xColumnId] = this.getDateHistogramColumn('@timestamp'); + + let columnOrder = [this.xColumnId]; + const layerConfig = layerConfigs[0]; + + if (layerConfig.breakdown) { + columnOrder = [this.breakDownColumnId, ...columnOrder]; + layer0.columns[this.breakDownColumnId] = this.getBreakdownColumn({ + layerConfig, + sourceField: layerConfig.breakdown, + layerId: this.layerId, + alphabeticOrder: true, + }); + } + + layer0.columnOrder = [...columnOrder, ...layer0.columnOrder]; + + this.layers = { layer0 }; + + this.visualization = this.getHeatmapState(); + } + + getHeatmapState() { + const negativePalette = euiPaletteNegative(5); + const layerConfig = this.layerConfigs[0]; + + return { + shape: 'heatmap', + layerId: this.layerId, + layerType: 'data', + legend: { + isVisible: true, + position: 'right', + type: 'heatmap_legend', + }, + gridConfig: { + type: 'heatmap_grid', + isCellLabelVisible: false, + isYAxisLabelVisible: true, + isXAxisLabelVisible: true, + isYAxisTitleVisible: false, + isXAxisTitleVisible: false, + xTitle: '', + }, + valueAccessor: this.columnId, + xAccessor: this.xColumnId, + yAccessor: layerConfig.breakdown ? this.breakDownColumnId : undefined, + palette: { + type: 'palette', + name: 'negative', + params: { + name: 'negative', + continuity: 'above', + reverse: false, + stops: negativePalette.map((nColor, ind) => ({ + color: nColor, + stop: ind === 0 ? 1 : ind * 20, + })) as ColorStop[], + rangeMin: 0, + }, + accessor: this.columnId, + }, + } as HeatmapVisualizationState; + } +} diff --git a/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes/single_metric_attributes.test.ts b/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes/single_metric_attributes.test.ts index cec2617feacf0..7897b691e6fc8 100644 --- a/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes/single_metric_attributes.test.ts +++ b/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes/single_metric_attributes.test.ts @@ -57,9 +57,9 @@ describe('SingleMetricAttributes', () => { }); it('returns attributes as expected', () => { - const jsonAttr = lnsAttr.getJSON(); + const jsonAttr = lnsAttr.getJSON('lnsLegacyMetric'); expect(jsonAttr).toEqual({ - description: 'undefined', + description: '', references: [], state: { adHocDataViews: { [mockDataView.title]: mockDataView.toSpec(false) }, @@ -88,6 +88,9 @@ describe('SingleMetricAttributes', () => { operationType: 'median', scale: 'ratio', sourceField: 'transaction.duration.us', + params: { + emptyAsNull: true, + }, }, }, incompleteColumns: {}, @@ -121,9 +124,9 @@ describe('SingleMetricAttributes', () => { formulaHelper ); - const jsonAttr = lnsAttr.getJSON(); + const jsonAttr = lnsAttr.getJSON('lnsLegacyMetric'); expect(jsonAttr).toEqual({ - description: 'undefined', + description: '', references: [], state: { adHocDataViews: { [mockDataView.title]: mockDataView.toSpec(false) }, @@ -206,7 +209,7 @@ describe('SingleMetricAttributes', () => { formulaHelper ); - const jsonAttr = lnsAttr.getJSON(); + const jsonAttr = lnsAttr.getJSON('lnsLegacyMetric'); expect(jsonAttr).toEqual(sampleMetricFormulaAttribute); }); }); diff --git a/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes/single_metric_attributes.ts b/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes/single_metric_attributes.ts index 1a7fe32d6c40a..b1bf0782e0d2e 100644 --- a/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes/single_metric_attributes.ts +++ b/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes/single_metric_attributes.ts @@ -5,12 +5,7 @@ * 2.0. */ -import { - FormulaPublicApi, - MetricState, - OperationType, - TypedLensByValueInput, -} from '@kbn/lens-plugin/public'; +import { FormulaPublicApi, MetricState, OperationType } from '@kbn/lens-plugin/public'; import type { DataView } from '@kbn/data-views-plugin/common'; @@ -44,7 +39,12 @@ export class SingleMetricLensAttributes extends LensAttributes { this.columnId = 'layer-0-column-1'; this.globalFilter = this.getGlobalFilter(this.isMultiSeries); - this.layers = this.getSingleMetricLayer()!; + const layer0 = this.getSingleMetricLayer()!; + + this.layers = { + layer0, + }; + this.visualization = this.getMetricState(); } getSingleMetricLayer() { @@ -100,18 +100,19 @@ export class SingleMetricLensAttributes extends LensAttributes { } return { - layer0: { - columns: { - [this.columnId]: { - ...buildNumberColumn(sourceField), - label: columnLabel ?? '', - operationType: sourceField === RECORDS_FIELD ? 'count' : operationType || 'median', - filter: columnFilter, + columns: { + [this.columnId]: { + ...buildNumberColumn(sourceField), + label: columnLabel ?? '', + operationType: sourceField === RECORDS_FIELD ? 'count' : operationType || 'median', + filter: columnFilter, + params: { + emptyAsNull: true, }, }, - columnOrder: [this.columnId], - incompleteColumns: {}, }, + columnOrder: [this.columnId], + incompleteColumns: {}, }; } } @@ -149,9 +150,7 @@ export class SingleMetricLensAttributes extends LensAttributes { dataView ); - return { - layer0: layer!, - }; + return layer!; } getPercentileLayer({ @@ -168,17 +167,15 @@ export class SingleMetricLensAttributes extends LensAttributes { columnFilter?: ColumnFilter; }) { return { - layer0: { - columns: { - [this.columnId]: { - ...this.getPercentileNumberColumn(sourceField, operationType!, seriesConfig), - label: columnLabel ?? '', - filter: columnFilter, - }, + columns: { + [this.columnId]: { + ...this.getPercentileNumberColumn(sourceField, operationType!, seriesConfig), + label: columnLabel ?? '', + filter: columnFilter, }, - columnOrder: [this.columnId], - incompleteColumns: {}, }, + columnOrder: [this.columnId], + incompleteColumns: {}, }; } @@ -191,31 +188,4 @@ export class SingleMetricLensAttributes extends LensAttributes { size: 's', }; } - - getJSON(refresh?: number): TypedLensByValueInput['attributes'] { - const query = this.globalFilter || this.layerConfigs[0].seriesConfig.query; - - const visualization = this.getMetricState(); - - const { internalReferences, adHocDataViews } = this.getReferences(); - - return { - title: 'Prefilled from exploratory view app', - description: String(refresh), - visualizationType: 'lnsLegacyMetric', - references: [], - state: { - internalReferences, - adHocDataViews, - visualization, - datasourceStates: { - formBased: { - layers: this.layers, - }, - }, - query: query || { query: '', language: 'kuery' }, - filters: [], - }, - }; - } } diff --git a/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/synthetics/heatmap_config.ts b/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/synthetics/heatmap_config.ts new file mode 100644 index 0000000000000..1c41aaa8d4db9 --- /dev/null +++ b/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/synthetics/heatmap_config.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 { ConfigProps, SeriesConfig } from '../../types'; +import { FieldLabels, RECORDS_FIELD, REPORT_METRIC_FIELD, ReportTypes } from '../constants'; +import { DOWN_LABEL, UP_LABEL } from '../constants/labels'; +import { SYNTHETICS_STEP_NAME } from '../constants/field_names/synthetics'; +import { buildExistsFilter } from '../utils'; + +const SUMMARY_UP = 'summary.up'; +const SUMMARY_DOWN = 'summary.down'; + +export function getSyntheticsHeatmapConfig({ dataView }: ConfigProps): SeriesConfig { + return { + reportType: ReportTypes.HEATMAP, + defaultSeriesType: 'bar_stacked', + seriesTypes: [], + xAxisColumn: { + sourceField: '@timestamp', + }, + yAxisColumns: [ + { + sourceField: REPORT_METRIC_FIELD, + operationType: 'median', + }, + ], + hasOperationType: false, + filterFields: ['observer.geo.name', 'monitor.type', 'tags', 'url.full'], + breakdownFields: ['observer.geo.name', 'monitor.type', 'monitor.name', SYNTHETICS_STEP_NAME], + baseFilters: [], + definitionFields: [ + { field: 'monitor.name' }, + { field: 'url.full', filters: buildExistsFilter('summary.up', dataView) }, + ], + metricOptions: [ + { + label: 'Failed tests', + id: 'failed_tests', + columnFilter: { language: 'kuery', query: 'summary.down > 0' }, + format: 'number', + field: RECORDS_FIELD, + }, + ], + labels: { ...FieldLabels, [SUMMARY_UP]: UP_LABEL, [SUMMARY_DOWN]: DOWN_LABEL }, + }; +} diff --git a/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/test_data/sample_attribute_cwv.ts b/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/test_data/sample_attribute_cwv.ts index d87517e761342..e012f04e28ad5 100644 --- a/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/test_data/sample_attribute_cwv.ts +++ b/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/test_data/sample_attribute_cwv.ts @@ -38,7 +38,7 @@ export const sampleAttributeCoreWebVital = { 'x-axis-column-layer0': { dataType: 'string', isBucketed: true, - label: 'Top values of Operating system', + label: 'Operating system', operationType: 'terms', params: { missingBucket: false, diff --git a/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/test_data/test_formula_metric_attribute.ts b/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/test_data/test_formula_metric_attribute.ts index 1a3ef129fa94f..d1f63100ecbe8 100644 --- a/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/test_data/test_formula_metric_attribute.ts +++ b/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/test_data/test_formula_metric_attribute.ts @@ -8,7 +8,7 @@ import { mockDataView } from '../../rtl_helpers'; export const sampleMetricFormulaAttribute = { - description: 'undefined', + description: '', references: [], state: { adHocDataViews: { [mockDataView.title]: mockDataView.toSpec(false) }, diff --git a/x-pack/plugins/observability/public/components/shared/exploratory_view/embeddable/embeddable.tsx b/x-pack/plugins/observability/public/components/shared/exploratory_view/embeddable/embeddable.tsx index f4c438b693d48..04fec072229d7 100644 --- a/x-pack/plugins/observability/public/components/shared/exploratory_view/embeddable/embeddable.tsx +++ b/x-pack/plugins/observability/public/components/shared/exploratory_view/embeddable/embeddable.tsx @@ -16,6 +16,7 @@ import { XYState, } from '@kbn/lens-plugin/public'; import { ViewMode } from '@kbn/embeddable-plugin/common'; +import { HeatMapLensAttributes } from '../configurations/lens_attributes/heatmap_attributes'; import { SingleMetricLensAttributes } from '../configurations/lens_attributes/single_metric_attributes'; import { AllSeries, ReportTypes, useTheme } from '../../../..'; import { LayerConfig, LensAttributes } from '../configurations/lens_attributes'; @@ -106,17 +107,44 @@ export default function Embeddable({ ); let lensAttributes; - try { - if (reportType === ReportTypes.SINGLE_METRIC) { - lensAttributes = new SingleMetricLensAttributes(layerConfigs, reportType, lensFormulaHelper!); - } else { - lensAttributes = new LensAttributes(layerConfigs, reportType, lensFormulaHelper); - } - // eslint-disable-next-line no-empty - } catch (error) {} + let attributesJSON = customLensAttrs; + if (!customLensAttrs) { + try { + if (reportType === ReportTypes.SINGLE_METRIC) { + lensAttributes = new SingleMetricLensAttributes( + layerConfigs, + reportType, + lensFormulaHelper! + ); + attributesJSON = lensAttributes?.getJSON('lnsLegacyMetric'); + } else if (reportType === ReportTypes.HEATMAP) { + lensAttributes = new HeatMapLensAttributes(layerConfigs, reportType, lensFormulaHelper!); + attributesJSON = lensAttributes?.getJSON('lnsHeatmap'); + } else { + lensAttributes = new LensAttributes(layerConfigs, reportType, lensFormulaHelper); + attributesJSON = lensAttributes?.getJSON(); + } + // eslint-disable-next-line no-empty + } catch (error) {} + } - const attributesJSON = customLensAttrs ?? lensAttributes?.getJSON(); const timeRange = customTimeRange ?? series?.time; + + const actions = useActions({ + withActions, + attributes, + reportType, + appId, + setIsSaveOpen, + setAddToCaseOpen, + lensAttributes: attributesJSON, + timeRange, + }); + + if (!attributesJSON) { + return null; + } + if (typeof axisTitlesVisibility !== 'undefined') { (attributesJSON.state.visualization as XYState).axisTitlesVisibilitySettings = axisTitlesVisibility; @@ -137,17 +165,6 @@ export default function Embeddable({ }; } - const actions = useActions({ - withActions, - attributes, - reportType, - appId, - setIsSaveOpen, - setAddToCaseOpen, - lensAttributes: attributesJSON, - timeRange, - }); - if (!attributesJSON && layerConfigs.length < 1) { return null; } diff --git a/x-pack/plugins/observability/public/components/shared/exploratory_view/hooks/use_lens_attributes.ts b/x-pack/plugins/observability/public/components/shared/exploratory_view/hooks/use_lens_attributes.ts index 1f1997d394846..e65da38494843 100644 --- a/x-pack/plugins/observability/public/components/shared/exploratory_view/hooks/use_lens_attributes.ts +++ b/x-pack/plugins/observability/public/components/shared/exploratory_view/hooks/use_lens_attributes.ts @@ -9,6 +9,7 @@ import { useMemo } from 'react'; import { isEmpty } from 'lodash'; import { TypedLensByValueInput } from '@kbn/lens-plugin/public'; import { EuiTheme } from '@kbn/kibana-react-plugin/common'; +import { HeatMapLensAttributes } from '../configurations/lens_attributes/heatmap_attributes'; import { useLensFormulaHelper } from './use_lens_formula_helper'; import { ALL_VALUES_SELECTED } from '../configurations/constants/url_constants'; import { LayerConfig, LensAttributes } from '../configurations/lens_attributes'; @@ -130,12 +131,22 @@ export const useLensAttributes = (): TypedLensByValueInput['attributes'] | null lensFormulaHelper ); - return lensAttributes.getJSON(lastRefresh); + return lensAttributes.getJSON('lnsLegacyMetric', lastRefresh); + } + + if (reportTypeT === 'heatmap') { + const lensAttributes = new HeatMapLensAttributes( + layerConfigs, + reportTypeT, + lensFormulaHelper + ); + + return lensAttributes.getJSON('lnsHeatmap', lastRefresh); } const lensAttributes = new LensAttributes(layerConfigs, reportTypeT, lensFormulaHelper); - return lensAttributes.getJSON(lastRefresh); + return lensAttributes.getJSON('lnsXY', lastRefresh); // we also want to check the state on allSeries changes // eslint-disable-next-line react-hooks/exhaustive-deps }, [dataViews, reportType, storage, theme, lastRefresh, allSeries, lensFormulaHelper]); diff --git a/x-pack/plugins/observability/public/components/shared/exploratory_view/obsv_exploratory_view.tsx b/x-pack/plugins/observability/public/components/shared/exploratory_view/obsv_exploratory_view.tsx index 14d5101a561fb..77655518ac8c5 100644 --- a/x-pack/plugins/observability/public/components/shared/exploratory_view/obsv_exploratory_view.tsx +++ b/x-pack/plugins/observability/public/components/shared/exploratory_view/obsv_exploratory_view.tsx @@ -8,6 +8,7 @@ import * as React from 'react'; import { i18n } from '@kbn/i18n'; import { EuiErrorBoundary } from '@elastic/eui'; +import { getSyntheticsHeatmapConfig } from './configurations/synthetics/heatmap_config'; import { getSyntheticsSingleMetricConfig } from './configurations/synthetics/single_metric_config'; import { ExploratoryViewPage } from '.'; import { ExploratoryViewContextProvider } from './contexts/exploratory_view_config'; @@ -16,6 +17,7 @@ import { AppDataType, ReportViewType } from './types'; import { CORE_WEB_VITALS_LABEL, DEVICE_DISTRIBUTION_LABEL, + HEATMAP_LABEL, KPI_OVER_TIME_LABEL, PERF_DIST_LABEL, SINGLE_METRIC_LABEL, @@ -89,6 +91,7 @@ export const reportTypesList: Array<{ { reportType: 'core-web-vitals', label: CORE_WEB_VITALS_LABEL }, { reportType: 'device-data-distribution', label: DEVICE_DISTRIBUTION_LABEL }, { reportType: 'single-metric', label: SINGLE_METRIC_LABEL }, + { reportType: 'heatmap', label: HEATMAP_LABEL }, ]; export const obsvReportConfigMap = { @@ -102,6 +105,7 @@ export const obsvReportConfigMap = { getSyntheticsKPIConfig, getSyntheticsDistributionConfig, getSyntheticsSingleMetricConfig, + getSyntheticsHeatmapConfig, ], [DataTypes.MOBILE]: [ getMobileKPIConfig, diff --git a/x-pack/plugins/observability/public/components/shared/exploratory_view/types.ts b/x-pack/plugins/observability/public/components/shared/exploratory_view/types.ts index dc195fc08c016..5094088b436fc 100644 --- a/x-pack/plugins/observability/public/components/shared/exploratory_view/types.ts +++ b/x-pack/plugins/observability/public/components/shared/exploratory_view/types.ts @@ -32,6 +32,7 @@ export const ReportViewTypes = { cwv: 'core-web-vitals', mdd: 'device-data-distribution', smt: 'single-metric', + htm: 'heatmap', } as const; type ValueOf = T[keyof T]; diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_details/monitor_errors/failed_tests.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_details/monitor_errors/failed_tests.tsx new file mode 100644 index 0000000000000..8db063f50d63a --- /dev/null +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_details/monitor_errors/failed_tests.tsx @@ -0,0 +1,39 @@ +/* + * 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 { useKibana } from '@kbn/kibana-react-plugin/public'; +import { useParams } from 'react-router-dom'; +import { ClientPluginsStart } from '../../../../../plugin'; + +export const MonitorFailedTests = ({ time }: { time: { to: string; from: string } }) => { + const { observability } = useKibana().services; + + const { ExploratoryViewEmbeddable } = observability; + + const { monitorId } = useParams<{ monitorId: string }>(); + + return ( + + ); +}; diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_details/monitor_errors/monitor_errors.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_details/monitor_errors/monitor_errors.tsx index fba0664f0ef07..f062a6ab7b10f 100644 --- a/x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_details/monitor_errors/monitor_errors.tsx +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_details/monitor_errors/monitor_errors.tsx @@ -12,19 +12,25 @@ import { EuiTitle, useEuiTheme, } from '@elastic/eui'; -import React from 'react'; +import React, { useMemo } from 'react'; import { i18n } from '@kbn/i18n'; import { FailedTestsCount } from './failed_tests_count'; import { useGetUrlParams } from '../../../hooks'; import { SyntheticsDatePicker } from '../../common/date_picker/synthetics_date_picker'; import { MonitorErrorsCount } from '../monitor_summary/monitor_errors_count'; import { ErrorsList } from './errors_list'; +import { MonitorFailedTests } from './failed_tests'; export const MonitorErrors = () => { const { euiTheme } = useEuiTheme(); const { dateRangeStart, dateRangeEnd } = useGetUrlParams(); + const time = useMemo( + () => ({ from: dateRangeStart, to: dateRangeEnd }), + [dateRangeEnd, dateRangeStart] + ); + return ( <> @@ -50,6 +56,7 @@ export const MonitorErrors = () => {

      {FAILED_TESTS_LABEL}

      + From 5431d1fb78011385813384ca57c5aebf124afaea Mon Sep 17 00:00:00 2001 From: Julia Bardi <90178898+juliaElastic@users.noreply.github.com> Date: Wed, 2 Nov 2022 09:48:22 +0100 Subject: [PATCH 109/111] Prerelease toggle (#143853) * WIP: prerelease toggle * changed styling * fixed switch * auto upgrade and hiding button on callout if no ga available * tweak prereleaseIntegrationsEnabled state to add undefined state in beginning * fixing types and tests * fixing types * removed dummy endpoint package * extracted hooks to avoid double loading of packages and categories * prevent double loading of package details * updated openapi * fixing tests * added try catch around loading settings in preconfig * error handling on integrations, fixing cypress test with that * reading prerelease from settings during package install * fix tests * fixing tests * added back experimental as deprecated, fix more tests * fixed issue in package details overview where nlatest version didnt show prerelease * changed getPackageInfo to load prerelease from settings if not provided * fixing tests, moved getSettings to bulk install fn * fixing cypress and endpoint tests * fix tests * fix tests * added back experimental flag in other plugins, as it is not exaclty the same as prerelease * reverted mappings change in api_integration * fixed prerelease condition, fix limited test, trying to fix field limit * removed experimental flag from epr api call * added unit test on version dropdown and prerelease callout, set field limit to 1500 * added UI package version check for prerelease disabled case * fixed synthetics test * extracted getSettings to a helper function * removed using prerease setting in auto upgrades and install * fixing tests, added back prerelease flag to install apis * fixing a bug with version and release badge of installed integrations * reload package in overview after loading prerelease setting, this is to show available upgrade if package is installed * fixing tests by passing prerelease flag on apis * fixing cypress test Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> --- .../migrations/check_registered_types.test.ts | 2 +- .../plugins/fleet/common/openapi/bundled.json | 58 +++++++- .../plugins/fleet/common/openapi/bundled.yaml | 40 +++++ .../openapi/components/schemas/settings.yaml | 2 + .../common/openapi/paths/epm@categories.yaml | 19 +++ .../common/openapi/paths/epm@packages.yaml | 17 +++ .../fleet/common/types/models/settings.ts | 1 + .../fleet/common/types/rest_spec/epm.ts | 4 + .../fleet/cypress/e2e/install_assets.cy.ts | 2 +- .../fleet/cypress/e2e/integrations_mock.cy.ts | 6 +- .../fleet/cypress/e2e/integrations_real.cy.ts | 2 +- .../debug/components/integration_debugger.tsx | 2 +- .../applications/integrations/hooks/index.ts | 2 + .../integrations/hooks/use_categories.tsx | 55 +++++++ .../integrations/hooks/use_packages.tsx | 56 +++++++ .../integration_preference.stories.tsx | 8 +- .../epm/components/integration_preference.tsx | 67 ++++++++- .../epm/screens/detail/index.test.tsx | 75 +++++++++- .../sections/epm/screens/detail/index.tsx | 116 ++++++++++++++- .../epm/screens/detail/overview/overview.tsx | 140 ++++++++++++------ .../epm/screens/home/available_packages.tsx | 31 ++-- .../sections/epm/screens/home/index.tsx | 25 +++- .../hooks/use_package_installations.tsx | 2 +- .../fleet/public/hooks/use_request/epm.ts | 35 ++++- x-pack/plugins/fleet/public/services/index.ts | 1 + .../services/package_prerelease.test.ts | 34 +++++ .../public/services/package_prerelease.ts | 11 ++ .../install_all_packages.ts | 2 +- x-pack/plugins/fleet/server/plugin.ts | 2 +- .../fleet/server/routes/epm/handlers.ts | 22 ++- .../server/routes/package_policy/handlers.ts | 1 + .../fleet/server/saved_objects/index.ts | 1 + .../saved_objects/migrations/to_v8_6_0.ts | 2 + .../services/epm/package_service.test.ts | 2 +- .../server/services/epm/package_service.ts | 13 +- .../epm/packages/bulk_install_packages.ts | 4 +- .../server/services/epm/packages/get.test.ts | 7 + .../fleet/server/services/epm/packages/get.ts | 19 ++- .../epm/packages/get_prerelease_setting.ts | 25 ++++ .../server/services/epm/packages/install.ts | 4 +- .../server/services/epm/registry/index.ts | 28 +++- .../fleet/server/services/package_policy.ts | 6 + .../plugins/fleet/server/services/settings.ts | 2 +- .../fleet/server/types/rest_spec/epm.ts | 20 ++- .../fleet/server/types/rest_spec/settings.ts | 1 + .../apis/epm/bulk_upgrade.ts | 8 +- .../apis/epm/custom_ingest_pipeline.ts | 2 +- .../fleet_api_integration/apis/epm/delete.ts | 1 + .../apis/epm/final_pipeline.ts | 2 +- .../fleet_api_integration/apis/epm/get.ts | 9 +- .../apis/epm/install_by_upload.ts | 1 + .../apis/epm/install_error_rollback.ts | 5 +- .../apis/epm/install_overrides.ts | 1 + .../apis/epm/install_prerelease.ts | 1 + .../epm/install_remove_kbn_assets_in_space.ts | 1 + .../apis/epm/install_remove_multiple.ts | 1 + .../apis/epm/install_tag_assets.ts | 1 + .../apis/epm/install_update.ts | 1 + .../fleet_api_integration/apis/epm/list.ts | 1 + .../apis/epm/package_install_complete.ts | 1 + .../fleet_api_integration/apis/epm/setup.ts | 1 + .../fleet_api_integration/apis/fleet_setup.ts | 2 +- .../apis/package_policy/delete.ts | 1 + x-pack/test/fleet_api_integration/helpers.ts | 16 ++ .../maps/group4/geofile_wizard_auto_open.ts | 2 +- .../services/uptime/synthetics_package.ts | 2 +- 66 files changed, 886 insertions(+), 148 deletions(-) create mode 100644 x-pack/plugins/fleet/public/applications/integrations/hooks/use_categories.tsx create mode 100644 x-pack/plugins/fleet/public/applications/integrations/hooks/use_packages.tsx create mode 100644 x-pack/plugins/fleet/public/services/package_prerelease.test.ts create mode 100644 x-pack/plugins/fleet/public/services/package_prerelease.ts create mode 100644 x-pack/plugins/fleet/server/services/epm/packages/get_prerelease_setting.ts diff --git a/src/core/server/integration_tests/saved_objects/migrations/check_registered_types.test.ts b/src/core/server/integration_tests/saved_objects/migrations/check_registered_types.test.ts index b1aa1e5df9231..af572532a13e6 100644 --- a/src/core/server/integration_tests/saved_objects/migrations/check_registered_types.test.ts +++ b/src/core/server/integration_tests/saved_objects/migrations/check_registered_types.test.ts @@ -99,7 +99,7 @@ describe('checking migration metadata changes on all registered SO types', () => "ingest-download-sources": "1e69dabd6db5e320fe08c5bda8f35f29bafc6b54", "ingest-outputs": "29b867bf7bfd28b1e17c84697dce5c6d078f9705", "ingest-package-policies": "e8707a8c7821ea085e67c2d213e24efa56307393", - "ingest_manager_settings": "bb71f20e36a9ac3a2e46d9345e2caa96e7bf8c22", + "ingest_manager_settings": "6f36714825cc15ea8d7cda06fde7851611a532b4", "inventory-view": "bc2bd1e7ec7c186159447ab228d269f22bd39056", "kql-telemetry": "29544cd7d3b767c5399878efae6bd724d24c03fd", "legacy-url-alias": "7172dfd54f2e0c89fe263fd7095519b2d826a930", diff --git a/x-pack/plugins/fleet/common/openapi/bundled.json b/x-pack/plugins/fleet/common/openapi/bundled.json index b2ccff5e7188b..ab8747170f760 100644 --- a/x-pack/plugins/fleet/common/openapi/bundled.json +++ b/x-pack/plugins/fleet/common/openapi/bundled.json @@ -247,7 +247,35 @@ } }, "operationId": "get-package-categories" - } + }, + "parameters": [ + { + "in": "query", + "name": "prerelease", + "schema": { + "type": "boolean", + "default": false + }, + "description": "Whether to include prerelease packages in categories count (e.g. beta, rc, preview) " + }, + { + "in": "query", + "name": "experimental", + "deprecated": true, + "schema": { + "type": "boolean", + "default": false + } + }, + { + "in": "query", + "name": "include_policy_templates", + "schema": { + "type": "boolean", + "default": false + } + } + ] }, "/epm/packages/limited": { "get": { @@ -304,6 +332,31 @@ "default": false }, "description": "Whether to exclude the install status of each package. Enabling this option will opt in to caching for the response via `cache-control` headers. If you don't need up-to-date installation info for a package, and are querying for a list of available packages, providing this flag can improve performance substantially." + }, + { + "in": "query", + "name": "prerelease", + "schema": { + "type": "boolean", + "default": false + }, + "description": "Whether to return prerelease versions of packages (e.g. beta, rc, preview) " + }, + { + "in": "query", + "name": "experimental", + "deprecated": true, + "schema": { + "type": "boolean", + "default": false + } + }, + { + "in": "query", + "name": "category", + "schema": { + "type": "string" + } } ] }, @@ -4206,6 +4259,9 @@ "items": { "type": "string" } + }, + "prerelease_integrations_enabled": { + "type": "boolean" } }, "required": [ diff --git a/x-pack/plugins/fleet/common/openapi/bundled.yaml b/x-pack/plugins/fleet/common/openapi/bundled.yaml index 139711f13b899..eca789024e4f3 100644 --- a/x-pack/plugins/fleet/common/openapi/bundled.yaml +++ b/x-pack/plugins/fleet/common/openapi/bundled.yaml @@ -154,6 +154,26 @@ paths: schema: $ref: '#/components/schemas/get_categories_response' operationId: get-package-categories + parameters: + - in: query + name: prerelease + schema: + type: boolean + default: false + description: >- + Whether to include prerelease packages in categories count (e.g. beta, + rc, preview) + - in: query + name: experimental + deprecated: true + schema: + type: boolean + default: false + - in: query + name: include_policy_templates + schema: + type: boolean + default: false /epm/packages/limited: get: summary: Packages - Get limited list @@ -196,6 +216,24 @@ paths: headers. If you don't need up-to-date installation info for a package, and are querying for a list of available packages, providing this flag can improve performance substantially. + - in: query + name: prerelease + schema: + type: boolean + default: false + description: >- + Whether to return prerelease versions of packages (e.g. beta, rc, + preview) + - in: query + name: experimental + deprecated: true + schema: + type: boolean + default: false + - in: query + name: category + schema: + type: string /epm/packages/_bulk: post: summary: Packages - Bulk install @@ -2617,6 +2655,8 @@ components: type: array items: type: string + prerelease_integrations_enabled: + type: boolean required: - fleet_server_hosts - id diff --git a/x-pack/plugins/fleet/common/openapi/components/schemas/settings.yaml b/x-pack/plugins/fleet/common/openapi/components/schemas/settings.yaml index 280460771989e..145b598267a0a 100644 --- a/x-pack/plugins/fleet/common/openapi/components/schemas/settings.yaml +++ b/x-pack/plugins/fleet/common/openapi/components/schemas/settings.yaml @@ -9,6 +9,8 @@ properties: type: array items: type: string + prerelease_integrations_enabled: + type: boolean required: - fleet_server_hosts - id diff --git a/x-pack/plugins/fleet/common/openapi/paths/epm@categories.yaml b/x-pack/plugins/fleet/common/openapi/paths/epm@categories.yaml index 1f2c3930d6ba3..9a69a930fa988 100644 --- a/x-pack/plugins/fleet/common/openapi/paths/epm@categories.yaml +++ b/x-pack/plugins/fleet/common/openapi/paths/epm@categories.yaml @@ -9,3 +9,22 @@ get: schema: $ref: ../components/schemas/get_categories_response.yaml operationId: get-package-categories +parameters: + - in: query + name: prerelease + schema: + type: boolean + default: false + description: >- + Whether to include prerelease packages in categories count (e.g. beta, rc, preview) + - in: query + name: experimental + deprecated: true + schema: + type: boolean + default: false + - in: query + name: include_policy_templates + schema: + type: boolean + default: false \ No newline at end of file diff --git a/x-pack/plugins/fleet/common/openapi/paths/epm@packages.yaml b/x-pack/plugins/fleet/common/openapi/paths/epm@packages.yaml index 9c29b9d18357c..a6332360283bd 100644 --- a/x-pack/plugins/fleet/common/openapi/paths/epm@packages.yaml +++ b/x-pack/plugins/fleet/common/openapi/paths/epm@packages.yaml @@ -20,3 +20,20 @@ parameters: caching for the response via `cache-control` headers. If you don't need up-to-date installation info for a package, and are querying for a list of available packages, providing this flag can improve performance substantially. + - in: query + name: prerelease + schema: + type: boolean + default: false + description: >- + Whether to return prerelease versions of packages (e.g. beta, rc, preview) + - in: query + name: experimental + deprecated: true + schema: + type: boolean + default: false + - in: query + name: category + schema: + type: string diff --git a/x-pack/plugins/fleet/common/types/models/settings.ts b/x-pack/plugins/fleet/common/types/models/settings.ts index 5a33fea910446..c70fa944e6c24 100644 --- a/x-pack/plugins/fleet/common/types/models/settings.ts +++ b/x-pack/plugins/fleet/common/types/models/settings.ts @@ -10,6 +10,7 @@ import type { SavedObjectAttributes } from '@kbn/core/public'; export interface BaseSettings { has_seen_add_data_notice?: boolean; fleet_server_hosts?: string[]; + prerelease_integrations_enabled: boolean; } export interface Settings extends BaseSettings { diff --git a/x-pack/plugins/fleet/common/types/rest_spec/epm.ts b/x-pack/plugins/fleet/common/types/rest_spec/epm.ts index e12bdbb202321..105558e0d0620 100644 --- a/x-pack/plugins/fleet/common/types/rest_spec/epm.ts +++ b/x-pack/plugins/fleet/common/types/rest_spec/epm.ts @@ -17,7 +17,9 @@ import type { export interface GetCategoriesRequest { query: { + // deprecated in 8.6 experimental?: boolean; + prerelease?: boolean; include_policy_templates?: boolean; }; } @@ -31,7 +33,9 @@ export interface GetCategoriesResponse { export interface GetPackagesRequest { query: { category?: string; + // deprecated in 8.6 experimental?: boolean; + prerelease?: boolean; excludeInstallStatus?: boolean; }; } diff --git a/x-pack/plugins/fleet/cypress/e2e/install_assets.cy.ts b/x-pack/plugins/fleet/cypress/e2e/install_assets.cy.ts index 81ef56a4b1f52..4234df15d861e 100644 --- a/x-pack/plugins/fleet/cypress/e2e/install_assets.cy.ts +++ b/x-pack/plugins/fleet/cypress/e2e/install_assets.cy.ts @@ -35,7 +35,7 @@ describe('Install unverified package assets', () => { }).as('installAssets'); // save mocking out the whole package response, but make it so that fleet server is always uninstalled - cy.intercept('GET', '/api/fleet/epm/packages/fleet_server', (req) => { + cy.intercept('GET', '/api/fleet/epm/packages/fleet_server*', (req) => { req.continue((res) => { if (res.body?.item?.savedObject) { delete res.body.item.savedObject; diff --git a/x-pack/plugins/fleet/cypress/e2e/integrations_mock.cy.ts b/x-pack/plugins/fleet/cypress/e2e/integrations_mock.cy.ts index ce207cd3598e2..3095f628599d6 100644 --- a/x-pack/plugins/fleet/cypress/e2e/integrations_mock.cy.ts +++ b/x-pack/plugins/fleet/cypress/e2e/integrations_mock.cy.ts @@ -16,7 +16,7 @@ describe('Add Integration - Mock API', () => { const oldVersion = '0.3.3'; const newVersion = '1.3.4'; beforeEach(() => { - cy.intercept('/api/fleet/epm/packages?experimental=true', { + cy.intercept('/api/fleet/epm/packages?prerelease=true', { items: [ { name: 'apache', @@ -28,7 +28,7 @@ describe('Add Integration - Mock API', () => { ], }); - cy.intercept(`/api/fleet/epm/packages/apache/${oldVersion}`, { + cy.intercept(`/api/fleet/epm/packages/apache/${oldVersion}*`, { item: { name: 'apache', version: oldVersion, @@ -99,7 +99,7 @@ describe('Add Integration - Mock API', () => { cy.getBySel(INTEGRATION_POLICIES_UPGRADE_CHECKBOX).uncheck({ force: true }); - cy.intercept(`/api/fleet/epm/packages/apache/${newVersion}`, { + cy.intercept(`/api/fleet/epm/packages/apache/${newVersion}*`, { item: { name: 'apache', version: newVersion, diff --git a/x-pack/plugins/fleet/cypress/e2e/integrations_real.cy.ts b/x-pack/plugins/fleet/cypress/e2e/integrations_real.cy.ts index c3bee2d758df0..3b7c29561bc93 100644 --- a/x-pack/plugins/fleet/cypress/e2e/integrations_real.cy.ts +++ b/x-pack/plugins/fleet/cypress/e2e/integrations_real.cy.ts @@ -174,7 +174,7 @@ describe('Add Integration - Real API', () => { setupIntegrations(); cy.getBySel(getIntegrationCategories('aws')).click(); cy.getBySel(INTEGRATIONS_SEARCHBAR.BADGE).contains('AWS').should('exist'); - cy.getBySel(INTEGRATION_LIST).find('.euiCard').should('have.length', 30); + cy.getBySel(INTEGRATION_LIST).find('.euiCard').should('have.length', 28); cy.getBySel(INTEGRATIONS_SEARCHBAR.INPUT).clear().type('Cloud'); cy.getBySel(INTEGRATION_LIST).find('.euiCard').should('have.length', 3); diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/debug/components/integration_debugger.tsx b/x-pack/plugins/fleet/public/applications/fleet/sections/debug/components/integration_debugger.tsx index 9c3fa21c752f8..30fc1b84964f3 100644 --- a/x-pack/plugins/fleet/public/applications/fleet/sections/debug/components/integration_debugger.tsx +++ b/x-pack/plugins/fleet/public/applications/fleet/sections/debug/components/integration_debugger.tsx @@ -39,7 +39,7 @@ import { queryClient } from '..'; import { pkgKeyFromPackageInfo } from '../../../services'; const fetchInstalledIntegrations = async () => { - const response = await sendGetPackages({ experimental: true }); + const response = await sendGetPackages({ prerelease: true }); if (response.error) { throw new Error(response.error.message); diff --git a/x-pack/plugins/fleet/public/applications/integrations/hooks/index.ts b/x-pack/plugins/fleet/public/applications/integrations/hooks/index.ts index 5b6b19af169f0..76b6b49c8c5cb 100644 --- a/x-pack/plugins/fleet/public/applications/integrations/hooks/index.ts +++ b/x-pack/plugins/fleet/public/applications/integrations/hooks/index.ts @@ -14,3 +14,5 @@ export * from './use_agent_policy_context'; export * from './use_integrations_state'; export * from './use_confirm_force_install'; export * from './use_confirm_open_unverified'; +export * from './use_packages'; +export * from './use_categories'; diff --git a/x-pack/plugins/fleet/public/applications/integrations/hooks/use_categories.tsx b/x-pack/plugins/fleet/public/applications/integrations/hooks/use_categories.tsx new file mode 100644 index 0000000000000..8b441a229e9b7 --- /dev/null +++ b/x-pack/plugins/fleet/public/applications/integrations/hooks/use_categories.tsx @@ -0,0 +1,55 @@ +/* + * 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 { useEffect, useCallback, useState } from 'react'; + +import type { RequestError } from '../../fleet/hooks'; +import { sendGetCategories } from '../../fleet/hooks'; +import type { GetCategoriesResponse } from '../types'; + +export function useCategories(prerelease?: boolean) { + const [data, setData] = useState(); + const [error, setError] = useState(); + const [isLoading, setIsLoading] = useState(false); + const [isPrereleaseEnabled, setIsPrereleaseEnabled] = useState(prerelease); + + const fetchData = useCallback(async () => { + if (prerelease === undefined) { + return; + } + if (isPrereleaseEnabled === prerelease) { + return; + } + setIsPrereleaseEnabled(prerelease); + setIsLoading(true); + try { + const res = await sendGetCategories({ + include_policy_templates: true, + prerelease, + }); + if (res.error) { + throw res.error; + } + if (res.data) { + setData(res.data); + } + } catch (err) { + setError(err); + } + setIsLoading(false); + }, [prerelease, isPrereleaseEnabled]); + + useEffect(() => { + fetchData(); + }, [fetchData]); + + return { + data, + error, + isLoading, + }; +} diff --git a/x-pack/plugins/fleet/public/applications/integrations/hooks/use_packages.tsx b/x-pack/plugins/fleet/public/applications/integrations/hooks/use_packages.tsx new file mode 100644 index 0000000000000..efb2f96ed57f3 --- /dev/null +++ b/x-pack/plugins/fleet/public/applications/integrations/hooks/use_packages.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 { useEffect, useCallback, useState } from 'react'; + +import type { RequestError } from '../../fleet/hooks'; +import { sendGetPackages } from '../../fleet/hooks'; +import type { GetPackagesResponse } from '../types'; + +export function usePackages(prerelease?: boolean) { + const [data, setData] = useState(); + const [error, setError] = useState(); + const [isLoading, setIsLoading] = useState(false); + const [isPrereleaseEnabled, setIsPrereleaseEnabled] = useState(prerelease); + + const fetchData = useCallback(async () => { + if (prerelease === undefined) { + return; + } + if (isPrereleaseEnabled === prerelease) { + return; + } + setIsPrereleaseEnabled(prerelease); + setIsLoading(true); + try { + const res = await sendGetPackages({ + category: '', + excludeInstallStatus: true, + prerelease, + }); + if (res.error) { + throw res.error; + } + if (res.data) { + setData(res.data); + } + } catch (err) { + setError(err); + } + setIsLoading(false); + }, [prerelease, isPrereleaseEnabled]); + + useEffect(() => { + fetchData(); + }, [fetchData]); + + return { + data, + error, + isLoading, + }; +} diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/integration_preference.stories.tsx b/x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/integration_preference.stories.tsx index 86b34f2415e2e..ebc18d84487db 100644 --- a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/integration_preference.stories.tsx +++ b/x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/integration_preference.stories.tsx @@ -32,5 +32,11 @@ export default { } as Meta; export const IntegrationPreference = () => { - return ; + return ( + {}} + /> + ); }; diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/integration_preference.tsx b/x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/integration_preference.tsx index b99683adbf8f4..4e4aafa271b3b 100644 --- a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/integration_preference.tsx +++ b/x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/integration_preference.tsx @@ -5,7 +5,7 @@ * 2.0. */ -import React from 'react'; +import React, { useCallback, useEffect } from 'react'; import styled from 'styled-components'; import { i18n } from '@kbn/i18n'; @@ -20,9 +20,10 @@ import { EuiIconTip, EuiFlexGroup, EuiFlexItem, + EuiSwitch, } from '@elastic/eui'; -import { useStartServices } from '../../../hooks'; +import { sendPutSettings, useGetSettings, useStartServices } from '../../../hooks'; export type IntegrationPreferenceType = 'recommended' | 'beats' | 'agent'; @@ -34,6 +35,7 @@ interface Option { export interface Props { initialType: IntegrationPreferenceType; onChange: (type: IntegrationPreferenceType) => void; + onPrereleaseEnabledChange: (prerelease: boolean) => void; } const recommendedTooltip = ( @@ -47,6 +49,10 @@ const Item = styled(EuiFlexItem)` padding-left: ${(props) => props.theme.eui.euiSizeXS}; `; +const EuiSwitchNoWrap = styled(EuiSwitch)` + white-space: nowrap; +`; + const options: Option[] = [ { type: 'recommended', @@ -77,11 +83,46 @@ const options: Option[] = [ }, ]; -export const IntegrationPreference = ({ initialType, onChange }: Props) => { +export const IntegrationPreference = ({ + initialType, + onChange, + onPrereleaseEnabledChange, +}: Props) => { const [idSelected, setIdSelected] = React.useState(initialType); const { docLinks } = useStartServices(); + const [prereleaseIntegrationsEnabled, setPrereleaseIntegrationsEnabled] = React.useState< + boolean | undefined + >(undefined); + + const { data: settings, error: settingsError } = useGetSettings(); + + useEffect(() => { + const isEnabled = Boolean(settings?.item.prerelease_integrations_enabled); + if (settings?.item) { + setPrereleaseIntegrationsEnabled(isEnabled); + } else if (settingsError) { + setPrereleaseIntegrationsEnabled(false); + } + }, [settings?.item, settingsError]); + + useEffect(() => { + if (prereleaseIntegrationsEnabled !== undefined) { + onPrereleaseEnabledChange(prereleaseIntegrationsEnabled); + } + }, [onPrereleaseEnabledChange, prereleaseIntegrationsEnabled]); + + const updateSettings = useCallback(async (prerelease: boolean) => { + const res = await sendPutSettings({ + prerelease_integrations_enabled: prerelease, + }); + + if (res.error) { + throw res.error; + } + }, []); + const link = ( { label: option.label, })); + const onPrereleaseSwitchChange = ( + event: React.BaseSyntheticEvent< + React.MouseEvent, + HTMLButtonElement, + EventTarget & { checked: boolean } + > + ) => { + const isChecked = event.target.checked; + setPrereleaseIntegrationsEnabled(isChecked); + updateSettings(isChecked); + }; + return ( + {prereleaseIntegrationsEnabled !== undefined && ( + + )} + {title} diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/index.test.tsx b/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/index.test.tsx index 49a8cbeb37d21..cb03f5321e578 100644 --- a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/index.test.tsx +++ b/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/index.test.tsx @@ -17,6 +17,7 @@ import type { GetInfoResponse, GetPackagePoliciesResponse, GetStatsResponse, + GetSettingsResponse, } from '../../../../../../../common/types/rest_spec'; import type { DetailViewPanelName, @@ -79,11 +80,23 @@ describe('when on integration detail', () => { }); }); - describe('and the package is not installed', () => { + function mockGAAndPrereleaseVersions(pkgVersion: string) { + const unInstalledPackage = mockedApi.responseProvider.epmGetInfo('nginx'); + unInstalledPackage.item.status = 'not_installed'; + unInstalledPackage.item.version = pkgVersion; + mockedApi.responseProvider.epmGetInfo.mockImplementation((name, version, query) => { + if (query?.prerelease === false) { + const gaPackage = { item: { ...unInstalledPackage.item } }; + gaPackage.item.version = '1.0.0'; + return gaPackage; + } + return unInstalledPackage; + }); + } + + describe('and the package is not installed and prerelease enabled', () => { beforeEach(async () => { - const unInstalledPackage = mockedApi.responseProvider.epmGetInfo(); - unInstalledPackage.item.status = 'not_installed'; - mockedApi.responseProvider.epmGetInfo.mockReturnValue(unInstalledPackage); + mockGAAndPrereleaseVersions('1.0.0-beta'); await render(); }); @@ -96,6 +109,39 @@ describe('when on integration detail', () => { await mockedApi.waitForApi(); expect(renderResult.queryByTestId('tab-policies')).toBeNull(); }); + + it('should display version select if prerelease setting enabled and prererelase version available', async () => { + await mockedApi.waitForApi(); + const versionSelect = renderResult.queryByTestId('versionSelect'); + expect(versionSelect?.textContent).toEqual('1.0.0-beta1.0.0'); + expect((versionSelect as any)?.value).toEqual('1.0.0-beta'); + }); + + it('should display prerelease callout if prerelease setting enabled and prerelease version available', async () => { + await mockedApi.waitForApi(); + const calloutTitle = renderResult.getByTestId('prereleaseCallout'); + expect(calloutTitle).toBeInTheDocument(); + const calloutGABtn = renderResult.getByTestId('switchToGABtn'); + expect((calloutGABtn as any)?.href).toEqual( + 'http://localhost/mock/app/integrations/detail/nginx-1.0.0/overview' + ); + }); + }); + + describe('and the package is not installed and prerelease disabled', () => { + beforeEach(async () => { + mockGAAndPrereleaseVersions('1.0.0'); + mockedApi.responseProvider.getSettings.mockReturnValue({ + item: { prerelease_integrations_enabled: false, id: '', fleet_server_hosts: [] }, + }); + await render(); + }); + + it('should display version text and no callout if prerelease setting disabled', async () => { + await mockedApi.waitForApi(); + expect((renderResult.queryByTestId('versionText') as any)?.textContent).toEqual('1.0.0'); + expect(renderResult.queryByTestId('prereleaseCallout')).toBeNull(); + }); }); describe('and a custom UI extension is NOT registered', () => { @@ -267,13 +313,16 @@ interface MockedApi< } interface EpmPackageDetailsResponseProvidersMock { - epmGetInfo: jest.MockedFunction<() => GetInfoResponse>; + epmGetInfo: jest.MockedFunction< + (pkgName: string, pkgVersion?: string, options?: { prerelease?: boolean }) => GetInfoResponse + >; epmGetFile: jest.MockedFunction<() => string>; epmGetStats: jest.MockedFunction<() => GetStatsResponse>; fleetSetup: jest.MockedFunction<() => GetFleetStatusResponse>; packagePolicyList: jest.MockedFunction<() => GetPackagePoliciesResponse>; agentPolicyList: jest.MockedFunction<() => GetAgentPoliciesResponse>; appCheckPermissions: jest.MockedFunction<() => CheckPermissionsResponse>; + getSettings: jest.MockedFunction<() => GetSettingsResponse>; } const mockApiCalls = ( @@ -753,6 +802,8 @@ On Windows, the module was tested with Nginx installed from the Chocolatey repos success: true, }; + const getSettingsResponse = { item: { prerelease_integrations_enabled: true } }; + const mockedApiInterface: MockedApi = { waitForApi() { return new Promise((resolve) => { @@ -771,14 +822,19 @@ On Windows, the module was tested with Nginx installed from the Chocolatey repos packagePolicyList: jest.fn().mockReturnValue(packagePoliciesResponse), agentPolicyList: jest.fn().mockReturnValue(agentPoliciesResponse), appCheckPermissions: jest.fn().mockReturnValue(appCheckPermissionsResponse), + getSettings: jest.fn().mockReturnValue(getSettingsResponse), }, }; - http.get.mockImplementation(async (path: any) => { + http.get.mockImplementation((async (path: any, options: any) => { if (typeof path === 'string') { if (path === epmRouteService.getInfoPath(`nginx`, `0.3.7`)) { markApiCallAsHandled(); - return mockedApiInterface.responseProvider.epmGetInfo(); + return mockedApiInterface.responseProvider.epmGetInfo('nginx'); + } + if (path === epmRouteService.getInfoPath(`nginx`)) { + markApiCallAsHandled(); + return mockedApiInterface.responseProvider.epmGetInfo('nginx', undefined, options.query); } if (path === epmRouteService.getFilePath('/package/nginx/0.3.7/docs/README.md')) { @@ -820,13 +876,16 @@ On Windows, the module was tested with Nginx installed from the Chocolatey repos if (path === '/api/fleet/agents') { return Promise.resolve(); } + if (path === '/api/fleet/settings') { + return mockedApiInterface.responseProvider.getSettings(); + } const err = new Error(`API [GET ${path}] is not MOCKED!`); // eslint-disable-next-line no-console console.error(err); throw err; } - }); + }) as any); return mockedApiInterface; }; diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/index.tsx b/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/index.tsx index d649bede3db44..42c5cc535d6b7 100644 --- a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/index.tsx +++ b/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/index.tsx @@ -17,6 +17,7 @@ import { EuiDescriptionListTitle, EuiFlexGroup, EuiFlexItem, + EuiSelect, EuiSpacer, EuiText, } from '@elastic/eui'; @@ -36,9 +37,10 @@ import { useAuthz, usePermissionCheck, useIntegrationsStateContext, + useGetSettings, } from '../../../../hooks'; import { INTEGRATIONS_ROUTING_PATHS } from '../../../../constants'; -import { ExperimentalFeaturesService } from '../../../../services'; +import { ExperimentalFeaturesService, isPackagePrerelease } from '../../../../services'; import { useGetPackageInfoByKey, useLink, @@ -107,7 +109,7 @@ export function Detail() { const { getId: getAgentPolicyId } = useAgentPolicyContext(); const { getFromIntegrations } = useIntegrationsStateContext(); const { pkgkey, panel } = useParams(); - const { getHref } = useLink(); + const { getHref, getPath } = useLink(); const canInstallPackages = useAuthz().integrations.installPackages; const canReadPackageSettings = useAuthz().integrations.readPackageSettings; const canReadIntegrationPolicies = useAuthz().integrations.readIntegrationPolicies; @@ -153,6 +155,17 @@ export function Detail() { packageInfo.savedObject && semverLt(packageInfo.savedObject.attributes.version, packageInfo.latestVersion); + const [prereleaseIntegrationsEnabled, setPrereleaseIntegrationsEnabled] = React.useState< + boolean | undefined + >(); + + const { data: settings } = useGetSettings(); + + useEffect(() => { + const isEnabled = Boolean(settings?.item.prerelease_integrations_enabled); + setPrereleaseIntegrationsEnabled(isEnabled); + }, [settings?.item.prerelease_integrations_enabled]); + const { pkgName, pkgVersion } = splitPkgKey(pkgkey); // Fetch package info const { @@ -161,7 +174,34 @@ export function Detail() { isLoading: packageInfoLoading, isInitialRequest: packageIsInitialRequest, resendRequest: refreshPackageInfo, - } = useGetPackageInfoByKey(pkgName, pkgVersion); + } = useGetPackageInfoByKey(pkgName, pkgVersion, { + prerelease: prereleaseIntegrationsEnabled, + }); + + const [latestGAVersion, setLatestGAVersion] = useState(); + const [latestPrereleaseVersion, setLatestPrereleaseVersion] = useState(); + + // fetch latest GA version (prerelease=false) + const { data: packageInfoLatestGAData } = useGetPackageInfoByKey(pkgName, '', { + prerelease: false, + }); + + useEffect(() => { + const pkg = packageInfoLatestGAData?.item; + const isGAVersion = pkg && !isPackagePrerelease(pkg.version); + if (isGAVersion) { + setLatestGAVersion(pkg.version); + } + }, [packageInfoLatestGAData?.item]); + + // fetch latest Prerelease version (prerelease=true) + const { data: packageInfoLatestPrereleaseData } = useGetPackageInfoByKey(pkgName, '', { + prerelease: true, + }); + + useEffect(() => { + setLatestPrereleaseVersion(packageInfoLatestPrereleaseData?.item.version); + }, [packageInfoLatestPrereleaseData?.item.version]); const { isFirstTimeAgentUser = false, isLoading: firstTimeUserLoading } = useIsFirstTimeAgentUser(); @@ -326,6 +366,46 @@ export function Detail() { ] ); + const showVersionSelect = useMemo( + () => + prereleaseIntegrationsEnabled && + latestGAVersion && + latestPrereleaseVersion && + latestGAVersion !== latestPrereleaseVersion && + (!packageInfo?.version || + packageInfo.version === latestGAVersion || + packageInfo.version === latestPrereleaseVersion), + [prereleaseIntegrationsEnabled, latestGAVersion, latestPrereleaseVersion, packageInfo?.version] + ); + + const versionOptions = useMemo( + () => [ + { + value: latestPrereleaseVersion, + text: latestPrereleaseVersion, + }, + { + value: latestGAVersion, + text: latestGAVersion, + }, + ], + [latestPrereleaseVersion, latestGAVersion] + ); + + const versionLabel = i18n.translate('xpack.fleet.epm.versionLabel', { + defaultMessage: 'Version', + }); + + const onVersionChange = useCallback( + (version: string, packageName: string) => { + const path = getPath('integration_details_overview', { + pkgkey: `${packageName}-${version}`, + }); + history.push(path); + }, + [getPath, history] + ); + const headerRightContent = useMemo( () => packageInfo ? ( @@ -334,12 +414,24 @@ export function Detail() { {[ { - label: i18n.translate('xpack.fleet.epm.versionLabel', { - defaultMessage: 'Version', - }), + label: showVersionSelect ? undefined : versionLabel, content: ( - {packageInfo.version} + + {showVersionSelect ? ( + + onVersionChange(event.target.value, packageInfo.name) + } + /> + ) : ( +
      {packageInfo.version}
      + )} +
      {updateAvailable ? ( @@ -416,6 +508,10 @@ export function Detail() { missingSecurityConfiguration, integrationInfo?.title, handleAddIntegrationPolicyClick, + onVersionChange, + showVersionSelect, + versionLabel, + versionOptions, ] ); @@ -605,7 +701,11 @@ export function Detail() { ) : ( - + diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/overview/overview.tsx b/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/overview/overview.tsx index 51991fb8aab33..21b3fd0f4f11c 100644 --- a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/overview/overview.tsx +++ b/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/overview/overview.tsx @@ -6,14 +6,14 @@ */ import React, { memo, useMemo } from 'react'; import styled from 'styled-components'; -import { EuiCallOut, EuiFlexGroup, EuiFlexItem, EuiSpacer, EuiLink } from '@elastic/eui'; +import { EuiCallOut, EuiFlexGroup, EuiFlexItem, EuiSpacer, EuiLink, EuiButton } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; import { FormattedMessage } from '@kbn/i18n-react'; import { isIntegrationPolicyTemplate } from '../../../../../../../../common/services'; -import { useFleetStatus, useStartServices } from '../../../../../../../hooks'; -import { isPackageUnverified } from '../../../../../../../services'; +import { useFleetStatus, useLink, useStartServices } from '../../../../../../../hooks'; +import { isPackagePrerelease, isPackageUnverified } from '../../../../../../../services'; import type { PackageInfo, RegistryPolicyTemplate } from '../../../../../types'; import { Screenshots } from './screenshots'; @@ -23,6 +23,7 @@ import { Details } from './details'; interface Props { packageInfo: PackageInfo; integrationInfo?: RegistryPolicyTemplate; + latestGAVersion?: string; } const LeftColumn = styled(EuiFlexItem)` @@ -66,48 +67,97 @@ const UnverifiedCallout: React.FC = () => { ); }; -export const OverviewPage: React.FC = memo(({ packageInfo, integrationInfo }) => { - const screenshots = useMemo( - () => integrationInfo?.screenshots || packageInfo.screenshots || [], - [integrationInfo, packageInfo.screenshots] - ); - const { packageVerificationKeyId } = useFleetStatus(); - const isUnverified = isPackageUnverified(packageInfo, packageVerificationKeyId); +const PrereleaseCallout: React.FC<{ + packageName: string; + latestGAVersion?: string; + packageTitle: string; +}> = ({ packageName, packageTitle, latestGAVersion }) => { + const { getHref } = useLink(); + const overviewPathLatestGA = getHref('integration_details_overview', { + pkgkey: `${packageName}-${latestGAVersion}`, + }); + return ( - - - - {isUnverified && } - {packageInfo.readme ? ( - - ) : null} - - - - {screenshots.length ? ( - - + + {latestGAVersion && ( +

      + + - - ) : null} - -

      - - - - + +

      + )} + + + ); -}); +}; + +export const OverviewPage: React.FC = memo( + ({ packageInfo, integrationInfo, latestGAVersion }) => { + const screenshots = useMemo( + () => integrationInfo?.screenshots || packageInfo.screenshots || [], + [integrationInfo, packageInfo.screenshots] + ); + const { packageVerificationKeyId } = useFleetStatus(); + const isUnverified = isPackageUnverified(packageInfo, packageVerificationKeyId); + const isPrerelease = isPackagePrerelease(packageInfo.version); + return ( + + + + {isUnverified && } + {isPrerelease && ( + + )} + {packageInfo.readme ? ( + + ) : null} + + + + {screenshots.length ? ( + + + + ) : null} + +
      + + + + + ); + } +); diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/available_packages.tsx b/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/available_packages.tsx index 7f56592cdc84b..a763d26e2821b 100644 --- a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/available_packages.tsx +++ b/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/available_packages.tsx @@ -20,19 +20,17 @@ import { isIntegrationPolicyTemplate, } from '../../../../../../../common/services'; -import { useStartServices } from '../../../../hooks'; +import { useCategories, usePackages, useStartServices } from '../../../../hooks'; import { pagePathGetters } from '../../../../constants'; import { - useGetCategories, - useGetPackages, useBreadcrumbs, useGetAppendCustomIntegrations, useGetReplacementCustomIntegrations, useLink, } from '../../../../hooks'; import { doesPackageHaveIntegrations } from '../../../../services'; -import type { GetPackagesResponse, PackageList } from '../../../../types'; +import type { PackageList } from '../../../../types'; import { PackageListGrid } from '../../components/package_list_grid'; import type { PackageListItem } from '../../../../types'; @@ -183,11 +181,11 @@ const packageListToIntegrationsList = (packages: PackageList): PackageList => { // TODO: clintandrewhall - this component is hard to test due to the hooks, particularly those that use `http` // or `location` to load data. Ideally, we'll split this into "connected" and "pure" components. -export const AvailablePackages: React.FC<{ - allPackages?: GetPackagesResponse | null; - isLoading: boolean; -}> = ({ allPackages, isLoading }) => { +export const AvailablePackages: React.FC<{}> = ({}) => { const [preference, setPreference] = useState('recommended'); + const [prereleaseIntegrationsEnabled, setPrereleaseIntegrationsEnabled] = React.useState< + boolean | undefined + >(undefined); useBreadcrumbs('integrations_all'); @@ -222,10 +220,7 @@ export const AvailablePackages: React.FC<{ data: eprPackages, isLoading: isLoadingAllPackages, error: eprPackageLoadingError, - } = useGetPackages({ - category: '', - excludeInstallStatus: true, - }); + } = usePackages(prereleaseIntegrationsEnabled); // Remove Kubernetes package granularity if (eprPackages?.items) { @@ -276,9 +271,7 @@ export const AvailablePackages: React.FC<{ data: eprCategories, isLoading: isLoadingCategories, error: eprCategoryLoadingError, - } = useGetCategories({ - include_policy_templates: true, - }); + } = useCategories(prereleaseIntegrationsEnabled); const categories: CategoryFacet[] = useMemo(() => { const eprAndCustomCategories: CategoryFacet[] = isLoadingCategories @@ -306,7 +299,13 @@ export const AvailablePackages: React.FC<{ let controls = [ - + { + setPrereleaseIntegrationsEnabled(isEnabled); + }} + /> , ]; diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/index.tsx b/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/index.tsx index 18d96fbd66346..5b9227553c79e 100644 --- a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/index.tsx +++ b/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/index.tsx @@ -15,7 +15,7 @@ import { installationStatuses } from '../../../../../../../common/constants'; import type { DynamicPage, DynamicPagePathValues, StaticPage } from '../../../../constants'; import { INTEGRATIONS_ROUTING_PATHS, INTEGRATIONS_SEARCH_QUERYPARAM } from '../../../../constants'; import { DefaultLayout } from '../../../../layouts'; -import { isPackageUnverified } from '../../../../services'; +import { isPackagePrerelease, isPackageUnverified } from '../../../../services'; import type { PackageListItem } from '../../../../types'; @@ -65,19 +65,24 @@ export const mapToCard = ({ let isUnverified = false; + let version = 'version' in item ? item.version || '' : ''; + if (item.type === 'ui_link') { uiInternalPathUrl = item.id.includes('language_client.') ? addBasePath(item.uiInternalPath) : item.uiExternalLink || getAbsolutePath(item.uiInternalPath); } else { - let urlVersion = item.version; - if ('savedObject' in item) { - urlVersion = item.savedObject.attributes.version || item.version; + // installed package + if ( + ['updates_available', 'installed'].includes(selectedCategory ?? '') && + 'savedObject' in item + ) { + version = item.savedObject.attributes.version || item.version; isUnverified = isPackageUnverified(item, packageVerificationKeyId); } const url = getHref('integration_details_overview', { - pkgkey: `${item.name}-${urlVersion}`, + pkgkey: `${item.name}-${version}`, ...(item.integration ? { integration: item.integration } : {}), }); @@ -90,6 +95,9 @@ export const mapToCard = ({ } else if ((item as CustomIntegration).isBeta === true) { release = 'beta'; } + if (!isPackagePrerelease(version)) { + release = 'ga'; + } return { id: `${item.type === 'ui_link' ? 'ui_link' : 'epr'}:${item.id}`, @@ -100,7 +108,7 @@ export const mapToCard = ({ fromIntegrations: selectedCategory, integration: 'integration' in item ? item.integration || '' : '', name: 'name' in item ? item.name : item.id, - version: 'version' in item ? item.version || '' : '', + version, release, categories: ((item.categories || []) as string[]).filter((c: string) => !!c), isUnverified, @@ -108,8 +116,9 @@ export const mapToCard = ({ }; export const EPMHomePage: React.FC = () => { + // loading packages to find installed ones const { data: allPackages, isLoading } = useGetPackages({ - experimental: true, + prerelease: true, }); const installedPackages = useMemo( @@ -132,7 +141,7 @@ export const EPMHomePage: React.FC = () => { - + diff --git a/x-pack/plugins/fleet/public/hooks/use_package_installations.tsx b/x-pack/plugins/fleet/public/hooks/use_package_installations.tsx index 5a0b6285c71db..e4dabcff4e8a0 100644 --- a/x-pack/plugins/fleet/public/hooks/use_package_installations.tsx +++ b/x-pack/plugins/fleet/public/hooks/use_package_installations.tsx @@ -28,7 +28,7 @@ interface UpdatableIntegration { export const usePackageInstallations = () => { const { data: allPackages, isLoading: isLoadingPackages } = useGetPackages({ - experimental: true, + prerelease: true, }); const { data: agentPolicyData, isLoading: isLoadingPolicies } = useGetAgentPolicies({ diff --git a/x-pack/plugins/fleet/public/hooks/use_request/epm.ts b/x-pack/plugins/fleet/public/hooks/use_request/epm.ts index 3a0033435ed9d..9c88cfae46c4d 100644 --- a/x-pack/plugins/fleet/public/hooks/use_request/epm.ts +++ b/x-pack/plugins/fleet/public/hooks/use_request/epm.ts @@ -44,7 +44,15 @@ export const useGetCategories = (query: GetCategoriesRequest['query'] = {}) => { return useRequest({ path: epmRouteService.getCategoriesPath(), method: 'get', - query: { experimental: true, ...query }, + query, + }); +}; + +export const sendGetCategories = (query: GetCategoriesRequest['query'] = {}) => { + return sendRequest({ + path: epmRouteService.getCategoriesPath(), + method: 'get', + query, }); }; @@ -52,7 +60,7 @@ export const useGetPackages = (query: GetPackagesRequest['query'] = {}) => { return useRequest({ path: epmRouteService.getListPath(), method: 'get', - query: { experimental: true, ...query }, + query, }); }; @@ -60,7 +68,7 @@ export const sendGetPackages = (query: GetPackagesRequest['query'] = {}) => { return sendRequest({ path: epmRouteService.getListPath(), method: 'get', - query: { experimental: true, ...query }, + query, }); }; @@ -74,14 +82,22 @@ export const useGetLimitedPackages = () => { export const useGetPackageInfoByKey = ( pkgName: string, pkgVersion?: string, - ignoreUnverified: boolean = false + options?: { + ignoreUnverified?: boolean; + prerelease?: boolean; + } ) => { const confirmOpenUnverified = useConfirmOpenUnverified(); - const [ignoreUnverifiedQueryParam, setIgnoreUnverifiedQueryParam] = useState(ignoreUnverified); + const [ignoreUnverifiedQueryParam, setIgnoreUnverifiedQueryParam] = useState( + options?.ignoreUnverified + ); const res = useRequest({ path: epmRouteService.getInfoPath(pkgName, pkgVersion), method: 'get', - query: ignoreUnverifiedQueryParam ? { ignoreUnverified: ignoreUnverifiedQueryParam } : {}, + query: { + ...options, + ...(ignoreUnverifiedQueryParam ? { ignoreUnverified: ignoreUnverifiedQueryParam } : {}), + }, }); useEffect(() => { @@ -111,12 +127,15 @@ export const useGetPackageStats = (pkgName: string) => { export const sendGetPackageInfoByKey = ( pkgName: string, pkgVersion?: string, - ignoreUnverified?: boolean + options?: { + ignoreUnverified?: boolean; + prerelease?: boolean; + } ) => { return sendRequest({ path: epmRouteService.getInfoPath(pkgName, pkgVersion), method: 'get', - query: ignoreUnverified ? { ignoreUnverified } : {}, + query: options, }); }; diff --git a/x-pack/plugins/fleet/public/services/index.ts b/x-pack/plugins/fleet/public/services/index.ts index d6167b4548e65..9d6ef9b4563ae 100644 --- a/x-pack/plugins/fleet/public/services/index.ts +++ b/x-pack/plugins/fleet/public/services/index.ts @@ -47,3 +47,4 @@ export { pkgKeyFromPackageInfo } from './pkg_key_from_package_info'; export { createExtensionRegistrationCallback } from './ui_extensions'; export { incrementPolicyName } from './increment_policy_name'; export { policyHasFleetServer } from './has_fleet_server'; +export { isPackagePrerelease } from './package_prerelease'; diff --git a/x-pack/plugins/fleet/public/services/package_prerelease.test.ts b/x-pack/plugins/fleet/public/services/package_prerelease.test.ts new file mode 100644 index 0000000000000..c8843d304de55 --- /dev/null +++ b/x-pack/plugins/fleet/public/services/package_prerelease.test.ts @@ -0,0 +1,34 @@ +/* + * 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 { isPackagePrerelease } from './package_prerelease'; + +describe('isPackagePrerelease', () => { + it('should return prerelease true for 0.1.0', () => { + expect(isPackagePrerelease('0.1.0')).toBe(true); + }); + + it('should return prerelease false for 1.1.0', () => { + expect(isPackagePrerelease('1.1.0')).toBe(false); + }); + + it('should return prerelease true for 1.0.0-preview', () => { + expect(isPackagePrerelease('1.0.0-preview')).toBe(true); + }); + + it('should return prerelease true for 1.0.0-beta', () => { + expect(isPackagePrerelease('1.0.0-beta')).toBe(true); + }); + + it('should return prerelease true for 1.0.0-rc', () => { + expect(isPackagePrerelease('1.0.0-rc')).toBe(true); + }); + + it('should return prerelease true for 1.0.0-dev.0', () => { + expect(isPackagePrerelease('1.0.0-dev.0')).toBe(true); + }); +}); diff --git a/x-pack/plugins/fleet/public/services/package_prerelease.ts b/x-pack/plugins/fleet/public/services/package_prerelease.ts new file mode 100644 index 0000000000000..0df6e0deee409 --- /dev/null +++ b/x-pack/plugins/fleet/public/services/package_prerelease.ts @@ -0,0 +1,11 @@ +/* + * 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 function isPackagePrerelease(version: string): boolean { + // derive from semver + return version.startsWith('0') || version.includes('-'); +} diff --git a/x-pack/plugins/fleet/scripts/install_all_packages/install_all_packages.ts b/x-pack/plugins/fleet/scripts/install_all_packages/install_all_packages.ts index e07ff9f5a1808..4215a460a29cb 100644 --- a/x-pack/plugins/fleet/scripts/install_all_packages/install_all_packages.ts +++ b/x-pack/plugins/fleet/scripts/install_all_packages/install_all_packages.ts @@ -57,7 +57,7 @@ async function deletePackage(name: string, version: string) { async function getAllPackages() { const res = await fetch( - `${REGISTRY_URL}/search?experimental=true&kibana.version=${KIBANA_VERSION}`, + `${REGISTRY_URL}/search?prerelease=true&kibana.version=${KIBANA_VERSION}`, { headers: { accept: '*/*', diff --git a/x-pack/plugins/fleet/server/plugin.ts b/x-pack/plugins/fleet/server/plugin.ts index 5d177641daee5..ee69ae9fc8e65 100644 --- a/x-pack/plugins/fleet/server/plugin.ts +++ b/x-pack/plugins/fleet/server/plugin.ts @@ -572,7 +572,7 @@ export class FleetPlugin internalSoClient, this.getLogger() ); - return this.packageService; + return this.packageService!; } private getLogger(): Logger { diff --git a/x-pack/plugins/fleet/server/routes/epm/handlers.ts b/x-pack/plugins/fleet/server/routes/epm/handlers.ts index 242e272cd184b..5ef609fe9b6cc 100644 --- a/x-pack/plugins/fleet/server/routes/epm/handlers.ts +++ b/x-pack/plugins/fleet/server/routes/epm/handlers.ts @@ -37,6 +37,7 @@ import type { GetStatsRequestSchema, FleetRequestHandler, UpdatePackageRequestSchema, + GetLimitedPackagesRequestSchema, } from '../../types'; import { bulkInstallPackages, @@ -67,7 +68,9 @@ export const getCategoriesHandler: FleetRequestHandler< TypeOf > = async (context, request, response) => { try { - const res = await getCategories(request.query); + const res = await getCategories({ + ...request.query, + }); const body: GetCategoriesResponse = { items: res, response: res, @@ -103,10 +106,17 @@ export const getListHandler: FleetRequestHandler< } }; -export const getLimitedListHandler: FleetRequestHandler = async (context, request, response) => { +export const getLimitedListHandler: FleetRequestHandler< + undefined, + TypeOf, + undefined +> = async (context, request, response) => { try { const savedObjectsClient = (await context.fleet).epm.internalSoClient; - const res = await getLimitedPackages({ savedObjectsClient }); + const res = await getLimitedPackages({ + savedObjectsClient, + prerelease: request.query.prerelease, + }); const body: GetLimitedPackagesResponse = { items: res, response: res, @@ -200,7 +210,7 @@ export const getInfoHandler: FleetRequestHandler< try { const savedObjectsClient = (await context.fleet).epm.internalSoClient; const { pkgName, pkgVersion } = request.params; - const { ignoreUnverified = false } = request.query; + const { ignoreUnverified = false, prerelease } = request.query; if (pkgVersion && !semverValid(pkgVersion)) { throw new FleetError('Package version is not a valid semver'); } @@ -210,6 +220,7 @@ export const getInfoHandler: FleetRequestHandler< pkgVersion: pkgVersion || '', skipArchive: true, ignoreUnverified, + prerelease, }); const body: GetInfoResponse = { item: res, @@ -307,7 +318,7 @@ const bulkInstallServiceResponseToHttpEntry = ( export const bulkInstallPackagesFromRegistryHandler: FleetRequestHandler< undefined, - undefined, + TypeOf, TypeOf > = async (context, request, response) => { const coreContext = await context.core; @@ -320,6 +331,7 @@ export const bulkInstallPackagesFromRegistryHandler: FleetRequestHandler< esClient, packagesToInstall: request.body.packages, spaceId, + prerelease: request.query.prerelease, }); const payload = bulkInstalledResponses.map(bulkInstallServiceResponseToHttpEntry); const body: BulkInstallPackagesResponse = { diff --git a/x-pack/plugins/fleet/server/routes/package_policy/handlers.ts b/x-pack/plugins/fleet/server/routes/package_policy/handlers.ts index d96d574f77bed..ee9caa4def673 100644 --- a/x-pack/plugins/fleet/server/routes/package_policy/handlers.ts +++ b/x-pack/plugins/fleet/server/routes/package_policy/handlers.ts @@ -204,6 +204,7 @@ export const createPackagePolicyHandler: FleetRequestHandler< pkgName: pkg.name, pkgVersion: pkg.version, ignoreUnverified: force, + prerelease: true, }); newPackagePolicy = simplifiedPackagePolicytoNewPackagePolicy(newPolicy, pkgInfo, { experimental_data_stream_features: pkg.experimental_data_stream_features, diff --git a/x-pack/plugins/fleet/server/saved_objects/index.ts b/x-pack/plugins/fleet/server/saved_objects/index.ts index 4a943789cac68..5721d2e6b7ed6 100644 --- a/x-pack/plugins/fleet/server/saved_objects/index.ts +++ b/x-pack/plugins/fleet/server/saved_objects/index.ts @@ -70,6 +70,7 @@ const getSavedObjectTypes = ( properties: { fleet_server_hosts: { type: 'keyword' }, has_seen_add_data_notice: { type: 'boolean', index: false }, + prerelease_integrations_enabled: { type: 'boolean' }, }, }, migrations: { diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/to_v8_6_0.ts b/x-pack/plugins/fleet/server/saved_objects/migrations/to_v8_6_0.ts index 5134249ddd1ef..e43406d859600 100644 --- a/x-pack/plugins/fleet/server/saved_objects/migrations/to_v8_6_0.ts +++ b/x-pack/plugins/fleet/server/saved_objects/migrations/to_v8_6_0.ts @@ -16,5 +16,7 @@ export const migrateSettingsToV860: SavedObjectMigrationFn = // @ts-expect-error has_seen_fleet_migration_notice property does not exists anymore delete settingsDoc.attributes.has_seen_fleet_migration_notice; + settingsDoc.attributes.prerelease_integrations_enabled = false; + return settingsDoc; }; diff --git a/x-pack/plugins/fleet/server/services/epm/package_service.test.ts b/x-pack/plugins/fleet/server/services/epm/package_service.test.ts index f4f853d778923..44d35f3e4c33c 100644 --- a/x-pack/plugins/fleet/server/services/epm/package_service.test.ts +++ b/x-pack/plugins/fleet/server/services/epm/package_service.test.ts @@ -92,7 +92,7 @@ function getTest( method: mocks.packageClient.fetchFindLatestPackage.bind(mocks.packageClient), args: ['package name'], spy: jest.spyOn(epmRegistry, 'fetchFindLatestPackageOrThrow'), - spyArgs: ['package name'], + spyArgs: ['package name', undefined], spyResponse: { name: 'fetchFindLatestPackage test' }, expectedReturnValue: { name: 'fetchFindLatestPackage test' }, }; diff --git a/x-pack/plugins/fleet/server/services/epm/package_service.ts b/x-pack/plugins/fleet/server/services/epm/package_service.ts index 45fb673771327..f3d82f13d96ee 100644 --- a/x-pack/plugins/fleet/server/services/epm/package_service.ts +++ b/x-pack/plugins/fleet/server/services/epm/package_service.ts @@ -26,6 +26,7 @@ import { checkSuperuser } from '../../routes/security'; import { FleetUnauthorizedError } from '../../errors'; import { installTransforms, isTransform } from './elasticsearch/transform/install'; +import type { FetchFindLatestPackageOptions } from './registry'; import { fetchFindLatestPackageOrThrow, getPackage } from './registry'; import { ensureInstalledPackage, getInstallation } from './packages'; @@ -45,7 +46,10 @@ export interface PackageClient { spaceId?: string; }): Promise; - fetchFindLatestPackage(packageName: string): Promise; + fetchFindLatestPackage( + packageName: string, + options?: FetchFindLatestPackageOptions + ): Promise; getPackage( packageName: string, @@ -116,9 +120,12 @@ class PackageClientImpl implements PackageClient { }); } - public async fetchFindLatestPackage(packageName: string) { + public async fetchFindLatestPackage( + packageName: string, + options?: FetchFindLatestPackageOptions + ): Promise { await this.#runPreflight(); - return fetchFindLatestPackageOrThrow(packageName); + return fetchFindLatestPackageOrThrow(packageName, options); } public async getPackage( diff --git a/x-pack/plugins/fleet/server/services/epm/packages/bulk_install_packages.ts b/x-pack/plugins/fleet/server/services/epm/packages/bulk_install_packages.ts index a9d027ce51c8a..66b9323dd0939 100644 --- a/x-pack/plugins/fleet/server/services/epm/packages/bulk_install_packages.ts +++ b/x-pack/plugins/fleet/server/services/epm/packages/bulk_install_packages.ts @@ -22,6 +22,7 @@ interface BulkInstallPackagesParams { force?: boolean; spaceId: string; preferredSource?: 'registry' | 'bundled'; + prerelease?: boolean; } export async function bulkInstallPackages({ @@ -30,6 +31,7 @@ export async function bulkInstallPackages({ esClient, spaceId, force, + prerelease, }: BulkInstallPackagesParams): Promise { const logger = appContextService.getLogger(); @@ -39,7 +41,7 @@ export async function bulkInstallPackages({ return Promise.resolve(pkg); } - return Registry.fetchFindLatestPackageOrThrow(pkg); + return Registry.fetchFindLatestPackageOrThrow(pkg, { prerelease }); }) ); diff --git a/x-pack/plugins/fleet/server/services/epm/packages/get.test.ts b/x-pack/plugins/fleet/server/services/epm/packages/get.test.ts index 20ed655d97176..19ced885822a4 100644 --- a/x-pack/plugins/fleet/server/services/epm/packages/get.test.ts +++ b/x-pack/plugins/fleet/server/services/epm/packages/get.test.ts @@ -22,10 +22,17 @@ import { appContextService } from '../../app_context'; import { PackageNotFoundError } from '../../../errors'; +import { getSettings } from '../../settings'; + import { getPackageInfo, getPackageUsageStats } from './get'; const MockRegistry = Registry as jest.Mocked; +jest.mock('../../settings'); + +const mockGetSettings = getSettings as jest.Mock; +mockGetSettings.mockResolvedValue({ prerelease_integrations_enabled: true }); + describe('When using EPM `get` services', () => { describe('and invoking getPackageUsageStats()', () => { let soClient: jest.Mocked; diff --git a/x-pack/plugins/fleet/server/services/epm/packages/get.ts b/x-pack/plugins/fleet/server/services/epm/packages/get.ts index b8b447a8de526..e8d1cd1380303 100644 --- a/x-pack/plugins/fleet/server/services/epm/packages/get.ts +++ b/x-pack/plugins/fleet/server/services/epm/packages/get.ts @@ -49,8 +49,14 @@ export async function getPackages( excludeInstallStatus?: boolean; } & Registry.SearchParams ) { - const { savedObjectsClient, experimental, category, excludeInstallStatus = false } = options; - const registryItems = await Registry.fetchList({ category, experimental }).then((items) => { + const { + savedObjectsClient, + category, + excludeInstallStatus = false, + prerelease = false, + } = options; + + const registryItems = await Registry.fetchList({ category, prerelease }).then((items) => { return items.map((item) => Object.assign({}, item, { title: item.title || nameAsTitle(item.name) }, { id: item.name }) ); @@ -87,11 +93,12 @@ export async function getPackages( // Get package names for packages which cannot have more than one package policy on an agent policy export async function getLimitedPackages(options: { savedObjectsClient: SavedObjectsClientContract; + prerelease?: boolean; }): Promise { - const { savedObjectsClient } = options; + const { savedObjectsClient, prerelease } = options; const allPackages = await getPackages({ savedObjectsClient, - experimental: true, + prerelease, }); const installedPackages = allPackages.filter( (pkg) => pkg.status === installationStatuses.Installed @@ -126,6 +133,7 @@ export async function getPackageInfo({ pkgVersion, skipArchive = false, ignoreUnverified = false, + prerelease, }: { savedObjectsClient: SavedObjectsClientContract; pkgName: string; @@ -133,10 +141,11 @@ export async function getPackageInfo({ /** Avoid loading the registry archive into the cache (only use for performance reasons). Defaults to `false` */ skipArchive?: boolean; ignoreUnverified?: boolean; + prerelease?: boolean; }): Promise { const [savedObject, latestPackage] = await Promise.all([ getInstallationObject({ savedObjectsClient, pkgName }), - Registry.fetchFindLatestPackageOrUndefined(pkgName), + Registry.fetchFindLatestPackageOrUndefined(pkgName, { prerelease }), ]); if (!savedObject && !latestPackage) { diff --git a/x-pack/plugins/fleet/server/services/epm/packages/get_prerelease_setting.ts b/x-pack/plugins/fleet/server/services/epm/packages/get_prerelease_setting.ts new file mode 100644 index 0000000000000..df4b47d13ef2f --- /dev/null +++ b/x-pack/plugins/fleet/server/services/epm/packages/get_prerelease_setting.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; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import type { SavedObjectsClientContract } from '@kbn/core/server'; + +import { appContextService } from '../../app_context'; +import { getSettings } from '../../settings'; + +export async function getPrereleaseFromSettings( + savedObjectsClient: SavedObjectsClientContract +): Promise { + let prerelease: boolean = false; + try { + ({ prerelease_integrations_enabled: prerelease } = await getSettings(savedObjectsClient)); + } catch (err) { + appContextService + .getLogger() + .warn('Error while trying to load prerelease flag from settings, defaulting to false', err); + } + return prerelease; +} diff --git a/x-pack/plugins/fleet/server/services/epm/packages/install.ts b/x-pack/plugins/fleet/server/services/epm/packages/install.ts index ebd0bde8b09b4..d7f67ca1d2ae0 100644 --- a/x-pack/plugins/fleet/server/services/epm/packages/install.ts +++ b/x-pack/plugins/fleet/server/services/epm/packages/install.ts @@ -113,7 +113,7 @@ export async function ensureInstalledPackage(options: { // If pkgVersion isn't specified, find the latest package version const pkgKeyProps = pkgVersion ? { name: pkgName, version: pkgVersion } - : await Registry.fetchFindLatestPackageOrThrow(pkgName); + : await Registry.fetchFindLatestPackageOrThrow(pkgName, { prerelease: true }); const installedPackageResult = await isPackageVersionOrLaterInstalled({ savedObjectsClient, @@ -234,6 +234,7 @@ interface InstallRegistryPackageParams { force?: boolean; neverIgnoreVerificationError?: boolean; ignoreConstraints?: boolean; + prerelease?: boolean; } interface InstallUploadedArchiveParams { savedObjectsClient: SavedObjectsClientContract; @@ -301,6 +302,7 @@ async function installPackageFromRegistry({ const [latestPackage, { paths, packageInfo, verificationResult }] = await Promise.all([ Registry.fetchFindLatestPackageOrThrow(pkgName, { ignoreConstraints, + prerelease: true, }), Registry.getPackage(pkgName, pkgVersion, { ignoreUnverified: force && !neverIgnoreVerificationError, diff --git a/x-pack/plugins/fleet/server/services/epm/registry/index.ts b/x-pack/plugins/fleet/server/services/epm/registry/index.ts index 4213a50ebf5bf..a6259d1eb6552 100644 --- a/x-pack/plugins/fleet/server/services/epm/registry/index.ts +++ b/x-pack/plugins/fleet/server/services/epm/registry/index.ts @@ -25,6 +25,7 @@ import type { GetCategoriesRequest, PackageVerificationResult, ArchivePackage, + BundledPackage, } from '../../../types'; import { getArchiveFilelist, @@ -55,6 +56,8 @@ import { getRegistryUrl } from './registry_url'; export interface SearchParams { category?: CategoryId; + prerelease?: boolean; + // deprecated experimental?: boolean; } @@ -70,8 +73,8 @@ export async function fetchList(params?: SearchParams): Promise { return withPackageSpan(`Find latest package ${packageName}`, async () => { const logger = appContextService.getLogger(); - const { ignoreConstraints = false } = options ?? {}; + const { ignoreConstraints = false, prerelease = false } = options ?? {}; const bundledPackage = await getBundledPackageByName(packageName); + // temporary workaround to allow synthetics package beta version until there is a GA available + // needed because synthetics is installed by default on kibana startup + const prereleaseAllowedExceptions = ['synthetics']; + + const prereleaseEnabled = prerelease || prereleaseAllowedExceptions.includes(packageName); + const registryUrl = getRegistryUrl(); - const url = new URL(`${registryUrl}/search?package=${packageName}&experimental=true`); + const url = new URL( + `${registryUrl}/search?package=${packageName}&prerelease=${prereleaseEnabled}` + ); if (!ignoreConstraints) { setKibanaVersion(url); @@ -224,8 +236,8 @@ export async function fetchCategories( const registryUrl = getRegistryUrl(); const url = new URL(`${registryUrl}/categories`); if (params) { - if (params.experimental) { - url.searchParams.set('experimental', params.experimental.toString()); + if (params.prerelease) { + url.searchParams.set('prerelease', params.prerelease.toString()); } if (params.include_policy_templates) { url.searchParams.set('include_policy_templates', params.include_policy_templates.toString()); diff --git a/x-pack/plugins/fleet/server/services/package_policy.ts b/x-pack/plugins/fleet/server/services/package_policy.ts index f52316dd4452b..b4e78d2f4c2ca 100644 --- a/x-pack/plugins/fleet/server/services/package_policy.ts +++ b/x-pack/plugins/fleet/server/services/package_policy.ts @@ -187,6 +187,7 @@ class PackagePolicyClientImpl implements PackagePolicyClient { savedObjectsClient: soClient, pkgName: packagePolicy.package.name, pkgVersion: packagePolicy.package.version, + prerelease: true, })); // Check if it is a limited package, and if so, check that the corresponding agent policy does not @@ -508,6 +509,7 @@ class PackagePolicyClientImpl implements PackagePolicyClient { savedObjectsClient: soClient, pkgName: packagePolicy.package.name, pkgVersion: packagePolicy.package.version, + prerelease: true, }); validatePackagePolicyOrThrow(packagePolicy, pkgInfo); @@ -801,6 +803,7 @@ class PackagePolicyClientImpl implements PackagePolicyClient { savedObjectsClient: soClient, pkgName: packagePolicy!.package!.name, pkgVersion: pkgVersion ?? '', + prerelease: !!pkgVersion, // using prerelease only if version is specified }); } @@ -1129,6 +1132,7 @@ class PackagePolicyClientImpl implements PackagePolicyClient { pkgName, pkgVersion, skipArchive: true, + prerelease: true, }); if (packageInfo) { return packageToPackagePolicy(packageInfo, ''); @@ -1146,6 +1150,7 @@ class PackagePolicyClientImpl implements PackagePolicyClient { savedObjectsClient: soClient, pkgName: pkgInstall.name, pkgVersion: pkgInstall.version, + prerelease: true, }); if (packageInfo) { @@ -1594,6 +1599,7 @@ async function getPackageInfoForPackagePolicies( savedObjectsClient: soClient, pkgName: pkgInfo.name, pkgVersion: pkgInfo.version, + prerelease: true, }); resultMap.set(pkgKey, pkgInfoData); diff --git a/x-pack/plugins/fleet/server/services/settings.ts b/x-pack/plugins/fleet/server/services/settings.ts index 5cde2dbf99815..e710251c39f91 100644 --- a/x-pack/plugins/fleet/server/services/settings.ts +++ b/x-pack/plugins/fleet/server/services/settings.ts @@ -99,5 +99,5 @@ function getConfigFleetServerHosts() { } export function createDefaultSettings(): BaseSettings { - return {}; + return { prerelease_integrations_enabled: false }; } diff --git a/x-pack/plugins/fleet/server/types/rest_spec/epm.ts b/x-pack/plugins/fleet/server/types/rest_spec/epm.ts index f69576a2a8b56..9e36413f80150 100644 --- a/x-pack/plugins/fleet/server/types/rest_spec/epm.ts +++ b/x-pack/plugins/fleet/server/types/rest_spec/epm.ts @@ -9,7 +9,8 @@ import { schema } from '@kbn/config-schema'; export const GetCategoriesRequestSchema = { query: schema.object({ - experimental: schema.maybe(schema.boolean()), + prerelease: schema.maybe(schema.boolean()), + experimental: schema.maybe(schema.boolean()), // deprecated include_policy_templates: schema.maybe(schema.boolean()), }), }; @@ -17,11 +18,18 @@ export const GetCategoriesRequestSchema = { export const GetPackagesRequestSchema = { query: schema.object({ category: schema.maybe(schema.string()), - experimental: schema.maybe(schema.boolean()), + prerelease: schema.maybe(schema.boolean()), + experimental: schema.maybe(schema.boolean()), // deprecated excludeInstallStatus: schema.maybe(schema.boolean({ defaultValue: false })), }), }; +export const GetLimitedPackagesRequestSchema = { + query: schema.object({ + prerelease: schema.maybe(schema.boolean()), + }), +}; + export const GetFileRequestSchema = { params: schema.object({ pkgName: schema.string(), @@ -37,6 +45,7 @@ export const GetInfoRequestSchema = { }), query: schema.object({ ignoreUnverified: schema.maybe(schema.boolean()), + prerelease: schema.maybe(schema.boolean()), }), }; @@ -44,6 +53,10 @@ export const GetInfoRequestSchemaDeprecated = { params: schema.object({ pkgkey: schema.string(), }), + query: schema.object({ + ignoreUnverified: schema.maybe(schema.boolean()), + prerelease: schema.maybe(schema.boolean()), + }), }; export const UpdatePackageRequestSchema = { @@ -96,6 +109,9 @@ export const InstallPackageFromRegistryRequestSchemaDeprecated = { }; export const BulkUpgradePackagesFromRegistryRequestSchema = { + query: schema.object({ + prerelease: schema.maybe(schema.boolean()), + }), body: schema.object({ packages: schema.arrayOf(schema.string(), { minSize: 1 }), }), diff --git a/x-pack/plugins/fleet/server/types/rest_spec/settings.ts b/x-pack/plugins/fleet/server/types/rest_spec/settings.ts index 4544b677cba8c..4a1c2975c80e0 100644 --- a/x-pack/plugins/fleet/server/types/rest_spec/settings.ts +++ b/x-pack/plugins/fleet/server/types/rest_spec/settings.ts @@ -35,5 +35,6 @@ export const PutSettingsRequestSchema = { }) ), kibana_ca_sha256: schema.maybe(schema.string()), + prerelease_integrations_enabled: schema.maybe(schema.boolean()), }), }; diff --git a/x-pack/test/fleet_api_integration/apis/epm/bulk_upgrade.ts b/x-pack/test/fleet_api_integration/apis/epm/bulk_upgrade.ts index 29110f5807edf..fe875fe4e2565 100644 --- a/x-pack/test/fleet_api_integration/apis/epm/bulk_upgrade.ts +++ b/x-pack/test/fleet_api_integration/apis/epm/bulk_upgrade.ts @@ -62,7 +62,7 @@ export default function (providerContext: FtrProviderContext) { }); it('should return 200 and an array for upgrading a package', async function () { const { body }: { body: BulkInstallPackagesResponse } = await supertest - .post(`/api/fleet/epm/packages/_bulk`) + .post(`/api/fleet/epm/packages/_bulk?prerelease=true`) .set('kbn-xsrf', 'xxxx') .send({ packages: ['multiple_versions'] }) .expect(200); @@ -73,7 +73,7 @@ export default function (providerContext: FtrProviderContext) { }); it('should return an error for packages that do not exist', async function () { const { body }: { body: BulkInstallPackagesResponse } = await supertest - .post(`/api/fleet/epm/packages/_bulk`) + .post(`/api/fleet/epm/packages/_bulk?prerelease=true`) .set('kbn-xsrf', 'xxxx') .send({ packages: ['multiple_versions', 'blahblah'] }) .expect(200); @@ -88,7 +88,7 @@ export default function (providerContext: FtrProviderContext) { }); it('should upgrade multiple packages', async function () { const { body }: { body: BulkInstallPackagesResponse } = await supertest - .post(`/api/fleet/epm/packages/_bulk`) + .post(`/api/fleet/epm/packages/_bulk?prerelease=true`) .set('kbn-xsrf', 'xxxx') .send({ packages: ['multiple_versions', 'overrides'] }) .expect(200); @@ -110,7 +110,7 @@ export default function (providerContext: FtrProviderContext) { it('should return 200 and an array for upgrading a package', async function () { const { body }: { body: BulkInstallPackagesResponse } = await supertest - .post(`/api/fleet/epm/packages/_bulk`) + .post(`/api/fleet/epm/packages/_bulk?prerelease=true`) .set('kbn-xsrf', 'xxxx') .send({ packages: ['multiple_versions'] }) .expect(200); diff --git a/x-pack/test/fleet_api_integration/apis/epm/custom_ingest_pipeline.ts b/x-pack/test/fleet_api_integration/apis/epm/custom_ingest_pipeline.ts index 0ef5f648ab36d..8d7a6323d5f73 100644 --- a/x-pack/test/fleet_api_integration/apis/epm/custom_ingest_pipeline.ts +++ b/x-pack/test/fleet_api_integration/apis/epm/custom_ingest_pipeline.ts @@ -32,7 +32,7 @@ export default function (providerContext: FtrProviderContext) { // Use the custom log package to test the custom ingest pipeline before(async () => { const { body: getPackagesRes } = await supertest.get( - `/api/fleet/epm/packages?experimental=true` + `/api/fleet/epm/packages?prerelease=true` ); const logPackage = getPackagesRes.items.find((p: any) => p.name === 'log'); if (!logPackage) { diff --git a/x-pack/test/fleet_api_integration/apis/epm/delete.ts b/x-pack/test/fleet_api_integration/apis/epm/delete.ts index 076cc6bba4efc..9ec8b7318f6c9 100644 --- a/x-pack/test/fleet_api_integration/apis/epm/delete.ts +++ b/x-pack/test/fleet_api_integration/apis/epm/delete.ts @@ -34,6 +34,7 @@ export default function (providerContext: FtrProviderContext) { describe('delete and force delete scenarios', async () => { skipIfNoDockerRegistry(providerContext); setupFleetAndAgents(providerContext); + before(async () => { await installPackage(requiredPackage, pkgVersion); }); 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 e705aa1734cb0..5e677bd96d54a 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 @@ -43,7 +43,7 @@ export default function (providerContext: FtrProviderContext) { // Use the custom log package to test the fleet final pipeline before(async () => { const { body: getPackagesRes } = await supertest.get( - `/api/fleet/epm/packages?experimental=true` + `/api/fleet/epm/packages?prerelease=true` ); const logPackage = getPackagesRes.items.find((p: any) => p.name === 'log'); if (!logPackage) { diff --git a/x-pack/test/fleet_api_integration/apis/epm/get.ts b/x-pack/test/fleet_api_integration/apis/epm/get.ts index 280922b2e4a33..17f83b0b3c534 100644 --- a/x-pack/test/fleet_api_integration/apis/epm/get.ts +++ b/x-pack/test/fleet_api_integration/apis/epm/get.ts @@ -40,6 +40,7 @@ export default function (providerContext: FtrProviderContext) { describe('EPM - get', () => { skipIfNoDockerRegistry(providerContext); setupFleetAndAgents(providerContext); + it('returns package info from the registry if it was installed from the registry', async function () { // this will install through the registry by default await installPackage(testPkgName, testPkgVersion); @@ -149,7 +150,7 @@ export default function (providerContext: FtrProviderContext) { // not from the package registry. This is because they contain a field the registry // does not support const res = await supertest - .get(`/api/fleet/epm/packages/integration_to_input/0.9.1`) + .get(`/api/fleet/epm/packages/integration_to_input/0.9.1?prerelease=true`) .expect(200); const packageInfo = res.body.item; @@ -158,14 +159,16 @@ export default function (providerContext: FtrProviderContext) { }); describe('Pkg verification', () => { it('should return validation error for unverified input only pkg', async function () { - const res = await supertest.get(`/api/fleet/epm/packages/input_only/0.1.0`).expect(400); + const res = await supertest + .get(`/api/fleet/epm/packages/input_only/0.1.0?prerelease=true`) + .expect(400); const error = res.body; expect(error?.attributes?.type).to.equal('verification_failed'); }); it('should not return validation error for unverified input only pkg if ignoreUnverified is true', async function () { await supertest - .get(`/api/fleet/epm/packages/input_only/0.1.0?ignoreUnverified=true`) + .get(`/api/fleet/epm/packages/input_only/0.1.0?ignoreUnverified=true&prerelease=true`) .expect(200); }); }); diff --git a/x-pack/test/fleet_api_integration/apis/epm/install_by_upload.ts b/x-pack/test/fleet_api_integration/apis/epm/install_by_upload.ts index e4fd8f11141ae..d7c913fc8bc4b 100644 --- a/x-pack/test/fleet_api_integration/apis/epm/install_by_upload.ts +++ b/x-pack/test/fleet_api_integration/apis/epm/install_by_upload.ts @@ -60,6 +60,7 @@ export default function (providerContext: FtrProviderContext) { describe('installs packages from direct upload', async () => { skipIfNoDockerRegistry(providerContext); setupFleetAndAgents(providerContext); + afterEach(async () => { if (server) { // remove the packages just in case it being installed will affect other tests diff --git a/x-pack/test/fleet_api_integration/apis/epm/install_error_rollback.ts b/x-pack/test/fleet_api_integration/apis/epm/install_error_rollback.ts index fba01e840cfd0..7649237f0ab4d 100644 --- a/x-pack/test/fleet_api_integration/apis/epm/install_error_rollback.ts +++ b/x-pack/test/fleet_api_integration/apis/epm/install_error_rollback.ts @@ -30,12 +30,15 @@ export default function (providerContext: FtrProviderContext) { }; const getPackageInfo = async (pkg: string, version: string) => { - return await supertest.get(`/api/fleet/epm/packages/${pkg}/${version}`).set('kbn-xsrf', 'xxxx'); + return await supertest + .get(`/api/fleet/epm/packages/${pkg}/${version}?prerelease=true`) + .set('kbn-xsrf', 'xxxx'); }; describe('package installation error handling and rollback', async () => { skipIfNoDockerRegistry(providerContext); setupFleetAndAgents(providerContext); + beforeEach(async () => { await kibanaServer.savedObjects.cleanStandardList(); }); diff --git a/x-pack/test/fleet_api_integration/apis/epm/install_overrides.ts b/x-pack/test/fleet_api_integration/apis/epm/install_overrides.ts index d33f9b8a922d9..b89c036e84a9d 100644 --- a/x-pack/test/fleet_api_integration/apis/epm/install_overrides.ts +++ b/x-pack/test/fleet_api_integration/apis/epm/install_overrides.ts @@ -26,6 +26,7 @@ export default function (providerContext: FtrProviderContext) { describe('installs packages that include settings and mappings overrides', async () => { skipIfNoDockerRegistry(providerContext); setupFleetAndAgents(providerContext); + after(async () => { if (server.enabled) { // remove the package just in case it being installed will affect other tests diff --git a/x-pack/test/fleet_api_integration/apis/epm/install_prerelease.ts b/x-pack/test/fleet_api_integration/apis/epm/install_prerelease.ts index f375c9902317f..86e91d6707c5a 100644 --- a/x-pack/test/fleet_api_integration/apis/epm/install_prerelease.ts +++ b/x-pack/test/fleet_api_integration/apis/epm/install_prerelease.ts @@ -25,6 +25,7 @@ export default function (providerContext: FtrProviderContext) { describe('installs package that has a prerelease version', async () => { skipIfNoDockerRegistry(providerContext); setupFleetAndAgents(providerContext); + after(async () => { if (server.enabled) { // remove the package just in case it being installed will affect other tests diff --git a/x-pack/test/fleet_api_integration/apis/epm/install_remove_kbn_assets_in_space.ts b/x-pack/test/fleet_api_integration/apis/epm/install_remove_kbn_assets_in_space.ts index 9e364f28f8b3e..08740ea5335b2 100644 --- a/x-pack/test/fleet_api_integration/apis/epm/install_remove_kbn_assets_in_space.ts +++ b/x-pack/test/fleet_api_integration/apis/epm/install_remove_kbn_assets_in_space.ts @@ -50,6 +50,7 @@ export default function (providerContext: FtrProviderContext) { describe('installs and uninstalls all assets (non default space)', async () => { skipIfNoDockerRegistry(providerContext); setupFleetAndAgents(providerContext); + before(async () => { await createSpace(testSpaceId); }); diff --git a/x-pack/test/fleet_api_integration/apis/epm/install_remove_multiple.ts b/x-pack/test/fleet_api_integration/apis/epm/install_remove_multiple.ts index 275a2abf744bc..48071d15436fd 100644 --- a/x-pack/test/fleet_api_integration/apis/epm/install_remove_multiple.ts +++ b/x-pack/test/fleet_api_integration/apis/epm/install_remove_multiple.ts @@ -62,6 +62,7 @@ export default function (providerContext: FtrProviderContext) { describe('installs and uninstalls multiple packages side effects', async () => { skipIfNoDockerRegistry(providerContext); setupFleetAndAgents(providerContext); + before(async () => { if (!server.enabled) return; await installPackages([ diff --git a/x-pack/test/fleet_api_integration/apis/epm/install_tag_assets.ts b/x-pack/test/fleet_api_integration/apis/epm/install_tag_assets.ts index 7458912207a38..aca56f5fce936 100644 --- a/x-pack/test/fleet_api_integration/apis/epm/install_tag_assets.ts +++ b/x-pack/test/fleet_api_integration/apis/epm/install_tag_assets.ts @@ -68,6 +68,7 @@ export default function (providerContext: FtrProviderContext) { describe('asset tagging', () => { skipIfNoDockerRegistry(providerContext); setupFleetAndAgents(providerContext); + before(async () => { await createSpace(testSpaceId); }); diff --git a/x-pack/test/fleet_api_integration/apis/epm/install_update.ts b/x-pack/test/fleet_api_integration/apis/epm/install_update.ts index 669166b189789..c36efd6066b6e 100644 --- a/x-pack/test/fleet_api_integration/apis/epm/install_update.ts +++ b/x-pack/test/fleet_api_integration/apis/epm/install_update.ts @@ -26,6 +26,7 @@ export default function (providerContext: FtrProviderContext) { describe('installing and updating scenarios', async () => { skipIfNoDockerRegistry(providerContext); setupFleetAndAgents(providerContext); + after(async () => { await deletePackage('multiple_versions', '0.3.0'); }); diff --git a/x-pack/test/fleet_api_integration/apis/epm/list.ts b/x-pack/test/fleet_api_integration/apis/epm/list.ts index 51f003a7192d5..5727f7130f563 100644 --- a/x-pack/test/fleet_api_integration/apis/epm/list.ts +++ b/x-pack/test/fleet_api_integration/apis/epm/list.ts @@ -23,6 +23,7 @@ export default function (providerContext: FtrProviderContext) { describe('EPM - list', async function () { skipIfNoDockerRegistry(providerContext); + before(async () => { await esArchiver.load('x-pack/test/functional/es_archives/fleet/empty_fleet_server'); }); diff --git a/x-pack/test/fleet_api_integration/apis/epm/package_install_complete.ts b/x-pack/test/fleet_api_integration/apis/epm/package_install_complete.ts index fdf90c636885d..f29e36daebdd2 100644 --- a/x-pack/test/fleet_api_integration/apis/epm/package_install_complete.ts +++ b/x-pack/test/fleet_api_integration/apis/epm/package_install_complete.ts @@ -26,6 +26,7 @@ export default function (providerContext: FtrProviderContext) { describe('setup checks packages completed install', async () => { skipIfNoDockerRegistry(providerContext); setupFleetAndAgents(providerContext); + describe('package install', async () => { before(async () => { if (!server.enabled) return; diff --git a/x-pack/test/fleet_api_integration/apis/epm/setup.ts b/x-pack/test/fleet_api_integration/apis/epm/setup.ts index 7720d915f6f13..f930166f4a74f 100644 --- a/x-pack/test/fleet_api_integration/apis/epm/setup.ts +++ b/x-pack/test/fleet_api_integration/apis/epm/setup.ts @@ -21,6 +21,7 @@ export default function (providerContext: FtrProviderContext) { describe('setup api', async () => { skipIfNoDockerRegistry(providerContext); setupFleetAndAgents(providerContext); + // FLAKY: https://github.com/elastic/kibana/issues/118479 describe.skip('setup performs upgrades', async () => { const oldEndpointVersion = '0.13.0'; diff --git a/x-pack/test/fleet_api_integration/apis/fleet_setup.ts b/x-pack/test/fleet_api_integration/apis/fleet_setup.ts index e1e1f90f57eb6..3f76f4594592f 100644 --- a/x-pack/test/fleet_api_integration/apis/fleet_setup.ts +++ b/x-pack/test/fleet_api_integration/apis/fleet_setup.ts @@ -69,7 +69,7 @@ export default function (providerContext: FtrProviderContext) { await supertest.post(`/api/fleet/setup`).set('kbn-xsrf', 'xxxx').expect(200); const { body: apiResponse } = await supertest - .get(`/api/fleet/epm/packages?experimental=true`) + .get(`/api/fleet/epm/packages?prerelease=true`) .expect(200); const installedPackages = apiResponse.response .filter((p: any) => p.status === 'installed') diff --git a/x-pack/test/fleet_api_integration/apis/package_policy/delete.ts b/x-pack/test/fleet_api_integration/apis/package_policy/delete.ts index 383a92fa164e8..b15b84dcfbee9 100644 --- a/x-pack/test/fleet_api_integration/apis/package_policy/delete.ts +++ b/x-pack/test/fleet_api_integration/apis/package_policy/delete.ts @@ -15,6 +15,7 @@ export default function (providerContext: FtrProviderContext) { describe('Package Policy - delete', () => { skipIfNoDockerRegistry(providerContext); + describe('Delete one', () => { let agentPolicy: any; let packagePolicy: any; diff --git a/x-pack/test/fleet_api_integration/helpers.ts b/x-pack/test/fleet_api_integration/helpers.ts index d3b623d0426f3..c21a9e01b3309 100644 --- a/x-pack/test/fleet_api_integration/helpers.ts +++ b/x-pack/test/fleet_api_integration/helpers.ts @@ -89,3 +89,19 @@ export async function generateAgent( refresh: 'wait_for', }); } + +export function setPrereleaseSetting(supertest: any) { + before(async () => { + await supertest + .put('/api/fleet/settings') + .set('kbn-xsrf', 'xxxx') + .send({ prerelease_integrations_enabled: true }); + }); + + after(async () => { + await supertest + .put('/api/fleet/settings') + .set('kbn-xsrf', 'xxxx') + .send({ prerelease_integrations_enabled: false }); + }); +} diff --git a/x-pack/test/functional/apps/maps/group4/geofile_wizard_auto_open.ts b/x-pack/test/functional/apps/maps/group4/geofile_wizard_auto_open.ts index ebe434b6afe6e..d60d7b89a0121 100644 --- a/x-pack/test/functional/apps/maps/group4/geofile_wizard_auto_open.ts +++ b/x-pack/test/functional/apps/maps/group4/geofile_wizard_auto_open.ts @@ -22,7 +22,7 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { const geoFileCard = await find.byCssSelector( '[data-test-subj="integration-card:ui_link:ingest_geojson"]' ); - geoFileCard.click(); + await geoFileCard.click(); }); it('should navigate to maps app with url params', async () => { diff --git a/x-pack/test/functional_synthetics/services/uptime/synthetics_package.ts b/x-pack/test/functional_synthetics/services/uptime/synthetics_package.ts index 14c7abaa57343..5b9525bf2060b 100644 --- a/x-pack/test/functional_synthetics/services/uptime/synthetics_package.ts +++ b/x-pack/test/functional_synthetics/services/uptime/synthetics_package.ts @@ -50,7 +50,7 @@ export function SyntheticsPackageProvider({ getService }: FtrProviderContext) { apiRequest = retry.try(() => { return supertest .get(INGEST_API_EPM_PACKAGES) - .query({ experimental: true }) + .query({ prerelease: true }) .set('kbn-xsrf', 'xxx') .expect(200) .catch((error) => { From c6a00589b09e8f220af0b6f4b888948be8d6c879 Mon Sep 17 00:00:00 2001 From: James Gowdy Date: Wed, 2 Nov 2022 09:11:25 +0000 Subject: [PATCH 110/111] [ML] Fix model test flyout reload (#144318) --- .../test_models/selected_model.tsx | 66 ++++++++----------- 1 file changed, 27 insertions(+), 39 deletions(-) diff --git a/x-pack/plugins/ml/public/application/trained_models/models_management/test_models/selected_model.tsx b/x-pack/plugins/ml/public/application/trained_models/models_management/test_models/selected_model.tsx index 35f0670646004..6836321395d7d 100644 --- a/x-pack/plugins/ml/public/application/trained_models/models_management/test_models/selected_model.tsx +++ b/x-pack/plugins/ml/public/application/trained_models/models_management/test_models/selected_model.tsx @@ -6,7 +6,7 @@ */ import * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; -import React, { FC } from 'react'; +import React, { FC, useMemo } from 'react'; import { NerInference } from './models/ner'; import { QuestionAnsweringInference } from './models/question_answering'; @@ -28,53 +28,41 @@ import { useMlApiContext } from '../../../contexts/kibana'; import { InferenceInputForm } from './models/inference_input_form'; interface Props { - model: estypes.MlTrainedModelConfig | null; + model: estypes.MlTrainedModelConfig; } export const SelectedModel: FC = ({ model }) => { const { trainedModels } = useMlApiContext(); - if (model === null) { - return null; - } - - if (model.model_type === TRAINED_MODEL_TYPE.PYTORCH) { - if (Object.keys(model.inference_config)[0] === SUPPORTED_PYTORCH_TASKS.NER) { - const inferrer = new NerInference(trainedModels, model); - return ; - } - - if (Object.keys(model.inference_config)[0] === SUPPORTED_PYTORCH_TASKS.TEXT_CLASSIFICATION) { - const inferrer = new TextClassificationInference(trainedModels, model); - return ; - } + const inferrer = useMemo(() => { + if (model.model_type === TRAINED_MODEL_TYPE.PYTORCH) { + const taskType = Object.keys(model.inference_config)[0]; - if ( - Object.keys(model.inference_config)[0] === SUPPORTED_PYTORCH_TASKS.ZERO_SHOT_CLASSIFICATION - ) { - const inferrer = new ZeroShotClassificationInference(trainedModels, model); - return ; - } - - if (Object.keys(model.inference_config)[0] === SUPPORTED_PYTORCH_TASKS.TEXT_EMBEDDING) { - const inferrer = new TextEmbeddingInference(trainedModels, model); - return ; - } + switch (taskType) { + case SUPPORTED_PYTORCH_TASKS.NER: + return new NerInference(trainedModels, model); + case SUPPORTED_PYTORCH_TASKS.TEXT_CLASSIFICATION: + return new TextClassificationInference(trainedModels, model); + case SUPPORTED_PYTORCH_TASKS.ZERO_SHOT_CLASSIFICATION: + return new ZeroShotClassificationInference(trainedModels, model); + case SUPPORTED_PYTORCH_TASKS.TEXT_EMBEDDING: + return new TextEmbeddingInference(trainedModels, model); + case SUPPORTED_PYTORCH_TASKS.FILL_MASK: + return new FillMaskInference(trainedModels, model); + case SUPPORTED_PYTORCH_TASKS.QUESTION_ANSWERING: + return new QuestionAnsweringInference(trainedModels, model); - if (Object.keys(model.inference_config)[0] === SUPPORTED_PYTORCH_TASKS.FILL_MASK) { - const inferrer = new FillMaskInference(trainedModels, model); - return ; + default: + break; + } + } else if (model.model_type === TRAINED_MODEL_TYPE.LANG_IDENT) { + return new LangIdentInference(trainedModels, model); } + }, [model, trainedModels]); - if (Object.keys(model.inference_config)[0] === SUPPORTED_PYTORCH_TASKS.QUESTION_ANSWERING) { - const inferrer = new QuestionAnsweringInference(trainedModels, model); - return ; - } - } - if (model.model_type === TRAINED_MODEL_TYPE.LANG_IDENT) { - const inferrer = new LangIdentInference(trainedModels, model); - return ; + if (inferrer === undefined) { + return null; } - return null; + return ; }; From 056413e8b4d6d0fac83d23e3aae39de133056cad Mon Sep 17 00:00:00 2001 From: Kerry Gallagher Date: Wed, 2 Nov 2022 09:58:29 +0000 Subject: [PATCH 111/111] [Logs UI] Support the Unified Search Bar for Query input (#143222) * Use Unified Search Bar for query input --- .../public/__stories__/search_bar.stories.tsx | 9 + .../public/search_bar/create_search_bar.tsx | 1 + .../public/search_bar/search_bar.test.tsx | 15 ++ .../public/search_bar/search_bar.tsx | 6 +- .../log_views/resolved_log_view.mock.ts | 12 ++ .../common/log_views/resolved_log_view.ts | 32 ++-- .../components/log_stream/log_stream.tsx | 2 +- .../containers/logs/log_filter/errors.ts | 21 +++ .../logs/log_filter/log_filter_state.ts | 170 +++++++++++------- .../log_filter/with_log_filter_url_state.tsx | 19 +- .../infra/public/hooks/use_log_view.mock.ts | 5 +- .../infra/public/hooks/use_log_view.ts | 19 +- .../pages/logs/stream/page_logs_content.tsx | 12 +- .../pages/logs/stream/page_providers.tsx | 2 +- .../public/pages/logs/stream/page_toolbar.tsx | 51 ++---- .../services/log_views/log_views_client.ts | 9 +- .../infra/public/services/log_views/types.ts | 2 +- .../plugins/infra/public/utils/url_state.tsx | 2 +- .../log_views/log_views_client.test.ts | 60 ++++++- .../services/log_views/log_views_client.ts | 9 +- .../infra/server/services/log_views/types.ts | 2 +- 21 files changed, 309 insertions(+), 151 deletions(-) create mode 100644 x-pack/plugins/infra/public/containers/logs/log_filter/errors.ts diff --git a/src/plugins/unified_search/public/__stories__/search_bar.stories.tsx b/src/plugins/unified_search/public/__stories__/search_bar.stories.tsx index 60e0659a6112a..51cac48fbbbbc 100644 --- a/src/plugins/unified_search/public/__stories__/search_bar.stories.tsx +++ b/src/plugins/unified_search/public/__stories__/search_bar.stories.tsx @@ -298,6 +298,15 @@ storiesOf('SearchBar', module) query: { query: 'Test: miaou', language: 'kuery' }, } as unknown as SearchBarProps) ) + .add('with query menu off', () => + wrapSearchBarInContext({ + showDatePicker: false, + showFilterBar: false, + showQueryInput: true, + showQueryMenu: false, + query: { query: 'Test: miaou', language: 'kuery' }, + } as unknown as SearchBarProps) + ) .add('with only the filter bar and the date picker on', () => wrapSearchBarInContext({ showDatePicker: true, diff --git a/src/plugins/unified_search/public/search_bar/create_search_bar.tsx b/src/plugins/unified_search/public/search_bar/create_search_bar.tsx index 35555137f12b2..0320626bb0244 100644 --- a/src/plugins/unified_search/public/search_bar/create_search_bar.tsx +++ b/src/plugins/unified_search/public/search_bar/create_search_bar.tsx @@ -190,6 +190,7 @@ export function createSearchBar({ showAutoRefreshOnly={props.showAutoRefreshOnly} showDatePicker={props.showDatePicker} showFilterBar={props.showFilterBar} + showQueryMenu={props.showQueryMenu} showQueryInput={props.showQueryInput} showSaveQuery={props.showSaveQuery} showSubmitButton={props.showSubmitButton} diff --git a/src/plugins/unified_search/public/search_bar/search_bar.test.tsx b/src/plugins/unified_search/public/search_bar/search_bar.test.tsx index 0d0ff97ae4b05..0d17014e5203d 100644 --- a/src/plugins/unified_search/public/search_bar/search_bar.test.tsx +++ b/src/plugins/unified_search/public/search_bar/search_bar.test.tsx @@ -138,6 +138,7 @@ describe('SearchBar', () => { const FILTER_BAR = '[data-test-subj="unifiedFilterBar"]'; const QUERY_BAR = '.kbnQueryBar'; const QUERY_INPUT = '[data-test-subj="unifiedQueryInput"]'; + const QUERY_MENU_BUTTON = '[data-test-subj="showQueryBarMenu"]'; const EDITOR = '[data-test-subj="unifiedTextLangEditor"]'; beforeEach(() => { @@ -220,6 +221,20 @@ describe('SearchBar', () => { expect(component.find(QUERY_INPUT).length).toBeFalsy(); }); + it('Should NOT render the query menu button, if disabled', () => { + const component = mount( + wrapSearchBarInContext({ + indexPatterns: [mockIndexPattern], + screenTitle: 'test screen', + onQuerySubmit: noop, + query: kqlQuery, + showQueryMenu: false, + }) + ); + + expect(component.find(QUERY_MENU_BUTTON).length).toBeFalsy(); + }); + it('Should render query bar and filter bar', () => { const component = mount( wrapSearchBarInContext({ diff --git a/src/plugins/unified_search/public/search_bar/search_bar.tsx b/src/plugins/unified_search/public/search_bar/search_bar.tsx index ebaa3a317c270..3b158fd20b9f3 100644 --- a/src/plugins/unified_search/public/search_bar/search_bar.tsx +++ b/src/plugins/unified_search/public/search_bar/search_bar.tsx @@ -48,6 +48,7 @@ export interface SearchBarOwnProps { screenTitle?: string; dataTestSubj?: string; // Togglers + showQueryMenu?: boolean; showQueryInput?: boolean; showFilterBar?: boolean; showDatePicker?: boolean; @@ -121,6 +122,7 @@ class SearchBarUI extends C State > { public static defaultProps = { + showQueryMenu: true, showFilterBar: true, showDatePicker: true, showSubmitButton: true, @@ -448,7 +450,7 @@ class SearchBarUI extends C /> ); - const queryBarMenu = ( + const queryBarMenu = this.props.showQueryMenu ? ( extends C : undefined } /> - ); + ) : undefined; let filterBar; if (this.shouldRenderFilterBar()) { diff --git a/x-pack/plugins/infra/common/log_views/resolved_log_view.mock.ts b/x-pack/plugins/infra/common/log_views/resolved_log_view.mock.ts index 268b2f692f62a..8c09f16e3b53e 100644 --- a/x-pack/plugins/infra/common/log_views/resolved_log_view.mock.ts +++ b/x-pack/plugins/infra/common/log_views/resolved_log_view.mock.ts @@ -10,6 +10,7 @@ import { createStubDataView } from '@kbn/data-views-plugin/common/stubs'; import { defaultLogViewsStaticConfig } from './defaults'; import { ResolvedLogView, resolveLogView } from './resolved_log_view'; import { LogViewAttributes } from './types'; +import { DataViewSpec } from '@kbn/data-views-plugin/common'; export const createResolvedLogViewMock = ( resolvedLogViewOverrides: Partial = {} @@ -41,15 +42,26 @@ export const createResolvedLogViewMock = ( messageColumn: { id: 'MESSAGE_COLUMN_ID' }, }, ], + dataViewReference: createStubDataView({ + spec: { + id: 'log-view-data-view-mock', + title: 'log-indices-*', + }, + }), ...resolvedLogViewOverrides, }); export const createResolvedLogViewMockFromAttributes = (logViewAttributes: LogViewAttributes) => resolveLogView( + 'log-view-id', logViewAttributes, { get: async () => createStubDataView({ spec: {} }), getFieldsForWildcard: async () => [], + create: async (spec: DataViewSpec) => + createStubDataView({ + spec, + }), } as unknown as DataViewsContract, defaultLogViewsStaticConfig ); diff --git a/x-pack/plugins/infra/common/log_views/resolved_log_view.ts b/x-pack/plugins/infra/common/log_views/resolved_log_view.ts index d7e155172a57e..2fc2fd7aa2374 100644 --- a/x-pack/plugins/infra/common/log_views/resolved_log_view.ts +++ b/x-pack/plugins/infra/common/log_views/resolved_log_view.ts @@ -23,21 +23,24 @@ export interface ResolvedLogView { fields: ResolvedLogViewField[]; runtimeMappings: estypes.MappingRuntimeFields; columns: LogViewColumnConfiguration[]; + dataViewReference: DataView; } export const resolveLogView = async ( + logViewId: string, logViewAttributes: LogViewAttributes, dataViewsService: DataViewsContract, config: LogViewsStaticConfig ): Promise => { if (logViewAttributes.logIndices.type === 'index_name') { - return await resolveLegacyReference(logViewAttributes, dataViewsService, config); + return await resolveLegacyReference(logViewId, logViewAttributes, dataViewsService, config); } else { return await resolveDataViewReference(logViewAttributes, dataViewsService); } }; const resolveLegacyReference = async ( + logViewId: string, logViewAttributes: LogViewAttributes, dataViewsService: DataViewsContract, config: LogViewsStaticConfig @@ -48,28 +51,32 @@ const resolveLegacyReference = async ( const indices = logViewAttributes.logIndices.indexName; - const fields = await dataViewsService - .getFieldsForWildcard({ - pattern: indices, - allowNoIndex: true, - }) + const dataViewReference = await dataViewsService + .create( + { + id: `log-view-${logViewId}`, + title: indices, + timeFieldName: TIMESTAMP_FIELD, + allowNoIndex: true, + }, + false, + false + ) .catch((error) => { - throw new ResolveLogViewError( - `Failed to fetch fields for indices "${indices}": ${error}`, - error - ); + throw new ResolveLogViewError(`Failed to create Data View reference: ${error}`, error); }); return { - indices: logViewAttributes.logIndices.indexName, + indices, timestampField: TIMESTAMP_FIELD, tiebreakerField: TIEBREAKER_FIELD, messageField: config.messageFields, - fields, + fields: dataViewReference.fields, runtimeMappings: {}, columns: logViewAttributes.logColumns, name: logViewAttributes.name, description: logViewAttributes.description, + dataViewReference, }; }; @@ -97,6 +104,7 @@ const resolveDataViewReference = async ( columns: logViewAttributes.logColumns, name: logViewAttributes.name, description: logViewAttributes.description, + dataViewReference: dataView, }; }; diff --git a/x-pack/plugins/infra/public/components/log_stream/log_stream.tsx b/x-pack/plugins/infra/public/components/log_stream/log_stream.tsx index 2913b2cbb5ecf..e5aeefba983f1 100644 --- a/x-pack/plugins/infra/public/components/log_stream/log_stream.tsx +++ b/x-pack/plugins/infra/public/components/log_stream/log_stream.tsx @@ -7,11 +7,11 @@ import { buildEsQuery, Filter, Query } from '@kbn/es-query'; import { JsonValue } from '@kbn/utility-types'; -import { noop } from 'lodash'; import React, { useCallback, useEffect, useMemo } from 'react'; import { DataPublicPluginStart } from '@kbn/data-plugin/public'; import { euiStyled } from '@kbn/kibana-react-plugin/common'; import { useKibana } from '@kbn/kibana-react-plugin/public'; +import { noop } from 'lodash'; import { LogEntryCursor } from '../../../common/log_entry'; import { defaultLogViewsStaticConfig } from '../../../common/log_views'; import { BuiltEsQuery, useLogStream } from '../../containers/logs/log_stream'; diff --git a/x-pack/plugins/infra/public/containers/logs/log_filter/errors.ts b/x-pack/plugins/infra/public/containers/logs/log_filter/errors.ts new file mode 100644 index 0000000000000..09e3af3e241a4 --- /dev/null +++ b/x-pack/plugins/infra/public/containers/logs/log_filter/errors.ts @@ -0,0 +1,21 @@ +/* + * 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. + */ + +/* eslint-disable max-classes-per-file */ +export class UnsupportedLanguageError extends Error { + constructor(message?: string) { + super(message); + Object.setPrototypeOf(this, new.target.prototype); + } +} + +export class QueryParsingError extends Error { + constructor(message?: string) { + super(message); + Object.setPrototypeOf(this, new.target.prototype); + } +} diff --git a/x-pack/plugins/infra/public/containers/logs/log_filter/log_filter_state.ts b/x-pack/plugins/infra/public/containers/logs/log_filter/log_filter_state.ts index 70d72c25158da..4a2f6e280ebe6 100644 --- a/x-pack/plugins/infra/public/containers/logs/log_filter/log_filter_state.ts +++ b/x-pack/plugins/infra/public/containers/logs/log_filter/log_filter_state.ts @@ -5,12 +5,16 @@ * 2.0. */ -import { buildEsQuery, DataViewBase, Query } from '@kbn/es-query'; +import { useMemo, useEffect, useCallback, useState } from 'react'; +import { merge, of } from 'rxjs'; +import { i18n } from '@kbn/i18n'; +import { buildEsQuery, DataViewBase, Query, AggregateQuery, isOfQueryType } from '@kbn/es-query'; import createContainer from 'constate'; -import { useCallback, useState } from 'react'; -import useDebounce from 'react-use/lib/useDebounce'; import { useKibanaQuerySettings } from '../../../utils/use_kibana_query_settings'; import { BuiltEsQuery } from '../log_stream'; +import { useKibanaContextForPlugin } from '../../../hooks/use_kibana'; +import { useSubscription } from '../../../utils/use_observable'; +import { UnsupportedLanguageError, QueryParsingError } from './errors'; interface ILogFilterState { filterQuery: { @@ -18,90 +22,126 @@ interface ILogFilterState { serializedQuery: string; originalQuery: Query; } | null; - filterQueryDraft: Query; - validationErrors: string[]; + queryStringQuery: Query | AggregateQuery | null; + validationError: Error | null; } -const initialLogFilterState: ILogFilterState = { +export const DEFAULT_QUERY = { + language: 'kuery', + query: '', +}; + +const INITIAL_LOG_FILTER_STATE = { filterQuery: null, - filterQueryDraft: { - language: 'kuery', - query: '', - }, - validationErrors: [], + queryStringQuery: null, + validationError: null, }; -const validationDebounceTimeout = 1000; // milliseconds +// Error toasts +export const errorToastTitle = i18n.translate( + 'xpack.infra.logsPage.toolbar.logFilterErrorToastTitle', + { + defaultMessage: 'Log filter error', + } +); + +const unsupportedLanguageError = i18n.translate( + 'xpack.infra.logsPage.toolbar.logFilterUnsupportedLanguageError', + { + defaultMessage: 'SQL is not supported', + } +); + +export const useLogFilterState = ({ dataView }: { dataView?: DataViewBase }) => { + const { + notifications: { toasts }, + data: { + query: { queryString }, + }, + } = useKibanaContextForPlugin().services; -export const useLogFilterState = ({ indexPattern }: { indexPattern: DataViewBase }) => { - const [logFilterState, setLogFilterState] = useState(initialLogFilterState); const kibanaQuerySettings = useKibanaQuerySettings(); + const [logFilterState, setLogFilterState] = useState(INITIAL_LOG_FILTER_STATE); + + useEffect(() => { + const handleValidationError = (error: Error) => { + if (error instanceof UnsupportedLanguageError) { + toasts.addError(error, { title: errorToastTitle }); + queryString.setQuery(DEFAULT_QUERY); + } else if (error instanceof QueryParsingError) { + toasts.addError(error, { title: errorToastTitle }); + } + }; + + if (logFilterState.validationError) { + handleValidationError(logFilterState.validationError); + } + }, [logFilterState.validationError, queryString, toasts]); + const parseQuery = useCallback( - (filterQuery: Query) => buildEsQuery(indexPattern, filterQuery, [], kibanaQuerySettings), - [indexPattern, kibanaQuerySettings] + (filterQuery: Query) => { + return buildEsQuery(dataView, filterQuery, [], kibanaQuerySettings); + }, + [dataView, kibanaQuerySettings] ); - const setLogFilterQueryDraft = useCallback((filterQueryDraft: Query) => { - setLogFilterState((previousLogFilterState) => ({ - ...previousLogFilterState, - filterQueryDraft, - validationErrors: [], - })); - }, []); - - const [, cancelPendingValidation] = useDebounce( - () => { - setLogFilterState((previousLogFilterState) => { + const getNewLogFilterState = useCallback( + (newQuery: Query | AggregateQuery) => + (previousLogFilterState: ILogFilterState): ILogFilterState => { try { - parseQuery(logFilterState.filterQueryDraft); - return { - ...previousLogFilterState, - validationErrors: [], - }; + if (!isOfQueryType(newQuery)) { + throw new UnsupportedLanguageError(unsupportedLanguageError); + } + try { + const parsedQuery = parseQuery(newQuery); + return { + filterQuery: { + parsedQuery, + serializedQuery: JSON.stringify(parsedQuery), + originalQuery: newQuery, + }, + queryStringQuery: newQuery, + validationError: null, + }; + } catch (error) { + throw new QueryParsingError(error); + } } catch (error) { return { ...previousLogFilterState, - validationErrors: [`${error}`], + queryStringQuery: newQuery, + validationError: error, }; } - }); - }, - validationDebounceTimeout, - [logFilterState.filterQueryDraft, parseQuery] + }, + [parseQuery] ); - const applyLogFilterQuery = useCallback( - (filterQuery: Query) => { - cancelPendingValidation(); - try { - const parsedQuery = parseQuery(filterQuery); - setLogFilterState((previousLogFilterState) => ({ - ...previousLogFilterState, - filterQuery: { - parsedQuery, - serializedQuery: JSON.stringify(parsedQuery), - originalQuery: filterQuery, - }, - filterQueryDraft: filterQuery, - validationErrors: [], - })); - } catch (error) { - setLogFilterState((previousLogFilterState) => ({ - ...previousLogFilterState, - validationErrors: [`${error}`], - })); - } - }, - [cancelPendingValidation, parseQuery] + useSubscription( + useMemo(() => { + return merge(of(undefined), queryString.getUpdates$()); // NOTE: getUpdates$ uses skip(1) so we do this to ensure an initial emit of a value. + }, [queryString]), + useMemo(() => { + return { + next: () => { + setLogFilterState(getNewLogFilterState(queryString.getQuery())); + }, + }; + }, [getNewLogFilterState, queryString]) ); + // NOTE: If the dataView changes the query will need to be reparsed and the filter regenerated. + useEffect(() => { + if (dataView) { + setLogFilterState(getNewLogFilterState(queryString.getQuery())); + } + }, [dataView, getNewLogFilterState, queryString]); + return { - filterQuery: logFilterState.filterQuery, - filterQueryDraft: logFilterState.filterQueryDraft, - isFilterQueryDraftValid: logFilterState.validationErrors.length === 0, - setLogFilterQueryDraft, - applyLogFilterQuery, + queryStringQuery: logFilterState.queryStringQuery, // NOTE: Query String Manager query. + filterQuery: logFilterState.filterQuery, // NOTE: Valid and syntactically correct query applied to requests etc. + validationError: logFilterState.validationError, }; }; diff --git a/x-pack/plugins/infra/public/containers/logs/log_filter/with_log_filter_url_state.tsx b/x-pack/plugins/infra/public/containers/logs/log_filter/with_log_filter_url_state.tsx index 2a5970721f5e5..a6f6166b7cf06 100644 --- a/x-pack/plugins/infra/public/containers/logs/log_filter/with_log_filter_url_state.tsx +++ b/x-pack/plugins/infra/public/containers/logs/log_filter/with_log_filter_url_state.tsx @@ -9,24 +9,33 @@ import * as rt from 'io-ts'; import React from 'react'; import { Query } from '@kbn/es-query'; import { replaceStateKeyInQueryString, UrlStateContainer } from '../../../utils/url_state'; -import { useLogFilterStateContext } from './log_filter_state'; +import { useLogFilterStateContext, DEFAULT_QUERY } from './log_filter_state'; +import { useKibanaContextForPlugin } from '../../../hooks/use_kibana'; export const WithLogFilterUrlState: React.FC = () => { - const { filterQuery, applyLogFilterQuery } = useLogFilterStateContext(); + const { + data: { + query: { queryString }, + }, + } = useKibanaContextForPlugin().services; + + const { queryStringQuery } = useLogFilterStateContext(); return ( { if (urlState) { - applyLogFilterQuery(urlState); + queryString.setQuery(urlState); } }} onInitialize={(urlState) => { if (urlState) { - applyLogFilterQuery(urlState); + queryString.setQuery(urlState); + } else { + queryString.setQuery(DEFAULT_QUERY); } }} /> diff --git a/x-pack/plugins/infra/public/hooks/use_log_view.mock.ts b/x-pack/plugins/infra/public/hooks/use_log_view.mock.ts index daebfb82b4564..8bef101abe666 100644 --- a/x-pack/plugins/infra/public/hooks/use_log_view.mock.ts +++ b/x-pack/plugins/infra/public/hooks/use_log_view.mock.ts @@ -17,10 +17,7 @@ const defaultLogViewId = 'default'; export const createUninitializedUseLogViewMock = (logViewId: string = defaultLogViewId) => (): IUseLogView => ({ - derivedDataView: { - fields: [], - title: 'unknown', - }, + derivedDataView: undefined, hasFailedLoading: false, hasFailedLoadingLogView: false, hasFailedLoadingLogViewStatus: false, diff --git a/x-pack/plugins/infra/public/hooks/use_log_view.ts b/x-pack/plugins/infra/public/hooks/use_log_view.ts index b1b8bb6e33cc9..1781bc7346a2f 100644 --- a/x-pack/plugins/infra/public/hooks/use_log_view.ts +++ b/x-pack/plugins/infra/public/hooks/use_log_view.ts @@ -6,7 +6,7 @@ */ import createContainer from 'constate'; -import { useCallback, useEffect, useMemo, useState } from 'react'; +import { useCallback, useEffect, useState } from 'react'; import type { HttpHandler } from '@kbn/core/public'; import { LogView, LogViewAttributes, LogViewStatus, ResolvedLogView } from '../../common/log_views'; import type { ILogViewsClient } from '../services/log_views'; @@ -63,14 +63,6 @@ export const useLogView = ({ [logViews] ); - const derivedDataView = useMemo( - () => ({ - fields: resolvedLogView?.fields ?? [], - title: resolvedLogView?.indices ?? 'unknown', - }), - [resolvedLogView] - ); - const isLoadingLogView = loadLogViewRequest.state === 'pending'; const isResolvingLogView = resolveLogViewRequest.state === 'pending'; const isLoadingLogViewStatus = loadLogViewStatusRequest.state === 'pending'; @@ -97,7 +89,7 @@ export const useLogView = ({ const load = useCallback(async () => { const loadedLogView = await loadLogView(logViewId); - const resolvedLoadedLogView = await resolveLogView(loadedLogView.attributes); + const resolvedLoadedLogView = await resolveLogView(loadedLogView.id, loadedLogView.attributes); const resolvedLogViewStatus = await loadLogViewStatus(resolvedLoadedLogView); return [loadedLogView, resolvedLoadedLogView, resolvedLogViewStatus]; @@ -106,7 +98,10 @@ export const useLogView = ({ const update = useCallback( async (logViewAttributes: Partial) => { const updatedLogView = await updateLogView(logViewId, logViewAttributes); - const resolvedUpdatedLogView = await resolveLogView(updatedLogView.attributes); + const resolvedUpdatedLogView = await resolveLogView( + updatedLogView.id, + updatedLogView.attributes + ); const resolvedLogViewStatus = await loadLogViewStatus(resolvedUpdatedLogView); return [updatedLogView, resolvedUpdatedLogView, resolvedLogViewStatus]; @@ -121,7 +116,7 @@ export const useLogView = ({ return { logViewId, isUninitialized, - derivedDataView, + derivedDataView: resolvedLogView?.dataViewReference, // Failure states hasFailedLoading, diff --git a/x-pack/plugins/infra/public/pages/logs/stream/page_logs_content.tsx b/x-pack/plugins/infra/public/pages/logs/stream/page_logs_content.tsx index 18ac30bb35e14..3b5956240d0e3 100644 --- a/x-pack/plugins/infra/public/pages/logs/stream/page_logs_content.tsx +++ b/x-pack/plugins/infra/public/pages/logs/stream/page_logs_content.tsx @@ -34,10 +34,16 @@ import { useLogViewContext } from '../../../hooks/use_log_view'; import { datemathToEpochMillis, isValidDatemath } from '../../../utils/datemath'; import { LogsToolbar } from './page_toolbar'; import { PageViewLogInContext } from './page_view_log_in_context'; +import { useKibanaContextForPlugin } from '../../../hooks/use_kibana'; const PAGE_THRESHOLD = 2; export const LogsPageLogsContent: React.FunctionComponent = () => { + const { + data: { + query: { queryString }, + }, + } = useKibanaContextForPlugin().services; const { resolvedLogView, logView, logViewId } = useLogViewContext(); const { textScale, textWrap } = useLogViewConfigurationContext(); const { @@ -65,7 +71,7 @@ export const LogsPageLogsContent: React.FunctionComponent = () => { updateDateRange, lastCompleteDateRangeExpressionUpdate, } = useLogPositionStateContext(); - const { filterQuery, applyLogFilterQuery } = useLogFilterStateContext(); + const { filterQuery } = useLogFilterStateContext(); const { isReloading, @@ -193,14 +199,14 @@ export const LogsPageLogsContent: React.FunctionComponent = () => { const setFilter = useCallback( (filter: Query, flyoutItemId: string, timeKey: TimeKey | undefined | null) => { - applyLogFilterQuery(filter); + queryString.setQuery(filter); if (timeKey) { jumpToTargetPosition(timeKey); } setSurroundingLogsId(flyoutItemId); stopLiveStreaming(); }, - [applyLogFilterQuery, jumpToTargetPosition, setSurroundingLogsId, stopLiveStreaming] + [jumpToTargetPosition, queryString, setSurroundingLogsId, stopLiveStreaming] ); return ( diff --git a/x-pack/plugins/infra/public/pages/logs/stream/page_providers.tsx b/x-pack/plugins/infra/public/pages/logs/stream/page_providers.tsx index ea2af542586a2..026119ff5c74c 100644 --- a/x-pack/plugins/infra/public/pages/logs/stream/page_providers.tsx +++ b/x-pack/plugins/infra/public/pages/logs/stream/page_providers.tsx @@ -27,7 +27,7 @@ const LogFilterState: React.FC = ({ children }) => { const { derivedDataView } = useLogViewContext(); return ( - + {children} diff --git a/x-pack/plugins/infra/public/pages/logs/stream/page_toolbar.tsx b/x-pack/plugins/infra/public/pages/logs/stream/page_toolbar.tsx index 210def8f8844c..cf30518f78ede 100644 --- a/x-pack/plugins/infra/public/pages/logs/stream/page_toolbar.tsx +++ b/x-pack/plugins/infra/public/pages/logs/stream/page_toolbar.tsx @@ -6,11 +6,8 @@ */ import { EuiFlexGroup, EuiFlexItem } from '@elastic/eui'; -import { Query } from '@kbn/es-query'; import { i18n } from '@kbn/i18n'; import React from 'react'; -import { QueryStringInput } from '@kbn/unified-search-plugin/public'; -import { DataView } from '@kbn/data-views-plugin/public'; import { euiStyled } from '@kbn/kibana-react-plugin/common'; import { useKibanaContextForPlugin } from '../../../hooks/use_kibana'; import { LogCustomizationMenu } from '../../../components/logging/log_customization_menu'; @@ -18,8 +15,6 @@ import { LogDatepicker } from '../../../components/logging/log_datepicker'; import { LogHighlightsMenu } from '../../../components/logging/log_highlights_menu'; import { LogTextScaleControls } from '../../../components/logging/log_text_scale_controls'; import { LogTextWrapControls } from '../../../components/logging/log_text_wrap_controls'; -import { useLogFilterStateContext } from '../../../containers/logs/log_filter'; -import { useLogEntryFlyoutContext } from '../../../containers/logs/log_flyout'; import { useLogHighlightsStateContext } from '../../../containers/logs/log_highlights/log_highlights'; import { useLogPositionStateContext } from '../../../containers/logs/log_position'; import { useLogViewConfigurationContext } from '../../../containers/logs/log_view_configuration'; @@ -29,11 +24,11 @@ export const LogsToolbar = () => { const { derivedDataView } = useLogViewContext(); const { availableTextScales, setTextScale, setTextWrap, textScale, textWrap } = useLogViewConfigurationContext(); - const { filterQueryDraft, isFilterQueryDraftValid, applyLogFilterQuery, setLogFilterQueryDraft } = - useLogFilterStateContext(); - const { setSurroundingLogsId } = useLogEntryFlyoutContext(); - const { http, notifications, docLinks, uiSettings, data, dataViews, storage, unifiedSearch } = - useKibanaContextForPlugin().services; + const { + unifiedSearch: { + ui: { SearchBar }, + }, + } = useKibanaContextForPlugin().services; const { setHighlightTerms, @@ -57,36 +52,20 @@ export const LogsToolbar = () => {
      - { - setSurroundingLogsId(null); - setLogFilterQueryDraft(query); - }} - onSubmit={(query: Query) => { - setSurroundingLogsId(null); - applyLogFilterQuery(query); - }} placeholder={i18n.translate('xpack.infra.logsPage.toolbar.kqlSearchFieldPlaceholder', { defaultMessage: 'Search for log entries… (e.g. host.name:host-1)', })} - query={filterQueryDraft} - appName={i18n.translate('xpack.infra.appName', { - defaultMessage: 'Infra logs', - })} - deps={{ - unifiedSearch, - notifications, - http, - docLinks, - uiSettings, - data, - dataViews, - storage, - }} + useDefaultBehaviors={true} + indexPatterns={derivedDataView ? [derivedDataView] : undefined} + showQueryInput={true} + showQueryMenu={false} + showFilterBar={false} + showDatePicker={false} /> diff --git a/x-pack/plugins/infra/public/services/log_views/log_views_client.ts b/x-pack/plugins/infra/public/services/log_views/log_views_client.ts index 0de44f87d719e..65bb031d3407b 100644 --- a/x-pack/plugins/infra/public/services/log_views/log_views_client.ts +++ b/x-pack/plugins/infra/public/services/log_views/log_views_client.ts @@ -53,7 +53,7 @@ export class LogViewsClient implements ILogViewsClient { public async getResolvedLogView(logViewId: string): Promise { const logView = await this.getLogView(logViewId); - const resolvedLogView = await this.resolveLogView(logView.attributes); + const resolvedLogView = await this.resolveLogView(logView.id, logView.attributes); return resolvedLogView; } @@ -118,8 +118,11 @@ export class LogViewsClient implements ILogViewsClient { return data; } - public async resolveLogView(logViewAttributes: LogViewAttributes): Promise { - return await resolveLogView(logViewAttributes, this.dataViews, this.config); + public async resolveLogView( + logViewId: string, + logViewAttributes: LogViewAttributes + ): Promise { + return await resolveLogView(logViewId, logViewAttributes, this.dataViews, this.config); } } diff --git a/x-pack/plugins/infra/public/services/log_views/types.ts b/x-pack/plugins/infra/public/services/log_views/types.ts index 20e176db4cab4..9054ef79b4a4c 100644 --- a/x-pack/plugins/infra/public/services/log_views/types.ts +++ b/x-pack/plugins/infra/public/services/log_views/types.ts @@ -32,5 +32,5 @@ export interface ILogViewsClient { getResolvedLogViewStatus(resolvedLogView: ResolvedLogView): Promise; getResolvedLogView(logViewId: string): Promise; putLogView(logViewId: string, logViewAttributes: Partial): Promise; - resolveLogView(logViewAttributes: LogViewAttributes): Promise; + resolveLogView(logViewId: string, logViewAttributes: LogViewAttributes): Promise; } diff --git a/x-pack/plugins/infra/public/utils/url_state.tsx b/x-pack/plugins/infra/public/utils/url_state.tsx index 77f04292cbde2..c45b47074f8ca 100644 --- a/x-pack/plugins/infra/public/utils/url_state.tsx +++ b/x-pack/plugins/infra/public/utils/url_state.tsx @@ -7,11 +7,11 @@ import { parse, stringify } from 'query-string'; import { History, Location } from 'history'; -import { throttle } from 'lodash'; import React from 'react'; import { Route, RouteProps } from 'react-router-dom'; import { decode, encode, RisonValue } from 'rison-node'; import { url } from '@kbn/kibana-utils-plugin/public'; +import { throttle } from 'lodash'; interface UrlStateContainerProps { urlState: UrlState | undefined; diff --git a/x-pack/plugins/infra/server/services/log_views/log_views_client.test.ts b/x-pack/plugins/infra/server/services/log_views/log_views_client.test.ts index 7b1debf981f8c..e517ae8aef7f0 100644 --- a/x-pack/plugins/infra/server/services/log_views/log_views_client.test.ts +++ b/x-pack/plugins/infra/server/services/log_views/log_views_client.test.ts @@ -239,7 +239,7 @@ describe('LogViewsClient class', () => { }) ); - const resolvedLogView = await logViewsClient.resolveLogView({ + const resolvedLogView = await logViewsClient.resolveLogView('log-view-id', { name: 'LOG VIEW', description: 'LOG VIEW DESCRIPTION', logIndices: { @@ -280,6 +280,64 @@ describe('LogViewsClient class', () => { }, }, ], + "dataViewReference": DataView { + "allowNoIndex": false, + "deleteFieldFormat": [Function], + "fieldAttrs": Object {}, + "fieldFormatMap": Object {}, + "fieldFormats": Object { + "deserialize": [MockFunction], + "getByFieldType": [MockFunction], + "getDefaultConfig": [MockFunction], + "getDefaultInstance": [MockFunction], + "getDefaultInstanceCacheResolver": [MockFunction], + "getDefaultInstancePlain": [MockFunction], + "getDefaultType": [MockFunction], + "getDefaultTypeName": [MockFunction], + "getInstance": [MockFunction], + "getType": [MockFunction], + "getTypeNameByEsTypes": [MockFunction], + "getTypeWithoutMetaParams": [MockFunction], + "has": [MockFunction], + "init": [MockFunction], + "parseDefaultTypeMap": [MockFunction], + "register": [MockFunction], + }, + "fields": FldList [], + "flattenHit": [Function], + "getFieldAttrs": [Function], + "getIndexPattern": [Function], + "getName": [Function], + "getOriginalSavedObjectBody": [Function], + "id": "LOG_DATA_VIEW", + "matchedIndices": Array [], + "metaFields": Array [ + "_id", + "_type", + "_source", + ], + "name": "", + "namespaces": Array [], + "originalSavedObjectBody": Object {}, + "resetOriginalSavedObjectBody": [Function], + "runtimeFieldMap": Object { + "runtime_field": Object { + "script": Object { + "source": "emit(\\"runtime value\\")", + }, + "type": "keyword", + }, + }, + "setFieldFormat": [Function], + "setIndexPattern": [Function], + "shortDotsEnable": false, + "sourceFilters": Array [], + "timeFieldName": "@timestamp", + "title": "log-indices-*", + "type": undefined, + "typeMeta": undefined, + "version": "1", + }, "description": "LOG VIEW DESCRIPTION", "fields": FldList [], "indices": "log-indices-*", diff --git a/x-pack/plugins/infra/server/services/log_views/log_views_client.ts b/x-pack/plugins/infra/server/services/log_views/log_views_client.ts index 57c90235452ba..9f43cee871f73 100644 --- a/x-pack/plugins/infra/server/services/log_views/log_views_client.ts +++ b/x-pack/plugins/infra/server/services/log_views/log_views_client.ts @@ -67,7 +67,7 @@ export class LogViewsClient implements ILogViewsClient { public async getResolvedLogView(logViewId: string): Promise { const logView = await this.getLogView(logViewId); - const resolvedLogView = await this.resolveLogView(logView.attributes); + const resolvedLogView = await this.resolveLogView(logView.id, logView.attributes); return resolvedLogView; } @@ -98,8 +98,11 @@ export class LogViewsClient implements ILogViewsClient { return getLogViewFromSavedObject(savedObject); } - public async resolveLogView(logViewAttributes: LogViewAttributes): Promise { - return await resolveLogView(logViewAttributes, await this.dataViews, this.config); + public async resolveLogView( + logViewId: string, + logViewAttributes: LogViewAttributes + ): Promise { + return await resolveLogView(logViewId, logViewAttributes, await this.dataViews, this.config); } private async getSavedLogView(logViewId: string): Promise { diff --git a/x-pack/plugins/infra/server/services/log_views/types.ts b/x-pack/plugins/infra/server/services/log_views/types.ts index 4146b6e2fd7e3..c10bd2002163d 100644 --- a/x-pack/plugins/infra/server/services/log_views/types.ts +++ b/x-pack/plugins/infra/server/services/log_views/types.ts @@ -46,5 +46,5 @@ export interface ILogViewsClient { getLogView(logViewId: string): Promise; getResolvedLogView(logViewId: string): Promise; putLogView(logViewId: string, logViewAttributes: Partial): Promise; - resolveLogView(logViewAttributes: LogViewAttributes): Promise; + resolveLogView(logViewId: string, logViewAttributes: LogViewAttributes): Promise; }